"""
Calendar Sync URL Configuration

URL routes for calendar synchronization endpoints.
Endpoints for connecting, managing, and syncing calendar integrations.

All endpoints require authentication and can_use_calendar_sync feature permission.
"""

from django.urls import path
from .calendar_sync_views import (
    CalendarListView,
    CalendarSyncView,
    CalendarDeleteView,
    CalendarStatusView,
)

app_name = 'calendar'

urlpatterns = [
    # Calendar status and information
    path('status/', CalendarStatusView.as_view(), name='status'),

    # List connected calendars
    path('list/', CalendarListView.as_view(), name='list'),

    # Sync calendar events
    path('sync/', CalendarSyncView.as_view(), name='sync'),

    # Disconnect calendar
    path('disconnect/', CalendarDeleteView.as_view(), name='disconnect'),
]
