import {
    ArrowRightLeft,
    Users,
    Download,
    ClipboardEdit,
    FileSearch,
    Building,
    ShieldAlert,
    Phone,
  } from "lucide-react"

export const ruleCategories = [
    {
      name: "Lead Management",
      description: "Control how leads can be managed across the system",
      rules: [
        {
          id: "transfer_leads",
          icon: ArrowRightLeft,
          title: "Allow users to transfer leads between teams",
          description: "Users can reassign leads to users in other teams",
          defaultEnabled: true,
        },
        {
          id: "see_all_leads",
          icon: Users,
          title: "Allow users to see org-wide leads",
          description: "Users can view leads assigned to other teams",
          defaultEnabled: false,
        },
        {
          id: "edit_closed_leads",
          icon: ClipboardEdit,
          title: "Allow editing of closed leads",
          description: "Users can modify lead details after closure",
          defaultEnabled: false,
        },
        {
          id: "auto_create_call_task",
          icon: Phone,
          title: "Auto-create call task on lead creation",
          description: "Automatically create a call task when a new lead is added",
          defaultEnabled: true,
        },
      ],
    },
    {
      name: "Customer Management",
      description: "Configure customer visibility and data access",
      rules: [
        {
          id: "see_all_customers",
          icon: Users,
          title: "Allow users to see org-wide customers",
          description: "Users can view all customers in the organization",
          defaultEnabled: false,
        },
        {
          id: "edit_customer_details",
          icon: ClipboardEdit,
          title: "Allow editing of customer financial details",
          description: "Users can modify customer payment information and history",
          defaultEnabled: false,
        },
        {
          id: "access_customer_docs",
          icon: FileSearch,
          title: "Allow access to all customer documents",
          description: "Users can view KYC and other confidential documents",
          defaultEnabled: false,
        },
      ],
    },
    {
      name: "Project Access",
      description: "Configure project data visibility and permissions",
      rules: [
        {
          id: "edit_project_details",
          icon: Building,
          title: "Allow editing of project details",
          description: "Users can modify project information and pricing",
          defaultEnabled: false,
        },
      ],
    },
    {
      name: "Property Access",
      description: "Configure property data visibility and permissions",
      rules: [
        {
          id: "edit_property_details",
          icon: Building,
          title: "Allow editing of property details",
          description: "Users can modify property information and pricing",
          defaultEnabled: false,
        },
      ],
    },
    {
      name: "Data & Security",
      description: "Configure data export and security settings",
      rules: [
        {
          id: "export_data",
          icon: Download,
          title: "Allow users to export data",
          description: "Users can download customer and lead data",
          defaultEnabled: false,
        },
        // {
        //   id: "create_new_users",
        //   icon: UserPlus,
        //   title: "Allow team leads to create new users",
        //   description: "Team leads can add users to their own teams",
        //   defaultEnabled: false,
        // },
        {
          id: "log_user_activity",
          icon: ShieldAlert,
          title: "Log all user activity",
          description: "Track user actions for audit purposes",
          defaultEnabled: true,
        },
      ],
    },
  ]
