from django.urls import path
from . import views

urlpatterns = [
    # Leads
    path('leads/', views.LeadListCreateView.as_view(), name='lead-list'),
    path('leads/pipeline/', views.LeadPipelineView.as_view(), name='lead-pipeline'),
    path('leads/<int:pk>/', views.LeadDetailView.as_view(), name='lead-detail'),
    path('leads/<int:lead_pk>/attachments/', views.LeadAttachmentView.as_view(), name='lead-attachments'),

    # Meetings
    path('meetings/', views.MeetingListCreateView.as_view(), name='meeting-list'),
    path('meetings/<int:pk>/', views.MeetingDetailView.as_view(), name='meeting-detail'),
]
