export interface GetAllTours {
  status: boolean;
  data: {
    links: {
      previous: string;
      next: string;
    };
    total_items: number;
    total_pages: number;
    page_size: number;
    current_page: number;
    results: {
      id: number;
      destination: string;
      featured_tickets: boolean;
      duration_days: number;
      hotel_name: string;
      price: number;
      hotel_rating: number;
      hotel_aminates: string;
    }[];
  };
}

export interface GetOneTours {
  status: boolean;
  data: {
    id: number;
    hotel_name: string;
    hotel_rating: string;
    hotel_amenities: string;
    title: string;
    title_ru: string;
    title_uz: string;
    price: number;
    min_person: number;
    max_person: number;
    departure: string;
    departure_ru: string;
    departure_uz: string;
    destination: string;
    destination_ru: string;
    destination_uz: string;
    departure_time: string;
    travel_time: string;
    location_name: string;
    location_name_ru: string;
    location_name_uz: string;
    passenger_count: number;
    languages: string;
    hotel_info: string;
    hotel_info_ru: string;
    hotel_info_uz: string;
    duration_days: number;
    rating: number;
    hotel_meals: string;
    hotel_meals_ru: string;
    hotel_meals_uz: string;
    slug: string;
    visa_required: true;
    image_banner: string;
    badge: number[];
    transports: [
      {
        price: number;
        transport: {
          id: number;
          name: string;
          icon_name: string;
        };
      },
    ];
    ticket_images: [{ id: number; image: string }];
    ticket_amenities: {
      icon_name: string;
      id: number;
      name: string;
      name_ru: string;
      name_uz: string;
    }[];
    ticket_included_services: [
      {
        id: number;
        image: string;
        title: string;
        title_ru: string;
        title_uz: string;
        desc: string;
        desc_ru: string;
        desc_uz: string;
      },
    ];
    ticket_itinerary: {
      id: number;
      title: string;
      title_ru: string;
      title_uz: string;
      duration: number;
      ticket_itinerary_image: [
        {
          image: string;
        },
      ];
      ticket_itinerary_destinations: [
        {
          name: string;
          name_ru: string;
          name_uz: string;
        },
      ];
    }[];
    ticket_hotel_meals: {
      id: number;
      image: string;
      name: string;
      name_ru: string;
      name_uz: string;
      desc: string;
      desc_ru: string;
      desc_uz: string;
    }[];
    tariff: [
      {
        tariff: number;
        price: number;
      },
    ];
    extra_service: {
      name: string;
      name_ru: string;
      name_uz: string;
    }[];
    paid_extra_service: {
      name: string;
      name_ru: string;
      name_uz: string;
      price: number;
    }[];
  };
}

export interface CreateTourRes {
  status: boolean;
  data: {
    id: number;
    hotel_name: string;
    hotel_rating: string;
    hotel_amenities: string;
    title: string;
    title_ru: string;
    price: number;
    min_person: number;
    max_person: number;
    departure: string;
    departure_ru: string;
    destination: string;
    destination_ru: string;
    departure_time: string;
    travel_time: string;
    location_name: string;
    location_name_ru: string;
    passenger_count: number;
    languages: string;
    hotel_info: string;
    hotel_info_ru: string;
    duration_days: number;
    rating: number;
    hotel_meals: string;
    hotel_meals_ru: string;
    slug: string;
    visa_required: true;
    image_banner: string;
    badge: number[];
  };
}

export interface Hotel_Badge {
  status: boolean;
  data: {
    links: {
      previous: string;
      next: string;
    };
    total_items: number;
    total_pages: number;
    page_size: number;
    current_page: number;
    results: Badge[];
  };
}

export interface Hotel_BadgeId {
  status: boolean;
  data: Badge;
}

export interface Badge {
  id: number;
  name: string;
  name_uz: string;
  name_ru: string;
  color: string;
}

export interface Hotel_Tarif {
  status: boolean;
  data: {
    links: {
      previous: string;
      next: string;
    };
    total_items: number;
    total_pages: number;
    page_size: number;
    current_page: number;
    results: Tarif[];
  };
}

export interface Hotel_TarifId {
  status: boolean;
  data: Tarif;
}

export interface Tarif {
  id: number;
  name: string;
}

export interface Hotel_Transport {
  status: boolean;
  data: {
    links: {
      previous: string;
      next: string;
    };
    total_items: number;
    total_pages: number;
    page_size: number;
    current_page: number;
    results: Transport[];
  };
}

export interface Hotel_TranportId {
  status: boolean;
  data: Transport;
}

export interface Transport {
  id: number;
  name: string;
  name_uz: string;
  name_ru: string;
  icon_name: string;
}

export interface Hotel_Type {
  status: boolean;
  data: {
    links: {
      previous: string;
      next: string;
    };
    total_items: number;
    total_pages: number;
    page_size: number;
    current_page: number;
    results: Type[];
  };
}

export interface Hotel_TypeId {
  status: boolean;
  data: Type;
}

export interface Type {
  id: number;
  name: string;
  name_uz: string;
  name_ru: string;
}

