feat: cal ai templates (#15391)

* chore: save progress

* feat: add schema and fieds

* chore: update code

* chore: save

* refactor: code and type error

* feat: use facade + command design pattern

* chore: missing param

* feat: add custom template feature

* refactor: code

* chore: move the default prompt

* fix: type err

* fix: code and ux improvements

* chore: change default template

* fix: ui and typo

* fix: add validation check for my phone number

---------

Co-authored-by: Joe Au-Yeung <[email protected]>
This commit is contained in:
Udit TakkarandJoe Au-Yeung authored and GitHub committed 2024-07-30 13:09:12 +02:00
1 parent c6febad364
commit 199d95b35f
17 files changed
+759 -340

No files matched your search

@@ -53,9 +53,11 @@ export type Event = {
beginMessage: string | null;
yourPhoneNumber: string;
numberToCall: string;
guestName: string;
guestEmail: string;
guestCompany: string;
guestName?: string;
guestEmail?: string;
guestCompany?: string;
templateType: string;
schedulerName?: string;
};
schedulingType: string;
length: number;