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