UNPKG

converse-ai-support-library

Version:

A React component library for floating contact buttons (email, chat, call)

36 lines (35 loc) 871 B
import { RuntimeAgentResponse } from './agent'; import { GetInfoFormData } from './GetInfoForm'; export interface EmailProps { isOpen?: boolean; enterpriseId: string; baseUrl: string; showClose?: boolean; onClose?: () => void; className?: string; mediaId?: string; onMinimize?: () => void; onExpand?: () => void; showMinimize?: boolean; showExpand?: boolean; onHeaderClick?: () => void; minimized?: boolean; leadData?: GetInfoFormData; agentData?: RuntimeAgentResponse; } export interface EmailFormData { user_email: string; dealerEmail: string; subject: string; message: string; } export interface EmailTemplateParams { name: string; email: string; message: string; to_email: string; customer_email: string; from_email: string; subject: string; title: string; }