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