import type * as Extend from "../../../../index"; /** * @example * { * enabledEvents: ["extract_run.processed"] * } */ export interface WebhookSubscriptionsUpdateRequest { /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */ "x-extend-workspace-id"?: string; /** The event types to subscribe to. Must be valid for the subscription's resource type. */ enabledEvents: Extend.WebhookSubscriptionEventType[]; }