import type * as ElevenLabs from "../../../../../../../../index";
/**
 * @example
 *     {
 *         textQuery: "refund policy",
 *         agentId: "agent_id",
 *         callSuccessful: "success",
 *         callStartBeforeUnix: 1,
 *         callStartAfterUnix: 1,
 *         callDurationMinSecs: 1,
 *         callDurationMaxSecs: 1,
 *         ratingMax: 1,
 *         ratingMin: 1,
 *         hasFeedbackComment: true,
 *         userId: "user_id",
 *         pageSize: 1,
 *         summaryMode: "exclude",
 *         conversationInitiationSource: "unknown",
 *         branchId: "branch_id",
 *         sortBy: "search_score",
 *         cursor: "cursor"
 *     }
 */
export interface MessagesTextSearchRequest {
    /** The search query text for full-text and fuzzy matching */
    textQuery: string;
    /** The id of the agent you're taking the action on. */
    agentId?: string;
    /** The result of the success evaluation */
    callSuccessful?: ElevenLabs.EvaluationSuccessResult;
    /** Unix timestamp (in seconds) to filter conversations up to this start date. */
    callStartBeforeUnix?: number;
    /** Unix timestamp (in seconds) to filter conversations after to this start date. */
    callStartAfterUnix?: number;
    /** Minimum call duration in seconds. */
    callDurationMinSecs?: number;
    /** Maximum call duration in seconds. */
    callDurationMaxSecs?: number;
    /** Maximum overall rating (1-5). */
    ratingMax?: number;
    /** Minimum overall rating (1-5). */
    ratingMin?: number;
    /** Filter conversations with user feedback comments. */
    hasFeedbackComment?: boolean;
    /** Filter conversations by the user ID who initiated them. */
    userId?: string;
    /** Evaluation filters. Repeat param. Format: criteria_id:result. Example: eval=value_framing:success */
    evaluationParams?: string | string[];
    /** Data collection filters. Repeat param. Format: id:op:value where op is one of eq|neq|gt|gte|lt|lte|in|exists|missing. For in, pipe-delimit values. */
    dataCollectionParams?: string | string[];
    /** Filter conversations by tool names used during the call. */
    toolNames?: string | string[];
    /** Filter conversations by tool names that had successful calls. */
    toolNamesSuccessful?: string | string[];
    /** Filter conversations by tool names that had errored calls. */
    toolNamesErrored?: string | string[];
    /** Filter conversations by detected main language (language code). */
    mainLanguages?: string | string[];
    /** Number of results per page. Max 50. */
    pageSize?: number;
    /** Whether to include transcript summaries in the response. */
    summaryMode?: ElevenLabs.conversationalAi.conversations.MessagesTextSearchRequestSummaryMode;
    conversationInitiationSource?: ElevenLabs.ConversationInitiationSource;
    /** Filter conversations by branch ID. */
    branchId?: string;
    /** Sort order for search results. 'search_score' sorts by search score, 'created_at' sorts by conversation start time. */
    sortBy?: ElevenLabs.MessageSearchSortBy;
    /** Used for fetching next page. Cursor is returned in the response. */
    cursor?: string;
}
