@flexprice/mcp-server 2.1.25 → 2.1.26
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 +1265 -635
- package/bin/mcp-server.js.map +35 -25
- package/bun.lock +43 -49
- package/esm/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.d.ts +3 -1
- package/esm/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.d.ts.map +1 -1
- package/esm/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.js +3 -1
- package/esm/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/mcp-server/tools/subscriptionsExecuteSubscriptionPlanChangeV2.d.ts.map +1 -1
- package/esm/mcp-server/tools/subscriptionsExecuteSubscriptionPlanChangeV2.js +3 -1
- package/esm/mcp-server/tools/subscriptionsExecuteSubscriptionPlanChangeV2.js.map +1 -1
- package/esm/models/billingperiodbehaviour.d.ts +14 -0
- package/esm/models/billingperiodbehaviour.d.ts.map +1 -0
- package/esm/models/billingperiodbehaviour.js +15 -0
- package/esm/models/billingperiodbehaviour.js.map +1 -0
- package/esm/models/billingperiodconfig.d.ts +11 -0
- package/esm/models/billingperiodconfig.d.ts.map +1 -0
- package/esm/models/billingperiodconfig.js +14 -0
- package/esm/models/billingperiodconfig.js.map +1 -0
- package/esm/models/creditgrantapplicationresponse.d.ts +1 -1
- package/esm/models/creditgrantapplicationresponse.js +1 -1
- package/esm/models/entitlementresponse.d.ts +1 -1
- package/esm/models/entitlementresponse.js +1 -1
- package/esm/models/entitychangebehaviour.d.ts +2 -0
- package/esm/models/entitychangebehaviour.d.ts.map +1 -1
- package/esm/models/entitychangebehaviour.js +2 -0
- package/esm/models/entitychangebehaviour.js.map +1 -1
- package/esm/models/entitychangepolicy.js +1 -1
- package/esm/models/entitychangepolicy.js.map +1 -1
- package/esm/models/entitychangeresult.d.ts +2 -2
- package/esm/models/entitychangeresult.d.ts.map +1 -1
- package/esm/models/entitychangeresult.js +2 -2
- package/esm/models/entitychangeresult.js.map +1 -1
- package/esm/models/onpendingschedulepolicy.d.ts +12 -0
- package/esm/models/onpendingschedulepolicy.d.ts.map +1 -0
- package/esm/models/onpendingschedulepolicy.js +13 -0
- package/esm/models/onpendingschedulepolicy.js.map +1 -0
- package/esm/models/planpricesyncstatusresponse.d.ts +8 -0
- package/esm/models/planpricesyncstatusresponse.d.ts.map +1 -0
- package/esm/models/planpricesyncstatusresponse.js +10 -0
- package/esm/models/planpricesyncstatusresponse.js.map +1 -0
- package/esm/models/planresponse.d.ts +2 -0
- package/esm/models/planresponse.d.ts.map +1 -1
- package/esm/models/planresponse.js +2 -0
- package/esm/models/planresponse.js.map +1 -1
- package/esm/models/pricefeatureresponse.d.ts +7 -0
- package/esm/models/pricefeatureresponse.d.ts.map +1 -0
- package/esm/models/pricefeatureresponse.js +10 -0
- package/esm/models/pricefeatureresponse.js.map +1 -0
- package/esm/models/priceresponse.d.ts +2 -0
- package/esm/models/priceresponse.d.ts.map +1 -1
- package/esm/models/priceresponse.js +2 -0
- package/esm/models/priceresponse.js.map +1 -1
- package/esm/models/subscriptionchangebillingperiodresult.d.ts +10 -0
- package/esm/models/subscriptionchangebillingperiodresult.d.ts.map +1 -0
- package/esm/models/subscriptionchangebillingperiodresult.js +12 -0
- package/esm/models/subscriptionchangebillingperiodresult.js.map +1 -0
- package/esm/models/subscriptionchangeconflictpolicies.d.ts +7 -0
- package/esm/models/subscriptionchangeconflictpolicies.d.ts.map +1 -0
- package/esm/models/subscriptionchangeconflictpolicies.js +9 -0
- package/esm/models/subscriptionchangeconflictpolicies.js.map +1 -0
- package/esm/models/subscriptionchangeentitytype.d.ts +18 -0
- package/esm/models/subscriptionchangeentitytype.d.ts.map +1 -0
- package/esm/models/subscriptionchangeentitytype.js +19 -0
- package/esm/models/subscriptionchangeentitytype.js.map +1 -0
- package/esm/models/subscriptionchangev2request.d.ts +6 -0
- package/esm/models/subscriptionchangev2request.d.ts.map +1 -1
- package/esm/models/subscriptionchangev2request.js +6 -0
- package/esm/models/subscriptionchangev2request.js.map +1 -1
- package/esm/models/subscriptionchangev2response.d.ts +3 -0
- package/esm/models/subscriptionchangev2response.d.ts.map +1 -1
- package/esm/models/subscriptionchangev2response.js +3 -0
- package/esm/models/subscriptionchangev2response.js.map +1 -1
- package/esm/tool-names.js +1 -1
- package/esm/tool-names.js.map +1 -1
- package/esm/tsconfig.tsbuildinfo +1 -1
- package/manifest.json +2 -2
- package/package.json +1 -1
- package/src/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.ts +3 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/subscriptionsExecuteSubscriptionPlanChangeV2.ts +3 -1
- package/src/models/billingperiodbehaviour.ts +19 -0
- package/src/models/billingperiodconfig.ts +22 -0
- package/src/models/creditgrantapplicationresponse.ts +2 -2
- package/src/models/entitlementresponse.ts +2 -2
- package/src/models/entitychangebehaviour.ts +2 -0
- package/src/models/entitychangepolicy.ts +1 -1
- package/src/models/entitychangeresult.ts +5 -5
- package/src/models/onpendingschedulepolicy.ts +19 -0
- package/src/models/planpricesyncstatusresponse.ts +19 -0
- package/src/models/planresponse.ts +6 -0
- package/src/models/pricefeatureresponse.ts +15 -0
- package/src/models/priceresponse.ts +6 -0
- package/src/models/subscriptionchangebillingperiodresult.ts +25 -0
- package/src/models/subscriptionchangeconflictpolicies.ts +19 -0
- package/src/models/subscriptionchangeentitytype.ts +25 -0
- package/src/models/subscriptionchangev2request.ts +18 -0
- package/src/models/subscriptionchangev2response.ts +10 -0
- package/src/tool-names.ts +1 -1
package/bun.lock
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"lockfileVersion":
|
|
2
|
+
"lockfileVersion": 3,
|
|
3
3
|
"configVersion": 0,
|
|
4
4
|
"workspaces": {
|
|
5
5
|
"": {
|
|
@@ -27,12 +27,16 @@
|
|
|
27
27
|
"overrides": {
|
|
28
28
|
"@modelcontextprotocol/sdk": "1.26.0",
|
|
29
29
|
"body-parser": ">=2.3.0 <3.0.0",
|
|
30
|
-
"brace-expansion@^2.0.0":
|
|
30
|
+
"brace-expansion@^2.0.0": {
|
|
31
|
+
".": ">=2.1.4 <3.0.0",
|
|
32
|
+
},
|
|
31
33
|
"fast-uri": ">=4.1.2 <5.0.0",
|
|
32
34
|
"hono": ">=4.12.34",
|
|
33
35
|
"ip-address": ">=10.3.1 <11.0.0",
|
|
34
36
|
"js-yaml": ">=4.3.1 <5.0.0",
|
|
35
|
-
"nanoid@^5.0.0":
|
|
37
|
+
"nanoid@^5.0.0": {
|
|
38
|
+
".": ">=5.1.16 <6.0.0",
|
|
39
|
+
},
|
|
36
40
|
},
|
|
37
41
|
"packages": {
|
|
38
42
|
"@anthropic-ai/mcpb": ["@anthropic-ai/mcpb@1.2.0", "", { "dependencies": { "@inquirer/prompts": "^6.0.1", "commander": "^13.1.0", "fflate": "^0.8.2", "galactus": "^1.0.0", "ignore": "^7.0.5", "node-forge": "^1.3.1", "pretty-bytes": "^5.6.0", "zod": "^3.25.67", "zod-to-json-schema": "^3.24.6" }, "bin": { "mcpb": "dist/cli/cli.js" } }, "sha512-XYVCxQJsr4D4ZecEXVe9PvBpKj2T31KgEiT8K4thoi7krPFIQjXj4yOolAXP8hGSJHrW1Nf4odZES1kjLNDVkg=="],
|
|
@@ -95,45 +99,37 @@
|
|
|
95
99
|
|
|
96
100
|
"@inquirer/type": ["@inquirer/type@2.0.0", "", { "dependencies": { "mute-stream": "^1.0.0" } }, "sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag=="],
|
|
97
101
|
|
|
98
|
-
"@modelcontextprotocol/sdk": ["@modelcontextprotocol/sdk@1.26.0", "", { "dependencies": { "@hono/node-server": "^1.19.9", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1"
|
|
99
|
-
|
|
100
|
-
"@oven/bun-darwin-aarch64": ["@oven/bun-darwin-aarch64@1.3.14", "", { "os": "darwin", "cpu": "arm64" }, "sha512-Omj20SuiHBOUjUBIyqtkNjSUIjOtEOJwmbix/ZyFH4BaQ6OZTaaRWIR4TjHVz0yadHgli6lLTiAh1uarnvD49A=="],
|
|
101
|
-
|
|
102
|
-
"@oven/bun-darwin-x64": ["@oven/bun-darwin-x64@1.3.14", "", { "os": "darwin", "cpu": "x64" }, "sha512-FFj3QdU/OhlDyZOJ8CWfN5eWLpRlT4qjZg7lMQi7jA6GuoY5ajlO1zWLP/MuHYRSbXQUvV52RejNi8DVnAp13w=="],
|
|
103
|
-
|
|
104
|
-
"@oven/bun-darwin-x64-baseline": ["@oven/bun-darwin-x64-baseline@1.3.14", "", { "os": "darwin", "cpu": "x64" }, "sha512-OSfsTZstc898HHElhU4NccaBGOSSDn5VfahiVTnidZ9B/+wb7WTyfZJaBeJcfjwJ9H2W9uTh2TGtl3UfcXgV9g=="],
|
|
102
|
+
"@modelcontextprotocol/sdk": ["@modelcontextprotocol/sdk@1.26.0", "", { "dependencies": { "@hono/node-server": "^1.19.9", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1" }, "optionalPeers": ["@cfworker/json-schema"] }, "sha512-Y5RmPncpiDtTXDbLKswIJzTqu2hyBKxTNsgKqKclDbhIgg1wgtf1fRuvxgTnRfcnxtvvgbIEcqUOzZrJ6iSReg=="],
|
|
105
103
|
|
|
106
|
-
"@oven/bun-
|
|
104
|
+
"@oven/bun-darwin-aarch64": ["@oven/bun-darwin-aarch64@1.4.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-GCpf8QuFLsyioVawP5HrMxA1ZRBlu6Hq9RNnSc3UTUWAzIxBso9trjoZczw1HdgpqSssFkszfIV2zmOzFTjhkw=="],
|
|
107
105
|
|
|
108
|
-
"@oven/bun-
|
|
106
|
+
"@oven/bun-darwin-x64": ["@oven/bun-darwin-x64@1.4.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-cIrhwOr0SPEraewznhC+c/k6TG8bwFn5uZ4EJuXwjiKJLcAF36q7/bGjWkeXSe48JwMcPRUR054JXF7+cRwSSA=="],
|
|
109
107
|
|
|
110
|
-
"@oven/bun-
|
|
108
|
+
"@oven/bun-freebsd-aarch64": ["@oven/bun-freebsd-aarch64@1.4.0", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-09x7wnjMR6M5KGBDBhVl2CpfoCIQOkVDbPX2KfIhpXv4N6grbWE7dfLPw/Ydi9gaUMGhU7UKhoz444Nu6RCycA=="],
|
|
111
109
|
|
|
112
|
-
"@oven/bun-
|
|
110
|
+
"@oven/bun-freebsd-x64": ["@oven/bun-freebsd-x64@1.4.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-dRwzti/qJqV1HWplU27iUWUqp+f2DtFSf2yqQKSb+HH2dDOC//Uqd9u/A5h1DMsLszfP5OGP9UwQIKxVwFODaA=="],
|
|
113
111
|
|
|
114
|
-
"@oven/bun-linux-aarch64
|
|
112
|
+
"@oven/bun-linux-aarch64": ["@oven/bun-linux-aarch64@1.4.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-Y5yAtCbHK6JjprXEtkdklDQFPADgs+CkfcliyY5g4JJ8baGHyQSrfpSkX3XVJ2C+aBLsdwNDdW+oczMsAwx6uA=="],
|
|
115
113
|
|
|
116
|
-
"@oven/bun-linux-
|
|
114
|
+
"@oven/bun-linux-aarch64-android": ["@oven/bun-linux-aarch64-android@1.4.0", "", { "os": "android", "cpu": "arm64" }, "sha512-HpPIxJfDNPBPhiBNMyZoo/dOLijARfsx5j72vNuLtaTvl0Hh7HUculxjsOQ2WSyGoCgqXMEr1Qqjab1im9u1RA=="],
|
|
117
115
|
|
|
118
|
-
"@oven/bun-linux-
|
|
116
|
+
"@oven/bun-linux-aarch64-musl": ["@oven/bun-linux-aarch64-musl@1.4.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-RUjAAkJ/CdNV++zVxyANWshPc73CECYsfhk0fWAkoJjtywxJ2BwXzI6nopBBDMfs0HS+fhRGn6zGwU8ccxLeJg=="],
|
|
119
117
|
|
|
120
|
-
"@oven/bun-linux-x64
|
|
118
|
+
"@oven/bun-linux-x64": ["@oven/bun-linux-x64@1.4.0", "", { "os": "linux", "cpu": "x64" }, "sha512-Du44zebtPXJujvMLmtIxEQ6ykOhYt7L/Q+YIGVm+Yy+Pj/fpOnq60ggwIpKp/pGAFbYHNiTrA3JTjuZ9MTbZIg=="],
|
|
121
119
|
|
|
122
|
-
"@oven/bun-linux-x64-
|
|
120
|
+
"@oven/bun-linux-x64-android": ["@oven/bun-linux-x64-android@1.4.0", "", { "os": "android", "cpu": "x64" }, "sha512-u++KyLlfMn36yWz+AgJs+fZtS46UFDNpSSZhrcitkytONtNwq0X6Q9BDVEFXxYl/+Eec0xme1rb6MgW+U35WeA=="],
|
|
123
121
|
|
|
124
|
-
"@oven/bun-linux-x64-musl
|
|
122
|
+
"@oven/bun-linux-x64-musl": ["@oven/bun-linux-x64-musl@1.4.0", "", { "os": "linux", "cpu": "x64" }, "sha512-C1Dv+ISL8YKEKM9jAHzNifOcRUoziy6UMxh+yVXjUCP6QnbRhENDHLaIWWkQZJyBLTn0I3xozflorAlHiGzGqA=="],
|
|
125
123
|
|
|
126
|
-
"@oven/bun-windows-aarch64": ["@oven/bun-windows-aarch64@1.
|
|
124
|
+
"@oven/bun-windows-aarch64": ["@oven/bun-windows-aarch64@1.4.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-FBAYaQpJBP0asgqzL6NFUfjdQqsV+kvTpJ/eWxPKj+RcDgIfPSuE8kvQuPYu5pa8u8JTujYMjmuyvHxVuQsInA=="],
|
|
127
125
|
|
|
128
|
-
"@oven/bun-windows-x64": ["@oven/bun-windows-x64@1.
|
|
129
|
-
|
|
130
|
-
"@oven/bun-windows-x64-baseline": ["@oven/bun-windows-x64-baseline@1.3.14", "", { "os": "win32", "cpu": "x64" }, "sha512-uIjLUC1S9DWgICzuoMba7vurBJnBruE4S5CxnvmZkdqWVXRzx1Rgu636HoH+k0qeaQCFh3jeG3JQ1y6fRHv0sw=="],
|
|
126
|
+
"@oven/bun-windows-x64": ["@oven/bun-windows-x64@1.4.0", "", { "os": "win32", "cpu": "x64" }, "sha512-jRKv1NPLznMSZY5BEWciMF7zv0Tiyo2pQSxAJ3w+YWJ6y3VWNJQQQdLlV5Jx8lbOFDrJdrc9dD3GV17k3BP41A=="],
|
|
131
127
|
|
|
132
128
|
"@stricli/core": ["@stricli/core@1.3.0", "", {}, "sha512-LnBe2HntygaLDU5trtjiC3J4C/YkmIZuM0XB52IF4qaLqJH09kgD1fnZiS2gaYUnt0nAN2a+1b4PSOBcfPrN4Q=="],
|
|
133
129
|
|
|
134
130
|
"@types/body-parser": ["@types/body-parser@1.19.6", "", { "dependencies": { "@types/connect": "*", "@types/node": "*" } }, "sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g=="],
|
|
135
131
|
|
|
136
|
-
"@types/bun": ["@types/bun@1.
|
|
132
|
+
"@types/bun": ["@types/bun@1.4.0", "", { "dependencies": { "bun-types": "1.4.0" } }, "sha512-K+lZULY23vRgK/CfTjFIV+tyifaNdSMlPh9j+6mQ/cLfpOznLyAuzgV/JQysyECpkBQLVMSyvjlr2fBUSA9wFQ=="],
|
|
137
133
|
|
|
138
134
|
"@types/connect": ["@types/connect@3.4.38", "", { "dependencies": { "@types/node": "*" } }, "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug=="],
|
|
139
135
|
|
|
@@ -161,25 +157,25 @@
|
|
|
161
157
|
|
|
162
158
|
"@types/wrap-ansi": ["@types/wrap-ansi@3.0.0", "", {}, "sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g=="],
|
|
163
159
|
|
|
164
|
-
"@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.
|
|
160
|
+
"@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.68.0", "", { "dependencies": { "@eslint-community/regexpp": "^4.12.2", "@typescript-eslint/scope-manager": "8.68.0", "@typescript-eslint/type-utils": "8.68.0", "@typescript-eslint/utils": "8.68.0", "@typescript-eslint/visitor-keys": "8.68.0", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "@typescript-eslint/parser": "^8.68.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-WASHDpCm6qO5jj9g1a+8NiW5+GCkAyLReR56/4VruYmNgfUmqpxOfZ2Yfb8xGfJPWv5Qi6LSD8sXdces3vbp/Q=="],
|
|
165
161
|
|
|
166
|
-
"@typescript-eslint/parser": ["@typescript-eslint/parser@8.
|
|
162
|
+
"@typescript-eslint/parser": ["@typescript-eslint/parser@8.68.0", "", { "dependencies": { "@typescript-eslint/scope-manager": "8.68.0", "@typescript-eslint/types": "8.68.0", "@typescript-eslint/typescript-estree": "8.68.0", "@typescript-eslint/visitor-keys": "8.68.0", "debug": "^4.4.3" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-fHq2VC1kpyYfvEcbiMjOpySY4WS7voEp89yAThrHRX5sm9j2lzYppCb2umFMEed4fWcyeLjHxrz0mpjNBaBxMQ=="],
|
|
167
163
|
|
|
168
|
-
"@typescript-eslint/project-service": ["@typescript-eslint/project-service@8.
|
|
164
|
+
"@typescript-eslint/project-service": ["@typescript-eslint/project-service@8.68.0", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.68.0", "@typescript-eslint/types": "^8.68.0", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-5GQtWZCXFcFYux955pvoS02WLc49pXNlvIxocKjS0clvwo3in1RdlzVKyiqQH9vE5AKWFLTaUgeQkOrTS+0Qxw=="],
|
|
169
165
|
|
|
170
|
-
"@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.
|
|
166
|
+
"@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.68.0", "", { "dependencies": { "@typescript-eslint/types": "8.68.0", "@typescript-eslint/visitor-keys": "8.68.0" } }, "sha512-T5eXpcaJNg8bhjHJ8Rjp68Vq/QBteYtTKY8TZqVNPaUbuz0f6jI9t6aDkylwvalpAB9XTTFeFOjrjXAZ3YvmVA=="],
|
|
171
167
|
|
|
172
|
-
"@typescript-eslint/tsconfig-utils": ["@typescript-eslint/tsconfig-utils@8.
|
|
168
|
+
"@typescript-eslint/tsconfig-utils": ["@typescript-eslint/tsconfig-utils@8.68.0", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-F7zrGQfiJHojPwi8vhxZQC1tWtJzvL74cK/nqri2lk8YUXvYaYwl263xOJ69jDWPUk1hmcdoayFwk9lX09npVw=="],
|
|
173
169
|
|
|
174
|
-
"@typescript-eslint/type-utils": ["@typescript-eslint/type-utils@8.
|
|
170
|
+
"@typescript-eslint/type-utils": ["@typescript-eslint/type-utils@8.68.0", "", { "dependencies": { "@typescript-eslint/types": "8.68.0", "@typescript-eslint/typescript-estree": "8.68.0", "@typescript-eslint/utils": "8.68.0", "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-X77zqoY1EjeWGs/0JNxeaMfp5C5lIz4Tw8y66F1Ne8Faq6g424sBNYM6xBAqElfGZPLpWS+CZAp0DXyKDzWiHg=="],
|
|
175
171
|
|
|
176
|
-
"@typescript-eslint/types": ["@typescript-eslint/types@8.
|
|
172
|
+
"@typescript-eslint/types": ["@typescript-eslint/types@8.68.0", "", {}, "sha512-9RnpsGJjrAllCMefGVVsImJM24YurhC0Q1h4UbvivtvOqXmR/vEJge2OoE++z9m6hyg8T1Q8t5SNT6tHSbrxcg=="],
|
|
177
173
|
|
|
178
|
-
"@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.
|
|
174
|
+
"@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.68.0", "", { "dependencies": { "@typescript-eslint/project-service": "8.68.0", "@typescript-eslint/tsconfig-utils": "8.68.0", "@typescript-eslint/types": "8.68.0", "@typescript-eslint/visitor-keys": "8.68.0", "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-OKKsD0tYmoNiU5PW2zehO1yO56jYOm1ShYlxon/Z0SJNidAkdVg86eg9ruRuoXf8xfnuWZGbwDsStkoXbZtIIA=="],
|
|
179
175
|
|
|
180
|
-
"@typescript-eslint/utils": ["@typescript-eslint/utils@8.
|
|
176
|
+
"@typescript-eslint/utils": ["@typescript-eslint/utils@8.68.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", "@typescript-eslint/scope-manager": "8.68.0", "@typescript-eslint/types": "8.68.0", "@typescript-eslint/typescript-estree": "8.68.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-PB5gJMMOg0Q5P1tsgWtEAqQacJXq0qEqRHDX/YJ4FaTMLfZPpHB3gjl2EJuiZyPABxmj4ZQYiY9m1bdAJ5y7tQ=="],
|
|
181
177
|
|
|
182
|
-
"@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.
|
|
178
|
+
"@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.68.0", "", { "dependencies": { "@typescript-eslint/types": "8.68.0", "eslint-visitor-keys": "^5.0.0" } }, "sha512-YR65gGdGvTUAWLldC3xLOvOzamdGzB4A5/N8rehEaHs3Zvoe39BhgY+u0SPch1OvrVTfLcc55wsSgK2NcnTS/A=="],
|
|
183
179
|
|
|
184
180
|
"accepts": ["accepts@2.0.0", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="],
|
|
185
181
|
|
|
@@ -189,7 +185,7 @@
|
|
|
189
185
|
|
|
190
186
|
"ajv": ["ajv@6.15.0", "", { "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" } }, "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw=="],
|
|
191
187
|
|
|
192
|
-
"ajv-formats": ["ajv-formats@3.0.1", "", { "dependencies": { "ajv": "^8.0.0" }
|
|
188
|
+
"ajv-formats": ["ajv-formats@3.0.1", "", { "dependencies": { "ajv": "^8.0.0" } }, "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ=="],
|
|
193
189
|
|
|
194
190
|
"ansi-escapes": ["ansi-escapes@4.3.2", "", { "dependencies": { "type-fest": "^0.21.3" } }, "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ=="],
|
|
195
191
|
|
|
@@ -205,9 +201,9 @@
|
|
|
205
201
|
|
|
206
202
|
"brace-expansion": ["brace-expansion@1.1.18", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw=="],
|
|
207
203
|
|
|
208
|
-
"bun": ["bun@1.
|
|
204
|
+
"bun": ["bun@1.4.0", "", { "optionalDependencies": { "@oven/bun-darwin-aarch64": "1.4.0", "@oven/bun-darwin-x64": "1.4.0", "@oven/bun-freebsd-aarch64": "1.4.0", "@oven/bun-freebsd-x64": "1.4.0", "@oven/bun-linux-aarch64": "1.4.0", "@oven/bun-linux-aarch64-android": "1.4.0", "@oven/bun-linux-aarch64-musl": "1.4.0", "@oven/bun-linux-x64": "1.4.0", "@oven/bun-linux-x64-android": "1.4.0", "@oven/bun-linux-x64-musl": "1.4.0", "@oven/bun-windows-aarch64": "1.4.0", "@oven/bun-windows-x64": "1.4.0" }, "os": [ "!aix", "!sunos", "!openbsd", ], "cpu": [ "x64", "arm64", ], "bin": { "bun": "bin/bun.exe", "bunx": "bin/bunx.exe" } }, "sha512-iRiFkc2W7UVpCyZXO9tod45TP9QCyN19fWqbpeN/jaM/K7uzeHYx/OSPsahMJazGKBgPsnxRt+4Jc43d8BcHZw=="],
|
|
209
205
|
|
|
210
|
-
"bun-types": ["bun-types@1.
|
|
206
|
+
"bun-types": ["bun-types@1.4.0", "", { "dependencies": { "@types/node": "*" } }, "sha512-iIKw23BspnQQYd3prITOBxeUsxBHnwzX6YJfGMuNOZzeNcMmVqzIIVGRm1l69ogaPQmb4wB6BN8mA5bE9YuC5Q=="],
|
|
211
207
|
|
|
212
208
|
"bytes": ["bytes@3.1.2", "", {}, "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg=="],
|
|
213
209
|
|
|
@@ -301,9 +297,9 @@
|
|
|
301
297
|
|
|
302
298
|
"fast-levenshtein": ["fast-levenshtein@2.0.6", "", {}, "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw=="],
|
|
303
299
|
|
|
304
|
-
"fast-uri": ["fast-uri@4.1.
|
|
300
|
+
"fast-uri": ["fast-uri@4.1.3", "", {}, "sha512-7+72G6vLt7jjNas8SmSATx2qeyRIjxeqO3i4IkmDTxlqYZRKANhOe1bnovcp4WZmvsYrp60WyqPyHqgRiX0yXw=="],
|
|
305
301
|
|
|
306
|
-
"fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" } }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="],
|
|
302
|
+
"fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="],
|
|
307
303
|
|
|
308
304
|
"fflate": ["fflate@0.8.3", "", {}, "sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA=="],
|
|
309
305
|
|
|
@@ -347,7 +343,7 @@
|
|
|
347
343
|
|
|
348
344
|
"hasown": ["hasown@2.0.4", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A=="],
|
|
349
345
|
|
|
350
|
-
"hono": ["hono@4.13.
|
|
346
|
+
"hono": ["hono@4.13.4", "", {}, "sha512-AGEwKIyRMHRv1t8Wjwa3LHxQ61X5CqrdFT+4BRNTpqS5aJNnpl5WLjADb7vFlJzI/8uK7T5QLVApCMQKNa3LgQ=="],
|
|
351
347
|
|
|
352
348
|
"http-errors": ["http-errors@2.0.1", "", { "dependencies": { "depd": "~2.0.0", "inherits": "~2.0.4", "setprototypeof": "~1.2.0", "statuses": "~2.0.2", "toidentifier": "~1.0.1" } }, "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ=="],
|
|
353
349
|
|
|
@@ -375,7 +371,7 @@
|
|
|
375
371
|
|
|
376
372
|
"isexe": ["isexe@2.0.0", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="],
|
|
377
373
|
|
|
378
|
-
"jose": ["jose@6.2.
|
|
374
|
+
"jose": ["jose@6.2.10", "", {}, "sha512-iiW7J9qRFlGxvCOIBDBDxFePQSn7ZMAnrYGhrrOo6siO/MIqwfyilLR27pkfDgUk+raLuzADS8A3S/KLBisc0g=="],
|
|
379
375
|
|
|
380
376
|
"js-yaml": ["js-yaml@4.3.1", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": "bin/js-yaml.js" }, "sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ=="],
|
|
381
377
|
|
|
@@ -415,7 +411,7 @@
|
|
|
415
411
|
|
|
416
412
|
"natural-compare": ["natural-compare@1.4.0", "", {}, "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="],
|
|
417
413
|
|
|
418
|
-
"negotiator": ["negotiator@1.
|
|
414
|
+
"negotiator": ["negotiator@1.1.0", "", { "dependencies": { "content-type": "^2.1.0" } }, "sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg=="],
|
|
419
415
|
|
|
420
416
|
"node-forge": ["node-forge@1.4.0", "", {}, "sha512-LarFH0+6VfriEhqMMcLX2F7SwSXeWwnEAJEsYm5QKWchiVYVvJyV9v7UDvUv+w5HO23ZpQTXDv/GxdDdMyOuoQ=="],
|
|
421
417
|
|
|
@@ -445,7 +441,7 @@
|
|
|
445
441
|
|
|
446
442
|
"path-to-regexp": ["path-to-regexp@8.4.2", "", {}, "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA=="],
|
|
447
443
|
|
|
448
|
-
"picomatch": ["picomatch@4.0.
|
|
444
|
+
"picomatch": ["picomatch@4.0.7", "", {}, "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA=="],
|
|
449
445
|
|
|
450
446
|
"pkce-challenge": ["pkce-challenge@5.0.1", "", {}, "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ=="],
|
|
451
447
|
|
|
@@ -519,7 +515,7 @@
|
|
|
519
515
|
|
|
520
516
|
"typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
|
|
521
517
|
|
|
522
|
-
"typescript-eslint": ["typescript-eslint@8.
|
|
518
|
+
"typescript-eslint": ["typescript-eslint@8.68.0", "", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.68.0", "@typescript-eslint/parser": "8.68.0", "@typescript-eslint/typescript-estree": "8.68.0", "@typescript-eslint/utils": "8.68.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-MHy0Y0ynqeEbx/S45+i/bBssdy3X6KNBfmJAP35GrgtNxu2TQ5K5xsFDhAnmsq1jvpdoZOPG1LGtJo0HWqYCrQ=="],
|
|
523
519
|
|
|
524
520
|
"undici-types": ["undici-types@5.26.5", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],
|
|
525
521
|
|
|
@@ -551,8 +547,6 @@
|
|
|
551
547
|
|
|
552
548
|
"@eslint-community/eslint-utils/eslint-visitor-keys": ["eslint-visitor-keys@3.4.3", "", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="],
|
|
553
549
|
|
|
554
|
-
"@eslint/eslintrc/ajv": ["ajv@6.15.0", "", { "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" } }, "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw=="],
|
|
555
|
-
|
|
556
550
|
"@eslint/eslintrc/globals": ["globals@14.0.0", "", {}, "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ=="],
|
|
557
551
|
|
|
558
552
|
"@eslint/eslintrc/ignore": ["ignore@5.3.2", "", {}, "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g=="],
|
|
@@ -573,9 +567,9 @@
|
|
|
573
567
|
|
|
574
568
|
"external-editor/iconv-lite": ["iconv-lite@0.4.24", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3" } }, "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA=="],
|
|
575
569
|
|
|
576
|
-
"
|
|
570
|
+
"negotiator/content-type": ["content-type@2.1.0", "", {}, "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag=="],
|
|
577
571
|
|
|
578
|
-
"
|
|
572
|
+
"type-is/content-type": ["content-type@2.1.0", "", {}, "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag=="],
|
|
579
573
|
|
|
580
574
|
"@inquirer/core/@types/node/undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="],
|
|
581
575
|
|
|
@@ -16,7 +16,9 @@ import { Result } from "../types/fp.js";
|
|
|
16
16
|
*
|
|
17
17
|
* scheduled_at is resolved from the subscription's current period end at request time. If that period end is already in the past (a backdated start date, a resumed pause, or worker downtime can all leave a subscription behind), the change is due immediately and fires on the next billing scan rather than a period away — inspect scheduled_at to see this.
|
|
18
18
|
*
|
|
19
|
-
* Only one plan change may be pending per subscription
|
|
19
|
+
* Only one plan change may be pending per subscription. By default (on_conflict_policies.on_pending_schedule = 'reject') a second request returns 400; cancel the existing schedule via POST /subscriptions/schedules/{schedule_id}/cancel first. Pending schedules are listable via GET /subscriptions/{id}/schedules.
|
|
20
|
+
*
|
|
21
|
+
* Set on_conflict_policies.on_pending_schedule to 'supersede' to replace the queued change instead: the pending schedule is cancelled and this request applied in the same transaction, so both land or neither does. The cancelled schedule ids are returned in superseded_schedules, and preview reports the same list without writing.
|
|
20
22
|
*/
|
|
21
23
|
export declare function subscriptionsExecuteSubscriptionPlanChangeV2(client$: FlexpriceCore, request: ExecuteSubscriptionPlanChangeV2Request, options?: RequestOptions): APIPromise<Result<Response, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
22
24
|
//# sourceMappingURL=subscriptionsExecuteSubscriptionPlanChangeV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionsExecuteSubscriptionPlanChangeV2.d.ts","sourceRoot":"","sources":["../../src/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EACL,sCAAsC,EAEvC,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC
|
|
1
|
+
{"version":3,"file":"subscriptionsExecuteSubscriptionPlanChangeV2.d.ts","sourceRoot":"","sources":["../../src/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAI3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EACL,sCAAsC,EAEvC,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,4CAA4C,CAC1D,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,sCAAsC,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,QAAQ,EACN,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAMA"}
|
|
@@ -18,7 +18,9 @@ import { APIPromise } from "../types/async.js";
|
|
|
18
18
|
*
|
|
19
19
|
* scheduled_at is resolved from the subscription's current period end at request time. If that period end is already in the past (a backdated start date, a resumed pause, or worker downtime can all leave a subscription behind), the change is due immediately and fires on the next billing scan rather than a period away — inspect scheduled_at to see this.
|
|
20
20
|
*
|
|
21
|
-
* Only one plan change may be pending per subscription
|
|
21
|
+
* Only one plan change may be pending per subscription. By default (on_conflict_policies.on_pending_schedule = 'reject') a second request returns 400; cancel the existing schedule via POST /subscriptions/schedules/{schedule_id}/cancel first. Pending schedules are listable via GET /subscriptions/{id}/schedules.
|
|
22
|
+
*
|
|
23
|
+
* Set on_conflict_policies.on_pending_schedule to 'supersede' to replace the queued change instead: the pending schedule is cancelled and this request applied in the same transaction, so both land or neither does. The cancelled schedule ids are returned in superseded_schedules, and preview reports the same list without writing.
|
|
22
24
|
*/
|
|
23
25
|
export function subscriptionsExecuteSubscriptionPlanChangeV2(client$, request, options) {
|
|
24
26
|
return new APIPromise($do(client$, request, options));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionsExecuteSubscriptionPlanChangeV2.js","sourceRoot":"","sources":["../../src/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAU3C,OAAO,EAEL,gDAAgD,GACjD,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD
|
|
1
|
+
{"version":3,"file":"subscriptionsExecuteSubscriptionPlanChangeV2.js","sourceRoot":"","sources":["../../src/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.ts"],"names":[],"mappings":"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"}
|
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.
|
|
39
|
-
readonly genVersion: "2.
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/mcp-typescript 2.1.
|
|
38
|
+
readonly sdkVersion: "2.1.26";
|
|
39
|
+
readonly genVersion: "2.932.9";
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/mcp-typescript 2.1.26 2.932.9 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.
|
|
35
|
-
genVersion: "2.
|
|
36
|
-
userAgent: "speakeasy-sdk/mcp-typescript 2.1.
|
|
34
|
+
sdkVersion: "2.1.26",
|
|
35
|
+
genVersion: "2.932.9",
|
|
36
|
+
userAgent: "speakeasy-sdk/mcp-typescript 2.1.26 2.932.9 1.0 @flexprice/mcp-server",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
package/esm/mcp-server/server.js
CHANGED
|
@@ -83,7 +83,7 @@ import { tool$subscriptionsUpdateSubscriptionLineItem } from "./tools/subscripti
|
|
|
83
83
|
export function createMCPServer(deps) {
|
|
84
84
|
const server = new McpServer({
|
|
85
85
|
name: "Flexprice",
|
|
86
|
-
version: "2.1.
|
|
86
|
+
version: "2.1.26",
|
|
87
87
|
});
|
|
88
88
|
const getClient = deps.getSDK || (() => new FlexpriceCore({
|
|
89
89
|
security: deps.security,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionsExecuteSubscriptionPlanChangeV2.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/subscriptionsExecuteSubscriptionPlanChangeV2.ts"],"names":[],"mappings":"AAMA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,iDAAiD,EAAE,cAAc,CAC5E,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"subscriptionsExecuteSubscriptionPlanChangeV2.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/subscriptionsExecuteSubscriptionPlanChangeV2.ts"],"names":[],"mappings":"AAMA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,iDAAiD,EAAE,cAAc,CAC5E,OAAO,IAAI,CAuCZ,CAAC"}
|
|
@@ -17,7 +17,9 @@ change_at controls timing. Omitted or 'immediate' applies the change now. 'end_o
|
|
|
17
17
|
|
|
18
18
|
scheduled_at is resolved from the subscription's current period end at request time. If that period end is already in the past (a backdated start date, a resumed pause, or worker downtime can all leave a subscription behind), the change is due immediately and fires on the next billing scan rather than a period away — inspect scheduled_at to see this.
|
|
19
19
|
|
|
20
|
-
Only one plan change may be pending per subscription
|
|
20
|
+
Only one plan change may be pending per subscription. By default (on_conflict_policies.on_pending_schedule = 'reject') a second request returns 400; cancel the existing schedule via POST /subscriptions/schedules/{schedule_id}/cancel first. Pending schedules are listable via GET /subscriptions/{id}/schedules.
|
|
21
|
+
|
|
22
|
+
Set on_conflict_policies.on_pending_schedule to 'supersede' to replace the queued change instead: the pending schedule is cancelled and this request applied in the same transaction, so both land or neither does. The cancelled schedule ids are returned in superseded_schedules, and preview reports the same list without writing.`,
|
|
21
23
|
scopes: ["write"],
|
|
22
24
|
annotations: {
|
|
23
25
|
"title": "",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionsExecuteSubscriptionPlanChangeV2.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/subscriptionsExecuteSubscriptionPlanChangeV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,4CAA4C,EAAE,MAAM,6DAA6D,CAAC;AAC3H,OAAO,EAAE,gDAAgD,EAAE,MAAM,mDAAmD,CAAC;AACrH,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,gDAAgD;CAC1D,CAAC;AAEF,MAAM,CAAC,MAAM,iDAAiD,GAE1D;IACF,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"subscriptionsExecuteSubscriptionPlanChangeV2.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/subscriptionsExecuteSubscriptionPlanChangeV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,4CAA4C,EAAE,MAAM,6DAA6D,CAAC;AAC3H,OAAO,EAAE,gDAAgD,EAAE,MAAM,mDAAmD,CAAC;AACrH,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,gDAAgD;CAC1D,CAAC;AAEF,MAAM,CAAC,MAAM,iDAAiD,GAE1D;IACF,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EAAE;;;;;;;;;;wUAUyT;IACtU,MAAM,EAAE,CAAC,OAAO,CAAC;IACjB,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,KAAK;KACtB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,4CAA4C,CACjE,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const BillingPeriodBehaviour: {
|
|
4
|
+
readonly Unchanged: "unchanged";
|
|
5
|
+
readonly AnchorAtEffect: "anchor_at_effect";
|
|
6
|
+
readonly AnchorAtConfig: "anchor_at_config";
|
|
7
|
+
};
|
|
8
|
+
export type BillingPeriodBehaviour = ClosedEnum<typeof BillingPeriodBehaviour>;
|
|
9
|
+
export declare const BillingPeriodBehaviour$zodSchema: z.ZodEnum<{
|
|
10
|
+
unchanged: "unchanged";
|
|
11
|
+
anchor_at_effect: "anchor_at_effect";
|
|
12
|
+
anchor_at_config: "anchor_at_config";
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=billingperiodbehaviour.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingperiodbehaviour.d.ts","sourceRoot":"","sources":["../../src/models/billingperiodbehaviour.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,sBAAsB;;;;CAIzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE/E,eAAO,MAAM,gCAAgC;;;;EAI3C,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
export const BillingPeriodBehaviour = {
|
|
6
|
+
Unchanged: "unchanged",
|
|
7
|
+
AnchorAtEffect: "anchor_at_effect",
|
|
8
|
+
AnchorAtConfig: "anchor_at_config",
|
|
9
|
+
};
|
|
10
|
+
export const BillingPeriodBehaviour$zodSchema = z.enum([
|
|
11
|
+
"unchanged",
|
|
12
|
+
"anchor_at_effect",
|
|
13
|
+
"anchor_at_config",
|
|
14
|
+
]);
|
|
15
|
+
//# sourceMappingURL=billingperiodbehaviour.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingperiodbehaviour.js","sourceRoot":"","sources":["../../src/models/billingperiodbehaviour.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,SAAS,EAAE,WAAW;IACtB,cAAc,EAAE,kBAAkB;IAClC,cAAc,EAAE,kBAAkB;CAC1B,CAAC;AAGX,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,IAAI,CAAC;IACrD,WAAW;IACX,kBAAkB;IAClB,kBAAkB;CACnB,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { BillingCycle } from "./billingcycle.js";
|
|
3
|
+
import { BillingPeriod } from "./billingperiod.js";
|
|
4
|
+
export type BillingPeriodConfig = {
|
|
5
|
+
billing_anchor?: string | undefined;
|
|
6
|
+
billing_cycle?: BillingCycle | undefined;
|
|
7
|
+
billing_period_count?: number | undefined;
|
|
8
|
+
billing_period_unit?: BillingPeriod | undefined;
|
|
9
|
+
};
|
|
10
|
+
export declare const BillingPeriodConfig$zodSchema: z.ZodType<BillingPeriodConfig>;
|
|
11
|
+
//# sourceMappingURL=billingperiodconfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingperiodconfig.d.ts","sourceRoot":"","sources":["../../src/models/billingperiodconfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,YAAY,EAA0B,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,aAAa,EAA2B,MAAM,oBAAoB,CAAC;AAE5E,MAAM,MAAM,mBAAmB,GAAG;IAChC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,aAAa,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACzC,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,mBAAmB,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAMrE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { BillingCycle$zodSchema } from "./billingcycle.js";
|
|
6
|
+
import { BillingPeriod$zodSchema } from "./billingperiod.js";
|
|
7
|
+
export const BillingPeriodConfig$zodSchema = z
|
|
8
|
+
.object({
|
|
9
|
+
billing_anchor: z.iso.datetime({ offset: true }).optional(),
|
|
10
|
+
billing_cycle: BillingCycle$zodSchema.optional(),
|
|
11
|
+
billing_period_count: z.int().optional(),
|
|
12
|
+
billing_period_unit: BillingPeriod$zodSchema.optional(),
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=billingperiodconfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingperiodconfig.js","sourceRoot":"","sources":["../../src/models/billingperiodconfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAgB,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAiB,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAS5E,MAAM,CAAC,MAAM,6BAA6B,GAAmC,CAAC;KAC3E,MAAM,CAAC;IACN,cAAc,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3D,aAAa,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IAChD,oBAAoB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACxC,mBAAmB,EAAE,uBAAuB,CAAC,QAAQ,EAAE;CACxD,CAAC,CAAC"}
|
|
@@ -10,7 +10,7 @@ export type CreditGrantApplicationResponse = {
|
|
|
10
10
|
created_at?: string | undefined;
|
|
11
11
|
created_by?: string | undefined;
|
|
12
12
|
credit_grant_id?: string | undefined;
|
|
13
|
-
credits?:
|
|
13
|
+
credits?: string | undefined;
|
|
14
14
|
environment_id?: string | undefined;
|
|
15
15
|
failure_reason?: string | undefined;
|
|
16
16
|
id?: string | undefined;
|
|
@@ -13,7 +13,7 @@ export const CreditGrantApplicationResponse$zodSchema = z.object({
|
|
|
13
13
|
created_at: z.iso.datetime({ offset: true }).optional(),
|
|
14
14
|
created_by: z.string().optional(),
|
|
15
15
|
credit_grant_id: z.string().optional(),
|
|
16
|
-
credits: z.
|
|
16
|
+
credits: z.string().optional(),
|
|
17
17
|
environment_id: z.string().optional(),
|
|
18
18
|
failure_reason: z.string().optional(),
|
|
19
19
|
id: z.string().optional(),
|
|
@@ -30,7 +30,7 @@ export type EntitlementResponse = {
|
|
|
30
30
|
grant_duration_unit?: EntitlementGrantDurationUnit | undefined;
|
|
31
31
|
grant_duration_value?: number | undefined;
|
|
32
32
|
grant_measure?: EntitlementGrantMeasure | undefined;
|
|
33
|
-
grant_quota?:
|
|
33
|
+
grant_quota?: string | undefined;
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
is_enabled?: boolean | undefined;
|
|
36
36
|
is_soft_limit?: boolean | undefined;
|
|
@@ -33,7 +33,7 @@ export const EntitlementResponse$zodSchema = z
|
|
|
33
33
|
grant_duration_unit: EntitlementGrantDurationUnit$zodSchema.optional(),
|
|
34
34
|
grant_duration_value: z.int().optional(),
|
|
35
35
|
grant_measure: EntitlementGrantMeasure$zodSchema.optional(),
|
|
36
|
-
grant_quota: z.
|
|
36
|
+
grant_quota: z.string().optional(),
|
|
37
37
|
id: z.string().optional(),
|
|
38
38
|
is_enabled: z.boolean().optional(),
|
|
39
39
|
is_soft_limit: z.boolean().optional(),
|
|
@@ -3,9 +3,11 @@ import { ClosedEnum } from "../types/enums.js";
|
|
|
3
3
|
export declare const EntityChangeBehaviour: {
|
|
4
4
|
readonly Carry: "carry";
|
|
5
5
|
readonly Drop: "drop";
|
|
6
|
+
readonly Add: "add";
|
|
6
7
|
};
|
|
7
8
|
export type EntityChangeBehaviour = ClosedEnum<typeof EntityChangeBehaviour>;
|
|
8
9
|
export declare const EntityChangeBehaviour$zodSchema: z.ZodEnum<{
|
|
10
|
+
add: "add";
|
|
9
11
|
carry: "carry";
|
|
10
12
|
drop: "drop";
|
|
11
13
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitychangebehaviour.d.ts","sourceRoot":"","sources":["../../src/models/entitychangebehaviour.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"entitychangebehaviour.d.ts","sourceRoot":"","sources":["../../src/models/entitychangebehaviour.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,qBAAqB;;;;CAIxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,eAAO,MAAM,+BAA+B;;;;EAI1C,CAAC"}
|
|
@@ -5,9 +5,11 @@ import * as z from "zod";
|
|
|
5
5
|
export const EntityChangeBehaviour = {
|
|
6
6
|
Carry: "carry",
|
|
7
7
|
Drop: "drop",
|
|
8
|
+
Add: "add",
|
|
8
9
|
};
|
|
9
10
|
export const EntityChangeBehaviour$zodSchema = z.enum([
|
|
10
11
|
"carry",
|
|
11
12
|
"drop",
|
|
13
|
+
"add",
|
|
12
14
|
]);
|
|
13
15
|
//# sourceMappingURL=entitychangebehaviour.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitychangebehaviour.js","sourceRoot":"","sources":["../../src/models/entitychangebehaviour.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"entitychangebehaviour.js","sourceRoot":"","sources":["../../src/models/entitychangebehaviour.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;CACF,CAAC;AAGX,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,IAAI,CAAC;IACpD,OAAO;IACP,MAAM;IACN,KAAK;CACN,CAAC,CAAC"}
|
|
@@ -7,6 +7,6 @@ export const EntityChangePolicy$zodSchema = z
|
|
|
7
7
|
.object({
|
|
8
8
|
default_behaviour: EntityChangeBehaviour$zodSchema.optional(),
|
|
9
9
|
overrides: z.record(z.string(), EntityChangeBehaviour$zodSchema).optional()
|
|
10
|
-
.describe("Overrides is keyed by addon_associations.id (instance), not catalogue addon_id."),
|
|
10
|
+
.describe("Overrides is keyed by addon_associations.id (instance), not catalogue addon_id.\nThat is the id an EntityChangeResult reports as EntityID."),
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=entitychangepolicy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitychangepolicy.js","sourceRoot":"","sources":["../../src/models/entitychangepolicy.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AAOpC,MAAM,CAAC,MAAM,4BAA4B,GAAkC,CAAC;KACzE,MAAM,CAAC;IACN,iBAAiB,EAAE,+BAA+B,CAAC,QAAQ,EAAE;IAC7D,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,+BAA+B,CAAC,CAAC,QAAQ,EAAE;SACxE,QAAQ,CACP,
|
|
1
|
+
{"version":3,"file":"entitychangepolicy.js","sourceRoot":"","sources":["../../src/models/entitychangepolicy.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AAOpC,MAAM,CAAC,MAAM,4BAA4B,GAAkC,CAAC;KACzE,MAAM,CAAC;IACN,iBAAiB,EAAE,+BAA+B,CAAC,QAAQ,EAAE;IAC7D,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,+BAA+B,CAAC,CAAC,QAAQ,EAAE;SACxE,QAAQ,CACP,4IAA4I,CAC7I;CACJ,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { EntityChangeBehaviour } from "./entitychangebehaviour.js";
|
|
3
|
-
import {
|
|
3
|
+
import { SubscriptionChangeEntityType } from "./subscriptionchangeentitytype.js";
|
|
4
4
|
export type EntityChangeResult = {
|
|
5
5
|
behaviour?: EntityChangeBehaviour | undefined;
|
|
6
6
|
entity_id?: string | undefined;
|
|
7
|
-
entity_type?:
|
|
7
|
+
entity_type?: SubscriptionChangeEntityType | undefined;
|
|
8
8
|
reference_id?: string | undefined;
|
|
9
9
|
};
|
|
10
10
|
export declare const EntityChangeResult$zodSchema: z.ZodType<EntityChangeResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitychangeresult.d.ts","sourceRoot":"","sources":["../../src/models/entitychangeresult.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"entitychangeresult.d.ts","sourceRoot":"","sources":["../../src/models/entitychangeresult.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,4BAA4B,EAE7B,MAAM,mCAAmC,CAAC;AAE3C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC9C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACvD,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAMnE,CAAC"}
|