export interface UsersData {
  status: boolean;
  data: {
    links: {
      previous: string;
      next: string;
    };
    total_items: string;
    total_pages: number;
    page_size: string;
    current_page: string;
    results: {
      users: [
        {
          id: number;
          phone: string;
          first_name: string;
          last_name: string;
          email: string;
          avatar: string;
          validated_at: string;
        },
      ];
      user_register_phone: string;
      user_register_email: string;
    };
  };
}

export interface UsersDetaiData {
  status: boolean;
  data: {
    id: number;
    phone: string;
    email: string;
    first_name: string;
    last_name: string;
    avatar: string;
    validated_at: string;
    orders: [
      {
        id: 0;
        departure: string;
        transport: string;
        destination: string;
        ticket: 0;
        travel_agency_id: string;
        tariff: string;
        departure_date: string;
        arrival_time: string;
        location_name: string;
        participant: [
          {
            first_name: string;
            last_name: string;
          },
        ];
        extra_service: [
          {
            id: number;
            name: string;
          },
        ];
        extra_paid_service: [
          {
            id: number;
            name: string;
            price: number;
          },
        ];
        total_price: number;
        order_status:
          | "pending_payment"
          | "pending_confirmation"
          | "cancelled"
          | "confirmed"
          | "completed";
      },
    ];
    participant: [
      {
        id: number;
        first_name: string;
        last_name: string;
        birth_date: string;
        phone_number: string;
        gender: "male" | "female";
        participant_pasport_image: [
          {
            id: number;
            image: string;
          },
        ];
      },
    ];
    ticket_count: string;
    participant_count: string;
  };
}
