@kelviq/cli 0.1.1 → 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.
@@ -14,12 +14,37 @@ import { z } from 'zod';
14
14
  export const identifierSchema = z
15
15
  .string()
16
16
  .regex(/^[a-z0-9][a-z0-9-_]*$/, 'must be a lowercase, URL-safe slug starting with a letter or digit (e.g. "my-plan")');
17
+ // --- Open-enum pattern (CLI plan 019) --------------------------------------
18
+ //
19
+ // Every enum below is API-owned: the server, not this CLI, is the validator
20
+ // of record. Two things make a hardcoded closed enum unsafe here:
21
+ // 1. This list can go stale vs the deployed OpenAPI spec between CLI
22
+ // releases (the drift-guard in test/sync-price-filter.test.ts catches
23
+ // that at `npm run snapshot` time, but a shipped CLI still has to work
24
+ // against a spec that has since moved on).
25
+ // 2. Some values are org-flag-gated server-side (e.g. `EVERY_28_DAYS` on
26
+ // `reset` was "only available when enabled from backend" per the API
27
+ // maintainer) — even a perfectly fresh KNOWN list can't be exhaustive
28
+ // for every org.
29
+ //
30
+ // So each `KNOWN_*` tuple below is autocomplete freshness, not a runtime
31
+ // gate: the zod schema validates known values and passes any other string
32
+ // through verbatim (never transformed/normalized), and the exported
33
+ // TypeScript type is `KnownX | (string & {})` rather than a plain closed
34
+ // union. `(string & {})` (not plain `string`) is required to keep the
35
+ // known-value literals showing up in editor autocomplete — a plain
36
+ // `KnownX | string` union collapses to `string` in TS's displayed/suggested
37
+ // type, silently losing the autocomplete this format is for. The server
38
+ // remains the authority: an unknown value that isn't actually enabled for
39
+ // the org still gets rejected on `push`.
17
40
  // Sourced from src/generated/openapi.json:
18
41
  // components.schemas.ProductCreateRequest.properties.taxCode.enum
42
+ // (also components.schemas.Product.taxCode, ProductUpdateRequest.taxCode —
43
+ // all three agree; see the drift-guard in test/sync-price-filter.test.ts)
19
44
  // Hardcoded (not read at runtime) per CLI plan 004 Step 1 — re-verify against
20
45
  // a fresh `npm run snapshot` if the API starts rejecting a previously-valid
21
46
  // taxCode.
