/** * Webhook configuration that defines where event notifications are sent. */ export interface Webhooks { /** URL where webhook events are delivered. */ endpoint: string; /** The unique identifier of the webhook. This identifier is a string that always begins with the prefix `wh_`, for example: `wh_1234567890`. */ id: string; /** Name of the webhook. */ name: string; /** Optional custom HTTP headers sent on every webhook delivery. Header names must match the regex `^[A-Za-z0-9][A-Za-z0-9_-]*$` — start with a letter or digit and contain only letters, digits, `-`, or `_`. Keys are case-insensitive and stored in uppercase. Values must be strings. The reserved `PINNACLE-SIGNING-SECRET` header is never returned here and cannot be overridden. */ headers?: Record | null; }