@moovio/sdk 0.5.0 → 0.5.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 (84) hide show
  1. package/bin/mcp-server.js +134 -113
  2. package/bin/mcp-server.js.map +20 -20
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/mcp-server/mcp-server.js +1 -1
  7. package/mcp-server/server.js +1 -1
  8. package/models/components/cancellation.d.ts +2 -0
  9. package/models/components/cancellation.d.ts.map +1 -1
  10. package/models/components/cancellation.js +2 -0
  11. package/models/components/cancellation.js.map +1 -1
  12. package/models/components/cancellationstatus.d.ts +3 -0
  13. package/models/components/cancellationstatus.d.ts.map +1 -1
  14. package/models/components/cancellationstatus.js +1 -0
  15. package/models/components/cancellationstatus.js.map +1 -1
  16. package/models/components/card.d.ts +2 -2
  17. package/models/components/card.d.ts.map +1 -1
  18. package/models/components/card.js +2 -2
  19. package/models/components/card.js.map +1 -1
  20. package/models/components/{cardacquringmodel.d.ts → cardacquiringmodel.d.ts} +8 -8
  21. package/models/components/cardacquiringmodel.d.ts.map +1 -0
  22. package/models/components/{cardacquringmodel.js → cardacquiringmodel.js} +12 -12
  23. package/models/components/cardacquiringmodel.js.map +1 -0
  24. package/models/components/feeplan.d.ts +3 -3
  25. package/models/components/feeplan.d.ts.map +1 -1
  26. package/models/components/feeplan.js +3 -3
  27. package/models/components/feeplan.js.map +1 -1
  28. package/models/components/feeplanagreement.d.ts +5 -5
  29. package/models/components/feeplanagreement.d.ts.map +1 -1
  30. package/models/components/feeplanagreement.js +5 -5
  31. package/models/components/feeplanagreement.js.map +1 -1
  32. package/models/components/feeproperties.d.ts +7 -126
  33. package/models/components/feeproperties.d.ts.map +1 -1
  34. package/models/components/feeproperties.js +8 -98
  35. package/models/components/feeproperties.js.map +1 -1
  36. package/models/components/index.d.ts +1 -1
  37. package/models/components/index.d.ts.map +1 -1
  38. package/models/components/index.js +1 -1
  39. package/models/components/index.js.map +1 -1
  40. package/models/components/partnerpricing.d.ts +3 -3
  41. package/models/components/partnerpricing.d.ts.map +1 -1
  42. package/models/components/partnerpricing.js +3 -3
  43. package/models/components/partnerpricing.js.map +1 -1
  44. package/models/components/partnerpricingagreement.d.ts +5 -5
  45. package/models/components/partnerpricingagreement.d.ts.map +1 -1
  46. package/models/components/partnerpricingagreement.js +5 -5
  47. package/models/components/partnerpricingagreement.js.map +1 -1
  48. package/models/components/patchsweepconfig.d.ts +160 -18
  49. package/models/components/patchsweepconfig.d.ts.map +1 -1
  50. package/models/components/patchsweepconfig.js +167 -10
  51. package/models/components/patchsweepconfig.js.map +1 -1
  52. package/models/components/transferdestination.d.ts +19 -10
  53. package/models/components/transferdestination.d.ts.map +1 -1
  54. package/models/components/transferdestination.js +12 -9
  55. package/models/components/transferdestination.js.map +1 -1
  56. package/models/components/transfersource.d.ts +19 -10
  57. package/models/components/transfersource.d.ts.map +1 -1
  58. package/models/components/transfersource.js +12 -9
  59. package/models/components/transfersource.js.map +1 -1
  60. package/models/components/wallettransaction.d.ts +5 -0
  61. package/models/components/wallettransaction.d.ts.map +1 -1
  62. package/models/components/wallettransaction.js +2 -0
  63. package/models/components/wallettransaction.js.map +1 -1
  64. package/package.json +1 -1
  65. package/src/lib/config.ts +3 -3
  66. package/src/mcp-server/mcp-server.ts +1 -1
  67. package/src/mcp-server/server.ts +1 -1
  68. package/src/models/components/cancellation.ts +4 -0
  69. package/src/models/components/cancellationstatus.ts +1 -0
  70. package/src/models/components/card.ts +4 -4
  71. package/src/models/components/cardacquiringmodel.ts +39 -0
  72. package/src/models/components/feeplan.ts +8 -8
  73. package/src/models/components/feeplanagreement.ts +12 -12
  74. package/src/models/components/feeproperties.ts +18 -237
  75. package/src/models/components/index.ts +1 -1
  76. package/src/models/components/partnerpricing.ts +8 -8
  77. package/src/models/components/partnerpricingagreement.ts +12 -12
  78. package/src/models/components/patchsweepconfig.ts +372 -30
  79. package/src/models/components/transferdestination.ts +46 -22
  80. package/src/models/components/transfersource.ts +46 -22
  81. package/src/models/components/wallettransaction.ts +7 -0
  82. package/models/components/cardacquringmodel.d.ts.map +0 -1
  83. package/models/components/cardacquringmodel.js.map +0 -1
  84. package/src/models/components/cardacquringmodel.ts +0 -39
