export interface ApiResponse<T> {
  success: boolean;
  data: T;
  message: string;
}
export interface Country {
  id: number;
  title: string;
}

export interface Service {
  id: number;
  title: string;
}

export interface Branch {
  id: number;
  title: string;
  address: string;
  phone_number: string;
  whatsapp_number: string;
  email: string;
  url_map?: string;
}

export interface SocialName {
  name: "snapchat" | "facebook" | "instagram" | "tiktok" | "X" | "linkedIn";
  link: string;
}

export interface MetaData {
  title_en: string | null;
  description_en: string | null;
  title_ar: string | null;
  description_ar: string | null;
  services_title_en: string | null;
  services_description_en: string | null;
}

export interface Settings {
  snapchat_link: string;
  facebook_link: string;
  instagram_link: string;
  tiktok_link: string;
  youtube_link: string;
  X_link: string;
  linkedIn_link: string;
  logo: string;
  light_logo: string;
  fav_icon: string;
  meta: MetaData;
}

export interface Review {
  author: string;
  rating: number; // usually 1–5
  body: string;
}
