@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/bun.lock
CHANGED
|
@@ -154,25 +154,25 @@
|
|
|
154
154
|
|
|
155
155
|
"@types/wrap-ansi": ["@types/wrap-ansi@3.0.0", "", {}, "sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g=="],
|
|
156
156
|
|
|
157
|
-
"@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.61.
|
|
157
|
+
"@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.61.1", "", { "dependencies": { "@eslint-community/regexpp": "^4.12.2", "@typescript-eslint/scope-manager": "8.61.1", "@typescript-eslint/type-utils": "8.61.1", "@typescript-eslint/utils": "8.61.1", "@typescript-eslint/visitor-keys": "8.61.1", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "@typescript-eslint/parser": "^8.61.1", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-ZPlVl3PB3et/59Ne0fv/sci6ZXz4T4Hp4nTJ56i/Y0gR89ARb+KphojTq6j+56E5PIezmOIOOWyY+aWQFd+IkQ=="],
|
|
158
158
|
|
|
159
|
-
"@typescript-eslint/parser": ["@typescript-eslint/parser@8.61.
|
|
159
|
+
"@typescript-eslint/parser": ["@typescript-eslint/parser@8.61.1", "", { "dependencies": { "@typescript-eslint/scope-manager": "8.61.1", "@typescript-eslint/types": "8.61.1", "@typescript-eslint/typescript-estree": "8.61.1", "@typescript-eslint/visitor-keys": "8.61.1", "debug": "^4.4.3" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-PJ5vePq5/ognBbrIcoC5+SHO5dfpeLPzP9FpLkzWrguoYQEeeSjlJpVwOpo1JRSTEi7dRcwNy4h4dzV70PqHcg=="],
|
|
160
160
|
|
|
161
|
-
"@typescript-eslint/project-service": ["@typescript-eslint/project-service@8.61.
|
|
161
|
+
"@typescript-eslint/project-service": ["@typescript-eslint/project-service@8.61.1", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.61.1", "@typescript-eslint/types": "^8.61.1", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-PrC4JYGmR241lYnfhmKGTXkFqv8+ymbTFgSAY0fVXpY82/QkMw5TZPl+vGzuDDU2QYJk9fIDOBTntF+yDv9LEA=="],
|
|
162
162
|
|
|
163
|
-
"@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.61.
|
|
163
|
+
"@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.61.1", "", { "dependencies": { "@typescript-eslint/types": "8.61.1", "@typescript-eslint/visitor-keys": "8.61.1" } }, "sha512-L2bdIeoQS8FlKAvONAr20w6OcLXeB+qiDKbAooS9A0Ben+iSIkBef0FxqwKWYqt5sa0i4KJtxVyVmhMylKzF5w=="],
|
|
164
164
|
|
|
165
|
-
"@typescript-eslint/tsconfig-utils": ["@typescript-eslint/tsconfig-utils@8.61.
|
|
165
|
+
"@typescript-eslint/tsconfig-utils": ["@typescript-eslint/tsconfig-utils@8.61.1", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-UN/H4di+OO7EWx2ovME+8t31YO+KVnK0RRKEHR3kOt21/Ay8BOq3M1OMvWs5vNiqcFCYGYoxK3MXPZzmMUE+yg=="],
|
|
166
166
|
|
|
167
|
-
"@typescript-eslint/type-utils": ["@typescript-eslint/type-utils@8.61.
|
|
167
|
+
"@typescript-eslint/type-utils": ["@typescript-eslint/type-utils@8.61.1", "", { "dependencies": { "@typescript-eslint/types": "8.61.1", "@typescript-eslint/typescript-estree": "8.61.1", "@typescript-eslint/utils": "8.61.1", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-GYRicKmVK0C4fsKgaACaknOUAq9Oa2kwsjnpFhFcS/5p4Ht5IP9OVLbgIgcK4SRk92nVHFluurg1lumD9dBcLw=="],
|
|
168
168
|
|
|
169
|
-
"@typescript-eslint/types": ["@typescript-eslint/types@8.61.
|
|
169
|
+
"@typescript-eslint/types": ["@typescript-eslint/types@8.61.1", "", {}, "sha512-G+CRlPqLv7Bz1IZVs03x5K59F1veqL0EJUROAdGhKsEq8qOiRiZbI+HUojPq5l0fEGOKModD9br6lObhB8zkoA=="],
|
|
170
170
|
|
|
171
|
-
"@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.61.
|
|
171
|
+
"@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.61.1", "", { "dependencies": { "@typescript-eslint/project-service": "8.61.1", "@typescript-eslint/tsconfig-utils": "8.61.1", "@typescript-eslint/types": "8.61.1", "@typescript-eslint/visitor-keys": "8.61.1", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-u+oQD3BqYWPc8YV9Zab4vaJElJuwOLPRc10Jm1o/qS+6Qwen14HCWwx0Seo4LnSn2wxea2Ik8DxPt2/FHmuhrg=="],
|
|
172
172
|
|
|
173
|
-
"@typescript-eslint/utils": ["@typescript-eslint/utils@8.61.
|
|
173
|
+
"@typescript-eslint/utils": ["@typescript-eslint/utils@8.61.1", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", "@typescript-eslint/scope-manager": "8.61.1", "@typescript-eslint/types": "8.61.1", "@typescript-eslint/typescript-estree": "8.61.1" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-1+P/3Dj6jvtybE1q0HQ6yBt/gq+oKJyLdEv4HdnqasaEXRSYCAsD59mXEVQnM/ULNdQxbX77tdG4jPRjIS6knA=="],
|
|
174
174
|
|
|
175
|
-
"@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.61.
|
|
175
|
+
"@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.61.1", "", { "dependencies": { "@typescript-eslint/types": "8.61.1", "eslint-visitor-keys": "^5.0.0" } }, "sha512-6fJ9MHWtK14C1DSkiMlHUSOmrVebL7150xZJBlJiL62jjhIA4JmOq6flwBgDxIdBKKdoiZRel+dfPD5MLfny3w=="],
|
|
176
176
|
|
|
177
177
|
"accepts": ["accepts@2.0.0", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="],
|
|
178
178
|
|
|
@@ -512,7 +512,7 @@
|
|
|
512
512
|
|
|
513
513
|
"typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
|
|
514
514
|
|
|
515
|
-
"typescript-eslint": ["typescript-eslint@8.61.
|
|
515
|
+
"typescript-eslint": ["typescript-eslint@8.61.1", "", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.61.1", "@typescript-eslint/parser": "8.61.1", "@typescript-eslint/typescript-estree": "8.61.1", "@typescript-eslint/utils": "8.61.1" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-V7PayAfJokV3pEHgN7/v03D1SpujhRfQtYLbLIiBfDDncdg4PAiRBfoS4cnCANK4jmAPncczi59QO3afiXUlNw=="],
|
|
516
516
|
|
|
517
517
|
"undici-types": ["undici-types@5.26.5", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],
|
|
518
518
|
|
package/esm/lib/config.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "1.0";
|
|
38
|
-
readonly sdkVersion: "2.1.
|
|
38
|
+
readonly sdkVersion: "2.1.19";
|
|
39
39
|
readonly genVersion: "2.904.2";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/mcp-typescript 2.1.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/mcp-typescript 2.1.19 2.904.2 1.0 @flexprice/mcp-server";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/esm/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ export function serverURLFromOptions(options) {
|
|
|
31
31
|
export const SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "1.0",
|
|
34
|
-
sdkVersion: "2.1.
|
|
34
|
+
sdkVersion: "2.1.19",
|
|
35
35
|
genVersion: "2.904.2",
|
|
36
|
-
userAgent: "speakeasy-sdk/mcp-typescript 2.1.
|
|
36
|
+
userAgent: "speakeasy-sdk/mcp-typescript 2.1.19 2.904.2 1.0 @flexprice/mcp-server",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
package/esm/mcp-server/server.js
CHANGED
|
@@ -79,7 +79,7 @@ import { tool$subscriptionsUpdateSubscriptionLineItem } from "./tools/subscripti
|
|
|
79
79
|
export function createMCPServer(deps) {
|
|
80
80
|
const server = new McpServer({
|
|
81
81
|
name: "Flexprice",
|
|
82
|
-
version: "2.1.
|
|
82
|
+
version: "2.1.19",
|
|
83
83
|
});
|
|
84
84
|
const getClient = deps.getSDK || (() => new FlexpriceCore({
|
|
85
85
|
security: deps.security,
|
|
@@ -4,7 +4,6 @@ export type SubModifyCouponParams = {
|
|
|
4
4
|
action: SubModifyCouponAction;
|
|
5
5
|
association_id?: string | undefined;
|
|
6
6
|
coupon_code?: string | undefined;
|
|
7
|
-
effective_date?: string | undefined;
|
|
8
7
|
end_date?: string | undefined;
|
|
9
8
|
start_date?: string | undefined;
|
|
10
9
|
subscription_id?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submodifycouponparams.d.ts","sourceRoot":"","sources":["../../src/models/submodifycouponparams.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,qBAAqB,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,
|
|
1
|
+
{"version":3,"file":"submodifycouponparams.d.ts","sourceRoot":"","sources":["../../src/models/submodifycouponparams.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,qBAAqB,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,yBAAyB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAqBzE,CAAC"}
|
|
@@ -7,9 +7,8 @@ export const SubModifyCouponParams$zodSchema = z.object({
|
|
|
7
7
|
action: SubModifyCouponAction$zodSchema,
|
|
8
8
|
association_id: z.string().optional().describe("Required when action=\"remove\". ID of the CouponAssociation to soft-delete."),
|
|
9
9
|
coupon_code: z.string().optional().describe("Required for action=\"add\". Coupon code of the coupon to attach."),
|
|
10
|
-
effective_date: z.iso.datetime({ offset: true }).optional().describe("Optional. When to apply the change; defaults to now if omitted."),
|
|
11
10
|
end_date: z.iso.datetime({ offset: true }).optional().describe("Optional. When the coupon association ends."),
|
|
12
|
-
start_date: z.iso.datetime({ offset: true }).optional().describe("Optional. When the coupon association starts; defaults to
|
|
11
|
+
start_date: z.iso.datetime({ offset: true }).optional().describe("Optional. When the coupon association starts; defaults to now."),
|
|
13
12
|
subscription_id: z.string().optional().describe("Optional. Apply at subscription level. Mutually exclusive with SubscriptionLineItemID."),
|
|
14
13
|
subscription_line_item_id: z.string().optional().describe("Optional. Apply at a specific line item. Mutually exclusive with SubscriptionID."),
|
|
15
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submodifycouponparams.js","sourceRoot":"","sources":["../../src/models/submodifycouponparams.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"submodifycouponparams.js","sourceRoot":"","sources":["../../src/models/submodifycouponparams.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AAYpC,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,+BAA+B;IACvC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC5C,8EAA8E,CAC/E;IACD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACzC,mEAAmE,CACpE;IACD,QAAQ,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC5D,6CAA6C,CAC9C;IACD,UAAU,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC9D,gEAAgE,CACjE;IACD,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7C,wFAAwF,CACzF;IACD,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACvD,kFAAkF,CACnF;CACF,CAAC,CAAC"}
|