michangarrito/apps/backend/dist/modules/auth/entities/tenant.entity.d.ts
rckrdmrd 48dea7a5d0 feat: Initial commit - michangarrito
Marketplace móvil para negocios locales mexicanos.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React Web)
- apps/mobile (Expo/React Native)
- apps/mcp-server (Claude MCP Server)
- apps/whatsapp-service (WhatsApp Business API)
- database/ (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:02 -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[];
}