"""Planka service provider implementation."""

from notify_bridge_core.providers.base import ServiceProviderType
from notify_bridge_core.templates.variables import registry

from .client import PlankaClient, PlankaApiError
from .event_parser import parse_webhook
from .provider import PlankaServiceProvider, PLANKA_VARIABLES

# Register Planka variables in the global registry
registry.register_provider_variables(ServiceProviderType.PLANKA, PLANKA_VARIABLES)

__all__ = [
    "PlankaClient",
    "PlankaApiError",
    "PlankaServiceProvider",
    "PLANKA_VARIABLES",
    "parse_webhook",
]
