template-saas/apps/backend/dist/modules/billing/entities/subscription.entity.d.ts
rckrdmrd 50a821a415
Some checks failed
CI / Backend CI (push) Has been cancelled
CI / Frontend CI (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / CI Summary (push) Has been cancelled
[SIMCO-V38] feat: Actualizar a SIMCO v3.8.0
- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8
- Actualizaciones de configuracion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 08:53:08 -06:00

25 lines
626 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;
tenant_id: string;
plan_id: string;
plan: Plan | null;
status: SubscriptionStatus;
current_period_start: Date;
current_period_end: Date;
trial_end: Date | null;
cancelled_at: Date | null;
external_subscription_id: string;
payment_provider: string;
metadata: Record<string, any>;
created_at: Date;
updated_at: Date;
}