@moovio/sdk 25.5.0 → 25.5.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: "v2025.04.00",
|
|
52882
|
-
sdkVersion: "25.5.
|
|
52883
|
-
genVersion: "2.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 25.5.
|
|
52882
|
+
sdkVersion: "25.5.1",
|
|
52883
|
+
genVersion: "2.879.13",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 25.5.1 2.879.13 v2025.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) {
|
|
@@ -56638,6 +56670,18 @@ var init_bankaccountwaitfor = __esm(() => {
|
|
|
56638
56670
|
BankAccountWaitFor$outboundSchema = BankAccountWaitFor$inboundSchema;
|
|
56639
56671
|
});
|
|
56640
56672
|
|
|
56673
|
+
// src/models/components/batchgettransfersrequest.ts
|
|
56674
|
+
var BatchGetTransfersRequest$inboundSchema, BatchGetTransfersRequest$outboundSchema;
|
|
56675
|
+
var init_batchgettransfersrequest = __esm(() => {
|
|
56676
|
+
init_esm();
|
|
56677
|
+
BatchGetTransfersRequest$inboundSchema = objectType({
|
|
56678
|
+
transferIDs: arrayType(stringType())
|
|
56679
|
+
});
|
|
56680
|
+
BatchGetTransfersRequest$outboundSchema = objectType({
|
|
56681
|
+
transferIDs: arrayType(stringType())
|
|
56682
|
+
});
|
|
56683
|
+
});
|
|
56684
|
+
|
|
56641
56685
|
// src/models/components/feecategory.ts
|
|
56642
56686
|
var FeeCategory, FeeCategory$inboundSchema, FeeCategory$outboundSchema;
|
|
56643
56687
|
var init_feecategory = __esm(() => {
|
|
@@ -60818,6 +60862,84 @@ var init_moovfeedetails = __esm(() => {
|
|
|
60818
60862
|
});
|
|
60819
60863
|
});
|
|
60820
60864
|
|
|
60865
|
+
// src/models/components/instantbankfailurecode.ts
|
|
60866
|
+
var InstantBankFailureCode, InstantBankFailureCode$inboundSchema, InstantBankFailureCode$outboundSchema;
|
|
60867
|
+
var init_instantbankfailurecode = __esm(() => {
|
|
60868
|
+
init_esm();
|
|
60869
|
+
InstantBankFailureCode = {
|
|
60870
|
+
ProcessingError: "processing-error",
|
|
60871
|
+
InvalidAccount: "invalid-account",
|
|
60872
|
+
AccountClosed: "account-closed",
|
|
60873
|
+
AccountBlocked: "account-blocked",
|
|
60874
|
+
InvalidField: "invalid-field",
|
|
60875
|
+
TransactionNotSupported: "transaction-not-supported",
|
|
60876
|
+
LimitExceeded: "limit-exceeded",
|
|
60877
|
+
InvalidAmount: "invalid-amount",
|
|
60878
|
+
CustomerDeceased: "customer-deceased",
|
|
60879
|
+
ParticipantNotAvailable: "participant-not-available",
|
|
60880
|
+
Other: "other"
|
|
60881
|
+
};
|
|
60882
|
+
InstantBankFailureCode$inboundSchema = nativeEnumType(InstantBankFailureCode);
|
|
60883
|
+
InstantBankFailureCode$outboundSchema = InstantBankFailureCode$inboundSchema;
|
|
60884
|
+
});
|
|
60885
|
+
|
|
60886
|
+
// src/models/components/instantbanknetwork.ts
|
|
60887
|
+
var InstantBankNetwork, InstantBankNetwork$inboundSchema, InstantBankNetwork$outboundSchema;
|
|
60888
|
+
var init_instantbanknetwork = __esm(() => {
|
|
60889
|
+
init_esm();
|
|
60890
|
+
InstantBankNetwork = {
|
|
60891
|
+
Fednow: "fednow",
|
|
60892
|
+
Rtp: "rtp"
|
|
60893
|
+
};
|
|
60894
|
+
InstantBankNetwork$inboundSchema = nativeEnumType(InstantBankNetwork);
|
|
60895
|
+
InstantBankNetwork$outboundSchema = InstantBankNetwork$inboundSchema;
|
|
60896
|
+
});
|
|
60897
|
+
|
|
60898
|
+
// src/models/components/instantbanktransactionstatus.ts
|
|
60899
|
+
var InstantBankTransactionStatus, InstantBankTransactionStatus$inboundSchema, InstantBankTransactionStatus$outboundSchema;
|
|
60900
|
+
var init_instantbanktransactionstatus = __esm(() => {
|
|
60901
|
+
init_esm();
|
|
60902
|
+
InstantBankTransactionStatus = {
|
|
60903
|
+
Initiated: "initiated",
|
|
60904
|
+
Completed: "completed",
|
|
60905
|
+
Failed: "failed",
|
|
60906
|
+
AcceptedWithoutPosting: "accepted-without-posting"
|
|
60907
|
+
};
|
|
60908
|
+
InstantBankTransactionStatus$inboundSchema = nativeEnumType(InstantBankTransactionStatus);
|
|
60909
|
+
InstantBankTransactionStatus$outboundSchema = InstantBankTransactionStatus$inboundSchema;
|
|
60910
|
+
});
|
|
60911
|
+
|
|
60912
|
+
// src/models/components/instantbanktransactiondetails.ts
|
|
60913
|
+
var InstantBankTransactionDetails$inboundSchema, InstantBankTransactionDetails$outboundSchema;
|
|
60914
|
+
var init_instantbanktransactiondetails = __esm(() => {
|
|
60915
|
+
init_esm();
|
|
60916
|
+
init_instantbankfailurecode();
|
|
60917
|
+
init_instantbanknetwork();
|
|
60918
|
+
init_instantbanktransactionstatus();
|
|
60919
|
+
InstantBankTransactionDetails$inboundSchema = objectType({
|
|
60920
|
+
network: InstantBankNetwork$inboundSchema,
|
|
60921
|
+
status: InstantBankTransactionStatus$inboundSchema,
|
|
60922
|
+
networkResponseCode: stringType().optional(),
|
|
60923
|
+
failureCode: InstantBankFailureCode$inboundSchema.optional(),
|
|
60924
|
+
endToEndID: stringType().optional(),
|
|
60925
|
+
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60926
|
+
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60927
|
+
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60928
|
+
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
60929
|
+
});
|
|
60930
|
+
InstantBankTransactionDetails$outboundSchema = objectType({
|
|
60931
|
+
network: InstantBankNetwork$outboundSchema,
|
|
60932
|
+
status: InstantBankTransactionStatus$outboundSchema,
|
|
60933
|
+
networkResponseCode: stringType().optional(),
|
|
60934
|
+
failureCode: InstantBankFailureCode$outboundSchema.optional(),
|
|
60935
|
+
endToEndID: stringType().optional(),
|
|
60936
|
+
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60937
|
+
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60938
|
+
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60939
|
+
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
60940
|
+
});
|
|
60941
|
+
});
|
|
60942
|
+
|
|
60821
60943
|
// src/models/components/rtpfailurecode.ts
|
|
60822
60944
|
var RTPFailureCode, RTPFailureCode$inboundSchema, RTPFailureCode$outboundSchema;
|
|
60823
60945
|
var init_rtpfailurecode = __esm(() => {
|
|
@@ -60925,6 +61047,7 @@ var init_transferdestination = __esm(() => {
|
|
|
60925
61047
|
init_achtransactiondetails();
|
|
60926
61048
|
init_applepayresponse();
|
|
60927
61049
|
init_cardtransactiondetails();
|
|
61050
|
+
init_instantbanktransactiondetails();
|
|
60928
61051
|
init_rtpfailurecode();
|
|
60929
61052
|
init_rtptransactionstatus();
|
|
60930
61053
|
init_transferaccount();
|
|
@@ -60960,7 +61083,8 @@ var init_transferdestination = __esm(() => {
|
|
|
60960
61083
|
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
60961
61084
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
60962
61085
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
60963
|
-
rtpDetails: lazyType(() => RtpDetails$inboundSchema).optional()
|
|
61086
|
+
rtpDetails: lazyType(() => RtpDetails$inboundSchema).optional(),
|
|
61087
|
+
instantBankDetails: InstantBankTransactionDetails$inboundSchema.optional()
|
|
60964
61088
|
});
|
|
60965
61089
|
TransferDestination$outboundSchema = objectType({
|
|
60966
61090
|
paymentMethodID: stringType(),
|
|
@@ -60972,7 +61096,8 @@ var init_transferdestination = __esm(() => {
|
|
|
60972
61096
|
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
60973
61097
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
60974
61098
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
60975
|
-
rtpDetails: lazyType(() => RtpDetails$outboundSchema).optional()
|
|
61099
|
+
rtpDetails: lazyType(() => RtpDetails$outboundSchema).optional(),
|
|
61100
|
+
instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional()
|
|
60976
61101
|
});
|
|
60977
61102
|
});
|
|
60978
61103
|
|
|
@@ -61203,7 +61328,7 @@ var init_createdtransfer = __esm(() => {
|
|
|
61203
61328
|
});
|
|
61204
61329
|
|
|
61205
61330
|
// src/types/blobs.ts
|
|
61206
|
-
function
|
|
61331
|
+
function isBlobLike2(val) {
|
|
61207
61332
|
if (val instanceof Blob) {
|
|
61208
61333
|
return true;
|
|
61209
61334
|
}
|
|
@@ -61222,7 +61347,7 @@ function isBlobLike(val) {
|
|
|
61222
61347
|
var blobLikeSchema;
|
|
61223
61348
|
var init_blobs = __esm(() => {
|
|
61224
61349
|
init_esm();
|
|
61225
|
-
blobLikeSchema = custom(
|
|
61350
|
+
blobLikeSchema = custom(isBlobLike2, {
|
|
61226
61351
|
message: "expected a Blob, File or Blob-like object",
|
|
61227
61352
|
fatal: true
|
|
61228
61353
|
});
|
|
@@ -66636,9 +66761,11 @@ var WebhookBillingStatementCreated$inboundSchema, WebhookBillingStatementCreated
|
|
|
66636
66761
|
var init_webhookbillingstatementcreated = __esm(() => {
|
|
66637
66762
|
init_esm();
|
|
66638
66763
|
WebhookBillingStatementCreated$inboundSchema = objectType({
|
|
66764
|
+
accountID: stringType(),
|
|
66639
66765
|
statementID: stringType()
|
|
66640
66766
|
});
|
|
66641
66767
|
WebhookBillingStatementCreated$outboundSchema = objectType({
|
|
66768
|
+
accountID: stringType(),
|
|
66642
66769
|
statementID: stringType()
|
|
66643
66770
|
});
|
|
66644
66771
|
});
|
|
@@ -67380,11 +67507,11 @@ var init_webhookdata = __esm(() => {
|
|
|
67380
67507
|
WebhookDataTicketCreated$inboundSchema,
|
|
67381
67508
|
WebhookDataTicketMessageAdded$inboundSchema,
|
|
67382
67509
|
WebhookDataWalletCreated$inboundSchema,
|
|
67510
|
+
WebhookBillingStatementCreated$inboundSchema,
|
|
67383
67511
|
WebhookDataAccountCreated$inboundSchema,
|
|
67384
67512
|
WebhookDataAccountUpdated$inboundSchema,
|
|
67385
67513
|
WebhookDataAccountDisconnected$inboundSchema,
|
|
67386
|
-
WebhookDataNetworkIDUpdated$inboundSchema
|
|
67387
|
-
WebhookBillingStatementCreated$inboundSchema
|
|
67514
|
+
WebhookDataNetworkIDUpdated$inboundSchema
|
|
67388
67515
|
]);
|
|
67389
67516
|
WebhookData$outboundSchema = unionType([
|
|
67390
67517
|
WebhookDataDisputeCreated$outboundSchema,
|
|
@@ -67419,11 +67546,11 @@ var init_webhookdata = __esm(() => {
|
|
|
67419
67546
|
WebhookDataTicketCreated$outboundSchema,
|
|
67420
67547
|
WebhookDataTicketMessageAdded$outboundSchema,
|
|
67421
67548
|
WebhookDataWalletCreated$outboundSchema,
|
|
67549
|
+
WebhookBillingStatementCreated$outboundSchema,
|
|
67422
67550
|
WebhookDataAccountCreated$outboundSchema,
|
|
67423
67551
|
WebhookDataAccountUpdated$outboundSchema,
|
|
67424
67552
|
WebhookDataAccountDisconnected$outboundSchema,
|
|
67425
|
-
WebhookDataNetworkIDUpdated$outboundSchema
|
|
67426
|
-
WebhookBillingStatementCreated$outboundSchema
|
|
67553
|
+
WebhookDataNetworkIDUpdated$outboundSchema
|
|
67427
67554
|
]);
|
|
67428
67555
|
});
|
|
67429
67556
|
|
|
@@ -67527,6 +67654,7 @@ var init_components = __esm(() => {
|
|
|
67527
67654
|
init_bankaccountverificationstatus();
|
|
67528
67655
|
init_bankaccountwaitfor();
|
|
67529
67656
|
init_basicpaymentmethod();
|
|
67657
|
+
init_batchgettransfersrequest();
|
|
67530
67658
|
init_billablefee();
|
|
67531
67659
|
init_billingcountandamount();
|
|
67532
67660
|
init_billinginterchangeprogramfee();
|
|
@@ -67696,6 +67824,10 @@ var init_components = __esm(() => {
|
|
|
67696
67824
|
init_individualnameupdate();
|
|
67697
67825
|
init_individualprofile();
|
|
67698
67826
|
init_industrycodes();
|
|
67827
|
+
init_instantbankfailurecode();
|
|
67828
|
+
init_instantbanknetwork();
|
|
67829
|
+
init_instantbanktransactiondetails();
|
|
67830
|
+
init_instantbanktransactionstatus();
|
|
67699
67831
|
init_instantpaymentfees();
|
|
67700
67832
|
init_institutionssearchresponse();
|
|
67701
67833
|
init_invoicestatus();
|
|
@@ -70454,6 +70586,48 @@ var init_assignaccountcountries = __esm(() => {
|
|
|
70454
70586
|
});
|
|
70455
70587
|
});
|
|
70456
70588
|
|
|
70589
|
+
// src/models/operations/batchgettransfers.ts
|
|
70590
|
+
var BatchGetTransfersRequest$inboundSchema2, BatchGetTransfersRequest$outboundSchema2, BatchGetTransfersResponse$inboundSchema, BatchGetTransfersResponse$outboundSchema;
|
|
70591
|
+
var init_batchgettransfers = __esm(() => {
|
|
70592
|
+
init_esm();
|
|
70593
|
+
init_primitives();
|
|
70594
|
+
init_components();
|
|
70595
|
+
BatchGetTransfersRequest$inboundSchema2 = objectType({
|
|
70596
|
+
accountID: stringType(),
|
|
70597
|
+
BatchGetTransfersRequest: BatchGetTransfersRequest$inboundSchema
|
|
70598
|
+
}).transform((v2) => {
|
|
70599
|
+
return remap(v2, {
|
|
70600
|
+
BatchGetTransfersRequest: "batchGetTransfersRequest"
|
|
70601
|
+
});
|
|
70602
|
+
});
|
|
70603
|
+
BatchGetTransfersRequest$outboundSchema2 = objectType({
|
|
70604
|
+
accountID: stringType(),
|
|
70605
|
+
batchGetTransfersRequest: BatchGetTransfersRequest$outboundSchema
|
|
70606
|
+
}).transform((v2) => {
|
|
70607
|
+
return remap(v2, {
|
|
70608
|
+
batchGetTransfersRequest: "BatchGetTransfersRequest"
|
|
70609
|
+
});
|
|
70610
|
+
});
|
|
70611
|
+
BatchGetTransfersResponse$inboundSchema = objectType({
|
|
70612
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
70613
|
+
Result: recordType(Transfer$inboundSchema)
|
|
70614
|
+
}).transform((v2) => {
|
|
70615
|
+
return remap(v2, {
|
|
70616
|
+
Headers: "headers",
|
|
70617
|
+
Result: "result"
|
|
70618
|
+
});
|
|
70619
|
+
});
|
|
70620
|
+
BatchGetTransfersResponse$outboundSchema = objectType({
|
|
70621
|
+
headers: recordType(arrayType(stringType())),
|
|
70622
|
+
result: recordType(Transfer$outboundSchema)
|
|
70623
|
+
}).transform((v2) => {
|
|
70624
|
+
return remap(v2, {
|
|
70625
|
+
headers: "Headers",
|
|
70626
|
+
result: "Result"
|
|
70627
|
+
});
|
|
70628
|
+
});
|
|
70629
|
+
});
|
|
70630
|
+
|
|
70457
70631
|
// src/models/operations/cancelschedule.ts
|
|
70458
70632
|
var CancelScheduleRequest$inboundSchema, CancelScheduleRequest$outboundSchema, CancelScheduleResponse$inboundSchema, CancelScheduleResponse$outboundSchema;
|
|
70459
70633
|
var init_cancelschedule = __esm(() => {
|
|
@@ -75914,17 +76088,21 @@ var init_updateissuedcard2 = __esm(() => {
|
|
|
75914
76088
|
});
|
|
75915
76089
|
});
|
|
75916
76090
|
UpdateIssuedCardResponse$inboundSchema = objectType({
|
|
75917
|
-
Headers: recordType(arrayType(stringType())).default({})
|
|
76091
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
76092
|
+
Result: IssuedCard$inboundSchema
|
|
75918
76093
|
}).transform((v2) => {
|
|
75919
76094
|
return remap(v2, {
|
|
75920
|
-
Headers: "headers"
|
|
76095
|
+
Headers: "headers",
|
|
76096
|
+
Result: "result"
|
|
75921
76097
|
});
|
|
75922
76098
|
});
|
|
75923
76099
|
UpdateIssuedCardResponse$outboundSchema = objectType({
|
|
75924
|
-
headers: recordType(arrayType(stringType()))
|
|
76100
|
+
headers: recordType(arrayType(stringType())),
|
|
76101
|
+
result: IssuedCard$outboundSchema
|
|
75925
76102
|
}).transform((v2) => {
|
|
75926
76103
|
return remap(v2, {
|
|
75927
|
-
headers: "Headers"
|
|
76104
|
+
headers: "Headers",
|
|
76105
|
+
result: "Result"
|
|
75928
76106
|
});
|
|
75929
76107
|
});
|
|
75930
76108
|
});
|
|
@@ -76539,6 +76717,7 @@ var init_upsertunderwriting = __esm(() => {
|
|
|
76539
76717
|
var init_operations = __esm(() => {
|
|
76540
76718
|
init_acceptdispute();
|
|
76541
76719
|
init_assignaccountcountries();
|
|
76720
|
+
init_batchgettransfers();
|
|
76542
76721
|
init_cancelschedule();
|
|
76543
76722
|
init_completebankaccountverification2();
|
|
76544
76723
|
init_completemicrodeposits2();
|
|
@@ -79072,12 +79251,12 @@ var init_applePayLinkToken2 = __esm(() => {
|
|
|
79072
79251
|
};
|
|
79073
79252
|
tool$applePayLinkToken = {
|
|
79074
79253
|
name: "apple-pay-link-token",
|
|
79075
|
-
description: `Connect an Apple Pay token to the specified account.
|
|
79254
|
+
description: `Connect an Apple Pay token to the specified account.
|
|
79076
79255
|
|
|
79077
|
-
Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more.
|
|
79256
|
+
Read our [Apple Pay tutorial](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains) to learn more.
|
|
79078
79257
|
The \`token\` data is defined by Apple Pay and should be passed through from Apple Pay's response unmodified.
|
|
79079
79258
|
|
|
79080
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79259
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79081
79260
|
you'll need to specify the \`/accounts/{accountID}/cards.write\` scope.`,
|
|
79082
79261
|
args: args20,
|
|
79083
79262
|
tool: async (client, args21, ctx) => {
|
|
@@ -82196,8 +82375,9 @@ async function $do46(client, request, options) {
|
|
|
82196
82375
|
const responseFields = {
|
|
82197
82376
|
HttpMeta: { Response: response, Request: req }
|
|
82198
82377
|
};
|
|
82199
|
-
const [result] = await match(
|
|
82200
|
-
hdrs: true
|
|
82378
|
+
const [result] = await match(json(200, UpdateIssuedCardResponse$inboundSchema, {
|
|
82379
|
+
hdrs: true,
|
|
82380
|
+
key: "Result"
|
|
82201
82381
|
}), 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 });
|
|
82202
82382
|
if (!result.ok) {
|
|
82203
82383
|
return [result, { status: "complete", request: req, response }];
|
|
@@ -82240,7 +82420,8 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.write\` scope.`,
|
|
|
82240
82420
|
isError: true
|
|
82241
82421
|
};
|
|
82242
82422
|
}
|
|
82243
|
-
|
|
82423
|
+
const value = result.value.result;
|
|
82424
|
+
return formatResult(value, apiCall);
|
|
82244
82425
|
}
|
|
82245
82426
|
};
|
|
82246
82427
|
});
|
|
@@ -84070,8 +84251,11 @@ async function $do61(client, request, options) {
|
|
|
84070
84251
|
const payload = parsed.value;
|
|
84071
84252
|
const body = new FormData;
|
|
84072
84253
|
appendForm(body, "evidenceType", payload.CreateEvidenceFileMultiPart.evidenceType);
|
|
84073
|
-
if (
|
|
84074
|
-
|
|
84254
|
+
if (isBlobLike2(payload.CreateEvidenceFileMultiPart.file)) {
|
|
84255
|
+
const file = payload.CreateEvidenceFileMultiPart.file;
|
|
84256
|
+
const blob = await normalizeBlob(file);
|
|
84257
|
+
const name = "name" in file ? file.name : undefined;
|
|
84258
|
+
appendForm(body, "file", blob, name);
|
|
84075
84259
|
} else if (isReadableStream(payload.CreateEvidenceFileMultiPart.file.content)) {
|
|
84076
84260
|
const buffer = await readableStreamToArrayBuffer(payload.CreateEvidenceFileMultiPart.file.content);
|
|
84077
84261
|
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
@@ -86167,8 +86351,11 @@ async function $do79(client, request, options) {
|
|
|
86167
86351
|
}
|
|
86168
86352
|
const payload = parsed.value;
|
|
86169
86353
|
const body = new FormData;
|
|
86170
|
-
if (
|
|
86171
|
-
|
|
86354
|
+
if (isBlobLike2(payload.FileUploadRequestMultiPart.file)) {
|
|
86355
|
+
const file = payload.FileUploadRequestMultiPart.file;
|
|
86356
|
+
const blob = await normalizeBlob(file);
|
|
86357
|
+
const name = "name" in file ? file.name : undefined;
|
|
86358
|
+
appendForm(body, "file", blob, name);
|
|
86172
86359
|
} else if (isReadableStream(payload.FileUploadRequestMultiPart.file.content)) {
|
|
86173
86360
|
const buffer = await readableStreamToArrayBuffer(payload.FileUploadRequestMultiPart.file.content);
|
|
86174
86361
|
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
@@ -86777,8 +86964,11 @@ async function $do84(client, request, options) {
|
|
|
86777
86964
|
}
|
|
86778
86965
|
const payload = parsed.value;
|
|
86779
86966
|
const body = new FormData;
|
|
86780
|
-
if (
|
|
86781
|
-
|
|
86967
|
+
if (isBlobLike2(payload.ImageUploadRequestMultiPart.image)) {
|
|
86968
|
+
const file = payload.ImageUploadRequestMultiPart.image;
|
|
86969
|
+
const blob = await normalizeBlob(file);
|
|
86970
|
+
const name = "name" in file ? file.name : undefined;
|
|
86971
|
+
appendForm(body, "image", blob, name);
|
|
86782
86972
|
} else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
|
|
86783
86973
|
const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
|
|
86784
86974
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
@@ -87051,8 +87241,11 @@ async function $do86(client, request, options) {
|
|
|
87051
87241
|
}
|
|
87052
87242
|
const payload = parsed.value;
|
|
87053
87243
|
const body = new FormData;
|
|
87054
|
-
if (
|
|
87055
|
-
|
|
87244
|
+
if (isBlobLike2(payload.ImageUploadRequestMultiPart.image)) {
|
|
87245
|
+
const file = payload.ImageUploadRequestMultiPart.image;
|
|
87246
|
+
const blob = await normalizeBlob(file);
|
|
87247
|
+
const name = "name" in file ? file.name : undefined;
|
|
87248
|
+
appendForm(body, "image", blob, name);
|
|
87056
87249
|
} else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
|
|
87057
87250
|
const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
|
|
87058
87251
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
@@ -93203,11 +93396,128 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
93203
93396
|
};
|
|
93204
93397
|
});
|
|
93205
93398
|
|
|
93206
|
-
// src/funcs/
|
|
93207
|
-
function
|
|
93399
|
+
// src/funcs/transfersBatchGetTransfers.ts
|
|
93400
|
+
function transfersBatchGetTransfers(client, request, options) {
|
|
93208
93401
|
return new APIPromise($do139(client, request, options));
|
|
93209
93402
|
}
|
|
93210
93403
|
async function $do139(client, request, options) {
|
|
93404
|
+
const parsed = safeParse4(request, (value) => BatchGetTransfersRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
93405
|
+
if (!parsed.ok) {
|
|
93406
|
+
return [parsed, { status: "invalid" }];
|
|
93407
|
+
}
|
|
93408
|
+
const payload = parsed.value;
|
|
93409
|
+
const body = encodeJSON("body", payload.BatchGetTransfersRequest, {
|
|
93410
|
+
explode: true
|
|
93411
|
+
});
|
|
93412
|
+
const pathParams = {
|
|
93413
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
93414
|
+
explode: false,
|
|
93415
|
+
charEncoding: "percent"
|
|
93416
|
+
})
|
|
93417
|
+
};
|
|
93418
|
+
const path = pathToFunc("/accounts/{accountID}/transfers/.fetch")(pathParams);
|
|
93419
|
+
const headers = new Headers(compactMap({
|
|
93420
|
+
"Content-Type": "application/json",
|
|
93421
|
+
Accept: "application/json"
|
|
93422
|
+
}));
|
|
93423
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
93424
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
93425
|
+
const context = {
|
|
93426
|
+
options: client._options,
|
|
93427
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
93428
|
+
operationID: "batchGetTransfers",
|
|
93429
|
+
oAuth2Scopes: null,
|
|
93430
|
+
resolvedSecurity: requestSecurity,
|
|
93431
|
+
securitySource: client._options.security,
|
|
93432
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
93433
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
93434
|
+
};
|
|
93435
|
+
const requestRes = client._createRequest(context, {
|
|
93436
|
+
security: requestSecurity,
|
|
93437
|
+
method: "POST",
|
|
93438
|
+
baseURL: options?.serverURL,
|
|
93439
|
+
path,
|
|
93440
|
+
headers,
|
|
93441
|
+
body,
|
|
93442
|
+
userAgent: client._options.userAgent,
|
|
93443
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
93444
|
+
}, options);
|
|
93445
|
+
if (!requestRes.ok) {
|
|
93446
|
+
return [requestRes, { status: "invalid" }];
|
|
93447
|
+
}
|
|
93448
|
+
const req = requestRes.value;
|
|
93449
|
+
const doResult = await client._do(req, {
|
|
93450
|
+
context,
|
|
93451
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
93452
|
+
retryConfig: context.retryConfig,
|
|
93453
|
+
retryCodes: context.retryCodes
|
|
93454
|
+
});
|
|
93455
|
+
if (!doResult.ok) {
|
|
93456
|
+
return [doResult, { status: "request-error", request: req }];
|
|
93457
|
+
}
|
|
93458
|
+
const response = doResult.value;
|
|
93459
|
+
const responseFields = {
|
|
93460
|
+
HttpMeta: { Response: response, Request: req }
|
|
93461
|
+
};
|
|
93462
|
+
const [result] = await match(json(200, BatchGetTransfersResponse$inboundSchema, {
|
|
93463
|
+
hdrs: true,
|
|
93464
|
+
key: "Result"
|
|
93465
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
93466
|
+
if (!result.ok) {
|
|
93467
|
+
return [result, { status: "complete", request: req, response }];
|
|
93468
|
+
}
|
|
93469
|
+
return [result, { status: "complete", request: req, response }];
|
|
93470
|
+
}
|
|
93471
|
+
var init_transfersBatchGetTransfers = __esm(() => {
|
|
93472
|
+
init_encodings();
|
|
93473
|
+
init_matchers();
|
|
93474
|
+
init_primitives();
|
|
93475
|
+
init_schemas4();
|
|
93476
|
+
init_security();
|
|
93477
|
+
init_url();
|
|
93478
|
+
init_operations();
|
|
93479
|
+
init_async();
|
|
93480
|
+
});
|
|
93481
|
+
|
|
93482
|
+
// src/mcp-server/tools/transfersBatchGetTransfers.ts
|
|
93483
|
+
var args134, tool$transfersBatchGetTransfers;
|
|
93484
|
+
var init_transfersBatchGetTransfers2 = __esm(() => {
|
|
93485
|
+
init_transfersBatchGetTransfers();
|
|
93486
|
+
init_operations();
|
|
93487
|
+
init_tools();
|
|
93488
|
+
args134 = {
|
|
93489
|
+
request: BatchGetTransfersRequest$inboundSchema2
|
|
93490
|
+
};
|
|
93491
|
+
tool$transfersBatchGetTransfers = {
|
|
93492
|
+
name: "transfers-batch-get-transfers",
|
|
93493
|
+
description: `Retrieve transfer details for multiple transfers in one request. The response is a map from each
|
|
93494
|
+
requested transfer ID to its full transfer details when available; IDs that are not found or not
|
|
93495
|
+
accessible under this account are omitted from the map.
|
|
93496
|
+
|
|
93497
|
+
Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
93498
|
+
|
|
93499
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93500
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
93501
|
+
args: args134,
|
|
93502
|
+
tool: async (client, args135, ctx) => {
|
|
93503
|
+
const [result, apiCall] = await transfersBatchGetTransfers(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93504
|
+
if (!result.ok) {
|
|
93505
|
+
return {
|
|
93506
|
+
content: [{ type: "text", text: result.error.message }],
|
|
93507
|
+
isError: true
|
|
93508
|
+
};
|
|
93509
|
+
}
|
|
93510
|
+
const value = result.value.result;
|
|
93511
|
+
return formatResult(value, apiCall);
|
|
93512
|
+
}
|
|
93513
|
+
};
|
|
93514
|
+
});
|
|
93515
|
+
|
|
93516
|
+
// src/funcs/transfersCreate.ts
|
|
93517
|
+
function transfersCreate(client, request, options) {
|
|
93518
|
+
return new APIPromise($do140(client, request, options));
|
|
93519
|
+
}
|
|
93520
|
+
async function $do140(client, request, options) {
|
|
93211
93521
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93212
93522
|
if (!parsed.ok) {
|
|
93213
93523
|
return [parsed, { status: "invalid" }];
|
|
@@ -93299,12 +93609,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
93299
93609
|
});
|
|
93300
93610
|
|
|
93301
93611
|
// src/mcp-server/tools/transfersCreate.ts
|
|
93302
|
-
var
|
|
93612
|
+
var args135, tool$transfersCreate;
|
|
93303
93613
|
var init_transfersCreate2 = __esm(() => {
|
|
93304
93614
|
init_transfersCreate();
|
|
93305
93615
|
init_operations();
|
|
93306
93616
|
init_tools();
|
|
93307
|
-
|
|
93617
|
+
args135 = {
|
|
93308
93618
|
request: CreateTransferRequest$inboundSchema
|
|
93309
93619
|
};
|
|
93310
93620
|
tool$transfersCreate = {
|
|
@@ -93315,9 +93625,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
93315
93625
|
|
|
93316
93626
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93317
93627
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
93318
|
-
args:
|
|
93319
|
-
tool: async (client,
|
|
93320
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
93628
|
+
args: args135,
|
|
93629
|
+
tool: async (client, args136, ctx) => {
|
|
93630
|
+
const [result, apiCall] = await transfersCreate(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93321
93631
|
if (!result.ok) {
|
|
93322
93632
|
return {
|
|
93323
93633
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93332,9 +93642,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
93332
93642
|
|
|
93333
93643
|
// src/funcs/transfersCreateCancellation.ts
|
|
93334
93644
|
function transfersCreateCancellation(client, request, options) {
|
|
93335
|
-
return new APIPromise($
|
|
93645
|
+
return new APIPromise($do141(client, request, options));
|
|
93336
93646
|
}
|
|
93337
|
-
async function $
|
|
93647
|
+
async function $do141(client, request, options) {
|
|
93338
93648
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93339
93649
|
if (!parsed.ok) {
|
|
93340
93650
|
return [parsed, { status: "invalid" }];
|
|
@@ -93416,12 +93726,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
93416
93726
|
});
|
|
93417
93727
|
|
|
93418
93728
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
93419
|
-
var
|
|
93729
|
+
var args136, tool$transfersCreateCancellation;
|
|
93420
93730
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
93421
93731
|
init_transfersCreateCancellation();
|
|
93422
93732
|
init_operations();
|
|
93423
93733
|
init_tools();
|
|
93424
|
-
|
|
93734
|
+
args136 = {
|
|
93425
93735
|
request: CreateCancellationRequest$inboundSchema
|
|
93426
93736
|
};
|
|
93427
93737
|
tool$transfersCreateCancellation = {
|
|
@@ -93430,9 +93740,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
93430
93740
|
|
|
93431
93741
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
93432
93742
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
93433
|
-
args:
|
|
93434
|
-
tool: async (client,
|
|
93435
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
93743
|
+
args: args136,
|
|
93744
|
+
tool: async (client, args137, ctx) => {
|
|
93745
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93436
93746
|
if (!result.ok) {
|
|
93437
93747
|
return {
|
|
93438
93748
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93447,9 +93757,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
93447
93757
|
|
|
93448
93758
|
// src/funcs/transfersCreateReversal.ts
|
|
93449
93759
|
function transfersCreateReversal(client, request, options) {
|
|
93450
|
-
return new APIPromise($
|
|
93760
|
+
return new APIPromise($do142(client, request, options));
|
|
93451
93761
|
}
|
|
93452
|
-
async function $
|
|
93762
|
+
async function $do142(client, request, options) {
|
|
93453
93763
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93454
93764
|
if (!parsed.ok) {
|
|
93455
93765
|
return [parsed, { status: "invalid" }];
|
|
@@ -93547,12 +93857,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
93547
93857
|
});
|
|
93548
93858
|
|
|
93549
93859
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
93550
|
-
var
|
|
93860
|
+
var args137, tool$transfersCreateReversal;
|
|
93551
93861
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
93552
93862
|
init_transfersCreateReversal();
|
|
93553
93863
|
init_operations();
|
|
93554
93864
|
init_tools();
|
|
93555
|
-
|
|
93865
|
+
args137 = {
|
|
93556
93866
|
request: CreateReversalRequest$inboundSchema
|
|
93557
93867
|
};
|
|
93558
93868
|
tool$transfersCreateReversal = {
|
|
@@ -93563,9 +93873,9 @@ to learn more.
|
|
|
93563
93873
|
|
|
93564
93874
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
93565
93875
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
93566
|
-
args:
|
|
93567
|
-
tool: async (client,
|
|
93568
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
93876
|
+
args: args137,
|
|
93877
|
+
tool: async (client, args138, ctx) => {
|
|
93878
|
+
const [result, apiCall] = await transfersCreateReversal(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93569
93879
|
if (!result.ok) {
|
|
93570
93880
|
return {
|
|
93571
93881
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93580,9 +93890,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
93580
93890
|
|
|
93581
93891
|
// src/funcs/transfersGenerateOptions.ts
|
|
93582
93892
|
function transfersGenerateOptions(client, request, options) {
|
|
93583
|
-
return new APIPromise($
|
|
93893
|
+
return new APIPromise($do143(client, request, options));
|
|
93584
93894
|
}
|
|
93585
|
-
async function $
|
|
93895
|
+
async function $do143(client, request, options) {
|
|
93586
93896
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93587
93897
|
if (!parsed.ok) {
|
|
93588
93898
|
return [parsed, { status: "invalid" }];
|
|
@@ -93665,12 +93975,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
93665
93975
|
});
|
|
93666
93976
|
|
|
93667
93977
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
93668
|
-
var
|
|
93978
|
+
var args138, tool$transfersGenerateOptions;
|
|
93669
93979
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
93670
93980
|
init_transfersGenerateOptions();
|
|
93671
93981
|
init_operations();
|
|
93672
93982
|
init_tools();
|
|
93673
|
-
|
|
93983
|
+
args138 = {
|
|
93674
93984
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
93675
93985
|
};
|
|
93676
93986
|
tool$transfersGenerateOptions = {
|
|
@@ -93684,9 +93994,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
93684
93994
|
|
|
93685
93995
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93686
93996
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
93687
|
-
args:
|
|
93688
|
-
tool: async (client,
|
|
93689
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
93997
|
+
args: args138,
|
|
93998
|
+
tool: async (client, args139, ctx) => {
|
|
93999
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93690
94000
|
if (!result.ok) {
|
|
93691
94001
|
return {
|
|
93692
94002
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93701,9 +94011,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
93701
94011
|
|
|
93702
94012
|
// src/funcs/transfersGet.ts
|
|
93703
94013
|
function transfersGet(client, request, options) {
|
|
93704
|
-
return new APIPromise($
|
|
94014
|
+
return new APIPromise($do144(client, request, options));
|
|
93705
94015
|
}
|
|
93706
|
-
async function $
|
|
94016
|
+
async function $do144(client, request, options) {
|
|
93707
94017
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93708
94018
|
if (!parsed.ok) {
|
|
93709
94019
|
return [parsed, { status: "invalid" }];
|
|
@@ -93784,12 +94094,12 @@ var init_transfersGet = __esm(() => {
|
|
|
93784
94094
|
});
|
|
93785
94095
|
|
|
93786
94096
|
// src/mcp-server/tools/transfersGet.ts
|
|
93787
|
-
var
|
|
94097
|
+
var args139, tool$transfersGet;
|
|
93788
94098
|
var init_transfersGet2 = __esm(() => {
|
|
93789
94099
|
init_transfersGet();
|
|
93790
94100
|
init_operations();
|
|
93791
94101
|
init_tools();
|
|
93792
|
-
|
|
94102
|
+
args139 = {
|
|
93793
94103
|
request: GetTransferRequest$inboundSchema
|
|
93794
94104
|
};
|
|
93795
94105
|
tool$transfersGet = {
|
|
@@ -93801,9 +94111,9 @@ to learn more.
|
|
|
93801
94111
|
|
|
93802
94112
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93803
94113
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
93804
|
-
args:
|
|
93805
|
-
tool: async (client,
|
|
93806
|
-
const [result, apiCall] = await transfersGet(client,
|
|
94114
|
+
args: args139,
|
|
94115
|
+
tool: async (client, args140, ctx) => {
|
|
94116
|
+
const [result, apiCall] = await transfersGet(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93807
94117
|
if (!result.ok) {
|
|
93808
94118
|
return {
|
|
93809
94119
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93818,9 +94128,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
93818
94128
|
|
|
93819
94129
|
// src/funcs/transfersGetCancellation.ts
|
|
93820
94130
|
function transfersGetCancellation(client, request, options) {
|
|
93821
|
-
return new APIPromise($
|
|
94131
|
+
return new APIPromise($do145(client, request, options));
|
|
93822
94132
|
}
|
|
93823
|
-
async function $
|
|
94133
|
+
async function $do145(client, request, options) {
|
|
93824
94134
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93825
94135
|
if (!parsed.ok) {
|
|
93826
94136
|
return [parsed, { status: "invalid" }];
|
|
@@ -93905,12 +94215,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
93905
94215
|
});
|
|
93906
94216
|
|
|
93907
94217
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
93908
|
-
var
|
|
94218
|
+
var args140, tool$transfersGetCancellation;
|
|
93909
94219
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
93910
94220
|
init_transfersGetCancellation();
|
|
93911
94221
|
init_operations();
|
|
93912
94222
|
init_tools();
|
|
93913
|
-
|
|
94223
|
+
args140 = {
|
|
93914
94224
|
request: GetCancellationRequest$inboundSchema
|
|
93915
94225
|
};
|
|
93916
94226
|
tool$transfersGetCancellation = {
|
|
@@ -93919,9 +94229,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
93919
94229
|
|
|
93920
94230
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
93921
94231
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
93922
|
-
args:
|
|
93923
|
-
tool: async (client,
|
|
93924
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
94232
|
+
args: args140,
|
|
94233
|
+
tool: async (client, args141, ctx) => {
|
|
94234
|
+
const [result, apiCall] = await transfersGetCancellation(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93925
94235
|
if (!result.ok) {
|
|
93926
94236
|
return {
|
|
93927
94237
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93936,9 +94246,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
93936
94246
|
|
|
93937
94247
|
// src/funcs/transfersGetRefund.ts
|
|
93938
94248
|
function transfersGetRefund(client, request, options) {
|
|
93939
|
-
return new APIPromise($
|
|
94249
|
+
return new APIPromise($do146(client, request, options));
|
|
93940
94250
|
}
|
|
93941
|
-
async function $
|
|
94251
|
+
async function $do146(client, request, options) {
|
|
93942
94252
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93943
94253
|
if (!parsed.ok) {
|
|
93944
94254
|
return [parsed, { status: "invalid" }];
|
|
@@ -94023,12 +94333,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
94023
94333
|
});
|
|
94024
94334
|
|
|
94025
94335
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
94026
|
-
var
|
|
94336
|
+
var args141, tool$transfersGetRefund;
|
|
94027
94337
|
var init_transfersGetRefund2 = __esm(() => {
|
|
94028
94338
|
init_transfersGetRefund();
|
|
94029
94339
|
init_operations();
|
|
94030
94340
|
init_tools();
|
|
94031
|
-
|
|
94341
|
+
args141 = {
|
|
94032
94342
|
request: GetRefundRequest$inboundSchema
|
|
94033
94343
|
};
|
|
94034
94344
|
tool$transfersGetRefund = {
|
|
@@ -94037,9 +94347,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
94037
94347
|
|
|
94038
94348
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94039
94349
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
94040
|
-
args:
|
|
94041
|
-
tool: async (client,
|
|
94042
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
94350
|
+
args: args141,
|
|
94351
|
+
tool: async (client, args142, ctx) => {
|
|
94352
|
+
const [result, apiCall] = await transfersGetRefund(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94043
94353
|
if (!result.ok) {
|
|
94044
94354
|
return {
|
|
94045
94355
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94054,9 +94364,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
94054
94364
|
|
|
94055
94365
|
// src/funcs/transfersInitiateRefund.ts
|
|
94056
94366
|
function transfersInitiateRefund(client, request, options) {
|
|
94057
|
-
return new APIPromise($
|
|
94367
|
+
return new APIPromise($do147(client, request, options));
|
|
94058
94368
|
}
|
|
94059
|
-
async function $
|
|
94369
|
+
async function $do147(client, request, options) {
|
|
94060
94370
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94061
94371
|
if (!parsed.ok) {
|
|
94062
94372
|
return [parsed, { status: "invalid" }];
|
|
@@ -94147,12 +94457,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
94147
94457
|
});
|
|
94148
94458
|
|
|
94149
94459
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
94150
|
-
var
|
|
94460
|
+
var args142, tool$transfersInitiateRefund;
|
|
94151
94461
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
94152
94462
|
init_transfersInitiateRefund();
|
|
94153
94463
|
init_operations();
|
|
94154
94464
|
init_tools();
|
|
94155
|
-
|
|
94465
|
+
args142 = {
|
|
94156
94466
|
request: InitiateRefundRequest$inboundSchema
|
|
94157
94467
|
};
|
|
94158
94468
|
tool$transfersInitiateRefund = {
|
|
@@ -94164,9 +94474,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
94164
94474
|
|
|
94165
94475
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94166
94476
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
94167
|
-
args:
|
|
94168
|
-
tool: async (client,
|
|
94169
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
94477
|
+
args: args142,
|
|
94478
|
+
tool: async (client, args143, ctx) => {
|
|
94479
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94170
94480
|
if (!result.ok) {
|
|
94171
94481
|
return {
|
|
94172
94482
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94181,9 +94491,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
94181
94491
|
|
|
94182
94492
|
// src/funcs/transfersList.ts
|
|
94183
94493
|
function transfersList(client, request, options) {
|
|
94184
|
-
return new APIPromise($
|
|
94494
|
+
return new APIPromise($do148(client, request, options));
|
|
94185
94495
|
}
|
|
94186
|
-
async function $
|
|
94496
|
+
async function $do148(client, request, options) {
|
|
94187
94497
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94188
94498
|
if (!parsed.ok) {
|
|
94189
94499
|
return [parsed, { status: "invalid" }];
|
|
@@ -94278,12 +94588,12 @@ var init_transfersList = __esm(() => {
|
|
|
94278
94588
|
});
|
|
94279
94589
|
|
|
94280
94590
|
// src/mcp-server/tools/transfersList.ts
|
|
94281
|
-
var
|
|
94591
|
+
var args143, tool$transfersList;
|
|
94282
94592
|
var init_transfersList2 = __esm(() => {
|
|
94283
94593
|
init_transfersList();
|
|
94284
94594
|
init_operations();
|
|
94285
94595
|
init_tools();
|
|
94286
|
-
|
|
94596
|
+
args143 = {
|
|
94287
94597
|
request: ListTransfersRequest$inboundSchema
|
|
94288
94598
|
};
|
|
94289
94599
|
tool$transfersList = {
|
|
@@ -94299,9 +94609,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
94299
94609
|
|
|
94300
94610
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94301
94611
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
94302
|
-
args:
|
|
94303
|
-
tool: async (client,
|
|
94304
|
-
const [result, apiCall] = await transfersList(client,
|
|
94612
|
+
args: args143,
|
|
94613
|
+
tool: async (client, args144, ctx) => {
|
|
94614
|
+
const [result, apiCall] = await transfersList(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94305
94615
|
if (!result.ok) {
|
|
94306
94616
|
return {
|
|
94307
94617
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94316,9 +94626,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
94316
94626
|
|
|
94317
94627
|
// src/funcs/transfersListRefunds.ts
|
|
94318
94628
|
function transfersListRefunds(client, request, options) {
|
|
94319
|
-
return new APIPromise($
|
|
94629
|
+
return new APIPromise($do149(client, request, options));
|
|
94320
94630
|
}
|
|
94321
|
-
async function $
|
|
94631
|
+
async function $do149(client, request, options) {
|
|
94322
94632
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94323
94633
|
if (!parsed.ok) {
|
|
94324
94634
|
return [parsed, { status: "invalid" }];
|
|
@@ -94399,12 +94709,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
94399
94709
|
});
|
|
94400
94710
|
|
|
94401
94711
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
94402
|
-
var
|
|
94712
|
+
var args144, tool$transfersListRefunds;
|
|
94403
94713
|
var init_transfersListRefunds2 = __esm(() => {
|
|
94404
94714
|
init_transfersListRefunds();
|
|
94405
94715
|
init_operations();
|
|
94406
94716
|
init_tools();
|
|
94407
|
-
|
|
94717
|
+
args144 = {
|
|
94408
94718
|
request: ListRefundsRequest$inboundSchema
|
|
94409
94719
|
};
|
|
94410
94720
|
tool$transfersListRefunds = {
|
|
@@ -94413,9 +94723,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
94413
94723
|
|
|
94414
94724
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94415
94725
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
94416
|
-
args:
|
|
94417
|
-
tool: async (client,
|
|
94418
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
94726
|
+
args: args144,
|
|
94727
|
+
tool: async (client, args145, ctx) => {
|
|
94728
|
+
const [result, apiCall] = await transfersListRefunds(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94419
94729
|
if (!result.ok) {
|
|
94420
94730
|
return {
|
|
94421
94731
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94430,9 +94740,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
94430
94740
|
|
|
94431
94741
|
// src/funcs/transfersUpdate.ts
|
|
94432
94742
|
function transfersUpdate(client, request, options) {
|
|
94433
|
-
return new APIPromise($
|
|
94743
|
+
return new APIPromise($do150(client, request, options));
|
|
94434
94744
|
}
|
|
94435
|
-
async function $
|
|
94745
|
+
async function $do150(client, request, options) {
|
|
94436
94746
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94437
94747
|
if (!parsed.ok) {
|
|
94438
94748
|
return [parsed, { status: "invalid" }];
|
|
@@ -94517,12 +94827,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
94517
94827
|
});
|
|
94518
94828
|
|
|
94519
94829
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
94520
|
-
var
|
|
94830
|
+
var args145, tool$transfersUpdate;
|
|
94521
94831
|
var init_transfersUpdate2 = __esm(() => {
|
|
94522
94832
|
init_transfersUpdate();
|
|
94523
94833
|
init_operations();
|
|
94524
94834
|
init_tools();
|
|
94525
|
-
|
|
94835
|
+
args145 = {
|
|
94526
94836
|
request: UpdateTransferRequest$inboundSchema
|
|
94527
94837
|
};
|
|
94528
94838
|
tool$transfersUpdate = {
|
|
@@ -94533,9 +94843,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
94533
94843
|
|
|
94534
94844
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94535
94845
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
94536
|
-
args:
|
|
94537
|
-
tool: async (client,
|
|
94538
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
94846
|
+
args: args145,
|
|
94847
|
+
tool: async (client, args146, ctx) => {
|
|
94848
|
+
const [result, apiCall] = await transfersUpdate(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94539
94849
|
if (!result.ok) {
|
|
94540
94850
|
return {
|
|
94541
94851
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94550,9 +94860,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
94550
94860
|
|
|
94551
94861
|
// src/funcs/underwritingGet.ts
|
|
94552
94862
|
function underwritingGet(client, request, options) {
|
|
94553
|
-
return new APIPromise($
|
|
94863
|
+
return new APIPromise($do151(client, request, options));
|
|
94554
94864
|
}
|
|
94555
|
-
async function $
|
|
94865
|
+
async function $do151(client, request, options) {
|
|
94556
94866
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94557
94867
|
if (!parsed.ok) {
|
|
94558
94868
|
return [parsed, { status: "invalid" }];
|
|
@@ -94629,12 +94939,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
94629
94939
|
});
|
|
94630
94940
|
|
|
94631
94941
|
// src/mcp-server/tools/underwritingGet.ts
|
|
94632
|
-
var
|
|
94942
|
+
var args146, tool$underwritingGet;
|
|
94633
94943
|
var init_underwritingGet2 = __esm(() => {
|
|
94634
94944
|
init_underwritingGet();
|
|
94635
94945
|
init_operations();
|
|
94636
94946
|
init_tools();
|
|
94637
|
-
|
|
94947
|
+
args146 = {
|
|
94638
94948
|
request: GetUnderwritingRequest$inboundSchema
|
|
94639
94949
|
};
|
|
94640
94950
|
tool$underwritingGet = {
|
|
@@ -94645,9 +94955,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
94645
94955
|
|
|
94646
94956
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94647
94957
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
94648
|
-
args:
|
|
94649
|
-
tool: async (client,
|
|
94650
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
94958
|
+
args: args146,
|
|
94959
|
+
tool: async (client, args147, ctx) => {
|
|
94960
|
+
const [result, apiCall] = await underwritingGet(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94651
94961
|
if (!result.ok) {
|
|
94652
94962
|
return {
|
|
94653
94963
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94662,9 +94972,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
94662
94972
|
|
|
94663
94973
|
// src/funcs/underwritingUpsert.ts
|
|
94664
94974
|
function underwritingUpsert(client, request, options) {
|
|
94665
|
-
return new APIPromise($
|
|
94975
|
+
return new APIPromise($do152(client, request, options));
|
|
94666
94976
|
}
|
|
94667
|
-
async function $
|
|
94977
|
+
async function $do152(client, request, options) {
|
|
94668
94978
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94669
94979
|
if (!parsed.ok) {
|
|
94670
94980
|
return [parsed, { status: "invalid" }];
|
|
@@ -94759,12 +95069,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
94759
95069
|
});
|
|
94760
95070
|
|
|
94761
95071
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
94762
|
-
var
|
|
95072
|
+
var args147, tool$underwritingUpsert;
|
|
94763
95073
|
var init_underwritingUpsert2 = __esm(() => {
|
|
94764
95074
|
init_underwritingUpsert();
|
|
94765
95075
|
init_operations();
|
|
94766
95076
|
init_tools();
|
|
94767
|
-
|
|
95077
|
+
args147 = {
|
|
94768
95078
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
94769
95079
|
};
|
|
94770
95080
|
tool$underwritingUpsert = {
|
|
@@ -94775,9 +95085,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
94775
95085
|
|
|
94776
95086
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94777
95087
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
94778
|
-
args:
|
|
94779
|
-
tool: async (client,
|
|
94780
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
95088
|
+
args: args147,
|
|
95089
|
+
tool: async (client, args148, ctx) => {
|
|
95090
|
+
const [result, apiCall] = await underwritingUpsert(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94781
95091
|
if (!result.ok) {
|
|
94782
95092
|
return {
|
|
94783
95093
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94792,9 +95102,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
94792
95102
|
|
|
94793
95103
|
// src/funcs/walletsCreate.ts
|
|
94794
95104
|
function walletsCreate(client, request, options) {
|
|
94795
|
-
return new APIPromise($
|
|
95105
|
+
return new APIPromise($do153(client, request, options));
|
|
94796
95106
|
}
|
|
94797
|
-
async function $
|
|
95107
|
+
async function $do153(client, request, options) {
|
|
94798
95108
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94799
95109
|
if (!parsed.ok) {
|
|
94800
95110
|
return [parsed, { status: "invalid" }];
|
|
@@ -94887,12 +95197,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
94887
95197
|
});
|
|
94888
95198
|
|
|
94889
95199
|
// src/mcp-server/tools/walletsCreate.ts
|
|
94890
|
-
var
|
|
95200
|
+
var args148, tool$walletsCreate;
|
|
94891
95201
|
var init_walletsCreate2 = __esm(() => {
|
|
94892
95202
|
init_walletsCreate();
|
|
94893
95203
|
init_operations();
|
|
94894
95204
|
init_tools();
|
|
94895
|
-
|
|
95205
|
+
args148 = {
|
|
94896
95206
|
request: CreateWalletRequest$inboundSchema
|
|
94897
95207
|
};
|
|
94898
95208
|
tool$walletsCreate = {
|
|
@@ -94903,9 +95213,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
94903
95213
|
|
|
94904
95214
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94905
95215
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
94906
|
-
args:
|
|
94907
|
-
tool: async (client,
|
|
94908
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
95216
|
+
args: args148,
|
|
95217
|
+
tool: async (client, args149, ctx) => {
|
|
95218
|
+
const [result, apiCall] = await walletsCreate(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94909
95219
|
if (!result.ok) {
|
|
94910
95220
|
return {
|
|
94911
95221
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94920,9 +95230,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
94920
95230
|
|
|
94921
95231
|
// src/funcs/walletsGet.ts
|
|
94922
95232
|
function walletsGet(client, request, options) {
|
|
94923
|
-
return new APIPromise($
|
|
95233
|
+
return new APIPromise($do154(client, request, options));
|
|
94924
95234
|
}
|
|
94925
|
-
async function $
|
|
95235
|
+
async function $do154(client, request, options) {
|
|
94926
95236
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94927
95237
|
if (!parsed.ok) {
|
|
94928
95238
|
return [parsed, { status: "invalid" }];
|
|
@@ -95003,12 +95313,12 @@ var init_walletsGet = __esm(() => {
|
|
|
95003
95313
|
});
|
|
95004
95314
|
|
|
95005
95315
|
// src/mcp-server/tools/walletsGet.ts
|
|
95006
|
-
var
|
|
95316
|
+
var args149, tool$walletsGet;
|
|
95007
95317
|
var init_walletsGet2 = __esm(() => {
|
|
95008
95318
|
init_walletsGet();
|
|
95009
95319
|
init_operations();
|
|
95010
95320
|
init_tools();
|
|
95011
|
-
|
|
95321
|
+
args149 = {
|
|
95012
95322
|
request: GetWalletRequest$inboundSchema
|
|
95013
95323
|
};
|
|
95014
95324
|
tool$walletsGet = {
|
|
@@ -95019,9 +95329,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
95019
95329
|
|
|
95020
95330
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95021
95331
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
95022
|
-
args:
|
|
95023
|
-
tool: async (client,
|
|
95024
|
-
const [result, apiCall] = await walletsGet(client,
|
|
95332
|
+
args: args149,
|
|
95333
|
+
tool: async (client, args150, ctx) => {
|
|
95334
|
+
const [result, apiCall] = await walletsGet(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95025
95335
|
if (!result.ok) {
|
|
95026
95336
|
return {
|
|
95027
95337
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95036,9 +95346,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
95036
95346
|
|
|
95037
95347
|
// src/funcs/walletsList.ts
|
|
95038
95348
|
function walletsList(client, request, options) {
|
|
95039
|
-
return new APIPromise($
|
|
95349
|
+
return new APIPromise($do155(client, request, options));
|
|
95040
95350
|
}
|
|
95041
|
-
async function $
|
|
95351
|
+
async function $do155(client, request, options) {
|
|
95042
95352
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95043
95353
|
if (!parsed.ok) {
|
|
95044
95354
|
return [parsed, { status: "invalid" }];
|
|
@@ -95125,12 +95435,12 @@ var init_walletsList = __esm(() => {
|
|
|
95125
95435
|
});
|
|
95126
95436
|
|
|
95127
95437
|
// src/mcp-server/tools/walletsList.ts
|
|
95128
|
-
var
|
|
95438
|
+
var args150, tool$walletsList;
|
|
95129
95439
|
var init_walletsList2 = __esm(() => {
|
|
95130
95440
|
init_walletsList();
|
|
95131
95441
|
init_operations();
|
|
95132
95442
|
init_tools();
|
|
95133
|
-
|
|
95443
|
+
args150 = {
|
|
95134
95444
|
request: ListWalletsRequest$inboundSchema
|
|
95135
95445
|
};
|
|
95136
95446
|
tool$walletsList = {
|
|
@@ -95141,9 +95451,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
95141
95451
|
|
|
95142
95452
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95143
95453
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
95144
|
-
args:
|
|
95145
|
-
tool: async (client,
|
|
95146
|
-
const [result, apiCall] = await walletsList(client,
|
|
95454
|
+
args: args150,
|
|
95455
|
+
tool: async (client, args151, ctx) => {
|
|
95456
|
+
const [result, apiCall] = await walletsList(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95147
95457
|
if (!result.ok) {
|
|
95148
95458
|
return {
|
|
95149
95459
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95158,9 +95468,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
95158
95468
|
|
|
95159
95469
|
// src/funcs/walletsUpdate.ts
|
|
95160
95470
|
function walletsUpdate(client, request, options) {
|
|
95161
|
-
return new APIPromise($
|
|
95471
|
+
return new APIPromise($do156(client, request, options));
|
|
95162
95472
|
}
|
|
95163
|
-
async function $
|
|
95473
|
+
async function $do156(client, request, options) {
|
|
95164
95474
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95165
95475
|
if (!parsed.ok) {
|
|
95166
95476
|
return [parsed, { status: "invalid" }];
|
|
@@ -95257,12 +95567,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
95257
95567
|
});
|
|
95258
95568
|
|
|
95259
95569
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
95260
|
-
var
|
|
95570
|
+
var args151, tool$walletsUpdate;
|
|
95261
95571
|
var init_walletsUpdate2 = __esm(() => {
|
|
95262
95572
|
init_walletsUpdate();
|
|
95263
95573
|
init_operations();
|
|
95264
95574
|
init_tools();
|
|
95265
|
-
|
|
95575
|
+
args151 = {
|
|
95266
95576
|
request: UpdateWalletRequest$inboundSchema
|
|
95267
95577
|
};
|
|
95268
95578
|
tool$walletsUpdate = {
|
|
@@ -95273,9 +95583,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
95273
95583
|
|
|
95274
95584
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95275
95585
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
95276
|
-
args:
|
|
95277
|
-
tool: async (client,
|
|
95278
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
95586
|
+
args: args151,
|
|
95587
|
+
tool: async (client, args152, ctx) => {
|
|
95588
|
+
const [result, apiCall] = await walletsUpdate(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95279
95589
|
if (!result.ok) {
|
|
95280
95590
|
return {
|
|
95281
95591
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95290,9 +95600,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
95290
95600
|
|
|
95291
95601
|
// src/funcs/walletTransactionsGet.ts
|
|
95292
95602
|
function walletTransactionsGet(client, request, options) {
|
|
95293
|
-
return new APIPromise($
|
|
95603
|
+
return new APIPromise($do157(client, request, options));
|
|
95294
95604
|
}
|
|
95295
|
-
async function $
|
|
95605
|
+
async function $do157(client, request, options) {
|
|
95296
95606
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95297
95607
|
if (!parsed.ok) {
|
|
95298
95608
|
return [parsed, { status: "invalid" }];
|
|
@@ -95377,12 +95687,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
95377
95687
|
});
|
|
95378
95688
|
|
|
95379
95689
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
95380
|
-
var
|
|
95690
|
+
var args152, tool$walletTransactionsGet;
|
|
95381
95691
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
95382
95692
|
init_walletTransactionsGet();
|
|
95383
95693
|
init_operations();
|
|
95384
95694
|
init_tools();
|
|
95385
|
-
|
|
95695
|
+
args152 = {
|
|
95386
95696
|
request: GetWalletTransactionRequest$inboundSchema
|
|
95387
95697
|
};
|
|
95388
95698
|
tool$walletTransactionsGet = {
|
|
@@ -95393,9 +95703,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
95393
95703
|
|
|
95394
95704
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95395
95705
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
95396
|
-
args:
|
|
95397
|
-
tool: async (client,
|
|
95398
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
95706
|
+
args: args152,
|
|
95707
|
+
tool: async (client, args153, ctx) => {
|
|
95708
|
+
const [result, apiCall] = await walletTransactionsGet(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95399
95709
|
if (!result.ok) {
|
|
95400
95710
|
return {
|
|
95401
95711
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95410,9 +95720,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
95410
95720
|
|
|
95411
95721
|
// src/funcs/walletTransactionsList.ts
|
|
95412
95722
|
function walletTransactionsList(client, request, options) {
|
|
95413
|
-
return new APIPromise($
|
|
95723
|
+
return new APIPromise($do158(client, request, options));
|
|
95414
95724
|
}
|
|
95415
|
-
async function $
|
|
95725
|
+
async function $do158(client, request, options) {
|
|
95416
95726
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95417
95727
|
if (!parsed.ok) {
|
|
95418
95728
|
return [parsed, { status: "invalid" }];
|
|
@@ -95511,12 +95821,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
95511
95821
|
});
|
|
95512
95822
|
|
|
95513
95823
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
95514
|
-
var
|
|
95824
|
+
var args153, tool$walletTransactionsList;
|
|
95515
95825
|
var init_walletTransactionsList2 = __esm(() => {
|
|
95516
95826
|
init_walletTransactionsList();
|
|
95517
95827
|
init_operations();
|
|
95518
95828
|
init_tools();
|
|
95519
|
-
|
|
95829
|
+
args153 = {
|
|
95520
95830
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
95521
95831
|
};
|
|
95522
95832
|
tool$walletTransactionsList = {
|
|
@@ -95527,9 +95837,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
95527
95837
|
|
|
95528
95838
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95529
95839
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
95530
|
-
args:
|
|
95531
|
-
tool: async (client,
|
|
95532
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
95840
|
+
args: args153,
|
|
95841
|
+
tool: async (client, args154, ctx) => {
|
|
95842
|
+
const [result, apiCall] = await walletTransactionsList(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95533
95843
|
if (!result.ok) {
|
|
95534
95844
|
return {
|
|
95535
95845
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95544,9 +95854,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
95544
95854
|
|
|
95545
95855
|
// src/funcs/webhooksCreate.ts
|
|
95546
95856
|
function webhooksCreate(client, request, options) {
|
|
95547
|
-
return new APIPromise($
|
|
95857
|
+
return new APIPromise($do159(client, request, options));
|
|
95548
95858
|
}
|
|
95549
|
-
async function $
|
|
95859
|
+
async function $do159(client, request, options) {
|
|
95550
95860
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
95551
95861
|
if (!parsed.ok) {
|
|
95552
95862
|
return [parsed, { status: "invalid" }];
|
|
@@ -95634,20 +95944,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
95634
95944
|
});
|
|
95635
95945
|
|
|
95636
95946
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
95637
|
-
var
|
|
95947
|
+
var args154, tool$webhooksCreate;
|
|
95638
95948
|
var init_webhooksCreate2 = __esm(() => {
|
|
95639
95949
|
init_webhooksCreate();
|
|
95640
95950
|
init_components();
|
|
95641
95951
|
init_tools();
|
|
95642
|
-
|
|
95952
|
+
args154 = {
|
|
95643
95953
|
request: CreateWebhook$inboundSchema
|
|
95644
95954
|
};
|
|
95645
95955
|
tool$webhooksCreate = {
|
|
95646
95956
|
name: "webhooks-create",
|
|
95647
95957
|
description: `Create a new webhook for the account.`,
|
|
95648
|
-
args:
|
|
95649
|
-
tool: async (client,
|
|
95650
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
95958
|
+
args: args154,
|
|
95959
|
+
tool: async (client, args155, ctx) => {
|
|
95960
|
+
const [result, apiCall] = await webhooksCreate(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95651
95961
|
if (!result.ok) {
|
|
95652
95962
|
return {
|
|
95653
95963
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95662,9 +95972,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
95662
95972
|
|
|
95663
95973
|
// src/funcs/webhooksDisable.ts
|
|
95664
95974
|
function webhooksDisable(client, request, options) {
|
|
95665
|
-
return new APIPromise($
|
|
95975
|
+
return new APIPromise($do160(client, request, options));
|
|
95666
95976
|
}
|
|
95667
|
-
async function $
|
|
95977
|
+
async function $do160(client, request, options) {
|
|
95668
95978
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95669
95979
|
if (!parsed.ok) {
|
|
95670
95980
|
return [parsed, { status: "invalid" }];
|
|
@@ -95752,20 +96062,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
95752
96062
|
});
|
|
95753
96063
|
|
|
95754
96064
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
95755
|
-
var
|
|
96065
|
+
var args155, tool$webhooksDisable;
|
|
95756
96066
|
var init_webhooksDisable2 = __esm(() => {
|
|
95757
96067
|
init_webhooksDisable();
|
|
95758
96068
|
init_operations();
|
|
95759
96069
|
init_tools();
|
|
95760
|
-
|
|
96070
|
+
args155 = {
|
|
95761
96071
|
request: DisableWebhookRequest$inboundSchema
|
|
95762
96072
|
};
|
|
95763
96073
|
tool$webhooksDisable = {
|
|
95764
96074
|
name: "webhooks-disable",
|
|
95765
96075
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
95766
|
-
args:
|
|
95767
|
-
tool: async (client,
|
|
95768
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
96076
|
+
args: args155,
|
|
96077
|
+
tool: async (client, args156, ctx) => {
|
|
96078
|
+
const [result, apiCall] = await webhooksDisable(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95769
96079
|
if (!result.ok) {
|
|
95770
96080
|
return {
|
|
95771
96081
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95779,9 +96089,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
95779
96089
|
|
|
95780
96090
|
// src/funcs/webhooksGet.ts
|
|
95781
96091
|
function webhooksGet(client, request, options) {
|
|
95782
|
-
return new APIPromise($
|
|
96092
|
+
return new APIPromise($do161(client, request, options));
|
|
95783
96093
|
}
|
|
95784
|
-
async function $
|
|
96094
|
+
async function $do161(client, request, options) {
|
|
95785
96095
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95786
96096
|
if (!parsed.ok) {
|
|
95787
96097
|
return [parsed, { status: "invalid" }];
|
|
@@ -95858,20 +96168,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
95858
96168
|
});
|
|
95859
96169
|
|
|
95860
96170
|
// src/mcp-server/tools/webhooksGet.ts
|
|
95861
|
-
var
|
|
96171
|
+
var args156, tool$webhooksGet;
|
|
95862
96172
|
var init_webhooksGet2 = __esm(() => {
|
|
95863
96173
|
init_webhooksGet();
|
|
95864
96174
|
init_operations();
|
|
95865
96175
|
init_tools();
|
|
95866
|
-
|
|
96176
|
+
args156 = {
|
|
95867
96177
|
request: GetWebhookRequest$inboundSchema
|
|
95868
96178
|
};
|
|
95869
96179
|
tool$webhooksGet = {
|
|
95870
96180
|
name: "webhooks-get",
|
|
95871
96181
|
description: `Get details of a specific webhook.`,
|
|
95872
|
-
args:
|
|
95873
|
-
tool: async (client,
|
|
95874
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
96182
|
+
args: args156,
|
|
96183
|
+
tool: async (client, args157, ctx) => {
|
|
96184
|
+
const [result, apiCall] = await webhooksGet(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95875
96185
|
if (!result.ok) {
|
|
95876
96186
|
return {
|
|
95877
96187
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95886,9 +96196,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
95886
96196
|
|
|
95887
96197
|
// src/funcs/webhooksGetSecret.ts
|
|
95888
96198
|
function webhooksGetSecret(client, request, options) {
|
|
95889
|
-
return new APIPromise($
|
|
96199
|
+
return new APIPromise($do162(client, request, options));
|
|
95890
96200
|
}
|
|
95891
|
-
async function $
|
|
96201
|
+
async function $do162(client, request, options) {
|
|
95892
96202
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95893
96203
|
if (!parsed.ok) {
|
|
95894
96204
|
return [parsed, { status: "invalid" }];
|
|
@@ -95965,20 +96275,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
95965
96275
|
});
|
|
95966
96276
|
|
|
95967
96277
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
95968
|
-
var
|
|
96278
|
+
var args157, tool$webhooksGetSecret;
|
|
95969
96279
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
95970
96280
|
init_webhooksGetSecret();
|
|
95971
96281
|
init_operations();
|
|
95972
96282
|
init_tools();
|
|
95973
|
-
|
|
96283
|
+
args157 = {
|
|
95974
96284
|
request: GetWebhookSecretRequest$inboundSchema
|
|
95975
96285
|
};
|
|
95976
96286
|
tool$webhooksGetSecret = {
|
|
95977
96287
|
name: "webhooks-get-secret",
|
|
95978
96288
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
95979
|
-
args:
|
|
95980
|
-
tool: async (client,
|
|
95981
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
96289
|
+
args: args157,
|
|
96290
|
+
tool: async (client, args158, ctx) => {
|
|
96291
|
+
const [result, apiCall] = await webhooksGetSecret(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95982
96292
|
if (!result.ok) {
|
|
95983
96293
|
return {
|
|
95984
96294
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95993,9 +96303,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
95993
96303
|
|
|
95994
96304
|
// src/funcs/webhooksList.ts
|
|
95995
96305
|
function webhooksList(client, options) {
|
|
95996
|
-
return new APIPromise($
|
|
96306
|
+
return new APIPromise($do163(client, options));
|
|
95997
96307
|
}
|
|
95998
|
-
async function $
|
|
96308
|
+
async function $do163(client, options) {
|
|
95999
96309
|
const path = pathToFunc("/webhooks")();
|
|
96000
96310
|
const headers = new Headers(compactMap({
|
|
96001
96311
|
Accept: "application/json"
|
|
@@ -96080,9 +96390,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
96080
96390
|
|
|
96081
96391
|
// src/funcs/webhooksListEventTypes.ts
|
|
96082
96392
|
function webhooksListEventTypes(client, options) {
|
|
96083
|
-
return new APIPromise($
|
|
96393
|
+
return new APIPromise($do164(client, options));
|
|
96084
96394
|
}
|
|
96085
|
-
async function $
|
|
96395
|
+
async function $do164(client, options) {
|
|
96086
96396
|
const path = pathToFunc("/event-types")();
|
|
96087
96397
|
const headers = new Headers(compactMap({
|
|
96088
96398
|
Accept: "application/json"
|
|
@@ -96167,9 +96477,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
96167
96477
|
|
|
96168
96478
|
// src/funcs/webhooksPing.ts
|
|
96169
96479
|
function webhooksPing(client, request, options) {
|
|
96170
|
-
return new APIPromise($
|
|
96480
|
+
return new APIPromise($do165(client, request, options));
|
|
96171
96481
|
}
|
|
96172
|
-
async function $
|
|
96482
|
+
async function $do165(client, request, options) {
|
|
96173
96483
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96174
96484
|
if (!parsed.ok) {
|
|
96175
96485
|
return [parsed, { status: "invalid" }];
|
|
@@ -96246,20 +96556,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
96246
96556
|
});
|
|
96247
96557
|
|
|
96248
96558
|
// src/mcp-server/tools/webhooksPing.ts
|
|
96249
|
-
var
|
|
96559
|
+
var args158, tool$webhooksPing;
|
|
96250
96560
|
var init_webhooksPing2 = __esm(() => {
|
|
96251
96561
|
init_webhooksPing();
|
|
96252
96562
|
init_operations();
|
|
96253
96563
|
init_tools();
|
|
96254
|
-
|
|
96564
|
+
args158 = {
|
|
96255
96565
|
request: PingWebhookRequest$inboundSchema
|
|
96256
96566
|
};
|
|
96257
96567
|
tool$webhooksPing = {
|
|
96258
96568
|
name: "webhooks-ping",
|
|
96259
96569
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
96260
|
-
args:
|
|
96261
|
-
tool: async (client,
|
|
96262
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
96570
|
+
args: args158,
|
|
96571
|
+
tool: async (client, args159, ctx) => {
|
|
96572
|
+
const [result, apiCall] = await webhooksPing(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96263
96573
|
if (!result.ok) {
|
|
96264
96574
|
return {
|
|
96265
96575
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96274,9 +96584,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
96274
96584
|
|
|
96275
96585
|
// src/funcs/webhooksUpdate.ts
|
|
96276
96586
|
function webhooksUpdate(client, request, options) {
|
|
96277
|
-
return new APIPromise($
|
|
96587
|
+
return new APIPromise($do166(client, request, options));
|
|
96278
96588
|
}
|
|
96279
|
-
async function $
|
|
96589
|
+
async function $do166(client, request, options) {
|
|
96280
96590
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96281
96591
|
if (!parsed.ok) {
|
|
96282
96592
|
return [parsed, { status: "invalid" }];
|
|
@@ -96369,20 +96679,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
96369
96679
|
});
|
|
96370
96680
|
|
|
96371
96681
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
96372
|
-
var
|
|
96682
|
+
var args159, tool$webhooksUpdate;
|
|
96373
96683
|
var init_webhooksUpdate2 = __esm(() => {
|
|
96374
96684
|
init_webhooksUpdate();
|
|
96375
96685
|
init_operations();
|
|
96376
96686
|
init_tools();
|
|
96377
|
-
|
|
96687
|
+
args159 = {
|
|
96378
96688
|
request: UpdateWebhookRequest$inboundSchema
|
|
96379
96689
|
};
|
|
96380
96690
|
tool$webhooksUpdate = {
|
|
96381
96691
|
name: "webhooks-update",
|
|
96382
96692
|
description: `Update an existing webhook.`,
|
|
96383
|
-
args:
|
|
96384
|
-
tool: async (client,
|
|
96385
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
96693
|
+
args: args159,
|
|
96694
|
+
tool: async (client, args160, ctx) => {
|
|
96695
|
+
const [result, apiCall] = await webhooksUpdate(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96386
96696
|
if (!result.ok) {
|
|
96387
96697
|
return {
|
|
96388
96698
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96399,7 +96709,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
96399
96709
|
function createMCPServer(deps) {
|
|
96400
96710
|
const server = new McpServer({
|
|
96401
96711
|
name: "Moov",
|
|
96402
|
-
version: "25.5.
|
|
96712
|
+
version: "25.5.1"
|
|
96403
96713
|
});
|
|
96404
96714
|
const client = new MoovCore({
|
|
96405
96715
|
security: deps.security,
|
|
@@ -96522,6 +96832,7 @@ function createMCPServer(deps) {
|
|
|
96522
96832
|
tool(tool$transfersGenerateOptions);
|
|
96523
96833
|
tool(tool$transfersCreate);
|
|
96524
96834
|
tool(tool$transfersList);
|
|
96835
|
+
tool(tool$transfersBatchGetTransfers);
|
|
96525
96836
|
tool(tool$transfersGet);
|
|
96526
96837
|
tool(tool$transfersUpdate);
|
|
96527
96838
|
tool(tool$transfersCreateCancellation);
|
|
@@ -96723,6 +97034,7 @@ var init_server2 = __esm(() => {
|
|
|
96723
97034
|
init_terminalApplicationsDelete2();
|
|
96724
97035
|
init_terminalApplicationsGet2();
|
|
96725
97036
|
init_terminalApplicationsList2();
|
|
97037
|
+
init_transfersBatchGetTransfers2();
|
|
96726
97038
|
init_transfersCreate2();
|
|
96727
97039
|
init_transfersCreateCancellation2();
|
|
96728
97040
|
init_transfersCreateReversal2();
|
|
@@ -97942,7 +98254,7 @@ var routes = rn({
|
|
|
97942
98254
|
var app = Ve(routes, {
|
|
97943
98255
|
name: "mcp",
|
|
97944
98256
|
versionInfo: {
|
|
97945
|
-
currentVersion: "25.5.
|
|
98257
|
+
currentVersion: "25.5.1"
|
|
97946
98258
|
}
|
|
97947
98259
|
});
|
|
97948
98260
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -97950,5 +98262,5 @@ export {
|
|
|
97950
98262
|
app
|
|
97951
98263
|
};
|
|
97952
98264
|
|
|
97953
|
-
//# debugId=
|
|
98265
|
+
//# debugId=38C8CD14583F7F6A64756E2164756E21
|
|
97954
98266
|
//# sourceMappingURL=mcp-server.js.map
|