@moovio/sdk 26.2.3 → 26.2.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.
Files changed (75) hide show
  1. package/FUNCTIONS.md +2 -2
  2. package/bin/mcp-server.js +74 -36
  3. package/bin/mcp-server.js.map +26 -24
  4. package/funcs/filesUpload.d.ts.map +1 -1
  5. package/funcs/filesUpload.js +3 -1
  6. package/funcs/filesUpload.js.map +1 -1
  7. package/jsr.json +1 -1
  8. package/lib/config.d.ts +3 -3
  9. package/lib/config.js +3 -3
  10. package/mcp-server/mcp-server.js +1 -1
  11. package/mcp-server/server.js +1 -1
  12. package/models/components/createdtransfer.d.ts +1 -1
  13. package/models/components/createpaymentlink.d.ts +1 -1
  14. package/models/components/createpaymentlinklineitems.d.ts +1 -1
  15. package/models/components/createpaymentlinklineitemsupdate.d.ts +1 -1
  16. package/models/components/createtransfer.d.ts +1 -1
  17. package/models/components/createtransferlineitems.d.ts +1 -1
  18. package/models/components/fileuploadmetadata.d.ts +28 -0
  19. package/models/components/fileuploadmetadata.d.ts.map +1 -0
  20. package/models/components/fileuploadmetadata.js +69 -0
  21. package/models/components/fileuploadmetadata.js.map +1 -0
  22. package/models/components/fileuploadrequestmultipart.d.ts +5 -8
  23. package/models/components/fileuploadrequestmultipart.d.ts.map +1 -1
  24. package/models/components/fileuploadrequestmultipart.js +3 -2
  25. package/models/components/fileuploadrequestmultipart.js.map +1 -1
  26. package/models/components/index.d.ts +2 -0
  27. package/models/components/index.d.ts.map +1 -1
  28. package/models/components/index.js +2 -0
  29. package/models/components/index.js.map +1 -1
  30. package/models/components/paymentlink.d.ts +1 -1
  31. package/models/components/paymentlinklineitems.d.ts +1 -1
  32. package/models/components/rtptransactiondetails.d.ts +45 -0
  33. package/models/components/rtptransactiondetails.d.ts.map +1 -0
  34. package/models/components/rtptransactiondetails.js +75 -0
  35. package/models/components/rtptransactiondetails.js.map +1 -0
  36. package/models/components/transfer.d.ts +1 -1
  37. package/models/components/transferdestination.d.ts +5 -43
  38. package/models/components/transferdestination.d.ts.map +1 -1
  39. package/models/components/transferdestination.js +4 -36
  40. package/models/components/transferdestination.js.map +1 -1
  41. package/models/components/transferlineitems.d.ts +1 -1
  42. package/models/components/updatepaymentlink.d.ts +1 -1
  43. package/models/components/webhookdata.d.ts +2 -2
  44. package/models/components/webhookdata.d.ts.map +1 -1
  45. package/models/components/webhookdata.js +2 -2
  46. package/models/components/webhookdata.js.map +1 -1
  47. package/models/components/webhookdatabankaccountcreated.d.ts +3 -0
  48. package/models/components/webhookdatabankaccountcreated.d.ts.map +1 -1
  49. package/models/components/webhookdatabankaccountcreated.js +3 -0
  50. package/models/components/webhookdatabankaccountcreated.js.map +1 -1
  51. package/models/errors/transfer.d.ts +2 -2
  52. package/package.json +1 -1
  53. package/src/funcs/filesUpload.ts +13 -2
  54. package/src/lib/config.ts +3 -3
  55. package/src/mcp-server/mcp-server.ts +1 -1
  56. package/src/mcp-server/server.ts +1 -1
  57. package/src/models/components/createdtransfer.ts +1 -1
  58. package/src/models/components/createpaymentlink.ts +1 -1
  59. package/src/models/components/createpaymentlinklineitems.ts +1 -1
  60. package/src/models/components/createpaymentlinklineitemsupdate.ts +1 -1
  61. package/src/models/components/createtransfer.ts +1 -1
  62. package/src/models/components/createtransferlineitems.ts +1 -1
  63. package/src/models/components/fileuploadmetadata.ts +73 -0
  64. package/src/models/components/fileuploadrequestmultipart.ts +12 -10
  65. package/src/models/components/index.ts +2 -0
  66. package/src/models/components/paymentlink.ts +1 -1
  67. package/src/models/components/paymentlinklineitems.ts +1 -1
  68. package/src/models/components/rtptransactiondetails.ts +104 -0
  69. package/src/models/components/transfer.ts +1 -1
  70. package/src/models/components/transferdestination.ts +11 -95
  71. package/src/models/components/transferlineitems.ts +1 -1
  72. package/src/models/components/updatepaymentlink.ts +1 -1
  73. package/src/models/components/webhookdata.ts +4 -4
  74. package/src/models/components/webhookdatabankaccountcreated.ts +9 -0
  75. 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 targetting browsers 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 targetting the browser or serverless runtimes
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: "v2026.01.00",
52882
- sdkVersion: "26.2.3",
52883
- genVersion: "2.881.4",
52884
- userAgent: "speakeasy-sdk/typescript 26.2.3 2.881.4 v2026.01.00 @moovio/sdk"
52882
+ sdkVersion: "26.2.6",
52883
+ genVersion: "2.882.0",
52884
+ userAgent: "speakeasy-sdk/typescript 26.2.6 2.882.0 v2026.01.00 @moovio/sdk"
52885
52885
  };
