from django.urls import path
from .api_views import ContractReleaseAPIView, ContractAbsenceAPIView, ContractTerminationQuoteAPIView, ContractActionAPIView, ContractDetailAPIView, ContractListAPIView, ContractOfferActionAPIView, ContractOfferDetailAPIView, ContractOfferListCreateAPIView, ContractTermsAPIView, ContractAmendmentListCreateAPIView, ContractAmendmentActionAPIView, ContractClauseActionAPIView
urlpatterns=[
 path("contracts/<uuid:contract_id>/release/", ContractReleaseAPIView.as_view()),
 path("contracts/<uuid:contract_id>/absences/", ContractAbsenceAPIView.as_view()),
 path("contracts/<uuid:contract_id>/termination-quote/", ContractTerminationQuoteAPIView.as_view()),
 path("offers/",ContractOfferListCreateAPIView.as_view()), path("offers/<uuid:offer_id>/",ContractOfferDetailAPIView.as_view()), path("offers/<uuid:offer_id>/<str:action>/",ContractOfferActionAPIView.as_view()),
 path("contracts/",ContractListAPIView.as_view()), path("contracts/<uuid:contract_id>/",ContractDetailAPIView.as_view()), path("contracts/<uuid:contract_id>/terms/",ContractTermsAPIView.as_view()), path("contracts/<uuid:contract_id>/amendments/",ContractAmendmentListCreateAPIView.as_view()), path("contracts/<uuid:contract_id>/<str:action>/",ContractActionAPIView.as_view()),
 path("amendments/<uuid:amendment_id>/<str:action>/",ContractAmendmentActionAPIView.as_view()), path("clauses/<uuid:clause_id>/<str:action>/",ContractClauseActionAPIView.as_view()),
]
