from django.urls import path, include from core.apps.counterparty.views import counterparty as cp_views from core.apps.counterparty.views import counterparty_folder as folder_views urlpatterns = [ path('counterparty/', include( [ path('list/', cp_views.CounterpartyListApiView.as_view()), path('create/', cp_views.CounterpartyCreateApiView.as_view()), path('/archive/', cp_views.ArchiveCounterpartyApiView.as_view()), path('archived/list/', cp_views.ArchivedCounterpartyListApiView.as_view()), path('/delete/', cp_views.CounterpartyDeleteApiView.as_view()), path('/update/', cp_views.CounterpartyUpdateApiView.as_view()), path('statistics/', cp_views.CounterpartyStatisticsApiView.as_view()), path('all/', cp_views.CounterpartiesApiView.as_view()), path("/", cp_views.CounterpartyDetailApiView.as_view()), path('/un_archive/', cp_views.UnArchiveCounterpartyApiView.as_view()), ] )), path('counterparty_folder/', include( [ path('list/', folder_views.CounterpartyFolderListApiView.as_view()), path('create/', folder_views.CounterpartyCreateApiView.as_view()), path('/delete/', folder_views.CounterpartyDeleteApiView.as_view()), path('/update/', folder_views.CounterpartyUpdateApiView.as_view()), path('/counterparty/list/', cp_views.FolderCounterpartyListApiView.as_view()), ] )), ]