from django.urls import path
from .views import *
from .views import SessionDetailView

urlpatterns = [
    path("register/", first_time_signup),
    path("register/subscriptionForNewsletters/",sign_up_for_newsletters ),
    path("googlelogin/", GoogleLogin.as_view()),
    path("checksignin/", check_signin),
    path("generate/", generate_sessionslots),
    path("library/", LibraryListView.as_view()),
    path("language/", LanguageListView.as_view()),
    path("available/", AvailableSessionSlotList.as_view()),
    path("session/", SessionSlotListView.as_view()),
    path("session/<pk>", SessionDetailView.as_view()),
    path("update/<pk>", SessionDetailUpdateView.as_view()),
    path("book/", book_sessionslot),
    path("verify/", MentorVerifiedView.as_view())
    # path("shift/",shift_slots),
    # path("unbook/<pk>", SessionUnbookingView.as_view()),
 #   path("updatecalendar/", updateGoogleCalendarEvent),
]
