// This file is auto-generated by oagen. Do not edit. import type { WebhookEndpointStatus } from './webhook-endpoint-status.interface'; export interface WebhookEndpoint { /** Distinguishes the Webhook Endpoint object. */ object: 'webhook_endpoint'; /** Unique identifier of the Webhook Endpoint. */ id: string; /** The URL to which webhooks are sent. */ endpointUrl: string; /** The secret used to sign webhook payloads. */ secret: string; /** Whether the Webhook Endpoint is enabled or disabled. */ status: WebhookEndpointStatus; /** The events that the Webhook Endpoint is subscribed to. */ events: string[]; /** An ISO 8601 timestamp. */ createdAt: Date; /** An ISO 8601 timestamp. */ updatedAt: Date; } export interface WebhookEndpointResponse { object: 'webhook_endpoint'; id: string; endpoint_url: string; secret: string; status: WebhookEndpointStatus; events: string[]; created_at: string; updated_at: string; }