@moovio/sdk 26.5.3 → 26.5.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.
package/bin/mcp-server.js CHANGED
@@ -52974,9 +52974,9 @@ var init_config = __esm(() => {
52974
52974
  SDK_METADATA = {
52975
52975
  language: "typescript",
52976
52976
  openapiDocVersion: "v2026.04.00",
52977
- sdkVersion: "26.5.3",
52978
- genVersion: "2.916.2",
52979
- userAgent: "speakeasy-sdk/typescript 26.5.3 2.916.2 v2026.04.00 @moovio/sdk"
52977
+ sdkVersion: "26.5.4",
52978
+ genVersion: "2.917.0",
52979
+ userAgent: "speakeasy-sdk/typescript 26.5.4 2.917.0 v2026.04.00 @moovio/sdk"
52980
52980
  };
52981
52981
  });
52982
52982
 
@@ -53398,11 +53398,11 @@ var init_encodings = __esm(() => {
53398
53398
 
53399
53399
  // src/lib/http.ts
53400
53400
  class HTTPClient {
53401
- options;
53402
53401
  fetcher;
53403
53402
  requestHooks = [];
53404
53403
  requestErrorHooks = [];
53405
53404
  responseHooks = [];
53405
+ options;
53406
53406
  constructor(options = {}) {
53407
53407
  this.options = options;
53408
53408
  this.fetcher = options.fetcher || DEFAULT_FETCHER;
@@ -54608,8 +54608,12 @@ async function extractSecurity(sec) {
54608
54608
  }
54609
54609
  return typeof sec === "function" ? sec() : sec;
54610
54610
  }
54611
- var SecurityError;
54611
+ var SecurityErrorCode, SecurityError;
54612
54612
  var init_security = __esm(() => {
54613
+ SecurityErrorCode = {
54614
+ Incomplete: "incomplete",
54615
+ UnrecognisedSecurityType: "unrecognized_security_type"
54616
+ };
54613
54617
  SecurityError = class SecurityError extends Error {
54614
54618
  code;
54615
54619
  constructor(code, message) {
@@ -54618,10 +54622,10 @@ var init_security = __esm(() => {
54618
54622
  this.name = "SecurityError";
54619
54623
  }
54620
54624
  static incomplete() {
54621
- return new SecurityError("incomplete" /* Incomplete */, "Security requirements not met in order to perform the operation");
54625
+ return new SecurityError(SecurityErrorCode.Incomplete, "Security requirements not met in order to perform the operation");
54622
54626
  }
54623
54627
  static unrecognizedType(type) {
54624
- return new SecurityError("unrecognized_security_type" /* UnrecognisedSecurityType */, `Unrecognised security type: ${type}`);
54628
+ return new SecurityError(SecurityErrorCode.UnrecognisedSecurityType, `Unrecognised security type: ${type}`);
54625
54629
  }
54626
54630
  };
54627
54631
  });
@@ -60066,6 +60070,7 @@ var init_cardbrandfees = __esm(() => {
60066
60070
  completedInternationalInPerson: BillingCountAndAmount$inboundSchema.optional(),
60067
60071
  declines: BillingCountAndAmount$inboundSchema.optional(),
60068
60072
  refunds: BillingCountAndAmount$inboundSchema.optional(),
60073
+ cardCancellations: BillingCountAndAmount$inboundSchema.optional(),
60069
60074
  total: BillingCountAndAmount$inboundSchema
60070
60075
  });
60071
60076
  CardBrandFees$outboundSchema = objectType({
@@ -60078,6 +60083,7 @@ var init_cardbrandfees = __esm(() => {
60078
60083
  completedInternationalInPerson: BillingCountAndAmount$outboundSchema.optional(),
60079
60084
  declines: BillingCountAndAmount$outboundSchema.optional(),
60080
60085
  refunds: BillingCountAndAmount$outboundSchema.optional(),
60086
+ cardCancellations: BillingCountAndAmount$outboundSchema.optional(),
60081
60087
  total: BillingCountAndAmount$outboundSchema
60082
60088
  });
60083
60089
  });
@@ -102628,7 +102634,7 @@ var init_webhooksUpdate2 = __esm(() => {
102628
102634
  function createMCPServer(deps) {
102629
102635
  const server = new McpServer({
102630
102636
  name: "Moov",
102631
- version: "26.5.3"
102637
+ version: "26.5.4"
102632
102638
  });
102633
102639
  const client = new MoovCore({
102634
102640
  security: deps.security,
@@ -104228,7 +104234,7 @@ var routes = rn({
104228
104234
  var app = Ve(routes, {
104229
104235
  name: "mcp",
104230
104236
  versionInfo: {
104231
- currentVersion: "26.5.3"
104237
+ currentVersion: "26.5.4"
104232
104238
  }
104233
104239
  });
104234
104240
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -104236,5 +104242,5 @@ export {
104236
104242
  app
104237
104243
  };
104238
104244
 
104239
- //# debugId=9008C8064D55D73D64756E2164756E21
104245
+ //# debugId=050A03B63D66C56864756E2164756E21
104240
104246
  //# sourceMappingURL=mcp-server.js.map