Add obligation webhooks

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2026-02-27 17:03:44 +01:00
parent 6905472fba
commit 6a83b53b47
11 changed files with 138 additions and 25 deletions

View File

@@ -150,6 +150,9 @@ const EVENT_TYPES = [
{ value: "USER_CREATED", label: "user:created" },
{ value: "USER_UPDATED", label: "user:updated" },
{ value: "USER_DELETED", label: "user:deleted" },
{ value: "OBLIGATION_CREATED", label: "obligation:created" },
{ value: "OBLIGATION_UPDATED", label: "obligation:updated" },
{ value: "OBLIGATION_DELETED", label: "obligation:deleted" },
] as const;
type WebhookEventType = (typeof EVENT_TYPES)[number]["value"];