Skip to content

CustomerEntitlements

Defined in: src/schema.ts:275

entitlements(customer): resolved set + usage for every feature.

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