from django.urls import path,re_path
from django.conf import settings
from django.conf.urls.static import static
from panel_apis.views import *





urlpatterns = [



    #-----Authentication--------------------#
    path('user-register',userRegister.as_view(),name='user-register'),
    path('user-otp-verification',otpVerification.as_view(),name='user-otp-verification'),
    path('user-resend-otp',userResendOtp.as_view(),name='user-resend-otp'),
    path('user-login',userLogin.as_view(),name='user-login'),
    path('user-forget-password',userForgetPassword.as_view(),name='user-forget-password'),
    re_path(r'^forgoten/', forgetPasswordVerification.as_view(), name='customer-verify-forgot-password'),
    path('user-update-profile',userUpdateProfile.as_view(),name='user-update-profile'),
    path('user-change-password',userChangePassword.as_view(),name='user-change-password'),
    path('user-delete-account',userDeleteAccount.as_view(),name='user-delete-account'),
    path('upload-images',UploadImages.as_view(),name='upload-images'),


    #-----------Content Pages---------------#
    path('get-privacy-policy',getPrivacyPolicy.as_view(),name='get-privacy-policy'),
    path('get-terms-conditions',getTermsConditions.as_view(),name='get-terms-conditions'),
    path('faq-listing',faqListing.as_view(),name='faq-listing'),
        
    #-----------notifications----------------#
    path('get-customer-notifications',getCustomerNotifications.as_view(),name='get-customer-notifications'),
    path('delete-customer-notifications',deleteCustomerNotifications.as_view(),name='delete-customer-notifications'),
    path('help-support',HelpSupportUser.as_view(),name='help-support'),
    path('send-service-feedback',SendServiceFeedback.as_view(),name='send-service-feedback'),


    #--------------------------------Subscriptions----------------------------------#
    path('get-subscription-list',GetSubscriptionList.as_view(),name='get-subscription-list'),

    #---------------------------------Blogs---------------------------------------#
    
    path('get-all-blog',getAllBlogs.as_view(),name='get-all-blog'),
    path('get-blog-categories',getBlogCategories.as_view(),name='get-blog-categories'),
    path('get-blog-details',getBlogDetails.as_view(),name='get-blog-details'),
    path('add-blog-bookmark',addBlogBookmark.as_view(),name='add-blog-bookmark'),
    path('bookmark-list',bookmarkList.as_view(),name='bookmark-list'),

    path('add-blog',addBlog.as_view(),name='add-blog'),
    path('edit-blog',editBlog.as_view(),name='edit-blog'),
    path('my-blog-listing',myBlogListing.as_view(),name='my-blog-listing'),
    path('delete-my-blog',deleteMyBlog.as_view(),name='delete-my-blog'),

    #---------------------------------User Cards-----------------------------------------#

    path('add-user-card',addUserCard.as_view(),name='add-user-card'),
    path('get-user-card',getUserCard.as_view(),name='get-user-card'),
    path('delete-user-card',deleteUserCard.as_view(),name='delete-user-card'),


    #-----------------------Buy community--------------------------------------------#

    path('get-community-listing',getCommunityListing.as_view(),name='get-community-listing'),
    path('add-community',addCommunity.as_view(),name='add-community'),
    path('my-community-listing',myCommunityListing.as_view(),name='my-community-listing'),
    path('edit-community',editCommunity.as_view(),name='edit-community'),
    path('delete-community',deleteCommunity.as_view(),name='delete-community'),
    path('like-community',likeCommunity.as_view(),name='like-community'),
    path('dislike-community',dislikeCommunity.as_view(),name='dislike-community'),
    path('comment-community',commentCommunity.as_view(),name='comment-community'),
    path('edit-comment-community',editCommentCommunity.as_view(),name='edit-comment-community'),
    path('delete-comment-community',deleteCommentCommunity.as_view(),name='delete-comment-community'),
    path('view-community-comments',viewCommunityComments.as_view(),name='view-community-comments'),


    #-------------------------Billing Details------------------------------------------#

    path('add-billing-details',addBillingDetails.as_view(),name='add-billing-details'),
    path('get-my-billing-details',getMyBillingDetails.as_view(),name='get-billing-details'),
    path('purchase-subscription',purchaseSubscription.as_view(),name='purchase-subscription'),
    path('my-subscription-plan',mySubscriptionPlan.as_view(),name='my-subscription-plan'),
    path('eduai-chat',eduAiChat.as_view(),name='eduai-chat'),

    #-----------------------Events------------------------------------------------------#

    path('all-event-listing',allEventListing.as_view(),name='all-event-listing'),
    path('view-event-details',viewEventDetails.as_view(),name='view-event-details'),
    path('add-event',addEvent.as_view(),name='add-event'),
    path('edit-event',editEvent.as_view(),name='edit-event'),
    path('my-event-listing',myEventListing.as_view(),name='my-event-listing'),
    path('delete-event',deleteEvent.as_view(),name='delete-event'),
    path('save-event',saveEvent.as_view(),name='save-event'),
    path('saved-event-listing',savedEventListing.as_view(),name='saved-event-listing'),

    #-----------------------News-------------------------------------------------------#

    path('get-investment-news',getInvestmentNews.as_view(),name='get-investment-news'),
    path('save-investment-news',saveInvestmentNews.as_view(),name='save-investment-news'),
    path('removed-saved-news',removedSavedNews.as_view(),name='removed-saved-news'),
    path('my-saved-news',mySavedNews.as_view(),name='my-saved-news'),

    #-----------------------Investment Education----------------------------------------------#

    path('get-investment-edu-category',getInvestmentEducationCategory.as_view(),name='get-investment-edu-category'),
    path('get-investment-edu-subcategory',getInvestmentEducationSubcategory.as_view(),name='get-investment-edu-category'),
    path('get-investment-education',getInvestmentEducationDetails.as_view(),name='get-investment-education'),

    #--------------------------Market data-------------------------------------------#

    path('top-gainer-stocks',topGainersStocks.as_view(),name='top-gainer-stocks'),
    path('top-looser-stocks',topLooserStocks.as_view(),name='top-looser-stocks'),
    path('top-active-stocks',topActiveStocks.as_view(),name='top-active-stocks'),
    path('get-all-stocks',getAllStocks.as_view(),name='get-all-stocks'),
    path('get-all-commodities',getAllCommodities.as_view(),name='get-all-commodities'),
    path('get-world-indices',getWorldIndices.as_view(),name='get-world-indices'),
    path('get-trending-tickers',getTrendingTickers.as_view(),name='get-trending-tickers'),
    path('get-top-mutal-funds',getTopMutalFunds.as_view(),name='get-top-mutal-funds'),
    path('get-top-etfs',getTopEtfs.as_view(),name='get-top-etfs'),
    path('get-currencies',getCurrencies.as_view(),name='get-currencies'),
    path('get-stock-details',getStocksDetails.as_view(),name='get-stock-details'),
    path('save-stocks-and-others',saveStocksAndOthers.as_view(),name='save-stocks-and-others'),
    path('unsave-stocks-and-others',unsaveStocksAndOthers.as_view(),name='unsave-stocks-and-others'),
    path('my-saved-market-data',mySavedMarketData.as_view(),name='my-saved-market-data'),

    #--------------------------Rating and feedback ----------------------------------#

    path('give-rating-and-feedback',giveRatingAndFeedback.as_view(),name='give-rating-and-feedback'),
    path('my-rating-and-feedback',myRatingAndFeedback.as_view(),name='my-rating-and-feedback'),
    path('edit-rating-and-feedback',editRatingAndFeedback.as_view(),name='edit-rating-and-feedback'),
    path('delete-rating-and-feedback',deleteRatingAndFeedback.as_view(),name='delete-rating-and-feedback'),

    #-----------------------Stock screener----------------------------------------#
    path('stock-screener',stockScreener.as_view(),name ='stock-screener'),

    #-----------------------Quiz----------------------------------------------------#
    path('get-quiz-question',getQuizQuestions.as_view(),name ='get-quiz-question'),

    #----------------------Investment Research----------------------------------------------------#
    path('get-invest-research-listing',getInvestResearchListing.as_view(),name='get-invest-research-listing'),
    path('get-invest-research-details',getInvestResearchDetails.as_view(),name='get-invest-research-details'),
    path('add-research-bookmark',addResearchBookmark.as_view(),name='add-research-bookmark'),

    #--------------------------Home page--------------------------------------------------------#

    path('homepage',getHomePage.as_view(),name='homepage'),


























    









]