@flexprice/mcp-server 2.0.3 → 2.0.6

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/manifest.json CHANGED
@@ -48,7 +48,7 @@
48
48
  "sensitive": true
49
49
  }
50
50
  },
51
- "version": "2.0.3",
51
+ "version": "2.0.6",
52
52
  "tools": [
53
53
  {
54
54
  "name": "update-customer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flexprice/mcp-server",
3
- "version": "2.0.3",
3
+ "version": "2.0.6",
4
4
  "author": "flexprice",
5
5
  "type": "module",
6
6
  "sideEffects": false,
package/src/lib/config.ts CHANGED
@@ -69,8 +69,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
69
69
  export const SDK_METADATA = {
70
70
  language: "typescript",
71
71
  openapiDocVersion: "1.0",
72
- sdkVersion: "2.0.3",
73
- genVersion: "2.856.1",
72
+ sdkVersion: "2.0.6",
73
+ genVersion: "2.862.0",
74
74
  userAgent:
75
- "speakeasy-sdk/mcp-typescript 2.0.3 2.856.1 1.0 @flexprice/mcp-server",
75
+ "speakeasy-sdk/mcp-typescript 2.0.6 2.862.0 1.0 @flexprice/mcp-server",
76
76
  } as const;
@@ -21,7 +21,7 @@ const routes = buildRouteMap({
21
21
  export const app = buildApplication(routes, {
22
22
  name: "mcp",
23
23
  versionInfo: {
24
- currentVersion: "2.0.3",
24
+ currentVersion: "2.0.6",
25
25
  },
26
26
  });
27
27
 
@@ -71,7 +71,7 @@ export function createMCPServer(deps: {
71
71
  }) {
72
72
  const server = new McpServer({
73
73
  name: "Flexprice",
74
- version: "2.0.3",
74
+ version: "2.0.6",
75
75
  });
76
76
 
77
77
  const getClient = deps.getSDK || (() =>
@@ -401,7 +401,7 @@ export function buildSDK(
401
401
  ...cliFlags,
402
402
  "api-key-auth": resolveHeader(
403
403
  headers,
404
- "ApiKeyAuth",
404
+ "api-key-auth",
405
405
  z.string(),
406
406
  cliFlags["api-key-auth"],
407
407
  disableStaticAuth,
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod";
6
6
 
7
7
  export type DtoGetPreviewInvoiceRequest = {
8
+ hide_zero_charges_line_items?: boolean | undefined;
8
9
  period_end?: string | undefined;
9
10
  period_start?: string | undefined;
10
11
  subscription_id: string;
@@ -13,6 +14,7 @@ export type DtoGetPreviewInvoiceRequest = {
13
14
  export const DtoGetPreviewInvoiceRequest$zodSchema: z.ZodType<
14
15
  DtoGetPreviewInvoiceRequest
15
16
  > = z.object({
17
+ hide_zero_charges_line_items: z.boolean().default(false),
16
18
  period_end: z.string().optional(),
17
19
  period_start: z.string().optional(),
18
20
  subscription_id: z.string(),
@@ -28,6 +28,7 @@ import {
28
28
  GithubComFlexpriceFlexpriceInternalDomainPlanPlan,
29
29
  GithubComFlexpriceFlexpriceInternalDomainPlanPlan$zodSchema,
30
30
  } from "./githubcomflexpriceflexpriceinternaldomainplanplan.js";
31
+ import { GroupGroup, GroupGroup$zodSchema } from "./groupgroup.js";
31
32
  import { MeterMeter, MeterMeter$zodSchema } from "./metermeter.js";
32
33
  import { ReportingUnit, ReportingUnit$zodSchema } from "./reportingunit.js";
33
34
  import {
@@ -46,6 +47,7 @@ export type DtoUsageAnalyticItem = {
46
47
  event_name?: string | undefined;
47
48
  feature?: GithubComFlexpriceFlexpriceInternalDomainFeatureFeature | undefined;
48
49
  feature_id?: string | undefined;
50
+ group?: GroupGroup | undefined;
49
51
  meter?: MeterMeter | undefined;
50
52
  meter_id?: string | undefined;
51
53
  name?: string | undefined;
@@ -82,6 +84,7 @@ export const DtoUsageAnalyticItem$zodSchema: z.ZodType<DtoUsageAnalyticItem> = z
82
84
  feature: GithubComFlexpriceFlexpriceInternalDomainFeatureFeature$zodSchema
83
85
  .optional(),
84
86
  feature_id: z.string().optional(),
87
+ group: GroupGroup$zodSchema.optional(),
85
88
  meter: MeterMeter$zodSchema.optional(),
86
89
  meter_id: z.string().optional(),
87
90
  name: z.string().optional(),
@@ -6,7 +6,6 @@ import * as z from "zod";
6
6
  import { ClosedEnum } from "../types/enums.js";
7
7
 
8
8
  export const WindowSize = {
9
- Month: "MONTH",
10
9
  Minute: "MINUTE",
11
10
  FifteenMIN: "15MIN",
12
11
  ThirtyMIN: "30MIN",
@@ -16,11 +15,11 @@ export const WindowSize = {
16
15
  TwelveHOUR: "12HOUR",
17
16
  Day: "DAY",
18
17
  Week: "WEEK",
18
+ Month: "MONTH",
19
19
  } as const;
20
20
  export type WindowSize = ClosedEnum<typeof WindowSize>;
21
21
 
22
22
  export const WindowSize$zodSchema = z.enum([
23
- "MONTH",
24
23
  "MINUTE",
25
24
  "15MIN",
26
25
  "30MIN",
@@ -30,4 +29,5 @@ export const WindowSize$zodSchema = z.enum([
30
29
  "12HOUR",
31
30
  "DAY",
32
31
  "WEEK",
32
+ "MONTH",
33
33
  ]);