- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8 - Actualizaciones de configuracion Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
25 lines
626 B
TypeScript
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;
|
|
}
|