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>
27 lines
644 B
TypeScript
27 lines
644 B
TypeScript
import { Plan } from './plan.entity';
|
|
export declare enum SubscriptionStatus {
|
|
TRIAL = "trial",
|
|
ACTIVE = "active",
|
|
PAST_DUE = "past_due",
|
|
CANCELLED = "cancelled",
|
|
EXPIRED = "expired"
|
|
}
|
|
export declare class Subscription {
|
|
id: string;
|
|
tenantId: string;
|
|
planId: string;
|
|
billingCycle: string;
|
|
currentPeriodStart: Date;
|
|
currentPeriodEnd: Date;
|
|
status: SubscriptionStatus;
|
|
cancelAtPeriodEnd: boolean;
|
|
cancelledAt: Date;
|
|
paymentMethod: string;
|
|
stripeSubscriptionId: string;
|
|
stripeCustomerId: string;
|
|
trialEndsAt: Date;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
plan: Plan;
|
|
}
|