@moovio/sdk 26.2.3 → 26.2.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: "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.4",
52883
+ genVersion: "2.881.17",
52884
+ userAgent: "speakeasy-sdk/typescript 26.2.4 2.881.17 v2026.01.00 @moovio/sdk"
52885
52885
  };
52886
52886
  });
52887
52887
 
@@ -63455,12 +63455,36 @@ var init_filedetails = __esm(() => {
63455
63455
  });
63456
63456
  });
63457
63457
 
63458
+ // src/models/components/fileuploadmetadata.ts
63459
+ var FileUploadMetadata$inboundSchema, FileUploadMetadata$outboundSchema;
63460
+ var init_fileuploadmetadata = __esm(() => {
63461
+ init_esm();
63462
+ init_primitives();
63463
+ FileUploadMetadata$inboundSchema = objectType({
63464
+ representative_id: stringType().optional(),
63465
+ comment: stringType().optional()
63466
+ }).transform((v2) => {
63467
+ return remap(v2, {
63468
+ representative_id: "representativeId"
63469
+ });
63470
+ });
63471
+ FileUploadMetadata$outboundSchema = objectType({
63472
+ representativeId: stringType().optional(),
63473
+ comment: stringType().optional()
63474
+ }).transform((v2) => {
63475
+ return remap(v2, {
63476
+ representativeId: "representative_id"
63477
+ });
63478
+ });
63479
+ });
63480
+
63458
63481
  // src/models/components/fileuploadrequestmultipart.ts
63459
63482
  var FileUploadRequestMultiPartFile$inboundSchema, FileUploadRequestMultiPartFile$outboundSchema, FileUploadRequestMultiPart$inboundSchema, FileUploadRequestMultiPart$outboundSchema;
