infrasynth-backend-kit/infrasynth/webhooks/inbound/handlers.py
2026-08-28 14:38:47 -05:00

9 lines
254 B
Python

from abc import ABC, abstractmethod
class BaseInboundHandler(ABC):
@abstractmethod
def verify(self, payload: dict, headers: dict, secret: str) -> bool: ...
@abstractmethod
def process(self, event_type: str, payload: dict) -> dict: ...