export type InquiryStatus = "new" | "in_progress" | "done";

export type ContactInquiry = {
  id: string;
  createdAt: string;
  status: InquiryStatus;
  name: string;
  email: string;
  phone?: string;
  subject?: string;
  message: string;
};

export type RepairInquiry = {
  id: string;
  createdAt: string;
  status: InquiryStatus;
  name: string;
  email: string;
  phone?: string;
  manufacturer: string;
  model: string;
  serialNumber?: string;
  deviceType: string;
  accessories?: string;
  opened?: string;
  previousWork?: string;
  description: string;
};

export type SiteSettings = {
  companyName: string;
  phone: string;
  email: string;
  address: string;
  openingHours: string;
  googleMapsEmbedUrl: string;
  socialLinks: string;
};

export type SmtpSettings = {
  host: string;
  port: string;
  username: string;
  password?: string;
  security: "starttls" | "tls" | "none";
  fromAddress: string;
  replyToAddress: string;
  recipientAddress: string;
  bccAddress?: string;
  lastTestAt?: string;
  lastTestStatus?: "success" | "error";
  lastDeliveryAt?: string;
  lastDeliveryStatus?: "success" | "error";
  lastError?: string;
};
