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

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

/**
 * @example
 *     {
 *         assistantIdAny: "assistant-1,assistant-2,assistant-3"
 *     }
 */
export interface ListChatsRequest {
    /** This is the unique identifier for the chat to filter by. */
    id?: string;
    /** This is the unique identifier for the assistant that will be used for the chat. */
    assistantId?: string;
    /** Filter by multiple assistant IDs. Provide as comma-separated values. */
    assistantIdAny?: string;
    /** This is the unique identifier for the squad that will be used for the chat. */
    squadId?: string;
    /** This is the unique identifier for the session that will be used for the chat. */
    sessionId?: string;
    /** This is the unique identifier for the previous chat to filter by. */
    previousChatId?: string;
    /** This is the page number to return. Defaults to 1. */
    page?: number;
    /** This is the sort order for pagination. Defaults to 'DESC'. */
    sortOrder?: Vapi.ListChatsRequestSortOrder;
    /** This is the maximum number of items to return. Defaults to 100. */
    limit?: number;
    /** This will return items where the createdAt is greater than the specified value. */
    createdAtGt?: string;
    /** This will return items where the createdAt is less than the specified value. */
    createdAtLt?: string;
    /** This will return items where the createdAt is greater than or equal to the specified value. */
    createdAtGe?: string;
    /** This will return items where the createdAt is less than or equal to the specified value. */
    createdAtLe?: string;
    /** This will return items where the updatedAt is greater than the specified value. */
    updatedAtGt?: string;
    /** This will return items where the updatedAt is less than the specified value. */
    updatedAtLt?: string;
    /** This will return items where the updatedAt is greater than or equal to the specified value. */
    updatedAtGe?: string;
    /** This will return items where the updatedAt is less than or equal to the specified value. */
    updatedAtLe?: string;
}
