import type { NavKey } from "@/lib/i18n";

export type NavItem = {
  labelKey: NavKey;
  href: string;
};

export const superAdminNav: NavItem[] = [
  { labelKey: "dashboard", href: "/super-admin" },
  { labelKey: "tenants", href: "/super-admin/tenants" },
  { labelKey: "channels", href: "/super-admin/channels" },
  { labelKey: "billing", href: "/super-admin/billing/plans" },
  { labelKey: "reports", href: "/super-admin/reports" },
  { labelKey: "audit_log", href: "/super-admin/audit-log" },
  { labelKey: "settings", href: "/super-admin/settings" }
];

export const adminNav: NavItem[] = [
  { labelKey: "dashboard", href: "/dashboard" },
  { labelKey: "shared_inbox", href: "/inbox" },
  { labelKey: "contacts", href: "/contacts" },
  { labelKey: "broadcast", href: "/campaigns" },
  { labelKey: "templates", href: "/templates" },
  { labelKey: "team", href: "/team" },
  { labelKey: "reports", href: "/reports" },
  { labelKey: "settings", href: "/settings" },
  { labelKey: "billing", href: "/billing" },
  { labelKey: "audit_log", href: "/audit-log" }
];

export const agentNav: NavItem[] = [
  { labelKey: "dashboard", href: "/agent" },
  { labelKey: "inbox", href: "/agent/inbox" },
  { labelKey: "contacts", href: "/agent/contacts" },
  { labelKey: "quick_tools", href: "/agent/quick-tools" },
  { labelKey: "performance", href: "/agent/performance" }
];

export const kpiCards = [
  { label: "Open conversations", value: "128", delta: "+12%" },
  { label: "Waiting reply", value: "42", delta: "-5%" },
  { label: "Resolved today", value: "86", delta: "+18%" },
  { label: "Delivery success", value: "97.8%", delta: "+0.4%" }
];

export const inboxItems = [
  {
    id: "conv-001",
    name: "Nadia Pratama",
    snippet: "Halo, saya mau tanya soal paket enterprise...",
    time: "09:12",
    status: "Open",
    assignee: "Farhan"
  },
  {
    id: "conv-002",
    name: "Rizky Saputra",
    snippet: "Sudah saya transfer, mohon dicek ya.",
    time: "08:47",
    status: "Pending",
    assignee: "Unassigned"
  },
  {
    id: "conv-003",
    name: "PT Sinar Abadi",
    snippet: "Bisa kirim template promosi minggu ini?",
    time: "Kemarin",
    status: "Resolved",
    assignee: "Tiara"
  }
];
