160 lines
4.9 KiB
Python
160 lines
4.9 KiB
Python
from django.urls import path
|
|
|
|
from .file_summary.views import (
|
|
attachment_download,
|
|
attachment_detail,
|
|
attachments,
|
|
batch_events,
|
|
batch_status,
|
|
conversation_detail,
|
|
conversation_list,
|
|
conversation_messages,
|
|
export_download,
|
|
)
|
|
from .regulatory_review.views import (
|
|
batch_status as regulatory_review_batch_status,
|
|
confirm_conditions as regulatory_review_confirm_conditions,
|
|
review_issues as regulatory_review_review_issues,
|
|
start_full_review as regulatory_review_start_full_review,
|
|
)
|
|
from .application_form_fill.views import (
|
|
batch_status as application_form_fill_batch_status,
|
|
start as application_form_fill_start,
|
|
)
|
|
from .regulatory_info_package.views import (
|
|
batch_status as regulatory_info_package_batch_status,
|
|
start as regulatory_info_package_start,
|
|
)
|
|
from .views import (
|
|
knowledge_base_document_detail,
|
|
knowledge_base_document_index,
|
|
knowledge_base_documents,
|
|
knowledge_base_rebuild_index,
|
|
knowledge_base_search,
|
|
knowledge_base_status,
|
|
)
|
|
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"api/review-agent/conversations/",
|
|
conversation_list,
|
|
name="review_agent_conversation_list",
|
|
),
|
|
path(
|
|
"api/review-agent/conversations/<int:conversation_id>/",
|
|
conversation_detail,
|
|
name="review_agent_conversation_detail",
|
|
),
|
|
path(
|
|
"api/review-agent/conversations/<int:conversation_id>/attachments/",
|
|
attachments,
|
|
name="file_summary_attachment_upload",
|
|
),
|
|
path(
|
|
"api/review-agent/conversations/<int:conversation_id>/attachments/",
|
|
attachments,
|
|
name="file_summary_attachment_list",
|
|
),
|
|
path(
|
|
"api/review-agent/conversations/<int:conversation_id>/attachments/<int:attachment_id>/",
|
|
attachment_detail,
|
|
name="file_summary_attachment_detail",
|
|
),
|
|
path(
|
|
"api/review-agent/conversations/<int:conversation_id>/attachments/<int:attachment_id>/download/",
|
|
attachment_download,
|
|
name="file_summary_attachment_download",
|
|
),
|
|
path(
|
|
"api/review-agent/conversations/<int:conversation_id>/messages/",
|
|
conversation_messages,
|
|
name="review_agent_conversation_messages",
|
|
),
|
|
path(
|
|
"api/review-agent/file-summary/<int:batch_id>/status/",
|
|
batch_status,
|
|
name="file_summary_batch_status",
|
|
),
|
|
path(
|
|
"api/review-agent/file-summary/<int:batch_id>/events/",
|
|
batch_events,
|
|
name="file_summary_batch_events",
|
|
),
|
|
path(
|
|
"api/review-agent/file-summary/exports/<int:export_id>/download/",
|
|
export_download,
|
|
name="file_summary_export_download",
|
|
),
|
|
path(
|
|
"api/review-agent/regulatory-review/<int:batch_id>/status/",
|
|
regulatory_review_batch_status,
|
|
name="regulatory_review_batch_status",
|
|
),
|
|
path(
|
|
"api/review-agent/regulatory-review/<int:batch_id>/conditions/",
|
|
regulatory_review_confirm_conditions,
|
|
name="regulatory_review_confirm_conditions",
|
|
),
|
|
path(
|
|
"api/review-agent/regulatory-review/<int:batch_id>/full-review/",
|
|
regulatory_review_start_full_review,
|
|
name="regulatory_review_start_full_review",
|
|
),
|
|
path(
|
|
"api/review-agent/regulatory-review/<int:batch_id>/issue-review/",
|
|
regulatory_review_review_issues,
|
|
name="regulatory_review_review_issues",
|
|
),
|
|
path(
|
|
"api/review-agent/application-form-fill/start/",
|
|
application_form_fill_start,
|
|
name="application_form_fill_start",
|
|
),
|
|
path(
|
|
"api/review-agent/application-form-fill/<int:batch_id>/status/",
|
|
application_form_fill_batch_status,
|
|
name="application_form_fill_batch_status",
|
|
),
|
|
path(
|
|
"api/review-agent/regulatory-info-package/start/",
|
|
regulatory_info_package_start,
|
|
name="regulatory_info_package_start",
|
|
),
|
|
path(
|
|
"api/review-agent/regulatory-info-package/<int:batch_id>/status/",
|
|
regulatory_info_package_batch_status,
|
|
name="regulatory_info_package_batch_status",
|
|
),
|
|
path(
|
|
"api/review-agent/knowledge-base/status/",
|
|
knowledge_base_status,
|
|
name="knowledge_base_status",
|
|
),
|
|
path(
|
|
"api/review-agent/knowledge-base/search/",
|
|
knowledge_base_search,
|
|
name="knowledge_base_search",
|
|
),
|
|
path(
|
|
"api/review-agent/knowledge-base/rebuild-index/",
|
|
knowledge_base_rebuild_index,
|
|
name="knowledge_base_rebuild_index",
|
|
),
|
|
path(
|
|
"api/review-agent/knowledge-base/documents/",
|
|
knowledge_base_documents,
|
|
name="knowledge_base_document_list",
|
|
),
|
|
path(
|
|
"api/review-agent/knowledge-base/documents/<int:document_id>/",
|
|
knowledge_base_document_detail,
|
|
name="knowledge_base_document_detail",
|
|
),
|
|
path(
|
|
"api/review-agent/knowledge-base/documents/<int:document_id>/index/",
|
|
knowledge_base_document_index,
|
|
name="knowledge_base_document_index",
|
|
),
|
|
]
|