from django.urls import path

from gongdan.views import (
    GongdanUploadImageView,
    GongdanCreateView,
    GongdanMyListView,
    GongdanDetailView,
    GongdanEscalateView,
    GongdanDissatisfiedView,
    GongdanResolveView,
    GongdanNegotiateView,
    GongdanApplyInterveneView,
    GongdanWithdrawCheckView,
    GongdanSearchTargetView,
    GongdanMyInviterTargetView,
    GongdanMetaView,
    ChongzhiRecordListView,
    GongdanAdminListView,
    GongdanAdminHandleView,
    GongdanAdminClubConfigView,
)

urlpatterns = [
    path('upload-image/', GongdanUploadImageView.as_view(), name='工单图片上传'),
    path('create/', GongdanCreateView.as_view(), name='创建投诉工单'),
    path('my-list/', GongdanMyListView.as_view(), name='我的投诉列表'),
    path('detail/', GongdanDetailView.as_view(), name='工单详情'),
    path('escalate/', GongdanEscalateView.as_view(), name='继续投诉升级'),
    path('dissatisfied/', GongdanDissatisfiedView.as_view(), name='标记不满意'),
    path('resolve/', GongdanResolveView.as_view(), name='投诉人确认解决'),
    path('negotiate/', GongdanNegotiateView.as_view(), name='转协商中'),
    path('apply-intervene/', GongdanApplyInterveneView.as_view(), name='申请平台介入'),
    path('withdraw-block-check/', GongdanWithdrawCheckView.as_view(), name='提现投诉拦截检查'),
    path('search-target/', GongdanSearchTargetView.as_view(), name='搜索被投诉对象'),
    path('my-inviter-target/', GongdanMyInviterTargetView.as_view(), name='本人邀请人投诉对象'),
    path('meta/', GongdanMetaView.as_view(), name='工单枚举'),
    path('chongzhi-list/', ChongzhiRecordListView.as_view(), name='我的充值记录'),
    path('admin/list/', GongdanAdminListView.as_view(), name='客服工单列表'),
    path('admin/handle/', GongdanAdminHandleView.as_view(), name='客服处理工单'),
    path('admin/club-config/', GongdanAdminClubConfigView.as_view(), name='工单俱乐部开关'),
]
