feat: cal.ai enterprise phone calls (#14100)

* added empty layout

* init

* yarn lock due to package changes

* added retell ai to .env

* removed ton of glue code

* nit

* Discard changes to package.json

* Upgrades lucide-react

* minor UI fixes

* nit

* nit

* feat: save progress

* feat: v1

* fix: type error

* feat: change schema

* fix: type error and testr

* chore: update agent

* chore: change default prompt

* feat: feedback and improvements

* fix: type error

* fix: type error

* hidden for now while in trial

* added i18n and removed some comments

* feat: add cal api key

* fix: type error

---------

Co-authored-by: Omar López <[email protected]>
Co-authored-by: Udit Takkar <[email protected]>
Co-authored-by: Udit Takkar <[email protected]>
Co-authored-by: Joe Au-Yeung <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-03-28 13:59:01 +00:00
1 parent eec76ecfe2
commit 1025238eee
42 files changed
+724 -59

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@
"@tanstack/react-query": "^5.17.15",
"class-variance-authority": "^0.4.0",
"clsx": "^2.0.0",
"lucide-react": "^0.171.0",
"lucide-react": "^0.363.0",
"react-use": "^17.4.2",
"tailwind-merge": "^1.13.2",
"tailwindcss": "^3.3.3",
@@ -45,6 +45,15 @@ export type Event = {
eventName: string;
slug: string;
isInstantEvent: boolean;
aiPhoneCallConfig: {
eventTypeId: number;
enabled: boolean;
generalPrompt: string;
beginMessage: string | null;
yourPhoneNumber: string;
numberToCall: string;
guestName: string;
};
schedulingType: string;
length: number;
locations: string[]; // Define more specifically if possible