@flexprice/mcp-server 2.1.18 → 2.1.19

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.1.18",
51
+ "version": "2.1.19",
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.1.18",
3
+ "version": "2.1.19",
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.1.18",
72
+ sdkVersion: "2.1.19",
73
73
  genVersion: "2.904.2",
74
74
  userAgent:
75
- "speakeasy-sdk/mcp-typescript 2.1.18 2.904.2 1.0 @flexprice/mcp-server",
75
+ "speakeasy-sdk/mcp-typescript 2.1.19 2.904.2 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.1.18",
24
+ currentVersion: "2.1.19",
25
25
  },
26
26
  });
27
27
 
@@ -101,7 +101,7 @@ export function createMCPServer(deps: {
101
101
  }) {
102
102
  const server = new McpServer({
103
103
  name: "Flexprice",
104
- version: "2.1.18",
104
+ version: "2.1.19",
105
105
  });
106
106
 
107
107
  const getClient = deps.getSDK || (() =>
@@ -12,7 +12,6 @@ export type SubModifyCouponParams = {
12
12
  action: SubModifyCouponAction;
13
13
  association_id?: string | undefined;
14
14
  coupon_code?: string | undefined;
15
- effective_date?: string | undefined;
16
15
  end_date?: string | undefined;
17
16
  start_date?: string | undefined;
18
17
  subscription_id?: string | undefined;
@@ -28,14 +27,11 @@ export const SubModifyCouponParams$zodSchema: z.ZodType<SubModifyCouponParams> =
28
27
  coupon_code: z.string().optional().describe(
29
28
  "Required for action=\"add\". Coupon code of the coupon to attach.",
30
29
  ),
31
- effective_date: z.iso.datetime({ offset: true }).optional().describe(
32
- "Optional. When to apply the change; defaults to now if omitted.",
33
- ),
34
30
  end_date: z.iso.datetime({ offset: true }).optional().describe(
35
31
  "Optional. When the coupon association ends.",
36
32
  ),
37
33
  start_date: z.iso.datetime({ offset: true }).optional().describe(
38
- "Optional. When the coupon association starts; defaults to EffectiveDate.",
34
+ "Optional. When the coupon association starts; defaults to now.",
39
35
  ),
40
36
  subscription_id: z.string().optional().describe(
41
37
  "Optional. Apply at subscription level. Mutually exclusive with SubscriptionLineItemID.",