Skip to content

EntitlementSet

Defined in: src/schema.ts:193

A customer’s resolved entitlements (ADR 0003: cached per customer).

Property Type Description Defined in
addons object[] - src/schema.ts:196
customer string - src/schema.ts:194
features Record<string, ResolvedFeature> - src/schema.ts:197
inactive object[] Subscriptions that are not entitled right now (inactive, expired trial, conflicts). src/schema.ts:199
plans ActivePlan[] - src/schema.ts:195
resolvedAt string - src/schema.ts:202
validUntil string | null ISO time at which this resolution may change (trial end, expiry, period end). src/schema.ts:201