michangarrito/apps/backend/dist/modules/auth/entities/tenant.entity.d.ts
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

41 lines
953 B
TypeScript

import { User } from './user.entity';
export declare enum SubscriptionStatus {
TRIAL = "trial",
ACTIVE = "active",
SUSPENDED = "suspended",
CANCELLED = "cancelled"
}
export declare enum TenantStatus {
ACTIVE = "active",
INACTIVE = "inactive",
SUSPENDED = "suspended"
}
export declare class Tenant {
id: string;
name: string;
slug: string;
businessType: string;
phone: string;
email: string;
address: string;
city: string;
state: string;
zipCode: string;
timezone: string;
currency: string;
taxRate: number;
taxIncluded: boolean;
whatsappNumber: string;
whatsappVerified: boolean;
usesPlatformNumber: boolean;
preferredLlmProvider: string;
preferredPaymentProvider: string;
currentPlanId: string;
subscriptionStatus: string;
status: string;
onboardingCompleted: boolean;
createdAt: Date;
updatedAt: Date;
users: User[];
}