Interface: IUserSubscription
Defined in: src/types/services.ts:152
Subscription details returned by IUserService.getUserSubscription.
Properties
expirationDate?
optionalexpirationDate?:string
Defined in: src/types/services.ts:164
ISO date string when the subscription expires
isSubscribed?
optionalisSubscribed?:boolean
Defined in: src/types/services.ts:154
Whether the user holds an active subscription
isTrialLimitReached?
optionalisTrialLimitReached?:boolean
Defined in: src/types/services.ts:166
Whether the user has exhausted their trial eligibility
isUnderFreeTrial?
optionalisUnderFreeTrial?:boolean
Defined in: src/types/services.ts:162
Whether the user is currently on a free trial
status?
optionalstatus?:string
Defined in: src/types/services.ts:158
Subscription lifecycle status
subscriptionPeriod?
optionalsubscriptionPeriod?:string
Defined in: src/types/services.ts:160
Billing period (e.g. "monthly", "yearly")
tierId?
optionaltierId?:string
Defined in: src/types/services.ts:156
Subscription tier identifier