@moovio/sdk 25.11.3 → 25.11.5
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 +14 -12
- 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/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/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/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/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/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/fileuploadmetadata.ts +73 -0
- package/src/models/components/fileuploadrequestmultipart.ts +12 -10
- package/src/models/components/index.ts +2 -0
- package/src/models/components/rtptransactiondetails.ts +104 -0
- package/src/models/components/transferdestination.ts +11 -95
- package/src/models/components/webhookdata.ts +4 -4
- package/src/models/components/webhookdatabankaccountcreated.ts +9 -0
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.10.00",
|
|
52882
|
-
sdkVersion: "25.11.
|
|
52883
|
-
genVersion: "2.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 25.11.
|
|
52882
|
+
sdkVersion: "25.11.5",
|
|
52883
|
+
genVersion: "2.882.0",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 25.11.5 2.882.0 v2025.10.00 @moovio/sdk"
|
|
52885
52885
|
};
|
|
52886
52886
|
});
|
|
52887
52887
|
|
|
@@ -61361,6 +61361,32 @@ var init_rtptransactionstatus = __esm(() => {
|
|
|
61361
61361
|
RTPTransactionStatus$outboundSchema = RTPTransactionStatus$inboundSchema;
|
|
61362
61362
|
});
|
|
61363
61363
|
|
|
61364
|
+
// src/models/components/rtptransactiondetails.ts
|
|
61365
|
+
var RTPTransactionDetails$inboundSchema, RTPTransactionDetails$outboundSchema;
|
|
61366
|
+
var init_rtptransactiondetails = __esm(() => {
|
|
61367
|
+
init_esm();
|
|
61368
|
+
init_rtpfailurecode();
|
|
61369
|
+
init_rtptransactionstatus();
|
|
61370
|
+
RTPTransactionDetails$inboundSchema = objectType({
|
|
61371
|
+
status: RTPTransactionStatus$inboundSchema.optional(),
|
|
61372
|
+
networkResponseCode: stringType().optional(),
|
|
61373
|
+
failureCode: RTPFailureCode$inboundSchema.optional(),
|
|
61374
|
+
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61375
|
+
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61376
|
+
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61377
|
+
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
61378
|
+
});
|
|
61379
|
+
RTPTransactionDetails$outboundSchema = objectType({
|
|
61380
|
+
status: RTPTransactionStatus$outboundSchema.optional(),
|
|
61381
|
+
networkResponseCode: stringType().optional(),
|
|
61382
|
+
failureCode: RTPFailureCode$outboundSchema.optional(),
|
|
61383
|
+
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61384
|
+
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61385
|
+
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61386
|
+
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
61387
|
+
});
|
|
61388
|
+
});
|
|
61389
|
+
|
|
61364
61390
|
// src/models/components/transferaccount.ts
|
|
61365
61391
|
var TransferAccount$inboundSchema, TransferAccount$outboundSchema;
|
|
61366
61392
|
var init_transferaccount = __esm(() => {
|
|
@@ -61428,38 +61454,19 @@ var init_transferpaymentmethodtype = __esm(() => {
|
|
|
61428
61454
|
});
|
|
61429
61455
|
|
|
61430
61456
|
// src/models/components/transferdestination.ts
|
|
61431
|
-
var
|
|
61457
|
+
var TransferDestination$inboundSchema, TransferDestination$outboundSchema;
|
|
61432
61458
|
var init_transferdestination = __esm(() => {
|
|
61433
61459
|
init_esm();
|
|
61434
61460
|
init_achtransactiondetails();
|
|
61435
61461
|
init_applepayresponse();
|
|
61436
61462
|
init_cardtransactiondetails();
|
|
61437
61463
|
init_instantbanktransactiondetails();
|
|
61438
|
-
|
|
61439
|
-
init_rtptransactionstatus();
|
|
61464
|
+
init_rtptransactiondetails();
|
|
61440
61465
|
init_transferaccount();
|
|
61441
61466
|
init_transferpaymentmethodsbankaccount();
|
|
61442
61467
|
init_transferpaymentmethodscard();
|
|
61443
61468
|
init_transferpaymentmethodswallet();
|
|
61444
61469
|
init_transferpaymentmethodtype();
|
|
61445
|
-
RtpDetails$inboundSchema = objectType({
|
|
61446
|
-
status: RTPTransactionStatus$inboundSchema.optional(),
|
|
61447
|
-
networkResponseCode: stringType().optional(),
|
|
61448
|
-
failureCode: RTPFailureCode$inboundSchema.optional(),
|
|
61449
|
-
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61450
|
-
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61451
|
-
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61452
|
-
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
61453
|
-
});
|
|
61454
|
-
RtpDetails$outboundSchema = objectType({
|
|
61455
|
-
status: RTPTransactionStatus$outboundSchema.optional(),
|
|
61456
|
-
networkResponseCode: stringType().optional(),
|
|
61457
|
-
failureCode: RTPFailureCode$outboundSchema.optional(),
|
|
61458
|
-
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61459
|
-
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61460
|
-
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61461
|
-
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
61462
|
-
});
|
|
61463
61470
|
TransferDestination$inboundSchema = objectType({
|
|
61464
61471
|
paymentMethodID: stringType(),
|
|
61465
61472
|
paymentMethodType: TransferPaymentMethodType$inboundSchema,
|
|
@@ -61470,7 +61477,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61470
61477
|
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
61471
61478
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
61472
61479
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
61473
|
-
rtpDetails:
|
|
61480
|
+
rtpDetails: RTPTransactionDetails$inboundSchema.optional(),
|
|
61474
61481
|
instantBankDetails: InstantBankTransactionDetails$inboundSchema.optional()
|
|
61475
61482
|
});
|
|
61476
61483
|
TransferDestination$outboundSchema = objectType({
|
|
@@ -61483,7 +61490,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61483
61490
|
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
61484
61491
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
61485
61492
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
61486
|
-
rtpDetails:
|
|
61493
|
+
rtpDetails: RTPTransactionDetails$outboundSchema.optional(),
|
|
61487
61494
|
instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional()
|
|
61488
61495
|
});
|
|
61489
61496
|
});
|
|
@@ -63453,12 +63460,36 @@ var init_filedetails = __esm(() => {
|
|
|
63453
63460
|
});
|
|
63454
63461
|
});
|
|
63455
63462
|
|
|
63463
|
+
// src/models/components/fileuploadmetadata.ts
|
|
63464
|
+
var FileUploadMetadata$inboundSchema, FileUploadMetadata$outboundSchema;
|
|
63465
|
+
var init_fileuploadmetadata = __esm(() => {
|
|
63466
|
+
init_esm();
|
|
63467
|
+
init_primitives();
|
|
63468
|
+
FileUploadMetadata$inboundSchema = objectType({
|
|
63469
|
+
representative_id: stringType().optional(),
|
|
63470
|
+
comment: stringType().optional()
|
|
63471
|
+
}).transform((v2) => {
|
|
63472
|
+
return remap(v2, {
|
|
63473
|
+
representative_id: "representativeId"
|
|
63474
|
+
});
|
|
63475
|
+
});
|
|
63476
|
+
FileUploadMetadata$outboundSchema = objectType({
|
|
63477
|
+
representativeId: stringType().optional(),
|
|
63478
|
+
comment: stringType().optional()
|
|
63479
|
+
}).transform((v2) => {
|
|
63480
|
+
return remap(v2, {
|
|
63481
|
+
representativeId: "representative_id"
|
|
63482
|
+
});
|
|
63483
|
+
});
|
|
63484
|
+
});
|
|
63485
|
+
|
|
63456
63486
|
// src/models/components/fileuploadrequestmultipart.ts
|
|
63457
63487
|
var FileUploadRequestMultiPartFile$inboundSchema, FileUploadRequestMultiPartFile$outboundSchema, FileUploadRequestMultiPart$inboundSchema, FileUploadRequestMultiPart$outboundSchema;
|
|
63458
63488
|
var init_fileuploadrequestmultipart = __esm(() => {
|
|
63459
63489
|
init_esm();
|
|
63460
63490
|
init_blobs();
|
|
63461
63491
|
init_filepurpose();
|
|
63492
|
+
init_fileuploadmetadata();
|
|
63462
63493
|
FileUploadRequestMultiPartFile$inboundSchema = objectType({
|
|
63463
63494
|
fileName: stringType(),
|
|
63464
63495
|
content: unionType([
|
|
@@ -63480,12 +63511,12 @@ var init_fileuploadrequestmultipart = __esm(() => {
|
|
|
63480
63511
|
FileUploadRequestMultiPart$inboundSchema = objectType({
|
|
63481
63512
|
file: lazyType(() => FileUploadRequestMultiPartFile$inboundSchema),
|
|
63482
63513
|
filePurpose: FilePurpose$inboundSchema,
|
|
63483
|
-
metadata:
|
|
63514
|
+
metadata: FileUploadMetadata$inboundSchema.optional()
|
|
63484
63515
|
});
|
|
63485
63516
|
FileUploadRequestMultiPart$outboundSchema = objectType({
|
|
63486
63517
|
file: lazyType(() => FileUploadRequestMultiPartFile$outboundSchema).or(blobLikeSchema),
|
|
63487
63518
|
filePurpose: FilePurpose$outboundSchema,
|
|
63488
|
-
metadata:
|
|
63519
|
+
metadata: FileUploadMetadata$outboundSchema.optional()
|
|
63489
63520
|
});
|
|
63490
63521
|
});
|
|
63491
63522
|
|
|
@@ -67718,13 +67749,16 @@ var init_webhookdatabalanceupdated = __esm(() => {
|
|
|
67718
67749
|
var WebhookDataBankAccountCreated$inboundSchema, WebhookDataBankAccountCreated$outboundSchema;
|
|
67719
67750
|
var init_webhookdatabankaccountcreated = __esm(() => {
|
|
67720
67751
|
init_esm();
|
|
67752
|
+
init_bankaccountstatus();
|
|
67721
67753
|
WebhookDataBankAccountCreated$inboundSchema = objectType({
|
|
67722
67754
|
bankAccountID: stringType(),
|
|
67723
|
-
accountID: stringType()
|
|
67755
|
+
accountID: stringType(),
|
|
67756
|
+
status: BankAccountStatus$inboundSchema
|
|
67724
67757
|
});
|
|
67725
67758
|
WebhookDataBankAccountCreated$outboundSchema = objectType({
|
|
67726
67759
|
bankAccountID: stringType(),
|
|
67727
|
-
accountID: stringType()
|
|
67760
|
+
accountID: stringType(),
|
|
67761
|
+
status: BankAccountStatus$outboundSchema
|
|
67728
67762
|
});
|
|
67729
67763
|
});
|
|
67730
67764
|
|
|
@@ -68369,6 +68403,7 @@ var init_webhookdata = __esm(() => {
|
|
|
68369
68403
|
WebhookDataBankAccountUpdated$inboundSchema,
|
|
68370
68404
|
WebhookDataRefundUpdated$inboundSchema,
|
|
68371
68405
|
WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
68406
|
+
WebhookDataBankAccountCreated$inboundSchema,
|
|
68372
68407
|
WebhookDataCancellationCreated$inboundSchema,
|
|
68373
68408
|
WebhookDataCancellationUpdated$inboundSchema,
|
|
68374
68409
|
WebhookDataCardAutoUpdated$inboundSchema,
|
|
@@ -68382,7 +68417,6 @@ var init_webhookdata = __esm(() => {
|
|
|
68382
68417
|
WebhookDataTransferCreated$inboundSchema,
|
|
68383
68418
|
WebhookDataWalletUpdated$inboundSchema,
|
|
68384
68419
|
WebhookDataBalanceUpdated$inboundSchema,
|
|
68385
|
-
WebhookDataBankAccountCreated$inboundSchema,
|
|
68386
68420
|
WebhookDataBankAccountDeleted$inboundSchema,
|
|
68387
68421
|
WebhookDataCapabilityRequested$inboundSchema,
|
|
68388
68422
|
WebhookDataInvoiceCreated$inboundSchema,
|
|
@@ -68408,6 +68442,7 @@ var init_webhookdata = __esm(() => {
|
|
|
68408
68442
|
WebhookDataBankAccountUpdated$outboundSchema,
|
|
68409
68443
|
WebhookDataRefundUpdated$outboundSchema,
|
|
68410
68444
|
WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
68445
|
+
WebhookDataBankAccountCreated$outboundSchema,
|
|
68411
68446
|
WebhookDataCancellationCreated$outboundSchema,
|
|
68412
68447
|
WebhookDataCancellationUpdated$outboundSchema,
|
|
68413
68448
|
WebhookDataCardAutoUpdated$outboundSchema,
|
|
@@ -68421,7 +68456,6 @@ var init_webhookdata = __esm(() => {
|
|
|
68421
68456
|
WebhookDataTransferCreated$outboundSchema,
|
|
68422
68457
|
WebhookDataWalletUpdated$outboundSchema,
|
|
68423
68458
|
WebhookDataBalanceUpdated$outboundSchema,
|
|
68424
|
-
WebhookDataBankAccountCreated$outboundSchema,
|
|
68425
68459
|
WebhookDataBankAccountDeleted$outboundSchema,
|
|
68426
68460
|
WebhookDataCapabilityRequested$outboundSchema,
|
|
68427
68461
|
WebhookDataInvoiceCreated$outboundSchema,
|
|
@@ -68706,6 +68740,7 @@ var init_components = __esm(() => {
|
|
|
68706
68740
|
init_filedetails();
|
|
68707
68741
|
init_filepurpose();
|
|
68708
68742
|
init_filestatus();
|
|
68743
|
+
init_fileuploadmetadata();
|
|
68709
68744
|
init_fileuploadrequestmultipart();
|
|
68710
68745
|
init_financialinstitutions();
|
|
68711
68746
|
init_fulfillment();
|
|
@@ -68877,6 +68912,7 @@ var init_components = __esm(() => {
|
|
|
68877
68912
|
init_rtpinstitution();
|
|
68878
68913
|
init_rtprejectioncode();
|
|
68879
68914
|
init_rtpservices();
|
|
68915
|
+
init_rtptransactiondetails();
|
|
68880
68916
|
init_rtptransactionstatus();
|
|
68881
68917
|
init_runtransfer();
|
|
68882
68918
|
init_scheduledtransferimagemetadata();
|
|
@@ -87479,7 +87515,9 @@ async function $do79(client, request, options) {
|
|
|
87479
87515
|
}
|
|
87480
87516
|
appendForm(body, "filePurpose", payload.FileUploadRequestMultiPart.filePurpose);
|
|
87481
87517
|
if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
|
|
87482
|
-
appendForm(body, "metadata", payload.FileUploadRequestMultiPart.metadata
|
|
87518
|
+
appendForm(body, "metadata", encodeJSON("metadata", payload.FileUploadRequestMultiPart.metadata, {
|
|
87519
|
+
explode: true
|
|
87520
|
+
}));
|
|
87483
87521
|
}
|
|
87484
87522
|
const pathParams = {
|
|
87485
87523
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
@@ -98269,7 +98307,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
98269
98307
|
function createMCPServer(deps) {
|
|
98270
98308
|
const server = new McpServer({
|
|
98271
98309
|
name: "Moov",
|
|
98272
|
-
version: "25.11.
|
|
98310
|
+
version: "25.11.5"
|
|
98273
98311
|
});
|
|
98274
98312
|
const client = new MoovCore({
|
|
98275
98313
|
security: deps.security,
|
|
@@ -99826,7 +99864,7 @@ var routes = rn({
|
|
|
99826
99864
|
var app = Ve(routes, {
|
|
99827
99865
|
name: "mcp",
|
|
99828
99866
|
versionInfo: {
|
|
99829
|
-
currentVersion: "25.11.
|
|
99867
|
+
currentVersion: "25.11.5"
|
|
99830
99868
|
}
|
|
99831
99869
|
});
|
|
99832
99870
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -99834,5 +99872,5 @@ export {
|
|
|
99834
99872
|
app
|
|
99835
99873
|
};
|
|
99836
99874
|
|
|
99837
|
-
//# debugId=
|
|
99875
|
+
//# debugId=BC6C0CFE5FE3455264756E2164756E21
|
|
99838
99876
|
//# sourceMappingURL=mcp-server.js.map
|