52886
52886
  });
52887
52887
 
@@ -61362,6 +61362,32 @@ var init_rtptransactionstatus = __esm(() => {
61362
61362
  RTPTransactionStatus$outboundSchema = RTPTransactionStatus$inboundSchema;
61363
61363
  });
61364
61364
 
61365
+ // src/models/components/rtptransactiondetails.ts
61366
+ var RTPTransactionDetails$inboundSchema, RTPTransactionDetails$outboundSchema;
61367
+ var init_rtptransactiondetails = __esm(() => {
61368
+ init_esm();
61369
+ init_rtpfailurecode();
61370
+ init_rtptransactionstatus();
61371
+ RTPTransactionDetails$inboundSchema = objectType({
61372
+ status: RTPTransactionStatus$inboundSchema.optional(),
61373
+ networkResponseCode: stringType().optional(),
61374
+ failureCode: RTPFailureCode$inboundSchema.optional(),
61375
+ initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
61376
+ completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
61377
+ failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
61378
+ acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
61379
+ });
61380
+ RTPTransactionDetails$outboundSchema = objectType({
61381
+ status: RTPTransactionStatus$outboundSchema.optional(),
61382
+ networkResponseCode: stringType().optional(),
61383
+ failureCode: RTPFailureCode$outboundSchema.optional(),
61384
+ initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
61385
+ completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
61386
+ failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
61387
+ acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
61388
+ });
61389
+ });
61390
+
61365
61391
  // src/models/components/transferaccount.ts
61366
61392
  var TransferAccount$inboundSchema, TransferAccount$outboundSchema;
