/** Communication module visual tokens — indigo/violet messaging palette. */
export const communicationTokens = {
  accent: "var(--communication-accent)",
  accentSoft: "var(--communication-accent-soft)",
  success: "var(--communication-success)",
  warning: "var(--communication-warning)",
  danger: "var(--communication-danger)",
} as const;

export const messageStatusLabels: Record<string, string> = {
  queued: "در صف",
  sent: "ارسال‌شده",
  delivered: "تحویل‌شده",
  failed: "ناموفق",
  cancelled: "لغو‌شده",
  expired: "منقضی",
  draft: "پیش‌نویس",
  pending: "در انتظار",
  approved: "تأیید‌شده",
  rejected: "رد‌شده",
  active: "فعال",
  inactive: "غیرفعال",
  degraded: "تضعیف‌شده",
};

export const messageStatusTone: Record<
  string,
  "default" | "primary" | "success" | "warning" | "danger" | "info"
> = {
  queued: "info",
  sent: "primary",
  delivered: "success",
  failed: "danger",
  cancelled: "warning",
  expired: "default",
  draft: "default",
  pending: "info",
  approved: "success",
  rejected: "danger",
  active: "success",
  inactive: "default",
  degraded: "warning",
};