63460
63483
  var init_fileuploadrequestmultipart = __esm(() => {
63461
63484
  init_esm();
63462
63485
  init_blobs();
63463
63486
  init_filepurpose();
63487
+ init_fileuploadmetadata();
63464
63488
  FileUploadRequestMultiPartFile$inboundSchema = objectType({
63465
63489
  fileName: stringType(),
63466
63490
  content: unionType([
@@ -63482,12 +63506,12 @@ var init_fileuploadrequestmultipart = __esm(() => {
63482
63506
  FileUploadRequestMultiPart$inboundSchema = objectType({
63483
63507
  file: lazyType(() => FileUploadRequestMultiPartFile$inboundSchema),
63484
63508
  filePurpose: FilePurpose$inboundSchema,
63485
- metadata: stringType().optional()
63509
+ metadata: FileUploadMetadata$inboundSchema.optional()
63486
63510
  });
63487
63511
  FileUploadRequestMultiPart$outboundSchema = objectType({
63488
63512
  file: lazyType(() => FileUploadRequestMultiPartFile$outboundSchema).or(blobLikeSchema),
63489
63513
  filePurpose: FilePurpose$outboundSchema,
63490
- metadata: stringType().optional()
63514
+ metadata: FileUploadMetadata$outboundSchema.optional()
63491
63515
  });
63492
63516
  });
63493
63517
 
@@ -67760,13 +67784,16 @@ var init_webhookdatabalanceupdated = __esm(() => {
67760
67784
  var WebhookDataBankAccountCreated$inboundSchema, WebhookDataBankAccountCreated$outboundSchema;
67761
67785
  var init_webhookdatabankaccountcreated = __esm(() => {
67762
67786
  init_esm();
67787
+ init_bankaccountstatus();
67763
67788
  WebhookDataBankAccountCreated$inboundSchema = objectType({
67764
67789
  bankAccountID: stringType(),
67765
- accountID: stringType()
67790
+ accountID: stringType(),
67791
+ status: BankAccountStatus$inboundSchema
67766
67792
  });
67767
67793
  WebhookDataBankAccountCreated$outboundSchema = objectType({
67768
67794
  bankAccountID: stringType(),
67769
- accountID: stringType()
67795
+ accountID: stringType(),
67796
+ status: BankAccountStatus$outboundSchema
67770
67797
  });
67771
67798
  });
67772
67799
 
@@ -68411,6 +68438,7 @@ var init_webhookdata = __esm(() => {
68411
68438
  WebhookDataBankAccountUpdated$inboundSchema,
68412
68439
  WebhookDataRefundUpdated$inboundSchema,
68413
68440
  WebhookDataWalletTransactionUpdated$inboundSchema,
68441
+ WebhookDataBankAccountCreated$inboundSchema,
68414
68442
  WebhookDataCancellationCreated$inboundSchema,
68415
68443
  WebhookDataCancellationUpdated$inboundSchema,
68416
68444
  WebhookDataCardAutoUpdated$inboundSchema,
@@ -68424,7 +68452,6 @@ var init_webhookdata = __esm(() => {
68424
68452
  WebhookDataTransferCreated$inboundSchema,
68425
68453
  WebhookDataWalletUpdated$inboundSchema,
68426
68454
  WebhookDataBalanceUpdated$inboundSchema,
68427
- WebhookDataBankAccountCreated$inboundSchema,
68428
68455
  WebhookDataBankAccountDeleted$inboundSchema,
68429
68456
  WebhookDataCapabilityRequested$inboundSchema,
68430
68457
  WebhookDataInvoiceCreated$inboundSchema,
@@ -68450,6 +68477,7 @@ var init_webhookdata = __esm(() => {
68450
68477
  WebhookDataBankAccountUpdated$outboundSchema,
68451
68478
  WebhookDataRefundUpdated$outboundSchema,
68452
68479
  WebhookDataWalletTransactionUpdated$outboundSchema,
68480
+ WebhookDataBankAccountCreated$outboundSchema,
68453
68481
  WebhookDataCancellationCreated$outboundSchema,
68454
68482
  WebhookDataCancellationUpdated$outboundSchema,
68455
68483
  WebhookDataCardAutoUpdated$outboundSchema,
@@ -68463,7 +68491,6 @@ var init_webhookdata = __esm(() => {
68463
68491
  WebhookDataTransferCreated$outboundSchema,
68464
68492
  WebhookDataWalletUpdated$outboundSchema,
68465
68493
  WebhookDataBalanceUpdated$outboundSchema,
68466
- WebhookDataBankAccountCreated$outboundSchema,
68467
68494
  WebhookDataBankAccountDeleted$outboundSchema,
68468
68495
  WebhookDataCapabilityRequested$outboundSchema,
68469
68496
  WebhookDataInvoiceCreated$outboundSchema,
@@ -68748,6 +68775,7 @@ var init_components = __esm(() => {
68748
68775
  init_filedetails();
68749
68776
  init_filepurpose();
68750
68777
  init_filestatus();
68778
+ init_fileuploadmetadata();
68751
68779
  init_fileuploadrequestmultipart();
68752
68780
  init_financialinstitutions();
68753
68781
  init_fulfillment();
@@ -87523,7 +87551,9 @@ async function $do79(client, request, options) {
87523
87551
  }
87524
87552
  appendForm(body, "filePurpose", payload.FileUploadRequestMultiPart.filePurpose);
87525
87553
  if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
87526
- appendForm(body, "metadata", payload.FileUploadRequestMultiPart.metadata);
87554
+ appendForm(body, "metadata", encodeJSON("metadata", payload.FileUploadRequestMultiPart.metadata, {
87555
+ explode: true
87556
+ }));
87527
87557
  }
87528
87558
  const pathParams = {
87529
87559
  accountID: encodeSimple("accountID", payload.accountID, {
@@ -98313,7 +98343,7 @@ var init_webhooksUpdate2 = __esm(() => {
98313
98343
  function createMCPServer(deps) {
98314
98344
  const server = new McpServer({
98315
98345
  name: "Moov",
98316
- version: "26.2.3"
98346
+ version: "26.2.4"
98317
98347
  });
98318
98348
  const client = new MoovCore({
98319
98349
  security: deps.security,
@@ -99870,7 +99900,7 @@ var routes = rn({
99870
99900
  var app = Ve(routes, {
99871
99901
  name: "mcp",
99872
99902
  versionInfo: {
99873
- currentVersion: "26.2.3"
99903
+ currentVersion: "26.2.4"
99874
99904
  }
99875
99905
  });
99876
99906
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -99878,5 +99908,5 @@ export {
99878
99908
  app
99879
99909
  };
99880
99910
 
99881
- //# debugId=EF9BDA9AEF9DE6CF64756E2164756E21
99911
+ //# debugId=06EBF1B2C492954864756E2164756E21
99882
99912
  //# sourceMappingURL=mcp-server.js.map