@moovio/sdk 25.11.0 → 25.11.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: "v2025.10.00",
|
|
52882
|
-
sdkVersion: "25.11.
|
|
52883
|
-
genVersion: "2.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 25.11.
|
|
52882
|
+
sdkVersion: "25.11.1",
|
|
52883
|
+
genVersion: "2.879.13",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 25.11.1 2.879.13 v2025.10.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) {
|
|
@@ -56671,6 +56703,18 @@ var init_bankaccountwaitfor = __esm(() => {
|
|
|
56671
56703
|
BankAccountWaitFor$outboundSchema = BankAccountWaitFor$inboundSchema;
|
|
56672
56704
|
});
|
|
56673
56705
|
|
|
56706
|
+
// src/models/components/batchgettransfersrequest.ts
|
|
56707
|
+
var BatchGetTransfersRequest$inboundSchema, BatchGetTransfersRequest$outboundSchema;
|
|
56708
|
+
var init_batchgettransfersrequest = __esm(() => {
|
|
56709
|
+
init_esm();
|
|
56710
|
+
BatchGetTransfersRequest$inboundSchema = objectType({
|
|
56711
|
+
transferIDs: arrayType(stringType())
|
|
56712
|
+
});
|
|
56713
|
+
BatchGetTransfersRequest$outboundSchema = objectType({
|
|
56714
|
+
transferIDs: arrayType(stringType())
|
|
56715
|
+
});
|
|
56716
|
+
});
|
|
56717
|
+
|
|
56674
56718
|
// src/models/components/feecategory.ts
|
|
56675
56719
|
var FeeCategory, FeeCategory$inboundSchema, FeeCategory$outboundSchema;
|
|
56676
56720
|
var init_feecategory = __esm(() => {
|
|
@@ -61207,6 +61251,84 @@ var init_moovfeedetails = __esm(() => {
|
|
|
61207
61251
|
});
|
|
61208
61252
|
});
|
|
61209
61253
|
|
|
61254
|
+
// src/models/components/instantbankfailurecode.ts
|
|
61255
|
+
var InstantBankFailureCode, InstantBankFailureCode$inboundSchema, InstantBankFailureCode$outboundSchema;
|
|
61256
|
+
var init_instantbankfailurecode = __esm(() => {
|
|
61257
|
+
init_esm();
|
|
61258
|
+
InstantBankFailureCode = {
|
|
61259
|
+
ProcessingError: "processing-error",
|
|
61260
|
+
InvalidAccount: "invalid-account",
|
|
61261
|
+
AccountClosed: "account-closed",
|
|
61262
|
+
AccountBlocked: "account-blocked",
|
|
61263
|
+
InvalidField: "invalid-field",
|
|
61264
|
+
TransactionNotSupported: "transaction-not-supported",
|
|
61265
|
+
LimitExceeded: "limit-exceeded",
|
|
61266
|
+
InvalidAmount: "invalid-amount",
|
|
61267
|
+
CustomerDeceased: "customer-deceased",
|
|
61268
|
+
ParticipantNotAvailable: "participant-not-available",
|
|
61269
|
+
Other: "other"
|
|
61270
|
+
};
|
|
61271
|
+
InstantBankFailureCode$inboundSchema = nativeEnumType(InstantBankFailureCode);
|
|
61272
|
+
InstantBankFailureCode$outboundSchema = InstantBankFailureCode$inboundSchema;
|
|
61273
|
+
});
|
|
61274
|
+
|
|
61275
|
+
// src/models/components/instantbanknetwork.ts
|
|
61276
|
+
var InstantBankNetwork, InstantBankNetwork$inboundSchema, InstantBankNetwork$outboundSchema;
|
|
61277
|
+
var init_instantbanknetwork = __esm(() => {
|
|
61278
|
+
init_esm();
|
|
61279
|
+
InstantBankNetwork = {
|
|
61280
|
+
Fednow: "fednow",
|
|
61281
|
+
Rtp: "rtp"
|
|
61282
|
+
};
|
|
61283
|
+
InstantBankNetwork$inboundSchema = nativeEnumType(InstantBankNetwork);
|
|
61284
|
+
InstantBankNetwork$outboundSchema = InstantBankNetwork$inboundSchema;
|
|
61285
|
+
});
|
|
61286
|
+
|
|
61287
|
+
// src/models/components/instantbanktransactionstatus.ts
|
|
61288
|
+
var InstantBankTransactionStatus, InstantBankTransactionStatus$inboundSchema, InstantBankTransactionStatus$outboundSchema;
|
|
61289
|
+
var init_instantbanktransactionstatus = __esm(() => {
|
|
61290
|
+
init_esm();
|
|
61291
|
+
InstantBankTransactionStatus = {
|
|
61292
|
+
Initiated: "initiated",
|
|
61293
|
+
Completed: "completed",
|
|
61294
|
+
Failed: "failed",
|
|
61295
|
+
AcceptedWithoutPosting: "accepted-without-posting"
|
|
61296
|
+
};
|
|
61297
|
+
InstantBankTransactionStatus$inboundSchema = nativeEnumType(InstantBankTransactionStatus);
|
|
61298
|
+
InstantBankTransactionStatus$outboundSchema = InstantBankTransactionStatus$inboundSchema;
|
|
61299
|
+
});
|
|
61300
|
+
|
|
61301
|
+
// src/models/components/instantbanktransactiondetails.ts
|
|
61302
|
+
var InstantBankTransactionDetails$inboundSchema, InstantBankTransactionDetails$outboundSchema;
|
|
61303
|
+
var init_instantbanktransactiondetails = __esm(() => {
|
|
61304
|
+
init_esm();
|
|
61305
|
+
init_instantbankfailurecode();
|
|
61306
|
+
init_instantbanknetwork();
|
|
61307
|
+
init_instantbanktransactionstatus();
|
|
61308
|
+
InstantBankTransactionDetails$inboundSchema = objectType({
|
|
61309
|
+
network: InstantBankNetwork$inboundSchema,
|
|
61310
|
+
status: InstantBankTransactionStatus$inboundSchema,
|
|
61311
|
+
networkResponseCode: stringType().optional(),
|
|
61312
|
+
failureCode: InstantBankFailureCode$inboundSchema.optional(),
|
|
61313
|
+
endToEndID: stringType().optional(),
|
|
61314
|
+
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61315
|
+
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61316
|
+
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61317
|
+
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
61318
|
+
});
|
|
61319
|
+
InstantBankTransactionDetails$outboundSchema = objectType({
|
|
61320
|
+
network: InstantBankNetwork$outboundSchema,
|
|
61321
|
+
status: InstantBankTransactionStatus$outboundSchema,
|
|
61322
|
+
networkResponseCode: stringType().optional(),
|
|
61323
|
+
failureCode: InstantBankFailureCode$outboundSchema.optional(),
|
|
61324
|
+
endToEndID: stringType().optional(),
|
|
61325
|
+
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61326
|
+
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61327
|
+
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61328
|
+
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
61329
|
+
});
|
|
61330
|
+
});
|
|
61331
|
+
|
|
61210
61332
|
// src/models/components/rtpfailurecode.ts
|
|
61211
61333
|
var RTPFailureCode, RTPFailureCode$inboundSchema, RTPFailureCode$outboundSchema;
|
|
61212
61334
|
var init_rtpfailurecode = __esm(() => {
|
|
@@ -61314,6 +61436,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61314
61436
|
init_achtransactiondetails();
|
|
61315
61437
|
init_applepayresponse();
|
|
61316
61438
|
init_cardtransactiondetails();
|
|
61439
|
+
init_instantbanktransactiondetails();
|
|
61317
61440
|
init_rtpfailurecode();
|
|
61318
61441
|
init_rtptransactionstatus();
|
|
61319
61442
|
init_transferaccount();
|
|
@@ -61349,7 +61472,8 @@ var init_transferdestination = __esm(() => {
|
|
|
61349
61472
|
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
61350
61473
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
61351
61474
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
61352
|
-
rtpDetails: lazyType(() => RtpDetails$inboundSchema).optional()
|
|
61475
|
+
rtpDetails: lazyType(() => RtpDetails$inboundSchema).optional(),
|
|
61476
|
+
instantBankDetails: InstantBankTransactionDetails$inboundSchema.optional()
|
|
61353
61477
|
});
|
|
61354
61478
|
TransferDestination$outboundSchema = objectType({
|
|
61355
61479
|
paymentMethodID: stringType(),
|
|
@@ -61361,7 +61485,8 @@ var init_transferdestination = __esm(() => {
|
|
|
61361
61485
|
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
61362
61486
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
61363
61487
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
61364
|
-
rtpDetails: lazyType(() => RtpDetails$outboundSchema).optional()
|
|
61488
|
+
rtpDetails: lazyType(() => RtpDetails$outboundSchema).optional(),
|
|
61489
|
+
instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional()
|
|
61365
61490
|
});
|
|
61366
61491
|
});
|
|
61367
61492
|
|
|
@@ -61592,7 +61717,7 @@ var init_createdtransfer = __esm(() => {
|
|
|
61592
61717
|
});
|
|
61593
61718
|
|
|
61594
61719
|
// src/types/blobs.ts
|
|
61595
|
-
function
|
|
61720
|
+
function isBlobLike2(val) {
|
|
61596
61721
|
if (val instanceof Blob) {
|
|
61597
61722
|
return true;
|
|
61598
61723
|
}
|
|
@@ -61611,7 +61736,7 @@ function isBlobLike(val) {
|
|
|
61611
61736
|
var blobLikeSchema;
|
|
61612
61737
|
var init_blobs = __esm(() => {
|
|
61613
61738
|
init_esm();
|
|
61614
|
-
blobLikeSchema = custom(
|
|
61739
|
+
blobLikeSchema = custom(isBlobLike2, {
|
|
61615
61740
|
message: "expected a Blob, File or Blob-like object",
|
|
61616
61741
|
fatal: true
|
|
61617
61742
|
});
|
|
@@ -67524,9 +67649,11 @@ var WebhookBillingStatementCreated$inboundSchema, WebhookBillingStatementCreated
|
|
|
67524
67649
|
var init_webhookbillingstatementcreated = __esm(() => {
|
|
67525
67650
|
init_esm();
|
|
67526
67651
|
WebhookBillingStatementCreated$inboundSchema = objectType({
|
|
67652
|
+
accountID: stringType(),
|
|
67527
67653
|
statementID: stringType()
|
|
67528
67654
|
});
|
|
67529
67655
|
WebhookBillingStatementCreated$outboundSchema = objectType({
|
|
67656
|
+
accountID: stringType(),
|
|
67530
67657
|
statementID: stringType()
|
|
67531
67658
|
});
|
|
67532
67659
|
});
|
|
@@ -68268,11 +68395,11 @@ var init_webhookdata = __esm(() => {
|
|
|
68268
68395
|
WebhookDataTicketCreated$inboundSchema,
|
|
68269
68396
|
WebhookDataTicketMessageAdded$inboundSchema,
|
|
68270
68397
|
WebhookDataWalletCreated$inboundSchema,
|
|
68398
|
+
WebhookBillingStatementCreated$inboundSchema,
|
|
68271
68399
|
WebhookDataAccountCreated$inboundSchema,
|
|
68272
68400
|
WebhookDataAccountUpdated$inboundSchema,
|
|
68273
68401
|
WebhookDataAccountDisconnected$inboundSchema,
|
|
68274
|
-
WebhookDataNetworkIDUpdated$inboundSchema
|
|
68275
|
-
WebhookBillingStatementCreated$inboundSchema
|
|
68402
|
+
WebhookDataNetworkIDUpdated$inboundSchema
|
|
68276
68403
|
]);
|
|
68277
68404
|
WebhookData$outboundSchema = unionType([
|
|
68278
68405
|
WebhookDataDisputeCreated$outboundSchema,
|
|
@@ -68307,11 +68434,11 @@ var init_webhookdata = __esm(() => {
|
|
|
68307
68434
|
WebhookDataTicketCreated$outboundSchema,
|
|
68308
68435
|
WebhookDataTicketMessageAdded$outboundSchema,
|
|
68309
68436
|
WebhookDataWalletCreated$outboundSchema,
|
|
68437
|
+
WebhookBillingStatementCreated$outboundSchema,
|
|
68310
68438
|
WebhookDataAccountCreated$outboundSchema,
|
|
68311
68439
|
WebhookDataAccountUpdated$outboundSchema,
|
|
68312
68440
|
WebhookDataAccountDisconnected$outboundSchema,
|
|
68313
|
-
WebhookDataNetworkIDUpdated$outboundSchema
|
|
68314
|
-
WebhookBillingStatementCreated$outboundSchema
|
|
68441
|
+
WebhookDataNetworkIDUpdated$outboundSchema
|
|
68315
68442
|
]);
|
|
68316
68443
|
});
|
|
68317
68444
|
|
|
@@ -68415,6 +68542,7 @@ var init_components = __esm(() => {
|
|
|
68415
68542
|
init_bankaccountverificationstatus();
|
|
68416
68543
|
init_bankaccountwaitfor();
|
|
68417
68544
|
init_basicpaymentmethod();
|
|
68545
|
+
init_batchgettransfersrequest();
|
|
68418
68546
|
init_billablefee();
|
|
68419
68547
|
init_billingcountandamount();
|
|
68420
68548
|
init_billinginterchangeprogramfee();
|
|
@@ -68604,6 +68732,10 @@ var init_components = __esm(() => {
|
|
|
68604
68732
|
init_individualprofile();
|
|
68605
68733
|
init_industrycodes();
|
|
68606
68734
|
init_industrytaxonomy();
|
|
68735
|
+
init_instantbankfailurecode();
|
|
68736
|
+
init_instantbanknetwork();
|
|
68737
|
+
init_instantbanktransactiondetails();
|
|
68738
|
+
init_instantbanktransactionstatus();
|
|
68607
68739
|
init_instantpaymentfees();
|
|
68608
68740
|
init_institutionssearchresponse();
|
|
68609
68741
|
init_invoicestatus();
|
|
@@ -71588,6 +71720,48 @@ var init_assignaccountcountries = __esm(() => {
|
|
|
71588
71720
|
});
|
|
71589
71721
|
});
|
|
71590
71722
|
|
|
71723
|
+
// src/models/operations/batchgettransfers.ts
|
|
71724
|
+
var BatchGetTransfersRequest$inboundSchema2, BatchGetTransfersRequest$outboundSchema2, BatchGetTransfersResponse$inboundSchema, BatchGetTransfersResponse$outboundSchema;
|
|
71725
|
+
var init_batchgettransfers = __esm(() => {
|
|
71726
|
+
init_esm();
|
|
71727
|
+
init_primitives();
|
|
71728
|
+
init_components();
|
|
71729
|
+
BatchGetTransfersRequest$inboundSchema2 = objectType({
|
|
71730
|
+
accountID: stringType(),
|
|
71731
|
+
BatchGetTransfersRequest: BatchGetTransfersRequest$inboundSchema
|
|
71732
|
+
}).transform((v2) => {
|
|
71733
|
+
return remap(v2, {
|
|
71734
|
+
BatchGetTransfersRequest: "batchGetTransfersRequest"
|
|
71735
|
+
});
|
|
71736
|
+
});
|
|
71737
|
+
BatchGetTransfersRequest$outboundSchema2 = objectType({
|
|
71738
|
+
accountID: stringType(),
|
|
71739
|
+
batchGetTransfersRequest: BatchGetTransfersRequest$outboundSchema
|
|
71740
|
+
}).transform((v2) => {
|
|
71741
|
+
return remap(v2, {
|
|
71742
|
+
batchGetTransfersRequest: "BatchGetTransfersRequest"
|
|
71743
|
+
});
|
|
71744
|
+
});
|
|
71745
|
+
BatchGetTransfersResponse$inboundSchema = objectType({
|
|
71746
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
71747
|
+
Result: recordType(Transfer$inboundSchema)
|
|
71748
|
+
}).transform((v2) => {
|
|
71749
|
+
return remap(v2, {
|
|
71750
|
+
Headers: "headers",
|
|
71751
|
+
Result: "result"
|
|
71752
|
+
});
|
|
71753
|
+
});
|
|
71754
|
+
BatchGetTransfersResponse$outboundSchema = objectType({
|
|
71755
|
+
headers: recordType(arrayType(stringType())),
|
|
71756
|
+
result: recordType(Transfer$outboundSchema)
|
|
71757
|
+
}).transform((v2) => {
|
|
71758
|
+
return remap(v2, {
|
|
71759
|
+
headers: "Headers",
|
|
71760
|
+
result: "Result"
|
|
71761
|
+
});
|
|
71762
|
+
});
|
|
71763
|
+
});
|
|
71764
|
+
|
|
71591
71765
|
// src/models/operations/cancelschedule.ts
|
|
71592
71766
|
var CancelScheduleRequest$inboundSchema, CancelScheduleRequest$outboundSchema, CancelScheduleResponse$inboundSchema, CancelScheduleResponse$outboundSchema;
|
|
71593
71767
|
var init_cancelschedule = __esm(() => {
|
|
@@ -77248,17 +77422,21 @@ var init_updateissuedcard2 = __esm(() => {
|
|
|
77248
77422
|
});
|
|
77249
77423
|
});
|
|
77250
77424
|
UpdateIssuedCardResponse$inboundSchema = objectType({
|
|
77251
|
-
Headers: recordType(arrayType(stringType())).default({})
|
|
77425
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
77426
|
+
Result: IssuedCard$inboundSchema
|
|
77252
77427
|
}).transform((v2) => {
|
|
77253
77428
|
return remap(v2, {
|
|
77254
|
-
Headers: "headers"
|
|
77429
|
+
Headers: "headers",
|
|
77430
|
+
Result: "result"
|
|
77255
77431
|
});
|
|
77256
77432
|
});
|
|
77257
77433
|
UpdateIssuedCardResponse$outboundSchema = objectType({
|
|
77258
|
-
headers: recordType(arrayType(stringType()))
|
|
77434
|
+
headers: recordType(arrayType(stringType())),
|
|
77435
|
+
result: IssuedCard$outboundSchema
|
|
77259
77436
|
}).transform((v2) => {
|
|
77260
77437
|
return remap(v2, {
|
|
77261
|
-
headers: "Headers"
|
|
77438
|
+
headers: "Headers",
|
|
77439
|
+
result: "Result"
|
|
77262
77440
|
});
|
|
77263
77441
|
});
|
|
77264
77442
|
});
|
|
@@ -77917,6 +78095,7 @@ var init_upsertunderwriting2 = __esm(() => {
|
|
|
77917
78095
|
var init_operations = __esm(() => {
|
|
77918
78096
|
init_acceptdispute();
|
|
77919
78097
|
init_assignaccountcountries();
|
|
78098
|
+
init_batchgettransfers();
|
|
77920
78099
|
init_cancelschedule();
|
|
77921
78100
|
init_completebankaccountverification2();
|
|
77922
78101
|
init_completemicrodeposits2();
|
|
@@ -80456,12 +80635,12 @@ var init_applePayLinkToken2 = __esm(() => {
|
|
|
80456
80635
|
};
|
|
80457
80636
|
tool$applePayLinkToken = {
|
|
80458
80637
|
name: "apple-pay-link-token",
|
|
80459
|
-
description: `Connect an Apple Pay token to the specified account.
|
|
80638
|
+
description: `Connect an Apple Pay token to the specified account.
|
|
80460
80639
|
|
|
80461
|
-
Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more.
|
|
80640
|
+
Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more.
|
|
80462
80641
|
The \`token\` data is defined by Apple Pay and should be passed through from Apple Pay's response unmodified.
|
|
80463
80642
|
|
|
80464
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80643
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80465
80644
|
you'll need to specify the \`/accounts/{accountID}/cards.write\` scope.`,
|
|
80466
80645
|
args: args20,
|
|
80467
80646
|
tool: async (client, args21, ctx) => {
|
|
@@ -83580,8 +83759,9 @@ async function $do46(client, request, options) {
|
|
|
83580
83759
|
const responseFields = {
|
|
83581
83760
|
HttpMeta: { Response: response, Request: req }
|
|
83582
83761
|
};
|
|
83583
|
-
const [result] = await match(
|
|
83584
|
-
hdrs: true
|
|
83762
|
+
const [result] = await match(json(200, UpdateIssuedCardResponse$inboundSchema, {
|
|
83763
|
+
hdrs: true,
|
|
83764
|
+
key: "Result"
|
|
83585
83765
|
}), 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 });
|
|
83586
83766
|
if (!result.ok) {
|
|
83587
83767
|
return [result, { status: "complete", request: req, response }];
|
|
@@ -83624,7 +83804,8 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.write\` scope.`,
|
|
|
83624
83804
|
isError: true
|
|
83625
83805
|
};
|
|
83626
83806
|
}
|
|
83627
|
-
|
|
83807
|
+
const value = result.value.result;
|
|
83808
|
+
return formatResult(value, apiCall);
|
|
83628
83809
|
}
|
|
83629
83810
|
};
|
|
83630
83811
|
});
|
|
@@ -85454,8 +85635,11 @@ async function $do61(client, request, options) {
|
|
|
85454
85635
|
const payload = parsed.value;
|
|
85455
85636
|
const body = new FormData;
|
|
85456
85637
|
appendForm(body, "evidenceType", payload.CreateEvidenceFileMultiPart.evidenceType);
|
|
85457
|
-
if (
|
|
85458
|
-
|
|
85638
|
+
if (isBlobLike2(payload.CreateEvidenceFileMultiPart.file)) {
|
|
85639
|
+
const file = payload.CreateEvidenceFileMultiPart.file;
|
|
85640
|
+
const blob = await normalizeBlob(file);
|
|
85641
|
+
const name = "name" in file ? file.name : undefined;
|
|
85642
|
+
appendForm(body, "file", blob, name);
|
|
85459
85643
|
} else if (isReadableStream(payload.CreateEvidenceFileMultiPart.file.content)) {
|
|
85460
85644
|
const buffer = await readableStreamToArrayBuffer(payload.CreateEvidenceFileMultiPart.file.content);
|
|
85461
85645
|
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
@@ -87551,8 +87735,11 @@ async function $do79(client, request, options) {
|
|
|
87551
87735
|
}
|
|
87552
87736
|
const payload = parsed.value;
|
|
87553
87737
|
const body = new FormData;
|
|
87554
|
-
if (
|
|
87555
|
-
|
|
87738
|
+
if (isBlobLike2(payload.FileUploadRequestMultiPart.file)) {
|
|
87739
|
+
const file = payload.FileUploadRequestMultiPart.file;
|
|
87740
|
+
const blob = await normalizeBlob(file);
|
|
87741
|
+
const name = "name" in file ? file.name : undefined;
|
|
87742
|
+
appendForm(body, "file", blob, name);
|
|
87556
87743
|
} else if (isReadableStream(payload.FileUploadRequestMultiPart.file.content)) {
|
|
87557
87744
|
const buffer = await readableStreamToArrayBuffer(payload.FileUploadRequestMultiPart.file.content);
|
|
87558
87745
|
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
@@ -88161,8 +88348,11 @@ async function $do84(client, request, options) {
|
|
|
88161
88348
|
}
|
|
88162
88349
|
const payload = parsed.value;
|
|
88163
88350
|
const body = new FormData;
|
|
88164
|
-
if (
|
|
88165
|
-
|
|
88351
|
+
if (isBlobLike2(payload.ImageUploadRequestMultiPart.image)) {
|
|
88352
|
+
const file = payload.ImageUploadRequestMultiPart.image;
|
|
88353
|
+
const blob = await normalizeBlob(file);
|
|
88354
|
+
const name = "name" in file ? file.name : undefined;
|
|
88355
|
+
appendForm(body, "image", blob, name);
|
|
88166
88356
|
} else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
|
|
88167
88357
|
const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
|
|
88168
88358
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
@@ -88435,8 +88625,11 @@ async function $do86(client, request, options) {
|
|
|
88435
88625
|
}
|
|
88436
88626
|
const payload = parsed.value;
|
|
88437
88627
|
const body = new FormData;
|
|
88438
|
-
if (
|
|
88439
|
-
|
|
88628
|
+
if (isBlobLike2(payload.ImageUploadRequestMultiPart.image)) {
|
|
88629
|
+
const file = payload.ImageUploadRequestMultiPart.image;
|
|
88630
|
+
const blob = await normalizeBlob(file);
|
|
88631
|
+
const name = "name" in file ? file.name : undefined;
|
|
88632
|
+
appendForm(body, "image", blob, name);
|
|
88440
88633
|
} else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
|
|
88441
88634
|
const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
|
|
88442
88635
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
@@ -95199,11 +95392,128 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
95199
95392
|
};
|
|
95200
95393
|
});
|
|
95201
95394
|
|
|
95202
|
-
// src/funcs/
|
|
95203
|
-
function
|
|
95395
|
+
// src/funcs/transfersBatchGetTransfers.ts
|
|
95396
|
+
function transfersBatchGetTransfers(client, request, options) {
|
|
95204
95397
|
return new APIPromise($do144(client, request, options));
|
|
95205
95398
|
}
|
|
95206
95399
|
async function $do144(client, request, options) {
|
|
95400
|
+
const parsed = safeParse4(request, (value) => BatchGetTransfersRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
95401
|
+
if (!parsed.ok) {
|
|
95402
|
+
return [parsed, { status: "invalid" }];
|
|
95403
|
+
}
|
|
95404
|
+
const payload = parsed.value;
|
|
95405
|
+
const body = encodeJSON("body", payload.BatchGetTransfersRequest, {
|
|
95406
|
+
explode: true
|
|
95407
|
+
});
|
|
95408
|
+
const pathParams = {
|
|
95409
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
95410
|
+
explode: false,
|
|
95411
|
+
charEncoding: "percent"
|
|
95412
|
+
})
|
|
95413
|
+
};
|
|
95414
|
+
const path = pathToFunc("/accounts/{accountID}/transfers/.fetch")(pathParams);
|
|
95415
|
+
const headers = new Headers(compactMap({
|
|
95416
|
+
"Content-Type": "application/json",
|
|
95417
|
+
Accept: "application/json"
|
|
95418
|
+
}));
|
|
95419
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
95420
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
95421
|
+
const context = {
|
|
95422
|
+
options: client._options,
|
|
95423
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
95424
|
+
operationID: "batchGetTransfers",
|
|
95425
|
+
oAuth2Scopes: null,
|
|
95426
|
+
resolvedSecurity: requestSecurity,
|
|
95427
|
+
securitySource: client._options.security,
|
|
95428
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
95429
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
95430
|
+
};
|
|
95431
|
+
const requestRes = client._createRequest(context, {
|
|
95432
|
+
security: requestSecurity,
|
|
95433
|
+
method: "POST",
|
|
95434
|
+
baseURL: options?.serverURL,
|
|
95435
|
+
path,
|
|
95436
|
+
headers,
|
|
95437
|
+
body,
|
|
95438
|
+
userAgent: client._options.userAgent,
|
|
95439
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
95440
|
+
}, options);
|
|
95441
|
+
if (!requestRes.ok) {
|
|
95442
|
+
return [requestRes, { status: "invalid" }];
|
|
95443
|
+
}
|
|
95444
|
+
const req = requestRes.value;
|
|
95445
|
+
const doResult = await client._do(req, {
|
|
95446
|
+
context,
|
|
95447
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
95448
|
+
retryConfig: context.retryConfig,
|
|
95449
|
+
retryCodes: context.retryCodes
|
|
95450
|
+
});
|
|
95451
|
+
if (!doResult.ok) {
|
|
95452
|
+
return [doResult, { status: "request-error", request: req }];
|
|
95453
|
+
}
|
|
95454
|
+
const response = doResult.value;
|
|
95455
|
+
const responseFields = {
|
|
95456
|
+
HttpMeta: { Response: response, Request: req }
|
|
95457
|
+
};
|
|
95458
|
+
const [result] = await match(json(200, BatchGetTransfersResponse$inboundSchema, {
|
|
95459
|
+
hdrs: true,
|
|
95460
|
+
key: "Result"
|
|
95461
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
95462
|
+
if (!result.ok) {
|
|
95463
|
+
return [result, { status: "complete", request: req, response }];
|
|
95464
|
+
}
|
|
95465
|
+
return [result, { status: "complete", request: req, response }];
|
|
95466
|
+
}
|
|
95467
|
+
var init_transfersBatchGetTransfers = __esm(() => {
|
|
95468
|
+
init_encodings();
|
|
95469
|
+
init_matchers();
|
|
95470
|
+
init_primitives();
|
|
95471
|
+
init_schemas4();
|
|
95472
|
+
init_security();
|
|
95473
|
+
init_url();
|
|
95474
|
+
init_operations();
|
|
95475
|
+
init_async();
|
|
95476
|
+
});
|
|
95477
|
+
|
|
95478
|
+
// src/mcp-server/tools/transfersBatchGetTransfers.ts
|
|
95479
|
+
var args139, tool$transfersBatchGetTransfers;
|
|
95480
|
+
var init_transfersBatchGetTransfers2 = __esm(() => {
|
|
95481
|
+
init_transfersBatchGetTransfers();
|
|
95482
|
+
init_operations();
|
|
95483
|
+
init_tools();
|
|
95484
|
+
args139 = {
|
|
95485
|
+
request: BatchGetTransfersRequest$inboundSchema2
|
|
95486
|
+
};
|
|
95487
|
+
tool$transfersBatchGetTransfers = {
|
|
95488
|
+
name: "transfers-batch-get-transfers",
|
|
95489
|
+
description: `Retrieve transfer details for multiple transfers in one request. The response is a map from each
|
|
95490
|
+
requested transfer ID to its full transfer details when available; IDs that are not found or not
|
|
95491
|
+
accessible under this account are omitted from the map.
|
|
95492
|
+
|
|
95493
|
+
Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
95494
|
+
|
|
95495
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95496
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95497
|
+
args: args139,
|
|
95498
|
+
tool: async (client, args140, ctx) => {
|
|
95499
|
+
const [result, apiCall] = await transfersBatchGetTransfers(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95500
|
+
if (!result.ok) {
|
|
95501
|
+
return {
|
|
95502
|
+
content: [{ type: "text", text: result.error.message }],
|
|
95503
|
+
isError: true
|
|
95504
|
+
};
|
|
95505
|
+
}
|
|
95506
|
+
const value = result.value.result;
|
|
95507
|
+
return formatResult(value, apiCall);
|
|
95508
|
+
}
|
|
95509
|
+
};
|
|
95510
|
+
});
|
|
95511
|
+
|
|
95512
|
+
// src/funcs/transfersCreate.ts
|
|
95513
|
+
function transfersCreate(client, request, options) {
|
|
95514
|
+
return new APIPromise($do145(client, request, options));
|
|
95515
|
+
}
|
|
95516
|
+
async function $do145(client, request, options) {
|
|
95207
95517
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95208
95518
|
if (!parsed.ok) {
|
|
95209
95519
|
return [parsed, { status: "invalid" }];
|
|
@@ -95295,12 +95605,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
95295
95605
|
});
|
|
95296
95606
|
|
|
95297
95607
|
// src/mcp-server/tools/transfersCreate.ts
|
|
95298
|
-
var
|
|
95608
|
+
var args140, tool$transfersCreate;
|
|
95299
95609
|
var init_transfersCreate2 = __esm(() => {
|
|
95300
95610
|
init_transfersCreate();
|
|
95301
95611
|
init_operations();
|
|
95302
95612
|
init_tools();
|
|
95303
|
-
|
|
95613
|
+
args140 = {
|
|
95304
95614
|
request: CreateTransferRequest$inboundSchema
|
|
95305
95615
|
};
|
|
95306
95616
|
tool$transfersCreate = {
|
|
@@ -95311,9 +95621,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
95311
95621
|
|
|
95312
95622
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95313
95623
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95314
|
-
args:
|
|
95315
|
-
tool: async (client,
|
|
95316
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
95624
|
+
args: args140,
|
|
95625
|
+
tool: async (client, args141, ctx) => {
|
|
95626
|
+
const [result, apiCall] = await transfersCreate(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95317
95627
|
if (!result.ok) {
|
|
95318
95628
|
return {
|
|
95319
95629
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95328,9 +95638,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95328
95638
|
|
|
95329
95639
|
// src/funcs/transfersCreateCancellation.ts
|
|
95330
95640
|
function transfersCreateCancellation(client, request, options) {
|
|
95331
|
-
return new APIPromise($
|
|
95641
|
+
return new APIPromise($do146(client, request, options));
|
|
95332
95642
|
}
|
|
95333
|
-
async function $
|
|
95643
|
+
async function $do146(client, request, options) {
|
|
95334
95644
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95335
95645
|
if (!parsed.ok) {
|
|
95336
95646
|
return [parsed, { status: "invalid" }];
|
|
@@ -95412,12 +95722,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
95412
95722
|
});
|
|
95413
95723
|
|
|
95414
95724
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
95415
|
-
var
|
|
95725
|
+
var args141, tool$transfersCreateCancellation;
|
|
95416
95726
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
95417
95727
|
init_transfersCreateCancellation();
|
|
95418
95728
|
init_operations();
|
|
95419
95729
|
init_tools();
|
|
95420
|
-
|
|
95730
|
+
args141 = {
|
|
95421
95731
|
request: CreateCancellationRequest$inboundSchema
|
|
95422
95732
|
};
|
|
95423
95733
|
tool$transfersCreateCancellation = {
|
|
@@ -95426,9 +95736,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
95426
95736
|
|
|
95427
95737
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
95428
95738
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95429
|
-
args:
|
|
95430
|
-
tool: async (client,
|
|
95431
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
95739
|
+
args: args141,
|
|
95740
|
+
tool: async (client, args142, ctx) => {
|
|
95741
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95432
95742
|
if (!result.ok) {
|
|
95433
95743
|
return {
|
|
95434
95744
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95443,9 +95753,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
95443
95753
|
|
|
95444
95754
|
// src/funcs/transfersCreateReversal.ts
|
|
95445
95755
|
function transfersCreateReversal(client, request, options) {
|
|
95446
|
-
return new APIPromise($
|
|
95756
|
+
return new APIPromise($do147(client, request, options));
|
|
95447
95757
|
}
|
|
95448
|
-
async function $
|
|
95758
|
+
async function $do147(client, request, options) {
|
|
95449
95759
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95450
95760
|
if (!parsed.ok) {
|
|
95451
95761
|
return [parsed, { status: "invalid" }];
|
|
@@ -95543,12 +95853,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
95543
95853
|
});
|
|
95544
95854
|
|
|
95545
95855
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
95546
|
-
var
|
|
95856
|
+
var args142, tool$transfersCreateReversal;
|
|
95547
95857
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
95548
95858
|
init_transfersCreateReversal();
|
|
95549
95859
|
init_operations();
|
|
95550
95860
|
init_tools();
|
|
95551
|
-
|
|
95861
|
+
args142 = {
|
|
95552
95862
|
request: CreateReversalRequest$inboundSchema
|
|
95553
95863
|
};
|
|
95554
95864
|
tool$transfersCreateReversal = {
|
|
@@ -95559,9 +95869,9 @@ to learn more.
|
|
|
95559
95869
|
|
|
95560
95870
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
95561
95871
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95562
|
-
args:
|
|
95563
|
-
tool: async (client,
|
|
95564
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
95872
|
+
args: args142,
|
|
95873
|
+
tool: async (client, args143, ctx) => {
|
|
95874
|
+
const [result, apiCall] = await transfersCreateReversal(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95565
95875
|
if (!result.ok) {
|
|
95566
95876
|
return {
|
|
95567
95877
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95576,9 +95886,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95576
95886
|
|
|
95577
95887
|
// src/funcs/transfersGenerateOptions.ts
|
|
95578
95888
|
function transfersGenerateOptions(client, request, options) {
|
|
95579
|
-
return new APIPromise($
|
|
95889
|
+
return new APIPromise($do148(client, request, options));
|
|
95580
95890
|
}
|
|
95581
|
-
async function $
|
|
95891
|
+
async function $do148(client, request, options) {
|
|
95582
95892
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95583
95893
|
if (!parsed.ok) {
|
|
95584
95894
|
return [parsed, { status: "invalid" }];
|
|
@@ -95661,12 +95971,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
95661
95971
|
});
|
|
95662
95972
|
|
|
95663
95973
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
95664
|
-
var
|
|
95974
|
+
var args143, tool$transfersGenerateOptions;
|
|
95665
95975
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
95666
95976
|
init_transfersGenerateOptions();
|
|
95667
95977
|
init_operations();
|
|
95668
95978
|
init_tools();
|
|
95669
|
-
|
|
95979
|
+
args143 = {
|
|
95670
95980
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
95671
95981
|
};
|
|
95672
95982
|
tool$transfersGenerateOptions = {
|
|
@@ -95680,9 +95990,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
95680
95990
|
|
|
95681
95991
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95682
95992
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95683
|
-
args:
|
|
95684
|
-
tool: async (client,
|
|
95685
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
95993
|
+
args: args143,
|
|
95994
|
+
tool: async (client, args144, ctx) => {
|
|
95995
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95686
95996
|
if (!result.ok) {
|
|
95687
95997
|
return {
|
|
95688
95998
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95697,9 +96007,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95697
96007
|
|
|
95698
96008
|
// src/funcs/transfersGet.ts
|
|
95699
96009
|
function transfersGet(client, request, options) {
|
|
95700
|
-
return new APIPromise($
|
|
96010
|
+
return new APIPromise($do149(client, request, options));
|
|
95701
96011
|
}
|
|
95702
|
-
async function $
|
|
96012
|
+
async function $do149(client, request, options) {
|
|
95703
96013
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95704
96014
|
if (!parsed.ok) {
|
|
95705
96015
|
return [parsed, { status: "invalid" }];
|
|
@@ -95780,12 +96090,12 @@ var init_transfersGet = __esm(() => {
|
|
|
95780
96090
|
});
|
|
95781
96091
|
|
|
95782
96092
|
// src/mcp-server/tools/transfersGet.ts
|
|
95783
|
-
var
|
|
96093
|
+
var args144, tool$transfersGet;
|
|
95784
96094
|
var init_transfersGet2 = __esm(() => {
|
|
95785
96095
|
init_transfersGet();
|
|
95786
96096
|
init_operations();
|
|
95787
96097
|
init_tools();
|
|
95788
|
-
|
|
96098
|
+
args144 = {
|
|
95789
96099
|
request: GetTransferRequest$inboundSchema
|
|
95790
96100
|
};
|
|
95791
96101
|
tool$transfersGet = {
|
|
@@ -95797,9 +96107,9 @@ to learn more.
|
|
|
95797
96107
|
|
|
95798
96108
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95799
96109
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95800
|
-
args:
|
|
95801
|
-
tool: async (client,
|
|
95802
|
-
const [result, apiCall] = await transfersGet(client,
|
|
96110
|
+
args: args144,
|
|
96111
|
+
tool: async (client, args145, ctx) => {
|
|
96112
|
+
const [result, apiCall] = await transfersGet(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95803
96113
|
if (!result.ok) {
|
|
95804
96114
|
return {
|
|
95805
96115
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95814,9 +96124,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
95814
96124
|
|
|
95815
96125
|
// src/funcs/transfersGetCancellation.ts
|
|
95816
96126
|
function transfersGetCancellation(client, request, options) {
|
|
95817
|
-
return new APIPromise($
|
|
96127
|
+
return new APIPromise($do150(client, request, options));
|
|
95818
96128
|
}
|
|
95819
|
-
async function $
|
|
96129
|
+
async function $do150(client, request, options) {
|
|
95820
96130
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95821
96131
|
if (!parsed.ok) {
|
|
95822
96132
|
return [parsed, { status: "invalid" }];
|
|
@@ -95901,12 +96211,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
95901
96211
|
});
|
|
95902
96212
|
|
|
95903
96213
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
95904
|
-
var
|
|
96214
|
+
var args145, tool$transfersGetCancellation;
|
|
95905
96215
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
95906
96216
|
init_transfersGetCancellation();
|
|
95907
96217
|
init_operations();
|
|
95908
96218
|
init_tools();
|
|
95909
|
-
|
|
96219
|
+
args145 = {
|
|
95910
96220
|
request: GetCancellationRequest$inboundSchema
|
|
95911
96221
|
};
|
|
95912
96222
|
tool$transfersGetCancellation = {
|
|
@@ -95915,9 +96225,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
95915
96225
|
|
|
95916
96226
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
95917
96227
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95918
|
-
args:
|
|
95919
|
-
tool: async (client,
|
|
95920
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
96228
|
+
args: args145,
|
|
96229
|
+
tool: async (client, args146, ctx) => {
|
|
96230
|
+
const [result, apiCall] = await transfersGetCancellation(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95921
96231
|
if (!result.ok) {
|
|
95922
96232
|
return {
|
|
95923
96233
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95932,9 +96242,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
95932
96242
|
|
|
95933
96243
|
// src/funcs/transfersGetRefund.ts
|
|
95934
96244
|
function transfersGetRefund(client, request, options) {
|
|
95935
|
-
return new APIPromise($
|
|
96245
|
+
return new APIPromise($do151(client, request, options));
|
|
95936
96246
|
}
|
|
95937
|
-
async function $
|
|
96247
|
+
async function $do151(client, request, options) {
|
|
95938
96248
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95939
96249
|
if (!parsed.ok) {
|
|
95940
96250
|
return [parsed, { status: "invalid" }];
|
|
@@ -96019,12 +96329,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
96019
96329
|
});
|
|
96020
96330
|
|
|
96021
96331
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
96022
|
-
var
|
|
96332
|
+
var args146, tool$transfersGetRefund;
|
|
96023
96333
|
var init_transfersGetRefund2 = __esm(() => {
|
|
96024
96334
|
init_transfersGetRefund();
|
|
96025
96335
|
init_operations();
|
|
96026
96336
|
init_tools();
|
|
96027
|
-
|
|
96337
|
+
args146 = {
|
|
96028
96338
|
request: GetRefundRequest$inboundSchema
|
|
96029
96339
|
};
|
|
96030
96340
|
tool$transfersGetRefund = {
|
|
@@ -96033,9 +96343,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
96033
96343
|
|
|
96034
96344
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96035
96345
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
96036
|
-
args:
|
|
96037
|
-
tool: async (client,
|
|
96038
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
96346
|
+
args: args146,
|
|
96347
|
+
tool: async (client, args147, ctx) => {
|
|
96348
|
+
const [result, apiCall] = await transfersGetRefund(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96039
96349
|
if (!result.ok) {
|
|
96040
96350
|
return {
|
|
96041
96351
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96050,9 +96360,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
96050
96360
|
|
|
96051
96361
|
// src/funcs/transfersInitiateRefund.ts
|
|
96052
96362
|
function transfersInitiateRefund(client, request, options) {
|
|
96053
|
-
return new APIPromise($
|
|
96363
|
+
return new APIPromise($do152(client, request, options));
|
|
96054
96364
|
}
|
|
96055
|
-
async function $
|
|
96365
|
+
async function $do152(client, request, options) {
|
|
96056
96366
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96057
96367
|
if (!parsed.ok) {
|
|
96058
96368
|
return [parsed, { status: "invalid" }];
|
|
@@ -96143,12 +96453,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
96143
96453
|
});
|
|
96144
96454
|
|
|
96145
96455
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
96146
|
-
var
|
|
96456
|
+
var args147, tool$transfersInitiateRefund;
|
|
96147
96457
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
96148
96458
|
init_transfersInitiateRefund();
|
|
96149
96459
|
init_operations();
|
|
96150
96460
|
init_tools();
|
|
96151
|
-
|
|
96461
|
+
args147 = {
|
|
96152
96462
|
request: InitiateRefundRequest$inboundSchema
|
|
96153
96463
|
};
|
|
96154
96464
|
tool$transfersInitiateRefund = {
|
|
@@ -96160,9 +96470,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
96160
96470
|
|
|
96161
96471
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96162
96472
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
96163
|
-
args:
|
|
96164
|
-
tool: async (client,
|
|
96165
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
96473
|
+
args: args147,
|
|
96474
|
+
tool: async (client, args148, ctx) => {
|
|
96475
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96166
96476
|
if (!result.ok) {
|
|
96167
96477
|
return {
|
|
96168
96478
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96177,9 +96487,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
96177
96487
|
|
|
96178
96488
|
// src/funcs/transfersList.ts
|
|
96179
96489
|
function transfersList(client, request, options) {
|
|
96180
|
-
return new APIPromise($
|
|
96490
|
+
return new APIPromise($do153(client, request, options));
|
|
96181
96491
|
}
|
|
96182
|
-
async function $
|
|
96492
|
+
async function $do153(client, request, options) {
|
|
96183
96493
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96184
96494
|
if (!parsed.ok) {
|
|
96185
96495
|
return [parsed, { status: "invalid" }];
|
|
@@ -96274,12 +96584,12 @@ var init_transfersList = __esm(() => {
|
|
|
96274
96584
|
});
|
|
96275
96585
|
|
|
96276
96586
|
// src/mcp-server/tools/transfersList.ts
|
|
96277
|
-
var
|
|
96587
|
+
var args148, tool$transfersList;
|
|
96278
96588
|
var init_transfersList2 = __esm(() => {
|
|
96279
96589
|
init_transfersList();
|
|
96280
96590
|
init_operations();
|
|
96281
96591
|
init_tools();
|
|
96282
|
-
|
|
96592
|
+
args148 = {
|
|
96283
96593
|
request: ListTransfersRequest$inboundSchema
|
|
96284
96594
|
};
|
|
96285
96595
|
tool$transfersList = {
|
|
@@ -96295,9 +96605,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
96295
96605
|
|
|
96296
96606
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96297
96607
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
96298
|
-
args:
|
|
96299
|
-
tool: async (client,
|
|
96300
|
-
const [result, apiCall] = await transfersList(client,
|
|
96608
|
+
args: args148,
|
|
96609
|
+
tool: async (client, args149, ctx) => {
|
|
96610
|
+
const [result, apiCall] = await transfersList(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96301
96611
|
if (!result.ok) {
|
|
96302
96612
|
return {
|
|
96303
96613
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96312,9 +96622,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
96312
96622
|
|
|
96313
96623
|
// src/funcs/transfersListRefunds.ts
|
|
96314
96624
|
function transfersListRefunds(client, request, options) {
|
|
96315
|
-
return new APIPromise($
|
|
96625
|
+
return new APIPromise($do154(client, request, options));
|
|
96316
96626
|
}
|
|
96317
|
-
async function $
|
|
96627
|
+
async function $do154(client, request, options) {
|
|
96318
96628
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96319
96629
|
if (!parsed.ok) {
|
|
96320
96630
|
return [parsed, { status: "invalid" }];
|
|
@@ -96395,12 +96705,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
96395
96705
|
});
|
|
96396
96706
|
|
|
96397
96707
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
96398
|
-
var
|
|
96708
|
+
var args149, tool$transfersListRefunds;
|
|
96399
96709
|
var init_transfersListRefunds2 = __esm(() => {
|
|
96400
96710
|
init_transfersListRefunds();
|
|
96401
96711
|
init_operations();
|
|
96402
96712
|
init_tools();
|
|
96403
|
-
|
|
96713
|
+
args149 = {
|
|
96404
96714
|
request: ListRefundsRequest$inboundSchema
|
|
96405
96715
|
};
|
|
96406
96716
|
tool$transfersListRefunds = {
|
|
@@ -96409,9 +96719,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
96409
96719
|
|
|
96410
96720
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96411
96721
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
96412
|
-
args:
|
|
96413
|
-
tool: async (client,
|
|
96414
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
96722
|
+
args: args149,
|
|
96723
|
+
tool: async (client, args150, ctx) => {
|
|
96724
|
+
const [result, apiCall] = await transfersListRefunds(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96415
96725
|
if (!result.ok) {
|
|
96416
96726
|
return {
|
|
96417
96727
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96426,9 +96736,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
96426
96736
|
|
|
96427
96737
|
// src/funcs/transfersUpdate.ts
|
|
96428
96738
|
function transfersUpdate(client, request, options) {
|
|
96429
|
-
return new APIPromise($
|
|
96739
|
+
return new APIPromise($do155(client, request, options));
|
|
96430
96740
|
}
|
|
96431
|
-
async function $
|
|
96741
|
+
async function $do155(client, request, options) {
|
|
96432
96742
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96433
96743
|
if (!parsed.ok) {
|
|
96434
96744
|
return [parsed, { status: "invalid" }];
|
|
@@ -96513,12 +96823,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
96513
96823
|
});
|
|
96514
96824
|
|
|
96515
96825
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
96516
|
-
var
|
|
96826
|
+
var args150, tool$transfersUpdate;
|
|
96517
96827
|
var init_transfersUpdate2 = __esm(() => {
|
|
96518
96828
|
init_transfersUpdate();
|
|
96519
96829
|
init_operations();
|
|
96520
96830
|
init_tools();
|
|
96521
|
-
|
|
96831
|
+
args150 = {
|
|
96522
96832
|
request: UpdateTransferRequest$inboundSchema
|
|
96523
96833
|
};
|
|
96524
96834
|
tool$transfersUpdate = {
|
|
@@ -96529,9 +96839,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
96529
96839
|
|
|
96530
96840
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96531
96841
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
96532
|
-
args:
|
|
96533
|
-
tool: async (client,
|
|
96534
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
96842
|
+
args: args150,
|
|
96843
|
+
tool: async (client, args151, ctx) => {
|
|
96844
|
+
const [result, apiCall] = await transfersUpdate(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96535
96845
|
if (!result.ok) {
|
|
96536
96846
|
return {
|
|
96537
96847
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96546,9 +96856,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
96546
96856
|
|
|
96547
96857
|
// src/funcs/underwritingGet.ts
|
|
96548
96858
|
function underwritingGet(client, request, options) {
|
|
96549
|
-
return new APIPromise($
|
|
96859
|
+
return new APIPromise($do156(client, request, options));
|
|
96550
96860
|
}
|
|
96551
|
-
async function $
|
|
96861
|
+
async function $do156(client, request, options) {
|
|
96552
96862
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96553
96863
|
if (!parsed.ok) {
|
|
96554
96864
|
return [parsed, { status: "invalid" }];
|
|
@@ -96625,12 +96935,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
96625
96935
|
});
|
|
96626
96936
|
|
|
96627
96937
|
// src/mcp-server/tools/underwritingGet.ts
|
|
96628
|
-
var
|
|
96938
|
+
var args151, tool$underwritingGet;
|
|
96629
96939
|
var init_underwritingGet2 = __esm(() => {
|
|
96630
96940
|
init_underwritingGet();
|
|
96631
96941
|
init_operations();
|
|
96632
96942
|
init_tools();
|
|
96633
|
-
|
|
96943
|
+
args151 = {
|
|
96634
96944
|
request: GetUnderwritingRequest$inboundSchema
|
|
96635
96945
|
};
|
|
96636
96946
|
tool$underwritingGet = {
|
|
@@ -96641,9 +96951,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
96641
96951
|
|
|
96642
96952
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96643
96953
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
96644
|
-
args:
|
|
96645
|
-
tool: async (client,
|
|
96646
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
96954
|
+
args: args151,
|
|
96955
|
+
tool: async (client, args152, ctx) => {
|
|
96956
|
+
const [result, apiCall] = await underwritingGet(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96647
96957
|
if (!result.ok) {
|
|
96648
96958
|
return {
|
|
96649
96959
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96658,9 +96968,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
96658
96968
|
|
|
96659
96969
|
// src/funcs/underwritingSave.ts
|
|
96660
96970
|
function underwritingSave(client, request, options) {
|
|
96661
|
-
return new APIPromise($
|
|
96971
|
+
return new APIPromise($do157(client, request, options));
|
|
96662
96972
|
}
|
|
96663
|
-
async function $
|
|
96973
|
+
async function $do157(client, request, options) {
|
|
96664
96974
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96665
96975
|
if (!parsed.ok) {
|
|
96666
96976
|
return [parsed, { status: "invalid" }];
|
|
@@ -96755,12 +97065,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
96755
97065
|
});
|
|
96756
97066
|
|
|
96757
97067
|
// src/mcp-server/tools/underwritingSave.ts
|
|
96758
|
-
var
|
|
97068
|
+
var args152, tool$underwritingSave;
|
|
96759
97069
|
var init_underwritingSave2 = __esm(() => {
|
|
96760
97070
|
init_underwritingSave();
|
|
96761
97071
|
init_operations();
|
|
96762
97072
|
init_tools();
|
|
96763
|
-
|
|
97073
|
+
args152 = {
|
|
96764
97074
|
request: SaveUnderwritingRequest$inboundSchema
|
|
96765
97075
|
};
|
|
96766
97076
|
tool$underwritingSave = {
|
|
@@ -96771,9 +97081,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
96771
97081
|
|
|
96772
97082
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96773
97083
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
96774
|
-
args:
|
|
96775
|
-
tool: async (client,
|
|
96776
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
97084
|
+
args: args152,
|
|
97085
|
+
tool: async (client, args153, ctx) => {
|
|
97086
|
+
const [result, apiCall] = await underwritingSave(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96777
97087
|
if (!result.ok) {
|
|
96778
97088
|
return {
|
|
96779
97089
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96788,9 +97098,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
96788
97098
|
|
|
96789
97099
|
// src/funcs/underwritingUpsert.ts
|
|
96790
97100
|
function underwritingUpsert(client, request, options) {
|
|
96791
|
-
return new APIPromise($
|
|
97101
|
+
return new APIPromise($do158(client, request, options));
|
|
96792
97102
|
}
|
|
96793
|
-
async function $
|
|
97103
|
+
async function $do158(client, request, options) {
|
|
96794
97104
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96795
97105
|
if (!parsed.ok) {
|
|
96796
97106
|
return [parsed, { status: "invalid" }];
|
|
@@ -96885,12 +97195,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
96885
97195
|
});
|
|
96886
97196
|
|
|
96887
97197
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
96888
|
-
var
|
|
97198
|
+
var args153, tool$underwritingUpsert;
|
|
96889
97199
|
var init_underwritingUpsert2 = __esm(() => {
|
|
96890
97200
|
init_underwritingUpsert();
|
|
96891
97201
|
init_operations();
|
|
96892
97202
|
init_tools();
|
|
96893
|
-
|
|
97203
|
+
args153 = {
|
|
96894
97204
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
96895
97205
|
};
|
|
96896
97206
|
tool$underwritingUpsert = {
|
|
@@ -96901,9 +97211,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
96901
97211
|
|
|
96902
97212
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96903
97213
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
96904
|
-
args:
|
|
96905
|
-
tool: async (client,
|
|
96906
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
97214
|
+
args: args153,
|
|
97215
|
+
tool: async (client, args154, ctx) => {
|
|
97216
|
+
const [result, apiCall] = await underwritingUpsert(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96907
97217
|
if (!result.ok) {
|
|
96908
97218
|
return {
|
|
96909
97219
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96918,9 +97228,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
96918
97228
|
|
|
96919
97229
|
// src/funcs/walletsCreate.ts
|
|
96920
97230
|
function walletsCreate(client, request, options) {
|
|
96921
|
-
return new APIPromise($
|
|
97231
|
+
return new APIPromise($do159(client, request, options));
|
|
96922
97232
|
}
|
|
96923
|
-
async function $
|
|
97233
|
+
async function $do159(client, request, options) {
|
|
96924
97234
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96925
97235
|
if (!parsed.ok) {
|
|
96926
97236
|
return [parsed, { status: "invalid" }];
|
|
@@ -97013,12 +97323,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
97013
97323
|
});
|
|
97014
97324
|
|
|
97015
97325
|
// src/mcp-server/tools/walletsCreate.ts
|
|
97016
|
-
var
|
|
97326
|
+
var args154, tool$walletsCreate;
|
|
97017
97327
|
var init_walletsCreate2 = __esm(() => {
|
|
97018
97328
|
init_walletsCreate();
|
|
97019
97329
|
init_operations();
|
|
97020
97330
|
init_tools();
|
|
97021
|
-
|
|
97331
|
+
args154 = {
|
|
97022
97332
|
request: CreateWalletRequest$inboundSchema
|
|
97023
97333
|
};
|
|
97024
97334
|
tool$walletsCreate = {
|
|
@@ -97029,9 +97339,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
97029
97339
|
|
|
97030
97340
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97031
97341
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
97032
|
-
args:
|
|
97033
|
-
tool: async (client,
|
|
97034
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
97342
|
+
args: args154,
|
|
97343
|
+
tool: async (client, args155, ctx) => {
|
|
97344
|
+
const [result, apiCall] = await walletsCreate(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97035
97345
|
if (!result.ok) {
|
|
97036
97346
|
return {
|
|
97037
97347
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97046,9 +97356,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
97046
97356
|
|
|
97047
97357
|
// src/funcs/walletsGet.ts
|
|
97048
97358
|
function walletsGet(client, request, options) {
|
|
97049
|
-
return new APIPromise($
|
|
97359
|
+
return new APIPromise($do160(client, request, options));
|
|
97050
97360
|
}
|
|
97051
|
-
async function $
|
|
97361
|
+
async function $do160(client, request, options) {
|
|
97052
97362
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97053
97363
|
if (!parsed.ok) {
|
|
97054
97364
|
return [parsed, { status: "invalid" }];
|
|
@@ -97129,12 +97439,12 @@ var init_walletsGet = __esm(() => {
|
|
|
97129
97439
|
});
|
|
97130
97440
|
|
|
97131
97441
|
// src/mcp-server/tools/walletsGet.ts
|
|
97132
|
-
var
|
|
97442
|
+
var args155, tool$walletsGet;
|
|
97133
97443
|
var init_walletsGet2 = __esm(() => {
|
|
97134
97444
|
init_walletsGet();
|
|
97135
97445
|
init_operations();
|
|
97136
97446
|
init_tools();
|
|
97137
|
-
|
|
97447
|
+
args155 = {
|
|
97138
97448
|
request: GetWalletRequest$inboundSchema
|
|
97139
97449
|
};
|
|
97140
97450
|
tool$walletsGet = {
|
|
@@ -97145,9 +97455,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
97145
97455
|
|
|
97146
97456
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97147
97457
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97148
|
-
args:
|
|
97149
|
-
tool: async (client,
|
|
97150
|
-
const [result, apiCall] = await walletsGet(client,
|
|
97458
|
+
args: args155,
|
|
97459
|
+
tool: async (client, args156, ctx) => {
|
|
97460
|
+
const [result, apiCall] = await walletsGet(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97151
97461
|
if (!result.ok) {
|
|
97152
97462
|
return {
|
|
97153
97463
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97162,9 +97472,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97162
97472
|
|
|
97163
97473
|
// src/funcs/walletsList.ts
|
|
97164
97474
|
function walletsList(client, request, options) {
|
|
97165
|
-
return new APIPromise($
|
|
97475
|
+
return new APIPromise($do161(client, request, options));
|
|
97166
97476
|
}
|
|
97167
|
-
async function $
|
|
97477
|
+
async function $do161(client, request, options) {
|
|
97168
97478
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97169
97479
|
if (!parsed.ok) {
|
|
97170
97480
|
return [parsed, { status: "invalid" }];
|
|
@@ -97251,12 +97561,12 @@ var init_walletsList = __esm(() => {
|
|
|
97251
97561
|
});
|
|
97252
97562
|
|
|
97253
97563
|
// src/mcp-server/tools/walletsList.ts
|
|
97254
|
-
var
|
|
97564
|
+
var args156, tool$walletsList;
|
|
97255
97565
|
var init_walletsList2 = __esm(() => {
|
|
97256
97566
|
init_walletsList();
|
|
97257
97567
|
init_operations();
|
|
97258
97568
|
init_tools();
|
|
97259
|
-
|
|
97569
|
+
args156 = {
|
|
97260
97570
|
request: ListWalletsRequest$inboundSchema
|
|
97261
97571
|
};
|
|
97262
97572
|
tool$walletsList = {
|
|
@@ -97267,9 +97577,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
97267
97577
|
|
|
97268
97578
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97269
97579
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97270
|
-
args:
|
|
97271
|
-
tool: async (client,
|
|
97272
|
-
const [result, apiCall] = await walletsList(client,
|
|
97580
|
+
args: args156,
|
|
97581
|
+
tool: async (client, args157, ctx) => {
|
|
97582
|
+
const [result, apiCall] = await walletsList(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97273
97583
|
if (!result.ok) {
|
|
97274
97584
|
return {
|
|
97275
97585
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97284,9 +97594,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97284
97594
|
|
|
97285
97595
|
// src/funcs/walletsUpdate.ts
|
|
97286
97596
|
function walletsUpdate(client, request, options) {
|
|
97287
|
-
return new APIPromise($
|
|
97597
|
+
return new APIPromise($do162(client, request, options));
|
|
97288
97598
|
}
|
|
97289
|
-
async function $
|
|
97599
|
+
async function $do162(client, request, options) {
|
|
97290
97600
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97291
97601
|
if (!parsed.ok) {
|
|
97292
97602
|
return [parsed, { status: "invalid" }];
|
|
@@ -97383,12 +97693,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
97383
97693
|
});
|
|
97384
97694
|
|
|
97385
97695
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
97386
|
-
var
|
|
97696
|
+
var args157, tool$walletsUpdate;
|
|
97387
97697
|
var init_walletsUpdate2 = __esm(() => {
|
|
97388
97698
|
init_walletsUpdate();
|
|
97389
97699
|
init_operations();
|
|
97390
97700
|
init_tools();
|
|
97391
|
-
|
|
97701
|
+
args157 = {
|
|
97392
97702
|
request: UpdateWalletRequest$inboundSchema
|
|
97393
97703
|
};
|
|
97394
97704
|
tool$walletsUpdate = {
|
|
@@ -97399,9 +97709,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
97399
97709
|
|
|
97400
97710
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97401
97711
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
97402
|
-
args:
|
|
97403
|
-
tool: async (client,
|
|
97404
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
97712
|
+
args: args157,
|
|
97713
|
+
tool: async (client, args158, ctx) => {
|
|
97714
|
+
const [result, apiCall] = await walletsUpdate(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97405
97715
|
if (!result.ok) {
|
|
97406
97716
|
return {
|
|
97407
97717
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97416,9 +97726,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
97416
97726
|
|
|
97417
97727
|
// src/funcs/walletTransactionsGet.ts
|
|
97418
97728
|
function walletTransactionsGet(client, request, options) {
|
|
97419
|
-
return new APIPromise($
|
|
97729
|
+
return new APIPromise($do163(client, request, options));
|
|
97420
97730
|
}
|
|
97421
|
-
async function $
|
|
97731
|
+
async function $do163(client, request, options) {
|
|
97422
97732
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97423
97733
|
if (!parsed.ok) {
|
|
97424
97734
|
return [parsed, { status: "invalid" }];
|
|
@@ -97503,12 +97813,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
97503
97813
|
});
|
|
97504
97814
|
|
|
97505
97815
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
97506
|
-
var
|
|
97816
|
+
var args158, tool$walletTransactionsGet;
|
|
97507
97817
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
97508
97818
|
init_walletTransactionsGet();
|
|
97509
97819
|
init_operations();
|
|
97510
97820
|
init_tools();
|
|
97511
|
-
|
|
97821
|
+
args158 = {
|
|
97512
97822
|
request: GetWalletTransactionRequest$inboundSchema
|
|
97513
97823
|
};
|
|
97514
97824
|
tool$walletTransactionsGet = {
|
|
@@ -97519,9 +97829,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
97519
97829
|
|
|
97520
97830
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97521
97831
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97522
|
-
args:
|
|
97523
|
-
tool: async (client,
|
|
97524
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
97832
|
+
args: args158,
|
|
97833
|
+
tool: async (client, args159, ctx) => {
|
|
97834
|
+
const [result, apiCall] = await walletTransactionsGet(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97525
97835
|
if (!result.ok) {
|
|
97526
97836
|
return {
|
|
97527
97837
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97536,9 +97846,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97536
97846
|
|
|
97537
97847
|
// src/funcs/walletTransactionsList.ts
|
|
97538
97848
|
function walletTransactionsList(client, request, options) {
|
|
97539
|
-
return new APIPromise($
|
|
97849
|
+
return new APIPromise($do164(client, request, options));
|
|
97540
97850
|
}
|
|
97541
|
-
async function $
|
|
97851
|
+
async function $do164(client, request, options) {
|
|
97542
97852
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97543
97853
|
if (!parsed.ok) {
|
|
97544
97854
|
return [parsed, { status: "invalid" }];
|
|
@@ -97637,12 +97947,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
97637
97947
|
});
|
|
97638
97948
|
|
|
97639
97949
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
97640
|
-
var
|
|
97950
|
+
var args159, tool$walletTransactionsList;
|
|
97641
97951
|
var init_walletTransactionsList2 = __esm(() => {
|
|
97642
97952
|
init_walletTransactionsList();
|
|
97643
97953
|
init_operations();
|
|
97644
97954
|
init_tools();
|
|
97645
|
-
|
|
97955
|
+
args159 = {
|
|
97646
97956
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
97647
97957
|
};
|
|
97648
97958
|
tool$walletTransactionsList = {
|
|
@@ -97653,9 +97963,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
97653
97963
|
|
|
97654
97964
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97655
97965
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97656
|
-
args:
|
|
97657
|
-
tool: async (client,
|
|
97658
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
97966
|
+
args: args159,
|
|
97967
|
+
tool: async (client, args160, ctx) => {
|
|
97968
|
+
const [result, apiCall] = await walletTransactionsList(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97659
97969
|
if (!result.ok) {
|
|
97660
97970
|
return {
|
|
97661
97971
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97670,9 +97980,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97670
97980
|
|
|
97671
97981
|
// src/funcs/webhooksCreate.ts
|
|
97672
97982
|
function webhooksCreate(client, request, options) {
|
|
97673
|
-
return new APIPromise($
|
|
97983
|
+
return new APIPromise($do165(client, request, options));
|
|
97674
97984
|
}
|
|
97675
|
-
async function $
|
|
97985
|
+
async function $do165(client, request, options) {
|
|
97676
97986
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
97677
97987
|
if (!parsed.ok) {
|
|
97678
97988
|
return [parsed, { status: "invalid" }];
|
|
@@ -97760,20 +98070,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
97760
98070
|
});
|
|
97761
98071
|
|
|
97762
98072
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
97763
|
-
var
|
|
98073
|
+
var args160, tool$webhooksCreate;
|
|
97764
98074
|
var init_webhooksCreate2 = __esm(() => {
|
|
97765
98075
|
init_webhooksCreate();
|
|
97766
98076
|
init_components();
|
|
97767
98077
|
init_tools();
|
|
97768
|
-
|
|
98078
|
+
args160 = {
|
|
97769
98079
|
request: CreateWebhook$inboundSchema
|
|
97770
98080
|
};
|
|
97771
98081
|
tool$webhooksCreate = {
|
|
97772
98082
|
name: "webhooks-create",
|
|
97773
98083
|
description: `Create a new webhook for the account.`,
|
|
97774
|
-
args:
|
|
97775
|
-
tool: async (client,
|
|
97776
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
98084
|
+
args: args160,
|
|
98085
|
+
tool: async (client, args161, ctx) => {
|
|
98086
|
+
const [result, apiCall] = await webhooksCreate(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97777
98087
|
if (!result.ok) {
|
|
97778
98088
|
return {
|
|
97779
98089
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97788,9 +98098,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
97788
98098
|
|
|
97789
98099
|
// src/funcs/webhooksDisable.ts
|
|
97790
98100
|
function webhooksDisable(client, request, options) {
|
|
97791
|
-
return new APIPromise($
|
|
98101
|
+
return new APIPromise($do166(client, request, options));
|
|
97792
98102
|
}
|
|
97793
|
-
async function $
|
|
98103
|
+
async function $do166(client, request, options) {
|
|
97794
98104
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97795
98105
|
if (!parsed.ok) {
|
|
97796
98106
|
return [parsed, { status: "invalid" }];
|
|
@@ -97878,20 +98188,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
97878
98188
|
});
|
|
97879
98189
|
|
|
97880
98190
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
97881
|
-
var
|
|
98191
|
+
var args161, tool$webhooksDisable;
|
|
97882
98192
|
var init_webhooksDisable2 = __esm(() => {
|
|
97883
98193
|
init_webhooksDisable();
|
|
97884
98194
|
init_operations();
|
|
97885
98195
|
init_tools();
|
|
97886
|
-
|
|
98196
|
+
args161 = {
|
|
97887
98197
|
request: DisableWebhookRequest$inboundSchema
|
|
97888
98198
|
};
|
|
97889
98199
|
tool$webhooksDisable = {
|
|
97890
98200
|
name: "webhooks-disable",
|
|
97891
98201
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
97892
|
-
args:
|
|
97893
|
-
tool: async (client,
|
|
97894
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
98202
|
+
args: args161,
|
|
98203
|
+
tool: async (client, args162, ctx) => {
|
|
98204
|
+
const [result, apiCall] = await webhooksDisable(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97895
98205
|
if (!result.ok) {
|
|
97896
98206
|
return {
|
|
97897
98207
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97905,9 +98215,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
97905
98215
|
|
|
97906
98216
|
// src/funcs/webhooksGet.ts
|
|
97907
98217
|
function webhooksGet(client, request, options) {
|
|
97908
|
-
return new APIPromise($
|
|
98218
|
+
return new APIPromise($do167(client, request, options));
|
|
97909
98219
|
}
|
|
97910
|
-
async function $
|
|
98220
|
+
async function $do167(client, request, options) {
|
|
97911
98221
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97912
98222
|
if (!parsed.ok) {
|
|
97913
98223
|
return [parsed, { status: "invalid" }];
|
|
@@ -97984,20 +98294,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
97984
98294
|
});
|
|
97985
98295
|
|
|
97986
98296
|
// src/mcp-server/tools/webhooksGet.ts
|
|
97987
|
-
var
|
|
98297
|
+
var args162, tool$webhooksGet;
|
|
97988
98298
|
var init_webhooksGet2 = __esm(() => {
|
|
97989
98299
|
init_webhooksGet();
|
|
97990
98300
|
init_operations();
|
|
97991
98301
|
init_tools();
|
|
97992
|
-
|
|
98302
|
+
args162 = {
|
|
97993
98303
|
request: GetWebhookRequest$inboundSchema
|
|
97994
98304
|
};
|
|
97995
98305
|
tool$webhooksGet = {
|
|
97996
98306
|
name: "webhooks-get",
|
|
97997
98307
|
description: `Get details of a specific webhook.`,
|
|
97998
|
-
args:
|
|
97999
|
-
tool: async (client,
|
|
98000
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
98308
|
+
args: args162,
|
|
98309
|
+
tool: async (client, args163, ctx) => {
|
|
98310
|
+
const [result, apiCall] = await webhooksGet(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98001
98311
|
if (!result.ok) {
|
|
98002
98312
|
return {
|
|
98003
98313
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98012,9 +98322,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
98012
98322
|
|
|
98013
98323
|
// src/funcs/webhooksGetSecret.ts
|
|
98014
98324
|
function webhooksGetSecret(client, request, options) {
|
|
98015
|
-
return new APIPromise($
|
|
98325
|
+
return new APIPromise($do168(client, request, options));
|
|
98016
98326
|
}
|
|
98017
|
-
async function $
|
|
98327
|
+
async function $do168(client, request, options) {
|
|
98018
98328
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98019
98329
|
if (!parsed.ok) {
|
|
98020
98330
|
return [parsed, { status: "invalid" }];
|
|
@@ -98091,20 +98401,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
98091
98401
|
});
|
|
98092
98402
|
|
|
98093
98403
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
98094
|
-
var
|
|
98404
|
+
var args163, tool$webhooksGetSecret;
|
|
98095
98405
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
98096
98406
|
init_webhooksGetSecret();
|
|
98097
98407
|
init_operations();
|
|
98098
98408
|
init_tools();
|
|
98099
|
-
|
|
98409
|
+
args163 = {
|
|
98100
98410
|
request: GetWebhookSecretRequest$inboundSchema
|
|
98101
98411
|
};
|
|
98102
98412
|
tool$webhooksGetSecret = {
|
|
98103
98413
|
name: "webhooks-get-secret",
|
|
98104
98414
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
98105
|
-
args:
|
|
98106
|
-
tool: async (client,
|
|
98107
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
98415
|
+
args: args163,
|
|
98416
|
+
tool: async (client, args164, ctx) => {
|
|
98417
|
+
const [result, apiCall] = await webhooksGetSecret(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98108
98418
|
if (!result.ok) {
|
|
98109
98419
|
return {
|
|
98110
98420
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98119,9 +98429,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
98119
98429
|
|
|
98120
98430
|
// src/funcs/webhooksList.ts
|
|
98121
98431
|
function webhooksList(client, options) {
|
|
98122
|
-
return new APIPromise($
|
|
98432
|
+
return new APIPromise($do169(client, options));
|
|
98123
98433
|
}
|
|
98124
|
-
async function $
|
|
98434
|
+
async function $do169(client, options) {
|
|
98125
98435
|
const path = pathToFunc("/webhooks")();
|
|
98126
98436
|
const headers = new Headers(compactMap({
|
|
98127
98437
|
Accept: "application/json"
|
|
@@ -98206,9 +98516,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
98206
98516
|
|
|
98207
98517
|
// src/funcs/webhooksListEventTypes.ts
|
|
98208
98518
|
function webhooksListEventTypes(client, options) {
|
|
98209
|
-
return new APIPromise($
|
|
98519
|
+
return new APIPromise($do170(client, options));
|
|
98210
98520
|
}
|
|
98211
|
-
async function $
|
|
98521
|
+
async function $do170(client, options) {
|
|
98212
98522
|
const path = pathToFunc("/event-types")();
|
|
98213
98523
|
const headers = new Headers(compactMap({
|
|
98214
98524
|
Accept: "application/json"
|
|
@@ -98293,9 +98603,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
98293
98603
|
|
|
98294
98604
|
// src/funcs/webhooksPing.ts
|
|
98295
98605
|
function webhooksPing(client, request, options) {
|
|
98296
|
-
return new APIPromise($
|
|
98606
|
+
return new APIPromise($do171(client, request, options));
|
|
98297
98607
|
}
|
|
98298
|
-
async function $
|
|
98608
|
+
async function $do171(client, request, options) {
|
|
98299
98609
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98300
98610
|
if (!parsed.ok) {
|
|
98301
98611
|
return [parsed, { status: "invalid" }];
|
|
@@ -98372,20 +98682,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
98372
98682
|
});
|
|
98373
98683
|
|
|
98374
98684
|
// src/mcp-server/tools/webhooksPing.ts
|
|
98375
|
-
var
|
|
98685
|
+
var args164, tool$webhooksPing;
|
|
98376
98686
|
var init_webhooksPing2 = __esm(() => {
|
|
98377
98687
|
init_webhooksPing();
|
|
98378
98688
|
init_operations();
|
|
98379
98689
|
init_tools();
|
|
98380
|
-
|
|
98690
|
+
args164 = {
|
|
98381
98691
|
request: PingWebhookRequest$inboundSchema
|
|
98382
98692
|
};
|
|
98383
98693
|
tool$webhooksPing = {
|
|
98384
98694
|
name: "webhooks-ping",
|
|
98385
98695
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
98386
|
-
args:
|
|
98387
|
-
tool: async (client,
|
|
98388
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
98696
|
+
args: args164,
|
|
98697
|
+
tool: async (client, args165, ctx) => {
|
|
98698
|
+
const [result, apiCall] = await webhooksPing(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98389
98699
|
if (!result.ok) {
|
|
98390
98700
|
return {
|
|
98391
98701
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98400,9 +98710,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
98400
98710
|
|
|
98401
98711
|
// src/funcs/webhooksUpdate.ts
|
|
98402
98712
|
function webhooksUpdate(client, request, options) {
|
|
98403
|
-
return new APIPromise($
|
|
98713
|
+
return new APIPromise($do172(client, request, options));
|
|
98404
98714
|
}
|
|
98405
|
-
async function $
|
|
98715
|
+
async function $do172(client, request, options) {
|
|
98406
98716
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98407
98717
|
if (!parsed.ok) {
|
|
98408
98718
|
return [parsed, { status: "invalid" }];
|
|
@@ -98495,20 +98805,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
98495
98805
|
});
|
|
98496
98806
|
|
|
98497
98807
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
98498
|
-
var
|
|
98808
|
+
var args165, tool$webhooksUpdate;
|
|
98499
98809
|
var init_webhooksUpdate2 = __esm(() => {
|
|
98500
98810
|
init_webhooksUpdate();
|
|
98501
98811
|
init_operations();
|
|
98502
98812
|
init_tools();
|
|
98503
|
-
|
|
98813
|
+
args165 = {
|
|
98504
98814
|
request: UpdateWebhookRequest$inboundSchema
|
|
98505
98815
|
};
|
|
98506
98816
|
tool$webhooksUpdate = {
|
|
98507
98817
|
name: "webhooks-update",
|
|
98508
98818
|
description: `Update an existing webhook.`,
|
|
98509
|
-
args:
|
|
98510
|
-
tool: async (client,
|
|
98511
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
98819
|
+
args: args165,
|
|
98820
|
+
tool: async (client, args166, ctx) => {
|
|
98821
|
+
const [result, apiCall] = await webhooksUpdate(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98512
98822
|
if (!result.ok) {
|
|
98513
98823
|
return {
|
|
98514
98824
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98525,7 +98835,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
98525
98835
|
function createMCPServer(deps) {
|
|
98526
98836
|
const server = new McpServer({
|
|
98527
98837
|
name: "Moov",
|
|
98528
|
-
version: "25.11.
|
|
98838
|
+
version: "25.11.1"
|
|
98529
98839
|
});
|
|
98530
98840
|
const client = new MoovCore({
|
|
98531
98841
|
security: deps.security,
|
|
@@ -98653,6 +98963,7 @@ function createMCPServer(deps) {
|
|
|
98653
98963
|
tool(tool$transfersGenerateOptions);
|
|
98654
98964
|
tool(tool$transfersCreate);
|
|
98655
98965
|
tool(tool$transfersList);
|
|
98966
|
+
tool(tool$transfersBatchGetTransfers);
|
|
98656
98967
|
tool(tool$transfersGet);
|
|
98657
98968
|
tool(tool$transfersUpdate);
|
|
98658
98969
|
tool(tool$transfersCreateCancellation);
|
|
@@ -98860,6 +99171,7 @@ var init_server2 = __esm(() => {
|
|
|
98860
99171
|
init_terminalApplicationsDelete2();
|
|
98861
99172
|
init_terminalApplicationsGet2();
|
|
98862
99173
|
init_terminalApplicationsList2();
|
|
99174
|
+
init_transfersBatchGetTransfers2();
|
|
98863
99175
|
init_transfersCreate2();
|
|
98864
99176
|
init_transfersCreateCancellation2();
|
|
98865
99177
|
init_transfersCreateReversal2();
|
|
@@ -100080,7 +100392,7 @@ var routes = rn({
|
|
|
100080
100392
|
var app = Ve(routes, {
|
|
100081
100393
|
name: "mcp",
|
|
100082
100394
|
versionInfo: {
|
|
100083
|
-
currentVersion: "25.11.
|
|
100395
|
+
currentVersion: "25.11.1"
|
|
100084
100396
|
}
|
|
100085
100397
|
});
|
|
100086
100398
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -100088,5 +100400,5 @@ export {
|
|
|
100088
100400
|
app
|
|
100089
100401
|
};
|
|
100090
100402
|
|
|
100091
|
-
//# debugId=
|
|
100403
|
+
//# debugId=BA8C5F246F9868E364756E2164756E21
|
|
100092
100404
|
//# sourceMappingURL=mcp-server.js.map
|