export interface GetAllAgencyData {
  status: boolean;
  data: {
    current_page: number;
    links: {
      next: string;
      previous: string;
    };
    total_items: number;
    total_pages: number;
    page_size: number;
    results: {
      activate_tour_agency: number;
      all_tickets: number;
      all_tour_agency: number;
      total_income: number;
      list: {
        id: number;
        custom_id: string;
        name: string;
        owner_user: string;
        share_percentage: number;
        status: "pending" | "approved" | "cancelled";
        ticket_sold_count: number;
        total_income: number;
        tour_count: number;
      }[];
    };
  };
}

export interface GetDetailAgencyData {
  status: boolean;
  data: {
    status: "pending" | "approved" | "cancelled";
    custom_id: string;
    share_percentage: number;
    name: string;
    addres: string;
    email: string;
    phone: string;
    web_site: string;
    owner_user: string;
    tour_count: string;
    ticket_sold_count: number;
    total_income: number;
    tickets: [
      {
        id: number;
        title: string;
        departure: string;
        destination: string;
        sold_count: number;
        total_income: number;
      },
    ];
  };
}

export interface agencyUserData {
  status: boolean;
  data: {
    first_name: string;
    id: number;
    last_name: string;
    phone: string;
    role: string;
  };
}
