export interface GetWebhook { /** Authentication header to be send with the webhook requests */ auth?: Record | undefined; /** * Batching configuration of the webhook, we send batched webhooks if its * true */ batched?: boolean | undefined; /** Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) */ createdAt: string; /** Description of the webhook */ description: string; events: string[]; headers?: Record[] | undefined; /** ID of the webhook */ id: number; /** Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) */ modifiedAt: string; /** Type of webhook (marketing, transactional, or inbound) */ type: GetWebhook.Type; /** Inbound domain of the webhook, only returned for inbound type webhooks */ domain?: string | undefined; /** URL of the webhook */ url: string; } export declare namespace GetWebhook { /** Type of webhook (marketing, transactional, or inbound) */ const Type: { readonly Marketing: "marketing"; readonly Transactional: "transactional"; readonly Inbound: "inbound"; }; type Type = (typeof Type)[keyof typeof Type]; }