package/bin/mcp-server.js CHANGED
@@ -34213,9 +34213,9 @@ var init_config = __esm(() => {
34213
34213
  SDK_METADATA = {
34214
34214
  language: "typescript",
34215
34215
  openapiDocVersion: "latest",
34216
- sdkVersion: "0.5.0",
34217
- genVersion: "2.524.1",
34218
- userAgent: "speakeasy-sdk/typescript 0.5.0 2.524.1 latest @moovio/sdk"
34216
+ sdkVersion: "0.5.2",
34217
+ genVersion: "2.531.0",
34218
+ userAgent: "speakeasy-sdk/typescript 0.5.2 2.531.0 latest @moovio/sdk"
34219
34219
  };
34220
34220
  });
34221
34221
 
@@ -37571,56 +37571,21 @@ var init_feemodel = __esm(() => {
37571
37571
  });
37572
37572
 
37573
37573
  // src/models/components/feeproperties.ts
37574
- var FixedAmount$inboundSchema, FixedAmount$outboundSchema, FixedAmount$, MinPerTransaction$inboundSchema, MinPerTransaction$outboundSchema, MinPerTransaction$, MaxPerTransaction$inboundSchema, MaxPerTransaction$outboundSchema, MaxPerTransaction$, FeeProperties$inboundSchema, FeeProperties$outboundSchema, FeeProperties$;
37574
+ var FeeProperties$inboundSchema, FeeProperties$outboundSchema, FeeProperties$;
37575
37575
  var init_feeproperties = __esm(() => {
37576
37576
  init_lib();
37577
- FixedAmount$inboundSchema = objectType({
37578
- currency: stringType(),
37579
- valueDecimal: stringType()
37580
- });
37581
- FixedAmount$outboundSchema = objectType({
37582
- currency: stringType(),
37583
- valueDecimal: stringType()
37584
- });
37585
- ((FixedAmount$) => {
37586
- FixedAmount$.inboundSchema = FixedAmount$inboundSchema;
37587
- FixedAmount$.outboundSchema = FixedAmount$outboundSchema;
37588
- })(FixedAmount$ ||= {});
37589
- MinPerTransaction$inboundSchema = objectType({
37590
- currency: stringType(),
37591
- valueDecimal: stringType()
37592
- });
37593
- MinPerTransaction$outboundSchema = objectType({
37594
- currency: stringType(),
37595
- valueDecimal: stringType()
37596
- });
37597
- ((MinPerTransaction$) => {
37598
- MinPerTransaction$.inboundSchema = MinPerTransaction$inboundSchema;
37599
- MinPerTransaction$.outboundSchema = MinPerTransaction$outboundSchema;
37600
- })(MinPerTransaction$ ||= {});
37601
- MaxPerTransaction$inboundSchema = objectType({
37602
- currency: stringType(),
37603
- valueDecimal: stringType()
37604
- });
37605
- MaxPerTransaction$outboundSchema = objectType({
37606
- currency: stringType(),
37607
- valueDecimal: stringType()
37608
- });
37609
- ((MaxPerTransaction$) => {
37610
- MaxPerTransaction$.inboundSchema = MaxPerTransaction$inboundSchema;
37611
- MaxPerTransaction$.outboundSchema = MaxPerTransaction$outboundSchema;
37612
- })(MaxPerTransaction$ ||= {});
37577
+ init_amountdecimal();
37613
37578
  FeeProperties$inboundSchema = objectType({
37614
- fixedAmount: nullableType(lazyType(() => FixedAmount$inboundSchema)).optional(),
37579
+ fixedAmount: AmountDecimal$inboundSchema.optional(),
37615
37580
  variableRate: stringType().optional(),
37616
- minPerTransaction: nullableType(lazyType(() => MinPerTransaction$inboundSchema)).optional(),
37617
- maxPerTransaction: nullableType(lazyType(() => MaxPerTransaction$inboundSchema)).optional()
37581
+ minPerTransaction: AmountDecimal$inboundSchema.optional(),
37582
+ maxPerTransaction: AmountDecimal$inboundSchema.optional()
37618
37583
  });
37619
37584
  FeeProperties$outboundSchema = objectType({
37620
- fixedAmount: nullableType(lazyType(() => FixedAmount$outboundSchema)).optional(),
37585
+ fixedAmount: AmountDecimal$outboundSchema.optional(),
37621
37586
  variableRate: stringType().optional(),
37622
- minPerTransaction: nullableType(lazyType(() => MinPerTransaction$outboundSchema)).optional(),
37623
- maxPerTransaction: nullableType(lazyType(() => MaxPerTransaction$outboundSchema)).optional()
37587
+ minPerTransaction: AmountDecimal$outboundSchema.optional(),
37588
+ maxPerTransaction: AmountDecimal$outboundSchema.optional()
37624
37589
  });
37625
37590
  ((FeeProperties$) => {
37626
37591
  FeeProperties$.inboundSchema = FeeProperties$inboundSchema;
@@ -37833,7 +37798,8 @@ var init_cancellationstatus = __esm(() => {
37833
37798
  init_lib();
37834
37799
  CancellationStatus = {
37835
37800
  Pending: "pending",
37836
- Completed: "completed"
37801
+ Completed: "completed",
37802
+ Failed: "failed"
37837
37803
  };
37838
37804
  CancellationStatus$inboundSchema = nativeEnumType(CancellationStatus);
37839
37805
  CancellationStatus$outboundSchema = CancellationStatus$inboundSchema;
@@ -37849,10 +37815,12 @@ var init_cancellation = __esm(() => {
37849
37815
  init_lib();
37850
37816
  init_cancellationstatus();
37851
37817
  Cancellation$inboundSchema = objectType({
37818
+ cancellationID: stringType(),
37852
37819
  status: CancellationStatus$inboundSchema,
37853
37820
  createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
37854
37821
  });
37855
37822
  Cancellation$outboundSchema = objectType({
37823
+ cancellationID: stringType(),
37856
37824
  status: CancellationStatus$outboundSchema,
37857
37825
  createdOn: dateType().transform((v2) => v2.toISOString())
37858
37826
  });
@@ -38212,7 +38180,7 @@ var init_card = __esm(() => {
38212
38180
  fingerprint: stringType(),
38213
38181
  brand: CardBrand$inboundSchema,
38214
38182
  cardType: CardType$inboundSchema,
38215
- cardCategory: stringType(),
38183
+ cardCategory: stringType().optional(),
38216
38184
  lastFourCardNumber: stringType(),
38217
38185
  bin: stringType(),
38218
38186
  expiration: CardExpiration$inboundSchema,
@@ -38237,7 +38205,7 @@ var init_card = __esm(() => {
38237
38205
  fingerprint: stringType(),
38238
38206
  brand: CardBrand$outboundSchema,
38239
38207
  cardType: CardType$outboundSchema,
38240
- cardCategory: stringType(),
38208
+ cardCategory: stringType().optional(),
38241
38209
  lastFourCardNumber: stringType(),
38242
38210
  bin: stringType(),
38243
38211
  expiration: CardExpiration$outboundSchema,
@@ -38284,6 +38252,22 @@ var init_cardacquiringdispute = __esm(() => {
38284
38252
  })(CardAcquiringDispute$ ||= {});
38285
38253
  });
38286
38254
 
38255
+ // src/models/components/cardacquiringmodel.ts
38256
+ var CardAcquiringModel, CardAcquiringModel$inboundSchema, CardAcquiringModel$outboundSchema, CardAcquiringModel$;
38257
+ var init_cardacquiringmodel = __esm(() => {
38258
+ init_lib();
38259
+ CardAcquiringModel = {
38260
+ CostPlus: "cost-plus",
38261
+ FlatRate: "flat-rate"
38262
+ };
38263
+ CardAcquiringModel$inboundSchema = nativeEnumType(CardAcquiringModel);
38264
+ CardAcquiringModel$outboundSchema = CardAcquiringModel$inboundSchema;
38265
+ ((CardAcquiringModel$) => {
38266
+ CardAcquiringModel$.inboundSchema = CardAcquiringModel$inboundSchema;
38267
+ CardAcquiringModel$.outboundSchema = CardAcquiringModel$outboundSchema;
38268
+ })(CardAcquiringModel$ ||= {});
38269
+ });
38270
+
38287
38271
  // src/models/components/cardtransactionfailurecode.ts
38288
38272
  var CardTransactionFailureCode, CardTransactionFailureCode$inboundSchema, CardTransactionFailureCode$outboundSchema, CardTransactionFailureCode$;
38289
38273
  var init_cardtransactionfailurecode = __esm(() => {
@@ -38419,22 +38403,6 @@ var init_cardacquiringrefund = __esm(() => {
38419
38403
  })(CardAcquiringRefund$ ||= {});
38420
38404
  });
38421
38405
 
38422
- // src/models/components/cardacquringmodel.ts
38423
- var CardAcquringModel, CardAcquringModel$inboundSchema, CardAcquringModel$outboundSchema, CardAcquringModel$;
38424
- var init_cardacquringmodel = __esm(() => {
38425
- init_lib();
38426
- CardAcquringModel = {
38427
- CostPlus: "cost-plus",
38428
- FlatRate: "flat-rate"
38429
- };
38430
- CardAcquringModel$inboundSchema = nativeEnumType(CardAcquringModel);
38431
- CardAcquringModel$outboundSchema = CardAcquringModel$inboundSchema;
38432
- ((CardAcquringModel$) => {
38433
- CardAcquringModel$.inboundSchema = CardAcquringModel$inboundSchema;
38434
- CardAcquringModel$.outboundSchema = CardAcquringModel$outboundSchema;
38435
- })(CardAcquringModel$ ||= {});
38436
- });
38437
-
38438
38406
  // src/models/components/cardexpirationerror.ts
38439
38407
  var CardExpirationError$inboundSchema, CardExpirationError$outboundSchema, CardExpirationError$;
38440
38408
  var init_cardexpirationerror = __esm(() => {
@@ -40529,12 +40497,12 @@ var FeePlan$inboundSchema, FeePlan$outboundSchema, FeePlan$;
40529
40497
  var init_feeplan = __esm(() => {
40530
40498
  init_lib();
40531
40499
  init_billablefee();
40532
- init_cardacquringmodel();
40500
+ init_cardacquiringmodel();
40533
40501
  FeePlan$inboundSchema = objectType({
40534
40502
  planID: stringType(),
40535
40503
  name: stringType(),
40536
40504
  description: stringType().optional(),
40537
- cardAcquringModel: CardAcquringModel$inboundSchema,
40505
+ cardAcquiringModel: CardAcquiringModel$inboundSchema,
40538
40506
  billableFees: arrayType(BillableFee$inboundSchema),
40539
40507
  createdAt: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
40540
40508
  });
@@ -40542,7 +40510,7 @@ var init_feeplan = __esm(() => {
40542
40510
  planID: stringType(),
40543
40511
  name: stringType(),
40544
40512
  description: stringType().optional(),
40545
- cardAcquringModel: CardAcquringModel$outboundSchema,
40513
+ cardAcquiringModel: CardAcquiringModel$outboundSchema,
40546
40514
  billableFees: arrayType(BillableFee$outboundSchema),
40547
40515
  createdAt: dateType().transform((v2) => v2.toISOString())
40548
40516
  });
@@ -40573,28 +40541,28 @@ var FeePlanAgreement$inboundSchema, FeePlanAgreement$outboundSchema, FeePlanAgre
40573
40541
  var init_feeplanagreement = __esm(() => {
40574
40542
  init_lib();
40575
40543
  init_billablefee();
40576
- init_cardacquringmodel();
40544
+ init_cardacquiringmodel();
40577
40545
  init_feeplanagreementstatus();
40578
40546
  FeePlanAgreement$inboundSchema = objectType({
40579
- aggreementID: stringType(),
40547
+ agreementID: stringType(),
40580
40548
  planID: stringType(),
40581
40549
  accountID: stringType().optional(),
40582
40550
  name: stringType(),
40583
40551
  description: stringType().optional(),
40584
40552
  acceptedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
40585
40553
  status: FeePlanAgreementStatus$inboundSchema,
40586
- cardAcquringModel: CardAcquringModel$inboundSchema,
40554
+ cardAcquiringModel: CardAcquiringModel$inboundSchema,
40587
40555
  billableFees: arrayType(BillableFee$inboundSchema)
40588
40556
  });
40589
40557
  FeePlanAgreement$outboundSchema = objectType({
40590
- aggreementID: stringType(),
40558
+ agreementID: stringType(),
40591
40559
  planID: stringType(),
40592
40560
  accountID: stringType().optional(),
40593
40561
  name: stringType(),
40594
40562
  description: stringType().optional(),
40595
40563
  acceptedOn: dateType().transform((v2) => v2.toISOString()),
40596
40564
  status: FeePlanAgreementStatus$outboundSchema,
40597
- cardAcquringModel: CardAcquringModel$outboundSchema,
40565
+ cardAcquiringModel: CardAcquiringModel$outboundSchema,
40598
40566
  billableFees: arrayType(BillableFee$outboundSchema)
40599
40567
  });
40600
40568
  ((FeePlanAgreement$) => {
@@ -42126,13 +42094,13 @@ var PartnerPricing$inboundSchema, PartnerPricing$outboundSchema, PartnerPricing$
42126
42094
  var init_partnerpricing = __esm(() => {
42127
42095
  init_lib();
42128
42096
  init_billablefee();
42129
- init_cardacquringmodel();
42097
+ init_cardacquiringmodel();
42130
42098
  PartnerPricing$inboundSchema = objectType({
42131
42099
  planID: stringType(),
42132
42100
  name: stringType(),
42133
42101
  description: stringType().optional(),
42134
42102
  revenueShare: numberType().int(),
42135
- cardAcquringModel: CardAcquringModel$inboundSchema,
42103
+ cardAcquiringModel: CardAcquiringModel$inboundSchema,
42136
42104
  billableFees: arrayType(BillableFee$inboundSchema),
42137
42105
  createdAt: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
42138
42106
  });
@@ -42141,7 +42109,7 @@ var init_partnerpricing = __esm(() => {
42141
42109
  name: stringType(),
42142
42110
  description: stringType().optional(),
42143
42111
  revenueShare: numberType().int(),
42144
- cardAcquringModel: CardAcquringModel$outboundSchema,
42112
+ cardAcquiringModel: CardAcquiringModel$outboundSchema,
42145
42113
  billableFees: arrayType(BillableFee$outboundSchema),
42146
42114
  createdAt: dateType().transform((v2) => v2.toISOString())
42147
42115
  });
@@ -42156,29 +42124,29 @@ var PartnerPricingAgreement$inboundSchema, PartnerPricingAgreement$outboundSchem
42156
42124
  var init_partnerpricingagreement = __esm(() => {
42157
42125
  init_lib();
42158
42126
  init_billablefee();
42159
- init_cardacquringmodel();
42127
+ init_cardacquiringmodel();
42160
42128
  init_feeplanagreementstatus();
42161
42129
  PartnerPricingAgreement$inboundSchema = objectType({
42162
- aggreementID: stringType(),
42130
+ agreementID: stringType(),
42163
42131
  planID: stringType(),
42164
42132
  accountID: stringType().optional(),
42165
42133
  name: stringType(),
42166
42134
  description: stringType().optional(),
42167
42135
  acceptedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
42168
42136
  status: FeePlanAgreementStatus$inboundSchema,
42169
- cardAcquringModel: CardAcquringModel$inboundSchema,
42137
+ cardAcquiringModel: CardAcquiringModel$inboundSchema,
42170
42138
  billableFees: arrayType(BillableFee$inboundSchema),
42171
42139
  revenueShare: numberType().int()
42172
42140
  });
42173
42141
  PartnerPricingAgreement$outboundSchema = objectType({
42174
- aggreementID: stringType(),
42142
+ agreementID: stringType(),
42175
42143
  planID: stringType(),
42176
42144
  accountID: stringType().optional(),
42177
42145
  name: stringType(),
42178
42146
  description: stringType().optional(),
42179
42147
  acceptedOn: dateType().transform((v2) => v2.toISOString()),
42180
42148
  status: FeePlanAgreementStatus$outboundSchema,
42181
- cardAcquringModel: CardAcquringModel$outboundSchema,
42149
+ cardAcquiringModel: CardAcquiringModel$outboundSchema,
42182
42150
  billableFees: arrayType(BillableFee$outboundSchema),
42183
42151
  revenueShare: numberType().int()
42184
42152
  });
@@ -42422,22 +42390,67 @@ var init_patchaccounterror = __esm(() => {
42422
42390
  });
42423
42391
 
42424
42392
  // src/models/components/patchsweepconfig.ts
42425
- var PatchSweepConfig$inboundSchema, PatchSweepConfig$outboundSchema, PatchSweepConfig$;
42393
+ var Status, Status$inboundSchema, Status$outboundSchema, Status$, PushPaymentMethodId2$inboundSchema, PushPaymentMethodId2$outboundSchema, PushPaymentMethodId2$, PushPaymentMethodID$inboundSchema, PushPaymentMethodID$outboundSchema, PushPaymentMethodID$, PullPaymentMethodId2$inboundSchema, PullPaymentMethodId2$outboundSchema, PullPaymentMethodId2$, PullPaymentMethodID$inboundSchema, PullPaymentMethodID$outboundSchema, PullPaymentMethodID$, StatementDescriptor2$inboundSchema, StatementDescriptor2$outboundSchema, StatementDescriptor2$, StatementDescriptor$inboundSchema, StatementDescriptor$outboundSchema, StatementDescriptor$, PatchSweepConfig$inboundSchema, PatchSweepConfig$outboundSchema, PatchSweepConfig$;
42426
42394
  var init_patchsweepconfig = __esm(() => {
42427
42395
  init_lib();
42428
- init_sweepconfigstatus();
42396
+ Status = {
42397
+ Enabled: "enabled",
42398
+ Disabled: "disabled"
42399
+ };
42400
+ Status$inboundSchema = nativeEnumType(Status);
42401
+ Status$outboundSchema = Status$inboundSchema;
42402
+ ((Status$) => {
42403
+ Status$.inboundSchema = Status$inboundSchema;
42404
+ Status$.outboundSchema = Status$outboundSchema;
42405
+ })(Status$ ||= {});
42406
+ PushPaymentMethodId2$inboundSchema = objectType({});
42407
+ PushPaymentMethodId2$outboundSchema = objectType({});
42408
+ ((PushPaymentMethodId2$) => {
42409
+ PushPaymentMethodId2$.inboundSchema = PushPaymentMethodId2$inboundSchema;
42410
+ PushPaymentMethodId2$.outboundSchema = PushPaymentMethodId2$outboundSchema;
42411
+ })(PushPaymentMethodId2$ ||= {});
42412
+ PushPaymentMethodID$inboundSchema = unionType([lazyType(() => PushPaymentMethodId2$inboundSchema), stringType()]);
42413
+ PushPaymentMethodID$outboundSchema = unionType([lazyType(() => PushPaymentMethodId2$outboundSchema), stringType()]);
42414
+ ((PushPaymentMethodID$) => {
42415
+ PushPaymentMethodID$.inboundSchema = PushPaymentMethodID$inboundSchema;
42416
+ PushPaymentMethodID$.outboundSchema = PushPaymentMethodID$outboundSchema;
42417
+ })(PushPaymentMethodID$ ||= {});
42418
+ PullPaymentMethodId2$inboundSchema = objectType({});
42419
+ PullPaymentMethodId2$outboundSchema = objectType({});
42420
+ ((PullPaymentMethodId2$) => {
42421
+ PullPaymentMethodId2$.inboundSchema = PullPaymentMethodId2$inboundSchema;
42422
+ PullPaymentMethodId2$.outboundSchema = PullPaymentMethodId2$outboundSchema;
42423
+ })(PullPaymentMethodId2$ ||= {});
42424
+ PullPaymentMethodID$inboundSchema = unionType([lazyType(() => PullPaymentMethodId2$inboundSchema), stringType()]);
42425
+ PullPaymentMethodID$outboundSchema = unionType([lazyType(() => PullPaymentMethodId2$outboundSchema), stringType()]);
42426
+ ((PullPaymentMethodID$) => {
42427
+ PullPaymentMethodID$.inboundSchema = PullPaymentMethodID$inboundSchema;
42428
+ PullPaymentMethodID$.outboundSchema = PullPaymentMethodID$outboundSchema;
42429
+ })(PullPaymentMethodID$ ||= {});
42430
+ StatementDescriptor2$inboundSchema = objectType({});
42431
+ StatementDescriptor2$outboundSchema = objectType({});
42432
+ ((StatementDescriptor2$) => {
42433
+ StatementDescriptor2$.inboundSchema = StatementDescriptor2$inboundSchema;
42434
+ StatementDescriptor2$.outboundSchema = StatementDescriptor2$outboundSchema;
42435
+ })(StatementDescriptor2$ ||= {});
42436
+ StatementDescriptor$inboundSchema = unionType([lazyType(() => StatementDescriptor2$inboundSchema), stringType()]);
42437
+ StatementDescriptor$outboundSchema = unionType([lazyType(() => StatementDescriptor2$outboundSchema), stringType()]);
42438
+ ((StatementDescriptor$) => {
42439
+ StatementDescriptor$.inboundSchema = StatementDescriptor$inboundSchema;
42440
+ StatementDescriptor$.outboundSchema = StatementDescriptor$outboundSchema;
42441
+ })(StatementDescriptor$ ||= {});
42429
42442
  PatchSweepConfig$inboundSchema = objectType({
42430
- status: SweepConfigStatus$inboundSchema.optional(),
42431
- pushPaymentMethodID: stringType().optional(),
42432
- pullPaymentMethodID: stringType().optional(),
42433
- statementDescriptor: stringType().optional(),
42443
+ status: nullableType(Status$inboundSchema).optional(),
42444
+ pushPaymentMethodID: nullableType(unionType([lazyType(() => PushPaymentMethodId2$inboundSchema), stringType()])).optional(),
42445
+ pullPaymentMethodID: nullableType(unionType([lazyType(() => PullPaymentMethodId2$inboundSchema), stringType()])).optional(),
42446
+ statementDescriptor: nullableType(unionType([lazyType(() => StatementDescriptor2$inboundSchema), stringType()])).optional(),
42434
42447
  minimumBalance: stringType().optional()
42435
42448
  });
42436
42449
  PatchSweepConfig$outboundSchema = objectType({
42437
- status: SweepConfigStatus$outboundSchema.optional(),
42438
- pushPaymentMethodID: stringType().optional(),
42439
- pullPaymentMethodID: stringType().optional(),
42440
- statementDescriptor: stringType().optional(),
42450
+ status: nullableType(Status$outboundSchema).optional(),
42451
+ pushPaymentMethodID: nullableType(unionType([lazyType(() => PushPaymentMethodId2$outboundSchema), stringType()])).optional(),
42452
+ pullPaymentMethodID: nullableType(unionType([lazyType(() => PullPaymentMethodId2$outboundSchema), stringType()])).optional(),
42453
+ statementDescriptor: nullableType(unionType([lazyType(() => StatementDescriptor2$outboundSchema), stringType()])).optional(),
42441
42454
  minimumBalance: stringType().optional()
42442
42455
  });
42443
42456
  ((PatchSweepConfig$) => {
@@ -43345,19 +43358,22 @@ var TransferDestination$inboundSchema, TransferDestination$outboundSchema, Trans
43345
43358
  var init_transferdestination = __esm(() => {
43346
43359
  init_lib();
43347
43360
  init_achtransactiondetails();
43348
- init_bankaccount();
43361
+ init_applepayresponse();
43349
43362
  init_cardtransactiondetails();
43363
+ init_paymentmethodsbankaccount();
43364
+ init_paymentmethodscard();
43365
+ init_paymentmethodswallet();
43350
43366
  init_rtptransactiondetails();
43351
43367
  init_transferaccount();
43352
43368
  TransferDestination$inboundSchema = objectType({
43353
43369
  paymentMethodID: stringType(),
43354
43370
  paymentMethodType: stringType(),
43355
43371
  account: TransferAccount$inboundSchema,
43356
- bankAccount: BankAccount$inboundSchema.optional(),
43357
- wallet: anyType().optional(),
43358
- card: anyType().optional(),
43372
+ bankAccount: PaymentMethodsBankAccount$inboundSchema.optional(),
43373
+ wallet: PaymentMethodsWallet$inboundSchema.optional(),
43374
+ card: PaymentMethodsCard$inboundSchema.optional(),
43359
43375
  achDetails: ACHTransactionDetails$inboundSchema.optional(),
43360
- applePay: anyType().optional(),
43376
+ applePay: ApplePayResponse$inboundSchema.optional(),
43361
43377
  cardDetails: CardTransactionDetails$inboundSchema.optional(),
43362
43378
  rtpDetails: RTPTransactionDetails$inboundSchema.optional()
43363
43379
  });
@@ -43365,11 +43381,11 @@ var init_transferdestination = __esm(() => {
43365
43381
  paymentMethodID: stringType(),
43366
43382
  paymentMethodType: stringType(),
43367
43383
  account: TransferAccount$outboundSchema,
43368
- bankAccount: BankAccount$outboundSchema.optional(),
43369
- wallet: anyType().optional(),
43370
- card: anyType().optional(),
43384
+ bankAccount: PaymentMethodsBankAccount$outboundSchema.optional(),
43385
+ wallet: PaymentMethodsWallet$outboundSchema.optional(),
43386
+ card: PaymentMethodsCard$outboundSchema.optional(),
43371
43387
  achDetails: ACHTransactionDetails$outboundSchema.optional(),
43372
- applePay: anyType().optional(),
43388
+ applePay: ApplePayResponse$outboundSchema.optional(),
43373
43389
  cardDetails: CardTransactionDetails$outboundSchema.optional(),
43374
43390
  rtpDetails: RTPTransactionDetails$outboundSchema.optional()
43375
43391
  });
@@ -43403,17 +43419,20 @@ var TransferSource$inboundSchema, TransferSource$outboundSchema, TransferSource$
43403
43419
  var init_transfersource = __esm(() => {
43404
43420
  init_lib();
43405
43421
  init_achtransactiondetails();
43406
- init_bankaccount();
43422
+ init_applepayresponse();
43407
43423
  init_cardtransactiondetails();
43424
+ init_paymentmethodsbankaccount();
43425
+ init_paymentmethodscard();
43426
+ init_paymentmethodswallet();
43408
43427
  init_transferaccount();
43409
43428
  TransferSource$inboundSchema = objectType({
43410
43429
  paymentMethodID: stringType(),
43411
43430
  paymentMethodType: stringType(),
43412
43431
  account: TransferAccount$inboundSchema,
43413
- bankAccount: BankAccount$inboundSchema.optional(),
43414
- wallet: anyType().optional(),
43415
- card: anyType().optional(),
43416
- applePay: anyType().optional(),
43432
+ bankAccount: PaymentMethodsBankAccount$inboundSchema.optional(),
43433
+ wallet: PaymentMethodsWallet$inboundSchema.optional(),
43434
+ card: PaymentMethodsCard$inboundSchema.optional(),
43435
+ applePay: ApplePayResponse$inboundSchema.optional(),
43417
43436
  cardDetails: CardTransactionDetails$inboundSchema.optional(),
43418
43437
  achDetails: ACHTransactionDetails$inboundSchema.optional()
43419
43438
  });
@@ -43421,10 +43440,10 @@ var init_transfersource = __esm(() => {
43421
43440
  paymentMethodID: stringType(),
43422
43441
  paymentMethodType: stringType(),
43423
43442
  account: TransferAccount$outboundSchema,
43424
- bankAccount: BankAccount$outboundSchema.optional(),
43425
- wallet: anyType().optional(),
43426
- card: anyType().optional(),
43427
- applePay: anyType().optional(),
43443
+ bankAccount: PaymentMethodsBankAccount$outboundSchema.optional(),
43444
+ wallet: PaymentMethodsWallet$outboundSchema.optional(),
43445
+ card: PaymentMethodsCard$outboundSchema.optional(),
43446
+ applePay: ApplePayResponse$outboundSchema.optional(),
43428
43447
  cardDetails: CardTransactionDetails$outboundSchema.optional(),
43429
43448
  achDetails: ACHTransactionDetails$outboundSchema.optional()
43430
43449
  });
@@ -44203,6 +44222,7 @@ var init_wallettransaction = __esm(() => {
44203
44222
  grossAmount: numberType().int(),
44204
44223
  grossAmountDecimal: stringType(),
44205
44224
  fee: numberType().int(),
44225
+ feeIDs: arrayType(stringType()).optional(),
44206
44226
  feeDecimal: stringType(),
44207
44227
  netAmount: numberType().int(),
44208
44228
  netAmountDecimal: stringType(),
@@ -44224,6 +44244,7 @@ var init_wallettransaction = __esm(() => {
44224
44244
  grossAmount: numberType().int(),
44225
44245
  grossAmountDecimal: stringType(),
44226
44246
  fee: numberType().int(),
44247
+ feeIDs: arrayType(stringType()).optional(),
44227
44248
  feeDecimal: stringType(),
44228
44249
  netAmount: numberType().int(),
44229
44250
  netAmountDecimal: stringType(),
@@ -44315,8 +44336,8 @@ var init_components = __esm(() => {
44315
44336
  init_card();
44316
44337
  init_cardaccountupdater();
44317
44338
  init_cardacquiringdispute();
44339
+ init_cardacquiringmodel();
44318
44340
  init_cardacquiringrefund();
44319
- init_cardacquringmodel();
44320
44341
  init_cardaddress();
44321
44342
  init_cardbrand();
44322
44343
  init_cardexpiration();
@@ -69411,7 +69432,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
69411
69432
  function createMCPServer(deps) {
69412
69433
  const server = new McpServer({
69413
69434
  name: "Moov",
69414
- version: "0.5.0"
69435
+ version: "0.5.2"
69415
69436
  });
69416
69437
  const client = new MoovCore({
69417
69438
  security: deps.security,
@@ -70885,7 +70906,7 @@ var routes = rn({
70885
70906
  var app = Ve(routes, {
70886
70907
  name: "mcp",
70887
70908
  versionInfo: {
70888
- currentVersion: "0.5.0"
70909
+ currentVersion: "0.5.2"
70889
70910
  }
70890
70911
  });
70891
70912
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -70893,5 +70914,5 @@ export {
70893
70914
  app
70894
70915
  };
70895
70916
 
70896
- //# debugId=D7FC19C0F3343D6B64756E2164756E21
70917
+ //# debugId=F1852DE01038BAD564756E2164756E21
70897
70918
  //# sourceMappingURL=mcp-server.js.map