"""
URL Configuration for Businesses App

This module defines all URL patterns for business-related endpoints:
- Business profile management
- Influencer matching
- Search history
"""

from django.urls import path, include
from rest_framework.routers import DefaultRouter
from . import views

# Create router for viewsets
router = DefaultRouter()
router.register(r'profiles', views.BusinessProfileViewSet, basename='business-profile')

urlpatterns = [
    # ViewSet routes (profiles CRUD)
    path('', include(router.urls)),
    
    # Custom endpoints
    path('match/', views.match_influencers, name='match-influencers'),
    path('search-history/', views.search_history, name='search-history'),
    path('collaborations/', views.business_collaborations, name='business-collaborations'),
]

