export interface AuthInterface {
  _id?: string;
  __v?: number;
  company_name?: string;
  current_address?: any;
  country_code?: string;
  created_at?: number;
  data_scraping_noti?: boolean;
  email?: string;
  first_name?: string;
  full_name?: string;
  is_email_enable?: boolean;
  is_email_verified?: boolean;
  is_otp_verified?: boolean;
  is_phn_no_verified?: boolean;
  job_listed_noti?: boolean;
  last_name?: string;
  new_notes_noti?: boolean;
  phone_no?: string;
  phone?: string;
  profile_pic?: string | null;
  social_type?: string;
  status_change_noti?: boolean;
  subscription_reminder_noti?: boolean;
  team_member_noti?: boolean;
  timezone?: string | null;
  total_credits?: any;
  type?: string;
  name?: string;
  image?: string;
  unique_string?: string;
  updated_at?: number | null;
  access_token?: string;
  current_plan?: any,
  unread_notification_count?: number,
  total_purchased_credits?: number,
  data?: any;
  restaurant_id?: any;
  socket_id?: string;
  scope?: any;
  referral?: any;
  anniversary_date?: any;
  dob?: any;
  gender?: any; 
  appConfiguration?: AppConfiguration[];
  loyalty_wallet: any;
}


// Define the AppConfiguration interface
interface AppConfiguration {
  _id?: string;
  product_name?: string;
  support?: {
    email?: string;
    call?: string;
    skype?: string;
  };
  social_links?: {
    facebook_url?: string;
    instagram_url?: string;
    youtube_url?: string;
  };
  base_fee?: number;
  distance_per_km?: number;
  commission_percentage_for_driver?: number;
  commission_percentage_for_restaurant?: number;
  order_taking_range?: number;
  show_restaurant_range?: number;
  app_commission?: number;
  tax?: {
    tax_keyword?: string;
    tax_percentage?: string;
  };
  service_area?: {
    lat?: number;
    lng?: number;
    location_name?: string;
    admin_service_range?: number;
    is_all_world?: boolean;
  };
  driver_charges?: {
    cloth_charge?: number;
    bag_charge?: number;
  };
  referral?: {
    number_of_persons?: number;
    number_of_orders?: number;
    amount?: number;
    is_active?: boolean;
  };
  cities?: string[];
  loyalty_minimun_order?: number;
  paymentGateway?: string;
  commission_for_restaurant_by?: string;
  customer_edit_profile?: {
    dob?: boolean;
    anniversary_date?: boolean;
    gender?: boolean;
  };
  amount_per_loyalty?: number;
  wallet?: boolean;
  loyalty?: boolean;
  isFreeDeliveryAvailable?: boolean;
  freeDeliveryMinOrderAmount?: number;
  sales_commission_percentage?: number;
}

export interface ContactDetails {
  contact_person: string | null;
  country_code: string | null;
  email: any;
  like_status: "pending" | "dislike" | "like";
  phone_number: any;
  user_id: string;
  verified_status: "pending" | "verified";
  _id: string;
  is_contact_edited: boolean;
  company_name: string;

}