import { Properties, PropertiesFilter } from "./structures"; export interface Filter { values?: T[]; exclude_values?: T[]; } export interface FilterType extends Filter { exists?: boolean; require_every_value?: boolean; } export interface SurveyFilter { from?: string; to?: string; type: SurveyType; values?: string[]; exclude_values?: string[]; exists?: boolean; groups?: Filter; } export interface GreetingsFilter extends Filter { from?: string; to?: string; exists?: boolean; groups?: Filter; } export interface AgentResponseFilter { first?: boolean; exists?: boolean; agents?: Filter; groups?: Filter; } export interface AgentTypesFilter { all_values?: string[]; any_values?: string[]; exclude_values?: string[]; } export interface ChatsFilters { include_active?: boolean; include_chats_without_threads?: boolean; group_ids?: number[]; properties?: Properties; } export interface ThreadsFilters { from?: string; to?: string; } export interface ArchivesFilters { query?: string; from?: string; to?: string; thread_ids?: string[]; group_ids?: number[]; properties?: PropertiesFilter; agents?: FilterType; agent_types?: AgentTypesFilter; tags?: FilterType; sales?: FilterType; goals?: FilterType; surveys?: SurveyFilter[]; event_types?: Omit, "exists">; greetings?: GreetingsFilter; agent_response?: AgentResponseFilter; } export declare enum SurveyType { PreChat = "pre_chat", PostChat = "post_chat" } //# sourceMappingURL=filters.d.ts.map