JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "subscription.ts"

Full Path: /home/markqprx/iniasli.pro/client/billing/subscription.ts
File size: 577 bytes
MIME-type: text/plain
Charset: utf-8

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;
  valid?: 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;
}