feat: add web phone call for cal ai (#23527)
* feat: add web phone call for cal ai * fix: web call * refactor: improvements * chore * refactor: web call improvements * chore: error message * refactor: improvements * fix: err * refactor: feedback and improvements * fix: type errors * refactor: hasAvailable * chore: use orgid * fix: types --------- Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
1 parent
2e96600529
commit
a8a3e48465
22 files changed
+1043
-44
No files matched your search
@@ -139,6 +139,7 @@
|
||||
"react-use-intercom": "1.5.1",
|
||||
"recoil": "^0.7.7",
|
||||
"remove-markdown": "^0.5.0",
|
||||
"retell-client-js-sdk": "^2.0.0",
|
||||
"retell-sdk": "^4.40.0",
|
||||
"rrule": "^2.7.1",
|
||||
"sanitize-html": "^2.10.0",
|
||||
|
||||
@@ -478,6 +478,24 @@
|
||||
<path d="M14 9a2 2 0 0 1-2 2H6l-4 4V4c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2z" ></path>
|
||||
<path d="M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1" ></path>
|
||||
</symbol>
|
||||
<symbol class="lucide lucide-mic-off" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="mic-off">
|
||||
<line x1="2" x2="22" y1="2" y2="22" ></line>
|
||||
<path d="M18.89 13.23A7.12 7.12 0 0 0 19 12v-2" ></path>
|
||||
<path d="M5 10v2a7 7 0 0 0 12 5" ></path>
|
||||
<path d="M15 9.34V5a3 3 0 0 0-5.68-1.33" ></path>
|
||||
<path d="M9 9v3a3 3 0 0 0 5.12 2.12" ></path>
|
||||
<line x1="12" x2="12" y1="19" y2="22" ></line>
|
||||
</symbol>
|
||||
<symbol class="lucide lucide-mic" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="mic">
|
||||
<path d="M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z" ></path>
|
||||
<path d="M19 10v2a7 7 0 0 1-14 0v-2" ></path>
|
||||
<line x1="12" x2="12" y1="19" y2="22" ></line>
|
||||
</symbol>
|
||||
<symbol class="lucide lucide-monitor" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="monitor">
|
||||
<rect width="20" height="14" x="2" y="3" rx="2" ></rect>
|
||||
<line x1="8" x2="16" y1="21" y2="21" ></line>
|
||||
<line x1="12" x2="12" y1="17" y2="21" ></line>
|
||||
</symbol>
|
||||
<symbol class="lucide lucide-moon" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="moon">
|
||||
<path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" ></path>
|
||||
</symbol>
|
||||
@@ -498,6 +516,10 @@
|
||||
<path d="M14.05 2a9 9 0 0 1 8 7.94" ></path>
|
||||
<path d="M14.05 6A5 5 0 0 1 18 10" ></path>
|
||||
</symbol>
|
||||
<symbol class="lucide lucide-phone-off" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="phone-off">
|
||||
<path d="M10.68 13.31a16 16 0 0 0 3.41 2.6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7 2 2 0 0 1 1.72 2v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.42 19.42 0 0 1-3.33-2.67m-2.67-3.34a19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91" ></path>
|
||||
<line x1="22" x2="2" y1="2" y2="22" ></line>
|
||||
</symbol>
|
||||
<symbol class="lucide lucide-phone" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="phone">
|
||||
<path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z" ></path>
|
||||
</symbol>
|
||||
|
||||
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 53 KiB |
@@ -860,6 +860,7 @@
|
||||
"phone_number_for_ai_call": "Phone number (for our agent to call)",
|
||||
"buy_a_phone_number_or_import_one_you_already_have": "Buy a phone number or import one you already have on twilio",
|
||||
"test_agent": "Test Agent",
|
||||
"test_web_call": "Test Web Call",
|
||||
"phone_numbers": "Phone Numbers",
|
||||
"unsubscribe": "Unsubscribe",
|
||||
"delete_workflow_step": "Delete Workflow Step",
|
||||
@@ -1479,6 +1480,24 @@
|
||||
"app_removed_successfully": "App removed successfully",
|
||||
"error_removing_app": "Error removing app",
|
||||
"web_conference": "Web conference",
|
||||
"web_call": "Web call",
|
||||
"start_web_call": "Start web call",
|
||||
"end_call": "End call",
|
||||
"test_your_agent_with_web_call": "Test your agent with a web call without requiring a phone number",
|
||||
"phone_call": "Phone call",
|
||||
"connecting_to_agent": "Connecting to agent...",
|
||||
"call_active": "Call active",
|
||||
"call_ended": "Call ended",
|
||||
"call_error": "Call error",
|
||||
"ready_to_start_call": "Ready to start call",
|
||||
"failed_to_start_web_call_try_again": "Failed to start web call. Please try again.",
|
||||
"call_encountered_error_try_again": "Call encountered an error. Please try again.",
|
||||
"failed_initialize_web_call_microphone_permissions": "Failed to initialize web call. Please ensure microphone permissions are granted.",
|
||||
"start_call_to_see_conversation": "Start a call to see the conversation",
|
||||
"waiting_for_conversation": "Waiting for conversation...",
|
||||
"ai_agent": "AI Agent",
|
||||
"live": "Live",
|
||||
"connecting": "Connecting...",
|
||||
"requires_confirmation": "Requires confirmation",
|
||||
"requires_confirmation_threshold": "Requires confirmation if booked with < {{time}} $t({{unit}}_timeUnit) notice",
|
||||
"may_require_confirmation": "May require confirmation",
|
||||
@@ -1714,6 +1733,7 @@
|
||||
"transcription_enabled": "Transcriptions are enabled now",
|
||||
"transcription_stopped": "Transcriptions are stopped now",
|
||||
"download_transcript": "Download Transcript",
|
||||
"transcript": "Transcript",
|
||||
"recording_from_your_recent_call": "A recording from your recent call on {{appName}} is ready for download",
|
||||
"transcript_from_previous_call": "Transcript from your recent call on {{appName}} is ready to download. Links are valid only for 1 Hour",
|
||||
"you_can_download_transcript_from_attachments": "You can also download transcript from attachments",
|
||||
@@ -3622,6 +3642,11 @@
|
||||
"send_another_message": "Send another message",
|
||||
"sending": "Sending",
|
||||
"no_variables_found": "No variables found",
|
||||
"credits_required": "Credits Required",
|
||||
"web_call_credits_info": "Web calls consume credits. Make sure you have enough credits to start a call.",
|
||||
"web_call_no_credits": "Web calls require credits. You have 0 credits remaining.",
|
||||
"purchase_credits": "Purchase Credits",
|
||||
"credits_required_tooltip": "This action requires credits to proceed",
|
||||
"api_key_name_too_long": "Name must not exceed {{max}} characters",
|
||||
"auto_charge_for_last_minute_cancellation": "Auto charge no-show fee for last minute cancellations",
|
||||
"before_scheduled_start_time": "Before scheduled start time",
|
||||
|
||||
Reference in new issue
Block a user