UNPKG

ch-chat-api-client-orval

Version:

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

45 lines (43 loc) 1.2 kB
/** * Generated by orval v7.10.0 🍺 * Do not edit manually. * Cloudhospital.ChatApi * OpenAPI spec version: 1.0 */ import type { PlatformTypes } from './platformTypes'; import type { PlatformMetadata } from './platformMetadata'; import type { ChatParticipant } from './chatParticipant'; import type { IntakeForm } from './intakeForm'; import type { ChatSessionStatus } from './chatSessionStatus'; export interface ChatSessionModel { id?: string; tenantId?: string; /** @nullable */ title?: string | null; /** @nullable */ userName?: string | null; /** @nullable */ userEmail?: string | null; /** @nullable */ phoneNumber?: string | null; handoffRequested?: boolean; platformType?: PlatformTypes; platformMetadata?: PlatformMetadata; /** @nullable */ assigneeId?: string | null; /** @nullable */ participants?: ChatParticipant[] | null; intakeForm?: IntakeForm; createdDate?: string; /** @nullable */ createdBy?: string | null; /** @nullable */ updatedDate?: string | null; /** @nullable */ lastActivatedDate?: string | null; status?: ChatSessionStatus; isRead?: boolean; /** @nullable */ updatedBy?: string | null; isGuest?: boolean; }