Skip to main content

Interface: IUserSubscription

Defined in: src/types/services.ts:199

Subscription details returned by IUserService.getUserSubscription.

Properties​

expirationDate?​

optional expirationDate?: string

Defined in: src/types/services.ts:211

ISO date string when the subscription expires


isSubscribed?​

optional isSubscribed?: boolean

Defined in: src/types/services.ts:201

Whether the user holds an active subscription


isTrialLimitReached?​

optional isTrialLimitReached?: boolean

Defined in: src/types/services.ts:213

Whether the user has exhausted their trial eligibility


isUnderFreeTrial?​

optional isUnderFreeTrial?: boolean

Defined in: src/types/services.ts:209

Whether the user is currently on a free trial


status?​

optional status?: string

Defined in: src/types/services.ts:205

Subscription lifecycle status


subscriptionPeriod?​

optional subscriptionPeriod?: string

Defined in: src/types/services.ts:207

Billing period (e.g. "monthly", "yearly")


tierId?​

optional tierId?: string

Defined in: src/types/services.ts:203

Subscription tier identifier