@moovio/sdk 0.0.0-dev.5 → 0.0.0-dev.6
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 +74 -54
- package/bin/mcp-server.js +815 -678
- package/bin/mcp-server.js.map +24 -24
- package/funcs/disputesUploadEvidenceFile.js +6 -0
- package/funcs/disputesUploadEvidenceFile.js.map +1 -1
- package/funcs/filesUpload.js +6 -0
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/imagesUpdate.js +7 -0
- package/funcs/imagesUpdate.js.map +1 -1
- package/funcs/imagesUpload.js +7 -0
- package/funcs/imagesUpload.js.map +1 -1
- package/funcs/invoicesDelete.d.ts +24 -0
- package/funcs/invoicesDelete.d.ts.map +1 -0
- package/funcs/invoicesDelete.js +146 -0
- package/funcs/invoicesDelete.js.map +1 -0
- 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/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +0 -1
- package/lib/matchers.js.map +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +1 -2
- package/lib/security.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/shared.js +1 -1
- package/mcp-server/shared.js.map +1 -1
- package/mcp-server/tools/invoicesDelete.d.ts +8 -0
- package/mcp-server/tools/invoicesDelete.d.ts.map +1 -0
- package/{models/components/rtpfailurecode.js → mcp-server/tools/invoicesDelete.js} +31 -21
- package/mcp-server/tools/invoicesDelete.js.map +1 -0
- package/models/components/createinvoicelineitem.d.ts +2 -1
- package/models/components/createinvoicelineitem.d.ts.map +1 -1
- package/models/components/createinvoicelineitem.js.map +1 -1
- package/models/components/createpaymentlinklineitem.d.ts +2 -1
- package/models/components/createpaymentlinklineitem.d.ts.map +1 -1
- package/models/components/createpaymentlinklineitem.js.map +1 -1
- package/models/components/index.d.ts +0 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -3
- package/models/components/index.js.map +1 -1
- package/models/components/invoice.d.ts +12 -0
- package/models/components/invoice.d.ts.map +1 -1
- package/models/components/invoice.js +6 -0
- package/models/components/invoice.js.map +1 -1
- package/models/components/invoicelineitem.d.ts +2 -1
- package/models/components/invoicelineitem.d.ts.map +1 -1
- package/models/components/invoicelineitem.js.map +1 -1
- package/models/components/transferdestination.d.ts +0 -6
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +0 -3
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/updateinvoice.d.ts +4 -1
- package/models/components/updateinvoice.d.ts.map +1 -1
- package/models/components/updateinvoice.js.map +1 -1
- package/models/operations/deleteinvoice.d.ts +63 -0
- package/models/operations/deleteinvoice.d.ts.map +1 -0
- package/models/operations/deleteinvoice.js +109 -0
- package/models/operations/deleteinvoice.js.map +1 -0
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/invoices.d.ts +13 -0
- package/sdk/invoices.d.ts.map +1 -1
- package/sdk/invoices.js +16 -0
- package/sdk/invoices.js.map +1 -1
- package/src/funcs/disputesUploadEvidenceFile.ts +15 -0
- package/src/funcs/filesUpload.ts +15 -0
- package/src/funcs/imagesUpdate.ts +16 -0
- package/src/funcs/imagesUpload.ts +16 -0
- package/src/funcs/invoicesDelete.ts +206 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +3 -2
- package/src/lib/security.ts +1 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/shared.ts +2 -2
- package/src/mcp-server/tools/invoicesDelete.ts +43 -0
- package/src/models/components/createinvoicelineitem.ts +2 -1
- package/src/models/components/createpaymentlinklineitem.ts +2 -1
- package/src/models/components/index.ts +0 -3
- package/src/models/components/invoice.ts +20 -0
- package/src/models/components/invoicelineitem.ts +2 -1
- package/src/models/components/transferdestination.ts +0 -13
- package/src/models/components/updateinvoice.ts +4 -1
- package/src/models/operations/deleteinvoice.ts +172 -0
- package/src/models/operations/index.ts +1 -0
- package/src/sdk/invoices.ts +24 -0
- package/models/components/rtpfailurecode.d.ts +0 -26
- package/models/components/rtpfailurecode.d.ts.map +0 -1
- package/models/components/rtpfailurecode.js.map +0 -1
- package/models/components/rtptransactiondetails.d.ts +0 -43
- package/models/components/rtptransactiondetails.d.ts.map +0 -1
- package/models/components/rtptransactiondetails.js +0 -75
- package/models/components/rtptransactiondetails.js.map +0 -1
- package/models/components/rtptransactionstatus.d.ts +0 -20
- package/models/components/rtptransactionstatus.d.ts.map +0 -1
- package/models/components/rtptransactionstatus.js +0 -54
- package/models/components/rtptransactionstatus.js.map +0 -1
- package/src/models/components/rtpfailurecode.ts +0 -35
- package/src/models/components/rtptransactiondetails.ts +0 -102
- package/src/models/components/rtptransactionstatus.ts +0 -29
package/bin/mcp-server.js
CHANGED
|
@@ -52879,9 +52879,9 @@ var init_config = __esm(() => {
|
|
|
52879
52879
|
SDK_METADATA = {
|
|
52880
52880
|
language: "typescript",
|
|
52881
52881
|
openapiDocVersion: "dev",
|
|
52882
|
-
sdkVersion: "0.0.0-dev.
|
|
52883
|
-
genVersion: "2.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 0.0.0-dev.
|
|
52882
|
+
sdkVersion: "0.0.0-dev.6",
|
|
52883
|
+
genVersion: "2.856.1",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 0.0.0-dev.6 2.856.1 dev @moovio/sdk"
|
|
52885
52885
|
};
|
|
52886
52886
|
});
|
|
52887
52887
|
|
|
@@ -53866,7 +53866,7 @@ async function consumeStream(stream) {
|
|
|
53866
53866
|
while (true) {
|
|
53867
53867
|
const { done, value } = await reader.read();
|
|
53868
53868
|
if (value != null)
|
|
53869
|
-
chunks.push(value);
|
|
53869
|
+
chunks.push(new Uint8Array(value).buffer);
|
|
53870
53870
|
if (done)
|
|
53871
53871
|
break;
|
|
53872
53872
|
}
|
|
@@ -54413,7 +54413,7 @@ function resolveSecurity(...options) {
|
|
|
54413
54413
|
applyBearer(state, spec);
|
|
54414
54414
|
break;
|
|
54415
54415
|
default:
|
|
54416
|
-
throw SecurityError.unrecognizedType(type);
|
|
54416
|
+
throw SecurityError.unrecognizedType((spec, type));
|
|
54417
54417
|
}
|
|
54418
54418
|
});
|
|
54419
54419
|
return state;
|
|
@@ -61297,66 +61297,6 @@ var init_instantbanktransactiondetails = __esm(() => {
|
|
|
61297
61297
|
});
|
|
61298
61298
|
});
|
|
61299
61299
|
|
|
61300
|
-
// src/models/components/rtpfailurecode.ts
|
|
61301
|
-
var RTPFailureCode, RTPFailureCode$inboundSchema, RTPFailureCode$outboundSchema;
|
|
61302
|
-
var init_rtpfailurecode = __esm(() => {
|
|
61303
|
-
init_esm();
|
|
61304
|
-
RTPFailureCode = {
|
|
61305
|
-
ProcessingError: "processing-error",
|
|
61306
|
-
InvalidAccount: "invalid-account",
|
|
61307
|
-
AccountClosed: "account-closed",
|
|
61308
|
-
AccountBlocked: "account-blocked",
|
|
61309
|
-
InvalidField: "invalid-field",
|
|
61310
|
-
TransactionNotSupported: "transaction-not-supported",
|
|
61311
|
-
LimitExceeded: "limit-exceeded",
|
|
61312
|
-
InvalidAmount: "invalid-amount",
|
|
61313
|
-
CustomerDeceased: "customer-deceased",
|
|
61314
|
-
Other: "other"
|
|
61315
|
-
};
|
|
61316
|
-
RTPFailureCode$inboundSchema = nativeEnumType(RTPFailureCode);
|
|
61317
|
-
RTPFailureCode$outboundSchema = RTPFailureCode$inboundSchema;
|
|
61318
|
-
});
|
|
61319
|
-
|
|
61320
|
-
// src/models/components/rtptransactionstatus.ts
|
|
61321
|
-
var RTPTransactionStatus, RTPTransactionStatus$inboundSchema, RTPTransactionStatus$outboundSchema;
|
|
61322
|
-
var init_rtptransactionstatus = __esm(() => {
|
|
61323
|
-
init_esm();
|
|
61324
|
-
RTPTransactionStatus = {
|
|
61325
|
-
Initiated: "initiated",
|
|
61326
|
-
Completed: "completed",
|
|
61327
|
-
Failed: "failed",
|
|
61328
|
-
AcceptedWithoutPosting: "accepted-without-posting"
|
|
61329
|
-
};
|
|
61330
|
-
RTPTransactionStatus$inboundSchema = nativeEnumType(RTPTransactionStatus);
|
|
61331
|
-
RTPTransactionStatus$outboundSchema = RTPTransactionStatus$inboundSchema;
|
|
61332
|
-
});
|
|
61333
|
-
|
|
61334
|
-
// src/models/components/rtptransactiondetails.ts
|
|
61335
|
-
var RTPTransactionDetails$inboundSchema, RTPTransactionDetails$outboundSchema;
|
|
61336
|
-
var init_rtptransactiondetails = __esm(() => {
|
|
61337
|
-
init_esm();
|
|
61338
|
-
init_rtpfailurecode();
|
|
61339
|
-
init_rtptransactionstatus();
|
|
61340
|
-
RTPTransactionDetails$inboundSchema = objectType({
|
|
61341
|
-
status: RTPTransactionStatus$inboundSchema.optional(),
|
|
61342
|
-
networkResponseCode: stringType().optional(),
|
|
61343
|
-
failureCode: RTPFailureCode$inboundSchema.optional(),
|
|
61344
|
-
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61345
|
-
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61346
|
-
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61347
|
-
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
61348
|
-
});
|
|
61349
|
-
RTPTransactionDetails$outboundSchema = objectType({
|
|
61350
|
-
status: RTPTransactionStatus$outboundSchema.optional(),
|
|
61351
|
-
networkResponseCode: stringType().optional(),
|
|
61352
|
-
failureCode: RTPFailureCode$outboundSchema.optional(),
|
|
61353
|
-
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61354
|
-
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61355
|
-
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61356
|
-
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
61357
|
-
});
|
|
61358
|
-
});
|
|
61359
|
-
|
|
61360
61300
|
// src/models/components/transferaccount.ts
|
|
61361
61301
|
var TransferAccount$inboundSchema, TransferAccount$outboundSchema;
|
|
61362
61302
|
var init_transferaccount = __esm(() => {
|
|
@@ -61432,7 +61372,6 @@ var init_transferdestination = __esm(() => {
|
|
|
61432
61372
|
init_applepayresponse();
|
|
61433
61373
|
init_cardtransactiondetails();
|
|
61434
61374
|
init_instantbanktransactiondetails();
|
|
61435
|
-
init_rtptransactiondetails();
|
|
61436
61375
|
init_transferaccount();
|
|
61437
61376
|
init_transferpaymentmethodsbankaccount();
|
|
61438
61377
|
init_transferpaymentmethodscard();
|
|
@@ -61448,7 +61387,6 @@ var init_transferdestination = __esm(() => {
|
|
|
61448
61387
|
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
61449
61388
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
61450
61389
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
61451
|
-
rtpDetails: RTPTransactionDetails$inboundSchema.optional(),
|
|
61452
61390
|
instantBankDetails: InstantBankTransactionDetails$inboundSchema.optional()
|
|
61453
61391
|
});
|
|
61454
61392
|
TransferDestination$outboundSchema = objectType({
|
|
@@ -61461,7 +61399,6 @@ var init_transferdestination = __esm(() => {
|
|
|
61461
61399
|
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
61462
61400
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
61463
61401
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
61464
|
-
rtpDetails: RTPTransactionDetails$outboundSchema.optional(),
|
|
61465
61402
|
instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional()
|
|
61466
61403
|
});
|
|
61467
61404
|
});
|
|
@@ -64315,6 +64252,8 @@ var init_invoice = __esm(() => {
|
|
|
64315
64252
|
invoiceNumber: stringType(),
|
|
64316
64253
|
description: stringType().optional(),
|
|
64317
64254
|
customerAccountID: stringType(),
|
|
64255
|
+
customerDisplayName: stringType(),
|
|
64256
|
+
customerEmail: stringType(),
|
|
64318
64257
|
partnerAccountID: stringType(),
|
|
64319
64258
|
status: InvoiceStatus$inboundSchema,
|
|
64320
64259
|
lineItems: InvoiceLineItems$inboundSchema,
|
|
@@ -64332,13 +64271,16 @@ var init_invoice = __esm(() => {
|
|
|
64332
64271
|
dueDate: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
64333
64272
|
sentOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
64334
64273
|
paidOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
64335
|
-
canceledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
64274
|
+
canceledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
64275
|
+
disabledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
64336
64276
|
});
|
|
64337
64277
|
Invoice$outboundSchema = objectType({
|
|
64338
64278
|
invoiceID: stringType(),
|
|
64339
64279
|
invoiceNumber: stringType(),
|
|
64340
64280
|
description: stringType().optional(),
|
|
64341
64281
|
customerAccountID: stringType(),
|
|
64282
|
+
customerDisplayName: stringType(),
|
|
64283
|
+
customerEmail: stringType(),
|
|
64342
64284
|
partnerAccountID: stringType(),
|
|
64343
64285
|
status: InvoiceStatus$outboundSchema,
|
|
64344
64286
|
lineItems: InvoiceLineItems$outboundSchema,
|
|
@@ -64356,7 +64298,8 @@ var init_invoice = __esm(() => {
|
|
|
64356
64298
|
dueDate: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
64357
64299
|
sentOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
64358
64300
|
paidOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
64359
|
-
canceledOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
64301
|
+
canceledOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
64302
|
+
disabledOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
64360
64303
|
});
|
|
64361
64304
|
});
|
|
64362
64305
|
|
|
@@ -69356,12 +69299,9 @@ var init_components = __esm(() => {
|
|
|
69356
69299
|
init_revoketokenrequest();
|
|
69357
69300
|
init_rtpcreditpaymentmethod();
|
|
69358
69301
|
init_rtpcredittransferpaymentmethod();
|
|
69359
|
-
init_rtpfailurecode();
|
|
69360
69302
|
init_rtpinstitution();
|
|
69361
69303
|
init_rtprejectioncode();
|
|
69362
69304
|
init_rtpservices();
|
|
69363
|
-
init_rtptransactiondetails();
|
|
69364
|
-
init_rtptransactionstatus();
|
|
69365
69305
|
init_runtransfer();
|
|
69366
69306
|
init_scheduledtransferimagemetadata();
|
|
69367
69307
|
init_scheduledtransferlineitem();
|
|
@@ -74003,6 +73943,49 @@ var init_deleteimage = __esm(() => {
|
|
|
74003
73943
|
});
|
|
74004
73944
|
});
|
|
74005
73945
|
|
|
73946
|
+
// src/models/operations/deleteinvoice.ts
|
|
73947
|
+
var DeleteInvoiceGlobals$inboundSchema, DeleteInvoiceGlobals$outboundSchema, DeleteInvoiceRequest$inboundSchema, DeleteInvoiceRequest$outboundSchema, DeleteInvoiceResponse$inboundSchema, DeleteInvoiceResponse$outboundSchema;
|
|
73948
|
+
var init_deleteinvoice = __esm(() => {
|
|
73949
|
+
init_esm();
|
|
73950
|
+
init_primitives();
|
|
73951
|
+
DeleteInvoiceGlobals$inboundSchema = objectType({
|
|
73952
|
+
"X-Moov-Version": stringType().optional()
|
|
73953
|
+
}).transform((v2) => {
|
|
73954
|
+
return remap(v2, {
|
|
73955
|
+
"X-Moov-Version": "xMoovVersion"
|
|
73956
|
+
});
|
|
73957
|
+
});
|
|
73958
|
+
DeleteInvoiceGlobals$outboundSchema = objectType({
|
|
73959
|
+
xMoovVersion: stringType().optional()
|
|
73960
|
+
}).transform((v2) => {
|
|
73961
|
+
return remap(v2, {
|
|
73962
|
+
xMoovVersion: "X-Moov-Version"
|
|
73963
|
+
});
|
|
73964
|
+
});
|
|
73965
|
+
DeleteInvoiceRequest$inboundSchema = objectType({
|
|
73966
|
+
accountID: stringType(),
|
|
73967
|
+
invoiceID: stringType()
|
|
73968
|
+
});
|
|
73969
|
+
DeleteInvoiceRequest$outboundSchema = objectType({
|
|
73970
|
+
accountID: stringType(),
|
|
73971
|
+
invoiceID: stringType()
|
|
73972
|
+
});
|
|
73973
|
+
DeleteInvoiceResponse$inboundSchema = objectType({
|
|
73974
|
+
Headers: recordType(arrayType(stringType())).default({})
|
|
73975
|
+
}).transform((v2) => {
|
|
73976
|
+
return remap(v2, {
|
|
73977
|
+
Headers: "headers"
|
|
73978
|
+
});
|
|
73979
|
+
});
|
|
73980
|
+
DeleteInvoiceResponse$outboundSchema = objectType({
|
|
73981
|
+
headers: recordType(arrayType(stringType()))
|
|
73982
|
+
}).transform((v2) => {
|
|
73983
|
+
return remap(v2, {
|
|
73984
|
+
headers: "Headers"
|
|
73985
|
+
});
|
|
73986
|
+
});
|
|
73987
|
+
});
|
|
73988
|
+
|
|
74006
73989
|
// src/models/operations/deleterepresentative.ts
|
|
74007
73990
|
var DeleteRepresentativeGlobals$inboundSchema, DeleteRepresentativeGlobals$outboundSchema, DeleteRepresentativeRequest$inboundSchema, DeleteRepresentativeRequest$outboundSchema, DeleteRepresentativeResponse$inboundSchema, DeleteRepresentativeResponse$outboundSchema;
|
|
74008
73991
|
var init_deleterepresentative = __esm(() => {
|
|
@@ -81540,6 +81523,7 @@ var init_operations = __esm(() => {
|
|
|
81540
81523
|
init_createwebhook2();
|
|
81541
81524
|
init_deletedisputeevidencefile();
|
|
81542
81525
|
init_deleteimage();
|
|
81526
|
+
init_deleteinvoice();
|
|
81543
81527
|
init_deleterepresentative();
|
|
81544
81528
|
init_deleteterminalapplication();
|
|
81545
81529
|
init_disablebankaccount();
|
|
@@ -89115,6 +89099,11 @@ async function $do61(client, request, options) {
|
|
|
89115
89099
|
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
89116
89100
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
89117
89101
|
appendForm(body, "file", blob, payload.CreateEvidenceFileMultiPart.file.fileName);
|
|
89102
|
+
} else if (payload.CreateEvidenceFileMultiPart.file.content instanceof Uint8Array) {
|
|
89103
|
+
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
89104
|
+
appendForm(body, "file", new Blob([
|
|
89105
|
+
new Uint8Array(payload.CreateEvidenceFileMultiPart.file.content).buffer
|
|
89106
|
+
], { type: contentType2 }), payload.CreateEvidenceFileMultiPart.file.fileName);
|
|
89118
89107
|
} else {
|
|
89119
89108
|
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
89120
89109
|
appendForm(body, "file", new Blob([payload.CreateEvidenceFileMultiPart.file.content], {
|
|
@@ -91239,6 +91228,11 @@ async function $do79(client, request, options) {
|
|
|
91239
91228
|
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
91240
91229
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
91241
91230
|
appendForm(body, "file", blob, payload.FileUploadRequestMultiPart.file.fileName);
|
|
91231
|
+
} else if (payload.FileUploadRequestMultiPart.file.content instanceof Uint8Array) {
|
|
91232
|
+
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
91233
|
+
appendForm(body, "file", new Blob([
|
|
91234
|
+
new Uint8Array(payload.FileUploadRequestMultiPart.file.content).buffer
|
|
91235
|
+
], { type: contentType2 }), payload.FileUploadRequestMultiPart.file.fileName);
|
|
91242
91236
|
} else {
|
|
91243
91237
|
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
91244
91238
|
appendForm(body, "file", new Blob([payload.FileUploadRequestMultiPart.file.content], {
|
|
@@ -91856,6 +91850,11 @@ async function $do84(client, request, options) {
|
|
|
91856
91850
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
91857
91851
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
91858
91852
|
appendForm(body, "image", blob, payload.ImageUploadRequestMultiPart.image.fileName);
|
|
91853
|
+
} else if (payload.ImageUploadRequestMultiPart.image.content instanceof Uint8Array) {
|
|
91854
|
+
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
91855
|
+
appendForm(body, "image", new Blob([
|
|
91856
|
+
new Uint8Array(payload.ImageUploadRequestMultiPart.image.content).buffer
|
|
91857
|
+
], { type: contentType2 }), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
91859
91858
|
} else {
|
|
91860
91859
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
91861
91860
|
appendForm(body, "image", new Blob([payload.ImageUploadRequestMultiPart.image.content], {
|
|
@@ -92135,6 +92134,11 @@ async function $do86(client, request, options) {
|
|
|
92135
92134
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
92136
92135
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
92137
92136
|
appendForm(body, "image", blob, payload.ImageUploadRequestMultiPart.image.fileName);
|
|
92137
|
+
} else if (payload.ImageUploadRequestMultiPart.image.content instanceof Uint8Array) {
|
|
92138
|
+
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
92139
|
+
appendForm(body, "image", new Blob([
|
|
92140
|
+
new Uint8Array(payload.ImageUploadRequestMultiPart.image.content).buffer
|
|
92141
|
+
], { type: contentType2 }), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
92138
92142
|
} else {
|
|
92139
92143
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
92140
92144
|
appendForm(body, "image", new Blob([payload.ImageUploadRequestMultiPart.image.content], {
|
|
@@ -92846,11 +92850,142 @@ you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
|
92846
92850
|
};
|
|
92847
92851
|
});
|
|
92848
92852
|
|
|
92849
|
-
// src/funcs/
|
|
92850
|
-
function
|
|
92853
|
+
// src/funcs/invoicesDelete.ts
|
|
92854
|
+
function invoicesDelete(client, request, options) {
|
|
92851
92855
|
return new APIPromise($do92(client, request, options));
|
|
92852
92856
|
}
|
|
92853
92857
|
async function $do92(client, request, options) {
|
|
92858
|
+
const parsed = safeParse4(request, (value) => DeleteInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92859
|
+
if (!parsed.ok) {
|
|
92860
|
+
return [parsed, { status: "invalid" }];
|
|
92861
|
+
}
|
|
92862
|
+
const payload = parsed.value;
|
|
92863
|
+
const body = null;
|
|
92864
|
+
const pathParams = {
|
|
92865
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
92866
|
+
explode: false,
|
|
92867
|
+
charEncoding: "percent"
|
|
92868
|
+
}),
|
|
92869
|
+
invoiceID: encodeSimple("invoiceID", payload.invoiceID, {
|
|
92870
|
+
explode: false,
|
|
92871
|
+
charEncoding: "percent"
|
|
92872
|
+
})
|
|
92873
|
+
};
|
|
92874
|
+
const path = pathToFunc("/accounts/{accountID}/invoices/{invoiceID}")(pathParams);
|
|
92875
|
+
const headers = new Headers(compactMap({
|
|
92876
|
+
Accept: "application/json",
|
|
92877
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
92878
|
+
}));
|
|
92879
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
92880
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
92881
|
+
const context = {
|
|
92882
|
+
options: client._options,
|
|
92883
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
92884
|
+
operationID: "deleteInvoice",
|
|
92885
|
+
oAuth2Scopes: null,
|
|
92886
|
+
resolvedSecurity: requestSecurity,
|
|
92887
|
+
securitySource: client._options.security,
|
|
92888
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
92889
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
92890
|
+
};
|
|
92891
|
+
const requestRes = client._createRequest(context, {
|
|
92892
|
+
security: requestSecurity,
|
|
92893
|
+
method: "DELETE",
|
|
92894
|
+
baseURL: options?.serverURL,
|
|
92895
|
+
path,
|
|
92896
|
+
headers,
|
|
92897
|
+
body,
|
|
92898
|
+
userAgent: client._options.userAgent,
|
|
92899
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
92900
|
+
}, options);
|
|
92901
|
+
if (!requestRes.ok) {
|
|
92902
|
+
return [requestRes, { status: "invalid" }];
|
|
92903
|
+
}
|
|
92904
|
+
const req = requestRes.value;
|
|
92905
|
+
const doResult = await client._do(req, {
|
|
92906
|
+
context,
|
|
92907
|
+
errorCodes: [
|
|
92908
|
+
"400",
|
|
92909
|
+
"401",
|
|
92910
|
+
"403",
|
|
92911
|
+
"404",
|
|
92912
|
+
"409",
|
|
92913
|
+
"429",
|
|
92914
|
+
"4XX",
|
|
92915
|
+
"500",
|
|
92916
|
+
"504",
|
|
92917
|
+
"5XX"
|
|
92918
|
+
],
|
|
92919
|
+
retryConfig: context.retryConfig,
|
|
92920
|
+
retryCodes: context.retryCodes
|
|
92921
|
+
});
|
|
92922
|
+
if (!doResult.ok) {
|
|
92923
|
+
return [doResult, { status: "request-error", request: req }];
|
|
92924
|
+
}
|
|
92925
|
+
const response = doResult.value;
|
|
92926
|
+
const responseFields = {
|
|
92927
|
+
HttpMeta: { Response: response, Request: req }
|
|
92928
|
+
};
|
|
92929
|
+
const [result] = await match(nil(204, DeleteInvoiceResponse$inboundSchema.optional(), {
|
|
92930
|
+
hdrs: true
|
|
92931
|
+
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
92932
|
+
if (!result.ok) {
|
|
92933
|
+
return [result, { status: "complete", request: req, response }];
|
|
92934
|
+
}
|
|
92935
|
+
return [result, { status: "complete", request: req, response }];
|
|
92936
|
+
}
|
|
92937
|
+
var init_invoicesDelete = __esm(() => {
|
|
92938
|
+
init_encodings();
|
|
92939
|
+
init_matchers();
|
|
92940
|
+
init_primitives();
|
|
92941
|
+
init_schemas4();
|
|
92942
|
+
init_security();
|
|
92943
|
+
init_url();
|
|
92944
|
+
init_errors4();
|
|
92945
|
+
init_operations();
|
|
92946
|
+
init_async();
|
|
92947
|
+
});
|
|
92948
|
+
|
|
92949
|
+
// src/mcp-server/tools/invoicesDelete.ts
|
|
92950
|
+
var args92, tool$invoicesDelete;
|
|
92951
|
+
var init_invoicesDelete2 = __esm(() => {
|
|
92952
|
+
init_invoicesDelete();
|
|
92953
|
+
init_operations();
|
|
92954
|
+
init_tools();
|
|
92955
|
+
args92 = {
|
|
92956
|
+
request: DeleteInvoiceRequest$inboundSchema
|
|
92957
|
+
};
|
|
92958
|
+
tool$invoicesDelete = {
|
|
92959
|
+
name: "invoices-delete",
|
|
92960
|
+
description: `Delete an invoice. Only invoices in \`draft\` status can be deleted.
|
|
92961
|
+
|
|
92962
|
+
Deleting an invoice indicates it was created by mistake and should be completely disregarded.
|
|
92963
|
+
Deleted invoices are hidden from list results by default, but can still be retrieved
|
|
92964
|
+
individually through the get invoice endpoint. If you need to void an invoice that was
|
|
92965
|
+
already sent or is otherwise part of the invoice history, cancel it instead by updating
|
|
92966
|
+
its status to \`canceled\`.
|
|
92967
|
+
|
|
92968
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92969
|
+
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
92970
|
+
args: args92,
|
|
92971
|
+
tool: async (client, args93, ctx) => {
|
|
92972
|
+
const [result, apiCall] = await invoicesDelete(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92973
|
+
if (!result.ok) {
|
|
92974
|
+
return {
|
|
92975
|
+
content: [{ type: "text", text: result.error.message }],
|
|
92976
|
+
isError: true
|
|
92977
|
+
};
|
|
92978
|
+
}
|
|
92979
|
+
return formatResult(undefined, apiCall);
|
|
92980
|
+
}
|
|
92981
|
+
};
|
|
92982
|
+
});
|
|
92983
|
+
|
|
92984
|
+
// src/funcs/invoicesGetInvoice.ts
|
|
92985
|
+
function invoicesGetInvoice(client, request, options) {
|
|
92986
|
+
return new APIPromise($do93(client, request, options));
|
|
92987
|
+
}
|
|
92988
|
+
async function $do93(client, request, options) {
|
|
92854
92989
|
const parsed = safeParse4(request, (value) => GetInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92855
92990
|
if (!parsed.ok) {
|
|
92856
92991
|
return [parsed, { status: "invalid" }];
|
|
@@ -92932,12 +93067,12 @@ var init_invoicesGetInvoice = __esm(() => {
|
|
|
92932
93067
|
});
|
|
92933
93068
|
|
|
92934
93069
|
// src/mcp-server/tools/invoicesGetInvoice.ts
|
|
92935
|
-
var
|
|
93070
|
+
var args93, tool$invoicesGetInvoice;
|
|
92936
93071
|
var init_invoicesGetInvoice2 = __esm(() => {
|
|
92937
93072
|
init_invoicesGetInvoice();
|
|
92938
93073
|
init_operations();
|
|
92939
93074
|
init_tools();
|
|
92940
|
-
|
|
93075
|
+
args93 = {
|
|
92941
93076
|
request: GetInvoiceRequest$inboundSchema
|
|
92942
93077
|
};
|
|
92943
93078
|
tool$invoicesGetInvoice = {
|
|
@@ -92946,9 +93081,9 @@ var init_invoicesGetInvoice2 = __esm(() => {
|
|
|
92946
93081
|
|
|
92947
93082
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92948
93083
|
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
92949
|
-
args:
|
|
92950
|
-
tool: async (client,
|
|
92951
|
-
const [result, apiCall] = await invoicesGetInvoice(client,
|
|
93084
|
+
args: args93,
|
|
93085
|
+
tool: async (client, args94, ctx) => {
|
|
93086
|
+
const [result, apiCall] = await invoicesGetInvoice(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92952
93087
|
if (!result.ok) {
|
|
92953
93088
|
return {
|
|
92954
93089
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92963,9 +93098,9 @@ you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
|
92963
93098
|
|
|
92964
93099
|
// src/funcs/invoicesListInvoicePayments.ts
|
|
92965
93100
|
function invoicesListInvoicePayments(client, request, options) {
|
|
92966
|
-
return new APIPromise($
|
|
93101
|
+
return new APIPromise($do94(client, request, options));
|
|
92967
93102
|
}
|
|
92968
|
-
async function $
|
|
93103
|
+
async function $do94(client, request, options) {
|
|
92969
93104
|
const parsed = safeParse4(request, (value) => ListInvoicePaymentsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92970
93105
|
if (!parsed.ok) {
|
|
92971
93106
|
return [parsed, { status: "invalid" }];
|
|
@@ -93047,12 +93182,12 @@ var init_invoicesListInvoicePayments = __esm(() => {
|
|
|
93047
93182
|
});
|
|
93048
93183
|
|
|
93049
93184
|
// src/mcp-server/tools/invoicesListInvoicePayments.ts
|
|
93050
|
-
var
|
|
93185
|
+
var args94, tool$invoicesListInvoicePayments;
|
|
93051
93186
|
var init_invoicesListInvoicePayments2 = __esm(() => {
|
|
93052
93187
|
init_invoicesListInvoicePayments();
|
|
93053
93188
|
init_operations();
|
|
93054
93189
|
init_tools();
|
|
93055
|
-
|
|
93190
|
+
args94 = {
|
|
93056
93191
|
request: ListInvoicePaymentsRequest$inboundSchema
|
|
93057
93192
|
};
|
|
93058
93193
|
tool$invoicesListInvoicePayments = {
|
|
@@ -93061,9 +93196,9 @@ var init_invoicesListInvoicePayments2 = __esm(() => {
|
|
|
93061
93196
|
|
|
93062
93197
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93063
93198
|
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
93064
|
-
args:
|
|
93065
|
-
tool: async (client,
|
|
93066
|
-
const [result, apiCall] = await invoicesListInvoicePayments(client,
|
|
93199
|
+
args: args94,
|
|
93200
|
+
tool: async (client, args95, ctx) => {
|
|
93201
|
+
const [result, apiCall] = await invoicesListInvoicePayments(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93067
93202
|
if (!result.ok) {
|
|
93068
93203
|
return {
|
|
93069
93204
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93078,9 +93213,9 @@ you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
|
93078
93213
|
|
|
93079
93214
|
// src/funcs/invoicesListInvoices.ts
|
|
93080
93215
|
function invoicesListInvoices(client, request, options) {
|
|
93081
|
-
return new APIPromise($
|
|
93216
|
+
return new APIPromise($do95(client, request, options));
|
|
93082
93217
|
}
|
|
93083
|
-
async function $
|
|
93218
|
+
async function $do95(client, request, options) {
|
|
93084
93219
|
const parsed = safeParse4(request, (value) => ListInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93085
93220
|
if (!parsed.ok) {
|
|
93086
93221
|
return [parsed, { status: "invalid" }];
|
|
@@ -93172,12 +93307,12 @@ var init_invoicesListInvoices = __esm(() => {
|
|
|
93172
93307
|
});
|
|
93173
93308
|
|
|
93174
93309
|
// src/mcp-server/tools/invoicesListInvoices.ts
|
|
93175
|
-
var
|
|
93310
|
+
var args95, tool$invoicesListInvoices;
|
|
93176
93311
|
var init_invoicesListInvoices2 = __esm(() => {
|
|
93177
93312
|
init_invoicesListInvoices();
|
|
93178
93313
|
init_operations();
|
|
93179
93314
|
init_tools();
|
|
93180
|
-
|
|
93315
|
+
args95 = {
|
|
93181
93316
|
request: ListInvoicesRequest$inboundSchema
|
|
93182
93317
|
};
|
|
93183
93318
|
tool$invoicesListInvoices = {
|
|
@@ -93186,9 +93321,9 @@ var init_invoicesListInvoices2 = __esm(() => {
|
|
|
93186
93321
|
|
|
93187
93322
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93188
93323
|
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
93189
|
-
args:
|
|
93190
|
-
tool: async (client,
|
|
93191
|
-
const [result, apiCall] = await invoicesListInvoices(client,
|
|
93324
|
+
args: args95,
|
|
93325
|
+
tool: async (client, args96, ctx) => {
|
|
93326
|
+
const [result, apiCall] = await invoicesListInvoices(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93192
93327
|
if (!result.ok) {
|
|
93193
93328
|
return {
|
|
93194
93329
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93203,9 +93338,9 @@ you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
|
93203
93338
|
|
|
93204
93339
|
// src/funcs/invoicesUpdateInvoice.ts
|
|
93205
93340
|
function invoicesUpdateInvoice(client, request, options) {
|
|
93206
|
-
return new APIPromise($
|
|
93341
|
+
return new APIPromise($do96(client, request, options));
|
|
93207
93342
|
}
|
|
93208
|
-
async function $
|
|
93343
|
+
async function $do96(client, request, options) {
|
|
93209
93344
|
const parsed = safeParse4(request, (value) => UpdateInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93210
93345
|
if (!parsed.ok) {
|
|
93211
93346
|
return [parsed, { status: "invalid" }];
|
|
@@ -93301,12 +93436,12 @@ var init_invoicesUpdateInvoice = __esm(() => {
|
|
|
93301
93436
|
});
|
|
93302
93437
|
|
|
93303
93438
|
// src/mcp-server/tools/invoicesUpdateInvoice.ts
|
|
93304
|
-
var
|
|
93439
|
+
var args96, tool$invoicesUpdateInvoice;
|
|
93305
93440
|
var init_invoicesUpdateInvoice2 = __esm(() => {
|
|
93306
93441
|
init_invoicesUpdateInvoice();
|
|
93307
93442
|
init_operations();
|
|
93308
93443
|
init_tools();
|
|
93309
|
-
|
|
93444
|
+
args96 = {
|
|
93310
93445
|
request: UpdateInvoiceRequest$inboundSchema
|
|
93311
93446
|
};
|
|
93312
93447
|
tool$invoicesUpdateInvoice = {
|
|
@@ -93315,9 +93450,9 @@ var init_invoicesUpdateInvoice2 = __esm(() => {
|
|
|
93315
93450
|
|
|
93316
93451
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93317
93452
|
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
93318
|
-
args:
|
|
93319
|
-
tool: async (client,
|
|
93320
|
-
const [result, apiCall] = await invoicesUpdateInvoice(client,
|
|
93453
|
+
args: args96,
|
|
93454
|
+
tool: async (client, args97, ctx) => {
|
|
93455
|
+
const [result, apiCall] = await invoicesUpdateInvoice(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93321
93456
|
if (!result.ok) {
|
|
93322
93457
|
return {
|
|
93323
93458
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93332,9 +93467,9 @@ you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
|
93332
93467
|
|
|
93333
93468
|
// src/funcs/issuingTransactionsGet.ts
|
|
93334
93469
|
function issuingTransactionsGet(client, request, options) {
|
|
93335
|
-
return new APIPromise($
|
|
93470
|
+
return new APIPromise($do97(client, request, options));
|
|
93336
93471
|
}
|
|
93337
|
-
async function $
|
|
93472
|
+
async function $do97(client, request, options) {
|
|
93338
93473
|
const parsed = safeParse4(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93339
93474
|
if (!parsed.ok) {
|
|
93340
93475
|
return [parsed, { status: "invalid" }];
|
|
@@ -93413,12 +93548,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
93413
93548
|
});
|
|
93414
93549
|
|
|
93415
93550
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
93416
|
-
var
|
|
93551
|
+
var args97, tool$issuingTransactionsGet;
|
|
93417
93552
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
93418
93553
|
init_issuingTransactionsGet();
|
|
93419
93554
|
init_operations();
|
|
93420
93555
|
init_tools();
|
|
93421
|
-
|
|
93556
|
+
args97 = {
|
|
93422
93557
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
93423
93558
|
};
|
|
93424
93559
|
tool$issuingTransactionsGet = {
|
|
@@ -93427,9 +93562,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
93427
93562
|
|
|
93428
93563
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93429
93564
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
93430
|
-
args:
|
|
93431
|
-
tool: async (client,
|
|
93432
|
-
const [result, apiCall] = await issuingTransactionsGet(client,
|
|
93565
|
+
args: args97,
|
|
93566
|
+
tool: async (client, args98, ctx) => {
|
|
93567
|
+
const [result, apiCall] = await issuingTransactionsGet(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93433
93568
|
if (!result.ok) {
|
|
93434
93569
|
return {
|
|
93435
93570
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93444,9 +93579,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
93444
93579
|
|
|
93445
93580
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
93446
93581
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
93447
|
-
return new APIPromise($
|
|
93582
|
+
return new APIPromise($do98(client, request, options));
|
|
93448
93583
|
}
|
|
93449
|
-
async function $
|
|
93584
|
+
async function $do98(client, request, options) {
|
|
93450
93585
|
const parsed = safeParse4(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93451
93586
|
if (!parsed.ok) {
|
|
93452
93587
|
return [parsed, { status: "invalid" }];
|
|
@@ -93528,12 +93663,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
93528
93663
|
});
|
|
93529
93664
|
|
|
93530
93665
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
93531
|
-
var
|
|
93666
|
+
var args98, tool$issuingTransactionsGetAuthorization;
|
|
93532
93667
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
93533
93668
|
init_issuingTransactionsGetAuthorization();
|
|
93534
93669
|
init_operations();
|
|
93535
93670
|
init_tools();
|
|
93536
|
-
|
|
93671
|
+
args98 = {
|
|
93537
93672
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
93538
93673
|
};
|
|
93539
93674
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -93542,9 +93677,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
93542
93677
|
|
|
93543
93678
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93544
93679
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
93545
|
-
args:
|
|
93546
|
-
tool: async (client,
|
|
93547
|
-
const [result, apiCall] = await issuingTransactionsGetAuthorization(client,
|
|
93680
|
+
args: args98,
|
|
93681
|
+
tool: async (client, args99, ctx) => {
|
|
93682
|
+
const [result, apiCall] = await issuingTransactionsGetAuthorization(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93548
93683
|
if (!result.ok) {
|
|
93549
93684
|
return {
|
|
93550
93685
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93559,9 +93694,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
93559
93694
|
|
|
93560
93695
|
// src/funcs/issuingTransactionsList.ts
|
|
93561
93696
|
function issuingTransactionsList(client, request, options) {
|
|
93562
|
-
return new APIPromise($
|
|
93697
|
+
return new APIPromise($do99(client, request, options));
|
|
93563
93698
|
}
|
|
93564
|
-
async function $
|
|
93699
|
+
async function $do99(client, request, options) {
|
|
93565
93700
|
const parsed = safeParse4(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93566
93701
|
if (!parsed.ok) {
|
|
93567
93702
|
return [parsed, { status: "invalid" }];
|
|
@@ -93647,12 +93782,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
93647
93782
|
});
|
|
93648
93783
|
|
|
93649
93784
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
93650
|
-
var
|
|
93785
|
+
var args99, tool$issuingTransactionsList;
|
|
93651
93786
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
93652
93787
|
init_issuingTransactionsList();
|
|
93653
93788
|
init_operations();
|
|
93654
93789
|
init_tools();
|
|
93655
|
-
|
|
93790
|
+
args99 = {
|
|
93656
93791
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
93657
93792
|
};
|
|
93658
93793
|
tool$issuingTransactionsList = {
|
|
@@ -93661,9 +93796,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
93661
93796
|
|
|
93662
93797
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93663
93798
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
93664
|
-
args:
|
|
93665
|
-
tool: async (client,
|
|
93666
|
-
const [result, apiCall] = await issuingTransactionsList(client,
|
|
93799
|
+
args: args99,
|
|
93800
|
+
tool: async (client, args100, ctx) => {
|
|
93801
|
+
const [result, apiCall] = await issuingTransactionsList(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93667
93802
|
if (!result.ok) {
|
|
93668
93803
|
return {
|
|
93669
93804
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93678,9 +93813,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
93678
93813
|
|
|
93679
93814
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
93680
93815
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
93681
|
-
return new APIPromise($
|
|
93816
|
+
return new APIPromise($do100(client, request, options));
|
|
93682
93817
|
}
|
|
93683
|
-
async function $
|
|
93818
|
+
async function $do100(client, request, options) {
|
|
93684
93819
|
const parsed = safeParse4(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93685
93820
|
if (!parsed.ok) {
|
|
93686
93821
|
return [parsed, { status: "invalid" }];
|
|
@@ -93764,12 +93899,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
93764
93899
|
});
|
|
93765
93900
|
|
|
93766
93901
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
93767
|
-
var
|
|
93902
|
+
var args100, tool$issuingTransactionsListAuthorizationEvents;
|
|
93768
93903
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
93769
93904
|
init_issuingTransactionsListAuthorizationEvents();
|
|
93770
93905
|
init_operations();
|
|
93771
93906
|
init_tools();
|
|
93772
|
-
|
|
93907
|
+
args100 = {
|
|
93773
93908
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
93774
93909
|
};
|
|
93775
93910
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -93778,9 +93913,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
93778
93913
|
|
|
93779
93914
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93780
93915
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
93781
|
-
args:
|
|
93782
|
-
tool: async (client,
|
|
93783
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client,
|
|
93916
|
+
args: args100,
|
|
93917
|
+
tool: async (client, args101, ctx) => {
|
|
93918
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93784
93919
|
if (!result.ok) {
|
|
93785
93920
|
return {
|
|
93786
93921
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93795,9 +93930,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
93795
93930
|
|
|
93796
93931
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
93797
93932
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
93798
|
-
return new APIPromise($
|
|
93933
|
+
return new APIPromise($do101(client, request, options));
|
|
93799
93934
|
}
|
|
93800
|
-
async function $
|
|
93935
|
+
async function $do101(client, request, options) {
|
|
93801
93936
|
const parsed = safeParse4(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93802
93937
|
if (!parsed.ok) {
|
|
93803
93938
|
return [parsed, { status: "invalid" }];
|
|
@@ -93884,12 +94019,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
93884
94019
|
});
|
|
93885
94020
|
|
|
93886
94021
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
93887
|
-
var
|
|
94022
|
+
var args101, tool$issuingTransactionsListAuthorizations;
|
|
93888
94023
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
93889
94024
|
init_issuingTransactionsListAuthorizations();
|
|
93890
94025
|
init_operations();
|
|
93891
94026
|
init_tools();
|
|
93892
|
-
|
|
94027
|
+
args101 = {
|
|
93893
94028
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
93894
94029
|
};
|
|
93895
94030
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -93898,9 +94033,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
93898
94033
|
|
|
93899
94034
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93900
94035
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
93901
|
-
args:
|
|
93902
|
-
tool: async (client,
|
|
93903
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizations(client,
|
|
94036
|
+
args: args101,
|
|
94037
|
+
tool: async (client, args102, ctx) => {
|
|
94038
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizations(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93904
94039
|
if (!result.ok) {
|
|
93905
94040
|
return {
|
|
93906
94041
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93915,9 +94050,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
93915
94050
|
|
|
93916
94051
|
// src/funcs/onboardingCreateInvite.ts
|
|
93917
94052
|
function onboardingCreateInvite(client, request, options) {
|
|
93918
|
-
return new APIPromise($
|
|
94053
|
+
return new APIPromise($do102(client, request, options));
|
|
93919
94054
|
}
|
|
93920
|
-
async function $
|
|
94055
|
+
async function $do102(client, request, options) {
|
|
93921
94056
|
const parsed = safeParse4(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93922
94057
|
if (!parsed.ok) {
|
|
93923
94058
|
return [parsed, { status: "invalid" }];
|
|
@@ -94004,12 +94139,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
94004
94139
|
});
|
|
94005
94140
|
|
|
94006
94141
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
94007
|
-
var
|
|
94142
|
+
var args102, tool$onboardingCreateInvite;
|
|
94008
94143
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
94009
94144
|
init_onboardingCreateInvite();
|
|
94010
94145
|
init_components();
|
|
94011
94146
|
init_tools();
|
|
94012
|
-
|
|
94147
|
+
args102 = {
|
|
94013
94148
|
request: OnboardingInviteRequest$inboundSchema
|
|
94014
94149
|
};
|
|
94015
94150
|
tool$onboardingCreateInvite = {
|
|
@@ -94018,9 +94153,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
94018
94153
|
|
|
94019
94154
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94020
94155
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
94021
|
-
args:
|
|
94022
|
-
tool: async (client,
|
|
94023
|
-
const [result, apiCall] = await onboardingCreateInvite(client,
|
|
94156
|
+
args: args102,
|
|
94157
|
+
tool: async (client, args103, ctx) => {
|
|
94158
|
+
const [result, apiCall] = await onboardingCreateInvite(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94024
94159
|
if (!result.ok) {
|
|
94025
94160
|
return {
|
|
94026
94161
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94035,9 +94170,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
94035
94170
|
|
|
94036
94171
|
// src/funcs/onboardingGetInvite.ts
|
|
94037
94172
|
function onboardingGetInvite(client, request, options) {
|
|
94038
|
-
return new APIPromise($
|
|
94173
|
+
return new APIPromise($do103(client, request, options));
|
|
94039
94174
|
}
|
|
94040
|
-
async function $
|
|
94175
|
+
async function $do103(client, request, options) {
|
|
94041
94176
|
const parsed = safeParse4(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94042
94177
|
if (!parsed.ok) {
|
|
94043
94178
|
return [parsed, { status: "invalid" }];
|
|
@@ -94115,12 +94250,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
94115
94250
|
});
|
|
94116
94251
|
|
|
94117
94252
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
94118
|
-
var
|
|
94253
|
+
var args103, tool$onboardingGetInvite;
|
|
94119
94254
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
94120
94255
|
init_onboardingGetInvite();
|
|
94121
94256
|
init_operations();
|
|
94122
94257
|
init_tools();
|
|
94123
|
-
|
|
94258
|
+
args103 = {
|
|
94124
94259
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
94125
94260
|
};
|
|
94126
94261
|
tool$onboardingGetInvite = {
|
|
@@ -94129,9 +94264,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
94129
94264
|
|
|
94130
94265
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94131
94266
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
94132
|
-
args:
|
|
94133
|
-
tool: async (client,
|
|
94134
|
-
const [result, apiCall] = await onboardingGetInvite(client,
|
|
94267
|
+
args: args103,
|
|
94268
|
+
tool: async (client, args104, ctx) => {
|
|
94269
|
+
const [result, apiCall] = await onboardingGetInvite(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94135
94270
|
if (!result.ok) {
|
|
94136
94271
|
return {
|
|
94137
94272
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94146,9 +94281,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
94146
94281
|
|
|
94147
94282
|
// src/funcs/onboardingListInvites.ts
|
|
94148
94283
|
function onboardingListInvites(client, _request, options) {
|
|
94149
|
-
return new APIPromise($
|
|
94284
|
+
return new APIPromise($do104(client, _request, options));
|
|
94150
94285
|
}
|
|
94151
|
-
async function $
|
|
94286
|
+
async function $do104(client, _request, options) {
|
|
94152
94287
|
const path = pathToFunc("/onboarding-invites")();
|
|
94153
94288
|
const headers = new Headers(compactMap({
|
|
94154
94289
|
Accept: "application/json",
|
|
@@ -94212,12 +94347,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
94212
94347
|
});
|
|
94213
94348
|
|
|
94214
94349
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
94215
|
-
var
|
|
94350
|
+
var args104, tool$onboardingListInvites;
|
|
94216
94351
|
var init_onboardingListInvites2 = __esm(() => {
|
|
94217
94352
|
init_onboardingListInvites();
|
|
94218
94353
|
init_operations();
|
|
94219
94354
|
init_tools();
|
|
94220
|
-
|
|
94355
|
+
args104 = {
|
|
94221
94356
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
94222
94357
|
};
|
|
94223
94358
|
tool$onboardingListInvites = {
|
|
@@ -94226,9 +94361,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
94226
94361
|
|
|
94227
94362
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94228
94363
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
94229
|
-
args:
|
|
94230
|
-
tool: async (client,
|
|
94231
|
-
const [result, apiCall] = await onboardingListInvites(client,
|
|
94364
|
+
args: args104,
|
|
94365
|
+
tool: async (client, args105, ctx) => {
|
|
94366
|
+
const [result, apiCall] = await onboardingListInvites(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94232
94367
|
if (!result.ok) {
|
|
94233
94368
|
return {
|
|
94234
94369
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94243,9 +94378,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
94243
94378
|
|
|
94244
94379
|
// src/funcs/onboardingRevokeInvite.ts
|
|
94245
94380
|
function onboardingRevokeInvite(client, request, options) {
|
|
94246
|
-
return new APIPromise($
|
|
94381
|
+
return new APIPromise($do105(client, request, options));
|
|
94247
94382
|
}
|
|
94248
|
-
async function $
|
|
94383
|
+
async function $do105(client, request, options) {
|
|
94249
94384
|
const parsed = safeParse4(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94250
94385
|
if (!parsed.ok) {
|
|
94251
94386
|
return [parsed, { status: "invalid" }];
|
|
@@ -94320,12 +94455,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
94320
94455
|
});
|
|
94321
94456
|
|
|
94322
94457
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
94323
|
-
var
|
|
94458
|
+
var args105, tool$onboardingRevokeInvite;
|
|
94324
94459
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
94325
94460
|
init_onboardingRevokeInvite();
|
|
94326
94461
|
init_operations();
|
|
94327
94462
|
init_tools();
|
|
94328
|
-
|
|
94463
|
+
args105 = {
|
|
94329
94464
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
94330
94465
|
};
|
|
94331
94466
|
tool$onboardingRevokeInvite = {
|
|
@@ -94334,9 +94469,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
94334
94469
|
|
|
94335
94470
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94336
94471
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
94337
|
-
args:
|
|
94338
|
-
tool: async (client,
|
|
94339
|
-
const [result, apiCall] = await onboardingRevokeInvite(client,
|
|
94472
|
+
args: args105,
|
|
94473
|
+
tool: async (client, args106, ctx) => {
|
|
94474
|
+
const [result, apiCall] = await onboardingRevokeInvite(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94340
94475
|
if (!result.ok) {
|
|
94341
94476
|
return {
|
|
94342
94477
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94350,9 +94485,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
94350
94485
|
|
|
94351
94486
|
// src/funcs/paymentLinksCreate.ts
|
|
94352
94487
|
function paymentLinksCreate(client, request, options) {
|
|
94353
|
-
return new APIPromise($
|
|
94488
|
+
return new APIPromise($do106(client, request, options));
|
|
94354
94489
|
}
|
|
94355
|
-
async function $
|
|
94490
|
+
async function $do106(client, request, options) {
|
|
94356
94491
|
const parsed = safeParse4(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94357
94492
|
if (!parsed.ok) {
|
|
94358
94493
|
return [parsed, { status: "invalid" }];
|
|
@@ -94444,12 +94579,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
94444
94579
|
});
|
|
94445
94580
|
|
|
94446
94581
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
94447
|
-
var
|
|
94582
|
+
var args106, tool$paymentLinksCreate;
|
|
94448
94583
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
94449
94584
|
init_paymentLinksCreate();
|
|
94450
94585
|
init_operations();
|
|
94451
94586
|
init_tools();
|
|
94452
|
-
|
|
94587
|
+
args106 = {
|
|
94453
94588
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
94454
94589
|
};
|
|
94455
94590
|
tool$paymentLinksCreate = {
|
|
@@ -94458,9 +94593,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
94458
94593
|
|
|
94459
94594
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94460
94595
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
94461
|
-
args:
|
|
94462
|
-
tool: async (client,
|
|
94463
|
-
const [result, apiCall] = await paymentLinksCreate(client,
|
|
94596
|
+
args: args106,
|
|
94597
|
+
tool: async (client, args107, ctx) => {
|
|
94598
|
+
const [result, apiCall] = await paymentLinksCreate(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94464
94599
|
if (!result.ok) {
|
|
94465
94600
|
return {
|
|
94466
94601
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94475,9 +94610,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
94475
94610
|
|
|
94476
94611
|
// src/funcs/paymentLinksDisable.ts
|
|
94477
94612
|
function paymentLinksDisable(client, request, options) {
|
|
94478
|
-
return new APIPromise($
|
|
94613
|
+
return new APIPromise($do107(client, request, options));
|
|
94479
94614
|
}
|
|
94480
|
-
async function $
|
|
94615
|
+
async function $do107(client, request, options) {
|
|
94481
94616
|
const parsed = safeParse4(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94482
94617
|
if (!parsed.ok) {
|
|
94483
94618
|
return [parsed, { status: "invalid" }];
|
|
@@ -94558,12 +94693,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
94558
94693
|
});
|
|
94559
94694
|
|
|
94560
94695
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
94561
|
-
var
|
|
94696
|
+
var args107, tool$paymentLinksDisable;
|
|
94562
94697
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
94563
94698
|
init_paymentLinksDisable();
|
|
94564
94699
|
init_operations();
|
|
94565
94700
|
init_tools();
|
|
94566
|
-
|
|
94701
|
+
args107 = {
|
|
94567
94702
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
94568
94703
|
};
|
|
94569
94704
|
tool$paymentLinksDisable = {
|
|
@@ -94572,9 +94707,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
94572
94707
|
|
|
94573
94708
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94574
94709
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
94575
|
-
args:
|
|
94576
|
-
tool: async (client,
|
|
94577
|
-
const [result, apiCall] = await paymentLinksDisable(client,
|
|
94710
|
+
args: args107,
|
|
94711
|
+
tool: async (client, args108, ctx) => {
|
|
94712
|
+
const [result, apiCall] = await paymentLinksDisable(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94578
94713
|
if (!result.ok) {
|
|
94579
94714
|
return {
|
|
94580
94715
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94588,9 +94723,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
94588
94723
|
|
|
94589
94724
|
// src/funcs/paymentLinksGet.ts
|
|
94590
94725
|
function paymentLinksGet(client, request, options) {
|
|
94591
|
-
return new APIPromise($
|
|
94726
|
+
return new APIPromise($do108(client, request, options));
|
|
94592
94727
|
}
|
|
94593
|
-
async function $
|
|
94728
|
+
async function $do108(client, request, options) {
|
|
94594
94729
|
const parsed = safeParse4(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94595
94730
|
if (!parsed.ok) {
|
|
94596
94731
|
return [parsed, { status: "invalid" }];
|
|
@@ -94672,12 +94807,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
94672
94807
|
});
|
|
94673
94808
|
|
|
94674
94809
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
94675
|
-
var
|
|
94810
|
+
var args108, tool$paymentLinksGet;
|
|
94676
94811
|
var init_paymentLinksGet2 = __esm(() => {
|
|
94677
94812
|
init_paymentLinksGet();
|
|
94678
94813
|
init_operations();
|
|
94679
94814
|
init_tools();
|
|
94680
|
-
|
|
94815
|
+
args108 = {
|
|
94681
94816
|
request: GetPaymentLinkRequest$inboundSchema
|
|
94682
94817
|
};
|
|
94683
94818
|
tool$paymentLinksGet = {
|
|
@@ -94686,9 +94821,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
94686
94821
|
|
|
94687
94822
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94688
94823
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
94689
|
-
args:
|
|
94690
|
-
tool: async (client,
|
|
94691
|
-
const [result, apiCall] = await paymentLinksGet(client,
|
|
94824
|
+
args: args108,
|
|
94825
|
+
tool: async (client, args109, ctx) => {
|
|
94826
|
+
const [result, apiCall] = await paymentLinksGet(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94692
94827
|
if (!result.ok) {
|
|
94693
94828
|
return {
|
|
94694
94829
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94703,9 +94838,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
94703
94838
|
|
|
94704
94839
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
94705
94840
|
function paymentLinksGetQRCode(client, request, options) {
|
|
94706
|
-
return new APIPromise($
|
|
94841
|
+
return new APIPromise($do109(client, request, options));
|
|
94707
94842
|
}
|
|
94708
|
-
async function $
|
|
94843
|
+
async function $do109(client, request, options) {
|
|
94709
94844
|
const parsed = safeParse4(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94710
94845
|
if (!parsed.ok) {
|
|
94711
94846
|
return [parsed, { status: "invalid" }];
|
|
@@ -94791,12 +94926,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
94791
94926
|
});
|
|
94792
94927
|
|
|
94793
94928
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
94794
|
-
var
|
|
94929
|
+
var args109, tool$paymentLinksGetQRCode;
|
|
94795
94930
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
94796
94931
|
init_paymentLinksGetQRCode();
|
|
94797
94932
|
init_operations();
|
|
94798
94933
|
init_tools();
|
|
94799
|
-
|
|
94934
|
+
args109 = {
|
|
94800
94935
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
94801
94936
|
};
|
|
94802
94937
|
tool$paymentLinksGetQRCode = {
|
|
@@ -94807,9 +94942,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
94807
94942
|
|
|
94808
94943
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94809
94944
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
94810
|
-
args:
|
|
94811
|
-
tool: async (client,
|
|
94812
|
-
const [result, apiCall] = await paymentLinksGetQRCode(client,
|
|
94945
|
+
args: args109,
|
|
94946
|
+
tool: async (client, args110, ctx) => {
|
|
94947
|
+
const [result, apiCall] = await paymentLinksGetQRCode(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94813
94948
|
if (!result.ok) {
|
|
94814
94949
|
return {
|
|
94815
94950
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94824,9 +94959,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
94824
94959
|
|
|
94825
94960
|
// src/funcs/paymentLinksList.ts
|
|
94826
94961
|
function paymentLinksList(client, request, options) {
|
|
94827
|
-
return new APIPromise($
|
|
94962
|
+
return new APIPromise($do110(client, request, options));
|
|
94828
94963
|
}
|
|
94829
|
-
async function $
|
|
94964
|
+
async function $do110(client, request, options) {
|
|
94830
94965
|
const parsed = safeParse4(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94831
94966
|
if (!parsed.ok) {
|
|
94832
94967
|
return [parsed, { status: "invalid" }];
|
|
@@ -94910,12 +95045,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
94910
95045
|
});
|
|
94911
95046
|
|
|
94912
95047
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
94913
|
-
var
|
|
95048
|
+
var args110, tool$paymentLinksList;
|
|
94914
95049
|
var init_paymentLinksList2 = __esm(() => {
|
|
94915
95050
|
init_paymentLinksList();
|
|
94916
95051
|
init_operations();
|
|
94917
95052
|
init_tools();
|
|
94918
|
-
|
|
95053
|
+
args110 = {
|
|
94919
95054
|
request: ListPaymentLinksRequest$inboundSchema
|
|
94920
95055
|
};
|
|
94921
95056
|
tool$paymentLinksList = {
|
|
@@ -94924,9 +95059,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
94924
95059
|
|
|
94925
95060
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94926
95061
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
94927
|
-
args:
|
|
94928
|
-
tool: async (client,
|
|
94929
|
-
const [result, apiCall] = await paymentLinksList(client,
|
|
95062
|
+
args: args110,
|
|
95063
|
+
tool: async (client, args111, ctx) => {
|
|
95064
|
+
const [result, apiCall] = await paymentLinksList(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94930
95065
|
if (!result.ok) {
|
|
94931
95066
|
return {
|
|
94932
95067
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94941,9 +95076,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
94941
95076
|
|
|
94942
95077
|
// src/funcs/paymentLinksUpdate.ts
|
|
94943
95078
|
function paymentLinksUpdate(client, request, options) {
|
|
94944
|
-
return new APIPromise($
|
|
95079
|
+
return new APIPromise($do111(client, request, options));
|
|
94945
95080
|
}
|
|
94946
|
-
async function $
|
|
95081
|
+
async function $do111(client, request, options) {
|
|
94947
95082
|
const parsed = safeParse4(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94948
95083
|
if (!parsed.ok) {
|
|
94949
95084
|
return [parsed, { status: "invalid" }];
|
|
@@ -95039,12 +95174,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
95039
95174
|
});
|
|
95040
95175
|
|
|
95041
95176
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
95042
|
-
var
|
|
95177
|
+
var args111, tool$paymentLinksUpdate;
|
|
95043
95178
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
95044
95179
|
init_paymentLinksUpdate();
|
|
95045
95180
|
init_operations();
|
|
95046
95181
|
init_tools();
|
|
95047
|
-
|
|
95182
|
+
args111 = {
|
|
95048
95183
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
95049
95184
|
};
|
|
95050
95185
|
tool$paymentLinksUpdate = {
|
|
@@ -95053,9 +95188,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
95053
95188
|
|
|
95054
95189
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95055
95190
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95056
|
-
args:
|
|
95057
|
-
tool: async (client,
|
|
95058
|
-
const [result, apiCall] = await paymentLinksUpdate(client,
|
|
95191
|
+
args: args111,
|
|
95192
|
+
tool: async (client, args112, ctx) => {
|
|
95193
|
+
const [result, apiCall] = await paymentLinksUpdate(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95059
95194
|
if (!result.ok) {
|
|
95060
95195
|
return {
|
|
95061
95196
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95070,9 +95205,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95070
95205
|
|
|
95071
95206
|
// src/funcs/paymentMethodsGet.ts
|
|
95072
95207
|
function paymentMethodsGet(client, request, options) {
|
|
95073
|
-
return new APIPromise($
|
|
95208
|
+
return new APIPromise($do112(client, request, options));
|
|
95074
95209
|
}
|
|
95075
|
-
async function $
|
|
95210
|
+
async function $do112(client, request, options) {
|
|
95076
95211
|
const parsed = safeParse4(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95077
95212
|
if (!parsed.ok) {
|
|
95078
95213
|
return [parsed, { status: "invalid" }];
|
|
@@ -95154,12 +95289,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
95154
95289
|
});
|
|
95155
95290
|
|
|
95156
95291
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
95157
|
-
var
|
|
95292
|
+
var args112, tool$paymentMethodsGet;
|
|
95158
95293
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
95159
95294
|
init_paymentMethodsGet();
|
|
95160
95295
|
init_operations();
|
|
95161
95296
|
init_tools();
|
|
95162
|
-
|
|
95297
|
+
args112 = {
|
|
95163
95298
|
request: GetPaymentMethodRequest$inboundSchema
|
|
95164
95299
|
};
|
|
95165
95300
|
tool$paymentMethodsGet = {
|
|
@@ -95168,9 +95303,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
95168
95303
|
|
|
95169
95304
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95170
95305
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
95171
|
-
args:
|
|
95172
|
-
tool: async (client,
|
|
95173
|
-
const [result, apiCall] = await paymentMethodsGet(client,
|
|
95306
|
+
args: args112,
|
|
95307
|
+
tool: async (client, args113, ctx) => {
|
|
95308
|
+
const [result, apiCall] = await paymentMethodsGet(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95174
95309
|
if (!result.ok) {
|
|
95175
95310
|
return {
|
|
95176
95311
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95185,9 +95320,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
95185
95320
|
|
|
95186
95321
|
// src/funcs/paymentMethodsList.ts
|
|
95187
95322
|
function paymentMethodsList(client, request, options) {
|
|
95188
|
-
return new APIPromise($
|
|
95323
|
+
return new APIPromise($do113(client, request, options));
|
|
95189
95324
|
}
|
|
95190
|
-
async function $
|
|
95325
|
+
async function $do113(client, request, options) {
|
|
95191
95326
|
const parsed = safeParse4(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95192
95327
|
if (!parsed.ok) {
|
|
95193
95328
|
return [parsed, { status: "invalid" }];
|
|
@@ -95270,12 +95405,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
95270
95405
|
});
|
|
95271
95406
|
|
|
95272
95407
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
95273
|
-
var
|
|
95408
|
+
var args113, tool$paymentMethodsList;
|
|
95274
95409
|
var init_paymentMethodsList2 = __esm(() => {
|
|
95275
95410
|
init_paymentMethodsList();
|
|
95276
95411
|
init_operations();
|
|
95277
95412
|
init_tools();
|
|
95278
|
-
|
|
95413
|
+
args113 = {
|
|
95279
95414
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
95280
95415
|
};
|
|
95281
95416
|
tool$paymentMethodsList = {
|
|
@@ -95285,9 +95420,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
95285
95420
|
|
|
95286
95421
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95287
95422
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
95288
|
-
args:
|
|
95289
|
-
tool: async (client,
|
|
95290
|
-
const [result, apiCall] = await paymentMethodsList(client,
|
|
95423
|
+
args: args113,
|
|
95424
|
+
tool: async (client, args114, ctx) => {
|
|
95425
|
+
const [result, apiCall] = await paymentMethodsList(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95291
95426
|
if (!result.ok) {
|
|
95292
95427
|
return {
|
|
95293
95428
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95302,9 +95437,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
95302
95437
|
|
|
95303
95438
|
// src/funcs/pingPing.ts
|
|
95304
95439
|
function pingPing(client, _request, options) {
|
|
95305
|
-
return new APIPromise($
|
|
95440
|
+
return new APIPromise($do114(client, _request, options));
|
|
95306
95441
|
}
|
|
95307
|
-
async function $
|
|
95442
|
+
async function $do114(client, _request, options) {
|
|
95308
95443
|
const path = pathToFunc("/ping")();
|
|
95309
95444
|
const headers = new Headers(compactMap({
|
|
95310
95445
|
Accept: "*/*",
|
|
@@ -95367,12 +95502,12 @@ var init_pingPing = __esm(() => {
|
|
|
95367
95502
|
});
|
|
95368
95503
|
|
|
95369
95504
|
// src/mcp-server/tools/pingPing.ts
|
|
95370
|
-
var
|
|
95505
|
+
var args114, tool$pingPing;
|
|
95371
95506
|
var init_pingPing2 = __esm(() => {
|
|
95372
95507
|
init_pingPing();
|
|
95373
95508
|
init_operations();
|
|
95374
95509
|
init_tools();
|
|
95375
|
-
|
|
95510
|
+
args114 = {
|
|
95376
95511
|
request: PingRequest$inboundSchema
|
|
95377
95512
|
};
|
|
95378
95513
|
tool$pingPing = {
|
|
@@ -95381,9 +95516,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
95381
95516
|
|
|
95382
95517
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95383
95518
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
95384
|
-
args:
|
|
95385
|
-
tool: async (client,
|
|
95386
|
-
const [result, apiCall] = await pingPing(client,
|
|
95519
|
+
args: args114,
|
|
95520
|
+
tool: async (client, args115, ctx) => {
|
|
95521
|
+
const [result, apiCall] = await pingPing(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95387
95522
|
if (!result.ok) {
|
|
95388
95523
|
return {
|
|
95389
95524
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95397,9 +95532,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
95397
95532
|
|
|
95398
95533
|
// src/funcs/productsCreate.ts
|
|
95399
95534
|
function productsCreate(client, request, options) {
|
|
95400
|
-
return new APIPromise($
|
|
95535
|
+
return new APIPromise($do115(client, request, options));
|
|
95401
95536
|
}
|
|
95402
|
-
async function $
|
|
95537
|
+
async function $do115(client, request, options) {
|
|
95403
95538
|
const parsed = safeParse4(request, (value) => CreateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95404
95539
|
if (!parsed.ok) {
|
|
95405
95540
|
return [parsed, { status: "invalid" }];
|
|
@@ -95493,20 +95628,20 @@ var init_productsCreate = __esm(() => {
|
|
|
95493
95628
|
});
|
|
95494
95629
|
|
|
95495
95630
|
// src/mcp-server/tools/productsCreate.ts
|
|
95496
|
-
var
|
|
95631
|
+
var args115, tool$productsCreate;
|
|
95497
95632
|
var init_productsCreate2 = __esm(() => {
|
|
95498
95633
|
init_productsCreate();
|
|
95499
95634
|
init_operations();
|
|
95500
95635
|
init_tools();
|
|
95501
|
-
|
|
95636
|
+
args115 = {
|
|
95502
95637
|
request: CreateProductRequest$inboundSchema
|
|
95503
95638
|
};
|
|
95504
95639
|
tool$productsCreate = {
|
|
95505
95640
|
name: "products-create",
|
|
95506
95641
|
description: `Creates a new product for the specified account.`,
|
|
95507
|
-
args:
|
|
95508
|
-
tool: async (client,
|
|
95509
|
-
const [result, apiCall] = await productsCreate(client,
|
|
95642
|
+
args: args115,
|
|
95643
|
+
tool: async (client, args116, ctx) => {
|
|
95644
|
+
const [result, apiCall] = await productsCreate(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95510
95645
|
if (!result.ok) {
|
|
95511
95646
|
return {
|
|
95512
95647
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95521,9 +95656,9 @@ var init_productsCreate2 = __esm(() => {
|
|
|
95521
95656
|
|
|
95522
95657
|
// src/funcs/productsDisable.ts
|
|
95523
95658
|
function productsDisable(client, request, options) {
|
|
95524
|
-
return new APIPromise($
|
|
95659
|
+
return new APIPromise($do116(client, request, options));
|
|
95525
95660
|
}
|
|
95526
|
-
async function $
|
|
95661
|
+
async function $do116(client, request, options) {
|
|
95527
95662
|
const parsed = safeParse4(request, (value) => DisableProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95528
95663
|
if (!parsed.ok) {
|
|
95529
95664
|
return [parsed, { status: "invalid" }];
|
|
@@ -95616,12 +95751,12 @@ var init_productsDisable = __esm(() => {
|
|
|
95616
95751
|
});
|
|
95617
95752
|
|
|
95618
95753
|
// src/mcp-server/tools/productsDisable.ts
|
|
95619
|
-
var
|
|
95754
|
+
var args116, tool$productsDisable;
|
|
95620
95755
|
var init_productsDisable2 = __esm(() => {
|
|
95621
95756
|
init_productsDisable();
|
|
95622
95757
|
init_operations();
|
|
95623
95758
|
init_tools();
|
|
95624
|
-
|
|
95759
|
+
args116 = {
|
|
95625
95760
|
request: DisableProductRequest$inboundSchema
|
|
95626
95761
|
};
|
|
95627
95762
|
tool$productsDisable = {
|
|
@@ -95629,9 +95764,9 @@ var init_productsDisable2 = __esm(() => {
|
|
|
95629
95764
|
description: `Disable a product by ID.
|
|
95630
95765
|
|
|
95631
95766
|
The product will no longer be available, but will remain in the system for historical and reporting purposes.`,
|
|
95632
|
-
args:
|
|
95633
|
-
tool: async (client,
|
|
95634
|
-
const [result, apiCall] = await productsDisable(client,
|
|
95767
|
+
args: args116,
|
|
95768
|
+
tool: async (client, args117, ctx) => {
|
|
95769
|
+
const [result, apiCall] = await productsDisable(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95635
95770
|
if (!result.ok) {
|
|
95636
95771
|
return {
|
|
95637
95772
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95645,9 +95780,9 @@ The product will no longer be available, but will remain in the system for histo
|
|
|
95645
95780
|
|
|
95646
95781
|
// src/funcs/productsGet.ts
|
|
95647
95782
|
function productsGet(client, request, options) {
|
|
95648
|
-
return new APIPromise($
|
|
95783
|
+
return new APIPromise($do117(client, request, options));
|
|
95649
95784
|
}
|
|
95650
|
-
async function $
|
|
95785
|
+
async function $do117(client, request, options) {
|
|
95651
95786
|
const parsed = safeParse4(request, (value) => GetProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95652
95787
|
if (!parsed.ok) {
|
|
95653
95788
|
return [parsed, { status: "invalid" }];
|
|
@@ -95729,20 +95864,20 @@ var init_productsGet = __esm(() => {
|
|
|
95729
95864
|
});
|
|
95730
95865
|
|
|
95731
95866
|
// src/mcp-server/tools/productsGet.ts
|
|
95732
|
-
var
|
|
95867
|
+
var args117, tool$productsGet;
|
|
95733
95868
|
var init_productsGet2 = __esm(() => {
|
|
95734
95869
|
init_productsGet();
|
|
95735
95870
|
init_operations();
|
|
95736
95871
|
init_tools();
|
|
95737
|
-
|
|
95872
|
+
args117 = {
|
|
95738
95873
|
request: GetProductRequest$inboundSchema
|
|
95739
95874
|
};
|
|
95740
95875
|
tool$productsGet = {
|
|
95741
95876
|
name: "products-get",
|
|
95742
95877
|
description: `Retrieve a product by ID.`,
|
|
95743
|
-
args:
|
|
95744
|
-
tool: async (client,
|
|
95745
|
-
const [result, apiCall] = await productsGet(client,
|
|
95878
|
+
args: args117,
|
|
95879
|
+
tool: async (client, args118, ctx) => {
|
|
95880
|
+
const [result, apiCall] = await productsGet(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95746
95881
|
if (!result.ok) {
|
|
95747
95882
|
return {
|
|
95748
95883
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95757,9 +95892,9 @@ var init_productsGet2 = __esm(() => {
|
|
|
95757
95892
|
|
|
95758
95893
|
// src/funcs/productsList.ts
|
|
95759
95894
|
function productsList(client, request, options) {
|
|
95760
|
-
return new APIPromise($
|
|
95895
|
+
return new APIPromise($do118(client, request, options));
|
|
95761
95896
|
}
|
|
95762
|
-
async function $
|
|
95897
|
+
async function $do118(client, request, options) {
|
|
95763
95898
|
const parsed = safeParse4(request, (value) => ListProductsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95764
95899
|
if (!parsed.ok) {
|
|
95765
95900
|
return [parsed, { status: "invalid" }];
|
|
@@ -95843,20 +95978,20 @@ var init_productsList = __esm(() => {
|
|
|
95843
95978
|
});
|
|
95844
95979
|
|
|
95845
95980
|
// src/mcp-server/tools/productsList.ts
|
|
95846
|
-
var
|
|
95981
|
+
var args118, tool$productsList;
|
|
95847
95982
|
var init_productsList2 = __esm(() => {
|
|
95848
95983
|
init_productsList();
|
|
95849
95984
|
init_operations();
|
|
95850
95985
|
init_tools();
|
|
95851
|
-
|
|
95986
|
+
args118 = {
|
|
95852
95987
|
request: ListProductsRequest$inboundSchema
|
|
95853
95988
|
};
|
|
95854
95989
|
tool$productsList = {
|
|
95855
95990
|
name: "products-list",
|
|
95856
95991
|
description: `List active (non-disabled) products for an account.`,
|
|
95857
|
-
args:
|
|
95858
|
-
tool: async (client,
|
|
95859
|
-
const [result, apiCall] = await productsList(client,
|
|
95992
|
+
args: args118,
|
|
95993
|
+
tool: async (client, args119, ctx) => {
|
|
95994
|
+
const [result, apiCall] = await productsList(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95860
95995
|
if (!result.ok) {
|
|
95861
95996
|
return {
|
|
95862
95997
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95871,9 +96006,9 @@ var init_productsList2 = __esm(() => {
|
|
|
95871
96006
|
|
|
95872
96007
|
// src/funcs/productsUpdate.ts
|
|
95873
96008
|
function productsUpdate(client, request, options) {
|
|
95874
|
-
return new APIPromise($
|
|
96009
|
+
return new APIPromise($do119(client, request, options));
|
|
95875
96010
|
}
|
|
95876
|
-
async function $
|
|
96011
|
+
async function $do119(client, request, options) {
|
|
95877
96012
|
const parsed = safeParse4(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95878
96013
|
if (!parsed.ok) {
|
|
95879
96014
|
return [parsed, { status: "invalid" }];
|
|
@@ -95971,20 +96106,20 @@ var init_productsUpdate = __esm(() => {
|
|
|
95971
96106
|
});
|
|
95972
96107
|
|
|
95973
96108
|
// src/mcp-server/tools/productsUpdate.ts
|
|
95974
|
-
var
|
|
96109
|
+
var args119, tool$productsUpdate;
|
|
95975
96110
|
var init_productsUpdate2 = __esm(() => {
|
|
95976
96111
|
init_productsUpdate();
|
|
95977
96112
|
init_operations();
|
|
95978
96113
|
init_tools();
|
|
95979
|
-
|
|
96114
|
+
args119 = {
|
|
95980
96115
|
request: UpdateProductRequest$inboundSchema
|
|
95981
96116
|
};
|
|
95982
96117
|
tool$productsUpdate = {
|
|
95983
96118
|
name: "products-update",
|
|
95984
96119
|
description: `Update a product and its options.`,
|
|
95985
|
-
args:
|
|
95986
|
-
tool: async (client,
|
|
95987
|
-
const [result, apiCall] = await productsUpdate(client,
|
|
96120
|
+
args: args119,
|
|
96121
|
+
tool: async (client, args120, ctx) => {
|
|
96122
|
+
const [result, apiCall] = await productsUpdate(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95988
96123
|
if (!result.ok) {
|
|
95989
96124
|
return {
|
|
95990
96125
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95999,9 +96134,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
95999
96134
|
|
|
96000
96135
|
// src/funcs/receiptsCreate.ts
|
|
96001
96136
|
function receiptsCreate(client, request, options) {
|
|
96002
|
-
return new APIPromise($
|
|
96137
|
+
return new APIPromise($do120(client, request, options));
|
|
96003
96138
|
}
|
|
96004
|
-
async function $
|
|
96139
|
+
async function $do120(client, request, options) {
|
|
96005
96140
|
const parsed = safeParse4(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
96006
96141
|
if (!parsed.ok) {
|
|
96007
96142
|
return [parsed, { status: "invalid" }];
|
|
@@ -96089,13 +96224,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
96089
96224
|
});
|
|
96090
96225
|
|
|
96091
96226
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
96092
|
-
var
|
|
96227
|
+
var args120, tool$receiptsCreate;
|
|
96093
96228
|
var init_receiptsCreate2 = __esm(() => {
|
|
96094
96229
|
init_esm();
|
|
96095
96230
|
init_receiptsCreate();
|
|
96096
96231
|
init_components();
|
|
96097
96232
|
init_tools();
|
|
96098
|
-
|
|
96233
|
+
args120 = {
|
|
96099
96234
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
96100
96235
|
};
|
|
96101
96236
|
tool$receiptsCreate = {
|
|
@@ -96104,9 +96239,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
96104
96239
|
|
|
96105
96240
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96106
96241
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
96107
|
-
args:
|
|
96108
|
-
tool: async (client,
|
|
96109
|
-
const [result, apiCall] = await receiptsCreate(client,
|
|
96242
|
+
args: args120,
|
|
96243
|
+
tool: async (client, args121, ctx) => {
|
|
96244
|
+
const [result, apiCall] = await receiptsCreate(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96110
96245
|
if (!result.ok) {
|
|
96111
96246
|
return {
|
|
96112
96247
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96121,9 +96256,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
96121
96256
|
|
|
96122
96257
|
// src/funcs/receiptsList.ts
|
|
96123
96258
|
function receiptsList(client, request, options) {
|
|
96124
|
-
return new APIPromise($
|
|
96259
|
+
return new APIPromise($do121(client, request, options));
|
|
96125
96260
|
}
|
|
96126
|
-
async function $
|
|
96261
|
+
async function $do121(client, request, options) {
|
|
96127
96262
|
const parsed = safeParse4(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96128
96263
|
if (!parsed.ok) {
|
|
96129
96264
|
return [parsed, { status: "invalid" }];
|
|
@@ -96199,12 +96334,12 @@ var init_receiptsList = __esm(() => {
|
|
|
96199
96334
|
});
|
|
96200
96335
|
|
|
96201
96336
|
// src/mcp-server/tools/receiptsList.ts
|
|
96202
|
-
var
|
|
96337
|
+
var args121, tool$receiptsList;
|
|
96203
96338
|
var init_receiptsList2 = __esm(() => {
|
|
96204
96339
|
init_receiptsList();
|
|
96205
96340
|
init_operations();
|
|
96206
96341
|
init_tools();
|
|
96207
|
-
|
|
96342
|
+
args121 = {
|
|
96208
96343
|
request: ListReceiptsRequest$inboundSchema
|
|
96209
96344
|
};
|
|
96210
96345
|
tool$receiptsList = {
|
|
@@ -96213,9 +96348,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
96213
96348
|
|
|
96214
96349
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96215
96350
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
96216
|
-
args:
|
|
96217
|
-
tool: async (client,
|
|
96218
|
-
const [result, apiCall] = await receiptsList(client,
|
|
96351
|
+
args: args121,
|
|
96352
|
+
tool: async (client, args122, ctx) => {
|
|
96353
|
+
const [result, apiCall] = await receiptsList(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96219
96354
|
if (!result.ok) {
|
|
96220
96355
|
return {
|
|
96221
96356
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96230,9 +96365,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
96230
96365
|
|
|
96231
96366
|
// src/funcs/representativesCreate.ts
|
|
96232
96367
|
function representativesCreate(client, request, options) {
|
|
96233
|
-
return new APIPromise($
|
|
96368
|
+
return new APIPromise($do122(client, request, options));
|
|
96234
96369
|
}
|
|
96235
|
-
async function $
|
|
96370
|
+
async function $do122(client, request, options) {
|
|
96236
96371
|
const parsed = safeParse4(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96237
96372
|
if (!parsed.ok) {
|
|
96238
96373
|
return [parsed, { status: "invalid" }];
|
|
@@ -96328,12 +96463,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
96328
96463
|
});
|
|
96329
96464
|
|
|
96330
96465
|
// src/mcp-server/tools/representativesCreate.ts
|
|
96331
|
-
var
|
|
96466
|
+
var args122, tool$representativesCreate;
|
|
96332
96467
|
var init_representativesCreate2 = __esm(() => {
|
|
96333
96468
|
init_representativesCreate();
|
|
96334
96469
|
init_operations();
|
|
96335
96470
|
init_tools();
|
|
96336
|
-
|
|
96471
|
+
args122 = {
|
|
96337
96472
|
request: CreateRepresentativeRequest$inboundSchema
|
|
96338
96473
|
};
|
|
96339
96474
|
tool$representativesCreate = {
|
|
@@ -96344,9 +96479,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
96344
96479
|
|
|
96345
96480
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96346
96481
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
96347
|
-
args:
|
|
96348
|
-
tool: async (client,
|
|
96349
|
-
const [result, apiCall] = await representativesCreate(client,
|
|
96482
|
+
args: args122,
|
|
96483
|
+
tool: async (client, args123, ctx) => {
|
|
96484
|
+
const [result, apiCall] = await representativesCreate(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96350
96485
|
if (!result.ok) {
|
|
96351
96486
|
return {
|
|
96352
96487
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96361,9 +96496,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
96361
96496
|
|
|
96362
96497
|
// src/funcs/representativesDelete.ts
|
|
96363
96498
|
function representativesDelete(client, request, options) {
|
|
96364
|
-
return new APIPromise($
|
|
96499
|
+
return new APIPromise($do123(client, request, options));
|
|
96365
96500
|
}
|
|
96366
|
-
async function $
|
|
96501
|
+
async function $do123(client, request, options) {
|
|
96367
96502
|
const parsed = safeParse4(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96368
96503
|
if (!parsed.ok) {
|
|
96369
96504
|
return [parsed, { status: "invalid" }];
|
|
@@ -96451,12 +96586,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
96451
96586
|
});
|
|
96452
96587
|
|
|
96453
96588
|
// src/mcp-server/tools/representativesDelete.ts
|
|
96454
|
-
var
|
|
96589
|
+
var args123, tool$representativesDelete;
|
|
96455
96590
|
var init_representativesDelete2 = __esm(() => {
|
|
96456
96591
|
init_representativesDelete();
|
|
96457
96592
|
init_operations();
|
|
96458
96593
|
init_tools();
|
|
96459
|
-
|
|
96594
|
+
args123 = {
|
|
96460
96595
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
96461
96596
|
};
|
|
96462
96597
|
tool$representativesDelete = {
|
|
@@ -96465,9 +96600,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
96465
96600
|
|
|
96466
96601
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96467
96602
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
96468
|
-
args:
|
|
96469
|
-
tool: async (client,
|
|
96470
|
-
const [result, apiCall] = await representativesDelete(client,
|
|
96603
|
+
args: args123,
|
|
96604
|
+
tool: async (client, args124, ctx) => {
|
|
96605
|
+
const [result, apiCall] = await representativesDelete(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96471
96606
|
if (!result.ok) {
|
|
96472
96607
|
return {
|
|
96473
96608
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96481,9 +96616,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
96481
96616
|
|
|
96482
96617
|
// src/funcs/representativesGet.ts
|
|
96483
96618
|
function representativesGet(client, request, options) {
|
|
96484
|
-
return new APIPromise($
|
|
96619
|
+
return new APIPromise($do124(client, request, options));
|
|
96485
96620
|
}
|
|
96486
|
-
async function $
|
|
96621
|
+
async function $do124(client, request, options) {
|
|
96487
96622
|
const parsed = safeParse4(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96488
96623
|
if (!parsed.ok) {
|
|
96489
96624
|
return [parsed, { status: "invalid" }];
|
|
@@ -96562,12 +96697,12 @@ var init_representativesGet = __esm(() => {
|
|
|
96562
96697
|
});
|
|
96563
96698
|
|
|
96564
96699
|
// src/mcp-server/tools/representativesGet.ts
|
|
96565
|
-
var
|
|
96700
|
+
var args124, tool$representativesGet;
|
|
96566
96701
|
var init_representativesGet2 = __esm(() => {
|
|
96567
96702
|
init_representativesGet();
|
|
96568
96703
|
init_operations();
|
|
96569
96704
|
init_tools();
|
|
96570
|
-
|
|
96705
|
+
args124 = {
|
|
96571
96706
|
request: GetRepresentativeRequest$inboundSchema
|
|
96572
96707
|
};
|
|
96573
96708
|
tool$representativesGet = {
|
|
@@ -96576,9 +96711,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
96576
96711
|
|
|
96577
96712
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96578
96713
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
96579
|
-
args:
|
|
96580
|
-
tool: async (client,
|
|
96581
|
-
const [result, apiCall] = await representativesGet(client,
|
|
96714
|
+
args: args124,
|
|
96715
|
+
tool: async (client, args125, ctx) => {
|
|
96716
|
+
const [result, apiCall] = await representativesGet(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96582
96717
|
if (!result.ok) {
|
|
96583
96718
|
return {
|
|
96584
96719
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96593,9 +96728,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
96593
96728
|
|
|
96594
96729
|
// src/funcs/representativesList.ts
|
|
96595
96730
|
function representativesList(client, request, options) {
|
|
96596
|
-
return new APIPromise($
|
|
96731
|
+
return new APIPromise($do125(client, request, options));
|
|
96597
96732
|
}
|
|
96598
|
-
async function $
|
|
96733
|
+
async function $do125(client, request, options) {
|
|
96599
96734
|
const parsed = safeParse4(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96600
96735
|
if (!parsed.ok) {
|
|
96601
96736
|
return [parsed, { status: "invalid" }];
|
|
@@ -96673,12 +96808,12 @@ var init_representativesList = __esm(() => {
|
|
|
96673
96808
|
});
|
|
96674
96809
|
|
|
96675
96810
|
// src/mcp-server/tools/representativesList.ts
|
|
96676
|
-
var
|
|
96811
|
+
var args125, tool$representativesList;
|
|
96677
96812
|
var init_representativesList2 = __esm(() => {
|
|
96678
96813
|
init_representativesList();
|
|
96679
96814
|
init_operations();
|
|
96680
96815
|
init_tools();
|
|
96681
|
-
|
|
96816
|
+
args125 = {
|
|
96682
96817
|
request: ListRepresentativesRequest$inboundSchema
|
|
96683
96818
|
};
|
|
96684
96819
|
tool$representativesList = {
|
|
@@ -96690,9 +96825,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
96690
96825
|
|
|
96691
96826
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96692
96827
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
96693
|
-
args:
|
|
96694
|
-
tool: async (client,
|
|
96695
|
-
const [result, apiCall] = await representativesList(client,
|
|
96828
|
+
args: args125,
|
|
96829
|
+
tool: async (client, args126, ctx) => {
|
|
96830
|
+
const [result, apiCall] = await representativesList(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96696
96831
|
if (!result.ok) {
|
|
96697
96832
|
return {
|
|
96698
96833
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96707,9 +96842,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
96707
96842
|
|
|
96708
96843
|
// src/funcs/representativesUpdate.ts
|
|
96709
96844
|
function representativesUpdate(client, request, options) {
|
|
96710
|
-
return new APIPromise($
|
|
96845
|
+
return new APIPromise($do126(client, request, options));
|
|
96711
96846
|
}
|
|
96712
|
-
async function $
|
|
96847
|
+
async function $do126(client, request, options) {
|
|
96713
96848
|
const parsed = safeParse4(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96714
96849
|
if (!parsed.ok) {
|
|
96715
96850
|
return [parsed, { status: "invalid" }];
|
|
@@ -96803,12 +96938,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
96803
96938
|
});
|
|
96804
96939
|
|
|
96805
96940
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
96806
|
-
var
|
|
96941
|
+
var args126, tool$representativesUpdate;
|
|
96807
96942
|
var init_representativesUpdate2 = __esm(() => {
|
|
96808
96943
|
init_representativesUpdate();
|
|
96809
96944
|
init_operations();
|
|
96810
96945
|
init_tools();
|
|
96811
|
-
|
|
96946
|
+
args126 = {
|
|
96812
96947
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
96813
96948
|
};
|
|
96814
96949
|
tool$representativesUpdate = {
|
|
@@ -96830,9 +96965,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
96830
96965
|
|
|
96831
96966
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96832
96967
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
96833
|
-
args:
|
|
96834
|
-
tool: async (client,
|
|
96835
|
-
const [result, apiCall] = await representativesUpdate(client,
|
|
96968
|
+
args: args126,
|
|
96969
|
+
tool: async (client, args127, ctx) => {
|
|
96970
|
+
const [result, apiCall] = await representativesUpdate(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96836
96971
|
if (!result.ok) {
|
|
96837
96972
|
return {
|
|
96838
96973
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96847,9 +96982,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
96847
96982
|
|
|
96848
96983
|
// src/funcs/schedulingCancel.ts
|
|
96849
96984
|
function schedulingCancel(client, request, options) {
|
|
96850
|
-
return new APIPromise($
|
|
96985
|
+
return new APIPromise($do127(client, request, options));
|
|
96851
96986
|
}
|
|
96852
|
-
async function $
|
|
96987
|
+
async function $do127(client, request, options) {
|
|
96853
96988
|
const parsed = safeParse4(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96854
96989
|
if (!parsed.ok) {
|
|
96855
96990
|
return [parsed, { status: "invalid" }];
|
|
@@ -96942,12 +97077,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
96942
97077
|
});
|
|
96943
97078
|
|
|
96944
97079
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
96945
|
-
var
|
|
97080
|
+
var args127, tool$schedulingCancel;
|
|
96946
97081
|
var init_schedulingCancel2 = __esm(() => {
|
|
96947
97082
|
init_schedulingCancel();
|
|
96948
97083
|
init_operations();
|
|
96949
97084
|
init_tools();
|
|
96950
|
-
|
|
97085
|
+
args127 = {
|
|
96951
97086
|
request: CancelScheduleRequest$inboundSchema
|
|
96952
97087
|
};
|
|
96953
97088
|
tool$schedulingCancel = {
|
|
@@ -96956,9 +97091,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
96956
97091
|
|
|
96957
97092
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96958
97093
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
96959
|
-
args:
|
|
96960
|
-
tool: async (client,
|
|
96961
|
-
const [result, apiCall] = await schedulingCancel(client,
|
|
97094
|
+
args: args127,
|
|
97095
|
+
tool: async (client, args128, ctx) => {
|
|
97096
|
+
const [result, apiCall] = await schedulingCancel(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96962
97097
|
if (!result.ok) {
|
|
96963
97098
|
return {
|
|
96964
97099
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96972,9 +97107,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
96972
97107
|
|
|
96973
97108
|
// src/funcs/schedulingCreate.ts
|
|
96974
97109
|
function schedulingCreate(client, request, options) {
|
|
96975
|
-
return new APIPromise($
|
|
97110
|
+
return new APIPromise($do128(client, request, options));
|
|
96976
97111
|
}
|
|
96977
|
-
async function $
|
|
97112
|
+
async function $do128(client, request, options) {
|
|
96978
97113
|
const parsed = safeParse4(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96979
97114
|
if (!parsed.ok) {
|
|
96980
97115
|
return [parsed, { status: "invalid" }];
|
|
@@ -97068,12 +97203,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
97068
97203
|
});
|
|
97069
97204
|
|
|
97070
97205
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
97071
|
-
var
|
|
97206
|
+
var args128, tool$schedulingCreate;
|
|
97072
97207
|
var init_schedulingCreate2 = __esm(() => {
|
|
97073
97208
|
init_schedulingCreate();
|
|
97074
97209
|
init_operations();
|
|
97075
97210
|
init_tools();
|
|
97076
|
-
|
|
97211
|
+
args128 = {
|
|
97077
97212
|
request: CreateScheduleRequest$inboundSchema
|
|
97078
97213
|
};
|
|
97079
97214
|
tool$schedulingCreate = {
|
|
@@ -97082,9 +97217,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
97082
97217
|
|
|
97083
97218
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97084
97219
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
97085
|
-
args:
|
|
97086
|
-
tool: async (client,
|
|
97087
|
-
const [result, apiCall] = await schedulingCreate(client,
|
|
97220
|
+
args: args128,
|
|
97221
|
+
tool: async (client, args129, ctx) => {
|
|
97222
|
+
const [result, apiCall] = await schedulingCreate(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97088
97223
|
if (!result.ok) {
|
|
97089
97224
|
return {
|
|
97090
97225
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97099,9 +97234,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
97099
97234
|
|
|
97100
97235
|
// src/funcs/schedulingGet.ts
|
|
97101
97236
|
function schedulingGet(client, request, options) {
|
|
97102
|
-
return new APIPromise($
|
|
97237
|
+
return new APIPromise($do129(client, request, options));
|
|
97103
97238
|
}
|
|
97104
|
-
async function $
|
|
97239
|
+
async function $do129(client, request, options) {
|
|
97105
97240
|
const parsed = safeParse4(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97106
97241
|
if (!parsed.ok) {
|
|
97107
97242
|
return [parsed, { status: "invalid" }];
|
|
@@ -97183,12 +97318,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
97183
97318
|
});
|
|
97184
97319
|
|
|
97185
97320
|
// src/mcp-server/tools/schedulingGet.ts
|
|
97186
|
-
var
|
|
97321
|
+
var args129, tool$schedulingGet;
|
|
97187
97322
|
var init_schedulingGet2 = __esm(() => {
|
|
97188
97323
|
init_schedulingGet();
|
|
97189
97324
|
init_operations();
|
|
97190
97325
|
init_tools();
|
|
97191
|
-
|
|
97326
|
+
args129 = {
|
|
97192
97327
|
request: GetSchedulesRequest$inboundSchema
|
|
97193
97328
|
};
|
|
97194
97329
|
tool$schedulingGet = {
|
|
@@ -97197,9 +97332,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
97197
97332
|
|
|
97198
97333
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97199
97334
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
97200
|
-
args:
|
|
97201
|
-
tool: async (client,
|
|
97202
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
97335
|
+
args: args129,
|
|
97336
|
+
tool: async (client, args130, ctx) => {
|
|
97337
|
+
const [result, apiCall] = await schedulingGet(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97203
97338
|
if (!result.ok) {
|
|
97204
97339
|
return {
|
|
97205
97340
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97214,9 +97349,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
97214
97349
|
|
|
97215
97350
|
// src/funcs/schedulingGetOccurrance.ts
|
|
97216
97351
|
function schedulingGetOccurrance(client, request, options) {
|
|
97217
|
-
return new APIPromise($
|
|
97352
|
+
return new APIPromise($do130(client, request, options));
|
|
97218
97353
|
}
|
|
97219
|
-
async function $
|
|
97354
|
+
async function $do130(client, request, options) {
|
|
97220
97355
|
const parsed = safeParse4(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97221
97356
|
if (!parsed.ok) {
|
|
97222
97357
|
return [parsed, { status: "invalid" }];
|
|
@@ -97299,12 +97434,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
97299
97434
|
});
|
|
97300
97435
|
|
|
97301
97436
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
97302
|
-
var
|
|
97437
|
+
var args130, tool$schedulingGetOccurrance;
|
|
97303
97438
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
97304
97439
|
init_schedulingGetOccurrance();
|
|
97305
97440
|
init_operations();
|
|
97306
97441
|
init_tools();
|
|
97307
|
-
|
|
97442
|
+
args130 = {
|
|
97308
97443
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
97309
97444
|
};
|
|
97310
97445
|
tool$schedulingGetOccurrance = {
|
|
@@ -97313,9 +97448,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
97313
97448
|
|
|
97314
97449
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97315
97450
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
97316
|
-
args:
|
|
97317
|
-
tool: async (client,
|
|
97318
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
97451
|
+
args: args130,
|
|
97452
|
+
tool: async (client, args131, ctx) => {
|
|
97453
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97319
97454
|
if (!result.ok) {
|
|
97320
97455
|
return {
|
|
97321
97456
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97330,9 +97465,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
97330
97465
|
|
|
97331
97466
|
// src/funcs/schedulingList.ts
|
|
97332
97467
|
function schedulingList(client, request, options) {
|
|
97333
|
-
return new APIPromise($
|
|
97468
|
+
return new APIPromise($do131(client, request, options));
|
|
97334
97469
|
}
|
|
97335
|
-
async function $
|
|
97470
|
+
async function $do131(client, request, options) {
|
|
97336
97471
|
const parsed = safeParse4(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97337
97472
|
if (!parsed.ok) {
|
|
97338
97473
|
return [parsed, { status: "invalid" }];
|
|
@@ -97416,12 +97551,12 @@ var init_schedulingList = __esm(() => {
|
|
|
97416
97551
|
});
|
|
97417
97552
|
|
|
97418
97553
|
// src/mcp-server/tools/schedulingList.ts
|
|
97419
|
-
var
|
|
97554
|
+
var args131, tool$schedulingList;
|
|
97420
97555
|
var init_schedulingList2 = __esm(() => {
|
|
97421
97556
|
init_schedulingList();
|
|
97422
97557
|
init_operations();
|
|
97423
97558
|
init_tools();
|
|
97424
|
-
|
|
97559
|
+
args131 = {
|
|
97425
97560
|
request: ListSchedulesRequest$inboundSchema
|
|
97426
97561
|
};
|
|
97427
97562
|
tool$schedulingList = {
|
|
@@ -97430,9 +97565,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
97430
97565
|
|
|
97431
97566
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97432
97567
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
97433
|
-
args:
|
|
97434
|
-
tool: async (client,
|
|
97435
|
-
const [result, apiCall] = await schedulingList(client,
|
|
97568
|
+
args: args131,
|
|
97569
|
+
tool: async (client, args132, ctx) => {
|
|
97570
|
+
const [result, apiCall] = await schedulingList(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97436
97571
|
if (!result.ok) {
|
|
97437
97572
|
return {
|
|
97438
97573
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97447,9 +97582,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
97447
97582
|
|
|
97448
97583
|
// src/funcs/schedulingUpdate.ts
|
|
97449
97584
|
function schedulingUpdate(client, request, options) {
|
|
97450
|
-
return new APIPromise($
|
|
97585
|
+
return new APIPromise($do132(client, request, options));
|
|
97451
97586
|
}
|
|
97452
|
-
async function $
|
|
97587
|
+
async function $do132(client, request, options) {
|
|
97453
97588
|
const parsed = safeParse4(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97454
97589
|
if (!parsed.ok) {
|
|
97455
97590
|
return [parsed, { status: "invalid" }];
|
|
@@ -97547,12 +97682,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
97547
97682
|
});
|
|
97548
97683
|
|
|
97549
97684
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
97550
|
-
var
|
|
97685
|
+
var args132, tool$schedulingUpdate;
|
|
97551
97686
|
var init_schedulingUpdate2 = __esm(() => {
|
|
97552
97687
|
init_schedulingUpdate();
|
|
97553
97688
|
init_operations();
|
|
97554
97689
|
init_tools();
|
|
97555
|
-
|
|
97690
|
+
args132 = {
|
|
97556
97691
|
request: UpdateScheduleRequest$inboundSchema
|
|
97557
97692
|
};
|
|
97558
97693
|
tool$schedulingUpdate = {
|
|
@@ -97561,9 +97696,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
97561
97696
|
|
|
97562
97697
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97563
97698
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
97564
|
-
args:
|
|
97565
|
-
tool: async (client,
|
|
97566
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
97699
|
+
args: args132,
|
|
97700
|
+
tool: async (client, args133, ctx) => {
|
|
97701
|
+
const [result, apiCall] = await schedulingUpdate(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97567
97702
|
if (!result.ok) {
|
|
97568
97703
|
return {
|
|
97569
97704
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97578,9 +97713,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
97578
97713
|
|
|
97579
97714
|
// src/funcs/statementsGet.ts
|
|
97580
97715
|
function statementsGet(client, request, options) {
|
|
97581
|
-
return new APIPromise($
|
|
97716
|
+
return new APIPromise($do133(client, request, options));
|
|
97582
97717
|
}
|
|
97583
|
-
async function $
|
|
97718
|
+
async function $do133(client, request, options) {
|
|
97584
97719
|
const parsed = safeParse4(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97585
97720
|
if (!parsed.ok) {
|
|
97586
97721
|
return [parsed, { status: "invalid" }];
|
|
@@ -97666,12 +97801,12 @@ var init_statementsGet = __esm(() => {
|
|
|
97666
97801
|
});
|
|
97667
97802
|
|
|
97668
97803
|
// src/mcp-server/tools/statementsGet.ts
|
|
97669
|
-
var
|
|
97804
|
+
var args133, tool$statementsGet;
|
|
97670
97805
|
var init_statementsGet2 = __esm(() => {
|
|
97671
97806
|
init_statementsGet();
|
|
97672
97807
|
init_operations();
|
|
97673
97808
|
init_tools();
|
|
97674
|
-
|
|
97809
|
+
args133 = {
|
|
97675
97810
|
request: GetStatementRequest$inboundSchema
|
|
97676
97811
|
};
|
|
97677
97812
|
tool$statementsGet = {
|
|
@@ -97682,9 +97817,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
97682
97817
|
|
|
97683
97818
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97684
97819
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
97685
|
-
args:
|
|
97686
|
-
tool: async (client,
|
|
97687
|
-
const [result, apiCall] = await statementsGet(client,
|
|
97820
|
+
args: args133,
|
|
97821
|
+
tool: async (client, args134, ctx) => {
|
|
97822
|
+
const [result, apiCall] = await statementsGet(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97688
97823
|
if (!result.ok) {
|
|
97689
97824
|
return {
|
|
97690
97825
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97699,9 +97834,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
97699
97834
|
|
|
97700
97835
|
// src/funcs/statementsList.ts
|
|
97701
97836
|
function statementsList(client, request, options) {
|
|
97702
|
-
return new APIPromise($
|
|
97837
|
+
return new APIPromise($do134(client, request, options));
|
|
97703
97838
|
}
|
|
97704
|
-
async function $
|
|
97839
|
+
async function $do134(client, request, options) {
|
|
97705
97840
|
const parsed = safeParse4(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97706
97841
|
if (!parsed.ok) {
|
|
97707
97842
|
return [parsed, { status: "invalid" }];
|
|
@@ -97787,12 +97922,12 @@ var init_statementsList = __esm(() => {
|
|
|
97787
97922
|
});
|
|
97788
97923
|
|
|
97789
97924
|
// src/mcp-server/tools/statementsList.ts
|
|
97790
|
-
var
|
|
97925
|
+
var args134, tool$statementsList;
|
|
97791
97926
|
var init_statementsList2 = __esm(() => {
|
|
97792
97927
|
init_statementsList();
|
|
97793
97928
|
init_operations();
|
|
97794
97929
|
init_tools();
|
|
97795
|
-
|
|
97930
|
+
args134 = {
|
|
97796
97931
|
request: ListStatementsRequest$inboundSchema
|
|
97797
97932
|
};
|
|
97798
97933
|
tool$statementsList = {
|
|
@@ -97801,9 +97936,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
97801
97936
|
|
|
97802
97937
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97803
97938
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
97804
|
-
args:
|
|
97805
|
-
tool: async (client,
|
|
97806
|
-
const [result, apiCall] = await statementsList(client,
|
|
97939
|
+
args: args134,
|
|
97940
|
+
tool: async (client, args135, ctx) => {
|
|
97941
|
+
const [result, apiCall] = await statementsList(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97807
97942
|
if (!result.ok) {
|
|
97808
97943
|
return {
|
|
97809
97944
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97818,9 +97953,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
97818
97953
|
|
|
97819
97954
|
// src/funcs/supportCreateTicket.ts
|
|
97820
97955
|
function supportCreateTicket(client, request, options) {
|
|
97821
|
-
return new APIPromise($
|
|
97956
|
+
return new APIPromise($do135(client, request, options));
|
|
97822
97957
|
}
|
|
97823
|
-
async function $
|
|
97958
|
+
async function $do135(client, request, options) {
|
|
97824
97959
|
const parsed = safeParse4(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97825
97960
|
if (!parsed.ok) {
|
|
97826
97961
|
return [parsed, { status: "invalid" }];
|
|
@@ -97912,12 +98047,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
97912
98047
|
});
|
|
97913
98048
|
|
|
97914
98049
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
97915
|
-
var
|
|
98050
|
+
var args135, tool$supportCreateTicket;
|
|
97916
98051
|
var init_supportCreateTicket2 = __esm(() => {
|
|
97917
98052
|
init_supportCreateTicket();
|
|
97918
98053
|
init_operations();
|
|
97919
98054
|
init_tools();
|
|
97920
|
-
|
|
98055
|
+
args135 = {
|
|
97921
98056
|
request: CreateTicketRequest$inboundSchema
|
|
97922
98057
|
};
|
|
97923
98058
|
tool$supportCreateTicket = {
|
|
@@ -97929,9 +98064,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
97929
98064
|
|
|
97930
98065
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
97931
98066
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
97932
|
-
args:
|
|
97933
|
-
tool: async (client,
|
|
97934
|
-
const [result, apiCall] = await supportCreateTicket(client,
|
|
98067
|
+
args: args135,
|
|
98068
|
+
tool: async (client, args136, ctx) => {
|
|
98069
|
+
const [result, apiCall] = await supportCreateTicket(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97935
98070
|
if (!result.ok) {
|
|
97936
98071
|
return {
|
|
97937
98072
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97946,9 +98081,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
97946
98081
|
|
|
97947
98082
|
// src/funcs/supportGetTicket.ts
|
|
97948
98083
|
function supportGetTicket(client, request, options) {
|
|
97949
|
-
return new APIPromise($
|
|
98084
|
+
return new APIPromise($do136(client, request, options));
|
|
97950
98085
|
}
|
|
97951
|
-
async function $
|
|
98086
|
+
async function $do136(client, request, options) {
|
|
97952
98087
|
const parsed = safeParse4(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97953
98088
|
if (!parsed.ok) {
|
|
97954
98089
|
return [parsed, { status: "invalid" }];
|
|
@@ -98030,12 +98165,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
98030
98165
|
});
|
|
98031
98166
|
|
|
98032
98167
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
98033
|
-
var
|
|
98168
|
+
var args136, tool$supportGetTicket;
|
|
98034
98169
|
var init_supportGetTicket2 = __esm(() => {
|
|
98035
98170
|
init_supportGetTicket();
|
|
98036
98171
|
init_operations();
|
|
98037
98172
|
init_tools();
|
|
98038
|
-
|
|
98173
|
+
args136 = {
|
|
98039
98174
|
request: GetTicketRequest$inboundSchema
|
|
98040
98175
|
};
|
|
98041
98176
|
tool$supportGetTicket = {
|
|
@@ -98047,9 +98182,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
98047
98182
|
|
|
98048
98183
|
If you're retrieving another account's ticket, then you'll need to
|
|
98049
98184
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
98050
|
-
args:
|
|
98051
|
-
tool: async (client,
|
|
98052
|
-
const [result, apiCall] = await supportGetTicket(client,
|
|
98185
|
+
args: args136,
|
|
98186
|
+
tool: async (client, args137, ctx) => {
|
|
98187
|
+
const [result, apiCall] = await supportGetTicket(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98053
98188
|
if (!result.ok) {
|
|
98054
98189
|
return {
|
|
98055
98190
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98064,9 +98199,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
98064
98199
|
|
|
98065
98200
|
// src/funcs/supportListTicketMessages.ts
|
|
98066
98201
|
function supportListTicketMessages(client, request, options) {
|
|
98067
|
-
return new APIPromise($
|
|
98202
|
+
return new APIPromise($do137(client, request, options));
|
|
98068
98203
|
}
|
|
98069
|
-
async function $
|
|
98204
|
+
async function $do137(client, request, options) {
|
|
98070
98205
|
const parsed = safeParse4(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98071
98206
|
if (!parsed.ok) {
|
|
98072
98207
|
return [parsed, { status: "invalid" }];
|
|
@@ -98148,12 +98283,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
98148
98283
|
});
|
|
98149
98284
|
|
|
98150
98285
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
98151
|
-
var
|
|
98286
|
+
var args137, tool$supportListTicketMessages;
|
|
98152
98287
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
98153
98288
|
init_supportListTicketMessages();
|
|
98154
98289
|
init_operations();
|
|
98155
98290
|
init_tools();
|
|
98156
|
-
|
|
98291
|
+
args137 = {
|
|
98157
98292
|
request: ListTicketMessagesRequest$inboundSchema
|
|
98158
98293
|
};
|
|
98159
98294
|
tool$supportListTicketMessages = {
|
|
@@ -98165,9 +98300,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
98165
98300
|
|
|
98166
98301
|
If you're listing another account's messages, then you'll need to
|
|
98167
98302
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
98168
|
-
args:
|
|
98169
|
-
tool: async (client,
|
|
98170
|
-
const [result, apiCall] = await supportListTicketMessages(client,
|
|
98303
|
+
args: args137,
|
|
98304
|
+
tool: async (client, args138, ctx) => {
|
|
98305
|
+
const [result, apiCall] = await supportListTicketMessages(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98171
98306
|
if (!result.ok) {
|
|
98172
98307
|
return {
|
|
98173
98308
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98182,9 +98317,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
98182
98317
|
|
|
98183
98318
|
// src/funcs/supportListTickets.ts
|
|
98184
98319
|
function supportListTickets(client, request, options) {
|
|
98185
|
-
return new APIPromise($
|
|
98320
|
+
return new APIPromise($do138(client, request, options));
|
|
98186
98321
|
}
|
|
98187
|
-
async function $
|
|
98322
|
+
async function $do138(client, request, options) {
|
|
98188
98323
|
const parsed = safeParse4(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98189
98324
|
if (!parsed.ok) {
|
|
98190
98325
|
return [parsed, { status: "invalid" }];
|
|
@@ -98269,12 +98404,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
98269
98404
|
});
|
|
98270
98405
|
|
|
98271
98406
|
// src/mcp-server/tools/supportListTickets.ts
|
|
98272
|
-
var
|
|
98407
|
+
var args138, tool$supportListTickets;
|
|
98273
98408
|
var init_supportListTickets2 = __esm(() => {
|
|
98274
98409
|
init_supportListTickets();
|
|
98275
98410
|
init_operations();
|
|
98276
98411
|
init_tools();
|
|
98277
|
-
|
|
98412
|
+
args138 = {
|
|
98278
98413
|
request: ListTicketsRequest$inboundSchema
|
|
98279
98414
|
};
|
|
98280
98415
|
tool$supportListTickets = {
|
|
@@ -98286,9 +98421,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
98286
98421
|
|
|
98287
98422
|
If you're listing another account's tickets, then you'll need to
|
|
98288
98423
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
98289
|
-
args:
|
|
98290
|
-
tool: async (client,
|
|
98291
|
-
const [result, apiCall] = await supportListTickets(client,
|
|
98424
|
+
args: args138,
|
|
98425
|
+
tool: async (client, args139, ctx) => {
|
|
98426
|
+
const [result, apiCall] = await supportListTickets(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98292
98427
|
if (!result.ok) {
|
|
98293
98428
|
return {
|
|
98294
98429
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98303,9 +98438,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
98303
98438
|
|
|
98304
98439
|
// src/funcs/supportUpdateTicket.ts
|
|
98305
98440
|
function supportUpdateTicket(client, request, options) {
|
|
98306
|
-
return new APIPromise($
|
|
98441
|
+
return new APIPromise($do139(client, request, options));
|
|
98307
98442
|
}
|
|
98308
|
-
async function $
|
|
98443
|
+
async function $do139(client, request, options) {
|
|
98309
98444
|
const parsed = safeParse4(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98310
98445
|
if (!parsed.ok) {
|
|
98311
98446
|
return [parsed, { status: "invalid" }];
|
|
@@ -98401,12 +98536,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
98401
98536
|
});
|
|
98402
98537
|
|
|
98403
98538
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
98404
|
-
var
|
|
98539
|
+
var args139, tool$supportUpdateTicket;
|
|
98405
98540
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
98406
98541
|
init_supportUpdateTicket();
|
|
98407
98542
|
init_operations();
|
|
98408
98543
|
init_tools();
|
|
98409
|
-
|
|
98544
|
+
args139 = {
|
|
98410
98545
|
request: UpdateTicketRequest$inboundSchema
|
|
98411
98546
|
};
|
|
98412
98547
|
tool$supportUpdateTicket = {
|
|
@@ -98418,9 +98553,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
98418
98553
|
|
|
98419
98554
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
98420
98555
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
98421
|
-
args:
|
|
98422
|
-
tool: async (client,
|
|
98423
|
-
const [result, apiCall] = await supportUpdateTicket(client,
|
|
98556
|
+
args: args139,
|
|
98557
|
+
tool: async (client, args140, ctx) => {
|
|
98558
|
+
const [result, apiCall] = await supportUpdateTicket(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98424
98559
|
if (!result.ok) {
|
|
98425
98560
|
return {
|
|
98426
98561
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98435,9 +98570,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
98435
98570
|
|
|
98436
98571
|
// src/funcs/sweepsCreateConfig.ts
|
|
98437
98572
|
function sweepsCreateConfig(client, request, options) {
|
|
98438
|
-
return new APIPromise($
|
|
98573
|
+
return new APIPromise($do140(client, request, options));
|
|
98439
98574
|
}
|
|
98440
|
-
async function $
|
|
98575
|
+
async function $do140(client, request, options) {
|
|
98441
98576
|
const parsed = safeParse4(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98442
98577
|
if (!parsed.ok) {
|
|
98443
98578
|
return [parsed, { status: "invalid" }];
|
|
@@ -98529,12 +98664,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
98529
98664
|
});
|
|
98530
98665
|
|
|
98531
98666
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
98532
|
-
var
|
|
98667
|
+
var args140, tool$sweepsCreateConfig;
|
|
98533
98668
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
98534
98669
|
init_sweepsCreateConfig();
|
|
98535
98670
|
init_operations();
|
|
98536
98671
|
init_tools();
|
|
98537
|
-
|
|
98672
|
+
args140 = {
|
|
98538
98673
|
request: CreateSweepConfigRequest$inboundSchema
|
|
98539
98674
|
};
|
|
98540
98675
|
tool$sweepsCreateConfig = {
|
|
@@ -98543,9 +98678,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
98543
98678
|
|
|
98544
98679
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98545
98680
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
98546
|
-
args:
|
|
98547
|
-
tool: async (client,
|
|
98548
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
98681
|
+
args: args140,
|
|
98682
|
+
tool: async (client, args141, ctx) => {
|
|
98683
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98549
98684
|
if (!result.ok) {
|
|
98550
98685
|
return {
|
|
98551
98686
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98560,9 +98695,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
98560
98695
|
|
|
98561
98696
|
// src/funcs/sweepsGet.ts
|
|
98562
98697
|
function sweepsGet(client, request, options) {
|
|
98563
|
-
return new APIPromise($
|
|
98698
|
+
return new APIPromise($do141(client, request, options));
|
|
98564
98699
|
}
|
|
98565
|
-
async function $
|
|
98700
|
+
async function $do141(client, request, options) {
|
|
98566
98701
|
const parsed = safeParse4(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98567
98702
|
if (!parsed.ok) {
|
|
98568
98703
|
return [parsed, { status: "invalid" }];
|
|
@@ -98648,12 +98783,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
98648
98783
|
});
|
|
98649
98784
|
|
|
98650
98785
|
// src/mcp-server/tools/sweepsGet.ts
|
|
98651
|
-
var
|
|
98786
|
+
var args141, tool$sweepsGet;
|
|
98652
98787
|
var init_sweepsGet2 = __esm(() => {
|
|
98653
98788
|
init_sweepsGet();
|
|
98654
98789
|
init_operations();
|
|
98655
98790
|
init_tools();
|
|
98656
|
-
|
|
98791
|
+
args141 = {
|
|
98657
98792
|
request: GetSweepRequest$inboundSchema
|
|
98658
98793
|
};
|
|
98659
98794
|
tool$sweepsGet = {
|
|
@@ -98662,9 +98797,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
98662
98797
|
|
|
98663
98798
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98664
98799
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
98665
|
-
args:
|
|
98666
|
-
tool: async (client,
|
|
98667
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
98800
|
+
args: args141,
|
|
98801
|
+
tool: async (client, args142, ctx) => {
|
|
98802
|
+
const [result, apiCall] = await sweepsGet(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98668
98803
|
if (!result.ok) {
|
|
98669
98804
|
return {
|
|
98670
98805
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98679,9 +98814,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
98679
98814
|
|
|
98680
98815
|
// src/funcs/sweepsGetConfig.ts
|
|
98681
98816
|
function sweepsGetConfig(client, request, options) {
|
|
98682
|
-
return new APIPromise($
|
|
98817
|
+
return new APIPromise($do142(client, request, options));
|
|
98683
98818
|
}
|
|
98684
|
-
async function $
|
|
98819
|
+
async function $do142(client, request, options) {
|
|
98685
98820
|
const parsed = safeParse4(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98686
98821
|
if (!parsed.ok) {
|
|
98687
98822
|
return [parsed, { status: "invalid" }];
|
|
@@ -98763,12 +98898,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
98763
98898
|
});
|
|
98764
98899
|
|
|
98765
98900
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
98766
|
-
var
|
|
98901
|
+
var args142, tool$sweepsGetConfig;
|
|
98767
98902
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
98768
98903
|
init_sweepsGetConfig();
|
|
98769
98904
|
init_operations();
|
|
98770
98905
|
init_tools();
|
|
98771
|
-
|
|
98906
|
+
args142 = {
|
|
98772
98907
|
request: GetSweepConfigRequest$inboundSchema
|
|
98773
98908
|
};
|
|
98774
98909
|
tool$sweepsGetConfig = {
|
|
@@ -98777,9 +98912,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
98777
98912
|
|
|
98778
98913
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98779
98914
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
98780
|
-
args:
|
|
98781
|
-
tool: async (client,
|
|
98782
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
98915
|
+
args: args142,
|
|
98916
|
+
tool: async (client, args143, ctx) => {
|
|
98917
|
+
const [result, apiCall] = await sweepsGetConfig(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98783
98918
|
if (!result.ok) {
|
|
98784
98919
|
return {
|
|
98785
98920
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98794,9 +98929,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
98794
98929
|
|
|
98795
98930
|
// src/funcs/sweepsList.ts
|
|
98796
98931
|
function sweepsList(client, request, options) {
|
|
98797
|
-
return new APIPromise($
|
|
98932
|
+
return new APIPromise($do143(client, request, options));
|
|
98798
98933
|
}
|
|
98799
|
-
async function $
|
|
98934
|
+
async function $do143(client, request, options) {
|
|
98800
98935
|
const parsed = safeParse4(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98801
98936
|
if (!parsed.ok) {
|
|
98802
98937
|
return [parsed, { status: "invalid" }];
|
|
@@ -98885,12 +99020,12 @@ var init_sweepsList = __esm(() => {
|
|
|
98885
99020
|
});
|
|
98886
99021
|
|
|
98887
99022
|
// src/mcp-server/tools/sweepsList.ts
|
|
98888
|
-
var
|
|
99023
|
+
var args143, tool$sweepsList;
|
|
98889
99024
|
var init_sweepsList2 = __esm(() => {
|
|
98890
99025
|
init_sweepsList();
|
|
98891
99026
|
init_operations();
|
|
98892
99027
|
init_tools();
|
|
98893
|
-
|
|
99028
|
+
args143 = {
|
|
98894
99029
|
request: ListSweepsRequest$inboundSchema
|
|
98895
99030
|
};
|
|
98896
99031
|
tool$sweepsList = {
|
|
@@ -98899,9 +99034,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
98899
99034
|
|
|
98900
99035
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98901
99036
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
98902
|
-
args:
|
|
98903
|
-
tool: async (client,
|
|
98904
|
-
const [result, apiCall] = await sweepsList(client,
|
|
99037
|
+
args: args143,
|
|
99038
|
+
tool: async (client, args144, ctx) => {
|
|
99039
|
+
const [result, apiCall] = await sweepsList(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98905
99040
|
if (!result.ok) {
|
|
98906
99041
|
return {
|
|
98907
99042
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98916,9 +99051,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
98916
99051
|
|
|
98917
99052
|
// src/funcs/sweepsListConfigs.ts
|
|
98918
99053
|
function sweepsListConfigs(client, request, options) {
|
|
98919
|
-
return new APIPromise($
|
|
99054
|
+
return new APIPromise($do144(client, request, options));
|
|
98920
99055
|
}
|
|
98921
|
-
async function $
|
|
99056
|
+
async function $do144(client, request, options) {
|
|
98922
99057
|
const parsed = safeParse4(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98923
99058
|
if (!parsed.ok) {
|
|
98924
99059
|
return [parsed, { status: "invalid" }];
|
|
@@ -98996,12 +99131,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
98996
99131
|
});
|
|
98997
99132
|
|
|
98998
99133
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
98999
|
-
var
|
|
99134
|
+
var args144, tool$sweepsListConfigs;
|
|
99000
99135
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
99001
99136
|
init_sweepsListConfigs();
|
|
99002
99137
|
init_operations();
|
|
99003
99138
|
init_tools();
|
|
99004
|
-
|
|
99139
|
+
args144 = {
|
|
99005
99140
|
request: ListSweepConfigsRequest$inboundSchema
|
|
99006
99141
|
};
|
|
99007
99142
|
tool$sweepsListConfigs = {
|
|
@@ -99010,9 +99145,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
99010
99145
|
|
|
99011
99146
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99012
99147
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
99013
|
-
args:
|
|
99014
|
-
tool: async (client,
|
|
99015
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
99148
|
+
args: args144,
|
|
99149
|
+
tool: async (client, args145, ctx) => {
|
|
99150
|
+
const [result, apiCall] = await sweepsListConfigs(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99016
99151
|
if (!result.ok) {
|
|
99017
99152
|
return {
|
|
99018
99153
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99027,9 +99162,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
99027
99162
|
|
|
99028
99163
|
// src/funcs/sweepsUpdateConfig.ts
|
|
99029
99164
|
function sweepsUpdateConfig(client, request, options) {
|
|
99030
|
-
return new APIPromise($
|
|
99165
|
+
return new APIPromise($do145(client, request, options));
|
|
99031
99166
|
}
|
|
99032
|
-
async function $
|
|
99167
|
+
async function $do145(client, request, options) {
|
|
99033
99168
|
const parsed = safeParse4(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99034
99169
|
if (!parsed.ok) {
|
|
99035
99170
|
return [parsed, { status: "invalid" }];
|
|
@@ -99125,12 +99260,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
99125
99260
|
});
|
|
99126
99261
|
|
|
99127
99262
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
99128
|
-
var
|
|
99263
|
+
var args145, tool$sweepsUpdateConfig;
|
|
99129
99264
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
99130
99265
|
init_sweepsUpdateConfig();
|
|
99131
99266
|
init_operations();
|
|
99132
99267
|
init_tools();
|
|
99133
|
-
|
|
99268
|
+
args145 = {
|
|
99134
99269
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
99135
99270
|
};
|
|
99136
99271
|
tool$sweepsUpdateConfig = {
|
|
@@ -99139,9 +99274,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
99139
99274
|
|
|
99140
99275
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99141
99276
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
99142
|
-
args:
|
|
99143
|
-
tool: async (client,
|
|
99144
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
99277
|
+
args: args145,
|
|
99278
|
+
tool: async (client, args146, ctx) => {
|
|
99279
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99145
99280
|
if (!result.ok) {
|
|
99146
99281
|
return {
|
|
99147
99282
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99156,9 +99291,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
99156
99291
|
|
|
99157
99292
|
// src/funcs/terminalApplicationsCreate.ts
|
|
99158
99293
|
function terminalApplicationsCreate(client, request, options) {
|
|
99159
|
-
return new APIPromise($
|
|
99294
|
+
return new APIPromise($do146(client, request, options));
|
|
99160
99295
|
}
|
|
99161
|
-
async function $
|
|
99296
|
+
async function $do146(client, request, options) {
|
|
99162
99297
|
const parsed = safeParse4(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
99163
99298
|
if (!parsed.ok) {
|
|
99164
99299
|
return [parsed, { status: "invalid" }];
|
|
@@ -99247,12 +99382,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
99247
99382
|
});
|
|
99248
99383
|
|
|
99249
99384
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
99250
|
-
var
|
|
99385
|
+
var args146, tool$terminalApplicationsCreate;
|
|
99251
99386
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
99252
99387
|
init_terminalApplicationsCreate();
|
|
99253
99388
|
init_components();
|
|
99254
99389
|
init_tools();
|
|
99255
|
-
|
|
99390
|
+
args146 = {
|
|
99256
99391
|
request: CreateTerminalApplication$inboundSchema
|
|
99257
99392
|
};
|
|
99258
99393
|
tool$terminalApplicationsCreate = {
|
|
@@ -99261,9 +99396,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
99261
99396
|
|
|
99262
99397
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99263
99398
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
99264
|
-
args:
|
|
99265
|
-
tool: async (client,
|
|
99266
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
99399
|
+
args: args146,
|
|
99400
|
+
tool: async (client, args147, ctx) => {
|
|
99401
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99267
99402
|
if (!result.ok) {
|
|
99268
99403
|
return {
|
|
99269
99404
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99278,9 +99413,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
99278
99413
|
|
|
99279
99414
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
99280
99415
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
99281
|
-
return new APIPromise($
|
|
99416
|
+
return new APIPromise($do147(client, request, options));
|
|
99282
99417
|
}
|
|
99283
|
-
async function $
|
|
99418
|
+
async function $do147(client, request, options) {
|
|
99284
99419
|
const parsed = safeParse4(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99285
99420
|
if (!parsed.ok) {
|
|
99286
99421
|
return [parsed, { status: "invalid" }];
|
|
@@ -99370,12 +99505,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
99370
99505
|
});
|
|
99371
99506
|
|
|
99372
99507
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
99373
|
-
var
|
|
99508
|
+
var args147, tool$terminalApplicationsCreateVersion;
|
|
99374
99509
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
99375
99510
|
init_terminalApplicationsCreateVersion();
|
|
99376
99511
|
init_operations();
|
|
99377
99512
|
init_tools();
|
|
99378
|
-
|
|
99513
|
+
args147 = {
|
|
99379
99514
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
99380
99515
|
};
|
|
99381
99516
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -99384,9 +99519,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
99384
99519
|
|
|
99385
99520
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99386
99521
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
99387
|
-
args:
|
|
99388
|
-
tool: async (client,
|
|
99389
|
-
const [result, apiCall] = await terminalApplicationsCreateVersion(client,
|
|
99522
|
+
args: args147,
|
|
99523
|
+
tool: async (client, args148, ctx) => {
|
|
99524
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99390
99525
|
if (!result.ok) {
|
|
99391
99526
|
return {
|
|
99392
99527
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99401,9 +99536,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
99401
99536
|
|
|
99402
99537
|
// src/funcs/terminalApplicationsDelete.ts
|
|
99403
99538
|
function terminalApplicationsDelete(client, request, options) {
|
|
99404
|
-
return new APIPromise($
|
|
99539
|
+
return new APIPromise($do148(client, request, options));
|
|
99405
99540
|
}
|
|
99406
|
-
async function $
|
|
99541
|
+
async function $do148(client, request, options) {
|
|
99407
99542
|
const parsed = safeParse4(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99408
99543
|
if (!parsed.ok) {
|
|
99409
99544
|
return [parsed, { status: "invalid" }];
|
|
@@ -99487,12 +99622,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
99487
99622
|
});
|
|
99488
99623
|
|
|
99489
99624
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
99490
|
-
var
|
|
99625
|
+
var args148, tool$terminalApplicationsDelete;
|
|
99491
99626
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
99492
99627
|
init_terminalApplicationsDelete();
|
|
99493
99628
|
init_operations();
|
|
99494
99629
|
init_tools();
|
|
99495
|
-
|
|
99630
|
+
args148 = {
|
|
99496
99631
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
99497
99632
|
};
|
|
99498
99633
|
tool$terminalApplicationsDelete = {
|
|
@@ -99501,9 +99636,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
99501
99636
|
|
|
99502
99637
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99503
99638
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
99504
|
-
args:
|
|
99505
|
-
tool: async (client,
|
|
99506
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
99639
|
+
args: args148,
|
|
99640
|
+
tool: async (client, args149, ctx) => {
|
|
99641
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99507
99642
|
if (!result.ok) {
|
|
99508
99643
|
return {
|
|
99509
99644
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99517,9 +99652,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
99517
99652
|
|
|
99518
99653
|
// src/funcs/terminalApplicationsGet.ts
|
|
99519
99654
|
function terminalApplicationsGet(client, request, options) {
|
|
99520
|
-
return new APIPromise($
|
|
99655
|
+
return new APIPromise($do149(client, request, options));
|
|
99521
99656
|
}
|
|
99522
|
-
async function $
|
|
99657
|
+
async function $do149(client, request, options) {
|
|
99523
99658
|
const parsed = safeParse4(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99524
99659
|
if (!parsed.ok) {
|
|
99525
99660
|
return [parsed, { status: "invalid" }];
|
|
@@ -99594,12 +99729,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
99594
99729
|
});
|
|
99595
99730
|
|
|
99596
99731
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
99597
|
-
var
|
|
99732
|
+
var args149, tool$terminalApplicationsGet;
|
|
99598
99733
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
99599
99734
|
init_terminalApplicationsGet();
|
|
99600
99735
|
init_operations();
|
|
99601
99736
|
init_tools();
|
|
99602
|
-
|
|
99737
|
+
args149 = {
|
|
99603
99738
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
99604
99739
|
};
|
|
99605
99740
|
tool$terminalApplicationsGet = {
|
|
@@ -99608,9 +99743,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
99608
99743
|
|
|
99609
99744
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99610
99745
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
99611
|
-
args:
|
|
99612
|
-
tool: async (client,
|
|
99613
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
99746
|
+
args: args149,
|
|
99747
|
+
tool: async (client, args150, ctx) => {
|
|
99748
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99614
99749
|
if (!result.ok) {
|
|
99615
99750
|
return {
|
|
99616
99751
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99625,9 +99760,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
99625
99760
|
|
|
99626
99761
|
// src/funcs/terminalApplicationsList.ts
|
|
99627
99762
|
function terminalApplicationsList(client, _request, options) {
|
|
99628
|
-
return new APIPromise($
|
|
99763
|
+
return new APIPromise($do150(client, _request, options));
|
|
99629
99764
|
}
|
|
99630
|
-
async function $
|
|
99765
|
+
async function $do150(client, _request, options) {
|
|
99631
99766
|
const path = pathToFunc("/terminal-applications")();
|
|
99632
99767
|
const headers = new Headers(compactMap({
|
|
99633
99768
|
Accept: "application/json",
|
|
@@ -99691,12 +99826,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
99691
99826
|
});
|
|
99692
99827
|
|
|
99693
99828
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
99694
|
-
var
|
|
99829
|
+
var args150, tool$terminalApplicationsList;
|
|
99695
99830
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
99696
99831
|
init_terminalApplicationsList();
|
|
99697
99832
|
init_operations();
|
|
99698
99833
|
init_tools();
|
|
99699
|
-
|
|
99834
|
+
args150 = {
|
|
99700
99835
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
99701
99836
|
};
|
|
99702
99837
|
tool$terminalApplicationsList = {
|
|
@@ -99705,9 +99840,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
99705
99840
|
|
|
99706
99841
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99707
99842
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
99708
|
-
args:
|
|
99709
|
-
tool: async (client,
|
|
99710
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
99843
|
+
args: args150,
|
|
99844
|
+
tool: async (client, args151, ctx) => {
|
|
99845
|
+
const [result, apiCall] = await terminalApplicationsList(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99711
99846
|
if (!result.ok) {
|
|
99712
99847
|
return {
|
|
99713
99848
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99722,9 +99857,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
99722
99857
|
|
|
99723
99858
|
// src/funcs/transfersCreate.ts
|
|
99724
99859
|
function transfersCreate(client, request, options) {
|
|
99725
|
-
return new APIPromise($
|
|
99860
|
+
return new APIPromise($do151(client, request, options));
|
|
99726
99861
|
}
|
|
99727
|
-
async function $
|
|
99862
|
+
async function $do151(client, request, options) {
|
|
99728
99863
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99729
99864
|
if (!parsed.ok) {
|
|
99730
99865
|
return [parsed, { status: "invalid" }];
|
|
@@ -99817,12 +99952,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
99817
99952
|
});
|
|
99818
99953
|
|
|
99819
99954
|
// src/mcp-server/tools/transfersCreate.ts
|
|
99820
|
-
var
|
|
99955
|
+
var args151, tool$transfersCreate;
|
|
99821
99956
|
var init_transfersCreate2 = __esm(() => {
|
|
99822
99957
|
init_transfersCreate();
|
|
99823
99958
|
init_operations();
|
|
99824
99959
|
init_tools();
|
|
99825
|
-
|
|
99960
|
+
args151 = {
|
|
99826
99961
|
request: CreateTransferRequest$inboundSchema
|
|
99827
99962
|
};
|
|
99828
99963
|
tool$transfersCreate = {
|
|
@@ -99833,9 +99968,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
99833
99968
|
|
|
99834
99969
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99835
99970
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
99836
|
-
args:
|
|
99837
|
-
tool: async (client,
|
|
99838
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
99971
|
+
args: args151,
|
|
99972
|
+
tool: async (client, args152, ctx) => {
|
|
99973
|
+
const [result, apiCall] = await transfersCreate(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99839
99974
|
if (!result.ok) {
|
|
99840
99975
|
return {
|
|
99841
99976
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99850,9 +99985,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
99850
99985
|
|
|
99851
99986
|
// src/funcs/transfersCreateCancellation.ts
|
|
99852
99987
|
function transfersCreateCancellation(client, request, options) {
|
|
99853
|
-
return new APIPromise($
|
|
99988
|
+
return new APIPromise($do152(client, request, options));
|
|
99854
99989
|
}
|
|
99855
|
-
async function $
|
|
99990
|
+
async function $do152(client, request, options) {
|
|
99856
99991
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99857
99992
|
if (!parsed.ok) {
|
|
99858
99993
|
return [parsed, { status: "invalid" }];
|
|
@@ -99935,12 +100070,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
99935
100070
|
});
|
|
99936
100071
|
|
|
99937
100072
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
99938
|
-
var
|
|
100073
|
+
var args152, tool$transfersCreateCancellation;
|
|
99939
100074
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
99940
100075
|
init_transfersCreateCancellation();
|
|
99941
100076
|
init_operations();
|
|
99942
100077
|
init_tools();
|
|
99943
|
-
|
|
100078
|
+
args152 = {
|
|
99944
100079
|
request: CreateCancellationRequest$inboundSchema
|
|
99945
100080
|
};
|
|
99946
100081
|
tool$transfersCreateCancellation = {
|
|
@@ -99949,9 +100084,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
99949
100084
|
|
|
99950
100085
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
99951
100086
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
99952
|
-
args:
|
|
99953
|
-
tool: async (client,
|
|
99954
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
100087
|
+
args: args152,
|
|
100088
|
+
tool: async (client, args153, ctx) => {
|
|
100089
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99955
100090
|
if (!result.ok) {
|
|
99956
100091
|
return {
|
|
99957
100092
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99966,9 +100101,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
99966
100101
|
|
|
99967
100102
|
// src/funcs/transfersCreateReversal.ts
|
|
99968
100103
|
function transfersCreateReversal(client, request, options) {
|
|
99969
|
-
return new APIPromise($
|
|
100104
|
+
return new APIPromise($do153(client, request, options));
|
|
99970
100105
|
}
|
|
99971
|
-
async function $
|
|
100106
|
+
async function $do153(client, request, options) {
|
|
99972
100107
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99973
100108
|
if (!parsed.ok) {
|
|
99974
100109
|
return [parsed, { status: "invalid" }];
|
|
@@ -100067,12 +100202,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
100067
100202
|
});
|
|
100068
100203
|
|
|
100069
100204
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
100070
|
-
var
|
|
100205
|
+
var args153, tool$transfersCreateReversal;
|
|
100071
100206
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
100072
100207
|
init_transfersCreateReversal();
|
|
100073
100208
|
init_operations();
|
|
100074
100209
|
init_tools();
|
|
100075
|
-
|
|
100210
|
+
args153 = {
|
|
100076
100211
|
request: CreateReversalRequest$inboundSchema
|
|
100077
100212
|
};
|
|
100078
100213
|
tool$transfersCreateReversal = {
|
|
@@ -100083,9 +100218,9 @@ to learn more.
|
|
|
100083
100218
|
|
|
100084
100219
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
100085
100220
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
100086
|
-
args:
|
|
100087
|
-
tool: async (client,
|
|
100088
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
100221
|
+
args: args153,
|
|
100222
|
+
tool: async (client, args154, ctx) => {
|
|
100223
|
+
const [result, apiCall] = await transfersCreateReversal(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100089
100224
|
if (!result.ok) {
|
|
100090
100225
|
return {
|
|
100091
100226
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100100,9 +100235,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
100100
100235
|
|
|
100101
100236
|
// src/funcs/transfersGenerateOptions.ts
|
|
100102
100237
|
function transfersGenerateOptions(client, request, options) {
|
|
100103
|
-
return new APIPromise($
|
|
100238
|
+
return new APIPromise($do154(client, request, options));
|
|
100104
100239
|
}
|
|
100105
|
-
async function $
|
|
100240
|
+
async function $do154(client, request, options) {
|
|
100106
100241
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100107
100242
|
if (!parsed.ok) {
|
|
100108
100243
|
return [parsed, { status: "invalid" }];
|
|
@@ -100186,12 +100321,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
100186
100321
|
});
|
|
100187
100322
|
|
|
100188
100323
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
100189
|
-
var
|
|
100324
|
+
var args154, tool$transfersGenerateOptions;
|
|
100190
100325
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
100191
100326
|
init_transfersGenerateOptions();
|
|
100192
100327
|
init_operations();
|
|
100193
100328
|
init_tools();
|
|
100194
|
-
|
|
100329
|
+
args154 = {
|
|
100195
100330
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
100196
100331
|
};
|
|
100197
100332
|
tool$transfersGenerateOptions = {
|
|
@@ -100205,9 +100340,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
100205
100340
|
|
|
100206
100341
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100207
100342
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
100208
|
-
args:
|
|
100209
|
-
tool: async (client,
|
|
100210
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
100343
|
+
args: args154,
|
|
100344
|
+
tool: async (client, args155, ctx) => {
|
|
100345
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100211
100346
|
if (!result.ok) {
|
|
100212
100347
|
return {
|
|
100213
100348
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100222,9 +100357,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
100222
100357
|
|
|
100223
100358
|
// src/funcs/transfersGet.ts
|
|
100224
100359
|
function transfersGet(client, request, options) {
|
|
100225
|
-
return new APIPromise($
|
|
100360
|
+
return new APIPromise($do155(client, request, options));
|
|
100226
100361
|
}
|
|
100227
|
-
async function $
|
|
100362
|
+
async function $do155(client, request, options) {
|
|
100228
100363
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100229
100364
|
if (!parsed.ok) {
|
|
100230
100365
|
return [parsed, { status: "invalid" }];
|
|
@@ -100306,12 +100441,12 @@ var init_transfersGet = __esm(() => {
|
|
|
100306
100441
|
});
|
|
100307
100442
|
|
|
100308
100443
|
// src/mcp-server/tools/transfersGet.ts
|
|
100309
|
-
var
|
|
100444
|
+
var args155, tool$transfersGet;
|
|
100310
100445
|
var init_transfersGet2 = __esm(() => {
|
|
100311
100446
|
init_transfersGet();
|
|
100312
100447
|
init_operations();
|
|
100313
100448
|
init_tools();
|
|
100314
|
-
|
|
100449
|
+
args155 = {
|
|
100315
100450
|
request: GetTransferRequest$inboundSchema
|
|
100316
100451
|
};
|
|
100317
100452
|
tool$transfersGet = {
|
|
@@ -100323,9 +100458,9 @@ to learn more.
|
|
|
100323
100458
|
|
|
100324
100459
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100325
100460
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
100326
|
-
args:
|
|
100327
|
-
tool: async (client,
|
|
100328
|
-
const [result, apiCall] = await transfersGet(client,
|
|
100461
|
+
args: args155,
|
|
100462
|
+
tool: async (client, args156, ctx) => {
|
|
100463
|
+
const [result, apiCall] = await transfersGet(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100329
100464
|
if (!result.ok) {
|
|
100330
100465
|
return {
|
|
100331
100466
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100340,9 +100475,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
100340
100475
|
|
|
100341
100476
|
// src/funcs/transfersGetCancellation.ts
|
|
100342
100477
|
function transfersGetCancellation(client, request, options) {
|
|
100343
|
-
return new APIPromise($
|
|
100478
|
+
return new APIPromise($do156(client, request, options));
|
|
100344
100479
|
}
|
|
100345
|
-
async function $
|
|
100480
|
+
async function $do156(client, request, options) {
|
|
100346
100481
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100347
100482
|
if (!parsed.ok) {
|
|
100348
100483
|
return [parsed, { status: "invalid" }];
|
|
@@ -100428,12 +100563,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
100428
100563
|
});
|
|
100429
100564
|
|
|
100430
100565
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
100431
|
-
var
|
|
100566
|
+
var args156, tool$transfersGetCancellation;
|
|
100432
100567
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
100433
100568
|
init_transfersGetCancellation();
|
|
100434
100569
|
init_operations();
|
|
100435
100570
|
init_tools();
|
|
100436
|
-
|
|
100571
|
+
args156 = {
|
|
100437
100572
|
request: GetCancellationRequest$inboundSchema
|
|
100438
100573
|
};
|
|
100439
100574
|
tool$transfersGetCancellation = {
|
|
@@ -100442,9 +100577,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
100442
100577
|
|
|
100443
100578
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
100444
100579
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
100445
|
-
args:
|
|
100446
|
-
tool: async (client,
|
|
100447
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
100580
|
+
args: args156,
|
|
100581
|
+
tool: async (client, args157, ctx) => {
|
|
100582
|
+
const [result, apiCall] = await transfersGetCancellation(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100448
100583
|
if (!result.ok) {
|
|
100449
100584
|
return {
|
|
100450
100585
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100459,9 +100594,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
100459
100594
|
|
|
100460
100595
|
// src/funcs/transfersGetRefund.ts
|
|
100461
100596
|
function transfersGetRefund(client, request, options) {
|
|
100462
|
-
return new APIPromise($
|
|
100597
|
+
return new APIPromise($do157(client, request, options));
|
|
100463
100598
|
}
|
|
100464
|
-
async function $
|
|
100599
|
+
async function $do157(client, request, options) {
|
|
100465
100600
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100466
100601
|
if (!parsed.ok) {
|
|
100467
100602
|
return [parsed, { status: "invalid" }];
|
|
@@ -100547,12 +100682,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
100547
100682
|
});
|
|
100548
100683
|
|
|
100549
100684
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
100550
|
-
var
|
|
100685
|
+
var args157, tool$transfersGetRefund;
|
|
100551
100686
|
var init_transfersGetRefund2 = __esm(() => {
|
|
100552
100687
|
init_transfersGetRefund();
|
|
100553
100688
|
init_operations();
|
|
100554
100689
|
init_tools();
|
|
100555
|
-
|
|
100690
|
+
args157 = {
|
|
100556
100691
|
request: GetRefundRequest$inboundSchema
|
|
100557
100692
|
};
|
|
100558
100693
|
tool$transfersGetRefund = {
|
|
@@ -100561,9 +100696,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
100561
100696
|
|
|
100562
100697
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100563
100698
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
100564
|
-
args:
|
|
100565
|
-
tool: async (client,
|
|
100566
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
100699
|
+
args: args157,
|
|
100700
|
+
tool: async (client, args158, ctx) => {
|
|
100701
|
+
const [result, apiCall] = await transfersGetRefund(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100567
100702
|
if (!result.ok) {
|
|
100568
100703
|
return {
|
|
100569
100704
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100578,9 +100713,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
100578
100713
|
|
|
100579
100714
|
// src/funcs/transfersInitiateRefund.ts
|
|
100580
100715
|
function transfersInitiateRefund(client, request, options) {
|
|
100581
|
-
return new APIPromise($
|
|
100716
|
+
return new APIPromise($do158(client, request, options));
|
|
100582
100717
|
}
|
|
100583
|
-
async function $
|
|
100718
|
+
async function $do158(client, request, options) {
|
|
100584
100719
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100585
100720
|
if (!parsed.ok) {
|
|
100586
100721
|
return [parsed, { status: "invalid" }];
|
|
@@ -100672,12 +100807,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
100672
100807
|
});
|
|
100673
100808
|
|
|
100674
100809
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
100675
|
-
var
|
|
100810
|
+
var args158, tool$transfersInitiateRefund;
|
|
100676
100811
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
100677
100812
|
init_transfersInitiateRefund();
|
|
100678
100813
|
init_operations();
|
|
100679
100814
|
init_tools();
|
|
100680
|
-
|
|
100815
|
+
args158 = {
|
|
100681
100816
|
request: InitiateRefundRequest$inboundSchema
|
|
100682
100817
|
};
|
|
100683
100818
|
tool$transfersInitiateRefund = {
|
|
@@ -100689,9 +100824,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
100689
100824
|
|
|
100690
100825
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100691
100826
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
100692
|
-
args:
|
|
100693
|
-
tool: async (client,
|
|
100694
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
100827
|
+
args: args158,
|
|
100828
|
+
tool: async (client, args159, ctx) => {
|
|
100829
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100695
100830
|
if (!result.ok) {
|
|
100696
100831
|
return {
|
|
100697
100832
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100706,9 +100841,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
100706
100841
|
|
|
100707
100842
|
// src/funcs/transfersList.ts
|
|
100708
100843
|
function transfersList(client, request, options) {
|
|
100709
|
-
return new APIPromise($
|
|
100844
|
+
return new APIPromise($do159(client, request, options));
|
|
100710
100845
|
}
|
|
100711
|
-
async function $
|
|
100846
|
+
async function $do159(client, request, options) {
|
|
100712
100847
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100713
100848
|
if (!parsed.ok) {
|
|
100714
100849
|
return [parsed, { status: "invalid" }];
|
|
@@ -100804,12 +100939,12 @@ var init_transfersList = __esm(() => {
|
|
|
100804
100939
|
});
|
|
100805
100940
|
|
|
100806
100941
|
// src/mcp-server/tools/transfersList.ts
|
|
100807
|
-
var
|
|
100942
|
+
var args159, tool$transfersList;
|
|
100808
100943
|
var init_transfersList2 = __esm(() => {
|
|
100809
100944
|
init_transfersList();
|
|
100810
100945
|
init_operations();
|
|
100811
100946
|
init_tools();
|
|
100812
|
-
|
|
100947
|
+
args159 = {
|
|
100813
100948
|
request: ListTransfersRequest$inboundSchema
|
|
100814
100949
|
};
|
|
100815
100950
|
tool$transfersList = {
|
|
@@ -100825,9 +100960,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
100825
100960
|
|
|
100826
100961
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100827
100962
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
100828
|
-
args:
|
|
100829
|
-
tool: async (client,
|
|
100830
|
-
const [result, apiCall] = await transfersList(client,
|
|
100963
|
+
args: args159,
|
|
100964
|
+
tool: async (client, args160, ctx) => {
|
|
100965
|
+
const [result, apiCall] = await transfersList(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100831
100966
|
if (!result.ok) {
|
|
100832
100967
|
return {
|
|
100833
100968
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100842,9 +100977,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
100842
100977
|
|
|
100843
100978
|
// src/funcs/transfersListRefunds.ts
|
|
100844
100979
|
function transfersListRefunds(client, request, options) {
|
|
100845
|
-
return new APIPromise($
|
|
100980
|
+
return new APIPromise($do160(client, request, options));
|
|
100846
100981
|
}
|
|
100847
|
-
async function $
|
|
100982
|
+
async function $do160(client, request, options) {
|
|
100848
100983
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100849
100984
|
if (!parsed.ok) {
|
|
100850
100985
|
return [parsed, { status: "invalid" }];
|
|
@@ -100926,12 +101061,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
100926
101061
|
});
|
|
100927
101062
|
|
|
100928
101063
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
100929
|
-
var
|
|
101064
|
+
var args160, tool$transfersListRefunds;
|
|
100930
101065
|
var init_transfersListRefunds2 = __esm(() => {
|
|
100931
101066
|
init_transfersListRefunds();
|
|
100932
101067
|
init_operations();
|
|
100933
101068
|
init_tools();
|
|
100934
|
-
|
|
101069
|
+
args160 = {
|
|
100935
101070
|
request: ListRefundsRequest$inboundSchema
|
|
100936
101071
|
};
|
|
100937
101072
|
tool$transfersListRefunds = {
|
|
@@ -100940,9 +101075,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
100940
101075
|
|
|
100941
101076
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100942
101077
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
100943
|
-
args:
|
|
100944
|
-
tool: async (client,
|
|
100945
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
101078
|
+
args: args160,
|
|
101079
|
+
tool: async (client, args161, ctx) => {
|
|
101080
|
+
const [result, apiCall] = await transfersListRefunds(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100946
101081
|
if (!result.ok) {
|
|
100947
101082
|
return {
|
|
100948
101083
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100957,9 +101092,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
100957
101092
|
|
|
100958
101093
|
// src/funcs/transfersUpdate.ts
|
|
100959
101094
|
function transfersUpdate(client, request, options) {
|
|
100960
|
-
return new APIPromise($
|
|
101095
|
+
return new APIPromise($do161(client, request, options));
|
|
100961
101096
|
}
|
|
100962
|
-
async function $
|
|
101097
|
+
async function $do161(client, request, options) {
|
|
100963
101098
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100964
101099
|
if (!parsed.ok) {
|
|
100965
101100
|
return [parsed, { status: "invalid" }];
|
|
@@ -101045,12 +101180,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
101045
101180
|
});
|
|
101046
101181
|
|
|
101047
101182
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
101048
|
-
var
|
|
101183
|
+
var args161, tool$transfersUpdate;
|
|
101049
101184
|
var init_transfersUpdate2 = __esm(() => {
|
|
101050
101185
|
init_transfersUpdate();
|
|
101051
101186
|
init_operations();
|
|
101052
101187
|
init_tools();
|
|
101053
|
-
|
|
101188
|
+
args161 = {
|
|
101054
101189
|
request: UpdateTransferRequest$inboundSchema
|
|
101055
101190
|
};
|
|
101056
101191
|
tool$transfersUpdate = {
|
|
@@ -101061,9 +101196,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
101061
101196
|
|
|
101062
101197
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101063
101198
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
101064
|
-
args:
|
|
101065
|
-
tool: async (client,
|
|
101066
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
101199
|
+
args: args161,
|
|
101200
|
+
tool: async (client, args162, ctx) => {
|
|
101201
|
+
const [result, apiCall] = await transfersUpdate(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101067
101202
|
if (!result.ok) {
|
|
101068
101203
|
return {
|
|
101069
101204
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101078,9 +101213,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
101078
101213
|
|
|
101079
101214
|
// src/funcs/underwritingGet.ts
|
|
101080
101215
|
function underwritingGet(client, request, options) {
|
|
101081
|
-
return new APIPromise($
|
|
101216
|
+
return new APIPromise($do162(client, request, options));
|
|
101082
101217
|
}
|
|
101083
|
-
async function $
|
|
101218
|
+
async function $do162(client, request, options) {
|
|
101084
101219
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101085
101220
|
if (!parsed.ok) {
|
|
101086
101221
|
return [parsed, { status: "invalid" }];
|
|
@@ -101158,12 +101293,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
101158
101293
|
});
|
|
101159
101294
|
|
|
101160
101295
|
// src/mcp-server/tools/underwritingGet.ts
|
|
101161
|
-
var
|
|
101296
|
+
var args162, tool$underwritingGet;
|
|
101162
101297
|
var init_underwritingGet2 = __esm(() => {
|
|
101163
101298
|
init_underwritingGet();
|
|
101164
101299
|
init_operations();
|
|
101165
101300
|
init_tools();
|
|
101166
|
-
|
|
101301
|
+
args162 = {
|
|
101167
101302
|
request: GetUnderwritingRequest$inboundSchema
|
|
101168
101303
|
};
|
|
101169
101304
|
tool$underwritingGet = {
|
|
@@ -101174,9 +101309,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
101174
101309
|
|
|
101175
101310
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101176
101311
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
101177
|
-
args:
|
|
101178
|
-
tool: async (client,
|
|
101179
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
101312
|
+
args: args162,
|
|
101313
|
+
tool: async (client, args163, ctx) => {
|
|
101314
|
+
const [result, apiCall] = await underwritingGet(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101180
101315
|
if (!result.ok) {
|
|
101181
101316
|
return {
|
|
101182
101317
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101191,9 +101326,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
101191
101326
|
|
|
101192
101327
|
// src/funcs/underwritingSave.ts
|
|
101193
101328
|
function underwritingSave(client, request, options) {
|
|
101194
|
-
return new APIPromise($
|
|
101329
|
+
return new APIPromise($do163(client, request, options));
|
|
101195
101330
|
}
|
|
101196
|
-
async function $
|
|
101331
|
+
async function $do163(client, request, options) {
|
|
101197
101332
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101198
101333
|
if (!parsed.ok) {
|
|
101199
101334
|
return [parsed, { status: "invalid" }];
|
|
@@ -101289,12 +101424,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
101289
101424
|
});
|
|
101290
101425
|
|
|
101291
101426
|
// src/mcp-server/tools/underwritingSave.ts
|
|
101292
|
-
var
|
|
101427
|
+
var args163, tool$underwritingSave;
|
|
101293
101428
|
var init_underwritingSave2 = __esm(() => {
|
|
101294
101429
|
init_underwritingSave();
|
|
101295
101430
|
init_operations();
|
|
101296
101431
|
init_tools();
|
|
101297
|
-
|
|
101432
|
+
args163 = {
|
|
101298
101433
|
request: SaveUnderwritingRequest$inboundSchema
|
|
101299
101434
|
};
|
|
101300
101435
|
tool$underwritingSave = {
|
|
@@ -101305,9 +101440,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
101305
101440
|
|
|
101306
101441
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101307
101442
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
101308
|
-
args:
|
|
101309
|
-
tool: async (client,
|
|
101310
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
101443
|
+
args: args163,
|
|
101444
|
+
tool: async (client, args164, ctx) => {
|
|
101445
|
+
const [result, apiCall] = await underwritingSave(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101311
101446
|
if (!result.ok) {
|
|
101312
101447
|
return {
|
|
101313
101448
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101322,9 +101457,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
101322
101457
|
|
|
101323
101458
|
// src/funcs/underwritingUpsert.ts
|
|
101324
101459
|
function underwritingUpsert(client, request, options) {
|
|
101325
|
-
return new APIPromise($
|
|
101460
|
+
return new APIPromise($do164(client, request, options));
|
|
101326
101461
|
}
|
|
101327
|
-
async function $
|
|
101462
|
+
async function $do164(client, request, options) {
|
|
101328
101463
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101329
101464
|
if (!parsed.ok) {
|
|
101330
101465
|
return [parsed, { status: "invalid" }];
|
|
@@ -101420,12 +101555,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
101420
101555
|
});
|
|
101421
101556
|
|
|
101422
101557
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
101423
|
-
var
|
|
101558
|
+
var args164, tool$underwritingUpsert;
|
|
101424
101559
|
var init_underwritingUpsert2 = __esm(() => {
|
|
101425
101560
|
init_underwritingUpsert();
|
|
101426
101561
|
init_operations();
|
|
101427
101562
|
init_tools();
|
|
101428
|
-
|
|
101563
|
+
args164 = {
|
|
101429
101564
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
101430
101565
|
};
|
|
101431
101566
|
tool$underwritingUpsert = {
|
|
@@ -101436,9 +101571,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
101436
101571
|
|
|
101437
101572
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101438
101573
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
101439
|
-
args:
|
|
101440
|
-
tool: async (client,
|
|
101441
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
101574
|
+
args: args164,
|
|
101575
|
+
tool: async (client, args165, ctx) => {
|
|
101576
|
+
const [result, apiCall] = await underwritingUpsert(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101442
101577
|
if (!result.ok) {
|
|
101443
101578
|
return {
|
|
101444
101579
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101453,9 +101588,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
101453
101588
|
|
|
101454
101589
|
// src/funcs/walletsCreate.ts
|
|
101455
101590
|
function walletsCreate(client, request, options) {
|
|
101456
|
-
return new APIPromise($
|
|
101591
|
+
return new APIPromise($do165(client, request, options));
|
|
101457
101592
|
}
|
|
101458
|
-
async function $
|
|
101593
|
+
async function $do165(client, request, options) {
|
|
101459
101594
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101460
101595
|
if (!parsed.ok) {
|
|
101461
101596
|
return [parsed, { status: "invalid" }];
|
|
@@ -101549,12 +101684,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
101549
101684
|
});
|
|
101550
101685
|
|
|
101551
101686
|
// src/mcp-server/tools/walletsCreate.ts
|
|
101552
|
-
var
|
|
101687
|
+
var args165, tool$walletsCreate;
|
|
101553
101688
|
var init_walletsCreate2 = __esm(() => {
|
|
101554
101689
|
init_walletsCreate();
|
|
101555
101690
|
init_operations();
|
|
101556
101691
|
init_tools();
|
|
101557
|
-
|
|
101692
|
+
args165 = {
|
|
101558
101693
|
request: CreateWalletRequest$inboundSchema
|
|
101559
101694
|
};
|
|
101560
101695
|
tool$walletsCreate = {
|
|
@@ -101565,9 +101700,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
101565
101700
|
|
|
101566
101701
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101567
101702
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
101568
|
-
args:
|
|
101569
|
-
tool: async (client,
|
|
101570
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
101703
|
+
args: args165,
|
|
101704
|
+
tool: async (client, args166, ctx) => {
|
|
101705
|
+
const [result, apiCall] = await walletsCreate(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101571
101706
|
if (!result.ok) {
|
|
101572
101707
|
return {
|
|
101573
101708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101582,9 +101717,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
101582
101717
|
|
|
101583
101718
|
// src/funcs/walletsGet.ts
|
|
101584
101719
|
function walletsGet(client, request, options) {
|
|
101585
|
-
return new APIPromise($
|
|
101720
|
+
return new APIPromise($do166(client, request, options));
|
|
101586
101721
|
}
|
|
101587
|
-
async function $
|
|
101722
|
+
async function $do166(client, request, options) {
|
|
101588
101723
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101589
101724
|
if (!parsed.ok) {
|
|
101590
101725
|
return [parsed, { status: "invalid" }];
|
|
@@ -101666,12 +101801,12 @@ var init_walletsGet = __esm(() => {
|
|
|
101666
101801
|
});
|
|
101667
101802
|
|
|
101668
101803
|
// src/mcp-server/tools/walletsGet.ts
|
|
101669
|
-
var
|
|
101804
|
+
var args166, tool$walletsGet;
|
|
101670
101805
|
var init_walletsGet2 = __esm(() => {
|
|
101671
101806
|
init_walletsGet();
|
|
101672
101807
|
init_operations();
|
|
101673
101808
|
init_tools();
|
|
101674
|
-
|
|
101809
|
+
args166 = {
|
|
101675
101810
|
request: GetWalletRequest$inboundSchema
|
|
101676
101811
|
};
|
|
101677
101812
|
tool$walletsGet = {
|
|
@@ -101682,9 +101817,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
101682
101817
|
|
|
101683
101818
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101684
101819
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
101685
|
-
args:
|
|
101686
|
-
tool: async (client,
|
|
101687
|
-
const [result, apiCall] = await walletsGet(client,
|
|
101820
|
+
args: args166,
|
|
101821
|
+
tool: async (client, args167, ctx) => {
|
|
101822
|
+
const [result, apiCall] = await walletsGet(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101688
101823
|
if (!result.ok) {
|
|
101689
101824
|
return {
|
|
101690
101825
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101699,9 +101834,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
101699
101834
|
|
|
101700
101835
|
// src/funcs/walletsList.ts
|
|
101701
101836
|
function walletsList(client, request, options) {
|
|
101702
|
-
return new APIPromise($
|
|
101837
|
+
return new APIPromise($do167(client, request, options));
|
|
101703
101838
|
}
|
|
101704
|
-
async function $
|
|
101839
|
+
async function $do167(client, request, options) {
|
|
101705
101840
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101706
101841
|
if (!parsed.ok) {
|
|
101707
101842
|
return [parsed, { status: "invalid" }];
|
|
@@ -101789,12 +101924,12 @@ var init_walletsList = __esm(() => {
|
|
|
101789
101924
|
});
|
|
101790
101925
|
|
|
101791
101926
|
// src/mcp-server/tools/walletsList.ts
|
|
101792
|
-
var
|
|
101927
|
+
var args167, tool$walletsList;
|
|
101793
101928
|
var init_walletsList2 = __esm(() => {
|
|
101794
101929
|
init_walletsList();
|
|
101795
101930
|
init_operations();
|
|
101796
101931
|
init_tools();
|
|
101797
|
-
|
|
101932
|
+
args167 = {
|
|
101798
101933
|
request: ListWalletsRequest$inboundSchema
|
|
101799
101934
|
};
|
|
101800
101935
|
tool$walletsList = {
|
|
@@ -101805,9 +101940,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
101805
101940
|
|
|
101806
101941
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101807
101942
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
101808
|
-
args:
|
|
101809
|
-
tool: async (client,
|
|
101810
|
-
const [result, apiCall] = await walletsList(client,
|
|
101943
|
+
args: args167,
|
|
101944
|
+
tool: async (client, args168, ctx) => {
|
|
101945
|
+
const [result, apiCall] = await walletsList(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101811
101946
|
if (!result.ok) {
|
|
101812
101947
|
return {
|
|
101813
101948
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101822,9 +101957,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
101822
101957
|
|
|
101823
101958
|
// src/funcs/walletsUpdate.ts
|
|
101824
101959
|
function walletsUpdate(client, request, options) {
|
|
101825
|
-
return new APIPromise($
|
|
101960
|
+
return new APIPromise($do168(client, request, options));
|
|
101826
101961
|
}
|
|
101827
|
-
async function $
|
|
101962
|
+
async function $do168(client, request, options) {
|
|
101828
101963
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101829
101964
|
if (!parsed.ok) {
|
|
101830
101965
|
return [parsed, { status: "invalid" }];
|
|
@@ -101922,12 +102057,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
101922
102057
|
});
|
|
101923
102058
|
|
|
101924
102059
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
101925
|
-
var
|
|
102060
|
+
var args168, tool$walletsUpdate;
|
|
101926
102061
|
var init_walletsUpdate2 = __esm(() => {
|
|
101927
102062
|
init_walletsUpdate();
|
|
101928
102063
|
init_operations();
|
|
101929
102064
|
init_tools();
|
|
101930
|
-
|
|
102065
|
+
args168 = {
|
|
101931
102066
|
request: UpdateWalletRequest$inboundSchema
|
|
101932
102067
|
};
|
|
101933
102068
|
tool$walletsUpdate = {
|
|
@@ -101938,9 +102073,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
101938
102073
|
|
|
101939
102074
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101940
102075
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
101941
|
-
args:
|
|
101942
|
-
tool: async (client,
|
|
101943
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
102076
|
+
args: args168,
|
|
102077
|
+
tool: async (client, args169, ctx) => {
|
|
102078
|
+
const [result, apiCall] = await walletsUpdate(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101944
102079
|
if (!result.ok) {
|
|
101945
102080
|
return {
|
|
101946
102081
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101955,9 +102090,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
101955
102090
|
|
|
101956
102091
|
// src/funcs/walletTransactionsGet.ts
|
|
101957
102092
|
function walletTransactionsGet(client, request, options) {
|
|
101958
|
-
return new APIPromise($
|
|
102093
|
+
return new APIPromise($do169(client, request, options));
|
|
101959
102094
|
}
|
|
101960
|
-
async function $
|
|
102095
|
+
async function $do169(client, request, options) {
|
|
101961
102096
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101962
102097
|
if (!parsed.ok) {
|
|
101963
102098
|
return [parsed, { status: "invalid" }];
|
|
@@ -102043,12 +102178,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
102043
102178
|
});
|
|
102044
102179
|
|
|
102045
102180
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
102046
|
-
var
|
|
102181
|
+
var args169, tool$walletTransactionsGet;
|
|
102047
102182
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
102048
102183
|
init_walletTransactionsGet();
|
|
102049
102184
|
init_operations();
|
|
102050
102185
|
init_tools();
|
|
102051
|
-
|
|
102186
|
+
args169 = {
|
|
102052
102187
|
request: GetWalletTransactionRequest$inboundSchema
|
|
102053
102188
|
};
|
|
102054
102189
|
tool$walletTransactionsGet = {
|
|
@@ -102059,9 +102194,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
102059
102194
|
|
|
102060
102195
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102061
102196
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
102062
|
-
args:
|
|
102063
|
-
tool: async (client,
|
|
102064
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
102197
|
+
args: args169,
|
|
102198
|
+
tool: async (client, args170, ctx) => {
|
|
102199
|
+
const [result, apiCall] = await walletTransactionsGet(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102065
102200
|
if (!result.ok) {
|
|
102066
102201
|
return {
|
|
102067
102202
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102076,9 +102211,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
102076
102211
|
|
|
102077
102212
|
// src/funcs/walletTransactionsList.ts
|
|
102078
102213
|
function walletTransactionsList(client, request, options) {
|
|
102079
|
-
return new APIPromise($
|
|
102214
|
+
return new APIPromise($do170(client, request, options));
|
|
102080
102215
|
}
|
|
102081
|
-
async function $
|
|
102216
|
+
async function $do170(client, request, options) {
|
|
102082
102217
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102083
102218
|
if (!parsed.ok) {
|
|
102084
102219
|
return [parsed, { status: "invalid" }];
|
|
@@ -102178,12 +102313,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
102178
102313
|
});
|
|
102179
102314
|
|
|
102180
102315
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
102181
|
-
var
|
|
102316
|
+
var args170, tool$walletTransactionsList;
|
|
102182
102317
|
var init_walletTransactionsList2 = __esm(() => {
|
|
102183
102318
|
init_walletTransactionsList();
|
|
102184
102319
|
init_operations();
|
|
102185
102320
|
init_tools();
|
|
102186
|
-
|
|
102321
|
+
args170 = {
|
|
102187
102322
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
102188
102323
|
};
|
|
102189
102324
|
tool$walletTransactionsList = {
|
|
@@ -102194,9 +102329,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
102194
102329
|
|
|
102195
102330
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102196
102331
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
102197
|
-
args:
|
|
102198
|
-
tool: async (client,
|
|
102199
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
102332
|
+
args: args170,
|
|
102333
|
+
tool: async (client, args171, ctx) => {
|
|
102334
|
+
const [result, apiCall] = await walletTransactionsList(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102200
102335
|
if (!result.ok) {
|
|
102201
102336
|
return {
|
|
102202
102337
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102211,9 +102346,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
102211
102346
|
|
|
102212
102347
|
// src/funcs/webhooksCreate.ts
|
|
102213
102348
|
function webhooksCreate(client, request, options) {
|
|
102214
|
-
return new APIPromise($
|
|
102349
|
+
return new APIPromise($do171(client, request, options));
|
|
102215
102350
|
}
|
|
102216
|
-
async function $
|
|
102351
|
+
async function $do171(client, request, options) {
|
|
102217
102352
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
102218
102353
|
if (!parsed.ok) {
|
|
102219
102354
|
return [parsed, { status: "invalid" }];
|
|
@@ -102302,20 +102437,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
102302
102437
|
});
|
|
102303
102438
|
|
|
102304
102439
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
102305
|
-
var
|
|
102440
|
+
var args171, tool$webhooksCreate;
|
|
102306
102441
|
var init_webhooksCreate2 = __esm(() => {
|
|
102307
102442
|
init_webhooksCreate();
|
|
102308
102443
|
init_components();
|
|
102309
102444
|
init_tools();
|
|
102310
|
-
|
|
102445
|
+
args171 = {
|
|
102311
102446
|
request: CreateWebhook$inboundSchema
|
|
102312
102447
|
};
|
|
102313
102448
|
tool$webhooksCreate = {
|
|
102314
102449
|
name: "webhooks-create",
|
|
102315
102450
|
description: `Create a new webhook for the account.`,
|
|
102316
|
-
args:
|
|
102317
|
-
tool: async (client,
|
|
102318
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
102451
|
+
args: args171,
|
|
102452
|
+
tool: async (client, args172, ctx) => {
|
|
102453
|
+
const [result, apiCall] = await webhooksCreate(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102319
102454
|
if (!result.ok) {
|
|
102320
102455
|
return {
|
|
102321
102456
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102330,9 +102465,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
102330
102465
|
|
|
102331
102466
|
// src/funcs/webhooksDisable.ts
|
|
102332
102467
|
function webhooksDisable(client, request, options) {
|
|
102333
|
-
return new APIPromise($
|
|
102468
|
+
return new APIPromise($do172(client, request, options));
|
|
102334
102469
|
}
|
|
102335
|
-
async function $
|
|
102470
|
+
async function $do172(client, request, options) {
|
|
102336
102471
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102337
102472
|
if (!parsed.ok) {
|
|
102338
102473
|
return [parsed, { status: "invalid" }];
|
|
@@ -102421,20 +102556,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
102421
102556
|
});
|
|
102422
102557
|
|
|
102423
102558
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
102424
|
-
var
|
|
102559
|
+
var args172, tool$webhooksDisable;
|
|
102425
102560
|
var init_webhooksDisable2 = __esm(() => {
|
|
102426
102561
|
init_webhooksDisable();
|
|
102427
102562
|
init_operations();
|
|
102428
102563
|
init_tools();
|
|
102429
|
-
|
|
102564
|
+
args172 = {
|
|
102430
102565
|
request: DisableWebhookRequest$inboundSchema
|
|
102431
102566
|
};
|
|
102432
102567
|
tool$webhooksDisable = {
|
|
102433
102568
|
name: "webhooks-disable",
|
|
102434
102569
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
102435
|
-
args:
|
|
102436
|
-
tool: async (client,
|
|
102437
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
102570
|
+
args: args172,
|
|
102571
|
+
tool: async (client, args173, ctx) => {
|
|
102572
|
+
const [result, apiCall] = await webhooksDisable(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102438
102573
|
if (!result.ok) {
|
|
102439
102574
|
return {
|
|
102440
102575
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102448,9 +102583,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
102448
102583
|
|
|
102449
102584
|
// src/funcs/webhooksGet.ts
|
|
102450
102585
|
function webhooksGet(client, request, options) {
|
|
102451
|
-
return new APIPromise($
|
|
102586
|
+
return new APIPromise($do173(client, request, options));
|
|
102452
102587
|
}
|
|
102453
|
-
async function $
|
|
102588
|
+
async function $do173(client, request, options) {
|
|
102454
102589
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102455
102590
|
if (!parsed.ok) {
|
|
102456
102591
|
return [parsed, { status: "invalid" }];
|
|
@@ -102528,20 +102663,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
102528
102663
|
});
|
|
102529
102664
|
|
|
102530
102665
|
// src/mcp-server/tools/webhooksGet.ts
|
|
102531
|
-
var
|
|
102666
|
+
var args173, tool$webhooksGet;
|
|
102532
102667
|
var init_webhooksGet2 = __esm(() => {
|
|
102533
102668
|
init_webhooksGet();
|
|
102534
102669
|
init_operations();
|
|
102535
102670
|
init_tools();
|
|
102536
|
-
|
|
102671
|
+
args173 = {
|
|
102537
102672
|
request: GetWebhookRequest$inboundSchema
|
|
102538
102673
|
};
|
|
102539
102674
|
tool$webhooksGet = {
|
|
102540
102675
|
name: "webhooks-get",
|
|
102541
102676
|
description: `Get details of a specific webhook.`,
|
|
102542
|
-
args:
|
|
102543
|
-
tool: async (client,
|
|
102544
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
102677
|
+
args: args173,
|
|
102678
|
+
tool: async (client, args174, ctx) => {
|
|
102679
|
+
const [result, apiCall] = await webhooksGet(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102545
102680
|
if (!result.ok) {
|
|
102546
102681
|
return {
|
|
102547
102682
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102556,9 +102691,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
102556
102691
|
|
|
102557
102692
|
// src/funcs/webhooksGetSecret.ts
|
|
102558
102693
|
function webhooksGetSecret(client, request, options) {
|
|
102559
|
-
return new APIPromise($
|
|
102694
|
+
return new APIPromise($do174(client, request, options));
|
|
102560
102695
|
}
|
|
102561
|
-
async function $
|
|
102696
|
+
async function $do174(client, request, options) {
|
|
102562
102697
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102563
102698
|
if (!parsed.ok) {
|
|
102564
102699
|
return [parsed, { status: "invalid" }];
|
|
@@ -102636,20 +102771,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
102636
102771
|
});
|
|
102637
102772
|
|
|
102638
102773
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
102639
|
-
var
|
|
102774
|
+
var args174, tool$webhooksGetSecret;
|
|
102640
102775
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
102641
102776
|
init_webhooksGetSecret();
|
|
102642
102777
|
init_operations();
|
|
102643
102778
|
init_tools();
|
|
102644
|
-
|
|
102779
|
+
args174 = {
|
|
102645
102780
|
request: GetWebhookSecretRequest$inboundSchema
|
|
102646
102781
|
};
|
|
102647
102782
|
tool$webhooksGetSecret = {
|
|
102648
102783
|
name: "webhooks-get-secret",
|
|
102649
102784
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
102650
|
-
args:
|
|
102651
|
-
tool: async (client,
|
|
102652
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
102785
|
+
args: args174,
|
|
102786
|
+
tool: async (client, args175, ctx) => {
|
|
102787
|
+
const [result, apiCall] = await webhooksGetSecret(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102653
102788
|
if (!result.ok) {
|
|
102654
102789
|
return {
|
|
102655
102790
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102664,9 +102799,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
102664
102799
|
|
|
102665
102800
|
// src/funcs/webhooksList.ts
|
|
102666
102801
|
function webhooksList(client, _request, options) {
|
|
102667
|
-
return new APIPromise($
|
|
102802
|
+
return new APIPromise($do175(client, _request, options));
|
|
102668
102803
|
}
|
|
102669
|
-
async function $
|
|
102804
|
+
async function $do175(client, _request, options) {
|
|
102670
102805
|
const path = pathToFunc("/webhooks")();
|
|
102671
102806
|
const headers = new Headers(compactMap({
|
|
102672
102807
|
Accept: "application/json",
|
|
@@ -102730,20 +102865,20 @@ var init_webhooksList = __esm(() => {
|
|
|
102730
102865
|
});
|
|
102731
102866
|
|
|
102732
102867
|
// src/mcp-server/tools/webhooksList.ts
|
|
102733
|
-
var
|
|
102868
|
+
var args175, tool$webhooksList;
|
|
102734
102869
|
var init_webhooksList2 = __esm(() => {
|
|
102735
102870
|
init_webhooksList();
|
|
102736
102871
|
init_operations();
|
|
102737
102872
|
init_tools();
|
|
102738
|
-
|
|
102873
|
+
args175 = {
|
|
102739
102874
|
request: ListWebhooksRequest$inboundSchema
|
|
102740
102875
|
};
|
|
102741
102876
|
tool$webhooksList = {
|
|
102742
102877
|
name: "webhooks-list",
|
|
102743
102878
|
description: `List all webhooks configured for the account.`,
|
|
102744
|
-
args:
|
|
102745
|
-
tool: async (client,
|
|
102746
|
-
const [result, apiCall] = await webhooksList(client,
|
|
102879
|
+
args: args175,
|
|
102880
|
+
tool: async (client, args176, ctx) => {
|
|
102881
|
+
const [result, apiCall] = await webhooksList(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102747
102882
|
if (!result.ok) {
|
|
102748
102883
|
return {
|
|
102749
102884
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102758,9 +102893,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
102758
102893
|
|
|
102759
102894
|
// src/funcs/webhooksListEventTypes.ts
|
|
102760
102895
|
function webhooksListEventTypes(client, _request, options) {
|
|
102761
|
-
return new APIPromise($
|
|
102896
|
+
return new APIPromise($do176(client, _request, options));
|
|
102762
102897
|
}
|
|
102763
|
-
async function $
|
|
102898
|
+
async function $do176(client, _request, options) {
|
|
102764
102899
|
const path = pathToFunc("/event-types")();
|
|
102765
102900
|
const headers = new Headers(compactMap({
|
|
102766
102901
|
Accept: "application/json",
|
|
@@ -102824,20 +102959,20 @@ var init_webhooksListEventTypes = __esm(() => {
|
|
|
102824
102959
|
});
|
|
102825
102960
|
|
|
102826
102961
|
// src/mcp-server/tools/webhooksListEventTypes.ts
|
|
102827
|
-
var
|
|
102962
|
+
var args176, tool$webhooksListEventTypes;
|
|
102828
102963
|
var init_webhooksListEventTypes2 = __esm(() => {
|
|
102829
102964
|
init_webhooksListEventTypes();
|
|
102830
102965
|
init_operations();
|
|
102831
102966
|
init_tools();
|
|
102832
|
-
|
|
102967
|
+
args176 = {
|
|
102833
102968
|
request: ListEventTypesRequest$inboundSchema
|
|
102834
102969
|
};
|
|
102835
102970
|
tool$webhooksListEventTypes = {
|
|
102836
102971
|
name: "webhooks-list-event-types",
|
|
102837
102972
|
description: `List all available event types that can be subscribed to.`,
|
|
102838
|
-
args:
|
|
102839
|
-
tool: async (client,
|
|
102840
|
-
const [result, apiCall] = await webhooksListEventTypes(client,
|
|
102973
|
+
args: args176,
|
|
102974
|
+
tool: async (client, args177, ctx) => {
|
|
102975
|
+
const [result, apiCall] = await webhooksListEventTypes(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102841
102976
|
if (!result.ok) {
|
|
102842
102977
|
return {
|
|
102843
102978
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102852,9 +102987,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
102852
102987
|
|
|
102853
102988
|
// src/funcs/webhooksPing.ts
|
|
102854
102989
|
function webhooksPing(client, request, options) {
|
|
102855
|
-
return new APIPromise($
|
|
102990
|
+
return new APIPromise($do177(client, request, options));
|
|
102856
102991
|
}
|
|
102857
|
-
async function $
|
|
102992
|
+
async function $do177(client, request, options) {
|
|
102858
102993
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102859
102994
|
if (!parsed.ok) {
|
|
102860
102995
|
return [parsed, { status: "invalid" }];
|
|
@@ -102932,20 +103067,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
102932
103067
|
});
|
|
102933
103068
|
|
|
102934
103069
|
// src/mcp-server/tools/webhooksPing.ts
|
|
102935
|
-
var
|
|
103070
|
+
var args177, tool$webhooksPing;
|
|
102936
103071
|
var init_webhooksPing2 = __esm(() => {
|
|
102937
103072
|
init_webhooksPing();
|
|
102938
103073
|
init_operations();
|
|
102939
103074
|
init_tools();
|
|
102940
|
-
|
|
103075
|
+
args177 = {
|
|
102941
103076
|
request: PingWebhookRequest$inboundSchema
|
|
102942
103077
|
};
|
|
102943
103078
|
tool$webhooksPing = {
|
|
102944
103079
|
name: "webhooks-ping",
|
|
102945
103080
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
102946
|
-
args:
|
|
102947
|
-
tool: async (client,
|
|
102948
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
103081
|
+
args: args177,
|
|
103082
|
+
tool: async (client, args178, ctx) => {
|
|
103083
|
+
const [result, apiCall] = await webhooksPing(client, args178.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102949
103084
|
if (!result.ok) {
|
|
102950
103085
|
return {
|
|
102951
103086
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102960,9 +103095,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
102960
103095
|
|
|
102961
103096
|
// src/funcs/webhooksUpdate.ts
|
|
102962
103097
|
function webhooksUpdate(client, request, options) {
|
|
102963
|
-
return new APIPromise($
|
|
103098
|
+
return new APIPromise($do178(client, request, options));
|
|
102964
103099
|
}
|
|
102965
|
-
async function $
|
|
103100
|
+
async function $do178(client, request, options) {
|
|
102966
103101
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102967
103102
|
if (!parsed.ok) {
|
|
102968
103103
|
return [parsed, { status: "invalid" }];
|
|
@@ -103056,20 +103191,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
103056
103191
|
});
|
|
103057
103192
|
|
|
103058
103193
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
103059
|
-
var
|
|
103194
|
+
var args178, tool$webhooksUpdate;
|
|
103060
103195
|
var init_webhooksUpdate2 = __esm(() => {
|
|
103061
103196
|
init_webhooksUpdate();
|
|
103062
103197
|
init_operations();
|
|
103063
103198
|
init_tools();
|
|
103064
|
-
|
|
103199
|
+
args178 = {
|
|
103065
103200
|
request: UpdateWebhookRequest$inboundSchema
|
|
103066
103201
|
};
|
|
103067
103202
|
tool$webhooksUpdate = {
|
|
103068
103203
|
name: "webhooks-update",
|
|
103069
103204
|
description: `Update an existing webhook.`,
|
|
103070
|
-
args:
|
|
103071
|
-
tool: async (client,
|
|
103072
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
103205
|
+
args: args178,
|
|
103206
|
+
tool: async (client, args179, ctx) => {
|
|
103207
|
+
const [result, apiCall] = await webhooksUpdate(client, args179.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103073
103208
|
if (!result.ok) {
|
|
103074
103209
|
return {
|
|
103075
103210
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103086,7 +103221,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
103086
103221
|
function createMCPServer(deps) {
|
|
103087
103222
|
const server = new McpServer({
|
|
103088
103223
|
name: "Moov",
|
|
103089
|
-
version: "0.0.0-dev.
|
|
103224
|
+
version: "0.0.0-dev.6"
|
|
103090
103225
|
});
|
|
103091
103226
|
const client = new MoovCore({
|
|
103092
103227
|
security: deps.security,
|
|
@@ -103175,6 +103310,7 @@ function createMCPServer(deps) {
|
|
|
103175
103310
|
tool(tool$invoicesListInvoices);
|
|
103176
103311
|
tool(tool$invoicesGetInvoice);
|
|
103177
103312
|
tool(tool$invoicesUpdateInvoice);
|
|
103313
|
+
tool(tool$invoicesDelete);
|
|
103178
103314
|
tool(tool$invoicesCreateInvoicePayment);
|
|
103179
103315
|
tool(tool$invoicesListInvoicePayments);
|
|
103180
103316
|
tool(tool$paymentLinksCreate);
|
|
@@ -103376,6 +103512,7 @@ var init_server2 = __esm(() => {
|
|
|
103376
103512
|
init_institutionsSearchInstitutions2();
|
|
103377
103513
|
init_invoicesCreateInvoice2();
|
|
103378
103514
|
init_invoicesCreateInvoicePayment2();
|
|
103515
|
+
init_invoicesDelete2();
|
|
103379
103516
|
init_invoicesGetInvoice2();
|
|
103380
103517
|
init_invoicesListInvoicePayments2();
|
|
103381
103518
|
init_invoicesListInvoices2();
|
|
@@ -104664,7 +104801,7 @@ var routes = rn({
|
|
|
104664
104801
|
var app = Ve(routes, {
|
|
104665
104802
|
name: "mcp",
|
|
104666
104803
|
versionInfo: {
|
|
104667
|
-
currentVersion: "0.0.0-dev.
|
|
104804
|
+
currentVersion: "0.0.0-dev.6"
|
|
104668
104805
|
}
|
|
104669
104806
|
});
|
|
104670
104807
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -104672,5 +104809,5 @@ export {
|
|
|
104672
104809
|
app
|
|
104673
104810
|
};
|
|
104674
104811
|
|
|
104675
|
-
//# debugId=
|
|
104812
|
+
//# debugId=46431F73BF08C3E264756E2164756E21
|
|
104676
104813
|
//# sourceMappingURL=mcp-server.js.map
|