@moovio/sdk 26.4.0-dev.16 → 26.4.0-dev.17
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 +77 -61
- package/bin/mcp-server.js +626 -238
- package/bin/mcp-server.js.map +38 -27
- 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/cardpayouttype.d.ts +17 -0
- package/models/components/cardpayouttype.d.ts.map +1 -0
- package/models/components/cardpayouttype.js +51 -0
- package/models/components/cardpayouttype.js.map +1 -0
- package/models/components/createtransferdestinationcard.d.ts +6 -0
- package/models/components/createtransferdestinationcard.d.ts.map +1 -1
- package/models/components/createtransferdestinationcard.js +3 -0
- package/models/components/createtransferdestinationcard.js.map +1 -1
- package/models/components/index.d.ts +8 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -0
- package/models/components/index.js.map +1 -1
- package/models/components/paymentmethod.d.ts +4 -2
- package/models/components/paymentmethod.d.ts.map +1 -1
- package/models/components/paymentmethod.js +6 -0
- package/models/components/paymentmethod.js.map +1 -1
- package/models/components/paymentmethodtype.d.ts +2 -0
- package/models/components/paymentmethodtype.d.ts.map +1 -1
- package/models/components/paymentmethodtype.js +2 -0
- package/models/components/paymentmethodtype.js.map +1 -1
- package/models/components/pullfromapplepaypaymentmethod.d.ts +28 -0
- package/models/components/pullfromapplepaypaymentmethod.d.ts.map +1 -0
- package/models/components/pullfromapplepaypaymentmethod.js +63 -0
- package/models/components/pullfromapplepaypaymentmethod.js.map +1 -0
- package/models/components/pullfromapplepaytransferpaymentmethod.d.ts +28 -0
- package/models/components/pullfromapplepaytransferpaymentmethod.d.ts.map +1 -0
- package/models/components/pullfromapplepaytransferpaymentmethod.js +63 -0
- package/models/components/pullfromapplepaytransferpaymentmethod.js.map +1 -0
- package/models/components/pushtoapplepaypaymentmethod.d.ts +28 -0
- package/models/components/pushtoapplepaypaymentmethod.d.ts.map +1 -0
- package/models/components/pushtoapplepaypaymentmethod.js +63 -0
- package/models/components/pushtoapplepaypaymentmethod.js.map +1 -0
- package/models/components/pushtoapplepaytransferpaymentmethod.d.ts +28 -0
- package/models/components/pushtoapplepaytransferpaymentmethod.d.ts.map +1 -0
- package/models/components/pushtoapplepaytransferpaymentmethod.js +63 -0
- package/models/components/pushtoapplepaytransferpaymentmethod.js.map +1 -0
- package/models/components/rtpfailurecode.d.ts +26 -0
- package/models/components/rtpfailurecode.d.ts.map +1 -0
- package/models/components/rtpfailurecode.js +60 -0
- package/models/components/rtpfailurecode.js.map +1 -0
- package/models/components/rtptransactionstatus.d.ts +20 -0
- package/models/components/rtptransactionstatus.d.ts.map +1 -0
- package/models/components/rtptransactionstatus.js +54 -0
- package/models/components/rtptransactionstatus.js.map +1 -0
- package/models/components/transferdestination.d.ts +46 -0
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +36 -1
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/transferpaymentmethod.d.ts +4 -2
- package/models/components/transferpaymentmethod.d.ts.map +1 -1
- package/models/components/transferpaymentmethod.js +6 -0
- package/models/components/transferpaymentmethod.js.map +1 -1
- package/models/components/transferpaymentmethodtype.d.ts +2 -0
- package/models/components/transferpaymentmethodtype.d.ts.map +1 -1
- package/models/components/transferpaymentmethodtype.js +2 -0
- package/models/components/transferpaymentmethodtype.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/linkapplepaytoken.d.ts +2 -2
- package/models/operations/linkapplepaytoken.d.ts.map +1 -1
- package/models/operations/linkapplepaytoken.js +2 -2
- package/models/operations/linkapplepaytoken.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/cardpayouttype.ts +26 -0
- package/src/models/components/createtransferdestinationcard.ts +12 -0
- package/src/models/components/index.ts +8 -0
- package/src/models/components/paymentmethod.ts +22 -2
- package/src/models/components/paymentmethodtype.ts +2 -0
- package/src/models/components/pullfromapplepaypaymentmethod.ts +73 -0
- package/src/models/components/pullfromapplepaytransferpaymentmethod.ts +74 -0
- package/src/models/components/pushtoapplepaypaymentmethod.ts +73 -0
- package/src/models/components/pushtoapplepaytransferpaymentmethod.ts +74 -0
- package/src/models/components/rtpfailurecode.ts +35 -0
- package/src/models/components/rtptransactionstatus.ts +29 -0
- package/src/models/components/transferdestination.ts +99 -0
- package/src/models/components/transferpaymentmethod.ts +22 -2
- package/src/models/components/transferpaymentmethodtype.ts +2 -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/linkapplepaytoken.ts +4 -4
- package/src/models/operations/updateissuedcard.ts +6 -0
- package/src/sdk/cardissuing.ts +1 -1
- package/src/sdk/transfers.ts +22 -0
package/bin/mcp-server.js
CHANGED
|
@@ -52879,9 +52879,9 @@ var init_config = __esm(() => {
|
|
|
52879
52879
|
SDK_METADATA = {
|
|
52880
52880
|
language: "typescript",
|
|
52881
52881
|
openapiDocVersion: "v2026.04.00",
|
|
52882
|
-
sdkVersion: "26.4.0-dev.
|
|
52883
|
-
genVersion: "2.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 26.4.0-dev.
|
|
52882
|
+
sdkVersion: "26.4.0-dev.17",
|
|
52883
|
+
genVersion: "2.879.13",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 26.4.0-dev.17 2.879.13 v2026.04.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) {
|
|
@@ -56513,7 +56545,9 @@ var init_paymentmethodtype = __esm(() => {
|
|
|
56513
56545
|
PullFromCard: "pull-from-card",
|
|
56514
56546
|
ApplePay: "apple-pay",
|
|
56515
56547
|
CardPresentPayment: "card-present-payment",
|
|
56516
|
-
InstantBankCredit: "instant-bank-credit"
|
|
56548
|
+
InstantBankCredit: "instant-bank-credit",
|
|
56549
|
+
PushToApplePay: "push-to-apple-pay",
|
|
56550
|
+
PullFromApplePay: "pull-from-apple-pay"
|
|
56517
56551
|
};
|
|
56518
56552
|
PaymentMethodType$inboundSchema = nativeEnumType(PaymentMethodType);
|
|
56519
56553
|
PaymentMethodType$outboundSchema = PaymentMethodType$inboundSchema;
|
|
@@ -56686,6 +56720,18 @@ var init_bankaccountwaitfor = __esm(() => {
|
|
|
56686
56720
|
BankAccountWaitFor$outboundSchema = BankAccountWaitFor$inboundSchema;
|
|
56687
56721
|
});
|
|
56688
56722
|
|
|
56723
|
+
// src/models/components/batchgettransfersrequest.ts
|
|
56724
|
+
var BatchGetTransfersRequest$inboundSchema, BatchGetTransfersRequest$outboundSchema;
|
|
56725
|
+
var init_batchgettransfersrequest = __esm(() => {
|
|
56726
|
+
init_esm();
|
|
56727
|
+
BatchGetTransfersRequest$inboundSchema = objectType({
|
|
56728
|
+
transferIDs: arrayType(stringType())
|
|
56729
|
+
});
|
|
56730
|
+
BatchGetTransfersRequest$outboundSchema = objectType({
|
|
56731
|
+
transferIDs: arrayType(stringType())
|
|
56732
|
+
});
|
|
56733
|
+
});
|
|
56734
|
+
|
|
56689
56735
|
// src/models/components/feecategory.ts
|
|
56690
56736
|
var FeeCategory, FeeCategory$inboundSchema, FeeCategory$outboundSchema;
|
|
56691
56737
|
var init_feecategory = __esm(() => {
|
|
@@ -60259,6 +60305,17 @@ var init_cardpaymenttransferpaymentmethod = __esm(() => {
|
|
|
60259
60305
|
});
|
|
60260
60306
|
});
|
|
60261
60307
|
|
|
60308
|
+
// src/models/components/cardpayouttype.ts
|
|
60309
|
+
var CardPayoutType, CardPayoutType$inboundSchema, CardPayoutType$outboundSchema;
|
|
60310
|
+
var init_cardpayouttype = __esm(() => {
|
|
60311
|
+
init_esm();
|
|
60312
|
+
CardPayoutType = {
|
|
60313
|
+
Loyalty: "loyalty"
|
|
60314
|
+
};
|
|
60315
|
+
CardPayoutType$inboundSchema = nativeEnumType(CardPayoutType);
|
|
60316
|
+
CardPayoutType$outboundSchema = CardPayoutType$inboundSchema;
|
|
60317
|
+
});
|
|
60318
|
+
|
|
60262
60319
|
// src/models/components/entrymode.ts
|
|
60263
60320
|
var EntryMode, EntryMode$inboundSchema, EntryMode$outboundSchema;
|
|
60264
60321
|
var init_entrymode = __esm(() => {
|
|
@@ -61301,6 +61358,40 @@ var init_instantbanktransactiondetails = __esm(() => {
|
|
|
61301
61358
|
});
|
|
61302
61359
|
});
|
|
61303
61360
|
|
|
61361
|
+
// src/models/components/rtpfailurecode.ts
|
|
61362
|
+
var RTPFailureCode, RTPFailureCode$inboundSchema, RTPFailureCode$outboundSchema;
|
|
61363
|
+
var init_rtpfailurecode = __esm(() => {
|
|
61364
|
+
init_esm();
|
|
61365
|
+
RTPFailureCode = {
|
|
61366
|
+
ProcessingError: "processing-error",
|
|
61367
|
+
InvalidAccount: "invalid-account",
|
|
61368
|
+
AccountClosed: "account-closed",
|
|
61369
|
+
AccountBlocked: "account-blocked",
|
|
61370
|
+
InvalidField: "invalid-field",
|
|
61371
|
+
TransactionNotSupported: "transaction-not-supported",
|
|
61372
|
+
LimitExceeded: "limit-exceeded",
|
|
61373
|
+
InvalidAmount: "invalid-amount",
|
|
61374
|
+
CustomerDeceased: "customer-deceased",
|
|
61375
|
+
Other: "other"
|
|
61376
|
+
};
|
|
61377
|
+
RTPFailureCode$inboundSchema = nativeEnumType(RTPFailureCode);
|
|
61378
|
+
RTPFailureCode$outboundSchema = RTPFailureCode$inboundSchema;
|
|
61379
|
+
});
|
|
61380
|
+
|
|
61381
|
+
// src/models/components/rtptransactionstatus.ts
|
|
61382
|
+
var RTPTransactionStatus, RTPTransactionStatus$inboundSchema, RTPTransactionStatus$outboundSchema;
|
|
61383
|
+
var init_rtptransactionstatus = __esm(() => {
|
|
61384
|
+
init_esm();
|
|
61385
|
+
RTPTransactionStatus = {
|
|
61386
|
+
Initiated: "initiated",
|
|
61387
|
+
Completed: "completed",
|
|
61388
|
+
Failed: "failed",
|
|
61389
|
+
AcceptedWithoutPosting: "accepted-without-posting"
|
|
61390
|
+
};
|
|
61391
|
+
RTPTransactionStatus$inboundSchema = nativeEnumType(RTPTransactionStatus);
|
|
61392
|
+
RTPTransactionStatus$outboundSchema = RTPTransactionStatus$inboundSchema;
|
|
61393
|
+
});
|
|
61394
|
+
|
|
61304
61395
|
// src/models/components/transferaccount.ts
|
|
61305
61396
|
var TransferAccount$inboundSchema, TransferAccount$outboundSchema;
|
|
61306
61397
|
var init_transferaccount = __esm(() => {
|
|
@@ -61362,25 +61453,47 @@ var init_transferpaymentmethodtype = __esm(() => {
|
|
|
61362
61453
|
PullFromCard: "pull-from-card",
|
|
61363
61454
|
ApplePay: "apple-pay",
|
|
61364
61455
|
CardPresentPayment: "card-present-payment",
|
|
61365
|
-
InstantBankCredit: "instant-bank-credit"
|
|
61456
|
+
InstantBankCredit: "instant-bank-credit",
|
|
61457
|
+
PushToApplePay: "push-to-apple-pay",
|
|
61458
|
+
PullFromApplePay: "pull-from-apple-pay"
|
|
61366
61459
|
};
|
|
61367
61460
|
TransferPaymentMethodType$inboundSchema = nativeEnumType(TransferPaymentMethodType);
|
|
61368
61461
|
TransferPaymentMethodType$outboundSchema = TransferPaymentMethodType$inboundSchema;
|
|
61369
61462
|
});
|
|
61370
61463
|
|
|
61371
61464
|
// src/models/components/transferdestination.ts
|
|
61372
|
-
var TransferDestination$inboundSchema, TransferDestination$outboundSchema;
|
|
61465
|
+
var RtpDetails$inboundSchema, RtpDetails$outboundSchema, TransferDestination$inboundSchema, TransferDestination$outboundSchema;
|
|
61373
61466
|
var init_transferdestination = __esm(() => {
|
|
61374
61467
|
init_esm();
|
|
61375
61468
|
init_achtransactiondetails();
|
|
61376
61469
|
init_applepayresponse();
|
|
61377
61470
|
init_cardtransactiondetails();
|
|
61378
61471
|
init_instantbanktransactiondetails();
|
|
61472
|
+
init_rtpfailurecode();
|
|
61473
|
+
init_rtptransactionstatus();
|
|
61379
61474
|
init_transferaccount();
|
|
61380
61475
|
init_transferpaymentmethodsbankaccount();
|
|
61381
61476
|
init_transferpaymentmethodscard();
|
|
61382
61477
|
init_transferpaymentmethodswallet();
|
|
61383
61478
|
init_transferpaymentmethodtype();
|
|
61479
|
+
RtpDetails$inboundSchema = objectType({
|
|
61480
|
+
status: RTPTransactionStatus$inboundSchema.optional(),
|
|
61481
|
+
networkResponseCode: stringType().optional(),
|
|
61482
|
+
failureCode: RTPFailureCode$inboundSchema.optional(),
|
|
61483
|
+
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61484
|
+
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61485
|
+
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61486
|
+
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
61487
|
+
});
|
|
61488
|
+
RtpDetails$outboundSchema = objectType({
|
|
61489
|
+
status: RTPTransactionStatus$outboundSchema.optional(),
|
|
61490
|
+
networkResponseCode: stringType().optional(),
|
|
61491
|
+
failureCode: RTPFailureCode$outboundSchema.optional(),
|
|
61492
|
+
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61493
|
+
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61494
|
+
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61495
|
+
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
61496
|
+
});
|
|
61384
61497
|
TransferDestination$inboundSchema = objectType({
|
|
61385
61498
|
paymentMethodID: stringType(),
|
|
61386
61499
|
paymentMethodType: TransferPaymentMethodType$inboundSchema,
|
|
@@ -61391,6 +61504,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61391
61504
|
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
61392
61505
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
61393
61506
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
61507
|
+
rtpDetails: lazyType(() => RtpDetails$inboundSchema).optional(),
|
|
61394
61508
|
instantBankDetails: InstantBankTransactionDetails$inboundSchema.optional()
|
|
61395
61509
|
});
|
|
61396
61510
|
TransferDestination$outboundSchema = objectType({
|
|
@@ -61403,6 +61517,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61403
61517
|
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
61404
61518
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
61405
61519
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
61520
|
+
rtpDetails: lazyType(() => RtpDetails$outboundSchema).optional(),
|
|
61406
61521
|
instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional()
|
|
61407
61522
|
});
|
|
61408
61523
|
});
|
|
@@ -61634,7 +61749,7 @@ var init_createdtransfer = __esm(() => {
|
|
|
61634
61749
|
});
|
|
61635
61750
|
|
|
61636
61751
|
// src/types/blobs.ts
|
|
61637
|
-
function
|
|
61752
|
+
function isBlobLike2(val) {
|
|
61638
61753
|
if (val instanceof Blob) {
|
|
61639
61754
|
return true;
|
|
61640
61755
|
}
|
|
@@ -61653,7 +61768,7 @@ function isBlobLike(val) {
|
|
|
61653
61768
|
var blobLikeSchema;
|
|
61654
61769
|
var init_blobs = __esm(() => {
|
|
61655
61770
|
init_esm();
|
|
61656
|
-
blobLikeSchema = custom(
|
|
61771
|
+
blobLikeSchema = custom(isBlobLike2, {
|
|
61657
61772
|
message: "expected a Blob, File or Blob-like object",
|
|
61658
61773
|
fatal: true
|
|
61659
61774
|
});
|
|
@@ -62655,11 +62770,14 @@ var init_createtransferdestinationach = __esm(() => {
|
|
|
62655
62770
|
var CreateTransferDestinationCard$inboundSchema, CreateTransferDestinationCard$outboundSchema;
|
|
62656
62771
|
var init_createtransferdestinationcard = __esm(() => {
|
|
62657
62772
|
init_esm();
|
|
62773
|
+
init_cardpayouttype();
|
|
62658
62774
|
CreateTransferDestinationCard$inboundSchema = objectType({
|
|
62659
|
-
dynamicDescriptor: stringType().optional()
|
|
62775
|
+
dynamicDescriptor: stringType().optional(),
|
|
62776
|
+
payoutType: CardPayoutType$inboundSchema.optional()
|
|
62660
62777
|
});
|
|
62661
62778
|
CreateTransferDestinationCard$outboundSchema = objectType({
|
|
62662
|
-
dynamicDescriptor: stringType().optional()
|
|
62779
|
+
dynamicDescriptor: stringType().optional(),
|
|
62780
|
+
payoutType: CardPayoutType$outboundSchema.optional()
|
|
62663
62781
|
});
|
|
62664
62782
|
});
|
|
62665
62783
|
|
|
@@ -65911,6 +66029,23 @@ var init_paymentlinkpayoutdetailsupdate = __esm(() => {
|
|
|
65911
66029
|
});
|
|
65912
66030
|
});
|
|
65913
66031
|
|
|
66032
|
+
// src/models/components/pullfromapplepaypaymentmethod.ts
|
|
66033
|
+
var PullFromApplePayPaymentMethod$inboundSchema, PullFromApplePayPaymentMethod$outboundSchema;
|
|
66034
|
+
var init_pullfromapplepaypaymentmethod = __esm(() => {
|
|
66035
|
+
init_esm();
|
|
66036
|
+
init_applepayresponse();
|
|
66037
|
+
PullFromApplePayPaymentMethod$inboundSchema = objectType({
|
|
66038
|
+
paymentMethodID: stringType(),
|
|
66039
|
+
paymentMethodType: literalType("pull-from-apple-pay"),
|
|
66040
|
+
applePay: ApplePayResponse$inboundSchema
|
|
66041
|
+
});
|
|
66042
|
+
PullFromApplePayPaymentMethod$outboundSchema = objectType({
|
|
66043
|
+
paymentMethodID: stringType(),
|
|
66044
|
+
paymentMethodType: literalType("pull-from-apple-pay"),
|
|
66045
|
+
applePay: ApplePayResponse$outboundSchema
|
|
66046
|
+
});
|
|
66047
|
+
});
|
|
66048
|
+
|
|
65914
66049
|
// src/models/components/pullfromcardpaymentmethod.ts
|
|
65915
66050
|
var PullFromCardPaymentMethod$inboundSchema, PullFromCardPaymentMethod$outboundSchema;
|
|
65916
66051
|
var init_pullfromcardpaymentmethod = __esm(() => {
|
|
@@ -65928,6 +66063,23 @@ var init_pullfromcardpaymentmethod = __esm(() => {
|
|
|
65928
66063
|
});
|
|
65929
66064
|
});
|
|
65930
66065
|
|
|
66066
|
+
// src/models/components/pushtoapplepaypaymentmethod.ts
|
|
66067
|
+
var PushToApplePayPaymentMethod$inboundSchema, PushToApplePayPaymentMethod$outboundSchema;
|
|
66068
|
+
var init_pushtoapplepaypaymentmethod = __esm(() => {
|
|
66069
|
+
init_esm();
|
|
66070
|
+
init_applepayresponse();
|
|
66071
|
+
PushToApplePayPaymentMethod$inboundSchema = objectType({
|
|
66072
|
+
paymentMethodID: stringType(),
|
|
66073
|
+
paymentMethodType: literalType("push-to-apple-pay"),
|
|
66074
|
+
applePay: ApplePayResponse$inboundSchema
|
|
66075
|
+
});
|
|
66076
|
+
PushToApplePayPaymentMethod$outboundSchema = objectType({
|
|
66077
|
+
paymentMethodID: stringType(),
|
|
66078
|
+
paymentMethodType: literalType("push-to-apple-pay"),
|
|
66079
|
+
applePay: ApplePayResponse$outboundSchema
|
|
66080
|
+
});
|
|
66081
|
+
});
|
|
66082
|
+
|
|
65931
66083
|
// src/models/components/pushtocardpaymentmethod.ts
|
|
65932
66084
|
var PushToCardPaymentMethod$inboundSchema, PushToCardPaymentMethod$outboundSchema;
|
|
65933
66085
|
var init_pushtocardpaymentmethod = __esm(() => {
|
|
@@ -65975,7 +66127,9 @@ var init_paymentmethod = __esm(() => {
|
|
|
65975
66127
|
init_cardpresentpaymentpaymentmethod();
|
|
65976
66128
|
init_instantbankcreditpaymentmethod();
|
|
65977
66129
|
init_moovwalletpaymentmethod();
|
|
66130
|
+
init_pullfromapplepaypaymentmethod();
|
|
65978
66131
|
init_pullfromcardpaymentmethod();
|
|
66132
|
+
init_pushtoapplepaypaymentmethod();
|
|
65979
66133
|
init_pushtocardpaymentmethod();
|
|
65980
66134
|
init_rtpcreditpaymentmethod();
|
|
65981
66135
|
PaymentMethod$inboundSchema = unionType([
|
|
@@ -65990,7 +66144,9 @@ var init_paymentmethod = __esm(() => {
|
|
|
65990
66144
|
PullFromCardPaymentMethod$inboundSchema,
|
|
65991
66145
|
ApplePayPaymentMethod$inboundSchema,
|
|
65992
66146
|
CardPresentPaymentPaymentMethod$inboundSchema,
|
|
65993
|
-
InstantBankCreditPaymentMethod$inboundSchema
|
|
66147
|
+
InstantBankCreditPaymentMethod$inboundSchema,
|
|
66148
|
+
PushToApplePayPaymentMethod$inboundSchema,
|
|
66149
|
+
PullFromApplePayPaymentMethod$inboundSchema
|
|
65994
66150
|
]);
|
|
65995
66151
|
PaymentMethod$outboundSchema = unionType([
|
|
65996
66152
|
MoovWalletPaymentMethod$outboundSchema,
|
|
@@ -66004,7 +66160,9 @@ var init_paymentmethod = __esm(() => {
|
|
|
66004
66160
|
PullFromCardPaymentMethod$outboundSchema,
|
|
66005
66161
|
ApplePayPaymentMethod$outboundSchema,
|
|
66006
66162
|
CardPresentPaymentPaymentMethod$outboundSchema,
|
|
66007
|
-
InstantBankCreditPaymentMethod$outboundSchema
|
|
66163
|
+
InstantBankCreditPaymentMethod$outboundSchema,
|
|
66164
|
+
PushToApplePayPaymentMethod$outboundSchema,
|
|
66165
|
+
PullFromApplePayPaymentMethod$outboundSchema
|
|
66008
66166
|
]);
|
|
66009
66167
|
});
|
|
66010
66168
|
|
|
@@ -66276,6 +66434,23 @@ var init_productrequest = __esm(() => {
|
|
|
66276
66434
|
});
|
|
66277
66435
|
});
|
|
66278
66436
|
|
|
66437
|
+
// src/models/components/pullfromapplepaytransferpaymentmethod.ts
|
|
66438
|
+
var PullFromApplePayTransferPaymentMethod$inboundSchema, PullFromApplePayTransferPaymentMethod$outboundSchema;
|
|
66439
|
+
var init_pullfromapplepaytransferpaymentmethod = __esm(() => {
|
|
66440
|
+
init_esm();
|
|
66441
|
+
init_applepayresponse();
|
|
66442
|
+
PullFromApplePayTransferPaymentMethod$inboundSchema = objectType({
|
|
66443
|
+
paymentMethodID: stringType(),
|
|
66444
|
+
paymentMethodType: literalType("pull-from-apple-pay"),
|
|
66445
|
+
applePay: ApplePayResponse$inboundSchema
|
|
66446
|
+
});
|
|
66447
|
+
PullFromApplePayTransferPaymentMethod$outboundSchema = objectType({
|
|
66448
|
+
paymentMethodID: stringType(),
|
|
66449
|
+
paymentMethodType: literalType("pull-from-apple-pay"),
|
|
66450
|
+
applePay: ApplePayResponse$outboundSchema
|
|
66451
|
+
});
|
|
66452
|
+
});
|
|
66453
|
+
|
|
66279
66454
|
// src/models/components/pullfromcardtransferpaymentmethod.ts
|
|
66280
66455
|
var PullFromCardTransferPaymentMethod$inboundSchema, PullFromCardTransferPaymentMethod$outboundSchema;
|
|
66281
66456
|
var init_pullfromcardtransferpaymentmethod = __esm(() => {
|
|
@@ -66293,6 +66468,23 @@ var init_pullfromcardtransferpaymentmethod = __esm(() => {
|
|
|
66293
66468
|
});
|
|
66294
66469
|
});
|
|
66295
66470
|
|
|
66471
|
+
// src/models/components/pushtoapplepaytransferpaymentmethod.ts
|
|
66472
|
+
var PushToApplePayTransferPaymentMethod$inboundSchema, PushToApplePayTransferPaymentMethod$outboundSchema;
|
|
66473
|
+
var init_pushtoapplepaytransferpaymentmethod = __esm(() => {
|
|
66474
|
+
init_esm();
|
|
66475
|
+
init_applepayresponse();
|
|
66476
|
+
PushToApplePayTransferPaymentMethod$inboundSchema = objectType({
|
|
66477
|
+
paymentMethodID: stringType(),
|
|
66478
|
+
paymentMethodType: literalType("push-to-apple-pay"),
|
|
66479
|
+
applePay: ApplePayResponse$inboundSchema
|
|
66480
|
+
});
|
|
66481
|
+
PushToApplePayTransferPaymentMethod$outboundSchema = objectType({
|
|
66482
|
+
paymentMethodID: stringType(),
|
|
66483
|
+
paymentMethodType: literalType("push-to-apple-pay"),
|
|
66484
|
+
applePay: ApplePayResponse$outboundSchema
|
|
66485
|
+
});
|
|
66486
|
+
});
|
|
66487
|
+
|
|
66296
66488
|
// src/models/components/pushtocardtransferpaymentmethod.ts
|
|
66297
66489
|
var PushToCardTransferPaymentMethod$inboundSchema, PushToCardTransferPaymentMethod$outboundSchema;
|
|
66298
66490
|
var init_pushtocardtransferpaymentmethod = __esm(() => {
|
|
@@ -67396,7 +67588,9 @@ var init_transferpaymentmethod = __esm(() => {
|
|
|
67396
67588
|
init_cardpresentpaymenttransferpaymentmethod();
|
|
67397
67589
|
init_instantbankcredittransferpaymentmethod();
|
|
67398
67590
|
init_moovwallettransferpaymentmethod();
|
|
67591
|
+
init_pullfromapplepaytransferpaymentmethod();
|
|
67399
67592
|
init_pullfromcardtransferpaymentmethod();
|
|
67593
|
+
init_pushtoapplepaytransferpaymentmethod();
|
|
67400
67594
|
init_pushtocardtransferpaymentmethod();
|
|
67401
67595
|
init_rtpcredittransferpaymentmethod();
|
|
67402
67596
|
TransferPaymentMethod$inboundSchema = unionType([
|
|
@@ -67411,7 +67605,9 @@ var init_transferpaymentmethod = __esm(() => {
|
|
|
67411
67605
|
PullFromCardTransferPaymentMethod$inboundSchema,
|
|
67412
67606
|
ApplePayTransferPaymentMethod$inboundSchema,
|
|
67413
67607
|
CardPresentPaymentTransferPaymentMethod$inboundSchema,
|
|
67414
|
-
InstantBankCreditTransferPaymentMethod$inboundSchema
|
|
67608
|
+
InstantBankCreditTransferPaymentMethod$inboundSchema,
|
|
67609
|
+
PushToApplePayTransferPaymentMethod$inboundSchema,
|
|
67610
|
+
PullFromApplePayTransferPaymentMethod$inboundSchema
|
|
67415
67611
|
]);
|
|
67416
67612
|
TransferPaymentMethod$outboundSchema = unionType([
|
|
67417
67613
|
MoovWalletTransferPaymentMethod$outboundSchema,
|
|
@@ -67425,7 +67621,9 @@ var init_transferpaymentmethod = __esm(() => {
|
|
|
67425
67621
|
PullFromCardTransferPaymentMethod$outboundSchema,
|
|
67426
67622
|
ApplePayTransferPaymentMethod$outboundSchema,
|
|
67427
67623
|
CardPresentPaymentTransferPaymentMethod$outboundSchema,
|
|
67428
|
-
InstantBankCreditTransferPaymentMethod$outboundSchema
|
|
67624
|
+
InstantBankCreditTransferPaymentMethod$outboundSchema,
|
|
67625
|
+
PushToApplePayTransferPaymentMethod$outboundSchema,
|
|
67626
|
+
PullFromApplePayTransferPaymentMethod$outboundSchema
|
|
67429
67627
|
]);
|
|
67430
67628
|
});
|
|
67431
67629
|
|
|
@@ -68114,9 +68312,11 @@ var WebhookBillingStatementCreated$inboundSchema, WebhookBillingStatementCreated
|
|
|
68114
68312
|
var init_webhookbillingstatementcreated = __esm(() => {
|
|
68115
68313
|
init_esm();
|
|
68116
68314
|
WebhookBillingStatementCreated$inboundSchema = objectType({
|
|
68315
|
+
accountID: stringType(),
|
|
68117
68316
|
statementID: stringType()
|
|
68118
68317
|
});
|
|
68119
68318
|
WebhookBillingStatementCreated$outboundSchema = objectType({
|
|
68319
|
+
accountID: stringType(),
|
|
68120
68320
|
statementID: stringType()
|
|
68121
68321
|
});
|
|
68122
68322
|
});
|
|
@@ -68858,11 +69058,11 @@ var init_webhookdata = __esm(() => {
|
|
|
68858
69058
|
WebhookDataTicketCreated$inboundSchema,
|
|
68859
69059
|
WebhookDataTicketMessageAdded$inboundSchema,
|
|
68860
69060
|
WebhookDataWalletCreated$inboundSchema,
|
|
69061
|
+
WebhookBillingStatementCreated$inboundSchema,
|
|
68861
69062
|
WebhookDataAccountCreated$inboundSchema,
|
|
68862
69063
|
WebhookDataAccountUpdated$inboundSchema,
|
|
68863
69064
|
WebhookDataAccountDisconnected$inboundSchema,
|
|
68864
|
-
WebhookDataNetworkIDUpdated$inboundSchema
|
|
68865
|
-
WebhookBillingStatementCreated$inboundSchema
|
|
69065
|
+
WebhookDataNetworkIDUpdated$inboundSchema
|
|
68866
69066
|
]);
|
|
68867
69067
|
WebhookData$outboundSchema = unionType([
|
|
68868
69068
|
WebhookDataDisputeCreated$outboundSchema,
|
|
@@ -68897,11 +69097,11 @@ var init_webhookdata = __esm(() => {
|
|
|
68897
69097
|
WebhookDataTicketCreated$outboundSchema,
|
|
68898
69098
|
WebhookDataTicketMessageAdded$outboundSchema,
|
|
68899
69099
|
WebhookDataWalletCreated$outboundSchema,
|
|
69100
|
+
WebhookBillingStatementCreated$outboundSchema,
|
|
68900
69101
|
WebhookDataAccountCreated$outboundSchema,
|
|
68901
69102
|
WebhookDataAccountUpdated$outboundSchema,
|
|
68902
69103
|
WebhookDataAccountDisconnected$outboundSchema,
|
|
68903
|
-
WebhookDataNetworkIDUpdated$outboundSchema
|
|
68904
|
-
WebhookBillingStatementCreated$outboundSchema
|
|
69104
|
+
WebhookDataNetworkIDUpdated$outboundSchema
|
|
68905
69105
|
]);
|
|
68906
69106
|
});
|
|
68907
69107
|
|
|
@@ -69006,6 +69206,7 @@ var init_components = __esm(() => {
|
|
|
69006
69206
|
init_bankaccountverificationstatus();
|
|
69007
69207
|
init_bankaccountwaitfor();
|
|
69008
69208
|
init_basicpaymentmethod();
|
|
69209
|
+
init_batchgettransfersrequest();
|
|
69009
69210
|
init_billablefee();
|
|
69010
69211
|
init_billingcountandamount();
|
|
69011
69212
|
init_billinginterchangeprogramfee();
|
|
@@ -69049,6 +69250,7 @@ var init_components = __esm(() => {
|
|
|
69049
69250
|
init_cardpaymentpaymentmethod();
|
|
69050
69251
|
init_cardpaymentsettings();
|
|
69051
69252
|
init_cardpaymenttransferpaymentmethod();
|
|
69253
|
+
init_cardpayouttype();
|
|
69052
69254
|
init_cardpresentpaymentpaymentmethod();
|
|
69053
69255
|
init_cardpresentpaymenttransferpaymentmethod();
|
|
69054
69256
|
init_cardtransactiondetails();
|
|
@@ -69330,8 +69532,12 @@ var init_components = __esm(() => {
|
|
|
69330
69532
|
init_productoptionvalidationerror();
|
|
69331
69533
|
init_productrequest();
|
|
69332
69534
|
init_profile();
|
|
69535
|
+
init_pullfromapplepaypaymentmethod();
|
|
69536
|
+
init_pullfromapplepaytransferpaymentmethod();
|
|
69333
69537
|
init_pullfromcardpaymentmethod();
|
|
69334
69538
|
init_pullfromcardtransferpaymentmethod();
|
|
69539
|
+
init_pushtoapplepaypaymentmethod();
|
|
69540
|
+
init_pushtoapplepaytransferpaymentmethod();
|
|
69335
69541
|
init_pushtocardpaymentmethod();
|
|
69336
69542
|
init_pushtocardtransferpaymentmethod();
|
|
69337
69543
|
init_qrcode();
|
|
@@ -69362,9 +69568,11 @@ var init_components = __esm(() => {
|
|
|
69362
69568
|
init_revoketokenrequest();
|
|
69363
69569
|
init_rtpcreditpaymentmethod();
|
|
69364
69570
|
init_rtpcredittransferpaymentmethod();
|
|
69571
|
+
init_rtpfailurecode();
|
|
69365
69572
|
init_rtpinstitution();
|
|
69366
69573
|
init_rtprejectioncode();
|
|
69367
69574
|
init_rtpservices();
|
|
69575
|
+
init_rtptransactionstatus();
|
|
69368
69576
|
init_runtransfer();
|
|
69369
69577
|
init_scheduledtransferimagemetadata();
|
|
69370
69578
|
init_scheduledtransferlineitem();
|
|
@@ -72501,6 +72709,48 @@ var init_assignaccountcountries = __esm(() => {
|
|
|
72501
72709
|
});
|
|
72502
72710
|
});
|
|
72503
72711
|
|
|
72712
|
+
// src/models/operations/batchgettransfers.ts
|
|
72713
|
+
var BatchGetTransfersRequest$inboundSchema2, BatchGetTransfersRequest$outboundSchema2, BatchGetTransfersResponse$inboundSchema, BatchGetTransfersResponse$outboundSchema;
|
|
72714
|
+
var init_batchgettransfers = __esm(() => {
|
|
72715
|
+
init_esm();
|
|
72716
|
+
init_primitives();
|
|
72717
|
+
init_components();
|
|
72718
|
+
BatchGetTransfersRequest$inboundSchema2 = objectType({
|
|
72719
|
+
accountID: stringType(),
|
|
72720
|
+
BatchGetTransfersRequest: BatchGetTransfersRequest$inboundSchema
|
|
72721
|
+
}).transform((v2) => {
|
|
72722
|
+
return remap(v2, {
|
|
72723
|
+
BatchGetTransfersRequest: "batchGetTransfersRequest"
|
|
72724
|
+
});
|
|
72725
|
+
});
|
|
72726
|
+
BatchGetTransfersRequest$outboundSchema2 = objectType({
|
|
72727
|
+
accountID: stringType(),
|
|
72728
|
+
batchGetTransfersRequest: BatchGetTransfersRequest$outboundSchema
|
|
72729
|
+
}).transform((v2) => {
|
|
72730
|
+
return remap(v2, {
|
|
72731
|
+
batchGetTransfersRequest: "BatchGetTransfersRequest"
|
|
72732
|
+
});
|
|
72733
|
+
});
|
|
72734
|
+
BatchGetTransfersResponse$inboundSchema = objectType({
|
|
72735
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
72736
|
+
Result: recordType(Transfer$inboundSchema)
|
|
72737
|
+
}).transform((v2) => {
|
|
72738
|
+
return remap(v2, {
|
|
72739
|
+
Headers: "headers",
|
|
72740
|
+
Result: "result"
|
|
72741
|
+
});
|
|
72742
|
+
});
|
|
72743
|
+
BatchGetTransfersResponse$outboundSchema = objectType({
|
|
72744
|
+
headers: recordType(arrayType(stringType())),
|
|
72745
|
+
result: recordType(Transfer$outboundSchema)
|
|
72746
|
+
}).transform((v2) => {
|
|
72747
|
+
return remap(v2, {
|
|
72748
|
+
headers: "Headers",
|
|
72749
|
+
result: "Result"
|
|
72750
|
+
});
|
|
72751
|
+
});
|
|
72752
|
+
});
|
|
72753
|
+
|
|
72504
72754
|
// src/models/operations/cancelschedule.ts
|
|
72505
72755
|
var CancelScheduleRequest$inboundSchema, CancelScheduleRequest$outboundSchema, CancelScheduleResponse$inboundSchema, CancelScheduleResponse$outboundSchema;
|
|
72506
72756
|
var init_cancelschedule = __esm(() => {
|
|
@@ -75981,7 +76231,7 @@ var init_linkapplepaytoken2 = __esm(() => {
|
|
|
75981
76231
|
});
|
|
75982
76232
|
LinkApplePayTokenResponse$inboundSchema = objectType({
|
|
75983
76233
|
Headers: recordType(arrayType(stringType())).default({}),
|
|
75984
|
-
Result: LinkedApplePayPaymentMethod$inboundSchema
|
|
76234
|
+
Result: arrayType(LinkedApplePayPaymentMethod$inboundSchema)
|
|
75985
76235
|
}).transform((v2) => {
|
|
75986
76236
|
return remap(v2, {
|
|
75987
76237
|
Headers: "headers",
|
|
@@ -75990,7 +76240,7 @@ var init_linkapplepaytoken2 = __esm(() => {
|
|
|
75990
76240
|
});
|
|
75991
76241
|
LinkApplePayTokenResponse$outboundSchema = objectType({
|
|
75992
76242
|
headers: recordType(arrayType(stringType())),
|
|
75993
|
-
result: LinkedApplePayPaymentMethod$outboundSchema
|
|
76243
|
+
result: arrayType(LinkedApplePayPaymentMethod$outboundSchema)
|
|
75994
76244
|
}).transform((v2) => {
|
|
75995
76245
|
return remap(v2, {
|
|
75996
76246
|
headers: "Headers",
|
|
@@ -78573,17 +78823,21 @@ var init_updateissuedcard2 = __esm(() => {
|
|
|
78573
78823
|
});
|
|
78574
78824
|
});
|
|
78575
78825
|
UpdateIssuedCardResponse$inboundSchema = objectType({
|
|
78576
|
-
Headers: recordType(arrayType(stringType())).default({})
|
|
78826
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
78827
|
+
Result: IssuedCard$inboundSchema
|
|
78577
78828
|
}).transform((v2) => {
|
|
78578
78829
|
return remap(v2, {
|
|
78579
|
-
Headers: "headers"
|
|
78830
|
+
Headers: "headers",
|
|
78831
|
+
Result: "result"
|
|
78580
78832
|
});
|
|
78581
78833
|
});
|
|
78582
78834
|
UpdateIssuedCardResponse$outboundSchema = objectType({
|
|
78583
|
-
headers: recordType(arrayType(stringType()))
|
|
78835
|
+
headers: recordType(arrayType(stringType())),
|
|
78836
|
+
result: IssuedCard$outboundSchema
|
|
78584
78837
|
}).transform((v2) => {
|
|
78585
78838
|
return remap(v2, {
|
|
78586
|
-
headers: "Headers"
|
|
78839
|
+
headers: "Headers",
|
|
78840
|
+
result: "Result"
|
|
78587
78841
|
});
|
|
78588
78842
|
});
|
|
78589
78843
|
});
|
|
@@ -79242,6 +79496,7 @@ var init_upsertunderwriting2 = __esm(() => {
|
|
|
79242
79496
|
var init_operations = __esm(() => {
|
|
79243
79497
|
init_acceptdispute();
|
|
79244
79498
|
init_assignaccountcountries();
|
|
79499
|
+
init_batchgettransfers();
|
|
79245
79500
|
init_cancelschedule();
|
|
79246
79501
|
init_completebankaccountverification2();
|
|
79247
79502
|
init_completemicrodeposits2();
|
|
@@ -81792,12 +82047,12 @@ var init_applePayLinkToken2 = __esm(() => {
|
|
|
81792
82047
|
};
|
|
81793
82048
|
tool$applePayLinkToken = {
|
|
81794
82049
|
name: "apple-pay-link-token",
|
|
81795
|
-
description: `Connect an Apple Pay token to the specified account.
|
|
82050
|
+
description: `Connect an Apple Pay token to the specified account.
|
|
81796
82051
|
|
|
81797
|
-
Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more.
|
|
82052
|
+
Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more.
|
|
81798
82053
|
The \`token\` data is defined by Apple Pay and should be passed through from Apple Pay's response unmodified.
|
|
81799
82054
|
|
|
81800
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82055
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81801
82056
|
you'll need to specify the \`/accounts/{accountID}/cards.write\` scope.`,
|
|
81802
82057
|
args: args20,
|
|
81803
82058
|
tool: async (client, args21, ctx) => {
|
|
@@ -84916,8 +85171,9 @@ async function $do46(client, request, options) {
|
|
|
84916
85171
|
const responseFields = {
|
|
84917
85172
|
HttpMeta: { Response: response, Request: req }
|
|
84918
85173
|
};
|
|
84919
|
-
const [result] = await match(
|
|
84920
|
-
hdrs: true
|
|
85174
|
+
const [result] = await match(json(200, UpdateIssuedCardResponse$inboundSchema, {
|
|
85175
|
+
hdrs: true,
|
|
85176
|
+
key: "Result"
|
|
84921
85177
|
}), 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 });
|
|
84922
85178
|
if (!result.ok) {
|
|
84923
85179
|
return [result, { status: "complete", request: req, response }];
|
|
@@ -84960,7 +85216,8 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.write\` scope.`,
|
|
|
84960
85216
|
isError: true
|
|
84961
85217
|
};
|
|
84962
85218
|
}
|
|
84963
|
-
|
|
85219
|
+
const value = result.value.result;
|
|
85220
|
+
return formatResult(value, apiCall);
|
|
84964
85221
|
}
|
|
84965
85222
|
};
|
|
84966
85223
|
});
|
|
@@ -86790,8 +87047,11 @@ async function $do61(client, request, options) {
|
|
|
86790
87047
|
const payload = parsed.value;
|
|
86791
87048
|
const body = new FormData;
|
|
86792
87049
|
appendForm(body, "evidenceType", payload.CreateEvidenceFileMultiPart.evidenceType);
|
|
86793
|
-
if (
|
|
86794
|
-
|
|
87050
|
+
if (isBlobLike2(payload.CreateEvidenceFileMultiPart.file)) {
|
|
87051
|
+
const file = payload.CreateEvidenceFileMultiPart.file;
|
|
87052
|
+
const blob = await normalizeBlob(file);
|
|
87053
|
+
const name = "name" in file ? file.name : undefined;
|
|
87054
|
+
appendForm(body, "file", blob, name);
|
|
86795
87055
|
} else if (isReadableStream(payload.CreateEvidenceFileMultiPart.file.content)) {
|
|
86796
87056
|
const buffer = await readableStreamToArrayBuffer(payload.CreateEvidenceFileMultiPart.file.content);
|
|
86797
87057
|
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
@@ -88887,8 +89147,11 @@ async function $do79(client, request, options) {
|
|
|
88887
89147
|
}
|
|
88888
89148
|
const payload = parsed.value;
|
|
88889
89149
|
const body = new FormData;
|
|
88890
|
-
if (
|
|
88891
|
-
|
|
89150
|
+
if (isBlobLike2(payload.FileUploadRequestMultiPart.file)) {
|
|
89151
|
+
const file = payload.FileUploadRequestMultiPart.file;
|
|
89152
|
+
const blob = await normalizeBlob(file);
|
|
89153
|
+
const name = "name" in file ? file.name : undefined;
|
|
89154
|
+
appendForm(body, "file", blob, name);
|
|
88892
89155
|
} else if (isReadableStream(payload.FileUploadRequestMultiPart.file.content)) {
|
|
88893
89156
|
const buffer = await readableStreamToArrayBuffer(payload.FileUploadRequestMultiPart.file.content);
|
|
88894
89157
|
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
@@ -89497,8 +89760,11 @@ async function $do84(client, request, options) {
|
|
|
89497
89760
|
}
|
|
89498
89761
|
const payload = parsed.value;
|
|
89499
89762
|
const body = new FormData;
|
|
89500
|
-
if (
|
|
89501
|
-
|
|
89763
|
+
if (isBlobLike2(payload.ImageUploadRequestMultiPart.image)) {
|
|
89764
|
+
const file = payload.ImageUploadRequestMultiPart.image;
|
|
89765
|
+
const blob = await normalizeBlob(file);
|
|
89766
|
+
const name = "name" in file ? file.name : undefined;
|
|
89767
|
+
appendForm(body, "image", blob, name);
|
|
89502
89768
|
} else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
|
|
89503
89769
|
const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
|
|
89504
89770
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
@@ -89771,8 +90037,11 @@ async function $do86(client, request, options) {
|
|
|
89771
90037
|
}
|
|
89772
90038
|
const payload = parsed.value;
|
|
89773
90039
|
const body = new FormData;
|
|
89774
|
-
if (
|
|
89775
|
-
|
|
90040
|
+
if (isBlobLike2(payload.ImageUploadRequestMultiPart.image)) {
|
|
90041
|
+
const file = payload.ImageUploadRequestMultiPart.image;
|
|
90042
|
+
const blob = await normalizeBlob(file);
|
|
90043
|
+
const name = "name" in file ? file.name : undefined;
|
|
90044
|
+
appendForm(body, "image", blob, name);
|
|
89776
90045
|
} else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
|
|
89777
90046
|
const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
|
|
89778
90047
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
@@ -97872,11 +98141,128 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
97872
98141
|
};
|
|
97873
98142
|
});
|
|
97874
98143
|
|
|
97875
|
-
// src/funcs/
|
|
97876
|
-
function
|
|
98144
|
+
// src/funcs/transfersBatchGetTransfers.ts
|
|
98145
|
+
function transfersBatchGetTransfers(client, request, options) {
|
|
97877
98146
|
return new APIPromise($do155(client, request, options));
|
|
97878
98147
|
}
|
|
97879
98148
|
async function $do155(client, request, options) {
|
|
98149
|
+
const parsed = safeParse4(request, (value) => BatchGetTransfersRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
98150
|
+
if (!parsed.ok) {
|
|
98151
|
+
return [parsed, { status: "invalid" }];
|
|
98152
|
+
}
|
|
98153
|
+
const payload = parsed.value;
|
|
98154
|
+
const body = encodeJSON("body", payload.BatchGetTransfersRequest, {
|
|
98155
|
+
explode: true
|
|
98156
|
+
});
|
|
98157
|
+
const pathParams = {
|
|
98158
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
98159
|
+
explode: false,
|
|
98160
|
+
charEncoding: "percent"
|
|
98161
|
+
})
|
|
98162
|
+
};
|
|
98163
|
+
const path = pathToFunc("/accounts/{accountID}/transfers/.fetch")(pathParams);
|
|
98164
|
+
const headers = new Headers(compactMap({
|
|
98165
|
+
"Content-Type": "application/json",
|
|
98166
|
+
Accept: "application/json"
|
|
98167
|
+
}));
|
|
98168
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
98169
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
98170
|
+
const context = {
|
|
98171
|
+
options: client._options,
|
|
98172
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
98173
|
+
operationID: "batchGetTransfers",
|
|
98174
|
+
oAuth2Scopes: null,
|
|
98175
|
+
resolvedSecurity: requestSecurity,
|
|
98176
|
+
securitySource: client._options.security,
|
|
98177
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
98178
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
98179
|
+
};
|
|
98180
|
+
const requestRes = client._createRequest(context, {
|
|
98181
|
+
security: requestSecurity,
|
|
98182
|
+
method: "POST",
|
|
98183
|
+
baseURL: options?.serverURL,
|
|
98184
|
+
path,
|
|
98185
|
+
headers,
|
|
98186
|
+
body,
|
|
98187
|
+
userAgent: client._options.userAgent,
|
|
98188
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
98189
|
+
}, options);
|
|
98190
|
+
if (!requestRes.ok) {
|
|
98191
|
+
return [requestRes, { status: "invalid" }];
|
|
98192
|
+
}
|
|
98193
|
+
const req = requestRes.value;
|
|
98194
|
+
const doResult = await client._do(req, {
|
|
98195
|
+
context,
|
|
98196
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
98197
|
+
retryConfig: context.retryConfig,
|
|
98198
|
+
retryCodes: context.retryCodes
|
|
98199
|
+
});
|
|
98200
|
+
if (!doResult.ok) {
|
|
98201
|
+
return [doResult, { status: "request-error", request: req }];
|
|
98202
|
+
}
|
|
98203
|
+
const response = doResult.value;
|
|
98204
|
+
const responseFields = {
|
|
98205
|
+
HttpMeta: { Response: response, Request: req }
|
|
98206
|
+
};
|
|
98207
|
+
const [result] = await match(json(200, BatchGetTransfersResponse$inboundSchema, {
|
|
98208
|
+
hdrs: true,
|
|
98209
|
+
key: "Result"
|
|
98210
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
98211
|
+
if (!result.ok) {
|
|
98212
|
+
return [result, { status: "complete", request: req, response }];
|
|
98213
|
+
}
|
|
98214
|
+
return [result, { status: "complete", request: req, response }];
|
|
98215
|
+
}
|
|
98216
|
+
var init_transfersBatchGetTransfers = __esm(() => {
|
|
98217
|
+
init_encodings();
|
|
98218
|
+
init_matchers();
|
|
98219
|
+
init_primitives();
|
|
98220
|
+
init_schemas4();
|
|
98221
|
+
init_security();
|
|
98222
|
+
init_url();
|
|
98223
|
+
init_operations();
|
|
98224
|
+
init_async();
|
|
98225
|
+
});
|
|
98226
|
+
|
|
98227
|
+
// src/mcp-server/tools/transfersBatchGetTransfers.ts
|
|
98228
|
+
var args150, tool$transfersBatchGetTransfers;
|
|
98229
|
+
var init_transfersBatchGetTransfers2 = __esm(() => {
|
|
98230
|
+
init_transfersBatchGetTransfers();
|
|
98231
|
+
init_operations();
|
|
98232
|
+
init_tools();
|
|
98233
|
+
args150 = {
|
|
98234
|
+
request: BatchGetTransfersRequest$inboundSchema2
|
|
98235
|
+
};
|
|
98236
|
+
tool$transfersBatchGetTransfers = {
|
|
98237
|
+
name: "transfers-batch-get-transfers",
|
|
98238
|
+
description: `Retrieve transfer details for multiple transfers in one request. The response is a map from each
|
|
98239
|
+
requested transfer ID to its full transfer details when available; IDs that are not found or not
|
|
98240
|
+
accessible under this account are omitted from the map.
|
|
98241
|
+
|
|
98242
|
+
Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
98243
|
+
|
|
98244
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98245
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98246
|
+
args: args150,
|
|
98247
|
+
tool: async (client, args151, ctx) => {
|
|
98248
|
+
const [result, apiCall] = await transfersBatchGetTransfers(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98249
|
+
if (!result.ok) {
|
|
98250
|
+
return {
|
|
98251
|
+
content: [{ type: "text", text: result.error.message }],
|
|
98252
|
+
isError: true
|
|
98253
|
+
};
|
|
98254
|
+
}
|
|
98255
|
+
const value = result.value.result;
|
|
98256
|
+
return formatResult(value, apiCall);
|
|
98257
|
+
}
|
|
98258
|
+
};
|
|
98259
|
+
});
|
|
98260
|
+
|
|
98261
|
+
// src/funcs/transfersCreate.ts
|
|
98262
|
+
function transfersCreate(client, request, options) {
|
|
98263
|
+
return new APIPromise($do156(client, request, options));
|
|
98264
|
+
}
|
|
98265
|
+
async function $do156(client, request, options) {
|
|
97880
98266
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97881
98267
|
if (!parsed.ok) {
|
|
97882
98268
|
return [parsed, { status: "invalid" }];
|
|
@@ -97968,12 +98354,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
97968
98354
|
});
|
|
97969
98355
|
|
|
97970
98356
|
// src/mcp-server/tools/transfersCreate.ts
|
|
97971
|
-
var
|
|
98357
|
+
var args151, tool$transfersCreate;
|
|
97972
98358
|
var init_transfersCreate2 = __esm(() => {
|
|
97973
98359
|
init_transfersCreate();
|
|
97974
98360
|
init_operations();
|
|
97975
98361
|
init_tools();
|
|
97976
|
-
|
|
98362
|
+
args151 = {
|
|
97977
98363
|
request: CreateTransferRequest$inboundSchema
|
|
97978
98364
|
};
|
|
97979
98365
|
tool$transfersCreate = {
|
|
@@ -97984,9 +98370,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
97984
98370
|
|
|
97985
98371
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97986
98372
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
97987
|
-
args:
|
|
97988
|
-
tool: async (client,
|
|
97989
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
98373
|
+
args: args151,
|
|
98374
|
+
tool: async (client, args152, ctx) => {
|
|
98375
|
+
const [result, apiCall] = await transfersCreate(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97990
98376
|
if (!result.ok) {
|
|
97991
98377
|
return {
|
|
97992
98378
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98001,9 +98387,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98001
98387
|
|
|
98002
98388
|
// src/funcs/transfersCreateCancellation.ts
|
|
98003
98389
|
function transfersCreateCancellation(client, request, options) {
|
|
98004
|
-
return new APIPromise($
|
|
98390
|
+
return new APIPromise($do157(client, request, options));
|
|
98005
98391
|
}
|
|
98006
|
-
async function $
|
|
98392
|
+
async function $do157(client, request, options) {
|
|
98007
98393
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98008
98394
|
if (!parsed.ok) {
|
|
98009
98395
|
return [parsed, { status: "invalid" }];
|
|
@@ -98085,12 +98471,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
98085
98471
|
});
|
|
98086
98472
|
|
|
98087
98473
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
98088
|
-
var
|
|
98474
|
+
var args152, tool$transfersCreateCancellation;
|
|
98089
98475
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
98090
98476
|
init_transfersCreateCancellation();
|
|
98091
98477
|
init_operations();
|
|
98092
98478
|
init_tools();
|
|
98093
|
-
|
|
98479
|
+
args152 = {
|
|
98094
98480
|
request: CreateCancellationRequest$inboundSchema
|
|
98095
98481
|
};
|
|
98096
98482
|
tool$transfersCreateCancellation = {
|
|
@@ -98099,9 +98485,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
98099
98485
|
|
|
98100
98486
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98101
98487
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98102
|
-
args:
|
|
98103
|
-
tool: async (client,
|
|
98104
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
98488
|
+
args: args152,
|
|
98489
|
+
tool: async (client, args153, ctx) => {
|
|
98490
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98105
98491
|
if (!result.ok) {
|
|
98106
98492
|
return {
|
|
98107
98493
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98116,9 +98502,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
98116
98502
|
|
|
98117
98503
|
// src/funcs/transfersCreateReversal.ts
|
|
98118
98504
|
function transfersCreateReversal(client, request, options) {
|
|
98119
|
-
return new APIPromise($
|
|
98505
|
+
return new APIPromise($do158(client, request, options));
|
|
98120
98506
|
}
|
|
98121
|
-
async function $
|
|
98507
|
+
async function $do158(client, request, options) {
|
|
98122
98508
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98123
98509
|
if (!parsed.ok) {
|
|
98124
98510
|
return [parsed, { status: "invalid" }];
|
|
@@ -98216,12 +98602,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
98216
98602
|
});
|
|
98217
98603
|
|
|
98218
98604
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
98219
|
-
var
|
|
98605
|
+
var args153, tool$transfersCreateReversal;
|
|
98220
98606
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
98221
98607
|
init_transfersCreateReversal();
|
|
98222
98608
|
init_operations();
|
|
98223
98609
|
init_tools();
|
|
98224
|
-
|
|
98610
|
+
args153 = {
|
|
98225
98611
|
request: CreateReversalRequest$inboundSchema
|
|
98226
98612
|
};
|
|
98227
98613
|
tool$transfersCreateReversal = {
|
|
@@ -98232,9 +98618,9 @@ to learn more.
|
|
|
98232
98618
|
|
|
98233
98619
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98234
98620
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98235
|
-
args:
|
|
98236
|
-
tool: async (client,
|
|
98237
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
98621
|
+
args: args153,
|
|
98622
|
+
tool: async (client, args154, ctx) => {
|
|
98623
|
+
const [result, apiCall] = await transfersCreateReversal(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98238
98624
|
if (!result.ok) {
|
|
98239
98625
|
return {
|
|
98240
98626
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98249,9 +98635,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98249
98635
|
|
|
98250
98636
|
// src/funcs/transfersGenerateOptions.ts
|
|
98251
98637
|
function transfersGenerateOptions(client, request, options) {
|
|
98252
|
-
return new APIPromise($
|
|
98638
|
+
return new APIPromise($do159(client, request, options));
|
|
98253
98639
|
}
|
|
98254
|
-
async function $
|
|
98640
|
+
async function $do159(client, request, options) {
|
|
98255
98641
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98256
98642
|
if (!parsed.ok) {
|
|
98257
98643
|
return [parsed, { status: "invalid" }];
|
|
@@ -98334,12 +98720,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
98334
98720
|
});
|
|
98335
98721
|
|
|
98336
98722
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
98337
|
-
var
|
|
98723
|
+
var args154, tool$transfersGenerateOptions;
|
|
98338
98724
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
98339
98725
|
init_transfersGenerateOptions();
|
|
98340
98726
|
init_operations();
|
|
98341
98727
|
init_tools();
|
|
98342
|
-
|
|
98728
|
+
args154 = {
|
|
98343
98729
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
98344
98730
|
};
|
|
98345
98731
|
tool$transfersGenerateOptions = {
|
|
@@ -98353,9 +98739,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
98353
98739
|
|
|
98354
98740
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98355
98741
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98356
|
-
args:
|
|
98357
|
-
tool: async (client,
|
|
98358
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
98742
|
+
args: args154,
|
|
98743
|
+
tool: async (client, args155, ctx) => {
|
|
98744
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98359
98745
|
if (!result.ok) {
|
|
98360
98746
|
return {
|
|
98361
98747
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98370,9 +98756,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98370
98756
|
|
|
98371
98757
|
// src/funcs/transfersGet.ts
|
|
98372
98758
|
function transfersGet(client, request, options) {
|
|
98373
|
-
return new APIPromise($
|
|
98759
|
+
return new APIPromise($do160(client, request, options));
|
|
98374
98760
|
}
|
|
98375
|
-
async function $
|
|
98761
|
+
async function $do160(client, request, options) {
|
|
98376
98762
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98377
98763
|
if (!parsed.ok) {
|
|
98378
98764
|
return [parsed, { status: "invalid" }];
|
|
@@ -98453,12 +98839,12 @@ var init_transfersGet = __esm(() => {
|
|
|
98453
98839
|
});
|
|
98454
98840
|
|
|
98455
98841
|
// src/mcp-server/tools/transfersGet.ts
|
|
98456
|
-
var
|
|
98842
|
+
var args155, tool$transfersGet;
|
|
98457
98843
|
var init_transfersGet2 = __esm(() => {
|
|
98458
98844
|
init_transfersGet();
|
|
98459
98845
|
init_operations();
|
|
98460
98846
|
init_tools();
|
|
98461
|
-
|
|
98847
|
+
args155 = {
|
|
98462
98848
|
request: GetTransferRequest$inboundSchema
|
|
98463
98849
|
};
|
|
98464
98850
|
tool$transfersGet = {
|
|
@@ -98470,9 +98856,9 @@ to learn more.
|
|
|
98470
98856
|
|
|
98471
98857
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98472
98858
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98473
|
-
args:
|
|
98474
|
-
tool: async (client,
|
|
98475
|
-
const [result, apiCall] = await transfersGet(client,
|
|
98859
|
+
args: args155,
|
|
98860
|
+
tool: async (client, args156, ctx) => {
|
|
98861
|
+
const [result, apiCall] = await transfersGet(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98476
98862
|
if (!result.ok) {
|
|
98477
98863
|
return {
|
|
98478
98864
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98487,9 +98873,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98487
98873
|
|
|
98488
98874
|
// src/funcs/transfersGetCancellation.ts
|
|
98489
98875
|
function transfersGetCancellation(client, request, options) {
|
|
98490
|
-
return new APIPromise($
|
|
98876
|
+
return new APIPromise($do161(client, request, options));
|
|
98491
98877
|
}
|
|
98492
|
-
async function $
|
|
98878
|
+
async function $do161(client, request, options) {
|
|
98493
98879
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98494
98880
|
if (!parsed.ok) {
|
|
98495
98881
|
return [parsed, { status: "invalid" }];
|
|
@@ -98574,12 +98960,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
98574
98960
|
});
|
|
98575
98961
|
|
|
98576
98962
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
98577
|
-
var
|
|
98963
|
+
var args156, tool$transfersGetCancellation;
|
|
98578
98964
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
98579
98965
|
init_transfersGetCancellation();
|
|
98580
98966
|
init_operations();
|
|
98581
98967
|
init_tools();
|
|
98582
|
-
|
|
98968
|
+
args156 = {
|
|
98583
98969
|
request: GetCancellationRequest$inboundSchema
|
|
98584
98970
|
};
|
|
98585
98971
|
tool$transfersGetCancellation = {
|
|
@@ -98588,9 +98974,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
98588
98974
|
|
|
98589
98975
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98590
98976
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98591
|
-
args:
|
|
98592
|
-
tool: async (client,
|
|
98593
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
98977
|
+
args: args156,
|
|
98978
|
+
tool: async (client, args157, ctx) => {
|
|
98979
|
+
const [result, apiCall] = await transfersGetCancellation(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98594
98980
|
if (!result.ok) {
|
|
98595
98981
|
return {
|
|
98596
98982
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98605,9 +98991,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
98605
98991
|
|
|
98606
98992
|
// src/funcs/transfersGetRefund.ts
|
|
98607
98993
|
function transfersGetRefund(client, request, options) {
|
|
98608
|
-
return new APIPromise($
|
|
98994
|
+
return new APIPromise($do162(client, request, options));
|
|
98609
98995
|
}
|
|
98610
|
-
async function $
|
|
98996
|
+
async function $do162(client, request, options) {
|
|
98611
98997
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98612
98998
|
if (!parsed.ok) {
|
|
98613
98999
|
return [parsed, { status: "invalid" }];
|
|
@@ -98692,12 +99078,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
98692
99078
|
});
|
|
98693
99079
|
|
|
98694
99080
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
98695
|
-
var
|
|
99081
|
+
var args157, tool$transfersGetRefund;
|
|
98696
99082
|
var init_transfersGetRefund2 = __esm(() => {
|
|
98697
99083
|
init_transfersGetRefund();
|
|
98698
99084
|
init_operations();
|
|
98699
99085
|
init_tools();
|
|
98700
|
-
|
|
99086
|
+
args157 = {
|
|
98701
99087
|
request: GetRefundRequest$inboundSchema
|
|
98702
99088
|
};
|
|
98703
99089
|
tool$transfersGetRefund = {
|
|
@@ -98706,9 +99092,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
98706
99092
|
|
|
98707
99093
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98708
99094
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98709
|
-
args:
|
|
98710
|
-
tool: async (client,
|
|
98711
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
99095
|
+
args: args157,
|
|
99096
|
+
tool: async (client, args158, ctx) => {
|
|
99097
|
+
const [result, apiCall] = await transfersGetRefund(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98712
99098
|
if (!result.ok) {
|
|
98713
99099
|
return {
|
|
98714
99100
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98723,9 +99109,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98723
99109
|
|
|
98724
99110
|
// src/funcs/transfersInitiateRefund.ts
|
|
98725
99111
|
function transfersInitiateRefund(client, request, options) {
|
|
98726
|
-
return new APIPromise($
|
|
99112
|
+
return new APIPromise($do163(client, request, options));
|
|
98727
99113
|
}
|
|
98728
|
-
async function $
|
|
99114
|
+
async function $do163(client, request, options) {
|
|
98729
99115
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98730
99116
|
if (!parsed.ok) {
|
|
98731
99117
|
return [parsed, { status: "invalid" }];
|
|
@@ -98816,12 +99202,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
98816
99202
|
});
|
|
98817
99203
|
|
|
98818
99204
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
98819
|
-
var
|
|
99205
|
+
var args158, tool$transfersInitiateRefund;
|
|
98820
99206
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
98821
99207
|
init_transfersInitiateRefund();
|
|
98822
99208
|
init_operations();
|
|
98823
99209
|
init_tools();
|
|
98824
|
-
|
|
99210
|
+
args158 = {
|
|
98825
99211
|
request: InitiateRefundRequest$inboundSchema
|
|
98826
99212
|
};
|
|
98827
99213
|
tool$transfersInitiateRefund = {
|
|
@@ -98833,9 +99219,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
98833
99219
|
|
|
98834
99220
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98835
99221
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98836
|
-
args:
|
|
98837
|
-
tool: async (client,
|
|
98838
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
99222
|
+
args: args158,
|
|
99223
|
+
tool: async (client, args159, ctx) => {
|
|
99224
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98839
99225
|
if (!result.ok) {
|
|
98840
99226
|
return {
|
|
98841
99227
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98850,9 +99236,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98850
99236
|
|
|
98851
99237
|
// src/funcs/transfersList.ts
|
|
98852
99238
|
function transfersList(client, request, options) {
|
|
98853
|
-
return new APIPromise($
|
|
99239
|
+
return new APIPromise($do164(client, request, options));
|
|
98854
99240
|
}
|
|
98855
|
-
async function $
|
|
99241
|
+
async function $do164(client, request, options) {
|
|
98856
99242
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98857
99243
|
if (!parsed.ok) {
|
|
98858
99244
|
return [parsed, { status: "invalid" }];
|
|
@@ -98947,12 +99333,12 @@ var init_transfersList = __esm(() => {
|
|
|
98947
99333
|
});
|
|
98948
99334
|
|
|
98949
99335
|
// src/mcp-server/tools/transfersList.ts
|
|
98950
|
-
var
|
|
99336
|
+
var args159, tool$transfersList;
|
|
98951
99337
|
var init_transfersList2 = __esm(() => {
|
|
98952
99338
|
init_transfersList();
|
|
98953
99339
|
init_operations();
|
|
98954
99340
|
init_tools();
|
|
98955
|
-
|
|
99341
|
+
args159 = {
|
|
98956
99342
|
request: ListTransfersRequest$inboundSchema
|
|
98957
99343
|
};
|
|
98958
99344
|
tool$transfersList = {
|
|
@@ -98968,9 +99354,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
98968
99354
|
|
|
98969
99355
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98970
99356
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98971
|
-
args:
|
|
98972
|
-
tool: async (client,
|
|
98973
|
-
const [result, apiCall] = await transfersList(client,
|
|
99357
|
+
args: args159,
|
|
99358
|
+
tool: async (client, args160, ctx) => {
|
|
99359
|
+
const [result, apiCall] = await transfersList(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98974
99360
|
if (!result.ok) {
|
|
98975
99361
|
return {
|
|
98976
99362
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98985,9 +99371,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98985
99371
|
|
|
98986
99372
|
// src/funcs/transfersListRefunds.ts
|
|
98987
99373
|
function transfersListRefunds(client, request, options) {
|
|
98988
|
-
return new APIPromise($
|
|
99374
|
+
return new APIPromise($do165(client, request, options));
|
|
98989
99375
|
}
|
|
98990
|
-
async function $
|
|
99376
|
+
async function $do165(client, request, options) {
|
|
98991
99377
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98992
99378
|
if (!parsed.ok) {
|
|
98993
99379
|
return [parsed, { status: "invalid" }];
|
|
@@ -99068,12 +99454,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
99068
99454
|
});
|
|
99069
99455
|
|
|
99070
99456
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
99071
|
-
var
|
|
99457
|
+
var args160, tool$transfersListRefunds;
|
|
99072
99458
|
var init_transfersListRefunds2 = __esm(() => {
|
|
99073
99459
|
init_transfersListRefunds();
|
|
99074
99460
|
init_operations();
|
|
99075
99461
|
init_tools();
|
|
99076
|
-
|
|
99462
|
+
args160 = {
|
|
99077
99463
|
request: ListRefundsRequest$inboundSchema
|
|
99078
99464
|
};
|
|
99079
99465
|
tool$transfersListRefunds = {
|
|
@@ -99082,9 +99468,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
99082
99468
|
|
|
99083
99469
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99084
99470
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
99085
|
-
args:
|
|
99086
|
-
tool: async (client,
|
|
99087
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
99471
|
+
args: args160,
|
|
99472
|
+
tool: async (client, args161, ctx) => {
|
|
99473
|
+
const [result, apiCall] = await transfersListRefunds(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99088
99474
|
if (!result.ok) {
|
|
99089
99475
|
return {
|
|
99090
99476
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99099,9 +99485,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99099
99485
|
|
|
99100
99486
|
// src/funcs/transfersUpdate.ts
|
|
99101
99487
|
function transfersUpdate(client, request, options) {
|
|
99102
|
-
return new APIPromise($
|
|
99488
|
+
return new APIPromise($do166(client, request, options));
|
|
99103
99489
|
}
|
|
99104
|
-
async function $
|
|
99490
|
+
async function $do166(client, request, options) {
|
|
99105
99491
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99106
99492
|
if (!parsed.ok) {
|
|
99107
99493
|
return [parsed, { status: "invalid" }];
|
|
@@ -99186,12 +99572,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
99186
99572
|
});
|
|
99187
99573
|
|
|
99188
99574
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
99189
|
-
var
|
|
99575
|
+
var args161, tool$transfersUpdate;
|
|
99190
99576
|
var init_transfersUpdate2 = __esm(() => {
|
|
99191
99577
|
init_transfersUpdate();
|
|
99192
99578
|
init_operations();
|
|
99193
99579
|
init_tools();
|
|
99194
|
-
|
|
99580
|
+
args161 = {
|
|
99195
99581
|
request: UpdateTransferRequest$inboundSchema
|
|
99196
99582
|
};
|
|
99197
99583
|
tool$transfersUpdate = {
|
|
@@ -99202,9 +99588,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
99202
99588
|
|
|
99203
99589
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99204
99590
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
99205
|
-
args:
|
|
99206
|
-
tool: async (client,
|
|
99207
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
99591
|
+
args: args161,
|
|
99592
|
+
tool: async (client, args162, ctx) => {
|
|
99593
|
+
const [result, apiCall] = await transfersUpdate(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99208
99594
|
if (!result.ok) {
|
|
99209
99595
|
return {
|
|
99210
99596
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99219,9 +99605,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
99219
99605
|
|
|
99220
99606
|
// src/funcs/underwritingGet.ts
|
|
99221
99607
|
function underwritingGet(client, request, options) {
|
|
99222
|
-
return new APIPromise($
|
|
99608
|
+
return new APIPromise($do167(client, request, options));
|
|
99223
99609
|
}
|
|
99224
|
-
async function $
|
|
99610
|
+
async function $do167(client, request, options) {
|
|
99225
99611
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99226
99612
|
if (!parsed.ok) {
|
|
99227
99613
|
return [parsed, { status: "invalid" }];
|
|
@@ -99298,12 +99684,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
99298
99684
|
});
|
|
99299
99685
|
|
|
99300
99686
|
// src/mcp-server/tools/underwritingGet.ts
|
|
99301
|
-
var
|
|
99687
|
+
var args162, tool$underwritingGet;
|
|
99302
99688
|
var init_underwritingGet2 = __esm(() => {
|
|
99303
99689
|
init_underwritingGet();
|
|
99304
99690
|
init_operations();
|
|
99305
99691
|
init_tools();
|
|
99306
|
-
|
|
99692
|
+
args162 = {
|
|
99307
99693
|
request: GetUnderwritingRequest$inboundSchema
|
|
99308
99694
|
};
|
|
99309
99695
|
tool$underwritingGet = {
|
|
@@ -99314,9 +99700,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99314
99700
|
|
|
99315
99701
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99316
99702
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
99317
|
-
args:
|
|
99318
|
-
tool: async (client,
|
|
99319
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
99703
|
+
args: args162,
|
|
99704
|
+
tool: async (client, args163, ctx) => {
|
|
99705
|
+
const [result, apiCall] = await underwritingGet(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99320
99706
|
if (!result.ok) {
|
|
99321
99707
|
return {
|
|
99322
99708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99331,9 +99717,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
99331
99717
|
|
|
99332
99718
|
// src/funcs/underwritingSave.ts
|
|
99333
99719
|
function underwritingSave(client, request, options) {
|
|
99334
|
-
return new APIPromise($
|
|
99720
|
+
return new APIPromise($do168(client, request, options));
|
|
99335
99721
|
}
|
|
99336
|
-
async function $
|
|
99722
|
+
async function $do168(client, request, options) {
|
|
99337
99723
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99338
99724
|
if (!parsed.ok) {
|
|
99339
99725
|
return [parsed, { status: "invalid" }];
|
|
@@ -99428,12 +99814,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
99428
99814
|
});
|
|
99429
99815
|
|
|
99430
99816
|
// src/mcp-server/tools/underwritingSave.ts
|
|
99431
|
-
var
|
|
99817
|
+
var args163, tool$underwritingSave;
|
|
99432
99818
|
var init_underwritingSave2 = __esm(() => {
|
|
99433
99819
|
init_underwritingSave();
|
|
99434
99820
|
init_operations();
|
|
99435
99821
|
init_tools();
|
|
99436
|
-
|
|
99822
|
+
args163 = {
|
|
99437
99823
|
request: SaveUnderwritingRequest$inboundSchema
|
|
99438
99824
|
};
|
|
99439
99825
|
tool$underwritingSave = {
|
|
@@ -99444,9 +99830,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99444
99830
|
|
|
99445
99831
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99446
99832
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
99447
|
-
args:
|
|
99448
|
-
tool: async (client,
|
|
99449
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
99833
|
+
args: args163,
|
|
99834
|
+
tool: async (client, args164, ctx) => {
|
|
99835
|
+
const [result, apiCall] = await underwritingSave(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99450
99836
|
if (!result.ok) {
|
|
99451
99837
|
return {
|
|
99452
99838
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99461,9 +99847,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
99461
99847
|
|
|
99462
99848
|
// src/funcs/underwritingUpsert.ts
|
|
99463
99849
|
function underwritingUpsert(client, request, options) {
|
|
99464
|
-
return new APIPromise($
|
|
99850
|
+
return new APIPromise($do169(client, request, options));
|
|
99465
99851
|
}
|
|
99466
|
-
async function $
|
|
99852
|
+
async function $do169(client, request, options) {
|
|
99467
99853
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99468
99854
|
if (!parsed.ok) {
|
|
99469
99855
|
return [parsed, { status: "invalid" }];
|
|
@@ -99558,12 +99944,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
99558
99944
|
});
|
|
99559
99945
|
|
|
99560
99946
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
99561
|
-
var
|
|
99947
|
+
var args164, tool$underwritingUpsert;
|
|
99562
99948
|
var init_underwritingUpsert2 = __esm(() => {
|
|
99563
99949
|
init_underwritingUpsert();
|
|
99564
99950
|
init_operations();
|
|
99565
99951
|
init_tools();
|
|
99566
|
-
|
|
99952
|
+
args164 = {
|
|
99567
99953
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
99568
99954
|
};
|
|
99569
99955
|
tool$underwritingUpsert = {
|
|
@@ -99574,9 +99960,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99574
99960
|
|
|
99575
99961
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99576
99962
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
99577
|
-
args:
|
|
99578
|
-
tool: async (client,
|
|
99579
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
99963
|
+
args: args164,
|
|
99964
|
+
tool: async (client, args165, ctx) => {
|
|
99965
|
+
const [result, apiCall] = await underwritingUpsert(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99580
99966
|
if (!result.ok) {
|
|
99581
99967
|
return {
|
|
99582
99968
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99591,9 +99977,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
99591
99977
|
|
|
99592
99978
|
// src/funcs/walletsCreate.ts
|
|
99593
99979
|
function walletsCreate(client, request, options) {
|
|
99594
|
-
return new APIPromise($
|
|
99980
|
+
return new APIPromise($do170(client, request, options));
|
|
99595
99981
|
}
|
|
99596
|
-
async function $
|
|
99982
|
+
async function $do170(client, request, options) {
|
|
99597
99983
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99598
99984
|
if (!parsed.ok) {
|
|
99599
99985
|
return [parsed, { status: "invalid" }];
|
|
@@ -99686,12 +100072,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
99686
100072
|
});
|
|
99687
100073
|
|
|
99688
100074
|
// src/mcp-server/tools/walletsCreate.ts
|
|
99689
|
-
var
|
|
100075
|
+
var args165, tool$walletsCreate;
|
|
99690
100076
|
var init_walletsCreate2 = __esm(() => {
|
|
99691
100077
|
init_walletsCreate();
|
|
99692
100078
|
init_operations();
|
|
99693
100079
|
init_tools();
|
|
99694
|
-
|
|
100080
|
+
args165 = {
|
|
99695
100081
|
request: CreateWalletRequest$inboundSchema
|
|
99696
100082
|
};
|
|
99697
100083
|
tool$walletsCreate = {
|
|
@@ -99702,9 +100088,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99702
100088
|
|
|
99703
100089
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99704
100090
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
99705
|
-
args:
|
|
99706
|
-
tool: async (client,
|
|
99707
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
100091
|
+
args: args165,
|
|
100092
|
+
tool: async (client, args166, ctx) => {
|
|
100093
|
+
const [result, apiCall] = await walletsCreate(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99708
100094
|
if (!result.ok) {
|
|
99709
100095
|
return {
|
|
99710
100096
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99719,9 +100105,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
99719
100105
|
|
|
99720
100106
|
// src/funcs/walletsGet.ts
|
|
99721
100107
|
function walletsGet(client, request, options) {
|
|
99722
|
-
return new APIPromise($
|
|
100108
|
+
return new APIPromise($do171(client, request, options));
|
|
99723
100109
|
}
|
|
99724
|
-
async function $
|
|
100110
|
+
async function $do171(client, request, options) {
|
|
99725
100111
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99726
100112
|
if (!parsed.ok) {
|
|
99727
100113
|
return [parsed, { status: "invalid" }];
|
|
@@ -99802,12 +100188,12 @@ var init_walletsGet = __esm(() => {
|
|
|
99802
100188
|
});
|
|
99803
100189
|
|
|
99804
100190
|
// src/mcp-server/tools/walletsGet.ts
|
|
99805
|
-
var
|
|
100191
|
+
var args166, tool$walletsGet;
|
|
99806
100192
|
var init_walletsGet2 = __esm(() => {
|
|
99807
100193
|
init_walletsGet();
|
|
99808
100194
|
init_operations();
|
|
99809
100195
|
init_tools();
|
|
99810
|
-
|
|
100196
|
+
args166 = {
|
|
99811
100197
|
request: GetWalletRequest$inboundSchema
|
|
99812
100198
|
};
|
|
99813
100199
|
tool$walletsGet = {
|
|
@@ -99818,9 +100204,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99818
100204
|
|
|
99819
100205
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99820
100206
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
99821
|
-
args:
|
|
99822
|
-
tool: async (client,
|
|
99823
|
-
const [result, apiCall] = await walletsGet(client,
|
|
100207
|
+
args: args166,
|
|
100208
|
+
tool: async (client, args167, ctx) => {
|
|
100209
|
+
const [result, apiCall] = await walletsGet(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99824
100210
|
if (!result.ok) {
|
|
99825
100211
|
return {
|
|
99826
100212
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99835,9 +100221,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
99835
100221
|
|
|
99836
100222
|
// src/funcs/walletsList.ts
|
|
99837
100223
|
function walletsList(client, request, options) {
|
|
99838
|
-
return new APIPromise($
|
|
100224
|
+
return new APIPromise($do172(client, request, options));
|
|
99839
100225
|
}
|
|
99840
|
-
async function $
|
|
100226
|
+
async function $do172(client, request, options) {
|
|
99841
100227
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99842
100228
|
if (!parsed.ok) {
|
|
99843
100229
|
return [parsed, { status: "invalid" }];
|
|
@@ -99924,12 +100310,12 @@ var init_walletsList = __esm(() => {
|
|
|
99924
100310
|
});
|
|
99925
100311
|
|
|
99926
100312
|
// src/mcp-server/tools/walletsList.ts
|
|
99927
|
-
var
|
|
100313
|
+
var args167, tool$walletsList;
|
|
99928
100314
|
var init_walletsList2 = __esm(() => {
|
|
99929
100315
|
init_walletsList();
|
|
99930
100316
|
init_operations();
|
|
99931
100317
|
init_tools();
|
|
99932
|
-
|
|
100318
|
+
args167 = {
|
|
99933
100319
|
request: ListWalletsRequest$inboundSchema
|
|
99934
100320
|
};
|
|
99935
100321
|
tool$walletsList = {
|
|
@@ -99940,9 +100326,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99940
100326
|
|
|
99941
100327
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99942
100328
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
99943
|
-
args:
|
|
99944
|
-
tool: async (client,
|
|
99945
|
-
const [result, apiCall] = await walletsList(client,
|
|
100329
|
+
args: args167,
|
|
100330
|
+
tool: async (client, args168, ctx) => {
|
|
100331
|
+
const [result, apiCall] = await walletsList(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99946
100332
|
if (!result.ok) {
|
|
99947
100333
|
return {
|
|
99948
100334
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99957,9 +100343,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
99957
100343
|
|
|
99958
100344
|
// src/funcs/walletsUpdate.ts
|
|
99959
100345
|
function walletsUpdate(client, request, options) {
|
|
99960
|
-
return new APIPromise($
|
|
100346
|
+
return new APIPromise($do173(client, request, options));
|
|
99961
100347
|
}
|
|
99962
|
-
async function $
|
|
100348
|
+
async function $do173(client, request, options) {
|
|
99963
100349
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99964
100350
|
if (!parsed.ok) {
|
|
99965
100351
|
return [parsed, { status: "invalid" }];
|
|
@@ -100056,12 +100442,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
100056
100442
|
});
|
|
100057
100443
|
|
|
100058
100444
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
100059
|
-
var
|
|
100445
|
+
var args168, tool$walletsUpdate;
|
|
100060
100446
|
var init_walletsUpdate2 = __esm(() => {
|
|
100061
100447
|
init_walletsUpdate();
|
|
100062
100448
|
init_operations();
|
|
100063
100449
|
init_tools();
|
|
100064
|
-
|
|
100450
|
+
args168 = {
|
|
100065
100451
|
request: UpdateWalletRequest$inboundSchema
|
|
100066
100452
|
};
|
|
100067
100453
|
tool$walletsUpdate = {
|
|
@@ -100072,9 +100458,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
100072
100458
|
|
|
100073
100459
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100074
100460
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
100075
|
-
args:
|
|
100076
|
-
tool: async (client,
|
|
100077
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
100461
|
+
args: args168,
|
|
100462
|
+
tool: async (client, args169, ctx) => {
|
|
100463
|
+
const [result, apiCall] = await walletsUpdate(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100078
100464
|
if (!result.ok) {
|
|
100079
100465
|
return {
|
|
100080
100466
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100089,9 +100475,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100089
100475
|
|
|
100090
100476
|
// src/funcs/walletTransactionsGet.ts
|
|
100091
100477
|
function walletTransactionsGet(client, request, options) {
|
|
100092
|
-
return new APIPromise($
|
|
100478
|
+
return new APIPromise($do174(client, request, options));
|
|
100093
100479
|
}
|
|
100094
|
-
async function $
|
|
100480
|
+
async function $do174(client, request, options) {
|
|
100095
100481
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100096
100482
|
if (!parsed.ok) {
|
|
100097
100483
|
return [parsed, { status: "invalid" }];
|
|
@@ -100176,12 +100562,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
100176
100562
|
});
|
|
100177
100563
|
|
|
100178
100564
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
100179
|
-
var
|
|
100565
|
+
var args169, tool$walletTransactionsGet;
|
|
100180
100566
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
100181
100567
|
init_walletTransactionsGet();
|
|
100182
100568
|
init_operations();
|
|
100183
100569
|
init_tools();
|
|
100184
|
-
|
|
100570
|
+
args169 = {
|
|
100185
100571
|
request: GetWalletTransactionRequest$inboundSchema
|
|
100186
100572
|
};
|
|
100187
100573
|
tool$walletTransactionsGet = {
|
|
@@ -100192,9 +100578,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
100192
100578
|
|
|
100193
100579
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100194
100580
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100195
|
-
args:
|
|
100196
|
-
tool: async (client,
|
|
100197
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
100581
|
+
args: args169,
|
|
100582
|
+
tool: async (client, args170, ctx) => {
|
|
100583
|
+
const [result, apiCall] = await walletTransactionsGet(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100198
100584
|
if (!result.ok) {
|
|
100199
100585
|
return {
|
|
100200
100586
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100209,9 +100595,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100209
100595
|
|
|
100210
100596
|
// src/funcs/walletTransactionsList.ts
|
|
100211
100597
|
function walletTransactionsList(client, request, options) {
|
|
100212
|
-
return new APIPromise($
|
|
100598
|
+
return new APIPromise($do175(client, request, options));
|
|
100213
100599
|
}
|
|
100214
|
-
async function $
|
|
100600
|
+
async function $do175(client, request, options) {
|
|
100215
100601
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100216
100602
|
if (!parsed.ok) {
|
|
100217
100603
|
return [parsed, { status: "invalid" }];
|
|
@@ -100310,12 +100696,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
100310
100696
|
});
|
|
100311
100697
|
|
|
100312
100698
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
100313
|
-
var
|
|
100699
|
+
var args170, tool$walletTransactionsList;
|
|
100314
100700
|
var init_walletTransactionsList2 = __esm(() => {
|
|
100315
100701
|
init_walletTransactionsList();
|
|
100316
100702
|
init_operations();
|
|
100317
100703
|
init_tools();
|
|
100318
|
-
|
|
100704
|
+
args170 = {
|
|
100319
100705
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
100320
100706
|
};
|
|
100321
100707
|
tool$walletTransactionsList = {
|
|
@@ -100326,9 +100712,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
100326
100712
|
|
|
100327
100713
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100328
100714
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100329
|
-
args:
|
|
100330
|
-
tool: async (client,
|
|
100331
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
100715
|
+
args: args170,
|
|
100716
|
+
tool: async (client, args171, ctx) => {
|
|
100717
|
+
const [result, apiCall] = await walletTransactionsList(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100332
100718
|
if (!result.ok) {
|
|
100333
100719
|
return {
|
|
100334
100720
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100343,9 +100729,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100343
100729
|
|
|
100344
100730
|
// src/funcs/webhooksCreate.ts
|
|
100345
100731
|
function webhooksCreate(client, request, options) {
|
|
100346
|
-
return new APIPromise($
|
|
100732
|
+
return new APIPromise($do176(client, request, options));
|
|
100347
100733
|
}
|
|
100348
|
-
async function $
|
|
100734
|
+
async function $do176(client, request, options) {
|
|
100349
100735
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
100350
100736
|
if (!parsed.ok) {
|
|
100351
100737
|
return [parsed, { status: "invalid" }];
|
|
@@ -100433,20 +100819,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
100433
100819
|
});
|
|
100434
100820
|
|
|
100435
100821
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
100436
|
-
var
|
|
100822
|
+
var args171, tool$webhooksCreate;
|
|
100437
100823
|
var init_webhooksCreate2 = __esm(() => {
|
|
100438
100824
|
init_webhooksCreate();
|
|
100439
100825
|
init_components();
|
|
100440
100826
|
init_tools();
|
|
100441
|
-
|
|
100827
|
+
args171 = {
|
|
100442
100828
|
request: CreateWebhook$inboundSchema
|
|
100443
100829
|
};
|
|
100444
100830
|
tool$webhooksCreate = {
|
|
100445
100831
|
name: "webhooks-create",
|
|
100446
100832
|
description: `Create a new webhook for the account.`,
|
|
100447
|
-
args:
|
|
100448
|
-
tool: async (client,
|
|
100449
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
100833
|
+
args: args171,
|
|
100834
|
+
tool: async (client, args172, ctx) => {
|
|
100835
|
+
const [result, apiCall] = await webhooksCreate(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100450
100836
|
if (!result.ok) {
|
|
100451
100837
|
return {
|
|
100452
100838
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100461,9 +100847,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
100461
100847
|
|
|
100462
100848
|
// src/funcs/webhooksDisable.ts
|
|
100463
100849
|
function webhooksDisable(client, request, options) {
|
|
100464
|
-
return new APIPromise($
|
|
100850
|
+
return new APIPromise($do177(client, request, options));
|
|
100465
100851
|
}
|
|
100466
|
-
async function $
|
|
100852
|
+
async function $do177(client, request, options) {
|
|
100467
100853
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100468
100854
|
if (!parsed.ok) {
|
|
100469
100855
|
return [parsed, { status: "invalid" }];
|
|
@@ -100551,20 +100937,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
100551
100937
|
});
|
|
100552
100938
|
|
|
100553
100939
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
100554
|
-
var
|
|
100940
|
+
var args172, tool$webhooksDisable;
|
|
100555
100941
|
var init_webhooksDisable2 = __esm(() => {
|
|
100556
100942
|
init_webhooksDisable();
|
|
100557
100943
|
init_operations();
|
|
100558
100944
|
init_tools();
|
|
100559
|
-
|
|
100945
|
+
args172 = {
|
|
100560
100946
|
request: DisableWebhookRequest$inboundSchema
|
|
100561
100947
|
};
|
|
100562
100948
|
tool$webhooksDisable = {
|
|
100563
100949
|
name: "webhooks-disable",
|
|
100564
100950
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
100565
|
-
args:
|
|
100566
|
-
tool: async (client,
|
|
100567
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
100951
|
+
args: args172,
|
|
100952
|
+
tool: async (client, args173, ctx) => {
|
|
100953
|
+
const [result, apiCall] = await webhooksDisable(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100568
100954
|
if (!result.ok) {
|
|
100569
100955
|
return {
|
|
100570
100956
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100578,9 +100964,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
100578
100964
|
|
|
100579
100965
|
// src/funcs/webhooksGet.ts
|
|
100580
100966
|
function webhooksGet(client, request, options) {
|
|
100581
|
-
return new APIPromise($
|
|
100967
|
+
return new APIPromise($do178(client, request, options));
|
|
100582
100968
|
}
|
|
100583
|
-
async function $
|
|
100969
|
+
async function $do178(client, request, options) {
|
|
100584
100970
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100585
100971
|
if (!parsed.ok) {
|
|
100586
100972
|
return [parsed, { status: "invalid" }];
|
|
@@ -100657,20 +101043,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
100657
101043
|
});
|
|
100658
101044
|
|
|
100659
101045
|
// src/mcp-server/tools/webhooksGet.ts
|
|
100660
|
-
var
|
|
101046
|
+
var args173, tool$webhooksGet;
|
|
100661
101047
|
var init_webhooksGet2 = __esm(() => {
|
|
100662
101048
|
init_webhooksGet();
|
|
100663
101049
|
init_operations();
|
|
100664
101050
|
init_tools();
|
|
100665
|
-
|
|
101051
|
+
args173 = {
|
|
100666
101052
|
request: GetWebhookRequest$inboundSchema
|
|
100667
101053
|
};
|
|
100668
101054
|
tool$webhooksGet = {
|
|
100669
101055
|
name: "webhooks-get",
|
|
100670
101056
|
description: `Get details of a specific webhook.`,
|
|
100671
|
-
args:
|
|
100672
|
-
tool: async (client,
|
|
100673
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
101057
|
+
args: args173,
|
|
101058
|
+
tool: async (client, args174, ctx) => {
|
|
101059
|
+
const [result, apiCall] = await webhooksGet(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100674
101060
|
if (!result.ok) {
|
|
100675
101061
|
return {
|
|
100676
101062
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100685,9 +101071,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
100685
101071
|
|
|
100686
101072
|
// src/funcs/webhooksGetSecret.ts
|
|
100687
101073
|
function webhooksGetSecret(client, request, options) {
|
|
100688
|
-
return new APIPromise($
|
|
101074
|
+
return new APIPromise($do179(client, request, options));
|
|
100689
101075
|
}
|
|
100690
|
-
async function $
|
|
101076
|
+
async function $do179(client, request, options) {
|
|
100691
101077
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100692
101078
|
if (!parsed.ok) {
|
|
100693
101079
|
return [parsed, { status: "invalid" }];
|
|
@@ -100764,20 +101150,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
100764
101150
|
});
|
|
100765
101151
|
|
|
100766
101152
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
100767
|
-
var
|
|
101153
|
+
var args174, tool$webhooksGetSecret;
|
|
100768
101154
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
100769
101155
|
init_webhooksGetSecret();
|
|
100770
101156
|
init_operations();
|
|
100771
101157
|
init_tools();
|
|
100772
|
-
|
|
101158
|
+
args174 = {
|
|
100773
101159
|
request: GetWebhookSecretRequest$inboundSchema
|
|
100774
101160
|
};
|
|
100775
101161
|
tool$webhooksGetSecret = {
|
|
100776
101162
|
name: "webhooks-get-secret",
|
|
100777
101163
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
100778
|
-
args:
|
|
100779
|
-
tool: async (client,
|
|
100780
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
101164
|
+
args: args174,
|
|
101165
|
+
tool: async (client, args175, ctx) => {
|
|
101166
|
+
const [result, apiCall] = await webhooksGetSecret(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100781
101167
|
if (!result.ok) {
|
|
100782
101168
|
return {
|
|
100783
101169
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100792,9 +101178,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
100792
101178
|
|
|
100793
101179
|
// src/funcs/webhooksList.ts
|
|
100794
101180
|
function webhooksList(client, options) {
|
|
100795
|
-
return new APIPromise($
|
|
101181
|
+
return new APIPromise($do180(client, options));
|
|
100796
101182
|
}
|
|
100797
|
-
async function $
|
|
101183
|
+
async function $do180(client, options) {
|
|
100798
101184
|
const path = pathToFunc("/webhooks")();
|
|
100799
101185
|
const headers = new Headers(compactMap({
|
|
100800
101186
|
Accept: "application/json"
|
|
@@ -100879,9 +101265,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
100879
101265
|
|
|
100880
101266
|
// src/funcs/webhooksListEventTypes.ts
|
|
100881
101267
|
function webhooksListEventTypes(client, options) {
|
|
100882
|
-
return new APIPromise($
|
|
101268
|
+
return new APIPromise($do181(client, options));
|
|
100883
101269
|
}
|
|
100884
|
-
async function $
|
|
101270
|
+
async function $do181(client, options) {
|
|
100885
101271
|
const path = pathToFunc("/event-types")();
|
|
100886
101272
|
const headers = new Headers(compactMap({
|
|
100887
101273
|
Accept: "application/json"
|
|
@@ -100966,9 +101352,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
100966
101352
|
|
|
100967
101353
|
// src/funcs/webhooksPing.ts
|
|
100968
101354
|
function webhooksPing(client, request, options) {
|
|
100969
|
-
return new APIPromise($
|
|
101355
|
+
return new APIPromise($do182(client, request, options));
|
|
100970
101356
|
}
|
|
100971
|
-
async function $
|
|
101357
|
+
async function $do182(client, request, options) {
|
|
100972
101358
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100973
101359
|
if (!parsed.ok) {
|
|
100974
101360
|
return [parsed, { status: "invalid" }];
|
|
@@ -101045,20 +101431,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
101045
101431
|
});
|
|
101046
101432
|
|
|
101047
101433
|
// src/mcp-server/tools/webhooksPing.ts
|
|
101048
|
-
var
|
|
101434
|
+
var args175, tool$webhooksPing;
|
|
101049
101435
|
var init_webhooksPing2 = __esm(() => {
|
|
101050
101436
|
init_webhooksPing();
|
|
101051
101437
|
init_operations();
|
|
101052
101438
|
init_tools();
|
|
101053
|
-
|
|
101439
|
+
args175 = {
|
|
101054
101440
|
request: PingWebhookRequest$inboundSchema
|
|
101055
101441
|
};
|
|
101056
101442
|
tool$webhooksPing = {
|
|
101057
101443
|
name: "webhooks-ping",
|
|
101058
101444
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
101059
|
-
args:
|
|
101060
|
-
tool: async (client,
|
|
101061
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
101445
|
+
args: args175,
|
|
101446
|
+
tool: async (client, args176, ctx) => {
|
|
101447
|
+
const [result, apiCall] = await webhooksPing(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101062
101448
|
if (!result.ok) {
|
|
101063
101449
|
return {
|
|
101064
101450
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101073,9 +101459,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
101073
101459
|
|
|
101074
101460
|
// src/funcs/webhooksUpdate.ts
|
|
101075
101461
|
function webhooksUpdate(client, request, options) {
|
|
101076
|
-
return new APIPromise($
|
|
101462
|
+
return new APIPromise($do183(client, request, options));
|
|
101077
101463
|
}
|
|
101078
|
-
async function $
|
|
101464
|
+
async function $do183(client, request, options) {
|
|
101079
101465
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101080
101466
|
if (!parsed.ok) {
|
|
101081
101467
|
return [parsed, { status: "invalid" }];
|
|
@@ -101168,20 +101554,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
101168
101554
|
});
|
|
101169
101555
|
|
|
101170
101556
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
101171
|
-
var
|
|
101557
|
+
var args176, tool$webhooksUpdate;
|
|
101172
101558
|
var init_webhooksUpdate2 = __esm(() => {
|
|
101173
101559
|
init_webhooksUpdate();
|
|
101174
101560
|
init_operations();
|
|
101175
101561
|
init_tools();
|
|
101176
|
-
|
|
101562
|
+
args176 = {
|
|
101177
101563
|
request: UpdateWebhookRequest$inboundSchema
|
|
101178
101564
|
};
|
|
101179
101565
|
tool$webhooksUpdate = {
|
|
101180
101566
|
name: "webhooks-update",
|
|
101181
101567
|
description: `Update an existing webhook.`,
|
|
101182
|
-
args:
|
|
101183
|
-
tool: async (client,
|
|
101184
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
101568
|
+
args: args176,
|
|
101569
|
+
tool: async (client, args177, ctx) => {
|
|
101570
|
+
const [result, apiCall] = await webhooksUpdate(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101185
101571
|
if (!result.ok) {
|
|
101186
101572
|
return {
|
|
101187
101573
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101198,7 +101584,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
101198
101584
|
function createMCPServer(deps) {
|
|
101199
101585
|
const server = new McpServer({
|
|
101200
101586
|
name: "Moov",
|
|
101201
|
-
version: "26.4.0-dev.
|
|
101587
|
+
version: "26.4.0-dev.17"
|
|
101202
101588
|
});
|
|
101203
101589
|
const client = new MoovCore({
|
|
101204
101590
|
security: deps.security,
|
|
@@ -101337,6 +101723,7 @@ function createMCPServer(deps) {
|
|
|
101337
101723
|
tool(tool$transfersGenerateOptions);
|
|
101338
101724
|
tool(tool$transfersCreate);
|
|
101339
101725
|
tool(tool$transfersList);
|
|
101726
|
+
tool(tool$transfersBatchGetTransfers);
|
|
101340
101727
|
tool(tool$transfersGet);
|
|
101341
101728
|
tool(tool$transfersUpdate);
|
|
101342
101729
|
tool(tool$transfersCreateCancellation);
|
|
@@ -101555,6 +101942,7 @@ var init_server2 = __esm(() => {
|
|
|
101555
101942
|
init_terminalApplicationsDelete2();
|
|
101556
101943
|
init_terminalApplicationsGet2();
|
|
101557
101944
|
init_terminalApplicationsList2();
|
|
101945
|
+
init_transfersBatchGetTransfers2();
|
|
101558
101946
|
init_transfersCreate2();
|
|
101559
101947
|
init_transfersCreateCancellation2();
|
|
101560
101948
|
init_transfersCreateReversal2();
|
|
@@ -102775,7 +103163,7 @@ var routes = rn({
|
|
|
102775
103163
|
var app = Ve(routes, {
|
|
102776
103164
|
name: "mcp",
|
|
102777
103165
|
versionInfo: {
|
|
102778
|
-
currentVersion: "26.4.0-dev.
|
|
103166
|
+
currentVersion: "26.4.0-dev.17"
|
|
102779
103167
|
}
|
|
102780
103168
|
});
|
|
102781
103169
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -102783,5 +103171,5 @@ export {
|
|
|
102783
103171
|
app
|
|
102784
103172
|
};
|
|
102785
103173
|
|
|
102786
|
-
//# debugId=
|
|
103174
|
+
//# debugId=E1C22779F58B8B4464756E2164756E21
|
|
102787
103175
|
//# sourceMappingURL=mcp-server.js.map
|