UNPKG

ch-chat-api-client-orval

Version:

TypeScript API client for CH Chat API with SWR hooks and Axios integration

31 lines (29 loc) 868 B
/** * Generated by orval v7.10.0 🍺 * Do not edit manually. * Cloudhospital.ChatApi * OpenAPI spec version: 1.0 */ import type { MediaModel } from './mediaModel'; import type { InteractiveFlowMessageModel } from './interactiveFlowMessageModel'; import type { TemplateMessageModel } from './templateMessageModel'; import type { AuthorRoles } from './authorRoles'; import type { MessageTypes } from './messageTypes'; export interface ChatMessage { id?: string; sessionId?: string; pariticipantId?: string; userId?: string; /** @nullable */ userName?: string | null; /** @nullable */ userEmail?: string | null; /** @nullable */ text?: string | null; media?: MediaModel; flowMessage?: InteractiveFlowMessageModel; templateMessage?: TemplateMessageModel; authorRole?: AuthorRoles; messageType?: MessageTypes; createdDate?: string; }