from .views import *

opening_message_create = OpeningMessageViewSet.as_view({
    'post': 'create',
})

opening_message_list = OpeningMessageViewSet.as_view({
    'get': 'list',
})

opening_message_detail = OpeningMessageViewSet.as_view({
    'get': 'retrieve',
    'delete': 'destroy'
})

explore = ExploreViewSet.as_view({
    'post': 'get_suggested_opening_message'
})

user_profile = UserProfileViewSet.as_view({
    'get': 'get_user_profile',
    'put': 'update_user_profile'
})

request_message = RequestViewSet.as_view({
    'post': 'create',
})

accept_request_message = RequestViewSet.as_view({
    'put': 'accept_request',
})

reject_request_message = RequestViewSet.as_view({
    'put': 'reject_request',
})

user_pending_requests = RequestViewSet.as_view({
    'get': 'list',
})

interests = InterestsViewSet.as_view({
    'get': 'list'
})

interests_search = InterestsViewSet.as_view({
    'get': 'search'
})
