Files
ihrm/whatsapp/urls.py
Horilla f20a59e951 Dev/v2.0 (#962)
* [FIX] BASE: Fixed the permissions in the settings page and updated the payroll permission

* [FIX] DOCKER: Issue with creating migration file for auth user model

* [FIX] EMPLOYEE : Document request view toggle issue fixes

* [FIX] ATTENDANCE: Fixed union of distinct querysets in attendance request

* [FIX] PAYROLL: Fixed reimbursement form excluded field issue

* [UPDT] WHATSAPP: Updated flow json version

* [UPDT] WHATSAPP: Updated meta_token from charfield to text field

* [UPDT] WHATSAPP: Updated whatsapp credential view url to CBV template view

* [FIX] WHATSAPP: Fixed issues in sending messages and added exception message if request failed

* [UPDT] RECRUITMENT: Formatted recruitment view page

* [UPDT] RECRUITMENT: Updated linkedin to check for integration enabled

* [FIX] SETTINGS: Fixed outlook issue on settings page

* [FIX] SETTINGS: Fixed outlook error in settings page

* [RMV] GENERAL: Remove unwanted console log messages

* [UPDT] HORILLA_THEME: Updated permission for ldap and Gmeet in settings page

* [RMV] GENERAL: Remove unwanted console log messages

* [UPDT] BASE: Index page updation

* [UPDT] WHATSAPP: Add whatsapp app to the installed_apps list
2025-10-29 17:51:28 +05:30

56 lines
1.4 KiB
Python

from django.urls import path
from django.views.generic import TemplateView
from whatsapp.cbv import whatsapp
from . import views
urlpatterns = [
path("", views.whatsapp, name="whatsapp"),
path(
"template-creation/",
views.create_flows,
name="template-creation",
),
path(
"generic-template-creation/<int:id>/",
views.create_generic_templates,
name="generic-template-creation",
),
path(
"whatsapp-credential-view/",
TemplateView.as_view(template_name="whatsapp/credentials_view.html"),
name="whatsapp-credential-view",
),
path(
"whatsapp-credential-list/",
whatsapp.CredentialListView.as_view(),
name="whatsapp-credential-list",
),
path(
"whatsapp-credential-nav/",
whatsapp.CredentialNav.as_view(),
name="whatsapp-credential-nav",
),
path(
"whatsapp-credential-create/",
whatsapp.CredentialForm.as_view(),
name="whatsapp-credential-create",
),
path(
"whatsapp-credential-update/<int:pk>/",
whatsapp.CredentialForm.as_view(),
name="whatsapp-credential-update",
),
path(
"whatsapp-credential-delete",
whatsapp.delete_credentials,
name="whatsapp-credential-delete",
),
path(
"send-test-message",
whatsapp.send_test_message,
name="send-test-message",
),
]