@moovio/sdk 26.2.0 → 26.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -56
- package/bin/mcp-server.js +541 -229
- package/bin/mcp-server.js.map +29 -21
- package/funcs/cardIssuingUpdate.d.ts +1 -1
- package/funcs/cardIssuingUpdate.d.ts.map +1 -1
- package/funcs/cardIssuingUpdate.js +2 -1
- package/funcs/cardIssuingUpdate.js.map +1 -1
- package/funcs/disputesUploadEvidenceFile.js +4 -1
- package/funcs/disputesUploadEvidenceFile.js.map +1 -1
- package/funcs/filesUpload.js +4 -1
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/imagesUpdate.d.ts.map +1 -1
- package/funcs/imagesUpdate.js +4 -1
- package/funcs/imagesUpdate.js.map +1 -1
- package/funcs/imagesUpload.d.ts.map +1 -1
- package/funcs/imagesUpload.js +4 -1
- package/funcs/imagesUpload.js.map +1 -1
- package/funcs/transfersBatchGetTransfers.d.ts +21 -0
- package/funcs/transfersBatchGetTransfers.d.ts.map +1 -0
- package/funcs/transfersBatchGetTransfers.js +131 -0
- package/funcs/transfersBatchGetTransfers.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +27 -5
- package/lib/encodings.js.map +1 -1
- package/lib/security.d.ts +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +18 -7
- 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/tools/applePayLinkToken.js +3 -3
- package/mcp-server/tools/cardIssuingUpdate.d.ts.map +1 -1
- package/mcp-server/tools/cardIssuingUpdate.js +2 -1
- package/mcp-server/tools/cardIssuingUpdate.js.map +1 -1
- package/mcp-server/tools/transfersBatchGetTransfers.d.ts +8 -0
- package/mcp-server/tools/transfersBatchGetTransfers.d.ts.map +1 -0
- package/mcp-server/tools/transfersBatchGetTransfers.js +69 -0
- package/mcp-server/tools/transfersBatchGetTransfers.js.map +1 -0
- package/models/components/batchgettransfersrequest.d.ts +20 -0
- package/models/components/batchgettransfersrequest.d.ts.map +1 -0
- package/models/components/batchgettransfersrequest.js +58 -0
- package/models/components/batchgettransfersrequest.js.map +1 -0
- package/models/components/index.d.ts +5 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +5 -0
- package/models/components/index.js.map +1 -1
- package/models/components/instantbankfailurecode.d.ts +27 -0
- package/models/components/instantbankfailurecode.d.ts.map +1 -0
- package/models/components/instantbankfailurecode.js +61 -0
- package/models/components/instantbankfailurecode.js.map +1 -0
- package/models/components/instantbanknetwork.d.ts +18 -0
- package/models/components/instantbanknetwork.d.ts.map +1 -0
- package/models/components/instantbanknetwork.js +52 -0
- package/models/components/instantbanknetwork.js.map +1 -0
- package/models/components/instantbanktransactiondetails.d.ts +51 -0
- package/models/components/instantbanktransactiondetails.d.ts.map +1 -0
- package/models/components/instantbanktransactiondetails.js +80 -0
- package/models/components/instantbanktransactiondetails.js.map +1 -0
- package/models/components/instantbanktransactionstatus.d.ts +20 -0
- package/models/components/instantbanktransactionstatus.d.ts.map +1 -0
- package/models/components/instantbanktransactionstatus.js +54 -0
- package/models/components/instantbanktransactionstatus.js.map +1 -0
- package/models/components/transferdestination.d.ts +6 -0
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +3 -0
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/webhookbillingstatementcreated.d.ts +2 -0
- package/models/components/webhookbillingstatementcreated.d.ts.map +1 -1
- package/models/components/webhookbillingstatementcreated.js +2 -0
- package/models/components/webhookbillingstatementcreated.js.map +1 -1
- package/models/components/webhookdata.d.ts +2 -2
- package/models/components/webhookdata.d.ts.map +1 -1
- package/models/components/webhookdata.js +2 -2
- package/models/components/webhookdata.js.map +1 -1
- package/models/operations/batchgettransfers.d.ts +43 -0
- package/models/operations/batchgettransfers.d.ts.map +1 -0
- package/models/operations/batchgettransfers.js +98 -0
- package/models/operations/batchgettransfers.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/models/operations/updateissuedcard.d.ts +2 -0
- package/models/operations/updateissuedcard.d.ts.map +1 -1
- package/models/operations/updateissuedcard.js +4 -0
- package/models/operations/updateissuedcard.js.map +1 -1
- package/package.json +1 -1
- package/sdk/cardissuing.d.ts +1 -1
- package/sdk/cardissuing.d.ts.map +1 -1
- package/sdk/transfers.d.ts +11 -0
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +14 -0
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/cardIssuingUpdate.ts +5 -4
- package/src/funcs/disputesUploadEvidenceFile.ts +5 -2
- package/src/funcs/filesUpload.ts +5 -2
- package/src/funcs/imagesUpdate.ts +10 -2
- package/src/funcs/imagesUpload.ts +10 -2
- package/src/funcs/transfersBatchGetTransfers.ts +180 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +32 -4
- package/src/lib/security.ts +14 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/applePayLinkToken.ts +3 -3
- package/src/mcp-server/tools/cardIssuingUpdate.ts +3 -1
- package/src/mcp-server/tools/transfersBatchGetTransfers.ts +43 -0
- package/src/models/components/batchgettransfersrequest.ts +54 -0
- package/src/models/components/index.ts +5 -0
- package/src/models/components/instantbankfailurecode.ts +36 -0
- package/src/models/components/instantbanknetwork.ts +27 -0
- package/src/models/components/instantbanktransactiondetails.ts +120 -0
- package/src/models/components/instantbanktransactionstatus.ts +31 -0
- package/src/models/components/transferdestination.ts +13 -0
- package/src/models/components/webhookbillingstatementcreated.ts +4 -0
- package/src/models/components/webhookdata.ts +6 -6
- package/src/models/operations/batchgettransfers.ts +122 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/updateissuedcard.ts +6 -0
- package/src/sdk/cardissuing.ts +1 -1
- package/src/sdk/transfers.ts +22 -0
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: "v2026.01.00",
|
|
52882
|
-
sdkVersion: "26.2.
|
|
52883
|
-
genVersion: "2.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 26.2.
|
|
52882
|
+
sdkVersion: "26.2.1",
|
|
52883
|
+
genVersion: "2.879.13",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 26.2.1 2.879.13 v2026.01.00 @moovio/sdk"
|
|
52885
52885
|
};
|
|
52886
52886
|
});
|
|
52887
52887
|
|
|
@@ -53226,17 +53226,38 @@ function queryEncoder(f) {
|
|
|
53226
53226
|
};
|
|
53227
53227
|
return bulkEncode;
|
|
53228
53228
|
}
|
|
53229
|
+
function isBlobLike(val) {
|
|
53230
|
+
if (val instanceof Blob) {
|
|
53231
|
+
return true;
|
|
53232
|
+
}
|
|
53233
|
+
if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
|
|
53234
|
+
return false;
|
|
53235
|
+
}
|
|
53236
|
+
const tag = val[Symbol.toStringTag];
|
|
53237
|
+
if (tag !== "Blob" && tag !== "File") {
|
|
53238
|
+
return false;
|
|
53239
|
+
}
|
|
53240
|
+
return "stream" in val && typeof val.stream === "function";
|
|
53241
|
+
}
|
|
53229
53242
|
function appendForm(fd, key, value, fileName) {
|
|
53230
53243
|
if (value == null) {
|
|
53231
53244
|
return;
|
|
53232
|
-
} else if (value
|
|
53233
|
-
|
|
53234
|
-
|
|
53235
|
-
|
|
53245
|
+
} else if (isBlobLike(value)) {
|
|
53246
|
+
if (fileName) {
|
|
53247
|
+
fd.append(key, value, fileName);
|
|
53248
|
+
} else {
|
|
53249
|
+
fd.append(key, value);
|
|
53250
|
+
}
|
|
53236
53251
|
} else {
|
|
53237
53252
|
fd.append(key, String(value));
|
|
53238
53253
|
}
|
|
53239
53254
|
}
|
|
53255
|
+
async function normalizeBlob(value) {
|
|
53256
|
+
if (value instanceof Blob) {
|
|
53257
|
+
return value;
|
|
53258
|
+
}
|
|
53259
|
+
return new Blob([await value.arrayBuffer()], { type: value.type });
|
|
53260
|
+
}
|
|
53240
53261
|
var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encodeSimple = (key, value, options) => {
|
|
53241
53262
|
let out = "";
|
|
53242
53263
|
const pairs = options?.explode ? explode(key, value) : [[key, value]];
|
|
@@ -54440,13 +54461,24 @@ function applyBearer(state, spec) {
|
|
|
54440
54461
|
state.headers[spec.fieldName] = value;
|
|
54441
54462
|
}
|
|
54442
54463
|
}
|
|
54443
|
-
function resolveGlobalSecurity(security) {
|
|
54444
|
-
|
|
54445
|
-
|
|
54446
|
-
|
|
54447
|
-
|
|
54448
|
-
|
|
54449
|
-
|
|
54464
|
+
function resolveGlobalSecurity(security, allowedFields) {
|
|
54465
|
+
let inputs = [
|
|
54466
|
+
[
|
|
54467
|
+
{
|
|
54468
|
+
type: "http:basic",
|
|
54469
|
+
value: { username: security?.username, password: security?.password }
|
|
54470
|
+
}
|
|
54471
|
+
]
|
|
54472
|
+
];
|
|
54473
|
+
if (allowedFields) {
|
|
54474
|
+
inputs = allowedFields.map((i) => {
|
|
54475
|
+
if (i < 0 || i >= inputs.length) {
|
|
54476
|
+
throw new RangeError(`invalid allowedFields index ${i}`);
|
|
54477
|
+
}
|
|
54478
|
+
return inputs[i];
|
|
54479
|
+
});
|
|
54480
|
+
}
|
|
54481
|
+
return resolveSecurity(...inputs);
|
|
54450
54482
|
}
|
|
54451
54483
|
async function extractSecurity(sec) {
|
|
54452
54484
|
if (sec == null) {
|
|
@@ -56672,6 +56704,18 @@ var init_bankaccountwaitfor = __esm(() => {
|
|
|
56672
56704
|
BankAccountWaitFor$outboundSchema = BankAccountWaitFor$inboundSchema;
|
|
56673
56705
|
});
|
|
56674
56706
|
|
|
56707
|
+
// src/models/components/batchgettransfersrequest.ts
|
|
56708
|
+
var BatchGetTransfersRequest$inboundSchema, BatchGetTransfersRequest$outboundSchema;
|
|
56709
|
+
var init_batchgettransfersrequest = __esm(() => {
|
|
56710
|
+
init_esm();
|
|
56711
|
+
BatchGetTransfersRequest$inboundSchema = objectType({
|
|
56712
|
+
transferIDs: arrayType(stringType())
|
|
56713
|
+
});
|
|
56714
|
+
BatchGetTransfersRequest$outboundSchema = objectType({
|
|
56715
|
+
transferIDs: arrayType(stringType())
|
|
56716
|
+
});
|
|
56717
|
+
});
|
|
56718
|
+
|
|
56675
56719
|
// src/models/components/feecategory.ts
|
|
56676
56720
|
var FeeCategory, FeeCategory$inboundSchema, FeeCategory$outboundSchema;
|
|
56677
56721
|
var init_feecategory = __esm(() => {
|
|
@@ -61208,6 +61252,84 @@ var init_moovfeedetails = __esm(() => {
|
|
|
61208
61252
|
});
|
|
61209
61253
|
});
|
|
61210
61254
|
|
|
61255
|
+
// src/models/components/instantbankfailurecode.ts
|
|
61256
|
+
var InstantBankFailureCode, InstantBankFailureCode$inboundSchema, InstantBankFailureCode$outboundSchema;
|
|
61257
|
+
var init_instantbankfailurecode = __esm(() => {
|
|
61258
|
+
init_esm();
|
|
61259
|
+
InstantBankFailureCode = {
|
|
61260
|
+
ProcessingError: "processing-error",
|
|
61261
|
+
InvalidAccount: "invalid-account",
|
|
61262
|
+
AccountClosed: "account-closed",
|
|
61263
|
+
AccountBlocked: "account-blocked",
|
|
61264
|
+
InvalidField: "invalid-field",
|
|
61265
|
+
TransactionNotSupported: "transaction-not-supported",
|
|
61266
|
+
LimitExceeded: "limit-exceeded",
|
|
61267
|
+
InvalidAmount: "invalid-amount",
|
|
61268
|
+
CustomerDeceased: "customer-deceased",
|
|
61269
|
+
ParticipantNotAvailable: "participant-not-available",
|
|
61270
|
+
Other: "other"
|
|
61271
|
+
};
|
|
61272
|
+
InstantBankFailureCode$inboundSchema = nativeEnumType(InstantBankFailureCode);
|
|
61273
|
+
InstantBankFailureCode$outboundSchema = InstantBankFailureCode$inboundSchema;
|
|
61274
|
+
});
|
|
61275
|
+
|
|
61276
|
+
// src/models/components/instantbanknetwork.ts
|
|
61277
|
+
var InstantBankNetwork, InstantBankNetwork$inboundSchema, InstantBankNetwork$outboundSchema;
|
|
61278
|
+
var init_instantbanknetwork = __esm(() => {
|
|
61279
|
+
init_esm();
|
|
61280
|
+
InstantBankNetwork = {
|
|
61281
|
+
Fednow: "fednow",
|
|
61282
|
+
Rtp: "rtp"
|
|
61283
|
+
};
|
|
61284
|
+
InstantBankNetwork$inboundSchema = nativeEnumType(InstantBankNetwork);
|
|
61285
|
+
InstantBankNetwork$outboundSchema = InstantBankNetwork$inboundSchema;
|
|
61286
|
+
});
|
|
61287
|
+
|
|
61288
|
+
// src/models/components/instantbanktransactionstatus.ts
|
|
61289
|
+
var InstantBankTransactionStatus, InstantBankTransactionStatus$inboundSchema, InstantBankTransactionStatus$outboundSchema;
|
|
61290
|
+
var init_instantbanktransactionstatus = __esm(() => {
|
|
61291
|
+
init_esm();
|
|
61292
|
+
InstantBankTransactionStatus = {
|
|
61293
|
+
Initiated: "initiated",
|
|
61294
|
+
Completed: "completed",
|
|
61295
|
+
Failed: "failed",
|
|
61296
|
+
AcceptedWithoutPosting: "accepted-without-posting"
|
|
61297
|
+
};
|
|
61298
|
+
InstantBankTransactionStatus$inboundSchema = nativeEnumType(InstantBankTransactionStatus);
|
|
61299
|
+
InstantBankTransactionStatus$outboundSchema = InstantBankTransactionStatus$inboundSchema;
|
|
61300
|
+
});
|
|
61301
|
+
|
|
61302
|
+
// src/models/components/instantbanktransactiondetails.ts
|
|
61303
|
+
var InstantBankTransactionDetails$inboundSchema, InstantBankTransactionDetails$outboundSchema;
|
|
61304
|
+
var init_instantbanktransactiondetails = __esm(() => {
|
|
61305
|
+
init_esm();
|
|
61306
|
+
init_instantbankfailurecode();
|
|
61307
|
+
init_instantbanknetwork();
|
|
61308
|
+
init_instantbanktransactionstatus();
|
|
61309
|
+
InstantBankTransactionDetails$inboundSchema = objectType({
|
|
61310
|
+
network: InstantBankNetwork$inboundSchema,
|
|
61311
|
+
status: InstantBankTransactionStatus$inboundSchema,
|
|
61312
|
+
networkResponseCode: stringType().optional(),
|
|
61313
|
+
failureCode: InstantBankFailureCode$inboundSchema.optional(),
|
|
61314
|
+
endToEndID: stringType().optional(),
|
|
61315
|
+
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61316
|
+
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61317
|
+
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61318
|
+
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
61319
|
+
});
|
|
61320
|
+
InstantBankTransactionDetails$outboundSchema = objectType({
|
|
61321
|
+
network: InstantBankNetwork$outboundSchema,
|
|
61322
|
+
status: InstantBankTransactionStatus$outboundSchema,
|
|
61323
|
+
networkResponseCode: stringType().optional(),
|
|
61324
|
+
failureCode: InstantBankFailureCode$outboundSchema.optional(),
|
|
61325
|
+
endToEndID: stringType().optional(),
|
|
61326
|
+
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61327
|
+
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61328
|
+
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61329
|
+
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
61330
|
+
});
|
|
61331
|
+
});
|
|
61332
|
+
|
|
61211
61333
|
// src/models/components/rtpfailurecode.ts
|
|
61212
61334
|
var RTPFailureCode, RTPFailureCode$inboundSchema, RTPFailureCode$outboundSchema;
|
|
61213
61335
|
var init_rtpfailurecode = __esm(() => {
|
|
@@ -61316,6 +61438,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61316
61438
|
init_achtransactiondetails();
|
|
61317
61439
|
init_applepayresponse();
|
|
61318
61440
|
init_cardtransactiondetails();
|
|
61441
|
+
init_instantbanktransactiondetails();
|
|
61319
61442
|
init_rtpfailurecode();
|
|
61320
61443
|
init_rtptransactionstatus();
|
|
61321
61444
|
init_transferaccount();
|
|
@@ -61351,7 +61474,8 @@ var init_transferdestination = __esm(() => {
|
|
|
61351
61474
|
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
61352
61475
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
61353
61476
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
61354
|
-
rtpDetails: lazyType(() => RtpDetails$inboundSchema).optional()
|
|
61477
|
+
rtpDetails: lazyType(() => RtpDetails$inboundSchema).optional(),
|
|
61478
|
+
instantBankDetails: InstantBankTransactionDetails$inboundSchema.optional()
|
|
61355
61479
|
});
|
|
61356
61480
|
TransferDestination$outboundSchema = objectType({
|
|
61357
61481
|
paymentMethodID: stringType(),
|
|
@@ -61363,7 +61487,8 @@ var init_transferdestination = __esm(() => {
|
|
|
61363
61487
|
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
61364
61488
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
61365
61489
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
61366
|
-
rtpDetails: lazyType(() => RtpDetails$outboundSchema).optional()
|
|
61490
|
+
rtpDetails: lazyType(() => RtpDetails$outboundSchema).optional(),
|
|
61491
|
+
instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional()
|
|
61367
61492
|
});
|
|
61368
61493
|
});
|
|
61369
61494
|
|
|
@@ -61594,7 +61719,7 @@ var init_createdtransfer = __esm(() => {
|
|
|
61594
61719
|
});
|
|
61595
61720
|
|
|
61596
61721
|
// src/types/blobs.ts
|
|
61597
|
-
function
|
|
61722
|
+
function isBlobLike2(val) {
|
|
61598
61723
|
if (val instanceof Blob) {
|
|
61599
61724
|
return true;
|
|
61600
61725
|
}
|
|
@@ -61613,7 +61738,7 @@ function isBlobLike(val) {
|
|
|
61613
61738
|
var blobLikeSchema;
|
|
61614
61739
|
var init_blobs = __esm(() => {
|
|
61615
61740
|
init_esm();
|
|
61616
|
-
blobLikeSchema = custom(
|
|
61741
|
+
blobLikeSchema = custom(isBlobLike2, {
|
|
61617
61742
|
message: "expected a Blob, File or Blob-like object",
|
|
61618
61743
|
fatal: true
|
|
61619
61744
|
});
|
|
@@ -67566,9 +67691,11 @@ var WebhookBillingStatementCreated$inboundSchema, WebhookBillingStatementCreated
|
|
|
67566
67691
|
var init_webhookbillingstatementcreated = __esm(() => {
|
|
67567
67692
|
init_esm();
|
|
67568
67693
|
WebhookBillingStatementCreated$inboundSchema = objectType({
|
|
67694
|
+
accountID: stringType(),
|
|
67569
67695
|
statementID: stringType()
|
|
67570
67696
|
});
|
|
67571
67697
|
WebhookBillingStatementCreated$outboundSchema = objectType({
|
|
67698
|
+
accountID: stringType(),
|
|
67572
67699
|
statementID: stringType()
|
|
67573
67700
|
});
|
|
67574
67701
|
});
|
|
@@ -68310,11 +68437,11 @@ var init_webhookdata = __esm(() => {
|
|
|
68310
68437
|
WebhookDataTicketCreated$inboundSchema,
|
|
68311
68438
|
WebhookDataTicketMessageAdded$inboundSchema,
|
|
68312
68439
|
WebhookDataWalletCreated$inboundSchema,
|
|
68440
|
+
WebhookBillingStatementCreated$inboundSchema,
|
|
68313
68441
|
WebhookDataAccountCreated$inboundSchema,
|
|
68314
68442
|
WebhookDataAccountUpdated$inboundSchema,
|
|
68315
68443
|
WebhookDataAccountDisconnected$inboundSchema,
|
|
68316
|
-
WebhookDataNetworkIDUpdated$inboundSchema
|
|
68317
|
-
WebhookBillingStatementCreated$inboundSchema
|
|
68444
|
+
WebhookDataNetworkIDUpdated$inboundSchema
|
|
68318
68445
|
]);
|
|
68319
68446
|
WebhookData$outboundSchema = unionType([
|
|
68320
68447
|
WebhookDataDisputeCreated$outboundSchema,
|
|
@@ -68349,11 +68476,11 @@ var init_webhookdata = __esm(() => {
|
|
|
68349
68476
|
WebhookDataTicketCreated$outboundSchema,
|
|
68350
68477
|
WebhookDataTicketMessageAdded$outboundSchema,
|
|
68351
68478
|
WebhookDataWalletCreated$outboundSchema,
|
|
68479
|
+
WebhookBillingStatementCreated$outboundSchema,
|
|
68352
68480
|
WebhookDataAccountCreated$outboundSchema,
|
|
68353
68481
|
WebhookDataAccountUpdated$outboundSchema,
|
|
68354
68482
|
WebhookDataAccountDisconnected$outboundSchema,
|
|
68355
|
-
WebhookDataNetworkIDUpdated$outboundSchema
|
|
68356
|
-
WebhookBillingStatementCreated$outboundSchema
|
|
68483
|
+
WebhookDataNetworkIDUpdated$outboundSchema
|
|
68357
68484
|
]);
|
|
68358
68485
|
});
|
|
68359
68486
|
|
|
@@ -68457,6 +68584,7 @@ var init_components = __esm(() => {
|
|
|
68457
68584
|
init_bankaccountverificationstatus();
|
|
68458
68585
|
init_bankaccountwaitfor();
|
|
68459
68586
|
init_basicpaymentmethod();
|
|
68587
|
+
init_batchgettransfersrequest();
|
|
68460
68588
|
init_billablefee();
|
|
68461
68589
|
init_billingcountandamount();
|
|
68462
68590
|
init_billinginterchangeprogramfee();
|
|
@@ -68648,6 +68776,10 @@ var init_components = __esm(() => {
|
|
|
68648
68776
|
init_industrytaxonomy();
|
|
68649
68777
|
init_instantbankcreditpaymentmethod();
|
|
68650
68778
|
init_instantbankcredittransferpaymentmethod();
|
|
68779
|
+
init_instantbankfailurecode();
|
|
68780
|
+
init_instantbanknetwork();
|
|
68781
|
+
init_instantbanktransactiondetails();
|
|
68782
|
+
init_instantbanktransactionstatus();
|
|
68651
68783
|
init_instantpaymentfees();
|
|
68652
68784
|
init_institutionssearchresponse();
|
|
68653
68785
|
init_invoicestatus();
|
|
@@ -71632,6 +71764,48 @@ var init_assignaccountcountries = __esm(() => {
|
|
|
71632
71764
|
});
|
|
71633
71765
|
});
|
|
71634
71766
|
|
|
71767
|
+
// src/models/operations/batchgettransfers.ts
|
|
71768
|
+
var BatchGetTransfersRequest$inboundSchema2, BatchGetTransfersRequest$outboundSchema2, BatchGetTransfersResponse$inboundSchema, BatchGetTransfersResponse$outboundSchema;
|
|
71769
|
+
var init_batchgettransfers = __esm(() => {
|
|
71770
|
+
init_esm();
|
|
71771
|
+
init_primitives();
|
|
71772
|
+
init_components();
|
|
71773
|
+
BatchGetTransfersRequest$inboundSchema2 = objectType({
|
|
71774
|
+
accountID: stringType(),
|
|
71775
|
+
BatchGetTransfersRequest: BatchGetTransfersRequest$inboundSchema
|
|
71776
|
+
}).transform((v2) => {
|
|
71777
|
+
return remap(v2, {
|
|
71778
|
+
BatchGetTransfersRequest: "batchGetTransfersRequest"
|
|
71779
|
+
});
|
|
71780
|
+
});
|
|
71781
|
+
BatchGetTransfersRequest$outboundSchema2 = objectType({
|
|
71782
|
+
accountID: stringType(),
|
|
71783
|
+
batchGetTransfersRequest: BatchGetTransfersRequest$outboundSchema
|
|
71784
|
+
}).transform((v2) => {
|
|
71785
|
+
return remap(v2, {
|
|
71786
|
+
batchGetTransfersRequest: "BatchGetTransfersRequest"
|
|
71787
|
+
});
|
|
71788
|
+
});
|
|
71789
|
+
BatchGetTransfersResponse$inboundSchema = objectType({
|
|
71790
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
71791
|
+
Result: recordType(Transfer$inboundSchema)
|
|
71792
|
+
}).transform((v2) => {
|
|
71793
|
+
return remap(v2, {
|
|
71794
|
+
Headers: "headers",
|
|
71795
|
+
Result: "result"
|
|
71796
|
+
});
|
|
71797
|
+
});
|
|
71798
|
+
BatchGetTransfersResponse$outboundSchema = objectType({
|
|
71799
|
+
headers: recordType(arrayType(stringType())),
|
|
71800
|
+
result: recordType(Transfer$outboundSchema)
|
|
71801
|
+
}).transform((v2) => {
|
|
71802
|
+
return remap(v2, {
|
|
71803
|
+
headers: "Headers",
|
|
71804
|
+
result: "Result"
|
|
71805
|
+
});
|
|
71806
|
+
});
|
|
71807
|
+
});
|
|
71808
|
+
|
|
71635
71809
|
// src/models/operations/cancelschedule.ts
|
|
71636
71810
|
var CancelScheduleRequest$inboundSchema, CancelScheduleRequest$outboundSchema, CancelScheduleResponse$inboundSchema, CancelScheduleResponse$outboundSchema;
|
|
71637
71811
|
var init_cancelschedule = __esm(() => {
|
|
@@ -77292,17 +77466,21 @@ var init_updateissuedcard2 = __esm(() => {
|
|
|
77292
77466
|
});
|
|
77293
77467
|
});
|
|
77294
77468
|
UpdateIssuedCardResponse$inboundSchema = objectType({
|
|
77295
|
-
Headers: recordType(arrayType(stringType())).default({})
|
|
77469
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
77470
|
+
Result: IssuedCard$inboundSchema
|
|
77296
77471
|
}).transform((v2) => {
|
|
77297
77472
|
return remap(v2, {
|
|
77298
|
-
Headers: "headers"
|
|
77473
|
+
Headers: "headers",
|
|
77474
|
+
Result: "result"
|
|
77299
77475
|
});
|
|
77300
77476
|
});
|
|
77301
77477
|
UpdateIssuedCardResponse$outboundSchema = objectType({
|
|
77302
|
-
headers: recordType(arrayType(stringType()))
|
|
77478
|
+
headers: recordType(arrayType(stringType())),
|
|
77479
|
+
result: IssuedCard$outboundSchema
|
|
77303
77480
|
}).transform((v2) => {
|
|
77304
77481
|
return remap(v2, {
|
|
77305
|
-
headers: "Headers"
|
|
77482
|
+
headers: "Headers",
|
|
77483
|
+
result: "Result"
|
|
77306
77484
|
});
|
|
77307
77485
|
});
|
|
77308
77486
|
});
|
|
@@ -77961,6 +78139,7 @@ var init_upsertunderwriting2 = __esm(() => {
|
|
|
77961
78139
|
var init_operations = __esm(() => {
|
|
77962
78140
|
init_acceptdispute();
|
|
77963
78141
|
init_assignaccountcountries();
|
|
78142
|
+
init_batchgettransfers();
|
|
77964
78143
|
init_cancelschedule();
|
|
77965
78144
|
init_completebankaccountverification2();
|
|
77966
78145
|
init_completemicrodeposits2();
|
|
@@ -80500,12 +80679,12 @@ var init_applePayLinkToken2 = __esm(() => {
|
|
|
80500
80679
|
};
|
|
80501
80680
|
tool$applePayLinkToken = {
|
|
80502
80681
|
name: "apple-pay-link-token",
|
|
80503
|
-
description: `Connect an Apple Pay token to the specified account.
|
|
80682
|
+
description: `Connect an Apple Pay token to the specified account.
|
|
80504
80683
|
|
|
80505
|
-
Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more.
|
|
80684
|
+
Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more.
|
|
80506
80685
|
The \`token\` data is defined by Apple Pay and should be passed through from Apple Pay's response unmodified.
|
|
80507
80686
|
|
|
80508
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80687
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80509
80688
|
you'll need to specify the \`/accounts/{accountID}/cards.write\` scope.`,
|
|
80510
80689
|
args: args20,
|
|
80511
80690
|
tool: async (client, args21, ctx) => {
|
|
@@ -83624,8 +83803,9 @@ async function $do46(client, request, options) {
|
|
|
83624
83803
|
const responseFields = {
|
|
83625
83804
|
HttpMeta: { Response: response, Request: req }
|
|
83626
83805
|
};
|
|
83627
|
-
const [result] = await match(
|
|
83628
|
-
hdrs: true
|
|
83806
|
+
const [result] = await match(json(200, UpdateIssuedCardResponse$inboundSchema, {
|
|
83807
|
+
hdrs: true,
|
|
83808
|
+
key: "Result"
|
|
83629
83809
|
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, UpdateIssuedCardError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
83630
83810
|
if (!result.ok) {
|
|
83631
83811
|
return [result, { status: "complete", request: req, response }];
|
|
@@ -83668,7 +83848,8 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.write\` scope.`,
|
|
|
83668
83848
|
isError: true
|
|
83669
83849
|
};
|
|
83670
83850
|
}
|
|
83671
|
-
|
|
83851
|
+
const value = result.value.result;
|
|
83852
|
+
return formatResult(value, apiCall);
|
|
83672
83853
|
}
|
|
83673
83854
|
};
|
|
83674
83855
|
});
|
|
@@ -85498,8 +85679,11 @@ async function $do61(client, request, options) {
|
|
|
85498
85679
|
const payload = parsed.value;
|
|
85499
85680
|
const body = new FormData;
|
|
85500
85681
|
appendForm(body, "evidenceType", payload.CreateEvidenceFileMultiPart.evidenceType);
|
|
85501
|
-
if (
|
|
85502
|
-
|
|
85682
|
+
if (isBlobLike2(payload.CreateEvidenceFileMultiPart.file)) {
|
|
85683
|
+
const file = payload.CreateEvidenceFileMultiPart.file;
|
|
85684
|
+
const blob = await normalizeBlob(file);
|
|
85685
|
+
const name = "name" in file ? file.name : undefined;
|
|
85686
|
+
appendForm(body, "file", blob, name);
|
|
85503
85687
|
} else if (isReadableStream(payload.CreateEvidenceFileMultiPart.file.content)) {
|
|
85504
85688
|
const buffer = await readableStreamToArrayBuffer(payload.CreateEvidenceFileMultiPart.file.content);
|
|
85505
85689
|
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
@@ -87595,8 +87779,11 @@ async function $do79(client, request, options) {
|
|
|
87595
87779
|
}
|
|
87596
87780
|
const payload = parsed.value;
|
|
87597
87781
|
const body = new FormData;
|
|
87598
|
-
if (
|
|
87599
|
-
|
|
87782
|
+
if (isBlobLike2(payload.FileUploadRequestMultiPart.file)) {
|
|
87783
|
+
const file = payload.FileUploadRequestMultiPart.file;
|
|
87784
|
+
const blob = await normalizeBlob(file);
|
|
87785
|
+
const name = "name" in file ? file.name : undefined;
|
|
87786
|
+
appendForm(body, "file", blob, name);
|
|
87600
87787
|
} else if (isReadableStream(payload.FileUploadRequestMultiPart.file.content)) {
|
|
87601
87788
|
const buffer = await readableStreamToArrayBuffer(payload.FileUploadRequestMultiPart.file.content);
|
|
87602
87789
|
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
@@ -88205,8 +88392,11 @@ async function $do84(client, request, options) {
|
|
|
88205
88392
|
}
|
|
88206
88393
|
const payload = parsed.value;
|
|
88207
88394
|
const body = new FormData;
|
|
88208
|
-
if (
|
|
88209
|
-
|
|
88395
|
+
if (isBlobLike2(payload.ImageUploadRequestMultiPart.image)) {
|
|
88396
|
+
const file = payload.ImageUploadRequestMultiPart.image;
|
|
88397
|
+
const blob = await normalizeBlob(file);
|
|
88398
|
+
const name = "name" in file ? file.name : undefined;
|
|
88399
|
+
appendForm(body, "image", blob, name);
|
|
88210
88400
|
} else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
|
|
88211
88401
|
const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
|
|
88212
88402
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
@@ -88479,8 +88669,11 @@ async function $do86(client, request, options) {
|
|
|
88479
88669
|
}
|
|
88480
88670
|
const payload = parsed.value;
|
|
88481
88671
|
const body = new FormData;
|
|
88482
|
-
if (
|
|
88483
|
-
|
|
88672
|
+
if (isBlobLike2(payload.ImageUploadRequestMultiPart.image)) {
|
|
88673
|
+
const file = payload.ImageUploadRequestMultiPart.image;
|
|
88674
|
+
const blob = await normalizeBlob(file);
|
|
88675
|
+
const name = "name" in file ? file.name : undefined;
|
|
88676
|
+
appendForm(body, "image", blob, name);
|
|
88484
88677
|
} else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
|
|
88485
88678
|
const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
|
|
88486
88679
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
@@ -95243,11 +95436,128 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
95243
95436
|
};
|
|
95244
95437
|
});
|
|
95245
95438
|
|
|
95246
|
-
// src/funcs/
|
|
95247
|
-
function
|
|
95439
|
+
// src/funcs/transfersBatchGetTransfers.ts
|
|
95440
|
+
function transfersBatchGetTransfers(client, request, options) {
|
|
95248
95441
|
return new APIPromise($do144(client, request, options));
|
|
95249
95442
|
}
|
|
95250
95443
|
async function $do144(client, request, options) {
|
|
95444
|
+
const parsed = safeParse4(request, (value) => BatchGetTransfersRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
95445
|
+
if (!parsed.ok) {
|
|
95446
|
+
return [parsed, { status: "invalid" }];
|
|
95447
|
+
}
|
|
95448
|
+
const payload = parsed.value;
|
|
95449
|
+
const body = encodeJSON("body", payload.BatchGetTransfersRequest, {
|
|
95450
|
+
explode: true
|
|
95451
|
+
});
|
|
95452
|
+
const pathParams = {
|
|
95453
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
95454
|
+
explode: false,
|
|
95455
|
+
charEncoding: "percent"
|
|
95456
|
+
})
|
|
95457
|
+
};
|
|
95458
|
+
const path = pathToFunc("/accounts/{accountID}/transfers/.fetch")(pathParams);
|
|
95459
|
+
const headers = new Headers(compactMap({
|
|
95460
|
+
"Content-Type": "application/json",
|
|
95461
|
+
Accept: "application/json"
|
|
95462
|
+
}));
|
|
95463
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
95464
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
95465
|
+
const context = {
|
|
95466
|
+
options: client._options,
|
|
95467
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
95468
|
+
operationID: "batchGetTransfers",
|
|
95469
|
+
oAuth2Scopes: null,
|
|
95470
|
+
resolvedSecurity: requestSecurity,
|
|
95471
|
+
securitySource: client._options.security,
|
|
95472
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
95473
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
95474
|
+
};
|
|
95475
|
+
const requestRes = client._createRequest(context, {
|
|
95476
|
+
security: requestSecurity,
|
|
95477
|
+
method: "POST",
|
|
95478
|
+
baseURL: options?.serverURL,
|
|
95479
|
+
path,
|
|
95480
|
+
headers,
|
|
95481
|
+
body,
|
|
95482
|
+
userAgent: client._options.userAgent,
|
|
95483
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
95484
|
+
}, options);
|
|
95485
|
+
if (!requestRes.ok) {
|
|
95486
|
+
return [requestRes, { status: "invalid" }];
|
|
95487
|
+
}
|
|
95488
|
+
const req = requestRes.value;
|
|
95489
|
+
const doResult = await client._do(req, {
|
|
95490
|
+
context,
|
|
95491
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
95492
|
+
retryConfig: context.retryConfig,
|
|
95493
|
+
retryCodes: context.retryCodes
|
|
95494
|
+
});
|
|
95495
|
+
if (!doResult.ok) {
|
|
95496
|
+
return [doResult, { status: "request-error", request: req }];
|
|
95497
|
+
}
|
|
95498
|
+
const response = doResult.value;
|
|
95499
|
+
const responseFields = {
|
|
95500
|
+
HttpMeta: { Response: response, Request: req }
|
|
95501
|
+
};
|
|
95502
|
+
const [result] = await match(json(200, BatchGetTransfersResponse$inboundSchema, {
|
|
95503
|
+
hdrs: true,
|
|
95504
|
+
key: "Result"
|
|
95505
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
95506
|
+
if (!result.ok) {
|
|
95507
|
+
return [result, { status: "complete", request: req, response }];
|
|
95508
|
+
}
|
|
95509
|
+
return [result, { status: "complete", request: req, response }];
|
|
95510
|
+
}
|
|
95511
|
+
var init_transfersBatchGetTransfers = __esm(() => {
|
|
95512
|
+
init_encodings();
|
|
95513
|
+
init_matchers();
|
|
95514
|
+
init_primitives();
|
|
95515
|
+
init_schemas4();
|
|
95516
|
+
init_security();
|
|
95517
|
+
init_url();
|
|
95518
|
+
init_operations();
|
|
95519
|
+
init_async();
|
|
95520
|
+
});
|
|
95521
|
+
|
|
95522
|
+
// src/mcp-server/tools/transfersBatchGetTransfers.ts
|
|
95523
|
+
var args139, tool$transfersBatchGetTransfers;
|
|
95524
|
+
var init_transfersBatchGetTransfers2 = __esm(() => {
|
|
95525
|
+
init_transfersBatchGetTransfers();
|
|
95526
|
+
init_operations();
|
|
95527
|
+
init_tools();
|
|
95528
|
+
args139 = {
|
|
95529
|
+
request: BatchGetTransfersRequest$inboundSchema2
|
|
95530
|
+
};
|
|
95531
|
+
tool$transfersBatchGetTransfers = {
|
|
95532
|
+
name: "transfers-batch-get-transfers",
|
|
95533
|
+
description: `Retrieve transfer details for multiple transfers in one request. The response is a map from each
|
|
95534
|
+
requested transfer ID to its full transfer details when available; IDs that are not found or not
|
|
95535
|
+
accessible under this account are omitted from the map.
|
|
95536
|
+
|
|
95537
|
+
Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
95538
|
+
|
|
95539
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95540
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95541
|
+
args: args139,
|
|
95542
|
+
tool: async (client, args140, ctx) => {
|
|
95543
|
+
const [result, apiCall] = await transfersBatchGetTransfers(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95544
|
+
if (!result.ok) {
|
|
95545
|
+
return {
|
|
95546
|
+
content: [{ type: "text", text: result.error.message }],
|
|
95547
|
+
isError: true
|
|
95548
|
+
};
|
|
95549
|
+
}
|
|
95550
|
+
const value = result.value.result;
|
|
95551
|
+
return formatResult(value, apiCall);
|
|
95552
|
+
}
|
|
95553
|
+
};
|
|
95554
|
+
});
|
|
95555
|
+
|
|
95556
|
+
// src/funcs/transfersCreate.ts
|
|
95557
|
+
function transfersCreate(client, request, options) {
|
|
95558
|
+
return new APIPromise($do145(client, request, options));
|
|
95559
|
+
}
|
|
95560
|
+
async function $do145(client, request, options) {
|
|
95251
95561
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95252
95562
|
if (!parsed.ok) {
|
|
95253
95563
|
return [parsed, { status: "invalid" }];
|
|
@@ -95339,12 +95649,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
95339
95649
|
});
|
|
95340
95650
|
|
|
95341
95651
|
// src/mcp-server/tools/transfersCreate.ts
|
|
95342
|
-
var
|
|
95652
|
+
var args140, tool$transfersCreate;
|
|
95343
95653
|
var init_transfersCreate2 = __esm(() => {
|
|
95344
95654
|
init_transfersCreate();
|
|
95345
95655
|
init_operations();
|
|
95346
95656
|
init_tools();
|
|
95347
|
-
|
|
95657
|
+
args140 = {
|
|
95348
95658
|
request: CreateTransferRequest$inboundSchema
|
|
95349
95659
|
};
|
|
95350
95660
|
tool$transfersCreate = {
|
|
@@ -95355,9 +95665,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
95355
95665
|
|
|
95356
95666
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95357
95667
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95358
|
-
args:
|
|
95359
|
-
tool: async (client,
|
|
95360
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
95668
|
+
args: args140,
|
|
95669
|
+
tool: async (client, args141, ctx) => {
|
|
95670
|
+
const [result, apiCall] = await transfersCreate(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95361
95671
|
if (!result.ok) {
|
|
95362
95672
|
return {
|
|
95363
95673
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95372,9 +95682,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95372
95682
|
|
|
95373
95683
|
// src/funcs/transfersCreateCancellation.ts
|
|
95374
95684
|
function transfersCreateCancellation(client, request, options) {
|
|
95375
|
-
return new APIPromise($
|
|
95685
|
+
return new APIPromise($do146(client, request, options));
|
|
95376
95686
|
}
|
|
95377
|
-
async function $
|
|
95687
|
+
async function $do146(client, request, options) {
|
|
95378
95688
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95379
95689
|
if (!parsed.ok) {
|
|
95380
95690
|
return [parsed, { status: "invalid" }];
|
|
@@ -95456,12 +95766,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
95456
95766
|
});
|
|
95457
95767
|
|
|
95458
95768
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
95459
|
-
var
|
|
95769
|
+
var args141, tool$transfersCreateCancellation;
|
|
95460
95770
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
95461
95771
|
init_transfersCreateCancellation();
|
|
95462
95772
|
init_operations();
|
|
95463
95773
|
init_tools();
|
|
95464
|
-
|
|
95774
|
+
args141 = {
|
|
95465
95775
|
request: CreateCancellationRequest$inboundSchema
|
|
95466
95776
|
};
|
|
95467
95777
|
tool$transfersCreateCancellation = {
|
|
@@ -95470,9 +95780,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
95470
95780
|
|
|
95471
95781
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
95472
95782
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95473
|
-
args:
|
|
95474
|
-
tool: async (client,
|
|
95475
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
95783
|
+
args: args141,
|
|
95784
|
+
tool: async (client, args142, ctx) => {
|
|
95785
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95476
95786
|
if (!result.ok) {
|
|
95477
95787
|
return {
|
|
95478
95788
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95487,9 +95797,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
95487
95797
|
|
|
95488
95798
|
// src/funcs/transfersCreateReversal.ts
|
|
95489
95799
|
function transfersCreateReversal(client, request, options) {
|
|
95490
|
-
return new APIPromise($
|
|
95800
|
+
return new APIPromise($do147(client, request, options));
|
|
95491
95801
|
}
|
|
95492
|
-
async function $
|
|
95802
|
+
async function $do147(client, request, options) {
|
|
95493
95803
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95494
95804
|
if (!parsed.ok) {
|
|
95495
95805
|
return [parsed, { status: "invalid" }];
|
|
@@ -95587,12 +95897,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
95587
95897
|
});
|
|
95588
95898
|
|
|
95589
95899
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
95590
|
-
var
|
|
95900
|
+
var args142, tool$transfersCreateReversal;
|
|
95591
95901
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
95592
95902
|
init_transfersCreateReversal();
|
|
95593
95903
|
init_operations();
|
|
95594
95904
|
init_tools();
|
|
95595
|
-
|
|
95905
|
+
args142 = {
|
|
95596
95906
|
request: CreateReversalRequest$inboundSchema
|
|
95597
95907
|
};
|
|
95598
95908
|
tool$transfersCreateReversal = {
|
|
@@ -95603,9 +95913,9 @@ to learn more.
|
|
|
95603
95913
|
|
|
95604
95914
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
95605
95915
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95606
|
-
args:
|
|
95607
|
-
tool: async (client,
|
|
95608
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
95916
|
+
args: args142,
|
|
95917
|
+
tool: async (client, args143, ctx) => {
|
|
95918
|
+
const [result, apiCall] = await transfersCreateReversal(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95609
95919
|
if (!result.ok) {
|
|
95610
95920
|
return {
|
|
95611
95921
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95620,9 +95930,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95620
95930
|
|
|
95621
95931
|
// src/funcs/transfersGenerateOptions.ts
|
|
95622
95932
|
function transfersGenerateOptions(client, request, options) {
|
|
95623
|
-
return new APIPromise($
|
|
95933
|
+
return new APIPromise($do148(client, request, options));
|
|
95624
95934
|
}
|
|
95625
|
-
async function $
|
|
95935
|
+
async function $do148(client, request, options) {
|
|
95626
95936
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95627
95937
|
if (!parsed.ok) {
|
|
95628
95938
|
return [parsed, { status: "invalid" }];
|
|
@@ -95705,12 +96015,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
95705
96015
|
});
|
|
95706
96016
|
|
|
95707
96017
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
95708
|
-
var
|
|
96018
|
+
var args143, tool$transfersGenerateOptions;
|
|
95709
96019
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
95710
96020
|
init_transfersGenerateOptions();
|
|
95711
96021
|
init_operations();
|
|
95712
96022
|
init_tools();
|
|
95713
|
-
|
|
96023
|
+
args143 = {
|
|
95714
96024
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
95715
96025
|
};
|
|
95716
96026
|
tool$transfersGenerateOptions = {
|
|
@@ -95724,9 +96034,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
95724
96034
|
|
|
95725
96035
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95726
96036
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95727
|
-
args:
|
|
95728
|
-
tool: async (client,
|
|
95729
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
96037
|
+
args: args143,
|
|
96038
|
+
tool: async (client, args144, ctx) => {
|
|
96039
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95730
96040
|
if (!result.ok) {
|
|
95731
96041
|
return {
|
|
95732
96042
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95741,9 +96051,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95741
96051
|
|
|
95742
96052
|
// src/funcs/transfersGet.ts
|
|
95743
96053
|
function transfersGet(client, request, options) {
|
|
95744
|
-
return new APIPromise($
|
|
96054
|
+
return new APIPromise($do149(client, request, options));
|
|
95745
96055
|
}
|
|
95746
|
-
async function $
|
|
96056
|
+
async function $do149(client, request, options) {
|
|
95747
96057
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95748
96058
|
if (!parsed.ok) {
|
|
95749
96059
|
return [parsed, { status: "invalid" }];
|
|
@@ -95824,12 +96134,12 @@ var init_transfersGet = __esm(() => {
|
|
|
95824
96134
|
});
|
|
95825
96135
|
|
|
95826
96136
|
// src/mcp-server/tools/transfersGet.ts
|
|
95827
|
-
var
|
|
96137
|
+
var args144, tool$transfersGet;
|
|
95828
96138
|
var init_transfersGet2 = __esm(() => {
|
|
95829
96139
|
init_transfersGet();
|
|
95830
96140
|
init_operations();
|
|
95831
96141
|
init_tools();
|
|
95832
|
-
|
|
96142
|
+
args144 = {
|
|
95833
96143
|
request: GetTransferRequest$inboundSchema
|
|
95834
96144
|
};
|
|
95835
96145
|
tool$transfersGet = {
|
|
@@ -95841,9 +96151,9 @@ to learn more.
|
|
|
95841
96151
|
|
|
95842
96152
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95843
96153
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95844
|
-
args:
|
|
95845
|
-
tool: async (client,
|
|
95846
|
-
const [result, apiCall] = await transfersGet(client,
|
|
96154
|
+
args: args144,
|
|
96155
|
+
tool: async (client, args145, ctx) => {
|
|
96156
|
+
const [result, apiCall] = await transfersGet(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95847
96157
|
if (!result.ok) {
|
|
95848
96158
|
return {
|
|
95849
96159
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95858,9 +96168,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
95858
96168
|
|
|
95859
96169
|
// src/funcs/transfersGetCancellation.ts
|
|
95860
96170
|
function transfersGetCancellation(client, request, options) {
|
|
95861
|
-
return new APIPromise($
|
|
96171
|
+
return new APIPromise($do150(client, request, options));
|
|
95862
96172
|
}
|
|
95863
|
-
async function $
|
|
96173
|
+
async function $do150(client, request, options) {
|
|
95864
96174
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95865
96175
|
if (!parsed.ok) {
|
|
95866
96176
|
return [parsed, { status: "invalid" }];
|
|
@@ -95945,12 +96255,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
95945
96255
|
});
|
|
95946
96256
|
|
|
95947
96257
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
95948
|
-
var
|
|
96258
|
+
var args145, tool$transfersGetCancellation;
|
|
95949
96259
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
95950
96260
|
init_transfersGetCancellation();
|
|
95951
96261
|
init_operations();
|
|
95952
96262
|
init_tools();
|
|
95953
|
-
|
|
96263
|
+
args145 = {
|
|
95954
96264
|
request: GetCancellationRequest$inboundSchema
|
|
95955
96265
|
};
|
|
95956
96266
|
tool$transfersGetCancellation = {
|
|
@@ -95959,9 +96269,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
95959
96269
|
|
|
95960
96270
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
95961
96271
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95962
|
-
args:
|
|
95963
|
-
tool: async (client,
|
|
95964
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
96272
|
+
args: args145,
|
|
96273
|
+
tool: async (client, args146, ctx) => {
|
|
96274
|
+
const [result, apiCall] = await transfersGetCancellation(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95965
96275
|
if (!result.ok) {
|
|
95966
96276
|
return {
|
|
95967
96277
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95976,9 +96286,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
95976
96286
|
|
|
95977
96287
|
// src/funcs/transfersGetRefund.ts
|
|
95978
96288
|
function transfersGetRefund(client, request, options) {
|
|
95979
|
-
return new APIPromise($
|
|
96289
|
+
return new APIPromise($do151(client, request, options));
|
|
95980
96290
|
}
|
|
95981
|
-
async function $
|
|
96291
|
+
async function $do151(client, request, options) {
|
|
95982
96292
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95983
96293
|
if (!parsed.ok) {
|
|
95984
96294
|
return [parsed, { status: "invalid" }];
|
|
@@ -96063,12 +96373,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
96063
96373
|
});
|
|
96064
96374
|
|
|
96065
96375
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
96066
|
-
var
|
|
96376
|
+
var args146, tool$transfersGetRefund;
|
|
96067
96377
|
var init_transfersGetRefund2 = __esm(() => {
|
|
96068
96378
|
init_transfersGetRefund();
|
|
96069
96379
|
init_operations();
|
|
96070
96380
|
init_tools();
|
|
96071
|
-
|
|
96381
|
+
args146 = {
|
|
96072
96382
|
request: GetRefundRequest$inboundSchema
|
|
96073
96383
|
};
|
|
96074
96384
|
tool$transfersGetRefund = {
|
|
@@ -96077,9 +96387,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
96077
96387
|
|
|
96078
96388
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96079
96389
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
96080
|
-
args:
|
|
96081
|
-
tool: async (client,
|
|
96082
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
96390
|
+
args: args146,
|
|
96391
|
+
tool: async (client, args147, ctx) => {
|
|
96392
|
+
const [result, apiCall] = await transfersGetRefund(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96083
96393
|
if (!result.ok) {
|
|
96084
96394
|
return {
|
|
96085
96395
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96094,9 +96404,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
96094
96404
|
|
|
96095
96405
|
// src/funcs/transfersInitiateRefund.ts
|
|
96096
96406
|
function transfersInitiateRefund(client, request, options) {
|
|
96097
|
-
return new APIPromise($
|
|
96407
|
+
return new APIPromise($do152(client, request, options));
|
|
96098
96408
|
}
|
|
96099
|
-
async function $
|
|
96409
|
+
async function $do152(client, request, options) {
|
|
96100
96410
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96101
96411
|
if (!parsed.ok) {
|
|
96102
96412
|
return [parsed, { status: "invalid" }];
|
|
@@ -96187,12 +96497,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
96187
96497
|
});
|
|
96188
96498
|
|
|
96189
96499
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
96190
|
-
var
|
|
96500
|
+
var args147, tool$transfersInitiateRefund;
|
|
96191
96501
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
96192
96502
|
init_transfersInitiateRefund();
|
|
96193
96503
|
init_operations();
|
|
96194
96504
|
init_tools();
|
|
96195
|
-
|
|
96505
|
+
args147 = {
|
|
96196
96506
|
request: InitiateRefundRequest$inboundSchema
|
|
96197
96507
|
};
|
|
96198
96508
|
tool$transfersInitiateRefund = {
|
|
@@ -96204,9 +96514,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
96204
96514
|
|
|
96205
96515
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96206
96516
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
96207
|
-
args:
|
|
96208
|
-
tool: async (client,
|
|
96209
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
96517
|
+
args: args147,
|
|
96518
|
+
tool: async (client, args148, ctx) => {
|
|
96519
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96210
96520
|
if (!result.ok) {
|
|
96211
96521
|
return {
|
|
96212
96522
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96221,9 +96531,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
96221
96531
|
|
|
96222
96532
|
// src/funcs/transfersList.ts
|
|
96223
96533
|
function transfersList(client, request, options) {
|
|
96224
|
-
return new APIPromise($
|
|
96534
|
+
return new APIPromise($do153(client, request, options));
|
|
96225
96535
|
}
|
|
96226
|
-
async function $
|
|
96536
|
+
async function $do153(client, request, options) {
|
|
96227
96537
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96228
96538
|
if (!parsed.ok) {
|
|
96229
96539
|
return [parsed, { status: "invalid" }];
|
|
@@ -96318,12 +96628,12 @@ var init_transfersList = __esm(() => {
|
|
|
96318
96628
|
});
|
|
96319
96629
|
|
|
96320
96630
|
// src/mcp-server/tools/transfersList.ts
|
|
96321
|
-
var
|
|
96631
|
+
var args148, tool$transfersList;
|
|
96322
96632
|
var init_transfersList2 = __esm(() => {
|
|
96323
96633
|
init_transfersList();
|
|
96324
96634
|
init_operations();
|
|
96325
96635
|
init_tools();
|
|
96326
|
-
|
|
96636
|
+
args148 = {
|
|
96327
96637
|
request: ListTransfersRequest$inboundSchema
|
|
96328
96638
|
};
|
|
96329
96639
|
tool$transfersList = {
|
|
@@ -96339,9 +96649,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
96339
96649
|
|
|
96340
96650
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96341
96651
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
96342
|
-
args:
|
|
96343
|
-
tool: async (client,
|
|
96344
|
-
const [result, apiCall] = await transfersList(client,
|
|
96652
|
+
args: args148,
|
|
96653
|
+
tool: async (client, args149, ctx) => {
|
|
96654
|
+
const [result, apiCall] = await transfersList(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96345
96655
|
if (!result.ok) {
|
|
96346
96656
|
return {
|
|
96347
96657
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96356,9 +96666,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
96356
96666
|
|
|
96357
96667
|
// src/funcs/transfersListRefunds.ts
|
|
96358
96668
|
function transfersListRefunds(client, request, options) {
|
|
96359
|
-
return new APIPromise($
|
|
96669
|
+
return new APIPromise($do154(client, request, options));
|
|
96360
96670
|
}
|
|
96361
|
-
async function $
|
|
96671
|
+
async function $do154(client, request, options) {
|
|
96362
96672
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96363
96673
|
if (!parsed.ok) {
|
|
96364
96674
|
return [parsed, { status: "invalid" }];
|
|
@@ -96439,12 +96749,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
96439
96749
|
});
|
|
96440
96750
|
|
|
96441
96751
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
96442
|
-
var
|
|
96752
|
+
var args149, tool$transfersListRefunds;
|
|
96443
96753
|
var init_transfersListRefunds2 = __esm(() => {
|
|
96444
96754
|
init_transfersListRefunds();
|
|
96445
96755
|
init_operations();
|
|
96446
96756
|
init_tools();
|
|
96447
|
-
|
|
96757
|
+
args149 = {
|
|
96448
96758
|
request: ListRefundsRequest$inboundSchema
|
|
96449
96759
|
};
|
|
96450
96760
|
tool$transfersListRefunds = {
|
|
@@ -96453,9 +96763,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
96453
96763
|
|
|
96454
96764
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96455
96765
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
96456
|
-
args:
|
|
96457
|
-
tool: async (client,
|
|
96458
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
96766
|
+
args: args149,
|
|
96767
|
+
tool: async (client, args150, ctx) => {
|
|
96768
|
+
const [result, apiCall] = await transfersListRefunds(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96459
96769
|
if (!result.ok) {
|
|
96460
96770
|
return {
|
|
96461
96771
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96470,9 +96780,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
96470
96780
|
|
|
96471
96781
|
// src/funcs/transfersUpdate.ts
|
|
96472
96782
|
function transfersUpdate(client, request, options) {
|
|
96473
|
-
return new APIPromise($
|
|
96783
|
+
return new APIPromise($do155(client, request, options));
|
|
96474
96784
|
}
|
|
96475
|
-
async function $
|
|
96785
|
+
async function $do155(client, request, options) {
|
|
96476
96786
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96477
96787
|
if (!parsed.ok) {
|
|
96478
96788
|
return [parsed, { status: "invalid" }];
|
|
@@ -96557,12 +96867,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
96557
96867
|
});
|
|
96558
96868
|
|
|
96559
96869
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
96560
|
-
var
|
|
96870
|
+
var args150, tool$transfersUpdate;
|
|
96561
96871
|
var init_transfersUpdate2 = __esm(() => {
|
|
96562
96872
|
init_transfersUpdate();
|
|
96563
96873
|
init_operations();
|
|
96564
96874
|
init_tools();
|
|
96565
|
-
|
|
96875
|
+
args150 = {
|
|
96566
96876
|
request: UpdateTransferRequest$inboundSchema
|
|
96567
96877
|
};
|
|
96568
96878
|
tool$transfersUpdate = {
|
|
@@ -96573,9 +96883,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
96573
96883
|
|
|
96574
96884
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96575
96885
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
96576
|
-
args:
|
|
96577
|
-
tool: async (client,
|
|
96578
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
96886
|
+
args: args150,
|
|
96887
|
+
tool: async (client, args151, ctx) => {
|
|
96888
|
+
const [result, apiCall] = await transfersUpdate(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96579
96889
|
if (!result.ok) {
|
|
96580
96890
|
return {
|
|
96581
96891
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96590,9 +96900,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
96590
96900
|
|
|
96591
96901
|
// src/funcs/underwritingGet.ts
|
|
96592
96902
|
function underwritingGet(client, request, options) {
|
|
96593
|
-
return new APIPromise($
|
|
96903
|
+
return new APIPromise($do156(client, request, options));
|
|
96594
96904
|
}
|
|
96595
|
-
async function $
|
|
96905
|
+
async function $do156(client, request, options) {
|
|
96596
96906
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96597
96907
|
if (!parsed.ok) {
|
|
96598
96908
|
return [parsed, { status: "invalid" }];
|
|
@@ -96669,12 +96979,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
96669
96979
|
});
|
|
96670
96980
|
|
|
96671
96981
|
// src/mcp-server/tools/underwritingGet.ts
|
|
96672
|
-
var
|
|
96982
|
+
var args151, tool$underwritingGet;
|
|
96673
96983
|
var init_underwritingGet2 = __esm(() => {
|
|
96674
96984
|
init_underwritingGet();
|
|
96675
96985
|
init_operations();
|
|
96676
96986
|
init_tools();
|
|
96677
|
-
|
|
96987
|
+
args151 = {
|
|
96678
96988
|
request: GetUnderwritingRequest$inboundSchema
|
|
96679
96989
|
};
|
|
96680
96990
|
tool$underwritingGet = {
|
|
@@ -96685,9 +96995,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
96685
96995
|
|
|
96686
96996
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96687
96997
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
96688
|
-
args:
|
|
96689
|
-
tool: async (client,
|
|
96690
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
96998
|
+
args: args151,
|
|
96999
|
+
tool: async (client, args152, ctx) => {
|
|
97000
|
+
const [result, apiCall] = await underwritingGet(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96691
97001
|
if (!result.ok) {
|
|
96692
97002
|
return {
|
|
96693
97003
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96702,9 +97012,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
96702
97012
|
|
|
96703
97013
|
// src/funcs/underwritingSave.ts
|
|
96704
97014
|
function underwritingSave(client, request, options) {
|
|
96705
|
-
return new APIPromise($
|
|
97015
|
+
return new APIPromise($do157(client, request, options));
|
|
96706
97016
|
}
|
|
96707
|
-
async function $
|
|
97017
|
+
async function $do157(client, request, options) {
|
|
96708
97018
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96709
97019
|
if (!parsed.ok) {
|
|
96710
97020
|
return [parsed, { status: "invalid" }];
|
|
@@ -96799,12 +97109,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
96799
97109
|
});
|
|
96800
97110
|
|
|
96801
97111
|
// src/mcp-server/tools/underwritingSave.ts
|
|
96802
|
-
var
|
|
97112
|
+
var args152, tool$underwritingSave;
|
|
96803
97113
|
var init_underwritingSave2 = __esm(() => {
|
|
96804
97114
|
init_underwritingSave();
|
|
96805
97115
|
init_operations();
|
|
96806
97116
|
init_tools();
|
|
96807
|
-
|
|
97117
|
+
args152 = {
|
|
96808
97118
|
request: SaveUnderwritingRequest$inboundSchema
|
|
96809
97119
|
};
|
|
96810
97120
|
tool$underwritingSave = {
|
|
@@ -96815,9 +97125,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
96815
97125
|
|
|
96816
97126
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96817
97127
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
96818
|
-
args:
|
|
96819
|
-
tool: async (client,
|
|
96820
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
97128
|
+
args: args152,
|
|
97129
|
+
tool: async (client, args153, ctx) => {
|
|
97130
|
+
const [result, apiCall] = await underwritingSave(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96821
97131
|
if (!result.ok) {
|
|
96822
97132
|
return {
|
|
96823
97133
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96832,9 +97142,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
96832
97142
|
|
|
96833
97143
|
// src/funcs/underwritingUpsert.ts
|
|
96834
97144
|
function underwritingUpsert(client, request, options) {
|
|
96835
|
-
return new APIPromise($
|
|
97145
|
+
return new APIPromise($do158(client, request, options));
|
|
96836
97146
|
}
|
|
96837
|
-
async function $
|
|
97147
|
+
async function $do158(client, request, options) {
|
|
96838
97148
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96839
97149
|
if (!parsed.ok) {
|
|
96840
97150
|
return [parsed, { status: "invalid" }];
|
|
@@ -96929,12 +97239,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
96929
97239
|
});
|
|
96930
97240
|
|
|
96931
97241
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
96932
|
-
var
|
|
97242
|
+
var args153, tool$underwritingUpsert;
|
|
96933
97243
|
var init_underwritingUpsert2 = __esm(() => {
|
|
96934
97244
|
init_underwritingUpsert();
|
|
96935
97245
|
init_operations();
|
|
96936
97246
|
init_tools();
|
|
96937
|
-
|
|
97247
|
+
args153 = {
|
|
96938
97248
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
96939
97249
|
};
|
|
96940
97250
|
tool$underwritingUpsert = {
|
|
@@ -96945,9 +97255,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
96945
97255
|
|
|
96946
97256
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96947
97257
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
96948
|
-
args:
|
|
96949
|
-
tool: async (client,
|
|
96950
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
97258
|
+
args: args153,
|
|
97259
|
+
tool: async (client, args154, ctx) => {
|
|
97260
|
+
const [result, apiCall] = await underwritingUpsert(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96951
97261
|
if (!result.ok) {
|
|
96952
97262
|
return {
|
|
96953
97263
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96962,9 +97272,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
96962
97272
|
|
|
96963
97273
|
// src/funcs/walletsCreate.ts
|
|
96964
97274
|
function walletsCreate(client, request, options) {
|
|
96965
|
-
return new APIPromise($
|
|
97275
|
+
return new APIPromise($do159(client, request, options));
|
|
96966
97276
|
}
|
|
96967
|
-
async function $
|
|
97277
|
+
async function $do159(client, request, options) {
|
|
96968
97278
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96969
97279
|
if (!parsed.ok) {
|
|
96970
97280
|
return [parsed, { status: "invalid" }];
|
|
@@ -97057,12 +97367,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
97057
97367
|
});
|
|
97058
97368
|
|
|
97059
97369
|
// src/mcp-server/tools/walletsCreate.ts
|
|
97060
|
-
var
|
|
97370
|
+
var args154, tool$walletsCreate;
|
|
97061
97371
|
var init_walletsCreate2 = __esm(() => {
|
|
97062
97372
|
init_walletsCreate();
|
|
97063
97373
|
init_operations();
|
|
97064
97374
|
init_tools();
|
|
97065
|
-
|
|
97375
|
+
args154 = {
|
|
97066
97376
|
request: CreateWalletRequest$inboundSchema
|
|
97067
97377
|
};
|
|
97068
97378
|
tool$walletsCreate = {
|
|
@@ -97073,9 +97383,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
97073
97383
|
|
|
97074
97384
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97075
97385
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
97076
|
-
args:
|
|
97077
|
-
tool: async (client,
|
|
97078
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
97386
|
+
args: args154,
|
|
97387
|
+
tool: async (client, args155, ctx) => {
|
|
97388
|
+
const [result, apiCall] = await walletsCreate(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97079
97389
|
if (!result.ok) {
|
|
97080
97390
|
return {
|
|
97081
97391
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97090,9 +97400,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
97090
97400
|
|
|
97091
97401
|
// src/funcs/walletsGet.ts
|
|
97092
97402
|
function walletsGet(client, request, options) {
|
|
97093
|
-
return new APIPromise($
|
|
97403
|
+
return new APIPromise($do160(client, request, options));
|
|
97094
97404
|
}
|
|
97095
|
-
async function $
|
|
97405
|
+
async function $do160(client, request, options) {
|
|
97096
97406
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97097
97407
|
if (!parsed.ok) {
|
|
97098
97408
|
return [parsed, { status: "invalid" }];
|
|
@@ -97173,12 +97483,12 @@ var init_walletsGet = __esm(() => {
|
|
|
97173
97483
|
});
|
|
97174
97484
|
|
|
97175
97485
|
// src/mcp-server/tools/walletsGet.ts
|
|
97176
|
-
var
|
|
97486
|
+
var args155, tool$walletsGet;
|
|
97177
97487
|
var init_walletsGet2 = __esm(() => {
|
|
97178
97488
|
init_walletsGet();
|
|
97179
97489
|
init_operations();
|
|
97180
97490
|
init_tools();
|
|
97181
|
-
|
|
97491
|
+
args155 = {
|
|
97182
97492
|
request: GetWalletRequest$inboundSchema
|
|
97183
97493
|
};
|
|
97184
97494
|
tool$walletsGet = {
|
|
@@ -97189,9 +97499,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
97189
97499
|
|
|
97190
97500
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97191
97501
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97192
|
-
args:
|
|
97193
|
-
tool: async (client,
|
|
97194
|
-
const [result, apiCall] = await walletsGet(client,
|
|
97502
|
+
args: args155,
|
|
97503
|
+
tool: async (client, args156, ctx) => {
|
|
97504
|
+
const [result, apiCall] = await walletsGet(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97195
97505
|
if (!result.ok) {
|
|
97196
97506
|
return {
|
|
97197
97507
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97206,9 +97516,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97206
97516
|
|
|
97207
97517
|
// src/funcs/walletsList.ts
|
|
97208
97518
|
function walletsList(client, request, options) {
|
|
97209
|
-
return new APIPromise($
|
|
97519
|
+
return new APIPromise($do161(client, request, options));
|
|
97210
97520
|
}
|
|
97211
|
-
async function $
|
|
97521
|
+
async function $do161(client, request, options) {
|
|
97212
97522
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97213
97523
|
if (!parsed.ok) {
|
|
97214
97524
|
return [parsed, { status: "invalid" }];
|
|
@@ -97295,12 +97605,12 @@ var init_walletsList = __esm(() => {
|
|
|
97295
97605
|
});
|
|
97296
97606
|
|
|
97297
97607
|
// src/mcp-server/tools/walletsList.ts
|
|
97298
|
-
var
|
|
97608
|
+
var args156, tool$walletsList;
|
|
97299
97609
|
var init_walletsList2 = __esm(() => {
|
|
97300
97610
|
init_walletsList();
|
|
97301
97611
|
init_operations();
|
|
97302
97612
|
init_tools();
|
|
97303
|
-
|
|
97613
|
+
args156 = {
|
|
97304
97614
|
request: ListWalletsRequest$inboundSchema
|
|
97305
97615
|
};
|
|
97306
97616
|
tool$walletsList = {
|
|
@@ -97311,9 +97621,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
97311
97621
|
|
|
97312
97622
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97313
97623
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97314
|
-
args:
|
|
97315
|
-
tool: async (client,
|
|
97316
|
-
const [result, apiCall] = await walletsList(client,
|
|
97624
|
+
args: args156,
|
|
97625
|
+
tool: async (client, args157, ctx) => {
|
|
97626
|
+
const [result, apiCall] = await walletsList(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97317
97627
|
if (!result.ok) {
|
|
97318
97628
|
return {
|
|
97319
97629
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97328,9 +97638,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97328
97638
|
|
|
97329
97639
|
// src/funcs/walletsUpdate.ts
|
|
97330
97640
|
function walletsUpdate(client, request, options) {
|
|
97331
|
-
return new APIPromise($
|
|
97641
|
+
return new APIPromise($do162(client, request, options));
|
|
97332
97642
|
}
|
|
97333
|
-
async function $
|
|
97643
|
+
async function $do162(client, request, options) {
|
|
97334
97644
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97335
97645
|
if (!parsed.ok) {
|
|
97336
97646
|
return [parsed, { status: "invalid" }];
|
|
@@ -97427,12 +97737,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
97427
97737
|
});
|
|
97428
97738
|
|
|
97429
97739
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
97430
|
-
var
|
|
97740
|
+
var args157, tool$walletsUpdate;
|
|
97431
97741
|
var init_walletsUpdate2 = __esm(() => {
|
|
97432
97742
|
init_walletsUpdate();
|
|
97433
97743
|
init_operations();
|
|
97434
97744
|
init_tools();
|
|
97435
|
-
|
|
97745
|
+
args157 = {
|
|
97436
97746
|
request: UpdateWalletRequest$inboundSchema
|
|
97437
97747
|
};
|
|
97438
97748
|
tool$walletsUpdate = {
|
|
@@ -97443,9 +97753,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
97443
97753
|
|
|
97444
97754
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97445
97755
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
97446
|
-
args:
|
|
97447
|
-
tool: async (client,
|
|
97448
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
97756
|
+
args: args157,
|
|
97757
|
+
tool: async (client, args158, ctx) => {
|
|
97758
|
+
const [result, apiCall] = await walletsUpdate(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97449
97759
|
if (!result.ok) {
|
|
97450
97760
|
return {
|
|
97451
97761
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97460,9 +97770,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
97460
97770
|
|
|
97461
97771
|
// src/funcs/walletTransactionsGet.ts
|
|
97462
97772
|
function walletTransactionsGet(client, request, options) {
|
|
97463
|
-
return new APIPromise($
|
|
97773
|
+
return new APIPromise($do163(client, request, options));
|
|
97464
97774
|
}
|
|
97465
|
-
async function $
|
|
97775
|
+
async function $do163(client, request, options) {
|
|
97466
97776
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97467
97777
|
if (!parsed.ok) {
|
|
97468
97778
|
return [parsed, { status: "invalid" }];
|
|
@@ -97547,12 +97857,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
97547
97857
|
});
|
|
97548
97858
|
|
|
97549
97859
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
97550
|
-
var
|
|
97860
|
+
var args158, tool$walletTransactionsGet;
|
|
97551
97861
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
97552
97862
|
init_walletTransactionsGet();
|
|
97553
97863
|
init_operations();
|
|
97554
97864
|
init_tools();
|
|
97555
|
-
|
|
97865
|
+
args158 = {
|
|
97556
97866
|
request: GetWalletTransactionRequest$inboundSchema
|
|
97557
97867
|
};
|
|
97558
97868
|
tool$walletTransactionsGet = {
|
|
@@ -97563,9 +97873,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
97563
97873
|
|
|
97564
97874
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97565
97875
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97566
|
-
args:
|
|
97567
|
-
tool: async (client,
|
|
97568
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
97876
|
+
args: args158,
|
|
97877
|
+
tool: async (client, args159, ctx) => {
|
|
97878
|
+
const [result, apiCall] = await walletTransactionsGet(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97569
97879
|
if (!result.ok) {
|
|
97570
97880
|
return {
|
|
97571
97881
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97580,9 +97890,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97580
97890
|
|
|
97581
97891
|
// src/funcs/walletTransactionsList.ts
|
|
97582
97892
|
function walletTransactionsList(client, request, options) {
|
|
97583
|
-
return new APIPromise($
|
|
97893
|
+
return new APIPromise($do164(client, request, options));
|
|
97584
97894
|
}
|
|
97585
|
-
async function $
|
|
97895
|
+
async function $do164(client, request, options) {
|
|
97586
97896
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97587
97897
|
if (!parsed.ok) {
|
|
97588
97898
|
return [parsed, { status: "invalid" }];
|
|
@@ -97681,12 +97991,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
97681
97991
|
});
|
|
97682
97992
|
|
|
97683
97993
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
97684
|
-
var
|
|
97994
|
+
var args159, tool$walletTransactionsList;
|
|
97685
97995
|
var init_walletTransactionsList2 = __esm(() => {
|
|
97686
97996
|
init_walletTransactionsList();
|
|
97687
97997
|
init_operations();
|
|
97688
97998
|
init_tools();
|
|
97689
|
-
|
|
97999
|
+
args159 = {
|
|
97690
98000
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
97691
98001
|
};
|
|
97692
98002
|
tool$walletTransactionsList = {
|
|
@@ -97697,9 +98007,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
97697
98007
|
|
|
97698
98008
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97699
98009
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97700
|
-
args:
|
|
97701
|
-
tool: async (client,
|
|
97702
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
98010
|
+
args: args159,
|
|
98011
|
+
tool: async (client, args160, ctx) => {
|
|
98012
|
+
const [result, apiCall] = await walletTransactionsList(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97703
98013
|
if (!result.ok) {
|
|
97704
98014
|
return {
|
|
97705
98015
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97714,9 +98024,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97714
98024
|
|
|
97715
98025
|
// src/funcs/webhooksCreate.ts
|
|
97716
98026
|
function webhooksCreate(client, request, options) {
|
|
97717
|
-
return new APIPromise($
|
|
98027
|
+
return new APIPromise($do165(client, request, options));
|
|
97718
98028
|
}
|
|
97719
|
-
async function $
|
|
98029
|
+
async function $do165(client, request, options) {
|
|
97720
98030
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
97721
98031
|
if (!parsed.ok) {
|
|
97722
98032
|
return [parsed, { status: "invalid" }];
|
|
@@ -97804,20 +98114,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
97804
98114
|
});
|
|
97805
98115
|
|
|
97806
98116
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
97807
|
-
var
|
|
98117
|
+
var args160, tool$webhooksCreate;
|
|
97808
98118
|
var init_webhooksCreate2 = __esm(() => {
|
|
97809
98119
|
init_webhooksCreate();
|
|
97810
98120
|
init_components();
|
|
97811
98121
|
init_tools();
|
|
97812
|
-
|
|
98122
|
+
args160 = {
|
|
97813
98123
|
request: CreateWebhook$inboundSchema
|
|
97814
98124
|
};
|
|
97815
98125
|
tool$webhooksCreate = {
|
|
97816
98126
|
name: "webhooks-create",
|
|
97817
98127
|
description: `Create a new webhook for the account.`,
|
|
97818
|
-
args:
|
|
97819
|
-
tool: async (client,
|
|
97820
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
98128
|
+
args: args160,
|
|
98129
|
+
tool: async (client, args161, ctx) => {
|
|
98130
|
+
const [result, apiCall] = await webhooksCreate(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97821
98131
|
if (!result.ok) {
|
|
97822
98132
|
return {
|
|
97823
98133
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97832,9 +98142,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
97832
98142
|
|
|
97833
98143
|
// src/funcs/webhooksDisable.ts
|
|
97834
98144
|
function webhooksDisable(client, request, options) {
|
|
97835
|
-
return new APIPromise($
|
|
98145
|
+
return new APIPromise($do166(client, request, options));
|
|
97836
98146
|
}
|
|
97837
|
-
async function $
|
|
98147
|
+
async function $do166(client, request, options) {
|
|
97838
98148
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97839
98149
|
if (!parsed.ok) {
|
|
97840
98150
|
return [parsed, { status: "invalid" }];
|
|
@@ -97922,20 +98232,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
97922
98232
|
});
|
|
97923
98233
|
|
|
97924
98234
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
97925
|
-
var
|
|
98235
|
+
var args161, tool$webhooksDisable;
|
|
97926
98236
|
var init_webhooksDisable2 = __esm(() => {
|
|
97927
98237
|
init_webhooksDisable();
|
|
97928
98238
|
init_operations();
|
|
97929
98239
|
init_tools();
|
|
97930
|
-
|
|
98240
|
+
args161 = {
|
|
97931
98241
|
request: DisableWebhookRequest$inboundSchema
|
|
97932
98242
|
};
|
|
97933
98243
|
tool$webhooksDisable = {
|
|
97934
98244
|
name: "webhooks-disable",
|
|
97935
98245
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
97936
|
-
args:
|
|
97937
|
-
tool: async (client,
|
|
97938
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
98246
|
+
args: args161,
|
|
98247
|
+
tool: async (client, args162, ctx) => {
|
|
98248
|
+
const [result, apiCall] = await webhooksDisable(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97939
98249
|
if (!result.ok) {
|
|
97940
98250
|
return {
|
|
97941
98251
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97949,9 +98259,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
97949
98259
|
|
|
97950
98260
|
// src/funcs/webhooksGet.ts
|
|
97951
98261
|
function webhooksGet(client, request, options) {
|
|
97952
|
-
return new APIPromise($
|
|
98262
|
+
return new APIPromise($do167(client, request, options));
|
|
97953
98263
|
}
|
|
97954
|
-
async function $
|
|
98264
|
+
async function $do167(client, request, options) {
|
|
97955
98265
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97956
98266
|
if (!parsed.ok) {
|
|
97957
98267
|
return [parsed, { status: "invalid" }];
|
|
@@ -98028,20 +98338,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
98028
98338
|
});
|
|
98029
98339
|
|
|
98030
98340
|
// src/mcp-server/tools/webhooksGet.ts
|
|
98031
|
-
var
|
|
98341
|
+
var args162, tool$webhooksGet;
|
|
98032
98342
|
var init_webhooksGet2 = __esm(() => {
|
|
98033
98343
|
init_webhooksGet();
|
|
98034
98344
|
init_operations();
|
|
98035
98345
|
init_tools();
|
|
98036
|
-
|
|
98346
|
+
args162 = {
|
|
98037
98347
|
request: GetWebhookRequest$inboundSchema
|
|
98038
98348
|
};
|
|
98039
98349
|
tool$webhooksGet = {
|
|
98040
98350
|
name: "webhooks-get",
|
|
98041
98351
|
description: `Get details of a specific webhook.`,
|
|
98042
|
-
args:
|
|
98043
|
-
tool: async (client,
|
|
98044
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
98352
|
+
args: args162,
|
|
98353
|
+
tool: async (client, args163, ctx) => {
|
|
98354
|
+
const [result, apiCall] = await webhooksGet(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98045
98355
|
if (!result.ok) {
|
|
98046
98356
|
return {
|
|
98047
98357
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98056,9 +98366,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
98056
98366
|
|
|
98057
98367
|
// src/funcs/webhooksGetSecret.ts
|
|
98058
98368
|
function webhooksGetSecret(client, request, options) {
|
|
98059
|
-
return new APIPromise($
|
|
98369
|
+
return new APIPromise($do168(client, request, options));
|
|
98060
98370
|
}
|
|
98061
|
-
async function $
|
|
98371
|
+
async function $do168(client, request, options) {
|
|
98062
98372
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98063
98373
|
if (!parsed.ok) {
|
|
98064
98374
|
return [parsed, { status: "invalid" }];
|
|
@@ -98135,20 +98445,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
98135
98445
|
});
|
|
98136
98446
|
|
|
98137
98447
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
98138
|
-
var
|
|
98448
|
+
var args163, tool$webhooksGetSecret;
|
|
98139
98449
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
98140
98450
|
init_webhooksGetSecret();
|
|
98141
98451
|
init_operations();
|
|
98142
98452
|
init_tools();
|
|
98143
|
-
|
|
98453
|
+
args163 = {
|
|
98144
98454
|
request: GetWebhookSecretRequest$inboundSchema
|
|
98145
98455
|
};
|
|
98146
98456
|
tool$webhooksGetSecret = {
|
|
98147
98457
|
name: "webhooks-get-secret",
|
|
98148
98458
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
98149
|
-
args:
|
|
98150
|
-
tool: async (client,
|
|
98151
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
98459
|
+
args: args163,
|
|
98460
|
+
tool: async (client, args164, ctx) => {
|
|
98461
|
+
const [result, apiCall] = await webhooksGetSecret(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98152
98462
|
if (!result.ok) {
|
|
98153
98463
|
return {
|
|
98154
98464
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98163,9 +98473,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
98163
98473
|
|
|
98164
98474
|
// src/funcs/webhooksList.ts
|
|
98165
98475
|
function webhooksList(client, options) {
|
|
98166
|
-
return new APIPromise($
|
|
98476
|
+
return new APIPromise($do169(client, options));
|
|
98167
98477
|
}
|
|
98168
|
-
async function $
|
|
98478
|
+
async function $do169(client, options) {
|
|
98169
98479
|
const path = pathToFunc("/webhooks")();
|
|
98170
98480
|
const headers = new Headers(compactMap({
|
|
98171
98481
|
Accept: "application/json"
|
|
@@ -98250,9 +98560,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
98250
98560
|
|
|
98251
98561
|
// src/funcs/webhooksListEventTypes.ts
|
|
98252
98562
|
function webhooksListEventTypes(client, options) {
|
|
98253
|
-
return new APIPromise($
|
|
98563
|
+
return new APIPromise($do170(client, options));
|
|
98254
98564
|
}
|
|
98255
|
-
async function $
|
|
98565
|
+
async function $do170(client, options) {
|
|
98256
98566
|
const path = pathToFunc("/event-types")();
|
|
98257
98567
|
const headers = new Headers(compactMap({
|
|
98258
98568
|
Accept: "application/json"
|
|
@@ -98337,9 +98647,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
98337
98647
|
|
|
98338
98648
|
// src/funcs/webhooksPing.ts
|
|
98339
98649
|
function webhooksPing(client, request, options) {
|
|
98340
|
-
return new APIPromise($
|
|
98650
|
+
return new APIPromise($do171(client, request, options));
|
|
98341
98651
|
}
|
|
98342
|
-
async function $
|
|
98652
|
+
async function $do171(client, request, options) {
|
|
98343
98653
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98344
98654
|
if (!parsed.ok) {
|
|
98345
98655
|
return [parsed, { status: "invalid" }];
|
|
@@ -98416,20 +98726,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
98416
98726
|
});
|
|
98417
98727
|
|
|
98418
98728
|
// src/mcp-server/tools/webhooksPing.ts
|
|
98419
|
-
var
|
|
98729
|
+
var args164, tool$webhooksPing;
|
|
98420
98730
|
var init_webhooksPing2 = __esm(() => {
|
|
98421
98731
|
init_webhooksPing();
|
|
98422
98732
|
init_operations();
|
|
98423
98733
|
init_tools();
|
|
98424
|
-
|
|
98734
|
+
args164 = {
|
|
98425
98735
|
request: PingWebhookRequest$inboundSchema
|
|
98426
98736
|
};
|
|
98427
98737
|
tool$webhooksPing = {
|
|
98428
98738
|
name: "webhooks-ping",
|
|
98429
98739
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
98430
|
-
args:
|
|
98431
|
-
tool: async (client,
|
|
98432
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
98740
|
+
args: args164,
|
|
98741
|
+
tool: async (client, args165, ctx) => {
|
|
98742
|
+
const [result, apiCall] = await webhooksPing(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98433
98743
|
if (!result.ok) {
|
|
98434
98744
|
return {
|
|
98435
98745
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98444,9 +98754,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
98444
98754
|
|
|
98445
98755
|
// src/funcs/webhooksUpdate.ts
|
|
98446
98756
|
function webhooksUpdate(client, request, options) {
|
|
98447
|
-
return new APIPromise($
|
|
98757
|
+
return new APIPromise($do172(client, request, options));
|
|
98448
98758
|
}
|
|
98449
|
-
async function $
|
|
98759
|
+
async function $do172(client, request, options) {
|
|
98450
98760
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98451
98761
|
if (!parsed.ok) {
|
|
98452
98762
|
return [parsed, { status: "invalid" }];
|
|
@@ -98539,20 +98849,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
98539
98849
|
});
|
|
98540
98850
|
|
|
98541
98851
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
98542
|
-
var
|
|
98852
|
+
var args165, tool$webhooksUpdate;
|
|
98543
98853
|
var init_webhooksUpdate2 = __esm(() => {
|
|
98544
98854
|
init_webhooksUpdate();
|
|
98545
98855
|
init_operations();
|
|
98546
98856
|
init_tools();
|
|
98547
|
-
|
|
98857
|
+
args165 = {
|
|
98548
98858
|
request: UpdateWebhookRequest$inboundSchema
|
|
98549
98859
|
};
|
|
98550
98860
|
tool$webhooksUpdate = {
|
|
98551
98861
|
name: "webhooks-update",
|
|
98552
98862
|
description: `Update an existing webhook.`,
|
|
98553
|
-
args:
|
|
98554
|
-
tool: async (client,
|
|
98555
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
98863
|
+
args: args165,
|
|
98864
|
+
tool: async (client, args166, ctx) => {
|
|
98865
|
+
const [result, apiCall] = await webhooksUpdate(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98556
98866
|
if (!result.ok) {
|
|
98557
98867
|
return {
|
|
98558
98868
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98569,7 +98879,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
98569
98879
|
function createMCPServer(deps) {
|
|
98570
98880
|
const server = new McpServer({
|
|
98571
98881
|
name: "Moov",
|
|
98572
|
-
version: "26.2.
|
|
98882
|
+
version: "26.2.1"
|
|
98573
98883
|
});
|
|
98574
98884
|
const client = new MoovCore({
|
|
98575
98885
|
security: deps.security,
|
|
@@ -98697,6 +99007,7 @@ function createMCPServer(deps) {
|
|
|
98697
99007
|
tool(tool$transfersGenerateOptions);
|
|
98698
99008
|
tool(tool$transfersCreate);
|
|
98699
99009
|
tool(tool$transfersList);
|
|
99010
|
+
tool(tool$transfersBatchGetTransfers);
|
|
98700
99011
|
tool(tool$transfersGet);
|
|
98701
99012
|
tool(tool$transfersUpdate);
|
|
98702
99013
|
tool(tool$transfersCreateCancellation);
|
|
@@ -98904,6 +99215,7 @@ var init_server2 = __esm(() => {
|
|
|
98904
99215
|
init_terminalApplicationsDelete2();
|
|
98905
99216
|
init_terminalApplicationsGet2();
|
|
98906
99217
|
init_terminalApplicationsList2();
|
|
99218
|
+
init_transfersBatchGetTransfers2();
|
|
98907
99219
|
init_transfersCreate2();
|
|
98908
99220
|
init_transfersCreateCancellation2();
|
|
98909
99221
|
init_transfersCreateReversal2();
|
|
@@ -100124,7 +100436,7 @@ var routes = rn({
|
|
|
100124
100436
|
var app = Ve(routes, {
|
|
100125
100437
|
name: "mcp",
|
|
100126
100438
|
versionInfo: {
|
|
100127
|
-
currentVersion: "26.2.
|
|
100439
|
+
currentVersion: "26.2.1"
|
|
100128
100440
|
}
|
|
100129
100441
|
});
|
|
100130
100442
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -100132,5 +100444,5 @@ export {
|
|
|
100132
100444
|
app
|
|
100133
100445
|
};
|
|
100134
100446
|
|
|
100135
|
-
//# debugId=
|
|
100447
|
+
//# debugId=6180067D6379B3A064756E2164756E21
|
|
100136
100448
|
//# sourceMappingURL=mcp-server.js.map
|