"""Generic Webhook service provider implementation."""

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

from .event_parser import parse_webhook
from .provider import WEBHOOK_VARIABLES, WebhookServiceProvider

# Register Webhook variables in the global registry
registry.register_provider_variables(ServiceProviderType.WEBHOOK, WEBHOOK_VARIABLES)

__all__ = [
    "WebhookServiceProvider",
    "WEBHOOK_VARIABLES",
    "parse_webhook",
]
