@moovio/sdk 25.8.3 → 25.8.4

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 (42) hide show
  1. package/FUNCTIONS.md +2 -2
  2. package/bin/mcp-server.js +43 -13
  3. package/bin/mcp-server.js.map +12 -11
  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/lib/config.js.map +1 -1
  11. package/mcp-server/mcp-server.js +1 -1
  12. package/mcp-server/server.js +1 -1
  13. package/models/components/fileuploadmetadata.d.ts +28 -0
  14. package/models/components/fileuploadmetadata.d.ts.map +1 -0
  15. package/models/components/fileuploadmetadata.js +69 -0
  16. package/models/components/fileuploadmetadata.js.map +1 -0
  17. package/models/components/fileuploadrequestmultipart.d.ts +5 -8
  18. package/models/components/fileuploadrequestmultipart.d.ts.map +1 -1
  19. package/models/components/fileuploadrequestmultipart.js +3 -2
  20. package/models/components/fileuploadrequestmultipart.js.map +1 -1
  21. package/models/components/index.d.ts +1 -0
  22. package/models/components/index.d.ts.map +1 -1
  23. package/models/components/index.js +1 -0
  24. package/models/components/index.js.map +1 -1
  25. package/models/components/webhookdata.d.ts +2 -2
  26. package/models/components/webhookdata.d.ts.map +1 -1
  27. package/models/components/webhookdata.js +2 -2
  28. package/models/components/webhookdata.js.map +1 -1
  29. package/models/components/webhookdatabankaccountcreated.d.ts +3 -0
  30. package/models/components/webhookdatabankaccountcreated.d.ts.map +1 -1
  31. package/models/components/webhookdatabankaccountcreated.js +3 -0
  32. package/models/components/webhookdatabankaccountcreated.js.map +1 -1
  33. package/package.json +1 -1
  34. package/src/funcs/filesUpload.ts +13 -2
  35. package/src/lib/config.ts +3 -3
  36. package/src/mcp-server/mcp-server.ts +1 -1
  37. package/src/mcp-server/server.ts +1 -1
  38. package/src/models/components/fileuploadmetadata.ts +73 -0
  39. package/src/models/components/fileuploadrequestmultipart.ts +12 -10
  40. package/src/models/components/index.ts +1 -0
  41. package/src/models/components/webhookdata.ts +4 -4
  42. 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 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: "v2025.07.00",
52882
- sdkVersion: "25.8.3",
52883
- genVersion: "2.881.4",
52884
- userAgent: "speakeasy-sdk/typescript 25.8.3 2.881.4 v2025.07.00 @moovio/sdk"
52882
+ sdkVersion: "25.8.4",
52883
+ genVersion: "2.881.17",
52884
+ userAgent: "speakeasy-sdk/typescript 25.8.4 2.881.17 v2025.07.00 @moovio/sdk"
52885
52885
  };
52886
52886
  });
52887
52887
 
@@ -63453,12 +63453,36 @@ var init_filedetails = __esm(() => {
63453
63453
  });
63454
63454
  });
63455
63455
 
63456
+ // src/models/components/fileuploadmetadata.ts
63457
+ var FileUploadMetadata$inboundSchema, FileUploadMetadata$outboundSchema;
63458
+ var init_fileuploadmetadata = __esm(() => {
63459
+ init_esm();
63460
+ init_primitives();
63461
+ FileUploadMetadata$inboundSchema = objectType({
63462
+ representative_id: stringType().optional(),
63463
+ comment: stringType().optional()
63464
+ }).transform((v2) => {
63465
+ return remap(v2, {
63466
+ representative_id: "representativeId"
63467
+ });
63468
+ });
63469
+ FileUploadMetadata$outboundSchema = objectType({
63470
+ representativeId: stringType().optional(),
63471
+ comment: stringType().optional()
63472
+ }).transform((v2) => {
63473
+ return remap(v2, {
63474
+ representativeId: "representative_id"
63475
+ });
63476
+ });
63477
+ });
63478
+
63456
63479
  // src/models/components/fileuploadrequestmultipart.ts
63457
63480
  var FileUploadRequestMultiPartFile$inboundSchema, FileUploadRequestMultiPartFile$outboundSchema, FileUploadRequestMultiPart$inboundSchema, FileUploadRequestMultiPart$outboundSchema;
