UNPKG

ch-chat-api-typescript-axios

Version:

An OpenAPI generator tool for the CH Chat API, designed to simplify API client generation and streamline integration workflows.

108 lines (107 loc) 2.28 kB
/** * Cloudhospital.ChatApi * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { AuthorRoles } from './author-roles'; import type { InteractiveFlowMessageModel } from './interactive-flow-message-model'; import type { MediaModel } from './media-model'; import type { MessageTypes } from './message-types'; import type { TemplateMessageModel } from './template-message-model'; /** * * @export * @interface ChatMessage */ export interface ChatMessage { /** * * @type {string} * @memberof ChatMessage */ 'id'?: string; /** * * @type {string} * @memberof ChatMessage */ 'sessionId'?: string; /** * * @type {string} * @memberof ChatMessage */ 'pariticipantId'?: string; /** * * @type {string} * @memberof ChatMessage */ 'userId'?: string; /** * * @type {string} * @memberof ChatMessage */ 'platformMessageId'?: string | null; /** * * @type {string} * @memberof ChatMessage */ 'userName'?: string | null; /** * * @type {string} * @memberof ChatMessage */ 'userEmail'?: string | null; /** * * @type {string} * @memberof ChatMessage */ 'text'?: string | null; /** * * @type {MediaModel} * @memberof ChatMessage */ 'media'?: MediaModel; /** * * @type {InteractiveFlowMessageModel} * @memberof ChatMessage */ 'flowMessage'?: InteractiveFlowMessageModel; /** * * @type {TemplateMessageModel} * @memberof ChatMessage */ 'templateMessage'?: TemplateMessageModel; /** * * @type {AuthorRoles} * @memberof ChatMessage */ 'authorRole'?: AuthorRoles; /** * * @type {MessageTypes} * @memberof ChatMessage */ 'messageType'?: MessageTypes; /** * * @type {Date} * @memberof ChatMessage */ 'createdDate'?: Date; }