"""Versioned API v1 router — modules register their URLConfs here."""

from __future__ import annotations

from django.urls import include, path

urlpatterns: list = [
    path("auth/", include("simorgh.apps.accounts.api.urls")),
    path("schema/", include("simorgh.apps.schema.urls")),
    path("platform/schemas/", include("simorgh.apps.schema.platform_urls")),
    path("workflow/", include("simorgh.apps.workflow.urls")),
    path("modules/", include("simorgh.apps.modules.urls")),
    path("ai/", include("simorgh.apps.ai.urls")),
    path("workspaces/", include("simorgh.apps.workspaces.urls")),
    path("search/", include("simorgh.apps.workspaces.search_urls")),
    path("chat/", include("simorgh.apps.chat.urls")),
    path("helpdesk/", include("simorgh.apps.helpdesk.urls")),
    path("dms/", include("simorgh.apps.dms.api.urls")),
    path("localization/", include("simorgh.apps.localization.api.urls")),
    path("iam/", include("simorgh.apps.iam.api.urls")),
    path("organizations/", include("simorgh.apps.organizations.api.urls")),
    path("memberships/", include("simorgh.apps.memberships.api.urls")),
    path("audit/", include("simorgh.apps.audit.api.urls")),
    path("notifications/", include("simorgh.apps.notifications.api.urls")),
    path("storage/", include("simorgh.apps.storage.api.urls")),
    path("automation/", include("simorgh.apps.automation.api.urls")),
    path("", include("simorgh.apps.platform_core.api.urls")),
    path("crm/", include("simorgh.apps.crm.urls")),
    path("calendar/", include("simorgh.apps.calendar.urls")),
    path("kb/", include("simorgh.apps.kb.urls")),
    path("projects/", include("simorgh.apps.projects.urls")),
    path("tasks/", include("simorgh.apps.tasks.urls")),
    path("time-entries/", include("simorgh.apps.time_tracking.urls")),
    path("hr/", include("simorgh.apps.hr_core.urls")),
    path("bpm/", include("simorgh.apps.bpm.api.urls")),
    path("subscription/", include("simorgh.apps.subscription.api.urls")),
    path("assignments/", include("simorgh.apps.assignments.urls")),
    path("approvals/", include("simorgh.apps.approval_engine.urls")),
    path("workbox/", include("simorgh.apps.workbox.urls")),
    path("sla/", include("simorgh.apps.sla_engine.urls")),
    path("delegations/", include("simorgh.apps.delegations.urls")),
    path("visualization/", include("simorgh.apps.visualization.api.urls")),
    path("reporting/", include("simorgh.apps.reporting.urls")),
    path("settings/", include("simorgh.apps.app_settings.api.urls")),
    path("content/", include("simorgh.apps.content.urls")),
    path("catalog/", include("simorgh.apps.catalog.urls")),
    path("correspondence/", include("simorgh.apps.correspondence.urls")),
    # Modules will register here as they come online.
]
