@moovio/sdk 25.1.0 → 25.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -54
- package/bin/mcp-server.js +656 -855
- package/bin/mcp-server.js.map +8 -12
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +1 -3
- package/mcp-server/server.js.map +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/feeplans.d.ts +0 -7
- package/sdk/feeplans.d.ts.map +1 -1
- package/sdk/feeplans.js +0 -10
- package/sdk/feeplans.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -3
- package/src/models/components/index.ts +0 -1
- package/src/models/operations/index.ts +0 -1
- package/src/sdk/feeplans.ts +0 -18
- package/funcs/feePlansListPartnerPricing.d.ts +0 -17
- package/funcs/feePlansListPartnerPricing.d.ts.map +0 -1
- package/funcs/feePlansListPartnerPricing.js +0 -129
- package/funcs/feePlansListPartnerPricing.js.map +0 -1
- package/mcp-server/tools/feePlansListPartnerPricing.d.ts +0 -8
- package/mcp-server/tools/feePlansListPartnerPricing.d.ts.map +0 -1
- package/mcp-server/tools/feePlansListPartnerPricing.js +0 -65
- package/mcp-server/tools/feePlansListPartnerPricing.js.map +0 -1
- package/models/components/partnerpricing.d.ts +0 -59
- package/models/components/partnerpricing.d.ts.map +0 -1
- package/models/components/partnerpricing.js +0 -78
- package/models/components/partnerpricing.js.map +0 -1
- package/models/operations/listpartnerpricing.d.ts +0 -69
- package/models/operations/listpartnerpricing.d.ts.map +0 -1
- package/models/operations/listpartnerpricing.js +0 -114
- package/models/operations/listpartnerpricing.js.map +0 -1
- package/src/funcs/feePlansListPartnerPricing.ts +0 -184
- package/src/mcp-server/tools/feePlansListPartnerPricing.ts +0 -38
- package/src/models/components/partnerpricing.ts +0 -124
- package/src/models/operations/listpartnerpricing.ts +0 -182
package/bin/mcp-server.js
CHANGED
|
@@ -52413,9 +52413,9 @@ var init_config = __esm(() => {
|
|
|
52413
52413
|
SDK_METADATA = {
|
|
52414
52414
|
language: "typescript",
|
|
52415
52415
|
openapiDocVersion: "v2025.01.00",
|
|
52416
|
-
sdkVersion: "25.1.
|
|
52416
|
+
sdkVersion: "25.1.1",
|
|
52417
52417
|
genVersion: "2.803.3",
|
|
52418
|
-
userAgent: "speakeasy-sdk/typescript 25.1.
|
|
52418
|
+
userAgent: "speakeasy-sdk/typescript 25.1.1 2.803.3 v2025.01.00 @moovio/sdk"
|
|
52419
52419
|
};
|
|
52420
52420
|
});
|
|
52421
52421
|
|
|
@@ -63476,38 +63476,6 @@ var init_partialscheduleaccount = __esm(() => {
|
|
|
63476
63476
|
});
|
|
63477
63477
|
});
|
|
63478
63478
|
|
|
63479
|
-
// src/models/components/partnerpricing.ts
|
|
63480
|
-
var PartnerPricing$inboundSchema, PartnerPricing$outboundSchema;
|
|
63481
|
-
var init_partnerpricing = __esm(() => {
|
|
63482
|
-
init_esm();
|
|
63483
|
-
init_billablefee();
|
|
63484
|
-
init_cardacquiringmodel();
|
|
63485
|
-
init_minimumcommitment();
|
|
63486
|
-
init_monthlyplatformfee();
|
|
63487
|
-
PartnerPricing$inboundSchema = objectType({
|
|
63488
|
-
planID: stringType(),
|
|
63489
|
-
name: stringType(),
|
|
63490
|
-
description: stringType().optional(),
|
|
63491
|
-
revenueShare: stringType(),
|
|
63492
|
-
cardAcquiringModel: CardAcquiringModel$inboundSchema,
|
|
63493
|
-
billableFees: arrayType(BillableFee$inboundSchema),
|
|
63494
|
-
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
63495
|
-
monthlyPlatformFee: MonthlyPlatformFee$inboundSchema,
|
|
63496
|
-
createdAt: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
63497
|
-
});
|
|
63498
|
-
PartnerPricing$outboundSchema = objectType({
|
|
63499
|
-
planID: stringType(),
|
|
63500
|
-
name: stringType(),
|
|
63501
|
-
description: stringType().optional(),
|
|
63502
|
-
revenueShare: stringType(),
|
|
63503
|
-
cardAcquiringModel: CardAcquiringModel$outboundSchema,
|
|
63504
|
-
billableFees: arrayType(BillableFee$outboundSchema),
|
|
63505
|
-
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
63506
|
-
monthlyPlatformFee: MonthlyPlatformFee$outboundSchema,
|
|
63507
|
-
createdAt: dateType().transform((v2) => v2.toISOString())
|
|
63508
|
-
});
|
|
63509
|
-
});
|
|
63510
|
-
|
|
63511
63479
|
// src/models/components/partnerpricingagreement.ts
|
|
63512
63480
|
var PartnerPricingAgreement$inboundSchema, PartnerPricingAgreement$outboundSchema;
|
|
63513
63481
|
var init_partnerpricingagreement = __esm(() => {
|
|
@@ -66825,7 +66793,6 @@ var init_components = __esm(() => {
|
|
|
66825
66793
|
init_othercardfees();
|
|
66826
66794
|
init_partialscheduleaccount();
|
|
66827
66795
|
init_partnerfees();
|
|
66828
|
-
init_partnerpricing();
|
|
66829
66796
|
init_partnerpricingagreement();
|
|
66830
66797
|
init_patchaccount();
|
|
66831
66798
|
init_patchbusiness();
|
|
@@ -75207,54 +75174,6 @@ var init_listonboardinginvites = __esm(() => {
|
|
|
75207
75174
|
});
|
|
75208
75175
|
});
|
|
75209
75176
|
|
|
75210
|
-
// src/models/operations/listpartnerpricing.ts
|
|
75211
|
-
var ListPartnerPricingGlobals$inboundSchema, ListPartnerPricingGlobals$outboundSchema, ListPartnerPricingRequest$inboundSchema, ListPartnerPricingRequest$outboundSchema, ListPartnerPricingResponse$inboundSchema, ListPartnerPricingResponse$outboundSchema;
|
|
75212
|
-
var init_listpartnerpricing = __esm(() => {
|
|
75213
|
-
init_esm();
|
|
75214
|
-
init_primitives();
|
|
75215
|
-
init_components();
|
|
75216
|
-
ListPartnerPricingGlobals$inboundSchema = objectType({
|
|
75217
|
-
"X-Moov-Version": stringType().optional()
|
|
75218
|
-
}).transform((v2) => {
|
|
75219
|
-
return remap(v2, {
|
|
75220
|
-
"X-Moov-Version": "xMoovVersion"
|
|
75221
|
-
});
|
|
75222
|
-
});
|
|
75223
|
-
ListPartnerPricingGlobals$outboundSchema = objectType({
|
|
75224
|
-
xMoovVersion: stringType().optional()
|
|
75225
|
-
}).transform((v2) => {
|
|
75226
|
-
return remap(v2, {
|
|
75227
|
-
xMoovVersion: "X-Moov-Version"
|
|
75228
|
-
});
|
|
75229
|
-
});
|
|
75230
|
-
ListPartnerPricingRequest$inboundSchema = objectType({
|
|
75231
|
-
accountID: stringType(),
|
|
75232
|
-
planIDs: arrayType(stringType()).optional()
|
|
75233
|
-
});
|
|
75234
|
-
ListPartnerPricingRequest$outboundSchema = objectType({
|
|
75235
|
-
accountID: stringType(),
|
|
75236
|
-
planIDs: arrayType(stringType()).optional()
|
|
75237
|
-
});
|
|
75238
|
-
ListPartnerPricingResponse$inboundSchema = objectType({
|
|
75239
|
-
Headers: recordType(arrayType(stringType())).default({}),
|
|
75240
|
-
Result: arrayType(PartnerPricing$inboundSchema)
|
|
75241
|
-
}).transform((v2) => {
|
|
75242
|
-
return remap(v2, {
|
|
75243
|
-
Headers: "headers",
|
|
75244
|
-
Result: "result"
|
|
75245
|
-
});
|
|
75246
|
-
});
|
|
75247
|
-
ListPartnerPricingResponse$outboundSchema = objectType({
|
|
75248
|
-
headers: recordType(arrayType(stringType())),
|
|
75249
|
-
result: arrayType(PartnerPricing$outboundSchema)
|
|
75250
|
-
}).transform((v2) => {
|
|
75251
|
-
return remap(v2, {
|
|
75252
|
-
headers: "Headers",
|
|
75253
|
-
result: "Result"
|
|
75254
|
-
});
|
|
75255
|
-
});
|
|
75256
|
-
});
|
|
75257
|
-
|
|
75258
75177
|
// src/models/operations/listpartnerpricingagreements.ts
|
|
75259
75178
|
var ListPartnerPricingAgreementsGlobals$inboundSchema, ListPartnerPricingAgreementsGlobals$outboundSchema, ListPartnerPricingAgreementsRequest$inboundSchema, ListPartnerPricingAgreementsRequest$outboundSchema, ListPartnerPricingAgreementsResponse$inboundSchema, ListPartnerPricingAgreementsResponse$outboundSchema;
|
|
75260
75179
|
var init_listpartnerpricingagreements = __esm(() => {
|
|
@@ -78043,7 +77962,6 @@ var init_operations = __esm(() => {
|
|
|
78043
77962
|
init_listissuedcards();
|
|
78044
77963
|
init_listissuedcardtransactions();
|
|
78045
77964
|
init_listonboardinginvites();
|
|
78046
|
-
init_listpartnerpricing();
|
|
78047
77965
|
init_listpartnerpricingagreements();
|
|
78048
77966
|
init_listpaymentlinks();
|
|
78049
77967
|
init_listpaymentmethods();
|
|
@@ -86924,126 +86842,11 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
86924
86842
|
};
|
|
86925
86843
|
});
|
|
86926
86844
|
|
|
86927
|
-
// src/funcs/feePlansListPartnerPricing.ts
|
|
86928
|
-
function feePlansListPartnerPricing(client, request, options) {
|
|
86929
|
-
return new APIPromise($do73(client, request, options));
|
|
86930
|
-
}
|
|
86931
|
-
async function $do73(client, request, options) {
|
|
86932
|
-
const parsed = safeParse4(request, (value) => ListPartnerPricingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
86933
|
-
if (!parsed.ok) {
|
|
86934
|
-
return [parsed, { status: "invalid" }];
|
|
86935
|
-
}
|
|
86936
|
-
const payload = parsed.value;
|
|
86937
|
-
const body = null;
|
|
86938
|
-
const pathParams = {
|
|
86939
|
-
accountID: encodeSimple("accountID", payload.accountID, {
|
|
86940
|
-
explode: false,
|
|
86941
|
-
charEncoding: "percent"
|
|
86942
|
-
})
|
|
86943
|
-
};
|
|
86944
|
-
const path = pathToFunc("/accounts/{accountID}/partner-pricing")(pathParams);
|
|
86945
|
-
const query = encodeFormQuery({
|
|
86946
|
-
planIDs: payload.planIDs
|
|
86947
|
-
}, { explode: false });
|
|
86948
|
-
const headers = new Headers(compactMap({
|
|
86949
|
-
Accept: "application/json",
|
|
86950
|
-
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
86951
|
-
}));
|
|
86952
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
86953
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
86954
|
-
const context = {
|
|
86955
|
-
options: client._options,
|
|
86956
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
86957
|
-
operationID: "listPartnerPricing",
|
|
86958
|
-
oAuth2Scopes: null,
|
|
86959
|
-
resolvedSecurity: requestSecurity,
|
|
86960
|
-
securitySource: client._options.security,
|
|
86961
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
86962
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
86963
|
-
};
|
|
86964
|
-
const requestRes = client._createRequest(context, {
|
|
86965
|
-
security: requestSecurity,
|
|
86966
|
-
method: "GET",
|
|
86967
|
-
baseURL: options?.serverURL,
|
|
86968
|
-
path,
|
|
86969
|
-
headers,
|
|
86970
|
-
query,
|
|
86971
|
-
body,
|
|
86972
|
-
userAgent: client._options.userAgent,
|
|
86973
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
86974
|
-
}, options);
|
|
86975
|
-
if (!requestRes.ok) {
|
|
86976
|
-
return [requestRes, { status: "invalid" }];
|
|
86977
|
-
}
|
|
86978
|
-
const req = requestRes.value;
|
|
86979
|
-
const doResult = await client._do(req, {
|
|
86980
|
-
context,
|
|
86981
|
-
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
86982
|
-
retryConfig: context.retryConfig,
|
|
86983
|
-
retryCodes: context.retryCodes
|
|
86984
|
-
});
|
|
86985
|
-
if (!doResult.ok) {
|
|
86986
|
-
return [doResult, { status: "request-error", request: req }];
|
|
86987
|
-
}
|
|
86988
|
-
const response = doResult.value;
|
|
86989
|
-
const responseFields = {
|
|
86990
|
-
HttpMeta: { Response: response, Request: req }
|
|
86991
|
-
};
|
|
86992
|
-
const [result] = await match(json(200, ListPartnerPricingResponse$inboundSchema, {
|
|
86993
|
-
hdrs: true,
|
|
86994
|
-
key: "Result"
|
|
86995
|
-
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
86996
|
-
if (!result.ok) {
|
|
86997
|
-
return [result, { status: "complete", request: req, response }];
|
|
86998
|
-
}
|
|
86999
|
-
return [result, { status: "complete", request: req, response }];
|
|
87000
|
-
}
|
|
87001
|
-
var init_feePlansListPartnerPricing = __esm(() => {
|
|
87002
|
-
init_encodings();
|
|
87003
|
-
init_matchers();
|
|
87004
|
-
init_primitives();
|
|
87005
|
-
init_schemas4();
|
|
87006
|
-
init_security();
|
|
87007
|
-
init_url();
|
|
87008
|
-
init_operations();
|
|
87009
|
-
init_async();
|
|
87010
|
-
});
|
|
87011
|
-
|
|
87012
|
-
// src/mcp-server/tools/feePlansListPartnerPricing.ts
|
|
87013
|
-
var args73, tool$feePlansListPartnerPricing;
|
|
87014
|
-
var init_feePlansListPartnerPricing2 = __esm(() => {
|
|
87015
|
-
init_feePlansListPartnerPricing();
|
|
87016
|
-
init_operations();
|
|
87017
|
-
init_tools();
|
|
87018
|
-
args73 = {
|
|
87019
|
-
request: ListPartnerPricingRequest$inboundSchema
|
|
87020
|
-
};
|
|
87021
|
-
tool$feePlansListPartnerPricing = {
|
|
87022
|
-
name: "fee-plans-list-partner-pricing",
|
|
87023
|
-
description: `List all partner pricing plans available for use by an account.
|
|
87024
|
-
|
|
87025
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87026
|
-
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
87027
|
-
args: args73,
|
|
87028
|
-
tool: async (client, args74, ctx) => {
|
|
87029
|
-
const [result, apiCall] = await feePlansListPartnerPricing(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87030
|
-
if (!result.ok) {
|
|
87031
|
-
return {
|
|
87032
|
-
content: [{ type: "text", text: result.error.message }],
|
|
87033
|
-
isError: true
|
|
87034
|
-
};
|
|
87035
|
-
}
|
|
87036
|
-
const value = result.value.result;
|
|
87037
|
-
return formatResult(value, apiCall);
|
|
87038
|
-
}
|
|
87039
|
-
};
|
|
87040
|
-
});
|
|
87041
|
-
|
|
87042
86845
|
// src/funcs/feePlansListPartnerPricingAgreements.ts
|
|
87043
86846
|
function feePlansListPartnerPricingAgreements(client, request, options) {
|
|
87044
|
-
return new APIPromise($
|
|
86847
|
+
return new APIPromise($do73(client, request, options));
|
|
87045
86848
|
}
|
|
87046
|
-
async function $
|
|
86849
|
+
async function $do73(client, request, options) {
|
|
87047
86850
|
const parsed = safeParse4(request, (value) => ListPartnerPricingAgreementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
87048
86851
|
if (!parsed.ok) {
|
|
87049
86852
|
return [parsed, { status: "invalid" }];
|
|
@@ -87128,12 +86931,12 @@ var init_feePlansListPartnerPricingAgreements = __esm(() => {
|
|
|
87128
86931
|
});
|
|
87129
86932
|
|
|
87130
86933
|
// src/mcp-server/tools/feePlansListPartnerPricingAgreements.ts
|
|
87131
|
-
var
|
|
86934
|
+
var args73, tool$feePlansListPartnerPricingAgreements;
|
|
87132
86935
|
var init_feePlansListPartnerPricingAgreements2 = __esm(() => {
|
|
87133
86936
|
init_feePlansListPartnerPricingAgreements();
|
|
87134
86937
|
init_operations();
|
|
87135
86938
|
init_tools();
|
|
87136
|
-
|
|
86939
|
+
args73 = {
|
|
87137
86940
|
request: ListPartnerPricingAgreementsRequest$inboundSchema
|
|
87138
86941
|
};
|
|
87139
86942
|
tool$feePlansListPartnerPricingAgreements = {
|
|
@@ -87142,9 +86945,9 @@ var init_feePlansListPartnerPricingAgreements2 = __esm(() => {
|
|
|
87142
86945
|
|
|
87143
86946
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87144
86947
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
87145
|
-
args:
|
|
87146
|
-
tool: async (client,
|
|
87147
|
-
const [result, apiCall] = await feePlansListPartnerPricingAgreements(client,
|
|
86948
|
+
args: args73,
|
|
86949
|
+
tool: async (client, args74, ctx) => {
|
|
86950
|
+
const [result, apiCall] = await feePlansListPartnerPricingAgreements(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87148
86951
|
if (!result.ok) {
|
|
87149
86952
|
return {
|
|
87150
86953
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87159,9 +86962,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
87159
86962
|
|
|
87160
86963
|
// src/funcs/feePlansListResidualFees.ts
|
|
87161
86964
|
function feePlansListResidualFees(client, request, options) {
|
|
87162
|
-
return new APIPromise($
|
|
86965
|
+
return new APIPromise($do74(client, request, options));
|
|
87163
86966
|
}
|
|
87164
|
-
async function $
|
|
86967
|
+
async function $do74(client, request, options) {
|
|
87165
86968
|
const parsed = safeParse4(request, (value) => ListResidualFeesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
87166
86969
|
if (!parsed.ok) {
|
|
87167
86970
|
return [parsed, { status: "invalid" }];
|
|
@@ -87250,12 +87053,12 @@ var init_feePlansListResidualFees = __esm(() => {
|
|
|
87250
87053
|
});
|
|
87251
87054
|
|
|
87252
87055
|
// src/mcp-server/tools/feePlansListResidualFees.ts
|
|
87253
|
-
var
|
|
87056
|
+
var args74, tool$feePlansListResidualFees;
|
|
87254
87057
|
var init_feePlansListResidualFees2 = __esm(() => {
|
|
87255
87058
|
init_feePlansListResidualFees();
|
|
87256
87059
|
init_operations();
|
|
87257
87060
|
init_tools();
|
|
87258
|
-
|
|
87061
|
+
args74 = {
|
|
87259
87062
|
request: ListResidualFeesRequest$inboundSchema
|
|
87260
87063
|
};
|
|
87261
87064
|
tool$feePlansListResidualFees = {
|
|
@@ -87264,9 +87067,9 @@ var init_feePlansListResidualFees2 = __esm(() => {
|
|
|
87264
87067
|
|
|
87265
87068
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87266
87069
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
87267
|
-
args:
|
|
87268
|
-
tool: async (client,
|
|
87269
|
-
const [result, apiCall] = await feePlansListResidualFees(client,
|
|
87070
|
+
args: args74,
|
|
87071
|
+
tool: async (client, args75, ctx) => {
|
|
87072
|
+
const [result, apiCall] = await feePlansListResidualFees(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87270
87073
|
if (!result.ok) {
|
|
87271
87074
|
return {
|
|
87272
87075
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87281,9 +87084,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
87281
87084
|
|
|
87282
87085
|
// src/funcs/feePlansListResiduals.ts
|
|
87283
87086
|
function feePlansListResiduals(client, request, options) {
|
|
87284
|
-
return new APIPromise($
|
|
87087
|
+
return new APIPromise($do75(client, request, options));
|
|
87285
87088
|
}
|
|
87286
|
-
async function $
|
|
87089
|
+
async function $do75(client, request, options) {
|
|
87287
87090
|
const parsed = safeParse4(request, (value) => ListResidualsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
87288
87091
|
if (!parsed.ok) {
|
|
87289
87092
|
return [parsed, { status: "invalid" }];
|
|
@@ -87368,12 +87171,12 @@ var init_feePlansListResiduals = __esm(() => {
|
|
|
87368
87171
|
});
|
|
87369
87172
|
|
|
87370
87173
|
// src/mcp-server/tools/feePlansListResiduals.ts
|
|
87371
|
-
var
|
|
87174
|
+
var args75, tool$feePlansListResiduals;
|
|
87372
87175
|
var init_feePlansListResiduals2 = __esm(() => {
|
|
87373
87176
|
init_feePlansListResiduals();
|
|
87374
87177
|
init_operations();
|
|
87375
87178
|
init_tools();
|
|
87376
|
-
|
|
87179
|
+
args75 = {
|
|
87377
87180
|
request: ListResidualsRequest$inboundSchema
|
|
87378
87181
|
};
|
|
87379
87182
|
tool$feePlansListResiduals = {
|
|
@@ -87382,9 +87185,9 @@ var init_feePlansListResiduals2 = __esm(() => {
|
|
|
87382
87185
|
|
|
87383
87186
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87384
87187
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
87385
|
-
args:
|
|
87386
|
-
tool: async (client,
|
|
87387
|
-
const [result, apiCall] = await feePlansListResiduals(client,
|
|
87188
|
+
args: args75,
|
|
87189
|
+
tool: async (client, args76, ctx) => {
|
|
87190
|
+
const [result, apiCall] = await feePlansListResiduals(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87388
87191
|
if (!result.ok) {
|
|
87389
87192
|
return {
|
|
87390
87193
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87399,9 +87202,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
87399
87202
|
|
|
87400
87203
|
// src/funcs/feePlansRetrieveFees.ts
|
|
87401
87204
|
function feePlansRetrieveFees(client, request, options) {
|
|
87402
|
-
return new APIPromise($
|
|
87205
|
+
return new APIPromise($do76(client, request, options));
|
|
87403
87206
|
}
|
|
87404
|
-
async function $
|
|
87207
|
+
async function $do76(client, request, options) {
|
|
87405
87208
|
const parsed = safeParse4(request, (value) => RetrieveFeesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
87406
87209
|
if (!parsed.ok) {
|
|
87407
87210
|
return [parsed, { status: "invalid" }];
|
|
@@ -87489,12 +87292,12 @@ var init_feePlansRetrieveFees = __esm(() => {
|
|
|
87489
87292
|
});
|
|
87490
87293
|
|
|
87491
87294
|
// src/mcp-server/tools/feePlansRetrieveFees.ts
|
|
87492
|
-
var
|
|
87295
|
+
var args76, tool$feePlansRetrieveFees;
|
|
87493
87296
|
var init_feePlansRetrieveFees2 = __esm(() => {
|
|
87494
87297
|
init_feePlansRetrieveFees();
|
|
87495
87298
|
init_operations();
|
|
87496
87299
|
init_tools();
|
|
87497
|
-
|
|
87300
|
+
args76 = {
|
|
87498
87301
|
request: RetrieveFeesRequest$inboundSchema
|
|
87499
87302
|
};
|
|
87500
87303
|
tool$feePlansRetrieveFees = {
|
|
@@ -87503,9 +87306,9 @@ var init_feePlansRetrieveFees2 = __esm(() => {
|
|
|
87503
87306
|
|
|
87504
87307
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87505
87308
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
87506
|
-
args:
|
|
87507
|
-
tool: async (client,
|
|
87508
|
-
const [result, apiCall] = await feePlansRetrieveFees(client,
|
|
87309
|
+
args: args76,
|
|
87310
|
+
tool: async (client, args77, ctx) => {
|
|
87311
|
+
const [result, apiCall] = await feePlansRetrieveFees(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87509
87312
|
if (!result.ok) {
|
|
87510
87313
|
return {
|
|
87511
87314
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87520,9 +87323,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
87520
87323
|
|
|
87521
87324
|
// src/funcs/filesGet.ts
|
|
87522
87325
|
function filesGet(client, request, options) {
|
|
87523
|
-
return new APIPromise($
|
|
87326
|
+
return new APIPromise($do77(client, request, options));
|
|
87524
87327
|
}
|
|
87525
|
-
async function $
|
|
87328
|
+
async function $do77(client, request, options) {
|
|
87526
87329
|
const parsed = safeParse4(request, (value) => GetFileDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
87527
87330
|
if (!parsed.ok) {
|
|
87528
87331
|
return [parsed, { status: "invalid" }];
|
|
@@ -87604,12 +87407,12 @@ var init_filesGet = __esm(() => {
|
|
|
87604
87407
|
});
|
|
87605
87408
|
|
|
87606
87409
|
// src/mcp-server/tools/filesGet.ts
|
|
87607
|
-
var
|
|
87410
|
+
var args77, tool$filesGet;
|
|
87608
87411
|
var init_filesGet2 = __esm(() => {
|
|
87609
87412
|
init_filesGet();
|
|
87610
87413
|
init_operations();
|
|
87611
87414
|
init_tools();
|
|
87612
|
-
|
|
87415
|
+
args77 = {
|
|
87613
87416
|
request: GetFileDetailsRequest$inboundSchema
|
|
87614
87417
|
};
|
|
87615
87418
|
tool$filesGet = {
|
|
@@ -87618,9 +87421,9 @@ var init_filesGet2 = __esm(() => {
|
|
|
87618
87421
|
|
|
87619
87422
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87620
87423
|
you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
87621
|
-
args:
|
|
87622
|
-
tool: async (client,
|
|
87623
|
-
const [result, apiCall] = await filesGet(client,
|
|
87424
|
+
args: args77,
|
|
87425
|
+
tool: async (client, args78, ctx) => {
|
|
87426
|
+
const [result, apiCall] = await filesGet(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87624
87427
|
if (!result.ok) {
|
|
87625
87428
|
return {
|
|
87626
87429
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87635,9 +87438,9 @@ you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
|
87635
87438
|
|
|
87636
87439
|
// src/funcs/filesList.ts
|
|
87637
87440
|
function filesList(client, request, options) {
|
|
87638
|
-
return new APIPromise($
|
|
87441
|
+
return new APIPromise($do78(client, request, options));
|
|
87639
87442
|
}
|
|
87640
|
-
async function $
|
|
87443
|
+
async function $do78(client, request, options) {
|
|
87641
87444
|
const parsed = safeParse4(request, (value) => ListFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
87642
87445
|
if (!parsed.ok) {
|
|
87643
87446
|
return [parsed, { status: "invalid" }];
|
|
@@ -87715,12 +87518,12 @@ var init_filesList = __esm(() => {
|
|
|
87715
87518
|
});
|
|
87716
87519
|
|
|
87717
87520
|
// src/mcp-server/tools/filesList.ts
|
|
87718
|
-
var
|
|
87521
|
+
var args78, tool$filesList;
|
|
87719
87522
|
var init_filesList2 = __esm(() => {
|
|
87720
87523
|
init_filesList();
|
|
87721
87524
|
init_operations();
|
|
87722
87525
|
init_tools();
|
|
87723
|
-
|
|
87526
|
+
args78 = {
|
|
87724
87527
|
request: ListFilesRequest$inboundSchema
|
|
87725
87528
|
};
|
|
87726
87529
|
tool$filesList = {
|
|
@@ -87729,9 +87532,9 @@ var init_filesList2 = __esm(() => {
|
|
|
87729
87532
|
|
|
87730
87533
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87731
87534
|
you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
87732
|
-
args:
|
|
87733
|
-
tool: async (client,
|
|
87734
|
-
const [result, apiCall] = await filesList(client,
|
|
87535
|
+
args: args78,
|
|
87536
|
+
tool: async (client, args79, ctx) => {
|
|
87537
|
+
const [result, apiCall] = await filesList(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87735
87538
|
if (!result.ok) {
|
|
87736
87539
|
return {
|
|
87737
87540
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87746,9 +87549,9 @@ you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
|
87746
87549
|
|
|
87747
87550
|
// src/funcs/filesUpload.ts
|
|
87748
87551
|
function filesUpload(client, request, options) {
|
|
87749
|
-
return new APIPromise($
|
|
87552
|
+
return new APIPromise($do79(client, request, options));
|
|
87750
87553
|
}
|
|
87751
|
-
async function $
|
|
87554
|
+
async function $do79(client, request, options) {
|
|
87752
87555
|
const parsed = safeParse4(request, (value) => UploadFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
87753
87556
|
if (!parsed.ok) {
|
|
87754
87557
|
return [parsed, { status: "invalid" }];
|
|
@@ -87857,12 +87660,12 @@ var init_filesUpload = __esm(() => {
|
|
|
87857
87660
|
});
|
|
87858
87661
|
|
|
87859
87662
|
// src/mcp-server/tools/filesUpload.ts
|
|
87860
|
-
var
|
|
87663
|
+
var args79, tool$filesUpload;
|
|
87861
87664
|
var init_filesUpload2 = __esm(() => {
|
|
87862
87665
|
init_filesUpload();
|
|
87863
87666
|
init_operations();
|
|
87864
87667
|
init_tools();
|
|
87865
|
-
|
|
87668
|
+
args79 = {
|
|
87866
87669
|
request: UploadFileRequest$inboundSchema
|
|
87867
87670
|
};
|
|
87868
87671
|
tool$filesUpload = {
|
|
@@ -87874,9 +87677,9 @@ and png.
|
|
|
87874
87677
|
|
|
87875
87678
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87876
87679
|
you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
87877
|
-
args:
|
|
87878
|
-
tool: async (client,
|
|
87879
|
-
const [result, apiCall] = await filesUpload(client,
|
|
87680
|
+
args: args79,
|
|
87681
|
+
tool: async (client, args80, ctx) => {
|
|
87682
|
+
const [result, apiCall] = await filesUpload(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
87880
87683
|
if (!result.ok) {
|
|
87881
87684
|
return {
|
|
87882
87685
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -87891,9 +87694,9 @@ you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
|
87891
87694
|
|
|
87892
87695
|
// src/funcs/imagesDelete.ts
|
|
87893
87696
|
function imagesDelete(client, request, options) {
|
|
87894
|
-
return new APIPromise($
|
|
87697
|
+
return new APIPromise($do80(client, request, options));
|
|
87895
87698
|
}
|
|
87896
|
-
async function $
|
|
87699
|
+
async function $do80(client, request, options) {
|
|
87897
87700
|
const parsed = safeParse4(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
87898
87701
|
if (!parsed.ok) {
|
|
87899
87702
|
return [parsed, { status: "invalid" }];
|
|
@@ -87986,12 +87789,12 @@ var init_imagesDelete = __esm(() => {
|
|
|
87986
87789
|
});
|
|
87987
87790
|
|
|
87988
87791
|
// src/mcp-server/tools/imagesDelete.ts
|
|
87989
|
-
var
|
|
87792
|
+
var args80, tool$imagesDelete;
|
|
87990
87793
|
var init_imagesDelete2 = __esm(() => {
|
|
87991
87794
|
init_imagesDelete();
|
|
87992
87795
|
init_operations();
|
|
87993
87796
|
init_tools();
|
|
87994
|
-
|
|
87797
|
+
args80 = {
|
|
87995
87798
|
request: DeleteImageRequest$inboundSchema
|
|
87996
87799
|
};
|
|
87997
87800
|
tool$imagesDelete = {
|
|
@@ -88000,9 +87803,9 @@ var init_imagesDelete2 = __esm(() => {
|
|
|
88000
87803
|
|
|
88001
87804
|
Disabled images are still be accessible via their public URL, and cannot be assigned
|
|
88002
87805
|
to products or line-items.`,
|
|
88003
|
-
args:
|
|
88004
|
-
tool: async (client,
|
|
88005
|
-
const [result, apiCall] = await imagesDelete(client,
|
|
87806
|
+
args: args80,
|
|
87807
|
+
tool: async (client, args81, ctx) => {
|
|
87808
|
+
const [result, apiCall] = await imagesDelete(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
88006
87809
|
if (!result.ok) {
|
|
88007
87810
|
return {
|
|
88008
87811
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88016,9 +87819,9 @@ var init_imagesDelete2 = __esm(() => {
|
|
|
88016
87819
|
|
|
88017
87820
|
// src/funcs/imagesGetMetadata.ts
|
|
88018
87821
|
function imagesGetMetadata(client, request, options) {
|
|
88019
|
-
return new APIPromise($
|
|
87822
|
+
return new APIPromise($do81(client, request, options));
|
|
88020
87823
|
}
|
|
88021
|
-
async function $
|
|
87824
|
+
async function $do81(client, request, options) {
|
|
88022
87825
|
const parsed = safeParse4(request, (value) => GetImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
88023
87826
|
if (!parsed.ok) {
|
|
88024
87827
|
return [parsed, { status: "invalid" }];
|
|
@@ -88100,20 +87903,20 @@ var init_imagesGetMetadata = __esm(() => {
|
|
|
88100
87903
|
});
|
|
88101
87904
|
|
|
88102
87905
|
// src/mcp-server/tools/imagesGetMetadata.ts
|
|
88103
|
-
var
|
|
87906
|
+
var args81, tool$imagesGetMetadata;
|
|
88104
87907
|
var init_imagesGetMetadata2 = __esm(() => {
|
|
88105
87908
|
init_imagesGetMetadata();
|
|
88106
87909
|
init_operations();
|
|
88107
87910
|
init_tools();
|
|
88108
|
-
|
|
87911
|
+
args81 = {
|
|
88109
87912
|
request: GetImageMetadataRequest$inboundSchema
|
|
88110
87913
|
};
|
|
88111
87914
|
tool$imagesGetMetadata = {
|
|
88112
87915
|
name: "images-get-metadata",
|
|
88113
87916
|
description: `Retrieve metadata for a specific image by its ID.`,
|
|
88114
|
-
args:
|
|
88115
|
-
tool: async (client,
|
|
88116
|
-
const [result, apiCall] = await imagesGetMetadata(client,
|
|
87917
|
+
args: args81,
|
|
87918
|
+
tool: async (client, args82, ctx) => {
|
|
87919
|
+
const [result, apiCall] = await imagesGetMetadata(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
88117
87920
|
if (!result.ok) {
|
|
88118
87921
|
return {
|
|
88119
87922
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88128,9 +87931,9 @@ var init_imagesGetMetadata2 = __esm(() => {
|
|
|
88128
87931
|
|
|
88129
87932
|
// src/funcs/imagesGetPublic.ts
|
|
88130
87933
|
function imagesGetPublic(client, request, options) {
|
|
88131
|
-
return new APIPromise($
|
|
87934
|
+
return new APIPromise($do82(client, request, options));
|
|
88132
87935
|
}
|
|
88133
|
-
async function $
|
|
87936
|
+
async function $do82(client, request, options) {
|
|
88134
87937
|
const parsed = safeParse4(request, (value) => GetPublicImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
88135
87938
|
if (!parsed.ok) {
|
|
88136
87939
|
return [parsed, { status: "invalid" }];
|
|
@@ -88222,20 +88025,20 @@ var init_imagesGetPublic = __esm(() => {
|
|
|
88222
88025
|
});
|
|
88223
88026
|
|
|
88224
88027
|
// src/mcp-server/tools/imagesGetPublic.ts
|
|
88225
|
-
var
|
|
88028
|
+
var args82, tool$imagesGetPublic;
|
|
88226
88029
|
var init_imagesGetPublic2 = __esm(() => {
|
|
88227
88030
|
init_imagesGetPublic();
|
|
88228
88031
|
init_operations();
|
|
88229
88032
|
init_tools();
|
|
88230
|
-
|
|
88033
|
+
args82 = {
|
|
88231
88034
|
request: GetPublicImageRequest$inboundSchema
|
|
88232
88035
|
};
|
|
88233
88036
|
tool$imagesGetPublic = {
|
|
88234
88037
|
name: "images-get-public",
|
|
88235
88038
|
description: `Get an image by its public ID.`,
|
|
88236
|
-
args:
|
|
88237
|
-
tool: async (client,
|
|
88238
|
-
const [result, apiCall] = await imagesGetPublic(client,
|
|
88039
|
+
args: args82,
|
|
88040
|
+
tool: async (client, args83, ctx) => {
|
|
88041
|
+
const [result, apiCall] = await imagesGetPublic(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
88239
88042
|
if (!result.ok) {
|
|
88240
88043
|
return {
|
|
88241
88044
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88250,9 +88053,9 @@ var init_imagesGetPublic2 = __esm(() => {
|
|
|
88250
88053
|
|
|
88251
88054
|
// src/funcs/imagesList.ts
|
|
88252
88055
|
function imagesList(client, request, options) {
|
|
88253
|
-
return new APIPromise($
|
|
88056
|
+
return new APIPromise($do83(client, request, options));
|
|
88254
88057
|
}
|
|
88255
|
-
async function $
|
|
88058
|
+
async function $do83(client, request, options) {
|
|
88256
88059
|
const parsed = safeParse4(request, (value) => ListImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
88257
88060
|
if (!parsed.ok) {
|
|
88258
88061
|
return [parsed, { status: "invalid" }];
|
|
@@ -88335,20 +88138,20 @@ var init_imagesList = __esm(() => {
|
|
|
88335
88138
|
});
|
|
88336
88139
|
|
|
88337
88140
|
// src/mcp-server/tools/imagesList.ts
|
|
88338
|
-
var
|
|
88141
|
+
var args83, tool$imagesList;
|
|
88339
88142
|
var init_imagesList2 = __esm(() => {
|
|
88340
88143
|
init_imagesList();
|
|
88341
88144
|
init_operations();
|
|
88342
88145
|
init_tools();
|
|
88343
|
-
|
|
88146
|
+
args83 = {
|
|
88344
88147
|
request: ListImageMetadataRequest$inboundSchema
|
|
88345
88148
|
};
|
|
88346
88149
|
tool$imagesList = {
|
|
88347
88150
|
name: "images-list",
|
|
88348
88151
|
description: `List metadata for all images in the specified account.`,
|
|
88349
|
-
args:
|
|
88350
|
-
tool: async (client,
|
|
88351
|
-
const [result, apiCall] = await imagesList(client,
|
|
88152
|
+
args: args83,
|
|
88153
|
+
tool: async (client, args84, ctx) => {
|
|
88154
|
+
const [result, apiCall] = await imagesList(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
88352
88155
|
if (!result.ok) {
|
|
88353
88156
|
return {
|
|
88354
88157
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88363,9 +88166,9 @@ var init_imagesList2 = __esm(() => {
|
|
|
88363
88166
|
|
|
88364
88167
|
// src/funcs/imagesUpdate.ts
|
|
88365
88168
|
function imagesUpdate(client, request, options) {
|
|
88366
|
-
return new APIPromise($
|
|
88169
|
+
return new APIPromise($do84(client, request, options));
|
|
88367
88170
|
}
|
|
88368
|
-
async function $
|
|
88171
|
+
async function $do84(client, request, options) {
|
|
88369
88172
|
const parsed = safeParse4(request, (value) => UpdateImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
88370
88173
|
if (!parsed.ok) {
|
|
88371
88174
|
return [parsed, { status: "invalid" }];
|
|
@@ -88481,12 +88284,12 @@ var init_imagesUpdate = __esm(() => {
|
|
|
88481
88284
|
});
|
|
88482
88285
|
|
|
88483
88286
|
// src/mcp-server/tools/imagesUpdate.ts
|
|
88484
|
-
var
|
|
88287
|
+
var args84, tool$imagesUpdate;
|
|
88485
88288
|
var init_imagesUpdate2 = __esm(() => {
|
|
88486
88289
|
init_imagesUpdate();
|
|
88487
88290
|
init_operations();
|
|
88488
88291
|
init_tools();
|
|
88489
|
-
|
|
88292
|
+
args84 = {
|
|
88490
88293
|
request: UpdateImageRequest$inboundSchema
|
|
88491
88294
|
};
|
|
88492
88295
|
tool$imagesUpdate = {
|
|
@@ -88495,9 +88298,9 @@ var init_imagesUpdate2 = __esm(() => {
|
|
|
88495
88298
|
|
|
88496
88299
|
This endpoint replaces the existing image with the new PNG, JPEG, or WebP. Omit
|
|
88497
88300
|
the metadata form section to keep existing metadata. Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
88498
|
-
args:
|
|
88499
|
-
tool: async (client,
|
|
88500
|
-
const [result, apiCall] = await imagesUpdate(client,
|
|
88301
|
+
args: args84,
|
|
88302
|
+
tool: async (client, args85, ctx) => {
|
|
88303
|
+
const [result, apiCall] = await imagesUpdate(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
88501
88304
|
if (!result.ok) {
|
|
88502
88305
|
return {
|
|
88503
88306
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88512,9 +88315,9 @@ the metadata form section to keep existing metadata. Duplicate images, and reque
|
|
|
88512
88315
|
|
|
88513
88316
|
// src/funcs/imagesUpdateMetadata.ts
|
|
88514
88317
|
function imagesUpdateMetadata(client, request, options) {
|
|
88515
|
-
return new APIPromise($
|
|
88318
|
+
return new APIPromise($do85(client, request, options));
|
|
88516
88319
|
}
|
|
88517
|
-
async function $
|
|
88320
|
+
async function $do85(client, request, options) {
|
|
88518
88321
|
const parsed = safeParse4(request, (value) => UpdateImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
88519
88322
|
if (!parsed.ok) {
|
|
88520
88323
|
return [parsed, { status: "invalid" }];
|
|
@@ -88614,20 +88417,20 @@ var init_imagesUpdateMetadata = __esm(() => {
|
|
|
88614
88417
|
});
|
|
88615
88418
|
|
|
88616
88419
|
// src/mcp-server/tools/imagesUpdateMetadata.ts
|
|
88617
|
-
var
|
|
88420
|
+
var args85, tool$imagesUpdateMetadata;
|
|
88618
88421
|
var init_imagesUpdateMetadata2 = __esm(() => {
|
|
88619
88422
|
init_imagesUpdateMetadata();
|
|
88620
88423
|
init_operations();
|
|
88621
88424
|
init_tools();
|
|
88622
|
-
|
|
88425
|
+
args85 = {
|
|
88623
88426
|
request: UpdateImageMetadataRequest$inboundSchema
|
|
88624
88427
|
};
|
|
88625
88428
|
tool$imagesUpdateMetadata = {
|
|
88626
88429
|
name: "images-update-metadata",
|
|
88627
88430
|
description: `Replace the metadata for an existing image.`,
|
|
88628
|
-
args:
|
|
88629
|
-
tool: async (client,
|
|
88630
|
-
const [result, apiCall] = await imagesUpdateMetadata(client,
|
|
88431
|
+
args: args85,
|
|
88432
|
+
tool: async (client, args86, ctx) => {
|
|
88433
|
+
const [result, apiCall] = await imagesUpdateMetadata(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
88631
88434
|
if (!result.ok) {
|
|
88632
88435
|
return {
|
|
88633
88436
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88642,9 +88445,9 @@ var init_imagesUpdateMetadata2 = __esm(() => {
|
|
|
88642
88445
|
|
|
88643
88446
|
// src/funcs/imagesUpload.ts
|
|
88644
88447
|
function imagesUpload(client, request, options) {
|
|
88645
|
-
return new APIPromise($
|
|
88448
|
+
return new APIPromise($do86(client, request, options));
|
|
88646
88449
|
}
|
|
88647
|
-
async function $
|
|
88450
|
+
async function $do86(client, request, options) {
|
|
88648
88451
|
const parsed = safeParse4(request, (value) => UploadImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
88649
88452
|
if (!parsed.ok) {
|
|
88650
88453
|
return [parsed, { status: "invalid" }];
|
|
@@ -88756,21 +88559,21 @@ var init_imagesUpload = __esm(() => {
|
|
|
88756
88559
|
});
|
|
88757
88560
|
|
|
88758
88561
|
// src/mcp-server/tools/imagesUpload.ts
|
|
88759
|
-
var
|
|
88562
|
+
var args86, tool$imagesUpload;
|
|
88760
88563
|
var init_imagesUpload2 = __esm(() => {
|
|
88761
88564
|
init_imagesUpload();
|
|
88762
88565
|
init_operations();
|
|
88763
88566
|
init_tools();
|
|
88764
|
-
|
|
88567
|
+
args86 = {
|
|
88765
88568
|
request: UploadImageRequest$inboundSchema
|
|
88766
88569
|
};
|
|
88767
88570
|
tool$imagesUpload = {
|
|
88768
88571
|
name: "images-upload",
|
|
88769
88572
|
description: ` Upload a new PNG, JPEG, or WebP image with optional metadata.
|
|
88770
88573
|
Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
88771
|
-
args:
|
|
88772
|
-
tool: async (client,
|
|
88773
|
-
const [result, apiCall] = await imagesUpload(client,
|
|
88574
|
+
args: args86,
|
|
88575
|
+
tool: async (client, args87, ctx) => {
|
|
88576
|
+
const [result, apiCall] = await imagesUpload(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
88774
88577
|
if (!result.ok) {
|
|
88775
88578
|
return {
|
|
88776
88579
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88785,9 +88588,9 @@ var init_imagesUpload2 = __esm(() => {
|
|
|
88785
88588
|
|
|
88786
88589
|
// src/funcs/industriesList.ts
|
|
88787
88590
|
function industriesList(client, _request, options) {
|
|
88788
|
-
return new APIPromise($
|
|
88591
|
+
return new APIPromise($do87(client, _request, options));
|
|
88789
88592
|
}
|
|
88790
|
-
async function $
|
|
88593
|
+
async function $do87(client, _request, options) {
|
|
88791
88594
|
const path = pathToFunc("/industries")();
|
|
88792
88595
|
const headers = new Headers(compactMap({
|
|
88793
88596
|
Accept: "application/json",
|
|
@@ -88851,12 +88654,12 @@ var init_industriesList = __esm(() => {
|
|
|
88851
88654
|
});
|
|
88852
88655
|
|
|
88853
88656
|
// src/mcp-server/tools/industriesList.ts
|
|
88854
|
-
var
|
|
88657
|
+
var args87, tool$industriesList;
|
|
88855
88658
|
var init_industriesList2 = __esm(() => {
|
|
88856
88659
|
init_industriesList();
|
|
88857
88660
|
init_operations();
|
|
88858
88661
|
init_tools();
|
|
88859
|
-
|
|
88662
|
+
args87 = {
|
|
88860
88663
|
request: ListIndustriesRequest$inboundSchema
|
|
88861
88664
|
};
|
|
88862
88665
|
tool$industriesList = {
|
|
@@ -88865,9 +88668,9 @@ var init_industriesList2 = __esm(() => {
|
|
|
88865
88668
|
|
|
88866
88669
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
88867
88670
|
you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
88868
|
-
args:
|
|
88869
|
-
tool: async (client,
|
|
88870
|
-
const [result, apiCall] = await industriesList(client,
|
|
88671
|
+
args: args87,
|
|
88672
|
+
tool: async (client, args88, ctx) => {
|
|
88673
|
+
const [result, apiCall] = await industriesList(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
88871
88674
|
if (!result.ok) {
|
|
88872
88675
|
return {
|
|
88873
88676
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88882,9 +88685,9 @@ you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
|
88882
88685
|
|
|
88883
88686
|
// src/funcs/institutionsSearch.ts
|
|
88884
88687
|
function institutionsSearch(client, request, options) {
|
|
88885
|
-
return new APIPromise($
|
|
88688
|
+
return new APIPromise($do88(client, request, options));
|
|
88886
88689
|
}
|
|
88887
|
-
async function $
|
|
88690
|
+
async function $do88(client, request, options) {
|
|
88888
88691
|
const parsed = safeParse4(request, (value) => ListInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
88889
88692
|
if (!parsed.ok) {
|
|
88890
88693
|
return [parsed, { status: "invalid" }];
|
|
@@ -88964,12 +88767,12 @@ var init_institutionsSearch = __esm(() => {
|
|
|
88964
88767
|
});
|
|
88965
88768
|
|
|
88966
88769
|
// src/mcp-server/tools/institutionsSearch.ts
|
|
88967
|
-
var
|
|
88770
|
+
var args88, tool$institutionsSearch;
|
|
88968
88771
|
var init_institutionsSearch2 = __esm(() => {
|
|
88969
88772
|
init_institutionsSearch();
|
|
88970
88773
|
init_operations();
|
|
88971
88774
|
init_tools();
|
|
88972
|
-
|
|
88775
|
+
args88 = {
|
|
88973
88776
|
request: ListInstitutionsRequest$inboundSchema
|
|
88974
88777
|
};
|
|
88975
88778
|
tool$institutionsSearch = {
|
|
@@ -88980,9 +88783,9 @@ Search for institutions by either their name or routing number.
|
|
|
88980
88783
|
|
|
88981
88784
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
88982
88785
|
you'll need to specify the \`/fed.read\` scope.`,
|
|
88983
|
-
args:
|
|
88984
|
-
tool: async (client,
|
|
88985
|
-
const [result, apiCall] = await institutionsSearch(client,
|
|
88786
|
+
args: args88,
|
|
88787
|
+
tool: async (client, args89, ctx) => {
|
|
88788
|
+
const [result, apiCall] = await institutionsSearch(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
88986
88789
|
if (!result.ok) {
|
|
88987
88790
|
return {
|
|
88988
88791
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -88997,9 +88800,9 @@ you'll need to specify the \`/fed.read\` scope.`,
|
|
|
88997
88800
|
|
|
88998
88801
|
// src/funcs/institutionsSearchInstitutions.ts
|
|
88999
88802
|
function institutionsSearchInstitutions(client, request, options) {
|
|
89000
|
-
return new APIPromise($
|
|
88803
|
+
return new APIPromise($do89(client, request, options));
|
|
89001
88804
|
}
|
|
89002
|
-
async function $
|
|
88805
|
+
async function $do89(client, request, options) {
|
|
89003
88806
|
const parsed = safeParse4(request, (value) => SearchInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
89004
88807
|
if (!parsed.ok) {
|
|
89005
88808
|
return [parsed, { status: "invalid" }];
|
|
@@ -89077,12 +88880,12 @@ var init_institutionsSearchInstitutions = __esm(() => {
|
|
|
89077
88880
|
});
|
|
89078
88881
|
|
|
89079
88882
|
// src/mcp-server/tools/institutionsSearchInstitutions.ts
|
|
89080
|
-
var
|
|
88883
|
+
var args89, tool$institutionsSearchInstitutions;
|
|
89081
88884
|
var init_institutionsSearchInstitutions2 = __esm(() => {
|
|
89082
88885
|
init_institutionsSearchInstitutions();
|
|
89083
88886
|
init_operations();
|
|
89084
88887
|
init_tools();
|
|
89085
|
-
|
|
88888
|
+
args89 = {
|
|
89086
88889
|
request: SearchInstitutionsRequest$inboundSchema
|
|
89087
88890
|
};
|
|
89088
88891
|
tool$institutionsSearchInstitutions = {
|
|
@@ -89095,9 +88898,9 @@ This can be used to validate a financial institution before initiating payment a
|
|
|
89095
88898
|
|
|
89096
88899
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
89097
88900
|
you'll need to specify the \`/institutions.read\` scope.`,
|
|
89098
|
-
args:
|
|
89099
|
-
tool: async (client,
|
|
89100
|
-
const [result, apiCall] = await institutionsSearchInstitutions(client,
|
|
88901
|
+
args: args89,
|
|
88902
|
+
tool: async (client, args90, ctx) => {
|
|
88903
|
+
const [result, apiCall] = await institutionsSearchInstitutions(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
89101
88904
|
if (!result.ok) {
|
|
89102
88905
|
return {
|
|
89103
88906
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -89112,9 +88915,9 @@ you'll need to specify the \`/institutions.read\` scope.`,
|
|
|
89112
88915
|
|
|
89113
88916
|
// src/funcs/issuingTransactionsGet.ts
|
|
89114
88917
|
function issuingTransactionsGet(client, request, options) {
|
|
89115
|
-
return new APIPromise($
|
|
88918
|
+
return new APIPromise($do90(client, request, options));
|
|
89116
88919
|
}
|
|
89117
|
-
async function $
|
|
88920
|
+
async function $do90(client, request, options) {
|
|
89118
88921
|
const parsed = safeParse4(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
89119
88922
|
if (!parsed.ok) {
|
|
89120
88923
|
return [parsed, { status: "invalid" }];
|
|
@@ -89193,12 +88996,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
89193
88996
|
});
|
|
89194
88997
|
|
|
89195
88998
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
89196
|
-
var
|
|
88999
|
+
var args90, tool$issuingTransactionsGet;
|
|
89197
89000
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
89198
89001
|
init_issuingTransactionsGet();
|
|
89199
89002
|
init_operations();
|
|
89200
89003
|
init_tools();
|
|
89201
|
-
|
|
89004
|
+
args90 = {
|
|
89202
89005
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
89203
89006
|
};
|
|
89204
89007
|
tool$issuingTransactionsGet = {
|
|
@@ -89207,9 +89010,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
89207
89010
|
|
|
89208
89011
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
89209
89012
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
89210
|
-
args:
|
|
89211
|
-
tool: async (client,
|
|
89212
|
-
const [result, apiCall] = await issuingTransactionsGet(client,
|
|
89013
|
+
args: args90,
|
|
89014
|
+
tool: async (client, args91, ctx) => {
|
|
89015
|
+
const [result, apiCall] = await issuingTransactionsGet(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
89213
89016
|
if (!result.ok) {
|
|
89214
89017
|
return {
|
|
89215
89018
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -89224,9 +89027,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
89224
89027
|
|
|
89225
89028
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
89226
89029
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
89227
|
-
return new APIPromise($
|
|
89030
|
+
return new APIPromise($do91(client, request, options));
|
|
89228
89031
|
}
|
|
89229
|
-
async function $
|
|
89032
|
+
async function $do91(client, request, options) {
|
|
89230
89033
|
const parsed = safeParse4(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
89231
89034
|
if (!parsed.ok) {
|
|
89232
89035
|
return [parsed, { status: "invalid" }];
|
|
@@ -89308,12 +89111,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
89308
89111
|
});
|
|
89309
89112
|
|
|
89310
89113
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
89311
|
-
var
|
|
89114
|
+
var args91, tool$issuingTransactionsGetAuthorization;
|
|
89312
89115
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
89313
89116
|
init_issuingTransactionsGetAuthorization();
|
|
89314
89117
|
init_operations();
|
|
89315
89118
|
init_tools();
|
|
89316
|
-
|
|
89119
|
+
args91 = {
|
|
89317
89120
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
89318
89121
|
};
|
|
89319
89122
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -89322,9 +89125,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
89322
89125
|
|
|
89323
89126
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
89324
89127
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
89325
|
-
args:
|
|
89326
|
-
tool: async (client,
|
|
89327
|
-
const [result, apiCall] = await issuingTransactionsGetAuthorization(client,
|
|
89128
|
+
args: args91,
|
|
89129
|
+
tool: async (client, args92, ctx) => {
|
|
89130
|
+
const [result, apiCall] = await issuingTransactionsGetAuthorization(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
89328
89131
|
if (!result.ok) {
|
|
89329
89132
|
return {
|
|
89330
89133
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -89339,9 +89142,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
89339
89142
|
|
|
89340
89143
|
// src/funcs/issuingTransactionsList.ts
|
|
89341
89144
|
function issuingTransactionsList(client, request, options) {
|
|
89342
|
-
return new APIPromise($
|
|
89145
|
+
return new APIPromise($do92(client, request, options));
|
|
89343
89146
|
}
|
|
89344
|
-
async function $
|
|
89147
|
+
async function $do92(client, request, options) {
|
|
89345
89148
|
const parsed = safeParse4(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
89346
89149
|
if (!parsed.ok) {
|
|
89347
89150
|
return [parsed, { status: "invalid" }];
|
|
@@ -89427,12 +89230,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
89427
89230
|
});
|
|
89428
89231
|
|
|
89429
89232
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
89430
|
-
var
|
|
89233
|
+
var args92, tool$issuingTransactionsList;
|
|
89431
89234
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
89432
89235
|
init_issuingTransactionsList();
|
|
89433
89236
|
init_operations();
|
|
89434
89237
|
init_tools();
|
|
89435
|
-
|
|
89238
|
+
args92 = {
|
|
89436
89239
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
89437
89240
|
};
|
|
89438
89241
|
tool$issuingTransactionsList = {
|
|
@@ -89441,9 +89244,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
89441
89244
|
|
|
89442
89245
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
89443
89246
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
89444
|
-
args:
|
|
89445
|
-
tool: async (client,
|
|
89446
|
-
const [result, apiCall] = await issuingTransactionsList(client,
|
|
89247
|
+
args: args92,
|
|
89248
|
+
tool: async (client, args93, ctx) => {
|
|
89249
|
+
const [result, apiCall] = await issuingTransactionsList(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
89447
89250
|
if (!result.ok) {
|
|
89448
89251
|
return {
|
|
89449
89252
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -89458,9 +89261,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
89458
89261
|
|
|
89459
89262
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
89460
89263
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
89461
|
-
return new APIPromise($
|
|
89264
|
+
return new APIPromise($do93(client, request, options));
|
|
89462
89265
|
}
|
|
89463
|
-
async function $
|
|
89266
|
+
async function $do93(client, request, options) {
|
|
89464
89267
|
const parsed = safeParse4(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
89465
89268
|
if (!parsed.ok) {
|
|
89466
89269
|
return [parsed, { status: "invalid" }];
|
|
@@ -89544,12 +89347,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
89544
89347
|
});
|
|
89545
89348
|
|
|
89546
89349
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
89547
|
-
var
|
|
89350
|
+
var args93, tool$issuingTransactionsListAuthorizationEvents;
|
|
89548
89351
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
89549
89352
|
init_issuingTransactionsListAuthorizationEvents();
|
|
89550
89353
|
init_operations();
|
|
89551
89354
|
init_tools();
|
|
89552
|
-
|
|
89355
|
+
args93 = {
|
|
89553
89356
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
89554
89357
|
};
|
|
89555
89358
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -89558,9 +89361,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
89558
89361
|
|
|
89559
89362
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
89560
89363
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
89561
|
-
args:
|
|
89562
|
-
tool: async (client,
|
|
89563
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client,
|
|
89364
|
+
args: args93,
|
|
89365
|
+
tool: async (client, args94, ctx) => {
|
|
89366
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
89564
89367
|
if (!result.ok) {
|
|
89565
89368
|
return {
|
|
89566
89369
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -89575,9 +89378,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
89575
89378
|
|
|
89576
89379
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
89577
89380
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
89578
|
-
return new APIPromise($
|
|
89381
|
+
return new APIPromise($do94(client, request, options));
|
|
89579
89382
|
}
|
|
89580
|
-
async function $
|
|
89383
|
+
async function $do94(client, request, options) {
|
|
89581
89384
|
const parsed = safeParse4(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
89582
89385
|
if (!parsed.ok) {
|
|
89583
89386
|
return [parsed, { status: "invalid" }];
|
|
@@ -89664,12 +89467,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
89664
89467
|
});
|
|
89665
89468
|
|
|
89666
89469
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
89667
|
-
var
|
|
89470
|
+
var args94, tool$issuingTransactionsListAuthorizations;
|
|
89668
89471
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
89669
89472
|
init_issuingTransactionsListAuthorizations();
|
|
89670
89473
|
init_operations();
|
|
89671
89474
|
init_tools();
|
|
89672
|
-
|
|
89475
|
+
args94 = {
|
|
89673
89476
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
89674
89477
|
};
|
|
89675
89478
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -89678,9 +89481,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
89678
89481
|
|
|
89679
89482
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
89680
89483
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
89681
|
-
args:
|
|
89682
|
-
tool: async (client,
|
|
89683
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizations(client,
|
|
89484
|
+
args: args94,
|
|
89485
|
+
tool: async (client, args95, ctx) => {
|
|
89486
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizations(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
89684
89487
|
if (!result.ok) {
|
|
89685
89488
|
return {
|
|
89686
89489
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -89695,9 +89498,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
89695
89498
|
|
|
89696
89499
|
// src/funcs/onboardingCreateInvite.ts
|
|
89697
89500
|
function onboardingCreateInvite(client, request, options) {
|
|
89698
|
-
return new APIPromise($
|
|
89501
|
+
return new APIPromise($do95(client, request, options));
|
|
89699
89502
|
}
|
|
89700
|
-
async function $
|
|
89503
|
+
async function $do95(client, request, options) {
|
|
89701
89504
|
const parsed = safeParse4(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
89702
89505
|
if (!parsed.ok) {
|
|
89703
89506
|
return [parsed, { status: "invalid" }];
|
|
@@ -89784,12 +89587,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
89784
89587
|
});
|
|
89785
89588
|
|
|
89786
89589
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
89787
|
-
var
|
|
89590
|
+
var args95, tool$onboardingCreateInvite;
|
|
89788
89591
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
89789
89592
|
init_onboardingCreateInvite();
|
|
89790
89593
|
init_components();
|
|
89791
89594
|
init_tools();
|
|
89792
|
-
|
|
89595
|
+
args95 = {
|
|
89793
89596
|
request: OnboardingInviteRequest$inboundSchema
|
|
89794
89597
|
};
|
|
89795
89598
|
tool$onboardingCreateInvite = {
|
|
@@ -89798,9 +89601,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
89798
89601
|
|
|
89799
89602
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
89800
89603
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
89801
|
-
args:
|
|
89802
|
-
tool: async (client,
|
|
89803
|
-
const [result, apiCall] = await onboardingCreateInvite(client,
|
|
89604
|
+
args: args95,
|
|
89605
|
+
tool: async (client, args96, ctx) => {
|
|
89606
|
+
const [result, apiCall] = await onboardingCreateInvite(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
89804
89607
|
if (!result.ok) {
|
|
89805
89608
|
return {
|
|
89806
89609
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -89815,9 +89618,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
89815
89618
|
|
|
89816
89619
|
// src/funcs/onboardingGetInvite.ts
|
|
89817
89620
|
function onboardingGetInvite(client, request, options) {
|
|
89818
|
-
return new APIPromise($
|
|
89621
|
+
return new APIPromise($do96(client, request, options));
|
|
89819
89622
|
}
|
|
89820
|
-
async function $
|
|
89623
|
+
async function $do96(client, request, options) {
|
|
89821
89624
|
const parsed = safeParse4(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
89822
89625
|
if (!parsed.ok) {
|
|
89823
89626
|
return [parsed, { status: "invalid" }];
|
|
@@ -89895,12 +89698,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
89895
89698
|
});
|
|
89896
89699
|
|
|
89897
89700
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
89898
|
-
var
|
|
89701
|
+
var args96, tool$onboardingGetInvite;
|
|
89899
89702
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
89900
89703
|
init_onboardingGetInvite();
|
|
89901
89704
|
init_operations();
|
|
89902
89705
|
init_tools();
|
|
89903
|
-
|
|
89706
|
+
args96 = {
|
|
89904
89707
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
89905
89708
|
};
|
|
89906
89709
|
tool$onboardingGetInvite = {
|
|
@@ -89909,9 +89712,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
89909
89712
|
|
|
89910
89713
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
89911
89714
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
89912
|
-
args:
|
|
89913
|
-
tool: async (client,
|
|
89914
|
-
const [result, apiCall] = await onboardingGetInvite(client,
|
|
89715
|
+
args: args96,
|
|
89716
|
+
tool: async (client, args97, ctx) => {
|
|
89717
|
+
const [result, apiCall] = await onboardingGetInvite(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
89915
89718
|
if (!result.ok) {
|
|
89916
89719
|
return {
|
|
89917
89720
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -89926,9 +89729,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
89926
89729
|
|
|
89927
89730
|
// src/funcs/onboardingListInvites.ts
|
|
89928
89731
|
function onboardingListInvites(client, _request, options) {
|
|
89929
|
-
return new APIPromise($
|
|
89732
|
+
return new APIPromise($do97(client, _request, options));
|
|
89930
89733
|
}
|
|
89931
|
-
async function $
|
|
89734
|
+
async function $do97(client, _request, options) {
|
|
89932
89735
|
const path = pathToFunc("/onboarding-invites")();
|
|
89933
89736
|
const headers = new Headers(compactMap({
|
|
89934
89737
|
Accept: "application/json",
|
|
@@ -89992,12 +89795,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
89992
89795
|
});
|
|
89993
89796
|
|
|
89994
89797
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
89995
|
-
var
|
|
89798
|
+
var args97, tool$onboardingListInvites;
|
|
89996
89799
|
var init_onboardingListInvites2 = __esm(() => {
|
|
89997
89800
|
init_onboardingListInvites();
|
|
89998
89801
|
init_operations();
|
|
89999
89802
|
init_tools();
|
|
90000
|
-
|
|
89803
|
+
args97 = {
|
|
90001
89804
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
90002
89805
|
};
|
|
90003
89806
|
tool$onboardingListInvites = {
|
|
@@ -90006,9 +89809,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
90006
89809
|
|
|
90007
89810
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
90008
89811
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
90009
|
-
args:
|
|
90010
|
-
tool: async (client,
|
|
90011
|
-
const [result, apiCall] = await onboardingListInvites(client,
|
|
89812
|
+
args: args97,
|
|
89813
|
+
tool: async (client, args98, ctx) => {
|
|
89814
|
+
const [result, apiCall] = await onboardingListInvites(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
90012
89815
|
if (!result.ok) {
|
|
90013
89816
|
return {
|
|
90014
89817
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -90023,9 +89826,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
90023
89826
|
|
|
90024
89827
|
// src/funcs/onboardingRevokeInvite.ts
|
|
90025
89828
|
function onboardingRevokeInvite(client, request, options) {
|
|
90026
|
-
return new APIPromise($
|
|
89829
|
+
return new APIPromise($do98(client, request, options));
|
|
90027
89830
|
}
|
|
90028
|
-
async function $
|
|
89831
|
+
async function $do98(client, request, options) {
|
|
90029
89832
|
const parsed = safeParse4(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
90030
89833
|
if (!parsed.ok) {
|
|
90031
89834
|
return [parsed, { status: "invalid" }];
|
|
@@ -90100,12 +89903,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
90100
89903
|
});
|
|
90101
89904
|
|
|
90102
89905
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
90103
|
-
var
|
|
89906
|
+
var args98, tool$onboardingRevokeInvite;
|
|
90104
89907
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
90105
89908
|
init_onboardingRevokeInvite();
|
|
90106
89909
|
init_operations();
|
|
90107
89910
|
init_tools();
|
|
90108
|
-
|
|
89911
|
+
args98 = {
|
|
90109
89912
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
90110
89913
|
};
|
|
90111
89914
|
tool$onboardingRevokeInvite = {
|
|
@@ -90114,9 +89917,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
90114
89917
|
|
|
90115
89918
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
90116
89919
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
90117
|
-
args:
|
|
90118
|
-
tool: async (client,
|
|
90119
|
-
const [result, apiCall] = await onboardingRevokeInvite(client,
|
|
89920
|
+
args: args98,
|
|
89921
|
+
tool: async (client, args99, ctx) => {
|
|
89922
|
+
const [result, apiCall] = await onboardingRevokeInvite(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
90120
89923
|
if (!result.ok) {
|
|
90121
89924
|
return {
|
|
90122
89925
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -90130,9 +89933,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
90130
89933
|
|
|
90131
89934
|
// src/funcs/paymentLinksCreate.ts
|
|
90132
89935
|
function paymentLinksCreate(client, request, options) {
|
|
90133
|
-
return new APIPromise($
|
|
89936
|
+
return new APIPromise($do99(client, request, options));
|
|
90134
89937
|
}
|
|
90135
|
-
async function $
|
|
89938
|
+
async function $do99(client, request, options) {
|
|
90136
89939
|
const parsed = safeParse4(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
90137
89940
|
if (!parsed.ok) {
|
|
90138
89941
|
return [parsed, { status: "invalid" }];
|
|
@@ -90224,12 +90027,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
90224
90027
|
});
|
|
90225
90028
|
|
|
90226
90029
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
90227
|
-
var
|
|
90030
|
+
var args99, tool$paymentLinksCreate;
|
|
90228
90031
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
90229
90032
|
init_paymentLinksCreate();
|
|
90230
90033
|
init_operations();
|
|
90231
90034
|
init_tools();
|
|
90232
|
-
|
|
90035
|
+
args99 = {
|
|
90233
90036
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
90234
90037
|
};
|
|
90235
90038
|
tool$paymentLinksCreate = {
|
|
@@ -90238,9 +90041,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
90238
90041
|
|
|
90239
90042
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
90240
90043
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
90241
|
-
args:
|
|
90242
|
-
tool: async (client,
|
|
90243
|
-
const [result, apiCall] = await paymentLinksCreate(client,
|
|
90044
|
+
args: args99,
|
|
90045
|
+
tool: async (client, args100, ctx) => {
|
|
90046
|
+
const [result, apiCall] = await paymentLinksCreate(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
90244
90047
|
if (!result.ok) {
|
|
90245
90048
|
return {
|
|
90246
90049
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -90255,9 +90058,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
90255
90058
|
|
|
90256
90059
|
// src/funcs/paymentLinksDisable.ts
|
|
90257
90060
|
function paymentLinksDisable(client, request, options) {
|
|
90258
|
-
return new APIPromise($
|
|
90061
|
+
return new APIPromise($do100(client, request, options));
|
|
90259
90062
|
}
|
|
90260
|
-
async function $
|
|
90063
|
+
async function $do100(client, request, options) {
|
|
90261
90064
|
const parsed = safeParse4(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
90262
90065
|
if (!parsed.ok) {
|
|
90263
90066
|
return [parsed, { status: "invalid" }];
|
|
@@ -90338,12 +90141,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
90338
90141
|
});
|
|
90339
90142
|
|
|
90340
90143
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
90341
|
-
var
|
|
90144
|
+
var args100, tool$paymentLinksDisable;
|
|
90342
90145
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
90343
90146
|
init_paymentLinksDisable();
|
|
90344
90147
|
init_operations();
|
|
90345
90148
|
init_tools();
|
|
90346
|
-
|
|
90149
|
+
args100 = {
|
|
90347
90150
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
90348
90151
|
};
|
|
90349
90152
|
tool$paymentLinksDisable = {
|
|
@@ -90352,9 +90155,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
90352
90155
|
|
|
90353
90156
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
90354
90157
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
90355
|
-
args:
|
|
90356
|
-
tool: async (client,
|
|
90357
|
-
const [result, apiCall] = await paymentLinksDisable(client,
|
|
90158
|
+
args: args100,
|
|
90159
|
+
tool: async (client, args101, ctx) => {
|
|
90160
|
+
const [result, apiCall] = await paymentLinksDisable(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
90358
90161
|
if (!result.ok) {
|
|
90359
90162
|
return {
|
|
90360
90163
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -90368,9 +90171,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
90368
90171
|
|
|
90369
90172
|
// src/funcs/paymentLinksGet.ts
|
|
90370
90173
|
function paymentLinksGet(client, request, options) {
|
|
90371
|
-
return new APIPromise($
|
|
90174
|
+
return new APIPromise($do101(client, request, options));
|
|
90372
90175
|
}
|
|
90373
|
-
async function $
|
|
90176
|
+
async function $do101(client, request, options) {
|
|
90374
90177
|
const parsed = safeParse4(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
90375
90178
|
if (!parsed.ok) {
|
|
90376
90179
|
return [parsed, { status: "invalid" }];
|
|
@@ -90452,12 +90255,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
90452
90255
|
});
|
|
90453
90256
|
|
|
90454
90257
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
90455
|
-
var
|
|
90258
|
+
var args101, tool$paymentLinksGet;
|
|
90456
90259
|
var init_paymentLinksGet2 = __esm(() => {
|
|
90457
90260
|
init_paymentLinksGet();
|
|
90458
90261
|
init_operations();
|
|
90459
90262
|
init_tools();
|
|
90460
|
-
|
|
90263
|
+
args101 = {
|
|
90461
90264
|
request: GetPaymentLinkRequest$inboundSchema
|
|
90462
90265
|
};
|
|
90463
90266
|
tool$paymentLinksGet = {
|
|
@@ -90466,9 +90269,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
90466
90269
|
|
|
90467
90270
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
90468
90271
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
90469
|
-
args:
|
|
90470
|
-
tool: async (client,
|
|
90471
|
-
const [result, apiCall] = await paymentLinksGet(client,
|
|
90272
|
+
args: args101,
|
|
90273
|
+
tool: async (client, args102, ctx) => {
|
|
90274
|
+
const [result, apiCall] = await paymentLinksGet(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
90472
90275
|
if (!result.ok) {
|
|
90473
90276
|
return {
|
|
90474
90277
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -90483,9 +90286,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
90483
90286
|
|
|
90484
90287
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
90485
90288
|
function paymentLinksGetQRCode(client, request, options) {
|
|
90486
|
-
return new APIPromise($
|
|
90289
|
+
return new APIPromise($do102(client, request, options));
|
|
90487
90290
|
}
|
|
90488
|
-
async function $
|
|
90291
|
+
async function $do102(client, request, options) {
|
|
90489
90292
|
const parsed = safeParse4(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
90490
90293
|
if (!parsed.ok) {
|
|
90491
90294
|
return [parsed, { status: "invalid" }];
|
|
@@ -90571,12 +90374,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
90571
90374
|
});
|
|
90572
90375
|
|
|
90573
90376
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
90574
|
-
var
|
|
90377
|
+
var args102, tool$paymentLinksGetQRCode;
|
|
90575
90378
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
90576
90379
|
init_paymentLinksGetQRCode();
|
|
90577
90380
|
init_operations();
|
|
90578
90381
|
init_tools();
|
|
90579
|
-
|
|
90382
|
+
args102 = {
|
|
90580
90383
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
90581
90384
|
};
|
|
90582
90385
|
tool$paymentLinksGetQRCode = {
|
|
@@ -90587,9 +90390,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
90587
90390
|
|
|
90588
90391
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
90589
90392
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
90590
|
-
args:
|
|
90591
|
-
tool: async (client,
|
|
90592
|
-
const [result, apiCall] = await paymentLinksGetQRCode(client,
|
|
90393
|
+
args: args102,
|
|
90394
|
+
tool: async (client, args103, ctx) => {
|
|
90395
|
+
const [result, apiCall] = await paymentLinksGetQRCode(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
90593
90396
|
if (!result.ok) {
|
|
90594
90397
|
return {
|
|
90595
90398
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -90604,9 +90407,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
90604
90407
|
|
|
90605
90408
|
// src/funcs/paymentLinksList.ts
|
|
90606
90409
|
function paymentLinksList(client, request, options) {
|
|
90607
|
-
return new APIPromise($
|
|
90410
|
+
return new APIPromise($do103(client, request, options));
|
|
90608
90411
|
}
|
|
90609
|
-
async function $
|
|
90412
|
+
async function $do103(client, request, options) {
|
|
90610
90413
|
const parsed = safeParse4(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
90611
90414
|
if (!parsed.ok) {
|
|
90612
90415
|
return [parsed, { status: "invalid" }];
|
|
@@ -90691,12 +90494,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
90691
90494
|
});
|
|
90692
90495
|
|
|
90693
90496
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
90694
|
-
var
|
|
90497
|
+
var args103, tool$paymentLinksList;
|
|
90695
90498
|
var init_paymentLinksList2 = __esm(() => {
|
|
90696
90499
|
init_paymentLinksList();
|
|
90697
90500
|
init_operations();
|
|
90698
90501
|
init_tools();
|
|
90699
|
-
|
|
90502
|
+
args103 = {
|
|
90700
90503
|
request: ListPaymentLinksRequest$inboundSchema
|
|
90701
90504
|
};
|
|
90702
90505
|
tool$paymentLinksList = {
|
|
@@ -90705,9 +90508,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
90705
90508
|
|
|
90706
90509
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
90707
90510
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
90708
|
-
args:
|
|
90709
|
-
tool: async (client,
|
|
90710
|
-
const [result, apiCall] = await paymentLinksList(client,
|
|
90511
|
+
args: args103,
|
|
90512
|
+
tool: async (client, args104, ctx) => {
|
|
90513
|
+
const [result, apiCall] = await paymentLinksList(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
90711
90514
|
if (!result.ok) {
|
|
90712
90515
|
return {
|
|
90713
90516
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -90722,9 +90525,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
90722
90525
|
|
|
90723
90526
|
// src/funcs/paymentLinksUpdate.ts
|
|
90724
90527
|
function paymentLinksUpdate(client, request, options) {
|
|
90725
|
-
return new APIPromise($
|
|
90528
|
+
return new APIPromise($do104(client, request, options));
|
|
90726
90529
|
}
|
|
90727
|
-
async function $
|
|
90530
|
+
async function $do104(client, request, options) {
|
|
90728
90531
|
const parsed = safeParse4(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
90729
90532
|
if (!parsed.ok) {
|
|
90730
90533
|
return [parsed, { status: "invalid" }];
|
|
@@ -90820,12 +90623,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
90820
90623
|
});
|
|
90821
90624
|
|
|
90822
90625
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
90823
|
-
var
|
|
90626
|
+
var args104, tool$paymentLinksUpdate;
|
|
90824
90627
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
90825
90628
|
init_paymentLinksUpdate();
|
|
90826
90629
|
init_operations();
|
|
90827
90630
|
init_tools();
|
|
90828
|
-
|
|
90631
|
+
args104 = {
|
|
90829
90632
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
90830
90633
|
};
|
|
90831
90634
|
tool$paymentLinksUpdate = {
|
|
@@ -90834,9 +90637,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
90834
90637
|
|
|
90835
90638
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
90836
90639
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
90837
|
-
args:
|
|
90838
|
-
tool: async (client,
|
|
90839
|
-
const [result, apiCall] = await paymentLinksUpdate(client,
|
|
90640
|
+
args: args104,
|
|
90641
|
+
tool: async (client, args105, ctx) => {
|
|
90642
|
+
const [result, apiCall] = await paymentLinksUpdate(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
90840
90643
|
if (!result.ok) {
|
|
90841
90644
|
return {
|
|
90842
90645
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -90851,9 +90654,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
90851
90654
|
|
|
90852
90655
|
// src/funcs/paymentMethodsGet.ts
|
|
90853
90656
|
function paymentMethodsGet(client, request, options) {
|
|
90854
|
-
return new APIPromise($
|
|
90657
|
+
return new APIPromise($do105(client, request, options));
|
|
90855
90658
|
}
|
|
90856
|
-
async function $
|
|
90659
|
+
async function $do105(client, request, options) {
|
|
90857
90660
|
const parsed = safeParse4(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
90858
90661
|
if (!parsed.ok) {
|
|
90859
90662
|
return [parsed, { status: "invalid" }];
|
|
@@ -90935,12 +90738,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
90935
90738
|
});
|
|
90936
90739
|
|
|
90937
90740
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
90938
|
-
var
|
|
90741
|
+
var args105, tool$paymentMethodsGet;
|
|
90939
90742
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
90940
90743
|
init_paymentMethodsGet();
|
|
90941
90744
|
init_operations();
|
|
90942
90745
|
init_tools();
|
|
90943
|
-
|
|
90746
|
+
args105 = {
|
|
90944
90747
|
request: GetPaymentMethodRequest$inboundSchema
|
|
90945
90748
|
};
|
|
90946
90749
|
tool$paymentMethodsGet = {
|
|
@@ -90949,9 +90752,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
90949
90752
|
|
|
90950
90753
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
90951
90754
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
90952
|
-
args:
|
|
90953
|
-
tool: async (client,
|
|
90954
|
-
const [result, apiCall] = await paymentMethodsGet(client,
|
|
90755
|
+
args: args105,
|
|
90756
|
+
tool: async (client, args106, ctx) => {
|
|
90757
|
+
const [result, apiCall] = await paymentMethodsGet(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
90955
90758
|
if (!result.ok) {
|
|
90956
90759
|
return {
|
|
90957
90760
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -90966,9 +90769,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
90966
90769
|
|
|
90967
90770
|
// src/funcs/paymentMethodsList.ts
|
|
90968
90771
|
function paymentMethodsList(client, request, options) {
|
|
90969
|
-
return new APIPromise($
|
|
90772
|
+
return new APIPromise($do106(client, request, options));
|
|
90970
90773
|
}
|
|
90971
|
-
async function $
|
|
90774
|
+
async function $do106(client, request, options) {
|
|
90972
90775
|
const parsed = safeParse4(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
90973
90776
|
if (!parsed.ok) {
|
|
90974
90777
|
return [parsed, { status: "invalid" }];
|
|
@@ -91051,12 +90854,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
91051
90854
|
});
|
|
91052
90855
|
|
|
91053
90856
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
91054
|
-
var
|
|
90857
|
+
var args106, tool$paymentMethodsList;
|
|
91055
90858
|
var init_paymentMethodsList2 = __esm(() => {
|
|
91056
90859
|
init_paymentMethodsList();
|
|
91057
90860
|
init_operations();
|
|
91058
90861
|
init_tools();
|
|
91059
|
-
|
|
90862
|
+
args106 = {
|
|
91060
90863
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
91061
90864
|
};
|
|
91062
90865
|
tool$paymentMethodsList = {
|
|
@@ -91066,9 +90869,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
91066
90869
|
|
|
91067
90870
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91068
90871
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
91069
|
-
args:
|
|
91070
|
-
tool: async (client,
|
|
91071
|
-
const [result, apiCall] = await paymentMethodsList(client,
|
|
90872
|
+
args: args106,
|
|
90873
|
+
tool: async (client, args107, ctx) => {
|
|
90874
|
+
const [result, apiCall] = await paymentMethodsList(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91072
90875
|
if (!result.ok) {
|
|
91073
90876
|
return {
|
|
91074
90877
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91083,9 +90886,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
91083
90886
|
|
|
91084
90887
|
// src/funcs/pingPing.ts
|
|
91085
90888
|
function pingPing(client, _request, options) {
|
|
91086
|
-
return new APIPromise($
|
|
90889
|
+
return new APIPromise($do107(client, _request, options));
|
|
91087
90890
|
}
|
|
91088
|
-
async function $
|
|
90891
|
+
async function $do107(client, _request, options) {
|
|
91089
90892
|
const path = pathToFunc("/ping")();
|
|
91090
90893
|
const headers = new Headers(compactMap({
|
|
91091
90894
|
Accept: "*/*",
|
|
@@ -91148,12 +90951,12 @@ var init_pingPing = __esm(() => {
|
|
|
91148
90951
|
});
|
|
91149
90952
|
|
|
91150
90953
|
// src/mcp-server/tools/pingPing.ts
|
|
91151
|
-
var
|
|
90954
|
+
var args107, tool$pingPing;
|
|
91152
90955
|
var init_pingPing2 = __esm(() => {
|
|
91153
90956
|
init_pingPing();
|
|
91154
90957
|
init_operations();
|
|
91155
90958
|
init_tools();
|
|
91156
|
-
|
|
90959
|
+
args107 = {
|
|
91157
90960
|
request: PingRequest$inboundSchema
|
|
91158
90961
|
};
|
|
91159
90962
|
tool$pingPing = {
|
|
@@ -91162,9 +90965,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
91162
90965
|
|
|
91163
90966
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91164
90967
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
91165
|
-
args:
|
|
91166
|
-
tool: async (client,
|
|
91167
|
-
const [result, apiCall] = await pingPing(client,
|
|
90968
|
+
args: args107,
|
|
90969
|
+
tool: async (client, args108, ctx) => {
|
|
90970
|
+
const [result, apiCall] = await pingPing(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91168
90971
|
if (!result.ok) {
|
|
91169
90972
|
return {
|
|
91170
90973
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91178,9 +90981,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
91178
90981
|
|
|
91179
90982
|
// src/funcs/productsCreate.ts
|
|
91180
90983
|
function productsCreate(client, request, options) {
|
|
91181
|
-
return new APIPromise($
|
|
90984
|
+
return new APIPromise($do108(client, request, options));
|
|
91182
90985
|
}
|
|
91183
|
-
async function $
|
|
90986
|
+
async function $do108(client, request, options) {
|
|
91184
90987
|
const parsed = safeParse4(request, (value) => CreateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91185
90988
|
if (!parsed.ok) {
|
|
91186
90989
|
return [parsed, { status: "invalid" }];
|
|
@@ -91274,20 +91077,20 @@ var init_productsCreate = __esm(() => {
|
|
|
91274
91077
|
});
|
|
91275
91078
|
|
|
91276
91079
|
// src/mcp-server/tools/productsCreate.ts
|
|
91277
|
-
var
|
|
91080
|
+
var args108, tool$productsCreate;
|
|
91278
91081
|
var init_productsCreate2 = __esm(() => {
|
|
91279
91082
|
init_productsCreate();
|
|
91280
91083
|
init_operations();
|
|
91281
91084
|
init_tools();
|
|
91282
|
-
|
|
91085
|
+
args108 = {
|
|
91283
91086
|
request: CreateProductRequest$inboundSchema
|
|
91284
91087
|
};
|
|
91285
91088
|
tool$productsCreate = {
|
|
91286
91089
|
name: "products-create",
|
|
91287
91090
|
description: `Creates a new product for the specified account.`,
|
|
91288
|
-
args:
|
|
91289
|
-
tool: async (client,
|
|
91290
|
-
const [result, apiCall] = await productsCreate(client,
|
|
91091
|
+
args: args108,
|
|
91092
|
+
tool: async (client, args109, ctx) => {
|
|
91093
|
+
const [result, apiCall] = await productsCreate(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91291
91094
|
if (!result.ok) {
|
|
91292
91095
|
return {
|
|
91293
91096
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91302,9 +91105,9 @@ var init_productsCreate2 = __esm(() => {
|
|
|
91302
91105
|
|
|
91303
91106
|
// src/funcs/productsDisable.ts
|
|
91304
91107
|
function productsDisable(client, request, options) {
|
|
91305
|
-
return new APIPromise($
|
|
91108
|
+
return new APIPromise($do109(client, request, options));
|
|
91306
91109
|
}
|
|
91307
|
-
async function $
|
|
91110
|
+
async function $do109(client, request, options) {
|
|
91308
91111
|
const parsed = safeParse4(request, (value) => DisableProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91309
91112
|
if (!parsed.ok) {
|
|
91310
91113
|
return [parsed, { status: "invalid" }];
|
|
@@ -91397,12 +91200,12 @@ var init_productsDisable = __esm(() => {
|
|
|
91397
91200
|
});
|
|
91398
91201
|
|
|
91399
91202
|
// src/mcp-server/tools/productsDisable.ts
|
|
91400
|
-
var
|
|
91203
|
+
var args109, tool$productsDisable;
|
|
91401
91204
|
var init_productsDisable2 = __esm(() => {
|
|
91402
91205
|
init_productsDisable();
|
|
91403
91206
|
init_operations();
|
|
91404
91207
|
init_tools();
|
|
91405
|
-
|
|
91208
|
+
args109 = {
|
|
91406
91209
|
request: DisableProductRequest$inboundSchema
|
|
91407
91210
|
};
|
|
91408
91211
|
tool$productsDisable = {
|
|
@@ -91410,9 +91213,9 @@ var init_productsDisable2 = __esm(() => {
|
|
|
91410
91213
|
description: `Disable a product by ID.
|
|
91411
91214
|
|
|
91412
91215
|
The product will no longer be available, but will remain in the system for historical and reporting purposes.`,
|
|
91413
|
-
args:
|
|
91414
|
-
tool: async (client,
|
|
91415
|
-
const [result, apiCall] = await productsDisable(client,
|
|
91216
|
+
args: args109,
|
|
91217
|
+
tool: async (client, args110, ctx) => {
|
|
91218
|
+
const [result, apiCall] = await productsDisable(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91416
91219
|
if (!result.ok) {
|
|
91417
91220
|
return {
|
|
91418
91221
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91426,9 +91229,9 @@ The product will no longer be available, but will remain in the system for histo
|
|
|
91426
91229
|
|
|
91427
91230
|
// src/funcs/productsGet.ts
|
|
91428
91231
|
function productsGet(client, request, options) {
|
|
91429
|
-
return new APIPromise($
|
|
91232
|
+
return new APIPromise($do110(client, request, options));
|
|
91430
91233
|
}
|
|
91431
|
-
async function $
|
|
91234
|
+
async function $do110(client, request, options) {
|
|
91432
91235
|
const parsed = safeParse4(request, (value) => GetProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91433
91236
|
if (!parsed.ok) {
|
|
91434
91237
|
return [parsed, { status: "invalid" }];
|
|
@@ -91510,20 +91313,20 @@ var init_productsGet = __esm(() => {
|
|
|
91510
91313
|
});
|
|
91511
91314
|
|
|
91512
91315
|
// src/mcp-server/tools/productsGet.ts
|
|
91513
|
-
var
|
|
91316
|
+
var args110, tool$productsGet;
|
|
91514
91317
|
var init_productsGet2 = __esm(() => {
|
|
91515
91318
|
init_productsGet();
|
|
91516
91319
|
init_operations();
|
|
91517
91320
|
init_tools();
|
|
91518
|
-
|
|
91321
|
+
args110 = {
|
|
91519
91322
|
request: GetProductRequest$inboundSchema
|
|
91520
91323
|
};
|
|
91521
91324
|
tool$productsGet = {
|
|
91522
91325
|
name: "products-get",
|
|
91523
91326
|
description: `Retrieve a product by ID.`,
|
|
91524
|
-
args:
|
|
91525
|
-
tool: async (client,
|
|
91526
|
-
const [result, apiCall] = await productsGet(client,
|
|
91327
|
+
args: args110,
|
|
91328
|
+
tool: async (client, args111, ctx) => {
|
|
91329
|
+
const [result, apiCall] = await productsGet(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91527
91330
|
if (!result.ok) {
|
|
91528
91331
|
return {
|
|
91529
91332
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91538,9 +91341,9 @@ var init_productsGet2 = __esm(() => {
|
|
|
91538
91341
|
|
|
91539
91342
|
// src/funcs/productsList.ts
|
|
91540
91343
|
function productsList(client, request, options) {
|
|
91541
|
-
return new APIPromise($
|
|
91344
|
+
return new APIPromise($do111(client, request, options));
|
|
91542
91345
|
}
|
|
91543
|
-
async function $
|
|
91346
|
+
async function $do111(client, request, options) {
|
|
91544
91347
|
const parsed = safeParse4(request, (value) => ListProductsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91545
91348
|
if (!parsed.ok) {
|
|
91546
91349
|
return [parsed, { status: "invalid" }];
|
|
@@ -91624,20 +91427,20 @@ var init_productsList = __esm(() => {
|
|
|
91624
91427
|
});
|
|
91625
91428
|
|
|
91626
91429
|
// src/mcp-server/tools/productsList.ts
|
|
91627
|
-
var
|
|
91430
|
+
var args111, tool$productsList;
|
|
91628
91431
|
var init_productsList2 = __esm(() => {
|
|
91629
91432
|
init_productsList();
|
|
91630
91433
|
init_operations();
|
|
91631
91434
|
init_tools();
|
|
91632
|
-
|
|
91435
|
+
args111 = {
|
|
91633
91436
|
request: ListProductsRequest$inboundSchema
|
|
91634
91437
|
};
|
|
91635
91438
|
tool$productsList = {
|
|
91636
91439
|
name: "products-list",
|
|
91637
91440
|
description: `List active (non-disabled) products for an account.`,
|
|
91638
|
-
args:
|
|
91639
|
-
tool: async (client,
|
|
91640
|
-
const [result, apiCall] = await productsList(client,
|
|
91441
|
+
args: args111,
|
|
91442
|
+
tool: async (client, args112, ctx) => {
|
|
91443
|
+
const [result, apiCall] = await productsList(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91641
91444
|
if (!result.ok) {
|
|
91642
91445
|
return {
|
|
91643
91446
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91652,9 +91455,9 @@ var init_productsList2 = __esm(() => {
|
|
|
91652
91455
|
|
|
91653
91456
|
// src/funcs/productsUpdate.ts
|
|
91654
91457
|
function productsUpdate(client, request, options) {
|
|
91655
|
-
return new APIPromise($
|
|
91458
|
+
return new APIPromise($do112(client, request, options));
|
|
91656
91459
|
}
|
|
91657
|
-
async function $
|
|
91460
|
+
async function $do112(client, request, options) {
|
|
91658
91461
|
const parsed = safeParse4(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91659
91462
|
if (!parsed.ok) {
|
|
91660
91463
|
return [parsed, { status: "invalid" }];
|
|
@@ -91752,20 +91555,20 @@ var init_productsUpdate = __esm(() => {
|
|
|
91752
91555
|
});
|
|
91753
91556
|
|
|
91754
91557
|
// src/mcp-server/tools/productsUpdate.ts
|
|
91755
|
-
var
|
|
91558
|
+
var args112, tool$productsUpdate;
|
|
91756
91559
|
var init_productsUpdate2 = __esm(() => {
|
|
91757
91560
|
init_productsUpdate();
|
|
91758
91561
|
init_operations();
|
|
91759
91562
|
init_tools();
|
|
91760
|
-
|
|
91563
|
+
args112 = {
|
|
91761
91564
|
request: UpdateProductRequest$inboundSchema
|
|
91762
91565
|
};
|
|
91763
91566
|
tool$productsUpdate = {
|
|
91764
91567
|
name: "products-update",
|
|
91765
91568
|
description: `Update a product and its options.`,
|
|
91766
|
-
args:
|
|
91767
|
-
tool: async (client,
|
|
91768
|
-
const [result, apiCall] = await productsUpdate(client,
|
|
91569
|
+
args: args112,
|
|
91570
|
+
tool: async (client, args113, ctx) => {
|
|
91571
|
+
const [result, apiCall] = await productsUpdate(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91769
91572
|
if (!result.ok) {
|
|
91770
91573
|
return {
|
|
91771
91574
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91780,9 +91583,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
91780
91583
|
|
|
91781
91584
|
// src/funcs/receiptsCreate.ts
|
|
91782
91585
|
function receiptsCreate(client, request, options) {
|
|
91783
|
-
return new APIPromise($
|
|
91586
|
+
return new APIPromise($do113(client, request, options));
|
|
91784
91587
|
}
|
|
91785
|
-
async function $
|
|
91588
|
+
async function $do113(client, request, options) {
|
|
91786
91589
|
const parsed = safeParse4(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
91787
91590
|
if (!parsed.ok) {
|
|
91788
91591
|
return [parsed, { status: "invalid" }];
|
|
@@ -91870,13 +91673,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
91870
91673
|
});
|
|
91871
91674
|
|
|
91872
91675
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
91873
|
-
var
|
|
91676
|
+
var args113, tool$receiptsCreate;
|
|
91874
91677
|
var init_receiptsCreate2 = __esm(() => {
|
|
91875
91678
|
init_esm();
|
|
91876
91679
|
init_receiptsCreate();
|
|
91877
91680
|
init_components();
|
|
91878
91681
|
init_tools();
|
|
91879
|
-
|
|
91682
|
+
args113 = {
|
|
91880
91683
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
91881
91684
|
};
|
|
91882
91685
|
tool$receiptsCreate = {
|
|
@@ -91885,9 +91688,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
91885
91688
|
|
|
91886
91689
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91887
91690
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
91888
|
-
args:
|
|
91889
|
-
tool: async (client,
|
|
91890
|
-
const [result, apiCall] = await receiptsCreate(client,
|
|
91691
|
+
args: args113,
|
|
91692
|
+
tool: async (client, args114, ctx) => {
|
|
91693
|
+
const [result, apiCall] = await receiptsCreate(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91891
91694
|
if (!result.ok) {
|
|
91892
91695
|
return {
|
|
91893
91696
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91902,9 +91705,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
91902
91705
|
|
|
91903
91706
|
// src/funcs/receiptsList.ts
|
|
91904
91707
|
function receiptsList(client, request, options) {
|
|
91905
|
-
return new APIPromise($
|
|
91708
|
+
return new APIPromise($do114(client, request, options));
|
|
91906
91709
|
}
|
|
91907
|
-
async function $
|
|
91710
|
+
async function $do114(client, request, options) {
|
|
91908
91711
|
const parsed = safeParse4(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91909
91712
|
if (!parsed.ok) {
|
|
91910
91713
|
return [parsed, { status: "invalid" }];
|
|
@@ -91980,12 +91783,12 @@ var init_receiptsList = __esm(() => {
|
|
|
91980
91783
|
});
|
|
91981
91784
|
|
|
91982
91785
|
// src/mcp-server/tools/receiptsList.ts
|
|
91983
|
-
var
|
|
91786
|
+
var args114, tool$receiptsList;
|
|
91984
91787
|
var init_receiptsList2 = __esm(() => {
|
|
91985
91788
|
init_receiptsList();
|
|
91986
91789
|
init_operations();
|
|
91987
91790
|
init_tools();
|
|
91988
|
-
|
|
91791
|
+
args114 = {
|
|
91989
91792
|
request: ListReceiptsRequest$inboundSchema
|
|
91990
91793
|
};
|
|
91991
91794
|
tool$receiptsList = {
|
|
@@ -91994,9 +91797,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
91994
91797
|
|
|
91995
91798
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91996
91799
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
91997
|
-
args:
|
|
91998
|
-
tool: async (client,
|
|
91999
|
-
const [result, apiCall] = await receiptsList(client,
|
|
91800
|
+
args: args114,
|
|
91801
|
+
tool: async (client, args115, ctx) => {
|
|
91802
|
+
const [result, apiCall] = await receiptsList(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92000
91803
|
if (!result.ok) {
|
|
92001
91804
|
return {
|
|
92002
91805
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92011,9 +91814,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
92011
91814
|
|
|
92012
91815
|
// src/funcs/representativesCreate.ts
|
|
92013
91816
|
function representativesCreate(client, request, options) {
|
|
92014
|
-
return new APIPromise($
|
|
91817
|
+
return new APIPromise($do115(client, request, options));
|
|
92015
91818
|
}
|
|
92016
|
-
async function $
|
|
91819
|
+
async function $do115(client, request, options) {
|
|
92017
91820
|
const parsed = safeParse4(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92018
91821
|
if (!parsed.ok) {
|
|
92019
91822
|
return [parsed, { status: "invalid" }];
|
|
@@ -92109,12 +91912,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
92109
91912
|
});
|
|
92110
91913
|
|
|
92111
91914
|
// src/mcp-server/tools/representativesCreate.ts
|
|
92112
|
-
var
|
|
91915
|
+
var args115, tool$representativesCreate;
|
|
92113
91916
|
var init_representativesCreate2 = __esm(() => {
|
|
92114
91917
|
init_representativesCreate();
|
|
92115
91918
|
init_operations();
|
|
92116
91919
|
init_tools();
|
|
92117
|
-
|
|
91920
|
+
args115 = {
|
|
92118
91921
|
request: CreateRepresentativeRequest$inboundSchema
|
|
92119
91922
|
};
|
|
92120
91923
|
tool$representativesCreate = {
|
|
@@ -92125,9 +91928,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
92125
91928
|
|
|
92126
91929
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92127
91930
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
92128
|
-
args:
|
|
92129
|
-
tool: async (client,
|
|
92130
|
-
const [result, apiCall] = await representativesCreate(client,
|
|
91931
|
+
args: args115,
|
|
91932
|
+
tool: async (client, args116, ctx) => {
|
|
91933
|
+
const [result, apiCall] = await representativesCreate(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92131
91934
|
if (!result.ok) {
|
|
92132
91935
|
return {
|
|
92133
91936
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92142,9 +91945,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
92142
91945
|
|
|
92143
91946
|
// src/funcs/representativesDelete.ts
|
|
92144
91947
|
function representativesDelete(client, request, options) {
|
|
92145
|
-
return new APIPromise($
|
|
91948
|
+
return new APIPromise($do116(client, request, options));
|
|
92146
91949
|
}
|
|
92147
|
-
async function $
|
|
91950
|
+
async function $do116(client, request, options) {
|
|
92148
91951
|
const parsed = safeParse4(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92149
91952
|
if (!parsed.ok) {
|
|
92150
91953
|
return [parsed, { status: "invalid" }];
|
|
@@ -92232,12 +92035,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
92232
92035
|
});
|
|
92233
92036
|
|
|
92234
92037
|
// src/mcp-server/tools/representativesDelete.ts
|
|
92235
|
-
var
|
|
92038
|
+
var args116, tool$representativesDelete;
|
|
92236
92039
|
var init_representativesDelete2 = __esm(() => {
|
|
92237
92040
|
init_representativesDelete();
|
|
92238
92041
|
init_operations();
|
|
92239
92042
|
init_tools();
|
|
92240
|
-
|
|
92043
|
+
args116 = {
|
|
92241
92044
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
92242
92045
|
};
|
|
92243
92046
|
tool$representativesDelete = {
|
|
@@ -92246,9 +92049,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
92246
92049
|
|
|
92247
92050
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92248
92051
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
92249
|
-
args:
|
|
92250
|
-
tool: async (client,
|
|
92251
|
-
const [result, apiCall] = await representativesDelete(client,
|
|
92052
|
+
args: args116,
|
|
92053
|
+
tool: async (client, args117, ctx) => {
|
|
92054
|
+
const [result, apiCall] = await representativesDelete(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92252
92055
|
if (!result.ok) {
|
|
92253
92056
|
return {
|
|
92254
92057
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92262,9 +92065,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
92262
92065
|
|
|
92263
92066
|
// src/funcs/representativesGet.ts
|
|
92264
92067
|
function representativesGet(client, request, options) {
|
|
92265
|
-
return new APIPromise($
|
|
92068
|
+
return new APIPromise($do117(client, request, options));
|
|
92266
92069
|
}
|
|
92267
|
-
async function $
|
|
92070
|
+
async function $do117(client, request, options) {
|
|
92268
92071
|
const parsed = safeParse4(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92269
92072
|
if (!parsed.ok) {
|
|
92270
92073
|
return [parsed, { status: "invalid" }];
|
|
@@ -92343,12 +92146,12 @@ var init_representativesGet = __esm(() => {
|
|
|
92343
92146
|
});
|
|
92344
92147
|
|
|
92345
92148
|
// src/mcp-server/tools/representativesGet.ts
|
|
92346
|
-
var
|
|
92149
|
+
var args117, tool$representativesGet;
|
|
92347
92150
|
var init_representativesGet2 = __esm(() => {
|
|
92348
92151
|
init_representativesGet();
|
|
92349
92152
|
init_operations();
|
|
92350
92153
|
init_tools();
|
|
92351
|
-
|
|
92154
|
+
args117 = {
|
|
92352
92155
|
request: GetRepresentativeRequest$inboundSchema
|
|
92353
92156
|
};
|
|
92354
92157
|
tool$representativesGet = {
|
|
@@ -92357,9 +92160,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
92357
92160
|
|
|
92358
92161
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92359
92162
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
92360
|
-
args:
|
|
92361
|
-
tool: async (client,
|
|
92362
|
-
const [result, apiCall] = await representativesGet(client,
|
|
92163
|
+
args: args117,
|
|
92164
|
+
tool: async (client, args118, ctx) => {
|
|
92165
|
+
const [result, apiCall] = await representativesGet(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92363
92166
|
if (!result.ok) {
|
|
92364
92167
|
return {
|
|
92365
92168
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92374,9 +92177,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
92374
92177
|
|
|
92375
92178
|
// src/funcs/representativesList.ts
|
|
92376
92179
|
function representativesList(client, request, options) {
|
|
92377
|
-
return new APIPromise($
|
|
92180
|
+
return new APIPromise($do118(client, request, options));
|
|
92378
92181
|
}
|
|
92379
|
-
async function $
|
|
92182
|
+
async function $do118(client, request, options) {
|
|
92380
92183
|
const parsed = safeParse4(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92381
92184
|
if (!parsed.ok) {
|
|
92382
92185
|
return [parsed, { status: "invalid" }];
|
|
@@ -92454,12 +92257,12 @@ var init_representativesList = __esm(() => {
|
|
|
92454
92257
|
});
|
|
92455
92258
|
|
|
92456
92259
|
// src/mcp-server/tools/representativesList.ts
|
|
92457
|
-
var
|
|
92260
|
+
var args118, tool$representativesList;
|
|
92458
92261
|
var init_representativesList2 = __esm(() => {
|
|
92459
92262
|
init_representativesList();
|
|
92460
92263
|
init_operations();
|
|
92461
92264
|
init_tools();
|
|
92462
|
-
|
|
92265
|
+
args118 = {
|
|
92463
92266
|
request: ListRepresentativesRequest$inboundSchema
|
|
92464
92267
|
};
|
|
92465
92268
|
tool$representativesList = {
|
|
@@ -92471,9 +92274,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
92471
92274
|
|
|
92472
92275
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92473
92276
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
92474
|
-
args:
|
|
92475
|
-
tool: async (client,
|
|
92476
|
-
const [result, apiCall] = await representativesList(client,
|
|
92277
|
+
args: args118,
|
|
92278
|
+
tool: async (client, args119, ctx) => {
|
|
92279
|
+
const [result, apiCall] = await representativesList(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92477
92280
|
if (!result.ok) {
|
|
92478
92281
|
return {
|
|
92479
92282
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92488,9 +92291,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
92488
92291
|
|
|
92489
92292
|
// src/funcs/representativesUpdate.ts
|
|
92490
92293
|
function representativesUpdate(client, request, options) {
|
|
92491
|
-
return new APIPromise($
|
|
92294
|
+
return new APIPromise($do119(client, request, options));
|
|
92492
92295
|
}
|
|
92493
|
-
async function $
|
|
92296
|
+
async function $do119(client, request, options) {
|
|
92494
92297
|
const parsed = safeParse4(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92495
92298
|
if (!parsed.ok) {
|
|
92496
92299
|
return [parsed, { status: "invalid" }];
|
|
@@ -92584,12 +92387,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
92584
92387
|
});
|
|
92585
92388
|
|
|
92586
92389
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
92587
|
-
var
|
|
92390
|
+
var args119, tool$representativesUpdate;
|
|
92588
92391
|
var init_representativesUpdate2 = __esm(() => {
|
|
92589
92392
|
init_representativesUpdate();
|
|
92590
92393
|
init_operations();
|
|
92591
92394
|
init_tools();
|
|
92592
|
-
|
|
92395
|
+
args119 = {
|
|
92593
92396
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
92594
92397
|
};
|
|
92595
92398
|
tool$representativesUpdate = {
|
|
@@ -92611,9 +92414,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
92611
92414
|
|
|
92612
92415
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92613
92416
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
92614
|
-
args:
|
|
92615
|
-
tool: async (client,
|
|
92616
|
-
const [result, apiCall] = await representativesUpdate(client,
|
|
92417
|
+
args: args119,
|
|
92418
|
+
tool: async (client, args120, ctx) => {
|
|
92419
|
+
const [result, apiCall] = await representativesUpdate(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92617
92420
|
if (!result.ok) {
|
|
92618
92421
|
return {
|
|
92619
92422
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92628,9 +92431,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
92628
92431
|
|
|
92629
92432
|
// src/funcs/schedulingCancel.ts
|
|
92630
92433
|
function schedulingCancel(client, request, options) {
|
|
92631
|
-
return new APIPromise($
|
|
92434
|
+
return new APIPromise($do120(client, request, options));
|
|
92632
92435
|
}
|
|
92633
|
-
async function $
|
|
92436
|
+
async function $do120(client, request, options) {
|
|
92634
92437
|
const parsed = safeParse4(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92635
92438
|
if (!parsed.ok) {
|
|
92636
92439
|
return [parsed, { status: "invalid" }];
|
|
@@ -92723,12 +92526,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
92723
92526
|
});
|
|
92724
92527
|
|
|
92725
92528
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
92726
|
-
var
|
|
92529
|
+
var args120, tool$schedulingCancel;
|
|
92727
92530
|
var init_schedulingCancel2 = __esm(() => {
|
|
92728
92531
|
init_schedulingCancel();
|
|
92729
92532
|
init_operations();
|
|
92730
92533
|
init_tools();
|
|
92731
|
-
|
|
92534
|
+
args120 = {
|
|
92732
92535
|
request: CancelScheduleRequest$inboundSchema
|
|
92733
92536
|
};
|
|
92734
92537
|
tool$schedulingCancel = {
|
|
@@ -92737,9 +92540,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
92737
92540
|
|
|
92738
92541
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92739
92542
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
92740
|
-
args:
|
|
92741
|
-
tool: async (client,
|
|
92742
|
-
const [result, apiCall] = await schedulingCancel(client,
|
|
92543
|
+
args: args120,
|
|
92544
|
+
tool: async (client, args121, ctx) => {
|
|
92545
|
+
const [result, apiCall] = await schedulingCancel(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92743
92546
|
if (!result.ok) {
|
|
92744
92547
|
return {
|
|
92745
92548
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92753,9 +92556,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
92753
92556
|
|
|
92754
92557
|
// src/funcs/schedulingCreate.ts
|
|
92755
92558
|
function schedulingCreate(client, request, options) {
|
|
92756
|
-
return new APIPromise($
|
|
92559
|
+
return new APIPromise($do121(client, request, options));
|
|
92757
92560
|
}
|
|
92758
|
-
async function $
|
|
92561
|
+
async function $do121(client, request, options) {
|
|
92759
92562
|
const parsed = safeParse4(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92760
92563
|
if (!parsed.ok) {
|
|
92761
92564
|
return [parsed, { status: "invalid" }];
|
|
@@ -92849,12 +92652,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
92849
92652
|
});
|
|
92850
92653
|
|
|
92851
92654
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
92852
|
-
var
|
|
92655
|
+
var args121, tool$schedulingCreate;
|
|
92853
92656
|
var init_schedulingCreate2 = __esm(() => {
|
|
92854
92657
|
init_schedulingCreate();
|
|
92855
92658
|
init_operations();
|
|
92856
92659
|
init_tools();
|
|
92857
|
-
|
|
92660
|
+
args121 = {
|
|
92858
92661
|
request: CreateScheduleRequest$inboundSchema
|
|
92859
92662
|
};
|
|
92860
92663
|
tool$schedulingCreate = {
|
|
@@ -92863,9 +92666,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
92863
92666
|
|
|
92864
92667
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92865
92668
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
92866
|
-
args:
|
|
92867
|
-
tool: async (client,
|
|
92868
|
-
const [result, apiCall] = await schedulingCreate(client,
|
|
92669
|
+
args: args121,
|
|
92670
|
+
tool: async (client, args122, ctx) => {
|
|
92671
|
+
const [result, apiCall] = await schedulingCreate(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92869
92672
|
if (!result.ok) {
|
|
92870
92673
|
return {
|
|
92871
92674
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92880,9 +92683,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
92880
92683
|
|
|
92881
92684
|
// src/funcs/schedulingGet.ts
|
|
92882
92685
|
function schedulingGet(client, request, options) {
|
|
92883
|
-
return new APIPromise($
|
|
92686
|
+
return new APIPromise($do122(client, request, options));
|
|
92884
92687
|
}
|
|
92885
|
-
async function $
|
|
92688
|
+
async function $do122(client, request, options) {
|
|
92886
92689
|
const parsed = safeParse4(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92887
92690
|
if (!parsed.ok) {
|
|
92888
92691
|
return [parsed, { status: "invalid" }];
|
|
@@ -92964,12 +92767,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
92964
92767
|
});
|
|
92965
92768
|
|
|
92966
92769
|
// src/mcp-server/tools/schedulingGet.ts
|
|
92967
|
-
var
|
|
92770
|
+
var args122, tool$schedulingGet;
|
|
92968
92771
|
var init_schedulingGet2 = __esm(() => {
|
|
92969
92772
|
init_schedulingGet();
|
|
92970
92773
|
init_operations();
|
|
92971
92774
|
init_tools();
|
|
92972
|
-
|
|
92775
|
+
args122 = {
|
|
92973
92776
|
request: GetSchedulesRequest$inboundSchema
|
|
92974
92777
|
};
|
|
92975
92778
|
tool$schedulingGet = {
|
|
@@ -92978,9 +92781,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
92978
92781
|
|
|
92979
92782
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92980
92783
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
92981
|
-
args:
|
|
92982
|
-
tool: async (client,
|
|
92983
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
92784
|
+
args: args122,
|
|
92785
|
+
tool: async (client, args123, ctx) => {
|
|
92786
|
+
const [result, apiCall] = await schedulingGet(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92984
92787
|
if (!result.ok) {
|
|
92985
92788
|
return {
|
|
92986
92789
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92995,9 +92798,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
92995
92798
|
|
|
92996
92799
|
// src/funcs/schedulingGetOccurrance.ts
|
|
92997
92800
|
function schedulingGetOccurrance(client, request, options) {
|
|
92998
|
-
return new APIPromise($
|
|
92801
|
+
return new APIPromise($do123(client, request, options));
|
|
92999
92802
|
}
|
|
93000
|
-
async function $
|
|
92803
|
+
async function $do123(client, request, options) {
|
|
93001
92804
|
const parsed = safeParse4(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93002
92805
|
if (!parsed.ok) {
|
|
93003
92806
|
return [parsed, { status: "invalid" }];
|
|
@@ -93080,12 +92883,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
93080
92883
|
});
|
|
93081
92884
|
|
|
93082
92885
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
93083
|
-
var
|
|
92886
|
+
var args123, tool$schedulingGetOccurrance;
|
|
93084
92887
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
93085
92888
|
init_schedulingGetOccurrance();
|
|
93086
92889
|
init_operations();
|
|
93087
92890
|
init_tools();
|
|
93088
|
-
|
|
92891
|
+
args123 = {
|
|
93089
92892
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
93090
92893
|
};
|
|
93091
92894
|
tool$schedulingGetOccurrance = {
|
|
@@ -93094,9 +92897,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
93094
92897
|
|
|
93095
92898
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93096
92899
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
93097
|
-
args:
|
|
93098
|
-
tool: async (client,
|
|
93099
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
92900
|
+
args: args123,
|
|
92901
|
+
tool: async (client, args124, ctx) => {
|
|
92902
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93100
92903
|
if (!result.ok) {
|
|
93101
92904
|
return {
|
|
93102
92905
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93111,9 +92914,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
93111
92914
|
|
|
93112
92915
|
// src/funcs/schedulingList.ts
|
|
93113
92916
|
function schedulingList(client, request, options) {
|
|
93114
|
-
return new APIPromise($
|
|
92917
|
+
return new APIPromise($do124(client, request, options));
|
|
93115
92918
|
}
|
|
93116
|
-
async function $
|
|
92919
|
+
async function $do124(client, request, options) {
|
|
93117
92920
|
const parsed = safeParse4(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93118
92921
|
if (!parsed.ok) {
|
|
93119
92922
|
return [parsed, { status: "invalid" }];
|
|
@@ -93197,12 +93000,12 @@ var init_schedulingList = __esm(() => {
|
|
|
93197
93000
|
});
|
|
93198
93001
|
|
|
93199
93002
|
// src/mcp-server/tools/schedulingList.ts
|
|
93200
|
-
var
|
|
93003
|
+
var args124, tool$schedulingList;
|
|
93201
93004
|
var init_schedulingList2 = __esm(() => {
|
|
93202
93005
|
init_schedulingList();
|
|
93203
93006
|
init_operations();
|
|
93204
93007
|
init_tools();
|
|
93205
|
-
|
|
93008
|
+
args124 = {
|
|
93206
93009
|
request: ListSchedulesRequest$inboundSchema
|
|
93207
93010
|
};
|
|
93208
93011
|
tool$schedulingList = {
|
|
@@ -93211,9 +93014,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
93211
93014
|
|
|
93212
93015
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93213
93016
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
93214
|
-
args:
|
|
93215
|
-
tool: async (client,
|
|
93216
|
-
const [result, apiCall] = await schedulingList(client,
|
|
93017
|
+
args: args124,
|
|
93018
|
+
tool: async (client, args125, ctx) => {
|
|
93019
|
+
const [result, apiCall] = await schedulingList(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93217
93020
|
if (!result.ok) {
|
|
93218
93021
|
return {
|
|
93219
93022
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93228,9 +93031,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
93228
93031
|
|
|
93229
93032
|
// src/funcs/schedulingUpdate.ts
|
|
93230
93033
|
function schedulingUpdate(client, request, options) {
|
|
93231
|
-
return new APIPromise($
|
|
93034
|
+
return new APIPromise($do125(client, request, options));
|
|
93232
93035
|
}
|
|
93233
|
-
async function $
|
|
93036
|
+
async function $do125(client, request, options) {
|
|
93234
93037
|
const parsed = safeParse4(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93235
93038
|
if (!parsed.ok) {
|
|
93236
93039
|
return [parsed, { status: "invalid" }];
|
|
@@ -93328,12 +93131,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
93328
93131
|
});
|
|
93329
93132
|
|
|
93330
93133
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
93331
|
-
var
|
|
93134
|
+
var args125, tool$schedulingUpdate;
|
|
93332
93135
|
var init_schedulingUpdate2 = __esm(() => {
|
|
93333
93136
|
init_schedulingUpdate();
|
|
93334
93137
|
init_operations();
|
|
93335
93138
|
init_tools();
|
|
93336
|
-
|
|
93139
|
+
args125 = {
|
|
93337
93140
|
request: UpdateScheduleRequest$inboundSchema
|
|
93338
93141
|
};
|
|
93339
93142
|
tool$schedulingUpdate = {
|
|
@@ -93342,9 +93145,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
93342
93145
|
|
|
93343
93146
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93344
93147
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
93345
|
-
args:
|
|
93346
|
-
tool: async (client,
|
|
93347
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
93148
|
+
args: args125,
|
|
93149
|
+
tool: async (client, args126, ctx) => {
|
|
93150
|
+
const [result, apiCall] = await schedulingUpdate(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93348
93151
|
if (!result.ok) {
|
|
93349
93152
|
return {
|
|
93350
93153
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93359,9 +93162,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
93359
93162
|
|
|
93360
93163
|
// src/funcs/statementsGet.ts
|
|
93361
93164
|
function statementsGet(client, request, options) {
|
|
93362
|
-
return new APIPromise($
|
|
93165
|
+
return new APIPromise($do126(client, request, options));
|
|
93363
93166
|
}
|
|
93364
|
-
async function $
|
|
93167
|
+
async function $do126(client, request, options) {
|
|
93365
93168
|
const parsed = safeParse4(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93366
93169
|
if (!parsed.ok) {
|
|
93367
93170
|
return [parsed, { status: "invalid" }];
|
|
@@ -93447,12 +93250,12 @@ var init_statementsGet = __esm(() => {
|
|
|
93447
93250
|
});
|
|
93448
93251
|
|
|
93449
93252
|
// src/mcp-server/tools/statementsGet.ts
|
|
93450
|
-
var
|
|
93253
|
+
var args126, tool$statementsGet;
|
|
93451
93254
|
var init_statementsGet2 = __esm(() => {
|
|
93452
93255
|
init_statementsGet();
|
|
93453
93256
|
init_operations();
|
|
93454
93257
|
init_tools();
|
|
93455
|
-
|
|
93258
|
+
args126 = {
|
|
93456
93259
|
request: GetStatementRequest$inboundSchema
|
|
93457
93260
|
};
|
|
93458
93261
|
tool$statementsGet = {
|
|
@@ -93463,9 +93266,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
93463
93266
|
|
|
93464
93267
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93465
93268
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
93466
|
-
args:
|
|
93467
|
-
tool: async (client,
|
|
93468
|
-
const [result, apiCall] = await statementsGet(client,
|
|
93269
|
+
args: args126,
|
|
93270
|
+
tool: async (client, args127, ctx) => {
|
|
93271
|
+
const [result, apiCall] = await statementsGet(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93469
93272
|
if (!result.ok) {
|
|
93470
93273
|
return {
|
|
93471
93274
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93480,9 +93283,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
93480
93283
|
|
|
93481
93284
|
// src/funcs/statementsList.ts
|
|
93482
93285
|
function statementsList(client, request, options) {
|
|
93483
|
-
return new APIPromise($
|
|
93286
|
+
return new APIPromise($do127(client, request, options));
|
|
93484
93287
|
}
|
|
93485
|
-
async function $
|
|
93288
|
+
async function $do127(client, request, options) {
|
|
93486
93289
|
const parsed = safeParse4(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93487
93290
|
if (!parsed.ok) {
|
|
93488
93291
|
return [parsed, { status: "invalid" }];
|
|
@@ -93568,12 +93371,12 @@ var init_statementsList = __esm(() => {
|
|
|
93568
93371
|
});
|
|
93569
93372
|
|
|
93570
93373
|
// src/mcp-server/tools/statementsList.ts
|
|
93571
|
-
var
|
|
93374
|
+
var args127, tool$statementsList;
|
|
93572
93375
|
var init_statementsList2 = __esm(() => {
|
|
93573
93376
|
init_statementsList();
|
|
93574
93377
|
init_operations();
|
|
93575
93378
|
init_tools();
|
|
93576
|
-
|
|
93379
|
+
args127 = {
|
|
93577
93380
|
request: ListStatementsRequest$inboundSchema
|
|
93578
93381
|
};
|
|
93579
93382
|
tool$statementsList = {
|
|
@@ -93582,9 +93385,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
93582
93385
|
|
|
93583
93386
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93584
93387
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
93585
|
-
args:
|
|
93586
|
-
tool: async (client,
|
|
93587
|
-
const [result, apiCall] = await statementsList(client,
|
|
93388
|
+
args: args127,
|
|
93389
|
+
tool: async (client, args128, ctx) => {
|
|
93390
|
+
const [result, apiCall] = await statementsList(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93588
93391
|
if (!result.ok) {
|
|
93589
93392
|
return {
|
|
93590
93393
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93599,9 +93402,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
93599
93402
|
|
|
93600
93403
|
// src/funcs/sweepsCreateConfig.ts
|
|
93601
93404
|
function sweepsCreateConfig(client, request, options) {
|
|
93602
|
-
return new APIPromise($
|
|
93405
|
+
return new APIPromise($do128(client, request, options));
|
|
93603
93406
|
}
|
|
93604
|
-
async function $
|
|
93407
|
+
async function $do128(client, request, options) {
|
|
93605
93408
|
const parsed = safeParse4(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93606
93409
|
if (!parsed.ok) {
|
|
93607
93410
|
return [parsed, { status: "invalid" }];
|
|
@@ -93693,12 +93496,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
93693
93496
|
});
|
|
93694
93497
|
|
|
93695
93498
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
93696
|
-
var
|
|
93499
|
+
var args128, tool$sweepsCreateConfig;
|
|
93697
93500
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
93698
93501
|
init_sweepsCreateConfig();
|
|
93699
93502
|
init_operations();
|
|
93700
93503
|
init_tools();
|
|
93701
|
-
|
|
93504
|
+
args128 = {
|
|
93702
93505
|
request: CreateSweepConfigRequest$inboundSchema
|
|
93703
93506
|
};
|
|
93704
93507
|
tool$sweepsCreateConfig = {
|
|
@@ -93707,9 +93510,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
93707
93510
|
|
|
93708
93511
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93709
93512
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
93710
|
-
args:
|
|
93711
|
-
tool: async (client,
|
|
93712
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
93513
|
+
args: args128,
|
|
93514
|
+
tool: async (client, args129, ctx) => {
|
|
93515
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93713
93516
|
if (!result.ok) {
|
|
93714
93517
|
return {
|
|
93715
93518
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93724,9 +93527,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
93724
93527
|
|
|
93725
93528
|
// src/funcs/sweepsGet.ts
|
|
93726
93529
|
function sweepsGet(client, request, options) {
|
|
93727
|
-
return new APIPromise($
|
|
93530
|
+
return new APIPromise($do129(client, request, options));
|
|
93728
93531
|
}
|
|
93729
|
-
async function $
|
|
93532
|
+
async function $do129(client, request, options) {
|
|
93730
93533
|
const parsed = safeParse4(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93731
93534
|
if (!parsed.ok) {
|
|
93732
93535
|
return [parsed, { status: "invalid" }];
|
|
@@ -93812,12 +93615,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
93812
93615
|
});
|
|
93813
93616
|
|
|
93814
93617
|
// src/mcp-server/tools/sweepsGet.ts
|
|
93815
|
-
var
|
|
93618
|
+
var args129, tool$sweepsGet;
|
|
93816
93619
|
var init_sweepsGet2 = __esm(() => {
|
|
93817
93620
|
init_sweepsGet();
|
|
93818
93621
|
init_operations();
|
|
93819
93622
|
init_tools();
|
|
93820
|
-
|
|
93623
|
+
args129 = {
|
|
93821
93624
|
request: GetSweepRequest$inboundSchema
|
|
93822
93625
|
};
|
|
93823
93626
|
tool$sweepsGet = {
|
|
@@ -93826,9 +93629,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
93826
93629
|
|
|
93827
93630
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93828
93631
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
93829
|
-
args:
|
|
93830
|
-
tool: async (client,
|
|
93831
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
93632
|
+
args: args129,
|
|
93633
|
+
tool: async (client, args130, ctx) => {
|
|
93634
|
+
const [result, apiCall] = await sweepsGet(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93832
93635
|
if (!result.ok) {
|
|
93833
93636
|
return {
|
|
93834
93637
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93843,9 +93646,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
93843
93646
|
|
|
93844
93647
|
// src/funcs/sweepsGetConfig.ts
|
|
93845
93648
|
function sweepsGetConfig(client, request, options) {
|
|
93846
|
-
return new APIPromise($
|
|
93649
|
+
return new APIPromise($do130(client, request, options));
|
|
93847
93650
|
}
|
|
93848
|
-
async function $
|
|
93651
|
+
async function $do130(client, request, options) {
|
|
93849
93652
|
const parsed = safeParse4(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93850
93653
|
if (!parsed.ok) {
|
|
93851
93654
|
return [parsed, { status: "invalid" }];
|
|
@@ -93927,12 +93730,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
93927
93730
|
});
|
|
93928
93731
|
|
|
93929
93732
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
93930
|
-
var
|
|
93733
|
+
var args130, tool$sweepsGetConfig;
|
|
93931
93734
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
93932
93735
|
init_sweepsGetConfig();
|
|
93933
93736
|
init_operations();
|
|
93934
93737
|
init_tools();
|
|
93935
|
-
|
|
93738
|
+
args130 = {
|
|
93936
93739
|
request: GetSweepConfigRequest$inboundSchema
|
|
93937
93740
|
};
|
|
93938
93741
|
tool$sweepsGetConfig = {
|
|
@@ -93941,9 +93744,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
93941
93744
|
|
|
93942
93745
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93943
93746
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
93944
|
-
args:
|
|
93945
|
-
tool: async (client,
|
|
93946
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
93747
|
+
args: args130,
|
|
93748
|
+
tool: async (client, args131, ctx) => {
|
|
93749
|
+
const [result, apiCall] = await sweepsGetConfig(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93947
93750
|
if (!result.ok) {
|
|
93948
93751
|
return {
|
|
93949
93752
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93958,9 +93761,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
93958
93761
|
|
|
93959
93762
|
// src/funcs/sweepsList.ts
|
|
93960
93763
|
function sweepsList(client, request, options) {
|
|
93961
|
-
return new APIPromise($
|
|
93764
|
+
return new APIPromise($do131(client, request, options));
|
|
93962
93765
|
}
|
|
93963
|
-
async function $
|
|
93766
|
+
async function $do131(client, request, options) {
|
|
93964
93767
|
const parsed = safeParse4(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93965
93768
|
if (!parsed.ok) {
|
|
93966
93769
|
return [parsed, { status: "invalid" }];
|
|
@@ -94049,12 +93852,12 @@ var init_sweepsList = __esm(() => {
|
|
|
94049
93852
|
});
|
|
94050
93853
|
|
|
94051
93854
|
// src/mcp-server/tools/sweepsList.ts
|
|
94052
|
-
var
|
|
93855
|
+
var args131, tool$sweepsList;
|
|
94053
93856
|
var init_sweepsList2 = __esm(() => {
|
|
94054
93857
|
init_sweepsList();
|
|
94055
93858
|
init_operations();
|
|
94056
93859
|
init_tools();
|
|
94057
|
-
|
|
93860
|
+
args131 = {
|
|
94058
93861
|
request: ListSweepsRequest$inboundSchema
|
|
94059
93862
|
};
|
|
94060
93863
|
tool$sweepsList = {
|
|
@@ -94063,9 +93866,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
94063
93866
|
|
|
94064
93867
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94065
93868
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
94066
|
-
args:
|
|
94067
|
-
tool: async (client,
|
|
94068
|
-
const [result, apiCall] = await sweepsList(client,
|
|
93869
|
+
args: args131,
|
|
93870
|
+
tool: async (client, args132, ctx) => {
|
|
93871
|
+
const [result, apiCall] = await sweepsList(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94069
93872
|
if (!result.ok) {
|
|
94070
93873
|
return {
|
|
94071
93874
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94080,9 +93883,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
94080
93883
|
|
|
94081
93884
|
// src/funcs/sweepsListConfigs.ts
|
|
94082
93885
|
function sweepsListConfigs(client, request, options) {
|
|
94083
|
-
return new APIPromise($
|
|
93886
|
+
return new APIPromise($do132(client, request, options));
|
|
94084
93887
|
}
|
|
94085
|
-
async function $
|
|
93888
|
+
async function $do132(client, request, options) {
|
|
94086
93889
|
const parsed = safeParse4(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94087
93890
|
if (!parsed.ok) {
|
|
94088
93891
|
return [parsed, { status: "invalid" }];
|
|
@@ -94160,12 +93963,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
94160
93963
|
});
|
|
94161
93964
|
|
|
94162
93965
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
94163
|
-
var
|
|
93966
|
+
var args132, tool$sweepsListConfigs;
|
|
94164
93967
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
94165
93968
|
init_sweepsListConfigs();
|
|
94166
93969
|
init_operations();
|
|
94167
93970
|
init_tools();
|
|
94168
|
-
|
|
93971
|
+
args132 = {
|
|
94169
93972
|
request: ListSweepConfigsRequest$inboundSchema
|
|
94170
93973
|
};
|
|
94171
93974
|
tool$sweepsListConfigs = {
|
|
@@ -94174,9 +93977,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
94174
93977
|
|
|
94175
93978
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94176
93979
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
94177
|
-
args:
|
|
94178
|
-
tool: async (client,
|
|
94179
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
93980
|
+
args: args132,
|
|
93981
|
+
tool: async (client, args133, ctx) => {
|
|
93982
|
+
const [result, apiCall] = await sweepsListConfigs(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94180
93983
|
if (!result.ok) {
|
|
94181
93984
|
return {
|
|
94182
93985
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94191,9 +93994,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
94191
93994
|
|
|
94192
93995
|
// src/funcs/sweepsUpdateConfig.ts
|
|
94193
93996
|
function sweepsUpdateConfig(client, request, options) {
|
|
94194
|
-
return new APIPromise($
|
|
93997
|
+
return new APIPromise($do133(client, request, options));
|
|
94195
93998
|
}
|
|
94196
|
-
async function $
|
|
93999
|
+
async function $do133(client, request, options) {
|
|
94197
94000
|
const parsed = safeParse4(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94198
94001
|
if (!parsed.ok) {
|
|
94199
94002
|
return [parsed, { status: "invalid" }];
|
|
@@ -94289,12 +94092,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
94289
94092
|
});
|
|
94290
94093
|
|
|
94291
94094
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
94292
|
-
var
|
|
94095
|
+
var args133, tool$sweepsUpdateConfig;
|
|
94293
94096
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
94294
94097
|
init_sweepsUpdateConfig();
|
|
94295
94098
|
init_operations();
|
|
94296
94099
|
init_tools();
|
|
94297
|
-
|
|
94100
|
+
args133 = {
|
|
94298
94101
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
94299
94102
|
};
|
|
94300
94103
|
tool$sweepsUpdateConfig = {
|
|
@@ -94303,9 +94106,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
94303
94106
|
|
|
94304
94107
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94305
94108
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
94306
|
-
args:
|
|
94307
|
-
tool: async (client,
|
|
94308
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
94109
|
+
args: args133,
|
|
94110
|
+
tool: async (client, args134, ctx) => {
|
|
94111
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94309
94112
|
if (!result.ok) {
|
|
94310
94113
|
return {
|
|
94311
94114
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94320,9 +94123,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
94320
94123
|
|
|
94321
94124
|
// src/funcs/terminalApplicationsCreate.ts
|
|
94322
94125
|
function terminalApplicationsCreate(client, request, options) {
|
|
94323
|
-
return new APIPromise($
|
|
94126
|
+
return new APIPromise($do134(client, request, options));
|
|
94324
94127
|
}
|
|
94325
|
-
async function $
|
|
94128
|
+
async function $do134(client, request, options) {
|
|
94326
94129
|
const parsed = safeParse4(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
94327
94130
|
if (!parsed.ok) {
|
|
94328
94131
|
return [parsed, { status: "invalid" }];
|
|
@@ -94411,12 +94214,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
94411
94214
|
});
|
|
94412
94215
|
|
|
94413
94216
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
94414
|
-
var
|
|
94217
|
+
var args134, tool$terminalApplicationsCreate;
|
|
94415
94218
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
94416
94219
|
init_terminalApplicationsCreate();
|
|
94417
94220
|
init_components();
|
|
94418
94221
|
init_tools();
|
|
94419
|
-
|
|
94222
|
+
args134 = {
|
|
94420
94223
|
request: CreateTerminalApplication$inboundSchema
|
|
94421
94224
|
};
|
|
94422
94225
|
tool$terminalApplicationsCreate = {
|
|
@@ -94425,9 +94228,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
94425
94228
|
|
|
94426
94229
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94427
94230
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
94428
|
-
args:
|
|
94429
|
-
tool: async (client,
|
|
94430
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
94231
|
+
args: args134,
|
|
94232
|
+
tool: async (client, args135, ctx) => {
|
|
94233
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94431
94234
|
if (!result.ok) {
|
|
94432
94235
|
return {
|
|
94433
94236
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94442,9 +94245,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
94442
94245
|
|
|
94443
94246
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
94444
94247
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
94445
|
-
return new APIPromise($
|
|
94248
|
+
return new APIPromise($do135(client, request, options));
|
|
94446
94249
|
}
|
|
94447
|
-
async function $
|
|
94250
|
+
async function $do135(client, request, options) {
|
|
94448
94251
|
const parsed = safeParse4(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94449
94252
|
if (!parsed.ok) {
|
|
94450
94253
|
return [parsed, { status: "invalid" }];
|
|
@@ -94534,12 +94337,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
94534
94337
|
});
|
|
94535
94338
|
|
|
94536
94339
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
94537
|
-
var
|
|
94340
|
+
var args135, tool$terminalApplicationsCreateVersion;
|
|
94538
94341
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
94539
94342
|
init_terminalApplicationsCreateVersion();
|
|
94540
94343
|
init_operations();
|
|
94541
94344
|
init_tools();
|
|
94542
|
-
|
|
94345
|
+
args135 = {
|
|
94543
94346
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
94544
94347
|
};
|
|
94545
94348
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -94548,9 +94351,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
94548
94351
|
|
|
94549
94352
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94550
94353
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
94551
|
-
args:
|
|
94552
|
-
tool: async (client,
|
|
94553
|
-
const [result, apiCall] = await terminalApplicationsCreateVersion(client,
|
|
94354
|
+
args: args135,
|
|
94355
|
+
tool: async (client, args136, ctx) => {
|
|
94356
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94554
94357
|
if (!result.ok) {
|
|
94555
94358
|
return {
|
|
94556
94359
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94565,9 +94368,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
94565
94368
|
|
|
94566
94369
|
// src/funcs/terminalApplicationsDelete.ts
|
|
94567
94370
|
function terminalApplicationsDelete(client, request, options) {
|
|
94568
|
-
return new APIPromise($
|
|
94371
|
+
return new APIPromise($do136(client, request, options));
|
|
94569
94372
|
}
|
|
94570
|
-
async function $
|
|
94373
|
+
async function $do136(client, request, options) {
|
|
94571
94374
|
const parsed = safeParse4(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94572
94375
|
if (!parsed.ok) {
|
|
94573
94376
|
return [parsed, { status: "invalid" }];
|
|
@@ -94651,12 +94454,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
94651
94454
|
});
|
|
94652
94455
|
|
|
94653
94456
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
94654
|
-
var
|
|
94457
|
+
var args136, tool$terminalApplicationsDelete;
|
|
94655
94458
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
94656
94459
|
init_terminalApplicationsDelete();
|
|
94657
94460
|
init_operations();
|
|
94658
94461
|
init_tools();
|
|
94659
|
-
|
|
94462
|
+
args136 = {
|
|
94660
94463
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
94661
94464
|
};
|
|
94662
94465
|
tool$terminalApplicationsDelete = {
|
|
@@ -94665,9 +94468,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
94665
94468
|
|
|
94666
94469
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94667
94470
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
94668
|
-
args:
|
|
94669
|
-
tool: async (client,
|
|
94670
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
94471
|
+
args: args136,
|
|
94472
|
+
tool: async (client, args137, ctx) => {
|
|
94473
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94671
94474
|
if (!result.ok) {
|
|
94672
94475
|
return {
|
|
94673
94476
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94681,9 +94484,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
94681
94484
|
|
|
94682
94485
|
// src/funcs/terminalApplicationsGet.ts
|
|
94683
94486
|
function terminalApplicationsGet(client, request, options) {
|
|
94684
|
-
return new APIPromise($
|
|
94487
|
+
return new APIPromise($do137(client, request, options));
|
|
94685
94488
|
}
|
|
94686
|
-
async function $
|
|
94489
|
+
async function $do137(client, request, options) {
|
|
94687
94490
|
const parsed = safeParse4(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94688
94491
|
if (!parsed.ok) {
|
|
94689
94492
|
return [parsed, { status: "invalid" }];
|
|
@@ -94758,12 +94561,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
94758
94561
|
});
|
|
94759
94562
|
|
|
94760
94563
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
94761
|
-
var
|
|
94564
|
+
var args137, tool$terminalApplicationsGet;
|
|
94762
94565
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
94763
94566
|
init_terminalApplicationsGet();
|
|
94764
94567
|
init_operations();
|
|
94765
94568
|
init_tools();
|
|
94766
|
-
|
|
94569
|
+
args137 = {
|
|
94767
94570
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
94768
94571
|
};
|
|
94769
94572
|
tool$terminalApplicationsGet = {
|
|
@@ -94772,9 +94575,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
94772
94575
|
|
|
94773
94576
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94774
94577
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
94775
|
-
args:
|
|
94776
|
-
tool: async (client,
|
|
94777
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
94578
|
+
args: args137,
|
|
94579
|
+
tool: async (client, args138, ctx) => {
|
|
94580
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94778
94581
|
if (!result.ok) {
|
|
94779
94582
|
return {
|
|
94780
94583
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94789,9 +94592,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
94789
94592
|
|
|
94790
94593
|
// src/funcs/terminalApplicationsList.ts
|
|
94791
94594
|
function terminalApplicationsList(client, _request, options) {
|
|
94792
|
-
return new APIPromise($
|
|
94595
|
+
return new APIPromise($do138(client, _request, options));
|
|
94793
94596
|
}
|
|
94794
|
-
async function $
|
|
94597
|
+
async function $do138(client, _request, options) {
|
|
94795
94598
|
const path = pathToFunc("/terminal-applications")();
|
|
94796
94599
|
const headers = new Headers(compactMap({
|
|
94797
94600
|
Accept: "application/json",
|
|
@@ -94855,12 +94658,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
94855
94658
|
});
|
|
94856
94659
|
|
|
94857
94660
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
94858
|
-
var
|
|
94661
|
+
var args138, tool$terminalApplicationsList;
|
|
94859
94662
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
94860
94663
|
init_terminalApplicationsList();
|
|
94861
94664
|
init_operations();
|
|
94862
94665
|
init_tools();
|
|
94863
|
-
|
|
94666
|
+
args138 = {
|
|
94864
94667
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
94865
94668
|
};
|
|
94866
94669
|
tool$terminalApplicationsList = {
|
|
@@ -94869,9 +94672,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
94869
94672
|
|
|
94870
94673
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94871
94674
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
94872
|
-
args:
|
|
94873
|
-
tool: async (client,
|
|
94874
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
94675
|
+
args: args138,
|
|
94676
|
+
tool: async (client, args139, ctx) => {
|
|
94677
|
+
const [result, apiCall] = await terminalApplicationsList(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94875
94678
|
if (!result.ok) {
|
|
94876
94679
|
return {
|
|
94877
94680
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94886,9 +94689,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
94886
94689
|
|
|
94887
94690
|
// src/funcs/transfersCreate.ts
|
|
94888
94691
|
function transfersCreate(client, request, options) {
|
|
94889
|
-
return new APIPromise($
|
|
94692
|
+
return new APIPromise($do139(client, request, options));
|
|
94890
94693
|
}
|
|
94891
|
-
async function $
|
|
94694
|
+
async function $do139(client, request, options) {
|
|
94892
94695
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94893
94696
|
if (!parsed.ok) {
|
|
94894
94697
|
return [parsed, { status: "invalid" }];
|
|
@@ -94981,12 +94784,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
94981
94784
|
});
|
|
94982
94785
|
|
|
94983
94786
|
// src/mcp-server/tools/transfersCreate.ts
|
|
94984
|
-
var
|
|
94787
|
+
var args139, tool$transfersCreate;
|
|
94985
94788
|
var init_transfersCreate2 = __esm(() => {
|
|
94986
94789
|
init_transfersCreate();
|
|
94987
94790
|
init_operations();
|
|
94988
94791
|
init_tools();
|
|
94989
|
-
|
|
94792
|
+
args139 = {
|
|
94990
94793
|
request: CreateTransferRequest$inboundSchema
|
|
94991
94794
|
};
|
|
94992
94795
|
tool$transfersCreate = {
|
|
@@ -94997,9 +94800,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
94997
94800
|
|
|
94998
94801
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94999
94802
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95000
|
-
args:
|
|
95001
|
-
tool: async (client,
|
|
95002
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
94803
|
+
args: args139,
|
|
94804
|
+
tool: async (client, args140, ctx) => {
|
|
94805
|
+
const [result, apiCall] = await transfersCreate(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95003
94806
|
if (!result.ok) {
|
|
95004
94807
|
return {
|
|
95005
94808
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95014,9 +94817,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95014
94817
|
|
|
95015
94818
|
// src/funcs/transfersCreateCancellation.ts
|
|
95016
94819
|
function transfersCreateCancellation(client, request, options) {
|
|
95017
|
-
return new APIPromise($
|
|
94820
|
+
return new APIPromise($do140(client, request, options));
|
|
95018
94821
|
}
|
|
95019
|
-
async function $
|
|
94822
|
+
async function $do140(client, request, options) {
|
|
95020
94823
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95021
94824
|
if (!parsed.ok) {
|
|
95022
94825
|
return [parsed, { status: "invalid" }];
|
|
@@ -95099,12 +94902,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
95099
94902
|
});
|
|
95100
94903
|
|
|
95101
94904
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
95102
|
-
var
|
|
94905
|
+
var args140, tool$transfersCreateCancellation;
|
|
95103
94906
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
95104
94907
|
init_transfersCreateCancellation();
|
|
95105
94908
|
init_operations();
|
|
95106
94909
|
init_tools();
|
|
95107
|
-
|
|
94910
|
+
args140 = {
|
|
95108
94911
|
request: CreateCancellationRequest$inboundSchema
|
|
95109
94912
|
};
|
|
95110
94913
|
tool$transfersCreateCancellation = {
|
|
@@ -95113,9 +94916,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
95113
94916
|
|
|
95114
94917
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
95115
94918
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95116
|
-
args:
|
|
95117
|
-
tool: async (client,
|
|
95118
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
94919
|
+
args: args140,
|
|
94920
|
+
tool: async (client, args141, ctx) => {
|
|
94921
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95119
94922
|
if (!result.ok) {
|
|
95120
94923
|
return {
|
|
95121
94924
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95130,9 +94933,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
95130
94933
|
|
|
95131
94934
|
// src/funcs/transfersCreateReversal.ts
|
|
95132
94935
|
function transfersCreateReversal(client, request, options) {
|
|
95133
|
-
return new APIPromise($
|
|
94936
|
+
return new APIPromise($do141(client, request, options));
|
|
95134
94937
|
}
|
|
95135
|
-
async function $
|
|
94938
|
+
async function $do141(client, request, options) {
|
|
95136
94939
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95137
94940
|
if (!parsed.ok) {
|
|
95138
94941
|
return [parsed, { status: "invalid" }];
|
|
@@ -95231,12 +95034,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
95231
95034
|
});
|
|
95232
95035
|
|
|
95233
95036
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
95234
|
-
var
|
|
95037
|
+
var args141, tool$transfersCreateReversal;
|
|
95235
95038
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
95236
95039
|
init_transfersCreateReversal();
|
|
95237
95040
|
init_operations();
|
|
95238
95041
|
init_tools();
|
|
95239
|
-
|
|
95042
|
+
args141 = {
|
|
95240
95043
|
request: CreateReversalRequest$inboundSchema
|
|
95241
95044
|
};
|
|
95242
95045
|
tool$transfersCreateReversal = {
|
|
@@ -95247,9 +95050,9 @@ to learn more.
|
|
|
95247
95050
|
|
|
95248
95051
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
95249
95052
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95250
|
-
args:
|
|
95251
|
-
tool: async (client,
|
|
95252
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
95053
|
+
args: args141,
|
|
95054
|
+
tool: async (client, args142, ctx) => {
|
|
95055
|
+
const [result, apiCall] = await transfersCreateReversal(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95253
95056
|
if (!result.ok) {
|
|
95254
95057
|
return {
|
|
95255
95058
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95264,9 +95067,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95264
95067
|
|
|
95265
95068
|
// src/funcs/transfersGenerateOptions.ts
|
|
95266
95069
|
function transfersGenerateOptions(client, request, options) {
|
|
95267
|
-
return new APIPromise($
|
|
95070
|
+
return new APIPromise($do142(client, request, options));
|
|
95268
95071
|
}
|
|
95269
|
-
async function $
|
|
95072
|
+
async function $do142(client, request, options) {
|
|
95270
95073
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95271
95074
|
if (!parsed.ok) {
|
|
95272
95075
|
return [parsed, { status: "invalid" }];
|
|
@@ -95350,12 +95153,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
95350
95153
|
});
|
|
95351
95154
|
|
|
95352
95155
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
95353
|
-
var
|
|
95156
|
+
var args142, tool$transfersGenerateOptions;
|
|
95354
95157
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
95355
95158
|
init_transfersGenerateOptions();
|
|
95356
95159
|
init_operations();
|
|
95357
95160
|
init_tools();
|
|
95358
|
-
|
|
95161
|
+
args142 = {
|
|
95359
95162
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
95360
95163
|
};
|
|
95361
95164
|
tool$transfersGenerateOptions = {
|
|
@@ -95369,9 +95172,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
95369
95172
|
|
|
95370
95173
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95371
95174
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95372
|
-
args:
|
|
95373
|
-
tool: async (client,
|
|
95374
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
95175
|
+
args: args142,
|
|
95176
|
+
tool: async (client, args143, ctx) => {
|
|
95177
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95375
95178
|
if (!result.ok) {
|
|
95376
95179
|
return {
|
|
95377
95180
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95386,9 +95189,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95386
95189
|
|
|
95387
95190
|
// src/funcs/transfersGet.ts
|
|
95388
95191
|
function transfersGet(client, request, options) {
|
|
95389
|
-
return new APIPromise($
|
|
95192
|
+
return new APIPromise($do143(client, request, options));
|
|
95390
95193
|
}
|
|
95391
|
-
async function $
|
|
95194
|
+
async function $do143(client, request, options) {
|
|
95392
95195
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95393
95196
|
if (!parsed.ok) {
|
|
95394
95197
|
return [parsed, { status: "invalid" }];
|
|
@@ -95470,12 +95273,12 @@ var init_transfersGet = __esm(() => {
|
|
|
95470
95273
|
});
|
|
95471
95274
|
|
|
95472
95275
|
// src/mcp-server/tools/transfersGet.ts
|
|
95473
|
-
var
|
|
95276
|
+
var args143, tool$transfersGet;
|
|
95474
95277
|
var init_transfersGet2 = __esm(() => {
|
|
95475
95278
|
init_transfersGet();
|
|
95476
95279
|
init_operations();
|
|
95477
95280
|
init_tools();
|
|
95478
|
-
|
|
95281
|
+
args143 = {
|
|
95479
95282
|
request: GetTransferRequest$inboundSchema
|
|
95480
95283
|
};
|
|
95481
95284
|
tool$transfersGet = {
|
|
@@ -95487,9 +95290,9 @@ to learn more.
|
|
|
95487
95290
|
|
|
95488
95291
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95489
95292
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95490
|
-
args:
|
|
95491
|
-
tool: async (client,
|
|
95492
|
-
const [result, apiCall] = await transfersGet(client,
|
|
95293
|
+
args: args143,
|
|
95294
|
+
tool: async (client, args144, ctx) => {
|
|
95295
|
+
const [result, apiCall] = await transfersGet(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95493
95296
|
if (!result.ok) {
|
|
95494
95297
|
return {
|
|
95495
95298
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95504,9 +95307,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
95504
95307
|
|
|
95505
95308
|
// src/funcs/transfersGetCancellation.ts
|
|
95506
95309
|
function transfersGetCancellation(client, request, options) {
|
|
95507
|
-
return new APIPromise($
|
|
95310
|
+
return new APIPromise($do144(client, request, options));
|
|
95508
95311
|
}
|
|
95509
|
-
async function $
|
|
95312
|
+
async function $do144(client, request, options) {
|
|
95510
95313
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95511
95314
|
if (!parsed.ok) {
|
|
95512
95315
|
return [parsed, { status: "invalid" }];
|
|
@@ -95592,12 +95395,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
95592
95395
|
});
|
|
95593
95396
|
|
|
95594
95397
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
95595
|
-
var
|
|
95398
|
+
var args144, tool$transfersGetCancellation;
|
|
95596
95399
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
95597
95400
|
init_transfersGetCancellation();
|
|
95598
95401
|
init_operations();
|
|
95599
95402
|
init_tools();
|
|
95600
|
-
|
|
95403
|
+
args144 = {
|
|
95601
95404
|
request: GetCancellationRequest$inboundSchema
|
|
95602
95405
|
};
|
|
95603
95406
|
tool$transfersGetCancellation = {
|
|
@@ -95606,9 +95409,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
95606
95409
|
|
|
95607
95410
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
95608
95411
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95609
|
-
args:
|
|
95610
|
-
tool: async (client,
|
|
95611
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
95412
|
+
args: args144,
|
|
95413
|
+
tool: async (client, args145, ctx) => {
|
|
95414
|
+
const [result, apiCall] = await transfersGetCancellation(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95612
95415
|
if (!result.ok) {
|
|
95613
95416
|
return {
|
|
95614
95417
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95623,9 +95426,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
95623
95426
|
|
|
95624
95427
|
// src/funcs/transfersGetRefund.ts
|
|
95625
95428
|
function transfersGetRefund(client, request, options) {
|
|
95626
|
-
return new APIPromise($
|
|
95429
|
+
return new APIPromise($do145(client, request, options));
|
|
95627
95430
|
}
|
|
95628
|
-
async function $
|
|
95431
|
+
async function $do145(client, request, options) {
|
|
95629
95432
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95630
95433
|
if (!parsed.ok) {
|
|
95631
95434
|
return [parsed, { status: "invalid" }];
|
|
@@ -95711,12 +95514,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
95711
95514
|
});
|
|
95712
95515
|
|
|
95713
95516
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
95714
|
-
var
|
|
95517
|
+
var args145, tool$transfersGetRefund;
|
|
95715
95518
|
var init_transfersGetRefund2 = __esm(() => {
|
|
95716
95519
|
init_transfersGetRefund();
|
|
95717
95520
|
init_operations();
|
|
95718
95521
|
init_tools();
|
|
95719
|
-
|
|
95522
|
+
args145 = {
|
|
95720
95523
|
request: GetRefundRequest$inboundSchema
|
|
95721
95524
|
};
|
|
95722
95525
|
tool$transfersGetRefund = {
|
|
@@ -95725,9 +95528,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
95725
95528
|
|
|
95726
95529
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95727
95530
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95728
|
-
args:
|
|
95729
|
-
tool: async (client,
|
|
95730
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
95531
|
+
args: args145,
|
|
95532
|
+
tool: async (client, args146, ctx) => {
|
|
95533
|
+
const [result, apiCall] = await transfersGetRefund(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95731
95534
|
if (!result.ok) {
|
|
95732
95535
|
return {
|
|
95733
95536
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95742,9 +95545,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
95742
95545
|
|
|
95743
95546
|
// src/funcs/transfersInitiateRefund.ts
|
|
95744
95547
|
function transfersInitiateRefund(client, request, options) {
|
|
95745
|
-
return new APIPromise($
|
|
95548
|
+
return new APIPromise($do146(client, request, options));
|
|
95746
95549
|
}
|
|
95747
|
-
async function $
|
|
95550
|
+
async function $do146(client, request, options) {
|
|
95748
95551
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95749
95552
|
if (!parsed.ok) {
|
|
95750
95553
|
return [parsed, { status: "invalid" }];
|
|
@@ -95836,12 +95639,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
95836
95639
|
});
|
|
95837
95640
|
|
|
95838
95641
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
95839
|
-
var
|
|
95642
|
+
var args146, tool$transfersInitiateRefund;
|
|
95840
95643
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
95841
95644
|
init_transfersInitiateRefund();
|
|
95842
95645
|
init_operations();
|
|
95843
95646
|
init_tools();
|
|
95844
|
-
|
|
95647
|
+
args146 = {
|
|
95845
95648
|
request: InitiateRefundRequest$inboundSchema
|
|
95846
95649
|
};
|
|
95847
95650
|
tool$transfersInitiateRefund = {
|
|
@@ -95853,9 +95656,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
95853
95656
|
|
|
95854
95657
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95855
95658
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95856
|
-
args:
|
|
95857
|
-
tool: async (client,
|
|
95858
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
95659
|
+
args: args146,
|
|
95660
|
+
tool: async (client, args147, ctx) => {
|
|
95661
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95859
95662
|
if (!result.ok) {
|
|
95860
95663
|
return {
|
|
95861
95664
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95870,9 +95673,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95870
95673
|
|
|
95871
95674
|
// src/funcs/transfersList.ts
|
|
95872
95675
|
function transfersList(client, request, options) {
|
|
95873
|
-
return new APIPromise($
|
|
95676
|
+
return new APIPromise($do147(client, request, options));
|
|
95874
95677
|
}
|
|
95875
|
-
async function $
|
|
95678
|
+
async function $do147(client, request, options) {
|
|
95876
95679
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95877
95680
|
if (!parsed.ok) {
|
|
95878
95681
|
return [parsed, { status: "invalid" }];
|
|
@@ -95968,12 +95771,12 @@ var init_transfersList = __esm(() => {
|
|
|
95968
95771
|
});
|
|
95969
95772
|
|
|
95970
95773
|
// src/mcp-server/tools/transfersList.ts
|
|
95971
|
-
var
|
|
95774
|
+
var args147, tool$transfersList;
|
|
95972
95775
|
var init_transfersList2 = __esm(() => {
|
|
95973
95776
|
init_transfersList();
|
|
95974
95777
|
init_operations();
|
|
95975
95778
|
init_tools();
|
|
95976
|
-
|
|
95779
|
+
args147 = {
|
|
95977
95780
|
request: ListTransfersRequest$inboundSchema
|
|
95978
95781
|
};
|
|
95979
95782
|
tool$transfersList = {
|
|
@@ -95989,9 +95792,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
95989
95792
|
|
|
95990
95793
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95991
95794
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95992
|
-
args:
|
|
95993
|
-
tool: async (client,
|
|
95994
|
-
const [result, apiCall] = await transfersList(client,
|
|
95795
|
+
args: args147,
|
|
95796
|
+
tool: async (client, args148, ctx) => {
|
|
95797
|
+
const [result, apiCall] = await transfersList(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95995
95798
|
if (!result.ok) {
|
|
95996
95799
|
return {
|
|
95997
95800
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96006,9 +95809,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
96006
95809
|
|
|
96007
95810
|
// src/funcs/transfersListRefunds.ts
|
|
96008
95811
|
function transfersListRefunds(client, request, options) {
|
|
96009
|
-
return new APIPromise($
|
|
95812
|
+
return new APIPromise($do148(client, request, options));
|
|
96010
95813
|
}
|
|
96011
|
-
async function $
|
|
95814
|
+
async function $do148(client, request, options) {
|
|
96012
95815
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96013
95816
|
if (!parsed.ok) {
|
|
96014
95817
|
return [parsed, { status: "invalid" }];
|
|
@@ -96090,12 +95893,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
96090
95893
|
});
|
|
96091
95894
|
|
|
96092
95895
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
96093
|
-
var
|
|
95896
|
+
var args148, tool$transfersListRefunds;
|
|
96094
95897
|
var init_transfersListRefunds2 = __esm(() => {
|
|
96095
95898
|
init_transfersListRefunds();
|
|
96096
95899
|
init_operations();
|
|
96097
95900
|
init_tools();
|
|
96098
|
-
|
|
95901
|
+
args148 = {
|
|
96099
95902
|
request: ListRefundsRequest$inboundSchema
|
|
96100
95903
|
};
|
|
96101
95904
|
tool$transfersListRefunds = {
|
|
@@ -96104,9 +95907,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
96104
95907
|
|
|
96105
95908
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96106
95909
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
96107
|
-
args:
|
|
96108
|
-
tool: async (client,
|
|
96109
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
95910
|
+
args: args148,
|
|
95911
|
+
tool: async (client, args149, ctx) => {
|
|
95912
|
+
const [result, apiCall] = await transfersListRefunds(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96110
95913
|
if (!result.ok) {
|
|
96111
95914
|
return {
|
|
96112
95915
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96121,9 +95924,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
96121
95924
|
|
|
96122
95925
|
// src/funcs/transfersUpdate.ts
|
|
96123
95926
|
function transfersUpdate(client, request, options) {
|
|
96124
|
-
return new APIPromise($
|
|
95927
|
+
return new APIPromise($do149(client, request, options));
|
|
96125
95928
|
}
|
|
96126
|
-
async function $
|
|
95929
|
+
async function $do149(client, request, options) {
|
|
96127
95930
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96128
95931
|
if (!parsed.ok) {
|
|
96129
95932
|
return [parsed, { status: "invalid" }];
|
|
@@ -96209,12 +96012,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
96209
96012
|
});
|
|
96210
96013
|
|
|
96211
96014
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
96212
|
-
var
|
|
96015
|
+
var args149, tool$transfersUpdate;
|
|
96213
96016
|
var init_transfersUpdate2 = __esm(() => {
|
|
96214
96017
|
init_transfersUpdate();
|
|
96215
96018
|
init_operations();
|
|
96216
96019
|
init_tools();
|
|
96217
|
-
|
|
96020
|
+
args149 = {
|
|
96218
96021
|
request: UpdateTransferRequest$inboundSchema
|
|
96219
96022
|
};
|
|
96220
96023
|
tool$transfersUpdate = {
|
|
@@ -96225,9 +96028,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
96225
96028
|
|
|
96226
96029
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96227
96030
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
96228
|
-
args:
|
|
96229
|
-
tool: async (client,
|
|
96230
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
96031
|
+
args: args149,
|
|
96032
|
+
tool: async (client, args150, ctx) => {
|
|
96033
|
+
const [result, apiCall] = await transfersUpdate(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96231
96034
|
if (!result.ok) {
|
|
96232
96035
|
return {
|
|
96233
96036
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96242,9 +96045,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
96242
96045
|
|
|
96243
96046
|
// src/funcs/underwritingGet.ts
|
|
96244
96047
|
function underwritingGet(client, request, options) {
|
|
96245
|
-
return new APIPromise($
|
|
96048
|
+
return new APIPromise($do150(client, request, options));
|
|
96246
96049
|
}
|
|
96247
|
-
async function $
|
|
96050
|
+
async function $do150(client, request, options) {
|
|
96248
96051
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96249
96052
|
if (!parsed.ok) {
|
|
96250
96053
|
return [parsed, { status: "invalid" }];
|
|
@@ -96322,12 +96125,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
96322
96125
|
});
|
|
96323
96126
|
|
|
96324
96127
|
// src/mcp-server/tools/underwritingGet.ts
|
|
96325
|
-
var
|
|
96128
|
+
var args150, tool$underwritingGet;
|
|
96326
96129
|
var init_underwritingGet2 = __esm(() => {
|
|
96327
96130
|
init_underwritingGet();
|
|
96328
96131
|
init_operations();
|
|
96329
96132
|
init_tools();
|
|
96330
|
-
|
|
96133
|
+
args150 = {
|
|
96331
96134
|
request: GetUnderwritingRequest$inboundSchema
|
|
96332
96135
|
};
|
|
96333
96136
|
tool$underwritingGet = {
|
|
@@ -96338,9 +96141,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
96338
96141
|
|
|
96339
96142
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96340
96143
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
96341
|
-
args:
|
|
96342
|
-
tool: async (client,
|
|
96343
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
96144
|
+
args: args150,
|
|
96145
|
+
tool: async (client, args151, ctx) => {
|
|
96146
|
+
const [result, apiCall] = await underwritingGet(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96344
96147
|
if (!result.ok) {
|
|
96345
96148
|
return {
|
|
96346
96149
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96355,9 +96158,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
96355
96158
|
|
|
96356
96159
|
// src/funcs/underwritingUpsert.ts
|
|
96357
96160
|
function underwritingUpsert(client, request, options) {
|
|
96358
|
-
return new APIPromise($
|
|
96161
|
+
return new APIPromise($do151(client, request, options));
|
|
96359
96162
|
}
|
|
96360
|
-
async function $
|
|
96163
|
+
async function $do151(client, request, options) {
|
|
96361
96164
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96362
96165
|
if (!parsed.ok) {
|
|
96363
96166
|
return [parsed, { status: "invalid" }];
|
|
@@ -96453,12 +96256,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
96453
96256
|
});
|
|
96454
96257
|
|
|
96455
96258
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
96456
|
-
var
|
|
96259
|
+
var args151, tool$underwritingUpsert;
|
|
96457
96260
|
var init_underwritingUpsert2 = __esm(() => {
|
|
96458
96261
|
init_underwritingUpsert();
|
|
96459
96262
|
init_operations();
|
|
96460
96263
|
init_tools();
|
|
96461
|
-
|
|
96264
|
+
args151 = {
|
|
96462
96265
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
96463
96266
|
};
|
|
96464
96267
|
tool$underwritingUpsert = {
|
|
@@ -96469,9 +96272,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
96469
96272
|
|
|
96470
96273
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96471
96274
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
96472
|
-
args:
|
|
96473
|
-
tool: async (client,
|
|
96474
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
96275
|
+
args: args151,
|
|
96276
|
+
tool: async (client, args152, ctx) => {
|
|
96277
|
+
const [result, apiCall] = await underwritingUpsert(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96475
96278
|
if (!result.ok) {
|
|
96476
96279
|
return {
|
|
96477
96280
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96486,9 +96289,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
96486
96289
|
|
|
96487
96290
|
// src/funcs/walletsCreate.ts
|
|
96488
96291
|
function walletsCreate(client, request, options) {
|
|
96489
|
-
return new APIPromise($
|
|
96292
|
+
return new APIPromise($do152(client, request, options));
|
|
96490
96293
|
}
|
|
96491
|
-
async function $
|
|
96294
|
+
async function $do152(client, request, options) {
|
|
96492
96295
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96493
96296
|
if (!parsed.ok) {
|
|
96494
96297
|
return [parsed, { status: "invalid" }];
|
|
@@ -96582,12 +96385,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
96582
96385
|
});
|
|
96583
96386
|
|
|
96584
96387
|
// src/mcp-server/tools/walletsCreate.ts
|
|
96585
|
-
var
|
|
96388
|
+
var args152, tool$walletsCreate;
|
|
96586
96389
|
var init_walletsCreate2 = __esm(() => {
|
|
96587
96390
|
init_walletsCreate();
|
|
96588
96391
|
init_operations();
|
|
96589
96392
|
init_tools();
|
|
96590
|
-
|
|
96393
|
+
args152 = {
|
|
96591
96394
|
request: CreateWalletRequest$inboundSchema
|
|
96592
96395
|
};
|
|
96593
96396
|
tool$walletsCreate = {
|
|
@@ -96598,9 +96401,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
96598
96401
|
|
|
96599
96402
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96600
96403
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
96601
|
-
args:
|
|
96602
|
-
tool: async (client,
|
|
96603
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
96404
|
+
args: args152,
|
|
96405
|
+
tool: async (client, args153, ctx) => {
|
|
96406
|
+
const [result, apiCall] = await walletsCreate(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96604
96407
|
if (!result.ok) {
|
|
96605
96408
|
return {
|
|
96606
96409
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96615,9 +96418,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
96615
96418
|
|
|
96616
96419
|
// src/funcs/walletsGet.ts
|
|
96617
96420
|
function walletsGet(client, request, options) {
|
|
96618
|
-
return new APIPromise($
|
|
96421
|
+
return new APIPromise($do153(client, request, options));
|
|
96619
96422
|
}
|
|
96620
|
-
async function $
|
|
96423
|
+
async function $do153(client, request, options) {
|
|
96621
96424
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96622
96425
|
if (!parsed.ok) {
|
|
96623
96426
|
return [parsed, { status: "invalid" }];
|
|
@@ -96699,12 +96502,12 @@ var init_walletsGet = __esm(() => {
|
|
|
96699
96502
|
});
|
|
96700
96503
|
|
|
96701
96504
|
// src/mcp-server/tools/walletsGet.ts
|
|
96702
|
-
var
|
|
96505
|
+
var args153, tool$walletsGet;
|
|
96703
96506
|
var init_walletsGet2 = __esm(() => {
|
|
96704
96507
|
init_walletsGet();
|
|
96705
96508
|
init_operations();
|
|
96706
96509
|
init_tools();
|
|
96707
|
-
|
|
96510
|
+
args153 = {
|
|
96708
96511
|
request: GetWalletRequest$inboundSchema
|
|
96709
96512
|
};
|
|
96710
96513
|
tool$walletsGet = {
|
|
@@ -96715,9 +96518,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
96715
96518
|
|
|
96716
96519
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96717
96520
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
96718
|
-
args:
|
|
96719
|
-
tool: async (client,
|
|
96720
|
-
const [result, apiCall] = await walletsGet(client,
|
|
96521
|
+
args: args153,
|
|
96522
|
+
tool: async (client, args154, ctx) => {
|
|
96523
|
+
const [result, apiCall] = await walletsGet(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96721
96524
|
if (!result.ok) {
|
|
96722
96525
|
return {
|
|
96723
96526
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96732,9 +96535,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
96732
96535
|
|
|
96733
96536
|
// src/funcs/walletsList.ts
|
|
96734
96537
|
function walletsList(client, request, options) {
|
|
96735
|
-
return new APIPromise($
|
|
96538
|
+
return new APIPromise($do154(client, request, options));
|
|
96736
96539
|
}
|
|
96737
|
-
async function $
|
|
96540
|
+
async function $do154(client, request, options) {
|
|
96738
96541
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96739
96542
|
if (!parsed.ok) {
|
|
96740
96543
|
return [parsed, { status: "invalid" }];
|
|
@@ -96822,12 +96625,12 @@ var init_walletsList = __esm(() => {
|
|
|
96822
96625
|
});
|
|
96823
96626
|
|
|
96824
96627
|
// src/mcp-server/tools/walletsList.ts
|
|
96825
|
-
var
|
|
96628
|
+
var args154, tool$walletsList;
|
|
96826
96629
|
var init_walletsList2 = __esm(() => {
|
|
96827
96630
|
init_walletsList();
|
|
96828
96631
|
init_operations();
|
|
96829
96632
|
init_tools();
|
|
96830
|
-
|
|
96633
|
+
args154 = {
|
|
96831
96634
|
request: ListWalletsRequest$inboundSchema
|
|
96832
96635
|
};
|
|
96833
96636
|
tool$walletsList = {
|
|
@@ -96838,9 +96641,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
96838
96641
|
|
|
96839
96642
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96840
96643
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
96841
|
-
args:
|
|
96842
|
-
tool: async (client,
|
|
96843
|
-
const [result, apiCall] = await walletsList(client,
|
|
96644
|
+
args: args154,
|
|
96645
|
+
tool: async (client, args155, ctx) => {
|
|
96646
|
+
const [result, apiCall] = await walletsList(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96844
96647
|
if (!result.ok) {
|
|
96845
96648
|
return {
|
|
96846
96649
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96855,9 +96658,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
96855
96658
|
|
|
96856
96659
|
// src/funcs/walletsUpdate.ts
|
|
96857
96660
|
function walletsUpdate(client, request, options) {
|
|
96858
|
-
return new APIPromise($
|
|
96661
|
+
return new APIPromise($do155(client, request, options));
|
|
96859
96662
|
}
|
|
96860
|
-
async function $
|
|
96663
|
+
async function $do155(client, request, options) {
|
|
96861
96664
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96862
96665
|
if (!parsed.ok) {
|
|
96863
96666
|
return [parsed, { status: "invalid" }];
|
|
@@ -96955,12 +96758,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
96955
96758
|
});
|
|
96956
96759
|
|
|
96957
96760
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
96958
|
-
var
|
|
96761
|
+
var args155, tool$walletsUpdate;
|
|
96959
96762
|
var init_walletsUpdate2 = __esm(() => {
|
|
96960
96763
|
init_walletsUpdate();
|
|
96961
96764
|
init_operations();
|
|
96962
96765
|
init_tools();
|
|
96963
|
-
|
|
96766
|
+
args155 = {
|
|
96964
96767
|
request: UpdateWalletRequest$inboundSchema
|
|
96965
96768
|
};
|
|
96966
96769
|
tool$walletsUpdate = {
|
|
@@ -96971,9 +96774,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
96971
96774
|
|
|
96972
96775
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96973
96776
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
96974
|
-
args:
|
|
96975
|
-
tool: async (client,
|
|
96976
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
96777
|
+
args: args155,
|
|
96778
|
+
tool: async (client, args156, ctx) => {
|
|
96779
|
+
const [result, apiCall] = await walletsUpdate(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96977
96780
|
if (!result.ok) {
|
|
96978
96781
|
return {
|
|
96979
96782
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96988,9 +96791,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
96988
96791
|
|
|
96989
96792
|
// src/funcs/walletTransactionsGet.ts
|
|
96990
96793
|
function walletTransactionsGet(client, request, options) {
|
|
96991
|
-
return new APIPromise($
|
|
96794
|
+
return new APIPromise($do156(client, request, options));
|
|
96992
96795
|
}
|
|
96993
|
-
async function $
|
|
96796
|
+
async function $do156(client, request, options) {
|
|
96994
96797
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96995
96798
|
if (!parsed.ok) {
|
|
96996
96799
|
return [parsed, { status: "invalid" }];
|
|
@@ -97076,12 +96879,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
97076
96879
|
});
|
|
97077
96880
|
|
|
97078
96881
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
97079
|
-
var
|
|
96882
|
+
var args156, tool$walletTransactionsGet;
|
|
97080
96883
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
97081
96884
|
init_walletTransactionsGet();
|
|
97082
96885
|
init_operations();
|
|
97083
96886
|
init_tools();
|
|
97084
|
-
|
|
96887
|
+
args156 = {
|
|
97085
96888
|
request: GetWalletTransactionRequest$inboundSchema
|
|
97086
96889
|
};
|
|
97087
96890
|
tool$walletTransactionsGet = {
|
|
@@ -97092,9 +96895,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
97092
96895
|
|
|
97093
96896
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97094
96897
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97095
|
-
args:
|
|
97096
|
-
tool: async (client,
|
|
97097
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
96898
|
+
args: args156,
|
|
96899
|
+
tool: async (client, args157, ctx) => {
|
|
96900
|
+
const [result, apiCall] = await walletTransactionsGet(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97098
96901
|
if (!result.ok) {
|
|
97099
96902
|
return {
|
|
97100
96903
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97109,9 +96912,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97109
96912
|
|
|
97110
96913
|
// src/funcs/walletTransactionsList.ts
|
|
97111
96914
|
function walletTransactionsList(client, request, options) {
|
|
97112
|
-
return new APIPromise($
|
|
96915
|
+
return new APIPromise($do157(client, request, options));
|
|
97113
96916
|
}
|
|
97114
|
-
async function $
|
|
96917
|
+
async function $do157(client, request, options) {
|
|
97115
96918
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97116
96919
|
if (!parsed.ok) {
|
|
97117
96920
|
return [parsed, { status: "invalid" }];
|
|
@@ -97211,12 +97014,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
97211
97014
|
});
|
|
97212
97015
|
|
|
97213
97016
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
97214
|
-
var
|
|
97017
|
+
var args157, tool$walletTransactionsList;
|
|
97215
97018
|
var init_walletTransactionsList2 = __esm(() => {
|
|
97216
97019
|
init_walletTransactionsList();
|
|
97217
97020
|
init_operations();
|
|
97218
97021
|
init_tools();
|
|
97219
|
-
|
|
97022
|
+
args157 = {
|
|
97220
97023
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
97221
97024
|
};
|
|
97222
97025
|
tool$walletTransactionsList = {
|
|
@@ -97227,9 +97030,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
97227
97030
|
|
|
97228
97031
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97229
97032
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97230
|
-
args:
|
|
97231
|
-
tool: async (client,
|
|
97232
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
97033
|
+
args: args157,
|
|
97034
|
+
tool: async (client, args158, ctx) => {
|
|
97035
|
+
const [result, apiCall] = await walletTransactionsList(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97233
97036
|
if (!result.ok) {
|
|
97234
97037
|
return {
|
|
97235
97038
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97244,9 +97047,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97244
97047
|
|
|
97245
97048
|
// src/funcs/webhooksCreate.ts
|
|
97246
97049
|
function webhooksCreate(client, request, options) {
|
|
97247
|
-
return new APIPromise($
|
|
97050
|
+
return new APIPromise($do158(client, request, options));
|
|
97248
97051
|
}
|
|
97249
|
-
async function $
|
|
97052
|
+
async function $do158(client, request, options) {
|
|
97250
97053
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
97251
97054
|
if (!parsed.ok) {
|
|
97252
97055
|
return [parsed, { status: "invalid" }];
|
|
@@ -97335,20 +97138,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
97335
97138
|
});
|
|
97336
97139
|
|
|
97337
97140
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
97338
|
-
var
|
|
97141
|
+
var args158, tool$webhooksCreate;
|
|
97339
97142
|
var init_webhooksCreate2 = __esm(() => {
|
|
97340
97143
|
init_webhooksCreate();
|
|
97341
97144
|
init_components();
|
|
97342
97145
|
init_tools();
|
|
97343
|
-
|
|
97146
|
+
args158 = {
|
|
97344
97147
|
request: CreateWebhook$inboundSchema
|
|
97345
97148
|
};
|
|
97346
97149
|
tool$webhooksCreate = {
|
|
97347
97150
|
name: "webhooks-create",
|
|
97348
97151
|
description: `Create a new webhook for the account.`,
|
|
97349
|
-
args:
|
|
97350
|
-
tool: async (client,
|
|
97351
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
97152
|
+
args: args158,
|
|
97153
|
+
tool: async (client, args159, ctx) => {
|
|
97154
|
+
const [result, apiCall] = await webhooksCreate(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97352
97155
|
if (!result.ok) {
|
|
97353
97156
|
return {
|
|
97354
97157
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97363,9 +97166,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
97363
97166
|
|
|
97364
97167
|
// src/funcs/webhooksDisable.ts
|
|
97365
97168
|
function webhooksDisable(client, request, options) {
|
|
97366
|
-
return new APIPromise($
|
|
97169
|
+
return new APIPromise($do159(client, request, options));
|
|
97367
97170
|
}
|
|
97368
|
-
async function $
|
|
97171
|
+
async function $do159(client, request, options) {
|
|
97369
97172
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97370
97173
|
if (!parsed.ok) {
|
|
97371
97174
|
return [parsed, { status: "invalid" }];
|
|
@@ -97454,20 +97257,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
97454
97257
|
});
|
|
97455
97258
|
|
|
97456
97259
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
97457
|
-
var
|
|
97260
|
+
var args159, tool$webhooksDisable;
|
|
97458
97261
|
var init_webhooksDisable2 = __esm(() => {
|
|
97459
97262
|
init_webhooksDisable();
|
|
97460
97263
|
init_operations();
|
|
97461
97264
|
init_tools();
|
|
97462
|
-
|
|
97265
|
+
args159 = {
|
|
97463
97266
|
request: DisableWebhookRequest$inboundSchema
|
|
97464
97267
|
};
|
|
97465
97268
|
tool$webhooksDisable = {
|
|
97466
97269
|
name: "webhooks-disable",
|
|
97467
97270
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
97468
|
-
args:
|
|
97469
|
-
tool: async (client,
|
|
97470
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
97271
|
+
args: args159,
|
|
97272
|
+
tool: async (client, args160, ctx) => {
|
|
97273
|
+
const [result, apiCall] = await webhooksDisable(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97471
97274
|
if (!result.ok) {
|
|
97472
97275
|
return {
|
|
97473
97276
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97481,9 +97284,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
97481
97284
|
|
|
97482
97285
|
// src/funcs/webhooksGet.ts
|
|
97483
97286
|
function webhooksGet(client, request, options) {
|
|
97484
|
-
return new APIPromise($
|
|
97287
|
+
return new APIPromise($do160(client, request, options));
|
|
97485
97288
|
}
|
|
97486
|
-
async function $
|
|
97289
|
+
async function $do160(client, request, options) {
|
|
97487
97290
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97488
97291
|
if (!parsed.ok) {
|
|
97489
97292
|
return [parsed, { status: "invalid" }];
|
|
@@ -97561,20 +97364,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
97561
97364
|
});
|
|
97562
97365
|
|
|
97563
97366
|
// src/mcp-server/tools/webhooksGet.ts
|
|
97564
|
-
var
|
|
97367
|
+
var args160, tool$webhooksGet;
|
|
97565
97368
|
var init_webhooksGet2 = __esm(() => {
|
|
97566
97369
|
init_webhooksGet();
|
|
97567
97370
|
init_operations();
|
|
97568
97371
|
init_tools();
|
|
97569
|
-
|
|
97372
|
+
args160 = {
|
|
97570
97373
|
request: GetWebhookRequest$inboundSchema
|
|
97571
97374
|
};
|
|
97572
97375
|
tool$webhooksGet = {
|
|
97573
97376
|
name: "webhooks-get",
|
|
97574
97377
|
description: `Get details of a specific webhook.`,
|
|
97575
|
-
args:
|
|
97576
|
-
tool: async (client,
|
|
97577
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
97378
|
+
args: args160,
|
|
97379
|
+
tool: async (client, args161, ctx) => {
|
|
97380
|
+
const [result, apiCall] = await webhooksGet(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97578
97381
|
if (!result.ok) {
|
|
97579
97382
|
return {
|
|
97580
97383
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97589,9 +97392,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
97589
97392
|
|
|
97590
97393
|
// src/funcs/webhooksGetSecret.ts
|
|
97591
97394
|
function webhooksGetSecret(client, request, options) {
|
|
97592
|
-
return new APIPromise($
|
|
97395
|
+
return new APIPromise($do161(client, request, options));
|
|
97593
97396
|
}
|
|
97594
|
-
async function $
|
|
97397
|
+
async function $do161(client, request, options) {
|
|
97595
97398
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97596
97399
|
if (!parsed.ok) {
|
|
97597
97400
|
return [parsed, { status: "invalid" }];
|
|
@@ -97669,20 +97472,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
97669
97472
|
});
|
|
97670
97473
|
|
|
97671
97474
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
97672
|
-
var
|
|
97475
|
+
var args161, tool$webhooksGetSecret;
|
|
97673
97476
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
97674
97477
|
init_webhooksGetSecret();
|
|
97675
97478
|
init_operations();
|
|
97676
97479
|
init_tools();
|
|
97677
|
-
|
|
97480
|
+
args161 = {
|
|
97678
97481
|
request: GetWebhookSecretRequest$inboundSchema
|
|
97679
97482
|
};
|
|
97680
97483
|
tool$webhooksGetSecret = {
|
|
97681
97484
|
name: "webhooks-get-secret",
|
|
97682
97485
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
97683
|
-
args:
|
|
97684
|
-
tool: async (client,
|
|
97685
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
97486
|
+
args: args161,
|
|
97487
|
+
tool: async (client, args162, ctx) => {
|
|
97488
|
+
const [result, apiCall] = await webhooksGetSecret(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97686
97489
|
if (!result.ok) {
|
|
97687
97490
|
return {
|
|
97688
97491
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97697,9 +97500,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
97697
97500
|
|
|
97698
97501
|
// src/funcs/webhooksList.ts
|
|
97699
97502
|
function webhooksList(client, _request, options) {
|
|
97700
|
-
return new APIPromise($
|
|
97503
|
+
return new APIPromise($do162(client, _request, options));
|
|
97701
97504
|
}
|
|
97702
|
-
async function $
|
|
97505
|
+
async function $do162(client, _request, options) {
|
|
97703
97506
|
const path = pathToFunc("/webhooks")();
|
|
97704
97507
|
const headers = new Headers(compactMap({
|
|
97705
97508
|
Accept: "application/json",
|
|
@@ -97763,20 +97566,20 @@ var init_webhooksList = __esm(() => {
|
|
|
97763
97566
|
});
|
|
97764
97567
|
|
|
97765
97568
|
// src/mcp-server/tools/webhooksList.ts
|
|
97766
|
-
var
|
|
97569
|
+
var args162, tool$webhooksList;
|
|
97767
97570
|
var init_webhooksList2 = __esm(() => {
|
|
97768
97571
|
init_webhooksList();
|
|
97769
97572
|
init_operations();
|
|
97770
97573
|
init_tools();
|
|
97771
|
-
|
|
97574
|
+
args162 = {
|
|
97772
97575
|
request: ListWebhooksRequest$inboundSchema
|
|
97773
97576
|
};
|
|
97774
97577
|
tool$webhooksList = {
|
|
97775
97578
|
name: "webhooks-list",
|
|
97776
97579
|
description: `List all webhooks configured for the account.`,
|
|
97777
|
-
args:
|
|
97778
|
-
tool: async (client,
|
|
97779
|
-
const [result, apiCall] = await webhooksList(client,
|
|
97580
|
+
args: args162,
|
|
97581
|
+
tool: async (client, args163, ctx) => {
|
|
97582
|
+
const [result, apiCall] = await webhooksList(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97780
97583
|
if (!result.ok) {
|
|
97781
97584
|
return {
|
|
97782
97585
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97791,9 +97594,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
97791
97594
|
|
|
97792
97595
|
// src/funcs/webhooksListEventTypes.ts
|
|
97793
97596
|
function webhooksListEventTypes(client, _request, options) {
|
|
97794
|
-
return new APIPromise($
|
|
97597
|
+
return new APIPromise($do163(client, _request, options));
|
|
97795
97598
|
}
|
|
97796
|
-
async function $
|
|
97599
|
+
async function $do163(client, _request, options) {
|
|
97797
97600
|
const path = pathToFunc("/event-types")();
|
|
97798
97601
|
const headers = new Headers(compactMap({
|
|
97799
97602
|
Accept: "application/json",
|
|
@@ -97857,20 +97660,20 @@ var init_webhooksListEventTypes = __esm(() => {
|
|
|
97857
97660
|
});
|
|
97858
97661
|
|
|
97859
97662
|
// src/mcp-server/tools/webhooksListEventTypes.ts
|
|
97860
|
-
var
|
|
97663
|
+
var args163, tool$webhooksListEventTypes;
|
|
97861
97664
|
var init_webhooksListEventTypes2 = __esm(() => {
|
|
97862
97665
|
init_webhooksListEventTypes();
|
|
97863
97666
|
init_operations();
|
|
97864
97667
|
init_tools();
|
|
97865
|
-
|
|
97668
|
+
args163 = {
|
|
97866
97669
|
request: ListEventTypesRequest$inboundSchema
|
|
97867
97670
|
};
|
|
97868
97671
|
tool$webhooksListEventTypes = {
|
|
97869
97672
|
name: "webhooks-list-event-types",
|
|
97870
97673
|
description: `List all available event types that can be subscribed to.`,
|
|
97871
|
-
args:
|
|
97872
|
-
tool: async (client,
|
|
97873
|
-
const [result, apiCall] = await webhooksListEventTypes(client,
|
|
97674
|
+
args: args163,
|
|
97675
|
+
tool: async (client, args164, ctx) => {
|
|
97676
|
+
const [result, apiCall] = await webhooksListEventTypes(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97874
97677
|
if (!result.ok) {
|
|
97875
97678
|
return {
|
|
97876
97679
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97885,9 +97688,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
97885
97688
|
|
|
97886
97689
|
// src/funcs/webhooksPing.ts
|
|
97887
97690
|
function webhooksPing(client, request, options) {
|
|
97888
|
-
return new APIPromise($
|
|
97691
|
+
return new APIPromise($do164(client, request, options));
|
|
97889
97692
|
}
|
|
97890
|
-
async function $
|
|
97693
|
+
async function $do164(client, request, options) {
|
|
97891
97694
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97892
97695
|
if (!parsed.ok) {
|
|
97893
97696
|
return [parsed, { status: "invalid" }];
|
|
@@ -97965,20 +97768,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
97965
97768
|
});
|
|
97966
97769
|
|
|
97967
97770
|
// src/mcp-server/tools/webhooksPing.ts
|
|
97968
|
-
var
|
|
97771
|
+
var args164, tool$webhooksPing;
|
|
97969
97772
|
var init_webhooksPing2 = __esm(() => {
|
|
97970
97773
|
init_webhooksPing();
|
|
97971
97774
|
init_operations();
|
|
97972
97775
|
init_tools();
|
|
97973
|
-
|
|
97776
|
+
args164 = {
|
|
97974
97777
|
request: PingWebhookRequest$inboundSchema
|
|
97975
97778
|
};
|
|
97976
97779
|
tool$webhooksPing = {
|
|
97977
97780
|
name: "webhooks-ping",
|
|
97978
97781
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
97979
|
-
args:
|
|
97980
|
-
tool: async (client,
|
|
97981
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
97782
|
+
args: args164,
|
|
97783
|
+
tool: async (client, args165, ctx) => {
|
|
97784
|
+
const [result, apiCall] = await webhooksPing(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97982
97785
|
if (!result.ok) {
|
|
97983
97786
|
return {
|
|
97984
97787
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97993,9 +97796,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
97993
97796
|
|
|
97994
97797
|
// src/funcs/webhooksUpdate.ts
|
|
97995
97798
|
function webhooksUpdate(client, request, options) {
|
|
97996
|
-
return new APIPromise($
|
|
97799
|
+
return new APIPromise($do165(client, request, options));
|
|
97997
97800
|
}
|
|
97998
|
-
async function $
|
|
97801
|
+
async function $do165(client, request, options) {
|
|
97999
97802
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98000
97803
|
if (!parsed.ok) {
|
|
98001
97804
|
return [parsed, { status: "invalid" }];
|
|
@@ -98089,20 +97892,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
98089
97892
|
});
|
|
98090
97893
|
|
|
98091
97894
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
98092
|
-
var
|
|
97895
|
+
var args165, tool$webhooksUpdate;
|
|
98093
97896
|
var init_webhooksUpdate2 = __esm(() => {
|
|
98094
97897
|
init_webhooksUpdate();
|
|
98095
97898
|
init_operations();
|
|
98096
97899
|
init_tools();
|
|
98097
|
-
|
|
97900
|
+
args165 = {
|
|
98098
97901
|
request: UpdateWebhookRequest$inboundSchema
|
|
98099
97902
|
};
|
|
98100
97903
|
tool$webhooksUpdate = {
|
|
98101
97904
|
name: "webhooks-update",
|
|
98102
97905
|
description: `Update an existing webhook.`,
|
|
98103
|
-
args:
|
|
98104
|
-
tool: async (client,
|
|
98105
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
97906
|
+
args: args165,
|
|
97907
|
+
tool: async (client, args166, ctx) => {
|
|
97908
|
+
const [result, apiCall] = await webhooksUpdate(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98106
97909
|
if (!result.ok) {
|
|
98107
97910
|
return {
|
|
98108
97911
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98119,7 +97922,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
98119
97922
|
function createMCPServer(deps) {
|
|
98120
97923
|
const server = new McpServer({
|
|
98121
97924
|
name: "Moov",
|
|
98122
|
-
version: "25.1.
|
|
97925
|
+
version: "25.1.1"
|
|
98123
97926
|
});
|
|
98124
97927
|
const client = new MoovCore({
|
|
98125
97928
|
security: deps.security,
|
|
@@ -98190,7 +97993,6 @@ function createMCPServer(deps) {
|
|
|
98190
97993
|
tool(tool$feePlansListFeeRevenue);
|
|
98191
97994
|
tool(tool$feePlansRetrieveFees);
|
|
98192
97995
|
tool(tool$feePlansListFeesFetch);
|
|
98193
|
-
tool(tool$feePlansListPartnerPricing);
|
|
98194
97996
|
tool(tool$feePlansListPartnerPricingAgreements);
|
|
98195
97997
|
tool(tool$feePlansListResiduals);
|
|
98196
97998
|
tool(tool$feePlansGetResidual);
|
|
@@ -98379,7 +98181,6 @@ var init_server2 = __esm(() => {
|
|
|
98379
98181
|
init_feePlansListFeePlans2();
|
|
98380
98182
|
init_feePlansListFeeRevenue2();
|
|
98381
98183
|
init_feePlansListFeesFetch2();
|
|
98382
|
-
init_feePlansListPartnerPricing2();
|
|
98383
98184
|
init_feePlansListPartnerPricingAgreements2();
|
|
98384
98185
|
init_feePlansListResidualFees2();
|
|
98385
98186
|
init_feePlansListResiduals2();
|
|
@@ -99675,7 +99476,7 @@ var routes = rn({
|
|
|
99675
99476
|
var app = Ve(routes, {
|
|
99676
99477
|
name: "mcp",
|
|
99677
99478
|
versionInfo: {
|
|
99678
|
-
currentVersion: "25.1.
|
|
99479
|
+
currentVersion: "25.1.1"
|
|
99679
99480
|
}
|
|
99680
99481
|
});
|
|
99681
99482
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -99683,5 +99484,5 @@ export {
|
|
|
99683
99484
|
app
|
|
99684
99485
|
};
|
|
99685
99486
|
|
|
99686
|
-
//# debugId=
|
|
99487
|
+
//# debugId=25F4961CC34359C064756E2164756E21
|
|
99687
99488
|
//# sourceMappingURL=mcp-server.js.map
|