export const BILLING_QUEUE = "billing";

export const BILLING_JOBS = {
  GENERATE_MONTHLY: "generate-monthly-invoices",
  MARK_OVERDUE: "mark-overdue-invoices",
} as const;

export type BillingJobName = (typeof BILLING_JOBS)[keyof typeof BILLING_JOBS];

// Día 1 de cada mes a las 03:00 UTC.
export const MONTHLY_INVOICE_CRON = "0 3 1 * *";

// Todos los días a las 04:00 UTC para marcar overdue.
export const MARK_OVERDUE_CRON = "0 4 * * *";
