@moovio/sdk 25.5.3 → 25.5.6
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/FUNCTIONS.md +2 -2
- package/bin/mcp-server.js +74 -36
- package/bin/mcp-server.js.map +26 -24
- package/funcs/filesUpload.d.ts.map +1 -1
- package/funcs/filesUpload.js +3 -1
- package/funcs/filesUpload.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/createdtransfer.d.ts +1 -1
- package/models/components/createpaymentlink.d.ts +1 -1
- package/models/components/createpaymentlinklineitems.d.ts +1 -1
- package/models/components/createpaymentlinklineitemsupdate.d.ts +1 -1
- package/models/components/createtransfer.d.ts +1 -1
- package/models/components/createtransferlineitems.d.ts +1 -1
- package/models/components/fileuploadmetadata.d.ts +28 -0
- package/models/components/fileuploadmetadata.d.ts.map +1 -0
- package/models/components/fileuploadmetadata.js +69 -0
- package/models/components/fileuploadmetadata.js.map +1 -0
- package/models/components/fileuploadrequestmultipart.d.ts +5 -8
- package/models/components/fileuploadrequestmultipart.d.ts.map +1 -1
- package/models/components/fileuploadrequestmultipart.js +3 -2
- package/models/components/fileuploadrequestmultipart.js.map +1 -1
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/paymentlink.d.ts +1 -1
- package/models/components/paymentlinklineitems.d.ts +1 -1
- package/models/components/rtptransactiondetails.d.ts +45 -0
- package/models/components/rtptransactiondetails.d.ts.map +1 -0
- package/models/components/rtptransactiondetails.js +75 -0
- package/models/components/rtptransactiondetails.js.map +1 -0
- package/models/components/transfer.d.ts +1 -1
- package/models/components/transferdestination.d.ts +5 -43
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +4 -36
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/transferlineitems.d.ts +1 -1
- package/models/components/updatepaymentlink.d.ts +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/components/webhookdatabankaccountcreated.d.ts +3 -0
- package/models/components/webhookdatabankaccountcreated.d.ts.map +1 -1
- package/models/components/webhookdatabankaccountcreated.js +3 -0
- package/models/components/webhookdatabankaccountcreated.js.map +1 -1
- package/models/errors/transfer.d.ts +2 -2
- package/package.json +1 -1
- package/src/funcs/filesUpload.ts +13 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/createdtransfer.ts +1 -1
- package/src/models/components/createpaymentlink.ts +1 -1
- package/src/models/components/createpaymentlinklineitems.ts +1 -1
- package/src/models/components/createpaymentlinklineitemsupdate.ts +1 -1
- package/src/models/components/createtransfer.ts +1 -1
- package/src/models/components/createtransferlineitems.ts +1 -1
- package/src/models/components/fileuploadmetadata.ts +73 -0
- package/src/models/components/fileuploadrequestmultipart.ts +12 -10
- package/src/models/components/index.ts +2 -0
- package/src/models/components/paymentlink.ts +1 -1
- package/src/models/components/paymentlinklineitems.ts +1 -1
- package/src/models/components/rtptransactiondetails.ts +104 -0
- package/src/models/components/transfer.ts +1 -1
- package/src/models/components/transferdestination.ts +11 -95
- package/src/models/components/transferlineitems.ts +1 -1
- package/src/models/components/updatepaymentlink.ts +1 -1
- package/src/models/components/webhookdata.ts +4 -4
- package/src/models/components/webhookdatabankaccountcreated.ts +9 -0
- package/src/models/errors/transfer.ts +2 -2
package/FUNCTIONS.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Standalone Functions
|
|
2
2
|
|
|
3
3
|
> [!NOTE]
|
|
4
|
-
> This section is useful if you are using a bundler and
|
|
4
|
+
> This section is useful if you are using a bundler and targeting browsers and
|
|
5
5
|
> runtimes where the size of an application affects performance and load times.
|
|
6
6
|
|
|
7
7
|
Every method in this SDK is also available as a standalone function. This
|
|
8
|
-
alternative API is suitable when
|
|
8
|
+
alternative API is suitable when targeting the browser or serverless runtimes
|
|
9
9
|
and using a bundler to build your application since all unused functionality
|
|
10
10
|
will be tree-shaken away. This includes code for unused methods, Zod schemas,
|
|
11
11
|
encoding helpers and response handlers. The result is dramatically smaller
|
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.6",
|
|
52883
|
+
genVersion: "2.882.0",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 25.5.6 2.882.0 v2025.04.00 @moovio/sdk"
|
|
52885
52885
|
};
|
|
52886
52886
|
});
|
|
52887
52887
|
|
|
@@ -60972,6 +60972,32 @@ var init_rtptransactionstatus = __esm(() => {
|
|
|
60972
60972
|
RTPTransactionStatus$outboundSchema = RTPTransactionStatus$inboundSchema;
|
|
60973
60973
|
});
|
|
60974
60974
|
|
|
60975
|
+
// src/models/components/rtptransactiondetails.ts
|
|
60976
|
+
var RTPTransactionDetails$inboundSchema, RTPTransactionDetails$outboundSchema;
|
|
60977
|
+
var init_rtptransactiondetails = __esm(() => {
|
|
60978
|
+
init_esm();
|
|
60979
|
+
init_rtpfailurecode();
|
|
60980
|
+
init_rtptransactionstatus();
|
|
60981
|
+
RTPTransactionDetails$inboundSchema = objectType({
|
|
60982
|
+
status: RTPTransactionStatus$inboundSchema.optional(),
|
|
60983
|
+
networkResponseCode: stringType().optional(),
|
|
60984
|
+
failureCode: RTPFailureCode$inboundSchema.optional(),
|
|
60985
|
+
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60986
|
+
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60987
|
+
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60988
|
+
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
60989
|
+
});
|
|
60990
|
+
RTPTransactionDetails$outboundSchema = objectType({
|
|
60991
|
+
status: RTPTransactionStatus$outboundSchema.optional(),
|
|
60992
|
+
networkResponseCode: stringType().optional(),
|
|
60993
|
+
failureCode: RTPFailureCode$outboundSchema.optional(),
|
|
60994
|
+
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60995
|
+
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60996
|
+
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60997
|
+
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
60998
|
+
});
|
|
60999
|
+
});
|
|
61000
|
+
|
|
60975
61001
|
// src/models/components/transferaccount.ts
|
|
60976
61002
|
var TransferAccount$inboundSchema, TransferAccount$outboundSchema;
|
|
60977
61003
|
var init_transferaccount = __esm(() => {
|
|
@@ -61039,38 +61065,19 @@ var init_transferpaymentmethodtype = __esm(() => {
|
|
|
61039
61065
|
});
|
|
61040
61066
|
|
|
61041
61067
|
// src/models/components/transferdestination.ts
|
|
61042
|
-
var
|
|
61068
|
+
var TransferDestination$inboundSchema, TransferDestination$outboundSchema;
|
|
61043
61069
|
var init_transferdestination = __esm(() => {
|
|
61044
61070
|
init_esm();
|
|
61045
61071
|
init_achtransactiondetails();
|
|
61046
61072
|
init_applepayresponse();
|
|
61047
61073
|
init_cardtransactiondetails();
|
|
61048
61074
|
init_instantbanktransactiondetails();
|
|
61049
|
-
|
|
61050
|
-
init_rtptransactionstatus();
|
|
61075
|
+
init_rtptransactiondetails();
|
|
61051
61076
|
init_transferaccount();
|
|
61052
61077
|
init_transferpaymentmethodsbankaccount();
|
|
61053
61078
|
init_transferpaymentmethodscard();
|
|
61054
61079
|
init_transferpaymentmethodswallet();
|
|
61055
61080
|
init_transferpaymentmethodtype();
|
|
61056
|
-
RtpDetails$inboundSchema = objectType({
|
|
61057
|
-
status: RTPTransactionStatus$inboundSchema.optional(),
|
|
61058
|
-
networkResponseCode: stringType().optional(),
|
|
61059
|
-
failureCode: RTPFailureCode$inboundSchema.optional(),
|
|
61060
|
-
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61061
|
-
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61062
|
-
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61063
|
-
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
61064
|
-
});
|
|
61065
|
-
RtpDetails$outboundSchema = objectType({
|
|
61066
|
-
status: RTPTransactionStatus$outboundSchema.optional(),
|
|
61067
|
-
networkResponseCode: stringType().optional(),
|
|
61068
|
-
failureCode: RTPFailureCode$outboundSchema.optional(),
|
|
61069
|
-
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61070
|
-
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61071
|
-
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61072
|
-
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
61073
|
-
});
|
|
61074
61081
|
TransferDestination$inboundSchema = objectType({
|
|
61075
61082
|
paymentMethodID: stringType(),
|
|
61076
61083
|
paymentMethodType: TransferPaymentMethodType$inboundSchema,
|
|
@@ -61081,7 +61088,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61081
61088
|
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
61082
61089
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
61083
61090
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
61084
|
-
rtpDetails:
|
|
61091
|
+
rtpDetails: RTPTransactionDetails$inboundSchema.optional(),
|
|
61085
61092
|
instantBankDetails: InstantBankTransactionDetails$inboundSchema.optional()
|
|
61086
61093
|
});
|
|
61087
61094
|
TransferDestination$outboundSchema = objectType({
|
|
@@ -61094,7 +61101,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61094
61101
|
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
61095
61102
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
61096
61103
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
61097
|
-
rtpDetails:
|
|
61104
|
+
rtpDetails: RTPTransactionDetails$outboundSchema.optional(),
|
|
61098
61105
|
instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional()
|
|
61099
61106
|
});
|
|
61100
61107
|
});
|
|
@@ -63013,12 +63020,36 @@ var init_filedetails = __esm(() => {
|
|
|
63013
63020
|
});
|
|
63014
63021
|
});
|
|
63015
63022
|
|
|
63023
|
+
// src/models/components/fileuploadmetadata.ts
|
|
63024
|
+
var FileUploadMetadata$inboundSchema, FileUploadMetadata$outboundSchema;
|
|
63025
|
+
var init_fileuploadmetadata = __esm(() => {
|
|
63026
|
+
init_esm();
|
|
63027
|
+
init_primitives();
|
|
63028
|
+
FileUploadMetadata$inboundSchema = objectType({
|
|
63029
|
+
representative_id: stringType().optional(),
|
|
63030
|
+
comment: stringType().optional()
|
|
63031
|
+
}).transform((v2) => {
|
|
63032
|
+
return remap(v2, {
|
|
63033
|
+
representative_id: "representativeId"
|
|
63034
|
+
});
|
|
63035
|
+
});
|
|
63036
|
+
FileUploadMetadata$outboundSchema = objectType({
|
|
63037
|
+
representativeId: stringType().optional(),
|
|
63038
|
+
comment: stringType().optional()
|
|
63039
|
+
}).transform((v2) => {
|
|
63040
|
+
return remap(v2, {
|
|
63041
|
+
representativeId: "representative_id"
|
|
63042
|
+
});
|
|
63043
|
+
});
|
|
63044
|
+
});
|
|
63045
|
+
|
|
63016
63046
|
// src/models/components/fileuploadrequestmultipart.ts
|
|
63017
63047
|
var FileUploadRequestMultiPartFile$inboundSchema, FileUploadRequestMultiPartFile$outboundSchema, FileUploadRequestMultiPart$inboundSchema, FileUploadRequestMultiPart$outboundSchema;
|
|
63018
63048
|
var init_fileuploadrequestmultipart = __esm(() => {
|
|
63019
63049
|
init_esm();
|
|
63020
63050
|
init_blobs();
|
|
63021
63051
|
init_filepurpose();
|
|
63052
|
+
init_fileuploadmetadata();
|
|
63022
63053
|
FileUploadRequestMultiPartFile$inboundSchema = objectType({
|
|
63023
63054
|
fileName: stringType(),
|
|
63024
63055
|
content: unionType([
|
|
@@ -63040,12 +63071,12 @@ var init_fileuploadrequestmultipart = __esm(() => {
|
|
|
63040
63071
|
FileUploadRequestMultiPart$inboundSchema = objectType({
|
|
63041
63072
|
file: lazyType(() => FileUploadRequestMultiPartFile$inboundSchema),
|
|
63042
63073
|
filePurpose: FilePurpose$inboundSchema,
|
|
63043
|
-
metadata:
|
|
63074
|
+
metadata: FileUploadMetadata$inboundSchema.optional()
|
|
63044
63075
|
});
|
|
63045
63076
|
FileUploadRequestMultiPart$outboundSchema = objectType({
|
|
63046
63077
|
file: lazyType(() => FileUploadRequestMultiPartFile$outboundSchema).or(blobLikeSchema),
|
|
63047
63078
|
filePurpose: FilePurpose$outboundSchema,
|
|
63048
|
-
metadata:
|
|
63079
|
+
metadata: FileUploadMetadata$outboundSchema.optional()
|
|
63049
63080
|
});
|
|
63050
63081
|
});
|
|
63051
63082
|
|
|
@@ -66830,13 +66861,16 @@ var init_webhookdatabalanceupdated = __esm(() => {
|
|
|
66830
66861
|
var WebhookDataBankAccountCreated$inboundSchema, WebhookDataBankAccountCreated$outboundSchema;
|
|
66831
66862
|
var init_webhookdatabankaccountcreated = __esm(() => {
|
|
66832
66863
|
init_esm();
|
|
66864
|
+
init_bankaccountstatus();
|
|
66833
66865
|
WebhookDataBankAccountCreated$inboundSchema = objectType({
|
|
66834
66866
|
bankAccountID: stringType(),
|
|
66835
|
-
accountID: stringType()
|
|
66867
|
+
accountID: stringType(),
|
|
66868
|
+
status: BankAccountStatus$inboundSchema
|
|
66836
66869
|
});
|
|
66837
66870
|
WebhookDataBankAccountCreated$outboundSchema = objectType({
|
|
66838
66871
|
bankAccountID: stringType(),
|
|
66839
|
-
accountID: stringType()
|
|
66872
|
+
accountID: stringType(),
|
|
66873
|
+
status: BankAccountStatus$outboundSchema
|
|
66840
66874
|
});
|
|
66841
66875
|
});
|
|
66842
66876
|
|
|
@@ -67481,6 +67515,7 @@ var init_webhookdata = __esm(() => {
|
|
|
67481
67515
|
WebhookDataBankAccountUpdated$inboundSchema,
|
|
67482
67516
|
WebhookDataRefundUpdated$inboundSchema,
|
|
67483
67517
|
WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
67518
|
+
WebhookDataBankAccountCreated$inboundSchema,
|
|
67484
67519
|
WebhookDataCancellationCreated$inboundSchema,
|
|
67485
67520
|
WebhookDataCancellationUpdated$inboundSchema,
|
|
67486
67521
|
WebhookDataCardAutoUpdated$inboundSchema,
|
|
@@ -67494,7 +67529,6 @@ var init_webhookdata = __esm(() => {
|
|
|
67494
67529
|
WebhookDataTransferCreated$inboundSchema,
|
|
67495
67530
|
WebhookDataWalletUpdated$inboundSchema,
|
|
67496
67531
|
WebhookDataBalanceUpdated$inboundSchema,
|
|
67497
|
-
WebhookDataBankAccountCreated$inboundSchema,
|
|
67498
67532
|
WebhookDataBankAccountDeleted$inboundSchema,
|
|
67499
67533
|
WebhookDataCapabilityRequested$inboundSchema,
|
|
67500
67534
|
WebhookDataInvoiceCreated$inboundSchema,
|
|
@@ -67520,6 +67554,7 @@ var init_webhookdata = __esm(() => {
|
|
|
67520
67554
|
WebhookDataBankAccountUpdated$outboundSchema,
|
|
67521
67555
|
WebhookDataRefundUpdated$outboundSchema,
|
|
67522
67556
|
WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
67557
|
+
WebhookDataBankAccountCreated$outboundSchema,
|
|
67523
67558
|
WebhookDataCancellationCreated$outboundSchema,
|
|
67524
67559
|
WebhookDataCancellationUpdated$outboundSchema,
|
|
67525
67560
|
WebhookDataCardAutoUpdated$outboundSchema,
|
|
@@ -67533,7 +67568,6 @@ var init_webhookdata = __esm(() => {
|
|
|
67533
67568
|
WebhookDataTransferCreated$outboundSchema,
|
|
67534
67569
|
WebhookDataWalletUpdated$outboundSchema,
|
|
67535
67570
|
WebhookDataBalanceUpdated$outboundSchema,
|
|
67536
|
-
WebhookDataBankAccountCreated$outboundSchema,
|
|
67537
67571
|
WebhookDataBankAccountDeleted$outboundSchema,
|
|
67538
67572
|
WebhookDataCapabilityRequested$outboundSchema,
|
|
67539
67573
|
WebhookDataInvoiceCreated$outboundSchema,
|
|
@@ -67805,6 +67839,7 @@ var init_components = __esm(() => {
|
|
|
67805
67839
|
init_filedetails();
|
|
67806
67840
|
init_filepurpose();
|
|
67807
67841
|
init_filestatus();
|
|
67842
|
+
init_fileuploadmetadata();
|
|
67808
67843
|
init_fileuploadrequestmultipart();
|
|
67809
67844
|
init_financialinstitutions();
|
|
67810
67845
|
init_fulfillmentdetails();
|
|
@@ -67959,6 +67994,7 @@ var init_components = __esm(() => {
|
|
|
67959
67994
|
init_rtpinstitution();
|
|
67960
67995
|
init_rtprejectioncode();
|
|
67961
67996
|
init_rtpservices();
|
|
67997
|
+
init_rtptransactiondetails();
|
|
67962
67998
|
init_rtptransactionstatus();
|
|
67963
67999
|
init_runtransfer();
|
|
67964
68000
|
init_scheduledtransferimagemetadata();
|
|
@@ -86095,7 +86131,9 @@ async function $do79(client, request, options) {
|
|
|
86095
86131
|
}
|
|
86096
86132
|
appendForm(body, "filePurpose", payload.FileUploadRequestMultiPart.filePurpose);
|
|
86097
86133
|
if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
|
|
86098
|
-
appendForm(body, "metadata", payload.FileUploadRequestMultiPart.metadata
|
|
86134
|
+
appendForm(body, "metadata", encodeJSON("metadata", payload.FileUploadRequestMultiPart.metadata, {
|
|
86135
|
+
explode: true
|
|
86136
|
+
}));
|
|
86099
86137
|
}
|
|
86100
86138
|
const pathParams = {
|
|
86101
86139
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
@@ -96173,7 +96211,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
96173
96211
|
function createMCPServer(deps) {
|
|
96174
96212
|
const server = new McpServer({
|
|
96175
96213
|
name: "Moov",
|
|
96176
|
-
version: "25.5.
|
|
96214
|
+
version: "25.5.6"
|
|
96177
96215
|
});
|
|
96178
96216
|
const client = new MoovCore({
|
|
96179
96217
|
security: deps.security,
|
|
@@ -97718,7 +97756,7 @@ var routes = rn({
|
|
|
97718
97756
|
var app = Ve(routes, {
|
|
97719
97757
|
name: "mcp",
|
|
97720
97758
|
versionInfo: {
|
|
97721
|
-
currentVersion: "25.5.
|
|
97759
|
+
currentVersion: "25.5.6"
|
|
97722
97760
|
}
|
|
97723
97761
|
});
|
|
97724
97762
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -97726,5 +97764,5 @@ export {
|
|
|
97726
97764
|
app
|
|
97727
97765
|
};
|
|
97728
97766
|
|
|
97729
|
-
//# debugId=
|
|
97767
|
+
//# debugId=4EC3790A6880152664756E2164756E21
|
|
97730
97768
|
//# sourceMappingURL=mcp-server.js.map
|