from lib.services.cqa.webhooks_client import WebhooksClientInterface
from lib.api_schema.response.flava_services.cqa.v1_0 import (
    webhooks as schema,
)


class FlavaWebhooksClient(WebhooksClientInterface):
    """Service client for the Flava CQA App Webhooks.

    This client provides the schema and path to each API endpoint for dependency
    injection.

    NOTE: This is a no-auth service. No authentication headers are required.
    """

    def get_schema(self):
        """Provide the response schema of the Webhooks API."""
        return schema

    def get_webhook_path(self):
        """Provide the API endpoint path for webhook."""
        return "/webhook"
