@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/bin/mcp-server.js +6 -7
- package/bin/mcp-server.js.map +6 -6
- package/bun.lock +11 -11
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/submodifycouponparams.d.ts +0 -1
- package/esm/models/submodifycouponparams.d.ts.map +1 -1
- package/esm/models/submodifycouponparams.js +1 -2
- package/esm/models/submodifycouponparams.js.map +1 -1
- package/esm/tsconfig.tsbuildinfo +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/submodifycouponparams.ts +1 -5
package/manifest.json
CHANGED
package/package.json
CHANGED
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.
|
|
72
|
+
sdkVersion: "2.1.19",
|
|
73
73
|
genVersion: "2.904.2",
|
|
74
74
|
userAgent:
|
|
75
|
-
"speakeasy-sdk/mcp-typescript 2.1.
|
|
75
|
+
"speakeasy-sdk/mcp-typescript 2.1.19 2.904.2 1.0 @flexprice/mcp-server",
|
|
76
76
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -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
|
|
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.",
|