Add rights requests to webhooks

Emit lifecycle events for rights requests created through either the
console or compliance portal. Keep webhook subscription choices in sync
across every API and client surface.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Sacha Al Himdani <SachaProbo@users.noreply.github.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
This commit is contained in:
Cursor Agent
2026-07-21 07:57:04 +00:00
committed by Sacha Al Himdani
parent 8f22fa93ad
commit a3fac4f543
12 changed files with 541 additions and 9 deletions

View File

@@ -42,6 +42,9 @@ export const WEBHOOK_EVENT_OPTIONS: INodePropertyOptions[] = [
{ name: 'Obligation Created', value: 'OBLIGATION_CREATED' },
{ name: 'Obligation Deleted', value: 'OBLIGATION_DELETED' },
{ name: 'Obligation Updated', value: 'OBLIGATION_UPDATED' },
{ name: 'Right Request Created', value: 'RIGHT_REQUEST_CREATED' },
{ name: 'Right Request Deleted', value: 'RIGHT_REQUEST_DELETED' },
{ name: 'Right Request Updated', value: 'RIGHT_REQUEST_UPDATED' },
{ name: 'Third Party Created', value: 'THIRD_PARTY_CREATED' },
{ name: 'Third Party Deleted', value: 'THIRD_PARTY_DELETED' },
{ name: 'Third Party Updated', value: 'THIRD_PARTY_UPDATED' },