import { embedDeeplink } from './components/deeplink/EmbedDeeplink'; import { embed } from './components/embed/WidgetEmbed'; import { floating } from './components/floating/WidgetFloating'; export interface IWidgetCredential { handle: string; password: string; } export type TypeWidgetDirection = "topLeft" | "topRight" | "bottomLeft" | "bottomRight"; export interface IWidget { id: string; hostUrl: string; userCredentials?: IWidgetCredential[]; signInWithoutCookie?: boolean; } export interface NeomeWidget extends IWidget { allowPersonalChat?: boolean; demoFlag?: boolean; filterEntId?: string; selectGroupId?: string; selectGroupIdBackButton?: boolean; allowAdminPanel?: boolean; allowStore?: boolean; allowStudio?: boolean; allowTerminal?: boolean; allowPushNotifications?: boolean; } export interface NeomeWidgetEmbed extends NeomeWidget { } export interface NeomeWidgetFloating extends NeomeWidget { disableBadgeCount?: boolean; floatingButtonIconSrc?: string; onOpenHideWidgetButton?: boolean; widgetHeight?: number; widgetWidth?: number; direction?: TypeWidgetDirection; } export interface NeomeWidgetDeeplink extends IWidget { hideFooter?: boolean; } export { embed, floating, embedDeeplink };