"""Integration models package.

This module re-exports all integration models for backward compatibility.
Models are organized by integration in sub-modules but exposed here for
convenient importing.

Usage:
    # These imports continue to work:
    from integrations.models import GitHubInstallation, GitHubRepository
    from integrations.models import LinkedInPage, LinkedInSyncStatus

    # New preferred style for internal code:
    from integrations.github.models import GitHubInstallation, GitHubRepository
    from integrations.linkedin.models import LinkedInPage, LinkedInSyncStatus
"""

# Re-export shared base class and patterns
from integrations.models.base import (
    ORGANIZATION_URN_PATTERN,
    PERSON_URN_PATTERN,
    TimestampedModel,
)

# Re-export GitHub models (will be moved to github/models.py in Phase 3)
from integrations.models.github import GitHubInstallation, GitHubRepository

# Re-export LinkedIn models (will be moved to linkedin/models.py in Phase 4)
from integrations.models.linkedin import LinkedInPage, LinkedInSyncStatus

__all__ = [
    # Base
    "TimestampedModel",
    "ORGANIZATION_URN_PATTERN",
    "PERSON_URN_PATTERN",
    # GitHub
    "GitHubInstallation",
    "GitHubRepository",
    # LinkedIn
    "LinkedInPage",
    "LinkedInSyncStatus",
]
