@kelviq/cli 0.1.3 → 0.2.0
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/README.md +8 -1
- package/dist/config-format/index.d.ts +2 -2
- package/dist/config-format/index.js +1 -1
- package/dist/config-format/index.js.map +1 -1
- package/dist/config-format/schema.d.ts +146 -1
- package/dist/config-format/schema.js +27 -0
- package/dist/config-format/schema.js.map +1 -1
- package/dist/generated/openapi.json +4920 -1007
- package/dist/sync/diff.d.ts +5 -1
- package/dist/sync/diff.js +13 -0
- package/dist/sync/diff.js.map +1 -1
- package/dist/sync/to-config.js +7 -2
- package/dist/sync/to-config.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -103,7 +103,14 @@ UUIDs), but that resolution is sync's job, not something you write by hand.
|
|
|
103
103
|
The plan lifecycle (draft → publish) is deliberately absent from this
|
|
104
104
|
format: it describes desired state, not deployment state.
|
|
105
105
|
|
|
106
|
-
|
|
106
|
+
A plan can also carry `license: { enabled, activationLimit,
|
|
107
|
+
activationLimitEnabled, hasExpiry, durationValue, durationUnit }` — the
|
|
108
|
+
plan-level license-key issuance settings (the dashboard's "License keys"
|
|
109
|
+
section). `pull` captures it, `push`/`promote` diff and send it as one
|
|
110
|
+
object, and a plan that omits it leaves the remote settings untouched.
|
|
111
|
+
|
|
112
|
+
Fields like `taxCode`, `type`, `priceType`, `taxBehavior`, `reset`, and
|
|
113
|
+
`durationUnit` are
|
|
107
114
|
open enums: known values (like the ones above) get editor autocomplete, but
|
|
108
115
|
the API may accept additional values — some require enabling from the
|
|
109
116
|
Kelviq dashboard first. The CLI passes any value it doesn't recognize
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { product, feature, plan } from './builders.js';
|
|
2
2
|
export type { Branded, Kind } from './builders.js';
|
|
3
|
-
export { featureDefSchema, entitlementDefSchema, priceDefSchema, planDefSchema, productDefSchema, kelviqConfigSchema, taxCodeSchema, featureTypeSchema, resetSchema, taxBehaviorSchema, priceTypeSchema, identifierSchema, } from './schema.js';
|
|
4
|
-
export type { FeatureDef, EntitlementDef, PriceDef, PlanDef, ProductDef, KelviqConfig, TaxCode, FeatureType, Reset, TaxBehavior, PriceType, } from './schema.js';
|
|
3
|
+
export { featureDefSchema, entitlementDefSchema, priceDefSchema, licenseDefSchema, planDefSchema, productDefSchema, kelviqConfigSchema, taxCodeSchema, featureTypeSchema, resetSchema, taxBehaviorSchema, priceTypeSchema, durationUnitSchema, identifierSchema, } from './schema.js';
|
|
4
|
+
export type { FeatureDef, EntitlementDef, PriceDef, LicenseDef, PlanDef, ProductDef, KelviqConfig, TaxCode, FeatureType, Reset, TaxBehavior, PriceType, DurationUnit, } from './schema.js';
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
// re-exported here — it's a CLI-internal concern (used by `pull`/`push`,
|
|
6
6
|
// plans 005/006), not part of what a user's config file imports.
|
|
7
7
|
export { product, feature, plan } from './builders.js';
|
|
8
|
-
export { featureDefSchema, entitlementDefSchema, priceDefSchema, planDefSchema, productDefSchema, kelviqConfigSchema, taxCodeSchema, featureTypeSchema, resetSchema, taxBehaviorSchema, priceTypeSchema, identifierSchema, } from './schema.js';
|
|
8
|
+
export { featureDefSchema, entitlementDefSchema, priceDefSchema, licenseDefSchema, planDefSchema, productDefSchema, kelviqConfigSchema, taxCodeSchema, featureTypeSchema, resetSchema, taxBehaviorSchema, priceTypeSchema, durationUnitSchema, identifierSchema, } from './schema.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config-format/index.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,6EAA6E;AAC7E,uEAAuE;AACvE,oEAAoE;AACpE,yEAAyE;AACzE,iEAAiE;AACjE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAGvD,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,gBAAgB,GACjB,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config-format/index.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,6EAA6E;AAC7E,uEAAuE;AACvE,oEAAoE;AACpE,yEAAyE;AACzE,iEAAiE;AACjE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAGvD,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,aAAa,CAAC"}
|
|
@@ -21,6 +21,10 @@ export declare const KNOWN_PRICE_TYPES: readonly ["FREE", "PAID", "CUSTOM"];
|
|
|
21
21
|
export type KnownPriceType = (typeof KNOWN_PRICE_TYPES)[number];
|
|
22
22
|
export type PriceType = KnownPriceType | (string & {});
|
|
23
23
|
export declare const priceTypeSchema: z.ZodUnion<[z.ZodEnum<["FREE", "PAID", "CUSTOM"]>, z.ZodString]>;
|
|
24
|
+
export declare const KNOWN_DURATION_UNITS: readonly ["DAY", "MONTH", "YEAR"];
|
|
25
|
+
export type KnownDurationUnit = (typeof KNOWN_DURATION_UNITS)[number];
|
|
26
|
+
export type DurationUnit = KnownDurationUnit | (string & {});
|
|
27
|
+
export declare const durationUnitSchema: z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>;
|
|
24
28
|
export declare const featureDefSchema: z.ZodObject<{
|
|
25
29
|
identifier: z.ZodString;
|
|
26
30
|
name: z.ZodString;
|
|
@@ -146,12 +150,82 @@ export type PriceDef = Omit<z.infer<typeof priceDefShape>, 'priceType' | 'taxBeh
|
|
|
146
150
|
taxBehavior?: TaxBehavior;
|
|
147
151
|
[key: string]: unknown;
|
|
148
152
|
};
|
|
153
|
+
declare const licenseDefShape: z.ZodObject<{
|
|
154
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
155
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
156
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
157
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
158
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
159
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
160
|
+
}, "strip", z.ZodTypeAny, {
|
|
161
|
+
enabled?: boolean | undefined;
|
|
162
|
+
activationLimit?: number | undefined;
|
|
163
|
+
activationLimitEnabled?: boolean | undefined;
|
|
164
|
+
durationUnit?: string | undefined;
|
|
165
|
+
durationValue?: number | undefined;
|
|
166
|
+
hasExpiry?: boolean | undefined;
|
|
167
|
+
}, {
|
|
168
|
+
enabled?: boolean | undefined;
|
|
169
|
+
activationLimit?: number | undefined;
|
|
170
|
+
activationLimitEnabled?: boolean | undefined;
|
|
171
|
+
durationUnit?: string | undefined;
|
|
172
|
+
durationValue?: number | undefined;
|
|
173
|
+
hasExpiry?: boolean | undefined;
|
|
174
|
+
}>;
|
|
175
|
+
export declare const licenseDefSchema: z.ZodObject<{
|
|
176
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
177
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
178
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
179
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
180
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
181
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
182
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
183
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
184
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
185
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
186
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
187
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
188
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
189
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
190
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
191
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
192
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
193
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
194
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
195
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
196
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
197
|
+
export type LicenseDef = Omit<z.infer<typeof licenseDefShape>, 'durationUnit'> & {
|
|
198
|
+
durationUnit?: DurationUnit;
|
|
199
|
+
[key: string]: unknown;
|
|
200
|
+
};
|
|
149
201
|
export declare const planDefSchema: z.ZodObject<{
|
|
150
202
|
identifier: z.ZodString;
|
|
151
203
|
name: z.ZodString;
|
|
152
204
|
product: z.ZodString;
|
|
153
205
|
description: z.ZodOptional<z.ZodString>;
|
|
154
206
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
207
|
+
license: z.ZodOptional<z.ZodObject<{
|
|
208
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
209
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
210
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
211
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
212
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
213
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
214
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
215
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
216
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
217
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
218
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
219
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
222
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
223
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
224
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
225
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
226
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
227
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
228
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
155
229
|
entitlements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
156
230
|
feature: z.ZodString;
|
|
157
231
|
value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -204,6 +278,14 @@ export declare const planDefSchema: z.ZodObject<{
|
|
|
204
278
|
description?: string | undefined;
|
|
205
279
|
metadata?: Record<string, unknown> | undefined;
|
|
206
280
|
isVisible?: boolean | undefined;
|
|
281
|
+
license?: z.objectOutputType<{
|
|
282
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
283
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
284
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
285
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
286
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
287
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
207
289
|
entitlements?: z.objectOutputType<{
|
|
208
290
|
feature: z.ZodString;
|
|
209
291
|
value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -227,6 +309,14 @@ export declare const planDefSchema: z.ZodObject<{
|
|
|
227
309
|
description?: string | undefined;
|
|
228
310
|
metadata?: Record<string, unknown> | undefined;
|
|
229
311
|
isVisible?: boolean | undefined;
|
|
312
|
+
license?: z.objectInputType<{
|
|
313
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
314
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
315
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
316
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
317
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
318
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
319
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
230
320
|
entitlements?: z.objectInputType<{
|
|
231
321
|
feature: z.ZodString;
|
|
232
322
|
value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -244,7 +334,8 @@ export declare const planDefSchema: z.ZodObject<{
|
|
|
244
334
|
chargeCatalogPrice: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
245
335
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
246
336
|
}>;
|
|
247
|
-
export type PlanDef = Omit<z.infer<typeof planDefSchema>, 'entitlements' | 'prices'> & {
|
|
337
|
+
export type PlanDef = Omit<z.infer<typeof planDefSchema>, 'entitlements' | 'prices' | 'license'> & {
|
|
338
|
+
license?: LicenseDef;
|
|
248
339
|
entitlements?: EntitlementDef[];
|
|
249
340
|
prices?: PriceDef[];
|
|
250
341
|
};
|
|
@@ -315,6 +406,28 @@ export declare const kelviqConfigSchema: z.ZodObject<{
|
|
|
315
406
|
product: z.ZodString;
|
|
316
407
|
description: z.ZodOptional<z.ZodString>;
|
|
317
408
|
isVisible: z.ZodOptional<z.ZodBoolean>;
|
|
409
|
+
license: z.ZodOptional<z.ZodObject<{
|
|
410
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
411
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
412
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
413
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
414
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
415
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
416
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
417
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
418
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
419
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
420
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
421
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
422
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
423
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
424
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
425
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
426
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
427
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
428
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
429
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
430
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
318
431
|
entitlements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
319
432
|
feature: z.ZodString;
|
|
320
433
|
value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -367,6 +480,14 @@ export declare const kelviqConfigSchema: z.ZodObject<{
|
|
|
367
480
|
description?: string | undefined;
|
|
368
481
|
metadata?: Record<string, unknown> | undefined;
|
|
369
482
|
isVisible?: boolean | undefined;
|
|
483
|
+
license?: z.objectOutputType<{
|
|
484
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
485
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
486
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
487
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
488
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
489
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
490
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
370
491
|
entitlements?: z.objectOutputType<{
|
|
371
492
|
feature: z.ZodString;
|
|
372
493
|
value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -390,6 +511,14 @@ export declare const kelviqConfigSchema: z.ZodObject<{
|
|
|
390
511
|
description?: string | undefined;
|
|
391
512
|
metadata?: Record<string, unknown> | undefined;
|
|
392
513
|
isVisible?: boolean | undefined;
|
|
514
|
+
license?: z.objectInputType<{
|
|
515
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
516
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
517
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
518
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
519
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
520
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
521
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
393
522
|
entitlements?: z.objectInputType<{
|
|
394
523
|
feature: z.ZodString;
|
|
395
524
|
value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -430,6 +559,14 @@ export declare const kelviqConfigSchema: z.ZodObject<{
|
|
|
430
559
|
description?: string | undefined;
|
|
431
560
|
metadata?: Record<string, unknown> | undefined;
|
|
432
561
|
isVisible?: boolean | undefined;
|
|
562
|
+
license?: z.objectOutputType<{
|
|
563
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
564
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
565
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
566
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
567
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
568
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
569
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
433
570
|
entitlements?: z.objectOutputType<{
|
|
434
571
|
feature: z.ZodString;
|
|
435
572
|
value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -470,6 +607,14 @@ export declare const kelviqConfigSchema: z.ZodObject<{
|
|
|
470
607
|
description?: string | undefined;
|
|
471
608
|
metadata?: Record<string, unknown> | undefined;
|
|
472
609
|
isVisible?: boolean | undefined;
|
|
610
|
+
license?: z.objectInputType<{
|
|
611
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
612
|
+
activationLimit: z.ZodOptional<z.ZodNumber>;
|
|
613
|
+
activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
614
|
+
durationUnit: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["DAY", "MONTH", "YEAR"]>, z.ZodString]>>;
|
|
615
|
+
durationValue: z.ZodOptional<z.ZodNumber>;
|
|
616
|
+
hasExpiry: z.ZodOptional<z.ZodBoolean>;
|
|
617
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
473
618
|
entitlements?: z.objectInputType<{
|
|
474
619
|
feature: z.ZodString;
|
|
475
620
|
value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
|
|
@@ -83,6 +83,13 @@ export const taxBehaviorSchema = z.union([z.enum(KNOWN_TAX_BEHAVIORS), z.string(
|
|
|
83
83
|
// (also PlanPriceCreateRequest.priceType — agrees; see drift-guard)
|
|
84
84
|
export const KNOWN_PRICE_TYPES = ['FREE', 'PAID', 'CUSTOM'];
|
|
85
85
|
export const priceTypeSchema = z.union([z.enum(KNOWN_PRICE_TYPES), z.string()]);
|
|
86
|
+
// Sourced from src/generated/openapi.json:
|
|
87
|
+
// components.schemas.LicenseConfig.properties.durationUnit.enum
|
|
88
|
+
// (LicenseConfig is $ref'd by both PlanCreateRequest.license and
|
|
89
|
+
// PlanUpdateRequest.license — see the drift-guard in
|
|
90
|
+
// test/sync-price-filter.test.ts)
|
|
91
|
+
export const KNOWN_DURATION_UNITS = ['DAY', 'MONTH', 'YEAR'];
|
|
92
|
+
export const durationUnitSchema = z.union([z.enum(KNOWN_DURATION_UNITS), z.string()]);
|
|
86
93
|
export const featureDefSchema = z.object({
|
|
87
94
|
identifier: identifierSchema,
|
|
88
95
|
name: z.string().min(1),
|
|
@@ -138,12 +145,32 @@ const priceDefShape = z.object({
|
|
|
138
145
|
chargeCatalogPrice: z.array(z.record(z.unknown())).optional(),
|
|
139
146
|
});
|
|
140
147
|
export const priceDefSchema = priceDefShape.passthrough();
|
|
148
|
+
// Plan-level license-key configuration — the spec's `LicenseConfig`, the
|
|
149
|
+
// shape both `PlanCreateRequest.license` and `PlanUpdateRequest.license`
|
|
150
|
+
// take. It describes how keys are ISSUED for orders on this plan (activation
|
|
151
|
+
// limit, expiry); individual issued keys are per-customer runtime state and
|
|
152
|
+
// deliberately out of scope for a catalog format. Same shape-then-passthrough
|
|
153
|
+
// split as entitlementDefShape above (and for the same reasons): the six
|
|
154
|
+
// documented fields are typed, and anything the server adds later passes
|
|
155
|
+
// through rather than hard-failing `pull` the way a closed shape would.
|
|
156
|
+
const licenseDefShape = z.object({
|
|
157
|
+
enabled: z.boolean().optional(),
|
|
158
|
+
// `minimum: 1` per the spec's LicenseConfig — matches the dashboard's own
|
|
159
|
+
// 1..N activation-limit control.
|
|
160
|
+
activationLimit: z.number().int().min(1).optional(),
|
|
161
|
+
activationLimitEnabled: z.boolean().optional(),
|
|
162
|
+
durationUnit: durationUnitSchema.optional(),
|
|
163
|
+
durationValue: z.number().int().min(1).optional(),
|
|
164
|
+
hasExpiry: z.boolean().optional(),
|
|
165
|
+
});
|
|
166
|
+
export const licenseDefSchema = licenseDefShape.passthrough();
|
|
141
167
|
export const planDefSchema = z.object({
|
|
142
168
|
identifier: identifierSchema,
|
|
143
169
|
name: z.string().min(1),
|
|
144
170
|
product: identifierSchema,
|
|
145
171
|
description: z.string().optional(),
|
|
146
172
|
isVisible: z.boolean().optional(),
|
|
173
|
+
license: licenseDefSchema.optional(),
|
|
147
174
|
entitlements: z.array(entitlementDefSchema).optional(),
|
|
148
175
|
prices: z.array(priceDefSchema).optional(),
|
|
149
176
|
metadata: z.record(z.unknown()).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/config-format/schema.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,EAAE;AACF,0EAA0E;AAC1E,0EAA0E;AAC1E,wEAAwE;AACxE,4EAA4E;AAC5E,0EAA0E;AAC1E,gDAAgD;AAChD,EAAE;AACF,4EAA4E;AAC5E,wDAAwD;AACxD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,gFAAgF;AAChF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC;KAC9B,MAAM,EAAE;KACR,KAAK,CAAC,uBAAuB,EAAE,qFAAqF,CAAC,CAAC;AAEzH,8EAA8E;AAC9E,EAAE;AACF,4EAA4E;AAC5E,kEAAkE;AAClE,uEAAuE;AACvE,2EAA2E;AAC3E,4EAA4E;AAC5E,gDAAgD;AAChD,2EAA2E;AAC3E,0EAA0E;AAC1E,2EAA2E;AAC3E,sBAAsB;AACtB,EAAE;AACF,yEAAyE;AACzE,0EAA0E;AAC1E,oEAAoE;AACpE,yEAAyE;AACzE,sEAAsE;AACtE,mEAAmE;AACnE,4EAA4E;AAC5E,wEAAwE;AACxE,0EAA0E;AAC1E,yCAAyC;AAEzC,2CAA2C;AAC3C,oEAAoE;AACpE,6EAA6E;AAC7E,4EAA4E;AAC5E,8EAA8E;AAC9E,4EAA4E;AAC5E,WAAW;AACX,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,MAAM;IACN,eAAe;IACf,UAAU;IACV,cAAc;IACd,oBAAoB;IACpB,OAAO;IACP,gBAAgB;IAChB,WAAW;IACX,UAAU;IACV,UAAU;CACF,CAAC;AAGX,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,C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