61367
61393
  var init_transferaccount = __esm(() => {
@@ -61430,38 +61456,19 @@ var init_transferpaymentmethodtype = __esm(() => {
61430
61456
  });
61431
61457
 
61432
61458
  // src/models/components/transferdestination.ts
61433
- var RtpDetails$inboundSchema, RtpDetails$outboundSchema, TransferDestination$inboundSchema, TransferDestination$outboundSchema;
61459
+ var TransferDestination$inboundSchema, TransferDestination$outboundSchema;
61434
61460
  var init_transferdestination = __esm(() => {
61435
61461
  init_esm();
61436
61462
  init_achtransactiondetails();
61437
61463
  init_applepayresponse();
61438
61464
  init_cardtransactiondetails();
61439
61465
  init_instantbanktransactiondetails();
61440
- init_rtpfailurecode();
61441
- init_rtptransactionstatus();
61466
+ init_rtptransactiondetails();
61442
61467
  init_transferaccount();
61443
61468
  init_transferpaymentmethodsbankaccount();
61444
61469
  init_transferpaymentmethodscard();
61445
61470
  init_transferpaymentmethodswallet();
61446
61471
  init_transferpaymentmethodtype();
61447
- RtpDetails$inboundSchema = objectType({
61448
- status: RTPTransactionStatus$inboundSchema.optional(),
61449
- networkResponseCode: stringType().optional(),
61450
- failureCode: RTPFailureCode$inboundSchema.optional(),
61451
- initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
61452
- completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
61453
- failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
61454
- acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
61455
- });
61456
- RtpDetails$outboundSchema = objectType({
61457
- status: RTPTransactionStatus$outboundSchema.optional(),
61458
- networkResponseCode: stringType().optional(),
61459
- failureCode: RTPFailureCode$outboundSchema.optional(),
61460
- initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
61461
- completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
61462
- failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
61463
- acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
61464
- });
61465
61472
  TransferDestination$inboundSchema = objectType({
61466
61473
  paymentMethodID: stringType(),
61467
61474
  paymentMethodType: TransferPaymentMethodType$inboundSchema,
@@ -61472,7 +61479,7 @@ var init_transferdestination = __esm(() => {
61472
61479
  achDetails: ACHTransactionDetails$inboundSchema.optional(),
61473
61480
  applePay: ApplePayResponse$inboundSchema.optional(),
61474
61481
  cardDetails: CardTransactionDetails$inboundSchema.optional(),
61475
- rtpDetails: lazyType(() => RtpDetails$inboundSchema).optional(),
61482
+ rtpDetails: RTPTransactionDetails$inboundSchema.optional(),
61476
61483
  instantBankDetails: InstantBankTransactionDetails$inboundSchema.optional()
61477
61484
  });
61478
61485
  TransferDestination$outboundSchema = objectType({
@@ -61485,7 +61492,7 @@ var init_transferdestination = __esm(() => {
61485
61492
  achDetails: ACHTransactionDetails$outboundSchema.optional(),
61486
61493
  applePay: ApplePayResponse$outboundSchema.optional(),
61487
61494
  cardDetails: CardTransactionDetails$outboundSchema.optional(),
61488
- rtpDetails: lazyType(() => RtpDetails$outboundSchema).optional(),
61495
+ rtpDetails: RTPTransactionDetails$outboundSchema.optional(),
61489
61496
  instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional()
61490
61497
  });
61491
61498
  });
@@ -63455,12 +63462,36 @@ var init_filedetails = __esm(() => {
63455
63462
  });
63456
63463
  });
63457
63464
 
63465
+ // src/models/components/fileuploadmetadata.ts
63466
+ var FileUploadMetadata$inboundSchema, FileUploadMetadata$outboundSchema;
63467
+ var init_fileuploadmetadata = __esm(() => {
63468
+ init_esm();
63469
+ init_primitives();
63470
+ FileUploadMetadata$inboundSchema = objectType({
63471
+ representative_id: stringType().optional(),
63472
+ comment: stringType().optional()
63473
+ }).transform((v2) => {
63474
+ return remap(v2, {
63475
+ representative_id: "representativeId"
63476
+ });
63477
+ });
63478
+ FileUploadMetadata$outboundSchema = objectType({
63479
+ representativeId: stringType().optional(),
63480
+ comment: stringType().optional()
63481
+ }).transform((v2) => {
63482
+ return remap(v2, {
63483
+ representativeId: "representative_id"
63484
+ });
63485
+ });
63486
+ });
63487
+
63458
63488
  // src/models/components/fileuploadrequestmultipart.ts
63459
63489
  var FileUploadRequestMultiPartFile$inboundSchema, FileUploadRequestMultiPartFile$outboundSchema, FileUploadRequestMultiPart$inboundSchema, FileUploadRequestMultiPart$outboundSchema;
63460
63490
  var init_fileuploadrequestmultipart = __esm(() => {
63461
63491
  init_esm();
63462
63492
  init_blobs();
63463
63493
  init_filepurpose();
63494
+ init_fileuploadmetadata();
63464
63495
  FileUploadRequestMultiPartFile$inboundSchema = objectType({
63465
63496
  fileName: stringType(),
63466
63497
  content: unionType([
@@ -63482,12 +63513,12 @@ var init_fileuploadrequestmultipart = __esm(() => {
63482
63513
  FileUploadRequestMultiPart$inboundSchema = objectType({
63483
63514
  file: lazyType(() => FileUploadRequestMultiPartFile$inboundSchema),
63484
63515
  filePurpose: FilePurpose$inboundSchema,
63485
- metadata: stringType().optional()
63516
+ metadata: FileUploadMetadata$inboundSchema.optional()
63486
63517
  });
63487
63518
  FileUploadRequestMultiPart$outboundSchema = objectType({
63488
63519
  file: lazyType(() => FileUploadRequestMultiPartFile$outboundSchema).or(blobLikeSchema),
63489
63520
  filePurpose: FilePurpose$outboundSchema,
63490
- metadata: stringType().optional()
63521
+ metadata: FileUploadMetadata$outboundSchema.optional()
63491
63522
  });
63492
63523
  });
63493
63524
 
@@ -67760,13 +67791,16 @@ var init_webhookdatabalanceupdated = __esm(() => {
67760
67791
  var WebhookDataBankAccountCreated$inboundSchema, WebhookDataBankAccountCreated$outboundSchema;
67761
67792
  var init_webhookdatabankaccountcreated = __esm(() => {
67762
67793
  init_esm();
67794
+ init_bankaccountstatus();
67763
67795
  WebhookDataBankAccountCreated$inboundSchema = objectType({
67764
67796
  bankAccountID: stringType(),
67765
- accountID: stringType()
67797
+ accountID: stringType(),
67798
+ status: BankAccountStatus$inboundSchema
67766
67799
  });
67767
67800
  WebhookDataBankAccountCreated$outboundSchema = objectType({
67768
67801
  bankAccountID: stringType(),
67769
- accountID: stringType()
67802
+ accountID: stringType(),
67803
+ status: BankAccountStatus$outboundSchema
67770
67804
  });
67771
67805
  });
67772
67806
 
@@ -68411,6 +68445,7 @@ var init_webhookdata = __esm(() => {
68411
68445
  WebhookDataBankAccountUpdated$inboundSchema,
68412
68446
  WebhookDataRefundUpdated$inboundSchema,
68413
68447
  WebhookDataWalletTransactionUpdated$inboundSchema,
68448
+ WebhookDataBankAccountCreated$inboundSchema,
68414
68449
  WebhookDataCancellationCreated$inboundSchema,
68415
68450
  WebhookDataCancellationUpdated$inboundSchema,
68416
68451
  WebhookDataCardAutoUpdated$inboundSchema,
@@ -68424,7 +68459,6 @@ var init_webhookdata = __esm(() => {
68424
68459
  WebhookDataTransferCreated$inboundSchema,
68425
68460
  WebhookDataWalletUpdated$inboundSchema,
68426
68461
  WebhookDataBalanceUpdated$inboundSchema,
68427
- WebhookDataBankAccountCreated$inboundSchema,
68428
68462
  WebhookDataBankAccountDeleted$inboundSchema,
68429
68463
  WebhookDataCapabilityRequested$inboundSchema,
68430
68464
  WebhookDataInvoiceCreated$inboundSchema,
@@ -68450,6 +68484,7 @@ var init_webhookdata = __esm(() => {
68450
68484
  WebhookDataBankAccountUpdated$outboundSchema,
68451
68485
  WebhookDataRefundUpdated$outboundSchema,
68452
68486
  WebhookDataWalletTransactionUpdated$outboundSchema,
68487
+ WebhookDataBankAccountCreated$outboundSchema,
68453
68488
  WebhookDataCancellationCreated$outboundSchema,
68454
68489
  WebhookDataCancellationUpdated$outboundSchema,
68455
68490
  WebhookDataCardAutoUpdated$outboundSchema,
@@ -68463,7 +68498,6 @@ var init_webhookdata = __esm(() => {
68463
68498
  WebhookDataTransferCreated$outboundSchema,
68464
68499
  WebhookDataWalletUpdated$outboundSchema,
68465
68500
  WebhookDataBalanceUpdated$outboundSchema,
68466
- WebhookDataBankAccountCreated$outboundSchema,
68467
68501
  WebhookDataBankAccountDeleted$outboundSchema,
68468
68502
  WebhookDataCapabilityRequested$outboundSchema,
68469
68503
  WebhookDataInvoiceCreated$outboundSchema,
@@ -68748,6 +68782,7 @@ var init_components = __esm(() => {
68748
68782
  init_filedetails();
68749
68783
  init_filepurpose();
68750
68784
  init_filestatus();
68785
+ init_fileuploadmetadata();
68751
68786
  init_fileuploadrequestmultipart();
68752
68787
  init_financialinstitutions();
68753
68788
  init_fulfillment();
@@ -68921,6 +68956,7 @@ var init_components = __esm(() => {
68921
68956
  init_rtpinstitution();
68922
68957
  init_rtprejectioncode();
68923
68958
  init_rtpservices();
68959
+ init_rtptransactiondetails();
68924
68960
  init_rtptransactionstatus();
68925
68961
  init_runtransfer();
68926
68962
  init_scheduledtransferimagemetadata();
@@ -87523,7 +87559,9 @@ async function $do79(client, request, options) {
87523
87559
  }
87524
87560
  appendForm(body, "filePurpose", payload.FileUploadRequestMultiPart.filePurpose);
87525
87561
  if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
87526
- appendForm(body, "metadata", payload.FileUploadRequestMultiPart.metadata);
87562
+ appendForm(body, "metadata", encodeJSON("metadata", payload.FileUploadRequestMultiPart.metadata, {
87563
+ explode: true
87564
+ }));
87527
87565
  }
87528
87566
  const pathParams = {
87529
87567
  accountID: encodeSimple("accountID", payload.accountID, {
@@ -98313,7 +98351,7 @@ var init_webhooksUpdate2 = __esm(() => {
98313
98351
  function createMCPServer(deps) {
98314
98352
  const server = new McpServer({
98315
98353
  name: "Moov",
98316
- version: "26.2.3"
98354
+ version: "26.2.6"
98317
98355
  });
98318
98356
  const client = new MoovCore({
98319
98357
  security: deps.security,
@@ -99870,7 +99908,7 @@ var routes = rn({
99870
99908
  var app = Ve(routes, {
99871
99909
  name: "mcp",
99872
99910
  versionInfo: {
99873
- currentVersion: "26.2.3"
99911
+ currentVersion: "26.2.6"
99874
99912
  }
99875
99913
  });
99876
99914
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -99878,5 +99916,5 @@ export {
99878
99916
  app
99879
99917
  };
99880
99918
 
99881
- //# debugId=EF9BDA9AEF9DE6CF64756E2164756E21
99919
+ //# debugId=44A5CD7BA5E26B7764756E2164756E21
99882
99920
  //# sourceMappingURL=mcp-server.js.map