michangarrito/apps/backend/dist/modules/subscriptions/entities/subscription.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

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;
}