Skip to main content

Interface: IUserSubscription

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

Subscription details returned by IUserService.getUserSubscription.

Properties

expirationDate?

optional expirationDate?: string

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

ISO date string when the subscription expires


isSubscribed?

optional isSubscribed?: boolean

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

Whether the user holds an active subscription


isTrialLimitReached?

optional isTrialLimitReached?: boolean

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

Whether the user has exhausted their trial eligibility


isUnderFreeTrial?

optional isUnderFreeTrial?: boolean

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

Whether the user is currently on a free trial


status?

optional status?: string

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

Subscription lifecycle status


subscriptionPeriod?

optional subscriptionPeriod?: string

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

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


tierId?

optional tierId?: string

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

Subscription tier identifier