@moovio/sdk 0.21.12 → 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 +863 -659
- package/bin/mcp-server.js.map +17 -13
- 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 +3 -3
- package/lib/config.js +3 -3
- 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/paymentlink.d.ts +5 -0
- package/models/components/paymentlink.d.ts.map +1 -1
- package/models/components/paymentlink.js +2 -0
- package/models/components/paymentlink.js.map +1 -1
- 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 +3 -3
- 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/paymentlink.ts +7 -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.
|
|
34034
|
-
genVersion: "2.755.
|
|
34035
|
-
userAgent: "speakeasy-sdk/typescript 0.21.
|
|
34033
|
+
sdkVersion: "0.21.14",
|
|
34034
|
+
genVersion: "2.755.9",
|
|
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(() => {
|
|
@@ -45514,6 +45537,7 @@ var init_paymentlink = __esm(() => {
|
|
|
45514
45537
|
status: PaymentLinkStatus$inboundSchema,
|
|
45515
45538
|
partnerAccountID: stringType(),
|
|
45516
45539
|
merchantAccountID: stringType(),
|
|
45540
|
+
ownerAccountID: stringType(),
|
|
45517
45541
|
merchantPaymentMethodID: stringType(),
|
|
45518
45542
|
link: stringType(),
|
|
45519
45543
|
amount: Amount$inboundSchema,
|
|
@@ -45537,6 +45561,7 @@ var init_paymentlink = __esm(() => {
|
|
|
45537
45561
|
status: PaymentLinkStatus$outboundSchema,
|
|
45538
45562
|
partnerAccountID: stringType(),
|
|
45539
45563
|
merchantAccountID: stringType(),
|
|
45564
|
+
ownerAccountID: stringType(),
|
|
45540
45565
|
merchantPaymentMethodID: stringType(),
|
|
45541
45566
|
link: stringType(),
|
|
45542
45567
|
amount: Amount$outboundSchema,
|
|
@@ -45755,6 +45780,7 @@ var init_paymentmethod = __esm(() => {
|
|
|
45755
45780
|
init_applepaypaymentmethod();
|
|
45756
45781
|
init_cardpaymentpaymentmethod();
|
|
45757
45782
|
init_cardpresentpaymentpaymentmethod();
|
|
45783
|
+
init_instantbankcreditpaymentmethod();
|
|
45758
45784
|
init_moovwalletpaymentmethod();
|
|
45759
45785
|
init_pullfromcardpaymentmethod();
|
|
45760
45786
|
init_pushtocardpaymentmethod();
|
|
@@ -45774,6 +45800,7 @@ var init_paymentmethod = __esm(() => {
|
|
|
45774
45800
|
ApplePayPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("apple-pay") }).transform((v2) => ({
|
|
45775
45801
|
paymentMethodType: v2.paymentMethodType
|
|
45776
45802
|
}))),
|
|
45803
|
+
InstantBankCreditPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("instant-bank-credit") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
|
|
45777
45804
|
CardPresentPaymentPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("card-present-payment") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType })))
|
|
45778
45805
|
]);
|
|
45779
45806
|
PaymentMethod$outboundSchema = unionType([
|
|
@@ -45791,6 +45818,7 @@ var init_paymentmethod = __esm(() => {
|
|
|
45791
45818
|
ApplePayPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("apple-pay") }).transform((v2) => ({
|
|
45792
45819
|
paymentMethodType: v2.paymentMethodType
|
|
45793
45820
|
}))),
|
|
45821
|
+
InstantBankCreditPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("instant-bank-credit") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
|
|
45794
45822
|
CardPresentPaymentPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("card-present-payment") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType })))
|
|
45795
45823
|
]);
|
|
45796
45824
|
});
|
|
@@ -48780,6 +48808,7 @@ var init_components = __esm(() => {
|
|
|
48780
48808
|
init_individualprofile();
|
|
48781
48809
|
init_industrycodes();
|
|
48782
48810
|
init_industrytaxonomy();
|
|
48811
|
+
init_instantbankcreditpaymentmethod();
|
|
48783
48812
|
init_instantpaymentfees();
|
|
48784
48813
|
init_institutionssearchresponse();
|
|
48785
48814
|
init_issuedcard();
|
|
@@ -56485,6 +56514,60 @@ var init_listfeeplans = __esm(() => {
|
|
|
56485
56514
|
});
|
|
56486
56515
|
});
|
|
56487
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
|
+
|
|
56488
56571
|
// src/models/operations/listfeesfetch.ts
|
|
56489
56572
|
var ListFeesFetchGlobals$inboundSchema, ListFeesFetchGlobals$outboundSchema, ListFeesFetchRequest$inboundSchema2, ListFeesFetchRequest$outboundSchema2, ListFeesFetchResponse$inboundSchema, ListFeesFetchResponse$outboundSchema;
|
|
56490
56573
|
var init_listfeesfetch = __esm(() => {
|
|
@@ -59943,6 +60026,7 @@ var init_operations = __esm(() => {
|
|
|
59943
60026
|
init_listdisputes();
|
|
59944
60027
|
init_listfeeplanagreements();
|
|
59945
60028
|
init_listfeeplans();
|
|
60029
|
+
init_listfeerevenue();
|
|
59946
60030
|
init_listfeesfetch();
|
|
59947
60031
|
init_listfiles();
|
|
59948
60032
|
init_listimagemetadata();
|
|
@@ -68479,11 +68563,129 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
68479
68563
|
};
|
|
68480
68564
|
});
|
|
68481
68565
|
|
|
68482
|
-
// src/funcs/
|
|
68483
|
-
function
|
|
68566
|
+
// src/funcs/feePlansListFeeRevenue.ts
|
|
68567
|
+
function feePlansListFeeRevenue(client, request, options) {
|
|
68484
68568
|
return new APIPromise($do70(client, request, options));
|
|
68485
68569
|
}
|
|
68486
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) {
|
|
68487
68689
|
const parsed = safeParse(request, (value) => ListFeesFetchRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
68488
68690
|
if (!parsed.ok) {
|
|
68489
68691
|
return [parsed, { status: "invalid" }];
|
|
@@ -68564,12 +68766,12 @@ var init_feePlansListFeesFetch = __esm(() => {
|
|
|
68564
68766
|
});
|
|
68565
68767
|
|
|
68566
68768
|
// src/mcp-server/tools/feePlansListFeesFetch.ts
|
|
68567
|
-
var
|
|
68769
|
+
var args71, tool$feePlansListFeesFetch;
|
|
68568
68770
|
var init_feePlansListFeesFetch2 = __esm(() => {
|
|
68569
68771
|
init_feePlansListFeesFetch();
|
|
68570
68772
|
init_operations();
|
|
68571
68773
|
init_tools();
|
|
68572
|
-
|
|
68774
|
+
args71 = {
|
|
68573
68775
|
request: ListFeesFetchRequest$inboundSchema2
|
|
68574
68776
|
};
|
|
68575
68777
|
tool$feePlansListFeesFetch = {
|
|
@@ -68578,9 +68780,9 @@ var init_feePlansListFeesFetch2 = __esm(() => {
|
|
|
68578
68780
|
|
|
68579
68781
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68580
68782
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
68581
|
-
args:
|
|
68582
|
-
tool: async (client,
|
|
68583
|
-
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();
|
|
68584
68786
|
if (!result.ok) {
|
|
68585
68787
|
return {
|
|
68586
68788
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68595,9 +68797,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
68595
68797
|
|
|
68596
68798
|
// src/funcs/feePlansListPartnerPricing.ts
|
|
68597
68799
|
function feePlansListPartnerPricing(client, request, options) {
|
|
68598
|
-
return new APIPromise($
|
|
68800
|
+
return new APIPromise($do72(client, request, options));
|
|
68599
68801
|
}
|
|
68600
|
-
async function $
|
|
68802
|
+
async function $do72(client, request, options) {
|
|
68601
68803
|
const parsed = safeParse(request, (value) => ListPartnerPricingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68602
68804
|
if (!parsed.ok) {
|
|
68603
68805
|
return [parsed, { status: "invalid" }];
|
|
@@ -68679,12 +68881,12 @@ var init_feePlansListPartnerPricing = __esm(() => {
|
|
|
68679
68881
|
});
|
|
68680
68882
|
|
|
68681
68883
|
// src/mcp-server/tools/feePlansListPartnerPricing.ts
|
|
68682
|
-
var
|
|
68884
|
+
var args72, tool$feePlansListPartnerPricing;
|
|
68683
68885
|
var init_feePlansListPartnerPricing2 = __esm(() => {
|
|
68684
68886
|
init_feePlansListPartnerPricing();
|
|
68685
68887
|
init_operations();
|
|
68686
68888
|
init_tools();
|
|
68687
|
-
|
|
68889
|
+
args72 = {
|
|
68688
68890
|
request: ListPartnerPricingRequest$inboundSchema
|
|
68689
68891
|
};
|
|
68690
68892
|
tool$feePlansListPartnerPricing = {
|
|
@@ -68693,9 +68895,9 @@ var init_feePlansListPartnerPricing2 = __esm(() => {
|
|
|
68693
68895
|
|
|
68694
68896
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68695
68897
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
68696
|
-
args:
|
|
68697
|
-
tool: async (client,
|
|
68698
|
-
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();
|
|
68699
68901
|
if (!result.ok) {
|
|
68700
68902
|
return {
|
|
68701
68903
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68710,9 +68912,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
68710
68912
|
|
|
68711
68913
|
// src/funcs/feePlansListPartnerPricingAgreements.ts
|
|
68712
68914
|
function feePlansListPartnerPricingAgreements(client, request, options) {
|
|
68713
|
-
return new APIPromise($
|
|
68915
|
+
return new APIPromise($do73(client, request, options));
|
|
68714
68916
|
}
|
|
68715
|
-
async function $
|
|
68917
|
+
async function $do73(client, request, options) {
|
|
68716
68918
|
const parsed = safeParse(request, (value) => ListPartnerPricingAgreementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68717
68919
|
if (!parsed.ok) {
|
|
68718
68920
|
return [parsed, { status: "invalid" }];
|
|
@@ -68797,12 +68999,12 @@ var init_feePlansListPartnerPricingAgreements = __esm(() => {
|
|
|
68797
68999
|
});
|
|
68798
69000
|
|
|
68799
69001
|
// src/mcp-server/tools/feePlansListPartnerPricingAgreements.ts
|
|
68800
|
-
var
|
|
69002
|
+
var args73, tool$feePlansListPartnerPricingAgreements;
|
|
68801
69003
|
var init_feePlansListPartnerPricingAgreements2 = __esm(() => {
|
|
68802
69004
|
init_feePlansListPartnerPricingAgreements();
|
|
68803
69005
|
init_operations();
|
|
68804
69006
|
init_tools();
|
|
68805
|
-
|
|
69007
|
+
args73 = {
|
|
68806
69008
|
request: ListPartnerPricingAgreementsRequest$inboundSchema
|
|
68807
69009
|
};
|
|
68808
69010
|
tool$feePlansListPartnerPricingAgreements = {
|
|
@@ -68811,9 +69013,9 @@ var init_feePlansListPartnerPricingAgreements2 = __esm(() => {
|
|
|
68811
69013
|
|
|
68812
69014
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68813
69015
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
68814
|
-
args:
|
|
68815
|
-
tool: async (client,
|
|
68816
|
-
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();
|
|
68817
69019
|
if (!result.ok) {
|
|
68818
69020
|
return {
|
|
68819
69021
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68828,9 +69030,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
68828
69030
|
|
|
68829
69031
|
// src/funcs/feePlansListResidualFees.ts
|
|
68830
69032
|
function feePlansListResidualFees(client, request, options) {
|
|
68831
|
-
return new APIPromise($
|
|
69033
|
+
return new APIPromise($do74(client, request, options));
|
|
68832
69034
|
}
|
|
68833
|
-
async function $
|
|
69035
|
+
async function $do74(client, request, options) {
|
|
68834
69036
|
const parsed = safeParse(request, (value) => ListResidualFeesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68835
69037
|
if (!parsed.ok) {
|
|
68836
69038
|
return [parsed, { status: "invalid" }];
|
|
@@ -68919,12 +69121,12 @@ var init_feePlansListResidualFees = __esm(() => {
|
|
|
68919
69121
|
});
|
|
68920
69122
|
|
|
68921
69123
|
// src/mcp-server/tools/feePlansListResidualFees.ts
|
|
68922
|
-
var
|
|
69124
|
+
var args74, tool$feePlansListResidualFees;
|
|
68923
69125
|
var init_feePlansListResidualFees2 = __esm(() => {
|
|
68924
69126
|
init_feePlansListResidualFees();
|
|
68925
69127
|
init_operations();
|
|
68926
69128
|
init_tools();
|
|
68927
|
-
|
|
69129
|
+
args74 = {
|
|
68928
69130
|
request: ListResidualFeesRequest$inboundSchema
|
|
68929
69131
|
};
|
|
68930
69132
|
tool$feePlansListResidualFees = {
|
|
@@ -68933,9 +69135,9 @@ var init_feePlansListResidualFees2 = __esm(() => {
|
|
|
68933
69135
|
|
|
68934
69136
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68935
69137
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
68936
|
-
args:
|
|
68937
|
-
tool: async (client,
|
|
68938
|
-
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();
|
|
68939
69141
|
if (!result.ok) {
|
|
68940
69142
|
return {
|
|
68941
69143
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68950,9 +69152,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
68950
69152
|
|
|
68951
69153
|
// src/funcs/feePlansListResiduals.ts
|
|
68952
69154
|
function feePlansListResiduals(client, request, options) {
|
|
68953
|
-
return new APIPromise($
|
|
69155
|
+
return new APIPromise($do75(client, request, options));
|
|
68954
69156
|
}
|
|
68955
|
-
async function $
|
|
69157
|
+
async function $do75(client, request, options) {
|
|
68956
69158
|
const parsed = safeParse(request, (value) => ListResidualsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68957
69159
|
if (!parsed.ok) {
|
|
68958
69160
|
return [parsed, { status: "invalid" }];
|
|
@@ -69037,12 +69239,12 @@ var init_feePlansListResiduals = __esm(() => {
|
|
|
69037
69239
|
});
|
|
69038
69240
|
|
|
69039
69241
|
// src/mcp-server/tools/feePlansListResiduals.ts
|
|
69040
|
-
var
|
|
69242
|
+
var args75, tool$feePlansListResiduals;
|
|
69041
69243
|
var init_feePlansListResiduals2 = __esm(() => {
|
|
69042
69244
|
init_feePlansListResiduals();
|
|
69043
69245
|
init_operations();
|
|
69044
69246
|
init_tools();
|
|
69045
|
-
|
|
69247
|
+
args75 = {
|
|
69046
69248
|
request: ListResidualsRequest$inboundSchema
|
|
69047
69249
|
};
|
|
69048
69250
|
tool$feePlansListResiduals = {
|
|
@@ -69051,9 +69253,9 @@ var init_feePlansListResiduals2 = __esm(() => {
|
|
|
69051
69253
|
|
|
69052
69254
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69053
69255
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
69054
|
-
args:
|
|
69055
|
-
tool: async (client,
|
|
69056
|
-
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();
|
|
69057
69259
|
if (!result.ok) {
|
|
69058
69260
|
return {
|
|
69059
69261
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69068,9 +69270,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
69068
69270
|
|
|
69069
69271
|
// src/funcs/feePlansRetrieveFees.ts
|
|
69070
69272
|
function feePlansRetrieveFees(client, request, options) {
|
|
69071
|
-
return new APIPromise($
|
|
69273
|
+
return new APIPromise($do76(client, request, options));
|
|
69072
69274
|
}
|
|
69073
|
-
async function $
|
|
69275
|
+
async function $do76(client, request, options) {
|
|
69074
69276
|
const parsed = safeParse(request, (value) => RetrieveFeesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69075
69277
|
if (!parsed.ok) {
|
|
69076
69278
|
return [parsed, { status: "invalid" }];
|
|
@@ -69157,23 +69359,23 @@ var init_feePlansRetrieveFees = __esm(() => {
|
|
|
69157
69359
|
});
|
|
69158
69360
|
|
|
69159
69361
|
// src/mcp-server/tools/feePlansRetrieveFees.ts
|
|
69160
|
-
var
|
|
69362
|
+
var args76, tool$feePlansRetrieveFees;
|
|
69161
69363
|
var init_feePlansRetrieveFees2 = __esm(() => {
|
|
69162
69364
|
init_feePlansRetrieveFees();
|
|
69163
69365
|
init_operations();
|
|
69164
69366
|
init_tools();
|
|
69165
|
-
|
|
69367
|
+
args76 = {
|
|
69166
69368
|
request: RetrieveFeesRequest$inboundSchema
|
|
69167
69369
|
};
|
|
69168
69370
|
tool$feePlansRetrieveFees = {
|
|
69169
69371
|
name: "fee-plans-retrieve-fees",
|
|
69170
|
-
description: `Retrieve fees
|
|
69372
|
+
description: `Retrieve fees assessed to an account.
|
|
69171
69373
|
|
|
69172
69374
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69173
69375
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
69174
|
-
args:
|
|
69175
|
-
tool: async (client,
|
|
69176
|
-
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();
|
|
69177
69379
|
if (!result.ok) {
|
|
69178
69380
|
return {
|
|
69179
69381
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69188,9 +69390,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
69188
69390
|
|
|
69189
69391
|
// src/funcs/filesGet.ts
|
|
69190
69392
|
function filesGet(client, request, options) {
|
|
69191
|
-
return new APIPromise($
|
|
69393
|
+
return new APIPromise($do77(client, request, options));
|
|
69192
69394
|
}
|
|
69193
|
-
async function $
|
|
69395
|
+
async function $do77(client, request, options) {
|
|
69194
69396
|
const parsed = safeParse(request, (value) => GetFileDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69195
69397
|
if (!parsed.ok) {
|
|
69196
69398
|
return [parsed, { status: "invalid" }];
|
|
@@ -69272,12 +69474,12 @@ var init_filesGet = __esm(() => {
|
|
|
69272
69474
|
});
|
|
69273
69475
|
|
|
69274
69476
|
// src/mcp-server/tools/filesGet.ts
|
|
69275
|
-
var
|
|
69477
|
+
var args77, tool$filesGet;
|
|
69276
69478
|
var init_filesGet2 = __esm(() => {
|
|
69277
69479
|
init_filesGet();
|
|
69278
69480
|
init_operations();
|
|
69279
69481
|
init_tools();
|
|
69280
|
-
|
|
69482
|
+
args77 = {
|
|
69281
69483
|
request: GetFileDetailsRequest$inboundSchema
|
|
69282
69484
|
};
|
|
69283
69485
|
tool$filesGet = {
|
|
@@ -69286,9 +69488,9 @@ var init_filesGet2 = __esm(() => {
|
|
|
69286
69488
|
|
|
69287
69489
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69288
69490
|
you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
69289
|
-
args:
|
|
69290
|
-
tool: async (client,
|
|
69291
|
-
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();
|
|
69292
69494
|
if (!result.ok) {
|
|
69293
69495
|
return {
|
|
69294
69496
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69303,9 +69505,9 @@ you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
|
69303
69505
|
|
|
69304
69506
|
// src/funcs/filesList.ts
|
|
69305
69507
|
function filesList(client, request, options) {
|
|
69306
|
-
return new APIPromise($
|
|
69508
|
+
return new APIPromise($do78(client, request, options));
|
|
69307
69509
|
}
|
|
69308
|
-
async function $
|
|
69510
|
+
async function $do78(client, request, options) {
|
|
69309
69511
|
const parsed = safeParse(request, (value) => ListFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69310
69512
|
if (!parsed.ok) {
|
|
69311
69513
|
return [parsed, { status: "invalid" }];
|
|
@@ -69383,12 +69585,12 @@ var init_filesList = __esm(() => {
|
|
|
69383
69585
|
});
|
|
69384
69586
|
|
|
69385
69587
|
// src/mcp-server/tools/filesList.ts
|
|
69386
|
-
var
|
|
69588
|
+
var args78, tool$filesList;
|
|
69387
69589
|
var init_filesList2 = __esm(() => {
|
|
69388
69590
|
init_filesList();
|
|
69389
69591
|
init_operations();
|
|
69390
69592
|
init_tools();
|
|
69391
|
-
|
|
69593
|
+
args78 = {
|
|
69392
69594
|
request: ListFilesRequest$inboundSchema
|
|
69393
69595
|
};
|
|
69394
69596
|
tool$filesList = {
|
|
@@ -69397,9 +69599,9 @@ var init_filesList2 = __esm(() => {
|
|
|
69397
69599
|
|
|
69398
69600
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69399
69601
|
you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
69400
|
-
args:
|
|
69401
|
-
tool: async (client,
|
|
69402
|
-
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();
|
|
69403
69605
|
if (!result.ok) {
|
|
69404
69606
|
return {
|
|
69405
69607
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69414,9 +69616,9 @@ you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
|
69414
69616
|
|
|
69415
69617
|
// src/funcs/filesUpload.ts
|
|
69416
69618
|
function filesUpload(client, request, options) {
|
|
69417
|
-
return new APIPromise($
|
|
69619
|
+
return new APIPromise($do79(client, request, options));
|
|
69418
69620
|
}
|
|
69419
|
-
async function $
|
|
69621
|
+
async function $do79(client, request, options) {
|
|
69420
69622
|
const parsed = safeParse(request, (value) => UploadFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69421
69623
|
if (!parsed.ok) {
|
|
69422
69624
|
return [parsed, { status: "invalid" }];
|
|
@@ -69525,12 +69727,12 @@ var init_filesUpload = __esm(() => {
|
|
|
69525
69727
|
});
|
|
69526
69728
|
|
|
69527
69729
|
// src/mcp-server/tools/filesUpload.ts
|
|
69528
|
-
var
|
|
69730
|
+
var args79, tool$filesUpload;
|
|
69529
69731
|
var init_filesUpload2 = __esm(() => {
|
|
69530
69732
|
init_filesUpload();
|
|
69531
69733
|
init_operations();
|
|
69532
69734
|
init_tools();
|
|
69533
|
-
|
|
69735
|
+
args79 = {
|
|
69534
69736
|
request: UploadFileRequest$inboundSchema
|
|
69535
69737
|
};
|
|
69536
69738
|
tool$filesUpload = {
|
|
@@ -69542,9 +69744,9 @@ and png.
|
|
|
69542
69744
|
|
|
69543
69745
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69544
69746
|
you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
69545
|
-
args:
|
|
69546
|
-
tool: async (client,
|
|
69547
|
-
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();
|
|
69548
69750
|
if (!result.ok) {
|
|
69549
69751
|
return {
|
|
69550
69752
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69559,9 +69761,9 @@ you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
|
69559
69761
|
|
|
69560
69762
|
// src/funcs/imagesDelete.ts
|
|
69561
69763
|
function imagesDelete(client, request, options) {
|
|
69562
|
-
return new APIPromise($
|
|
69764
|
+
return new APIPromise($do80(client, request, options));
|
|
69563
69765
|
}
|
|
69564
|
-
async function $
|
|
69766
|
+
async function $do80(client, request, options) {
|
|
69565
69767
|
const parsed = safeParse(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69566
69768
|
if (!parsed.ok) {
|
|
69567
69769
|
return [parsed, { status: "invalid" }];
|
|
@@ -69654,20 +69856,20 @@ var init_imagesDelete = __esm(() => {
|
|
|
69654
69856
|
});
|
|
69655
69857
|
|
|
69656
69858
|
// src/mcp-server/tools/imagesDelete.ts
|
|
69657
|
-
var
|
|
69859
|
+
var args80, tool$imagesDelete;
|
|
69658
69860
|
var init_imagesDelete2 = __esm(() => {
|
|
69659
69861
|
init_imagesDelete();
|
|
69660
69862
|
init_operations();
|
|
69661
69863
|
init_tools();
|
|
69662
|
-
|
|
69864
|
+
args80 = {
|
|
69663
69865
|
request: DeleteImageRequest$inboundSchema
|
|
69664
69866
|
};
|
|
69665
69867
|
tool$imagesDelete = {
|
|
69666
69868
|
name: "images-delete",
|
|
69667
69869
|
description: `Permanently delete an image by its ID.`,
|
|
69668
|
-
args:
|
|
69669
|
-
tool: async (client,
|
|
69670
|
-
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();
|
|
69671
69873
|
if (!result.ok) {
|
|
69672
69874
|
return {
|
|
69673
69875
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69681,9 +69883,9 @@ var init_imagesDelete2 = __esm(() => {
|
|
|
69681
69883
|
|
|
69682
69884
|
// src/funcs/imagesGetMetadata.ts
|
|
69683
69885
|
function imagesGetMetadata(client, request, options) {
|
|
69684
|
-
return new APIPromise($
|
|
69886
|
+
return new APIPromise($do81(client, request, options));
|
|
69685
69887
|
}
|
|
69686
|
-
async function $
|
|
69888
|
+
async function $do81(client, request, options) {
|
|
69687
69889
|
const parsed = safeParse(request, (value) => GetImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69688
69890
|
if (!parsed.ok) {
|
|
69689
69891
|
return [parsed, { status: "invalid" }];
|
|
@@ -69765,20 +69967,20 @@ var init_imagesGetMetadata = __esm(() => {
|
|
|
69765
69967
|
});
|
|
69766
69968
|
|
|
69767
69969
|
// src/mcp-server/tools/imagesGetMetadata.ts
|
|
69768
|
-
var
|
|
69970
|
+
var args81, tool$imagesGetMetadata;
|
|
69769
69971
|
var init_imagesGetMetadata2 = __esm(() => {
|
|
69770
69972
|
init_imagesGetMetadata();
|
|
69771
69973
|
init_operations();
|
|
69772
69974
|
init_tools();
|
|
69773
|
-
|
|
69975
|
+
args81 = {
|
|
69774
69976
|
request: GetImageMetadataRequest$inboundSchema
|
|
69775
69977
|
};
|
|
69776
69978
|
tool$imagesGetMetadata = {
|
|
69777
69979
|
name: "images-get-metadata",
|
|
69778
69980
|
description: `Retrieve metadata for a specific image by its ID.`,
|
|
69779
|
-
args:
|
|
69780
|
-
tool: async (client,
|
|
69781
|
-
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();
|
|
69782
69984
|
if (!result.ok) {
|
|
69783
69985
|
return {
|
|
69784
69986
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69793,9 +69995,9 @@ var init_imagesGetMetadata2 = __esm(() => {
|
|
|
69793
69995
|
|
|
69794
69996
|
// src/funcs/imagesGetPublic.ts
|
|
69795
69997
|
function imagesGetPublic(client, request, options) {
|
|
69796
|
-
return new APIPromise($
|
|
69998
|
+
return new APIPromise($do82(client, request, options));
|
|
69797
69999
|
}
|
|
69798
|
-
async function $
|
|
70000
|
+
async function $do82(client, request, options) {
|
|
69799
70001
|
const parsed = safeParse(request, (value) => GetPublicImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69800
70002
|
if (!parsed.ok) {
|
|
69801
70003
|
return [parsed, { status: "invalid" }];
|
|
@@ -69887,20 +70089,20 @@ var init_imagesGetPublic = __esm(() => {
|
|
|
69887
70089
|
});
|
|
69888
70090
|
|
|
69889
70091
|
// src/mcp-server/tools/imagesGetPublic.ts
|
|
69890
|
-
var
|
|
70092
|
+
var args82, tool$imagesGetPublic;
|
|
69891
70093
|
var init_imagesGetPublic2 = __esm(() => {
|
|
69892
70094
|
init_imagesGetPublic();
|
|
69893
70095
|
init_operations();
|
|
69894
70096
|
init_tools();
|
|
69895
|
-
|
|
70097
|
+
args82 = {
|
|
69896
70098
|
request: GetPublicImageRequest$inboundSchema
|
|
69897
70099
|
};
|
|
69898
70100
|
tool$imagesGetPublic = {
|
|
69899
70101
|
name: "images-get-public",
|
|
69900
70102
|
description: `Get an image by its public ID.`,
|
|
69901
|
-
args:
|
|
69902
|
-
tool: async (client,
|
|
69903
|
-
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();
|
|
69904
70106
|
if (!result.ok) {
|
|
69905
70107
|
return {
|
|
69906
70108
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69915,9 +70117,9 @@ var init_imagesGetPublic2 = __esm(() => {
|
|
|
69915
70117
|
|
|
69916
70118
|
// src/funcs/imagesList.ts
|
|
69917
70119
|
function imagesList(client, request, options) {
|
|
69918
|
-
return new APIPromise($
|
|
70120
|
+
return new APIPromise($do83(client, request, options));
|
|
69919
70121
|
}
|
|
69920
|
-
async function $
|
|
70122
|
+
async function $do83(client, request, options) {
|
|
69921
70123
|
const parsed = safeParse(request, (value) => ListImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69922
70124
|
if (!parsed.ok) {
|
|
69923
70125
|
return [parsed, { status: "invalid" }];
|
|
@@ -70000,20 +70202,20 @@ var init_imagesList = __esm(() => {
|
|
|
70000
70202
|
});
|
|
70001
70203
|
|
|
70002
70204
|
// src/mcp-server/tools/imagesList.ts
|
|
70003
|
-
var
|
|
70205
|
+
var args83, tool$imagesList;
|
|
70004
70206
|
var init_imagesList2 = __esm(() => {
|
|
70005
70207
|
init_imagesList();
|
|
70006
70208
|
init_operations();
|
|
70007
70209
|
init_tools();
|
|
70008
|
-
|
|
70210
|
+
args83 = {
|
|
70009
70211
|
request: ListImageMetadataRequest$inboundSchema
|
|
70010
70212
|
};
|
|
70011
70213
|
tool$imagesList = {
|
|
70012
70214
|
name: "images-list",
|
|
70013
70215
|
description: `List metadata for all images in the specified account.`,
|
|
70014
|
-
args:
|
|
70015
|
-
tool: async (client,
|
|
70016
|
-
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();
|
|
70017
70219
|
if (!result.ok) {
|
|
70018
70220
|
return {
|
|
70019
70221
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70028,9 +70230,9 @@ var init_imagesList2 = __esm(() => {
|
|
|
70028
70230
|
|
|
70029
70231
|
// src/funcs/imagesUpdate.ts
|
|
70030
70232
|
function imagesUpdate(client, request, options) {
|
|
70031
|
-
return new APIPromise($
|
|
70233
|
+
return new APIPromise($do84(client, request, options));
|
|
70032
70234
|
}
|
|
70033
|
-
async function $
|
|
70235
|
+
async function $do84(client, request, options) {
|
|
70034
70236
|
const parsed = safeParse(request, (value) => UpdateImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70035
70237
|
if (!parsed.ok) {
|
|
70036
70238
|
return [parsed, { status: "invalid" }];
|
|
@@ -70146,12 +70348,12 @@ var init_imagesUpdate = __esm(() => {
|
|
|
70146
70348
|
});
|
|
70147
70349
|
|
|
70148
70350
|
// src/mcp-server/tools/imagesUpdate.ts
|
|
70149
|
-
var
|
|
70351
|
+
var args84, tool$imagesUpdate;
|
|
70150
70352
|
var init_imagesUpdate2 = __esm(() => {
|
|
70151
70353
|
init_imagesUpdate();
|
|
70152
70354
|
init_operations();
|
|
70153
70355
|
init_tools();
|
|
70154
|
-
|
|
70356
|
+
args84 = {
|
|
70155
70357
|
request: UpdateImageRequest$inboundSchema
|
|
70156
70358
|
};
|
|
70157
70359
|
tool$imagesUpdate = {
|
|
@@ -70161,9 +70363,9 @@ var init_imagesUpdate2 = __esm(() => {
|
|
|
70161
70363
|
This endpoint replaces the existing image with the new PNG, JPEG, or WebP. Omit
|
|
70162
70364
|
the metadata form section to keep existing metadata, or send \`null\` to clear it.
|
|
70163
70365
|
Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
70164
|
-
args:
|
|
70165
|
-
tool: async (client,
|
|
70166
|
-
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();
|
|
70167
70369
|
if (!result.ok) {
|
|
70168
70370
|
return {
|
|
70169
70371
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70178,9 +70380,9 @@ Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
|
70178
70380
|
|
|
70179
70381
|
// src/funcs/imagesUpdateMetadata.ts
|
|
70180
70382
|
function imagesUpdateMetadata(client, request, options) {
|
|
70181
|
-
return new APIPromise($
|
|
70383
|
+
return new APIPromise($do85(client, request, options));
|
|
70182
70384
|
}
|
|
70183
|
-
async function $
|
|
70385
|
+
async function $do85(client, request, options) {
|
|
70184
70386
|
const parsed = safeParse(request, (value) => UpdateImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70185
70387
|
if (!parsed.ok) {
|
|
70186
70388
|
return [parsed, { status: "invalid" }];
|
|
@@ -70280,20 +70482,20 @@ var init_imagesUpdateMetadata = __esm(() => {
|
|
|
70280
70482
|
});
|
|
70281
70483
|
|
|
70282
70484
|
// src/mcp-server/tools/imagesUpdateMetadata.ts
|
|
70283
|
-
var
|
|
70485
|
+
var args85, tool$imagesUpdateMetadata;
|
|
70284
70486
|
var init_imagesUpdateMetadata2 = __esm(() => {
|
|
70285
70487
|
init_imagesUpdateMetadata();
|
|
70286
70488
|
init_operations();
|
|
70287
70489
|
init_tools();
|
|
70288
|
-
|
|
70490
|
+
args85 = {
|
|
70289
70491
|
request: UpdateImageMetadataRequest$inboundSchema
|
|
70290
70492
|
};
|
|
70291
70493
|
tool$imagesUpdateMetadata = {
|
|
70292
70494
|
name: "images-update-metadata",
|
|
70293
70495
|
description: `Replace the metadata for an existing image.`,
|
|
70294
|
-
args:
|
|
70295
|
-
tool: async (client,
|
|
70296
|
-
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();
|
|
70297
70499
|
if (!result.ok) {
|
|
70298
70500
|
return {
|
|
70299
70501
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70308,9 +70510,9 @@ var init_imagesUpdateMetadata2 = __esm(() => {
|
|
|
70308
70510
|
|
|
70309
70511
|
// src/funcs/imagesUpload.ts
|
|
70310
70512
|
function imagesUpload(client, request, options) {
|
|
70311
|
-
return new APIPromise($
|
|
70513
|
+
return new APIPromise($do86(client, request, options));
|
|
70312
70514
|
}
|
|
70313
|
-
async function $
|
|
70515
|
+
async function $do86(client, request, options) {
|
|
70314
70516
|
const parsed = safeParse(request, (value) => UploadImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70315
70517
|
if (!parsed.ok) {
|
|
70316
70518
|
return [parsed, { status: "invalid" }];
|
|
@@ -70422,21 +70624,21 @@ var init_imagesUpload = __esm(() => {
|
|
|
70422
70624
|
});
|
|
70423
70625
|
|
|
70424
70626
|
// src/mcp-server/tools/imagesUpload.ts
|
|
70425
|
-
var
|
|
70627
|
+
var args86, tool$imagesUpload;
|
|
70426
70628
|
var init_imagesUpload2 = __esm(() => {
|
|
70427
70629
|
init_imagesUpload();
|
|
70428
70630
|
init_operations();
|
|
70429
70631
|
init_tools();
|
|
70430
|
-
|
|
70632
|
+
args86 = {
|
|
70431
70633
|
request: UploadImageRequest$inboundSchema
|
|
70432
70634
|
};
|
|
70433
70635
|
tool$imagesUpload = {
|
|
70434
70636
|
name: "images-upload",
|
|
70435
70637
|
description: ` Upload a new PNG, JPEG, or WebP image with optional metadata.
|
|
70436
70638
|
Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
70437
|
-
args:
|
|
70438
|
-
tool: async (client,
|
|
70439
|
-
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();
|
|
70440
70642
|
if (!result.ok) {
|
|
70441
70643
|
return {
|
|
70442
70644
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70451,9 +70653,9 @@ var init_imagesUpload2 = __esm(() => {
|
|
|
70451
70653
|
|
|
70452
70654
|
// src/funcs/industriesList.ts
|
|
70453
70655
|
function industriesList(client, _request, options) {
|
|
70454
|
-
return new APIPromise($
|
|
70656
|
+
return new APIPromise($do87(client, _request, options));
|
|
70455
70657
|
}
|
|
70456
|
-
async function $
|
|
70658
|
+
async function $do87(client, _request, options) {
|
|
70457
70659
|
const path = pathToFunc("/industries")();
|
|
70458
70660
|
const headers = new Headers(compactMap({
|
|
70459
70661
|
Accept: "application/json",
|
|
@@ -70517,12 +70719,12 @@ var init_industriesList = __esm(() => {
|
|
|
70517
70719
|
});
|
|
70518
70720
|
|
|
70519
70721
|
// src/mcp-server/tools/industriesList.ts
|
|
70520
|
-
var
|
|
70722
|
+
var args87, tool$industriesList;
|
|
70521
70723
|
var init_industriesList2 = __esm(() => {
|
|
70522
70724
|
init_industriesList();
|
|
70523
70725
|
init_operations();
|
|
70524
70726
|
init_tools();
|
|
70525
|
-
|
|
70727
|
+
args87 = {
|
|
70526
70728
|
request: ListIndustriesRequest$inboundSchema
|
|
70527
70729
|
};
|
|
70528
70730
|
tool$industriesList = {
|
|
@@ -70531,9 +70733,9 @@ var init_industriesList2 = __esm(() => {
|
|
|
70531
70733
|
|
|
70532
70734
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
70533
70735
|
you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
70534
|
-
args:
|
|
70535
|
-
tool: async (client,
|
|
70536
|
-
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();
|
|
70537
70739
|
if (!result.ok) {
|
|
70538
70740
|
return {
|
|
70539
70741
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70548,9 +70750,9 @@ you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
|
70548
70750
|
|
|
70549
70751
|
// src/funcs/institutionsSearch.ts
|
|
70550
70752
|
function institutionsSearch(client, request, options) {
|
|
70551
|
-
return new APIPromise($
|
|
70753
|
+
return new APIPromise($do88(client, request, options));
|
|
70552
70754
|
}
|
|
70553
|
-
async function $
|
|
70755
|
+
async function $do88(client, request, options) {
|
|
70554
70756
|
const parsed = safeParse(request, (value) => ListInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70555
70757
|
if (!parsed.ok) {
|
|
70556
70758
|
return [parsed, { status: "invalid" }];
|
|
@@ -70630,12 +70832,12 @@ var init_institutionsSearch = __esm(() => {
|
|
|
70630
70832
|
});
|
|
70631
70833
|
|
|
70632
70834
|
// src/mcp-server/tools/institutionsSearch.ts
|
|
70633
|
-
var
|
|
70835
|
+
var args88, tool$institutionsSearch;
|
|
70634
70836
|
var init_institutionsSearch2 = __esm(() => {
|
|
70635
70837
|
init_institutionsSearch();
|
|
70636
70838
|
init_operations();
|
|
70637
70839
|
init_tools();
|
|
70638
|
-
|
|
70840
|
+
args88 = {
|
|
70639
70841
|
request: ListInstitutionsRequest$inboundSchema
|
|
70640
70842
|
};
|
|
70641
70843
|
tool$institutionsSearch = {
|
|
@@ -70644,9 +70846,9 @@ var init_institutionsSearch2 = __esm(() => {
|
|
|
70644
70846
|
|
|
70645
70847
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70646
70848
|
you'll need to specify the \`/fed.read\` scope.`,
|
|
70647
|
-
args:
|
|
70648
|
-
tool: async (client,
|
|
70649
|
-
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();
|
|
70650
70852
|
if (!result.ok) {
|
|
70651
70853
|
return {
|
|
70652
70854
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70661,9 +70863,9 @@ you'll need to specify the \`/fed.read\` scope.`,
|
|
|
70661
70863
|
|
|
70662
70864
|
// src/funcs/institutionsSearchInstitutions.ts
|
|
70663
70865
|
function institutionsSearchInstitutions(client, request, options) {
|
|
70664
|
-
return new APIPromise($
|
|
70866
|
+
return new APIPromise($do89(client, request, options));
|
|
70665
70867
|
}
|
|
70666
|
-
async function $
|
|
70868
|
+
async function $do89(client, request, options) {
|
|
70667
70869
|
const parsed = safeParse(request, (value) => SearchInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70668
70870
|
if (!parsed.ok) {
|
|
70669
70871
|
return [parsed, { status: "invalid" }];
|
|
@@ -70741,12 +70943,12 @@ var init_institutionsSearchInstitutions = __esm(() => {
|
|
|
70741
70943
|
});
|
|
70742
70944
|
|
|
70743
70945
|
// src/mcp-server/tools/institutionsSearchInstitutions.ts
|
|
70744
|
-
var
|
|
70946
|
+
var args89, tool$institutionsSearchInstitutions;
|
|
70745
70947
|
var init_institutionsSearchInstitutions2 = __esm(() => {
|
|
70746
70948
|
init_institutionsSearchInstitutions();
|
|
70747
70949
|
init_operations();
|
|
70748
70950
|
init_tools();
|
|
70749
|
-
|
|
70951
|
+
args89 = {
|
|
70750
70952
|
request: SearchInstitutionsRequest$inboundSchema
|
|
70751
70953
|
};
|
|
70752
70954
|
tool$institutionsSearchInstitutions = {
|
|
@@ -70759,9 +70961,9 @@ This can be used to validate a financial institution before initiating payment a
|
|
|
70759
70961
|
|
|
70760
70962
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70761
70963
|
you'll need to specify the \`/institutions.read\` scope.`,
|
|
70762
|
-
args:
|
|
70763
|
-
tool: async (client,
|
|
70764
|
-
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();
|
|
70765
70967
|
if (!result.ok) {
|
|
70766
70968
|
return {
|
|
70767
70969
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70776,9 +70978,9 @@ you'll need to specify the \`/institutions.read\` scope.`,
|
|
|
70776
70978
|
|
|
70777
70979
|
// src/funcs/issuingTransactionsGet.ts
|
|
70778
70980
|
function issuingTransactionsGet(client, request, options) {
|
|
70779
|
-
return new APIPromise($
|
|
70981
|
+
return new APIPromise($do90(client, request, options));
|
|
70780
70982
|
}
|
|
70781
|
-
async function $
|
|
70983
|
+
async function $do90(client, request, options) {
|
|
70782
70984
|
const parsed = safeParse(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70783
70985
|
if (!parsed.ok) {
|
|
70784
70986
|
return [parsed, { status: "invalid" }];
|
|
@@ -70857,12 +71059,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
70857
71059
|
});
|
|
70858
71060
|
|
|
70859
71061
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
70860
|
-
var
|
|
71062
|
+
var args90, tool$issuingTransactionsGet;
|
|
70861
71063
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
70862
71064
|
init_issuingTransactionsGet();
|
|
70863
71065
|
init_operations();
|
|
70864
71066
|
init_tools();
|
|
70865
|
-
|
|
71067
|
+
args90 = {
|
|
70866
71068
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
70867
71069
|
};
|
|
70868
71070
|
tool$issuingTransactionsGet = {
|
|
@@ -70871,9 +71073,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
70871
71073
|
|
|
70872
71074
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70873
71075
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
70874
|
-
args:
|
|
70875
|
-
tool: async (client,
|
|
70876
|
-
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();
|
|
70877
71079
|
if (!result.ok) {
|
|
70878
71080
|
return {
|
|
70879
71081
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70888,9 +71090,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
70888
71090
|
|
|
70889
71091
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
70890
71092
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
70891
|
-
return new APIPromise($
|
|
71093
|
+
return new APIPromise($do91(client, request, options));
|
|
70892
71094
|
}
|
|
70893
|
-
async function $
|
|
71095
|
+
async function $do91(client, request, options) {
|
|
70894
71096
|
const parsed = safeParse(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70895
71097
|
if (!parsed.ok) {
|
|
70896
71098
|
return [parsed, { status: "invalid" }];
|
|
@@ -70972,12 +71174,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
70972
71174
|
});
|
|
70973
71175
|
|
|
70974
71176
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
70975
|
-
var
|
|
71177
|
+
var args91, tool$issuingTransactionsGetAuthorization;
|
|
70976
71178
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
70977
71179
|
init_issuingTransactionsGetAuthorization();
|
|
70978
71180
|
init_operations();
|
|
70979
71181
|
init_tools();
|
|
70980
|
-
|
|
71182
|
+
args91 = {
|
|
70981
71183
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
70982
71184
|
};
|
|
70983
71185
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -70986,9 +71188,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
70986
71188
|
|
|
70987
71189
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70988
71190
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
70989
|
-
args:
|
|
70990
|
-
tool: async (client,
|
|
70991
|
-
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();
|
|
70992
71194
|
if (!result.ok) {
|
|
70993
71195
|
return {
|
|
70994
71196
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71003,9 +71205,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
71003
71205
|
|
|
71004
71206
|
// src/funcs/issuingTransactionsList.ts
|
|
71005
71207
|
function issuingTransactionsList(client, request, options) {
|
|
71006
|
-
return new APIPromise($
|
|
71208
|
+
return new APIPromise($do92(client, request, options));
|
|
71007
71209
|
}
|
|
71008
|
-
async function $
|
|
71210
|
+
async function $do92(client, request, options) {
|
|
71009
71211
|
const parsed = safeParse(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71010
71212
|
if (!parsed.ok) {
|
|
71011
71213
|
return [parsed, { status: "invalid" }];
|
|
@@ -71091,12 +71293,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
71091
71293
|
});
|
|
71092
71294
|
|
|
71093
71295
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
71094
|
-
var
|
|
71296
|
+
var args92, tool$issuingTransactionsList;
|
|
71095
71297
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
71096
71298
|
init_issuingTransactionsList();
|
|
71097
71299
|
init_operations();
|
|
71098
71300
|
init_tools();
|
|
71099
|
-
|
|
71301
|
+
args92 = {
|
|
71100
71302
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
71101
71303
|
};
|
|
71102
71304
|
tool$issuingTransactionsList = {
|
|
@@ -71105,9 +71307,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
71105
71307
|
|
|
71106
71308
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71107
71309
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
71108
|
-
args:
|
|
71109
|
-
tool: async (client,
|
|
71110
|
-
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();
|
|
71111
71313
|
if (!result.ok) {
|
|
71112
71314
|
return {
|
|
71113
71315
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71122,9 +71324,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
71122
71324
|
|
|
71123
71325
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
71124
71326
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
71125
|
-
return new APIPromise($
|
|
71327
|
+
return new APIPromise($do93(client, request, options));
|
|
71126
71328
|
}
|
|
71127
|
-
async function $
|
|
71329
|
+
async function $do93(client, request, options) {
|
|
71128
71330
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71129
71331
|
if (!parsed.ok) {
|
|
71130
71332
|
return [parsed, { status: "invalid" }];
|
|
@@ -71208,12 +71410,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
71208
71410
|
});
|
|
71209
71411
|
|
|
71210
71412
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
71211
|
-
var
|
|
71413
|
+
var args93, tool$issuingTransactionsListAuthorizationEvents;
|
|
71212
71414
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
71213
71415
|
init_issuingTransactionsListAuthorizationEvents();
|
|
71214
71416
|
init_operations();
|
|
71215
71417
|
init_tools();
|
|
71216
|
-
|
|
71418
|
+
args93 = {
|
|
71217
71419
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
71218
71420
|
};
|
|
71219
71421
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -71222,9 +71424,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
71222
71424
|
|
|
71223
71425
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71224
71426
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
71225
|
-
args:
|
|
71226
|
-
tool: async (client,
|
|
71227
|
-
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();
|
|
71228
71430
|
if (!result.ok) {
|
|
71229
71431
|
return {
|
|
71230
71432
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71239,9 +71441,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
71239
71441
|
|
|
71240
71442
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
71241
71443
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
71242
|
-
return new APIPromise($
|
|
71444
|
+
return new APIPromise($do94(client, request, options));
|
|
71243
71445
|
}
|
|
71244
|
-
async function $
|
|
71446
|
+
async function $do94(client, request, options) {
|
|
71245
71447
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71246
71448
|
if (!parsed.ok) {
|
|
71247
71449
|
return [parsed, { status: "invalid" }];
|
|
@@ -71328,12 +71530,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
71328
71530
|
});
|
|
71329
71531
|
|
|
71330
71532
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
71331
|
-
var
|
|
71533
|
+
var args94, tool$issuingTransactionsListAuthorizations;
|
|
71332
71534
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
71333
71535
|
init_issuingTransactionsListAuthorizations();
|
|
71334
71536
|
init_operations();
|
|
71335
71537
|
init_tools();
|
|
71336
|
-
|
|
71538
|
+
args94 = {
|
|
71337
71539
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
71338
71540
|
};
|
|
71339
71541
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -71342,9 +71544,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
71342
71544
|
|
|
71343
71545
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71344
71546
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
71345
|
-
args:
|
|
71346
|
-
tool: async (client,
|
|
71347
|
-
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();
|
|
71348
71550
|
if (!result.ok) {
|
|
71349
71551
|
return {
|
|
71350
71552
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71359,9 +71561,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
71359
71561
|
|
|
71360
71562
|
// src/funcs/onboardingCreateInvite.ts
|
|
71361
71563
|
function onboardingCreateInvite(client, request, options) {
|
|
71362
|
-
return new APIPromise($
|
|
71564
|
+
return new APIPromise($do95(client, request, options));
|
|
71363
71565
|
}
|
|
71364
|
-
async function $
|
|
71566
|
+
async function $do95(client, request, options) {
|
|
71365
71567
|
const parsed = safeParse(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71366
71568
|
if (!parsed.ok) {
|
|
71367
71569
|
return [parsed, { status: "invalid" }];
|
|
@@ -71448,12 +71650,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
71448
71650
|
});
|
|
71449
71651
|
|
|
71450
71652
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
71451
|
-
var
|
|
71653
|
+
var args95, tool$onboardingCreateInvite;
|
|
71452
71654
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
71453
71655
|
init_onboardingCreateInvite();
|
|
71454
71656
|
init_components();
|
|
71455
71657
|
init_tools();
|
|
71456
|
-
|
|
71658
|
+
args95 = {
|
|
71457
71659
|
request: OnboardingInviteRequest$inboundSchema
|
|
71458
71660
|
};
|
|
71459
71661
|
tool$onboardingCreateInvite = {
|
|
@@ -71462,9 +71664,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
71462
71664
|
|
|
71463
71665
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71464
71666
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
71465
|
-
args:
|
|
71466
|
-
tool: async (client,
|
|
71467
|
-
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();
|
|
71468
71670
|
if (!result.ok) {
|
|
71469
71671
|
return {
|
|
71470
71672
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71479,9 +71681,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
71479
71681
|
|
|
71480
71682
|
// src/funcs/onboardingGetInvite.ts
|
|
71481
71683
|
function onboardingGetInvite(client, request, options) {
|
|
71482
|
-
return new APIPromise($
|
|
71684
|
+
return new APIPromise($do96(client, request, options));
|
|
71483
71685
|
}
|
|
71484
|
-
async function $
|
|
71686
|
+
async function $do96(client, request, options) {
|
|
71485
71687
|
const parsed = safeParse(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71486
71688
|
if (!parsed.ok) {
|
|
71487
71689
|
return [parsed, { status: "invalid" }];
|
|
@@ -71559,12 +71761,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
71559
71761
|
});
|
|
71560
71762
|
|
|
71561
71763
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
71562
|
-
var
|
|
71764
|
+
var args96, tool$onboardingGetInvite;
|
|
71563
71765
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
71564
71766
|
init_onboardingGetInvite();
|
|
71565
71767
|
init_operations();
|
|
71566
71768
|
init_tools();
|
|
71567
|
-
|
|
71769
|
+
args96 = {
|
|
71568
71770
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
71569
71771
|
};
|
|
71570
71772
|
tool$onboardingGetInvite = {
|
|
@@ -71573,9 +71775,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
71573
71775
|
|
|
71574
71776
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71575
71777
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
71576
|
-
args:
|
|
71577
|
-
tool: async (client,
|
|
71578
|
-
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();
|
|
71579
71781
|
if (!result.ok) {
|
|
71580
71782
|
return {
|
|
71581
71783
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71590,9 +71792,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
71590
71792
|
|
|
71591
71793
|
// src/funcs/onboardingListInvites.ts
|
|
71592
71794
|
function onboardingListInvites(client, _request, options) {
|
|
71593
|
-
return new APIPromise($
|
|
71795
|
+
return new APIPromise($do97(client, _request, options));
|
|
71594
71796
|
}
|
|
71595
|
-
async function $
|
|
71797
|
+
async function $do97(client, _request, options) {
|
|
71596
71798
|
const path = pathToFunc("/onboarding-invites")();
|
|
71597
71799
|
const headers = new Headers(compactMap({
|
|
71598
71800
|
Accept: "application/json",
|
|
@@ -71656,12 +71858,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
71656
71858
|
});
|
|
71657
71859
|
|
|
71658
71860
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
71659
|
-
var
|
|
71861
|
+
var args97, tool$onboardingListInvites;
|
|
71660
71862
|
var init_onboardingListInvites2 = __esm(() => {
|
|
71661
71863
|
init_onboardingListInvites();
|
|
71662
71864
|
init_operations();
|
|
71663
71865
|
init_tools();
|
|
71664
|
-
|
|
71866
|
+
args97 = {
|
|
71665
71867
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
71666
71868
|
};
|
|
71667
71869
|
tool$onboardingListInvites = {
|
|
@@ -71670,9 +71872,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
71670
71872
|
|
|
71671
71873
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71672
71874
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
71673
|
-
args:
|
|
71674
|
-
tool: async (client,
|
|
71675
|
-
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();
|
|
71676
71878
|
if (!result.ok) {
|
|
71677
71879
|
return {
|
|
71678
71880
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71687,9 +71889,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
71687
71889
|
|
|
71688
71890
|
// src/funcs/onboardingRevokeInvite.ts
|
|
71689
71891
|
function onboardingRevokeInvite(client, request, options) {
|
|
71690
|
-
return new APIPromise($
|
|
71892
|
+
return new APIPromise($do98(client, request, options));
|
|
71691
71893
|
}
|
|
71692
|
-
async function $
|
|
71894
|
+
async function $do98(client, request, options) {
|
|
71693
71895
|
const parsed = safeParse(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71694
71896
|
if (!parsed.ok) {
|
|
71695
71897
|
return [parsed, { status: "invalid" }];
|
|
@@ -71764,12 +71966,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
71764
71966
|
});
|
|
71765
71967
|
|
|
71766
71968
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
71767
|
-
var
|
|
71969
|
+
var args98, tool$onboardingRevokeInvite;
|
|
71768
71970
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
71769
71971
|
init_onboardingRevokeInvite();
|
|
71770
71972
|
init_operations();
|
|
71771
71973
|
init_tools();
|
|
71772
|
-
|
|
71974
|
+
args98 = {
|
|
71773
71975
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
71774
71976
|
};
|
|
71775
71977
|
tool$onboardingRevokeInvite = {
|
|
@@ -71778,9 +71980,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
71778
71980
|
|
|
71779
71981
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71780
71982
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
71781
|
-
args:
|
|
71782
|
-
tool: async (client,
|
|
71783
|
-
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();
|
|
71784
71986
|
if (!result.ok) {
|
|
71785
71987
|
return {
|
|
71786
71988
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71794,9 +71996,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
71794
71996
|
|
|
71795
71997
|
// src/funcs/paymentLinksCreate.ts
|
|
71796
71998
|
function paymentLinksCreate(client, request, options) {
|
|
71797
|
-
return new APIPromise($
|
|
71999
|
+
return new APIPromise($do99(client, request, options));
|
|
71798
72000
|
}
|
|
71799
|
-
async function $
|
|
72001
|
+
async function $do99(client, request, options) {
|
|
71800
72002
|
const parsed = safeParse(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71801
72003
|
if (!parsed.ok) {
|
|
71802
72004
|
return [parsed, { status: "invalid" }];
|
|
@@ -71888,12 +72090,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
71888
72090
|
});
|
|
71889
72091
|
|
|
71890
72092
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
71891
|
-
var
|
|
72093
|
+
var args99, tool$paymentLinksCreate;
|
|
71892
72094
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
71893
72095
|
init_paymentLinksCreate();
|
|
71894
72096
|
init_operations();
|
|
71895
72097
|
init_tools();
|
|
71896
|
-
|
|
72098
|
+
args99 = {
|
|
71897
72099
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
71898
72100
|
};
|
|
71899
72101
|
tool$paymentLinksCreate = {
|
|
@@ -71902,9 +72104,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
71902
72104
|
|
|
71903
72105
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71904
72106
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
71905
|
-
args:
|
|
71906
|
-
tool: async (client,
|
|
71907
|
-
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();
|
|
71908
72110
|
if (!result.ok) {
|
|
71909
72111
|
return {
|
|
71910
72112
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71919,9 +72121,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
71919
72121
|
|
|
71920
72122
|
// src/funcs/paymentLinksDisable.ts
|
|
71921
72123
|
function paymentLinksDisable(client, request, options) {
|
|
71922
|
-
return new APIPromise($
|
|
72124
|
+
return new APIPromise($do100(client, request, options));
|
|
71923
72125
|
}
|
|
71924
|
-
async function $
|
|
72126
|
+
async function $do100(client, request, options) {
|
|
71925
72127
|
const parsed = safeParse(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71926
72128
|
if (!parsed.ok) {
|
|
71927
72129
|
return [parsed, { status: "invalid" }];
|
|
@@ -72002,12 +72204,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
72002
72204
|
});
|
|
72003
72205
|
|
|
72004
72206
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
72005
|
-
var
|
|
72207
|
+
var args100, tool$paymentLinksDisable;
|
|
72006
72208
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
72007
72209
|
init_paymentLinksDisable();
|
|
72008
72210
|
init_operations();
|
|
72009
72211
|
init_tools();
|
|
72010
|
-
|
|
72212
|
+
args100 = {
|
|
72011
72213
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
72012
72214
|
};
|
|
72013
72215
|
tool$paymentLinksDisable = {
|
|
@@ -72016,9 +72218,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
72016
72218
|
|
|
72017
72219
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72018
72220
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
72019
|
-
args:
|
|
72020
|
-
tool: async (client,
|
|
72021
|
-
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();
|
|
72022
72224
|
if (!result.ok) {
|
|
72023
72225
|
return {
|
|
72024
72226
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72032,9 +72234,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
72032
72234
|
|
|
72033
72235
|
// src/funcs/paymentLinksGet.ts
|
|
72034
72236
|
function paymentLinksGet(client, request, options) {
|
|
72035
|
-
return new APIPromise($
|
|
72237
|
+
return new APIPromise($do101(client, request, options));
|
|
72036
72238
|
}
|
|
72037
|
-
async function $
|
|
72239
|
+
async function $do101(client, request, options) {
|
|
72038
72240
|
const parsed = safeParse(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72039
72241
|
if (!parsed.ok) {
|
|
72040
72242
|
return [parsed, { status: "invalid" }];
|
|
@@ -72116,12 +72318,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
72116
72318
|
});
|
|
72117
72319
|
|
|
72118
72320
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
72119
|
-
var
|
|
72321
|
+
var args101, tool$paymentLinksGet;
|
|
72120
72322
|
var init_paymentLinksGet2 = __esm(() => {
|
|
72121
72323
|
init_paymentLinksGet();
|
|
72122
72324
|
init_operations();
|
|
72123
72325
|
init_tools();
|
|
72124
|
-
|
|
72326
|
+
args101 = {
|
|
72125
72327
|
request: GetPaymentLinkRequest$inboundSchema
|
|
72126
72328
|
};
|
|
72127
72329
|
tool$paymentLinksGet = {
|
|
@@ -72130,9 +72332,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
72130
72332
|
|
|
72131
72333
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72132
72334
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
72133
|
-
args:
|
|
72134
|
-
tool: async (client,
|
|
72135
|
-
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();
|
|
72136
72338
|
if (!result.ok) {
|
|
72137
72339
|
return {
|
|
72138
72340
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72147,9 +72349,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
72147
72349
|
|
|
72148
72350
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
72149
72351
|
function paymentLinksGetQRCode(client, request, options) {
|
|
72150
|
-
return new APIPromise($
|
|
72352
|
+
return new APIPromise($do102(client, request, options));
|
|
72151
72353
|
}
|
|
72152
|
-
async function $
|
|
72354
|
+
async function $do102(client, request, options) {
|
|
72153
72355
|
const parsed = safeParse(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72154
72356
|
if (!parsed.ok) {
|
|
72155
72357
|
return [parsed, { status: "invalid" }];
|
|
@@ -72235,12 +72437,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
72235
72437
|
});
|
|
72236
72438
|
|
|
72237
72439
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
72238
|
-
var
|
|
72440
|
+
var args102, tool$paymentLinksGetQRCode;
|
|
72239
72441
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
72240
72442
|
init_paymentLinksGetQRCode();
|
|
72241
72443
|
init_operations();
|
|
72242
72444
|
init_tools();
|
|
72243
|
-
|
|
72445
|
+
args102 = {
|
|
72244
72446
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
72245
72447
|
};
|
|
72246
72448
|
tool$paymentLinksGetQRCode = {
|
|
@@ -72251,9 +72453,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
72251
72453
|
|
|
72252
72454
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72253
72455
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
72254
|
-
args:
|
|
72255
|
-
tool: async (client,
|
|
72256
|
-
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();
|
|
72257
72459
|
if (!result.ok) {
|
|
72258
72460
|
return {
|
|
72259
72461
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72268,9 +72470,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
72268
72470
|
|
|
72269
72471
|
// src/funcs/paymentLinksList.ts
|
|
72270
72472
|
function paymentLinksList(client, request, options) {
|
|
72271
|
-
return new APIPromise($
|
|
72473
|
+
return new APIPromise($do103(client, request, options));
|
|
72272
72474
|
}
|
|
72273
|
-
async function $
|
|
72475
|
+
async function $do103(client, request, options) {
|
|
72274
72476
|
const parsed = safeParse(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72275
72477
|
if (!parsed.ok) {
|
|
72276
72478
|
return [parsed, { status: "invalid" }];
|
|
@@ -72355,12 +72557,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
72355
72557
|
});
|
|
72356
72558
|
|
|
72357
72559
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
72358
|
-
var
|
|
72560
|
+
var args103, tool$paymentLinksList;
|
|
72359
72561
|
var init_paymentLinksList2 = __esm(() => {
|
|
72360
72562
|
init_paymentLinksList();
|
|
72361
72563
|
init_operations();
|
|
72362
72564
|
init_tools();
|
|
72363
|
-
|
|
72565
|
+
args103 = {
|
|
72364
72566
|
request: ListPaymentLinksRequest$inboundSchema
|
|
72365
72567
|
};
|
|
72366
72568
|
tool$paymentLinksList = {
|
|
@@ -72369,9 +72571,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
72369
72571
|
|
|
72370
72572
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72371
72573
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
72372
|
-
args:
|
|
72373
|
-
tool: async (client,
|
|
72374
|
-
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();
|
|
72375
72577
|
if (!result.ok) {
|
|
72376
72578
|
return {
|
|
72377
72579
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72386,9 +72588,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
72386
72588
|
|
|
72387
72589
|
// src/funcs/paymentLinksUpdate.ts
|
|
72388
72590
|
function paymentLinksUpdate(client, request, options) {
|
|
72389
|
-
return new APIPromise($
|
|
72591
|
+
return new APIPromise($do104(client, request, options));
|
|
72390
72592
|
}
|
|
72391
|
-
async function $
|
|
72593
|
+
async function $do104(client, request, options) {
|
|
72392
72594
|
const parsed = safeParse(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72393
72595
|
if (!parsed.ok) {
|
|
72394
72596
|
return [parsed, { status: "invalid" }];
|
|
@@ -72484,12 +72686,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
72484
72686
|
});
|
|
72485
72687
|
|
|
72486
72688
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
72487
|
-
var
|
|
72689
|
+
var args104, tool$paymentLinksUpdate;
|
|
72488
72690
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
72489
72691
|
init_paymentLinksUpdate();
|
|
72490
72692
|
init_operations();
|
|
72491
72693
|
init_tools();
|
|
72492
|
-
|
|
72694
|
+
args104 = {
|
|
72493
72695
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
72494
72696
|
};
|
|
72495
72697
|
tool$paymentLinksUpdate = {
|
|
@@ -72498,9 +72700,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
72498
72700
|
|
|
72499
72701
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72500
72702
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
72501
|
-
args:
|
|
72502
|
-
tool: async (client,
|
|
72503
|
-
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();
|
|
72504
72706
|
if (!result.ok) {
|
|
72505
72707
|
return {
|
|
72506
72708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72515,9 +72717,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
72515
72717
|
|
|
72516
72718
|
// src/funcs/paymentMethodsGet.ts
|
|
72517
72719
|
function paymentMethodsGet(client, request, options) {
|
|
72518
|
-
return new APIPromise($
|
|
72720
|
+
return new APIPromise($do105(client, request, options));
|
|
72519
72721
|
}
|
|
72520
|
-
async function $
|
|
72722
|
+
async function $do105(client, request, options) {
|
|
72521
72723
|
const parsed = safeParse(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72522
72724
|
if (!parsed.ok) {
|
|
72523
72725
|
return [parsed, { status: "invalid" }];
|
|
@@ -72599,12 +72801,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
72599
72801
|
});
|
|
72600
72802
|
|
|
72601
72803
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
72602
|
-
var
|
|
72804
|
+
var args105, tool$paymentMethodsGet;
|
|
72603
72805
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
72604
72806
|
init_paymentMethodsGet();
|
|
72605
72807
|
init_operations();
|
|
72606
72808
|
init_tools();
|
|
72607
|
-
|
|
72809
|
+
args105 = {
|
|
72608
72810
|
request: GetPaymentMethodRequest$inboundSchema
|
|
72609
72811
|
};
|
|
72610
72812
|
tool$paymentMethodsGet = {
|
|
@@ -72613,9 +72815,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
72613
72815
|
|
|
72614
72816
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72615
72817
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
72616
|
-
args:
|
|
72617
|
-
tool: async (client,
|
|
72618
|
-
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();
|
|
72619
72821
|
if (!result.ok) {
|
|
72620
72822
|
return {
|
|
72621
72823
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72630,9 +72832,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
72630
72832
|
|
|
72631
72833
|
// src/funcs/paymentMethodsList.ts
|
|
72632
72834
|
function paymentMethodsList(client, request, options) {
|
|
72633
|
-
return new APIPromise($
|
|
72835
|
+
return new APIPromise($do106(client, request, options));
|
|
72634
72836
|
}
|
|
72635
|
-
async function $
|
|
72837
|
+
async function $do106(client, request, options) {
|
|
72636
72838
|
const parsed = safeParse(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72637
72839
|
if (!parsed.ok) {
|
|
72638
72840
|
return [parsed, { status: "invalid" }];
|
|
@@ -72715,12 +72917,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
72715
72917
|
});
|
|
72716
72918
|
|
|
72717
72919
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
72718
|
-
var
|
|
72920
|
+
var args106, tool$paymentMethodsList;
|
|
72719
72921
|
var init_paymentMethodsList2 = __esm(() => {
|
|
72720
72922
|
init_paymentMethodsList();
|
|
72721
72923
|
init_operations();
|
|
72722
72924
|
init_tools();
|
|
72723
|
-
|
|
72925
|
+
args106 = {
|
|
72724
72926
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
72725
72927
|
};
|
|
72726
72928
|
tool$paymentMethodsList = {
|
|
@@ -72730,9 +72932,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
72730
72932
|
|
|
72731
72933
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72732
72934
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
72733
|
-
args:
|
|
72734
|
-
tool: async (client,
|
|
72735
|
-
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();
|
|
72736
72938
|
if (!result.ok) {
|
|
72737
72939
|
return {
|
|
72738
72940
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72747,9 +72949,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
72747
72949
|
|
|
72748
72950
|
// src/funcs/pingPing.ts
|
|
72749
72951
|
function pingPing(client, _request, options) {
|
|
72750
|
-
return new APIPromise($
|
|
72952
|
+
return new APIPromise($do107(client, _request, options));
|
|
72751
72953
|
}
|
|
72752
|
-
async function $
|
|
72954
|
+
async function $do107(client, _request, options) {
|
|
72753
72955
|
const path = pathToFunc("/ping")();
|
|
72754
72956
|
const headers = new Headers(compactMap({
|
|
72755
72957
|
Accept: "*/*",
|
|
@@ -72812,12 +73014,12 @@ var init_pingPing = __esm(() => {
|
|
|
72812
73014
|
});
|
|
72813
73015
|
|
|
72814
73016
|
// src/mcp-server/tools/pingPing.ts
|
|
72815
|
-
var
|
|
73017
|
+
var args107, tool$pingPing;
|
|
72816
73018
|
var init_pingPing2 = __esm(() => {
|
|
72817
73019
|
init_pingPing();
|
|
72818
73020
|
init_operations();
|
|
72819
73021
|
init_tools();
|
|
72820
|
-
|
|
73022
|
+
args107 = {
|
|
72821
73023
|
request: PingRequest$inboundSchema
|
|
72822
73024
|
};
|
|
72823
73025
|
tool$pingPing = {
|
|
@@ -72826,9 +73028,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
72826
73028
|
|
|
72827
73029
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72828
73030
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
72829
|
-
args:
|
|
72830
|
-
tool: async (client,
|
|
72831
|
-
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();
|
|
72832
73034
|
if (!result.ok) {
|
|
72833
73035
|
return {
|
|
72834
73036
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72842,9 +73044,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
72842
73044
|
|
|
72843
73045
|
// src/funcs/productsCreate.ts
|
|
72844
73046
|
function productsCreate(client, request, options) {
|
|
72845
|
-
return new APIPromise($
|
|
73047
|
+
return new APIPromise($do108(client, request, options));
|
|
72846
73048
|
}
|
|
72847
|
-
async function $
|
|
73049
|
+
async function $do108(client, request, options) {
|
|
72848
73050
|
const parsed = safeParse(request, (value) => CreateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72849
73051
|
if (!parsed.ok) {
|
|
72850
73052
|
return [parsed, { status: "invalid" }];
|
|
@@ -72938,20 +73140,20 @@ var init_productsCreate = __esm(() => {
|
|
|
72938
73140
|
});
|
|
72939
73141
|
|
|
72940
73142
|
// src/mcp-server/tools/productsCreate.ts
|
|
72941
|
-
var
|
|
73143
|
+
var args108, tool$productsCreate;
|
|
72942
73144
|
var init_productsCreate2 = __esm(() => {
|
|
72943
73145
|
init_productsCreate();
|
|
72944
73146
|
init_operations();
|
|
72945
73147
|
init_tools();
|
|
72946
|
-
|
|
73148
|
+
args108 = {
|
|
72947
73149
|
request: CreateProductRequest$inboundSchema
|
|
72948
73150
|
};
|
|
72949
73151
|
tool$productsCreate = {
|
|
72950
73152
|
name: "products-create",
|
|
72951
73153
|
description: `Creates a new product for the specified account.`,
|
|
72952
|
-
args:
|
|
72953
|
-
tool: async (client,
|
|
72954
|
-
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();
|
|
72955
73157
|
if (!result.ok) {
|
|
72956
73158
|
return {
|
|
72957
73159
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72966,9 +73168,9 @@ var init_productsCreate2 = __esm(() => {
|
|
|
72966
73168
|
|
|
72967
73169
|
// src/funcs/productsDisable.ts
|
|
72968
73170
|
function productsDisable(client, request, options) {
|
|
72969
|
-
return new APIPromise($
|
|
73171
|
+
return new APIPromise($do109(client, request, options));
|
|
72970
73172
|
}
|
|
72971
|
-
async function $
|
|
73173
|
+
async function $do109(client, request, options) {
|
|
72972
73174
|
const parsed = safeParse(request, (value) => DisableProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72973
73175
|
if (!parsed.ok) {
|
|
72974
73176
|
return [parsed, { status: "invalid" }];
|
|
@@ -73061,12 +73263,12 @@ var init_productsDisable = __esm(() => {
|
|
|
73061
73263
|
});
|
|
73062
73264
|
|
|
73063
73265
|
// src/mcp-server/tools/productsDisable.ts
|
|
73064
|
-
var
|
|
73266
|
+
var args109, tool$productsDisable;
|
|
73065
73267
|
var init_productsDisable2 = __esm(() => {
|
|
73066
73268
|
init_productsDisable();
|
|
73067
73269
|
init_operations();
|
|
73068
73270
|
init_tools();
|
|
73069
|
-
|
|
73271
|
+
args109 = {
|
|
73070
73272
|
request: DisableProductRequest$inboundSchema
|
|
73071
73273
|
};
|
|
73072
73274
|
tool$productsDisable = {
|
|
@@ -73074,9 +73276,9 @@ var init_productsDisable2 = __esm(() => {
|
|
|
73074
73276
|
description: `Disable a product by ID.
|
|
73075
73277
|
|
|
73076
73278
|
The product will no longer be available, but will remain in the system for historical and reporting purposes.`,
|
|
73077
|
-
args:
|
|
73078
|
-
tool: async (client,
|
|
73079
|
-
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();
|
|
73080
73282
|
if (!result.ok) {
|
|
73081
73283
|
return {
|
|
73082
73284
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73090,9 +73292,9 @@ The product will no longer be available, but will remain in the system for histo
|
|
|
73090
73292
|
|
|
73091
73293
|
// src/funcs/productsGet.ts
|
|
73092
73294
|
function productsGet(client, request, options) {
|
|
73093
|
-
return new APIPromise($
|
|
73295
|
+
return new APIPromise($do110(client, request, options));
|
|
73094
73296
|
}
|
|
73095
|
-
async function $
|
|
73297
|
+
async function $do110(client, request, options) {
|
|
73096
73298
|
const parsed = safeParse(request, (value) => GetProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73097
73299
|
if (!parsed.ok) {
|
|
73098
73300
|
return [parsed, { status: "invalid" }];
|
|
@@ -73174,20 +73376,20 @@ var init_productsGet = __esm(() => {
|
|
|
73174
73376
|
});
|
|
73175
73377
|
|
|
73176
73378
|
// src/mcp-server/tools/productsGet.ts
|
|
73177
|
-
var
|
|
73379
|
+
var args110, tool$productsGet;
|
|
73178
73380
|
var init_productsGet2 = __esm(() => {
|
|
73179
73381
|
init_productsGet();
|
|
73180
73382
|
init_operations();
|
|
73181
73383
|
init_tools();
|
|
73182
|
-
|
|
73384
|
+
args110 = {
|
|
73183
73385
|
request: GetProductRequest$inboundSchema
|
|
73184
73386
|
};
|
|
73185
73387
|
tool$productsGet = {
|
|
73186
73388
|
name: "products-get",
|
|
73187
73389
|
description: `Retrieve a product by ID.`,
|
|
73188
|
-
args:
|
|
73189
|
-
tool: async (client,
|
|
73190
|
-
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();
|
|
73191
73393
|
if (!result.ok) {
|
|
73192
73394
|
return {
|
|
73193
73395
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73202,9 +73404,9 @@ var init_productsGet2 = __esm(() => {
|
|
|
73202
73404
|
|
|
73203
73405
|
// src/funcs/productsList.ts
|
|
73204
73406
|
function productsList(client, request, options) {
|
|
73205
|
-
return new APIPromise($
|
|
73407
|
+
return new APIPromise($do111(client, request, options));
|
|
73206
73408
|
}
|
|
73207
|
-
async function $
|
|
73409
|
+
async function $do111(client, request, options) {
|
|
73208
73410
|
const parsed = safeParse(request, (value) => ListProductsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73209
73411
|
if (!parsed.ok) {
|
|
73210
73412
|
return [parsed, { status: "invalid" }];
|
|
@@ -73287,20 +73489,20 @@ var init_productsList = __esm(() => {
|
|
|
73287
73489
|
});
|
|
73288
73490
|
|
|
73289
73491
|
// src/mcp-server/tools/productsList.ts
|
|
73290
|
-
var
|
|
73492
|
+
var args111, tool$productsList;
|
|
73291
73493
|
var init_productsList2 = __esm(() => {
|
|
73292
73494
|
init_productsList();
|
|
73293
73495
|
init_operations();
|
|
73294
73496
|
init_tools();
|
|
73295
|
-
|
|
73497
|
+
args111 = {
|
|
73296
73498
|
request: ListProductsRequest$inboundSchema
|
|
73297
73499
|
};
|
|
73298
73500
|
tool$productsList = {
|
|
73299
73501
|
name: "products-list",
|
|
73300
73502
|
description: `List active (non-disabled) products for an account.`,
|
|
73301
|
-
args:
|
|
73302
|
-
tool: async (client,
|
|
73303
|
-
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();
|
|
73304
73506
|
if (!result.ok) {
|
|
73305
73507
|
return {
|
|
73306
73508
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73315,9 +73517,9 @@ var init_productsList2 = __esm(() => {
|
|
|
73315
73517
|
|
|
73316
73518
|
// src/funcs/productsUpdate.ts
|
|
73317
73519
|
function productsUpdate(client, request, options) {
|
|
73318
|
-
return new APIPromise($
|
|
73520
|
+
return new APIPromise($do112(client, request, options));
|
|
73319
73521
|
}
|
|
73320
|
-
async function $
|
|
73522
|
+
async function $do112(client, request, options) {
|
|
73321
73523
|
const parsed = safeParse(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73322
73524
|
if (!parsed.ok) {
|
|
73323
73525
|
return [parsed, { status: "invalid" }];
|
|
@@ -73415,20 +73617,20 @@ var init_productsUpdate = __esm(() => {
|
|
|
73415
73617
|
});
|
|
73416
73618
|
|
|
73417
73619
|
// src/mcp-server/tools/productsUpdate.ts
|
|
73418
|
-
var
|
|
73620
|
+
var args112, tool$productsUpdate;
|
|
73419
73621
|
var init_productsUpdate2 = __esm(() => {
|
|
73420
73622
|
init_productsUpdate();
|
|
73421
73623
|
init_operations();
|
|
73422
73624
|
init_tools();
|
|
73423
|
-
|
|
73625
|
+
args112 = {
|
|
73424
73626
|
request: UpdateProductRequest$inboundSchema
|
|
73425
73627
|
};
|
|
73426
73628
|
tool$productsUpdate = {
|
|
73427
73629
|
name: "products-update",
|
|
73428
73630
|
description: `Update a product and its options.`,
|
|
73429
|
-
args:
|
|
73430
|
-
tool: async (client,
|
|
73431
|
-
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();
|
|
73432
73634
|
if (!result.ok) {
|
|
73433
73635
|
return {
|
|
73434
73636
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73443,9 +73645,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
73443
73645
|
|
|
73444
73646
|
// src/funcs/receiptsCreate.ts
|
|
73445
73647
|
function receiptsCreate(client, request, options) {
|
|
73446
|
-
return new APIPromise($
|
|
73648
|
+
return new APIPromise($do113(client, request, options));
|
|
73447
73649
|
}
|
|
73448
|
-
async function $
|
|
73650
|
+
async function $do113(client, request, options) {
|
|
73449
73651
|
const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
73450
73652
|
if (!parsed.ok) {
|
|
73451
73653
|
return [parsed, { status: "invalid" }];
|
|
@@ -73533,13 +73735,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
73533
73735
|
});
|
|
73534
73736
|
|
|
73535
73737
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
73536
|
-
var
|
|
73738
|
+
var args113, tool$receiptsCreate;
|
|
73537
73739
|
var init_receiptsCreate2 = __esm(() => {
|
|
73538
73740
|
init_esm();
|
|
73539
73741
|
init_receiptsCreate();
|
|
73540
73742
|
init_components();
|
|
73541
73743
|
init_tools();
|
|
73542
|
-
|
|
73744
|
+
args113 = {
|
|
73543
73745
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
73544
73746
|
};
|
|
73545
73747
|
tool$receiptsCreate = {
|
|
@@ -73548,9 +73750,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
73548
73750
|
|
|
73549
73751
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73550
73752
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73551
|
-
args:
|
|
73552
|
-
tool: async (client,
|
|
73553
|
-
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();
|
|
73554
73756
|
if (!result.ok) {
|
|
73555
73757
|
return {
|
|
73556
73758
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73565,9 +73767,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
73565
73767
|
|
|
73566
73768
|
// src/funcs/receiptsList.ts
|
|
73567
73769
|
function receiptsList(client, request, options) {
|
|
73568
|
-
return new APIPromise($
|
|
73770
|
+
return new APIPromise($do114(client, request, options));
|
|
73569
73771
|
}
|
|
73570
|
-
async function $
|
|
73772
|
+
async function $do114(client, request, options) {
|
|
73571
73773
|
const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73572
73774
|
if (!parsed.ok) {
|
|
73573
73775
|
return [parsed, { status: "invalid" }];
|
|
@@ -73643,12 +73845,12 @@ var init_receiptsList = __esm(() => {
|
|
|
73643
73845
|
});
|
|
73644
73846
|
|
|
73645
73847
|
// src/mcp-server/tools/receiptsList.ts
|
|
73646
|
-
var
|
|
73848
|
+
var args114, tool$receiptsList;
|
|
73647
73849
|
var init_receiptsList2 = __esm(() => {
|
|
73648
73850
|
init_receiptsList();
|
|
73649
73851
|
init_operations();
|
|
73650
73852
|
init_tools();
|
|
73651
|
-
|
|
73853
|
+
args114 = {
|
|
73652
73854
|
request: ListReceiptsRequest$inboundSchema
|
|
73653
73855
|
};
|
|
73654
73856
|
tool$receiptsList = {
|
|
@@ -73657,9 +73859,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
73657
73859
|
|
|
73658
73860
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73659
73861
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
73660
|
-
args:
|
|
73661
|
-
tool: async (client,
|
|
73662
|
-
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();
|
|
73663
73865
|
if (!result.ok) {
|
|
73664
73866
|
return {
|
|
73665
73867
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73674,9 +73876,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
73674
73876
|
|
|
73675
73877
|
// src/funcs/representativesCreate.ts
|
|
73676
73878
|
function representativesCreate(client, request, options) {
|
|
73677
|
-
return new APIPromise($
|
|
73879
|
+
return new APIPromise($do115(client, request, options));
|
|
73678
73880
|
}
|
|
73679
|
-
async function $
|
|
73881
|
+
async function $do115(client, request, options) {
|
|
73680
73882
|
const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73681
73883
|
if (!parsed.ok) {
|
|
73682
73884
|
return [parsed, { status: "invalid" }];
|
|
@@ -73772,12 +73974,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
73772
73974
|
});
|
|
73773
73975
|
|
|
73774
73976
|
// src/mcp-server/tools/representativesCreate.ts
|
|
73775
|
-
var
|
|
73977
|
+
var args115, tool$representativesCreate;
|
|
73776
73978
|
var init_representativesCreate2 = __esm(() => {
|
|
73777
73979
|
init_representativesCreate();
|
|
73778
73980
|
init_operations();
|
|
73779
73981
|
init_tools();
|
|
73780
|
-
|
|
73982
|
+
args115 = {
|
|
73781
73983
|
request: CreateRepresentativeRequest$inboundSchema
|
|
73782
73984
|
};
|
|
73783
73985
|
tool$representativesCreate = {
|
|
@@ -73788,9 +73990,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
73788
73990
|
|
|
73789
73991
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73790
73992
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
73791
|
-
args:
|
|
73792
|
-
tool: async (client,
|
|
73793
|
-
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();
|
|
73794
73996
|
if (!result.ok) {
|
|
73795
73997
|
return {
|
|
73796
73998
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73805,9 +74007,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
73805
74007
|
|
|
73806
74008
|
// src/funcs/representativesDelete.ts
|
|
73807
74009
|
function representativesDelete(client, request, options) {
|
|
73808
|
-
return new APIPromise($
|
|
74010
|
+
return new APIPromise($do116(client, request, options));
|
|
73809
74011
|
}
|
|
73810
|
-
async function $
|
|
74012
|
+
async function $do116(client, request, options) {
|
|
73811
74013
|
const parsed = safeParse(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73812
74014
|
if (!parsed.ok) {
|
|
73813
74015
|
return [parsed, { status: "invalid" }];
|
|
@@ -73895,12 +74097,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
73895
74097
|
});
|
|
73896
74098
|
|
|
73897
74099
|
// src/mcp-server/tools/representativesDelete.ts
|
|
73898
|
-
var
|
|
74100
|
+
var args116, tool$representativesDelete;
|
|
73899
74101
|
var init_representativesDelete2 = __esm(() => {
|
|
73900
74102
|
init_representativesDelete();
|
|
73901
74103
|
init_operations();
|
|
73902
74104
|
init_tools();
|
|
73903
|
-
|
|
74105
|
+
args116 = {
|
|
73904
74106
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
73905
74107
|
};
|
|
73906
74108
|
tool$representativesDelete = {
|
|
@@ -73909,9 +74111,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
73909
74111
|
|
|
73910
74112
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73911
74113
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
73912
|
-
args:
|
|
73913
|
-
tool: async (client,
|
|
73914
|
-
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();
|
|
73915
74117
|
if (!result.ok) {
|
|
73916
74118
|
return {
|
|
73917
74119
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73925,9 +74127,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
73925
74127
|
|
|
73926
74128
|
// src/funcs/representativesGet.ts
|
|
73927
74129
|
function representativesGet(client, request, options) {
|
|
73928
|
-
return new APIPromise($
|
|
74130
|
+
return new APIPromise($do117(client, request, options));
|
|
73929
74131
|
}
|
|
73930
|
-
async function $
|
|
74132
|
+
async function $do117(client, request, options) {
|
|
73931
74133
|
const parsed = safeParse(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73932
74134
|
if (!parsed.ok) {
|
|
73933
74135
|
return [parsed, { status: "invalid" }];
|
|
@@ -74006,12 +74208,12 @@ var init_representativesGet = __esm(() => {
|
|
|
74006
74208
|
});
|
|
74007
74209
|
|
|
74008
74210
|
// src/mcp-server/tools/representativesGet.ts
|
|
74009
|
-
var
|
|
74211
|
+
var args117, tool$representativesGet;
|
|
74010
74212
|
var init_representativesGet2 = __esm(() => {
|
|
74011
74213
|
init_representativesGet();
|
|
74012
74214
|
init_operations();
|
|
74013
74215
|
init_tools();
|
|
74014
|
-
|
|
74216
|
+
args117 = {
|
|
74015
74217
|
request: GetRepresentativeRequest$inboundSchema
|
|
74016
74218
|
};
|
|
74017
74219
|
tool$representativesGet = {
|
|
@@ -74020,9 +74222,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
74020
74222
|
|
|
74021
74223
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74022
74224
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
74023
|
-
args:
|
|
74024
|
-
tool: async (client,
|
|
74025
|
-
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();
|
|
74026
74228
|
if (!result.ok) {
|
|
74027
74229
|
return {
|
|
74028
74230
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74037,9 +74239,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
74037
74239
|
|
|
74038
74240
|
// src/funcs/representativesList.ts
|
|
74039
74241
|
function representativesList(client, request, options) {
|
|
74040
|
-
return new APIPromise($
|
|
74242
|
+
return new APIPromise($do118(client, request, options));
|
|
74041
74243
|
}
|
|
74042
|
-
async function $
|
|
74244
|
+
async function $do118(client, request, options) {
|
|
74043
74245
|
const parsed = safeParse(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74044
74246
|
if (!parsed.ok) {
|
|
74045
74247
|
return [parsed, { status: "invalid" }];
|
|
@@ -74117,12 +74319,12 @@ var init_representativesList = __esm(() => {
|
|
|
74117
74319
|
});
|
|
74118
74320
|
|
|
74119
74321
|
// src/mcp-server/tools/representativesList.ts
|
|
74120
|
-
var
|
|
74322
|
+
var args118, tool$representativesList;
|
|
74121
74323
|
var init_representativesList2 = __esm(() => {
|
|
74122
74324
|
init_representativesList();
|
|
74123
74325
|
init_operations();
|
|
74124
74326
|
init_tools();
|
|
74125
|
-
|
|
74327
|
+
args118 = {
|
|
74126
74328
|
request: ListRepresentativesRequest$inboundSchema
|
|
74127
74329
|
};
|
|
74128
74330
|
tool$representativesList = {
|
|
@@ -74134,9 +74336,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
74134
74336
|
|
|
74135
74337
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74136
74338
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
74137
|
-
args:
|
|
74138
|
-
tool: async (client,
|
|
74139
|
-
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();
|
|
74140
74342
|
if (!result.ok) {
|
|
74141
74343
|
return {
|
|
74142
74344
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74151,9 +74353,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
74151
74353
|
|
|
74152
74354
|
// src/funcs/representativesUpdate.ts
|
|
74153
74355
|
function representativesUpdate(client, request, options) {
|
|
74154
|
-
return new APIPromise($
|
|
74356
|
+
return new APIPromise($do119(client, request, options));
|
|
74155
74357
|
}
|
|
74156
|
-
async function $
|
|
74358
|
+
async function $do119(client, request, options) {
|
|
74157
74359
|
const parsed = safeParse(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74158
74360
|
if (!parsed.ok) {
|
|
74159
74361
|
return [parsed, { status: "invalid" }];
|
|
@@ -74247,12 +74449,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
74247
74449
|
});
|
|
74248
74450
|
|
|
74249
74451
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
74250
|
-
var
|
|
74452
|
+
var args119, tool$representativesUpdate;
|
|
74251
74453
|
var init_representativesUpdate2 = __esm(() => {
|
|
74252
74454
|
init_representativesUpdate();
|
|
74253
74455
|
init_operations();
|
|
74254
74456
|
init_tools();
|
|
74255
|
-
|
|
74457
|
+
args119 = {
|
|
74256
74458
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
74257
74459
|
};
|
|
74258
74460
|
tool$representativesUpdate = {
|
|
@@ -74274,9 +74476,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
74274
74476
|
|
|
74275
74477
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74276
74478
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
74277
|
-
args:
|
|
74278
|
-
tool: async (client,
|
|
74279
|
-
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();
|
|
74280
74482
|
if (!result.ok) {
|
|
74281
74483
|
return {
|
|
74282
74484
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74291,9 +74493,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
74291
74493
|
|
|
74292
74494
|
// src/funcs/schedulingCancel.ts
|
|
74293
74495
|
function schedulingCancel(client, request, options) {
|
|
74294
|
-
return new APIPromise($
|
|
74496
|
+
return new APIPromise($do120(client, request, options));
|
|
74295
74497
|
}
|
|
74296
|
-
async function $
|
|
74498
|
+
async function $do120(client, request, options) {
|
|
74297
74499
|
const parsed = safeParse(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74298
74500
|
if (!parsed.ok) {
|
|
74299
74501
|
return [parsed, { status: "invalid" }];
|
|
@@ -74386,12 +74588,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
74386
74588
|
});
|
|
74387
74589
|
|
|
74388
74590
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
74389
|
-
var
|
|
74591
|
+
var args120, tool$schedulingCancel;
|
|
74390
74592
|
var init_schedulingCancel2 = __esm(() => {
|
|
74391
74593
|
init_schedulingCancel();
|
|
74392
74594
|
init_operations();
|
|
74393
74595
|
init_tools();
|
|
74394
|
-
|
|
74596
|
+
args120 = {
|
|
74395
74597
|
request: CancelScheduleRequest$inboundSchema
|
|
74396
74598
|
};
|
|
74397
74599
|
tool$schedulingCancel = {
|
|
@@ -74400,9 +74602,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
74400
74602
|
|
|
74401
74603
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74402
74604
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74403
|
-
args:
|
|
74404
|
-
tool: async (client,
|
|
74405
|
-
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();
|
|
74406
74608
|
if (!result.ok) {
|
|
74407
74609
|
return {
|
|
74408
74610
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74416,9 +74618,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74416
74618
|
|
|
74417
74619
|
// src/funcs/schedulingCreate.ts
|
|
74418
74620
|
function schedulingCreate(client, request, options) {
|
|
74419
|
-
return new APIPromise($
|
|
74621
|
+
return new APIPromise($do121(client, request, options));
|
|
74420
74622
|
}
|
|
74421
|
-
async function $
|
|
74623
|
+
async function $do121(client, request, options) {
|
|
74422
74624
|
const parsed = safeParse(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74423
74625
|
if (!parsed.ok) {
|
|
74424
74626
|
return [parsed, { status: "invalid" }];
|
|
@@ -74512,12 +74714,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
74512
74714
|
});
|
|
74513
74715
|
|
|
74514
74716
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
74515
|
-
var
|
|
74717
|
+
var args121, tool$schedulingCreate;
|
|
74516
74718
|
var init_schedulingCreate2 = __esm(() => {
|
|
74517
74719
|
init_schedulingCreate();
|
|
74518
74720
|
init_operations();
|
|
74519
74721
|
init_tools();
|
|
74520
|
-
|
|
74722
|
+
args121 = {
|
|
74521
74723
|
request: CreateScheduleRequest$inboundSchema
|
|
74522
74724
|
};
|
|
74523
74725
|
tool$schedulingCreate = {
|
|
@@ -74526,9 +74728,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
74526
74728
|
|
|
74527
74729
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74528
74730
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74529
|
-
args:
|
|
74530
|
-
tool: async (client,
|
|
74531
|
-
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();
|
|
74532
74734
|
if (!result.ok) {
|
|
74533
74735
|
return {
|
|
74534
74736
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74543,9 +74745,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74543
74745
|
|
|
74544
74746
|
// src/funcs/schedulingGet.ts
|
|
74545
74747
|
function schedulingGet(client, request, options) {
|
|
74546
|
-
return new APIPromise($
|
|
74748
|
+
return new APIPromise($do122(client, request, options));
|
|
74547
74749
|
}
|
|
74548
|
-
async function $
|
|
74750
|
+
async function $do122(client, request, options) {
|
|
74549
74751
|
const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74550
74752
|
if (!parsed.ok) {
|
|
74551
74753
|
return [parsed, { status: "invalid" }];
|
|
@@ -74627,12 +74829,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
74627
74829
|
});
|
|
74628
74830
|
|
|
74629
74831
|
// src/mcp-server/tools/schedulingGet.ts
|
|
74630
|
-
var
|
|
74832
|
+
var args122, tool$schedulingGet;
|
|
74631
74833
|
var init_schedulingGet2 = __esm(() => {
|
|
74632
74834
|
init_schedulingGet();
|
|
74633
74835
|
init_operations();
|
|
74634
74836
|
init_tools();
|
|
74635
|
-
|
|
74837
|
+
args122 = {
|
|
74636
74838
|
request: GetSchedulesRequest$inboundSchema
|
|
74637
74839
|
};
|
|
74638
74840
|
tool$schedulingGet = {
|
|
@@ -74641,9 +74843,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
74641
74843
|
|
|
74642
74844
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74643
74845
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74644
|
-
args:
|
|
74645
|
-
tool: async (client,
|
|
74646
|
-
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();
|
|
74647
74849
|
if (!result.ok) {
|
|
74648
74850
|
return {
|
|
74649
74851
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74658,9 +74860,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74658
74860
|
|
|
74659
74861
|
// src/funcs/schedulingGetOccurrance.ts
|
|
74660
74862
|
function schedulingGetOccurrance(client, request, options) {
|
|
74661
|
-
return new APIPromise($
|
|
74863
|
+
return new APIPromise($do123(client, request, options));
|
|
74662
74864
|
}
|
|
74663
|
-
async function $
|
|
74865
|
+
async function $do123(client, request, options) {
|
|
74664
74866
|
const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74665
74867
|
if (!parsed.ok) {
|
|
74666
74868
|
return [parsed, { status: "invalid" }];
|
|
@@ -74743,12 +74945,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
74743
74945
|
});
|
|
74744
74946
|
|
|
74745
74947
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
74746
|
-
var
|
|
74948
|
+
var args123, tool$schedulingGetOccurrance;
|
|
74747
74949
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
74748
74950
|
init_schedulingGetOccurrance();
|
|
74749
74951
|
init_operations();
|
|
74750
74952
|
init_tools();
|
|
74751
|
-
|
|
74953
|
+
args123 = {
|
|
74752
74954
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
74753
74955
|
};
|
|
74754
74956
|
tool$schedulingGetOccurrance = {
|
|
@@ -74757,9 +74959,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
74757
74959
|
|
|
74758
74960
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74759
74961
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74760
|
-
args:
|
|
74761
|
-
tool: async (client,
|
|
74762
|
-
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();
|
|
74763
74965
|
if (!result.ok) {
|
|
74764
74966
|
return {
|
|
74765
74967
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74774,9 +74976,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74774
74976
|
|
|
74775
74977
|
// src/funcs/schedulingList.ts
|
|
74776
74978
|
function schedulingList(client, request, options) {
|
|
74777
|
-
return new APIPromise($
|
|
74979
|
+
return new APIPromise($do124(client, request, options));
|
|
74778
74980
|
}
|
|
74779
|
-
async function $
|
|
74981
|
+
async function $do124(client, request, options) {
|
|
74780
74982
|
const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74781
74983
|
if (!parsed.ok) {
|
|
74782
74984
|
return [parsed, { status: "invalid" }];
|
|
@@ -74860,12 +75062,12 @@ var init_schedulingList = __esm(() => {
|
|
|
74860
75062
|
});
|
|
74861
75063
|
|
|
74862
75064
|
// src/mcp-server/tools/schedulingList.ts
|
|
74863
|
-
var
|
|
75065
|
+
var args124, tool$schedulingList;
|
|
74864
75066
|
var init_schedulingList2 = __esm(() => {
|
|
74865
75067
|
init_schedulingList();
|
|
74866
75068
|
init_operations();
|
|
74867
75069
|
init_tools();
|
|
74868
|
-
|
|
75070
|
+
args124 = {
|
|
74869
75071
|
request: ListSchedulesRequest$inboundSchema
|
|
74870
75072
|
};
|
|
74871
75073
|
tool$schedulingList = {
|
|
@@ -74874,9 +75076,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
74874
75076
|
|
|
74875
75077
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74876
75078
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74877
|
-
args:
|
|
74878
|
-
tool: async (client,
|
|
74879
|
-
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();
|
|
74880
75082
|
if (!result.ok) {
|
|
74881
75083
|
return {
|
|
74882
75084
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74891,9 +75093,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74891
75093
|
|
|
74892
75094
|
// src/funcs/schedulingUpdate.ts
|
|
74893
75095
|
function schedulingUpdate(client, request, options) {
|
|
74894
|
-
return new APIPromise($
|
|
75096
|
+
return new APIPromise($do125(client, request, options));
|
|
74895
75097
|
}
|
|
74896
|
-
async function $
|
|
75098
|
+
async function $do125(client, request, options) {
|
|
74897
75099
|
const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74898
75100
|
if (!parsed.ok) {
|
|
74899
75101
|
return [parsed, { status: "invalid" }];
|
|
@@ -74991,12 +75193,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
74991
75193
|
});
|
|
74992
75194
|
|
|
74993
75195
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
74994
|
-
var
|
|
75196
|
+
var args125, tool$schedulingUpdate;
|
|
74995
75197
|
var init_schedulingUpdate2 = __esm(() => {
|
|
74996
75198
|
init_schedulingUpdate();
|
|
74997
75199
|
init_operations();
|
|
74998
75200
|
init_tools();
|
|
74999
|
-
|
|
75201
|
+
args125 = {
|
|
75000
75202
|
request: UpdateScheduleRequest$inboundSchema
|
|
75001
75203
|
};
|
|
75002
75204
|
tool$schedulingUpdate = {
|
|
@@ -75005,9 +75207,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
75005
75207
|
|
|
75006
75208
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75007
75209
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75008
|
-
args:
|
|
75009
|
-
tool: async (client,
|
|
75010
|
-
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();
|
|
75011
75213
|
if (!result.ok) {
|
|
75012
75214
|
return {
|
|
75013
75215
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75022,9 +75224,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75022
75224
|
|
|
75023
75225
|
// src/funcs/statementsGet.ts
|
|
75024
75226
|
function statementsGet(client, request, options) {
|
|
75025
|
-
return new APIPromise($
|
|
75227
|
+
return new APIPromise($do126(client, request, options));
|
|
75026
75228
|
}
|
|
75027
|
-
async function $
|
|
75229
|
+
async function $do126(client, request, options) {
|
|
75028
75230
|
const parsed = safeParse(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75029
75231
|
if (!parsed.ok) {
|
|
75030
75232
|
return [parsed, { status: "invalid" }];
|
|
@@ -75110,12 +75312,12 @@ var init_statementsGet = __esm(() => {
|
|
|
75110
75312
|
});
|
|
75111
75313
|
|
|
75112
75314
|
// src/mcp-server/tools/statementsGet.ts
|
|
75113
|
-
var
|
|
75315
|
+
var args126, tool$statementsGet;
|
|
75114
75316
|
var init_statementsGet2 = __esm(() => {
|
|
75115
75317
|
init_statementsGet();
|
|
75116
75318
|
init_operations();
|
|
75117
75319
|
init_tools();
|
|
75118
|
-
|
|
75320
|
+
args126 = {
|
|
75119
75321
|
request: GetStatementRequest$inboundSchema
|
|
75120
75322
|
};
|
|
75121
75323
|
tool$statementsGet = {
|
|
@@ -75126,9 +75328,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
75126
75328
|
|
|
75127
75329
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75128
75330
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
75129
|
-
args:
|
|
75130
|
-
tool: async (client,
|
|
75131
|
-
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();
|
|
75132
75334
|
if (!result.ok) {
|
|
75133
75335
|
return {
|
|
75134
75336
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75143,9 +75345,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
75143
75345
|
|
|
75144
75346
|
// src/funcs/statementsList.ts
|
|
75145
75347
|
function statementsList(client, request, options) {
|
|
75146
|
-
return new APIPromise($
|
|
75348
|
+
return new APIPromise($do127(client, request, options));
|
|
75147
75349
|
}
|
|
75148
|
-
async function $
|
|
75350
|
+
async function $do127(client, request, options) {
|
|
75149
75351
|
const parsed = safeParse(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75150
75352
|
if (!parsed.ok) {
|
|
75151
75353
|
return [parsed, { status: "invalid" }];
|
|
@@ -75231,12 +75433,12 @@ var init_statementsList = __esm(() => {
|
|
|
75231
75433
|
});
|
|
75232
75434
|
|
|
75233
75435
|
// src/mcp-server/tools/statementsList.ts
|
|
75234
|
-
var
|
|
75436
|
+
var args127, tool$statementsList;
|
|
75235
75437
|
var init_statementsList2 = __esm(() => {
|
|
75236
75438
|
init_statementsList();
|
|
75237
75439
|
init_operations();
|
|
75238
75440
|
init_tools();
|
|
75239
|
-
|
|
75441
|
+
args127 = {
|
|
75240
75442
|
request: ListStatementsRequest$inboundSchema
|
|
75241
75443
|
};
|
|
75242
75444
|
tool$statementsList = {
|
|
@@ -75245,9 +75447,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
75245
75447
|
|
|
75246
75448
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75247
75449
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
75248
|
-
args:
|
|
75249
|
-
tool: async (client,
|
|
75250
|
-
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();
|
|
75251
75453
|
if (!result.ok) {
|
|
75252
75454
|
return {
|
|
75253
75455
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75262,9 +75464,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
75262
75464
|
|
|
75263
75465
|
// src/funcs/supportCreateTicket.ts
|
|
75264
75466
|
function supportCreateTicket(client, request, options) {
|
|
75265
|
-
return new APIPromise($
|
|
75467
|
+
return new APIPromise($do128(client, request, options));
|
|
75266
75468
|
}
|
|
75267
|
-
async function $
|
|
75469
|
+
async function $do128(client, request, options) {
|
|
75268
75470
|
const parsed = safeParse(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75269
75471
|
if (!parsed.ok) {
|
|
75270
75472
|
return [parsed, { status: "invalid" }];
|
|
@@ -75356,12 +75558,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
75356
75558
|
});
|
|
75357
75559
|
|
|
75358
75560
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
75359
|
-
var
|
|
75561
|
+
var args128, tool$supportCreateTicket;
|
|
75360
75562
|
var init_supportCreateTicket2 = __esm(() => {
|
|
75361
75563
|
init_supportCreateTicket();
|
|
75362
75564
|
init_operations();
|
|
75363
75565
|
init_tools();
|
|
75364
|
-
|
|
75566
|
+
args128 = {
|
|
75365
75567
|
request: CreateTicketRequest$inboundSchema
|
|
75366
75568
|
};
|
|
75367
75569
|
tool$supportCreateTicket = {
|
|
@@ -75373,9 +75575,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
75373
75575
|
|
|
75374
75576
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
75375
75577
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
75376
|
-
args:
|
|
75377
|
-
tool: async (client,
|
|
75378
|
-
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();
|
|
75379
75581
|
if (!result.ok) {
|
|
75380
75582
|
return {
|
|
75381
75583
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75390,9 +75592,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
75390
75592
|
|
|
75391
75593
|
// src/funcs/supportGetTicket.ts
|
|
75392
75594
|
function supportGetTicket(client, request, options) {
|
|
75393
|
-
return new APIPromise($
|
|
75595
|
+
return new APIPromise($do129(client, request, options));
|
|
75394
75596
|
}
|
|
75395
|
-
async function $
|
|
75597
|
+
async function $do129(client, request, options) {
|
|
75396
75598
|
const parsed = safeParse(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75397
75599
|
if (!parsed.ok) {
|
|
75398
75600
|
return [parsed, { status: "invalid" }];
|
|
@@ -75474,12 +75676,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
75474
75676
|
});
|
|
75475
75677
|
|
|
75476
75678
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
75477
|
-
var
|
|
75679
|
+
var args129, tool$supportGetTicket;
|
|
75478
75680
|
var init_supportGetTicket2 = __esm(() => {
|
|
75479
75681
|
init_supportGetTicket();
|
|
75480
75682
|
init_operations();
|
|
75481
75683
|
init_tools();
|
|
75482
|
-
|
|
75684
|
+
args129 = {
|
|
75483
75685
|
request: GetTicketRequest$inboundSchema
|
|
75484
75686
|
};
|
|
75485
75687
|
tool$supportGetTicket = {
|
|
@@ -75491,9 +75693,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
75491
75693
|
|
|
75492
75694
|
If you're retrieving another account's ticket, then you'll need to
|
|
75493
75695
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
75494
|
-
args:
|
|
75495
|
-
tool: async (client,
|
|
75496
|
-
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();
|
|
75497
75699
|
if (!result.ok) {
|
|
75498
75700
|
return {
|
|
75499
75701
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75508,9 +75710,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
75508
75710
|
|
|
75509
75711
|
// src/funcs/supportListTicketMessages.ts
|
|
75510
75712
|
function supportListTicketMessages(client, request, options) {
|
|
75511
|
-
return new APIPromise($
|
|
75713
|
+
return new APIPromise($do130(client, request, options));
|
|
75512
75714
|
}
|
|
75513
|
-
async function $
|
|
75715
|
+
async function $do130(client, request, options) {
|
|
75514
75716
|
const parsed = safeParse(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75515
75717
|
if (!parsed.ok) {
|
|
75516
75718
|
return [parsed, { status: "invalid" }];
|
|
@@ -75592,12 +75794,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
75592
75794
|
});
|
|
75593
75795
|
|
|
75594
75796
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
75595
|
-
var
|
|
75797
|
+
var args130, tool$supportListTicketMessages;
|
|
75596
75798
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
75597
75799
|
init_supportListTicketMessages();
|
|
75598
75800
|
init_operations();
|
|
75599
75801
|
init_tools();
|
|
75600
|
-
|
|
75802
|
+
args130 = {
|
|
75601
75803
|
request: ListTicketMessagesRequest$inboundSchema
|
|
75602
75804
|
};
|
|
75603
75805
|
tool$supportListTicketMessages = {
|
|
@@ -75609,9 +75811,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
75609
75811
|
|
|
75610
75812
|
If you're listing another account's messages, then you'll need to
|
|
75611
75813
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
75612
|
-
args:
|
|
75613
|
-
tool: async (client,
|
|
75614
|
-
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();
|
|
75615
75817
|
if (!result.ok) {
|
|
75616
75818
|
return {
|
|
75617
75819
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75626,9 +75828,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
75626
75828
|
|
|
75627
75829
|
// src/funcs/supportListTickets.ts
|
|
75628
75830
|
function supportListTickets(client, request, options) {
|
|
75629
|
-
return new APIPromise($
|
|
75831
|
+
return new APIPromise($do131(client, request, options));
|
|
75630
75832
|
}
|
|
75631
|
-
async function $
|
|
75833
|
+
async function $do131(client, request, options) {
|
|
75632
75834
|
const parsed = safeParse(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75633
75835
|
if (!parsed.ok) {
|
|
75634
75836
|
return [parsed, { status: "invalid" }];
|
|
@@ -75713,12 +75915,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
75713
75915
|
});
|
|
75714
75916
|
|
|
75715
75917
|
// src/mcp-server/tools/supportListTickets.ts
|
|
75716
|
-
var
|
|
75918
|
+
var args131, tool$supportListTickets;
|
|
75717
75919
|
var init_supportListTickets2 = __esm(() => {
|
|
75718
75920
|
init_supportListTickets();
|
|
75719
75921
|
init_operations();
|
|
75720
75922
|
init_tools();
|
|
75721
|
-
|
|
75923
|
+
args131 = {
|
|
75722
75924
|
request: ListTicketsRequest$inboundSchema
|
|
75723
75925
|
};
|
|
75724
75926
|
tool$supportListTickets = {
|
|
@@ -75730,9 +75932,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
75730
75932
|
|
|
75731
75933
|
If you're listing another account's tickets, then you'll need to
|
|
75732
75934
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
75733
|
-
args:
|
|
75734
|
-
tool: async (client,
|
|
75735
|
-
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();
|
|
75736
75938
|
if (!result.ok) {
|
|
75737
75939
|
return {
|
|
75738
75940
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75747,9 +75949,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
75747
75949
|
|
|
75748
75950
|
// src/funcs/supportUpdateTicket.ts
|
|
75749
75951
|
function supportUpdateTicket(client, request, options) {
|
|
75750
|
-
return new APIPromise($
|
|
75952
|
+
return new APIPromise($do132(client, request, options));
|
|
75751
75953
|
}
|
|
75752
|
-
async function $
|
|
75954
|
+
async function $do132(client, request, options) {
|
|
75753
75955
|
const parsed = safeParse(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75754
75956
|
if (!parsed.ok) {
|
|
75755
75957
|
return [parsed, { status: "invalid" }];
|
|
@@ -75845,12 +76047,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
75845
76047
|
});
|
|
75846
76048
|
|
|
75847
76049
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
75848
|
-
var
|
|
76050
|
+
var args132, tool$supportUpdateTicket;
|
|
75849
76051
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
75850
76052
|
init_supportUpdateTicket();
|
|
75851
76053
|
init_operations();
|
|
75852
76054
|
init_tools();
|
|
75853
|
-
|
|
76055
|
+
args132 = {
|
|
75854
76056
|
request: UpdateTicketRequest$inboundSchema
|
|
75855
76057
|
};
|
|
75856
76058
|
tool$supportUpdateTicket = {
|
|
@@ -75862,9 +76064,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
75862
76064
|
|
|
75863
76065
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
75864
76066
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
75865
|
-
args:
|
|
75866
|
-
tool: async (client,
|
|
75867
|
-
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();
|
|
75868
76070
|
if (!result.ok) {
|
|
75869
76071
|
return {
|
|
75870
76072
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75879,9 +76081,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
75879
76081
|
|
|
75880
76082
|
// src/funcs/sweepsCreateConfig.ts
|
|
75881
76083
|
function sweepsCreateConfig(client, request, options) {
|
|
75882
|
-
return new APIPromise($
|
|
76084
|
+
return new APIPromise($do133(client, request, options));
|
|
75883
76085
|
}
|
|
75884
|
-
async function $
|
|
76086
|
+
async function $do133(client, request, options) {
|
|
75885
76087
|
const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75886
76088
|
if (!parsed.ok) {
|
|
75887
76089
|
return [parsed, { status: "invalid" }];
|
|
@@ -75973,12 +76175,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
75973
76175
|
});
|
|
75974
76176
|
|
|
75975
76177
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
75976
|
-
var
|
|
76178
|
+
var args133, tool$sweepsCreateConfig;
|
|
75977
76179
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
75978
76180
|
init_sweepsCreateConfig();
|
|
75979
76181
|
init_operations();
|
|
75980
76182
|
init_tools();
|
|
75981
|
-
|
|
76183
|
+
args133 = {
|
|
75982
76184
|
request: CreateSweepConfigRequest$inboundSchema
|
|
75983
76185
|
};
|
|
75984
76186
|
tool$sweepsCreateConfig = {
|
|
@@ -75987,9 +76189,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
75987
76189
|
|
|
75988
76190
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75989
76191
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
75990
|
-
args:
|
|
75991
|
-
tool: async (client,
|
|
75992
|
-
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();
|
|
75993
76195
|
if (!result.ok) {
|
|
75994
76196
|
return {
|
|
75995
76197
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76004,9 +76206,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
76004
76206
|
|
|
76005
76207
|
// src/funcs/sweepsGet.ts
|
|
76006
76208
|
function sweepsGet(client, request, options) {
|
|
76007
|
-
return new APIPromise($
|
|
76209
|
+
return new APIPromise($do134(client, request, options));
|
|
76008
76210
|
}
|
|
76009
|
-
async function $
|
|
76211
|
+
async function $do134(client, request, options) {
|
|
76010
76212
|
const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76011
76213
|
if (!parsed.ok) {
|
|
76012
76214
|
return [parsed, { status: "invalid" }];
|
|
@@ -76092,12 +76294,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
76092
76294
|
});
|
|
76093
76295
|
|
|
76094
76296
|
// src/mcp-server/tools/sweepsGet.ts
|
|
76095
|
-
var
|
|
76297
|
+
var args134, tool$sweepsGet;
|
|
76096
76298
|
var init_sweepsGet2 = __esm(() => {
|
|
76097
76299
|
init_sweepsGet();
|
|
76098
76300
|
init_operations();
|
|
76099
76301
|
init_tools();
|
|
76100
|
-
|
|
76302
|
+
args134 = {
|
|
76101
76303
|
request: GetSweepRequest$inboundSchema
|
|
76102
76304
|
};
|
|
76103
76305
|
tool$sweepsGet = {
|
|
@@ -76106,9 +76308,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
76106
76308
|
|
|
76107
76309
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76108
76310
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
76109
|
-
args:
|
|
76110
|
-
tool: async (client,
|
|
76111
|
-
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();
|
|
76112
76314
|
if (!result.ok) {
|
|
76113
76315
|
return {
|
|
76114
76316
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76123,9 +76325,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76123
76325
|
|
|
76124
76326
|
// src/funcs/sweepsGetConfig.ts
|
|
76125
76327
|
function sweepsGetConfig(client, request, options) {
|
|
76126
|
-
return new APIPromise($
|
|
76328
|
+
return new APIPromise($do135(client, request, options));
|
|
76127
76329
|
}
|
|
76128
|
-
async function $
|
|
76330
|
+
async function $do135(client, request, options) {
|
|
76129
76331
|
const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76130
76332
|
if (!parsed.ok) {
|
|
76131
76333
|
return [parsed, { status: "invalid" }];
|
|
@@ -76207,12 +76409,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
76207
76409
|
});
|
|
76208
76410
|
|
|
76209
76411
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
76210
|
-
var
|
|
76412
|
+
var args135, tool$sweepsGetConfig;
|
|
76211
76413
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
76212
76414
|
init_sweepsGetConfig();
|
|
76213
76415
|
init_operations();
|
|
76214
76416
|
init_tools();
|
|
76215
|
-
|
|
76417
|
+
args135 = {
|
|
76216
76418
|
request: GetSweepConfigRequest$inboundSchema
|
|
76217
76419
|
};
|
|
76218
76420
|
tool$sweepsGetConfig = {
|
|
@@ -76221,9 +76423,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
76221
76423
|
|
|
76222
76424
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76223
76425
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
76224
|
-
args:
|
|
76225
|
-
tool: async (client,
|
|
76226
|
-
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();
|
|
76227
76429
|
if (!result.ok) {
|
|
76228
76430
|
return {
|
|
76229
76431
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76238,9 +76440,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76238
76440
|
|
|
76239
76441
|
// src/funcs/sweepsList.ts
|
|
76240
76442
|
function sweepsList(client, request, options) {
|
|
76241
|
-
return new APIPromise($
|
|
76443
|
+
return new APIPromise($do136(client, request, options));
|
|
76242
76444
|
}
|
|
76243
|
-
async function $
|
|
76445
|
+
async function $do136(client, request, options) {
|
|
76244
76446
|
const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76245
76447
|
if (!parsed.ok) {
|
|
76246
76448
|
return [parsed, { status: "invalid" }];
|
|
@@ -76329,12 +76531,12 @@ var init_sweepsList = __esm(() => {
|
|
|
76329
76531
|
});
|
|
76330
76532
|
|
|
76331
76533
|
// src/mcp-server/tools/sweepsList.ts
|
|
76332
|
-
var
|
|
76534
|
+
var args136, tool$sweepsList;
|
|
76333
76535
|
var init_sweepsList2 = __esm(() => {
|
|
76334
76536
|
init_sweepsList();
|
|
76335
76537
|
init_operations();
|
|
76336
76538
|
init_tools();
|
|
76337
|
-
|
|
76539
|
+
args136 = {
|
|
76338
76540
|
request: ListSweepsRequest$inboundSchema
|
|
76339
76541
|
};
|
|
76340
76542
|
tool$sweepsList = {
|
|
@@ -76343,9 +76545,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
76343
76545
|
|
|
76344
76546
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76345
76547
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
76346
|
-
args:
|
|
76347
|
-
tool: async (client,
|
|
76348
|
-
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();
|
|
76349
76551
|
if (!result.ok) {
|
|
76350
76552
|
return {
|
|
76351
76553
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76360,9 +76562,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76360
76562
|
|
|
76361
76563
|
// src/funcs/sweepsListConfigs.ts
|
|
76362
76564
|
function sweepsListConfigs(client, request, options) {
|
|
76363
|
-
return new APIPromise($
|
|
76565
|
+
return new APIPromise($do137(client, request, options));
|
|
76364
76566
|
}
|
|
76365
|
-
async function $
|
|
76567
|
+
async function $do137(client, request, options) {
|
|
76366
76568
|
const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76367
76569
|
if (!parsed.ok) {
|
|
76368
76570
|
return [parsed, { status: "invalid" }];
|
|
@@ -76440,12 +76642,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
76440
76642
|
});
|
|
76441
76643
|
|
|
76442
76644
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
76443
|
-
var
|
|
76645
|
+
var args137, tool$sweepsListConfigs;
|
|
76444
76646
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
76445
76647
|
init_sweepsListConfigs();
|
|
76446
76648
|
init_operations();
|
|
76447
76649
|
init_tools();
|
|
76448
|
-
|
|
76650
|
+
args137 = {
|
|
76449
76651
|
request: ListSweepConfigsRequest$inboundSchema
|
|
76450
76652
|
};
|
|
76451
76653
|
tool$sweepsListConfigs = {
|
|
@@ -76454,9 +76656,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
76454
76656
|
|
|
76455
76657
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76456
76658
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
76457
|
-
args:
|
|
76458
|
-
tool: async (client,
|
|
76459
|
-
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();
|
|
76460
76662
|
if (!result.ok) {
|
|
76461
76663
|
return {
|
|
76462
76664
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76471,9 +76673,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76471
76673
|
|
|
76472
76674
|
// src/funcs/sweepsUpdateConfig.ts
|
|
76473
76675
|
function sweepsUpdateConfig(client, request, options) {
|
|
76474
|
-
return new APIPromise($
|
|
76676
|
+
return new APIPromise($do138(client, request, options));
|
|
76475
76677
|
}
|
|
76476
|
-
async function $
|
|
76678
|
+
async function $do138(client, request, options) {
|
|
76477
76679
|
const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76478
76680
|
if (!parsed.ok) {
|
|
76479
76681
|
return [parsed, { status: "invalid" }];
|
|
@@ -76569,12 +76771,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
76569
76771
|
});
|
|
76570
76772
|
|
|
76571
76773
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
76572
|
-
var
|
|
76774
|
+
var args138, tool$sweepsUpdateConfig;
|
|
76573
76775
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
76574
76776
|
init_sweepsUpdateConfig();
|
|
76575
76777
|
init_operations();
|
|
76576
76778
|
init_tools();
|
|
76577
|
-
|
|
76779
|
+
args138 = {
|
|
76578
76780
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
76579
76781
|
};
|
|
76580
76782
|
tool$sweepsUpdateConfig = {
|
|
@@ -76583,9 +76785,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
76583
76785
|
|
|
76584
76786
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76585
76787
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
76586
|
-
args:
|
|
76587
|
-
tool: async (client,
|
|
76588
|
-
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();
|
|
76589
76791
|
if (!result.ok) {
|
|
76590
76792
|
return {
|
|
76591
76793
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76600,9 +76802,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
76600
76802
|
|
|
76601
76803
|
// src/funcs/terminalApplicationsCreate.ts
|
|
76602
76804
|
function terminalApplicationsCreate(client, request, options) {
|
|
76603
|
-
return new APIPromise($
|
|
76805
|
+
return new APIPromise($do139(client, request, options));
|
|
76604
76806
|
}
|
|
76605
|
-
async function $
|
|
76807
|
+
async function $do139(client, request, options) {
|
|
76606
76808
|
const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
76607
76809
|
if (!parsed.ok) {
|
|
76608
76810
|
return [parsed, { status: "invalid" }];
|
|
@@ -76691,12 +76893,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
76691
76893
|
});
|
|
76692
76894
|
|
|
76693
76895
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
76694
|
-
var
|
|
76896
|
+
var args139, tool$terminalApplicationsCreate;
|
|
76695
76897
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
76696
76898
|
init_terminalApplicationsCreate();
|
|
76697
76899
|
init_components();
|
|
76698
76900
|
init_tools();
|
|
76699
|
-
|
|
76901
|
+
args139 = {
|
|
76700
76902
|
request: CreateTerminalApplication$inboundSchema
|
|
76701
76903
|
};
|
|
76702
76904
|
tool$terminalApplicationsCreate = {
|
|
@@ -76705,9 +76907,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
76705
76907
|
|
|
76706
76908
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76707
76909
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
76708
|
-
args:
|
|
76709
|
-
tool: async (client,
|
|
76710
|
-
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();
|
|
76711
76913
|
if (!result.ok) {
|
|
76712
76914
|
return {
|
|
76713
76915
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76722,9 +76924,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
76722
76924
|
|
|
76723
76925
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
76724
76926
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
76725
|
-
return new APIPromise($
|
|
76927
|
+
return new APIPromise($do140(client, request, options));
|
|
76726
76928
|
}
|
|
76727
|
-
async function $
|
|
76929
|
+
async function $do140(client, request, options) {
|
|
76728
76930
|
const parsed = safeParse(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76729
76931
|
if (!parsed.ok) {
|
|
76730
76932
|
return [parsed, { status: "invalid" }];
|
|
@@ -76814,12 +77016,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
76814
77016
|
});
|
|
76815
77017
|
|
|
76816
77018
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
76817
|
-
var
|
|
77019
|
+
var args140, tool$terminalApplicationsCreateVersion;
|
|
76818
77020
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
76819
77021
|
init_terminalApplicationsCreateVersion();
|
|
76820
77022
|
init_operations();
|
|
76821
77023
|
init_tools();
|
|
76822
|
-
|
|
77024
|
+
args140 = {
|
|
76823
77025
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
76824
77026
|
};
|
|
76825
77027
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -76828,9 +77030,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
76828
77030
|
|
|
76829
77031
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76830
77032
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
76831
|
-
args:
|
|
76832
|
-
tool: async (client,
|
|
76833
|
-
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();
|
|
76834
77036
|
if (!result.ok) {
|
|
76835
77037
|
return {
|
|
76836
77038
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76845,9 +77047,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
76845
77047
|
|
|
76846
77048
|
// src/funcs/terminalApplicationsDelete.ts
|
|
76847
77049
|
function terminalApplicationsDelete(client, request, options) {
|
|
76848
|
-
return new APIPromise($
|
|
77050
|
+
return new APIPromise($do141(client, request, options));
|
|
76849
77051
|
}
|
|
76850
|
-
async function $
|
|
77052
|
+
async function $do141(client, request, options) {
|
|
76851
77053
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76852
77054
|
if (!parsed.ok) {
|
|
76853
77055
|
return [parsed, { status: "invalid" }];
|
|
@@ -76931,12 +77133,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
76931
77133
|
});
|
|
76932
77134
|
|
|
76933
77135
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
76934
|
-
var
|
|
77136
|
+
var args141, tool$terminalApplicationsDelete;
|
|
76935
77137
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
76936
77138
|
init_terminalApplicationsDelete();
|
|
76937
77139
|
init_operations();
|
|
76938
77140
|
init_tools();
|
|
76939
|
-
|
|
77141
|
+
args141 = {
|
|
76940
77142
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
76941
77143
|
};
|
|
76942
77144
|
tool$terminalApplicationsDelete = {
|
|
@@ -76945,9 +77147,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
76945
77147
|
|
|
76946
77148
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76947
77149
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
76948
|
-
args:
|
|
76949
|
-
tool: async (client,
|
|
76950
|
-
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();
|
|
76951
77153
|
if (!result.ok) {
|
|
76952
77154
|
return {
|
|
76953
77155
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76961,9 +77163,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
76961
77163
|
|
|
76962
77164
|
// src/funcs/terminalApplicationsGet.ts
|
|
76963
77165
|
function terminalApplicationsGet(client, request, options) {
|
|
76964
|
-
return new APIPromise($
|
|
77166
|
+
return new APIPromise($do142(client, request, options));
|
|
76965
77167
|
}
|
|
76966
|
-
async function $
|
|
77168
|
+
async function $do142(client, request, options) {
|
|
76967
77169
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76968
77170
|
if (!parsed.ok) {
|
|
76969
77171
|
return [parsed, { status: "invalid" }];
|
|
@@ -77038,12 +77240,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
77038
77240
|
});
|
|
77039
77241
|
|
|
77040
77242
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
77041
|
-
var
|
|
77243
|
+
var args142, tool$terminalApplicationsGet;
|
|
77042
77244
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
77043
77245
|
init_terminalApplicationsGet();
|
|
77044
77246
|
init_operations();
|
|
77045
77247
|
init_tools();
|
|
77046
|
-
|
|
77248
|
+
args142 = {
|
|
77047
77249
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
77048
77250
|
};
|
|
77049
77251
|
tool$terminalApplicationsGet = {
|
|
@@ -77052,9 +77254,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
77052
77254
|
|
|
77053
77255
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77054
77256
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
77055
|
-
args:
|
|
77056
|
-
tool: async (client,
|
|
77057
|
-
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();
|
|
77058
77260
|
if (!result.ok) {
|
|
77059
77261
|
return {
|
|
77060
77262
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77069,9 +77271,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
77069
77271
|
|
|
77070
77272
|
// src/funcs/terminalApplicationsList.ts
|
|
77071
77273
|
function terminalApplicationsList(client, _request, options) {
|
|
77072
|
-
return new APIPromise($
|
|
77274
|
+
return new APIPromise($do143(client, _request, options));
|
|
77073
77275
|
}
|
|
77074
|
-
async function $
|
|
77276
|
+
async function $do143(client, _request, options) {
|
|
77075
77277
|
const path = pathToFunc("/terminal-applications")();
|
|
77076
77278
|
const headers = new Headers(compactMap({
|
|
77077
77279
|
Accept: "application/json",
|
|
@@ -77135,12 +77337,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
77135
77337
|
});
|
|
77136
77338
|
|
|
77137
77339
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
77138
|
-
var
|
|
77340
|
+
var args143, tool$terminalApplicationsList;
|
|
77139
77341
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
77140
77342
|
init_terminalApplicationsList();
|
|
77141
77343
|
init_operations();
|
|
77142
77344
|
init_tools();
|
|
77143
|
-
|
|
77345
|
+
args143 = {
|
|
77144
77346
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
77145
77347
|
};
|
|
77146
77348
|
tool$terminalApplicationsList = {
|
|
@@ -77149,9 +77351,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
77149
77351
|
|
|
77150
77352
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77151
77353
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
77152
|
-
args:
|
|
77153
|
-
tool: async (client,
|
|
77154
|
-
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();
|
|
77155
77357
|
if (!result.ok) {
|
|
77156
77358
|
return {
|
|
77157
77359
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77166,9 +77368,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
77166
77368
|
|
|
77167
77369
|
// src/funcs/transfersCreate.ts
|
|
77168
77370
|
function transfersCreate(client, request, options) {
|
|
77169
|
-
return new APIPromise($
|
|
77371
|
+
return new APIPromise($do144(client, request, options));
|
|
77170
77372
|
}
|
|
77171
|
-
async function $
|
|
77373
|
+
async function $do144(client, request, options) {
|
|
77172
77374
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77173
77375
|
if (!parsed.ok) {
|
|
77174
77376
|
return [parsed, { status: "invalid" }];
|
|
@@ -77261,12 +77463,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
77261
77463
|
});
|
|
77262
77464
|
|
|
77263
77465
|
// src/mcp-server/tools/transfersCreate.ts
|
|
77264
|
-
var
|
|
77466
|
+
var args144, tool$transfersCreate;
|
|
77265
77467
|
var init_transfersCreate2 = __esm(() => {
|
|
77266
77468
|
init_transfersCreate();
|
|
77267
77469
|
init_operations();
|
|
77268
77470
|
init_tools();
|
|
77269
|
-
|
|
77471
|
+
args144 = {
|
|
77270
77472
|
request: CreateTransferRequest$inboundSchema
|
|
77271
77473
|
};
|
|
77272
77474
|
tool$transfersCreate = {
|
|
@@ -77277,9 +77479,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
77277
77479
|
|
|
77278
77480
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77279
77481
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77280
|
-
args:
|
|
77281
|
-
tool: async (client,
|
|
77282
|
-
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();
|
|
77283
77485
|
if (!result.ok) {
|
|
77284
77486
|
return {
|
|
77285
77487
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77294,9 +77496,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77294
77496
|
|
|
77295
77497
|
// src/funcs/transfersCreateCancellation.ts
|
|
77296
77498
|
function transfersCreateCancellation(client, request, options) {
|
|
77297
|
-
return new APIPromise($
|
|
77499
|
+
return new APIPromise($do145(client, request, options));
|
|
77298
77500
|
}
|
|
77299
|
-
async function $
|
|
77501
|
+
async function $do145(client, request, options) {
|
|
77300
77502
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77301
77503
|
if (!parsed.ok) {
|
|
77302
77504
|
return [parsed, { status: "invalid" }];
|
|
@@ -77379,12 +77581,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
77379
77581
|
});
|
|
77380
77582
|
|
|
77381
77583
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
77382
|
-
var
|
|
77584
|
+
var args145, tool$transfersCreateCancellation;
|
|
77383
77585
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
77384
77586
|
init_transfersCreateCancellation();
|
|
77385
77587
|
init_operations();
|
|
77386
77588
|
init_tools();
|
|
77387
|
-
|
|
77589
|
+
args145 = {
|
|
77388
77590
|
request: CreateCancellationRequest$inboundSchema
|
|
77389
77591
|
};
|
|
77390
77592
|
tool$transfersCreateCancellation = {
|
|
@@ -77393,9 +77595,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
77393
77595
|
|
|
77394
77596
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
77395
77597
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77396
|
-
args:
|
|
77397
|
-
tool: async (client,
|
|
77398
|
-
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();
|
|
77399
77601
|
if (!result.ok) {
|
|
77400
77602
|
return {
|
|
77401
77603
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77410,9 +77612,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
77410
77612
|
|
|
77411
77613
|
// src/funcs/transfersCreateReversal.ts
|
|
77412
77614
|
function transfersCreateReversal(client, request, options) {
|
|
77413
|
-
return new APIPromise($
|
|
77615
|
+
return new APIPromise($do146(client, request, options));
|
|
77414
77616
|
}
|
|
77415
|
-
async function $
|
|
77617
|
+
async function $do146(client, request, options) {
|
|
77416
77618
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77417
77619
|
if (!parsed.ok) {
|
|
77418
77620
|
return [parsed, { status: "invalid" }];
|
|
@@ -77511,12 +77713,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
77511
77713
|
});
|
|
77512
77714
|
|
|
77513
77715
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
77514
|
-
var
|
|
77716
|
+
var args146, tool$transfersCreateReversal;
|
|
77515
77717
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
77516
77718
|
init_transfersCreateReversal();
|
|
77517
77719
|
init_operations();
|
|
77518
77720
|
init_tools();
|
|
77519
|
-
|
|
77721
|
+
args146 = {
|
|
77520
77722
|
request: CreateReversalRequest$inboundSchema
|
|
77521
77723
|
};
|
|
77522
77724
|
tool$transfersCreateReversal = {
|
|
@@ -77527,9 +77729,9 @@ to learn more.
|
|
|
77527
77729
|
|
|
77528
77730
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
77529
77731
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77530
|
-
args:
|
|
77531
|
-
tool: async (client,
|
|
77532
|
-
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();
|
|
77533
77735
|
if (!result.ok) {
|
|
77534
77736
|
return {
|
|
77535
77737
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77544,9 +77746,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77544
77746
|
|
|
77545
77747
|
// src/funcs/transfersGenerateOptions.ts
|
|
77546
77748
|
function transfersGenerateOptions(client, request, options) {
|
|
77547
|
-
return new APIPromise($
|
|
77749
|
+
return new APIPromise($do147(client, request, options));
|
|
77548
77750
|
}
|
|
77549
|
-
async function $
|
|
77751
|
+
async function $do147(client, request, options) {
|
|
77550
77752
|
const parsed = safeParse(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77551
77753
|
if (!parsed.ok) {
|
|
77552
77754
|
return [parsed, { status: "invalid" }];
|
|
@@ -77630,12 +77832,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
77630
77832
|
});
|
|
77631
77833
|
|
|
77632
77834
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
77633
|
-
var
|
|
77835
|
+
var args147, tool$transfersGenerateOptions;
|
|
77634
77836
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
77635
77837
|
init_transfersGenerateOptions();
|
|
77636
77838
|
init_operations();
|
|
77637
77839
|
init_tools();
|
|
77638
|
-
|
|
77840
|
+
args147 = {
|
|
77639
77841
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
77640
77842
|
};
|
|
77641
77843
|
tool$transfersGenerateOptions = {
|
|
@@ -77649,9 +77851,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
77649
77851
|
|
|
77650
77852
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77651
77853
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77652
|
-
args:
|
|
77653
|
-
tool: async (client,
|
|
77654
|
-
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();
|
|
77655
77857
|
if (!result.ok) {
|
|
77656
77858
|
return {
|
|
77657
77859
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77666,9 +77868,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77666
77868
|
|
|
77667
77869
|
// src/funcs/transfersGet.ts
|
|
77668
77870
|
function transfersGet(client, request, options) {
|
|
77669
|
-
return new APIPromise($
|
|
77871
|
+
return new APIPromise($do148(client, request, options));
|
|
77670
77872
|
}
|
|
77671
|
-
async function $
|
|
77873
|
+
async function $do148(client, request, options) {
|
|
77672
77874
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77673
77875
|
if (!parsed.ok) {
|
|
77674
77876
|
return [parsed, { status: "invalid" }];
|
|
@@ -77750,12 +77952,12 @@ var init_transfersGet = __esm(() => {
|
|
|
77750
77952
|
});
|
|
77751
77953
|
|
|
77752
77954
|
// src/mcp-server/tools/transfersGet.ts
|
|
77753
|
-
var
|
|
77955
|
+
var args148, tool$transfersGet;
|
|
77754
77956
|
var init_transfersGet2 = __esm(() => {
|
|
77755
77957
|
init_transfersGet();
|
|
77756
77958
|
init_operations();
|
|
77757
77959
|
init_tools();
|
|
77758
|
-
|
|
77960
|
+
args148 = {
|
|
77759
77961
|
request: GetTransferRequest$inboundSchema
|
|
77760
77962
|
};
|
|
77761
77963
|
tool$transfersGet = {
|
|
@@ -77767,9 +77969,9 @@ to learn more.
|
|
|
77767
77969
|
|
|
77768
77970
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77769
77971
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77770
|
-
args:
|
|
77771
|
-
tool: async (client,
|
|
77772
|
-
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();
|
|
77773
77975
|
if (!result.ok) {
|
|
77774
77976
|
return {
|
|
77775
77977
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77784,9 +77986,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
77784
77986
|
|
|
77785
77987
|
// src/funcs/transfersGetCancellation.ts
|
|
77786
77988
|
function transfersGetCancellation(client, request, options) {
|
|
77787
|
-
return new APIPromise($
|
|
77989
|
+
return new APIPromise($do149(client, request, options));
|
|
77788
77990
|
}
|
|
77789
|
-
async function $
|
|
77991
|
+
async function $do149(client, request, options) {
|
|
77790
77992
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77791
77993
|
if (!parsed.ok) {
|
|
77792
77994
|
return [parsed, { status: "invalid" }];
|
|
@@ -77872,12 +78074,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
77872
78074
|
});
|
|
77873
78075
|
|
|
77874
78076
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
77875
|
-
var
|
|
78077
|
+
var args149, tool$transfersGetCancellation;
|
|
77876
78078
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
77877
78079
|
init_transfersGetCancellation();
|
|
77878
78080
|
init_operations();
|
|
77879
78081
|
init_tools();
|
|
77880
|
-
|
|
78082
|
+
args149 = {
|
|
77881
78083
|
request: GetCancellationRequest$inboundSchema
|
|
77882
78084
|
};
|
|
77883
78085
|
tool$transfersGetCancellation = {
|
|
@@ -77886,9 +78088,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
77886
78088
|
|
|
77887
78089
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
77888
78090
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77889
|
-
args:
|
|
77890
|
-
tool: async (client,
|
|
77891
|
-
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();
|
|
77892
78094
|
if (!result.ok) {
|
|
77893
78095
|
return {
|
|
77894
78096
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77903,9 +78105,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
77903
78105
|
|
|
77904
78106
|
// src/funcs/transfersGetRefund.ts
|
|
77905
78107
|
function transfersGetRefund(client, request, options) {
|
|
77906
|
-
return new APIPromise($
|
|
78108
|
+
return new APIPromise($do150(client, request, options));
|
|
77907
78109
|
}
|
|
77908
|
-
async function $
|
|
78110
|
+
async function $do150(client, request, options) {
|
|
77909
78111
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77910
78112
|
if (!parsed.ok) {
|
|
77911
78113
|
return [parsed, { status: "invalid" }];
|
|
@@ -77991,12 +78193,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
77991
78193
|
});
|
|
77992
78194
|
|
|
77993
78195
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
77994
|
-
var
|
|
78196
|
+
var args150, tool$transfersGetRefund;
|
|
77995
78197
|
var init_transfersGetRefund2 = __esm(() => {
|
|
77996
78198
|
init_transfersGetRefund();
|
|
77997
78199
|
init_operations();
|
|
77998
78200
|
init_tools();
|
|
77999
|
-
|
|
78201
|
+
args150 = {
|
|
78000
78202
|
request: GetRefundRequest$inboundSchema
|
|
78001
78203
|
};
|
|
78002
78204
|
tool$transfersGetRefund = {
|
|
@@ -78005,9 +78207,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
78005
78207
|
|
|
78006
78208
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78007
78209
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78008
|
-
args:
|
|
78009
|
-
tool: async (client,
|
|
78010
|
-
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();
|
|
78011
78213
|
if (!result.ok) {
|
|
78012
78214
|
return {
|
|
78013
78215
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78022,9 +78224,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78022
78224
|
|
|
78023
78225
|
// src/funcs/transfersInitiateRefund.ts
|
|
78024
78226
|
function transfersInitiateRefund(client, request, options) {
|
|
78025
|
-
return new APIPromise($
|
|
78227
|
+
return new APIPromise($do151(client, request, options));
|
|
78026
78228
|
}
|
|
78027
|
-
async function $
|
|
78229
|
+
async function $do151(client, request, options) {
|
|
78028
78230
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78029
78231
|
if (!parsed.ok) {
|
|
78030
78232
|
return [parsed, { status: "invalid" }];
|
|
@@ -78116,12 +78318,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
78116
78318
|
});
|
|
78117
78319
|
|
|
78118
78320
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
78119
|
-
var
|
|
78321
|
+
var args151, tool$transfersInitiateRefund;
|
|
78120
78322
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
78121
78323
|
init_transfersInitiateRefund();
|
|
78122
78324
|
init_operations();
|
|
78123
78325
|
init_tools();
|
|
78124
|
-
|
|
78326
|
+
args151 = {
|
|
78125
78327
|
request: InitiateRefundRequest$inboundSchema
|
|
78126
78328
|
};
|
|
78127
78329
|
tool$transfersInitiateRefund = {
|
|
@@ -78133,9 +78335,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
78133
78335
|
|
|
78134
78336
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78135
78337
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
78136
|
-
args:
|
|
78137
|
-
tool: async (client,
|
|
78138
|
-
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();
|
|
78139
78341
|
if (!result.ok) {
|
|
78140
78342
|
return {
|
|
78141
78343
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78150,9 +78352,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
78150
78352
|
|
|
78151
78353
|
// src/funcs/transfersList.ts
|
|
78152
78354
|
function transfersList(client, request, options) {
|
|
78153
|
-
return new APIPromise($
|
|
78355
|
+
return new APIPromise($do152(client, request, options));
|
|
78154
78356
|
}
|
|
78155
|
-
async function $
|
|
78357
|
+
async function $do152(client, request, options) {
|
|
78156
78358
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78157
78359
|
if (!parsed.ok) {
|
|
78158
78360
|
return [parsed, { status: "invalid" }];
|
|
@@ -78248,12 +78450,12 @@ var init_transfersList = __esm(() => {
|
|
|
78248
78450
|
});
|
|
78249
78451
|
|
|
78250
78452
|
// src/mcp-server/tools/transfersList.ts
|
|
78251
|
-
var
|
|
78453
|
+
var args152, tool$transfersList;
|
|
78252
78454
|
var init_transfersList2 = __esm(() => {
|
|
78253
78455
|
init_transfersList();
|
|
78254
78456
|
init_operations();
|
|
78255
78457
|
init_tools();
|
|
78256
|
-
|
|
78458
|
+
args152 = {
|
|
78257
78459
|
request: ListTransfersRequest$inboundSchema
|
|
78258
78460
|
};
|
|
78259
78461
|
tool$transfersList = {
|
|
@@ -78269,9 +78471,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
78269
78471
|
|
|
78270
78472
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78271
78473
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78272
|
-
args:
|
|
78273
|
-
tool: async (client,
|
|
78274
|
-
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();
|
|
78275
78477
|
if (!result.ok) {
|
|
78276
78478
|
return {
|
|
78277
78479
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78286,9 +78488,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78286
78488
|
|
|
78287
78489
|
// src/funcs/transfersListRefunds.ts
|
|
78288
78490
|
function transfersListRefunds(client, request, options) {
|
|
78289
|
-
return new APIPromise($
|
|
78491
|
+
return new APIPromise($do153(client, request, options));
|
|
78290
78492
|
}
|
|
78291
|
-
async function $
|
|
78493
|
+
async function $do153(client, request, options) {
|
|
78292
78494
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78293
78495
|
if (!parsed.ok) {
|
|
78294
78496
|
return [parsed, { status: "invalid" }];
|
|
@@ -78370,12 +78572,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
78370
78572
|
});
|
|
78371
78573
|
|
|
78372
78574
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
78373
|
-
var
|
|
78575
|
+
var args153, tool$transfersListRefunds;
|
|
78374
78576
|
var init_transfersListRefunds2 = __esm(() => {
|
|
78375
78577
|
init_transfersListRefunds();
|
|
78376
78578
|
init_operations();
|
|
78377
78579
|
init_tools();
|
|
78378
|
-
|
|
78580
|
+
args153 = {
|
|
78379
78581
|
request: ListRefundsRequest$inboundSchema
|
|
78380
78582
|
};
|
|
78381
78583
|
tool$transfersListRefunds = {
|
|
@@ -78384,9 +78586,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
78384
78586
|
|
|
78385
78587
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78386
78588
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78387
|
-
args:
|
|
78388
|
-
tool: async (client,
|
|
78389
|
-
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();
|
|
78390
78592
|
if (!result.ok) {
|
|
78391
78593
|
return {
|
|
78392
78594
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78401,9 +78603,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78401
78603
|
|
|
78402
78604
|
// src/funcs/transfersUpdate.ts
|
|
78403
78605
|
function transfersUpdate(client, request, options) {
|
|
78404
|
-
return new APIPromise($
|
|
78606
|
+
return new APIPromise($do154(client, request, options));
|
|
78405
78607
|
}
|
|
78406
|
-
async function $
|
|
78608
|
+
async function $do154(client, request, options) {
|
|
78407
78609
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78408
78610
|
if (!parsed.ok) {
|
|
78409
78611
|
return [parsed, { status: "invalid" }];
|
|
@@ -78489,12 +78691,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
78489
78691
|
});
|
|
78490
78692
|
|
|
78491
78693
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
78492
|
-
var
|
|
78694
|
+
var args154, tool$transfersUpdate;
|
|
78493
78695
|
var init_transfersUpdate2 = __esm(() => {
|
|
78494
78696
|
init_transfersUpdate();
|
|
78495
78697
|
init_operations();
|
|
78496
78698
|
init_tools();
|
|
78497
|
-
|
|
78699
|
+
args154 = {
|
|
78498
78700
|
request: UpdateTransferRequest$inboundSchema
|
|
78499
78701
|
};
|
|
78500
78702
|
tool$transfersUpdate = {
|
|
@@ -78505,9 +78707,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
78505
78707
|
|
|
78506
78708
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78507
78709
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
78508
|
-
args:
|
|
78509
|
-
tool: async (client,
|
|
78510
|
-
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();
|
|
78511
78713
|
if (!result.ok) {
|
|
78512
78714
|
return {
|
|
78513
78715
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78522,9 +78724,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
78522
78724
|
|
|
78523
78725
|
// src/funcs/underwritingGet.ts
|
|
78524
78726
|
function underwritingGet(client, request, options) {
|
|
78525
|
-
return new APIPromise($
|
|
78727
|
+
return new APIPromise($do155(client, request, options));
|
|
78526
78728
|
}
|
|
78527
|
-
async function $
|
|
78729
|
+
async function $do155(client, request, options) {
|
|
78528
78730
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78529
78731
|
if (!parsed.ok) {
|
|
78530
78732
|
return [parsed, { status: "invalid" }];
|
|
@@ -78602,12 +78804,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
78602
78804
|
});
|
|
78603
78805
|
|
|
78604
78806
|
// src/mcp-server/tools/underwritingGet.ts
|
|
78605
|
-
var
|
|
78807
|
+
var args155, tool$underwritingGet;
|
|
78606
78808
|
var init_underwritingGet2 = __esm(() => {
|
|
78607
78809
|
init_underwritingGet();
|
|
78608
78810
|
init_operations();
|
|
78609
78811
|
init_tools();
|
|
78610
|
-
|
|
78812
|
+
args155 = {
|
|
78611
78813
|
request: GetUnderwritingRequest$inboundSchema
|
|
78612
78814
|
};
|
|
78613
78815
|
tool$underwritingGet = {
|
|
@@ -78618,9 +78820,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
78618
78820
|
|
|
78619
78821
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78620
78822
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
78621
|
-
args:
|
|
78622
|
-
tool: async (client,
|
|
78623
|
-
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();
|
|
78624
78826
|
if (!result.ok) {
|
|
78625
78827
|
return {
|
|
78626
78828
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78635,9 +78837,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
78635
78837
|
|
|
78636
78838
|
// src/funcs/underwritingSave.ts
|
|
78637
78839
|
function underwritingSave(client, request, options) {
|
|
78638
|
-
return new APIPromise($
|
|
78840
|
+
return new APIPromise($do156(client, request, options));
|
|
78639
78841
|
}
|
|
78640
|
-
async function $
|
|
78842
|
+
async function $do156(client, request, options) {
|
|
78641
78843
|
const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78642
78844
|
if (!parsed.ok) {
|
|
78643
78845
|
return [parsed, { status: "invalid" }];
|
|
@@ -78733,12 +78935,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
78733
78935
|
});
|
|
78734
78936
|
|
|
78735
78937
|
// src/mcp-server/tools/underwritingSave.ts
|
|
78736
|
-
var
|
|
78938
|
+
var args156, tool$underwritingSave;
|
|
78737
78939
|
var init_underwritingSave2 = __esm(() => {
|
|
78738
78940
|
init_underwritingSave();
|
|
78739
78941
|
init_operations();
|
|
78740
78942
|
init_tools();
|
|
78741
|
-
|
|
78943
|
+
args156 = {
|
|
78742
78944
|
request: SaveUnderwritingRequest$inboundSchema
|
|
78743
78945
|
};
|
|
78744
78946
|
tool$underwritingSave = {
|
|
@@ -78749,9 +78951,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
78749
78951
|
|
|
78750
78952
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78751
78953
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
78752
|
-
args:
|
|
78753
|
-
tool: async (client,
|
|
78754
|
-
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();
|
|
78755
78957
|
if (!result.ok) {
|
|
78756
78958
|
return {
|
|
78757
78959
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78766,9 +78968,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
78766
78968
|
|
|
78767
78969
|
// src/funcs/underwritingUpsert.ts
|
|
78768
78970
|
function underwritingUpsert(client, request, options) {
|
|
78769
|
-
return new APIPromise($
|
|
78971
|
+
return new APIPromise($do157(client, request, options));
|
|
78770
78972
|
}
|
|
78771
|
-
async function $
|
|
78973
|
+
async function $do157(client, request, options) {
|
|
78772
78974
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78773
78975
|
if (!parsed.ok) {
|
|
78774
78976
|
return [parsed, { status: "invalid" }];
|
|
@@ -78864,12 +79066,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
78864
79066
|
});
|
|
78865
79067
|
|
|
78866
79068
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
78867
|
-
var
|
|
79069
|
+
var args157, tool$underwritingUpsert;
|
|
78868
79070
|
var init_underwritingUpsert2 = __esm(() => {
|
|
78869
79071
|
init_underwritingUpsert();
|
|
78870
79072
|
init_operations();
|
|
78871
79073
|
init_tools();
|
|
78872
|
-
|
|
79074
|
+
args157 = {
|
|
78873
79075
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
78874
79076
|
};
|
|
78875
79077
|
tool$underwritingUpsert = {
|
|
@@ -78880,9 +79082,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
78880
79082
|
|
|
78881
79083
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78882
79084
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
78883
|
-
args:
|
|
78884
|
-
tool: async (client,
|
|
78885
|
-
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();
|
|
78886
79088
|
if (!result.ok) {
|
|
78887
79089
|
return {
|
|
78888
79090
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78897,9 +79099,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
78897
79099
|
|
|
78898
79100
|
// src/funcs/walletsCreate.ts
|
|
78899
79101
|
function walletsCreate(client, request, options) {
|
|
78900
|
-
return new APIPromise($
|
|
79102
|
+
return new APIPromise($do158(client, request, options));
|
|
78901
79103
|
}
|
|
78902
|
-
async function $
|
|
79104
|
+
async function $do158(client, request, options) {
|
|
78903
79105
|
const parsed = safeParse(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78904
79106
|
if (!parsed.ok) {
|
|
78905
79107
|
return [parsed, { status: "invalid" }];
|
|
@@ -78993,12 +79195,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
78993
79195
|
});
|
|
78994
79196
|
|
|
78995
79197
|
// src/mcp-server/tools/walletsCreate.ts
|
|
78996
|
-
var
|
|
79198
|
+
var args158, tool$walletsCreate;
|
|
78997
79199
|
var init_walletsCreate2 = __esm(() => {
|
|
78998
79200
|
init_walletsCreate();
|
|
78999
79201
|
init_operations();
|
|
79000
79202
|
init_tools();
|
|
79001
|
-
|
|
79203
|
+
args158 = {
|
|
79002
79204
|
request: CreateWalletRequest$inboundSchema
|
|
79003
79205
|
};
|
|
79004
79206
|
tool$walletsCreate = {
|
|
@@ -79009,9 +79211,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79009
79211
|
|
|
79010
79212
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79011
79213
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79012
|
-
args:
|
|
79013
|
-
tool: async (client,
|
|
79014
|
-
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();
|
|
79015
79217
|
if (!result.ok) {
|
|
79016
79218
|
return {
|
|
79017
79219
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79026,9 +79228,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79026
79228
|
|
|
79027
79229
|
// src/funcs/walletsGet.ts
|
|
79028
79230
|
function walletsGet(client, request, options) {
|
|
79029
|
-
return new APIPromise($
|
|
79231
|
+
return new APIPromise($do159(client, request, options));
|
|
79030
79232
|
}
|
|
79031
|
-
async function $
|
|
79233
|
+
async function $do159(client, request, options) {
|
|
79032
79234
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79033
79235
|
if (!parsed.ok) {
|
|
79034
79236
|
return [parsed, { status: "invalid" }];
|
|
@@ -79110,12 +79312,12 @@ var init_walletsGet = __esm(() => {
|
|
|
79110
79312
|
});
|
|
79111
79313
|
|
|
79112
79314
|
// src/mcp-server/tools/walletsGet.ts
|
|
79113
|
-
var
|
|
79315
|
+
var args159, tool$walletsGet;
|
|
79114
79316
|
var init_walletsGet2 = __esm(() => {
|
|
79115
79317
|
init_walletsGet();
|
|
79116
79318
|
init_operations();
|
|
79117
79319
|
init_tools();
|
|
79118
|
-
|
|
79320
|
+
args159 = {
|
|
79119
79321
|
request: GetWalletRequest$inboundSchema
|
|
79120
79322
|
};
|
|
79121
79323
|
tool$walletsGet = {
|
|
@@ -79126,9 +79328,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79126
79328
|
|
|
79127
79329
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79128
79330
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79129
|
-
args:
|
|
79130
|
-
tool: async (client,
|
|
79131
|
-
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();
|
|
79132
79334
|
if (!result.ok) {
|
|
79133
79335
|
return {
|
|
79134
79336
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79143,9 +79345,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79143
79345
|
|
|
79144
79346
|
// src/funcs/walletsList.ts
|
|
79145
79347
|
function walletsList(client, request, options) {
|
|
79146
|
-
return new APIPromise($
|
|
79348
|
+
return new APIPromise($do160(client, request, options));
|
|
79147
79349
|
}
|
|
79148
|
-
async function $
|
|
79350
|
+
async function $do160(client, request, options) {
|
|
79149
79351
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79150
79352
|
if (!parsed.ok) {
|
|
79151
79353
|
return [parsed, { status: "invalid" }];
|
|
@@ -79233,12 +79435,12 @@ var init_walletsList = __esm(() => {
|
|
|
79233
79435
|
});
|
|
79234
79436
|
|
|
79235
79437
|
// src/mcp-server/tools/walletsList.ts
|
|
79236
|
-
var
|
|
79438
|
+
var args160, tool$walletsList;
|
|
79237
79439
|
var init_walletsList2 = __esm(() => {
|
|
79238
79440
|
init_walletsList();
|
|
79239
79441
|
init_operations();
|
|
79240
79442
|
init_tools();
|
|
79241
|
-
|
|
79443
|
+
args160 = {
|
|
79242
79444
|
request: ListWalletsRequest$inboundSchema
|
|
79243
79445
|
};
|
|
79244
79446
|
tool$walletsList = {
|
|
@@ -79249,9 +79451,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79249
79451
|
|
|
79250
79452
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79251
79453
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79252
|
-
args:
|
|
79253
|
-
tool: async (client,
|
|
79254
|
-
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();
|
|
79255
79457
|
if (!result.ok) {
|
|
79256
79458
|
return {
|
|
79257
79459
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79266,9 +79468,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79266
79468
|
|
|
79267
79469
|
// src/funcs/walletsUpdate.ts
|
|
79268
79470
|
function walletsUpdate(client, request, options) {
|
|
79269
|
-
return new APIPromise($
|
|
79471
|
+
return new APIPromise($do161(client, request, options));
|
|
79270
79472
|
}
|
|
79271
|
-
async function $
|
|
79473
|
+
async function $do161(client, request, options) {
|
|
79272
79474
|
const parsed = safeParse(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79273
79475
|
if (!parsed.ok) {
|
|
79274
79476
|
return [parsed, { status: "invalid" }];
|
|
@@ -79366,12 +79568,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
79366
79568
|
});
|
|
79367
79569
|
|
|
79368
79570
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
79369
|
-
var
|
|
79571
|
+
var args161, tool$walletsUpdate;
|
|
79370
79572
|
var init_walletsUpdate2 = __esm(() => {
|
|
79371
79573
|
init_walletsUpdate();
|
|
79372
79574
|
init_operations();
|
|
79373
79575
|
init_tools();
|
|
79374
|
-
|
|
79576
|
+
args161 = {
|
|
79375
79577
|
request: UpdateWalletRequest$inboundSchema
|
|
79376
79578
|
};
|
|
79377
79579
|
tool$walletsUpdate = {
|
|
@@ -79382,9 +79584,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79382
79584
|
|
|
79383
79585
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79384
79586
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79385
|
-
args:
|
|
79386
|
-
tool: async (client,
|
|
79387
|
-
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();
|
|
79388
79590
|
if (!result.ok) {
|
|
79389
79591
|
return {
|
|
79390
79592
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79399,9 +79601,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79399
79601
|
|
|
79400
79602
|
// src/funcs/walletTransactionsGet.ts
|
|
79401
79603
|
function walletTransactionsGet(client, request, options) {
|
|
79402
|
-
return new APIPromise($
|
|
79604
|
+
return new APIPromise($do162(client, request, options));
|
|
79403
79605
|
}
|
|
79404
|
-
async function $
|
|
79606
|
+
async function $do162(client, request, options) {
|
|
79405
79607
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79406
79608
|
if (!parsed.ok) {
|
|
79407
79609
|
return [parsed, { status: "invalid" }];
|
|
@@ -79487,12 +79689,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
79487
79689
|
});
|
|
79488
79690
|
|
|
79489
79691
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
79490
|
-
var
|
|
79692
|
+
var args162, tool$walletTransactionsGet;
|
|
79491
79693
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
79492
79694
|
init_walletTransactionsGet();
|
|
79493
79695
|
init_operations();
|
|
79494
79696
|
init_tools();
|
|
79495
|
-
|
|
79697
|
+
args162 = {
|
|
79496
79698
|
request: GetWalletTransactionRequest$inboundSchema
|
|
79497
79699
|
};
|
|
79498
79700
|
tool$walletTransactionsGet = {
|
|
@@ -79503,9 +79705,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
79503
79705
|
|
|
79504
79706
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79505
79707
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79506
|
-
args:
|
|
79507
|
-
tool: async (client,
|
|
79508
|
-
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();
|
|
79509
79711
|
if (!result.ok) {
|
|
79510
79712
|
return {
|
|
79511
79713
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79520,9 +79722,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79520
79722
|
|
|
79521
79723
|
// src/funcs/walletTransactionsList.ts
|
|
79522
79724
|
function walletTransactionsList(client, request, options) {
|
|
79523
|
-
return new APIPromise($
|
|
79725
|
+
return new APIPromise($do163(client, request, options));
|
|
79524
79726
|
}
|
|
79525
|
-
async function $
|
|
79727
|
+
async function $do163(client, request, options) {
|
|
79526
79728
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79527
79729
|
if (!parsed.ok) {
|
|
79528
79730
|
return [parsed, { status: "invalid" }];
|
|
@@ -79622,12 +79824,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
79622
79824
|
});
|
|
79623
79825
|
|
|
79624
79826
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
79625
|
-
var
|
|
79827
|
+
var args163, tool$walletTransactionsList;
|
|
79626
79828
|
var init_walletTransactionsList2 = __esm(() => {
|
|
79627
79829
|
init_walletTransactionsList();
|
|
79628
79830
|
init_operations();
|
|
79629
79831
|
init_tools();
|
|
79630
|
-
|
|
79832
|
+
args163 = {
|
|
79631
79833
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
79632
79834
|
};
|
|
79633
79835
|
tool$walletTransactionsList = {
|
|
@@ -79638,9 +79840,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
79638
79840
|
|
|
79639
79841
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79640
79842
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79641
|
-
args:
|
|
79642
|
-
tool: async (client,
|
|
79643
|
-
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();
|
|
79644
79846
|
if (!result.ok) {
|
|
79645
79847
|
return {
|
|
79646
79848
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79657,7 +79859,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79657
79859
|
function createMCPServer(deps) {
|
|
79658
79860
|
const server = new McpServer({
|
|
79659
79861
|
name: "Moov",
|
|
79660
|
-
version: "0.21.
|
|
79862
|
+
version: "0.21.14"
|
|
79661
79863
|
});
|
|
79662
79864
|
const client = new MoovCore({
|
|
79663
79865
|
security: deps.security,
|
|
@@ -79724,6 +79926,7 @@ function createMCPServer(deps) {
|
|
|
79724
79926
|
tool(tool$feePlansListFeePlanAgreements);
|
|
79725
79927
|
tool(tool$feePlansCreateFeePlanAgreements);
|
|
79726
79928
|
tool(tool$feePlansListFeePlans);
|
|
79929
|
+
tool(tool$feePlansListFeeRevenue);
|
|
79727
79930
|
tool(tool$feePlansRetrieveFees);
|
|
79728
79931
|
tool(tool$feePlansListFeesFetch);
|
|
79729
79932
|
tool(tool$feePlansListPartnerPricing);
|
|
@@ -79910,6 +80113,7 @@ var init_server2 = __esm(() => {
|
|
|
79910
80113
|
init_feePlansGetResidual2();
|
|
79911
80114
|
init_feePlansListFeePlanAgreements2();
|
|
79912
80115
|
init_feePlansListFeePlans2();
|
|
80116
|
+
init_feePlansListFeeRevenue2();
|
|
79913
80117
|
init_feePlansListFeesFetch2();
|
|
79914
80118
|
init_feePlansListPartnerPricing2();
|
|
79915
80119
|
init_feePlansListPartnerPricingAgreements2();
|
|
@@ -81205,7 +81409,7 @@ var routes = rn({
|
|
|
81205
81409
|
var app = Ve(routes, {
|
|
81206
81410
|
name: "mcp",
|
|
81207
81411
|
versionInfo: {
|
|
81208
|
-
currentVersion: "0.21.
|
|
81412
|
+
currentVersion: "0.21.14"
|
|
81209
81413
|
}
|
|
81210
81414
|
});
|
|
81211
81415
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -81213,5 +81417,5 @@ export {
|
|
|
81213
81417
|
app
|
|
81214
81418
|
};
|
|
81215
81419
|
|
|
81216
|
-
//# debugId=
|
|
81420
|
+
//# debugId=0FAAFFB6B2EDF80264756E2164756E21
|
|
81217
81421
|
//# sourceMappingURL=mcp-server.js.map
|