diff --git a/src/Umbraco.Web.UI.Client/src/packages/webhook/types.ts b/src/Umbraco.Web.UI.Client/src/packages/webhook/types.ts index fb56d908ec..73fdbc04c3 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/webhook/types.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/webhook/types.ts @@ -2,11 +2,16 @@ import type { UmbWebhookEntityType } from './entity.js'; export interface UmbWebhookDetailModel { entityType: UmbWebhookEntityType; - headers: { [key: string]: string }; + headers: Record; unique: string; - name: string; enabled: boolean; url: string; - events: string[] | null; - types: string[] | null; + events: Array; + contentTypes: Array; +} + +export interface WebhookEventModel { + eventName: string; + eventType: string; + alias: string; }