"""LinkedIn integration for Dexxy.

This module provides LinkedIn integration functionality including:
- LinkedIn OAuth 2.0 authentication for pages
- Organization Social Action Notifications API
- Mention tracking and sync
- Token refresh handling

Public API:
    - Models: LinkedInPage, LinkedInSyncStatus
    - Services: LinkedInClient, LinkedInSyncService
    - Tasks: sync_linkedin_page, sync_all_linkedin_pages
"""

# Re-export models from the models package for convenience
# Re-export exceptions
from integrations.linkedin.exceptions import (
    LinkedInAPIError,
    LinkedInAuthError,
    LinkedInError,
    LinkedInInvalidStateError,
    LinkedInRateLimitError,
    LinkedInSyncError,
    LinkedInTokenExpiredError,
)

# Re-export services
from integrations.linkedin.services import LinkedInClient, LinkedInSyncService
from integrations.models.linkedin import LinkedInPage, LinkedInSyncStatus

__all__ = [
    # Models
    "LinkedInPage",
    "LinkedInSyncStatus",
    # Exceptions
    "LinkedInError",
    "LinkedInAPIError",
    "LinkedInAuthError",
    "LinkedInRateLimitError",
    "LinkedInTokenExpiredError",
    "LinkedInInvalidStateError",
    "LinkedInSyncError",
    # Services
    "LinkedInClient",
    "LinkedInSyncService",
]
