Spaces:
Running
Running
File size: 782 Bytes
d714fad | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | import { Agent } from './agent.entity';
export declare enum TenantRole {
SUPER_ADMIN = "super_admin",
ADMIN = "admin"
}
export declare enum SubscriptionStatus {
TRIALING = "trialing",
ACTIVE = "active",
PAST_DUE = "past_due",
CANCELED = "canceled",
NONE = "none"
}
export declare class Tenant {
id: string;
email: string;
password_hash: string;
name: string;
is_active: boolean;
role: TenantRole;
stripe_customer_id: string;
stripe_subscription_id: string;
subscription_status: SubscriptionStatus;
plan_id: string;
trial_ends_at: Date;
subscription_ends_at: Date;
company: string;
phone: string;
settings: Record<string, any>;
created_at: Date;
updated_at: Date;
agents: Agent[];
}
|