63458
63481
  var init_fileuploadrequestmultipart = __esm(() => {
63459
63482
  init_esm();
63460
63483
  init_blobs();
63461
63484
  init_filepurpose();
63485
+ init_fileuploadmetadata();
63462
63486
  FileUploadRequestMultiPartFile$inboundSchema = objectType({
63463
63487
  fileName: stringType(),
63464
63488
  content: unionType([
@@ -63480,12 +63504,12 @@ var init_fileuploadrequestmultipart = __esm(() => {
63480
63504
  FileUploadRequestMultiPart$inboundSchema = objectType({
63481
63505
  file: lazyType(() => FileUploadRequestMultiPartFile$inboundSchema),
63482
63506
  filePurpose: FilePurpose$inboundSchema,
63483
- metadata: stringType().optional()
63507
+ metadata: FileUploadMetadata$inboundSchema.optional()
63484
63508
  });
63485
63509
  FileUploadRequestMultiPart$outboundSchema = objectType({
63486
63510
  file: lazyType(() => FileUploadRequestMultiPartFile$outboundSchema).or(blobLikeSchema),
63487
63511
  filePurpose: FilePurpose$outboundSchema,
63488
- metadata: stringType().optional()
63512
+ metadata: FileUploadMetadata$outboundSchema.optional()
63489
63513
  });
63490
63514
  });
63491
63515
 
@@ -67718,13 +67742,16 @@ var init_webhookdatabalanceupdated = __esm(() => {
67718
67742
  var WebhookDataBankAccountCreated$inboundSchema, WebhookDataBankAccountCreated$outboundSchema;
67719
67743
  var init_webhookdatabankaccountcreated = __esm(() => {
67720
67744
  init_esm();
67745
+ init_bankaccountstatus();
67721
67746
  WebhookDataBankAccountCreated$inboundSchema = objectType({
67722
67747
  bankAccountID: stringType(),
67723
- accountID: stringType()
67748
+ accountID: stringType(),
67749
+ status: BankAccountStatus$inboundSchema
67724
67750
  });
67725
67751
  WebhookDataBankAccountCreated$outboundSchema = objectType({
67726
67752
  bankAccountID: stringType(),
67727
- accountID: stringType()
67753
+ accountID: stringType(),
67754
+ status: BankAccountStatus$outboundSchema
67728
67755
  });
67729
67756
  });
67730
67757
 
@@ -68369,6 +68396,7 @@ var init_webhookdata = __esm(() => {
68369
68396
  WebhookDataBankAccountUpdated$inboundSchema,
68370
68397
  WebhookDataRefundUpdated$inboundSchema,
68371
68398
  WebhookDataWalletTransactionUpdated$inboundSchema,
68399
+ WebhookDataBankAccountCreated$inboundSchema,
68372
68400
  WebhookDataCancellationCreated$inboundSchema,
68373
68401
  WebhookDataCancellationUpdated$inboundSchema,
68374
68402
  WebhookDataCardAutoUpdated$inboundSchema,
@@ -68382,7 +68410,6 @@ var init_webhookdata = __esm(() => {
68382
68410
  WebhookDataTransferCreated$inboundSchema,
68383
68411
  WebhookDataWalletUpdated$inboundSchema,
68384
68412
  WebhookDataBalanceUpdated$inboundSchema,
68385
- WebhookDataBankAccountCreated$inboundSchema,
68386
68413
  WebhookDataBankAccountDeleted$inboundSchema,
68387
68414
  WebhookDataCapabilityRequested$inboundSchema,
68388
68415
  WebhookDataInvoiceCreated$inboundSchema,
@@ -68408,6 +68435,7 @@ var init_webhookdata = __esm(() => {
68408
68435
  WebhookDataBankAccountUpdated$outboundSchema,
68409
68436
  WebhookDataRefundUpdated$outboundSchema,
68410
68437
  WebhookDataWalletTransactionUpdated$outboundSchema,
68438
+ WebhookDataBankAccountCreated$outboundSchema,
68411
68439
  WebhookDataCancellationCreated$outboundSchema,
68412
68440
  WebhookDataCancellationUpdated$outboundSchema,
68413
68441
  WebhookDataCardAutoUpdated$outboundSchema,
@@ -68421,7 +68449,6 @@ var init_webhookdata = __esm(() => {
68421
68449
  WebhookDataTransferCreated$outboundSchema,
68422
68450
  WebhookDataWalletUpdated$outboundSchema,
68423
68451
  WebhookDataBalanceUpdated$outboundSchema,
68424
- WebhookDataBankAccountCreated$outboundSchema,
68425
68452
  WebhookDataBankAccountDeleted$outboundSchema,
68426
68453
  WebhookDataCapabilityRequested$outboundSchema,
68427
68454
  WebhookDataInvoiceCreated$outboundSchema,
@@ -68706,6 +68733,7 @@ var init_components = __esm(() => {
68706
68733
  init_filedetails();
68707
68734
  init_filepurpose();
68708
68735
  init_filestatus();
68736
+ init_fileuploadmetadata();
68709
68737
  init_fileuploadrequestmultipart();
68710
68738
  init_financialinstitutions();
68711
68739
  init_fulfillment();
@@ -87479,7 +87507,9 @@ async function $do79(client, request, options) {
87479
87507
  }
87480
87508
  appendForm(body, "filePurpose", payload.FileUploadRequestMultiPart.filePurpose);
87481
87509
  if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
87482
- appendForm(body, "metadata", payload.FileUploadRequestMultiPart.metadata);
87510
+ appendForm(body, "metadata", encodeJSON("metadata", payload.FileUploadRequestMultiPart.metadata, {
87511
+ explode: true
87512
+ }));
87483
87513
  }
87484
87514
  const pathParams = {
87485
87515
  accountID: encodeSimple("accountID", payload.accountID, {
@@ -98269,7 +98299,7 @@ var init_webhooksUpdate2 = __esm(() => {
98269
98299
  function createMCPServer(deps) {
98270
98300
  const server = new McpServer({
98271
98301
  name: "Moov",
98272
- version: "25.8.3"
98302
+ version: "25.8.4"
98273
98303
  });
98274
98304
  const client = new MoovCore({
98275
98305
  security: deps.security,
@@ -99826,7 +99856,7 @@ var routes = rn({
99826
99856
  var app = Ve(routes, {
99827
99857
  name: "mcp",
99828
99858
  versionInfo: {
99829
- currentVersion: "25.8.3"
99859
+ currentVersion: "25.8.4"
99830
99860
  }
99831
99861
  });
99832
99862
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -99834,5 +99864,5 @@ export {
99834
99864
  app
99835
99865
  };
99836
99866
 
99837
- //# debugId=EFC738FF0B3467A164756E2164756E21
99867
+ //# debugId=FD595ABBEDEAC91C64756E2164756E21
99838
99868
  //# sourceMappingURL=mcp-server.js.map