import { Conversation } from "@/types"

export const conversations: Conversation[] = [
  {
    id: "1",
    participants: [
      { id: "user1", name: "Sarah Chen", avatar: "SC", role: "Admin" },
      { id: "user2", name: "Mike Johnson", avatar: "MJ", role: "Sales" },
    ],
    lastMessage: "Sure, I'll send over the proposal by EOD",
    lastMessageTime: "2m ago",
    unread: 2,
    messages: [
      { id: "m1", conversationId: "1", senderId: "user2", senderName: "Mike Johnson", senderAvatar: "MJ", content: "Hey Sarah, have you reviewed the Brightwave leads?", timestamp: "10:32 AM" },
      { id: "m2", conversationId: "1", senderId: "user1", senderName: "Sarah Chen", senderAvatar: "SC", content: "Yes, I went through them this morning. Looks promising!", timestamp: "10:33 AM" },
      { id: "m3", conversationId: "1", senderId: "user2", senderName: "Mike Johnson", senderAvatar: "MJ", content: "Great! Should I prepare a proposal for the top 3?", timestamp: "10:34 AM" },
      { id: "m4", conversationId: "1", senderId: "user1", senderName: "Sarah Chen", senderAvatar: "SC", content: "Absolutely. Focus on Brightwave and Nexus Digital first.", timestamp: "10:35 AM" },
      { id: "m5", conversationId: "1", senderId: "user2", senderName: "Mike Johnson", senderAvatar: "MJ", content: "Sure, I'll send over the proposal by EOD", timestamp: "10:36 AM" },
    ],
  },
  {
    id: "2",
    participants: [
      { id: "user1", name: "Sarah Chen", avatar: "SC", role: "Admin" },
      { id: "user3", name: "Emily Davis", avatar: "ED", role: "Sales" },
    ],
    lastMessage: "Can you review the contract terms?",
    lastMessageTime: "1h ago",
    unread: 0,
    messages: [
      { id: "m6", conversationId: "2", senderId: "user3", senderName: "Emily Davis", senderAvatar: "ED", content: "Hi Sarah, I'm finalizing the deal with Pinnacle Web Solutions.", timestamp: "9:15 AM" },
      { id: "m7", conversationId: "2", senderId: "user1", senderName: "Sarah Chen", senderAvatar: "SC", content: "That's great news! What's the status?", timestamp: "9:16 AM" },
      { id: "m8", conversationId: "2", senderId: "user3", senderName: "Emily Davis", senderAvatar: "ED", content: "They're ready to sign, just need approval on the discount.", timestamp: "9:17 AM" },
      { id: "m9", conversationId: "2", senderId: "user1", senderName: "Sarah Chen", senderAvatar: "SC", content: "Can you review the contract terms?", timestamp: "9:18 AM" },
    ],
  },
  {
    id: "3",
    participants: [
      { id: "user1", name: "Sarah Chen", avatar: "SC", role: "Admin" },
      { id: "user4", name: "Alex Turner", avatar: "AT", role: "Sales" },
    ],
    lastMessage: "Updated the lead status for Vertex Media",
    lastMessageTime: "3h ago",
    unread: 1,
    messages: [
      { id: "m10", conversationId: "3", senderId: "user4", senderName: "Alex Turner", senderAvatar: "AT", content: "Just a heads up, Vertex Media called back.", timestamp: "7:45 AM" },
      { id: "m11", conversationId: "3", senderId: "user1", senderName: "Sarah Chen", senderAvatar: "SC", content: "Oh nice! What did they say?", timestamp: "7:46 AM" },
      { id: "m12", conversationId: "3", senderId: "user4", senderName: "Alex Turner", senderAvatar: "AT", content: "They're interested in the enterprise plan. Set up a meeting for next week.", timestamp: "7:48 AM" },
      { id: "m13", conversationId: "3", senderId: "user4", senderName: "Alex Turner", senderAvatar: "AT", content: "Updated the lead status for Vertex Media", timestamp: "7:50 AM" },
    ],
  },
  {
    id: "4",
    participants: [
      { id: "user1", name: "Sarah Chen", avatar: "SC", role: "Admin" },
      { id: "user5", name: "Lisa Wong", avatar: "LW", role: "Sales" },
    ],
    lastMessage: "Thanks for the update!",
    lastMessageTime: "Yesterday",
    unread: 0,
    messages: [
      { id: "m14", conversationId: "4", senderId: "user5", senderName: "Lisa Wong", senderAvatar: "LW", content: "Sarah, I just closed the deal with Crafted Web Agency!", timestamp: "4:20 PM" },
      { id: "m15", conversationId: "4", senderId: "user1", senderName: "Sarah Chen", senderAvatar: "SC", content: "Congratulations Lisa! That's fantastic!", timestamp: "4:21 PM" },
      { id: "m16", conversationId: "4", senderId: "user5", senderName: "Lisa Wong", senderAvatar: "LW", content: "Thanks! Contract is signed and onboarding starts Monday.", timestamp: "4:22 PM" },
      { id: "m17", conversationId: "4", senderId: "user1", senderName: "Sarah Chen", senderAvatar: "SC", content: "Thanks for the update!", timestamp: "4:23 PM" },
    ],
  },
  {
    id: "5",
    participants: [
      { id: "user1", name: "Sarah Chen", avatar: "SC", role: "Admin" },
      { id: "user6", name: "James Wilson", avatar: "JW", role: "Sales" },
    ],
    lastMessage: "Can you assign me the new leads?",
    lastMessageTime: "Yesterday",
    unread: 0,
    messages: [
      { id: "m18", conversationId: "5", senderId: "user6", senderName: "James Wilson", senderAvatar: "JW", content: "I've got capacity for more leads this quarter.", timestamp: "2:00 PM" },
      { id: "m19", conversationId: "5", senderId: "user1", senderName: "Sarah Chen", senderAvatar: "SC", content: "Good to know James. I'll assign you some from the new batch.", timestamp: "2:01 PM" },
      { id: "m20", conversationId: "5", senderId: "user6", senderName: "James Wilson", senderAvatar: "JW", content: "Can you assign me the new leads?", timestamp: "2:02 PM" },
    ],
  },
]
