/** * Generated by orval v8.19.0 🍺 * Do not edit manually. * Webitel API * OpenAPI spec version: 24.04.0 */ import type { ThreadManagementSearchLeftTypesItem } from './threadManagementSearchLeftTypesItem'; export type ThreadManagementSearchLeftParams = { /** * List of fields that should be returned in the response. * If empty, a default set of fields is returned. * Used for response optimization. */ fields?: string[]; /** * Filter threads by their kinds * * - UNKNOWN: Unknown or unspecified thread type. * Must not be used in valid requests. * - DIRECT: One-to-one private thread between two users. * - GROUP: Group thread with multiple members. * - CHANNEL: Channel-style thread (broadcast or topic based communication). */ types?: ThreadManagementSearchLeftTypesItem[]; /** * Sorting field. * Optional "+" or "-" prefix indicates ascending or descending order. * Example: "-created_at", "subject" */ sort?: string; /** * Maximum number of threads to return per page. * Must be greater than 0 and less than or equal to 100. */ size?: number; /** * Page number (1-based). */ page?: number; };