from django.urls import path
from . import views

app_name = 'processes'

urlpatterns = [
    # Requests UI
    path('requests/', views.request_list, name='request_list'),
    path('requests/export/excel/', views.export_requests_excel, name='export_requests_excel'),
    path('requests/create/', views.create_request_with_entities, name='create_request_with_entities'),
    path('requests/lookup/well/', views.lookup_well_by_subscription, name='lookup_well_by_subscription'),
    path('requests/lookup/representative/', views.lookup_representative_by_national_code, name='lookup_representative_by_national_code'),
    path('requests/<int:instance_id>/delete/', views.delete_request, name='delete_request'),
    
    # New step-based architecture
    path('instance/<int:instance_id>/steps/', views.instance_steps, name='instance_steps'),
    path('instance/<int:instance_id>/step/<int:step_id>/', views.step_detail, name='step_detail'),
    path('instance/<int:instance_id>/summary/', views.instance_summary, name='instance_summary'),

]