File size: 1,128 Bytes
c2e4ff1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ae677bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from django.urls import path
from . import views

urlpatterns = [
    # Admin Global Q&A CRUD
    path('admin/global-qa/', views.admin_global_qa),
    path('admin/global-qa/<uuid:qa_id>/', views.admin_global_qa),
    path('admin/global-qa/bulk/', views.admin_global_qa_bulk),
    
    # Admin CRUD (Single)
    path('admin/master-questions/', views.admin_master_questions),
    path('admin/master-questions/<uuid:question_id>/', views.admin_master_questions),
    
    # Admin Bulk Create
    path('admin/master-questions/bulk/', views.admin_master_questions_bulk),
    
    # Agency endpoints
    path('master-questions/', views.get_master_questions),
    path('property-qa/save-bulk/', views.save_property_qa_bulk),
    path('property-qa/status/<uuid:property_id>/', views.get_property_qa_status),
    path('auto-chat/toggle/<str:property_id>/', views.toggle_auto_chat),
    path('auto-chat/enable-with-questions/', views.enable_auto_chat_with_questions),
    path('custom-questions/<uuid:property_id>/', views.get_custom_questions),
    
    # Webhook for Chat app
    path('webhook/auto-reply/', views.webhook_auto_reply),
]