22
- export const taxCodeSchema = z.enum([
47
+ export const KNOWN_TAX_CODES = [
23
48
  'saas',
24
49
  'saas_business',
25
50
  'software',
@@ -30,11 +55,41 @@ export const taxCodeSchema = z.enum([
30
55
  'videogame',
31
56
  'eservice',
32
57
  'training',
33
- ]);
34
- export const featureTypeSchema = z.enum(['BOOLEAN', 'CUSTOMIZABLE', 'METER']);
35
- export const resetSchema = z.enum(['NEVER', 'EVERY_DAY', 'EVERY_MONTH', 'EVERY_QUARTER', 'EVERY_YEAR']);
36
- export const taxBehaviorSchema = z.enum(['INCLUSIVE', 'EXCLUSIVE', 'UNSPECIFIED']);
37
- export const priceTypeSchema = z.enum(['FREE', 'PAID', 'CUSTOM']);
58
+ ];
59
+ export const taxCodeSchema = z.union([z.enum(KNOWN_TAX_CODES), z.string()]);
60
+ // Sourced from src/generated/openapi.json:
61
+ // components.schemas.CatalogFeature.properties.featureType.enum
62
+ // (also FeatureCreateRequest.featureType — agrees; see drift-guard)
63
+ export const KNOWN_FEATURE_TYPES = ['BOOLEAN', 'CUSTOMIZABLE', 'METER'];
64
+ export const featureTypeSchema = z.union([z.enum(KNOWN_FEATURE_TYPES), z.string()]);
65
+ // Sourced from src/generated/openapi.json:
66
+ // components.schemas.PlanChargeCatalogPrice.properties.reset.enum
67
+ // components.schemas.PlanEntitlementDetails.properties.reset.enum
68
+ // (`reset` appears in TWO schemas — the drift-guard asserts both agree
69
+ // with each other AND with this list; a spec-internal divergence between
70
+ // the two sites is itself drift worth failing on)
71
+ // EVERY_28_DAYS added 2026-07-24 (CLI plan 019) — it was already live in the
72
+ // spec (org-flag-gated) but missing from this list, which hard-failed pull
73
+ // for any org with the flag enabled. See CLI plan 019 for the bug report.
74
+ export const KNOWN_RESETS = ['NEVER', 'EVERY_DAY', 'EVERY_28_DAYS', 'EVERY_MONTH', 'EVERY_QUARTER', 'EVERY_YEAR'];
75
+ export const resetSchema = z.union([z.enum(KNOWN_RESETS), z.string()]);
76
+ // Sourced from src/generated/openapi.json:
77
+ // components.schemas.PlanPrice.properties.taxBehavior.enum
78
+ // (also PlanPriceCreateRequest.taxBehavior — agrees; see drift-guard)
79
+ export const KNOWN_TAX_BEHAVIORS = ['INCLUSIVE', 'EXCLUSIVE', 'UNSPECIFIED'];
80
+ export const taxBehaviorSchema = z.union([z.enum(KNOWN_TAX_BEHAVIORS), z.string()]);
81
+ // Sourced from src/generated/openapi.json:
82
+ // components.schemas.PlanPrice.properties.priceType.enum
83
+ // (also PlanPriceCreateRequest.priceType — agrees; see drift-guard)
84
+ export const KNOWN_PRICE_TYPES = ['FREE', 'PAID', 'CUSTOM'];
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()]);
38
93
  export const featureDefSchema = z.object({
39
94
  identifier: identifierSchema,
40
95
  name: z.string().min(1),
@@ -46,9 +101,17 @@ export const featureDefSchema = z.object({
46
101
  });
47
102
  // Entitlement shape varies by featureType and the API accepts extra keys —
48
103
  // `.passthrough()` so callers can pass forward whatever the API needs
49
- // without this format having to track every field.
50
- export const entitlementDefSchema = z
51
- .object({
104
+ // without this format having to track every field. The shape is built as
105
+ // its own (non-passthrough) schema first, and `entitlementDefSchema` adds
106
+ // `.passthrough()` on top of it — `EntitlementDef` below derives from the
107
+ // shape, not from `entitlementDefSchema` itself: zod's `.passthrough()`
108
+ // output type is an intersection with a `{ [k: string]: unknown }`
109
+ // catchall, and TS's `keyof` of an intersected/indexed type collapses to
110
+ // `string`, which makes `Omit<...>` erase every named field down to
111
+ // `unknown` instead of just removing `reset` — a TS structural quirk
112
+ // unrelated to zod's own behavior (verified against this file's zod
113
+ // version). Omitting from the pre-passthrough shape's inferred type sidesteps it.
114
+ const entitlementDefShape = z.object({
52
115
  feature: identifierSchema,
53
116
  value: z.union([z.boolean(), z.number()]).optional(),
54
117
  hasUnlimitedUsage: z.boolean().optional(),
@@ -59,14 +122,15 @@ export const entitlementDefSchema = z
59
122
  // responses that return `hardLimit: false`/`true`.
60
123
  hardLimit: z.boolean().optional(),
61
124
  usageAlerts: z.record(z.unknown()).optional(),
62
- })
63
- .passthrough();
125
+ });
126
+ export const entitlementDefSchema = entitlementDefShape.passthrough();
64
127
  // Prices nest deeply and vary per charge type (chargeCatalogPrice). This is
65
128
  // deliberately loose: validate the envelope, pass the depths through
66
129
  // untouched. Do NOT enumerate charge shapes here — see CLI plan 004 STOP
67
- // conditions.
68
- export const priceDefSchema = z
69
- .object({
130
+ // conditions. Same shape-then-passthrough split as entitlementDefShape above
131
+ // (and for the same reason: Omit-over-a-passthrough-output-type erases
132
+ // every named field, not just the ones being replaced).
133
+ const priceDefShape = z.object({
70
134
  priceType: priceTypeSchema,
71
135
  currency: z.string().optional(),
72
136
  // Documented as boolean/int respectively in the API's own request
@@ -79,14 +143,34 @@ export const priceDefSchema = z
79
143
  trialPeriod: z.number().optional(),
80
144
  taxBehavior: taxBehaviorSchema.optional(),
81
145
  chargeCatalogPrice: z.array(z.record(z.unknown())).optional(),
82
- })
83
- .passthrough();
146
+ });
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();
84
167
  export const planDefSchema = z.object({
85
168
  identifier: identifierSchema,
86
169
  name: z.string().min(1),
87
170
  product: identifierSchema,
88
171
  description: z.string().optional(),
89
172
  isVisible: z.boolean().optional(),
173
+ license: licenseDefSchema.optional(),
90
174
  entitlements: z.array(entitlementDefSchema).optional(),
91
175
  prices: z.array(priceDefSchema).optional(),
92
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,2CAA2C;AAC3C,oEAAoE;AACpE,8EAA8E;AAC9E,4EAA4E;AAC5E,WAAW;AACX,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC;IAClC,MAAM;IACN,eAAe;IACf,UAAU;IACV,cAAc;IACd,oBAAoB;IACpB,OAAO;IACP,gBAAgB;IAChB,WAAW;IACX,UAAU;IACV,UAAU;CACX,CAAC,CAAC;AAGH,MAAM,CA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