@moovio/sdk 0.16.3 → 0.16.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 (37) hide show
  1. package/bin/mcp-server.js +38 -11
  2. package/bin/mcp-server.js.map +11 -10
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +2 -2
  6. package/lib/config.js +2 -2
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/components/feeproperties.d.ts +6 -0
  10. package/models/components/feeproperties.d.ts.map +1 -1
  11. package/models/components/feeproperties.js +3 -0
  12. package/models/components/feeproperties.js.map +1 -1
  13. package/models/components/index.d.ts +1 -0
  14. package/models/components/index.d.ts.map +1 -1
  15. package/models/components/index.js +1 -0
  16. package/models/components/index.js.map +1 -1
  17. package/models/components/partnerpricing.d.ts +8 -4
  18. package/models/components/partnerpricing.d.ts.map +1 -1
  19. package/models/components/partnerpricing.js +2 -2
  20. package/models/components/partnerpricing.js.map +1 -1
  21. package/models/components/partnerpricingagreement.d.ts +7 -3
  22. package/models/components/partnerpricingagreement.d.ts.map +1 -1
  23. package/models/components/partnerpricingagreement.js +2 -2
  24. package/models/components/partnerpricingagreement.js.map +1 -1
  25. package/models/components/volumerange.d.ts +51 -0
  26. package/models/components/volumerange.d.ts.map +1 -0
  27. package/models/components/volumerange.js +76 -0
  28. package/models/components/volumerange.js.map +1 -0
  29. package/package.json +1 -1
  30. package/src/lib/config.ts +2 -2
  31. package/src/mcp-server/mcp-server.ts +1 -1
  32. package/src/mcp-server/server.ts +1 -1
  33. package/src/models/components/feeproperties.ts +13 -0
  34. package/src/models/components/index.ts +1 -0
  35. package/src/models/components/partnerpricing.ts +10 -6
  36. package/src/models/components/partnerpricingagreement.ts +9 -5
  37. package/src/models/components/volumerange.ts +95 -0
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.16.3",
34178
+ sdkVersion: "0.16.4",
34179
34179
  genVersion: "2.723.11",
34180
- userAgent: "speakeasy-sdk/typescript 0.16.3 2.723.11 latest @moovio/sdk"
34180
+ userAgent: "speakeasy-sdk/typescript 0.16.4 2.723.11 latest @moovio/sdk"
34181
34181
  };
34182
34182
  });
34183
34183
 
@@ -38066,22 +38066,48 @@ var init_feemodel = __esm(() => {
38066
38066
  })(FeeModel$ ||= {});
38067
38067
  });
38068
38068
 
38069
+ // src/models/components/volumerange.ts
38070
+ var VolumeRange$inboundSchema, VolumeRange$outboundSchema, VolumeRange$;
38071
+ var init_volumerange = __esm(() => {
38072
+ init_esm();
38073
+ init_amountdecimal();
38074
+ VolumeRange$inboundSchema = objectType({
38075
+ fromValue: numberType().int(),
38076
+ toValue: numberType().int().optional(),
38077
+ flatAmount: AmountDecimal$inboundSchema,
38078
+ perUnitAmount: AmountDecimal$inboundSchema
38079
+ });
38080
+ VolumeRange$outboundSchema = objectType({
38081
+ fromValue: numberType().int(),
38082
+ toValue: numberType().int().optional(),
38083
+ flatAmount: AmountDecimal$outboundSchema,
38084
+ perUnitAmount: AmountDecimal$outboundSchema
38085
+ });
38086
+ ((VolumeRange$) => {
38087
+ VolumeRange$.inboundSchema = VolumeRange$inboundSchema;
38088
+ VolumeRange$.outboundSchema = VolumeRange$outboundSchema;
38089
+ })(VolumeRange$ ||= {});
38090
+ });
38091
+
38069
38092
  // src/models/components/feeproperties.ts
38070
38093
  var FeeProperties$inboundSchema, FeeProperties$outboundSchema, FeeProperties$;
