import type { TurnstileWidgetMode } from './TurnstileWidgetMode'; /** * @type TurnstileWidget: Cloudflare Turnstile widget details, including the shared secret. * * @property sitekey: Unique identifier for the widget. * - **Pattern:** /^[A-Za-z0-9_-]+$/ * - **Min Length:** 1 * - **Max Length:** 64 * * @property name: Human-readable widget name. * - **Min Length:** 1 * - **Max Length:** 255 * * @property mode: * * @property domains: Domains associated with the widget. * * @property bot_fight_mode: Whether bot fight mode is enabled. * * @property region: Widget region. * - **Min Length:** 1 * - **Max Length:** 50 * * @property offlabel: Whether the widget is off-label. * * @property clearance_level: Clearance level for the widget. * - **Min Length:** 1 * - **Max Length:** 50 * * @property created_on: Timestamp when the widget was created. * * @property modified_on: Timestamp when the widget was last modified. * * @property secret: The widget shared secret. Handle with care. * - **Min Length:** 1 * - **Max Length:** 255 * */ export type TurnstileWidget = { sitekey?: string; name?: string; mode?: TurnstileWidgetMode; domains?: Array; bot_fight_mode?: boolean; region?: string; offlabel?: boolean; clearance_level?: string; created_on?: string; modified_on?: string; secret?: string; } & { [key: string]: any; };