// This file was auto-generated by Fern from our API Definition.

import type * as Vapi from "../index.js";

export interface SecurityFilterPlan {
    /**
     * Whether the security filter is enabled.
     * @default false
     */
    enabled?: boolean | undefined;
    /**
     * Array of security filter types to apply.
     * If array is not empty, only those security filters are run.
     */
    filters?: Vapi.SecurityFilterBase[] | undefined;
    /**
     * Mode of operation when a security threat is detected.
     * - 'sanitize': Remove or replace the threatening content
     * - 'reject': Replace the entire transcript with replacement text
     * - 'replace': Replace threatening patterns with replacement text
     * @default 'sanitize'
     */
    mode?: Vapi.SecurityFilterPlanMode | undefined;
    /**
     * Text to use when replacing filtered content.
     * @default '[FILTERED]'
     */
    replacementText?: string | undefined;
}