38071
38094
  var init_feeproperties = __esm(() => {
38072
38095
  init_esm();
38073
38096
  init_amountdecimal();
38097
+ init_volumerange();
38074
38098
  FeeProperties$inboundSchema = objectType({
38075
38099
  fixedAmount: AmountDecimal$inboundSchema.optional(),
38076
38100
  variableRate: stringType().optional(),
38077
38101
  minPerTransaction: AmountDecimal$inboundSchema.optional(),
38078
- maxPerTransaction: AmountDecimal$inboundSchema.optional()
38102
+ maxPerTransaction: AmountDecimal$inboundSchema.optional(),
38103
+ volumeRanges: arrayType(VolumeRange$inboundSchema)
38079
38104
  });
38080
38105
  FeeProperties$outboundSchema = objectType({
38081
38106
  fixedAmount: AmountDecimal$outboundSchema.optional(),
38082
38107
  variableRate: stringType().optional(),
38083
38108
  minPerTransaction: AmountDecimal$outboundSchema.optional(),
38084
- maxPerTransaction: AmountDecimal$outboundSchema.optional()
38109
+ maxPerTransaction: AmountDecimal$outboundSchema.optional(),
38110
+ volumeRanges: arrayType(VolumeRange$outboundSchema)
38085
38111
  });
38086
38112
  ((FeeProperties$) => {
38087
38113
  FeeProperties$.inboundSchema = FeeProperties$inboundSchema;
@@ -46404,7 +46430,7 @@ var init_partnerpricing = __esm(() => {
46404
46430
  planID: stringType(),
46405
46431
  name: stringType(),
46406
46432
  description: stringType().optional(),
46407
- revenueShare: numberType().int(),
46433
+ revenueShare: stringType(),
46408
46434
  cardAcquiringModel: CardAcquiringModel$inboundSchema,
46409
46435
  billableFees: arrayType(BillableFee$inboundSchema),
46410
46436
  minimumCommitment: MinimumCommitment$inboundSchema,
@@ -46415,7 +46441,7 @@ var init_partnerpricing = __esm(() => {
46415
46441
  planID: stringType(),
46416
46442
  name: stringType(),
46417
46443
  description: stringType().optional(),
46418
- revenueShare: numberType().int(),
46444
+ revenueShare: stringType(),
46419
46445
  cardAcquiringModel: CardAcquiringModel$outboundSchema,
46420
46446
  billableFees: arrayType(BillableFee$outboundSchema),
46421
46447
  minimumCommitment: MinimumCommitment$outboundSchema,
@@ -46449,7 +46475,7 @@ var init_partnerpricingagreement = __esm(() => {
46449
46475
  billableFees: arrayType(BillableFee$inboundSchema),
46450
46476
  minimumCommitment: MinimumCommitment$inboundSchema,
46451
46477
  monthlyPlatformFee: MonthlyPlatformFee$inboundSchema,
46452
- revenueShare: numberType().int()
46478
+ revenueShare: stringType()
46453
46479
  });
46454
46480
  PartnerPricingAgreement$outboundSchema = objectType({
46455
46481
  agreementID: stringType(),
@@ -46463,7 +46489,7 @@ var init_partnerpricingagreement = __esm(() => {
46463
46489
  billableFees: arrayType(BillableFee$outboundSchema),
46464
46490
  minimumCommitment: MinimumCommitment$outboundSchema,
46465
46491
  monthlyPlatformFee: MonthlyPlatformFee$outboundSchema,
46466
- revenueShare: numberType().int()
46492
+ revenueShare: stringType()
46467
46493
  });
46468
46494
  ((PartnerPricingAgreement$) => {
46469
46495
  PartnerPricingAgreement$.inboundSchema = PartnerPricingAgreement$inboundSchema;
@@ -50539,6 +50565,7 @@ var init_components = __esm(() => {
50539
50565
  init_verificationstatusdetail();
50540
50566
  init_volumebycustomertype();
50541
50567
  init_volumebycustomertypeerror();
50568
+ init_volumerange();
50542
50569
  init_volumesharebycustomertype();
50543
50570
  init_volumesharebycustomertypeerror();
50544
50571
  init_wallet();
@@ -81016,7 +81043,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
81016
81043
  function createMCPServer(deps) {
81017
81044
  const server = new McpServer({
81018
81045
  name: "Moov",
81019
- version: "0.16.3"
81046
+ version: "0.16.4"
81020
81047
  });
81021
81048
  const client = new MoovCore({
81022
81049
  security: deps.security,
@@ -82542,7 +82569,7 @@ var routes = rn({
82542
82569
  var app = Ve(routes, {
82543
82570
  name: "mcp",
82544
82571
  versionInfo: {
82545
- currentVersion: "0.16.3"
82572
+ currentVersion: "0.16.4"
82546
82573
  }
82547
82574
  });
82548
82575
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -82550,5 +82577,5 @@ export {
82550
82577
  app
82551
82578
  };
82552
82579
 
82553
- //# debugId=B9A557D9803F5A9664756E2164756E21
82580
+ //# debugId=C74A1EB3FD86849F64756E2164756E21
82554
82581
  //# sourceMappingURL=mcp-server.js.map