/** * Generated by orval v8.19.0 🍺 * Do not edit manually. * Webitel API * OpenAPI spec version: 24.04.0 */ import type { WebitelImApiGatewayV1HistoryMessage } from './webitelImApiGatewayV1HistoryMessage.zod'; import type { WebitelImApiGatewayV1ThreadKind } from './webitelImApiGatewayV1ThreadKind.zod'; import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember.zod'; import type { WebitelImApiGatewayV1ThreadSettings } from './webitelImApiGatewayV1ThreadSettings.zod'; import type { WebitelImApiGatewayV1ThreadVariables } from './webitelImApiGatewayV1ThreadVariables.zod'; /** * Thread represents a thread (aka chat or conversation) entity. */ export interface WebitelImApiGatewayV1Thread { /** Thread creation timestamp (Unix time, milliseconds). */ createdAt?: string; /** Optional thread description. */ description?: string; /** Unique thread identifier. */ id?: string; /** Last message of the linked thread. */ lastMsg?: WebitelImApiGatewayV1HistoryMessage; /** Detailed member information. */ members?: WebitelImApiGatewayV1ThreadMember[]; /** User-specific settings for this thread. */ settings?: WebitelImApiGatewayV1ThreadSettings; /** Thread subject or title. */ subject?: string; /** Type of the thread. */ type?: WebitelImApiGatewayV1ThreadKind; /** Last update timestamp (Unix time, milliseconds). */ updatedAt?: string; /** Optional variables associated with the thread. */ variables?: WebitelImApiGatewayV1ThreadVariables; }