"""
Account API URLs
"""
from django.urls import path
from igny8_core.api.account_views import (
    AccountSettingsViewSet,
    TeamManagementViewSet,
    UsageAnalyticsViewSet
)

urlpatterns = [
    # Account Settings
    path('settings/', AccountSettingsViewSet.as_view({
        'get': 'retrieve',
        'patch': 'partial_update'
    }), name='account-settings'),
    
    # Team Management
    path('team/', TeamManagementViewSet.as_view({
        'get': 'list',
        'post': 'create'
    }), name='team-list'),
    path('team/<int:pk>/', TeamManagementViewSet.as_view({
        'delete': 'destroy'
    }), name='team-detail'),
    
    # Usage Analytics
    path('usage/analytics/', UsageAnalyticsViewSet.as_view({
        'get': 'overview'
    }), name='usage-analytics'),
]
