UNPKG

mind-link-ai-widget

Version:

A react widget for React Web and React-Native Mobile integrations.

86 lines 1.97 kB
export interface CredibleMindItem { entry_id: string; content_type: string; content_url: string; title: string; description: string; image_url: string; similarity_score: number; } export interface ProviderSearchItem { providerId: string; name: { firstName: string; lastName: string; }; title: string; contact: { address: { addr1: string; city: string; state: string; zip: string; }; phone: string; officeEmail: string; website: string; }; specialties: { name: string; }[]; onlineAppointmentScheduleFlag: number; languages: string[]; ageGroups: string[]; fields?: { distance?: number[]; }; yellowLabels?: { icon: string; label?: string; notAvailable?: boolean; }[]; } export interface ChatMessage { id: string; sender: 'user' | 'bot'; text?: string; timestamp?: Date; crediblemind?: CredibleMindItem[]; providers?: ProviderSearchItem[]; showNavigationButton?: boolean; } export interface ChatProps { showGreeting: boolean; onStartChat: () => void; chipToSend?: string | null; onChipSent?: () => void; chips?: string[]; selectedChipIdx?: number | null; handleChipClick?: (idx: number) => void; user?: { fname?: string; lname?: string; dob?: string; gender?: string; email?: string; phone?: string; address?: string; city?: string; state?: string; zip?: string; country?: string; locale?: string; geolocation?: { lat: number; lon: number; }; timezone?: string; }; product: string; client: string; channel: string; isLoggedIn: boolean; token: string; config: any; } //# sourceMappingURL=interfaces.d.ts.map