export interface Address {
  id: string
  user_id: string
  address_type: string
  address_line_1: string
  address_line_2: string | null
  city: string
  state: string
  postcode: string
  country: string
  created_at: string | null
  updated_at: string | null
}

export interface AddressPayload {
  address_type: string
  address_line_1: string
  address_line_2?: string
  city: string
  state: string
  postcode: string
  country: string
}

export interface AddressesApiResponse {
  success: boolean
  data: Address[]
  pagination?: {
    current_page: number
    per_page: number
    total: number
    last_page: number
  }
  message?: string
}

export interface AddressApiResponse {
  success: boolean
  data: Address
  message?: string
}
