Files
mtdb_movie/common/resources/client/billing/subscription.ts
maher 703f50a09d
Some checks failed
Build / run (push) Has been cancelled
first commit
2025-10-29 11:42:25 +01:00

29 lines
625 B
TypeScript
Executable File

import {User} from '../auth/user';
import {Price} from './price';
import {Product} from './product';
export interface Subscription {
id: number;
price_id: number;
product_id: number;
user_id: number;
on_grace_period?: boolean;
gateway_name: 'stripe' | 'paypal' | 'none';
gateway_id: string;
gateway_status: string;
valid?: boolean;
past_due?: boolean;
active?: boolean;
cancelled?: boolean;
on_trial?: boolean;
price?: Price;
product?: Product;
trial_ends_at: string;
ends_at: string;
updated_at: string;
created_at: string;
description: string;
renews_at: string;
user?: User;
}