Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,19 @@ node_modules
.idea
.env
.claude/settings.json
.claude/settings.local.json
.claude/settings.local.json
.vscode/
.venv/
venv/

backend/database/postgres/
database/postgres/
dashboard/tsconfig.tsbuildinfo

firebase-service-account.json
*firebase*.json

.DS_Store
neve/.env.neve
backend/.venv-wasil/
backend/.claude/settings.json
2 changes: 1 addition & 1 deletion dist/components/Badge.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 14 additions & 3 deletions dist/components/Bot.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export type AgentFlowExecutedData = {
};
export type MessageType = {
messageId?: string;
external_chat_msg_id?: string;
message: string;
type: messageType;
sourceDocuments?: any;
Expand All @@ -80,13 +81,19 @@ export type MessageType = {
thinking?: string;
thinkingDuration?: number;
isThinking?: boolean;
meetingData?: {
client_meeting_time?: string;
client_meeting_date?: string;
client_meeting_timezone?: string;
client_name?: string;
client_email?: string;
};
};
type observerConfigType = (accessor: string | boolean | object | MessageType[]) => void;
export type observersConfigType = Record<'observeUserInput' | 'observeLoading' | 'observeMessages', observerConfigType>;
export type BotProps = {
chatflowid: string;
apiHost?: string;
pageTitle?: string;
onRequest?: (request: RequestInit) => Promise<void>;
chatflowConfig?: Record<string, unknown>;
backgroundColor?: string;
Expand Down Expand Up @@ -116,23 +123,27 @@ export type BotProps = {
starterPrompts?: string[] | Record<string, {
prompt: string;
}>;
quickActions?: string[];
starterPromptFontSize?: number;
clearChatOnReload?: boolean;
disclaimer?: DisclaimerPopUpTheme;
dateTimeToggle?: DateTimeToggleTheme;
renderHTML?: boolean;
closeBot?: () => void;
isExpand?: boolean;
pageTitle?: string;
hasCustomHeader?: boolean;
dialogContainer?: HTMLElement;
};
export type LeadsConfig = {
status: boolean;
title?: string;
name?: boolean;
firstName?: boolean;
email?: boolean;
phone?: boolean;
consentCheckbox?: any;
successMessage?: string;
};
export declare function renderTemplate(template: string, data: Record<string, any>): string;
export declare const Bot: (botProps: BotProps & {
class?: string;
}) => import("solid-js").JSX.Element;
Expand Down
2 changes: 1 addition & 1 deletion dist/components/Bot.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/components/FeedbackContentDialog.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ type FeedbackContentDialogProps = {
onSubmit: (text: string) => void;
backgroundColor?: string;
textColor?: string;
primaryColor?: string;
};
declare const FeedbackContentDialog: (props: FeedbackContentDialogProps) => import("solid-js").JSX.Element;
export default FeedbackContentDialog;
Expand Down
2 changes: 1 addition & 1 deletion dist/components/FeedbackContentDialog.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions dist/components/bubbles/BotBubble.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { FeedbackRatingType } from '@/queries/sendMessageQuery';
import { IAction, MessageType } from '../Bot';
import { DateTimeToggleTheme } from '@/features/bubble/types';
type Props = {
Expand All @@ -19,13 +18,13 @@ type Props = {
dateTimeToggle?: DateTimeToggleTheme;
showAgentMessages?: boolean;
sourceDocsTitle?: string;
hideSources?: boolean;
renderHTML?: boolean;
shouldStream?: boolean;
isWelcomeMessage?: boolean;
isFirstMessage?: boolean;
handleActionClick: (elem: any, action: IAction | undefined | null) => void;
handleSourceDocumentsClick: (src: any) => void;
onRegenerateResponse?: () => void;
onMessageRendered?: () => void;
messageRatings?: Record<string, FeedbackRatingType>;
onMessageRatingChange?: (messageId: string, rating: FeedbackRatingType) => void;
isTTSEnabled?: boolean;
isTTSLoading?: Record<string, boolean>;
isTTSPlaying?: Record<string, boolean>;
Expand Down
2 changes: 1 addition & 1 deletion dist/components/bubbles/BotBubble.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions dist/components/bubbles/LeadCaptureBubble.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ type Props = {
isLeadSaved: boolean;
setIsLeadSaved: (value: boolean) => void;
setLeadEmail: (value: string) => void;
setLeadFirstName: (value: string) => void;
setIsConsentGiven: (value: boolean) => void;
isExpand?: boolean;
addPersonalizedWelcome: (firstName: string) => void;
};
export declare const LeadCaptureBubble: (props: Props) => import("solid-js").JSX.Element;
export {};
Expand Down
2 changes: 1 addition & 1 deletion dist/components/bubbles/LeadCaptureBubble.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading