@moovio/sdk 0.15.1 → 0.15.2

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 (92) hide show
  1. package/README.md +7 -3
  2. package/bin/mcp-server.js +360 -49
  3. package/bin/mcp-server.js.map +20 -16
  4. package/docs/sdks/transfers/README.md +8 -6
  5. package/docs/sdks/wallets/README.md +14 -13
  6. package/docs/sdks/wallettransactions/README.md +4 -3
  7. package/examples/package-lock.json +1 -1
  8. package/funcs/transfersList.d.ts +2 -1
  9. package/funcs/transfersList.d.ts.map +1 -1
  10. package/funcs/transfersList.js +4 -1
  11. package/funcs/transfersList.js.map +1 -1
  12. package/funcs/transfersUpdate.d.ts +2 -1
  13. package/funcs/transfersUpdate.d.ts.map +1 -1
  14. package/funcs/transfersUpdate.js +4 -1
  15. package/funcs/transfersUpdate.js.map +1 -1
  16. package/funcs/walletTransactionsList.d.ts +2 -1
  17. package/funcs/walletTransactionsList.d.ts.map +1 -1
  18. package/funcs/walletTransactionsList.js +4 -1
  19. package/funcs/walletTransactionsList.js.map +1 -1
  20. package/funcs/walletsCreate.d.ts +1 -1
  21. package/funcs/walletsCreate.d.ts.map +1 -1
  22. package/funcs/walletsCreate.js +3 -1
  23. package/funcs/walletsCreate.js.map +1 -1
  24. package/funcs/walletsList.d.ts +2 -1
  25. package/funcs/walletsList.d.ts.map +1 -1
  26. package/funcs/walletsList.js +4 -1
  27. package/funcs/walletsList.js.map +1 -1
  28. package/funcs/walletsUpdate.d.ts +1 -1
  29. package/funcs/walletsUpdate.d.ts.map +1 -1
  30. package/funcs/walletsUpdate.js +3 -1
  31. package/funcs/walletsUpdate.js.map +1 -1
  32. package/jsr.json +1 -1
  33. package/lib/config.d.ts +2 -2
  34. package/lib/config.js +2 -2
  35. package/mcp-server/mcp-server.js +1 -1
  36. package/mcp-server/server.js +1 -1
  37. package/models/errors/createwalletvalidationerror.d.ts +41 -0
  38. package/models/errors/createwalletvalidationerror.d.ts.map +1 -0
  39. package/models/errors/{createwalleterror.js → createwalletvalidationerror.js} +15 -15
  40. package/models/errors/createwalletvalidationerror.js.map +1 -0
  41. package/models/errors/index.d.ts +6 -2
  42. package/models/errors/index.d.ts.map +1 -1
  43. package/models/errors/index.js +6 -2
  44. package/models/errors/index.js.map +1 -1
  45. package/models/errors/listtransfersvalidationerror.d.ts +69 -0
  46. package/models/errors/listtransfersvalidationerror.d.ts.map +1 -0
  47. package/models/errors/listtransfersvalidationerror.js +130 -0
  48. package/models/errors/listtransfersvalidationerror.js.map +1 -0
  49. package/models/errors/listwalletsvalidationerror.d.ts +45 -0
  50. package/models/errors/listwalletsvalidationerror.d.ts.map +1 -0
  51. package/models/errors/listwalletsvalidationerror.js +98 -0
  52. package/models/errors/listwalletsvalidationerror.js.map +1 -0
  53. package/models/errors/listwallettransactionsvalidationerror.d.ts +72 -0
  54. package/models/errors/listwallettransactionsvalidationerror.d.ts.map +1 -0
  55. package/models/errors/listwallettransactionsvalidationerror.js +140 -0
  56. package/models/errors/listwallettransactionsvalidationerror.js.map +1 -0
  57. package/models/errors/patchtransfervalidationerror.d.ts +39 -0
  58. package/models/errors/patchtransfervalidationerror.d.ts.map +1 -0
  59. package/models/errors/patchtransfervalidationerror.js +90 -0
  60. package/models/errors/patchtransfervalidationerror.js.map +1 -0
  61. package/models/errors/patchwalletvalidationerror.d.ts +44 -0
  62. package/models/errors/patchwalletvalidationerror.d.ts.map +1 -0
  63. package/models/errors/{patchwalleterror.js → patchwalletvalidationerror.js} +15 -15
  64. package/models/errors/patchwalletvalidationerror.js.map +1 -0
  65. package/models/errors/transfervalidationerror.d.ts +6 -12
  66. package/models/errors/transfervalidationerror.d.ts.map +1 -1
  67. package/models/errors/transfervalidationerror.js +8 -10
  68. package/models/errors/transfervalidationerror.js.map +1 -1
  69. package/package.json +1 -1
  70. package/src/funcs/transfersList.ts +8 -1
  71. package/src/funcs/transfersUpdate.ts +8 -1
  72. package/src/funcs/walletTransactionsList.ts +8 -1
  73. package/src/funcs/walletsCreate.ts +6 -4
  74. package/src/funcs/walletsList.ts +8 -1
  75. package/src/funcs/walletsUpdate.ts +6 -4
  76. package/src/lib/config.ts +2 -2
  77. package/src/mcp-server/mcp-server.ts +1 -1
  78. package/src/mcp-server/server.ts +1 -1
  79. package/src/models/errors/{createwalleterror.ts → createwalletvalidationerror.ts} +20 -20
  80. package/src/models/errors/index.ts +6 -2
  81. package/src/models/errors/listtransfersvalidationerror.ts +145 -0
  82. package/src/models/errors/listwalletsvalidationerror.ts +97 -0
  83. package/src/models/errors/listwallettransactionsvalidationerror.ts +165 -0
  84. package/src/models/errors/patchtransfervalidationerror.ts +85 -0
  85. package/src/models/errors/{patchwalleterror.ts → patchwalletvalidationerror.ts} +20 -20
  86. package/src/models/errors/transfervalidationerror.ts +12 -20
  87. package/models/errors/createwalleterror.d.ts +0 -41
  88. package/models/errors/createwalleterror.d.ts.map +0 -1
  89. package/models/errors/createwalleterror.js.map +0 -1
  90. package/models/errors/patchwalleterror.d.ts +0 -44
  91. package/models/errors/patchwalleterror.d.ts.map +0 -1
  92. package/models/errors/patchwalleterror.js.map +0 -1
package/bin/mcp-server.js CHANGED
@@ -34175,9 +34175,9 @@ var init_config = __esm(() => {
34175
34175
  SDK_METADATA = {
34176
34176
  language: "typescript",
34177
34177
  openapiDocVersion: "latest",
34178
- sdkVersion: "0.15.1",
34178
+ sdkVersion: "0.15.2",
34179
34179
  genVersion: "2.709.0",
34180
- userAgent: "speakeasy-sdk/typescript 0.15.1 2.709.0 latest @moovio/sdk"
34180
+ userAgent: "speakeasy-sdk/typescript 0.15.2 2.709.0 latest @moovio/sdk"
34181
34181
  };
34182
34182
  });
34183
34183
 
@@ -50844,12 +50844,12 @@ var init_createticketerror = __esm(() => {
50844
50844
  })(CreateTicketError$ ||= {});
50845
50845
  });
50846
50846
 
50847
- // src/models/errors/createwalleterror.ts
50848
- var CreateWalletError, CreateWalletError$inboundSchema, CreateWalletError$outboundSchema, CreateWalletError$;
50849
- var init_createwalleterror = __esm(() => {
50847
+ // src/models/errors/createwalletvalidationerror.ts
50848
+ var CreateWalletValidationError, CreateWalletValidationError$inboundSchema, CreateWalletValidationError$outboundSchema, CreateWalletValidationError$;
50849
+ var init_createwalletvalidationerror = __esm(() => {
50850
50850
  init_esm();
50851
50851
  init_mooverror();
50852
- CreateWalletError = class CreateWalletError extends MoovError {
50852
+ CreateWalletValidationError = class CreateWalletValidationError extends MoovError {
50853
50853
  description;
50854
50854
  metadata;
50855
50855
  data$;
@@ -50861,10 +50861,10 @@ var init_createwalleterror = __esm(() => {
50861
50861
  this.description = err.description;
50862
50862
  if (err.metadata != null)
50863
50863
  this.metadata = err.metadata;
50864
- this.name = "CreateWalletError";
50864
+ this.name = "CreateWalletValidationError";
50865
50865
  }
50866
50866
  };
50867
- CreateWalletError$inboundSchema = objectType({
50867
+ CreateWalletValidationError$inboundSchema = objectType({
50868
50868
  name: stringType().optional(),
50869
50869
  description: stringType().optional(),
50870
50870
  metadata: stringType().optional(),
@@ -50872,21 +50872,21 @@ var init_createwalleterror = __esm(() => {
50872
50872
  response$: instanceOfType(Response),
50873
50873
  body$: stringType()
50874
50874
  }).transform((v2) => {
50875
- return new CreateWalletError(v2, {
50875
+ return new CreateWalletValidationError(v2, {
50876
50876
  request: v2.request$,
50877
50877
  response: v2.response$,
50878
50878
  body: v2.body$
50879
50879
  });
50880
50880
  });
50881
- CreateWalletError$outboundSchema = instanceOfType(CreateWalletError).transform((v2) => v2.data$).pipe(objectType({
50881
+ CreateWalletValidationError$outboundSchema = instanceOfType(CreateWalletValidationError).transform((v2) => v2.data$).pipe(objectType({
50882
50882
  name: stringType().optional(),
50883
50883
  description: stringType().optional(),
50884
50884
  metadata: stringType().optional()
50885
50885
  }));
50886
- ((CreateWalletError$) => {
50887
- CreateWalletError$.inboundSchema = CreateWalletError$inboundSchema;
50888
- CreateWalletError$.outboundSchema = CreateWalletError$outboundSchema;
50889
- })(CreateWalletError$ ||= {});
50886
+ ((CreateWalletValidationError$) => {
50887
+ CreateWalletValidationError$.inboundSchema = CreateWalletValidationError$inboundSchema;
50888
+ CreateWalletValidationError$.outboundSchema = CreateWalletValidationError$outboundSchema;
50889
+ })(CreateWalletValidationError$ ||= {});
50890
50890
  });
50891
50891
 
50892
50892
  // src/models/errors/feeplanagreementerror.ts
@@ -51224,6 +51224,256 @@ var init_linkcarderror = __esm(() => {
51224
51224
  })(LinkCardError$ ||= {});
51225
51225
  });
51226
51226
 
51227
+ // src/models/errors/listtransfersvalidationerror.ts
51228
+ var ListTransfersValidationError, ListTransfersValidationError$inboundSchema, ListTransfersValidationError$outboundSchema, ListTransfersValidationError$;
51229
+ var init_listtransfersvalidationerror = __esm(() => {
51230
+ init_esm();
51231
+ init_mooverror();
51232
+ ListTransfersValidationError = class ListTransfersValidationError extends MoovError {
51233
+ accountIDs;
51234
+ status;
51235
+ startDateTime;
51236
+ endDateTime;
51237
+ skip;
51238
+ count;
51239
+ groupID;
51240
+ foreignID;
51241
+ scheduleID;
51242
+ paymentLinkCode;
51243
+ refunded;
51244
+ disputed;
51245
+ data$;
51246
+ constructor(err, httpMeta) {
51247
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
51248
+ super(message, httpMeta);
51249
+ this.data$ = err;
51250
+ if (err.accountIDs != null)
51251
+ this.accountIDs = err.accountIDs;
51252
+ if (err.status != null)
51253
+ this.status = err.status;
51254
+ if (err.startDateTime != null)
51255
+ this.startDateTime = err.startDateTime;
51256
+ if (err.endDateTime != null)
51257
+ this.endDateTime = err.endDateTime;
51258
+ if (err.skip != null)
51259
+ this.skip = err.skip;
51260
+ if (err.count != null)
51261
+ this.count = err.count;
51262
+ if (err.groupID != null)
51263
+ this.groupID = err.groupID;
51264
+ if (err.foreignID != null)
51265
+ this.foreignID = err.foreignID;
51266
+ if (err.scheduleID != null)
51267
+ this.scheduleID = err.scheduleID;
51268
+ if (err.paymentLinkCode != null)
51269
+ this.paymentLinkCode = err.paymentLinkCode;
51270
+ if (err.refunded != null)
51271
+ this.refunded = err.refunded;
51272
+ if (err.disputed != null)
51273
+ this.disputed = err.disputed;
51274
+ this.name = "ListTransfersValidationError";
51275
+ }
51276
+ };
51277
+ ListTransfersValidationError$inboundSchema = objectType({
51278
+ accountIDs: stringType().optional(),
51279
+ status: stringType().optional(),
51280
+ startDateTime: stringType().optional(),
51281
+ endDateTime: stringType().optional(),
51282
+ skip: stringType().optional(),
51283
+ count: stringType().optional(),
51284
+ groupID: stringType().optional(),
51285
+ foreignID: stringType().optional(),
51286
+ scheduleID: stringType().optional(),
51287
+ paymentLinkCode: stringType().optional(),
51288
+ refunded: stringType().optional(),
51289
+ disputed: stringType().optional(),
51290
+ request$: instanceOfType(Request),
51291
+ response$: instanceOfType(Response),
51292
+ body$: stringType()
51293
+ }).transform((v2) => {
51294
+ return new ListTransfersValidationError(v2, {
51295
+ request: v2.request$,
51296
+ response: v2.response$,
51297
+ body: v2.body$
51298
+ });
51299
+ });
51300
+ ListTransfersValidationError$outboundSchema = instanceOfType(ListTransfersValidationError).transform((v2) => v2.data$).pipe(objectType({
51301
+ accountIDs: stringType().optional(),
51302
+ status: stringType().optional(),
51303
+ startDateTime: stringType().optional(),
51304
+ endDateTime: stringType().optional(),
51305
+ skip: stringType().optional(),
51306
+ count: stringType().optional(),
51307
+ groupID: stringType().optional(),
51308
+ foreignID: stringType().optional(),
51309
+ scheduleID: stringType().optional(),
51310
+ paymentLinkCode: stringType().optional(),
51311
+ refunded: stringType().optional(),
51312
+ disputed: stringType().optional()
51313
+ }));
51314
+ ((ListTransfersValidationError$) => {
51315
+ ListTransfersValidationError$.inboundSchema = ListTransfersValidationError$inboundSchema;
51316
+ ListTransfersValidationError$.outboundSchema = ListTransfersValidationError$outboundSchema;
51317
+ })(ListTransfersValidationError$ ||= {});
51318
+ });
51319
+
51320
+ // src/models/errors/listwalletsvalidationerror.ts
51321
+ var ListWalletsValidationError, ListWalletsValidationError$inboundSchema, ListWalletsValidationError$outboundSchema, ListWalletsValidationError$;
51322
+ var init_listwalletsvalidationerror = __esm(() => {
51323
+ init_esm();
51324
+ init_mooverror();
51325
+ ListWalletsValidationError = class ListWalletsValidationError extends MoovError {
51326
+ status;
51327
+ walletType;
51328
+ skip;
51329
+ count;
51330
+ data$;
51331
+ constructor(err, httpMeta) {
51332
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
51333
+ super(message, httpMeta);
51334
+ this.data$ = err;
51335
+ if (err.status != null)
51336
+ this.status = err.status;
51337
+ if (err.walletType != null)
51338
+ this.walletType = err.walletType;
51339
+ if (err.skip != null)
51340
+ this.skip = err.skip;
51341
+ if (err.count != null)
51342
+ this.count = err.count;
51343
+ this.name = "ListWalletsValidationError";
51344
+ }
51345
+ };
51346
+ ListWalletsValidationError$inboundSchema = objectType({
51347
+ status: stringType().optional(),
51348
+ walletType: stringType().optional(),
51349
+ skip: stringType().optional(),
51350
+ count: stringType().optional(),
51351
+ request$: instanceOfType(Request),
51352
+ response$: instanceOfType(Response),
51353
+ body$: stringType()
51354
+ }).transform((v2) => {
51355
+ return new ListWalletsValidationError(v2, {
51356
+ request: v2.request$,
51357
+ response: v2.response$,
51358
+ body: v2.body$
51359
+ });
51360
+ });
51361
+ ListWalletsValidationError$outboundSchema = instanceOfType(ListWalletsValidationError).transform((v2) => v2.data$).pipe(objectType({
51362
+ status: stringType().optional(),
51363
+ walletType: stringType().optional(),
51364
+ skip: stringType().optional(),
51365
+ count: stringType().optional()
51366
+ }));
51367
+ ((ListWalletsValidationError$) => {
51368
+ ListWalletsValidationError$.inboundSchema = ListWalletsValidationError$inboundSchema;
51369
+ ListWalletsValidationError$.outboundSchema = ListWalletsValidationError$outboundSchema;
51370
+ })(ListWalletsValidationError$ ||= {});
51371
+ });
51372
+
51373
+ // src/models/errors/listwallettransactionsvalidationerror.ts
51374
+ var ListWalletTransactionsValidationError, ListWalletTransactionsValidationError$inboundSchema, ListWalletTransactionsValidationError$outboundSchema, ListWalletTransactionsValidationError$;
51375
+ var init_listwallettransactionsvalidationerror = __esm(() => {
51376
+ init_esm();
51377
+ init_mooverror();
51378
+ ListWalletTransactionsValidationError = class ListWalletTransactionsValidationError extends MoovError {
51379
+ transactionType;
51380
+ transactionTypes;
51381
+ sourceType;
51382
+ sourceID;
51383
+ status;
51384
+ sweepID;
51385
+ createdStartDateTime;
51386
+ createdEndDateTime;
51387
+ completedStartDateTime;
51388
+ completedEndDateTime;
51389
+ statementDescriptor;
51390
+ skip;
51391
+ count;
51392
+ data$;
51393
+ constructor(err, httpMeta) {
51394
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
51395
+ super(message, httpMeta);
51396
+ this.data$ = err;
51397
+ if (err.transactionType != null)
51398
+ this.transactionType = err.transactionType;
51399
+ if (err.transactionTypes != null) {
51400
+ this.transactionTypes = err.transactionTypes;
51401
+ }
51402
+ if (err.sourceType != null)
51403
+ this.sourceType = err.sourceType;
51404
+ if (err.sourceID != null)
51405
+ this.sourceID = err.sourceID;
51406
+ if (err.status != null)
51407
+ this.status = err.status;
51408
+ if (err.sweepID != null)
51409
+ this.sweepID = err.sweepID;
51410
+ if (err.createdStartDateTime != null) {
51411
+ this.createdStartDateTime = err.createdStartDateTime;
51412
+ }
51413
+ if (err.createdEndDateTime != null) {
51414
+ this.createdEndDateTime = err.createdEndDateTime;
51415
+ }
51416
+ if (err.completedStartDateTime != null) {
51417
+ this.completedStartDateTime = err.completedStartDateTime;
51418
+ }
51419
+ if (err.completedEndDateTime != null) {
51420
+ this.completedEndDateTime = err.completedEndDateTime;
51421
+ }
51422
+ if (err.statementDescriptor != null) {
51423
+ this.statementDescriptor = err.statementDescriptor;
51424
+ }
51425
+ if (err.skip != null)
51426
+ this.skip = err.skip;
51427
+ if (err.count != null)
51428
+ this.count = err.count;
51429
+ this.name = "ListWalletTransactionsValidationError";
51430
+ }
51431
+ };
51432
+ ListWalletTransactionsValidationError$inboundSchema = objectType({
51433
+ transactionType: stringType().optional(),
51434
+ transactionTypes: stringType().optional(),
51435
+ sourceType: stringType().optional(),
51436
+ sourceID: stringType().optional(),
51437
+ status: stringType().optional(),
51438
+ sweepID: stringType().optional(),
51439
+ createdStartDateTime: stringType().optional(),
51440
+ createdEndDateTime: stringType().optional(),
51441
+ completedStartDateTime: stringType().optional(),
51442
+ completedEndDateTime: stringType().optional(),
51443
+ statementDescriptor: stringType().optional(),
51444
+ skip: stringType().optional(),
51445
+ count: stringType().optional(),
51446
+ request$: instanceOfType(Request),
51447
+ response$: instanceOfType(Response),
51448
+ body$: stringType()
51449
+ }).transform((v2) => {
51450
+ return new ListWalletTransactionsValidationError(v2, {
51451
+ request: v2.request$,
51452
+ response: v2.response$,
51453
+ body: v2.body$
51454
+ });
51455
+ });
51456
+ ListWalletTransactionsValidationError$outboundSchema = instanceOfType(ListWalletTransactionsValidationError).transform((v2) => v2.data$).pipe(objectType({
51457
+ transactionType: stringType().optional(),
51458
+ transactionTypes: stringType().optional(),
51459
+ sourceType: stringType().optional(),
51460
+ sourceID: stringType().optional(),
51461
+ status: stringType().optional(),
51462
+ sweepID: stringType().optional(),
51463
+ createdStartDateTime: stringType().optional(),
51464
+ createdEndDateTime: stringType().optional(),
51465
+ completedStartDateTime: stringType().optional(),
51466
+ completedEndDateTime: stringType().optional(),
51467
+ statementDescriptor: stringType().optional(),
51468
+ skip: stringType().optional(),
51469
+ count: stringType().optional()
51470
+ }));
51471
+ ((ListWalletTransactionsValidationError$) => {
51472
+ ListWalletTransactionsValidationError$.inboundSchema = ListWalletTransactionsValidationError$inboundSchema;
51473
+ ListWalletTransactionsValidationError$.outboundSchema = ListWalletTransactionsValidationError$outboundSchema;
51474
+ })(ListWalletTransactionsValidationError$ ||= {});
51475
+ });
51476
+
51227
51477
  // src/models/errors/microdepositvalidationerror.ts
51228
51478
  var MicroDepositValidationError, MicroDepositValidationError$inboundSchema, MicroDepositValidationError$outboundSchema, MicroDepositValidationError$;
51229
51479
  var init_microdepositvalidationerror = __esm(() => {
@@ -51451,12 +51701,55 @@ var init_patchsweepconfigerror = __esm(() => {
51451
51701
  })(PatchSweepConfigError$ ||= {});
51452
51702
  });
51453
51703
 
51454
- // src/models/errors/patchwalleterror.ts
51455
- var PatchWalletError, PatchWalletError$inboundSchema, PatchWalletError$outboundSchema, PatchWalletError$;
51456
- var init_patchwalleterror = __esm(() => {
51704
+ // src/models/errors/patchtransfervalidationerror.ts
51705
+ var PatchTransferValidationError, PatchTransferValidationError$inboundSchema, PatchTransferValidationError$outboundSchema, PatchTransferValidationError$;
51706
+ var init_patchtransfervalidationerror = __esm(() => {
51457
51707
  init_esm();
51458
51708
  init_mooverror();
51459
- PatchWalletError = class PatchWalletError extends MoovError {
51709
+ PatchTransferValidationError = class PatchTransferValidationError extends MoovError {
51710
+ metadata;
51711
+ foreignID;
51712
+ data$;
51713
+ constructor(err, httpMeta) {
51714
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
51715
+ super(message, httpMeta);
51716
+ this.data$ = err;
51717
+ if (err.metadata != null)
51718
+ this.metadata = err.metadata;
51719
+ if (err.foreignID != null)
51720
+ this.foreignID = err.foreignID;
51721
+ this.name = "PatchTransferValidationError";
51722
+ }
51723
+ };
51724
+ PatchTransferValidationError$inboundSchema = objectType({
51725
+ metadata: stringType().optional(),
51726
+ foreignID: stringType().optional(),
51727
+ request$: instanceOfType(Request),
51728
+ response$: instanceOfType(Response),
51729
+ body$: stringType()
51730
+ }).transform((v2) => {
51731
+ return new PatchTransferValidationError(v2, {
51732
+ request: v2.request$,
51733
+ response: v2.response$,
51734
+ body: v2.body$
51735
+ });
51736
+ });
51737
+ PatchTransferValidationError$outboundSchema = instanceOfType(PatchTransferValidationError).transform((v2) => v2.data$).pipe(objectType({
51738
+ metadata: stringType().optional(),
51739
+ foreignID: stringType().optional()
51740
+ }));
51741
+ ((PatchTransferValidationError$) => {
51742
+ PatchTransferValidationError$.inboundSchema = PatchTransferValidationError$inboundSchema;
51743
+ PatchTransferValidationError$.outboundSchema = PatchTransferValidationError$outboundSchema;
51744
+ })(PatchTransferValidationError$ ||= {});
51745
+ });
51746
+
51747
+ // src/models/errors/patchwalletvalidationerror.ts
51748
+ var PatchWalletValidationError, PatchWalletValidationError$inboundSchema, PatchWalletValidationError$outboundSchema, PatchWalletValidationError$;
51749
+ var init_patchwalletvalidationerror = __esm(() => {
51750
+ init_esm();
51751
+ init_mooverror();
51752
+ PatchWalletValidationError = class PatchWalletValidationError extends MoovError {
51460
51753
  status;
51461
51754
  description;
51462
51755
  metadata;
@@ -51471,10 +51764,10 @@ var init_patchwalleterror = __esm(() => {
51471
51764
  this.description = err.description;
51472
51765
  if (err.metadata != null)
51473
51766
  this.metadata = err.metadata;
51474
- this.name = "PatchWalletError";
51767
+ this.name = "PatchWalletValidationError";
51475
51768
  }
51476
51769
  };
51477
- PatchWalletError$inboundSchema = objectType({
51770
+ PatchWalletValidationError$inboundSchema = objectType({
51478
51771
  name: stringType().optional(),
51479
51772
  status: stringType().optional(),
51480
51773
  description: stringType().optional(),
@@ -51483,22 +51776,22 @@ var init_patchwalleterror = __esm(() => {
51483
51776
  response$: instanceOfType(Response),
51484
51777
  body$: stringType()
51485
51778
  }).transform((v2) => {
51486
- return new PatchWalletError(v2, {
51779
+ return new PatchWalletValidationError(v2, {
51487
51780
  request: v2.request$,
51488
51781
  response: v2.response$,
51489
51782
  body: v2.body$
51490
51783
  });
51491
51784
  });
51492
- PatchWalletError$outboundSchema = instanceOfType(PatchWalletError).transform((v2) => v2.data$).pipe(objectType({
51785
+ PatchWalletValidationError$outboundSchema = instanceOfType(PatchWalletValidationError).transform((v2) => v2.data$).pipe(objectType({
51493
51786
  name: stringType().optional(),
51494
51787
  status: stringType().optional(),
51495
51788
  description: stringType().optional(),
51496
51789
  metadata: stringType().optional()
51497
51790
  }));
51498
- ((PatchWalletError$) => {
51499
- PatchWalletError$.inboundSchema = PatchWalletError$inboundSchema;
51500
- PatchWalletError$.outboundSchema = PatchWalletError$outboundSchema;
51501
- })(PatchWalletError$ ||= {});
51791
+ ((PatchWalletValidationError$) => {
51792
+ PatchWalletValidationError$.inboundSchema = PatchWalletValidationError$inboundSchema;
51793
+ PatchWalletValidationError$.outboundSchema = PatchWalletValidationError$outboundSchema;
51794
+ })(PatchWalletValidationError$ ||= {});
51502
51795
  });
51503
51796
 
51504
51797
  // src/models/errors/refundvalidationerror.ts
@@ -52081,7 +52374,6 @@ var init_transfervalidationerror = __esm(() => {
52081
52374
  init_primitives();
52082
52375
  init_mooverror();
52083
52376
  TransferValidationError = class TransferValidationError extends MoovError {
52084
- transfer;
52085
52377
  amount;
52086
52378
  source;
52087
52379
  sourcePaymentMethodID;
@@ -52090,14 +52382,13 @@ var init_transfervalidationerror = __esm(() => {
52090
52382
  facilitatorFeeTotalDecimal;
52091
52383
  facilitatorFeeMarkupDecimal;
52092
52384
  metadata;
52093
- error;
52385
+ salesTaxAmount;
52386
+ foreignID;
52094
52387
  data$;
52095
52388
  constructor(err, httpMeta) {
52096
52389
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
52097
52390
  super(message, httpMeta);
52098
52391
  this.data$ = err;
52099
- if (err.transfer != null)
52100
- this.transfer = err.transfer;
52101
52392
  if (err.amount != null)
52102
52393
  this.amount = err.amount;
52103
52394
  if (err.source != null)
@@ -52118,13 +52409,14 @@ var init_transfervalidationerror = __esm(() => {
52118
52409
  }
52119
52410
  if (err.metadata != null)
52120
52411
  this.metadata = err.metadata;
52121
- if (err.error != null)
52122
- this.error = err.error;
52412
+ if (err.salesTaxAmount != null)
52413
+ this.salesTaxAmount = err.salesTaxAmount;
52414
+ if (err.foreignID != null)
52415
+ this.foreignID = err.foreignID;
52123
52416
  this.name = "TransferValidationError";
52124
52417
  }
52125
52418
  };
52126
52419
  TransferValidationError$inboundSchema = objectType({
52127
- Transfer: stringType().optional(),
52128
52420
  amount: stringType().optional(),
52129
52421
  source: stringType().optional(),
52130
52422
  sourcePaymentMethodID: stringType().optional(),
@@ -52133,13 +52425,13 @@ var init_transfervalidationerror = __esm(() => {
52133
52425
  "FacilitatorFee.TotalDecimal": stringType().optional(),
52134
52426
  "FacilitatorFee.MarkupDecimal": stringType().optional(),
52135
52427
  metadata: stringType().optional(),
52136
- error: stringType().optional(),
52428
+ salesTaxAmount: stringType().optional(),
52429
+ foreignID: stringType().optional(),
52137
52430
  request$: instanceOfType(Request),
52138
52431
  response$: instanceOfType(Response),
52139
52432
  body$: stringType()
52140
52433
  }).transform((v2) => {
52141
52434
  const remapped = remap(v2, {
52142
- Transfer: "transfer",
52143
52435
  "FacilitatorFee.TotalDecimal": "facilitatorFeeTotalDecimal",
52144
52436
  "FacilitatorFee.MarkupDecimal": "facilitatorFeeMarkupDecimal"
52145
52437
  });
@@ -52150,7 +52442,6 @@ var init_transfervalidationerror = __esm(() => {
52150
52442
  });
52151
52443
  });
52152
52444
  TransferValidationError$outboundSchema = instanceOfType(TransferValidationError).transform((v2) => v2.data$).pipe(objectType({
52153
- transfer: stringType().optional(),
52154
52445
  amount: stringType().optional(),
52155
52446
  source: stringType().optional(),
52156
52447
  sourcePaymentMethodID: stringType().optional(),
@@ -52159,10 +52450,10 @@ var init_transfervalidationerror = __esm(() => {
52159
52450
  facilitatorFeeTotalDecimal: stringType().optional(),
52160
52451
  facilitatorFeeMarkupDecimal: stringType().optional(),
52161
52452
  metadata: stringType().optional(),
52162
- error: stringType().optional()
52453
+ salesTaxAmount: stringType().optional(),
52454
+ foreignID: stringType().optional()
52163
52455
  }).transform((v2) => {
52164
52456
  return remap(v2, {
52165
- transfer: "Transfer",
52166
52457
  facilitatorFeeTotalDecimal: "FacilitatorFee.TotalDecimal",
52167
52458
  facilitatorFeeMarkupDecimal: "FacilitatorFee.MarkupDecimal"
52168
52459
  });
@@ -52578,7 +52869,7 @@ var init_errors2 = __esm(() => {
52578
52869
  init_createpaymentlinkerror();
52579
52870
  init_createsweepconfigerror();
52580
52871
  init_createticketerror();
52581
- init_createwalleterror();
52872
+ init_createwalletvalidationerror();
52582
52873
  init_feeplanagreementerror();
52583
52874
  init_fileuploadvalidationerror();
52584
52875
  init_filevalidationerror();
@@ -52586,12 +52877,16 @@ var init_errors2 = __esm(() => {
52586
52877
  init_httpclienterrors();
52587
52878
  init_linkapplepayerror();
52588
52879
  init_linkcarderror();
52880
+ init_listtransfersvalidationerror();
52881
+ init_listwalletsvalidationerror();
52882
+ init_listwallettransactionsvalidationerror();
52589
52883
  init_microdepositvalidationerror();
52590
52884
  init_mooverror();
52591
52885
  init_onboardinginviteerror();
52592
52886
  init_patchaccounterror();
52593
52887
  init_patchsweepconfigerror();
52594
- init_patchwalleterror();
52888
+ init_patchtransfervalidationerror();
52889
+ init_patchwalletvalidationerror();
52595
52890
  init_refundvalidationerror();
52596
52891
  init_representativevalidationerror();
52597
52892
  init_requestcarderror();
@@ -78444,7 +78739,7 @@ async function $do136(client, request, options) {
78444
78739
  const req = requestRes.value;
78445
78740
  const doResult = await client._do(req, {
78446
78741
  context,
78447
- errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
78742
+ errorCodes: ["401", "403", "422", "429", "4XX", "500", "504", "5XX"],
78448
78743
  retryConfig: context.retryConfig,
78449
78744
  retryCodes: context.retryCodes
78450
78745
  });
@@ -78458,6 +78753,8 @@ async function $do136(client, request, options) {
78458
78753
  const [result] = await match(json(200, ListTransfersResponse$inboundSchema, {
78459
78754
  hdrs: true,
78460
78755
  key: "Result"
78756
+ }), jsonErr(422, ListTransfersValidationError$inboundSchema, {
78757
+ hdrs: true
78461
78758
  }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
78462
78759
  if (!result.ok) {
78463
78760
  return [result, { status: "complete", request: req, response }];
@@ -78471,6 +78768,7 @@ var init_transfersList = __esm(() => {
78471
78768
  init_schemas();
78472
78769
  init_security();
78473
78770
  init_url();
78771
+ init_errors2();
78474
78772
  init_operations();
78475
78773
  init_async();
78476
78774
  });
@@ -78682,7 +78980,7 @@ async function $do138(client, request, options) {
78682
78980
  const req = requestRes.value;
78683
78981
  const doResult = await client._do(req, {
78684
78982
  context,
78685
- errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
78983
+ errorCodes: ["401", "403", "404", "422", "429", "4XX", "500", "504", "5XX"],
78686
78984
  retryConfig: context.retryConfig,
78687
78985
  retryCodes: context.retryCodes
78688
78986
  });
@@ -78696,6 +78994,8 @@ async function $do138(client, request, options) {
78696
78994
  const [result] = await match(json(200, UpdateTransferResponse$inboundSchema, {
78697
78995
  hdrs: true,
78698
78996
  key: "Result"
78997
+ }), jsonErr(422, PatchTransferValidationError$inboundSchema, {
78998
+ hdrs: true
78699
78999
  }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
78700
79000
  if (!result.ok) {
78701
79001
  return [result, { status: "complete", request: req, response }];
@@ -78709,6 +79009,7 @@ var init_transfersUpdate = __esm(() => {
78709
79009
  init_schemas();
78710
79010
  init_security();
78711
79011
  init_url();
79012
+ init_errors2();
78712
79013
  init_operations();
78713
79014
  init_async();
78714
79015
  });
@@ -79197,7 +79498,9 @@ async function $do142(client, request, options) {
79197
79498
  const [result] = await match(json(200, CreateWalletResponse$inboundSchema, {
79198
79499
  hdrs: true,
79199
79500
  key: "Result"
79200
- }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, CreateWalletError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
79501
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, CreateWalletValidationError$inboundSchema, {
79502
+ hdrs: true
79503
+ }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
79201
79504
  if (!result.ok) {
79202
79505
  return [result, { status: "complete", request: req, response }];
79203
79506
  }
@@ -79421,7 +79724,7 @@ async function $do144(client, request, options) {
79421
79724
  const req = requestRes.value;
79422
79725
  const doResult = await client._do(req, {
79423
79726
  context,
79424
- errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
79727
+ errorCodes: ["401", "403", "422", "429", "4XX", "500", "504", "5XX"],
79425
79728
  retryConfig: context.retryConfig,
79426
79729
  retryCodes: context.retryCodes
79427
79730
  });
@@ -79435,6 +79738,8 @@ async function $do144(client, request, options) {
79435
79738
  const [result] = await match(json(200, ListWalletsResponse$inboundSchema, {
79436
79739
  hdrs: true,
79437
79740
  key: "Result"
79741
+ }), jsonErr(422, ListWalletsValidationError$inboundSchema, {
79742
+ hdrs: true
79438
79743
  }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
79439
79744
  if (!result.ok) {
79440
79745
  return [result, { status: "complete", request: req, response }];
@@ -79448,6 +79753,7 @@ var init_walletsList = __esm(() => {
79448
79753
  init_schemas();
79449
79754
  init_security();
79450
79755
  init_url();
79756
+ init_errors2();
79451
79757
  init_operations();
79452
79758
  init_async();
79453
79759
  });
@@ -79565,7 +79871,9 @@ async function $do145(client, request, options) {
79565
79871
  const [result] = await match(json(200, UpdateWalletResponse$inboundSchema, {
79566
79872
  hdrs: true,
79567
79873
  key: "Result"
79568
- }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, PatchWalletError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
79874
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, PatchWalletValidationError$inboundSchema, {
79875
+ hdrs: true
79876
+ }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
79569
79877
  if (!result.ok) {
79570
79878
  return [result, { status: "complete", request: req, response }];
79571
79879
  }
@@ -79805,7 +80113,7 @@ async function $do147(client, request, options) {
79805
80113
  const req = requestRes.value;
79806
80114
  const doResult = await client._do(req, {
79807
80115
  context,
79808
- errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
80116
+ errorCodes: ["401", "403", "422", "429", "4XX", "500", "504", "5XX"],
79809
80117
  retryConfig: context.retryConfig,
79810
80118
  retryCodes: context.retryCodes
79811
80119
  });
@@ -79819,6 +80127,8 @@ async function $do147(client, request, options) {
79819
80127
  const [result] = await match(json(200, ListWalletTransactionsResponse$inboundSchema, {
79820
80128
  hdrs: true,
79821
80129
  key: "Result"
80130
+ }), jsonErr(422, ListWalletTransactionsValidationError$inboundSchema, {
80131
+ hdrs: true
79822
80132
  }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
79823
80133
  if (!result.ok) {
79824
80134
  return [result, { status: "complete", request: req, response }];
@@ -79832,6 +80142,7 @@ var init_walletTransactionsList = __esm(() => {
79832
80142
  init_schemas();
79833
80143
  init_security();
79834
80144
  init_url();
80145
+ init_errors2();
79835
80146
  init_operations();
79836
80147
  init_async();
79837
80148
  });
@@ -79872,7 +80183,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
79872
80183
  function createMCPServer(deps) {
79873
80184
  const server = new McpServer({
79874
80185
  name: "Moov",
79875
- version: "0.15.1"
80186
+ version: "0.15.2"
79876
80187
  });
79877
80188
  const client = new MoovCore({
79878
80189
  security: deps.security,
@@ -81390,7 +81701,7 @@ var routes = rn({
81390
81701
  var app = Ve(routes, {
81391
81702
  name: "mcp",
81392
81703
  versionInfo: {
81393
- currentVersion: "0.15.1"
81704
+ currentVersion: "0.15.2"
81394
81705
  }
81395
81706
  });
81396
81707
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -81398,5 +81709,5 @@ export {
81398
81709
  app
81399
81710
  };
81400
81711
 
81401
- //# debugId=652BD531D3C331DA64756E2164756E21
81712
+ //# debugId=AF7156653997887C64756E2164756E21
81402
81713
  //# sourceMappingURL=mcp-server.js.map