{"openapi":"3.1.0","info":{"title":"Auditory API","version":"0.1.0"},"paths":{"/api/v1/analytics/meddic":{"get":{"tags":["analytics"],"summary":"Get Meddic Analytics","description":"Get MEDDIC analytics over time per salesperson.\n\nReturns time series data showing:\n- MEDDIC field completion counts over time\n- Per-salesperson breakdown\n- Organization aggregate metrics\n\nQuery parameters:\n- start_date: Start of the analytics period (required)\n- end_date: End of the analytics period (required)\n- time_bucket: How to group data - daily, weekly, or monthly (default: weekly)\n- salesperson_emails: Optional filter to specific salespeople\n\nThe response includes:\n- Individual salesperson metrics with time series data\n- Organization-wide aggregate metrics\n- Completion rates showing percentage of calls with all 6 MEDDIC fields","operationId":"get_meddic_analytics_api_v1_analytics_meddic_get","parameters":[{"name":"start_date","in":"query","required":true,"schema":{"type":"string","format":"date-time","description":"Start date for analytics period (ISO format)","title":"Start Date"},"description":"Start date for analytics period (ISO format)"},{"name":"end_date","in":"query","required":true,"schema":{"type":"string","format":"date-time","description":"End date for analytics period (ISO format)","title":"End Date"},"description":"End date for analytics period (ISO format)"},{"name":"time_bucket","in":"query","required":false,"schema":{"$ref":"#/components/schemas/TimeBucket","description":"Time bucket for grouping data (daily, weekly, monthly)","default":"weekly"},"description":"Time bucket for grouping data (daily, weekly, monthly)"},{"name":"salesperson_emails","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Optional list of salesperson emails to filter by","title":"Salesperson Emails"},"description":"Optional list of salesperson emails to filter by"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeddicAnalyticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/analytics/calls-count":{"get":{"tags":["analytics"],"summary":"Get Calls Count","description":"Get call counts per salesperson and organization total.\n\nReturns the number of calls for each salesperson in the organization\nwithin the specified date range, along with the organization-wide total.\n\nQuery parameters:\n- start_date: Start of the counting period (required)\n- end_date: End of the counting period (required)\n- salesperson_emails: Optional filter to specific salespeople\n\nThe response includes:\n- Individual salesperson call counts\n- Organization-wide total call count","operationId":"get_calls_count_api_v1_analytics_calls_count_get","parameters":[{"name":"start_date","in":"query","required":true,"schema":{"type":"string","format":"date-time","description":"Start date for counting calls (ISO format)","title":"Start Date"},"description":"Start date for counting calls (ISO format)"},{"name":"end_date","in":"query","required":true,"schema":{"type":"string","format":"date-time","description":"End date for counting calls (ISO format)","title":"End Date"},"description":"End date for counting calls (ISO format)"},{"name":"salesperson_emails","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Optional list of salesperson emails to filter by","title":"Salesperson Emails"},"description":"Optional list of salesperson emails to filter by"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallsCountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/calls":{"get":{"tags":["calls"],"summary":"List Calls","description":"List calls for the user's organization with comprehensive filtering options.\n\nSupports filtering by:\n- Date range (specific dates or predefined ranges)\n- Participants (attendee email or company domain)\n- Content (search text, platform, recordings, transcripts, analysis)\n- Deal association\n\nResults are paginated and sortable.","operationId":"list_calls_api_v1_calls_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of calls to return","default":10,"title":"Limit"},"description":"Number of calls to return"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of calls to skip","default":0,"title":"Offset"},"description":"Number of calls to skip"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter calls scheduled on or after this date","title":"Start Date"},"description":"Filter calls scheduled on or after this date"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter calls scheduled on or before this date","title":"End Date"},"description":"Filter calls scheduled on or before this date"},{"name":"date_range","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/DateRangeEnum"},{"type":"null"}],"description":"Predefined date range","title":"Date Range"},"description":"Predefined date range"},{"name":"attendee_email","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter calls where this email was an attendee","title":"Attendee Email"},"description":"Filter calls where this email was an attendee"},{"name":"attendee_search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Fuzzy search on attendee name or email","title":"Attendee Search"},"description":"Fuzzy search on attendee name or email"},{"name":"company_domain","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter calls with attendees from this domain","title":"Company Domain"},"description":"Filter calls with attendees from this domain"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search in title and description","title":"Search"},"description":"Search in title and description"},{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by meeting platform","title":"Platform"},"description":"Filter by meeting platform"},{"name":"deal_uid","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Filter calls associated with a deal","title":"Deal Uid"},"description":"Filter calls associated with a deal"},{"name":"salesperson_emails","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Filter calls where any of these salespeople were attendees","title":"Salesperson Emails"},"description":"Filter calls where any of these salespeople were attendees"},{"name":"meddic_completion","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/MeddicCompletionEnum"},{"type":"null"}],"description":"Filter by MEDDIC completion level","title":"Meddic Completion"},"description":"Filter by MEDDIC completion level"},{"name":"tracker_label_uids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Filter calls that have tracker results with any of these label UIDs","title":"Tracker Label Uids"},"description":"Filter calls that have tracker results with any of these label UIDs"},{"name":"sort_by","in":"query","required":false,"schema":{"$ref":"#/components/schemas/SortByEnum","description":"Field to sort by","default":"scheduled_start"},"description":"Field to sort by"},{"name":"sort_order","in":"query","required":false,"schema":{"$ref":"#/components/schemas/SortOrderEnum","description":"Sort order","default":"desc"},"description":"Sort order"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/calls/organization/{organization_uid}/call/{call_uid}":{"get":{"tags":["calls"],"summary":"Get Call Details","description":"Get detailed information about a specific call.\n\nReturns full call details including:\n- Basic call information\n- List of attendees\n- Analysis summary (if available)\n- Action items\n- Key topics\n- BANT/MEDDIC scores\n- Pain points\n- Deal risks","operationId":"get_call_details_api_v1_calls_organization__organization_uid__call__call_uid__get","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"call_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Call Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/calls/organization/{organization_uid}/call/{call_uid}/transcript":{"get":{"tags":["calls"],"summary":"Download Transcript","description":"Download the transcript for a call as a formatted text file.","operationId":"download_transcript_api_v1_calls_organization__organization_uid__call__call_uid__transcript_get","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"call_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Call Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/calls/organization/{organization_uid}/call/{call_uid}/classification":{"patch":{"tags":["calls"],"summary":"Update Call Classification","description":"Update the call classification for a specific call.","operationId":"update_call_classification_api_v1_calls_organization__organization_uid__call__call_uid__classification_patch","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"call_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Call Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCallClassificationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCallClassificationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/calls/{call_uid}/visibility":{"put":{"tags":["calls"],"summary":"Set Call Visibility","description":"Set the visibility level for a call.","operationId":"set_call_visibility_api_v1_calls__call_uid__visibility_put","parameters":[{"name":"call_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Call Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetCallVisibilityRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallVisibilityResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/all":{"get":{"tags":["events"],"summary":"List Calendar Events","description":"List calendar events for the current user.\n\nDate parameters are optional. If not provided, defaults to ±30 days from today.\nMaximum allowed range is 60 days in each direction from today.","operationId":"list_calendar_events_events_all_get","parameters":[{"name":"time_min","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Start date for events (ISO format)","title":"Time Min"},"description":"Start date for events (ISO format)"},{"name":"time_max","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"End date for events (ISO format)","title":"Time Max"},"description":"End date for events (ISO format)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CalendarEventWebResponse"},"title":"Response List Calendar Events Events All Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/events/organization/{organization_uid}/event/{event_uid}":{"get":{"tags":["events"],"summary":"Get Calendar Event","operationId":"get_calendar_event_events_organization__organization_uid__event__event_uid__get","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"event_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichedCalendarEventResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/google/connect":{"get":{"tags":["google"],"summary":"Connect Google","description":"Initiate Google OAuth connection.","operationId":"connect_google_google_connect_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/google/oauth/callback":{"get":{"tags":["google"],"summary":"Google Callback","description":"Handle Google OAuth callback.","operationId":"google_callback_google_oauth_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/google/calendar/webhook":{"post":{"tags":["google"],"summary":"Handle Calendar Webhook","description":"Handle Google Calendar push notifications.\n\nThis endpoint receives webhooks from Google when calendar events change.","operationId":"handle_calendar_webhook_google_calendar_webhook_post","parameters":[{"name":"X-Goog-Channel-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Goog-Channel-Id"}},{"name":"X-Goog-Resource-State","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Goog-Resource-State"}},{"name":"X-Goog-Resource-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Goog-Resource-Id"}},{"name":"X-Goog-Channel-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Goog-Channel-Token"}},{"name":"X-Goog-Message-Number","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Goog-Message-Number"}},{"name":"X-Goog-Channel-Expiration","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Goog-Channel-Expiration"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health/check":{"get":{"tags":["health"],"summary":"Health Check","operationId":"health_check_health_check_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integrations/status":{"get":{"tags":["integrations"],"summary":"Get Integrations Status","operationId":"get_integrations_status_integrations_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationsStatusResponse"}}}}}}},"/integrations/{provider}/disconnect":{"post":{"tags":["integrations"],"summary":"Disconnect Integration","description":"Disconnect any integration by deleting the user's OAuth tokens.","operationId":"disconnect_integration_integrations__provider__disconnect_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/microsoft/connect":{"get":{"tags":["microsoft"],"summary":"Connect Microsoft","description":"Initiate Microsoft OAuth connection.","operationId":"connect_microsoft_microsoft_connect_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/microsoft/oauth/callback":{"get":{"tags":["microsoft"],"summary":"Microsoft Callback","description":"Handle Microsoft OAuth callback.","operationId":"microsoft_callback_microsoft_oauth_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/microsoft/calendar/webhook":{"post":{"tags":["microsoft"],"summary":"Handle Calendar Webhook","description":"Handle Microsoft Calendar push notifications.\n\nThis endpoint receives webhooks from Microsoft when calendar events change.","operationId":"handle_calendar_webhook_microsoft_calendar_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/recall/webhook":{"post":{"tags":["recall"],"summary":"Recall Webhook","description":"Handle Recall AI webhook events.\nSimple status updates are handled directly, complex workflows use Temporal.","operationId":"recall_webhook_recall_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/attendee/webhook":{"post":{"tags":["attendee"],"summary":"Attendee Webhook","description":"Handle Attendee webhook events.\nSimple status updates are handled directly, complex workflows can use Temporal.","operationId":"attendee_webhook_attendee_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/bots/on-demand":{"post":{"tags":["bots"],"summary":"Start On Demand Bot","description":"Start a bot for a meeting URL immediately, without scheduling.","operationId":"start_on_demand_bot_bots_on_demand_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnDemandBotRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnDemandBotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/live/calls/{bot_id}/transcript":{"get":{"tags":["live"],"summary":"Get Live Transcript","description":"Get live transcript utterances for a bot, with optional polling support.","operationId":"get_live_transcript_api_v1_live_calls__bot_id__transcript_get","parameters":[{"name":"bot_id","in":"path","required":true,"schema":{"type":"string","title":"Bot Id"}},{"name":"after_sequence","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":-1},{"type":"null"}],"description":"Only return utterances after this sequence number","title":"After Sequence"},"description":"Only return utterances after this sequence number"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":500,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveTranscriptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teams/salespeople":{"get":{"tags":["teams"],"summary":"List Salespeople","description":"List all salespeople (organization members) with pagination.\n\nReturns all users who are members of the organization, optionally filtered\nby search term matching name or email.\n\nQuery parameters:\n- limit: Maximum number of results (1-100, default: 50)\n- offset: Number of results to skip (default: 0)\n- search: Optional search term for name or email filtering","operationId":"list_salespeople_api_v1_teams_salespeople_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search by name or email","title":"Search"},"description":"Search by name or email"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalespeopleListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teams":{"get":{"tags":["teams"],"summary":"List Teams","description":"List teams with pagination from the user's organization.\nRequires MANAGE_ORG_SETTINGS permission (admin only).","operationId":"list_teams_api_v1_teams_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teams/{team_uid}":{"get":{"tags":["teams"],"summary":"Get Team","description":"Get a specific team by UID.\nRequires MANAGE_ORG_SETTINGS permission (admin only).","operationId":"get_team_api_v1_teams__team_uid__get","parameters":[{"name":"team_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Team Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/trackers":{"get":{"tags":["trackers"],"summary":"List Trackers","description":"List all trackers for the organization.","operationId":"list_trackers_api_v1_trackers_get","parameters":[{"name":"include_inactive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Inactive"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TrackerResponse"},"title":"Response List Trackers Api V1 Trackers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["trackers"],"summary":"Create Tracker","description":"Create a new tracker (requires admin permissions).","operationId":"create_tracker_api_v1_trackers_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackerCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/trackers/test":{"post":{"tags":["trackers"],"summary":"Test Tracker Prompt","description":"Test a tracker prompt on a specific call using Gemini API (requires admin permissions).","operationId":"test_tracker_prompt_api_v1_trackers_test_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackerTestRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackerTestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/trackers/calls/{call_uid}/results":{"get":{"tags":["trackers"],"summary":"Get Call Tracker Results","description":"Get tracker results for a specific call.","operationId":"get_call_tracker_results_api_v1_trackers_calls__call_uid__results_get","parameters":[{"name":"call_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Call Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TrackerResultResponse"},"title":"Response Get Call Tracker Results Api V1 Trackers Calls  Call Uid  Results Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/trackers/results":{"get":{"tags":["trackers"],"summary":"Get Trackers With Results","description":"Get all trackers with their labels and result counts.","operationId":"get_trackers_with_results_api_v1_trackers_results_get","parameters":[{"name":"include_inactive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Inactive"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TrackerWithResultsResponse"},"title":"Response Get Trackers With Results Api V1 Trackers Results Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/trackers/analytics":{"get":{"tags":["trackers"],"summary":"Get Tracker Analytics","description":"Get aggregated analytics for trackers with optional filters.","operationId":"get_tracker_analytics_api_v1_trackers_analytics_get","parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter results from this date","title":"Start Date"},"description":"Filter results from this date"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter results to this date","title":"End Date"},"description":"Filter results to this date"},{"name":"tracker_uids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Filter specific trackers","title":"Tracker Uids"},"description":"Filter specific trackers"},{"name":"team_uids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Filter trackers by team assignment","title":"Team Uids"},"description":"Filter trackers by team assignment"},{"name":"include_details","in":"query","required":false,"schema":{"type":"boolean","description":"Include detailed results with call UIDs and timestamps","default":false,"title":"Include Details"},"description":"Include detailed results with call UIDs and timestamps"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackerAnalyticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/trackers/{tracker_uid}":{"get":{"tags":["trackers"],"summary":"Get Tracker","description":"Get a specific tracker by UID.","operationId":"get_tracker_api_v1_trackers__tracker_uid__get","parameters":[{"name":"tracker_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Tracker Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["trackers"],"summary":"Update Tracker","description":"Update an existing tracker (requires admin permissions).","operationId":"update_tracker_api_v1_trackers__tracker_uid__put","parameters":[{"name":"tracker_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Tracker Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackerUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["trackers"],"summary":"Delete Tracker","description":"Delete a tracker (requires admin permissions).","operationId":"delete_tracker_api_v1_trackers__tracker_uid__delete","parameters":[{"name":"tracker_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Tracker Uid"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/trackers/{tracker_uid}/labels/{label_uid}/approve":{"post":{"tags":["trackers"],"summary":"Approve Tracker Label","description":"Approve a pending auto-created label (requires admin permissions).","operationId":"approve_tracker_label_api_v1_trackers__tracker_uid__labels__label_uid__approve_post","parameters":[{"name":"tracker_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Tracker Uid"}},{"name":"label_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Label Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackerLabelResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/trackers/{tracker_uid}/labels/{label_uid}/reject":{"post":{"tags":["trackers"],"summary":"Reject Tracker Label","description":"Reject a pending auto-created label (requires admin permissions).","operationId":"reject_tracker_label_api_v1_trackers__tracker_uid__labels__label_uid__reject_post","parameters":[{"name":"tracker_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Tracker Uid"}},{"name":"label_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Label Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackerLabelResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dashboards":{"get":{"tags":["dashboards"],"summary":"List Dashboards","description":"List all dashboards for the current user.","operationId":"list_dashboards_api_v1_dashboards_get","parameters":[{"name":"include_inactive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Inactive"}},{"name":"scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter: 'user', 'team', or omit for both","title":"Scope"},"description":"Filter: 'user', 'team', or omit for both"},{"name":"team_uid","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Filter to specific team","title":"Team Uid"},"description":"Filter to specific team"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DashboardListResponse"},"title":"Response List Dashboards Api V1 Dashboards Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["dashboards"],"summary":"Create Dashboard","description":"Create a new dashboard.","operationId":"create_dashboard_api_v1_dashboards_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dashboards/default":{"get":{"tags":["dashboards"],"summary":"Get Default Dashboard","description":"Get the user's or team's default dashboard configuration.","operationId":"get_default_dashboard_api_v1_dashboards_default_get","parameters":[{"name":"team_uid","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Get team default instead of user default","title":"Team Uid"},"description":"Get team default instead of user default"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dashboards/{dashboard_uid}":{"get":{"tags":["dashboards"],"summary":"Get Dashboard","description":"Get a specific dashboard by UID.","operationId":"get_dashboard_api_v1_dashboards__dashboard_uid__get","parameters":[{"name":"dashboard_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dashboard Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["dashboards"],"summary":"Update Dashboard","description":"Update dashboard settings.","operationId":"update_dashboard_api_v1_dashboards__dashboard_uid__put","parameters":[{"name":"dashboard_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dashboard Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["dashboards"],"summary":"Delete Dashboard","description":"Delete a dashboard.","operationId":"delete_dashboard_api_v1_dashboards__dashboard_uid__delete","parameters":[{"name":"dashboard_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dashboard Uid"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dashboards/{dashboard_uid}/layout":{"put":{"tags":["dashboards"],"summary":"Update Dashboard Layout","description":"Update the entire dashboard layout (bulk update widget positions).","operationId":"update_dashboard_layout_api_v1_dashboards__dashboard_uid__layout_put","parameters":[{"name":"dashboard_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dashboard Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardLayoutUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dashboards/{dashboard_uid}/widgets":{"post":{"tags":["dashboards"],"summary":"Create Widget","description":"Create a new widget on the dashboard.","operationId":"create_widget_api_v1_dashboards__dashboard_uid__widgets_post","parameters":[{"name":"dashboard_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dashboard Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWidgetRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WidgetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dashboards/{dashboard_uid}/widgets/{widget_uid}":{"put":{"tags":["dashboards"],"summary":"Update Widget","description":"Update a widget's configuration.","operationId":"update_widget_api_v1_dashboards__dashboard_uid__widgets__widget_uid__put","parameters":[{"name":"dashboard_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dashboard Uid"}},{"name":"widget_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Widget Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWidgetRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WidgetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["dashboards"],"summary":"Delete Widget","description":"Delete a widget from the dashboard.","operationId":"delete_widget_api_v1_dashboards__dashboard_uid__widgets__widget_uid__delete","parameters":[{"name":"dashboard_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dashboard Uid"}},{"name":"widget_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Widget Uid"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/calls":{"post":{"tags":["desktop-capture"],"summary":"Create Capture Call","operationId":"create_capture_call_api_v1_capture_calls_post","parameters":[{"name":"X-Auditory-Organization","in":"header","required":true,"schema":{"type":"string","format":"uuid","title":"X-Auditory-Organization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureCallCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureCallCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/calls/{call_uid}/transcription-token":{"post":{"tags":["desktop-capture"],"summary":"Create Transcription Token","operationId":"create_transcription_token_api_v1_capture_calls__call_uid__transcription_token_post","parameters":[{"name":"call_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Call Uid"}},{"name":"X-Auditory-Organization","in":"header","required":true,"schema":{"type":"string","format":"uuid","title":"X-Auditory-Organization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscriptionTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/calls/{call_uid}/audio-chunk-url":{"post":{"tags":["desktop-capture"],"summary":"Create Audio Chunk Upload Url","operationId":"create_audio_chunk_upload_url_api_v1_capture_calls__call_uid__audio_chunk_url_post","parameters":[{"name":"call_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Call Uid"}},{"name":"X-Auditory-Organization","in":"header","required":true,"schema":{"type":"string","format":"uuid","title":"X-Auditory-Organization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudioChunkUploadRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureUploadUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/calls/{call_uid}/fragment-url":{"post":{"tags":["desktop-capture"],"summary":"Create Fragment Upload Url","operationId":"create_fragment_upload_url_api_v1_capture_calls__call_uid__fragment_url_post","parameters":[{"name":"call_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Call Uid"}},{"name":"X-Auditory-Organization","in":"header","required":true,"schema":{"type":"string","format":"uuid","title":"X-Auditory-Organization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FragmentUploadRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureUploadUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/calls/{call_uid}/utterances":{"post":{"tags":["desktop-capture"],"summary":"Append Capture Utterances","operationId":"append_capture_utterances_api_v1_capture_calls__call_uid__utterances_post","parameters":[{"name":"call_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Call Uid"}},{"name":"X-Auditory-Organization","in":"header","required":true,"schema":{"type":"string","format":"uuid","title":"X-Auditory-Organization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureUtteranceBatchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureUtteranceBatchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capture/calls/{call_uid}/finalize":{"post":{"tags":["desktop-capture"],"summary":"Finalize Capture Call","operationId":"finalize_capture_call_api_v1_capture_calls__call_uid__finalize_post","parameters":[{"name":"call_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Call Uid"}},{"name":"X-Auditory-Organization","in":"header","required":true,"schema":{"type":"string","format":"uuid","title":"X-Auditory-Organization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureFinalizeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureFinalizeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organization/{organization_uid}/desktop-capture/start":{"post":{"tags":["desktop-capture"],"summary":"Start Capture","operationId":"start_capture_api_v1_organization__organization_uid__desktop_capture_start_post","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Organization Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiStartCaptureRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiStartCaptureResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/zoom/connect":{"get":{"tags":["zoom"],"summary":"Connect Zoom","description":"Initiate Zoom OAuth connection.","operationId":"connect_zoom_zoom_connect_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/zoom/oauth/callback":{"get":{"tags":["zoom"],"summary":"Zoom Callback","description":"Handle Zoom OAuth callback.","operationId":"zoom_callback_zoom_oauth_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/zoom/meeting/{meeting_id}":{"get":{"tags":["zoom"],"summary":"Get Meeting Detail","description":"Get detailed information about a specific meeting.","operationId":"get_meeting_detail_zoom_meeting__meeting_id__get","parameters":[{"name":"meeting_id","in":"path","required":true,"schema":{"type":"string","title":"Meeting Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/zoom/recordings":{"get":{"tags":["zoom"],"summary":"Meeting Recordings","description":"List all meeting recordings for the current user.","operationId":"meeting_recordings_zoom_recordings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Meeting Recordings Zoom Recordings Get"}}}}}}},"/clerk/webhook":{"post":{"tags":["clerk"],"summary":"Webhook","operationId":"webhook_clerk_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/hubspot/connect":{"get":{"tags":["hubspot"],"summary":"Connect Hubspot","operationId":"connect_hubspot_hubspot_connect_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiCrmConnectResponse"}}}}}}},"/hubspot/oauth/callback":{"get":{"tags":["hubspot"],"summary":"Hubspot Callback","operationId":"hubspot_callback_hubspot_oauth_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiCrmConnectionResponse"}}}}}}},"/hubspot/v1/webhook":{"post":{"tags":["hubspot"],"summary":"Hubspot Webhook","description":"Handle HubSpot webhook events for CRM object changes.\nSupports deal.propertyChange, contact.propertyChange, deal.creation, etc.","operationId":"hubspot_webhook_hubspot_v1_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/salesforce/connect":{"get":{"tags":["salesforce"],"summary":"Connect Salesforce","operationId":"connect_salesforce_salesforce_connect_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiCrmConnectResponse"}}}}}}},"/salesforce/oauth/callback":{"get":{"tags":["salesforce"],"summary":"Salesforce Callback","operationId":"salesforce_callback_salesforce_oauth_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiCrmConnectionResponse"}}}}}}},"/salesforce/changes":{"post":{"tags":["salesforce"],"summary":"Salesforce Changes","operationId":"salesforce_changes_salesforce_changes_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Salesforce Changes Salesforce Changes Post"}}}}}}},"/api/v1/crm/field-mappings":{"get":{"tags":["crm"],"summary":"List Field Mappings","description":"List field mappings for the organization.\n\nFilter by CRM provider and/or entity type. Optionally include inactive mappings.","operationId":"list_field_mappings_api_v1_crm_field_mappings_get","parameters":[{"name":"crm_provider","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/CRMProvider"},{"type":"null"}],"title":"Crm Provider"}},{"name":"entity_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/CRMEntityType"},{"type":"null"}],"title":"Entity Type"}},{"name":"active_only","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Active Only"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FieldMappingListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["crm"],"summary":"Create Field Mapping","description":"Create a new field mapping for the organization.","operationId":"create_field_mapping_api_v1_crm_field_mappings_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FieldMappingCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FieldMappingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/crm/field-mappings/{mapping_uid}":{"put":{"tags":["crm"],"summary":"Update Field Mapping","description":"Update an existing field mapping.","operationId":"update_field_mapping_api_v1_crm_field_mappings__mapping_uid__put","parameters":[{"name":"mapping_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mapping Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FieldMappingUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FieldMappingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["crm"],"summary":"Delete Field Mapping","description":"Soft delete a field mapping (sets is_active to False).","operationId":"delete_field_mapping_api_v1_crm_field_mappings__mapping_uid__delete","parameters":[{"name":"mapping_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mapping Uid"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/crm/auditory-fields":{"get":{"tags":["crm"],"summary":"Get Auditory Fields","description":"Get available Auditory fields for mapping.\n\nReturns the schema of all fields available on the Auditory side\nfor a given entity type.","operationId":"get_auditory_fields_api_v1_crm_auditory_fields_get","parameters":[{"name":"entity_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CRMEntityType"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/crm/field-schema":{"get":{"tags":["crm"],"summary":"Get Crm Field Schema","description":"Get CRM field schema with caching.\n\nFetches the field schema from the CRM provider (e.g., HubSpot property definitions).\nResults are cached per organization to avoid repeated API calls.\nUse refresh=true to force a fresh fetch from the CRM.","operationId":"get_crm_field_schema_api_v1_crm_field_schema_get","parameters":[{"name":"crm_provider","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CRMProvider"}},{"name":"entity_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CRMEntityType"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","description":"Force refresh from CRM API","default":false,"title":"Refresh"},"description":"Force refresh from CRM API"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/crm/pipelines":{"get":{"tags":["crm"],"summary":"Get Crm Pipelines","description":"Get CRM pipelines and their stages.\n\nReturns pipelines (e.g., deal pipelines) and their associated stages.\nPipelines are cached locally - use refresh=true on field-schema endpoint to update.","operationId":"get_crm_pipelines_api_v1_crm_pipelines_get","parameters":[{"name":"crm_provider","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CRMProvider"}},{"name":"entity_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CRMEntityType"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/crm/default-mappings":{"get":{"tags":["crm"],"summary":"Get Default Field Mappings","description":"Get suggested default field mappings for quick setup.\n\nReturns pre-configured field mappings that can be used as a starting point.\nThese are not yet saved to the database - use the create endpoint to save them.","operationId":"get_default_field_mappings_api_v1_crm_default_mappings_get","parameters":[{"name":"crm_provider","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CRMProvider"}},{"name":"entity_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CRMEntityType"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/crm/default-mappings/apply":{"post":{"tags":["crm"],"summary":"Apply Default Mappings","description":"Apply default field mappings for the organization.\n\nCreates all default field mappings in one operation. This is a convenience\nendpoint for quick setup.\n\nThis operation is idempotent: existing mappings are skipped, so it is safe\nto call multiple times.","operationId":"apply_default_mappings_api_v1_crm_default_mappings_apply_post","parameters":[{"name":"crm_provider","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CRMProvider"}},{"name":"entity_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CRMEntityType"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/crm/sync-logs":{"get":{"tags":["crm"],"summary":"List Sync Logs","description":"List CRM sync logs for the organization.\n\nView the history of sync operations with optional filtering.","operationId":"list_sync_logs_api_v1_crm_sync_logs_get","parameters":[{"name":"entity_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/CRMEntityType"},{"type":"null"}],"title":"Entity Type"}},{"name":"entity_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Entity Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/CRMSyncStatus"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncLogListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/crm/sync/bulk/history":{"get":{"tags":["crm"],"summary":"Get Bulk Sync History","description":"Get bulk sync history for the organization.\n\nReturns a paginated list of bulk sync operations for the specified CRM provider.","operationId":"get_bulk_sync_history_api_v1_crm_sync_bulk_history_get","parameters":[{"name":"crm_provider","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CRMProvider"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkSyncHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organization/{organization_uid}/crm/{provider}/connect":{"get":{"tags":["crm"],"summary":"Connect Crm","operationId":"connect_crm_api_v1_organization__organization_uid__crm__provider__connect_get","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Organization Uid"}},{"name":"provider","in":"path","required":true,"schema":{"$ref":"#/components/schemas/CRMProvider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiCrmConnectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organization/{organization_uid}/crm/{provider}/oauth/callback":{"get":{"tags":["crm"],"summary":"Complete Crm Connection","operationId":"complete_crm_connection_api_v1_organization__organization_uid__crm__provider__oauth_callback_get","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Organization Uid"}},{"name":"provider","in":"path","required":true,"schema":{"$ref":"#/components/schemas/CRMProvider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiCrmConnectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organisation/{org_uid}/deals":{"get":{"tags":["deals"],"summary":"List Deals","description":"Get paginated list of deals with filters.","operationId":"list_deals_api_v1_organisation__org_uid__deals_get","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}},{"name":"stage_uid","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Filter by stage UID","title":"Stage Uid"},"description":"Filter by stage UID"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search deal name","title":"Search"},"description":"Search deal name"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter deals created after this date","title":"Start Date"},"description":"Filter deals created after this date"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter deals created before this date","title":"End Date"},"description":"Filter deals created before this date"},{"name":"sort_by","in":"query","required":false,"schema":{"type":"string","pattern":"^(name|amount|close_date|created_at|updated_at)$","description":"Sort by field","default":"created_at","title":"Sort By"},"description":"Sort by field"},{"name":"sort_order","in":"query","required":false,"schema":{"type":"string","pattern":"^(asc|desc)$","description":"Sort order","default":"desc","title":"Sort Order"},"description":"Sort order"},{"name":"has_pending_suggestions","in":"query","required":false,"schema":{"type":"boolean","description":"Only deals with a change waiting for review","default":false,"title":"Has Pending Suggestions"},"description":"Only deals with a change waiting for review"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of results","default":20,"title":"Limit"},"description":"Number of results"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Offset for pagination","default":0,"title":"Offset"},"description":"Offset for pagination"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["deals"],"summary":"Create Deal","description":"Create a deal owned by Auditory, with no CRM record.","operationId":"create_deal_api_v1_organisation__org_uid__deals_post","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDealRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealSummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organisation/{org_uid}/deals/{deal_uid}/status":{"put":{"tags":["deals"],"summary":"Set Deal Status","operationId":"set_deal_status_api_v1_organisation__org_uid__deals__deal_uid__status_put","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetDealStatusRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealSummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organisation/{org_uid}/calls/{call_uid}/deal":{"put":{"tags":["deals"],"summary":"Set Call Deal","description":"Assign a call to a deal, or exclude it; automation never overrides this.","operationId":"set_call_deal_api_v1_organisation__org_uid__calls__call_uid__deal_put","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}},{"name":"call_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Call Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallDealAssignmentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallDealAssignmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organisation/{org_uid}/deal-settings":{"get":{"tags":["deals"],"summary":"Get Deal Settings","operationId":"get_deal_settings_api_v1_organisation__org_uid__deal_settings_get","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDealSettings"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["deals"],"summary":"Update Deal Settings","description":"Enabling sets the cutoff to now; disabling clears it.","operationId":"update_deal_settings_api_v1_organisation__org_uid__deal_settings_put","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiUpdateDealSettingsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDealSettings"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organisation/{org_uid}/deals/stages":{"get":{"tags":["deals"],"summary":"List Deal Stages","description":"Get all deal stages for the organization.","operationId":"list_deal_stages_api_v1_organisation__org_uid__deals_stages_get","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealStageListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organisation/{org_uid}/deals/{deal_uid}":{"get":{"tags":["deals"],"summary":"Get Deal","description":"Get a deal (CRM source of truth) with its LLM-generated analysis.","operationId":"get_deal_api_v1_organisation__org_uid__deals__deal_uid__get","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealWithAnalysisResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organisation/{org_uid}/deals/risks/{risk_uid}/resolve":{"post":{"tags":["deals"],"summary":"Resolve Deal Risk","description":"Resolve or mitigate a deal risk.","operationId":"resolve_deal_risk_api_v1_organisation__org_uid__deals_risks__risk_uid__resolve_post","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}},{"name":"risk_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Risk Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveRiskRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealAnalysisRiskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organisation/{org_uid}/deals/{deal_uid}/link-call":{"post":{"tags":["deals"],"summary":"Link Call To Deal Endpoint","description":"Manually link a call to a deal and optionally trigger deal analysis.","operationId":"link_call_to_deal_endpoint_api_v1_organisation__org_uid__deals__deal_uid__link_call_post","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCallRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCallResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organisation/{org_uid}/deals/{deal_uid}/unlink-call":{"post":{"tags":["deals"],"summary":"Unlink Call From Deal Endpoint","description":"Unlink a call from a deal and remove its deal analysis.","operationId":"unlink_call_from_deal_endpoint_api_v1_organisation__org_uid__deals__deal_uid__unlink_call_post","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnlinkCallRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnlinkCallResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organisation/{org_uid}/deals/{deal_uid}/suggestions/{suggestion_uid}/accept":{"post":{"tags":["deals"],"summary":"Accept Deal Suggestion","description":"Apply a suggestion to the deal, pushing it to the CRM when the deal is linked.","operationId":"accept_deal_suggestion_api_v1_organisation__org_uid__deals__deal_uid__suggestions__suggestion_uid__accept_post","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}},{"name":"suggestion_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Suggestion Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealWithAnalysisResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organisation/{org_uid}/deals/{deal_uid}/suggestions/{suggestion_uid}/dismiss":{"post":{"tags":["deals"],"summary":"Dismiss Deal Suggestion","operationId":"dismiss_deal_suggestion_api_v1_organisation__org_uid__deals__deal_uid__suggestions__suggestion_uid__dismiss_post","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}},{"name":"suggestion_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Suggestion Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealWithAnalysisResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organisation/{org_uid}/deals/{deal_uid}/crm-link":{"post":{"tags":["deals"],"summary":"Link Deal To Crm","description":"Link a deal to an existing CRM deal; values missing in the CRM become suggestions.","operationId":"link_deal_to_crm_api_v1_organisation__org_uid__deals__deal_uid__crm_link_post","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCRMDealRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealWithAnalysisResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["deals"],"summary":"Unlink Deal From Crm","description":"Unlink a deal from its CRM deal, keeping the CRM values on the deal.","operationId":"unlink_deal_from_crm_api_v1_organisation__org_uid__deals__deal_uid__crm_link_delete","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealWithAnalysisResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organisation/{org_uid}/deals/{deal_uid}/crm":{"post":{"tags":["deals"],"summary":"Create Deal In Crm","description":"Create the deal in the CRM, or return open CRM deals at the company to link instead.","operationId":"create_deal_in_crm_api_v1_organisation__org_uid__deals__deal_uid__crm_post","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInCRMRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInCRMResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organisation/{org_uid}/deals/{deal_uid}/merge":{"post":{"tags":["deals"],"summary":"Merge Deal","description":"Merge this deal into the target; returns the target.","operationId":"merge_deal_api_v1_organisation__org_uid__deals__deal_uid__merge_post","parameters":[{"name":"org_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Org Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergeDealRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealWithAnalysisResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/onboarding/status":{"get":{"tags":["onboarding"],"summary":"Get Onboarding Status","description":"Poll onboarding status for the authenticated user.\n\nFE calls this after login to determine what onboarding steps remain:\n- user_synced: whether Clerk webhook has fired and user exists in DB\n- calendar_connected: whether the calendar scope is granted\n- organization_membership: \"none\" or \"member\"\n- is_admin: whether the user can edit organization details\n- hubspot_connected: whether HubSpot OAuth is set up","operationId":"get_onboarding_status_api_v1_onboarding_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingStatusResponse"}}}}}}},"/api/v1/onboarding/organization-details":{"patch":{"tags":["onboarding"],"summary":"Update Organization Details","description":"Update organization description during onboarding.","operationId":"update_organization_details_api_v1_onboarding_organization_details_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationDetailsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationDetailsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/settings":{"get":{"tags":["user"],"summary":"Get User Settings","description":"Get user profile settings","operationId":"get_user_settings_user_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSettingsResponse"}}}}}},"patch":{"tags":["user"],"summary":"Update User Settings","description":"Update user profile settings","operationId":"update_user_settings_user_settings_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserSettingsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/permissions":{"get":{"tags":["user"],"summary":"Get User Permissions","description":"Get current user's permissions and role information.","operationId":"get_user_permissions_user_permissions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPermissionsResponse"}}}}}}},"/api/v1/impersonation/exchange":{"post":{"tags":["impersonation"],"summary":"Exchange Impersonation Token","operationId":"exchange_impersonation_token_api_v1_impersonation_exchange_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeTokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/impersonation/context":{"get":{"tags":["impersonation"],"summary":"Get Impersonation Context","operationId":"get_impersonation_context_api_v1_impersonation_context_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImpersonationContextResponse"}}}}}}},"/api/v1/impersonation/end":{"post":{"tags":["impersonation"],"summary":"End Impersonation","operationId":"end_impersonation_api_v1_impersonation_end_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndImpersonationResponse"}}}}}}},"/chat/message":{"post":{"tags":["chat"],"summary":"Send Chat Message","description":"Send a message to chat about a transcript.\n\nFor now, this endpoint only supports synchronous processing.\nAsync processing will be added in a future iteration.","operationId":"send_chat_message_chat_message_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiChatMessageRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiChatMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chat/conversation/{conversation_id}":{"get":{"tags":["chat"],"summary":"Get Conversation History","description":"Get full conversation history including all messages","operationId":"get_conversation_history_chat_conversation__conversation_id__get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Conversation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiConversationHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chat/conversations":{"get":{"tags":["chat"],"summary":"Get User Conversations","description":"Get list of user's conversations, optionally filtered by call","operationId":"get_user_conversations_chat_conversations_get","parameters":[{"name":"call_uid","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Call Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiConversationListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chat/conversation/{conversation_id}/regenerate-title":{"post":{"tags":["chat"],"summary":"Regenerate Conversation Title","description":"Regenerate or set a custom title for a conversation.\n\nNote: This endpoint is a placeholder for future implementation.\nTitle generation currently happens automatically during chat.","operationId":"regenerate_conversation_title_chat_conversation__conversation_id__regenerate_title_post","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Conversation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiRegenerateTitleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chat/message/{message_id}/hide":{"put":{"tags":["chat"],"summary":"Hide Message","description":"Hide a specific message (excludes it from LLM context)","operationId":"hide_message_chat_message__message_id__hide_put","parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Message Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chat/message/{message_id}/unhide":{"put":{"tags":["chat"],"summary":"Unhide Message","description":"Unhide a specific message (includes it back in LLM context)","operationId":"unhide_message_chat_message__message_id__unhide_put","parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Message Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chat/conversation/{conversation_id}/hide":{"put":{"tags":["chat"],"summary":"Hide Conversation","description":"Hide a conversation (excludes it from conversation lists)","operationId":"hide_conversation_chat_conversation__conversation_id__hide_put","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Conversation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chat/conversation/{conversation_id}/unhide":{"put":{"tags":["chat"],"summary":"Unhide Conversation","description":"Unhide a conversation (includes it back in conversation lists)","operationId":"unhide_conversation_chat_conversation__conversation_id__unhide_put","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Conversation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wavy/message":{"post":{"tags":["wavy"],"summary":"Enqueue Wavy Message","description":"Enqueue a Wavy agent message for async processing.","operationId":"enqueue_wavy_message_wavy_message_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiChatMessageRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiChatMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wavy/message/{message_id}/status":{"get":{"tags":["wavy"],"summary":"Get Wavy Message Status","operationId":"get_wavy_message_status_wavy_message__message_id__status_get","parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Message Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiMessageStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wavy/message/{message_id}/action":{"post":{"tags":["wavy"],"summary":"Act On Wavy Message","operationId":"act_on_wavy_message_wavy_message__message_id__action_post","parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Message Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiMessageActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiMessageStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wavy/message/{message_id}/events":{"get":{"tags":["wavy"],"summary":"Stream Wavy Message Events","operationId":"stream_wavy_message_events_wavy_message__message_id__events_get","parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Message Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wavy/conversation/{conversation_id}":{"get":{"tags":["wavy"],"summary":"Get Wavy Conversation History","operationId":"get_wavy_conversation_history_wavy_conversation__conversation_id__get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Conversation Id"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiConversationHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wavy/conversation/{conversation_id}/updates":{"get":{"tags":["wavy"],"summary":"Get Wavy Conversation Updates","operationId":"get_wavy_conversation_updates_wavy_conversation__conversation_id__updates_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Conversation Id"}},{"name":"since","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiConversationHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wavy/conversations":{"get":{"tags":["wavy"],"summary":"Get Wavy Conversations","operationId":"get_wavy_conversations_wavy_conversations_get","parameters":[{"name":"call_uid","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Call Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiConversationListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wavy/organization/{organization_uid}/conversation/{conversation_uid}/message/{message_uid}/stream":{"get":{"tags":["wavy"],"summary":"Stream Wavy Reply","operationId":"stream_wavy_reply_api_v1_wavy_organization__organization_uid__conversation__conversation_uid__message__message_uid__stream_get","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"conversation_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Conversation Uid"}},{"name":"message_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Message Uid"}}],"responses":{"200":{"description":"Server-sent events; each event's data is one chunk.","content":{"text/event-stream":{"schema":{"type":"string","oneOf":[{"$ref":"#/components/schemas/WavyStartChunk"},{"$ref":"#/components/schemas/WavyStartStepChunk"},{"$ref":"#/components/schemas/WavyFinishStepChunk"},{"$ref":"#/components/schemas/WavyTextStartChunk"},{"$ref":"#/components/schemas/WavyTextDeltaChunk"},{"$ref":"#/components/schemas/WavyTextEndChunk"},{"$ref":"#/components/schemas/WavyToolInputStartChunk"},{"$ref":"#/components/schemas/WavyToolInputChunk"},{"$ref":"#/components/schemas/WavyToolOutputChunk"},{"$ref":"#/components/schemas/WavyToolOutputErrorChunk"},{"$ref":"#/components/schemas/WavyToolApprovalRequestChunk"},{"$ref":"#/components/schemas/WavyToolOutputDeniedChunk"},{"$ref":"#/components/schemas/WavyChatTitleChunk"},{"$ref":"#/components/schemas/WavyCitationsChunk"},{"$ref":"#/components/schemas/WavyErrorChunk"},{"$ref":"#/components/schemas/WavyResetStepChunk"},{"$ref":"#/components/schemas/WavyFinishChunk"}],"discriminator":{"propertyName":"type","mapping":{"start":"#/components/schemas/WavyStartChunk","start-step":"#/components/schemas/WavyStartStepChunk","finish-step":"#/components/schemas/WavyFinishStepChunk","text-start":"#/components/schemas/WavyTextStartChunk","text-delta":"#/components/schemas/WavyTextDeltaChunk","text-end":"#/components/schemas/WavyTextEndChunk","tool-input-start":"#/components/schemas/WavyToolInputStartChunk","tool-input-available":"#/components/schemas/WavyToolInputChunk","tool-output-available":"#/components/schemas/WavyToolOutputChunk","tool-output-error":"#/components/schemas/WavyToolOutputErrorChunk","tool-approval-request":"#/components/schemas/WavyToolApprovalRequestChunk","tool-output-denied":"#/components/schemas/WavyToolOutputDeniedChunk","data-chatTitle":"#/components/schemas/WavyChatTitleChunk","data-citations":"#/components/schemas/WavyCitationsChunk","error":"#/components/schemas/WavyErrorChunk","reset-step":"#/components/schemas/WavyResetStepChunk","finish":"#/components/schemas/WavyFinishChunk"}},"title":"Response 200 Stream Wavy Reply Api V1 Wavy Organization  Organization Uid  Conversation  Conversation Uid  Message  Message Uid  Stream Get"}}}},"204":{"description":"The reply has finished."},"403":{"description":"A meeting in the conversation is hidden from this user."},"404":{"description":"No such reply for this user."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wavy/organization/{organization_uid}/conversation":{"post":{"tags":["wavy"],"summary":"Create Wavy Conversation","operationId":"create_wavy_conversation_api_v1_wavy_organization__organization_uid__conversation_post","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiCreateWavyConversationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiWavyConversationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["wavy"],"summary":"List Wavy Conversations","operationId":"list_wavy_conversations_api_v1_wavy_organization__organization_uid__conversation_get","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiWavyConversationListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wavy/organization/{organization_uid}/conversation/{conversation_uid}":{"get":{"tags":["wavy"],"summary":"Get Wavy Conversation","operationId":"get_wavy_conversation_api_v1_wavy_organization__organization_uid__conversation__conversation_uid__get","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"conversation_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Conversation Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiWavyConversationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wavy/organization/{organization_uid}/conversation/{conversation_uid}/message":{"post":{"tags":["wavy"],"summary":"Send Wavy Message","operationId":"send_wavy_message_api_v1_wavy_organization__organization_uid__conversation__conversation_uid__message_post","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"conversation_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Conversation Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSendWavyMessageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiWavyMessageSentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wavy/organization/{organization_uid}/context/search":{"get":{"tags":["wavy"],"summary":"Search Wavy Anchor Candidates","operationId":"search_wavy_anchor_candidates_api_v1_wavy_organization__organization_uid__context_search_get","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiWavyContextSearchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wavy/organization/{organization_uid}/conversation/{conversation_uid}/anchors":{"put":{"tags":["wavy"],"summary":"Set Wavy Conversation Anchors","operationId":"set_wavy_conversation_anchors_api_v1_wavy_organization__organization_uid__conversation__conversation_uid__anchors_put","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"conversation_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Conversation Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiUpdateWavyAnchorsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiWavyConversationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wavy/organization/{organization_uid}/conversation/{conversation_uid}/message/{message_uid}/approval/{approval_id}":{"post":{"tags":["wavy"],"summary":"Decide Wavy Approval","operationId":"decide_wavy_approval_api_v1_wavy_organization__organization_uid__conversation__conversation_uid__message__message_uid__approval__approval_id__post","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"conversation_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Conversation Uid"}},{"name":"message_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Message Uid"}},{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","title":"Approval Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiWavyApprovalDecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiWavyMessageSentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organization/{organization_uid}/deal/{deal_uid}/crm-search":{"get":{"tags":["deals"],"summary":"Search Crm Deals","operationId":"search_crm_deals_api_v1_organization__organization_uid__deal__deal_uid__crm_search_get","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}},{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":100,"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiCrmDealSearchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organization/{organization_uid}/deal/{deal_uid}/crm-link/external":{"post":{"tags":["deals"],"summary":"Link External Crm Deal","operationId":"link_external_crm_deal_api_v1_organization__organization_uid__deal__deal_uid__crm_link_external_post","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiLinkExternalCrmDealRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealWithAnalysisResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organization/{organization_uid}/deal/{deal_uid}/owner":{"put":{"tags":["deals"],"summary":"Set Deal Owner","operationId":"set_deal_owner_api_v1_organization__organization_uid__deal__deal_uid__owner_put","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSetDealOwnerRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDealOwner"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organization/{organization_uid}/deal/{deal_uid}":{"delete":{"tags":["deals"],"summary":"Delete Deal","operationId":"delete_deal_api_v1_organization__organization_uid__deal__deal_uid__delete","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organization/{organization_uid}/deal/{deal_uid}/changes":{"get":{"tags":["deals"],"summary":"Get Deal Changes","operationId":"get_deal_changes_api_v1_organization__organization_uid__deal__deal_uid__changes_get","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deal Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDealChangesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organization/{organization_uid}/deal-stage-matching":{"get":{"tags":["deals"],"summary":"Get Deal Stage Matching","operationId":"get_deal_stage_matching_api_v1_organization__organization_uid__deal_stage_matching_get","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDealStageMatchingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organization/{organization_uid}/deal-stage-matching/resync":{"post":{"tags":["deals"],"summary":"Resync Deal Stages","operationId":"resync_deal_stages_api_v1_organization__organization_uid__deal_stage_matching_resync_post","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDealStageMatchingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organization/{organization_uid}/crm-deal-stage/{crm_deal_stage_uid}/auditory-stage":{"put":{"tags":["deals"],"summary":"Set Auditory Stage","operationId":"set_auditory_stage_api_v1_organization__organization_uid__crm_deal_stage__crm_deal_stage_uid__auditory_stage_put","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}},{"name":"crm_deal_stage_uid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Crm Deal Stage Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSetAuditoryStageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDealStageMatch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/organization/{organization_uid}/desktop/meeting-selectors":{"get":{"tags":["desktop"],"summary":"Get Meeting Selectors","operationId":"get_meeting_selectors_api_v1_organization__organization_uid__desktop_meeting_selectors_get","parameters":[{"name":"organization_uid","in":"path","required":true,"schema":{"type":"string","title":"Organization Uid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiMeetingSelectorsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/search/transcripts":{"post":{"tags":["search","Search"],"summary":"Search Transcripts","description":"Search across all transcripts in the organization.\n\nPerforms hybrid search combining:\n- Semantic search (vector similarity)\n- Lexical search (full-text)\n- Reciprocal Rank Fusion for result ranking\n\nArgs:\n    request: Search request with query and filters\n    session: Database session\n    org_access: Organization access information\n\nReturns:\n    Search results with ranking scores and context\n\nRaises:\n    HTTPException: If search fails","operationId":"search_transcripts_api_v1_search_transcripts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/search/deals/{deal_uid}/search":{"get":{"tags":["search","Search"],"summary":"Search Deal Transcripts","description":"Search transcripts within a specific deal.\n\nArgs:\n    deal_uid: Deal UID\n    query: Search query\n    limit: Maximum results\n    offset: Number of results to skip for pagination\n    include_context: Include context chunks\n    context_window: Number of context chunks\n    session: Database session\n    org_access: Organization access information\n\nReturns:\n    Search results for the deal\n\nRaises:\n    HTTPException: If deal not found or search fails","operationId":"search_deal_transcripts_api_v1_search_deals__deal_uid__search_get","parameters":[{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","title":"Deal Uid"}},{"name":"query","in":"query","required":true,"schema":{"type":"string","title":"Query"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"include_context","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Context"}},{"name":"context_window","in":"query","required":false,"schema":{"type":"integer","default":2,"title":"Context Window"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["search","Search"],"summary":"Search Deal Transcripts Post","description":"Search transcripts within a specific deal (POST version).\n\nSame as GET endpoint but with request body for complex filters.\n\nArgs:\n    deal_uid: Deal UID\n    request: Search request\n    session: Database session\n    org_access: Organization access information\n\nReturns:\n    Search results for the deal\n\nRaises:\n    HTTPException: If deal not found or search fails","operationId":"search_deal_transcripts_post_api_v1_search_deals__deal_uid__search_post","parameters":[{"name":"deal_uid","in":"path","required":true,"schema":{"type":"string","title":"Deal Uid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealSearchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/widget/identity":{"get":{"tags":["widget"],"summary":"Get Widget Identity Token","description":"Generate JWT token for authenticated user to use with support widget.\n\nThis endpoint is called by the widget on your Auditory frontend to get\na JWT token that proves the user's identity to the customer support backend.","operationId":"get_widget_identity_token_api_v1_widget_identity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WidgetIdentityResponse"}}}}}}},"/.well-known/microsoft-identity-association.json":{"get":{"tags":["microsoft-id"],"summary":"Microsoft Identity Association","description":"Serves the microsoft-identity-association.json file.  This is required for OAuth","operationId":"microsoft_identity_association__well_known_microsoft_identity_association_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"ActionItem":{"properties":{"description":{"type":"string","title":"Description"}},"type":"object","required":["description"],"title":"ActionItem"},"ApiCaptureRole":{"type":"string","enum":["recorder","viewer"],"title":"ApiCaptureRole"},"ApiChatMessageHistory":{"properties":{"message_id":{"type":"string","format":"uuid","title":"Message Id"},"message_type":{"$ref":"#/components/schemas/ChatMessageType"},"content":{"type":"string","title":"Content"},"token_count":{"type":"integer","title":"Token Count"},"status":{"$ref":"#/components/schemas/ChatMessageStatus"},"is_summary":{"type":"boolean","title":"Is Summary"},"is_hidden":{"type":"boolean","title":"Is Hidden"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"grounding":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/ApiTranscriptGrounding"},{"$ref":"#/components/schemas/ApiDealGrounding"},{"$ref":"#/components/schemas/ApiCrmGrounding"},{"$ref":"#/components/schemas/ApiMEDDICGrounding"}],"discriminator":{"propertyName":"grounding_type","mapping":{"crm":"#/components/schemas/ApiCrmGrounding","deal":"#/components/schemas/ApiDealGrounding","meddic":"#/components/schemas/ApiMEDDICGrounding","transcript":"#/components/schemas/ApiTranscriptGrounding"}}},"type":"array"},{"type":"null"}],"title":"Grounding"},"confirmation":{"anyOf":[{"$ref":"#/components/schemas/ApiConfirmationRequest"},{"type":"null"}]},"required_auth":{"anyOf":[{"$ref":"#/components/schemas/ApiRequiredAuthRequest"},{"type":"null"}]},"artifact":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/ApiEmailDraftArtifact"}],"discriminator":{"propertyName":"type","mapping":{"email_draft":"#/components/schemas/ApiEmailDraftArtifact"}}},{"type":"null"}],"title":"Artifact"}},"type":"object","required":["message_id","message_type","content","token_count","status","is_summary","is_hidden","created_at","updated_at"],"title":"ApiChatMessageHistory"},"ApiChatMessageRequest":{"properties":{"call_uid":{"type":"string","format":"uuid","title":"Call Uid","description":"Call ID to query transcript for"},"message":{"type":"string","maxLength":4000,"minLength":1,"title":"Message","description":"User's question or query"},"message_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Message Uid","description":"Client-generated message UID for idempotency"},"conversation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Conversation Id","description":"Existing conversation ID (optional)"},"async_processing":{"type":"boolean","title":"Async Processing","description":"Whether to process asynchronously","default":false}},"type":"object","required":["call_uid","message"],"title":"ApiChatMessageRequest"},"ApiChatMessageResponse":{"properties":{"message_id":{"type":"string","format":"uuid","title":"Message Id"},"conversation_id":{"type":"string","format":"uuid","title":"Conversation Id"},"response":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response"},"status":{"$ref":"#/components/schemas/ChatMessageStatus"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"token_info":{"anyOf":[{"$ref":"#/components/schemas/ApiTokenInfo"},{"type":"null"}]},"estimated_completion":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Estimated Completion"},"grounding":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/ApiTranscriptGrounding"},{"$ref":"#/components/schemas/ApiDealGrounding"},{"$ref":"#/components/schemas/ApiCrmGrounding"},{"$ref":"#/components/schemas/ApiMEDDICGrounding"}],"discriminator":{"propertyName":"grounding_type","mapping":{"crm":"#/components/schemas/ApiCrmGrounding","deal":"#/components/schemas/ApiDealGrounding","meddic":"#/components/schemas/ApiMEDDICGrounding","transcript":"#/components/schemas/ApiTranscriptGrounding"}}},"type":"array"},{"type":"null"}],"title":"Grounding"},"confirmation":{"anyOf":[{"$ref":"#/components/schemas/ApiConfirmationRequest"},{"type":"null"}]},"required_auth":{"anyOf":[{"$ref":"#/components/schemas/ApiRequiredAuthRequest"},{"type":"null"}]},"artifact":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/ApiEmailDraftArtifact"}],"discriminator":{"propertyName":"type","mapping":{"email_draft":"#/components/schemas/ApiEmailDraftArtifact"}}},{"type":"null"}],"title":"Artifact"}},"type":"object","required":["message_id","conversation_id","status"],"title":"ApiChatMessageResponse"},"ApiConfirmationRequest":{"properties":{"action":{"type":"string","title":"Action"},"details":{"type":"string","title":"Details"},"confirmation_type":{"type":"string","enum":["destructive","creative","info"],"title":"Confirmation Type","default":"info"}},"type":"object","required":["action","details"],"title":"ApiConfirmationRequest"},"ApiConversationHistoryResponse":{"properties":{"conversation":{"$ref":"#/components/schemas/ApiConversationSummary"},"messages":{"items":{"$ref":"#/components/schemas/ApiChatMessageHistory"},"type":"array","title":"Messages"}},"type":"object","required":["conversation","messages"],"title":"ApiConversationHistoryResponse"},"ApiConversationListResponse":{"properties":{"conversations":{"items":{"$ref":"#/components/schemas/ApiConversationSummary"},"type":"array","title":"Conversations"},"total_count":{"type":"integer","title":"Total Count"}},"type":"object","required":["conversations","total_count"],"title":"ApiConversationListResponse"},"ApiConversationSummary":{"properties":{"conversation_id":{"type":"string","format":"uuid","title":"Conversation Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"call_uid":{"type":"string","format":"uuid","title":"Call Uid"},"message_count":{"type":"integer","title":"Message Count"},"total_tokens":{"type":"integer","title":"Total Tokens"},"is_compacted":{"type":"boolean","title":"Is Compacted"},"is_hidden":{"type":"boolean","title":"Is Hidden"},"last_message_at":{"type":"string","format":"date-time","title":"Last Message At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["conversation_id","title","call_uid","message_count","total_tokens","is_compacted","is_hidden","last_message_at","created_at"],"title":"ApiConversationSummary"},"ApiCreateWavyConversationRequest":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"anchors":{"items":{"$ref":"#/components/schemas/ApiWavyContextRefInput"},"type":"array","maxItems":20,"title":"Anchors"}},"type":"object","required":["uid","anchors"],"title":"ApiCreateWavyConversationRequest"},"ApiCrmConnectResponse":{"properties":{"oauth_url":{"type":"string","title":"Oauth Url"}},"type":"object","required":["oauth_url"],"title":"ApiCrmConnectResponse"},"ApiCrmConnectionResponse":{"properties":{"status":{"$ref":"#/components/schemas/ApiCrmConnectionStatus"}},"type":"object","required":["status"],"title":"ApiCrmConnectionResponse"},"ApiCrmConnectionStatus":{"type":"string","enum":["success"],"title":"ApiCrmConnectionStatus"},"ApiCrmDealSearchResponse":{"properties":{"provider":{"$ref":"#/components/schemas/CRMProvider"},"results":{"items":{"$ref":"#/components/schemas/ApiCrmDealSearchResult"},"type":"array","title":"Results"}},"type":"object","required":["provider","results"],"title":"ApiCrmDealSearchResponse"},"ApiCrmDealSearchResult":{"properties":{"external_crm_id":{"type":"string","title":"External Crm Id"},"name":{"type":"string","title":"Name"},"stage_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage Name"},"amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount"},"close_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Close Date"},"deal_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deal Uid"}},"type":"object","required":["external_crm_id","name","stage_name","amount","close_date","deal_uid"],"title":"ApiCrmDealSearchResult"},"ApiCrmGrounding":{"properties":{"grounding_id":{"type":"string","format":"uuid","title":"Grounding Id"},"content":{"type":"string","title":"Content"},"grounding_type":{"type":"string","const":"crm","title":"Grounding Type","default":"crm"},"contact_id":{"type":"string","title":"Contact Id"},"contact_name":{"type":"string","title":"Contact Name"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"crm_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Url"},"last_interaction_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Interaction Date"}},"type":"object","required":["grounding_id","content","contact_id","contact_name"],"title":"ApiCrmGrounding"},"ApiDealChange":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"changed_at":{"type":"string","format":"date-time","title":"Changed At"},"origin":{"$ref":"#/components/schemas/DealChangeOrigin"},"set_by":{"anyOf":[{"$ref":"#/components/schemas/ApiDealChangeActor"},{"type":"null"}]},"call_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Call Uid"},"fields":{"items":{"$ref":"#/components/schemas/ApiDealChangedField"},"type":"array","title":"Fields"}},"type":"object","required":["uid","changed_at","origin","set_by","call_uid","fields"],"title":"ApiDealChange"},"ApiDealChangeActor":{"properties":{"user_uid":{"type":"string","format":"uuid","title":"User Uid"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["user_uid","name"],"title":"ApiDealChangeActor"},"ApiDealChangedField":{"properties":{"field":{"$ref":"#/components/schemas/DealChangeField"},"old_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Old Value"},"new_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Value"},"old_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Old Name"},"new_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Name"}},"type":"object","required":["field","old_value","new_value","old_name","new_name"],"title":"ApiDealChangedField"},"ApiDealChangesResponse":{"properties":{"changes":{"items":{"$ref":"#/components/schemas/ApiDealChange"},"type":"array","title":"Changes"}},"type":"object","required":["changes"],"title":"ApiDealChangesResponse"},"ApiDealGrounding":{"properties":{"grounding_id":{"type":"string","format":"uuid","title":"Grounding Id"},"content":{"type":"string","title":"Content"},"grounding_type":{"type":"string","const":"deal","title":"Grounding Type","default":"deal"},"deal_id":{"type":"string","title":"Deal Id"},"deal_name":{"type":"string","title":"Deal Name"},"deal_stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deal Stage"},"deal_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Deal Value"},"crm_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Url"}},"type":"object","required":["grounding_id","content","deal_id","deal_name"],"title":"ApiDealGrounding"},"ApiDealOwner":{"properties":{"user_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Uid"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["user_uid","name","email"],"title":"ApiDealOwner"},"ApiDealSettings":{"properties":{"deals_enabled":{"type":"boolean","title":"Deals Enabled"},"auto_create_crm_deals":{"type":"boolean","title":"Auto Create Crm Deals"},"auto_push_crm_deal_fields":{"type":"boolean","title":"Auto Push Crm Deal Fields"},"auto_push_crm_deal_fields_available":{"type":"boolean","title":"Auto Push Crm Deal Fields Available"},"default_close_date_days":{"type":"integer","maximum":3650.0,"minimum":1.0,"title":"Default Close Date Days"},"excluded_domains":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Excluded Domains"}},"type":"object","required":["deals_enabled","auto_create_crm_deals","auto_push_crm_deal_fields","auto_push_crm_deal_fields_available","default_close_date_days","excluded_domains"],"title":"ApiDealSettings"},"ApiDealStageMatch":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"label":{"type":"string","title":"Label"},"auditory_stage":{"$ref":"#/components/schemas/AuditoryDealStage"}},"type":"object","required":["uid","label","auditory_stage"],"title":"ApiDealStageMatch"},"ApiDealStageMatchingResponse":{"properties":{"pipelines":{"items":{"$ref":"#/components/schemas/ApiDealStagePipeline"},"type":"array","title":"Pipelines"},"unmatched_count":{"type":"integer","title":"Unmatched Count"}},"type":"object","required":["pipelines","unmatched_count"],"title":"ApiDealStageMatchingResponse"},"ApiDealStagePipeline":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"label":{"type":"string","title":"Label"},"stages":{"items":{"$ref":"#/components/schemas/ApiDealStageMatch"},"type":"array","title":"Stages"}},"type":"object","required":["uid","label","stages"],"title":"ApiDealStagePipeline"},"ApiEmailDraftArtifact":{"properties":{"type":{"type":"string","const":"email_draft","title":"Type","default":"email_draft"},"subject":{"type":"string","title":"Subject"},"body":{"type":"string","title":"Body"}},"type":"object","required":["subject","body"],"title":"ApiEmailDraftArtifact"},"ApiGoogleMeetSelectors":{"properties":{"tile":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$","title":"Tile"},"muted":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$","title":"Muted"},"local_video":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$","title":"Local Video"},"active_speaker":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$","title":"Active Speaker"},"screen_share_active_speaker":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$","title":"Screen Share Active Speaker"},"screen_share":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$","title":"Screen Share"}},"additionalProperties":false,"type":"object","required":["tile","muted","local_video","active_speaker","screen_share_active_speaker","screen_share"],"title":"ApiGoogleMeetSelectors"},"ApiLinkExternalCrmDealRequest":{"properties":{"external_crm_id":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9]+$","title":"External Crm Id"}},"type":"object","required":["external_crm_id"],"title":"ApiLinkExternalCrmDealRequest"},"ApiMEDDICGrounding":{"properties":{"grounding_id":{"type":"string","format":"uuid","title":"Grounding Id"},"content":{"type":"string","title":"Content"},"grounding_type":{"type":"string","const":"meddic","title":"Grounding Type","default":"meddic"},"meddic_category":{"type":"string","title":"Meddic Category"},"current_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Score"},"improvement_area":{"type":"string","title":"Improvement Area"},"suggested_action":{"type":"string","title":"Suggested Action"},"start_time":{"type":"number","title":"Start Time"},"end_time":{"type":"number","title":"End Time"},"speaker_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Name"}},"type":"object","required":["grounding_id","content","meddic_category","improvement_area","suggested_action","start_time","end_time"],"title":"ApiMEDDICGrounding"},"ApiMeetingAudience":{"type":"string","enum":["external","internal","unknown"],"title":"ApiMeetingAudience"},"ApiMeetingRecordingStatus":{"properties":{"status":{"$ref":"#/components/schemas/ApiRecordingStatus"},"method":{"anyOf":[{"$ref":"#/components/schemas/RecordingMethod"},{"type":"null"}]},"recorder":{"anyOf":[{"$ref":"#/components/schemas/ApiUserRef"},{"type":"null"}]}},"type":"object","required":["status","method","recorder"],"title":"ApiMeetingRecordingStatus"},"ApiMeetingSelectorsResponse":{"properties":{"version":{"type":"integer","maximum":1000000.0,"minimum":1.0,"title":"Version"},"google_meet":{"$ref":"#/components/schemas/ApiGoogleMeetSelectors"},"teams":{"$ref":"#/components/schemas/ApiTeamsSelectors"}},"additionalProperties":false,"type":"object","required":["version","google_meet","teams"],"title":"ApiMeetingSelectorsResponse"},"ApiMessageActionRequest":{"properties":{"approved":{"type":"boolean","title":"Approved","description":"Whether the user approved the pending action"}},"type":"object","required":["approved"],"title":"ApiMessageActionRequest"},"ApiMessageStatusResponse":{"properties":{"message_id":{"type":"string","format":"uuid","title":"Message Id"},"status":{"$ref":"#/components/schemas/ChatMessageStatus"},"response":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"processing_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Processing Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"confirmation":{"anyOf":[{"$ref":"#/components/schemas/ApiConfirmationRequest"},{"type":"null"}]},"required_auth":{"anyOf":[{"$ref":"#/components/schemas/ApiRequiredAuthRequest"},{"type":"null"}]},"artifact":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/ApiEmailDraftArtifact"}],"discriminator":{"propertyName":"type","mapping":{"email_draft":"#/components/schemas/ApiEmailDraftArtifact"}}},{"type":"null"}],"title":"Artifact"}},"type":"object","required":["message_id","status"],"title":"ApiMessageStatusResponse"},"ApiRecordingStatus":{"type":"string","enum":["will_record","wont_record","recording","not_recording"],"title":"ApiRecordingStatus"},"ApiRegenerateTitleRequest":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Custom title (if not provided, AI will generate one)"}},"type":"object","title":"ApiRegenerateTitleRequest"},"ApiRequiredAuthRequest":{"properties":{"provider":{"type":"string","enum":["google","microsoft"],"title":"Provider"},"strategy":{"type":"string","enum":["oauth_google","oauth_microsoft"],"title":"Strategy"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["provider","strategy","scopes","reason"],"title":"ApiRequiredAuthRequest"},"ApiSendWavyMessageRequest":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"text":{"type":"string","maxLength":4000,"minLength":1,"title":"Text"}},"type":"object","required":["uid","text"],"title":"ApiSendWavyMessageRequest"},"ApiSetAuditoryStageRequest":{"properties":{"auditory_stage":{"$ref":"#/components/schemas/AuditoryDealStage"}},"type":"object","required":["auditory_stage"],"title":"ApiSetAuditoryStageRequest"},"ApiSetDealOwnerRequest":{"properties":{"user_uid":{"type":"string","format":"uuid","title":"User Uid"}},"type":"object","required":["user_uid"],"title":"ApiSetDealOwnerRequest"},"ApiStartCaptureRequest":{"properties":{"session_id":{"type":"string","maxLength":200,"minLength":1,"title":"Session Id"},"title":{"type":"string","maxLength":500,"minLength":1,"title":"Title"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"platform":{"$ref":"#/components/schemas/DesktopCapturePlatform"},"meeting_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Url"},"bundle_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bundle Id"},"window_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Window Title"}},"type":"object","required":["session_id","title","started_at","platform"],"title":"ApiStartCaptureRequest"},"ApiStartCaptureResponse":{"properties":{"role":{"$ref":"#/components/schemas/ApiCaptureRole"},"call_uid":{"type":"string","format":"uuid","title":"Call Uid"},"bot_uid":{"type":"string","format":"uuid","title":"Bot Uid"},"recorder_name":{"type":"string","title":"Recorder Name"}},"type":"object","required":["role","call_uid","bot_uid","recorder_name"],"title":"ApiStartCaptureResponse"},"ApiTeamsSelectors":{"properties":{"tile":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$","title":"Tile"},"local_user_tile":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$","title":"Local User Tile"},"video_frame":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$","title":"Video Frame"},"speaking":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$","title":"Speaking"},"unmuted":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$","title":"Unmuted"},"video_on":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$","title":"Video On"},"screen_share":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$","title":"Screen Share"},"main_window_speaking":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$","title":"Main Window Speaking"}},"additionalProperties":false,"type":"object","required":["tile","local_user_tile","video_frame","speaking","unmuted","video_on","screen_share","main_window_speaking"],"title":"ApiTeamsSelectors"},"ApiTokenInfo":{"properties":{"input_tokens":{"type":"integer","title":"Input Tokens"},"output_tokens":{"type":"integer","title":"Output Tokens"},"total_tokens":{"type":"integer","title":"Total Tokens"},"context_window_used":{"type":"number","title":"Context Window Used"}},"type":"object","required":["input_tokens","output_tokens","total_tokens","context_window_used"],"title":"ApiTokenInfo"},"ApiTranscriptGrounding":{"properties":{"grounding_id":{"type":"string","format":"uuid","title":"Grounding Id"},"content":{"type":"string","title":"Content"},"grounding_type":{"type":"string","const":"transcript","title":"Grounding Type","default":"transcript"},"start_time":{"type":"number","title":"Start Time"},"end_time":{"type":"number","title":"End Time"},"speaker_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Name"},"confidence_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence Score"}},"type":"object","required":["grounding_id","content","start_time","end_time"],"title":"ApiTranscriptGrounding"},"ApiUpdateDealSettingsRequest":{"properties":{"deals_enabled":{"type":"boolean","title":"Deals Enabled"},"auto_create_crm_deals":{"type":"boolean","title":"Auto Create Crm Deals"},"auto_push_crm_deal_fields":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Push Crm Deal Fields"},"default_close_date_days":{"type":"integer","maximum":3650.0,"minimum":1.0,"title":"Default Close Date Days"},"excluded_domains":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Excluded Domains"}},"type":"object","required":["deals_enabled","auto_create_crm_deals","default_close_date_days","excluded_domains"],"title":"ApiUpdateDealSettingsRequest"},"ApiUpdateWavyAnchorsRequest":{"properties":{"anchors":{"items":{"$ref":"#/components/schemas/ApiWavyContextRefInput"},"type":"array","maxItems":20,"title":"Anchors"}},"type":"object","required":["anchors"],"title":"ApiUpdateWavyAnchorsRequest"},"ApiUserRef":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"name":{"type":"string","title":"Name"}},"type":"object","required":["uid","name"],"title":"ApiUserRef"},"ApiWavyApprovalDecisionRequest":{"properties":{"approved":{"type":"boolean","title":"Approved"}},"type":"object","required":["approved"],"title":"ApiWavyApprovalDecisionRequest"},"ApiWavyApprovalRef":{"properties":{"id":{"type":"string","title":"Id"}},"type":"object","required":["id"],"title":"ApiWavyApprovalRef"},"ApiWavyCallRef":{"properties":{"kind":{"type":"string","const":"call","title":"Kind","default":"call"},"uid":{"type":"string","format":"uuid","title":"Uid"},"title":{"type":"string","title":"Title"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"}},"type":"object","required":["uid","title","occurred_at"],"title":"ApiWavyCallRef"},"ApiWavyContextRefInput":{"properties":{"kind":{"$ref":"#/components/schemas/WavyContextKind"},"uid":{"type":"string","format":"uuid","title":"Uid"}},"type":"object","required":["kind","uid"],"title":"ApiWavyContextRefInput"},"ApiWavyContextSearchResponse":{"properties":{"results":{"items":{"oneOf":[{"$ref":"#/components/schemas/ApiWavyCallRef"},{"$ref":"#/components/schemas/ApiWavyDealRef"}],"discriminator":{"propertyName":"kind","mapping":{"call":"#/components/schemas/ApiWavyCallRef","deal":"#/components/schemas/ApiWavyDealRef"}}},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ApiWavyContextSearchResponse"},"ApiWavyConversationListResponse":{"properties":{"conversations":{"items":{"$ref":"#/components/schemas/ApiWavyConversationSummary"},"type":"array","title":"Conversations"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["conversations","has_more"],"title":"ApiWavyConversationListResponse"},"ApiWavyConversationResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"anchors":{"items":{"oneOf":[{"$ref":"#/components/schemas/ApiWavyCallRef"},{"$ref":"#/components/schemas/ApiWavyDealRef"}],"discriminator":{"propertyName":"kind","mapping":{"call":"#/components/schemas/ApiWavyCallRef","deal":"#/components/schemas/ApiWavyDealRef"}}},"type":"array","title":"Anchors"},"messages":{"items":{"$ref":"#/components/schemas/ApiWavyUIMessage"},"type":"array","title":"Messages"},"active_message_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Active Message Uid"}},"type":"object","required":["uid","title","anchors","messages","active_message_uid"],"title":"ApiWavyConversationResponse"},"ApiWavyConversationSummary":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["uid","title","updated_at"],"title":"ApiWavyConversationSummary"},"ApiWavyDealRef":{"properties":{"kind":{"type":"string","const":"deal","title":"Kind","default":"deal"},"uid":{"type":"string","format":"uuid","title":"Uid"},"title":{"type":"string","title":"Title"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"}},"type":"object","required":["uid","title","stage"],"title":"ApiWavyDealRef"},"ApiWavyEmailDraftInput":{"properties":{"subject_line":{"type":"string","title":"Subject Line"},"email_content":{"type":"string","title":"Email Content"}},"type":"object","required":["subject_line","email_content"],"title":"ApiWavyEmailDraftInput"},"ApiWavyEmailDraftOutput":{"properties":{"subjectLine":{"type":"string","title":"Subjectline"}},"type":"object","required":["subjectLine"],"title":"ApiWavyEmailDraftOutput"},"ApiWavyEmailDraftPart":{"properties":{"type":{"type":"string","const":"tool-create_email_draft","title":"Type","default":"tool-create_email_draft"},"toolCallId":{"type":"string","title":"Toolcallid"},"state":{"type":"string","const":"output-available","title":"State","default":"output-available"},"input":{"$ref":"#/components/schemas/ApiWavyEmailDraftInput"},"output":{"$ref":"#/components/schemas/ApiWavyEmailDraftOutput"}},"type":"object","required":["toolCallId","input","output"],"title":"ApiWavyEmailDraftPart"},"ApiWavyMessageSentResponse":{"properties":{"message_uid":{"type":"string","format":"uuid","title":"Message Uid"},"reply_uid":{"type":"string","format":"uuid","title":"Reply Uid"}},"type":"object","required":["message_uid","reply_uid"],"title":"ApiWavyMessageSentResponse"},"ApiWavySendEmailInput":{"properties":{"to":{"items":{"type":"string"},"type":"array","title":"To"},"subject":{"type":"string","title":"Subject"},"body":{"type":"string","title":"Body"},"cc":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Cc"}},"type":"object","required":["to","subject","body","cc"],"title":"ApiWavySendEmailInput"},"ApiWavySendEmailPart":{"properties":{"type":{"type":"string","const":"tool-send_email","title":"Type","default":"tool-send_email"},"toolCallId":{"type":"string","title":"Toolcallid"},"state":{"type":"string","const":"approval-requested","title":"State","default":"approval-requested"},"input":{"$ref":"#/components/schemas/ApiWavySendEmailInput"},"approval":{"$ref":"#/components/schemas/ApiWavyApprovalRef"}},"type":"object","required":["toolCallId","input","approval"],"title":"ApiWavySendEmailPart"},"ApiWavyTextPart":{"properties":{"type":{"type":"string","const":"text","title":"Type","default":"text"},"text":{"type":"string","title":"Text"}},"type":"object","required":["text"],"title":"ApiWavyTextPart"},"ApiWavyUIMessage":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"role":{"$ref":"#/components/schemas/WavyMessageRole"},"parts":{"items":{"anyOf":[{"$ref":"#/components/schemas/ApiWavyTextPart"},{"$ref":"#/components/schemas/ApiWavySendEmailPart"},{"$ref":"#/components/schemas/ApiWavyEmailDraftPart"}]},"type":"array","title":"Parts"}},"type":"object","required":["id","role","parts"],"title":"ApiWavyUIMessage"},"AudioChunkUploadRequest":{"properties":{"channel":{"$ref":"#/components/schemas/CaptureAudioChannel"},"sequence":{"type":"integer","minimum":0.0,"title":"Sequence"}},"type":"object","required":["channel","sequence"],"title":"AudioChunkUploadRequest"},"AuditoryDealStage":{"type":"string","enum":["not_matched","discovery","demo","evaluation","negotiation","closed_won","closed_lost","other"],"title":"AuditoryDealStage"},"BANTAnalysis":{"properties":{"budget":{"type":"string","title":"Budget","description":"Assessment of budget discussion, availability, or constraints mentioned. State 'Not discussed' if absent."},"authority":{"type":"string","title":"Authority","description":"Assessment of discussion around decision-making authority or roles mentioned. State 'Not discussed' if absent."},"need":{"type":"string","title":"Need","description":"Assessment of the expressed needs, problems, or requirements discussed. State 'Not discussed' if absent."},"timeline":{"type":"string","title":"Timeline","description":"Assessment of project, decision, or implementation timeline discussion. State 'Not discussed' if absent."},"improvements":{"type":"string","title":"Improvements","description":"Suggest improvements for the salesperson based on the analysis."},"score":{"type":"integer","title":"Score","description":"Score based on the analysis. Higher scores indicate better alignment with BANT criteria. 0 to 100."}},"type":"object","required":["budget","authority","need","timeline","improvements","score"],"title":"BANTAnalysis"},"BotProviderType":{"type":"string","enum":["recall","attendee"],"title":"BotProviderType"},"BulkSyncHistoryResponse":{"properties":{"runs":{"items":{"$ref":"#/components/schemas/BulkSyncRunResponse"},"type":"array","title":"Runs"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["runs","total","limit","offset"],"title":"BulkSyncHistoryResponse","description":"Response model for bulk sync history list."},"BulkSyncRunResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"workflow_id":{"type":"string","title":"Workflow Id"},"status":{"type":"string","title":"Status"},"days_back":{"type":"integer","title":"Days Back"},"entity_counts":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Entity Counts"},"errors":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Errors"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["uid","workflow_id","status","days_back","entity_counts","errors","started_at","completed_at","created_at"],"title":"BulkSyncRunResponse","description":"Response model for a bulk sync run entry."},"CRMDealCandidate":{"properties":{"crm_deal_uid":{"type":"string","format":"uuid","title":"Crm Deal Uid"},"name":{"type":"string","title":"Name"},"stage_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage Name"},"deal_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deal Uid"}},"type":"object","required":["crm_deal_uid","name","stage_name"],"title":"CRMDealCandidate"},"CRMDealReference":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"external_id":{"type":"string","title":"External Id"},"provider":{"$ref":"#/components/schemas/CRMProvider"},"name":{"type":"string","title":"Name"}},"type":"object","required":["uid","external_id","provider","name"],"title":"CRMDealReference","description":"The CRM record a deal is linked to."},"CRMEntityType":{"type":"string","enum":["call","deal","contact","company","email","meeting"],"title":"CRMEntityType"},"CRMProvider":{"type":"string","enum":["hubspot","salesforce"],"title":"CRMProvider"},"CRMSyncDirection":{"type":"string","enum":["to_crm","from_crm","bidirectional"],"title":"CRMSyncDirection"},"CRMSyncStatus":{"type":"string","enum":["pending","success","failure","partial"],"title":"CRMSyncStatus"},"CalendarEventStatus":{"type":"string","enum":["BOT_ADDED","BOT_WAITING","BOT_RECORDING","RECORDING_PROCESSING","TRANSCRIPT_PROCESSING","COMPLETED"],"title":"CalendarEventStatus"},"CalendarEventWebResponse":{"properties":{"uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Uid"},"name":{"type":"string","title":"Name"},"date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"},"time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time"},"datetime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Datetime"},"imageUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Imageurl"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location","default":"No location provided"},"current_status":{"anyOf":[{"$ref":"#/components/schemas/CalendarEventStatus"},{"type":"null"}]},"scheduled_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled End"},"attendee_count":{"type":"integer","title":"Attendee Count","default":0},"recording_status":{"anyOf":[{"$ref":"#/components/schemas/ApiMeetingRecordingStatus"},{"type":"null"}]},"audience":{"anyOf":[{"$ref":"#/components/schemas/ApiMeetingAudience"},{"type":"null"}]},"ical_uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ical Uid"}},"type":"object","required":["uid","name","date","time","datetime"],"title":"CalendarEventWebResponse"},"CallAttendeeResponse":{"properties":{"email":{"type":"string","title":"Email"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"}},"type":"object","required":["email"],"title":"CallAttendeeResponse","description":"Response model for call attendee."},"CallClassification":{"type":"string","enum":["discovery","demo","negotiation","close","onboarding","check_in","customer_success","renewal","internal","other"],"title":"CallClassification"},"CallDealAssignmentRequest":{"properties":{"deal_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deal Uid"}},"additionalProperties":false,"type":"object","required":["deal_uid"],"title":"CallDealAssignmentRequest","description":"A null deal excludes the call from deals."},"CallDealAssignmentResponse":{"properties":{"call_uid":{"type":"string","format":"uuid","title":"Call Uid"},"deal":{"anyOf":[{"$ref":"#/components/schemas/DealSummaryResponse"},{"type":"null"}]},"source":{"anyOf":[{"$ref":"#/components/schemas/DealAssignmentSource"},{"type":"null"}]}},"type":"object","required":["call_uid","deal","source"],"title":"CallDealAssignmentResponse"},"CallDealInfo":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"name":{"type":"string","title":"Name"}},"type":"object","required":["uid","name"],"title":"CallDealInfo","description":"Linked deal info for a call."},"CallDetailResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"scheduled_start":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled Start"},"scheduled_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled End"},"actual_start":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actual Start"},"actual_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actual End"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"},"meeting_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Url"},"created_at":{"type":"string","title":"Created At"},"start":{"anyOf":[{"$ref":"#/components/schemas/EventDateTime"},{"type":"null"}]},"end":{"anyOf":[{"$ref":"#/components/schemas/EventDateTime"},{"type":"null"}]},"recordings":{"anyOf":[{"items":{"$ref":"#/components/schemas/RecordingResponseModel"},"type":"array"},{"type":"null"}],"title":"Recordings"},"transcripts":{"anyOf":[{"items":{"$ref":"#/components/schemas/TranscriptResponseModel"},"type":"array"},{"type":"null"}],"title":"Transcripts"},"organizer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organizer"},"participants":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Participants"},"attendees":{"items":{"$ref":"#/components/schemas/CallAttendeeResponse"},"type":"array","title":"Attendees"},"has_recording":{"type":"boolean","title":"Has Recording","default":false},"has_transcript":{"type":"boolean","title":"Has Transcript","default":false},"has_analysis":{"type":"boolean","title":"Has Analysis","default":false},"deal":{"anyOf":[{"$ref":"#/components/schemas/CallDealInfo"},{"type":"null"}]},"deal_suggestions":{"items":{"$ref":"#/components/schemas/DealSuggestionResponse"},"type":"array","title":"Deal Suggestions"},"deal_assignment_outcome":{"anyOf":[{"$ref":"#/components/schemas/DealAssignmentOutcome"},{"type":"null"}]},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"call_classification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Classification"},"action_items":{"items":{"type":"string"},"type":"array","title":"Action Items"},"key_topics":{"items":{"type":"string"},"type":"array","title":"Key Topics"},"bant_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bant Score"},"meddic_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Meddic Score"},"pain_points":{"items":{"type":"string"},"type":"array","title":"Pain Points"},"deal_risks":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Deal Risks"},"tracker_results":{"items":{"$ref":"#/components/schemas/TrackerResultSummary"},"type":"array","title":"Tracker Results"},"meddic_population":{"$ref":"#/components/schemas/MeddicPopulationStatus"},"deal_risk_count":{"$ref":"#/components/schemas/DealRiskCount"}},"type":"object","required":["uid","title","created_at","deal_assignment_outcome"],"title":"CallDetailResponse","description":"Response model for detailed call view."},"CallInfo":{"properties":{"call_id":{"type":"integer","title":"Call Id"},"call_uid":{"type":"string","title":"Call Uid"},"title":{"type":"string","title":"Title"},"scheduled_start":{"type":"string","format":"date-time","title":"Scheduled Start"},"scheduled_end":{"type":"string","format":"date-time","title":"Scheduled End"},"deal_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Deal Id"},"deal_uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deal Uid"},"platform":{"type":"string","title":"Platform"}},"type":"object","required":["call_id","call_uid","title","scheduled_start","scheduled_end","platform"],"title":"CallInfo","description":"Call information for linking back to the full call."},"CallListResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"scheduled_start":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled Start"},"scheduled_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled End"},"actual_start":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actual Start"},"actual_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actual End"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"},"meeting_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Url"},"status":{"anyOf":[{"$ref":"#/components/schemas/CallListStatus"},{"type":"null"}]},"attendee_count":{"type":"integer","title":"Attendee Count","default":0},"has_recording":{"type":"boolean","title":"Has Recording","default":false},"has_transcript":{"type":"boolean","title":"Has Transcript","default":false},"has_analysis":{"type":"boolean","title":"Has Analysis","default":false},"call_classification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Classification"},"created_at":{"type":"string","title":"Created At"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"salespeople":{"items":{"type":"string"},"type":"array","title":"Salespeople"},"meddic_population":{"$ref":"#/components/schemas/MeddicPopulationStatus"},"deal_risk_count":{"$ref":"#/components/schemas/DealRiskCount"},"tracker_results":{"items":{"$ref":"#/components/schemas/TrackerResultSummary"},"type":"array","title":"Tracker Results"},"deal":{"anyOf":[{"$ref":"#/components/schemas/CallDealInfo"},{"type":"null"}]},"visibility":{"type":"string","title":"Visibility","default":"visible"},"recording_status":{"anyOf":[{"$ref":"#/components/schemas/ApiMeetingRecordingStatus"},{"type":"null"}]},"recorded_by":{"anyOf":[{"$ref":"#/components/schemas/ApiUserRef"},{"type":"null"}]},"recorded_via":{"anyOf":[{"$ref":"#/components/schemas/RecordingMethod"},{"type":"null"}]},"audience":{"anyOf":[{"$ref":"#/components/schemas/ApiMeetingAudience"},{"type":"null"}]}},"type":"object","required":["uid","title","created_at"],"title":"CallListResponse","description":"Response model for call in list view."},"CallListStatus":{"type":"string","enum":["SCHEDULED","PROCESSING","COMPLETED","FAILED"],"title":"CallListStatus","description":"Status for calls shown in the list view."},"CallVisibility":{"type":"string","enum":["visible","org_hidden","private","team_only"],"title":"CallVisibility"},"CallVisibilityResponse":{"properties":{"call_uid":{"type":"string","format":"uuid","title":"Call Uid"},"visibility":{"type":"string","title":"Visibility"}},"type":"object","required":["call_uid","visibility"],"title":"CallVisibilityResponse","description":"Response model for call visibility changes."},"CallsCountResponse":{"properties":{"start_date":{"type":"string","title":"Start Date"},"end_date":{"type":"string","title":"End Date"},"salespeople":{"items":{"$ref":"#/components/schemas/SalespersonCallCount"},"type":"array","title":"Salespeople"},"organization_total":{"type":"integer","title":"Organization Total"}},"type":"object","required":["start_date","end_date","salespeople","organization_total"],"title":"CallsCountResponse","description":"Response model for calls count by salesperson."},"CallsListResponse":{"properties":{"calls":{"items":{"$ref":"#/components/schemas/CallListResponse"},"type":"array","title":"Calls"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"has_more":{"type":"boolean","title":"Has More"},"salespeople":{"items":{"$ref":"#/components/schemas/server__api__models__call_response__SalespersonResponse"},"type":"array","title":"Salespeople"},"live_calls":{"items":{"$ref":"#/components/schemas/LiveCallSummary"},"type":"array","title":"Live Calls"}},"type":"object","required":["calls","total","limit","offset","has_more"],"title":"CallsListResponse","description":"Response model for paginated calls list."},"CaptureAudioChannel":{"type":"string","enum":["mic","system"],"title":"CaptureAudioChannel"},"CaptureAudioChunkManifest":{"properties":{"channel":{"$ref":"#/components/schemas/CaptureAudioChannel"},"sequence":{"type":"integer","minimum":0.0,"title":"Sequence"},"blob_name":{"type":"string","minLength":1,"title":"Blob Name"},"sample_rate":{"type":"integer","exclusiveMinimum":0.0,"title":"Sample Rate"},"started_at_ms":{"type":"number","title":"Started At Ms"},"ended_at_ms":{"type":"number","title":"Ended At Ms"},"duration_ms":{"type":"number","minimum":0.0,"title":"Duration Ms"},"byte_length":{"type":"integer","exclusiveMinimum":0.0,"title":"Byte Length"},"checksum":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Checksum"}},"type":"object","required":["channel","sequence","blob_name","sample_rate","started_at_ms","ended_at_ms","duration_ms","byte_length","checksum"],"title":"CaptureAudioChunkManifest"},"CaptureCallCreateRequest":{"properties":{"session_id":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Session Id"},"title":{"type":"string","maxLength":500,"minLength":1,"title":"Title"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"platform":{"$ref":"#/components/schemas/DesktopCapturePlatform"},"meeting_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Url"},"bundle_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bundle Id"},"window_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Window Title"}},"type":"object","required":["title","started_at","platform"],"title":"CaptureCallCreateRequest"},"CaptureCallCreateResponse":{"properties":{"call_uid":{"type":"string","format":"uuid","title":"Call Uid"},"bot_uid":{"type":"string","format":"uuid","title":"Bot Uid"},"audio_upload_url":{"type":"string","title":"Audio Upload Url"},"video_upload_url":{"type":"string","title":"Video Upload Url"},"utterances_path":{"type":"string","title":"Utterances Path"}},"type":"object","required":["call_uid","bot_uid","audio_upload_url","video_upload_url","utterances_path"],"title":"CaptureCallCreateResponse"},"CaptureFinalizeRequest":{"properties":{"ended_at":{"type":"string","format":"date-time","title":"Ended At"},"media_manifest":{"$ref":"#/components/schemas/CaptureMediaManifest"}},"type":"object","required":["ended_at","media_manifest"],"title":"CaptureFinalizeRequest"},"CaptureFinalizeResponse":{"properties":{"call_uid":{"type":"string","format":"uuid","title":"Call Uid"},"workflow_id":{"type":"string","title":"Workflow Id"},"workflow_started":{"type":"boolean","title":"Workflow Started"}},"type":"object","required":["call_uid","workflow_id","workflow_started"],"title":"CaptureFinalizeResponse"},"CaptureFragmentKind":{"type":"string","enum":["init","media"],"title":"CaptureFragmentKind"},"CaptureMediaManifest":{"properties":{"version":{"type":"integer","const":1,"title":"Version"},"audio_chunks":{"items":{"$ref":"#/components/schemas/CaptureAudioChunkManifest"},"type":"array","title":"Audio Chunks"},"video_fragments":{"items":{"$ref":"#/components/schemas/CaptureVideoFragmentManifest"},"type":"array","title":"Video Fragments"}},"type":"object","required":["version","audio_chunks","video_fragments"],"title":"CaptureMediaManifest"},"CaptureUploadUrlResponse":{"properties":{"upload_url":{"type":"string","title":"Upload Url"},"blob_name":{"type":"string","title":"Blob Name"},"content_type":{"type":"string","title":"Content Type"}},"type":"object","required":["upload_url","blob_name","content_type"],"title":"CaptureUploadUrlResponse"},"CaptureUtterance":{"properties":{"sequence_number":{"type":"integer","minimum":0.0,"title":"Sequence Number"},"speaker_name":{"type":"string","maxLength":500,"minLength":1,"title":"Speaker Name"},"text":{"type":"string","minLength":1,"title":"Text"},"timestamp_ms":{"type":"integer","minimum":0.0,"title":"Timestamp Ms"},"duration_ms":{"type":"integer","minimum":0.0,"title":"Duration Ms"},"is_final":{"type":"boolean","title":"Is Final"}},"type":"object","required":["sequence_number","speaker_name","text","timestamp_ms","duration_ms","is_final"],"title":"CaptureUtterance"},"CaptureUtteranceBatchRequest":{"properties":{"utterances":{"items":{"$ref":"#/components/schemas/CaptureUtterance"},"type":"array","maxItems":500,"minItems":1,"title":"Utterances"}},"type":"object","required":["utterances"],"title":"CaptureUtteranceBatchRequest"},"CaptureUtteranceBatchResponse":{"properties":{"accepted":{"type":"integer","title":"Accepted"},"duplicates":{"type":"integer","title":"Duplicates"}},"type":"object","required":["accepted","duplicates"],"title":"CaptureUtteranceBatchResponse"},"CaptureVideoFragmentManifest":{"properties":{"track":{"type":"string","minLength":1,"title":"Track"},"sequence":{"type":"integer","minimum":0.0,"title":"Sequence"},"kind":{"$ref":"#/components/schemas/CaptureFragmentKind"},"blob_name":{"type":"string","minLength":1,"title":"Blob Name"},"duration_seconds":{"type":"number","minimum":0.0,"title":"Duration Seconds"},"produced_at_ms":{"type":"number","title":"Produced At Ms"},"byte_length":{"type":"integer","exclusiveMinimum":0.0,"title":"Byte Length"},"checksum":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Checksum"}},"type":"object","required":["track","sequence","kind","blob_name","duration_seconds","produced_at_ms","byte_length","checksum"],"title":"CaptureVideoFragmentManifest"},"ChatMessageStatus":{"type":"string","enum":["pending","processing","awaiting_confirmation","completed","failed"],"title":"ChatMessageStatus"},"ChatMessageType":{"type":"string","enum":["user","assistant","system"],"title":"ChatMessageType"},"ChunkContext":{"properties":{"text":{"type":"string","title":"Text"},"start_time":{"type":"number","title":"Start Time"},"end_time":{"type":"number","title":"End Time"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker"},"speaker_turns":{"anyOf":[{"items":{"$ref":"#/components/schemas/SpeakerTurn"},"type":"array"},{"type":"null"}],"title":"Speaker Turns"}},"type":"object","required":["text","start_time","end_time","speaker"],"title":"ChunkContext","description":"Context chunk information."},"CreateDealRequest":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["name"],"title":"CreateDealRequest"},"CreateInCRMRequest":{"properties":{"confirm_new":{"type":"boolean","title":"Confirm New","default":false}},"type":"object","title":"CreateInCRMRequest"},"CreateInCRMResponse":{"properties":{"crm_deal_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Crm Deal Uid"},"candidates":{"items":{"$ref":"#/components/schemas/CRMDealCandidate"},"type":"array","title":"Candidates"}},"type":"object","title":"CreateInCRMResponse","description":"Either the linked CRM deal, or candidates to link instead of creating a duplicate."},"CreateWidgetRequest":{"properties":{"widget_type":{"type":"string","minLength":1,"title":"Widget Type"},"position":{"additionalProperties":true,"type":"object","title":"Position"},"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["widget_type","position","config"],"title":"CreateWidgetRequest","description":"Request model for creating a widget."},"DashboardCreateRequest":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"is_default":{"type":"boolean","title":"Is Default","default":false},"team_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Team Uid"}},"type":"object","required":["name"],"title":"DashboardCreateRequest","description":"Request model for creating a dashboard."},"DashboardLayoutUpdateRequest":{"properties":{"layout":{"items":{"$ref":"#/components/schemas/WidgetLayoutItem"},"type":"array","title":"Layout"}},"type":"object","required":["layout"],"title":"DashboardLayoutUpdateRequest","description":"Request model for updating dashboard layout."},"DashboardListResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"name":{"type":"string","title":"Name"},"is_default":{"type":"boolean","title":"Is Default"},"is_active":{"type":"boolean","title":"Is Active"},"widget_count":{"type":"integer","title":"Widget Count"},"scope":{"type":"string","title":"Scope"},"team_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Team Uid"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["uid","name","is_default","is_active","widget_count","scope","created_at","updated_at"],"title":"DashboardListResponse","description":"Response model for dashboard in list view."},"DashboardResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"name":{"type":"string","title":"Name"},"is_default":{"type":"boolean","title":"Is Default"},"is_active":{"type":"boolean","title":"Is Active"},"layout":{"items":{"$ref":"#/components/schemas/WidgetResponse"},"type":"array","title":"Layout"},"scope":{"type":"string","title":"Scope"},"team_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Team Uid"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["uid","name","is_default","is_active","layout","scope","created_at","updated_at"],"title":"DashboardResponse","description":"Response model for dashboard with widgets."},"DashboardUpdateRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"DashboardUpdateRequest","description":"Request model for updating a dashboard."},"DateRangeEnum":{"type":"string","enum":["today","yesterday","this_week","last_week","this_month","last_month","last_30_days","last_90_days"],"title":"DateRangeEnum","description":"Predefined date ranges for filtering."},"DealAnalysisCompetitorResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"name":{"type":"string","title":"Name"},"positioning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Positioning"},"strengths":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Strengths"},"weaknesses":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weaknesses"},"status":{"$ref":"#/components/schemas/DealAnalysisCompetitorStatus"},"first_mentioned_call_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"First Mentioned Call Uid"},"transcript_evidence":{"items":{"$ref":"#/components/schemas/EvidenceResponse"},"type":"array","title":"Transcript Evidence"}},"type":"object","required":["uid","name","positioning","strengths","weaknesses","status","first_mentioned_call_uid","transcript_evidence"],"title":"DealAnalysisCompetitorResponse","description":"Competitor tracked in deal analysis."},"DealAnalysisCompetitorStatus":{"type":"string","enum":["active","eliminated"],"title":"DealAnalysisCompetitorStatus"},"DealAnalysisEngagementLevel":{"type":"string","enum":["high","medium","low"],"title":"DealAnalysisEngagementLevel"},"DealAnalysisObjectionCategory":{"type":"string","enum":["pricing","timing","competition","technical","internal","other"],"title":"DealAnalysisObjectionCategory"},"DealAnalysisObjectionResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"objection":{"type":"string","title":"Objection"},"category":{"anyOf":[{"$ref":"#/components/schemas/DealAnalysisObjectionCategory"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/DealAnalysisObjectionStatus"},"response":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response"},"first_raised_call_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"First Raised Call Uid"},"transcript_evidence":{"items":{"$ref":"#/components/schemas/EvidenceResponse"},"type":"array","title":"Transcript Evidence"}},"type":"object","required":["uid","objection","category","status","response","first_raised_call_uid","transcript_evidence"],"title":"DealAnalysisObjectionResponse","description":"Objection tracked in deal analysis."},"DealAnalysisObjectionStatus":{"type":"string","enum":["open","addressed","resolved"],"title":"DealAnalysisObjectionStatus"},"DealAnalysisPricingResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"dimension_name":{"type":"string","title":"Dimension Name"},"dimension_display_name":{"type":"string","title":"Dimension Display Name"},"dimension_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dimension Unit"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"},"numeric_value":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Numeric Value"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"source_call_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Call Uid"}},"type":"object","required":["uid","dimension_name","dimension_display_name","dimension_unit","value","numeric_value","notes","source_call_uid"],"title":"DealAnalysisPricingResponse","description":"Pricing dimension value in deal analysis."},"DealAnalysisResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"deal_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deal Uid"},"call_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Call Uid"},"summary":{"type":"string","title":"Summary"},"call_count":{"type":"integer","title":"Call Count"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"meddic":{"anyOf":[{"$ref":"#/components/schemas/DealMEDDICResponse"},{"type":"null"}]},"risks":{"items":{"$ref":"#/components/schemas/DealAnalysisRiskResponse"},"type":"array","title":"Risks"},"deal_tasks":{"items":{"$ref":"#/components/schemas/DealAnalysisTaskResponse"},"type":"array","title":"Deal Tasks"},"deal_contact_analysis":{"items":{"$ref":"#/components/schemas/DealContactAnalysisResponse"},"type":"array","title":"Deal Contact Analysis"},"deal_objections":{"items":{"$ref":"#/components/schemas/DealAnalysisObjectionResponse"},"type":"array","title":"Deal Objections"},"deal_competitors":{"items":{"$ref":"#/components/schemas/DealAnalysisCompetitorResponse"},"type":"array","title":"Deal Competitors"},"deal_pricing":{"items":{"$ref":"#/components/schemas/DealAnalysisPricingResponse"},"type":"array","title":"Deal Pricing"}},"type":"object","required":["uid","deal_uid","call_uid","summary","call_count","created_at","meddic","risks","deal_tasks","deal_contact_analysis","deal_objections","deal_competitors","deal_pricing"],"title":"DealAnalysisResponse","description":"Full deal analysis snapshot."},"DealAnalysisRiskResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"risk":{"type":"string","title":"Risk"},"severity":{"$ref":"#/components/schemas/DealAnalysisRiskSeverity"},"evidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence"},"status":{"$ref":"#/components/schemas/DealAnalysisRiskStatus"},"first_identified_call_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"First Identified Call Uid"},"transcript_evidence":{"items":{"$ref":"#/components/schemas/EvidenceResponse"},"type":"array","title":"Transcript Evidence"},"resolution":{"anyOf":[{"$ref":"#/components/schemas/RiskResolutionResponse"},{"type":"null"}]}},"type":"object","required":["uid","risk","severity","evidence","status","first_identified_call_uid","transcript_evidence"],"title":"DealAnalysisRiskResponse","description":"Risk identified in deal analysis."},"DealAnalysisRiskSeverity":{"type":"string","enum":["low","medium","high","critical"],"title":"DealAnalysisRiskSeverity"},"DealAnalysisRiskStatus":{"type":"string","enum":["active","mitigated","resolved"],"title":"DealAnalysisRiskStatus"},"DealAnalysisStakeholderRole":{"type":"string","enum":["champion","decision_maker","influencer","blocker","end_user","evaluator"],"title":"DealAnalysisStakeholderRole"},"DealAnalysisStakeholderSentiment":{"type":"string","enum":["positive","neutral","negative","unknown"],"title":"DealAnalysisStakeholderSentiment"},"DealAnalysisTaskResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"description":{"type":"string","title":"Description"},"owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner"},"due_context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due Context"},"status":{"$ref":"#/components/schemas/DealAnalysisTaskStatus"},"source_call_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Call Uid"},"transcript_evidence":{"items":{"$ref":"#/components/schemas/EvidenceResponse"},"type":"array","title":"Transcript Evidence"}},"type":"object","required":["uid","description","owner","due_context","status","source_call_uid","transcript_evidence"],"title":"DealAnalysisTaskResponse","description":"Task/action item in deal analysis."},"DealAnalysisTaskStatus":{"type":"string","enum":["open","completed","cancelled"],"title":"DealAnalysisTaskStatus"},"DealAssignmentOutcome":{"type":"string","enum":["ineligible","manual","existing","crm","matched","created","ambiguous","not_qualified","no_company","no_open_deal"],"title":"DealAssignmentOutcome"},"DealAssignmentSource":{"type":"string","enum":["automatic","manual","crm"],"title":"DealAssignmentSource"},"DealChangeField":{"type":"string","enum":["name","status","stage","amount","currency","close_date","owner","crm_deal","lifecycle_status","merged_into","company","contact","contact_role","created"],"title":"DealChangeField"},"DealChangeOrigin":{"type":"string","enum":["ai","user","crm","system"],"title":"DealChangeOrigin"},"DealCompanyResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"name":{"type":"string","title":"Name"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"}},"type":"object","required":["uid","name","domain"],"title":"DealCompanyResponse","description":"Company associated with a deal."},"DealContactAnalysisResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"contact_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Uid"},"contact_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Name"},"name":{"type":"string","title":"Name"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"role":{"anyOf":[{"$ref":"#/components/schemas/DealAnalysisStakeholderRole"},{"type":"null"}]},"sentiment":{"anyOf":[{"$ref":"#/components/schemas/DealAnalysisStakeholderSentiment"},{"type":"null"}]},"engagement_level":{"anyOf":[{"$ref":"#/components/schemas/DealAnalysisEngagementLevel"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"last_seen_call_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Last Seen Call Uid"},"transcript_evidence":{"items":{"$ref":"#/components/schemas/EvidenceResponse"},"type":"array","title":"Transcript Evidence"}},"type":"object","required":["uid","contact_uid","contact_name","name","title","role","sentiment","engagement_level","notes","last_seen_call_uid","transcript_evidence"],"title":"DealContactAnalysisResponse","description":"LLM-generated analysis about a person in a deal."},"DealContactResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["uid","first_name","last_name","email"],"title":"DealContactResponse","description":"Contact associated with a deal."},"DealHealthScore":{"properties":{"score":{"type":"integer","title":"Score"},"activity_score":{"type":"integer","title":"Activity Score"},"meddic_score":{"type":"integer","title":"Meddic Score"},"meddic_score_raw":{"type":"integer","title":"Meddic Score Raw"},"risk_score":{"type":"integer","title":"Risk Score"},"call_count":{"type":"integer","title":"Call Count"},"days_since_last_call":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Days Since Last Call"},"engagement_bonus":{"type":"integer","title":"Engagement Bonus"},"close_date_urgency":{"type":"number","title":"Close Date Urgency"},"meddic_components":{"items":{"$ref":"#/components/schemas/MEDDICComponent"},"type":"array","title":"Meddic Components"},"stage_adjusted":{"type":"boolean","title":"Stage Adjusted"},"active_risks":{"type":"integer","title":"Active Risks"},"critical_risks":{"type":"integer","title":"Critical Risks"},"momentum":{"type":"integer","title":"Momentum"},"improving":{"type":"boolean","title":"Improving"}},"type":"object","required":["score","activity_score","meddic_score","meddic_score_raw","risk_score","call_count","days_since_last_call","engagement_bonus","close_date_urgency","meddic_components","stage_adjusted","active_risks","critical_risks","momentum","improving"],"title":"DealHealthScore","description":"Deal health score with explainability breakdown."},"DealListResponse":{"properties":{"deals":{"items":{"$ref":"#/components/schemas/DealResponse"},"type":"array","title":"Deals"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["deals","total"],"title":"DealListResponse","description":"Paginated list of deals."},"DealMEDDICResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"metrics":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metrics"},"economic_buyer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Economic Buyer"},"decision_criteria":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision Criteria"},"decision_process":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision Process"},"identify_pain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identify Pain"},"champion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Champion"},"improvements":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Improvements"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"},"has_metrics":{"type":"boolean","title":"Has Metrics"},"has_economic_buyer":{"type":"boolean","title":"Has Economic Buyer"},"has_decision_criteria":{"type":"boolean","title":"Has Decision Criteria"},"has_decision_process":{"type":"boolean","title":"Has Decision Process"},"has_identify_pain":{"type":"boolean","title":"Has Identify Pain"},"has_champion":{"type":"boolean","title":"Has Champion"}},"type":"object","required":["uid","metrics","economic_buyer","decision_criteria","decision_process","identify_pain","champion","improvements","score","has_metrics","has_economic_buyer","has_decision_criteria","has_decision_process","has_identify_pain","has_champion"],"title":"DealMEDDICResponse","description":"MEDDIC analysis for a deal."},"DealResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"name":{"type":"string","title":"Name"},"status":{"$ref":"#/components/schemas/DealStatus"},"crm_linked":{"type":"boolean","title":"Crm Linked"},"stage_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage Name"},"pending_suggestion_count":{"type":"integer","title":"Pending Suggestion Count"},"amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"close_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Close Date"},"stage":{"anyOf":[{"$ref":"#/components/schemas/DealStageResponse"},{"type":"null"}]},"contacts":{"items":{"$ref":"#/components/schemas/DealContactResponse"},"type":"array","title":"Contacts"},"companies":{"items":{"$ref":"#/components/schemas/DealCompanyResponse"},"type":"array","title":"Companies"},"calls_count":{"type":"integer","title":"Calls Count"},"risks_count":{"type":"integer","title":"Risks Count"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"last_synced_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Synced At"},"health_score":{"anyOf":[{"$ref":"#/components/schemas/DealHealthScore"},{"type":"null"}]},"owner":{"anyOf":[{"$ref":"#/components/schemas/ApiDealOwner"},{"type":"null"}]}},"type":"object","required":["uid","name","status","crm_linked","stage_name","pending_suggestion_count","amount","currency","close_date","stage","contacts","companies","calls_count","risks_count","created_at","updated_at","last_synced_at","health_score","owner"],"title":"DealResponse","description":"Deal response with related entities."},"DealRisk":{"properties":{"risk":{"type":"string","title":"Risk","description":"Description of the risk that could jeopardize the deal."},"severity":{"type":"string","title":"Severity","description":"Severity level of the risk: low, medium, high, or critical."},"evidence":{"type":"string","title":"Evidence","description":"Evidence from the transcript supporting this risk assessment."}},"type":"object","required":["risk","severity","evidence"],"title":"DealRisk","description":"Deal risk model."},"DealRiskCount":{"properties":{"high":{"type":"integer","title":"High","default":0},"medium":{"type":"integer","title":"Medium","default":0},"low":{"type":"integer","title":"Low","default":0}},"type":"object","title":"DealRiskCount","description":"Count of deal risks by severity."},"DealSearchRequest":{"properties":{"query":{"type":"string","maxLength":500,"minLength":1,"title":"Query","description":"Search query"},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","description":"Maximum results to return","default":20},"offset":{"type":"integer","minimum":0.0,"title":"Offset","description":"Number of results to skip for pagination","default":0},"include_context":{"type":"boolean","title":"Include Context","description":"Include context chunks","default":true},"context_window":{"type":"integer","maximum":5.0,"minimum":0.0,"title":"Context Window","description":"Number of context chunks","default":2}},"type":"object","required":["query"],"title":"DealSearchRequest","description":"Request schema for deal-specific search."},"DealStageListResponse":{"properties":{"stages":{"items":{"$ref":"#/components/schemas/DealStageResponse"},"type":"array","title":"Stages"}},"type":"object","required":["stages"],"title":"DealStageListResponse","description":"List of all deal stages."},"DealStageResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"label":{"type":"string","title":"Label"},"display_order":{"type":"integer","title":"Display Order"}},"type":"object","required":["uid","label","display_order"],"title":"DealStageResponse","description":"Deal stage information."},"DealStatus":{"type":"string","enum":["open","won","lost"],"title":"DealStatus"},"DealSuggestionResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"deal_uid":{"type":"string","format":"uuid","title":"Deal Uid"},"type":{"$ref":"#/components/schemas/DealSuggestionType"},"value":{"type":"string","title":"Value"},"display_value":{"type":"string","title":"Display Value"},"evidence_quote":{"type":"string","title":"Evidence Quote"},"crm_display_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Display Value"},"status":{"$ref":"#/components/schemas/DealSuggestionStatus"},"call_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Call Uid"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["uid","deal_uid","type","value","display_value","evidence_quote","crm_display_value","status","call_uid","created_at"],"title":"DealSuggestionResponse","description":"A proposed change to a deal, from a call or from CRM matching."},"DealSuggestionStatus":{"type":"string","enum":["pending","accepted","dismissed","superseded"],"title":"DealSuggestionStatus"},"DealSuggestionType":{"type":"string","enum":["stage","amount","close_date","link_crm_deal","merge_deal"],"title":"DealSuggestionType"},"DealSummaryResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"name":{"type":"string","title":"Name"},"status":{"$ref":"#/components/schemas/DealStatus"},"crm_linked":{"type":"boolean","title":"Crm Linked"}},"type":"object","required":["uid","name","status","crm_linked"],"title":"DealSummaryResponse"},"DealWithAnalysisResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"name":{"type":"string","title":"Name"},"status":{"$ref":"#/components/schemas/DealStatus"},"crm_linked":{"type":"boolean","title":"Crm Linked"},"stage_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage Name"},"crm_deal":{"anyOf":[{"$ref":"#/components/schemas/CRMDealReference"},{"type":"null"}]},"owner":{"anyOf":[{"$ref":"#/components/schemas/ApiDealOwner"},{"type":"null"}]},"suggestions":{"items":{"$ref":"#/components/schemas/DealSuggestionResponse"},"type":"array","title":"Suggestions"},"amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"close_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Close Date"},"stage":{"anyOf":[{"$ref":"#/components/schemas/DealStageResponse"},{"type":"null"}]},"contacts":{"items":{"$ref":"#/components/schemas/DealContactResponse"},"type":"array","title":"Contacts"},"companies":{"items":{"$ref":"#/components/schemas/DealCompanyResponse"},"type":"array","title":"Companies"},"calls_count":{"type":"integer","title":"Calls Count"},"risks_count":{"type":"integer","title":"Risks Count"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"last_synced_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Synced At"},"analysis":{"anyOf":[{"$ref":"#/components/schemas/DealAnalysisResponse"},{"type":"null"}]},"health_score":{"anyOf":[{"$ref":"#/components/schemas/DealHealthScore"},{"type":"null"}]}},"type":"object","required":["uid","name","status","crm_linked","stage_name","crm_deal","owner","suggestions","amount","currency","close_date","stage","contacts","companies","calls_count","risks_count","created_at","updated_at","last_synced_at","analysis","health_score"],"title":"DealWithAnalysisResponse","description":"Deal with its latest analysis."},"DesktopCapturePlatform":{"type":"string","enum":["google_meet","meet_desktop","slack_huddle","slack_web","teams_desktop","teams_web","unknown_desktop","webex_desktop","webex_web","zoom_desktop","zoom_web"],"title":"DesktopCapturePlatform"},"EmailDraftInput":{"properties":{"subject_line":{"type":"string","title":"Subject Line","description":"The email subject line only, without greeting or body text."},"email_content":{"type":"string","title":"Email Content","description":"The email body only, without the subject line."}},"type":"object","required":["subject_line","email_content"],"title":"EmailDraftInput"},"EndImpersonationResponse":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"EndImpersonationResponse"},"EnrichedCalendarEventResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"start":{"$ref":"#/components/schemas/EventDateTime"},"end":{"$ref":"#/components/schemas/EventDateTime"},"recordings":{"anyOf":[{"items":{"$ref":"#/components/schemas/RecordingResponseModel"},"type":"array"},{"type":"null"}],"title":"Recordings"},"transcripts":{"anyOf":[{"items":{"$ref":"#/components/schemas/TranscriptResponseModel"},"type":"array"},{"type":"null"}],"title":"Transcripts"},"attendees":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Attendees"},"organizer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organizer"},"participants":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Participants"},"current_status":{"anyOf":[{"$ref":"#/components/schemas/CalendarEventStatus"},{"type":"null"}]}},"type":"object","required":["uid","summary","start","end"],"title":"EnrichedCalendarEventResponse"},"EventDateTime":{"properties":{"dateTime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Datetime"},"timeZone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"}},"type":"object","required":["dateTime"],"title":"EventDateTime"},"EvidenceResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"call_uid":{"type":"string","format":"uuid","title":"Call Uid"},"timestamp":{"type":"string","title":"Timestamp"},"quote":{"type":"string","title":"Quote"}},"type":"object","required":["uid","call_uid","timestamp","quote"],"title":"EvidenceResponse","description":"Transcript evidence from a call."},"ExchangeTokenRequest":{"properties":{"exchange_token":{"type":"string","title":"Exchange Token"}},"type":"object","required":["exchange_token"],"title":"ExchangeTokenRequest"},"ExchangeTokenResponse":{"properties":{"session_token":{"type":"string","title":"Session Token"},"session_uid":{"type":"string","title":"Session Uid"},"target_user":{"$ref":"#/components/schemas/ImpersonationTargetUser"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["session_token","session_uid","target_user","expires_at"],"title":"ExchangeTokenResponse"},"FieldMappingCreate":{"properties":{"crm_provider":{"$ref":"#/components/schemas/CRMProvider"},"entity_type":{"$ref":"#/components/schemas/CRMEntityType"},"auditory_field":{"type":"string","title":"Auditory Field"},"crm_field":{"type":"string","title":"Crm Field"},"field_type":{"$ref":"#/components/schemas/FieldType"},"sync_direction":{"$ref":"#/components/schemas/CRMSyncDirection"},"requires_approval":{"type":"boolean","title":"Requires Approval","default":true},"transformation_format":{"anyOf":[{"$ref":"#/components/schemas/TransformationFormat"},{"type":"null"}]},"transformation_max_length":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Transformation Max Length"},"transformation_date_format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transformation Date Format"}},"type":"object","required":["crm_provider","entity_type","auditory_field","crm_field","field_type","sync_direction"],"title":"FieldMappingCreate","description":"Request model for creating a field mapping."},"FieldMappingListResponse":{"properties":{"mappings":{"items":{"$ref":"#/components/schemas/FieldMappingResponse"},"type":"array","title":"Mappings"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["mappings","total","limit","offset"],"title":"FieldMappingListResponse","description":"Response model for paginated field mapping list."},"FieldMappingResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"organization_uid":{"type":"string","format":"uuid","title":"Organization Uid"},"crm_provider":{"type":"string","title":"Crm Provider"},"entity_type":{"type":"string","title":"Entity Type"},"auditory_field":{"type":"string","title":"Auditory Field"},"crm_field":{"type":"string","title":"Crm Field"},"field_type":{"type":"string","title":"Field Type"},"sync_direction":{"type":"string","title":"Sync Direction"},"is_active":{"type":"boolean","title":"Is Active"},"requires_approval":{"type":"boolean","title":"Requires Approval"},"transformation_format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transformation Format"},"transformation_max_length":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Transformation Max Length"},"transformation_date_format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transformation Date Format"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["uid","organization_uid","crm_provider","entity_type","auditory_field","crm_field","field_type","sync_direction","is_active","requires_approval","transformation_format","transformation_max_length","transformation_date_format","created_at","updated_at"],"title":"FieldMappingResponse","description":"Response model for a field mapping."},"FieldMappingUpdate":{"properties":{"auditory_field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auditory Field"},"crm_field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Field"},"field_type":{"anyOf":[{"$ref":"#/components/schemas/FieldType"},{"type":"null"}]},"sync_direction":{"anyOf":[{"$ref":"#/components/schemas/CRMSyncDirection"},{"type":"null"}]},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"requires_approval":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Requires Approval"},"transformation_format":{"anyOf":[{"$ref":"#/components/schemas/TransformationFormat"},{"type":"null"}]},"transformation_max_length":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Transformation Max Length"},"transformation_date_format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transformation Date Format"}},"type":"object","title":"FieldMappingUpdate","description":"Request model for updating a field mapping."},"FieldType":{"type":"string","enum":["standard","custom"],"title":"FieldType"},"FindDealsInput":{"properties":{"query":{"type":"string","title":"Query","description":"Words from the deal name. Leave empty to list recent deals.","default":""}},"type":"object","title":"FindDealsInput"},"FindMeetingsInput":{"properties":{"held_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Held From","description":"Earliest date held, YYYY-MM-DD."},"held_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Held To","description":"Latest date held, YYYY-MM-DD."},"query":{"type":"string","title":"Query","description":"Every distinctive word at once: words from the title and the names or emails of everyone mentioned, for example 'jake duncan pricing'. A meeting matching any word is found, best match first, and part of a name is enough. Leave empty to list the most recent meetings.","default":""}},"type":"object","title":"FindMeetingsInput"},"FragmentUploadRequest":{"properties":{"sequence":{"type":"integer","minimum":0.0,"title":"Sequence"},"kind":{"$ref":"#/components/schemas/CaptureFragmentKind"}},"type":"object","required":["sequence","kind"],"title":"FragmentUploadRequest"},"Gender":{"type":"string","enum":["male","female","non_binary","prefer_not_to_say"],"title":"Gender"},"GetDealInput":{"properties":{"deal_uid":{"type":"string","format":"uuid","title":"Deal Uid","description":"The deal_uid of a found deal."}},"type":"object","required":["deal_uid"],"title":"GetDealInput"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ImpersonationContextResponse":{"properties":{"impersonating":{"type":"boolean","title":"Impersonating"},"session_uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Uid"},"target_user":{"anyOf":[{"$ref":"#/components/schemas/ImpersonationTargetUser"},{"type":"null"}]},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["impersonating"],"title":"ImpersonationContextResponse"},"ImpersonationTargetUser":{"properties":{"uid":{"type":"string","title":"Uid"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["uid","first_name","last_name","email"],"title":"ImpersonationTargetUser"},"Integration":{"properties":{"name":{"type":"string","title":"Name"},"connected":{"type":"boolean","title":"Connected"},"status":{"type":"string","enum":["connected","disconnected","unavailable"],"title":"Status"},"link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link"}},"type":"object","required":["name","connected","status"],"title":"Integration"},"IntegrationsStatusResponse":{"properties":{"integrations":{"items":{"$ref":"#/components/schemas/Integration"},"type":"array","title":"Integrations"}},"type":"object","required":["integrations"],"title":"IntegrationsStatusResponse"},"KeyHighlight":{"properties":{"timestamp":{"type":"string","title":"Timestamp","description":"Timestamp of when this highlight occurred in the meeting (e.g., '5:32')."},"topic":{"type":"string","title":"Topic","description":"Brief topic or category of the highlight."},"segment":{"type":"string","title":"Segment","description":"The actual quoted segment from the transcript."},"significance":{"type":"string","title":"Significance","description":"Why this segment is significant or important."}},"type":"object","required":["timestamp","topic","segment","significance"],"title":"KeyHighlight","description":"Key highlight from the transcript."},"LabelResultCount":{"properties":{"label_uid":{"type":"string","format":"uuid","title":"Label Uid"},"label_name":{"type":"string","title":"Label Name"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["label_uid","label_name","count"],"title":"LabelResultCount","description":"Count of results for a specific label."},"LinkCRMDealRequest":{"properties":{"crm_deal_uid":{"type":"string","format":"uuid","title":"Crm Deal Uid"}},"type":"object","required":["crm_deal_uid"],"title":"LinkCRMDealRequest"},"LinkCallRequest":{"properties":{"call_uid":{"type":"string","format":"uuid","title":"Call Uid"}},"type":"object","required":["call_uid"],"title":"LinkCallRequest","description":"Request to link a call to a deal."},"LinkCallResponse":{"properties":{"status":{"$ref":"#/components/schemas/LinkCallStatus"},"deal_uid":{"type":"string","format":"uuid","title":"Deal Uid"},"call_uid":{"type":"string","format":"uuid","title":"Call Uid"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id"}},"type":"object","required":["status","deal_uid","call_uid","workflow_id"],"title":"LinkCallResponse","description":"Response from linking a call to a deal."},"LinkCallStatus":{"type":"string","enum":["analysis_triggered","analysis_completed","analysis_failed","linked_without_analysis"],"title":"LinkCallStatus","description":"Status of a link-call operation."},"LiveCallSummary":{"properties":{"bot_id":{"type":"string","title":"Bot Id"},"title":{"type":"string","title":"Title"},"platform":{"type":"string","title":"Platform"},"bot_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bot Name"},"meeting_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Url"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"}},"type":"object","required":["bot_id","title","platform"],"title":"LiveCallSummary","description":"Summary of an active live call."},"LiveTranscriptResponse":{"properties":{"utterances":{"items":{"$ref":"#/components/schemas/LiveUtteranceResponse"},"type":"array","title":"Utterances"},"next_sequence":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Sequence"},"has_more":{"type":"boolean","title":"Has More","default":false},"ended":{"type":"boolean","title":"Ended","default":false}},"type":"object","required":["utterances"],"title":"LiveTranscriptResponse"},"LiveUtteranceResponse":{"properties":{"sequence_number":{"type":"integer","title":"Sequence Number"},"speaker_name":{"type":"string","title":"Speaker Name"},"speaker_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Uuid"},"text":{"type":"string","title":"Text"},"timestamp_ms":{"type":"integer","title":"Timestamp Ms"},"duration_ms":{"type":"integer","title":"Duration Ms"},"is_final":{"type":"boolean","title":"Is Final"}},"type":"object","required":["sequence_number","speaker_name","text","timestamp_ms","duration_ms","is_final"],"title":"LiveUtteranceResponse"},"MEDDICAnalysis":{"properties":{"metrics":{"type":"string","title":"Metrics","description":"Assessment of quantifiable results, KPIs, or metrics discussed. State 'Not discussed' if absent."},"economic_buyer":{"type":"string","title":"Economic Buyer","description":"Identification or discussion related to the person with ultimate budget authority. State 'Not discussed' if absent."},"decision_criteria":{"type":"string","title":"Decision Criteria","description":"Assessment of the criteria mentioned for making the decision. State 'Not discussed' if absent."},"decision_process":{"type":"string","title":"Decision Process","description":"Assessment of the steps or process mentioned for reaching a decision. State 'Not discussed' if absent."},"identify_pain":{"type":"string","title":"Identify Pain","description":"Identification or discussion of the core problems or pain points the solution addresses. State 'Not discussed' if absent."},"champion":{"type":"string","title":"Champion","description":"Identification or discussion related to an internal advocate or champion for the solution/project. State 'Not discussed' if absent."},"improvements":{"type":"string","title":"Improvements","description":"Suggest improvements for the salesperson based on the analysis. State 'Not discussed' if absent."},"score":{"type":"integer","title":"Score","description":"Score based on the analysis. Higher scores indicate better alignment with MEDDIC criteria. 0 to 100."},"has_metrics":{"type":"boolean","title":"Has Metrics","default":false},"has_economic_buyer":{"type":"boolean","title":"Has Economic Buyer","default":false},"has_decision_criteria":{"type":"boolean","title":"Has Decision Criteria","default":false},"has_decision_process":{"type":"boolean","title":"Has Decision Process","default":false},"has_identify_pain":{"type":"boolean","title":"Has Identify Pain","default":false},"has_champion":{"type":"boolean","title":"Has Champion","default":false}},"type":"object","required":["metrics","economic_buyer","decision_criteria","decision_process","identify_pain","champion","improvements","score"],"title":"MEDDICAnalysis"},"MEDDICComponent":{"type":"string","enum":["metrics","economic_buyer","decision_criteria","decision_process","identify_pain","champion"],"title":"MEDDICComponent","description":"MEDDIC methodology components."},"ManualDealStatus":{"type":"string","enum":["open","won","lost"],"title":"ManualDealStatus"},"MeddicAnalyticsResponse":{"properties":{"start_date":{"type":"string","title":"Start Date"},"end_date":{"type":"string","title":"End Date"},"time_bucket":{"type":"string","title":"Time Bucket"},"salespeople":{"items":{"$ref":"#/components/schemas/SalespersonMeddicAnalytics"},"type":"array","title":"Salespeople"},"organization_aggregate":{"anyOf":[{"$ref":"#/components/schemas/SalespersonMeddicAnalytics"},{"type":"null"}],"description":"Aggregate metrics across all salespeople"}},"type":"object","required":["start_date","end_date","time_bucket","salespeople"],"title":"MeddicAnalyticsResponse","description":"Response model for MEDDIC analytics over time."},"MeddicCompletionEnum":{"type":"string","enum":["complete","high","medium","low"],"title":"MeddicCompletionEnum","description":"MEDDIC completion level options."},"MeddicFieldCounts":{"properties":{"metrics":{"type":"integer","title":"Metrics","default":0},"economic_buyer":{"type":"integer","title":"Economic Buyer","default":0},"decision_criteria":{"type":"integer","title":"Decision Criteria","default":0},"decision_process":{"type":"integer","title":"Decision Process","default":0},"identify_pain":{"type":"integer","title":"Identify Pain","default":0},"champion":{"type":"integer","title":"Champion","default":0}},"type":"object","title":"MeddicFieldCounts","description":"Counts for each MEDDIC field at a point in time."},"MeddicPopulationStatus":{"properties":{"metrics":{"type":"boolean","title":"Metrics","default":false},"economic_buyer":{"type":"boolean","title":"Economic Buyer","default":false},"decision_criteria":{"type":"boolean","title":"Decision Criteria","default":false},"decision_process":{"type":"boolean","title":"Decision Process","default":false},"identify_pain":{"type":"boolean","title":"Identify Pain","default":false},"champion":{"type":"boolean","title":"Champion","default":false}},"type":"object","title":"MeddicPopulationStatus","description":"MEDDIC field population status."},"MeddicTimeSeriesDataPoint":{"properties":{"date":{"type":"string","title":"Date"},"total_calls":{"type":"integer","title":"Total Calls"},"field_counts":{"$ref":"#/components/schemas/MeddicFieldCounts"},"completion_rate":{"type":"number","title":"Completion Rate","description":"Percentage of calls with all 6 MEDDIC fields populated (0-100)"}},"type":"object","required":["date","total_calls","field_counts","completion_rate"],"title":"MeddicTimeSeriesDataPoint","description":"Single data point in MEDDIC time series."},"MeetingDetail":{"properties":{"meeting_id":{"type":"string","title":"Meeting Id"},"summary":{"type":"string","title":"Summary"},"transcript_segments":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Transcript Segments"},"video_url":{"type":"string","title":"Video Url"}},"type":"object","required":["meeting_id","summary","transcript_segments","video_url"],"title":"MeetingDetail"},"MergeDealRequest":{"properties":{"target_deal_uid":{"type":"string","format":"uuid","title":"Target Deal Uid"}},"type":"object","required":["target_deal_uid"],"title":"MergeDealRequest"},"OnDemandBotRequest":{"properties":{"meeting_url":{"type":"string","title":"Meeting Url"},"bot_name":{"type":"string","title":"Bot Name","default":"Notetaker"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"type":"object","required":["meeting_url"],"title":"OnDemandBotRequest"},"OnDemandBotResponse":{"properties":{"bot_uid":{"type":"string","format":"uuid","title":"Bot Uid"},"external_bot_id":{"type":"string","title":"External Bot Id"},"bot_type":{"$ref":"#/components/schemas/BotProviderType"},"platform":{"type":"string","title":"Platform"},"meeting_url":{"type":"string","title":"Meeting Url"},"join_at":{"type":"string","format":"date-time","title":"Join At"},"status":{"$ref":"#/components/schemas/OnDemandBotStatus"},"calendar_event_uid":{"type":"string","format":"uuid","title":"Calendar Event Uid"}},"type":"object","required":["bot_uid","external_bot_id","bot_type","platform","meeting_url","join_at","status","calendar_event_uid"],"title":"OnDemandBotResponse"},"OnDemandBotStatus":{"type":"string","enum":["created","already_active"],"title":"OnDemandBotStatus"},"OnboardingStatusResponse":{"properties":{"user_synced":{"type":"boolean","title":"User Synced"},"calendar_connected":{"type":"boolean","title":"Calendar Connected"},"calendar_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calendar Provider"},"calendar_scopes":{"items":{"type":"string"},"type":"array","title":"Calendar Scopes"},"calendar_strategy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calendar Strategy"},"organization_membership":{"type":"string","title":"Organization Membership"},"is_admin":{"type":"boolean","title":"Is Admin"},"has_free_email":{"type":"boolean","title":"Has Free Email"},"email_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Domain"},"organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Name"},"hubspot_connected":{"type":"boolean","title":"Hubspot Connected"}},"type":"object","required":["user_synced","calendar_connected","calendar_provider","calendar_scopes","calendar_strategy","organization_membership","is_admin","has_free_email","email_domain","organization_name","hubspot_connected"],"title":"OnboardingStatusResponse"},"PainPoint":{"properties":{"description":{"type":"string","title":"Description"}},"type":"object","required":["description"],"title":"PainPoint"},"ReadMeetingInput":{"properties":{"call_uid":{"type":"string","format":"uuid","title":"Call Uid","description":"The call_uid of a found meeting."},"page":{"type":"integer","minimum":1.0,"title":"Page","description":"Transcript page, starting at 1.","default":1}},"type":"object","required":["call_uid"],"title":"ReadMeetingInput"},"RecordingMethod":{"type":"string","enum":["bot","desktop","bot_and_desktop"],"title":"RecordingMethod"},"RecordingResponseModel":{"properties":{"id":{"type":"string","title":"Id"},"download_url":{"type":"string","title":"Download Url"}},"type":"object","required":["id","download_url"],"title":"RecordingResponseModel"},"RecordingStart":{"type":"string","enum":["automatic","ask"],"title":"RecordingStart"},"ResolveRiskRequest":{"properties":{"status":{"$ref":"#/components/schemas/DealAnalysisRiskStatus"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["status"],"title":"ResolveRiskRequest","description":"Request to resolve/mitigate a risk."},"RiskResolutionResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"resolved_by_uid":{"type":"string","format":"uuid","title":"Resolved By Uid"},"resolved_by_name":{"type":"string","title":"Resolved By Name"},"status":{"$ref":"#/components/schemas/DealAnalysisRiskStatus"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["uid","resolved_by_uid","resolved_by_name","status","reason","created_at"],"title":"RiskResolutionResponse","description":"Resolution details for a risk."},"SalespeopleListResponse":{"properties":{"salespeople":{"items":{"$ref":"#/components/schemas/server__api__routes__app__teams__SalespersonResponse"},"type":"array","title":"Salespeople"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["salespeople","total","limit","offset"],"title":"SalespeopleListResponse","description":"Response model for paginated list of salespeople."},"SalespersonCallCount":{"properties":{"salesperson_email":{"type":"string","title":"Salesperson Email"},"salesperson_name":{"type":"string","title":"Salesperson Name"},"call_count":{"type":"integer","title":"Call Count"}},"type":"object","required":["salesperson_email","salesperson_name","call_count"],"title":"SalespersonCallCount","description":"Call count for a single salesperson."},"SalespersonMeddicAnalytics":{"properties":{"salesperson_email":{"type":"string","title":"Salesperson Email"},"salesperson_name":{"type":"string","title":"Salesperson Name"},"total_calls":{"type":"integer","title":"Total Calls"},"average_completion_rate":{"type":"number","title":"Average Completion Rate","description":"Average MEDDIC completion rate across all calls (0-100)"},"time_series":{"items":{"$ref":"#/components/schemas/MeddicTimeSeriesDataPoint"},"type":"array","title":"Time Series"}},"type":"object","required":["salesperson_email","salesperson_name","total_calls","average_completion_rate","time_series"],"title":"SalespersonMeddicAnalytics","description":"MEDDIC analytics for a single salesperson."},"SearchMeetingsInput":{"properties":{"held_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Held From","description":"Earliest date held, YYYY-MM-DD."},"held_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Held To","description":"Latest date held, YYYY-MM-DD."},"query":{"type":"string","title":"Query","description":"The topic or phrase to look for in what was said."}},"type":"object","required":["query"],"title":"SearchMeetingsInput"},"SearchRequest":{"properties":{"query":{"type":"string","maxLength":500,"minLength":1,"title":"Query","description":"Search query"},"deal_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Deal Id","description":"Filter by deal ID"},"call_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Call Ids","description":"Filter by specific call IDs"},"start_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Date","description":"Filter calls after this date"},"end_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Date","description":"Filter calls before this date"},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","description":"Maximum results to return","default":20},"offset":{"type":"integer","minimum":0.0,"title":"Offset","description":"Number of results to skip for pagination","default":0},"include_context":{"type":"boolean","title":"Include Context","description":"Include context chunks","default":true},"context_window":{"type":"integer","maximum":5.0,"minimum":0.0,"title":"Context Window","description":"Number of context chunks","default":2}},"type":"object","required":["query"],"title":"SearchRequest","description":"Request schema for transcript search."},"SearchResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/SearchResultItem"},"type":"array","title":"Results"},"stats":{"$ref":"#/components/schemas/SearchStats"},"query":{"type":"string","title":"Query"}},"type":"object","required":["results","stats","query"],"title":"SearchResponse","description":"Response schema for transcript search."},"SearchResultItem":{"properties":{"chunk_id":{"type":"integer","title":"Chunk Id"},"chunk_uid":{"type":"string","title":"Chunk Uid"},"call":{"$ref":"#/components/schemas/CallInfo","description":"Call this chunk belongs to"},"text":{"type":"string","title":"Text"},"start_time":{"type":"number","title":"Start Time","description":"Start time in seconds from call start"},"end_time":{"type":"number","title":"End Time","description":"End time in seconds from call start"},"primary_speaker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Speaker"},"all_speakers":{"items":{"type":"string"},"type":"array","title":"All Speakers"},"speaker_turns":{"items":{"$ref":"#/components/schemas/SpeakerTurn"},"type":"array","title":"Speaker Turns","description":"Detailed speaker turns within this chunk"},"semantic_score":{"type":"number","title":"Semantic Score","description":"Semantic similarity score (0-1)"},"lexical_score":{"type":"number","title":"Lexical Score","description":"Lexical relevance score"},"combined_score":{"type":"number","title":"Combined Score","description":"Combined RRF score"},"rank":{"type":"integer","title":"Rank","description":"Final ranking position"},"matched_terms":{"items":{"type":"string"},"type":"array","title":"Matched Terms","description":"Lexical terms that matched (for highlighting)"},"context_before":{"anyOf":[{"items":{"$ref":"#/components/schemas/ChunkContext"},"type":"array"},{"type":"null"}],"title":"Context Before"},"context_after":{"anyOf":[{"items":{"$ref":"#/components/schemas/ChunkContext"},"type":"array"},{"type":"null"}],"title":"Context After"}},"type":"object","required":["chunk_id","chunk_uid","call","text","start_time","end_time","primary_speaker","all_speakers","speaker_turns","semantic_score","lexical_score","combined_score","rank"],"title":"SearchResultItem","description":"A single search result."},"SearchStats":{"properties":{"total_results":{"type":"integer","title":"Total Results","description":"Number of results in current page"},"total_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Count","description":"Total number of results (null if unknown/too large)"},"has_more":{"type":"boolean","title":"Has More","description":"Whether more results are available"},"semantic_results":{"type":"integer","title":"Semantic Results"},"lexical_results":{"type":"integer","title":"Lexical Results"},"rrf_results":{"type":"integer","title":"Rrf Results"},"query_time_ms":{"type":"number","title":"Query Time Ms"},"embedding_time_ms":{"type":"number","title":"Embedding Time Ms"},"page":{"type":"integer","title":"Page","description":"Current page number (1-indexed)"},"page_size":{"type":"integer","title":"Page Size","description":"Results per page"},"total_pages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Pages","description":"Total number of pages (null if total_count is unknown)"}},"type":"object","required":["total_results","has_more","semantic_results","lexical_results","rrf_results","query_time_ms","embedding_time_ms","page","page_size"],"title":"SearchStats","description":"Search statistics."},"SearchTranscriptInput":{"properties":{"query":{"type":"string","title":"Query"},"max_results":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Max Results","default":5}},"type":"object","required":["query"],"title":"SearchTranscriptInput"},"SendEmailInput":{"properties":{"to":{"items":{"type":"string"},"type":"array","minItems":1,"title":"To"},"subject":{"type":"string","title":"Subject"},"body":{"type":"string","title":"Body"},"cc":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Cc"}},"type":"object","required":["to","subject","body"],"title":"SendEmailInput"},"SetCallVisibilityRequest":{"properties":{"visibility":{"$ref":"#/components/schemas/CallVisibility"}},"type":"object","required":["visibility"],"title":"SetCallVisibilityRequest","description":"Request model for setting call visibility."},"SetDealStatusRequest":{"properties":{"status":{"$ref":"#/components/schemas/ManualDealStatus"}},"type":"object","required":["status"],"title":"SetDealStatusRequest"},"SortByEnum":{"type":"string","enum":["scheduled_start","created_at","title","platform"],"title":"SortByEnum","description":"Fields available for sorting."},"SortOrderEnum":{"type":"string","enum":["asc","desc"],"title":"SortOrderEnum","description":"Sort order options."},"SpeakerModel":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"total_time":{"type":"number","title":"Total Time"},"segment_count":{"type":"integer","title":"Segment Count"},"percentage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Percentage"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["id","name","total_time","segment_count"],"title":"SpeakerModel"},"SpeakerTurn":{"properties":{"speaker":{"type":"string","title":"Speaker"},"start_time":{"type":"number","title":"Start Time"},"end_time":{"type":"number","title":"End Time"},"text":{"type":"string","title":"Text"}},"type":"object","required":["speaker","start_time","end_time","text"],"title":"SpeakerTurn","description":"Speaker turn within a chunk."},"SyncLogListResponse":{"properties":{"logs":{"items":{"$ref":"#/components/schemas/SyncLogResponse"},"type":"array","title":"Logs"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["logs","total","limit","offset"],"title":"SyncLogListResponse","description":"Response model for paginated sync log list."},"SyncLogResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"entity_type":{"type":"string","title":"Entity Type"},"entity_id":{"type":"string","format":"uuid","title":"Entity Id"},"crm_provider":{"type":"string","title":"Crm Provider"},"sync_direction":{"type":"string","title":"Sync Direction"},"status":{"type":"string","title":"Status"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"synced_fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Synced Fields"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["uid","entity_type","entity_id","crm_provider","sync_direction","status","error_message","synced_fields","created_at"],"title":"SyncLogResponse","description":"Response model for a sync log entry."},"TeamListResponse":{"properties":{"teams":{"items":{"$ref":"#/components/schemas/TeamResponse"},"type":"array","title":"Teams"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["teams","total","limit","offset"],"title":"TeamListResponse"},"TeamResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"organization_uid":{"type":"string","format":"uuid","title":"Organization Uid"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"member_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Member Count","default":0}},"type":"object","required":["uid","organization_uid","name","description","created_at","updated_at"],"title":"TeamResponse"},"TimeBucket":{"type":"string","enum":["daily","weekly","monthly"],"title":"TimeBucket","description":"Time bucket options for aggregation."},"TrackerAnalyticsResponse":{"properties":{"trackers":{"items":{"$ref":"#/components/schemas/TrackerAnalyticsSummary"},"type":"array","title":"Trackers"},"total_calls_analyzed":{"type":"integer","title":"Total Calls Analyzed"},"date_range_start":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Range Start"},"date_range_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Range End"},"detailed_results":{"anyOf":[{"items":{"$ref":"#/components/schemas/TrackerResultsByLabel"},"type":"array"},{"type":"null"}],"title":"Detailed Results"}},"type":"object","required":["trackers","total_calls_analyzed"],"title":"TrackerAnalyticsResponse","description":"Response model for tracker analytics aggregation."},"TrackerAnalyticsSummary":{"properties":{"tracker_uid":{"type":"string","format":"uuid","title":"Tracker Uid"},"tracker_title":{"type":"string","title":"Tracker Title"},"total_calls":{"type":"integer","title":"Total Calls"},"label_counts":{"items":{"$ref":"#/components/schemas/LabelResultCount"},"type":"array","title":"Label Counts"}},"type":"object","required":["tracker_uid","tracker_title","total_calls","label_counts"],"title":"TrackerAnalyticsSummary","description":"Analytics summary for a single tracker."},"TrackerCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"ai_prompt":{"type":"string","minLength":1,"title":"Ai Prompt"},"supports_multilabel":{"type":"boolean","title":"Supports Multilabel","default":false},"is_self_learning":{"type":"boolean","title":"Is Self Learning","default":false},"auto_approve_labels":{"type":"boolean","title":"Auto Approve Labels","default":true},"team_uids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Team Uids"},"labels":{"items":{"$ref":"#/components/schemas/TrackerLabelCreate"},"type":"array","minItems":1,"title":"Labels"}},"type":"object","required":["title","ai_prompt","labels"],"title":"TrackerCreate","description":"Model for creating a tracker."},"TrackerLabelCreate":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"description":{"type":"string","minLength":1,"title":"Description"},"display_order":{"type":"integer","title":"Display Order","default":0}},"type":"object","required":["name","description"],"title":"TrackerLabelCreate","description":"Model for creating a tracker label."},"TrackerLabelResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"display_order":{"type":"integer","title":"Display Order"},"is_auto_created":{"type":"boolean","title":"Is Auto Created","default":false},"status":{"$ref":"#/components/schemas/TrackerLabelStatus","default":"active"}},"type":"object","required":["uid","name","description","display_order"],"title":"TrackerLabelResponse","description":"Response model for tracker label."},"TrackerLabelStatus":{"type":"string","enum":["active","pending","inactive"],"title":"TrackerLabelStatus"},"TrackerLabelUpdate":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"description":{"type":"string","minLength":1,"title":"Description"},"display_order":{"type":"integer","title":"Display Order","default":0},"status":{"$ref":"#/components/schemas/TrackerLabelStatus","default":"active"}},"type":"object","required":["uid","name","description"],"title":"TrackerLabelUpdate","description":"Model for updating a tracker label (used in TrackerUpdate)."},"TrackerResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"title":{"type":"string","title":"Title"},"ai_prompt":{"type":"string","title":"Ai Prompt"},"is_active":{"type":"boolean","title":"Is Active"},"supports_multilabel":{"type":"boolean","title":"Supports Multilabel"},"is_self_learning":{"type":"boolean","title":"Is Self Learning"},"auto_approve_labels":{"type":"boolean","title":"Auto Approve Labels"},"team_uids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Team Uids"},"labels":{"items":{"$ref":"#/components/schemas/TrackerLabelResponse"},"type":"array","title":"Labels"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["uid","title","ai_prompt","is_active","supports_multilabel","is_self_learning","auto_approve_labels","team_uids","labels","created_by","created_at","updated_at"],"title":"TrackerResponse","description":"Response model for tracker."},"TrackerResultDetail":{"properties":{"call_uid":{"type":"string","format":"uuid","title":"Call Uid"},"label_uid":{"type":"string","format":"uuid","title":"Label Uid"},"label_name":{"type":"string","title":"Label Name"},"processed_at":{"type":"string","format":"date-time","title":"Processed At"}},"type":"object","required":["call_uid","label_uid","label_name","processed_at"],"title":"TrackerResultDetail","description":"Individual tracker result with call reference."},"TrackerResultResponse":{"properties":{"tracker_uid":{"type":"string","format":"uuid","title":"Tracker Uid"},"tracker_title":{"type":"string","title":"Tracker Title"},"label_names":{"items":{"type":"string"},"type":"array","title":"Label Names"},"processed_at":{"type":"string","title":"Processed At"}},"type":"object","required":["tracker_uid","tracker_title","label_names","processed_at"],"title":"TrackerResultResponse","description":"Response model for tracker results on a call."},"TrackerResultSummary":{"properties":{"tracker_uid":{"type":"string","format":"uuid","title":"Tracker Uid"},"tracker_title":{"type":"string","title":"Tracker Title"},"label_names":{"items":{"type":"string"},"type":"array","title":"Label Names"}},"type":"object","required":["tracker_uid","tracker_title"],"title":"TrackerResultSummary","description":"Summary of tracker results for a call."},"TrackerResultsByLabel":{"properties":{"tracker_uid":{"type":"string","format":"uuid","title":"Tracker Uid"},"tracker_title":{"type":"string","title":"Tracker Title"},"results_by_label":{"additionalProperties":{"items":{"$ref":"#/components/schemas/TrackerResultDetail"},"type":"array"},"type":"object","title":"Results By Label"}},"type":"object","required":["tracker_uid","tracker_title","results_by_label"],"title":"TrackerResultsByLabel","description":"Tracker results grouped by label."},"TrackerTestRequest":{"properties":{"call_uid":{"type":"string","format":"uuid","title":"Call Uid"},"prompt":{"type":"string","title":"Prompt"},"labels":{"additionalProperties":{"type":"string"},"type":"object","title":"Labels"},"supports_multilabel":{"type":"boolean","title":"Supports Multilabel","default":false},"is_self_learning":{"type":"boolean","title":"Is Self Learning","default":false},"auto_approve_labels":{"type":"boolean","title":"Auto Approve Labels","default":true},"tracker_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Tracker Uid","description":"Optional tracker UID. If provided, labels will be fetched from the tracker and filtered to only active labels."}},"type":"object","required":["call_uid","prompt","labels"],"title":"TrackerTestRequest","description":"Request model for testing a tracker."},"TrackerTestResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"selected_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Label"},"selected_labels":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Selected Labels"},"new_labels":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"New Labels"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"processing_duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Processing Duration Ms"}},"type":"object","required":["uid","selected_label","processing_duration_ms"],"title":"TrackerTestResponse","description":"Response model for tracker test result."},"TrackerUpdate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"ai_prompt":{"type":"string","minLength":1,"title":"Ai Prompt"},"supports_multilabel":{"type":"boolean","title":"Supports Multilabel"},"is_self_learning":{"type":"boolean","title":"Is Self Learning"},"auto_approve_labels":{"type":"boolean","title":"Auto Approve Labels"},"team_uids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Team Uids"},"is_active":{"type":"boolean","title":"Is Active"},"labels":{"items":{"$ref":"#/components/schemas/TrackerLabelUpdate"},"type":"array","title":"Labels"}},"type":"object","required":["title","ai_prompt","supports_multilabel","is_self_learning","auto_approve_labels","team_uids","is_active","labels"],"title":"TrackerUpdate","description":"Model for updating a tracker."},"TrackerWithResultsResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"title":{"type":"string","title":"Title"},"ai_prompt":{"type":"string","title":"Ai Prompt"},"is_active":{"type":"boolean","title":"Is Active"},"labels":{"items":{"$ref":"#/components/schemas/TrackerLabelResponse"},"type":"array","title":"Labels"},"label_counts":{"items":{"$ref":"#/components/schemas/LabelResultCount"},"type":"array","title":"Label Counts"},"total_results":{"type":"integer","title":"Total Results"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["uid","title","ai_prompt","is_active","labels","label_counts","total_results","created_by","created_at","updated_at"],"title":"TrackerWithResultsResponse","description":"Response model for tracker with labels and result counts."},"TranscriptAnalysis":{"properties":{"summary":{"type":"string","title":"Summary","description":"Concise meeting summary focusing on key discussion points, decisions made, and overall meeting outcomes."},"call_classification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Classification","description":"Classification of the call type: discovery, demo, negotiation, close, onboarding, check_in, customer_success, renewal, internal, or other."},"action_items":{"items":{"$ref":"#/components/schemas/ActionItem"},"type":"array","title":"Action Items","description":"List of explicit action items mentioned."},"pain_points":{"items":{"$ref":"#/components/schemas/PainPoint"},"type":"array","title":"Pain Points","description":"List of explicit pain points mentioned."},"key_highlights":{"items":{"$ref":"#/components/schemas/KeyHighlight"},"type":"array","title":"Key Highlights","description":"List of key highlights from the transcript with timestamps and significance."},"deal_risks":{"items":{"$ref":"#/components/schemas/DealRisk"},"type":"array","title":"Deal Risks","description":"List of potential risks that could jeopardize the deal."},"bant_analysis":{"$ref":"#/components/schemas/BANTAnalysis","description":"BANT (Budget, Authority, Need, Timeline) analysis based only on information present in the transcript."},"meddic_analysis":{"$ref":"#/components/schemas/MEDDICAnalysis","description":"MEDDIC (Metrics, Economic Buyer, Decision Criteria, Decision Process, Identify Pain, Champion) analysis based only on information present in the transcript."}},"type":"object","required":["summary","action_items","pain_points","key_highlights","deal_risks","bant_analysis","meddic_analysis"],"title":"TranscriptAnalysis","description":"Structured analysis of a meeting transcript."},"TranscriptResponseModel":{"properties":{"id":{"type":"string","title":"Id"},"download_url":{"type":"string","title":"Download Url"},"segments":{"items":{"$ref":"#/components/schemas/TranscriptSegmentModel"},"type":"array","title":"Segments"},"stats":{"anyOf":[{"$ref":"#/components/schemas/TranscriptStatsModel"},{"type":"null"}]},"analysis":{"anyOf":[{"$ref":"#/components/schemas/TranscriptAnalysis"},{"type":"null"}]}},"type":"object","required":["id","download_url","segments"],"title":"TranscriptResponseModel"},"TranscriptSegmentModel":{"properties":{"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"},"text":{"type":"string","title":"Text"},"participant_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Participant Name"},"participant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Participant Id"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"}},"type":"object","required":["start","end","text"],"title":"TranscriptSegmentModel"},"TranscriptStatsModel":{"properties":{"total_duration":{"type":"number","title":"Total Duration"},"total_segments":{"type":"integer","title":"Total Segments"},"speakers":{"items":{"$ref":"#/components/schemas/SpeakerModel"},"type":"array","title":"Speakers"},"word_count":{"type":"integer","title":"Word Count"}},"type":"object","required":["total_duration","total_segments","speakers","word_count"],"title":"TranscriptStatsModel"},"TranscriptionProvider":{"type":"string","enum":["deepgram"],"title":"TranscriptionProvider"},"TranscriptionTokenResponse":{"properties":{"provider":{"$ref":"#/components/schemas/TranscriptionProvider"},"access_token":{"type":"string","title":"Access Token"},"expires_in":{"type":"integer","title":"Expires In"}},"type":"object","required":["provider","access_token","expires_in"],"title":"TranscriptionTokenResponse"},"TransformationFormat":{"type":"string","enum":["bulleted_list","csv","json"],"title":"TransformationFormat"},"UnlinkCallRequest":{"properties":{"call_uid":{"type":"string","format":"uuid","title":"Call Uid"}},"type":"object","required":["call_uid"],"title":"UnlinkCallRequest","description":"Request to unlink a call from a deal."},"UnlinkCallResponse":{"properties":{"status":{"$ref":"#/components/schemas/UnlinkCallStatus"},"deal_uid":{"type":"string","format":"uuid","title":"Deal Uid"},"call_uid":{"type":"string","format":"uuid","title":"Call Uid"}},"type":"object","required":["status","deal_uid","call_uid"],"title":"UnlinkCallResponse","description":"Response from unlinking a call from a deal."},"UnlinkCallStatus":{"type":"string","enum":["unlinked"],"title":"UnlinkCallStatus","description":"Status of an unlink-call operation."},"UpdateCallClassificationRequest":{"properties":{"call_classification":{"$ref":"#/components/schemas/CallClassification"}},"type":"object","required":["call_classification"],"title":"UpdateCallClassificationRequest","description":"Request model for updating a call's classification."},"UpdateCallClassificationResponse":{"properties":{"call_uid":{"type":"string","format":"uuid","title":"Call Uid"},"call_classification":{"type":"string","title":"Call Classification"}},"type":"object","required":["call_uid","call_classification"],"title":"UpdateCallClassificationResponse","description":"Response model after updating a call's classification."},"UpdateOrganizationDetailsRequest":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"UpdateOrganizationDetailsRequest"},"UpdateOrganizationDetailsResponse":{"properties":{"ok":{"type":"boolean","title":"Ok"}},"type":"object","required":["ok"],"title":"UpdateOrganizationDetailsResponse"},"UpdateUserSettingsRequest":{"properties":{"dark_mode":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dark Mode"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"},"week_start":{"anyOf":[{"$ref":"#/components/schemas/WeekStart"},{"type":"null"}]},"bot_join_external_calls_when_host":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Bot Join External Calls When Host"},"bot_join_external_calls_internal_host":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Bot Join External Calls Internal Host"},"bot_join_external_calls_external_host":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Bot Join External Calls External Host"},"bot_join_when_notes_email_invited":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Bot Join When Notes Email Invited"},"bot_excluded_domains":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Bot Excluded Domains"},"bot_ignore_free_mail":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Bot Ignore Free Mail"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"has_completed_onboarding":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Completed Onboarding"},"recording_start":{"anyOf":[{"$ref":"#/components/schemas/RecordingStart"},{"type":"null"}]}},"type":"object","title":"UpdateUserSettingsRequest"},"UpdateWidgetRequest":{"properties":{"position":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Position"},"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Config"}},"type":"object","title":"UpdateWidgetRequest","description":"Request model for updating a widget."},"UserPermissionsResponse":{"properties":{"user_uid":{"type":"string","format":"uuid","title":"User Uid"},"organization_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Organization Uid"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"seat_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seat Type"},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions"},"is_admin":{"type":"boolean","title":"Is Admin"},"is_superadmin":{"type":"boolean","title":"Is Superadmin"},"can_record":{"type":"boolean","title":"Can Record"},"can_view_calendar":{"type":"boolean","title":"Can View Calendar"}},"type":"object","required":["user_uid","organization_uid","role","seat_type","permissions","is_admin","is_superadmin","can_record","can_view_calendar"],"title":"UserPermissionsResponse","description":"Response model for user permissions."},"UserSettingsResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"user_uid":{"type":"string","format":"uuid","title":"User Uid"},"organization_uid":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Organization Uid"},"dark_mode":{"type":"boolean","title":"Dark Mode"},"timezone":{"type":"string","title":"Timezone"},"week_start":{"$ref":"#/components/schemas/WeekStart"},"bot_join_external_calls_when_host":{"type":"boolean","title":"Bot Join External Calls When Host"},"bot_join_external_calls_internal_host":{"type":"boolean","title":"Bot Join External Calls Internal Host"},"bot_join_external_calls_external_host":{"type":"boolean","title":"Bot Join External Calls External Host"},"bot_join_when_notes_email_invited":{"type":"boolean","title":"Bot Join When Notes Email Invited"},"bot_excluded_domains":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Bot Excluded Domains"},"bot_ignore_free_mail":{"type":"boolean","title":"Bot Ignore Free Mail"},"gender":{"anyOf":[{"$ref":"#/components/schemas/Gender"},{"type":"null"}]},"has_completed_onboarding":{"type":"boolean","title":"Has Completed Onboarding"},"recording_start":{"$ref":"#/components/schemas/RecordingStart"},"onboarding_enabled":{"type":"boolean","title":"Onboarding Enabled"},"should_onboard":{"type":"boolean","title":"Should Onboard"}},"type":"object","required":["uid","user_uid","organization_uid","dark_mode","timezone","week_start","bot_join_external_calls_when_host","bot_join_external_calls_internal_host","bot_join_external_calls_external_host","bot_join_when_notes_email_invited","bot_excluded_domains","bot_ignore_free_mail","has_completed_onboarding","recording_start","onboarding_enabled","should_onboard"],"title":"UserSettingsResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WavyChatTitleChunk":{"properties":{"type":{"type":"string","const":"data-chatTitle","title":"Type","default":"data-chatTitle"},"data":{"$ref":"#/components/schemas/WavyChatTitleData"},"transient":{"type":"boolean","const":true,"title":"Transient","default":true}},"additionalProperties":false,"type":"object","required":["data"],"title":"WavyChatTitleChunk"},"WavyChatTitleData":{"properties":{"title":{"type":"string","title":"Title"}},"additionalProperties":false,"type":"object","required":["title"],"title":"WavyChatTitleData"},"WavyCitation":{"properties":{"content":{"type":"string","title":"Content"},"startTime":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Starttime"},"endTime":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Endtime"},"participantName":{"type":"string","title":"Participantname"}},"additionalProperties":false,"type":"object","required":["content","participantName"],"title":"WavyCitation"},"WavyCitationsChunk":{"properties":{"type":{"type":"string","const":"data-citations","title":"Type","default":"data-citations"},"id":{"type":"string","title":"Id"},"data":{"items":{"$ref":"#/components/schemas/WavyCitation"},"type":"array","title":"Data"}},"additionalProperties":false,"type":"object","required":["id","data"],"title":"WavyCitationsChunk"},"WavyContextKind":{"type":"string","enum":["call","deal"],"title":"WavyContextKind"},"WavyDealReadSummary":{"properties":{"dealFound":{"type":"boolean","title":"Dealfound"}},"additionalProperties":false,"type":"object","required":["dealFound"],"title":"WavyDealReadSummary"},"WavyDealsFoundSummary":{"properties":{"dealCount":{"type":"integer","title":"Dealcount"}},"additionalProperties":false,"type":"object","required":["dealCount"],"title":"WavyDealsFoundSummary"},"WavyDraftOutputSummary":{"properties":{"subjectLine":{"type":"string","title":"Subjectline"}},"additionalProperties":false,"type":"object","required":["subjectLine"],"title":"WavyDraftOutputSummary"},"WavyErrorChunk":{"properties":{"type":{"type":"string","const":"error","title":"Type","default":"error"},"errorText":{"type":"string","title":"Errortext"}},"additionalProperties":false,"type":"object","required":["errorText"],"title":"WavyErrorChunk"},"WavyFinishChunk":{"properties":{"type":{"type":"string","const":"finish","title":"Type","default":"finish"},"finishReason":{"$ref":"#/components/schemas/WavyFinishReason"}},"additionalProperties":false,"type":"object","required":["finishReason"],"title":"WavyFinishChunk"},"WavyFinishReason":{"type":"string","enum":["stop","error"],"title":"WavyFinishReason"},"WavyFinishStepChunk":{"properties":{"type":{"type":"string","const":"finish-step","title":"Type","default":"finish-step"}},"additionalProperties":false,"type":"object","title":"WavyFinishStepChunk"},"WavyMeetingReadSummary":{"properties":{"found":{"type":"boolean","title":"Found"}},"additionalProperties":false,"type":"object","required":["found"],"title":"WavyMeetingReadSummary"},"WavyMeetingsFoundSummary":{"properties":{"meetingCount":{"type":"integer","title":"Meetingcount"}},"additionalProperties":false,"type":"object","required":["meetingCount"],"title":"WavyMeetingsFoundSummary"},"WavyMessageRole":{"type":"string","enum":["user","assistant"],"title":"WavyMessageRole"},"WavyPassagesFoundSummary":{"properties":{"passageCount":{"type":"integer","title":"Passagecount"}},"additionalProperties":false,"type":"object","required":["passageCount"],"title":"WavyPassagesFoundSummary"},"WavyResetStepChunk":{"properties":{"type":{"type":"string","const":"reset-step","title":"Type","default":"reset-step"}},"additionalProperties":false,"type":"object","title":"WavyResetStepChunk"},"WavySearchOutputSummary":{"properties":{"matchCount":{"type":"integer","title":"Matchcount"}},"additionalProperties":false,"type":"object","required":["matchCount"],"title":"WavySearchOutputSummary"},"WavySendEmailStatus":{"type":"string","enum":["sent","error","disabled"],"title":"WavySendEmailStatus"},"WavySendOutputSummary":{"properties":{"status":{"$ref":"#/components/schemas/WavySendEmailStatus"}},"additionalProperties":false,"type":"object","required":["status"],"title":"WavySendOutputSummary"},"WavyStartChunk":{"properties":{"type":{"type":"string","const":"start","title":"Type","default":"start"},"messageId":{"type":"string","format":"uuid","title":"Messageid"},"messageMetadata":{"$ref":"#/components/schemas/WavyStartMetadata"}},"additionalProperties":false,"type":"object","required":["messageId","messageMetadata"],"title":"WavyStartChunk"},"WavyStartMetadata":{"properties":{"conversationUid":{"type":"string","format":"uuid","title":"Conversationuid"},"userMessageUid":{"type":"string","format":"uuid","title":"Usermessageuid"}},"additionalProperties":false,"type":"object","required":["conversationUid","userMessageUid"],"title":"WavyStartMetadata"},"WavyStartStepChunk":{"properties":{"type":{"type":"string","const":"start-step","title":"Type","default":"start-step"}},"additionalProperties":false,"type":"object","title":"WavyStartStepChunk"},"WavyTextDeltaChunk":{"properties":{"type":{"type":"string","const":"text-delta","title":"Type","default":"text-delta"},"id":{"type":"string","title":"Id"},"delta":{"type":"string","title":"Delta"}},"additionalProperties":false,"type":"object","required":["id","delta"],"title":"WavyTextDeltaChunk"},"WavyTextEndChunk":{"properties":{"type":{"type":"string","const":"text-end","title":"Type","default":"text-end"},"id":{"type":"string","title":"Id"}},"additionalProperties":false,"type":"object","required":["id"],"title":"WavyTextEndChunk"},"WavyTextStartChunk":{"properties":{"type":{"type":"string","const":"text-start","title":"Type","default":"text-start"},"id":{"type":"string","title":"Id"}},"additionalProperties":false,"type":"object","required":["id"],"title":"WavyTextStartChunk"},"WavyToolApprovalRequestChunk":{"properties":{"type":{"type":"string","const":"tool-approval-request","title":"Type","default":"tool-approval-request"},"approvalId":{"type":"string","title":"Approvalid"},"toolCallId":{"type":"string","title":"Toolcallid"}},"additionalProperties":false,"type":"object","required":["approvalId","toolCallId"],"title":"WavyToolApprovalRequestChunk"},"WavyToolInputChunk":{"properties":{"type":{"type":"string","const":"tool-input-available","title":"Type","default":"tool-input-available"},"toolCallId":{"type":"string","title":"Toolcallid"},"toolName":{"$ref":"#/components/schemas/WavyToolName"},"input":{"anyOf":[{"$ref":"#/components/schemas/SearchTranscriptInput"},{"$ref":"#/components/schemas/FindMeetingsInput"},{"$ref":"#/components/schemas/ReadMeetingInput"},{"$ref":"#/components/schemas/SearchMeetingsInput"},{"$ref":"#/components/schemas/FindDealsInput"},{"$ref":"#/components/schemas/GetDealInput"},{"$ref":"#/components/schemas/EmailDraftInput"},{"$ref":"#/components/schemas/SendEmailInput"}],"title":"Input"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"additionalProperties":false,"type":"object","required":["toolCallId","toolName","input"],"title":"WavyToolInputChunk"},"WavyToolInputStartChunk":{"properties":{"type":{"type":"string","const":"tool-input-start","title":"Type","default":"tool-input-start"},"toolCallId":{"type":"string","title":"Toolcallid"},"toolName":{"$ref":"#/components/schemas/WavyToolName"}},"additionalProperties":false,"type":"object","required":["toolCallId","toolName"],"title":"WavyToolInputStartChunk"},"WavyToolName":{"type":"string","enum":["search_transcript","create_email_draft","send_email","find_meetings","read_meeting","search_meetings","find_deals","get_deal"],"title":"WavyToolName"},"WavyToolOutputChunk":{"properties":{"type":{"type":"string","const":"tool-output-available","title":"Type","default":"tool-output-available"},"toolCallId":{"type":"string","title":"Toolcallid"},"output":{"anyOf":[{"$ref":"#/components/schemas/WavySearchOutputSummary"},{"$ref":"#/components/schemas/WavyMeetingsFoundSummary"},{"$ref":"#/components/schemas/WavyMeetingReadSummary"},{"$ref":"#/components/schemas/WavyPassagesFoundSummary"},{"$ref":"#/components/schemas/WavyDealsFoundSummary"},{"$ref":"#/components/schemas/WavyDealReadSummary"},{"$ref":"#/components/schemas/WavyDraftOutputSummary"},{"$ref":"#/components/schemas/WavySendOutputSummary"}],"title":"Output"}},"additionalProperties":false,"type":"object","required":["toolCallId","output"],"title":"WavyToolOutputChunk"},"WavyToolOutputDeniedChunk":{"properties":{"type":{"type":"string","const":"tool-output-denied","title":"Type","default":"tool-output-denied"},"toolCallId":{"type":"string","title":"Toolcallid"}},"additionalProperties":false,"type":"object","required":["toolCallId"],"title":"WavyToolOutputDeniedChunk"},"WavyToolOutputErrorChunk":{"properties":{"type":{"type":"string","const":"tool-output-error","title":"Type","default":"tool-output-error"},"toolCallId":{"type":"string","title":"Toolcallid"},"errorText":{"type":"string","title":"Errortext"}},"additionalProperties":false,"type":"object","required":["toolCallId","errorText"],"title":"WavyToolOutputErrorChunk"},"WeekStart":{"type":"string","enum":["automatic","monday","sunday"],"title":"WeekStart"},"WidgetIdentityResponse":{"properties":{"user_token":{"type":"string","title":"User Token"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"org_id":{"type":"string","title":"Org Id"}},"type":"object","required":["user_token","email","name","org_id"],"title":"WidgetIdentityResponse","description":"Response containing JWT token and user info for widget identity."},"WidgetLayoutItem":{"properties":{"widget_uid":{"type":"string","format":"uuid","title":"Widget Uid"},"widget_type":{"type":"string","title":"Widget Type"},"position":{"additionalProperties":true,"type":"object","title":"Position"},"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["widget_uid","widget_type","position","config"],"title":"WidgetLayoutItem","description":"Layout item for bulk update."},"WidgetResponse":{"properties":{"widget_uid":{"type":"string","format":"uuid","title":"Widget Uid"},"widget_type":{"type":"string","title":"Widget Type"},"position":{"additionalProperties":true,"type":"object","title":"Position"},"config":{"additionalProperties":true,"type":"object","title":"Config"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["widget_uid","widget_type","position","config","created_at","updated_at"],"title":"WidgetResponse","description":"Response model for widget."},"server__api__models__call_response__SalespersonResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"}},"type":"object","required":["uid","email","name"],"title":"SalespersonResponse","description":"Response model for salesperson in organization."},"server__api__routes__app__teams__SalespersonResponse":{"properties":{"uid":{"type":"string","format":"uuid","title":"Uid"},"email":{"type":"string","title":"Email"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"full_name":{"type":"string","title":"Full Name"},"role":{"type":"string","title":"Role"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["uid","email","first_name","last_name","full_name","role","created_at"],"title":"SalespersonResponse","description":"Response model for a salesperson in the organization."}}}}