export interface GetSupportUser {
  status: boolean;
  data: {
    links: {
      previous: null | string;
      next: null | string;
    };
    total_items: number;
    total_pages: number;
    page_size: number;
    current_page: number;
    results: GetSupportUserRes[];
  };
}

export interface GetSupportUserRes {
  id: number;
  name: string;
  phone_number: string;
  travel_agency: null | number;
  status: "pending" | "done" | "failed";
}

export interface GetSupportAgency {
  status: boolean;
  data: {
    links: {
      previous: null | string;
      next: null | string;
    };
    total_items: number;
    total_pages: number;
    page_size: number;
    current_page: number;
    results: GetSupportAgencyRes[];
  };
}

export interface GetSupportAgencyRes {
  id: number;
  status: "pending" | "approved" | "cancelled";
  name: string;
  addres: string;
  email: string;
  phone: string;
  web_site: string;
  travel_agency_documents: [
    {
      file: string;
    },
  ];
}

export interface GetSupportAgencyDetail {
  status: boolean;
  data: {
    links: {
      previous: null | string;
      next: null | string;
    };
    total_items: number;
    total_pages: number;
    page_size: number;
    current_page: number;
    results: {
      id: number;
      status: "pending" | "approved" | "cancelled";
      name: string;
      addres: string;
      email: string;
      phone: string;
      web_site: string;
      travel_agency_documents: [
        {
          file: string;
        },
      ];
    }[];
  };
}
