from django.urls import path
from .api_views import CityListAPI,GalleryListAPI,ReviewListAPI,HolidayListAPI,PackageInquiryCreateAPI,PackageContinentDetailAPI,CruisePackageInquiryCreateAPI,ContactUsCreateAPI,CruisePackageIdAPI,PackageListAPI,PackageDetailAPI,CruisePackageListAPI,PackageHolidayLocationAPI,PackageLocationListAPI,BannerListAPI,PackageTypeListAPI,PackageEuropeListAPI,PackageDubaiListAPI,PackageTrendingListAPI

urlpatterns = [
      path('cities/', CityListAPI.as_view(), name='api_city_list'),
      path('banner/', BannerListAPI.as_view(), name='api_banner_list'),
      path('holiday/', HolidayListAPI.as_view(), name='api_holiday_list'),
      path('package/', PackageListAPI.as_view(), name='api_package_list'),
      path("package-inquiry/", PackageInquiryCreateAPI.as_view(), name="package-inquiry"),
      path("package/<int:id>/", PackageDetailAPI.as_view(), name="package-detail"),
      path('trending/', PackageTrendingListAPI.as_view(), name='package_list_api'),
      path('dubai/', PackageDubaiListAPI.as_view(), name='package_list_api'),
      path('europe/', PackageEuropeListAPI.as_view(), name='package_list_api'),
      path('packagetype/', PackageTypeListAPI.as_view(), name='packagetype_list_api'),
      path('packagebylocation/<int:id>/', PackageLocationListAPI.as_view(), name='packagetypes_list_api'),
      path('packagebyholiday/<int:id>/', PackageHolidayLocationAPI.as_view(), name='packageholiday_list_api'),
      path('cruise-package/', CruisePackageListAPI.as_view(), name='api_cruise_package_list'),
      path("cruise-package/<int:id>/", CruisePackageIdAPI.as_view(), name="cruise-package-detail"),
      path('contact-us/', ContactUsCreateAPI.as_view(), name='contact-us'),
      path("cruise-package-inquiry/", CruisePackageInquiryCreateAPI.as_view()),
      path("continent-package-inquiry/<int:package_type>/", PackageContinentDetailAPI.as_view()),
      path("gallery/", GalleryListAPI.as_view(), name='api_gallery_list'),
      path("review/", ReviewListAPI.as_view(), name='api_review_list')
      
]
 
