@moovio/sdk 0.22.9 → 0.22.10
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 +59 -64
- package/bin/mcp-server.js +539 -787
- package/bin/mcp-server.js.map +12 -17
- package/examples/package-lock.json +1 -1
- package/funcs/imagesDelete.d.ts +4 -1
- package/funcs/imagesDelete.d.ts.map +1 -1
- package/funcs/imagesDelete.js +4 -1
- package/funcs/imagesDelete.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +1 -3
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/imagesDelete.d.ts.map +1 -1
- package/mcp-server/tools/imagesDelete.js +4 -1
- package/mcp-server/tools/imagesDelete.js.map +1 -1
- package/models/components/imagemetadata.d.ts +2 -0
- package/models/components/imagemetadata.d.ts.map +1 -1
- package/models/components/imagemetadata.js +3 -0
- package/models/components/imagemetadata.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/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/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/images.d.ts +4 -1
- package/sdk/images.d.ts.map +1 -1
- package/sdk/images.js +4 -1
- package/sdk/images.js.map +1 -1
- package/sdk/invoices.d.ts +0 -8
- package/sdk/invoices.d.ts.map +1 -1
- package/sdk/invoices.js +0 -11
- package/sdk/invoices.js.map +1 -1
- package/src/funcs/imagesDelete.ts +4 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -3
- package/src/mcp-server/tools/imagesDelete.ts +4 -1
- package/src/models/components/imagemetadata.ts +5 -0
- package/src/models/components/index.ts +0 -1
- package/src/models/errors/index.ts +0 -1
- package/src/models/operations/index.ts +0 -1
- package/src/sdk/images.ts +4 -1
- package/src/sdk/invoices.ts +0 -19
- package/funcs/invoicesMarkPaidInvoice.d.ts +0 -19
- package/funcs/invoicesMarkPaidInvoice.d.ts.map +0 -1
- package/funcs/invoicesMarkPaidInvoice.js +0 -144
- package/funcs/invoicesMarkPaidInvoice.js.map +0 -1
- package/mcp-server/tools/invoicesMarkPaidInvoice.d.ts +0 -8
- package/mcp-server/tools/invoicesMarkPaidInvoice.d.ts.map +0 -1
- package/mcp-server/tools/invoicesMarkPaidInvoice.js +0 -66
- package/mcp-server/tools/invoicesMarkPaidInvoice.js.map +0 -1
- package/models/components/markinvoicepaid.d.ts +0 -21
- package/models/components/markinvoicepaid.d.ts.map +0 -1
- package/models/components/markinvoicepaid.js +0 -63
- package/models/components/markinvoicepaid.js.map +0 -1
- package/models/errors/markinvoicepaiderror.d.ts +0 -30
- package/models/errors/markinvoicepaiderror.d.ts.map +0 -1
- package/models/errors/markinvoicepaiderror.js +0 -83
- package/models/errors/markinvoicepaiderror.js.map +0 -1
- package/models/operations/markpaidinvoice.d.ts +0 -68
- package/models/operations/markpaidinvoice.d.ts.map +0 -1
- package/models/operations/markpaidinvoice.js +0 -124
- package/models/operations/markpaidinvoice.js.map +0 -1
- package/src/funcs/invoicesMarkPaidInvoice.ts +0 -208
- package/src/mcp-server/tools/invoicesMarkPaidInvoice.ts +0 -39
- package/src/models/components/markinvoicepaid.ts +0 -58
- package/src/models/errors/markinvoicepaiderror.ts +0 -78
- package/src/models/operations/markpaidinvoice.ts +0 -191
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: "latest",
|
|
52416
|
-
sdkVersion: "0.22.
|
|
52417
|
-
genVersion: "2.788.
|
|
52418
|
-
userAgent: "speakeasy-sdk/typescript 0.22.
|
|
52416
|
+
sdkVersion: "0.22.10",
|
|
52417
|
+
genVersion: "2.788.7",
|
|
52418
|
+
userAgent: "speakeasy-sdk/typescript 0.22.10 2.788.7 latest @moovio/sdk"
|
|
52419
52419
|
};
|
|
52420
52420
|
});
|
|
52421
52421
|
|
|
@@ -62782,7 +62782,8 @@ var init_imagemetadata = __esm(() => {
|
|
|
62782
62782
|
altText: stringType().optional(),
|
|
62783
62783
|
link: stringType(),
|
|
62784
62784
|
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
62785
|
-
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
62785
|
+
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
62786
|
+
disabledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
62786
62787
|
});
|
|
62787
62788
|
ImageMetadata$outboundSchema = objectType({
|
|
62788
62789
|
imageID: stringType(),
|
|
@@ -62790,7 +62791,8 @@ var init_imagemetadata = __esm(() => {
|
|
|
62790
62791
|
altText: stringType().optional(),
|
|
62791
62792
|
link: stringType(),
|
|
62792
62793
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
62793
|
-
updatedOn: dateType().transform((v2) => v2.toISOString())
|
|
62794
|
+
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
62795
|
+
disabledOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
62794
62796
|
});
|
|
62795
62797
|
});
|
|
62796
62798
|
|
|
@@ -63853,22 +63855,6 @@ var init_manualtermsofserviceupdate = __esm(() => {
|
|
|
63853
63855
|
});
|
|
63854
63856
|
});
|
|
63855
63857
|
|
|
63856
|
-
// src/models/components/markinvoicepaid.ts
|
|
63857
|
-
var MarkInvoicePaid$inboundSchema, MarkInvoicePaid$outboundSchema;
|
|
63858
|
-
var init_markinvoicepaid = __esm(() => {
|
|
63859
|
-
init_esm();
|
|
63860
|
-
MarkInvoicePaid$inboundSchema = objectType({
|
|
63861
|
-
foreignID: stringType().optional(),
|
|
63862
|
-
description: stringType().optional(),
|
|
63863
|
-
paymentDate: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
63864
|
-
});
|
|
63865
|
-
MarkInvoicePaid$outboundSchema = objectType({
|
|
63866
|
-
foreignID: stringType().optional(),
|
|
63867
|
-
description: stringType().optional(),
|
|
63868
|
-
paymentDate: dateType().transform((v2) => v2.toISOString()).optional()
|
|
63869
|
-
});
|
|
63870
|
-
});
|
|
63871
|
-
|
|
63872
63858
|
// src/models/components/moneytransferpullfromcard.ts
|
|
63873
63859
|
var MoneyTransferPullFromCard$inboundSchema, MoneyTransferPullFromCard$outboundSchema;
|
|
63874
63860
|
var init_moneytransferpullfromcard = __esm(() => {
|
|
@@ -68001,7 +67987,6 @@ var init_components = __esm(() => {
|
|
|
68001
67987
|
init_listfeesfetchrequest();
|
|
68002
67988
|
init_manualtermsofservice();
|
|
68003
67989
|
init_manualtermsofserviceupdate();
|
|
68004
|
-
init_markinvoicepaid();
|
|
68005
67990
|
init_microdepositstatus();
|
|
68006
67991
|
init_minimumcommitment();
|
|
68007
67992
|
init_mode();
|
|
@@ -69417,50 +69402,6 @@ var init_listwallettransactionsvalidationerror = __esm(() => {
|
|
|
69417
69402
|
}));
|
|
69418
69403
|
});
|
|
69419
69404
|
|
|
69420
|
-
// src/models/errors/markinvoicepaiderror.ts
|
|
69421
|
-
var MarkInvoicePaidError, MarkInvoicePaidError$inboundSchema, MarkInvoicePaidError$outboundSchema;
|
|
69422
|
-
var init_markinvoicepaiderror = __esm(() => {
|
|
69423
|
-
init_esm();
|
|
69424
|
-
init_mooverror();
|
|
69425
|
-
MarkInvoicePaidError = class MarkInvoicePaidError extends MoovError {
|
|
69426
|
-
foreignID;
|
|
69427
|
-
description;
|
|
69428
|
-
paymentDate;
|
|
69429
|
-
data$;
|
|
69430
|
-
constructor(err, httpMeta) {
|
|
69431
|
-
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
69432
|
-
super(message, httpMeta);
|
|
69433
|
-
this.data$ = err;
|
|
69434
|
-
if (err.foreignID != null)
|
|
69435
|
-
this.foreignID = err.foreignID;
|
|
69436
|
-
if (err.description != null)
|
|
69437
|
-
this.description = err.description;
|
|
69438
|
-
if (err.paymentDate != null)
|
|
69439
|
-
this.paymentDate = err.paymentDate;
|
|
69440
|
-
this.name = "MarkInvoicePaidError";
|
|
69441
|
-
}
|
|
69442
|
-
};
|
|
69443
|
-
MarkInvoicePaidError$inboundSchema = objectType({
|
|
69444
|
-
foreignID: stringType().optional(),
|
|
69445
|
-
description: stringType().optional(),
|
|
69446
|
-
paymentDate: stringType().optional(),
|
|
69447
|
-
request$: instanceOfType(Request),
|
|
69448
|
-
response$: instanceOfType(Response),
|
|
69449
|
-
body$: stringType()
|
|
69450
|
-
}).transform((v2) => {
|
|
69451
|
-
return new MarkInvoicePaidError(v2, {
|
|
69452
|
-
request: v2.request$,
|
|
69453
|
-
response: v2.response$,
|
|
69454
|
-
body: v2.body$
|
|
69455
|
-
});
|
|
69456
|
-
});
|
|
69457
|
-
MarkInvoicePaidError$outboundSchema = instanceOfType(MarkInvoicePaidError).transform((v2) => v2.data$).pipe(objectType({
|
|
69458
|
-
foreignID: stringType().optional(),
|
|
69459
|
-
description: stringType().optional(),
|
|
69460
|
-
paymentDate: stringType().optional()
|
|
69461
|
-
}));
|
|
69462
|
-
});
|
|
69463
|
-
|
|
69464
69405
|
// src/models/errors/microdepositvalidationerror.ts
|
|
69465
69406
|
var MicroDepositValidationError, MicroDepositValidationError$inboundSchema, MicroDepositValidationError$outboundSchema;
|
|
69466
69407
|
var init_microdepositvalidationerror = __esm(() => {
|
|
@@ -70912,7 +70853,6 @@ var init_errors4 = __esm(() => {
|
|
|
70912
70853
|
init_listtransfersvalidationerror();
|
|
70913
70854
|
init_listwalletsvalidationerror();
|
|
70914
70855
|
init_listwallettransactionsvalidationerror();
|
|
70915
|
-
init_markinvoicepaiderror();
|
|
70916
70856
|
init_microdepositvalidationerror();
|
|
70917
70857
|
init_mooverror();
|
|
70918
70858
|
init_onboardinginviteerror();
|
|
@@ -77848,64 +77788,6 @@ var init_listwallettransactions = __esm(() => {
|
|
|
77848
77788
|
});
|
|
77849
77789
|
});
|
|
77850
77790
|
|
|
77851
|
-
// src/models/operations/markpaidinvoice.ts
|
|
77852
|
-
var MarkPaidInvoiceGlobals$inboundSchema, MarkPaidInvoiceGlobals$outboundSchema, MarkPaidInvoiceRequest$inboundSchema, MarkPaidInvoiceRequest$outboundSchema, MarkPaidInvoiceResponse$inboundSchema, MarkPaidInvoiceResponse$outboundSchema;
|
|
77853
|
-
var init_markpaidinvoice = __esm(() => {
|
|
77854
|
-
init_esm();
|
|
77855
|
-
init_primitives();
|
|
77856
|
-
init_components();
|
|
77857
|
-
MarkPaidInvoiceGlobals$inboundSchema = objectType({
|
|
77858
|
-
"X-Moov-Version": stringType().optional()
|
|
77859
|
-
}).transform((v2) => {
|
|
77860
|
-
return remap(v2, {
|
|
77861
|
-
"X-Moov-Version": "xMoovVersion"
|
|
77862
|
-
});
|
|
77863
|
-
});
|
|
77864
|
-
MarkPaidInvoiceGlobals$outboundSchema = objectType({
|
|
77865
|
-
xMoovVersion: stringType().optional()
|
|
77866
|
-
}).transform((v2) => {
|
|
77867
|
-
return remap(v2, {
|
|
77868
|
-
xMoovVersion: "X-Moov-Version"
|
|
77869
|
-
});
|
|
77870
|
-
});
|
|
77871
|
-
MarkPaidInvoiceRequest$inboundSchema = objectType({
|
|
77872
|
-
accountID: stringType(),
|
|
77873
|
-
invoiceID: stringType(),
|
|
77874
|
-
MarkInvoicePaid: MarkInvoicePaid$inboundSchema
|
|
77875
|
-
}).transform((v2) => {
|
|
77876
|
-
return remap(v2, {
|
|
77877
|
-
MarkInvoicePaid: "markInvoicePaid"
|
|
77878
|
-
});
|
|
77879
|
-
});
|
|
77880
|
-
MarkPaidInvoiceRequest$outboundSchema = objectType({
|
|
77881
|
-
accountID: stringType(),
|
|
77882
|
-
invoiceID: stringType(),
|
|
77883
|
-
markInvoicePaid: MarkInvoicePaid$outboundSchema
|
|
77884
|
-
}).transform((v2) => {
|
|
77885
|
-
return remap(v2, {
|
|
77886
|
-
markInvoicePaid: "MarkInvoicePaid"
|
|
77887
|
-
});
|
|
77888
|
-
});
|
|
77889
|
-
MarkPaidInvoiceResponse$inboundSchema = objectType({
|
|
77890
|
-
Headers: recordType(arrayType(stringType())).default({}),
|
|
77891
|
-
Result: Invoice$inboundSchema
|
|
77892
|
-
}).transform((v2) => {
|
|
77893
|
-
return remap(v2, {
|
|
77894
|
-
Headers: "headers",
|
|
77895
|
-
Result: "result"
|
|
77896
|
-
});
|
|
77897
|
-
});
|
|
77898
|
-
MarkPaidInvoiceResponse$outboundSchema = objectType({
|
|
77899
|
-
headers: recordType(arrayType(stringType())),
|
|
77900
|
-
result: Invoice$outboundSchema
|
|
77901
|
-
}).transform((v2) => {
|
|
77902
|
-
return remap(v2, {
|
|
77903
|
-
headers: "Headers",
|
|
77904
|
-
result: "Result"
|
|
77905
|
-
});
|
|
77906
|
-
});
|
|
77907
|
-
});
|
|
77908
|
-
|
|
77909
77791
|
// src/models/operations/ping.ts
|
|
77910
77792
|
var PingGlobals$inboundSchema, PingGlobals$outboundSchema, PingRequest$inboundSchema, PingRequest$outboundSchema, PingResponse$inboundSchema, PingResponse$outboundSchema;
|
|
77911
77793
|
var init_ping = __esm(() => {
|
|
@@ -79829,7 +79711,6 @@ var init_operations = __esm(() => {
|
|
|
79829
79711
|
init_listtransfers();
|
|
79830
79712
|
init_listwallets();
|
|
79831
79713
|
init_listwallettransactions();
|
|
79832
|
-
init_markpaidinvoice();
|
|
79833
79714
|
init_ping();
|
|
79834
79715
|
init_registerapplepaymerchantdomains2();
|
|
79835
79716
|
init_requestcapabilities();
|
|
@@ -89761,7 +89642,10 @@ var init_imagesDelete2 = __esm(() => {
|
|
|
89761
89642
|
};
|
|
89762
89643
|
tool$imagesDelete = {
|
|
89763
89644
|
name: "images-delete",
|
|
89764
|
-
description: `
|
|
89645
|
+
description: ` Disable an image by its ID.
|
|
89646
|
+
|
|
89647
|
+
Disabled images are still be accessible via their public URL, and cannot be assigned
|
|
89648
|
+
to products or line-items.`,
|
|
89765
89649
|
args: args81,
|
|
89766
89650
|
tool: async (client, args82, ctx) => {
|
|
89767
89651
|
const [result, apiCall] = await imagesDelete(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -91233,141 +91117,11 @@ you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
|
91233
91117
|
};
|
|
91234
91118
|
});
|
|
91235
91119
|
|
|
91236
|
-
// src/funcs/invoicesMarkPaidInvoice.ts
|
|
91237
|
-
function invoicesMarkPaidInvoice(client, request, options) {
|
|
91238
|
-
return new APIPromise($do94(client, request, options));
|
|
91239
|
-
}
|
|
91240
|
-
async function $do94(client, request, options) {
|
|
91241
|
-
const parsed = safeParse4(request, (value) => MarkPaidInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91242
|
-
if (!parsed.ok) {
|
|
91243
|
-
return [parsed, { status: "invalid" }];
|
|
91244
|
-
}
|
|
91245
|
-
const payload = parsed.value;
|
|
91246
|
-
const body = encodeJSON("body", payload.MarkInvoicePaid, { explode: true });
|
|
91247
|
-
const pathParams = {
|
|
91248
|
-
accountID: encodeSimple("accountID", payload.accountID, {
|
|
91249
|
-
explode: false,
|
|
91250
|
-
charEncoding: "percent"
|
|
91251
|
-
}),
|
|
91252
|
-
invoiceID: encodeSimple("invoiceID", payload.invoiceID, {
|
|
91253
|
-
explode: false,
|
|
91254
|
-
charEncoding: "percent"
|
|
91255
|
-
})
|
|
91256
|
-
};
|
|
91257
|
-
const path = pathToFunc("/accounts/{accountID}/invoices/{invoiceID}/mark-paid")(pathParams);
|
|
91258
|
-
const headers = new Headers(compactMap({
|
|
91259
|
-
"Content-Type": "application/json",
|
|
91260
|
-
Accept: "application/json",
|
|
91261
|
-
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
91262
|
-
}));
|
|
91263
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
91264
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
91265
|
-
const context = {
|
|
91266
|
-
options: client._options,
|
|
91267
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
91268
|
-
operationID: "markPaidInvoice",
|
|
91269
|
-
oAuth2Scopes: null,
|
|
91270
|
-
resolvedSecurity: requestSecurity,
|
|
91271
|
-
securitySource: client._options.security,
|
|
91272
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
91273
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
91274
|
-
};
|
|
91275
|
-
const requestRes = client._createRequest(context, {
|
|
91276
|
-
security: requestSecurity,
|
|
91277
|
-
method: "POST",
|
|
91278
|
-
baseURL: options?.serverURL,
|
|
91279
|
-
path,
|
|
91280
|
-
headers,
|
|
91281
|
-
body,
|
|
91282
|
-
userAgent: client._options.userAgent,
|
|
91283
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
91284
|
-
}, options);
|
|
91285
|
-
if (!requestRes.ok) {
|
|
91286
|
-
return [requestRes, { status: "invalid" }];
|
|
91287
|
-
}
|
|
91288
|
-
const req = requestRes.value;
|
|
91289
|
-
const doResult = await client._do(req, {
|
|
91290
|
-
context,
|
|
91291
|
-
errorCodes: [
|
|
91292
|
-
"400",
|
|
91293
|
-
"401",
|
|
91294
|
-
"403",
|
|
91295
|
-
"404",
|
|
91296
|
-
"409",
|
|
91297
|
-
"422",
|
|
91298
|
-
"429",
|
|
91299
|
-
"4XX",
|
|
91300
|
-
"500",
|
|
91301
|
-
"504",
|
|
91302
|
-
"5XX"
|
|
91303
|
-
],
|
|
91304
|
-
retryConfig: context.retryConfig,
|
|
91305
|
-
retryCodes: context.retryCodes
|
|
91306
|
-
});
|
|
91307
|
-
if (!doResult.ok) {
|
|
91308
|
-
return [doResult, { status: "request-error", request: req }];
|
|
91309
|
-
}
|
|
91310
|
-
const response = doResult.value;
|
|
91311
|
-
const responseFields = {
|
|
91312
|
-
HttpMeta: { Response: response, Request: req }
|
|
91313
|
-
};
|
|
91314
|
-
const [result] = await match(json(200, MarkPaidInvoiceResponse$inboundSchema, {
|
|
91315
|
-
hdrs: true,
|
|
91316
|
-
key: "Result"
|
|
91317
|
-
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, MarkInvoicePaidError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
91318
|
-
if (!result.ok) {
|
|
91319
|
-
return [result, { status: "complete", request: req, response }];
|
|
91320
|
-
}
|
|
91321
|
-
return [result, { status: "complete", request: req, response }];
|
|
91322
|
-
}
|
|
91323
|
-
var init_invoicesMarkPaidInvoice = __esm(() => {
|
|
91324
|
-
init_encodings();
|
|
91325
|
-
init_matchers();
|
|
91326
|
-
init_primitives();
|
|
91327
|
-
init_schemas4();
|
|
91328
|
-
init_security();
|
|
91329
|
-
init_url();
|
|
91330
|
-
init_errors4();
|
|
91331
|
-
init_operations();
|
|
91332
|
-
init_async();
|
|
91333
|
-
});
|
|
91334
|
-
|
|
91335
|
-
// src/mcp-server/tools/invoicesMarkPaidInvoice.ts
|
|
91336
|
-
var args94, tool$invoicesMarkPaidInvoice;
|
|
91337
|
-
var init_invoicesMarkPaidInvoice2 = __esm(() => {
|
|
91338
|
-
init_invoicesMarkPaidInvoice();
|
|
91339
|
-
init_operations();
|
|
91340
|
-
init_tools();
|
|
91341
|
-
args94 = {
|
|
91342
|
-
request: MarkPaidInvoiceRequest$inboundSchema
|
|
91343
|
-
};
|
|
91344
|
-
tool$invoicesMarkPaidInvoice = {
|
|
91345
|
-
name: "invoices-mark-paid-invoice",
|
|
91346
|
-
description: `Marks an invoice as paid outside of the Moov platform.
|
|
91347
|
-
If a payment link was created, the corresponding payment link is canceled, but a receipt is still sent.
|
|
91348
|
-
|
|
91349
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91350
|
-
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
91351
|
-
args: args94,
|
|
91352
|
-
tool: async (client, args95, ctx) => {
|
|
91353
|
-
const [result, apiCall] = await invoicesMarkPaidInvoice(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91354
|
-
if (!result.ok) {
|
|
91355
|
-
return {
|
|
91356
|
-
content: [{ type: "text", text: result.error.message }],
|
|
91357
|
-
isError: true
|
|
91358
|
-
};
|
|
91359
|
-
}
|
|
91360
|
-
const value = result.value.result;
|
|
91361
|
-
return formatResult(value, apiCall);
|
|
91362
|
-
}
|
|
91363
|
-
};
|
|
91364
|
-
});
|
|
91365
|
-
|
|
91366
91120
|
// src/funcs/invoicesUpdateInvoice.ts
|
|
91367
91121
|
function invoicesUpdateInvoice(client, request, options) {
|
|
91368
|
-
return new APIPromise($
|
|
91122
|
+
return new APIPromise($do94(client, request, options));
|
|
91369
91123
|
}
|
|
91370
|
-
async function $
|
|
91124
|
+
async function $do94(client, request, options) {
|
|
91371
91125
|
const parsed = safeParse4(request, (value) => UpdateInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91372
91126
|
if (!parsed.ok) {
|
|
91373
91127
|
return [parsed, { status: "invalid" }];
|
|
@@ -91463,12 +91217,12 @@ var init_invoicesUpdateInvoice = __esm(() => {
|
|
|
91463
91217
|
});
|
|
91464
91218
|
|
|
91465
91219
|
// src/mcp-server/tools/invoicesUpdateInvoice.ts
|
|
91466
|
-
var
|
|
91220
|
+
var args94, tool$invoicesUpdateInvoice;
|
|
91467
91221
|
var init_invoicesUpdateInvoice2 = __esm(() => {
|
|
91468
91222
|
init_invoicesUpdateInvoice();
|
|
91469
91223
|
init_operations();
|
|
91470
91224
|
init_tools();
|
|
91471
|
-
|
|
91225
|
+
args94 = {
|
|
91472
91226
|
request: UpdateInvoiceRequest$inboundSchema
|
|
91473
91227
|
};
|
|
91474
91228
|
tool$invoicesUpdateInvoice = {
|
|
@@ -91477,9 +91231,9 @@ var init_invoicesUpdateInvoice2 = __esm(() => {
|
|
|
91477
91231
|
|
|
91478
91232
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91479
91233
|
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
91480
|
-
args:
|
|
91481
|
-
tool: async (client,
|
|
91482
|
-
const [result, apiCall] = await invoicesUpdateInvoice(client,
|
|
91234
|
+
args: args94,
|
|
91235
|
+
tool: async (client, args95, ctx) => {
|
|
91236
|
+
const [result, apiCall] = await invoicesUpdateInvoice(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91483
91237
|
if (!result.ok) {
|
|
91484
91238
|
return {
|
|
91485
91239
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91494,9 +91248,9 @@ you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
|
91494
91248
|
|
|
91495
91249
|
// src/funcs/issuingTransactionsGet.ts
|
|
91496
91250
|
function issuingTransactionsGet(client, request, options) {
|
|
91497
|
-
return new APIPromise($
|
|
91251
|
+
return new APIPromise($do95(client, request, options));
|
|
91498
91252
|
}
|
|
91499
|
-
async function $
|
|
91253
|
+
async function $do95(client, request, options) {
|
|
91500
91254
|
const parsed = safeParse4(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91501
91255
|
if (!parsed.ok) {
|
|
91502
91256
|
return [parsed, { status: "invalid" }];
|
|
@@ -91575,12 +91329,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
91575
91329
|
});
|
|
91576
91330
|
|
|
91577
91331
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
91578
|
-
var
|
|
91332
|
+
var args95, tool$issuingTransactionsGet;
|
|
91579
91333
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
91580
91334
|
init_issuingTransactionsGet();
|
|
91581
91335
|
init_operations();
|
|
91582
91336
|
init_tools();
|
|
91583
|
-
|
|
91337
|
+
args95 = {
|
|
91584
91338
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
91585
91339
|
};
|
|
91586
91340
|
tool$issuingTransactionsGet = {
|
|
@@ -91589,9 +91343,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
91589
91343
|
|
|
91590
91344
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91591
91345
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
91592
|
-
args:
|
|
91593
|
-
tool: async (client,
|
|
91594
|
-
const [result, apiCall] = await issuingTransactionsGet(client,
|
|
91346
|
+
args: args95,
|
|
91347
|
+
tool: async (client, args96, ctx) => {
|
|
91348
|
+
const [result, apiCall] = await issuingTransactionsGet(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91595
91349
|
if (!result.ok) {
|
|
91596
91350
|
return {
|
|
91597
91351
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91606,9 +91360,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
91606
91360
|
|
|
91607
91361
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
91608
91362
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
91609
|
-
return new APIPromise($
|
|
91363
|
+
return new APIPromise($do96(client, request, options));
|
|
91610
91364
|
}
|
|
91611
|
-
async function $
|
|
91365
|
+
async function $do96(client, request, options) {
|
|
91612
91366
|
const parsed = safeParse4(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91613
91367
|
if (!parsed.ok) {
|
|
91614
91368
|
return [parsed, { status: "invalid" }];
|
|
@@ -91690,12 +91444,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
91690
91444
|
});
|
|
91691
91445
|
|
|
91692
91446
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
91693
|
-
var
|
|
91447
|
+
var args96, tool$issuingTransactionsGetAuthorization;
|
|
91694
91448
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
91695
91449
|
init_issuingTransactionsGetAuthorization();
|
|
91696
91450
|
init_operations();
|
|
91697
91451
|
init_tools();
|
|
91698
|
-
|
|
91452
|
+
args96 = {
|
|
91699
91453
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
91700
91454
|
};
|
|
91701
91455
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -91704,9 +91458,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
91704
91458
|
|
|
91705
91459
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91706
91460
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
91707
|
-
args:
|
|
91708
|
-
tool: async (client,
|
|
91709
|
-
const [result, apiCall] = await issuingTransactionsGetAuthorization(client,
|
|
91461
|
+
args: args96,
|
|
91462
|
+
tool: async (client, args97, ctx) => {
|
|
91463
|
+
const [result, apiCall] = await issuingTransactionsGetAuthorization(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91710
91464
|
if (!result.ok) {
|
|
91711
91465
|
return {
|
|
91712
91466
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91721,9 +91475,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
91721
91475
|
|
|
91722
91476
|
// src/funcs/issuingTransactionsList.ts
|
|
91723
91477
|
function issuingTransactionsList(client, request, options) {
|
|
91724
|
-
return new APIPromise($
|
|
91478
|
+
return new APIPromise($do97(client, request, options));
|
|
91725
91479
|
}
|
|
91726
|
-
async function $
|
|
91480
|
+
async function $do97(client, request, options) {
|
|
91727
91481
|
const parsed = safeParse4(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91728
91482
|
if (!parsed.ok) {
|
|
91729
91483
|
return [parsed, { status: "invalid" }];
|
|
@@ -91809,12 +91563,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
91809
91563
|
});
|
|
91810
91564
|
|
|
91811
91565
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
91812
|
-
var
|
|
91566
|
+
var args97, tool$issuingTransactionsList;
|
|
91813
91567
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
91814
91568
|
init_issuingTransactionsList();
|
|
91815
91569
|
init_operations();
|
|
91816
91570
|
init_tools();
|
|
91817
|
-
|
|
91571
|
+
args97 = {
|
|
91818
91572
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
91819
91573
|
};
|
|
91820
91574
|
tool$issuingTransactionsList = {
|
|
@@ -91823,9 +91577,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
91823
91577
|
|
|
91824
91578
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91825
91579
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
91826
|
-
args:
|
|
91827
|
-
tool: async (client,
|
|
91828
|
-
const [result, apiCall] = await issuingTransactionsList(client,
|
|
91580
|
+
args: args97,
|
|
91581
|
+
tool: async (client, args98, ctx) => {
|
|
91582
|
+
const [result, apiCall] = await issuingTransactionsList(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91829
91583
|
if (!result.ok) {
|
|
91830
91584
|
return {
|
|
91831
91585
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91840,9 +91594,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
91840
91594
|
|
|
91841
91595
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
91842
91596
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
91843
|
-
return new APIPromise($
|
|
91597
|
+
return new APIPromise($do98(client, request, options));
|
|
91844
91598
|
}
|
|
91845
|
-
async function $
|
|
91599
|
+
async function $do98(client, request, options) {
|
|
91846
91600
|
const parsed = safeParse4(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91847
91601
|
if (!parsed.ok) {
|
|
91848
91602
|
return [parsed, { status: "invalid" }];
|
|
@@ -91926,12 +91680,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
91926
91680
|
});
|
|
91927
91681
|
|
|
91928
91682
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
91929
|
-
var
|
|
91683
|
+
var args98, tool$issuingTransactionsListAuthorizationEvents;
|
|
91930
91684
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
91931
91685
|
init_issuingTransactionsListAuthorizationEvents();
|
|
91932
91686
|
init_operations();
|
|
91933
91687
|
init_tools();
|
|
91934
|
-
|
|
91688
|
+
args98 = {
|
|
91935
91689
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
91936
91690
|
};
|
|
91937
91691
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -91940,9 +91694,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
91940
91694
|
|
|
91941
91695
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91942
91696
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
91943
|
-
args:
|
|
91944
|
-
tool: async (client,
|
|
91945
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client,
|
|
91697
|
+
args: args98,
|
|
91698
|
+
tool: async (client, args99, ctx) => {
|
|
91699
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91946
91700
|
if (!result.ok) {
|
|
91947
91701
|
return {
|
|
91948
91702
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91957,9 +91711,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
91957
91711
|
|
|
91958
91712
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
91959
91713
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
91960
|
-
return new APIPromise($
|
|
91714
|
+
return new APIPromise($do99(client, request, options));
|
|
91961
91715
|
}
|
|
91962
|
-
async function $
|
|
91716
|
+
async function $do99(client, request, options) {
|
|
91963
91717
|
const parsed = safeParse4(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91964
91718
|
if (!parsed.ok) {
|
|
91965
91719
|
return [parsed, { status: "invalid" }];
|
|
@@ -92046,12 +91800,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
92046
91800
|
});
|
|
92047
91801
|
|
|
92048
91802
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
92049
|
-
var
|
|
91803
|
+
var args99, tool$issuingTransactionsListAuthorizations;
|
|
92050
91804
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
92051
91805
|
init_issuingTransactionsListAuthorizations();
|
|
92052
91806
|
init_operations();
|
|
92053
91807
|
init_tools();
|
|
92054
|
-
|
|
91808
|
+
args99 = {
|
|
92055
91809
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
92056
91810
|
};
|
|
92057
91811
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -92060,9 +91814,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
92060
91814
|
|
|
92061
91815
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92062
91816
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
92063
|
-
args:
|
|
92064
|
-
tool: async (client,
|
|
92065
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizations(client,
|
|
91817
|
+
args: args99,
|
|
91818
|
+
tool: async (client, args100, ctx) => {
|
|
91819
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizations(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92066
91820
|
if (!result.ok) {
|
|
92067
91821
|
return {
|
|
92068
91822
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92077,9 +91831,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
92077
91831
|
|
|
92078
91832
|
// src/funcs/onboardingCreateInvite.ts
|
|
92079
91833
|
function onboardingCreateInvite(client, request, options) {
|
|
92080
|
-
return new APIPromise($
|
|
91834
|
+
return new APIPromise($do100(client, request, options));
|
|
92081
91835
|
}
|
|
92082
|
-
async function $
|
|
91836
|
+
async function $do100(client, request, options) {
|
|
92083
91837
|
const parsed = safeParse4(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92084
91838
|
if (!parsed.ok) {
|
|
92085
91839
|
return [parsed, { status: "invalid" }];
|
|
@@ -92166,12 +91920,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
92166
91920
|
});
|
|
92167
91921
|
|
|
92168
91922
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
92169
|
-
var
|
|
91923
|
+
var args100, tool$onboardingCreateInvite;
|
|
92170
91924
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
92171
91925
|
init_onboardingCreateInvite();
|
|
92172
91926
|
init_components();
|
|
92173
91927
|
init_tools();
|
|
92174
|
-
|
|
91928
|
+
args100 = {
|
|
92175
91929
|
request: OnboardingInviteRequest$inboundSchema
|
|
92176
91930
|
};
|
|
92177
91931
|
tool$onboardingCreateInvite = {
|
|
@@ -92180,9 +91934,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
92180
91934
|
|
|
92181
91935
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92182
91936
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
92183
|
-
args:
|
|
92184
|
-
tool: async (client,
|
|
92185
|
-
const [result, apiCall] = await onboardingCreateInvite(client,
|
|
91937
|
+
args: args100,
|
|
91938
|
+
tool: async (client, args101, ctx) => {
|
|
91939
|
+
const [result, apiCall] = await onboardingCreateInvite(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92186
91940
|
if (!result.ok) {
|
|
92187
91941
|
return {
|
|
92188
91942
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92197,9 +91951,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
92197
91951
|
|
|
92198
91952
|
// src/funcs/onboardingGetInvite.ts
|
|
92199
91953
|
function onboardingGetInvite(client, request, options) {
|
|
92200
|
-
return new APIPromise($
|
|
91954
|
+
return new APIPromise($do101(client, request, options));
|
|
92201
91955
|
}
|
|
92202
|
-
async function $
|
|
91956
|
+
async function $do101(client, request, options) {
|
|
92203
91957
|
const parsed = safeParse4(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92204
91958
|
if (!parsed.ok) {
|
|
92205
91959
|
return [parsed, { status: "invalid" }];
|
|
@@ -92277,12 +92031,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
92277
92031
|
});
|
|
92278
92032
|
|
|
92279
92033
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
92280
|
-
var
|
|
92034
|
+
var args101, tool$onboardingGetInvite;
|
|
92281
92035
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
92282
92036
|
init_onboardingGetInvite();
|
|
92283
92037
|
init_operations();
|
|
92284
92038
|
init_tools();
|
|
92285
|
-
|
|
92039
|
+
args101 = {
|
|
92286
92040
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
92287
92041
|
};
|
|
92288
92042
|
tool$onboardingGetInvite = {
|
|
@@ -92291,9 +92045,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
92291
92045
|
|
|
92292
92046
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92293
92047
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
92294
|
-
args:
|
|
92295
|
-
tool: async (client,
|
|
92296
|
-
const [result, apiCall] = await onboardingGetInvite(client,
|
|
92048
|
+
args: args101,
|
|
92049
|
+
tool: async (client, args102, ctx) => {
|
|
92050
|
+
const [result, apiCall] = await onboardingGetInvite(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92297
92051
|
if (!result.ok) {
|
|
92298
92052
|
return {
|
|
92299
92053
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92308,9 +92062,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
92308
92062
|
|
|
92309
92063
|
// src/funcs/onboardingListInvites.ts
|
|
92310
92064
|
function onboardingListInvites(client, _request, options) {
|
|
92311
|
-
return new APIPromise($
|
|
92065
|
+
return new APIPromise($do102(client, _request, options));
|
|
92312
92066
|
}
|
|
92313
|
-
async function $
|
|
92067
|
+
async function $do102(client, _request, options) {
|
|
92314
92068
|
const path = pathToFunc("/onboarding-invites")();
|
|
92315
92069
|
const headers = new Headers(compactMap({
|
|
92316
92070
|
Accept: "application/json",
|
|
@@ -92374,12 +92128,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
92374
92128
|
});
|
|
92375
92129
|
|
|
92376
92130
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
92377
|
-
var
|
|
92131
|
+
var args102, tool$onboardingListInvites;
|
|
92378
92132
|
var init_onboardingListInvites2 = __esm(() => {
|
|
92379
92133
|
init_onboardingListInvites();
|
|
92380
92134
|
init_operations();
|
|
92381
92135
|
init_tools();
|
|
92382
|
-
|
|
92136
|
+
args102 = {
|
|
92383
92137
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
92384
92138
|
};
|
|
92385
92139
|
tool$onboardingListInvites = {
|
|
@@ -92388,9 +92142,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
92388
92142
|
|
|
92389
92143
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92390
92144
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
92391
|
-
args:
|
|
92392
|
-
tool: async (client,
|
|
92393
|
-
const [result, apiCall] = await onboardingListInvites(client,
|
|
92145
|
+
args: args102,
|
|
92146
|
+
tool: async (client, args103, ctx) => {
|
|
92147
|
+
const [result, apiCall] = await onboardingListInvites(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92394
92148
|
if (!result.ok) {
|
|
92395
92149
|
return {
|
|
92396
92150
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92405,9 +92159,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
92405
92159
|
|
|
92406
92160
|
// src/funcs/onboardingRevokeInvite.ts
|
|
92407
92161
|
function onboardingRevokeInvite(client, request, options) {
|
|
92408
|
-
return new APIPromise($
|
|
92162
|
+
return new APIPromise($do103(client, request, options));
|
|
92409
92163
|
}
|
|
92410
|
-
async function $
|
|
92164
|
+
async function $do103(client, request, options) {
|
|
92411
92165
|
const parsed = safeParse4(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92412
92166
|
if (!parsed.ok) {
|
|
92413
92167
|
return [parsed, { status: "invalid" }];
|
|
@@ -92482,12 +92236,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
92482
92236
|
});
|
|
92483
92237
|
|
|
92484
92238
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
92485
|
-
var
|
|
92239
|
+
var args103, tool$onboardingRevokeInvite;
|
|
92486
92240
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
92487
92241
|
init_onboardingRevokeInvite();
|
|
92488
92242
|
init_operations();
|
|
92489
92243
|
init_tools();
|
|
92490
|
-
|
|
92244
|
+
args103 = {
|
|
92491
92245
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
92492
92246
|
};
|
|
92493
92247
|
tool$onboardingRevokeInvite = {
|
|
@@ -92496,9 +92250,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
92496
92250
|
|
|
92497
92251
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92498
92252
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
92499
|
-
args:
|
|
92500
|
-
tool: async (client,
|
|
92501
|
-
const [result, apiCall] = await onboardingRevokeInvite(client,
|
|
92253
|
+
args: args103,
|
|
92254
|
+
tool: async (client, args104, ctx) => {
|
|
92255
|
+
const [result, apiCall] = await onboardingRevokeInvite(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92502
92256
|
if (!result.ok) {
|
|
92503
92257
|
return {
|
|
92504
92258
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92512,9 +92266,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
92512
92266
|
|
|
92513
92267
|
// src/funcs/paymentLinksCreate.ts
|
|
92514
92268
|
function paymentLinksCreate(client, request, options) {
|
|
92515
|
-
return new APIPromise($
|
|
92269
|
+
return new APIPromise($do104(client, request, options));
|
|
92516
92270
|
}
|
|
92517
|
-
async function $
|
|
92271
|
+
async function $do104(client, request, options) {
|
|
92518
92272
|
const parsed = safeParse4(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92519
92273
|
if (!parsed.ok) {
|
|
92520
92274
|
return [parsed, { status: "invalid" }];
|
|
@@ -92606,12 +92360,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
92606
92360
|
});
|
|
92607
92361
|
|
|
92608
92362
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
92609
|
-
var
|
|
92363
|
+
var args104, tool$paymentLinksCreate;
|
|
92610
92364
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
92611
92365
|
init_paymentLinksCreate();
|
|
92612
92366
|
init_operations();
|
|
92613
92367
|
init_tools();
|
|
92614
|
-
|
|
92368
|
+
args104 = {
|
|
92615
92369
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
92616
92370
|
};
|
|
92617
92371
|
tool$paymentLinksCreate = {
|
|
@@ -92620,9 +92374,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
92620
92374
|
|
|
92621
92375
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92622
92376
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
92623
|
-
args:
|
|
92624
|
-
tool: async (client,
|
|
92625
|
-
const [result, apiCall] = await paymentLinksCreate(client,
|
|
92377
|
+
args: args104,
|
|
92378
|
+
tool: async (client, args105, ctx) => {
|
|
92379
|
+
const [result, apiCall] = await paymentLinksCreate(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92626
92380
|
if (!result.ok) {
|
|
92627
92381
|
return {
|
|
92628
92382
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92637,9 +92391,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
92637
92391
|
|
|
92638
92392
|
// src/funcs/paymentLinksDisable.ts
|
|
92639
92393
|
function paymentLinksDisable(client, request, options) {
|
|
92640
|
-
return new APIPromise($
|
|
92394
|
+
return new APIPromise($do105(client, request, options));
|
|
92641
92395
|
}
|
|
92642
|
-
async function $
|
|
92396
|
+
async function $do105(client, request, options) {
|
|
92643
92397
|
const parsed = safeParse4(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92644
92398
|
if (!parsed.ok) {
|
|
92645
92399
|
return [parsed, { status: "invalid" }];
|
|
@@ -92720,12 +92474,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
92720
92474
|
});
|
|
92721
92475
|
|
|
92722
92476
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
92723
|
-
var
|
|
92477
|
+
var args105, tool$paymentLinksDisable;
|
|
92724
92478
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
92725
92479
|
init_paymentLinksDisable();
|
|
92726
92480
|
init_operations();
|
|
92727
92481
|
init_tools();
|
|
92728
|
-
|
|
92482
|
+
args105 = {
|
|
92729
92483
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
92730
92484
|
};
|
|
92731
92485
|
tool$paymentLinksDisable = {
|
|
@@ -92734,9 +92488,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
92734
92488
|
|
|
92735
92489
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92736
92490
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
92737
|
-
args:
|
|
92738
|
-
tool: async (client,
|
|
92739
|
-
const [result, apiCall] = await paymentLinksDisable(client,
|
|
92491
|
+
args: args105,
|
|
92492
|
+
tool: async (client, args106, ctx) => {
|
|
92493
|
+
const [result, apiCall] = await paymentLinksDisable(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92740
92494
|
if (!result.ok) {
|
|
92741
92495
|
return {
|
|
92742
92496
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92750,9 +92504,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
92750
92504
|
|
|
92751
92505
|
// src/funcs/paymentLinksGet.ts
|
|
92752
92506
|
function paymentLinksGet(client, request, options) {
|
|
92753
|
-
return new APIPromise($
|
|
92507
|
+
return new APIPromise($do106(client, request, options));
|
|
92754
92508
|
}
|
|
92755
|
-
async function $
|
|
92509
|
+
async function $do106(client, request, options) {
|
|
92756
92510
|
const parsed = safeParse4(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92757
92511
|
if (!parsed.ok) {
|
|
92758
92512
|
return [parsed, { status: "invalid" }];
|
|
@@ -92834,12 +92588,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
92834
92588
|
});
|
|
92835
92589
|
|
|
92836
92590
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
92837
|
-
var
|
|
92591
|
+
var args106, tool$paymentLinksGet;
|
|
92838
92592
|
var init_paymentLinksGet2 = __esm(() => {
|
|
92839
92593
|
init_paymentLinksGet();
|
|
92840
92594
|
init_operations();
|
|
92841
92595
|
init_tools();
|
|
92842
|
-
|
|
92596
|
+
args106 = {
|
|
92843
92597
|
request: GetPaymentLinkRequest$inboundSchema
|
|
92844
92598
|
};
|
|
92845
92599
|
tool$paymentLinksGet = {
|
|
@@ -92848,9 +92602,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
92848
92602
|
|
|
92849
92603
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92850
92604
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
92851
|
-
args:
|
|
92852
|
-
tool: async (client,
|
|
92853
|
-
const [result, apiCall] = await paymentLinksGet(client,
|
|
92605
|
+
args: args106,
|
|
92606
|
+
tool: async (client, args107, ctx) => {
|
|
92607
|
+
const [result, apiCall] = await paymentLinksGet(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92854
92608
|
if (!result.ok) {
|
|
92855
92609
|
return {
|
|
92856
92610
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92865,9 +92619,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
92865
92619
|
|
|
92866
92620
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
92867
92621
|
function paymentLinksGetQRCode(client, request, options) {
|
|
92868
|
-
return new APIPromise($
|
|
92622
|
+
return new APIPromise($do107(client, request, options));
|
|
92869
92623
|
}
|
|
92870
|
-
async function $
|
|
92624
|
+
async function $do107(client, request, options) {
|
|
92871
92625
|
const parsed = safeParse4(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92872
92626
|
if (!parsed.ok) {
|
|
92873
92627
|
return [parsed, { status: "invalid" }];
|
|
@@ -92953,12 +92707,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
92953
92707
|
});
|
|
92954
92708
|
|
|
92955
92709
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
92956
|
-
var
|
|
92710
|
+
var args107, tool$paymentLinksGetQRCode;
|
|
92957
92711
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
92958
92712
|
init_paymentLinksGetQRCode();
|
|
92959
92713
|
init_operations();
|
|
92960
92714
|
init_tools();
|
|
92961
|
-
|
|
92715
|
+
args107 = {
|
|
92962
92716
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
92963
92717
|
};
|
|
92964
92718
|
tool$paymentLinksGetQRCode = {
|
|
@@ -92969,9 +92723,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
92969
92723
|
|
|
92970
92724
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92971
92725
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
92972
|
-
args:
|
|
92973
|
-
tool: async (client,
|
|
92974
|
-
const [result, apiCall] = await paymentLinksGetQRCode(client,
|
|
92726
|
+
args: args107,
|
|
92727
|
+
tool: async (client, args108, ctx) => {
|
|
92728
|
+
const [result, apiCall] = await paymentLinksGetQRCode(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92975
92729
|
if (!result.ok) {
|
|
92976
92730
|
return {
|
|
92977
92731
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92986,9 +92740,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
92986
92740
|
|
|
92987
92741
|
// src/funcs/paymentLinksList.ts
|
|
92988
92742
|
function paymentLinksList(client, request, options) {
|
|
92989
|
-
return new APIPromise($
|
|
92743
|
+
return new APIPromise($do108(client, request, options));
|
|
92990
92744
|
}
|
|
92991
|
-
async function $
|
|
92745
|
+
async function $do108(client, request, options) {
|
|
92992
92746
|
const parsed = safeParse4(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92993
92747
|
if (!parsed.ok) {
|
|
92994
92748
|
return [parsed, { status: "invalid" }];
|
|
@@ -93073,12 +92827,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
93073
92827
|
});
|
|
93074
92828
|
|
|
93075
92829
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
93076
|
-
var
|
|
92830
|
+
var args108, tool$paymentLinksList;
|
|
93077
92831
|
var init_paymentLinksList2 = __esm(() => {
|
|
93078
92832
|
init_paymentLinksList();
|
|
93079
92833
|
init_operations();
|
|
93080
92834
|
init_tools();
|
|
93081
|
-
|
|
92835
|
+
args108 = {
|
|
93082
92836
|
request: ListPaymentLinksRequest$inboundSchema
|
|
93083
92837
|
};
|
|
93084
92838
|
tool$paymentLinksList = {
|
|
@@ -93087,9 +92841,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
93087
92841
|
|
|
93088
92842
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93089
92843
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
93090
|
-
args:
|
|
93091
|
-
tool: async (client,
|
|
93092
|
-
const [result, apiCall] = await paymentLinksList(client,
|
|
92844
|
+
args: args108,
|
|
92845
|
+
tool: async (client, args109, ctx) => {
|
|
92846
|
+
const [result, apiCall] = await paymentLinksList(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93093
92847
|
if (!result.ok) {
|
|
93094
92848
|
return {
|
|
93095
92849
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93104,9 +92858,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
93104
92858
|
|
|
93105
92859
|
// src/funcs/paymentLinksUpdate.ts
|
|
93106
92860
|
function paymentLinksUpdate(client, request, options) {
|
|
93107
|
-
return new APIPromise($
|
|
92861
|
+
return new APIPromise($do109(client, request, options));
|
|
93108
92862
|
}
|
|
93109
|
-
async function $
|
|
92863
|
+
async function $do109(client, request, options) {
|
|
93110
92864
|
const parsed = safeParse4(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93111
92865
|
if (!parsed.ok) {
|
|
93112
92866
|
return [parsed, { status: "invalid" }];
|
|
@@ -93202,12 +92956,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
93202
92956
|
});
|
|
93203
92957
|
|
|
93204
92958
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
93205
|
-
var
|
|
92959
|
+
var args109, tool$paymentLinksUpdate;
|
|
93206
92960
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
93207
92961
|
init_paymentLinksUpdate();
|
|
93208
92962
|
init_operations();
|
|
93209
92963
|
init_tools();
|
|
93210
|
-
|
|
92964
|
+
args109 = {
|
|
93211
92965
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
93212
92966
|
};
|
|
93213
92967
|
tool$paymentLinksUpdate = {
|
|
@@ -93216,9 +92970,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
93216
92970
|
|
|
93217
92971
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93218
92972
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
93219
|
-
args:
|
|
93220
|
-
tool: async (client,
|
|
93221
|
-
const [result, apiCall] = await paymentLinksUpdate(client,
|
|
92973
|
+
args: args109,
|
|
92974
|
+
tool: async (client, args110, ctx) => {
|
|
92975
|
+
const [result, apiCall] = await paymentLinksUpdate(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93222
92976
|
if (!result.ok) {
|
|
93223
92977
|
return {
|
|
93224
92978
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93233,9 +92987,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
93233
92987
|
|
|
93234
92988
|
// src/funcs/paymentMethodsGet.ts
|
|
93235
92989
|
function paymentMethodsGet(client, request, options) {
|
|
93236
|
-
return new APIPromise($
|
|
92990
|
+
return new APIPromise($do110(client, request, options));
|
|
93237
92991
|
}
|
|
93238
|
-
async function $
|
|
92992
|
+
async function $do110(client, request, options) {
|
|
93239
92993
|
const parsed = safeParse4(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93240
92994
|
if (!parsed.ok) {
|
|
93241
92995
|
return [parsed, { status: "invalid" }];
|
|
@@ -93317,12 +93071,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
93317
93071
|
});
|
|
93318
93072
|
|
|
93319
93073
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
93320
|
-
var
|
|
93074
|
+
var args110, tool$paymentMethodsGet;
|
|
93321
93075
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
93322
93076
|
init_paymentMethodsGet();
|
|
93323
93077
|
init_operations();
|
|
93324
93078
|
init_tools();
|
|
93325
|
-
|
|
93079
|
+
args110 = {
|
|
93326
93080
|
request: GetPaymentMethodRequest$inboundSchema
|
|
93327
93081
|
};
|
|
93328
93082
|
tool$paymentMethodsGet = {
|
|
@@ -93331,9 +93085,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
93331
93085
|
|
|
93332
93086
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93333
93087
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
93334
|
-
args:
|
|
93335
|
-
tool: async (client,
|
|
93336
|
-
const [result, apiCall] = await paymentMethodsGet(client,
|
|
93088
|
+
args: args110,
|
|
93089
|
+
tool: async (client, args111, ctx) => {
|
|
93090
|
+
const [result, apiCall] = await paymentMethodsGet(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93337
93091
|
if (!result.ok) {
|
|
93338
93092
|
return {
|
|
93339
93093
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93348,9 +93102,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
93348
93102
|
|
|
93349
93103
|
// src/funcs/paymentMethodsList.ts
|
|
93350
93104
|
function paymentMethodsList(client, request, options) {
|
|
93351
|
-
return new APIPromise($
|
|
93105
|
+
return new APIPromise($do111(client, request, options));
|
|
93352
93106
|
}
|
|
93353
|
-
async function $
|
|
93107
|
+
async function $do111(client, request, options) {
|
|
93354
93108
|
const parsed = safeParse4(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93355
93109
|
if (!parsed.ok) {
|
|
93356
93110
|
return [parsed, { status: "invalid" }];
|
|
@@ -93433,12 +93187,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
93433
93187
|
});
|
|
93434
93188
|
|
|
93435
93189
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
93436
|
-
var
|
|
93190
|
+
var args111, tool$paymentMethodsList;
|
|
93437
93191
|
var init_paymentMethodsList2 = __esm(() => {
|
|
93438
93192
|
init_paymentMethodsList();
|
|
93439
93193
|
init_operations();
|
|
93440
93194
|
init_tools();
|
|
93441
|
-
|
|
93195
|
+
args111 = {
|
|
93442
93196
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
93443
93197
|
};
|
|
93444
93198
|
tool$paymentMethodsList = {
|
|
@@ -93448,9 +93202,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
93448
93202
|
|
|
93449
93203
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93450
93204
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
93451
|
-
args:
|
|
93452
|
-
tool: async (client,
|
|
93453
|
-
const [result, apiCall] = await paymentMethodsList(client,
|
|
93205
|
+
args: args111,
|
|
93206
|
+
tool: async (client, args112, ctx) => {
|
|
93207
|
+
const [result, apiCall] = await paymentMethodsList(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93454
93208
|
if (!result.ok) {
|
|
93455
93209
|
return {
|
|
93456
93210
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93465,9 +93219,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
93465
93219
|
|
|
93466
93220
|
// src/funcs/pingPing.ts
|
|
93467
93221
|
function pingPing(client, _request, options) {
|
|
93468
|
-
return new APIPromise($
|
|
93222
|
+
return new APIPromise($do112(client, _request, options));
|
|
93469
93223
|
}
|
|
93470
|
-
async function $
|
|
93224
|
+
async function $do112(client, _request, options) {
|
|
93471
93225
|
const path = pathToFunc("/ping")();
|
|
93472
93226
|
const headers = new Headers(compactMap({
|
|
93473
93227
|
Accept: "*/*",
|
|
@@ -93530,12 +93284,12 @@ var init_pingPing = __esm(() => {
|
|
|
93530
93284
|
});
|
|
93531
93285
|
|
|
93532
93286
|
// src/mcp-server/tools/pingPing.ts
|
|
93533
|
-
var
|
|
93287
|
+
var args112, tool$pingPing;
|
|
93534
93288
|
var init_pingPing2 = __esm(() => {
|
|
93535
93289
|
init_pingPing();
|
|
93536
93290
|
init_operations();
|
|
93537
93291
|
init_tools();
|
|
93538
|
-
|
|
93292
|
+
args112 = {
|
|
93539
93293
|
request: PingRequest$inboundSchema
|
|
93540
93294
|
};
|
|
93541
93295
|
tool$pingPing = {
|
|
@@ -93544,9 +93298,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
93544
93298
|
|
|
93545
93299
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93546
93300
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
93547
|
-
args:
|
|
93548
|
-
tool: async (client,
|
|
93549
|
-
const [result, apiCall] = await pingPing(client,
|
|
93301
|
+
args: args112,
|
|
93302
|
+
tool: async (client, args113, ctx) => {
|
|
93303
|
+
const [result, apiCall] = await pingPing(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93550
93304
|
if (!result.ok) {
|
|
93551
93305
|
return {
|
|
93552
93306
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93560,9 +93314,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
93560
93314
|
|
|
93561
93315
|
// src/funcs/productsCreate.ts
|
|
93562
93316
|
function productsCreate(client, request, options) {
|
|
93563
|
-
return new APIPromise($
|
|
93317
|
+
return new APIPromise($do113(client, request, options));
|
|
93564
93318
|
}
|
|
93565
|
-
async function $
|
|
93319
|
+
async function $do113(client, request, options) {
|
|
93566
93320
|
const parsed = safeParse4(request, (value) => CreateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93567
93321
|
if (!parsed.ok) {
|
|
93568
93322
|
return [parsed, { status: "invalid" }];
|
|
@@ -93656,20 +93410,20 @@ var init_productsCreate = __esm(() => {
|
|
|
93656
93410
|
});
|
|
93657
93411
|
|
|
93658
93412
|
// src/mcp-server/tools/productsCreate.ts
|
|
93659
|
-
var
|
|
93413
|
+
var args113, tool$productsCreate;
|
|
93660
93414
|
var init_productsCreate2 = __esm(() => {
|
|
93661
93415
|
init_productsCreate();
|
|
93662
93416
|
init_operations();
|
|
93663
93417
|
init_tools();
|
|
93664
|
-
|
|
93418
|
+
args113 = {
|
|
93665
93419
|
request: CreateProductRequest$inboundSchema
|
|
93666
93420
|
};
|
|
93667
93421
|
tool$productsCreate = {
|
|
93668
93422
|
name: "products-create",
|
|
93669
93423
|
description: `Creates a new product for the specified account.`,
|
|
93670
|
-
args:
|
|
93671
|
-
tool: async (client,
|
|
93672
|
-
const [result, apiCall] = await productsCreate(client,
|
|
93424
|
+
args: args113,
|
|
93425
|
+
tool: async (client, args114, ctx) => {
|
|
93426
|
+
const [result, apiCall] = await productsCreate(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93673
93427
|
if (!result.ok) {
|
|
93674
93428
|
return {
|
|
93675
93429
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93684,9 +93438,9 @@ var init_productsCreate2 = __esm(() => {
|
|
|
93684
93438
|
|
|
93685
93439
|
// src/funcs/productsDisable.ts
|
|
93686
93440
|
function productsDisable(client, request, options) {
|
|
93687
|
-
return new APIPromise($
|
|
93441
|
+
return new APIPromise($do114(client, request, options));
|
|
93688
93442
|
}
|
|
93689
|
-
async function $
|
|
93443
|
+
async function $do114(client, request, options) {
|
|
93690
93444
|
const parsed = safeParse4(request, (value) => DisableProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93691
93445
|
if (!parsed.ok) {
|
|
93692
93446
|
return [parsed, { status: "invalid" }];
|
|
@@ -93779,12 +93533,12 @@ var init_productsDisable = __esm(() => {
|
|
|
93779
93533
|
});
|
|
93780
93534
|
|
|
93781
93535
|
// src/mcp-server/tools/productsDisable.ts
|
|
93782
|
-
var
|
|
93536
|
+
var args114, tool$productsDisable;
|
|
93783
93537
|
var init_productsDisable2 = __esm(() => {
|
|
93784
93538
|
init_productsDisable();
|
|
93785
93539
|
init_operations();
|
|
93786
93540
|
init_tools();
|
|
93787
|
-
|
|
93541
|
+
args114 = {
|
|
93788
93542
|
request: DisableProductRequest$inboundSchema
|
|
93789
93543
|
};
|
|
93790
93544
|
tool$productsDisable = {
|
|
@@ -93792,9 +93546,9 @@ var init_productsDisable2 = __esm(() => {
|
|
|
93792
93546
|
description: `Disable a product by ID.
|
|
93793
93547
|
|
|
93794
93548
|
The product will no longer be available, but will remain in the system for historical and reporting purposes.`,
|
|
93795
|
-
args:
|
|
93796
|
-
tool: async (client,
|
|
93797
|
-
const [result, apiCall] = await productsDisable(client,
|
|
93549
|
+
args: args114,
|
|
93550
|
+
tool: async (client, args115, ctx) => {
|
|
93551
|
+
const [result, apiCall] = await productsDisable(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93798
93552
|
if (!result.ok) {
|
|
93799
93553
|
return {
|
|
93800
93554
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93808,9 +93562,9 @@ The product will no longer be available, but will remain in the system for histo
|
|
|
93808
93562
|
|
|
93809
93563
|
// src/funcs/productsGet.ts
|
|
93810
93564
|
function productsGet(client, request, options) {
|
|
93811
|
-
return new APIPromise($
|
|
93565
|
+
return new APIPromise($do115(client, request, options));
|
|
93812
93566
|
}
|
|
93813
|
-
async function $
|
|
93567
|
+
async function $do115(client, request, options) {
|
|
93814
93568
|
const parsed = safeParse4(request, (value) => GetProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93815
93569
|
if (!parsed.ok) {
|
|
93816
93570
|
return [parsed, { status: "invalid" }];
|
|
@@ -93892,20 +93646,20 @@ var init_productsGet = __esm(() => {
|
|
|
93892
93646
|
});
|
|
93893
93647
|
|
|
93894
93648
|
// src/mcp-server/tools/productsGet.ts
|
|
93895
|
-
var
|
|
93649
|
+
var args115, tool$productsGet;
|
|
93896
93650
|
var init_productsGet2 = __esm(() => {
|
|
93897
93651
|
init_productsGet();
|
|
93898
93652
|
init_operations();
|
|
93899
93653
|
init_tools();
|
|
93900
|
-
|
|
93654
|
+
args115 = {
|
|
93901
93655
|
request: GetProductRequest$inboundSchema
|
|
93902
93656
|
};
|
|
93903
93657
|
tool$productsGet = {
|
|
93904
93658
|
name: "products-get",
|
|
93905
93659
|
description: `Retrieve a product by ID.`,
|
|
93906
|
-
args:
|
|
93907
|
-
tool: async (client,
|
|
93908
|
-
const [result, apiCall] = await productsGet(client,
|
|
93660
|
+
args: args115,
|
|
93661
|
+
tool: async (client, args116, ctx) => {
|
|
93662
|
+
const [result, apiCall] = await productsGet(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93909
93663
|
if (!result.ok) {
|
|
93910
93664
|
return {
|
|
93911
93665
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93920,9 +93674,9 @@ var init_productsGet2 = __esm(() => {
|
|
|
93920
93674
|
|
|
93921
93675
|
// src/funcs/productsList.ts
|
|
93922
93676
|
function productsList(client, request, options) {
|
|
93923
|
-
return new APIPromise($
|
|
93677
|
+
return new APIPromise($do116(client, request, options));
|
|
93924
93678
|
}
|
|
93925
|
-
async function $
|
|
93679
|
+
async function $do116(client, request, options) {
|
|
93926
93680
|
const parsed = safeParse4(request, (value) => ListProductsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93927
93681
|
if (!parsed.ok) {
|
|
93928
93682
|
return [parsed, { status: "invalid" }];
|
|
@@ -94005,20 +93759,20 @@ var init_productsList = __esm(() => {
|
|
|
94005
93759
|
});
|
|
94006
93760
|
|
|
94007
93761
|
// src/mcp-server/tools/productsList.ts
|
|
94008
|
-
var
|
|
93762
|
+
var args116, tool$productsList;
|
|
94009
93763
|
var init_productsList2 = __esm(() => {
|
|
94010
93764
|
init_productsList();
|
|
94011
93765
|
init_operations();
|
|
94012
93766
|
init_tools();
|
|
94013
|
-
|
|
93767
|
+
args116 = {
|
|
94014
93768
|
request: ListProductsRequest$inboundSchema
|
|
94015
93769
|
};
|
|
94016
93770
|
tool$productsList = {
|
|
94017
93771
|
name: "products-list",
|
|
94018
93772
|
description: `List active (non-disabled) products for an account.`,
|
|
94019
|
-
args:
|
|
94020
|
-
tool: async (client,
|
|
94021
|
-
const [result, apiCall] = await productsList(client,
|
|
93773
|
+
args: args116,
|
|
93774
|
+
tool: async (client, args117, ctx) => {
|
|
93775
|
+
const [result, apiCall] = await productsList(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94022
93776
|
if (!result.ok) {
|
|
94023
93777
|
return {
|
|
94024
93778
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94033,9 +93787,9 @@ var init_productsList2 = __esm(() => {
|
|
|
94033
93787
|
|
|
94034
93788
|
// src/funcs/productsUpdate.ts
|
|
94035
93789
|
function productsUpdate(client, request, options) {
|
|
94036
|
-
return new APIPromise($
|
|
93790
|
+
return new APIPromise($do117(client, request, options));
|
|
94037
93791
|
}
|
|
94038
|
-
async function $
|
|
93792
|
+
async function $do117(client, request, options) {
|
|
94039
93793
|
const parsed = safeParse4(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94040
93794
|
if (!parsed.ok) {
|
|
94041
93795
|
return [parsed, { status: "invalid" }];
|
|
@@ -94133,20 +93887,20 @@ var init_productsUpdate = __esm(() => {
|
|
|
94133
93887
|
});
|
|
94134
93888
|
|
|
94135
93889
|
// src/mcp-server/tools/productsUpdate.ts
|
|
94136
|
-
var
|
|
93890
|
+
var args117, tool$productsUpdate;
|
|
94137
93891
|
var init_productsUpdate2 = __esm(() => {
|
|
94138
93892
|
init_productsUpdate();
|
|
94139
93893
|
init_operations();
|
|
94140
93894
|
init_tools();
|
|
94141
|
-
|
|
93895
|
+
args117 = {
|
|
94142
93896
|
request: UpdateProductRequest$inboundSchema
|
|
94143
93897
|
};
|
|
94144
93898
|
tool$productsUpdate = {
|
|
94145
93899
|
name: "products-update",
|
|
94146
93900
|
description: `Update a product and its options.`,
|
|
94147
|
-
args:
|
|
94148
|
-
tool: async (client,
|
|
94149
|
-
const [result, apiCall] = await productsUpdate(client,
|
|
93901
|
+
args: args117,
|
|
93902
|
+
tool: async (client, args118, ctx) => {
|
|
93903
|
+
const [result, apiCall] = await productsUpdate(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94150
93904
|
if (!result.ok) {
|
|
94151
93905
|
return {
|
|
94152
93906
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94161,9 +93915,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
94161
93915
|
|
|
94162
93916
|
// src/funcs/receiptsCreate.ts
|
|
94163
93917
|
function receiptsCreate(client, request, options) {
|
|
94164
|
-
return new APIPromise($
|
|
93918
|
+
return new APIPromise($do118(client, request, options));
|
|
94165
93919
|
}
|
|
94166
|
-
async function $
|
|
93920
|
+
async function $do118(client, request, options) {
|
|
94167
93921
|
const parsed = safeParse4(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
94168
93922
|
if (!parsed.ok) {
|
|
94169
93923
|
return [parsed, { status: "invalid" }];
|
|
@@ -94251,13 +94005,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
94251
94005
|
});
|
|
94252
94006
|
|
|
94253
94007
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
94254
|
-
var
|
|
94008
|
+
var args118, tool$receiptsCreate;
|
|
94255
94009
|
var init_receiptsCreate2 = __esm(() => {
|
|
94256
94010
|
init_esm();
|
|
94257
94011
|
init_receiptsCreate();
|
|
94258
94012
|
init_components();
|
|
94259
94013
|
init_tools();
|
|
94260
|
-
|
|
94014
|
+
args118 = {
|
|
94261
94015
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
94262
94016
|
};
|
|
94263
94017
|
tool$receiptsCreate = {
|
|
@@ -94266,9 +94020,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
94266
94020
|
|
|
94267
94021
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94268
94022
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
94269
|
-
args:
|
|
94270
|
-
tool: async (client,
|
|
94271
|
-
const [result, apiCall] = await receiptsCreate(client,
|
|
94023
|
+
args: args118,
|
|
94024
|
+
tool: async (client, args119, ctx) => {
|
|
94025
|
+
const [result, apiCall] = await receiptsCreate(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94272
94026
|
if (!result.ok) {
|
|
94273
94027
|
return {
|
|
94274
94028
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94283,9 +94037,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
94283
94037
|
|
|
94284
94038
|
// src/funcs/receiptsList.ts
|
|
94285
94039
|
function receiptsList(client, request, options) {
|
|
94286
|
-
return new APIPromise($
|
|
94040
|
+
return new APIPromise($do119(client, request, options));
|
|
94287
94041
|
}
|
|
94288
|
-
async function $
|
|
94042
|
+
async function $do119(client, request, options) {
|
|
94289
94043
|
const parsed = safeParse4(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94290
94044
|
if (!parsed.ok) {
|
|
94291
94045
|
return [parsed, { status: "invalid" }];
|
|
@@ -94361,12 +94115,12 @@ var init_receiptsList = __esm(() => {
|
|
|
94361
94115
|
});
|
|
94362
94116
|
|
|
94363
94117
|
// src/mcp-server/tools/receiptsList.ts
|
|
94364
|
-
var
|
|
94118
|
+
var args119, tool$receiptsList;
|
|
94365
94119
|
var init_receiptsList2 = __esm(() => {
|
|
94366
94120
|
init_receiptsList();
|
|
94367
94121
|
init_operations();
|
|
94368
94122
|
init_tools();
|
|
94369
|
-
|
|
94123
|
+
args119 = {
|
|
94370
94124
|
request: ListReceiptsRequest$inboundSchema
|
|
94371
94125
|
};
|
|
94372
94126
|
tool$receiptsList = {
|
|
@@ -94375,9 +94129,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
94375
94129
|
|
|
94376
94130
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94377
94131
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
94378
|
-
args:
|
|
94379
|
-
tool: async (client,
|
|
94380
|
-
const [result, apiCall] = await receiptsList(client,
|
|
94132
|
+
args: args119,
|
|
94133
|
+
tool: async (client, args120, ctx) => {
|
|
94134
|
+
const [result, apiCall] = await receiptsList(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94381
94135
|
if (!result.ok) {
|
|
94382
94136
|
return {
|
|
94383
94137
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94392,9 +94146,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
94392
94146
|
|
|
94393
94147
|
// src/funcs/representativesCreate.ts
|
|
94394
94148
|
function representativesCreate(client, request, options) {
|
|
94395
|
-
return new APIPromise($
|
|
94149
|
+
return new APIPromise($do120(client, request, options));
|
|
94396
94150
|
}
|
|
94397
|
-
async function $
|
|
94151
|
+
async function $do120(client, request, options) {
|
|
94398
94152
|
const parsed = safeParse4(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94399
94153
|
if (!parsed.ok) {
|
|
94400
94154
|
return [parsed, { status: "invalid" }];
|
|
@@ -94490,12 +94244,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
94490
94244
|
});
|
|
94491
94245
|
|
|
94492
94246
|
// src/mcp-server/tools/representativesCreate.ts
|
|
94493
|
-
var
|
|
94247
|
+
var args120, tool$representativesCreate;
|
|
94494
94248
|
var init_representativesCreate2 = __esm(() => {
|
|
94495
94249
|
init_representativesCreate();
|
|
94496
94250
|
init_operations();
|
|
94497
94251
|
init_tools();
|
|
94498
|
-
|
|
94252
|
+
args120 = {
|
|
94499
94253
|
request: CreateRepresentativeRequest$inboundSchema
|
|
94500
94254
|
};
|
|
94501
94255
|
tool$representativesCreate = {
|
|
@@ -94506,9 +94260,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
94506
94260
|
|
|
94507
94261
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94508
94262
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
94509
|
-
args:
|
|
94510
|
-
tool: async (client,
|
|
94511
|
-
const [result, apiCall] = await representativesCreate(client,
|
|
94263
|
+
args: args120,
|
|
94264
|
+
tool: async (client, args121, ctx) => {
|
|
94265
|
+
const [result, apiCall] = await representativesCreate(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94512
94266
|
if (!result.ok) {
|
|
94513
94267
|
return {
|
|
94514
94268
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94523,9 +94277,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
94523
94277
|
|
|
94524
94278
|
// src/funcs/representativesDelete.ts
|
|
94525
94279
|
function representativesDelete(client, request, options) {
|
|
94526
|
-
return new APIPromise($
|
|
94280
|
+
return new APIPromise($do121(client, request, options));
|
|
94527
94281
|
}
|
|
94528
|
-
async function $
|
|
94282
|
+
async function $do121(client, request, options) {
|
|
94529
94283
|
const parsed = safeParse4(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94530
94284
|
if (!parsed.ok) {
|
|
94531
94285
|
return [parsed, { status: "invalid" }];
|
|
@@ -94613,12 +94367,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
94613
94367
|
});
|
|
94614
94368
|
|
|
94615
94369
|
// src/mcp-server/tools/representativesDelete.ts
|
|
94616
|
-
var
|
|
94370
|
+
var args121, tool$representativesDelete;
|
|
94617
94371
|
var init_representativesDelete2 = __esm(() => {
|
|
94618
94372
|
init_representativesDelete();
|
|
94619
94373
|
init_operations();
|
|
94620
94374
|
init_tools();
|
|
94621
|
-
|
|
94375
|
+
args121 = {
|
|
94622
94376
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
94623
94377
|
};
|
|
94624
94378
|
tool$representativesDelete = {
|
|
@@ -94627,9 +94381,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
94627
94381
|
|
|
94628
94382
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94629
94383
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
94630
|
-
args:
|
|
94631
|
-
tool: async (client,
|
|
94632
|
-
const [result, apiCall] = await representativesDelete(client,
|
|
94384
|
+
args: args121,
|
|
94385
|
+
tool: async (client, args122, ctx) => {
|
|
94386
|
+
const [result, apiCall] = await representativesDelete(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94633
94387
|
if (!result.ok) {
|
|
94634
94388
|
return {
|
|
94635
94389
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94643,9 +94397,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
94643
94397
|
|
|
94644
94398
|
// src/funcs/representativesGet.ts
|
|
94645
94399
|
function representativesGet(client, request, options) {
|
|
94646
|
-
return new APIPromise($
|
|
94400
|
+
return new APIPromise($do122(client, request, options));
|
|
94647
94401
|
}
|
|
94648
|
-
async function $
|
|
94402
|
+
async function $do122(client, request, options) {
|
|
94649
94403
|
const parsed = safeParse4(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94650
94404
|
if (!parsed.ok) {
|
|
94651
94405
|
return [parsed, { status: "invalid" }];
|
|
@@ -94724,12 +94478,12 @@ var init_representativesGet = __esm(() => {
|
|
|
94724
94478
|
});
|
|
94725
94479
|
|
|
94726
94480
|
// src/mcp-server/tools/representativesGet.ts
|
|
94727
|
-
var
|
|
94481
|
+
var args122, tool$representativesGet;
|
|
94728
94482
|
var init_representativesGet2 = __esm(() => {
|
|
94729
94483
|
init_representativesGet();
|
|
94730
94484
|
init_operations();
|
|
94731
94485
|
init_tools();
|
|
94732
|
-
|
|
94486
|
+
args122 = {
|
|
94733
94487
|
request: GetRepresentativeRequest$inboundSchema
|
|
94734
94488
|
};
|
|
94735
94489
|
tool$representativesGet = {
|
|
@@ -94738,9 +94492,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
94738
94492
|
|
|
94739
94493
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94740
94494
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
94741
|
-
args:
|
|
94742
|
-
tool: async (client,
|
|
94743
|
-
const [result, apiCall] = await representativesGet(client,
|
|
94495
|
+
args: args122,
|
|
94496
|
+
tool: async (client, args123, ctx) => {
|
|
94497
|
+
const [result, apiCall] = await representativesGet(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94744
94498
|
if (!result.ok) {
|
|
94745
94499
|
return {
|
|
94746
94500
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94755,9 +94509,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
94755
94509
|
|
|
94756
94510
|
// src/funcs/representativesList.ts
|
|
94757
94511
|
function representativesList(client, request, options) {
|
|
94758
|
-
return new APIPromise($
|
|
94512
|
+
return new APIPromise($do123(client, request, options));
|
|
94759
94513
|
}
|
|
94760
|
-
async function $
|
|
94514
|
+
async function $do123(client, request, options) {
|
|
94761
94515
|
const parsed = safeParse4(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94762
94516
|
if (!parsed.ok) {
|
|
94763
94517
|
return [parsed, { status: "invalid" }];
|
|
@@ -94835,12 +94589,12 @@ var init_representativesList = __esm(() => {
|
|
|
94835
94589
|
});
|
|
94836
94590
|
|
|
94837
94591
|
// src/mcp-server/tools/representativesList.ts
|
|
94838
|
-
var
|
|
94592
|
+
var args123, tool$representativesList;
|
|
94839
94593
|
var init_representativesList2 = __esm(() => {
|
|
94840
94594
|
init_representativesList();
|
|
94841
94595
|
init_operations();
|
|
94842
94596
|
init_tools();
|
|
94843
|
-
|
|
94597
|
+
args123 = {
|
|
94844
94598
|
request: ListRepresentativesRequest$inboundSchema
|
|
94845
94599
|
};
|
|
94846
94600
|
tool$representativesList = {
|
|
@@ -94852,9 +94606,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
94852
94606
|
|
|
94853
94607
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94854
94608
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
94855
|
-
args:
|
|
94856
|
-
tool: async (client,
|
|
94857
|
-
const [result, apiCall] = await representativesList(client,
|
|
94609
|
+
args: args123,
|
|
94610
|
+
tool: async (client, args124, ctx) => {
|
|
94611
|
+
const [result, apiCall] = await representativesList(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94858
94612
|
if (!result.ok) {
|
|
94859
94613
|
return {
|
|
94860
94614
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94869,9 +94623,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
94869
94623
|
|
|
94870
94624
|
// src/funcs/representativesUpdate.ts
|
|
94871
94625
|
function representativesUpdate(client, request, options) {
|
|
94872
|
-
return new APIPromise($
|
|
94626
|
+
return new APIPromise($do124(client, request, options));
|
|
94873
94627
|
}
|
|
94874
|
-
async function $
|
|
94628
|
+
async function $do124(client, request, options) {
|
|
94875
94629
|
const parsed = safeParse4(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94876
94630
|
if (!parsed.ok) {
|
|
94877
94631
|
return [parsed, { status: "invalid" }];
|
|
@@ -94965,12 +94719,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
94965
94719
|
});
|
|
94966
94720
|
|
|
94967
94721
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
94968
|
-
var
|
|
94722
|
+
var args124, tool$representativesUpdate;
|
|
94969
94723
|
var init_representativesUpdate2 = __esm(() => {
|
|
94970
94724
|
init_representativesUpdate();
|
|
94971
94725
|
init_operations();
|
|
94972
94726
|
init_tools();
|
|
94973
|
-
|
|
94727
|
+
args124 = {
|
|
94974
94728
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
94975
94729
|
};
|
|
94976
94730
|
tool$representativesUpdate = {
|
|
@@ -94992,9 +94746,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
94992
94746
|
|
|
94993
94747
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94994
94748
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
94995
|
-
args:
|
|
94996
|
-
tool: async (client,
|
|
94997
|
-
const [result, apiCall] = await representativesUpdate(client,
|
|
94749
|
+
args: args124,
|
|
94750
|
+
tool: async (client, args125, ctx) => {
|
|
94751
|
+
const [result, apiCall] = await representativesUpdate(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94998
94752
|
if (!result.ok) {
|
|
94999
94753
|
return {
|
|
95000
94754
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95009,9 +94763,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
95009
94763
|
|
|
95010
94764
|
// src/funcs/schedulingCancel.ts
|
|
95011
94765
|
function schedulingCancel(client, request, options) {
|
|
95012
|
-
return new APIPromise($
|
|
94766
|
+
return new APIPromise($do125(client, request, options));
|
|
95013
94767
|
}
|
|
95014
|
-
async function $
|
|
94768
|
+
async function $do125(client, request, options) {
|
|
95015
94769
|
const parsed = safeParse4(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95016
94770
|
if (!parsed.ok) {
|
|
95017
94771
|
return [parsed, { status: "invalid" }];
|
|
@@ -95104,12 +94858,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
95104
94858
|
});
|
|
95105
94859
|
|
|
95106
94860
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
95107
|
-
var
|
|
94861
|
+
var args125, tool$schedulingCancel;
|
|
95108
94862
|
var init_schedulingCancel2 = __esm(() => {
|
|
95109
94863
|
init_schedulingCancel();
|
|
95110
94864
|
init_operations();
|
|
95111
94865
|
init_tools();
|
|
95112
|
-
|
|
94866
|
+
args125 = {
|
|
95113
94867
|
request: CancelScheduleRequest$inboundSchema
|
|
95114
94868
|
};
|
|
95115
94869
|
tool$schedulingCancel = {
|
|
@@ -95118,9 +94872,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
95118
94872
|
|
|
95119
94873
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95120
94874
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95121
|
-
args:
|
|
95122
|
-
tool: async (client,
|
|
95123
|
-
const [result, apiCall] = await schedulingCancel(client,
|
|
94875
|
+
args: args125,
|
|
94876
|
+
tool: async (client, args126, ctx) => {
|
|
94877
|
+
const [result, apiCall] = await schedulingCancel(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95124
94878
|
if (!result.ok) {
|
|
95125
94879
|
return {
|
|
95126
94880
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95134,9 +94888,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95134
94888
|
|
|
95135
94889
|
// src/funcs/schedulingCreate.ts
|
|
95136
94890
|
function schedulingCreate(client, request, options) {
|
|
95137
|
-
return new APIPromise($
|
|
94891
|
+
return new APIPromise($do126(client, request, options));
|
|
95138
94892
|
}
|
|
95139
|
-
async function $
|
|
94893
|
+
async function $do126(client, request, options) {
|
|
95140
94894
|
const parsed = safeParse4(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95141
94895
|
if (!parsed.ok) {
|
|
95142
94896
|
return [parsed, { status: "invalid" }];
|
|
@@ -95230,12 +94984,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
95230
94984
|
});
|
|
95231
94985
|
|
|
95232
94986
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
95233
|
-
var
|
|
94987
|
+
var args126, tool$schedulingCreate;
|
|
95234
94988
|
var init_schedulingCreate2 = __esm(() => {
|
|
95235
94989
|
init_schedulingCreate();
|
|
95236
94990
|
init_operations();
|
|
95237
94991
|
init_tools();
|
|
95238
|
-
|
|
94992
|
+
args126 = {
|
|
95239
94993
|
request: CreateScheduleRequest$inboundSchema
|
|
95240
94994
|
};
|
|
95241
94995
|
tool$schedulingCreate = {
|
|
@@ -95244,9 +94998,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
95244
94998
|
|
|
95245
94999
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95246
95000
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95247
|
-
args:
|
|
95248
|
-
tool: async (client,
|
|
95249
|
-
const [result, apiCall] = await schedulingCreate(client,
|
|
95001
|
+
args: args126,
|
|
95002
|
+
tool: async (client, args127, ctx) => {
|
|
95003
|
+
const [result, apiCall] = await schedulingCreate(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95250
95004
|
if (!result.ok) {
|
|
95251
95005
|
return {
|
|
95252
95006
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95261,9 +95015,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95261
95015
|
|
|
95262
95016
|
// src/funcs/schedulingGet.ts
|
|
95263
95017
|
function schedulingGet(client, request, options) {
|
|
95264
|
-
return new APIPromise($
|
|
95018
|
+
return new APIPromise($do127(client, request, options));
|
|
95265
95019
|
}
|
|
95266
|
-
async function $
|
|
95020
|
+
async function $do127(client, request, options) {
|
|
95267
95021
|
const parsed = safeParse4(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95268
95022
|
if (!parsed.ok) {
|
|
95269
95023
|
return [parsed, { status: "invalid" }];
|
|
@@ -95345,12 +95099,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
95345
95099
|
});
|
|
95346
95100
|
|
|
95347
95101
|
// src/mcp-server/tools/schedulingGet.ts
|
|
95348
|
-
var
|
|
95102
|
+
var args127, tool$schedulingGet;
|
|
95349
95103
|
var init_schedulingGet2 = __esm(() => {
|
|
95350
95104
|
init_schedulingGet();
|
|
95351
95105
|
init_operations();
|
|
95352
95106
|
init_tools();
|
|
95353
|
-
|
|
95107
|
+
args127 = {
|
|
95354
95108
|
request: GetSchedulesRequest$inboundSchema
|
|
95355
95109
|
};
|
|
95356
95110
|
tool$schedulingGet = {
|
|
@@ -95359,9 +95113,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
95359
95113
|
|
|
95360
95114
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95361
95115
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95362
|
-
args:
|
|
95363
|
-
tool: async (client,
|
|
95364
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
95116
|
+
args: args127,
|
|
95117
|
+
tool: async (client, args128, ctx) => {
|
|
95118
|
+
const [result, apiCall] = await schedulingGet(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95365
95119
|
if (!result.ok) {
|
|
95366
95120
|
return {
|
|
95367
95121
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95376,9 +95130,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
95376
95130
|
|
|
95377
95131
|
// src/funcs/schedulingGetOccurrance.ts
|
|
95378
95132
|
function schedulingGetOccurrance(client, request, options) {
|
|
95379
|
-
return new APIPromise($
|
|
95133
|
+
return new APIPromise($do128(client, request, options));
|
|
95380
95134
|
}
|
|
95381
|
-
async function $
|
|
95135
|
+
async function $do128(client, request, options) {
|
|
95382
95136
|
const parsed = safeParse4(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95383
95137
|
if (!parsed.ok) {
|
|
95384
95138
|
return [parsed, { status: "invalid" }];
|
|
@@ -95461,12 +95215,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
95461
95215
|
});
|
|
95462
95216
|
|
|
95463
95217
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
95464
|
-
var
|
|
95218
|
+
var args128, tool$schedulingGetOccurrance;
|
|
95465
95219
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
95466
95220
|
init_schedulingGetOccurrance();
|
|
95467
95221
|
init_operations();
|
|
95468
95222
|
init_tools();
|
|
95469
|
-
|
|
95223
|
+
args128 = {
|
|
95470
95224
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
95471
95225
|
};
|
|
95472
95226
|
tool$schedulingGetOccurrance = {
|
|
@@ -95475,9 +95229,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
95475
95229
|
|
|
95476
95230
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95477
95231
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95478
|
-
args:
|
|
95479
|
-
tool: async (client,
|
|
95480
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
95232
|
+
args: args128,
|
|
95233
|
+
tool: async (client, args129, ctx) => {
|
|
95234
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95481
95235
|
if (!result.ok) {
|
|
95482
95236
|
return {
|
|
95483
95237
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95492,9 +95246,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
95492
95246
|
|
|
95493
95247
|
// src/funcs/schedulingList.ts
|
|
95494
95248
|
function schedulingList(client, request, options) {
|
|
95495
|
-
return new APIPromise($
|
|
95249
|
+
return new APIPromise($do129(client, request, options));
|
|
95496
95250
|
}
|
|
95497
|
-
async function $
|
|
95251
|
+
async function $do129(client, request, options) {
|
|
95498
95252
|
const parsed = safeParse4(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95499
95253
|
if (!parsed.ok) {
|
|
95500
95254
|
return [parsed, { status: "invalid" }];
|
|
@@ -95578,12 +95332,12 @@ var init_schedulingList = __esm(() => {
|
|
|
95578
95332
|
});
|
|
95579
95333
|
|
|
95580
95334
|
// src/mcp-server/tools/schedulingList.ts
|
|
95581
|
-
var
|
|
95335
|
+
var args129, tool$schedulingList;
|
|
95582
95336
|
var init_schedulingList2 = __esm(() => {
|
|
95583
95337
|
init_schedulingList();
|
|
95584
95338
|
init_operations();
|
|
95585
95339
|
init_tools();
|
|
95586
|
-
|
|
95340
|
+
args129 = {
|
|
95587
95341
|
request: ListSchedulesRequest$inboundSchema
|
|
95588
95342
|
};
|
|
95589
95343
|
tool$schedulingList = {
|
|
@@ -95592,9 +95346,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
95592
95346
|
|
|
95593
95347
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95594
95348
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95595
|
-
args:
|
|
95596
|
-
tool: async (client,
|
|
95597
|
-
const [result, apiCall] = await schedulingList(client,
|
|
95349
|
+
args: args129,
|
|
95350
|
+
tool: async (client, args130, ctx) => {
|
|
95351
|
+
const [result, apiCall] = await schedulingList(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95598
95352
|
if (!result.ok) {
|
|
95599
95353
|
return {
|
|
95600
95354
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95609,9 +95363,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
95609
95363
|
|
|
95610
95364
|
// src/funcs/schedulingUpdate.ts
|
|
95611
95365
|
function schedulingUpdate(client, request, options) {
|
|
95612
|
-
return new APIPromise($
|
|
95366
|
+
return new APIPromise($do130(client, request, options));
|
|
95613
95367
|
}
|
|
95614
|
-
async function $
|
|
95368
|
+
async function $do130(client, request, options) {
|
|
95615
95369
|
const parsed = safeParse4(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95616
95370
|
if (!parsed.ok) {
|
|
95617
95371
|
return [parsed, { status: "invalid" }];
|
|
@@ -95709,12 +95463,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
95709
95463
|
});
|
|
95710
95464
|
|
|
95711
95465
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
95712
|
-
var
|
|
95466
|
+
var args130, tool$schedulingUpdate;
|
|
95713
95467
|
var init_schedulingUpdate2 = __esm(() => {
|
|
95714
95468
|
init_schedulingUpdate();
|
|
95715
95469
|
init_operations();
|
|
95716
95470
|
init_tools();
|
|
95717
|
-
|
|
95471
|
+
args130 = {
|
|
95718
95472
|
request: UpdateScheduleRequest$inboundSchema
|
|
95719
95473
|
};
|
|
95720
95474
|
tool$schedulingUpdate = {
|
|
@@ -95723,9 +95477,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
95723
95477
|
|
|
95724
95478
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95725
95479
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95726
|
-
args:
|
|
95727
|
-
tool: async (client,
|
|
95728
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
95480
|
+
args: args130,
|
|
95481
|
+
tool: async (client, args131, ctx) => {
|
|
95482
|
+
const [result, apiCall] = await schedulingUpdate(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95729
95483
|
if (!result.ok) {
|
|
95730
95484
|
return {
|
|
95731
95485
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95740,9 +95494,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95740
95494
|
|
|
95741
95495
|
// src/funcs/statementsGet.ts
|
|
95742
95496
|
function statementsGet(client, request, options) {
|
|
95743
|
-
return new APIPromise($
|
|
95497
|
+
return new APIPromise($do131(client, request, options));
|
|
95744
95498
|
}
|
|
95745
|
-
async function $
|
|
95499
|
+
async function $do131(client, request, options) {
|
|
95746
95500
|
const parsed = safeParse4(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95747
95501
|
if (!parsed.ok) {
|
|
95748
95502
|
return [parsed, { status: "invalid" }];
|
|
@@ -95828,12 +95582,12 @@ var init_statementsGet = __esm(() => {
|
|
|
95828
95582
|
});
|
|
95829
95583
|
|
|
95830
95584
|
// src/mcp-server/tools/statementsGet.ts
|
|
95831
|
-
var
|
|
95585
|
+
var args131, tool$statementsGet;
|
|
95832
95586
|
var init_statementsGet2 = __esm(() => {
|
|
95833
95587
|
init_statementsGet();
|
|
95834
95588
|
init_operations();
|
|
95835
95589
|
init_tools();
|
|
95836
|
-
|
|
95590
|
+
args131 = {
|
|
95837
95591
|
request: GetStatementRequest$inboundSchema
|
|
95838
95592
|
};
|
|
95839
95593
|
tool$statementsGet = {
|
|
@@ -95844,9 +95598,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
95844
95598
|
|
|
95845
95599
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95846
95600
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
95847
|
-
args:
|
|
95848
|
-
tool: async (client,
|
|
95849
|
-
const [result, apiCall] = await statementsGet(client,
|
|
95601
|
+
args: args131,
|
|
95602
|
+
tool: async (client, args132, ctx) => {
|
|
95603
|
+
const [result, apiCall] = await statementsGet(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95850
95604
|
if (!result.ok) {
|
|
95851
95605
|
return {
|
|
95852
95606
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95861,9 +95615,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
95861
95615
|
|
|
95862
95616
|
// src/funcs/statementsList.ts
|
|
95863
95617
|
function statementsList(client, request, options) {
|
|
95864
|
-
return new APIPromise($
|
|
95618
|
+
return new APIPromise($do132(client, request, options));
|
|
95865
95619
|
}
|
|
95866
|
-
async function $
|
|
95620
|
+
async function $do132(client, request, options) {
|
|
95867
95621
|
const parsed = safeParse4(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95868
95622
|
if (!parsed.ok) {
|
|
95869
95623
|
return [parsed, { status: "invalid" }];
|
|
@@ -95949,12 +95703,12 @@ var init_statementsList = __esm(() => {
|
|
|
95949
95703
|
});
|
|
95950
95704
|
|
|
95951
95705
|
// src/mcp-server/tools/statementsList.ts
|
|
95952
|
-
var
|
|
95706
|
+
var args132, tool$statementsList;
|
|
95953
95707
|
var init_statementsList2 = __esm(() => {
|
|
95954
95708
|
init_statementsList();
|
|
95955
95709
|
init_operations();
|
|
95956
95710
|
init_tools();
|
|
95957
|
-
|
|
95711
|
+
args132 = {
|
|
95958
95712
|
request: ListStatementsRequest$inboundSchema
|
|
95959
95713
|
};
|
|
95960
95714
|
tool$statementsList = {
|
|
@@ -95963,9 +95717,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
95963
95717
|
|
|
95964
95718
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95965
95719
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
95966
|
-
args:
|
|
95967
|
-
tool: async (client,
|
|
95968
|
-
const [result, apiCall] = await statementsList(client,
|
|
95720
|
+
args: args132,
|
|
95721
|
+
tool: async (client, args133, ctx) => {
|
|
95722
|
+
const [result, apiCall] = await statementsList(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95969
95723
|
if (!result.ok) {
|
|
95970
95724
|
return {
|
|
95971
95725
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95980,9 +95734,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
95980
95734
|
|
|
95981
95735
|
// src/funcs/supportCreateTicket.ts
|
|
95982
95736
|
function supportCreateTicket(client, request, options) {
|
|
95983
|
-
return new APIPromise($
|
|
95737
|
+
return new APIPromise($do133(client, request, options));
|
|
95984
95738
|
}
|
|
95985
|
-
async function $
|
|
95739
|
+
async function $do133(client, request, options) {
|
|
95986
95740
|
const parsed = safeParse4(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95987
95741
|
if (!parsed.ok) {
|
|
95988
95742
|
return [parsed, { status: "invalid" }];
|
|
@@ -96074,12 +95828,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
96074
95828
|
});
|
|
96075
95829
|
|
|
96076
95830
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
96077
|
-
var
|
|
95831
|
+
var args133, tool$supportCreateTicket;
|
|
96078
95832
|
var init_supportCreateTicket2 = __esm(() => {
|
|
96079
95833
|
init_supportCreateTicket();
|
|
96080
95834
|
init_operations();
|
|
96081
95835
|
init_tools();
|
|
96082
|
-
|
|
95836
|
+
args133 = {
|
|
96083
95837
|
request: CreateTicketRequest$inboundSchema
|
|
96084
95838
|
};
|
|
96085
95839
|
tool$supportCreateTicket = {
|
|
@@ -96091,9 +95845,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
96091
95845
|
|
|
96092
95846
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
96093
95847
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96094
|
-
args:
|
|
96095
|
-
tool: async (client,
|
|
96096
|
-
const [result, apiCall] = await supportCreateTicket(client,
|
|
95848
|
+
args: args133,
|
|
95849
|
+
tool: async (client, args134, ctx) => {
|
|
95850
|
+
const [result, apiCall] = await supportCreateTicket(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96097
95851
|
if (!result.ok) {
|
|
96098
95852
|
return {
|
|
96099
95853
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96108,9 +95862,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
96108
95862
|
|
|
96109
95863
|
// src/funcs/supportGetTicket.ts
|
|
96110
95864
|
function supportGetTicket(client, request, options) {
|
|
96111
|
-
return new APIPromise($
|
|
95865
|
+
return new APIPromise($do134(client, request, options));
|
|
96112
95866
|
}
|
|
96113
|
-
async function $
|
|
95867
|
+
async function $do134(client, request, options) {
|
|
96114
95868
|
const parsed = safeParse4(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96115
95869
|
if (!parsed.ok) {
|
|
96116
95870
|
return [parsed, { status: "invalid" }];
|
|
@@ -96192,12 +95946,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
96192
95946
|
});
|
|
96193
95947
|
|
|
96194
95948
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
96195
|
-
var
|
|
95949
|
+
var args134, tool$supportGetTicket;
|
|
96196
95950
|
var init_supportGetTicket2 = __esm(() => {
|
|
96197
95951
|
init_supportGetTicket();
|
|
96198
95952
|
init_operations();
|
|
96199
95953
|
init_tools();
|
|
96200
|
-
|
|
95954
|
+
args134 = {
|
|
96201
95955
|
request: GetTicketRequest$inboundSchema
|
|
96202
95956
|
};
|
|
96203
95957
|
tool$supportGetTicket = {
|
|
@@ -96209,9 +95963,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
96209
95963
|
|
|
96210
95964
|
If you're retrieving another account's ticket, then you'll need to
|
|
96211
95965
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96212
|
-
args:
|
|
96213
|
-
tool: async (client,
|
|
96214
|
-
const [result, apiCall] = await supportGetTicket(client,
|
|
95966
|
+
args: args134,
|
|
95967
|
+
tool: async (client, args135, ctx) => {
|
|
95968
|
+
const [result, apiCall] = await supportGetTicket(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96215
95969
|
if (!result.ok) {
|
|
96216
95970
|
return {
|
|
96217
95971
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96226,9 +95980,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
96226
95980
|
|
|
96227
95981
|
// src/funcs/supportListTicketMessages.ts
|
|
96228
95982
|
function supportListTicketMessages(client, request, options) {
|
|
96229
|
-
return new APIPromise($
|
|
95983
|
+
return new APIPromise($do135(client, request, options));
|
|
96230
95984
|
}
|
|
96231
|
-
async function $
|
|
95985
|
+
async function $do135(client, request, options) {
|
|
96232
95986
|
const parsed = safeParse4(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96233
95987
|
if (!parsed.ok) {
|
|
96234
95988
|
return [parsed, { status: "invalid" }];
|
|
@@ -96310,12 +96064,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
96310
96064
|
});
|
|
96311
96065
|
|
|
96312
96066
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
96313
|
-
var
|
|
96067
|
+
var args135, tool$supportListTicketMessages;
|
|
96314
96068
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
96315
96069
|
init_supportListTicketMessages();
|
|
96316
96070
|
init_operations();
|
|
96317
96071
|
init_tools();
|
|
96318
|
-
|
|
96072
|
+
args135 = {
|
|
96319
96073
|
request: ListTicketMessagesRequest$inboundSchema
|
|
96320
96074
|
};
|
|
96321
96075
|
tool$supportListTicketMessages = {
|
|
@@ -96327,9 +96081,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
96327
96081
|
|
|
96328
96082
|
If you're listing another account's messages, then you'll need to
|
|
96329
96083
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96330
|
-
args:
|
|
96331
|
-
tool: async (client,
|
|
96332
|
-
const [result, apiCall] = await supportListTicketMessages(client,
|
|
96084
|
+
args: args135,
|
|
96085
|
+
tool: async (client, args136, ctx) => {
|
|
96086
|
+
const [result, apiCall] = await supportListTicketMessages(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96333
96087
|
if (!result.ok) {
|
|
96334
96088
|
return {
|
|
96335
96089
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96344,9 +96098,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
96344
96098
|
|
|
96345
96099
|
// src/funcs/supportListTickets.ts
|
|
96346
96100
|
function supportListTickets(client, request, options) {
|
|
96347
|
-
return new APIPromise($
|
|
96101
|
+
return new APIPromise($do136(client, request, options));
|
|
96348
96102
|
}
|
|
96349
|
-
async function $
|
|
96103
|
+
async function $do136(client, request, options) {
|
|
96350
96104
|
const parsed = safeParse4(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96351
96105
|
if (!parsed.ok) {
|
|
96352
96106
|
return [parsed, { status: "invalid" }];
|
|
@@ -96431,12 +96185,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
96431
96185
|
});
|
|
96432
96186
|
|
|
96433
96187
|
// src/mcp-server/tools/supportListTickets.ts
|
|
96434
|
-
var
|
|
96188
|
+
var args136, tool$supportListTickets;
|
|
96435
96189
|
var init_supportListTickets2 = __esm(() => {
|
|
96436
96190
|
init_supportListTickets();
|
|
96437
96191
|
init_operations();
|
|
96438
96192
|
init_tools();
|
|
96439
|
-
|
|
96193
|
+
args136 = {
|
|
96440
96194
|
request: ListTicketsRequest$inboundSchema
|
|
96441
96195
|
};
|
|
96442
96196
|
tool$supportListTickets = {
|
|
@@ -96448,9 +96202,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
96448
96202
|
|
|
96449
96203
|
If you're listing another account's tickets, then you'll need to
|
|
96450
96204
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96451
|
-
args:
|
|
96452
|
-
tool: async (client,
|
|
96453
|
-
const [result, apiCall] = await supportListTickets(client,
|
|
96205
|
+
args: args136,
|
|
96206
|
+
tool: async (client, args137, ctx) => {
|
|
96207
|
+
const [result, apiCall] = await supportListTickets(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96454
96208
|
if (!result.ok) {
|
|
96455
96209
|
return {
|
|
96456
96210
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96465,9 +96219,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
96465
96219
|
|
|
96466
96220
|
// src/funcs/supportUpdateTicket.ts
|
|
96467
96221
|
function supportUpdateTicket(client, request, options) {
|
|
96468
|
-
return new APIPromise($
|
|
96222
|
+
return new APIPromise($do137(client, request, options));
|
|
96469
96223
|
}
|
|
96470
|
-
async function $
|
|
96224
|
+
async function $do137(client, request, options) {
|
|
96471
96225
|
const parsed = safeParse4(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96472
96226
|
if (!parsed.ok) {
|
|
96473
96227
|
return [parsed, { status: "invalid" }];
|
|
@@ -96563,12 +96317,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
96563
96317
|
});
|
|
96564
96318
|
|
|
96565
96319
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
96566
|
-
var
|
|
96320
|
+
var args137, tool$supportUpdateTicket;
|
|
96567
96321
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
96568
96322
|
init_supportUpdateTicket();
|
|
96569
96323
|
init_operations();
|
|
96570
96324
|
init_tools();
|
|
96571
|
-
|
|
96325
|
+
args137 = {
|
|
96572
96326
|
request: UpdateTicketRequest$inboundSchema
|
|
96573
96327
|
};
|
|
96574
96328
|
tool$supportUpdateTicket = {
|
|
@@ -96580,9 +96334,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
96580
96334
|
|
|
96581
96335
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
96582
96336
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96583
|
-
args:
|
|
96584
|
-
tool: async (client,
|
|
96585
|
-
const [result, apiCall] = await supportUpdateTicket(client,
|
|
96337
|
+
args: args137,
|
|
96338
|
+
tool: async (client, args138, ctx) => {
|
|
96339
|
+
const [result, apiCall] = await supportUpdateTicket(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96586
96340
|
if (!result.ok) {
|
|
96587
96341
|
return {
|
|
96588
96342
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96597,9 +96351,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
96597
96351
|
|
|
96598
96352
|
// src/funcs/sweepsCreateConfig.ts
|
|
96599
96353
|
function sweepsCreateConfig(client, request, options) {
|
|
96600
|
-
return new APIPromise($
|
|
96354
|
+
return new APIPromise($do138(client, request, options));
|
|
96601
96355
|
}
|
|
96602
|
-
async function $
|
|
96356
|
+
async function $do138(client, request, options) {
|
|
96603
96357
|
const parsed = safeParse4(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96604
96358
|
if (!parsed.ok) {
|
|
96605
96359
|
return [parsed, { status: "invalid" }];
|
|
@@ -96691,12 +96445,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
96691
96445
|
});
|
|
96692
96446
|
|
|
96693
96447
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
96694
|
-
var
|
|
96448
|
+
var args138, tool$sweepsCreateConfig;
|
|
96695
96449
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
96696
96450
|
init_sweepsCreateConfig();
|
|
96697
96451
|
init_operations();
|
|
96698
96452
|
init_tools();
|
|
96699
|
-
|
|
96453
|
+
args138 = {
|
|
96700
96454
|
request: CreateSweepConfigRequest$inboundSchema
|
|
96701
96455
|
};
|
|
96702
96456
|
tool$sweepsCreateConfig = {
|
|
@@ -96705,9 +96459,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
96705
96459
|
|
|
96706
96460
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96707
96461
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
96708
|
-
args:
|
|
96709
|
-
tool: async (client,
|
|
96710
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
96462
|
+
args: args138,
|
|
96463
|
+
tool: async (client, args139, ctx) => {
|
|
96464
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96711
96465
|
if (!result.ok) {
|
|
96712
96466
|
return {
|
|
96713
96467
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96722,9 +96476,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
96722
96476
|
|
|
96723
96477
|
// src/funcs/sweepsGet.ts
|
|
96724
96478
|
function sweepsGet(client, request, options) {
|
|
96725
|
-
return new APIPromise($
|
|
96479
|
+
return new APIPromise($do139(client, request, options));
|
|
96726
96480
|
}
|
|
96727
|
-
async function $
|
|
96481
|
+
async function $do139(client, request, options) {
|
|
96728
96482
|
const parsed = safeParse4(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96729
96483
|
if (!parsed.ok) {
|
|
96730
96484
|
return [parsed, { status: "invalid" }];
|
|
@@ -96810,12 +96564,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
96810
96564
|
});
|
|
96811
96565
|
|
|
96812
96566
|
// src/mcp-server/tools/sweepsGet.ts
|
|
96813
|
-
var
|
|
96567
|
+
var args139, tool$sweepsGet;
|
|
96814
96568
|
var init_sweepsGet2 = __esm(() => {
|
|
96815
96569
|
init_sweepsGet();
|
|
96816
96570
|
init_operations();
|
|
96817
96571
|
init_tools();
|
|
96818
|
-
|
|
96572
|
+
args139 = {
|
|
96819
96573
|
request: GetSweepRequest$inboundSchema
|
|
96820
96574
|
};
|
|
96821
96575
|
tool$sweepsGet = {
|
|
@@ -96824,9 +96578,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
96824
96578
|
|
|
96825
96579
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96826
96580
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
96827
|
-
args:
|
|
96828
|
-
tool: async (client,
|
|
96829
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
96581
|
+
args: args139,
|
|
96582
|
+
tool: async (client, args140, ctx) => {
|
|
96583
|
+
const [result, apiCall] = await sweepsGet(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96830
96584
|
if (!result.ok) {
|
|
96831
96585
|
return {
|
|
96832
96586
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96841,9 +96595,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
96841
96595
|
|
|
96842
96596
|
// src/funcs/sweepsGetConfig.ts
|
|
96843
96597
|
function sweepsGetConfig(client, request, options) {
|
|
96844
|
-
return new APIPromise($
|
|
96598
|
+
return new APIPromise($do140(client, request, options));
|
|
96845
96599
|
}
|
|
96846
|
-
async function $
|
|
96600
|
+
async function $do140(client, request, options) {
|
|
96847
96601
|
const parsed = safeParse4(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96848
96602
|
if (!parsed.ok) {
|
|
96849
96603
|
return [parsed, { status: "invalid" }];
|
|
@@ -96925,12 +96679,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
96925
96679
|
});
|
|
96926
96680
|
|
|
96927
96681
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
96928
|
-
var
|
|
96682
|
+
var args140, tool$sweepsGetConfig;
|
|
96929
96683
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
96930
96684
|
init_sweepsGetConfig();
|
|
96931
96685
|
init_operations();
|
|
96932
96686
|
init_tools();
|
|
96933
|
-
|
|
96687
|
+
args140 = {
|
|
96934
96688
|
request: GetSweepConfigRequest$inboundSchema
|
|
96935
96689
|
};
|
|
96936
96690
|
tool$sweepsGetConfig = {
|
|
@@ -96939,9 +96693,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
96939
96693
|
|
|
96940
96694
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96941
96695
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
96942
|
-
args:
|
|
96943
|
-
tool: async (client,
|
|
96944
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
96696
|
+
args: args140,
|
|
96697
|
+
tool: async (client, args141, ctx) => {
|
|
96698
|
+
const [result, apiCall] = await sweepsGetConfig(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96945
96699
|
if (!result.ok) {
|
|
96946
96700
|
return {
|
|
96947
96701
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96956,9 +96710,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
96956
96710
|
|
|
96957
96711
|
// src/funcs/sweepsList.ts
|
|
96958
96712
|
function sweepsList(client, request, options) {
|
|
96959
|
-
return new APIPromise($
|
|
96713
|
+
return new APIPromise($do141(client, request, options));
|
|
96960
96714
|
}
|
|
96961
|
-
async function $
|
|
96715
|
+
async function $do141(client, request, options) {
|
|
96962
96716
|
const parsed = safeParse4(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96963
96717
|
if (!parsed.ok) {
|
|
96964
96718
|
return [parsed, { status: "invalid" }];
|
|
@@ -97047,12 +96801,12 @@ var init_sweepsList = __esm(() => {
|
|
|
97047
96801
|
});
|
|
97048
96802
|
|
|
97049
96803
|
// src/mcp-server/tools/sweepsList.ts
|
|
97050
|
-
var
|
|
96804
|
+
var args141, tool$sweepsList;
|
|
97051
96805
|
var init_sweepsList2 = __esm(() => {
|
|
97052
96806
|
init_sweepsList();
|
|
97053
96807
|
init_operations();
|
|
97054
96808
|
init_tools();
|
|
97055
|
-
|
|
96809
|
+
args141 = {
|
|
97056
96810
|
request: ListSweepsRequest$inboundSchema
|
|
97057
96811
|
};
|
|
97058
96812
|
tool$sweepsList = {
|
|
@@ -97061,9 +96815,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
97061
96815
|
|
|
97062
96816
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97063
96817
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97064
|
-
args:
|
|
97065
|
-
tool: async (client,
|
|
97066
|
-
const [result, apiCall] = await sweepsList(client,
|
|
96818
|
+
args: args141,
|
|
96819
|
+
tool: async (client, args142, ctx) => {
|
|
96820
|
+
const [result, apiCall] = await sweepsList(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97067
96821
|
if (!result.ok) {
|
|
97068
96822
|
return {
|
|
97069
96823
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97078,9 +96832,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97078
96832
|
|
|
97079
96833
|
// src/funcs/sweepsListConfigs.ts
|
|
97080
96834
|
function sweepsListConfigs(client, request, options) {
|
|
97081
|
-
return new APIPromise($
|
|
96835
|
+
return new APIPromise($do142(client, request, options));
|
|
97082
96836
|
}
|
|
97083
|
-
async function $
|
|
96837
|
+
async function $do142(client, request, options) {
|
|
97084
96838
|
const parsed = safeParse4(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97085
96839
|
if (!parsed.ok) {
|
|
97086
96840
|
return [parsed, { status: "invalid" }];
|
|
@@ -97158,12 +96912,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
97158
96912
|
});
|
|
97159
96913
|
|
|
97160
96914
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
97161
|
-
var
|
|
96915
|
+
var args142, tool$sweepsListConfigs;
|
|
97162
96916
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
97163
96917
|
init_sweepsListConfigs();
|
|
97164
96918
|
init_operations();
|
|
97165
96919
|
init_tools();
|
|
97166
|
-
|
|
96920
|
+
args142 = {
|
|
97167
96921
|
request: ListSweepConfigsRequest$inboundSchema
|
|
97168
96922
|
};
|
|
97169
96923
|
tool$sweepsListConfigs = {
|
|
@@ -97172,9 +96926,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
97172
96926
|
|
|
97173
96927
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97174
96928
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97175
|
-
args:
|
|
97176
|
-
tool: async (client,
|
|
97177
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
96929
|
+
args: args142,
|
|
96930
|
+
tool: async (client, args143, ctx) => {
|
|
96931
|
+
const [result, apiCall] = await sweepsListConfigs(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97178
96932
|
if (!result.ok) {
|
|
97179
96933
|
return {
|
|
97180
96934
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97189,9 +96943,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97189
96943
|
|
|
97190
96944
|
// src/funcs/sweepsUpdateConfig.ts
|
|
97191
96945
|
function sweepsUpdateConfig(client, request, options) {
|
|
97192
|
-
return new APIPromise($
|
|
96946
|
+
return new APIPromise($do143(client, request, options));
|
|
97193
96947
|
}
|
|
97194
|
-
async function $
|
|
96948
|
+
async function $do143(client, request, options) {
|
|
97195
96949
|
const parsed = safeParse4(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97196
96950
|
if (!parsed.ok) {
|
|
97197
96951
|
return [parsed, { status: "invalid" }];
|
|
@@ -97287,12 +97041,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
97287
97041
|
});
|
|
97288
97042
|
|
|
97289
97043
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
97290
|
-
var
|
|
97044
|
+
var args143, tool$sweepsUpdateConfig;
|
|
97291
97045
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
97292
97046
|
init_sweepsUpdateConfig();
|
|
97293
97047
|
init_operations();
|
|
97294
97048
|
init_tools();
|
|
97295
|
-
|
|
97049
|
+
args143 = {
|
|
97296
97050
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
97297
97051
|
};
|
|
97298
97052
|
tool$sweepsUpdateConfig = {
|
|
@@ -97301,9 +97055,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
97301
97055
|
|
|
97302
97056
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97303
97057
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
97304
|
-
args:
|
|
97305
|
-
tool: async (client,
|
|
97306
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
97058
|
+
args: args143,
|
|
97059
|
+
tool: async (client, args144, ctx) => {
|
|
97060
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97307
97061
|
if (!result.ok) {
|
|
97308
97062
|
return {
|
|
97309
97063
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97318,9 +97072,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
97318
97072
|
|
|
97319
97073
|
// src/funcs/terminalApplicationsCreate.ts
|
|
97320
97074
|
function terminalApplicationsCreate(client, request, options) {
|
|
97321
|
-
return new APIPromise($
|
|
97075
|
+
return new APIPromise($do144(client, request, options));
|
|
97322
97076
|
}
|
|
97323
|
-
async function $
|
|
97077
|
+
async function $do144(client, request, options) {
|
|
97324
97078
|
const parsed = safeParse4(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
97325
97079
|
if (!parsed.ok) {
|
|
97326
97080
|
return [parsed, { status: "invalid" }];
|
|
@@ -97409,12 +97163,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
97409
97163
|
});
|
|
97410
97164
|
|
|
97411
97165
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
97412
|
-
var
|
|
97166
|
+
var args144, tool$terminalApplicationsCreate;
|
|
97413
97167
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
97414
97168
|
init_terminalApplicationsCreate();
|
|
97415
97169
|
init_components();
|
|
97416
97170
|
init_tools();
|
|
97417
|
-
|
|
97171
|
+
args144 = {
|
|
97418
97172
|
request: CreateTerminalApplication$inboundSchema
|
|
97419
97173
|
};
|
|
97420
97174
|
tool$terminalApplicationsCreate = {
|
|
@@ -97423,9 +97177,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
97423
97177
|
|
|
97424
97178
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97425
97179
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
97426
|
-
args:
|
|
97427
|
-
tool: async (client,
|
|
97428
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
97180
|
+
args: args144,
|
|
97181
|
+
tool: async (client, args145, ctx) => {
|
|
97182
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97429
97183
|
if (!result.ok) {
|
|
97430
97184
|
return {
|
|
97431
97185
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97440,9 +97194,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
97440
97194
|
|
|
97441
97195
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
97442
97196
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
97443
|
-
return new APIPromise($
|
|
97197
|
+
return new APIPromise($do145(client, request, options));
|
|
97444
97198
|
}
|
|
97445
|
-
async function $
|
|
97199
|
+
async function $do145(client, request, options) {
|
|
97446
97200
|
const parsed = safeParse4(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97447
97201
|
if (!parsed.ok) {
|
|
97448
97202
|
return [parsed, { status: "invalid" }];
|
|
@@ -97532,12 +97286,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
97532
97286
|
});
|
|
97533
97287
|
|
|
97534
97288
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
97535
|
-
var
|
|
97289
|
+
var args145, tool$terminalApplicationsCreateVersion;
|
|
97536
97290
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
97537
97291
|
init_terminalApplicationsCreateVersion();
|
|
97538
97292
|
init_operations();
|
|
97539
97293
|
init_tools();
|
|
97540
|
-
|
|
97294
|
+
args145 = {
|
|
97541
97295
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
97542
97296
|
};
|
|
97543
97297
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -97546,9 +97300,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
97546
97300
|
|
|
97547
97301
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97548
97302
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
97549
|
-
args:
|
|
97550
|
-
tool: async (client,
|
|
97551
|
-
const [result, apiCall] = await terminalApplicationsCreateVersion(client,
|
|
97303
|
+
args: args145,
|
|
97304
|
+
tool: async (client, args146, ctx) => {
|
|
97305
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97552
97306
|
if (!result.ok) {
|
|
97553
97307
|
return {
|
|
97554
97308
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97563,9 +97317,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
97563
97317
|
|
|
97564
97318
|
// src/funcs/terminalApplicationsDelete.ts
|
|
97565
97319
|
function terminalApplicationsDelete(client, request, options) {
|
|
97566
|
-
return new APIPromise($
|
|
97320
|
+
return new APIPromise($do146(client, request, options));
|
|
97567
97321
|
}
|
|
97568
|
-
async function $
|
|
97322
|
+
async function $do146(client, request, options) {
|
|
97569
97323
|
const parsed = safeParse4(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97570
97324
|
if (!parsed.ok) {
|
|
97571
97325
|
return [parsed, { status: "invalid" }];
|
|
@@ -97649,12 +97403,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
97649
97403
|
});
|
|
97650
97404
|
|
|
97651
97405
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
97652
|
-
var
|
|
97406
|
+
var args146, tool$terminalApplicationsDelete;
|
|
97653
97407
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
97654
97408
|
init_terminalApplicationsDelete();
|
|
97655
97409
|
init_operations();
|
|
97656
97410
|
init_tools();
|
|
97657
|
-
|
|
97411
|
+
args146 = {
|
|
97658
97412
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
97659
97413
|
};
|
|
97660
97414
|
tool$terminalApplicationsDelete = {
|
|
@@ -97663,9 +97417,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
97663
97417
|
|
|
97664
97418
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97665
97419
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
97666
|
-
args:
|
|
97667
|
-
tool: async (client,
|
|
97668
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
97420
|
+
args: args146,
|
|
97421
|
+
tool: async (client, args147, ctx) => {
|
|
97422
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97669
97423
|
if (!result.ok) {
|
|
97670
97424
|
return {
|
|
97671
97425
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97679,9 +97433,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
97679
97433
|
|
|
97680
97434
|
// src/funcs/terminalApplicationsGet.ts
|
|
97681
97435
|
function terminalApplicationsGet(client, request, options) {
|
|
97682
|
-
return new APIPromise($
|
|
97436
|
+
return new APIPromise($do147(client, request, options));
|
|
97683
97437
|
}
|
|
97684
|
-
async function $
|
|
97438
|
+
async function $do147(client, request, options) {
|
|
97685
97439
|
const parsed = safeParse4(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97686
97440
|
if (!parsed.ok) {
|
|
97687
97441
|
return [parsed, { status: "invalid" }];
|
|
@@ -97756,12 +97510,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
97756
97510
|
});
|
|
97757
97511
|
|
|
97758
97512
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
97759
|
-
var
|
|
97513
|
+
var args147, tool$terminalApplicationsGet;
|
|
97760
97514
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
97761
97515
|
init_terminalApplicationsGet();
|
|
97762
97516
|
init_operations();
|
|
97763
97517
|
init_tools();
|
|
97764
|
-
|
|
97518
|
+
args147 = {
|
|
97765
97519
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
97766
97520
|
};
|
|
97767
97521
|
tool$terminalApplicationsGet = {
|
|
@@ -97770,9 +97524,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
97770
97524
|
|
|
97771
97525
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97772
97526
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
97773
|
-
args:
|
|
97774
|
-
tool: async (client,
|
|
97775
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
97527
|
+
args: args147,
|
|
97528
|
+
tool: async (client, args148, ctx) => {
|
|
97529
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97776
97530
|
if (!result.ok) {
|
|
97777
97531
|
return {
|
|
97778
97532
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97787,9 +97541,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
97787
97541
|
|
|
97788
97542
|
// src/funcs/terminalApplicationsList.ts
|
|
97789
97543
|
function terminalApplicationsList(client, _request, options) {
|
|
97790
|
-
return new APIPromise($
|
|
97544
|
+
return new APIPromise($do148(client, _request, options));
|
|
97791
97545
|
}
|
|
97792
|
-
async function $
|
|
97546
|
+
async function $do148(client, _request, options) {
|
|
97793
97547
|
const path = pathToFunc("/terminal-applications")();
|
|
97794
97548
|
const headers = new Headers(compactMap({
|
|
97795
97549
|
Accept: "application/json",
|
|
@@ -97853,12 +97607,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
97853
97607
|
});
|
|
97854
97608
|
|
|
97855
97609
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
97856
|
-
var
|
|
97610
|
+
var args148, tool$terminalApplicationsList;
|
|
97857
97611
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
97858
97612
|
init_terminalApplicationsList();
|
|
97859
97613
|
init_operations();
|
|
97860
97614
|
init_tools();
|
|
97861
|
-
|
|
97615
|
+
args148 = {
|
|
97862
97616
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
97863
97617
|
};
|
|
97864
97618
|
tool$terminalApplicationsList = {
|
|
@@ -97867,9 +97621,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
97867
97621
|
|
|
97868
97622
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97869
97623
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
97870
|
-
args:
|
|
97871
|
-
tool: async (client,
|
|
97872
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
97624
|
+
args: args148,
|
|
97625
|
+
tool: async (client, args149, ctx) => {
|
|
97626
|
+
const [result, apiCall] = await terminalApplicationsList(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97873
97627
|
if (!result.ok) {
|
|
97874
97628
|
return {
|
|
97875
97629
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97884,9 +97638,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
97884
97638
|
|
|
97885
97639
|
// src/funcs/transfersCreate.ts
|
|
97886
97640
|
function transfersCreate(client, request, options) {
|
|
97887
|
-
return new APIPromise($
|
|
97641
|
+
return new APIPromise($do149(client, request, options));
|
|
97888
97642
|
}
|
|
97889
|
-
async function $
|
|
97643
|
+
async function $do149(client, request, options) {
|
|
97890
97644
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97891
97645
|
if (!parsed.ok) {
|
|
97892
97646
|
return [parsed, { status: "invalid" }];
|
|
@@ -97979,12 +97733,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
97979
97733
|
});
|
|
97980
97734
|
|
|
97981
97735
|
// src/mcp-server/tools/transfersCreate.ts
|
|
97982
|
-
var
|
|
97736
|
+
var args149, tool$transfersCreate;
|
|
97983
97737
|
var init_transfersCreate2 = __esm(() => {
|
|
97984
97738
|
init_transfersCreate();
|
|
97985
97739
|
init_operations();
|
|
97986
97740
|
init_tools();
|
|
97987
|
-
|
|
97741
|
+
args149 = {
|
|
97988
97742
|
request: CreateTransferRequest$inboundSchema
|
|
97989
97743
|
};
|
|
97990
97744
|
tool$transfersCreate = {
|
|
@@ -97995,9 +97749,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
97995
97749
|
|
|
97996
97750
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97997
97751
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
97998
|
-
args:
|
|
97999
|
-
tool: async (client,
|
|
98000
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
97752
|
+
args: args149,
|
|
97753
|
+
tool: async (client, args150, ctx) => {
|
|
97754
|
+
const [result, apiCall] = await transfersCreate(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98001
97755
|
if (!result.ok) {
|
|
98002
97756
|
return {
|
|
98003
97757
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98012,9 +97766,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98012
97766
|
|
|
98013
97767
|
// src/funcs/transfersCreateCancellation.ts
|
|
98014
97768
|
function transfersCreateCancellation(client, request, options) {
|
|
98015
|
-
return new APIPromise($
|
|
97769
|
+
return new APIPromise($do150(client, request, options));
|
|
98016
97770
|
}
|
|
98017
|
-
async function $
|
|
97771
|
+
async function $do150(client, request, options) {
|
|
98018
97772
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98019
97773
|
if (!parsed.ok) {
|
|
98020
97774
|
return [parsed, { status: "invalid" }];
|
|
@@ -98097,12 +97851,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
98097
97851
|
});
|
|
98098
97852
|
|
|
98099
97853
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
98100
|
-
var
|
|
97854
|
+
var args150, tool$transfersCreateCancellation;
|
|
98101
97855
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
98102
97856
|
init_transfersCreateCancellation();
|
|
98103
97857
|
init_operations();
|
|
98104
97858
|
init_tools();
|
|
98105
|
-
|
|
97859
|
+
args150 = {
|
|
98106
97860
|
request: CreateCancellationRequest$inboundSchema
|
|
98107
97861
|
};
|
|
98108
97862
|
tool$transfersCreateCancellation = {
|
|
@@ -98111,9 +97865,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
98111
97865
|
|
|
98112
97866
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98113
97867
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98114
|
-
args:
|
|
98115
|
-
tool: async (client,
|
|
98116
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
97868
|
+
args: args150,
|
|
97869
|
+
tool: async (client, args151, ctx) => {
|
|
97870
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98117
97871
|
if (!result.ok) {
|
|
98118
97872
|
return {
|
|
98119
97873
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98128,9 +97882,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
98128
97882
|
|
|
98129
97883
|
// src/funcs/transfersCreateReversal.ts
|
|
98130
97884
|
function transfersCreateReversal(client, request, options) {
|
|
98131
|
-
return new APIPromise($
|
|
97885
|
+
return new APIPromise($do151(client, request, options));
|
|
98132
97886
|
}
|
|
98133
|
-
async function $
|
|
97887
|
+
async function $do151(client, request, options) {
|
|
98134
97888
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98135
97889
|
if (!parsed.ok) {
|
|
98136
97890
|
return [parsed, { status: "invalid" }];
|
|
@@ -98229,12 +97983,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
98229
97983
|
});
|
|
98230
97984
|
|
|
98231
97985
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
98232
|
-
var
|
|
97986
|
+
var args151, tool$transfersCreateReversal;
|
|
98233
97987
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
98234
97988
|
init_transfersCreateReversal();
|
|
98235
97989
|
init_operations();
|
|
98236
97990
|
init_tools();
|
|
98237
|
-
|
|
97991
|
+
args151 = {
|
|
98238
97992
|
request: CreateReversalRequest$inboundSchema
|
|
98239
97993
|
};
|
|
98240
97994
|
tool$transfersCreateReversal = {
|
|
@@ -98245,9 +97999,9 @@ to learn more.
|
|
|
98245
97999
|
|
|
98246
98000
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98247
98001
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98248
|
-
args:
|
|
98249
|
-
tool: async (client,
|
|
98250
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
98002
|
+
args: args151,
|
|
98003
|
+
tool: async (client, args152, ctx) => {
|
|
98004
|
+
const [result, apiCall] = await transfersCreateReversal(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98251
98005
|
if (!result.ok) {
|
|
98252
98006
|
return {
|
|
98253
98007
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98262,9 +98016,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98262
98016
|
|
|
98263
98017
|
// src/funcs/transfersGenerateOptions.ts
|
|
98264
98018
|
function transfersGenerateOptions(client, request, options) {
|
|
98265
|
-
return new APIPromise($
|
|
98019
|
+
return new APIPromise($do152(client, request, options));
|
|
98266
98020
|
}
|
|
98267
|
-
async function $
|
|
98021
|
+
async function $do152(client, request, options) {
|
|
98268
98022
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98269
98023
|
if (!parsed.ok) {
|
|
98270
98024
|
return [parsed, { status: "invalid" }];
|
|
@@ -98348,12 +98102,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
98348
98102
|
});
|
|
98349
98103
|
|
|
98350
98104
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
98351
|
-
var
|
|
98105
|
+
var args152, tool$transfersGenerateOptions;
|
|
98352
98106
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
98353
98107
|
init_transfersGenerateOptions();
|
|
98354
98108
|
init_operations();
|
|
98355
98109
|
init_tools();
|
|
98356
|
-
|
|
98110
|
+
args152 = {
|
|
98357
98111
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
98358
98112
|
};
|
|
98359
98113
|
tool$transfersGenerateOptions = {
|
|
@@ -98367,9 +98121,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
98367
98121
|
|
|
98368
98122
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98369
98123
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98370
|
-
args:
|
|
98371
|
-
tool: async (client,
|
|
98372
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
98124
|
+
args: args152,
|
|
98125
|
+
tool: async (client, args153, ctx) => {
|
|
98126
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98373
98127
|
if (!result.ok) {
|
|
98374
98128
|
return {
|
|
98375
98129
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98384,9 +98138,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98384
98138
|
|
|
98385
98139
|
// src/funcs/transfersGet.ts
|
|
98386
98140
|
function transfersGet(client, request, options) {
|
|
98387
|
-
return new APIPromise($
|
|
98141
|
+
return new APIPromise($do153(client, request, options));
|
|
98388
98142
|
}
|
|
98389
|
-
async function $
|
|
98143
|
+
async function $do153(client, request, options) {
|
|
98390
98144
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98391
98145
|
if (!parsed.ok) {
|
|
98392
98146
|
return [parsed, { status: "invalid" }];
|
|
@@ -98468,12 +98222,12 @@ var init_transfersGet = __esm(() => {
|
|
|
98468
98222
|
});
|
|
98469
98223
|
|
|
98470
98224
|
// src/mcp-server/tools/transfersGet.ts
|
|
98471
|
-
var
|
|
98225
|
+
var args153, tool$transfersGet;
|
|
98472
98226
|
var init_transfersGet2 = __esm(() => {
|
|
98473
98227
|
init_transfersGet();
|
|
98474
98228
|
init_operations();
|
|
98475
98229
|
init_tools();
|
|
98476
|
-
|
|
98230
|
+
args153 = {
|
|
98477
98231
|
request: GetTransferRequest$inboundSchema
|
|
98478
98232
|
};
|
|
98479
98233
|
tool$transfersGet = {
|
|
@@ -98485,9 +98239,9 @@ to learn more.
|
|
|
98485
98239
|
|
|
98486
98240
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98487
98241
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98488
|
-
args:
|
|
98489
|
-
tool: async (client,
|
|
98490
|
-
const [result, apiCall] = await transfersGet(client,
|
|
98242
|
+
args: args153,
|
|
98243
|
+
tool: async (client, args154, ctx) => {
|
|
98244
|
+
const [result, apiCall] = await transfersGet(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98491
98245
|
if (!result.ok) {
|
|
98492
98246
|
return {
|
|
98493
98247
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98502,9 +98256,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98502
98256
|
|
|
98503
98257
|
// src/funcs/transfersGetCancellation.ts
|
|
98504
98258
|
function transfersGetCancellation(client, request, options) {
|
|
98505
|
-
return new APIPromise($
|
|
98259
|
+
return new APIPromise($do154(client, request, options));
|
|
98506
98260
|
}
|
|
98507
|
-
async function $
|
|
98261
|
+
async function $do154(client, request, options) {
|
|
98508
98262
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98509
98263
|
if (!parsed.ok) {
|
|
98510
98264
|
return [parsed, { status: "invalid" }];
|
|
@@ -98590,12 +98344,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
98590
98344
|
});
|
|
98591
98345
|
|
|
98592
98346
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
98593
|
-
var
|
|
98347
|
+
var args154, tool$transfersGetCancellation;
|
|
98594
98348
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
98595
98349
|
init_transfersGetCancellation();
|
|
98596
98350
|
init_operations();
|
|
98597
98351
|
init_tools();
|
|
98598
|
-
|
|
98352
|
+
args154 = {
|
|
98599
98353
|
request: GetCancellationRequest$inboundSchema
|
|
98600
98354
|
};
|
|
98601
98355
|
tool$transfersGetCancellation = {
|
|
@@ -98604,9 +98358,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
98604
98358
|
|
|
98605
98359
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98606
98360
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98607
|
-
args:
|
|
98608
|
-
tool: async (client,
|
|
98609
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
98361
|
+
args: args154,
|
|
98362
|
+
tool: async (client, args155, ctx) => {
|
|
98363
|
+
const [result, apiCall] = await transfersGetCancellation(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98610
98364
|
if (!result.ok) {
|
|
98611
98365
|
return {
|
|
98612
98366
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98621,9 +98375,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
98621
98375
|
|
|
98622
98376
|
// src/funcs/transfersGetRefund.ts
|
|
98623
98377
|
function transfersGetRefund(client, request, options) {
|
|
98624
|
-
return new APIPromise($
|
|
98378
|
+
return new APIPromise($do155(client, request, options));
|
|
98625
98379
|
}
|
|
98626
|
-
async function $
|
|
98380
|
+
async function $do155(client, request, options) {
|
|
98627
98381
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98628
98382
|
if (!parsed.ok) {
|
|
98629
98383
|
return [parsed, { status: "invalid" }];
|
|
@@ -98709,12 +98463,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
98709
98463
|
});
|
|
98710
98464
|
|
|
98711
98465
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
98712
|
-
var
|
|
98466
|
+
var args155, tool$transfersGetRefund;
|
|
98713
98467
|
var init_transfersGetRefund2 = __esm(() => {
|
|
98714
98468
|
init_transfersGetRefund();
|
|
98715
98469
|
init_operations();
|
|
98716
98470
|
init_tools();
|
|
98717
|
-
|
|
98471
|
+
args155 = {
|
|
98718
98472
|
request: GetRefundRequest$inboundSchema
|
|
98719
98473
|
};
|
|
98720
98474
|
tool$transfersGetRefund = {
|
|
@@ -98723,9 +98477,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
98723
98477
|
|
|
98724
98478
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98725
98479
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98726
|
-
args:
|
|
98727
|
-
tool: async (client,
|
|
98728
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
98480
|
+
args: args155,
|
|
98481
|
+
tool: async (client, args156, ctx) => {
|
|
98482
|
+
const [result, apiCall] = await transfersGetRefund(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98729
98483
|
if (!result.ok) {
|
|
98730
98484
|
return {
|
|
98731
98485
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98740,9 +98494,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98740
98494
|
|
|
98741
98495
|
// src/funcs/transfersInitiateRefund.ts
|
|
98742
98496
|
function transfersInitiateRefund(client, request, options) {
|
|
98743
|
-
return new APIPromise($
|
|
98497
|
+
return new APIPromise($do156(client, request, options));
|
|
98744
98498
|
}
|
|
98745
|
-
async function $
|
|
98499
|
+
async function $do156(client, request, options) {
|
|
98746
98500
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98747
98501
|
if (!parsed.ok) {
|
|
98748
98502
|
return [parsed, { status: "invalid" }];
|
|
@@ -98834,12 +98588,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
98834
98588
|
});
|
|
98835
98589
|
|
|
98836
98590
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
98837
|
-
var
|
|
98591
|
+
var args156, tool$transfersInitiateRefund;
|
|
98838
98592
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
98839
98593
|
init_transfersInitiateRefund();
|
|
98840
98594
|
init_operations();
|
|
98841
98595
|
init_tools();
|
|
98842
|
-
|
|
98596
|
+
args156 = {
|
|
98843
98597
|
request: InitiateRefundRequest$inboundSchema
|
|
98844
98598
|
};
|
|
98845
98599
|
tool$transfersInitiateRefund = {
|
|
@@ -98851,9 +98605,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
98851
98605
|
|
|
98852
98606
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98853
98607
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98854
|
-
args:
|
|
98855
|
-
tool: async (client,
|
|
98856
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
98608
|
+
args: args156,
|
|
98609
|
+
tool: async (client, args157, ctx) => {
|
|
98610
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98857
98611
|
if (!result.ok) {
|
|
98858
98612
|
return {
|
|
98859
98613
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98868,9 +98622,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98868
98622
|
|
|
98869
98623
|
// src/funcs/transfersList.ts
|
|
98870
98624
|
function transfersList(client, request, options) {
|
|
98871
|
-
return new APIPromise($
|
|
98625
|
+
return new APIPromise($do157(client, request, options));
|
|
98872
98626
|
}
|
|
98873
|
-
async function $
|
|
98627
|
+
async function $do157(client, request, options) {
|
|
98874
98628
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98875
98629
|
if (!parsed.ok) {
|
|
98876
98630
|
return [parsed, { status: "invalid" }];
|
|
@@ -98966,12 +98720,12 @@ var init_transfersList = __esm(() => {
|
|
|
98966
98720
|
});
|
|
98967
98721
|
|
|
98968
98722
|
// src/mcp-server/tools/transfersList.ts
|
|
98969
|
-
var
|
|
98723
|
+
var args157, tool$transfersList;
|
|
98970
98724
|
var init_transfersList2 = __esm(() => {
|
|
98971
98725
|
init_transfersList();
|
|
98972
98726
|
init_operations();
|
|
98973
98727
|
init_tools();
|
|
98974
|
-
|
|
98728
|
+
args157 = {
|
|
98975
98729
|
request: ListTransfersRequest$inboundSchema
|
|
98976
98730
|
};
|
|
98977
98731
|
tool$transfersList = {
|
|
@@ -98987,9 +98741,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
98987
98741
|
|
|
98988
98742
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98989
98743
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98990
|
-
args:
|
|
98991
|
-
tool: async (client,
|
|
98992
|
-
const [result, apiCall] = await transfersList(client,
|
|
98744
|
+
args: args157,
|
|
98745
|
+
tool: async (client, args158, ctx) => {
|
|
98746
|
+
const [result, apiCall] = await transfersList(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98993
98747
|
if (!result.ok) {
|
|
98994
98748
|
return {
|
|
98995
98749
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99004,9 +98758,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99004
98758
|
|
|
99005
98759
|
// src/funcs/transfersListRefunds.ts
|
|
99006
98760
|
function transfersListRefunds(client, request, options) {
|
|
99007
|
-
return new APIPromise($
|
|
98761
|
+
return new APIPromise($do158(client, request, options));
|
|
99008
98762
|
}
|
|
99009
|
-
async function $
|
|
98763
|
+
async function $do158(client, request, options) {
|
|
99010
98764
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99011
98765
|
if (!parsed.ok) {
|
|
99012
98766
|
return [parsed, { status: "invalid" }];
|
|
@@ -99088,12 +98842,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
99088
98842
|
});
|
|
99089
98843
|
|
|
99090
98844
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
99091
|
-
var
|
|
98845
|
+
var args158, tool$transfersListRefunds;
|
|
99092
98846
|
var init_transfersListRefunds2 = __esm(() => {
|
|
99093
98847
|
init_transfersListRefunds();
|
|
99094
98848
|
init_operations();
|
|
99095
98849
|
init_tools();
|
|
99096
|
-
|
|
98850
|
+
args158 = {
|
|
99097
98851
|
request: ListRefundsRequest$inboundSchema
|
|
99098
98852
|
};
|
|
99099
98853
|
tool$transfersListRefunds = {
|
|
@@ -99102,9 +98856,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
99102
98856
|
|
|
99103
98857
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99104
98858
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
99105
|
-
args:
|
|
99106
|
-
tool: async (client,
|
|
99107
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
98859
|
+
args: args158,
|
|
98860
|
+
tool: async (client, args159, ctx) => {
|
|
98861
|
+
const [result, apiCall] = await transfersListRefunds(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99108
98862
|
if (!result.ok) {
|
|
99109
98863
|
return {
|
|
99110
98864
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99119,9 +98873,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99119
98873
|
|
|
99120
98874
|
// src/funcs/transfersUpdate.ts
|
|
99121
98875
|
function transfersUpdate(client, request, options) {
|
|
99122
|
-
return new APIPromise($
|
|
98876
|
+
return new APIPromise($do159(client, request, options));
|
|
99123
98877
|
}
|
|
99124
|
-
async function $
|
|
98878
|
+
async function $do159(client, request, options) {
|
|
99125
98879
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99126
98880
|
if (!parsed.ok) {
|
|
99127
98881
|
return [parsed, { status: "invalid" }];
|
|
@@ -99207,12 +98961,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
99207
98961
|
});
|
|
99208
98962
|
|
|
99209
98963
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
99210
|
-
var
|
|
98964
|
+
var args159, tool$transfersUpdate;
|
|
99211
98965
|
var init_transfersUpdate2 = __esm(() => {
|
|
99212
98966
|
init_transfersUpdate();
|
|
99213
98967
|
init_operations();
|
|
99214
98968
|
init_tools();
|
|
99215
|
-
|
|
98969
|
+
args159 = {
|
|
99216
98970
|
request: UpdateTransferRequest$inboundSchema
|
|
99217
98971
|
};
|
|
99218
98972
|
tool$transfersUpdate = {
|
|
@@ -99223,9 +98977,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
99223
98977
|
|
|
99224
98978
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99225
98979
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
99226
|
-
args:
|
|
99227
|
-
tool: async (client,
|
|
99228
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
98980
|
+
args: args159,
|
|
98981
|
+
tool: async (client, args160, ctx) => {
|
|
98982
|
+
const [result, apiCall] = await transfersUpdate(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99229
98983
|
if (!result.ok) {
|
|
99230
98984
|
return {
|
|
99231
98985
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99240,9 +98994,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
99240
98994
|
|
|
99241
98995
|
// src/funcs/underwritingGet.ts
|
|
99242
98996
|
function underwritingGet(client, request, options) {
|
|
99243
|
-
return new APIPromise($
|
|
98997
|
+
return new APIPromise($do160(client, request, options));
|
|
99244
98998
|
}
|
|
99245
|
-
async function $
|
|
98999
|
+
async function $do160(client, request, options) {
|
|
99246
99000
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99247
99001
|
if (!parsed.ok) {
|
|
99248
99002
|
return [parsed, { status: "invalid" }];
|
|
@@ -99320,12 +99074,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
99320
99074
|
});
|
|
99321
99075
|
|
|
99322
99076
|
// src/mcp-server/tools/underwritingGet.ts
|
|
99323
|
-
var
|
|
99077
|
+
var args160, tool$underwritingGet;
|
|
99324
99078
|
var init_underwritingGet2 = __esm(() => {
|
|
99325
99079
|
init_underwritingGet();
|
|
99326
99080
|
init_operations();
|
|
99327
99081
|
init_tools();
|
|
99328
|
-
|
|
99082
|
+
args160 = {
|
|
99329
99083
|
request: GetUnderwritingRequest$inboundSchema
|
|
99330
99084
|
};
|
|
99331
99085
|
tool$underwritingGet = {
|
|
@@ -99336,9 +99090,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99336
99090
|
|
|
99337
99091
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99338
99092
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
99339
|
-
args:
|
|
99340
|
-
tool: async (client,
|
|
99341
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
99093
|
+
args: args160,
|
|
99094
|
+
tool: async (client, args161, ctx) => {
|
|
99095
|
+
const [result, apiCall] = await underwritingGet(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99342
99096
|
if (!result.ok) {
|
|
99343
99097
|
return {
|
|
99344
99098
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99353,9 +99107,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
99353
99107
|
|
|
99354
99108
|
// src/funcs/underwritingSave.ts
|
|
99355
99109
|
function underwritingSave(client, request, options) {
|
|
99356
|
-
return new APIPromise($
|
|
99110
|
+
return new APIPromise($do161(client, request, options));
|
|
99357
99111
|
}
|
|
99358
|
-
async function $
|
|
99112
|
+
async function $do161(client, request, options) {
|
|
99359
99113
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99360
99114
|
if (!parsed.ok) {
|
|
99361
99115
|
return [parsed, { status: "invalid" }];
|
|
@@ -99451,12 +99205,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
99451
99205
|
});
|
|
99452
99206
|
|
|
99453
99207
|
// src/mcp-server/tools/underwritingSave.ts
|
|
99454
|
-
var
|
|
99208
|
+
var args161, tool$underwritingSave;
|
|
99455
99209
|
var init_underwritingSave2 = __esm(() => {
|
|
99456
99210
|
init_underwritingSave();
|
|
99457
99211
|
init_operations();
|
|
99458
99212
|
init_tools();
|
|
99459
|
-
|
|
99213
|
+
args161 = {
|
|
99460
99214
|
request: SaveUnderwritingRequest$inboundSchema
|
|
99461
99215
|
};
|
|
99462
99216
|
tool$underwritingSave = {
|
|
@@ -99467,9 +99221,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99467
99221
|
|
|
99468
99222
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99469
99223
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
99470
|
-
args:
|
|
99471
|
-
tool: async (client,
|
|
99472
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
99224
|
+
args: args161,
|
|
99225
|
+
tool: async (client, args162, ctx) => {
|
|
99226
|
+
const [result, apiCall] = await underwritingSave(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99473
99227
|
if (!result.ok) {
|
|
99474
99228
|
return {
|
|
99475
99229
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99484,9 +99238,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
99484
99238
|
|
|
99485
99239
|
// src/funcs/underwritingUpsert.ts
|
|
99486
99240
|
function underwritingUpsert(client, request, options) {
|
|
99487
|
-
return new APIPromise($
|
|
99241
|
+
return new APIPromise($do162(client, request, options));
|
|
99488
99242
|
}
|
|
99489
|
-
async function $
|
|
99243
|
+
async function $do162(client, request, options) {
|
|
99490
99244
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99491
99245
|
if (!parsed.ok) {
|
|
99492
99246
|
return [parsed, { status: "invalid" }];
|
|
@@ -99582,12 +99336,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
99582
99336
|
});
|
|
99583
99337
|
|
|
99584
99338
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
99585
|
-
var
|
|
99339
|
+
var args162, tool$underwritingUpsert;
|
|
99586
99340
|
var init_underwritingUpsert2 = __esm(() => {
|
|
99587
99341
|
init_underwritingUpsert();
|
|
99588
99342
|
init_operations();
|
|
99589
99343
|
init_tools();
|
|
99590
|
-
|
|
99344
|
+
args162 = {
|
|
99591
99345
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
99592
99346
|
};
|
|
99593
99347
|
tool$underwritingUpsert = {
|
|
@@ -99598,9 +99352,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99598
99352
|
|
|
99599
99353
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99600
99354
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
99601
|
-
args:
|
|
99602
|
-
tool: async (client,
|
|
99603
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
99355
|
+
args: args162,
|
|
99356
|
+
tool: async (client, args163, ctx) => {
|
|
99357
|
+
const [result, apiCall] = await underwritingUpsert(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99604
99358
|
if (!result.ok) {
|
|
99605
99359
|
return {
|
|
99606
99360
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99615,9 +99369,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
99615
99369
|
|
|
99616
99370
|
// src/funcs/walletsCreate.ts
|
|
99617
99371
|
function walletsCreate(client, request, options) {
|
|
99618
|
-
return new APIPromise($
|
|
99372
|
+
return new APIPromise($do163(client, request, options));
|
|
99619
99373
|
}
|
|
99620
|
-
async function $
|
|
99374
|
+
async function $do163(client, request, options) {
|
|
99621
99375
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99622
99376
|
if (!parsed.ok) {
|
|
99623
99377
|
return [parsed, { status: "invalid" }];
|
|
@@ -99711,12 +99465,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
99711
99465
|
});
|
|
99712
99466
|
|
|
99713
99467
|
// src/mcp-server/tools/walletsCreate.ts
|
|
99714
|
-
var
|
|
99468
|
+
var args163, tool$walletsCreate;
|
|
99715
99469
|
var init_walletsCreate2 = __esm(() => {
|
|
99716
99470
|
init_walletsCreate();
|
|
99717
99471
|
init_operations();
|
|
99718
99472
|
init_tools();
|
|
99719
|
-
|
|
99473
|
+
args163 = {
|
|
99720
99474
|
request: CreateWalletRequest$inboundSchema
|
|
99721
99475
|
};
|
|
99722
99476
|
tool$walletsCreate = {
|
|
@@ -99727,9 +99481,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99727
99481
|
|
|
99728
99482
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99729
99483
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
99730
|
-
args:
|
|
99731
|
-
tool: async (client,
|
|
99732
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
99484
|
+
args: args163,
|
|
99485
|
+
tool: async (client, args164, ctx) => {
|
|
99486
|
+
const [result, apiCall] = await walletsCreate(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99733
99487
|
if (!result.ok) {
|
|
99734
99488
|
return {
|
|
99735
99489
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99744,9 +99498,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
99744
99498
|
|
|
99745
99499
|
// src/funcs/walletsGet.ts
|
|
99746
99500
|
function walletsGet(client, request, options) {
|
|
99747
|
-
return new APIPromise($
|
|
99501
|
+
return new APIPromise($do164(client, request, options));
|
|
99748
99502
|
}
|
|
99749
|
-
async function $
|
|
99503
|
+
async function $do164(client, request, options) {
|
|
99750
99504
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99751
99505
|
if (!parsed.ok) {
|
|
99752
99506
|
return [parsed, { status: "invalid" }];
|
|
@@ -99828,12 +99582,12 @@ var init_walletsGet = __esm(() => {
|
|
|
99828
99582
|
});
|
|
99829
99583
|
|
|
99830
99584
|
// src/mcp-server/tools/walletsGet.ts
|
|
99831
|
-
var
|
|
99585
|
+
var args164, tool$walletsGet;
|
|
99832
99586
|
var init_walletsGet2 = __esm(() => {
|
|
99833
99587
|
init_walletsGet();
|
|
99834
99588
|
init_operations();
|
|
99835
99589
|
init_tools();
|
|
99836
|
-
|
|
99590
|
+
args164 = {
|
|
99837
99591
|
request: GetWalletRequest$inboundSchema
|
|
99838
99592
|
};
|
|
99839
99593
|
tool$walletsGet = {
|
|
@@ -99844,9 +99598,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99844
99598
|
|
|
99845
99599
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99846
99600
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
99847
|
-
args:
|
|
99848
|
-
tool: async (client,
|
|
99849
|
-
const [result, apiCall] = await walletsGet(client,
|
|
99601
|
+
args: args164,
|
|
99602
|
+
tool: async (client, args165, ctx) => {
|
|
99603
|
+
const [result, apiCall] = await walletsGet(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99850
99604
|
if (!result.ok) {
|
|
99851
99605
|
return {
|
|
99852
99606
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99861,9 +99615,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
99861
99615
|
|
|
99862
99616
|
// src/funcs/walletsList.ts
|
|
99863
99617
|
function walletsList(client, request, options) {
|
|
99864
|
-
return new APIPromise($
|
|
99618
|
+
return new APIPromise($do165(client, request, options));
|
|
99865
99619
|
}
|
|
99866
|
-
async function $
|
|
99620
|
+
async function $do165(client, request, options) {
|
|
99867
99621
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99868
99622
|
if (!parsed.ok) {
|
|
99869
99623
|
return [parsed, { status: "invalid" }];
|
|
@@ -99951,12 +99705,12 @@ var init_walletsList = __esm(() => {
|
|
|
99951
99705
|
});
|
|
99952
99706
|
|
|
99953
99707
|
// src/mcp-server/tools/walletsList.ts
|
|
99954
|
-
var
|
|
99708
|
+
var args165, tool$walletsList;
|
|
99955
99709
|
var init_walletsList2 = __esm(() => {
|
|
99956
99710
|
init_walletsList();
|
|
99957
99711
|
init_operations();
|
|
99958
99712
|
init_tools();
|
|
99959
|
-
|
|
99713
|
+
args165 = {
|
|
99960
99714
|
request: ListWalletsRequest$inboundSchema
|
|
99961
99715
|
};
|
|
99962
99716
|
tool$walletsList = {
|
|
@@ -99967,9 +99721,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99967
99721
|
|
|
99968
99722
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99969
99723
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
99970
|
-
args:
|
|
99971
|
-
tool: async (client,
|
|
99972
|
-
const [result, apiCall] = await walletsList(client,
|
|
99724
|
+
args: args165,
|
|
99725
|
+
tool: async (client, args166, ctx) => {
|
|
99726
|
+
const [result, apiCall] = await walletsList(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99973
99727
|
if (!result.ok) {
|
|
99974
99728
|
return {
|
|
99975
99729
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99984,9 +99738,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
99984
99738
|
|
|
99985
99739
|
// src/funcs/walletsUpdate.ts
|
|
99986
99740
|
function walletsUpdate(client, request, options) {
|
|
99987
|
-
return new APIPromise($
|
|
99741
|
+
return new APIPromise($do166(client, request, options));
|
|
99988
99742
|
}
|
|
99989
|
-
async function $
|
|
99743
|
+
async function $do166(client, request, options) {
|
|
99990
99744
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99991
99745
|
if (!parsed.ok) {
|
|
99992
99746
|
return [parsed, { status: "invalid" }];
|
|
@@ -100084,12 +99838,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
100084
99838
|
});
|
|
100085
99839
|
|
|
100086
99840
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
100087
|
-
var
|
|
99841
|
+
var args166, tool$walletsUpdate;
|
|
100088
99842
|
var init_walletsUpdate2 = __esm(() => {
|
|
100089
99843
|
init_walletsUpdate();
|
|
100090
99844
|
init_operations();
|
|
100091
99845
|
init_tools();
|
|
100092
|
-
|
|
99846
|
+
args166 = {
|
|
100093
99847
|
request: UpdateWalletRequest$inboundSchema
|
|
100094
99848
|
};
|
|
100095
99849
|
tool$walletsUpdate = {
|
|
@@ -100100,9 +99854,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
100100
99854
|
|
|
100101
99855
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100102
99856
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
100103
|
-
args:
|
|
100104
|
-
tool: async (client,
|
|
100105
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
99857
|
+
args: args166,
|
|
99858
|
+
tool: async (client, args167, ctx) => {
|
|
99859
|
+
const [result, apiCall] = await walletsUpdate(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100106
99860
|
if (!result.ok) {
|
|
100107
99861
|
return {
|
|
100108
99862
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100117,9 +99871,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100117
99871
|
|
|
100118
99872
|
// src/funcs/walletTransactionsGet.ts
|
|
100119
99873
|
function walletTransactionsGet(client, request, options) {
|
|
100120
|
-
return new APIPromise($
|
|
99874
|
+
return new APIPromise($do167(client, request, options));
|
|
100121
99875
|
}
|
|
100122
|
-
async function $
|
|
99876
|
+
async function $do167(client, request, options) {
|
|
100123
99877
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100124
99878
|
if (!parsed.ok) {
|
|
100125
99879
|
return [parsed, { status: "invalid" }];
|
|
@@ -100205,12 +99959,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
100205
99959
|
});
|
|
100206
99960
|
|
|
100207
99961
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
100208
|
-
var
|
|
99962
|
+
var args167, tool$walletTransactionsGet;
|
|
100209
99963
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
100210
99964
|
init_walletTransactionsGet();
|
|
100211
99965
|
init_operations();
|
|
100212
99966
|
init_tools();
|
|
100213
|
-
|
|
99967
|
+
args167 = {
|
|
100214
99968
|
request: GetWalletTransactionRequest$inboundSchema
|
|
100215
99969
|
};
|
|
100216
99970
|
tool$walletTransactionsGet = {
|
|
@@ -100221,9 +99975,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
100221
99975
|
|
|
100222
99976
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100223
99977
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100224
|
-
args:
|
|
100225
|
-
tool: async (client,
|
|
100226
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
99978
|
+
args: args167,
|
|
99979
|
+
tool: async (client, args168, ctx) => {
|
|
99980
|
+
const [result, apiCall] = await walletTransactionsGet(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100227
99981
|
if (!result.ok) {
|
|
100228
99982
|
return {
|
|
100229
99983
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100238,9 +99992,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100238
99992
|
|
|
100239
99993
|
// src/funcs/walletTransactionsList.ts
|
|
100240
99994
|
function walletTransactionsList(client, request, options) {
|
|
100241
|
-
return new APIPromise($
|
|
99995
|
+
return new APIPromise($do168(client, request, options));
|
|
100242
99996
|
}
|
|
100243
|
-
async function $
|
|
99997
|
+
async function $do168(client, request, options) {
|
|
100244
99998
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100245
99999
|
if (!parsed.ok) {
|
|
100246
100000
|
return [parsed, { status: "invalid" }];
|
|
@@ -100340,12 +100094,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
100340
100094
|
});
|
|
100341
100095
|
|
|
100342
100096
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
100343
|
-
var
|
|
100097
|
+
var args168, tool$walletTransactionsList;
|
|
100344
100098
|
var init_walletTransactionsList2 = __esm(() => {
|
|
100345
100099
|
init_walletTransactionsList();
|
|
100346
100100
|
init_operations();
|
|
100347
100101
|
init_tools();
|
|
100348
|
-
|
|
100102
|
+
args168 = {
|
|
100349
100103
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
100350
100104
|
};
|
|
100351
100105
|
tool$walletTransactionsList = {
|
|
@@ -100356,9 +100110,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
100356
100110
|
|
|
100357
100111
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100358
100112
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100359
|
-
args:
|
|
100360
|
-
tool: async (client,
|
|
100361
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
100113
|
+
args: args168,
|
|
100114
|
+
tool: async (client, args169, ctx) => {
|
|
100115
|
+
const [result, apiCall] = await walletTransactionsList(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100362
100116
|
if (!result.ok) {
|
|
100363
100117
|
return {
|
|
100364
100118
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100375,7 +100129,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100375
100129
|
function createMCPServer(deps) {
|
|
100376
100130
|
const server = new McpServer({
|
|
100377
100131
|
name: "Moov",
|
|
100378
|
-
version: "0.22.
|
|
100132
|
+
version: "0.22.10"
|
|
100379
100133
|
});
|
|
100380
100134
|
const client = new MoovCore({
|
|
100381
100135
|
security: deps.security,
|
|
@@ -100465,7 +100219,6 @@ function createMCPServer(deps) {
|
|
|
100465
100219
|
tool(tool$invoicesListInvoices);
|
|
100466
100220
|
tool(tool$invoicesGetInvoice);
|
|
100467
100221
|
tool(tool$invoicesUpdateInvoice);
|
|
100468
|
-
tool(tool$invoicesMarkPaidInvoice);
|
|
100469
100222
|
tool(tool$paymentLinksCreate);
|
|
100470
100223
|
tool(tool$paymentLinksList);
|
|
100471
100224
|
tool(tool$paymentLinksGet);
|
|
@@ -100659,7 +100412,6 @@ var init_server2 = __esm(() => {
|
|
|
100659
100412
|
init_invoicesCreateInvoice2();
|
|
100660
100413
|
init_invoicesGetInvoice2();
|
|
100661
100414
|
init_invoicesListInvoices2();
|
|
100662
|
-
init_invoicesMarkPaidInvoice2();
|
|
100663
100415
|
init_invoicesUpdateInvoice2();
|
|
100664
100416
|
init_issuingTransactionsGet2();
|
|
100665
100417
|
init_issuingTransactionsGetAuthorization2();
|
|
@@ -101937,7 +101689,7 @@ var routes = rn({
|
|
|
101937
101689
|
var app = Ve(routes, {
|
|
101938
101690
|
name: "mcp",
|
|
101939
101691
|
versionInfo: {
|
|
101940
|
-
currentVersion: "0.22.
|
|
101692
|
+
currentVersion: "0.22.10"
|
|
101941
101693
|
}
|
|
101942
101694
|
});
|
|
101943
101695
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -101945,5 +101697,5 @@ export {
|
|
|
101945
101697
|
app
|
|
101946
101698
|
};
|
|
101947
101699
|
|
|
101948
|
-
//# debugId=
|
|
101700
|
+
//# debugId=B903F6E437A03FBC64756E2164756E21
|
|
101949
101701
|
//# sourceMappingURL=mcp-server.js.map
|