@moovio/sdk 24.2.0 → 24.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +69 -53
- package/bin/mcp-server.js +534 -222
- package/bin/mcp-server.js.map +29 -21
- package/funcs/cardIssuingUpdate.d.ts +1 -1
- package/funcs/cardIssuingUpdate.d.ts.map +1 -1
- package/funcs/cardIssuingUpdate.js +2 -1
- package/funcs/cardIssuingUpdate.js.map +1 -1
- package/funcs/disputesUploadEvidenceFile.js +4 -1
- package/funcs/disputesUploadEvidenceFile.js.map +1 -1
- package/funcs/filesUpload.js +4 -1
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/imagesUpdate.d.ts.map +1 -1
- package/funcs/imagesUpdate.js +4 -1
- package/funcs/imagesUpdate.js.map +1 -1
- package/funcs/imagesUpload.d.ts.map +1 -1
- package/funcs/imagesUpload.js +4 -1
- package/funcs/imagesUpload.js.map +1 -1
- package/funcs/transfersBatchGetTransfers.d.ts +21 -0
- package/funcs/transfersBatchGetTransfers.d.ts.map +1 -0
- package/funcs/transfersBatchGetTransfers.js +131 -0
- package/funcs/transfersBatchGetTransfers.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +27 -5
- package/lib/encodings.js.map +1 -1
- package/lib/security.d.ts +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +18 -7
- package/lib/security.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/applePayLinkToken.js +3 -3
- package/mcp-server/tools/cardIssuingUpdate.d.ts.map +1 -1
- package/mcp-server/tools/cardIssuingUpdate.js +2 -1
- package/mcp-server/tools/cardIssuingUpdate.js.map +1 -1
- package/mcp-server/tools/transfersBatchGetTransfers.d.ts +8 -0
- package/mcp-server/tools/transfersBatchGetTransfers.d.ts.map +1 -0
- package/mcp-server/tools/transfersBatchGetTransfers.js +69 -0
- package/mcp-server/tools/transfersBatchGetTransfers.js.map +1 -0
- package/models/components/batchgettransfersrequest.d.ts +20 -0
- package/models/components/batchgettransfersrequest.d.ts.map +1 -0
- package/models/components/batchgettransfersrequest.js +58 -0
- package/models/components/batchgettransfersrequest.js.map +1 -0
- package/models/components/index.d.ts +5 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +5 -0
- package/models/components/index.js.map +1 -1
- package/models/components/instantbankfailurecode.d.ts +27 -0
- package/models/components/instantbankfailurecode.d.ts.map +1 -0
- package/models/components/instantbankfailurecode.js +61 -0
- package/models/components/instantbankfailurecode.js.map +1 -0
- package/models/components/instantbanknetwork.d.ts +18 -0
- package/models/components/instantbanknetwork.d.ts.map +1 -0
- package/models/components/instantbanknetwork.js +52 -0
- package/models/components/instantbanknetwork.js.map +1 -0
- package/models/components/instantbanktransactiondetails.d.ts +51 -0
- package/models/components/instantbanktransactiondetails.d.ts.map +1 -0
- package/models/components/instantbanktransactiondetails.js +80 -0
- package/models/components/instantbanktransactiondetails.js.map +1 -0
- package/models/components/instantbanktransactionstatus.d.ts +20 -0
- package/models/components/instantbanktransactionstatus.d.ts.map +1 -0
- package/models/components/instantbanktransactionstatus.js +54 -0
- package/models/components/instantbanktransactionstatus.js.map +1 -0
- package/models/components/transferdestination.d.ts +6 -0
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +3 -0
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/webhookbillingstatementcreated.d.ts +2 -0
- package/models/components/webhookbillingstatementcreated.d.ts.map +1 -1
- package/models/components/webhookbillingstatementcreated.js +2 -0
- package/models/components/webhookbillingstatementcreated.js.map +1 -1
- package/models/components/webhookdata.d.ts +2 -2
- package/models/components/webhookdata.d.ts.map +1 -1
- package/models/components/webhookdata.js +2 -2
- package/models/components/webhookdata.js.map +1 -1
- package/models/operations/batchgettransfers.d.ts +43 -0
- package/models/operations/batchgettransfers.d.ts.map +1 -0
- package/models/operations/batchgettransfers.js +98 -0
- package/models/operations/batchgettransfers.js.map +1 -0
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/updateissuedcard.d.ts +2 -0
- package/models/operations/updateissuedcard.d.ts.map +1 -1
- package/models/operations/updateissuedcard.js +4 -0
- package/models/operations/updateissuedcard.js.map +1 -1
- package/package.json +1 -1
- package/sdk/cardissuing.d.ts +1 -1
- package/sdk/cardissuing.d.ts.map +1 -1
- package/sdk/transfers.d.ts +11 -0
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +14 -0
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/cardIssuingUpdate.ts +5 -4
- package/src/funcs/disputesUploadEvidenceFile.ts +5 -2
- package/src/funcs/filesUpload.ts +5 -2
- package/src/funcs/imagesUpdate.ts +10 -2
- package/src/funcs/imagesUpload.ts +10 -2
- package/src/funcs/transfersBatchGetTransfers.ts +180 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +32 -4
- package/src/lib/security.ts +14 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/applePayLinkToken.ts +3 -3
- package/src/mcp-server/tools/cardIssuingUpdate.ts +3 -1
- package/src/mcp-server/tools/transfersBatchGetTransfers.ts +43 -0
- package/src/models/components/batchgettransfersrequest.ts +54 -0
- package/src/models/components/index.ts +5 -0
- package/src/models/components/instantbankfailurecode.ts +36 -0
- package/src/models/components/instantbanknetwork.ts +27 -0
- package/src/models/components/instantbanktransactiondetails.ts +120 -0
- package/src/models/components/instantbanktransactionstatus.ts +31 -0
- package/src/models/components/transferdestination.ts +13 -0
- package/src/models/components/webhookbillingstatementcreated.ts +4 -0
- package/src/models/components/webhookdata.ts +6 -6
- package/src/models/operations/batchgettransfers.ts +122 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/updateissuedcard.ts +6 -0
- package/src/sdk/cardissuing.ts +1 -1
- package/src/sdk/transfers.ts +22 -0
package/bin/mcp-server.js
CHANGED
|
@@ -52879,9 +52879,9 @@ var init_config = __esm(() => {
|
|
|
52879
52879
|
SDK_METADATA = {
|
|
52880
52880
|
language: "typescript",
|
|
52881
52881
|
openapiDocVersion: "v2024.01.00",
|
|
52882
|
-
sdkVersion: "24.2.
|
|
52883
|
-
genVersion: "2.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 24.2.
|
|
52882
|
+
sdkVersion: "24.2.1",
|
|
52883
|
+
genVersion: "2.879.13",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 24.2.1 2.879.13 v2024.01.00 @moovio/sdk"
|
|
52885
52885
|
};
|
|
52886
52886
|
});
|
|
52887
52887
|
|
|
@@ -53226,17 +53226,38 @@ function queryEncoder(f) {
|
|
|
53226
53226
|
};
|
|
53227
53227
|
return bulkEncode;
|
|
53228
53228
|
}
|
|
53229
|
+
function isBlobLike(val) {
|
|
53230
|
+
if (val instanceof Blob) {
|
|
53231
|
+
return true;
|
|
53232
|
+
}
|
|
53233
|
+
if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
|
|
53234
|
+
return false;
|
|
53235
|
+
}
|
|
53236
|
+
const tag = val[Symbol.toStringTag];
|
|
53237
|
+
if (tag !== "Blob" && tag !== "File") {
|
|
53238
|
+
return false;
|
|
53239
|
+
}
|
|
53240
|
+
return "stream" in val && typeof val.stream === "function";
|
|
53241
|
+
}
|
|
53229
53242
|
function appendForm(fd, key, value, fileName) {
|
|
53230
53243
|
if (value == null) {
|
|
53231
53244
|
return;
|
|
53232
|
-
} else if (value
|
|
53233
|
-
|
|
53234
|
-
|
|
53235
|
-
|
|
53245
|
+
} else if (isBlobLike(value)) {
|
|
53246
|
+
if (fileName) {
|
|
53247
|
+
fd.append(key, value, fileName);
|
|
53248
|
+
} else {
|
|
53249
|
+
fd.append(key, value);
|
|
53250
|
+
}
|
|
53236
53251
|
} else {
|
|
53237
53252
|
fd.append(key, String(value));
|
|
53238
53253
|
}
|
|
53239
53254
|
}
|
|
53255
|
+
async function normalizeBlob(value) {
|
|
53256
|
+
if (value instanceof Blob) {
|
|
53257
|
+
return value;
|
|
53258
|
+
}
|
|
53259
|
+
return new Blob([await value.arrayBuffer()], { type: value.type });
|
|
53260
|
+
}
|
|
53240
53261
|
var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encodeSimple = (key, value, options) => {
|
|
53241
53262
|
let out = "";
|
|
53242
53263
|
const pairs = options?.explode ? explode(key, value) : [[key, value]];
|
|
@@ -54440,13 +54461,24 @@ function applyBearer(state, spec) {
|
|
|
54440
54461
|
state.headers[spec.fieldName] = value;
|
|
54441
54462
|
}
|
|
54442
54463
|
}
|
|
54443
|
-
function resolveGlobalSecurity(security) {
|
|
54444
|
-
|
|
54445
|
-
|
|
54446
|
-
|
|
54447
|
-
|
|
54448
|
-
|
|
54449
|
-
|
|
54464
|
+
function resolveGlobalSecurity(security, allowedFields) {
|
|
54465
|
+
let inputs = [
|
|
54466
|
+
[
|
|
54467
|
+
{
|
|
54468
|
+
type: "http:basic",
|
|
54469
|
+
value: { username: security?.username, password: security?.password }
|
|
54470
|
+
}
|
|
54471
|
+
]
|
|
54472
|
+
];
|
|
54473
|
+
if (allowedFields) {
|
|
54474
|
+
inputs = allowedFields.map((i) => {
|
|
54475
|
+
if (i < 0 || i >= inputs.length) {
|
|
54476
|
+
throw new RangeError(`invalid allowedFields index ${i}`);
|
|
54477
|
+
}
|
|
54478
|
+
return inputs[i];
|
|
54479
|
+
});
|
|
54480
|
+
}
|
|
54481
|
+
return resolveSecurity(...inputs);
|
|
54450
54482
|
}
|
|
54451
54483
|
async function extractSecurity(sec) {
|
|
54452
54484
|
if (sec == null) {
|
|
@@ -56637,6 +56669,18 @@ var init_bankaccountwaitfor = __esm(() => {
|
|
|
56637
56669
|
BankAccountWaitFor$outboundSchema = BankAccountWaitFor$inboundSchema;
|
|
56638
56670
|
});
|
|
56639
56671
|
|
|
56672
|
+
// src/models/components/batchgettransfersrequest.ts
|
|
56673
|
+
var BatchGetTransfersRequest$inboundSchema, BatchGetTransfersRequest$outboundSchema;
|
|
56674
|
+
var init_batchgettransfersrequest = __esm(() => {
|
|
56675
|
+
init_esm();
|
|
56676
|
+
BatchGetTransfersRequest$inboundSchema = objectType({
|
|
56677
|
+
transferIDs: arrayType(stringType())
|
|
56678
|
+
});
|
|
56679
|
+
BatchGetTransfersRequest$outboundSchema = objectType({
|
|
56680
|
+
transferIDs: arrayType(stringType())
|
|
56681
|
+
});
|
|
56682
|
+
});
|
|
56683
|
+
|
|
56640
56684
|
// src/models/components/feecategory.ts
|
|
56641
56685
|
var FeeCategory, FeeCategory$inboundSchema, FeeCategory$outboundSchema;
|
|
56642
56686
|
var init_feecategory = __esm(() => {
|
|
@@ -60685,6 +60729,84 @@ var init_moovfeedetails = __esm(() => {
|
|
|
60685
60729
|
});
|
|
60686
60730
|
});
|
|
60687
60731
|
|
|
60732
|
+
// src/models/components/instantbankfailurecode.ts
|
|
60733
|
+
var InstantBankFailureCode, InstantBankFailureCode$inboundSchema, InstantBankFailureCode$outboundSchema;
|
|
60734
|
+
var init_instantbankfailurecode = __esm(() => {
|
|
60735
|
+
init_esm();
|
|
60736
|
+
InstantBankFailureCode = {
|
|
60737
|
+
ProcessingError: "processing-error",
|
|
60738
|
+
InvalidAccount: "invalid-account",
|
|
60739
|
+
AccountClosed: "account-closed",
|
|
60740
|
+
AccountBlocked: "account-blocked",
|
|
60741
|
+
InvalidField: "invalid-field",
|
|
60742
|
+
TransactionNotSupported: "transaction-not-supported",
|
|
60743
|
+
LimitExceeded: "limit-exceeded",
|
|
60744
|
+
InvalidAmount: "invalid-amount",
|
|
60745
|
+
CustomerDeceased: "customer-deceased",
|
|
60746
|
+
ParticipantNotAvailable: "participant-not-available",
|
|
60747
|
+
Other: "other"
|
|
60748
|
+
};
|
|
60749
|
+
InstantBankFailureCode$inboundSchema = nativeEnumType(InstantBankFailureCode);
|
|
60750
|
+
InstantBankFailureCode$outboundSchema = InstantBankFailureCode$inboundSchema;
|
|
60751
|
+
});
|
|
60752
|
+
|
|
60753
|
+
// src/models/components/instantbanknetwork.ts
|
|
60754
|
+
var InstantBankNetwork, InstantBankNetwork$inboundSchema, InstantBankNetwork$outboundSchema;
|
|
60755
|
+
var init_instantbanknetwork = __esm(() => {
|
|
60756
|
+
init_esm();
|
|
60757
|
+
InstantBankNetwork = {
|
|
60758
|
+
Fednow: "fednow",
|
|
60759
|
+
Rtp: "rtp"
|
|
60760
|
+
};
|
|
60761
|
+
InstantBankNetwork$inboundSchema = nativeEnumType(InstantBankNetwork);
|
|
60762
|
+
InstantBankNetwork$outboundSchema = InstantBankNetwork$inboundSchema;
|
|
60763
|
+
});
|
|
60764
|
+
|
|
60765
|
+
// src/models/components/instantbanktransactionstatus.ts
|
|
60766
|
+
var InstantBankTransactionStatus, InstantBankTransactionStatus$inboundSchema, InstantBankTransactionStatus$outboundSchema;
|
|
60767
|
+
var init_instantbanktransactionstatus = __esm(() => {
|
|
60768
|
+
init_esm();
|
|
60769
|
+
InstantBankTransactionStatus = {
|
|
60770
|
+
Initiated: "initiated",
|
|
60771
|
+
Completed: "completed",
|
|
60772
|
+
Failed: "failed",
|
|
60773
|
+
AcceptedWithoutPosting: "accepted-without-posting"
|
|
60774
|
+
};
|
|
60775
|
+
InstantBankTransactionStatus$inboundSchema = nativeEnumType(InstantBankTransactionStatus);
|
|
60776
|
+
InstantBankTransactionStatus$outboundSchema = InstantBankTransactionStatus$inboundSchema;
|
|
60777
|
+
});
|
|
60778
|
+
|
|
60779
|
+
// src/models/components/instantbanktransactiondetails.ts
|
|
60780
|
+
var InstantBankTransactionDetails$inboundSchema, InstantBankTransactionDetails$outboundSchema;
|
|
60781
|
+
var init_instantbanktransactiondetails = __esm(() => {
|
|
60782
|
+
init_esm();
|
|
60783
|
+
init_instantbankfailurecode();
|
|
60784
|
+
init_instantbanknetwork();
|
|
60785
|
+
init_instantbanktransactionstatus();
|
|
60786
|
+
InstantBankTransactionDetails$inboundSchema = objectType({
|
|
60787
|
+
network: InstantBankNetwork$inboundSchema,
|
|
60788
|
+
status: InstantBankTransactionStatus$inboundSchema,
|
|
60789
|
+
networkResponseCode: stringType().optional(),
|
|
60790
|
+
failureCode: InstantBankFailureCode$inboundSchema.optional(),
|
|
60791
|
+
endToEndID: stringType().optional(),
|
|
60792
|
+
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60793
|
+
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60794
|
+
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60795
|
+
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
60796
|
+
});
|
|
60797
|
+
InstantBankTransactionDetails$outboundSchema = objectType({
|
|
60798
|
+
network: InstantBankNetwork$outboundSchema,
|
|
60799
|
+
status: InstantBankTransactionStatus$outboundSchema,
|
|
60800
|
+
networkResponseCode: stringType().optional(),
|
|
60801
|
+
failureCode: InstantBankFailureCode$outboundSchema.optional(),
|
|
60802
|
+
endToEndID: stringType().optional(),
|
|
60803
|
+
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60804
|
+
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60805
|
+
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60806
|
+
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
60807
|
+
});
|
|
60808
|
+
});
|
|
60809
|
+
|
|
60688
60810
|
// src/models/components/rtpfailurecode.ts
|
|
60689
60811
|
var RTPFailureCode, RTPFailureCode$inboundSchema, RTPFailureCode$outboundSchema;
|
|
60690
60812
|
var init_rtpfailurecode = __esm(() => {
|
|
@@ -60791,6 +60913,7 @@ var init_transferdestination = __esm(() => {
|
|
|
60791
60913
|
init_achtransactiondetails();
|
|
60792
60914
|
init_applepayresponse();
|
|
60793
60915
|
init_cardtransactiondetails();
|
|
60916
|
+
init_instantbanktransactiondetails();
|
|
60794
60917
|
init_rtpfailurecode();
|
|
60795
60918
|
init_rtptransactionstatus();
|
|
60796
60919
|
init_transferaccount();
|
|
@@ -60826,7 +60949,8 @@ var init_transferdestination = __esm(() => {
|
|
|
60826
60949
|
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
60827
60950
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
60828
60951
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
60829
|
-
rtpDetails: lazyType(() => RtpDetails$inboundSchema).optional()
|
|
60952
|
+
rtpDetails: lazyType(() => RtpDetails$inboundSchema).optional(),
|
|
60953
|
+
instantBankDetails: InstantBankTransactionDetails$inboundSchema.optional()
|
|
60830
60954
|
});
|
|
60831
60955
|
TransferDestination$outboundSchema = objectType({
|
|
60832
60956
|
paymentMethodID: stringType(),
|
|
@@ -60838,7 +60962,8 @@ var init_transferdestination = __esm(() => {
|
|
|
60838
60962
|
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
60839
60963
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
60840
60964
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
60841
|
-
rtpDetails: lazyType(() => RtpDetails$outboundSchema).optional()
|
|
60965
|
+
rtpDetails: lazyType(() => RtpDetails$outboundSchema).optional(),
|
|
60966
|
+
instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional()
|
|
60842
60967
|
});
|
|
60843
60968
|
});
|
|
60844
60969
|
|
|
@@ -61066,7 +61191,7 @@ var init_createdtransfer = __esm(() => {
|
|
|
61066
61191
|
});
|
|
61067
61192
|
|
|
61068
61193
|
// src/types/blobs.ts
|
|
61069
|
-
function
|
|
61194
|
+
function isBlobLike2(val) {
|
|
61070
61195
|
if (val instanceof Blob) {
|
|
61071
61196
|
return true;
|
|
61072
61197
|
}
|
|
@@ -61085,7 +61210,7 @@ function isBlobLike(val) {
|
|
|
61085
61210
|
var blobLikeSchema;
|
|
61086
61211
|
var init_blobs = __esm(() => {
|
|
61087
61212
|
init_esm();
|
|
61088
|
-
blobLikeSchema = custom(
|
|
61213
|
+
blobLikeSchema = custom(isBlobLike2, {
|
|
61089
61214
|
message: "expected a Blob, File or Blob-like object",
|
|
61090
61215
|
fatal: true
|
|
61091
61216
|
});
|
|
@@ -66493,9 +66618,11 @@ var WebhookBillingStatementCreated$inboundSchema, WebhookBillingStatementCreated
|
|
|
66493
66618
|
var init_webhookbillingstatementcreated = __esm(() => {
|
|
66494
66619
|
init_esm();
|
|
66495
66620
|
WebhookBillingStatementCreated$inboundSchema = objectType({
|
|
66621
|
+
accountID: stringType(),
|
|
66496
66622
|
statementID: stringType()
|
|
66497
66623
|
});
|
|
66498
66624
|
WebhookBillingStatementCreated$outboundSchema = objectType({
|
|
66625
|
+
accountID: stringType(),
|
|
66499
66626
|
statementID: stringType()
|
|
66500
66627
|
});
|
|
66501
66628
|
});
|
|
@@ -67237,11 +67364,11 @@ var init_webhookdata = __esm(() => {
|
|
|
67237
67364
|
WebhookDataTicketCreated$inboundSchema,
|
|
67238
67365
|
WebhookDataTicketMessageAdded$inboundSchema,
|
|
67239
67366
|
WebhookDataWalletCreated$inboundSchema,
|
|
67367
|
+
WebhookBillingStatementCreated$inboundSchema,
|
|
67240
67368
|
WebhookDataAccountCreated$inboundSchema,
|
|
67241
67369
|
WebhookDataAccountUpdated$inboundSchema,
|
|
67242
67370
|
WebhookDataAccountDisconnected$inboundSchema,
|
|
67243
|
-
WebhookDataNetworkIDUpdated$inboundSchema
|
|
67244
|
-
WebhookBillingStatementCreated$inboundSchema
|
|
67371
|
+
WebhookDataNetworkIDUpdated$inboundSchema
|
|
67245
67372
|
]);
|
|
67246
67373
|
WebhookData$outboundSchema = unionType([
|
|
67247
67374
|
WebhookDataDisputeCreated$outboundSchema,
|
|
@@ -67276,11 +67403,11 @@ var init_webhookdata = __esm(() => {
|
|
|
67276
67403
|
WebhookDataTicketCreated$outboundSchema,
|
|
67277
67404
|
WebhookDataTicketMessageAdded$outboundSchema,
|
|
67278
67405
|
WebhookDataWalletCreated$outboundSchema,
|
|
67406
|
+
WebhookBillingStatementCreated$outboundSchema,
|
|
67279
67407
|
WebhookDataAccountCreated$outboundSchema,
|
|
67280
67408
|
WebhookDataAccountUpdated$outboundSchema,
|
|
67281
67409
|
WebhookDataAccountDisconnected$outboundSchema,
|
|
67282
|
-
WebhookDataNetworkIDUpdated$outboundSchema
|
|
67283
|
-
WebhookBillingStatementCreated$outboundSchema
|
|
67410
|
+
WebhookDataNetworkIDUpdated$outboundSchema
|
|
67284
67411
|
]);
|
|
67285
67412
|
});
|
|
67286
67413
|
|
|
@@ -67384,6 +67511,7 @@ var init_components = __esm(() => {
|
|
|
67384
67511
|
init_bankaccountverificationstatus();
|
|
67385
67512
|
init_bankaccountwaitfor();
|
|
67386
67513
|
init_basicpaymentmethod();
|
|
67514
|
+
init_batchgettransfersrequest();
|
|
67387
67515
|
init_billablefee();
|
|
67388
67516
|
init_billingcountandamount();
|
|
67389
67517
|
init_billinginterchangeprogramfee();
|
|
@@ -67550,6 +67678,10 @@ var init_components = __esm(() => {
|
|
|
67550
67678
|
init_individualnameupdate();
|
|
67551
67679
|
init_individualprofile();
|
|
67552
67680
|
init_industrycodes();
|
|
67681
|
+
init_instantbankfailurecode();
|
|
67682
|
+
init_instantbanknetwork();
|
|
67683
|
+
init_instantbanktransactiondetails();
|
|
67684
|
+
init_instantbanktransactionstatus();
|
|
67553
67685
|
init_instantpaymentfees();
|
|
67554
67686
|
init_institutionssearchresponse();
|
|
67555
67687
|
init_invoicestatus();
|
|
@@ -70305,6 +70437,48 @@ var init_assignaccountcountries = __esm(() => {
|
|
|
70305
70437
|
});
|
|
70306
70438
|
});
|
|
70307
70439
|
|
|
70440
|
+
// src/models/operations/batchgettransfers.ts
|
|
70441
|
+
var BatchGetTransfersRequest$inboundSchema2, BatchGetTransfersRequest$outboundSchema2, BatchGetTransfersResponse$inboundSchema, BatchGetTransfersResponse$outboundSchema;
|
|
70442
|
+
var init_batchgettransfers = __esm(() => {
|
|
70443
|
+
init_esm();
|
|
70444
|
+
init_primitives();
|
|
70445
|
+
init_components();
|
|
70446
|
+
BatchGetTransfersRequest$inboundSchema2 = objectType({
|
|
70447
|
+
accountID: stringType(),
|
|
70448
|
+
BatchGetTransfersRequest: BatchGetTransfersRequest$inboundSchema
|
|
70449
|
+
}).transform((v2) => {
|
|
70450
|
+
return remap(v2, {
|
|
70451
|
+
BatchGetTransfersRequest: "batchGetTransfersRequest"
|
|
70452
|
+
});
|
|
70453
|
+
});
|
|
70454
|
+
BatchGetTransfersRequest$outboundSchema2 = objectType({
|
|
70455
|
+
accountID: stringType(),
|
|
70456
|
+
batchGetTransfersRequest: BatchGetTransfersRequest$outboundSchema
|
|
70457
|
+
}).transform((v2) => {
|
|
70458
|
+
return remap(v2, {
|
|
70459
|
+
batchGetTransfersRequest: "BatchGetTransfersRequest"
|
|
70460
|
+
});
|
|
70461
|
+
});
|
|
70462
|
+
BatchGetTransfersResponse$inboundSchema = objectType({
|
|
70463
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
70464
|
+
Result: recordType(Transfer$inboundSchema)
|
|
70465
|
+
}).transform((v2) => {
|
|
70466
|
+
return remap(v2, {
|
|
70467
|
+
Headers: "headers",
|
|
70468
|
+
Result: "result"
|
|
70469
|
+
});
|
|
70470
|
+
});
|
|
70471
|
+
BatchGetTransfersResponse$outboundSchema = objectType({
|
|
70472
|
+
headers: recordType(arrayType(stringType())),
|
|
70473
|
+
result: recordType(Transfer$outboundSchema)
|
|
70474
|
+
}).transform((v2) => {
|
|
70475
|
+
return remap(v2, {
|
|
70476
|
+
headers: "Headers",
|
|
70477
|
+
result: "Result"
|
|
70478
|
+
});
|
|
70479
|
+
});
|
|
70480
|
+
});
|
|
70481
|
+
|
|
70308
70482
|
// src/models/operations/cancelschedule.ts
|
|
70309
70483
|
var CancelScheduleRequest$inboundSchema, CancelScheduleRequest$outboundSchema, CancelScheduleResponse$inboundSchema, CancelScheduleResponse$outboundSchema;
|
|
70310
70484
|
var init_cancelschedule = __esm(() => {
|
|
@@ -75765,17 +75939,21 @@ var init_updateissuedcard2 = __esm(() => {
|
|
|
75765
75939
|
});
|
|
75766
75940
|
});
|
|
75767
75941
|
UpdateIssuedCardResponse$inboundSchema = objectType({
|
|
75768
|
-
Headers: recordType(arrayType(stringType())).default({})
|
|
75942
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
75943
|
+
Result: IssuedCard$inboundSchema
|
|
75769
75944
|
}).transform((v2) => {
|
|
75770
75945
|
return remap(v2, {
|
|
75771
|
-
Headers: "headers"
|
|
75946
|
+
Headers: "headers",
|
|
75947
|
+
Result: "result"
|
|
75772
75948
|
});
|
|
75773
75949
|
});
|
|
75774
75950
|
UpdateIssuedCardResponse$outboundSchema = objectType({
|
|
75775
|
-
headers: recordType(arrayType(stringType()))
|
|
75951
|
+
headers: recordType(arrayType(stringType())),
|
|
75952
|
+
result: IssuedCard$outboundSchema
|
|
75776
75953
|
}).transform((v2) => {
|
|
75777
75954
|
return remap(v2, {
|
|
75778
|
-
headers: "Headers"
|
|
75955
|
+
headers: "Headers",
|
|
75956
|
+
result: "Result"
|
|
75779
75957
|
});
|
|
75780
75958
|
});
|
|
75781
75959
|
});
|
|
@@ -76390,6 +76568,7 @@ var init_upsertunderwriting = __esm(() => {
|
|
|
76390
76568
|
var init_operations = __esm(() => {
|
|
76391
76569
|
init_acceptdispute();
|
|
76392
76570
|
init_assignaccountcountries();
|
|
76571
|
+
init_batchgettransfers();
|
|
76393
76572
|
init_cancelschedule();
|
|
76394
76573
|
init_completebankaccountverification2();
|
|
76395
76574
|
init_completemicrodeposits2();
|
|
@@ -78923,12 +79102,12 @@ var init_applePayLinkToken2 = __esm(() => {
|
|
|
78923
79102
|
};
|
|
78924
79103
|
tool$applePayLinkToken = {
|
|
78925
79104
|
name: "apple-pay-link-token",
|
|
78926
|
-
description: `Connect an Apple Pay token to the specified account.
|
|
79105
|
+
description: `Connect an Apple Pay token to the specified account.
|
|
78927
79106
|
|
|
78928
|
-
Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more.
|
|
79107
|
+
Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more.
|
|
78929
79108
|
The \`token\` data is defined by Apple Pay and should be passed through from Apple Pay's response unmodified.
|
|
78930
79109
|
|
|
78931
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79110
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78932
79111
|
you'll need to specify the \`/accounts/{accountID}/cards.write\` scope.`,
|
|
78933
79112
|
args: args20,
|
|
78934
79113
|
tool: async (client, args21, ctx) => {
|
|
@@ -82047,8 +82226,9 @@ async function $do46(client, request, options) {
|
|
|
82047
82226
|
const responseFields = {
|
|
82048
82227
|
HttpMeta: { Response: response, Request: req }
|
|
82049
82228
|
};
|
|
82050
|
-
const [result] = await match(
|
|
82051
|
-
hdrs: true
|
|
82229
|
+
const [result] = await match(json(200, UpdateIssuedCardResponse$inboundSchema, {
|
|
82230
|
+
hdrs: true,
|
|
82231
|
+
key: "Result"
|
|
82052
82232
|
}), 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 });
|
|
82053
82233
|
if (!result.ok) {
|
|
82054
82234
|
return [result, { status: "complete", request: req, response }];
|
|
@@ -82091,7 +82271,8 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.write\` scope.`,
|
|
|
82091
82271
|
isError: true
|
|
82092
82272
|
};
|
|
82093
82273
|
}
|
|
82094
|
-
|
|
82274
|
+
const value = result.value.result;
|
|
82275
|
+
return formatResult(value, apiCall);
|
|
82095
82276
|
}
|
|
82096
82277
|
};
|
|
82097
82278
|
});
|
|
@@ -83921,8 +84102,11 @@ async function $do61(client, request, options) {
|
|
|
83921
84102
|
const payload = parsed.value;
|
|
83922
84103
|
const body = new FormData;
|
|
83923
84104
|
appendForm(body, "evidenceType", payload.CreateEvidenceFileMultiPart.evidenceType);
|
|
83924
|
-
if (
|
|
83925
|
-
|
|
84105
|
+
if (isBlobLike2(payload.CreateEvidenceFileMultiPart.file)) {
|
|
84106
|
+
const file = payload.CreateEvidenceFileMultiPart.file;
|
|
84107
|
+
const blob = await normalizeBlob(file);
|
|
84108
|
+
const name = "name" in file ? file.name : undefined;
|
|
84109
|
+
appendForm(body, "file", blob, name);
|
|
83926
84110
|
} else if (isReadableStream(payload.CreateEvidenceFileMultiPart.file.content)) {
|
|
83927
84111
|
const buffer = await readableStreamToArrayBuffer(payload.CreateEvidenceFileMultiPart.file.content);
|
|
83928
84112
|
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
@@ -86018,8 +86202,11 @@ async function $do79(client, request, options) {
|
|
|
86018
86202
|
}
|
|
86019
86203
|
const payload = parsed.value;
|
|
86020
86204
|
const body = new FormData;
|
|
86021
|
-
if (
|
|
86022
|
-
|
|
86205
|
+
if (isBlobLike2(payload.FileUploadRequestMultiPart.file)) {
|
|
86206
|
+
const file = payload.FileUploadRequestMultiPart.file;
|
|
86207
|
+
const blob = await normalizeBlob(file);
|
|
86208
|
+
const name = "name" in file ? file.name : undefined;
|
|
86209
|
+
appendForm(body, "file", blob, name);
|
|
86023
86210
|
} else if (isReadableStream(payload.FileUploadRequestMultiPart.file.content)) {
|
|
86024
86211
|
const buffer = await readableStreamToArrayBuffer(payload.FileUploadRequestMultiPart.file.content);
|
|
86025
86212
|
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
@@ -86628,8 +86815,11 @@ async function $do84(client, request, options) {
|
|
|
86628
86815
|
}
|
|
86629
86816
|
const payload = parsed.value;
|
|
86630
86817
|
const body = new FormData;
|
|
86631
|
-
if (
|
|
86632
|
-
|
|
86818
|
+
if (isBlobLike2(payload.ImageUploadRequestMultiPart.image)) {
|
|
86819
|
+
const file = payload.ImageUploadRequestMultiPart.image;
|
|
86820
|
+
const blob = await normalizeBlob(file);
|
|
86821
|
+
const name = "name" in file ? file.name : undefined;
|
|
86822
|
+
appendForm(body, "image", blob, name);
|
|
86633
86823
|
} else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
|
|
86634
86824
|
const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
|
|
86635
86825
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
@@ -86902,8 +87092,11 @@ async function $do86(client, request, options) {
|
|
|
86902
87092
|
}
|
|
86903
87093
|
const payload = parsed.value;
|
|
86904
87094
|
const body = new FormData;
|
|
86905
|
-
if (
|
|
86906
|
-
|
|
87095
|
+
if (isBlobLike2(payload.ImageUploadRequestMultiPart.image)) {
|
|
87096
|
+
const file = payload.ImageUploadRequestMultiPart.image;
|
|
87097
|
+
const blob = await normalizeBlob(file);
|
|
87098
|
+
const name = "name" in file ? file.name : undefined;
|
|
87099
|
+
appendForm(body, "image", blob, name);
|
|
86907
87100
|
} else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
|
|
86908
87101
|
const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
|
|
86909
87102
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
@@ -93054,11 +93247,128 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
93054
93247
|
};
|
|
93055
93248
|
});
|
|
93056
93249
|
|
|
93057
|
-
// src/funcs/
|
|
93058
|
-
function
|
|
93250
|
+
// src/funcs/transfersBatchGetTransfers.ts
|
|
93251
|
+
function transfersBatchGetTransfers(client, request, options) {
|
|
93059
93252
|
return new APIPromise($do139(client, request, options));
|
|
93060
93253
|
}
|
|
93061
93254
|
async function $do139(client, request, options) {
|
|
93255
|
+
const parsed = safeParse4(request, (value) => BatchGetTransfersRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
93256
|
+
if (!parsed.ok) {
|
|
93257
|
+
return [parsed, { status: "invalid" }];
|
|
93258
|
+
}
|
|
93259
|
+
const payload = parsed.value;
|
|
93260
|
+
const body = encodeJSON("body", payload.BatchGetTransfersRequest, {
|
|
93261
|
+
explode: true
|
|
93262
|
+
});
|
|
93263
|
+
const pathParams = {
|
|
93264
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
93265
|
+
explode: false,
|
|
93266
|
+
charEncoding: "percent"
|
|
93267
|
+
})
|
|
93268
|
+
};
|
|
93269
|
+
const path = pathToFunc("/accounts/{accountID}/transfers/.fetch")(pathParams);
|
|
93270
|
+
const headers = new Headers(compactMap({
|
|
93271
|
+
"Content-Type": "application/json",
|
|
93272
|
+
Accept: "application/json"
|
|
93273
|
+
}));
|
|
93274
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
93275
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
93276
|
+
const context = {
|
|
93277
|
+
options: client._options,
|
|
93278
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
93279
|
+
operationID: "batchGetTransfers",
|
|
93280
|
+
oAuth2Scopes: null,
|
|
93281
|
+
resolvedSecurity: requestSecurity,
|
|
93282
|
+
securitySource: client._options.security,
|
|
93283
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
93284
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
93285
|
+
};
|
|
93286
|
+
const requestRes = client._createRequest(context, {
|
|
93287
|
+
security: requestSecurity,
|
|
93288
|
+
method: "POST",
|
|
93289
|
+
baseURL: options?.serverURL,
|
|
93290
|
+
path,
|
|
93291
|
+
headers,
|
|
93292
|
+
body,
|
|
93293
|
+
userAgent: client._options.userAgent,
|
|
93294
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
93295
|
+
}, options);
|
|
93296
|
+
if (!requestRes.ok) {
|
|
93297
|
+
return [requestRes, { status: "invalid" }];
|
|
93298
|
+
}
|
|
93299
|
+
const req = requestRes.value;
|
|
93300
|
+
const doResult = await client._do(req, {
|
|
93301
|
+
context,
|
|
93302
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
93303
|
+
retryConfig: context.retryConfig,
|
|
93304
|
+
retryCodes: context.retryCodes
|
|
93305
|
+
});
|
|
93306
|
+
if (!doResult.ok) {
|
|
93307
|
+
return [doResult, { status: "request-error", request: req }];
|
|
93308
|
+
}
|
|
93309
|
+
const response = doResult.value;
|
|
93310
|
+
const responseFields = {
|
|
93311
|
+
HttpMeta: { Response: response, Request: req }
|
|
93312
|
+
};
|
|
93313
|
+
const [result] = await match(json(200, BatchGetTransfersResponse$inboundSchema, {
|
|
93314
|
+
hdrs: true,
|
|
93315
|
+
key: "Result"
|
|
93316
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
93317
|
+
if (!result.ok) {
|
|
93318
|
+
return [result, { status: "complete", request: req, response }];
|
|
93319
|
+
}
|
|
93320
|
+
return [result, { status: "complete", request: req, response }];
|
|
93321
|
+
}
|
|
93322
|
+
var init_transfersBatchGetTransfers = __esm(() => {
|
|
93323
|
+
init_encodings();
|
|
93324
|
+
init_matchers();
|
|
93325
|
+
init_primitives();
|
|
93326
|
+
init_schemas4();
|
|
93327
|
+
init_security();
|
|
93328
|
+
init_url();
|
|
93329
|
+
init_operations();
|
|
93330
|
+
init_async();
|
|
93331
|
+
});
|
|
93332
|
+
|
|
93333
|
+
// src/mcp-server/tools/transfersBatchGetTransfers.ts
|
|
93334
|
+
var args134, tool$transfersBatchGetTransfers;
|
|
93335
|
+
var init_transfersBatchGetTransfers2 = __esm(() => {
|
|
93336
|
+
init_transfersBatchGetTransfers();
|
|
93337
|
+
init_operations();
|
|
93338
|
+
init_tools();
|
|
93339
|
+
args134 = {
|
|
93340
|
+
request: BatchGetTransfersRequest$inboundSchema2
|
|
93341
|
+
};
|
|
93342
|
+
tool$transfersBatchGetTransfers = {
|
|
93343
|
+
name: "transfers-batch-get-transfers",
|
|
93344
|
+
description: `Retrieve transfer details for multiple transfers in one request. The response is a map from each
|
|
93345
|
+
requested transfer ID to its full transfer details when available; IDs that are not found or not
|
|
93346
|
+
accessible under this account are omitted from the map.
|
|
93347
|
+
|
|
93348
|
+
Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
93349
|
+
|
|
93350
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93351
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
93352
|
+
args: args134,
|
|
93353
|
+
tool: async (client, args135, ctx) => {
|
|
93354
|
+
const [result, apiCall] = await transfersBatchGetTransfers(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93355
|
+
if (!result.ok) {
|
|
93356
|
+
return {
|
|
93357
|
+
content: [{ type: "text", text: result.error.message }],
|
|
93358
|
+
isError: true
|
|
93359
|
+
};
|
|
93360
|
+
}
|
|
93361
|
+
const value = result.value.result;
|
|
93362
|
+
return formatResult(value, apiCall);
|
|
93363
|
+
}
|
|
93364
|
+
};
|
|
93365
|
+
});
|
|
93366
|
+
|
|
93367
|
+
// src/funcs/transfersCreate.ts
|
|
93368
|
+
function transfersCreate(client, request, options) {
|
|
93369
|
+
return new APIPromise($do140(client, request, options));
|
|
93370
|
+
}
|
|
93371
|
+
async function $do140(client, request, options) {
|
|
93062
93372
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93063
93373
|
if (!parsed.ok) {
|
|
93064
93374
|
return [parsed, { status: "invalid" }];
|
|
@@ -93150,12 +93460,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
93150
93460
|
});
|
|
93151
93461
|
|
|
93152
93462
|
// src/mcp-server/tools/transfersCreate.ts
|
|
93153
|
-
var
|
|
93463
|
+
var args135, tool$transfersCreate;
|
|
93154
93464
|
var init_transfersCreate2 = __esm(() => {
|
|
93155
93465
|
init_transfersCreate();
|
|
93156
93466
|
init_operations();
|
|
93157
93467
|
init_tools();
|
|
93158
|
-
|
|
93468
|
+
args135 = {
|
|
93159
93469
|
request: CreateTransferRequest$inboundSchema
|
|
93160
93470
|
};
|
|
93161
93471
|
tool$transfersCreate = {
|
|
@@ -93166,9 +93476,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
93166
93476
|
|
|
93167
93477
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93168
93478
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
93169
|
-
args:
|
|
93170
|
-
tool: async (client,
|
|
93171
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
93479
|
+
args: args135,
|
|
93480
|
+
tool: async (client, args136, ctx) => {
|
|
93481
|
+
const [result, apiCall] = await transfersCreate(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93172
93482
|
if (!result.ok) {
|
|
93173
93483
|
return {
|
|
93174
93484
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93183,9 +93493,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
93183
93493
|
|
|
93184
93494
|
// src/funcs/transfersCreateCancellation.ts
|
|
93185
93495
|
function transfersCreateCancellation(client, request, options) {
|
|
93186
|
-
return new APIPromise($
|
|
93496
|
+
return new APIPromise($do141(client, request, options));
|
|
93187
93497
|
}
|
|
93188
|
-
async function $
|
|
93498
|
+
async function $do141(client, request, options) {
|
|
93189
93499
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93190
93500
|
if (!parsed.ok) {
|
|
93191
93501
|
return [parsed, { status: "invalid" }];
|
|
@@ -93267,12 +93577,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
93267
93577
|
});
|
|
93268
93578
|
|
|
93269
93579
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
93270
|
-
var
|
|
93580
|
+
var args136, tool$transfersCreateCancellation;
|
|
93271
93581
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
93272
93582
|
init_transfersCreateCancellation();
|
|
93273
93583
|
init_operations();
|
|
93274
93584
|
init_tools();
|
|
93275
|
-
|
|
93585
|
+
args136 = {
|
|
93276
93586
|
request: CreateCancellationRequest$inboundSchema
|
|
93277
93587
|
};
|
|
93278
93588
|
tool$transfersCreateCancellation = {
|
|
@@ -93281,9 +93591,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
93281
93591
|
|
|
93282
93592
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
93283
93593
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
93284
|
-
args:
|
|
93285
|
-
tool: async (client,
|
|
93286
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
93594
|
+
args: args136,
|
|
93595
|
+
tool: async (client, args137, ctx) => {
|
|
93596
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93287
93597
|
if (!result.ok) {
|
|
93288
93598
|
return {
|
|
93289
93599
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93298,9 +93608,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
93298
93608
|
|
|
93299
93609
|
// src/funcs/transfersCreateReversal.ts
|
|
93300
93610
|
function transfersCreateReversal(client, request, options) {
|
|
93301
|
-
return new APIPromise($
|
|
93611
|
+
return new APIPromise($do142(client, request, options));
|
|
93302
93612
|
}
|
|
93303
|
-
async function $
|
|
93613
|
+
async function $do142(client, request, options) {
|
|
93304
93614
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93305
93615
|
if (!parsed.ok) {
|
|
93306
93616
|
return [parsed, { status: "invalid" }];
|
|
@@ -93398,12 +93708,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
93398
93708
|
});
|
|
93399
93709
|
|
|
93400
93710
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
93401
|
-
var
|
|
93711
|
+
var args137, tool$transfersCreateReversal;
|
|
93402
93712
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
93403
93713
|
init_transfersCreateReversal();
|
|
93404
93714
|
init_operations();
|
|
93405
93715
|
init_tools();
|
|
93406
|
-
|
|
93716
|
+
args137 = {
|
|
93407
93717
|
request: CreateReversalRequest$inboundSchema
|
|
93408
93718
|
};
|
|
93409
93719
|
tool$transfersCreateReversal = {
|
|
@@ -93414,9 +93724,9 @@ to learn more.
|
|
|
93414
93724
|
|
|
93415
93725
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
93416
93726
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
93417
|
-
args:
|
|
93418
|
-
tool: async (client,
|
|
93419
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
93727
|
+
args: args137,
|
|
93728
|
+
tool: async (client, args138, ctx) => {
|
|
93729
|
+
const [result, apiCall] = await transfersCreateReversal(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93420
93730
|
if (!result.ok) {
|
|
93421
93731
|
return {
|
|
93422
93732
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93431,9 +93741,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
93431
93741
|
|
|
93432
93742
|
// src/funcs/transfersGenerateOptions.ts
|
|
93433
93743
|
function transfersGenerateOptions(client, request, options) {
|
|
93434
|
-
return new APIPromise($
|
|
93744
|
+
return new APIPromise($do143(client, request, options));
|
|
93435
93745
|
}
|
|
93436
|
-
async function $
|
|
93746
|
+
async function $do143(client, request, options) {
|
|
93437
93747
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93438
93748
|
if (!parsed.ok) {
|
|
93439
93749
|
return [parsed, { status: "invalid" }];
|
|
@@ -93516,12 +93826,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
93516
93826
|
});
|
|
93517
93827
|
|
|
93518
93828
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
93519
|
-
var
|
|
93829
|
+
var args138, tool$transfersGenerateOptions;
|
|
93520
93830
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
93521
93831
|
init_transfersGenerateOptions();
|
|
93522
93832
|
init_operations();
|
|
93523
93833
|
init_tools();
|
|
93524
|
-
|
|
93834
|
+
args138 = {
|
|
93525
93835
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
93526
93836
|
};
|
|
93527
93837
|
tool$transfersGenerateOptions = {
|
|
@@ -93535,9 +93845,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
93535
93845
|
|
|
93536
93846
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93537
93847
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
93538
|
-
args:
|
|
93539
|
-
tool: async (client,
|
|
93540
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
93848
|
+
args: args138,
|
|
93849
|
+
tool: async (client, args139, ctx) => {
|
|
93850
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93541
93851
|
if (!result.ok) {
|
|
93542
93852
|
return {
|
|
93543
93853
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93552,9 +93862,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
93552
93862
|
|
|
93553
93863
|
// src/funcs/transfersGet.ts
|
|
93554
93864
|
function transfersGet(client, request, options) {
|
|
93555
|
-
return new APIPromise($
|
|
93865
|
+
return new APIPromise($do144(client, request, options));
|
|
93556
93866
|
}
|
|
93557
|
-
async function $
|
|
93867
|
+
async function $do144(client, request, options) {
|
|
93558
93868
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93559
93869
|
if (!parsed.ok) {
|
|
93560
93870
|
return [parsed, { status: "invalid" }];
|
|
@@ -93635,12 +93945,12 @@ var init_transfersGet = __esm(() => {
|
|
|
93635
93945
|
});
|
|
93636
93946
|
|
|
93637
93947
|
// src/mcp-server/tools/transfersGet.ts
|
|
93638
|
-
var
|
|
93948
|
+
var args139, tool$transfersGet;
|
|
93639
93949
|
var init_transfersGet2 = __esm(() => {
|
|
93640
93950
|
init_transfersGet();
|
|
93641
93951
|
init_operations();
|
|
93642
93952
|
init_tools();
|
|
93643
|
-
|
|
93953
|
+
args139 = {
|
|
93644
93954
|
request: GetTransferRequest$inboundSchema
|
|
93645
93955
|
};
|
|
93646
93956
|
tool$transfersGet = {
|
|
@@ -93652,9 +93962,9 @@ to learn more.
|
|
|
93652
93962
|
|
|
93653
93963
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93654
93964
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
93655
|
-
args:
|
|
93656
|
-
tool: async (client,
|
|
93657
|
-
const [result, apiCall] = await transfersGet(client,
|
|
93965
|
+
args: args139,
|
|
93966
|
+
tool: async (client, args140, ctx) => {
|
|
93967
|
+
const [result, apiCall] = await transfersGet(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93658
93968
|
if (!result.ok) {
|
|
93659
93969
|
return {
|
|
93660
93970
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93669,9 +93979,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
93669
93979
|
|
|
93670
93980
|
// src/funcs/transfersGetCancellation.ts
|
|
93671
93981
|
function transfersGetCancellation(client, request, options) {
|
|
93672
|
-
return new APIPromise($
|
|
93982
|
+
return new APIPromise($do145(client, request, options));
|
|
93673
93983
|
}
|
|
93674
|
-
async function $
|
|
93984
|
+
async function $do145(client, request, options) {
|
|
93675
93985
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93676
93986
|
if (!parsed.ok) {
|
|
93677
93987
|
return [parsed, { status: "invalid" }];
|
|
@@ -93756,12 +94066,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
93756
94066
|
});
|
|
93757
94067
|
|
|
93758
94068
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
93759
|
-
var
|
|
94069
|
+
var args140, tool$transfersGetCancellation;
|
|
93760
94070
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
93761
94071
|
init_transfersGetCancellation();
|
|
93762
94072
|
init_operations();
|
|
93763
94073
|
init_tools();
|
|
93764
|
-
|
|
94074
|
+
args140 = {
|
|
93765
94075
|
request: GetCancellationRequest$inboundSchema
|
|
93766
94076
|
};
|
|
93767
94077
|
tool$transfersGetCancellation = {
|
|
@@ -93770,9 +94080,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
93770
94080
|
|
|
93771
94081
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
93772
94082
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
93773
|
-
args:
|
|
93774
|
-
tool: async (client,
|
|
93775
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
94083
|
+
args: args140,
|
|
94084
|
+
tool: async (client, args141, ctx) => {
|
|
94085
|
+
const [result, apiCall] = await transfersGetCancellation(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93776
94086
|
if (!result.ok) {
|
|
93777
94087
|
return {
|
|
93778
94088
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93787,9 +94097,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
93787
94097
|
|
|
93788
94098
|
// src/funcs/transfersGetRefund.ts
|
|
93789
94099
|
function transfersGetRefund(client, request, options) {
|
|
93790
|
-
return new APIPromise($
|
|
94100
|
+
return new APIPromise($do146(client, request, options));
|
|
93791
94101
|
}
|
|
93792
|
-
async function $
|
|
94102
|
+
async function $do146(client, request, options) {
|
|
93793
94103
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93794
94104
|
if (!parsed.ok) {
|
|
93795
94105
|
return [parsed, { status: "invalid" }];
|
|
@@ -93874,12 +94184,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
93874
94184
|
});
|
|
93875
94185
|
|
|
93876
94186
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
93877
|
-
var
|
|
94187
|
+
var args141, tool$transfersGetRefund;
|
|
93878
94188
|
var init_transfersGetRefund2 = __esm(() => {
|
|
93879
94189
|
init_transfersGetRefund();
|
|
93880
94190
|
init_operations();
|
|
93881
94191
|
init_tools();
|
|
93882
|
-
|
|
94192
|
+
args141 = {
|
|
93883
94193
|
request: GetRefundRequest$inboundSchema
|
|
93884
94194
|
};
|
|
93885
94195
|
tool$transfersGetRefund = {
|
|
@@ -93888,9 +94198,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
93888
94198
|
|
|
93889
94199
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93890
94200
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
93891
|
-
args:
|
|
93892
|
-
tool: async (client,
|
|
93893
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
94201
|
+
args: args141,
|
|
94202
|
+
tool: async (client, args142, ctx) => {
|
|
94203
|
+
const [result, apiCall] = await transfersGetRefund(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93894
94204
|
if (!result.ok) {
|
|
93895
94205
|
return {
|
|
93896
94206
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93905,9 +94215,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
93905
94215
|
|
|
93906
94216
|
// src/funcs/transfersInitiateRefund.ts
|
|
93907
94217
|
function transfersInitiateRefund(client, request, options) {
|
|
93908
|
-
return new APIPromise($
|
|
94218
|
+
return new APIPromise($do147(client, request, options));
|
|
93909
94219
|
}
|
|
93910
|
-
async function $
|
|
94220
|
+
async function $do147(client, request, options) {
|
|
93911
94221
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93912
94222
|
if (!parsed.ok) {
|
|
93913
94223
|
return [parsed, { status: "invalid" }];
|
|
@@ -93998,12 +94308,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
93998
94308
|
});
|
|
93999
94309
|
|
|
94000
94310
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
94001
|
-
var
|
|
94311
|
+
var args142, tool$transfersInitiateRefund;
|
|
94002
94312
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
94003
94313
|
init_transfersInitiateRefund();
|
|
94004
94314
|
init_operations();
|
|
94005
94315
|
init_tools();
|
|
94006
|
-
|
|
94316
|
+
args142 = {
|
|
94007
94317
|
request: InitiateRefundRequest$inboundSchema
|
|
94008
94318
|
};
|
|
94009
94319
|
tool$transfersInitiateRefund = {
|
|
@@ -94015,9 +94325,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
94015
94325
|
|
|
94016
94326
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94017
94327
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
94018
|
-
args:
|
|
94019
|
-
tool: async (client,
|
|
94020
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
94328
|
+
args: args142,
|
|
94329
|
+
tool: async (client, args143, ctx) => {
|
|
94330
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94021
94331
|
if (!result.ok) {
|
|
94022
94332
|
return {
|
|
94023
94333
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94032,9 +94342,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
94032
94342
|
|
|
94033
94343
|
// src/funcs/transfersList.ts
|
|
94034
94344
|
function transfersList(client, request, options) {
|
|
94035
|
-
return new APIPromise($
|
|
94345
|
+
return new APIPromise($do148(client, request, options));
|
|
94036
94346
|
}
|
|
94037
|
-
async function $
|
|
94347
|
+
async function $do148(client, request, options) {
|
|
94038
94348
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94039
94349
|
if (!parsed.ok) {
|
|
94040
94350
|
return [parsed, { status: "invalid" }];
|
|
@@ -94129,12 +94439,12 @@ var init_transfersList = __esm(() => {
|
|
|
94129
94439
|
});
|
|
94130
94440
|
|
|
94131
94441
|
// src/mcp-server/tools/transfersList.ts
|
|
94132
|
-
var
|
|
94442
|
+
var args143, tool$transfersList;
|
|
94133
94443
|
var init_transfersList2 = __esm(() => {
|
|
94134
94444
|
init_transfersList();
|
|
94135
94445
|
init_operations();
|
|
94136
94446
|
init_tools();
|
|
94137
|
-
|
|
94447
|
+
args143 = {
|
|
94138
94448
|
request: ListTransfersRequest$inboundSchema
|
|
94139
94449
|
};
|
|
94140
94450
|
tool$transfersList = {
|
|
@@ -94150,9 +94460,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
94150
94460
|
|
|
94151
94461
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94152
94462
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
94153
|
-
args:
|
|
94154
|
-
tool: async (client,
|
|
94155
|
-
const [result, apiCall] = await transfersList(client,
|
|
94463
|
+
args: args143,
|
|
94464
|
+
tool: async (client, args144, ctx) => {
|
|
94465
|
+
const [result, apiCall] = await transfersList(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94156
94466
|
if (!result.ok) {
|
|
94157
94467
|
return {
|
|
94158
94468
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94167,9 +94477,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
94167
94477
|
|
|
94168
94478
|
// src/funcs/transfersListRefunds.ts
|
|
94169
94479
|
function transfersListRefunds(client, request, options) {
|
|
94170
|
-
return new APIPromise($
|
|
94480
|
+
return new APIPromise($do149(client, request, options));
|
|
94171
94481
|
}
|
|
94172
|
-
async function $
|
|
94482
|
+
async function $do149(client, request, options) {
|
|
94173
94483
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94174
94484
|
if (!parsed.ok) {
|
|
94175
94485
|
return [parsed, { status: "invalid" }];
|
|
@@ -94250,12 +94560,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
94250
94560
|
});
|
|
94251
94561
|
|
|
94252
94562
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
94253
|
-
var
|
|
94563
|
+
var args144, tool$transfersListRefunds;
|
|
94254
94564
|
var init_transfersListRefunds2 = __esm(() => {
|
|
94255
94565
|
init_transfersListRefunds();
|
|
94256
94566
|
init_operations();
|
|
94257
94567
|
init_tools();
|
|
94258
|
-
|
|
94568
|
+
args144 = {
|
|
94259
94569
|
request: ListRefundsRequest$inboundSchema
|
|
94260
94570
|
};
|
|
94261
94571
|
tool$transfersListRefunds = {
|
|
@@ -94264,9 +94574,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
94264
94574
|
|
|
94265
94575
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94266
94576
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
94267
|
-
args:
|
|
94268
|
-
tool: async (client,
|
|
94269
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
94577
|
+
args: args144,
|
|
94578
|
+
tool: async (client, args145, ctx) => {
|
|
94579
|
+
const [result, apiCall] = await transfersListRefunds(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94270
94580
|
if (!result.ok) {
|
|
94271
94581
|
return {
|
|
94272
94582
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94281,9 +94591,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
94281
94591
|
|
|
94282
94592
|
// src/funcs/transfersUpdate.ts
|
|
94283
94593
|
function transfersUpdate(client, request, options) {
|
|
94284
|
-
return new APIPromise($
|
|
94594
|
+
return new APIPromise($do150(client, request, options));
|
|
94285
94595
|
}
|
|
94286
|
-
async function $
|
|
94596
|
+
async function $do150(client, request, options) {
|
|
94287
94597
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94288
94598
|
if (!parsed.ok) {
|
|
94289
94599
|
return [parsed, { status: "invalid" }];
|
|
@@ -94368,12 +94678,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
94368
94678
|
});
|
|
94369
94679
|
|
|
94370
94680
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
94371
|
-
var
|
|
94681
|
+
var args145, tool$transfersUpdate;
|
|
94372
94682
|
var init_transfersUpdate2 = __esm(() => {
|
|
94373
94683
|
init_transfersUpdate();
|
|
94374
94684
|
init_operations();
|
|
94375
94685
|
init_tools();
|
|
94376
|
-
|
|
94686
|
+
args145 = {
|
|
94377
94687
|
request: UpdateTransferRequest$inboundSchema
|
|
94378
94688
|
};
|
|
94379
94689
|
tool$transfersUpdate = {
|
|
@@ -94384,9 +94694,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
94384
94694
|
|
|
94385
94695
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94386
94696
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
94387
|
-
args:
|
|
94388
|
-
tool: async (client,
|
|
94389
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
94697
|
+
args: args145,
|
|
94698
|
+
tool: async (client, args146, ctx) => {
|
|
94699
|
+
const [result, apiCall] = await transfersUpdate(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94390
94700
|
if (!result.ok) {
|
|
94391
94701
|
return {
|
|
94392
94702
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94401,9 +94711,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
94401
94711
|
|
|
94402
94712
|
// src/funcs/underwritingGet.ts
|
|
94403
94713
|
function underwritingGet(client, request, options) {
|
|
94404
|
-
return new APIPromise($
|
|
94714
|
+
return new APIPromise($do151(client, request, options));
|
|
94405
94715
|
}
|
|
94406
|
-
async function $
|
|
94716
|
+
async function $do151(client, request, options) {
|
|
94407
94717
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94408
94718
|
if (!parsed.ok) {
|
|
94409
94719
|
return [parsed, { status: "invalid" }];
|
|
@@ -94480,12 +94790,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
94480
94790
|
});
|
|
94481
94791
|
|
|
94482
94792
|
// src/mcp-server/tools/underwritingGet.ts
|
|
94483
|
-
var
|
|
94793
|
+
var args146, tool$underwritingGet;
|
|
94484
94794
|
var init_underwritingGet2 = __esm(() => {
|
|
94485
94795
|
init_underwritingGet();
|
|
94486
94796
|
init_operations();
|
|
94487
94797
|
init_tools();
|
|
94488
|
-
|
|
94798
|
+
args146 = {
|
|
94489
94799
|
request: GetUnderwritingRequest$inboundSchema
|
|
94490
94800
|
};
|
|
94491
94801
|
tool$underwritingGet = {
|
|
@@ -94496,9 +94806,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
94496
94806
|
|
|
94497
94807
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94498
94808
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
94499
|
-
args:
|
|
94500
|
-
tool: async (client,
|
|
94501
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
94809
|
+
args: args146,
|
|
94810
|
+
tool: async (client, args147, ctx) => {
|
|
94811
|
+
const [result, apiCall] = await underwritingGet(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94502
94812
|
if (!result.ok) {
|
|
94503
94813
|
return {
|
|
94504
94814
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94513,9 +94823,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
94513
94823
|
|
|
94514
94824
|
// src/funcs/underwritingUpsert.ts
|
|
94515
94825
|
function underwritingUpsert(client, request, options) {
|
|
94516
|
-
return new APIPromise($
|
|
94826
|
+
return new APIPromise($do152(client, request, options));
|
|
94517
94827
|
}
|
|
94518
|
-
async function $
|
|
94828
|
+
async function $do152(client, request, options) {
|
|
94519
94829
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94520
94830
|
if (!parsed.ok) {
|
|
94521
94831
|
return [parsed, { status: "invalid" }];
|
|
@@ -94610,12 +94920,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
94610
94920
|
});
|
|
94611
94921
|
|
|
94612
94922
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
94613
|
-
var
|
|
94923
|
+
var args147, tool$underwritingUpsert;
|
|
94614
94924
|
var init_underwritingUpsert2 = __esm(() => {
|
|
94615
94925
|
init_underwritingUpsert();
|
|
94616
94926
|
init_operations();
|
|
94617
94927
|
init_tools();
|
|
94618
|
-
|
|
94928
|
+
args147 = {
|
|
94619
94929
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
94620
94930
|
};
|
|
94621
94931
|
tool$underwritingUpsert = {
|
|
@@ -94626,9 +94936,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
94626
94936
|
|
|
94627
94937
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94628
94938
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
94629
|
-
args:
|
|
94630
|
-
tool: async (client,
|
|
94631
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
94939
|
+
args: args147,
|
|
94940
|
+
tool: async (client, args148, ctx) => {
|
|
94941
|
+
const [result, apiCall] = await underwritingUpsert(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94632
94942
|
if (!result.ok) {
|
|
94633
94943
|
return {
|
|
94634
94944
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94643,9 +94953,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
94643
94953
|
|
|
94644
94954
|
// src/funcs/walletsCreate.ts
|
|
94645
94955
|
function walletsCreate(client, request, options) {
|
|
94646
|
-
return new APIPromise($
|
|
94956
|
+
return new APIPromise($do153(client, request, options));
|
|
94647
94957
|
}
|
|
94648
|
-
async function $
|
|
94958
|
+
async function $do153(client, request, options) {
|
|
94649
94959
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94650
94960
|
if (!parsed.ok) {
|
|
94651
94961
|
return [parsed, { status: "invalid" }];
|
|
@@ -94738,12 +95048,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
94738
95048
|
});
|
|
94739
95049
|
|
|
94740
95050
|
// src/mcp-server/tools/walletsCreate.ts
|
|
94741
|
-
var
|
|
95051
|
+
var args148, tool$walletsCreate;
|
|
94742
95052
|
var init_walletsCreate2 = __esm(() => {
|
|
94743
95053
|
init_walletsCreate();
|
|
94744
95054
|
init_operations();
|
|
94745
95055
|
init_tools();
|
|
94746
|
-
|
|
95056
|
+
args148 = {
|
|
94747
95057
|
request: CreateWalletRequest$inboundSchema
|
|
94748
95058
|
};
|
|
94749
95059
|
tool$walletsCreate = {
|
|
@@ -94754,9 +95064,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
94754
95064
|
|
|
94755
95065
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94756
95066
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
94757
|
-
args:
|
|
94758
|
-
tool: async (client,
|
|
94759
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
95067
|
+
args: args148,
|
|
95068
|
+
tool: async (client, args149, ctx) => {
|
|
95069
|
+
const [result, apiCall] = await walletsCreate(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94760
95070
|
if (!result.ok) {
|
|
94761
95071
|
return {
|
|
94762
95072
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94771,9 +95081,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
94771
95081
|
|
|
94772
95082
|
// src/funcs/walletsGet.ts
|
|
94773
95083
|
function walletsGet(client, request, options) {
|
|
94774
|
-
return new APIPromise($
|
|
95084
|
+
return new APIPromise($do154(client, request, options));
|
|
94775
95085
|
}
|
|
94776
|
-
async function $
|
|
95086
|
+
async function $do154(client, request, options) {
|
|
94777
95087
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94778
95088
|
if (!parsed.ok) {
|
|
94779
95089
|
return [parsed, { status: "invalid" }];
|
|
@@ -94854,12 +95164,12 @@ var init_walletsGet = __esm(() => {
|
|
|
94854
95164
|
});
|
|
94855
95165
|
|
|
94856
95166
|
// src/mcp-server/tools/walletsGet.ts
|
|
94857
|
-
var
|
|
95167
|
+
var args149, tool$walletsGet;
|
|
94858
95168
|
var init_walletsGet2 = __esm(() => {
|
|
94859
95169
|
init_walletsGet();
|
|
94860
95170
|
init_operations();
|
|
94861
95171
|
init_tools();
|
|
94862
|
-
|
|
95172
|
+
args149 = {
|
|
94863
95173
|
request: GetWalletRequest$inboundSchema
|
|
94864
95174
|
};
|
|
94865
95175
|
tool$walletsGet = {
|
|
@@ -94870,9 +95180,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
94870
95180
|
|
|
94871
95181
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94872
95182
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
94873
|
-
args:
|
|
94874
|
-
tool: async (client,
|
|
94875
|
-
const [result, apiCall] = await walletsGet(client,
|
|
95183
|
+
args: args149,
|
|
95184
|
+
tool: async (client, args150, ctx) => {
|
|
95185
|
+
const [result, apiCall] = await walletsGet(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94876
95186
|
if (!result.ok) {
|
|
94877
95187
|
return {
|
|
94878
95188
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94887,9 +95197,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
94887
95197
|
|
|
94888
95198
|
// src/funcs/walletsList.ts
|
|
94889
95199
|
function walletsList(client, request, options) {
|
|
94890
|
-
return new APIPromise($
|
|
95200
|
+
return new APIPromise($do155(client, request, options));
|
|
94891
95201
|
}
|
|
94892
|
-
async function $
|
|
95202
|
+
async function $do155(client, request, options) {
|
|
94893
95203
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94894
95204
|
if (!parsed.ok) {
|
|
94895
95205
|
return [parsed, { status: "invalid" }];
|
|
@@ -94976,12 +95286,12 @@ var init_walletsList = __esm(() => {
|
|
|
94976
95286
|
});
|
|
94977
95287
|
|
|
94978
95288
|
// src/mcp-server/tools/walletsList.ts
|
|
94979
|
-
var
|
|
95289
|
+
var args150, tool$walletsList;
|
|
94980
95290
|
var init_walletsList2 = __esm(() => {
|
|
94981
95291
|
init_walletsList();
|
|
94982
95292
|
init_operations();
|
|
94983
95293
|
init_tools();
|
|
94984
|
-
|
|
95294
|
+
args150 = {
|
|
94985
95295
|
request: ListWalletsRequest$inboundSchema
|
|
94986
95296
|
};
|
|
94987
95297
|
tool$walletsList = {
|
|
@@ -94992,9 +95302,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
94992
95302
|
|
|
94993
95303
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94994
95304
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
94995
|
-
args:
|
|
94996
|
-
tool: async (client,
|
|
94997
|
-
const [result, apiCall] = await walletsList(client,
|
|
95305
|
+
args: args150,
|
|
95306
|
+
tool: async (client, args151, ctx) => {
|
|
95307
|
+
const [result, apiCall] = await walletsList(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94998
95308
|
if (!result.ok) {
|
|
94999
95309
|
return {
|
|
95000
95310
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95009,9 +95319,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
95009
95319
|
|
|
95010
95320
|
// src/funcs/walletsUpdate.ts
|
|
95011
95321
|
function walletsUpdate(client, request, options) {
|
|
95012
|
-
return new APIPromise($
|
|
95322
|
+
return new APIPromise($do156(client, request, options));
|
|
95013
95323
|
}
|
|
95014
|
-
async function $
|
|
95324
|
+
async function $do156(client, request, options) {
|
|
95015
95325
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95016
95326
|
if (!parsed.ok) {
|
|
95017
95327
|
return [parsed, { status: "invalid" }];
|
|
@@ -95108,12 +95418,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
95108
95418
|
});
|
|
95109
95419
|
|
|
95110
95420
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
95111
|
-
var
|
|
95421
|
+
var args151, tool$walletsUpdate;
|
|
95112
95422
|
var init_walletsUpdate2 = __esm(() => {
|
|
95113
95423
|
init_walletsUpdate();
|
|
95114
95424
|
init_operations();
|
|
95115
95425
|
init_tools();
|
|
95116
|
-
|
|
95426
|
+
args151 = {
|
|
95117
95427
|
request: UpdateWalletRequest$inboundSchema
|
|
95118
95428
|
};
|
|
95119
95429
|
tool$walletsUpdate = {
|
|
@@ -95124,9 +95434,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
95124
95434
|
|
|
95125
95435
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95126
95436
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
95127
|
-
args:
|
|
95128
|
-
tool: async (client,
|
|
95129
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
95437
|
+
args: args151,
|
|
95438
|
+
tool: async (client, args152, ctx) => {
|
|
95439
|
+
const [result, apiCall] = await walletsUpdate(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95130
95440
|
if (!result.ok) {
|
|
95131
95441
|
return {
|
|
95132
95442
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95141,9 +95451,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
95141
95451
|
|
|
95142
95452
|
// src/funcs/walletTransactionsGet.ts
|
|
95143
95453
|
function walletTransactionsGet(client, request, options) {
|
|
95144
|
-
return new APIPromise($
|
|
95454
|
+
return new APIPromise($do157(client, request, options));
|
|
95145
95455
|
}
|
|
95146
|
-
async function $
|
|
95456
|
+
async function $do157(client, request, options) {
|
|
95147
95457
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95148
95458
|
if (!parsed.ok) {
|
|
95149
95459
|
return [parsed, { status: "invalid" }];
|
|
@@ -95228,12 +95538,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
95228
95538
|
});
|
|
95229
95539
|
|
|
95230
95540
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
95231
|
-
var
|
|
95541
|
+
var args152, tool$walletTransactionsGet;
|
|
95232
95542
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
95233
95543
|
init_walletTransactionsGet();
|
|
95234
95544
|
init_operations();
|
|
95235
95545
|
init_tools();
|
|
95236
|
-
|
|
95546
|
+
args152 = {
|
|
95237
95547
|
request: GetWalletTransactionRequest$inboundSchema
|
|
95238
95548
|
};
|
|
95239
95549
|
tool$walletTransactionsGet = {
|
|
@@ -95244,9 +95554,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
95244
95554
|
|
|
95245
95555
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95246
95556
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
95247
|
-
args:
|
|
95248
|
-
tool: async (client,
|
|
95249
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
95557
|
+
args: args152,
|
|
95558
|
+
tool: async (client, args153, ctx) => {
|
|
95559
|
+
const [result, apiCall] = await walletTransactionsGet(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95250
95560
|
if (!result.ok) {
|
|
95251
95561
|
return {
|
|
95252
95562
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95261,9 +95571,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
95261
95571
|
|
|
95262
95572
|
// src/funcs/walletTransactionsList.ts
|
|
95263
95573
|
function walletTransactionsList(client, request, options) {
|
|
95264
|
-
return new APIPromise($
|
|
95574
|
+
return new APIPromise($do158(client, request, options));
|
|
95265
95575
|
}
|
|
95266
|
-
async function $
|
|
95576
|
+
async function $do158(client, request, options) {
|
|
95267
95577
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95268
95578
|
if (!parsed.ok) {
|
|
95269
95579
|
return [parsed, { status: "invalid" }];
|
|
@@ -95362,12 +95672,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
95362
95672
|
});
|
|
95363
95673
|
|
|
95364
95674
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
95365
|
-
var
|
|
95675
|
+
var args153, tool$walletTransactionsList;
|
|
95366
95676
|
var init_walletTransactionsList2 = __esm(() => {
|
|
95367
95677
|
init_walletTransactionsList();
|
|
95368
95678
|
init_operations();
|
|
95369
95679
|
init_tools();
|
|
95370
|
-
|
|
95680
|
+
args153 = {
|
|
95371
95681
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
95372
95682
|
};
|
|
95373
95683
|
tool$walletTransactionsList = {
|
|
@@ -95378,9 +95688,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
95378
95688
|
|
|
95379
95689
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95380
95690
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
95381
|
-
args:
|
|
95382
|
-
tool: async (client,
|
|
95383
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
95691
|
+
args: args153,
|
|
95692
|
+
tool: async (client, args154, ctx) => {
|
|
95693
|
+
const [result, apiCall] = await walletTransactionsList(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95384
95694
|
if (!result.ok) {
|
|
95385
95695
|
return {
|
|
95386
95696
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95395,9 +95705,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
95395
95705
|
|
|
95396
95706
|
// src/funcs/webhooksCreate.ts
|
|
95397
95707
|
function webhooksCreate(client, request, options) {
|
|
95398
|
-
return new APIPromise($
|
|
95708
|
+
return new APIPromise($do159(client, request, options));
|
|
95399
95709
|
}
|
|
95400
|
-
async function $
|
|
95710
|
+
async function $do159(client, request, options) {
|
|
95401
95711
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
95402
95712
|
if (!parsed.ok) {
|
|
95403
95713
|
return [parsed, { status: "invalid" }];
|
|
@@ -95485,20 +95795,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
95485
95795
|
});
|
|
95486
95796
|
|
|
95487
95797
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
95488
|
-
var
|
|
95798
|
+
var args154, tool$webhooksCreate;
|
|
95489
95799
|
var init_webhooksCreate2 = __esm(() => {
|
|
95490
95800
|
init_webhooksCreate();
|
|
95491
95801
|
init_components();
|
|
95492
95802
|
init_tools();
|
|
95493
|
-
|
|
95803
|
+
args154 = {
|
|
95494
95804
|
request: CreateWebhook$inboundSchema
|
|
95495
95805
|
};
|
|
95496
95806
|
tool$webhooksCreate = {
|
|
95497
95807
|
name: "webhooks-create",
|
|
95498
95808
|
description: `Create a new webhook for the account.`,
|
|
95499
|
-
args:
|
|
95500
|
-
tool: async (client,
|
|
95501
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
95809
|
+
args: args154,
|
|
95810
|
+
tool: async (client, args155, ctx) => {
|
|
95811
|
+
const [result, apiCall] = await webhooksCreate(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95502
95812
|
if (!result.ok) {
|
|
95503
95813
|
return {
|
|
95504
95814
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95513,9 +95823,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
95513
95823
|
|
|
95514
95824
|
// src/funcs/webhooksDisable.ts
|
|
95515
95825
|
function webhooksDisable(client, request, options) {
|
|
95516
|
-
return new APIPromise($
|
|
95826
|
+
return new APIPromise($do160(client, request, options));
|
|
95517
95827
|
}
|
|
95518
|
-
async function $
|
|
95828
|
+
async function $do160(client, request, options) {
|
|
95519
95829
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95520
95830
|
if (!parsed.ok) {
|
|
95521
95831
|
return [parsed, { status: "invalid" }];
|
|
@@ -95603,20 +95913,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
95603
95913
|
});
|
|
95604
95914
|
|
|
95605
95915
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
95606
|
-
var
|
|
95916
|
+
var args155, tool$webhooksDisable;
|
|
95607
95917
|
var init_webhooksDisable2 = __esm(() => {
|
|
95608
95918
|
init_webhooksDisable();
|
|
95609
95919
|
init_operations();
|
|
95610
95920
|
init_tools();
|
|
95611
|
-
|
|
95921
|
+
args155 = {
|
|
95612
95922
|
request: DisableWebhookRequest$inboundSchema
|
|
95613
95923
|
};
|
|
95614
95924
|
tool$webhooksDisable = {
|
|
95615
95925
|
name: "webhooks-disable",
|
|
95616
95926
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
95617
|
-
args:
|
|
95618
|
-
tool: async (client,
|
|
95619
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
95927
|
+
args: args155,
|
|
95928
|
+
tool: async (client, args156, ctx) => {
|
|
95929
|
+
const [result, apiCall] = await webhooksDisable(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95620
95930
|
if (!result.ok) {
|
|
95621
95931
|
return {
|
|
95622
95932
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95630,9 +95940,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
95630
95940
|
|
|
95631
95941
|
// src/funcs/webhooksGet.ts
|
|
95632
95942
|
function webhooksGet(client, request, options) {
|
|
95633
|
-
return new APIPromise($
|
|
95943
|
+
return new APIPromise($do161(client, request, options));
|
|
95634
95944
|
}
|
|
95635
|
-
async function $
|
|
95945
|
+
async function $do161(client, request, options) {
|
|
95636
95946
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95637
95947
|
if (!parsed.ok) {
|
|
95638
95948
|
return [parsed, { status: "invalid" }];
|
|
@@ -95709,20 +96019,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
95709
96019
|
});
|
|
95710
96020
|
|
|
95711
96021
|
// src/mcp-server/tools/webhooksGet.ts
|
|
95712
|
-
var
|
|
96022
|
+
var args156, tool$webhooksGet;
|
|
95713
96023
|
var init_webhooksGet2 = __esm(() => {
|
|
95714
96024
|
init_webhooksGet();
|
|
95715
96025
|
init_operations();
|
|
95716
96026
|
init_tools();
|
|
95717
|
-
|
|
96027
|
+
args156 = {
|
|
95718
96028
|
request: GetWebhookRequest$inboundSchema
|
|
95719
96029
|
};
|
|
95720
96030
|
tool$webhooksGet = {
|
|
95721
96031
|
name: "webhooks-get",
|
|
95722
96032
|
description: `Get details of a specific webhook.`,
|
|
95723
|
-
args:
|
|
95724
|
-
tool: async (client,
|
|
95725
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
96033
|
+
args: args156,
|
|
96034
|
+
tool: async (client, args157, ctx) => {
|
|
96035
|
+
const [result, apiCall] = await webhooksGet(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95726
96036
|
if (!result.ok) {
|
|
95727
96037
|
return {
|
|
95728
96038
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95737,9 +96047,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
95737
96047
|
|
|
95738
96048
|
// src/funcs/webhooksGetSecret.ts
|
|
95739
96049
|
function webhooksGetSecret(client, request, options) {
|
|
95740
|
-
return new APIPromise($
|
|
96050
|
+
return new APIPromise($do162(client, request, options));
|
|
95741
96051
|
}
|
|
95742
|
-
async function $
|
|
96052
|
+
async function $do162(client, request, options) {
|
|
95743
96053
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95744
96054
|
if (!parsed.ok) {
|
|
95745
96055
|
return [parsed, { status: "invalid" }];
|
|
@@ -95816,20 +96126,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
95816
96126
|
});
|
|
95817
96127
|
|
|
95818
96128
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
95819
|
-
var
|
|
96129
|
+
var args157, tool$webhooksGetSecret;
|
|
95820
96130
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
95821
96131
|
init_webhooksGetSecret();
|
|
95822
96132
|
init_operations();
|
|
95823
96133
|
init_tools();
|
|
95824
|
-
|
|
96134
|
+
args157 = {
|
|
95825
96135
|
request: GetWebhookSecretRequest$inboundSchema
|
|
95826
96136
|
};
|
|
95827
96137
|
tool$webhooksGetSecret = {
|
|
95828
96138
|
name: "webhooks-get-secret",
|
|
95829
96139
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
95830
|
-
args:
|
|
95831
|
-
tool: async (client,
|
|
95832
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
96140
|
+
args: args157,
|
|
96141
|
+
tool: async (client, args158, ctx) => {
|
|
96142
|
+
const [result, apiCall] = await webhooksGetSecret(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95833
96143
|
if (!result.ok) {
|
|
95834
96144
|
return {
|
|
95835
96145
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95844,9 +96154,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
95844
96154
|
|
|
95845
96155
|
// src/funcs/webhooksList.ts
|
|
95846
96156
|
function webhooksList(client, options) {
|
|
95847
|
-
return new APIPromise($
|
|
96157
|
+
return new APIPromise($do163(client, options));
|
|
95848
96158
|
}
|
|
95849
|
-
async function $
|
|
96159
|
+
async function $do163(client, options) {
|
|
95850
96160
|
const path = pathToFunc("/webhooks")();
|
|
95851
96161
|
const headers = new Headers(compactMap({
|
|
95852
96162
|
Accept: "application/json"
|
|
@@ -95931,9 +96241,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
95931
96241
|
|
|
95932
96242
|
// src/funcs/webhooksListEventTypes.ts
|
|
95933
96243
|
function webhooksListEventTypes(client, options) {
|
|
95934
|
-
return new APIPromise($
|
|
96244
|
+
return new APIPromise($do164(client, options));
|
|
95935
96245
|
}
|
|
95936
|
-
async function $
|
|
96246
|
+
async function $do164(client, options) {
|
|
95937
96247
|
const path = pathToFunc("/event-types")();
|
|
95938
96248
|
const headers = new Headers(compactMap({
|
|
95939
96249
|
Accept: "application/json"
|
|
@@ -96018,9 +96328,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
96018
96328
|
|
|
96019
96329
|
// src/funcs/webhooksPing.ts
|
|
96020
96330
|
function webhooksPing(client, request, options) {
|
|
96021
|
-
return new APIPromise($
|
|
96331
|
+
return new APIPromise($do165(client, request, options));
|
|
96022
96332
|
}
|
|
96023
|
-
async function $
|
|
96333
|
+
async function $do165(client, request, options) {
|
|
96024
96334
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96025
96335
|
if (!parsed.ok) {
|
|
96026
96336
|
return [parsed, { status: "invalid" }];
|
|
@@ -96097,20 +96407,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
96097
96407
|
});
|
|
96098
96408
|
|
|
96099
96409
|
// src/mcp-server/tools/webhooksPing.ts
|
|
96100
|
-
var
|
|
96410
|
+
var args158, tool$webhooksPing;
|
|
96101
96411
|
var init_webhooksPing2 = __esm(() => {
|
|
96102
96412
|
init_webhooksPing();
|
|
96103
96413
|
init_operations();
|
|
96104
96414
|
init_tools();
|
|
96105
|
-
|
|
96415
|
+
args158 = {
|
|
96106
96416
|
request: PingWebhookRequest$inboundSchema
|
|
96107
96417
|
};
|
|
96108
96418
|
tool$webhooksPing = {
|
|
96109
96419
|
name: "webhooks-ping",
|
|
96110
96420
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
96111
|
-
args:
|
|
96112
|
-
tool: async (client,
|
|
96113
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
96421
|
+
args: args158,
|
|
96422
|
+
tool: async (client, args159, ctx) => {
|
|
96423
|
+
const [result, apiCall] = await webhooksPing(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96114
96424
|
if (!result.ok) {
|
|
96115
96425
|
return {
|
|
96116
96426
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96125,9 +96435,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
96125
96435
|
|
|
96126
96436
|
// src/funcs/webhooksUpdate.ts
|
|
96127
96437
|
function webhooksUpdate(client, request, options) {
|
|
96128
|
-
return new APIPromise($
|
|
96438
|
+
return new APIPromise($do166(client, request, options));
|
|
96129
96439
|
}
|
|
96130
|
-
async function $
|
|
96440
|
+
async function $do166(client, request, options) {
|
|
96131
96441
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96132
96442
|
if (!parsed.ok) {
|
|
96133
96443
|
return [parsed, { status: "invalid" }];
|
|
@@ -96220,20 +96530,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
96220
96530
|
});
|
|
96221
96531
|
|
|
96222
96532
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
96223
|
-
var
|
|
96533
|
+
var args159, tool$webhooksUpdate;
|
|
96224
96534
|
var init_webhooksUpdate2 = __esm(() => {
|
|
96225
96535
|
init_webhooksUpdate();
|
|
96226
96536
|
init_operations();
|
|
96227
96537
|
init_tools();
|
|
96228
|
-
|
|
96538
|
+
args159 = {
|
|
96229
96539
|
request: UpdateWebhookRequest$inboundSchema
|
|
96230
96540
|
};
|
|
96231
96541
|
tool$webhooksUpdate = {
|
|
96232
96542
|
name: "webhooks-update",
|
|
96233
96543
|
description: `Update an existing webhook.`,
|
|
96234
|
-
args:
|
|
96235
|
-
tool: async (client,
|
|
96236
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
96544
|
+
args: args159,
|
|
96545
|
+
tool: async (client, args160, ctx) => {
|
|
96546
|
+
const [result, apiCall] = await webhooksUpdate(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96237
96547
|
if (!result.ok) {
|
|
96238
96548
|
return {
|
|
96239
96549
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96250,7 +96560,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
96250
96560
|
function createMCPServer(deps) {
|
|
96251
96561
|
const server = new McpServer({
|
|
96252
96562
|
name: "Moov",
|
|
96253
|
-
version: "24.2.
|
|
96563
|
+
version: "24.2.1"
|
|
96254
96564
|
});
|
|
96255
96565
|
const client = new MoovCore({
|
|
96256
96566
|
security: deps.security,
|
|
@@ -96373,6 +96683,7 @@ function createMCPServer(deps) {
|
|
|
96373
96683
|
tool(tool$transfersGenerateOptions);
|
|
96374
96684
|
tool(tool$transfersCreate);
|
|
96375
96685
|
tool(tool$transfersList);
|
|
96686
|
+
tool(tool$transfersBatchGetTransfers);
|
|
96376
96687
|
tool(tool$transfersGet);
|
|
96377
96688
|
tool(tool$transfersUpdate);
|
|
96378
96689
|
tool(tool$transfersCreateCancellation);
|
|
@@ -96574,6 +96885,7 @@ var init_server2 = __esm(() => {
|
|
|
96574
96885
|
init_terminalApplicationsDelete2();
|
|
96575
96886
|
init_terminalApplicationsGet2();
|
|
96576
96887
|
init_terminalApplicationsList2();
|
|
96888
|
+
init_transfersBatchGetTransfers2();
|
|
96577
96889
|
init_transfersCreate2();
|
|
96578
96890
|
init_transfersCreateCancellation2();
|
|
96579
96891
|
init_transfersCreateReversal2();
|
|
@@ -97793,7 +98105,7 @@ var routes = rn({
|
|
|
97793
98105
|
var app = Ve(routes, {
|
|
97794
98106
|
name: "mcp",
|
|
97795
98107
|
versionInfo: {
|
|
97796
|
-
currentVersion: "24.2.
|
|
98108
|
+
currentVersion: "24.2.1"
|
|
97797
98109
|
}
|
|
97798
98110
|
});
|
|
97799
98111
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -97801,5 +98113,5 @@ export {
|
|
|
97801
98113
|
app
|
|
97802
98114
|
};
|
|
97803
98115
|
|
|
97804
|
-
//# debugId=
|
|
98116
|
+
//# debugId=79588632C470057664756E2164756E21
|
|
97805
98117
|
//# sourceMappingURL=mcp-server.js.map
|