export interface HotelAllFeatures {
  status: boolean;
  data: {
    links: {
      previous: string;
      next: string;
    };
    total_items: number;
    total_pages: number;
    page_size: number;
    current_page: number;
    results: HotelFeatures[];
  };
}

export interface HotelAllFeaturesType {
  status: boolean;
  data: {
    links: {
      previous: string;
      next: string;
    };
    total_items: number;
    total_pages: number;
    page_size: number;
    current_page: number;
    results: HotelFeaturesType[];
  };
}
export interface HotelFeaturesDetail {
  status: boolean;
  data: HotelFeatures;
}

export interface HotelFeatures {
  id: number;
  hotel_feature_type_name: string;
  hotel_feature_type_name_uz: string;
  hotel_feature_type_name_ru: string;
}

export interface HotelFeaturesType {
  id: number;
  feature_name: string;
  feature_name_ru: string;
  feature_type: {
    id: number;
    hotel_feature_type_name: string;
    hotel_feature_type_name_ru: string;
  };
}

export interface HotelFeaturesTypeDetail {
  status: boolean;
  data: {
    id: number;
    feature_name: string;
    feature_name_ru: string;
    feature_name_uz: string;
    feature_type: {
      id: number;
      hotel_feature_type_name: string;
      hotel_feature_type_name_ru: string;
    };
  };
}

export interface GetDetailTours {
  status: boolean;
  data: {
    id: number;
    hotel_name: string;
    hotel_rating: string;
    travel_agency_id: string;
    hotel_amenities: string;
    title: string;
    title_ru: string;
    title_uz: string;
    price: number;
    min_person: number;
    max_person: number;
    departure: string;
    departure_ru: string;
    departure_uz: string;
    destination: string;
    destination_ru: string;
    destination_uz: string;
    departure_time: string;
    travel_time: string;
    location_name: string;
    location_name_ru: string;
    location_name_uz: string;
    passenger_count: number;
    languages: string;
    hotel_info: string;
    hotel_info_ru: string;
    hotel_info_uz: string;
    duration_days: number;
    rating: number;
    hotel_meals: string;
    hotel_meals_ru: string;
    hotel_meals_uz: string;
    slug: string;
    visa_required: true;
    image_banner: string;
    badge: number[];
    transports: {
      price: number;
      transport: {
        id: number;
        name: string;
        icon_name: string;
      };
    }[];
    ticket_images: {
      image: string;
    }[];
    ticket_amenities: {
      name: string;
      name_ru: string;
      name_uz: string;
      icon_name: string;
    }[];
    ticket_included_services: {
      image: string;
      title: string;
      title_ru: string;
      title_uz: string;
      desc: string;
      desc_ru: string;
      desc_uz: string;
    }[];
    ticket_itinerary: {
      title: string;
      title_ru: string;
      title_uz: string;
      duration: number;
      ticket_itinerary_image: [
        {
          image: string;
        },
      ];
      ticket_itinerary_destinations: [
        {
          name: string;
          name_ru: string;
          name_uz: string;
        },
      ];
    }[];
    ticket_hotel_meals: [
      {
        image: string;
        name: string;
        name_ru: string;
        name_uz: string;
        desc: string;
        desc_ru: string;
        desc_uz: string;
      },
    ];
    tariff: [
      {
        tariff: {
          name: string;
        };
        price: number;
      },
    ];
    extra_service: [
      {
        name: string;
        name_ru: string;
        name_uz: string;
      },
    ];
    paid_extra_service: [
      {
        name: string;
        name_ru: string;
        name_uz: string;
        price: number;
      },
    ];
    ticket_comments: {
      user: {
        id: number;
        username: string;
      };
      text: string;
      rating: number;
    }[];
  };
}

export interface GetHotelRes {
  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;
        name: string;
        rating: number;
        meal_plan: string;
        ticket: number;
        hotel_type: [
          {
            id: number;
            name: string;
            name_ru: string;
            name_uz: string;
          },
        ];
        hotel_amenities: [
          {
            name: string;
            name_ru: string;
            name_uz: string;
            icon_name: string;
          },
        ];
        hotel_features: [
          {
            id: number;
            feature_name: string;
            feature_name_uz: string;
            feature_name_ru: string;
            feature_type: {
              id: number;
              hotel_feature_type_name_ru: string;
              hotel_feature_type_name_uz: string;
            };
          },
        ];
      },
    ];
  };
}

export interface AllAmenitiesData {
  status: boolean;
  data: {
    links: {
      previous: string;
      next: string;
    };
    total_items: number;
    total_pages: number;
    page_size: number;
    current_page: number;
    results: AllAmenitiesDataRes[];
  };
}

export interface AllAmenitiesDataRes {
  id: number;
  name: string;
  name_ru: string;
  name_uz: string;
  icon_name: string;
}

export interface DetailAmenitiesData {
  status: boolean;
  data: {
    id: number;
    name: string;
    name_ru: string;
    name_uz: string;
    icon_name: string;
  };
}
