import type * as Extend from "../index"; export interface WebhookSubscription { object: "webhook_subscription"; /** Unique identifier for the webhook subscription. */ id: string; /** The ID of the webhook endpoint this subscription belongs to. */ webhookEndpointId: string; resourceType: Extend.WebhookSubscriptionResourceType; /** The ID of the resource this subscription is scoped to (e.g., an extractor, classifier, splitter, or workflow). */ resourceId: string; /** The list of event types this subscription is subscribed to. The valid event types depend on the `resourceType`. */ enabledEvents: Extend.WebhookSubscriptionEventType[]; /** The date and time the webhook subscription was created. */ createdAt: string; }