@flexprice/mcp-server 2.1.9 → 2.1.10
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 +20 -8
- package/bin/mcp-server.js.map +10 -10
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/lib/config.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/mcp-server.js.map +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/models/createsubscriptionrequest.d.ts +1 -0
- package/esm/models/createsubscriptionrequest.d.ts.map +1 -1
- package/esm/models/createsubscriptionrequest.js +1 -0
- package/esm/models/createsubscriptionrequest.js.map +1 -1
- package/esm/models/creditgrantexpirydurationunit.d.ts +1 -1
- package/esm/models/invoicebillingreason.d.ts +2 -0
- package/esm/models/invoicebillingreason.d.ts.map +1 -1
- package/esm/models/invoicebillingreason.js +2 -0
- package/esm/models/invoicebillingreason.js.map +1 -1
- package/esm/models/subscriptionresponse.d.ts +1 -0
- package/esm/models/subscriptionresponse.d.ts.map +1 -1
- package/esm/models/subscriptionresponse.js +1 -0
- package/esm/models/subscriptionresponse.js.map +1 -1
- package/esm/models/subscriptionresponsev2.d.ts +1 -0
- package/esm/models/subscriptionresponsev2.d.ts.map +1 -1
- package/esm/models/subscriptionresponsev2.js +1 -0
- package/esm/models/subscriptionresponsev2.js.map +1 -1
- package/esm/models/windowsize.d.ts +2 -2
- package/esm/models/windowsize.js +2 -2
- package/esm/models/windowsize.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/createsubscriptionrequest.ts +4 -0
- package/src/models/invoicebillingreason.ts +2 -0
- package/src/models/subscriptionresponse.ts +4 -0
- package/src/models/subscriptionresponsev2.ts +4 -0
- package/src/models/windowsize.ts +2 -2
package/bin/mcp-server.js
CHANGED
|
@@ -50979,9 +50979,9 @@ var init_config = __esm(() => {
|
|
|
50979
50979
|
SDK_METADATA = {
|
|
50980
50980
|
language: "typescript",
|
|
50981
50981
|
openapiDocVersion: "1.0",
|
|
50982
|
-
sdkVersion: "2.1.
|
|
50982
|
+
sdkVersion: "2.1.10",
|
|
50983
50983
|
genVersion: "2.882.0",
|
|
50984
|
-
userAgent: "speakeasy-sdk/mcp-typescript 2.1.
|
|
50984
|
+
userAgent: "speakeasy-sdk/mcp-typescript 2.1.10 2.882.0 1.0 @flexprice/mcp-server"
|
|
50985
50985
|
};
|
|
50986
50986
|
});
|
|
50987
50987
|
|
|
@@ -53201,7 +53201,6 @@ var WindowSize$zodSchema;
|
|
|
53201
53201
|
var init_windowsize = __esm(() => {
|
|
53202
53202
|
init_zod();
|
|
53203
53203
|
WindowSize$zodSchema = _enum([
|
|
53204
|
-
"MONTH",
|
|
53205
53204
|
"MINUTE",
|
|
53206
53205
|
"15MIN",
|
|
53207
53206
|
"30MIN",
|
|
@@ -53210,7 +53209,8 @@ var init_windowsize = __esm(() => {
|
|
|
53210
53209
|
"6HOUR",
|
|
53211
53210
|
"12HOUR",
|
|
53212
53211
|
"DAY",
|
|
53213
|
-
"WEEK"
|
|
53212
|
+
"WEEK",
|
|
53213
|
+
"MONTH"
|
|
53214
53214
|
]);
|
|
53215
53215
|
});
|
|
53216
53216
|
|
|
@@ -55981,7 +55981,8 @@ var init_invoicebillingreason = __esm(() => {
|
|
|
55981
55981
|
"SUBSCRIPTION_TRIAL_END",
|
|
55982
55982
|
"SUBSCRIPTION_TRIAL_START",
|
|
55983
55983
|
"PRORATION",
|
|
55984
|
-
"MANUAL"
|
|
55984
|
+
"MANUAL",
|
|
55985
|
+
"AUTO_INVOICE_THRESHOLD"
|
|
55985
55986
|
]);
|
|
55986
55987
|
});
|
|
55987
55988
|
|
|
@@ -57190,6 +57191,9 @@ var init_subscriptionresponse = __esm(() => {
|
|
|
57190
57191
|
SubscriptionResponse$zodSchema = object({
|
|
57191
57192
|
active_pause_id: string2().optional().describe(`ActivePauseID references the current active pause configuration
|
|
57192
57193
|
This will be null if no pause is active or scheduled`),
|
|
57194
|
+
auto_invoice_threshold: string2().optional().describe(`AutoInvoiceThreshold is the usage amount (in subscription currency) that triggers
|
|
57195
|
+
an intermediate invoice. Overrides the plan-level threshold when set.
|
|
57196
|
+
Nil means: inherit from the plan's threshold (which may also be nil = disabled).`),
|
|
57193
57197
|
billing_anchor: exports_iso.datetime({ offset: true }).optional().describe(`BillingAnchor is the reference point that aligns future billing cycle dates.
|
|
57194
57198
|
It sets the day of week for week intervals, the day of month for month and year intervals,
|
|
57195
57199
|
and the month of year for year intervals. The timestamp is in UTC format.`),
|
|
@@ -61667,6 +61671,11 @@ var init_createsubscriptionrequest = __esm(() => {
|
|
|
61667
61671
|
init_taxrateoverride();
|
|
61668
61672
|
CreateSubscriptionRequest$zodSchema = object({
|
|
61669
61673
|
addons: array(AddAddonToSubscriptionRequest$zodSchema).optional().describe("Addons represents addons to be added to the subscription during creation"),
|
|
61674
|
+
auto_invoice_threshold: string2().optional().describe(`AutoInvoiceThreshold is the usage amount (in subscription currency) that triggers
|
|
61675
|
+
an intermediate invoice mid-period. Set once at creation; cannot be changed later.
|
|
61676
|
+
Allowed only when the subscription resolves to type standalone (no parent hierarchy rows).
|
|
61677
|
+
Plan line items must be usage-based only (no fixed or other non-usage plan prices).
|
|
61678
|
+
Nil means auto invoice threshold billing is disabled for this subscription.`),
|
|
61670
61679
|
billing_anchor: exports_iso.datetime({ offset: true }).optional().describe(`BillingAnchor overrides the derived billing anchor when billing_cycle is anniversary.
|
|
61671
61680
|
For monthly billing, the day-of-month (and time-of-day) define cycle boundaries: if start_date
|
|
61672
61681
|
is before that day in the month, the first billing period ends on the next occurrence of that
|
|
@@ -63850,6 +63859,9 @@ var init_subscriptionresponsev2 = __esm(() => {
|
|
|
63850
63859
|
SubscriptionResponseV2$zodSchema = object({
|
|
63851
63860
|
active_pause_id: string2().optional().describe(`ActivePauseID references the current active pause configuration
|
|
63852
63861
|
This will be null if no pause is active or scheduled`),
|
|
63862
|
+
auto_invoice_threshold: string2().optional().describe(`AutoInvoiceThreshold is the usage amount (in subscription currency) that triggers
|
|
63863
|
+
an intermediate invoice. Overrides the plan-level threshold when set.
|
|
63864
|
+
Nil means: inherit from the plan's threshold (which may also be nil = disabled).`),
|
|
63853
63865
|
billing_anchor: exports_iso.datetime({ offset: true }).optional().describe(`BillingAnchor is the reference point that aligns future billing cycle dates.
|
|
63854
63866
|
It sets the day of week for week intervals, the day of month for month and year intervals,
|
|
63855
63867
|
and the month of year for year intervals. The timestamp is in UTC format.`),
|
|
@@ -65372,7 +65384,7 @@ Use when changing a subscription line item (e.g. quantity or price). Implemented
|
|
|
65372
65384
|
function createMCPServer(deps) {
|
|
65373
65385
|
const server = new McpServer({
|
|
65374
65386
|
name: "Flexprice",
|
|
65375
|
-
version: "2.1.
|
|
65387
|
+
version: "2.1.10"
|
|
65376
65388
|
});
|
|
65377
65389
|
const getClient = deps.getSDK || (() => new FlexpriceCore({
|
|
65378
65390
|
security: deps.security,
|
|
@@ -69524,7 +69536,7 @@ var routes = buildRouteMap({
|
|
|
69524
69536
|
var app = buildApplication(routes, {
|
|
69525
69537
|
name: "mcp",
|
|
69526
69538
|
versionInfo: {
|
|
69527
|
-
currentVersion: "2.1.
|
|
69539
|
+
currentVersion: "2.1.10"
|
|
69528
69540
|
}
|
|
69529
69541
|
});
|
|
69530
69542
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -69532,5 +69544,5 @@ export {
|
|
|
69532
69544
|
app
|
|
69533
69545
|
};
|
|
69534
69546
|
|
|
69535
|
-
//# debugId=
|
|
69547
|
+
//# debugId=9237EEAA0B0D62CA64756E2164756E21
|
|
69536
69548
|
//# sourceMappingURL=mcp-server.js.map
|