export interface User {
  id: string
  email: string
  name: string
  avatar?: string
  role: string
}

export interface Customer {
  id: string
  name: string
  email: string
  company: string
  status: 'active' | 'inactive' | 'lead'
  revenue: number
  lastContact: string
}

export interface Lead {
  id: string
  name: string
  email: string
  company: string
  source: string
  score: number
  status: 'new' | 'contacted' | 'qualified' | 'lost'
  createdAt: string
}

export interface PipelineStage {
  id: string
  name: string
  order: number
  deals: number
  value: number
}

export interface Deal {
  id: string
  name: string
  company: string
  value: number
  stage: string
  probability: number
  expectedClose: string
  owner: string
}

export interface Product {
  id: string
  name: string
  sku: string
  price: number
  recurring: boolean
  active: boolean
}

export interface MRRData {
  month: string
  mrr: number
  arr: number
}

export interface BalanceSheet {
  assets: number
  liabilities: number
  equity: number
  date: string
}

export interface IncomeStatement {
  revenue: number
  expenses: number
  netIncome: number
  period: string
}

export interface MOMSReport {
  period: string
  outputVat: number
  inputVat: number
  payable: number
}

export interface Account {
  id: string
  name: string
  number: string
  type: string
  balance: number
}

export interface Invoice {
  id: string
  number: string
  customer: string
  amount: number
  status: 'draft' | 'sent' | 'paid' | 'overdue'
  dueDate: string
}

export interface Cashflow {
  period: string
  inflow: number
  outflow: number
  net: number
}

export interface Employee {
  id: string
  name: string
  email: string
  department: string
  role: string
  status: 'active' | 'on_leave' | 'terminated'
  startDate: string
}

export interface Leave {
  id: string
  employeeId: string
  employeeName: string
  type: 'vacation' | 'sick' | 'parental' | 'other'
  startDate: string
  endDate: string
  status: 'pending' | 'approved' | 'rejected'
  days: number
}

export interface Contract {
  id: string
  title: string
  counterparty: string
  type: string
  status: 'draft' | 'review' | 'signed' | 'expired'
  startDate: string
  endDate?: string
  value?: number
}

export interface KPIData {
  label: string
  value: string
  change: number
  changeLabel: string
  icon: string
}

export interface ActivityItem {
  id: string
  type: 'deal' | 'customer' | 'invoice' | 'contract' | 'employee'
  title: string
  description: string
  time: string
  user?: string
}
