export type TGeneralSettingValues = {
  page_title: string
  email: string
  phone: string
  meta_title: string
  meta_description: string
  meta_keyword: string
  facebook: string
  twitter: string
  linkedin: string
  favicon: File | null | string
  logo: File | null | string
  address: string
  license: string
}

export type TPackageValues = {
  id?: number
  title: string
  description: string
  point: number | string
  price: number | string
  status?: boolean
}

export type TDiscountValues = {
  id?: number
  code: string
  value: string
  active_date: any | null
  expiry: any | null
  date_used: any | null
  status?: boolean
  discount_type: string
}

export type TClientValues = {
  email: string
  name: string
  phone: string
  company: string
  country_code: string
  password: string
  confirm_password: string
  status: boolean
  point: string
}

export type TOrderValues = {
  id?: number
  payment_id: string
  point: string
  total_price: string
  user_id: string
  package_id: string
  discount: string
  status: string
  created_at?: string
  updated_at?: string
  user_name?: string
  avatar?: string
  user_email?: string
  user_phone?: string
  user_company?: string
  user_country?: string
  country_code?: string
  discount_value?: string
  discount_type?: string
  package_name?: string
  package_price?: string
  discounted_package_price?: string
}

export type TUser = {
  id: number
  email: string
  name: string
  permission: string
}

export type DataReason = {
  id: number
  c_code: string
  c_name: string
}

export type DataTimeType = {
  id: number
  c_code: string
  c_name: string
}
