Spaces:
Running
Running
| 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[]; | |
| } | |