first commit
Some checks failed
Build / run (push) Has been cancelled

This commit is contained in:
maher
2025-10-29 11:42:25 +01:00
commit 703f50a09d
4595 changed files with 385164 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
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;
}