feat: launch Stripe billing flows with lifecycle hardening and analytics
add Stripe checkout, portal, webhook ingestion, and idempotent event persistence add billing lifecycle state (grace/sync/timeline/admin visibility) and stronger entitlement handling add analytics event tracking and admin summary APIs plus account/pricing UI integration
This commit is contained in:
@@ -24,7 +24,15 @@ export type EntitlementDecisionStatus =
|
||||
| 'blocked_addon_available'
|
||||
| 'contact_sales_required';
|
||||
|
||||
export type EntitlementDenialReason = 'feature_not_available' | 'quota_exhausted' | 'custom_enterprise_only' | 'not_launch_ready' | 'billing_not_configured';
|
||||
export type EntitlementDenialReason =
|
||||
| 'feature_not_available'
|
||||
| 'quota_exhausted'
|
||||
| 'custom_enterprise_only'
|
||||
| 'not_launch_ready'
|
||||
| 'billing_not_configured'
|
||||
| 'billing_past_due'
|
||||
| 'billing_canceled'
|
||||
| 'billing_inactive';
|
||||
|
||||
export interface UsageSubject {
|
||||
type: UsageSubjectType;
|
||||
|
||||
Reference in New Issue
Block a user