{"openapi":"3.1.0","info":{"title":"Relately API","description":"Relationship Management Platform","version":"0.1.0"},"paths":{"/api/api-keys":{"get":{"tags":["api-keys"],"summary":"List Keys","operationId":"list_keys_api_api_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApiKeyOut"},"type":"array","title":"Response List Keys Api Api Keys Get"}}}}}},"post":{"tags":["api-keys"],"summary":"Create Key","operationId":"create_key_api_api_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/api-keys/{key_id}":{"delete":{"tags":["api-keys"],"summary":"Revoke Key","operationId":"revoke_key_api_api_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/asks":{"get":{"tags":["asks"],"summary":"List Asks","description":"The user's asks: active first, then (if asked for) archived; newest first within each.","operationId":"list_asks_api_asks_get","parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["asks"],"summary":"Create Ask","operationId":"create_ask_api_asks_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/asks/{ask_id}":{"get":{"tags":["asks"],"summary":"Get Ask","operationId":"get_ask_api_asks__ask_id__get","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["asks"],"summary":"Update Ask","operationId":"update_ask_api_asks__ask_id__patch","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/asks/{ask_id}/archive":{"post":{"tags":["asks"],"summary":"Archive Ask","description":"Idempotent: archiving an archived ask keeps its original ``archived_at``.","operationId":"archive_ask_api_asks__ask_id__archive_post","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/asks/{ask_id}/unarchive":{"post":{"tags":["asks"],"summary":"Unarchive Ask","description":"409 if an active ask already has this title (rename one first).","operationId":"unarchive_ask_api_asks__ask_id__unarchive_post","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/login":{"post":{"tags":["auth"],"summary":"Login With Google","description":"Authenticate with Google and receive JWT tokens.\n\nSupports two flows:\n1. Authorization code flow (preferred): send `code` + `redirect_uri`\n   - Backend exchanges code for Google tokens, stores them for sync\n2. Access token flow: send `google_token`\n   - For extension/quick login, no server-side Google token storage","operationId":"login_with_google_api_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh Access Token","description":"Exchange a refresh token for a new access token.","operationId":"refresh_access_token_api_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","description":"Revoke the refresh token's whole family. Idempotent: an unknown or invalid token is a 204.","operationId":"logout_api_auth_logout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoutRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/google/connect":{"post":{"tags":["auth"],"summary":"Connect Google","description":"Exchange Google auth code for tokens and store them (for users already logged in).","operationId":"connect_google_api_auth_google_connect_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleConnectRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleConnectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/me":{"get":{"tags":["auth"],"summary":"Get Me","description":"Get current user profile.","operationId":"get_me_api_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileResponse"}}}}}},"patch":{"tags":["auth"],"summary":"Update Me","description":"Update the caller's own profile: timezone and working hours (E5.3).","operationId":"update_me_api_auth_me_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/calendar/upcoming":{"get":{"tags":["calendar"],"summary":"Upcoming","description":"Meetings (≥ 1 other attendee, not declined) that have not ended, next `days` days.","operationId":"upcoming_api_calendar_upcoming_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":30,"minimum":1,"default":7,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpcomingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/calendar/events/{event_id}/brief":{"get":{"tags":["calendar"],"summary":"Brief","description":"Pre-meeting brief: per attendee, last 3 touches, open next steps, notes excerpt.","operationId":"brief_api_calendar_events__event_id__brief_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingBrief"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/calendar/free-slots":{"get":{"tags":["calendar"],"summary":"Free Slots","description":"Free meeting slots in working hours from the local calendar store (D7). Read-only.","operationId":"free_slots_api_calendar_free_slots_get","parameters":[{"name":"duration","in":"query","required":false,"schema":{"type":"integer","maximum":240,"minimum":15,"default":30,"title":"Duration"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":30,"minimum":1,"default":10,"title":"Days"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":1,"default":3,"title":"Count"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FreeSlot"},"title":"Response Free Slots Api Calendar Free Slots Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/comms/status":{"get":{"tags":["comms"],"summary":"Comms Status","operationId":"comms_status_api_comms_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommsStatus"}}}}}}},"/api/contacts/{contact_id}/consents":{"get":{"tags":["consents"],"summary":"Get Consents","operationId":"get_consents_api_contacts__contact_id__consents_get","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentState"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["consents"],"summary":"Record Consent","description":"The owner attests consent (or records an opt-out he was told about).","operationId":"record_consent_api_contacts__contact_id__consents_post","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentState"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contacts":{"get":{"tags":["contacts"],"summary":"List Contacts","description":"List contacts with filtering and pagination. Audience filters (E6.2): ``industry``\n(case-insensitive exact), ``company_size``, ``seniority``, ``tags_any`` (overlap),\n``tags_all`` (contains), ``group_id``; tags accept repeated keys or comma-separated values.\n``linkedin_slug`` (E13.6): the contact whose ``linkedin_url`` is that ``/in/<slug>`` (a bare\nslug or a profile URL, case-insensitive); an unusable slug matches nobody.\n``instagram_handle`` (#316): the contact with that Instagram handle (a bare or ``@`` handle or\na profile URL, case-insensitive, exact); an unusable value matches nobody.","operationId":"list_contacts_api_contacts_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Page Size"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"score_label","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Label"}},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},{"name":"city","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"}},{"name":"sort_by","in":"query","required":false,"schema":{"type":"string","default":"relationship_score","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"type":"string","default":"desc","title":"Sort Order"}},{"name":"industry","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry"}},{"name":"company_size","in":"query","required":false,"schema":{"anyOf":[{"enum":["1-10","11-50","51-200","201-1000","1000+"],"type":"string"},{"type":"null"}],"title":"Company Size"}},{"name":"seniority","in":"query","required":false,"schema":{"anyOf":[{"enum":["founder_owner","c_level","vp","director","manager","ic","other"],"type":"string"},{"type":"null"}],"title":"Seniority"}},{"name":"tags_any","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Tags Any"}},{"name":"tags_all","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Tags All"}},{"name":"group_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Group Id"}},{"name":"linkedin_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Linkedin Slug"}},{"name":"instagram_handle","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Instagram Handle"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["contacts"],"summary":"Create Contact","description":"Create a new contact. An excluded person's email, phone, LinkedIn or Instagram → 409\n(epic #167).","operationId":"create_contact_api_contacts_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contacts/bulk-tag":{"post":{"tags":["contacts"],"summary":"Bulk Tag","description":"Add/remove tags on up to 200 of the user's contacts. Any id that is not the user's → 404\nand nothing changes. A contact that would exceed 30 tags keeps its tags (``skipped_full``).","operationId":"bulk_tag_api_contacts_bulk_tag_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkTagIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkTagOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contacts/lookup":{"post":{"tags":["contacts"],"summary":"Lookup Contacts","description":"Exact, case-insensitive email → contact lookup for up to 25 addresses (#245; the Gmail\nside panel's \"On this thread\" view). Addresses are trimmed, lower-cased and de-duplicated, the\ncaller's own address is dropped, and one item is returned per remaining address in request\norder. Only the caller's own contacts match; archived and excluded contacts → ``null``.","operationId":"lookup_contacts_api_contacts_lookup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactLookupIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactLookupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contacts/excluded":{"get":{"tags":["contacts"],"summary":"List Excluded Contacts","description":"The owner's excluded contacts, most recently excluded first (Settings → Excluded).\n``reason`` filters to manual or auto no-reply exclusions (#175).","operationId":"list_excluded_contacts_api_contacts_excluded_get","parameters":[{"name":"reason","in":"query","required":false,"schema":{"anyOf":[{"enum":["manual","auto_noreply"],"type":"string"},{"type":"null"}],"title":"Reason"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contacts/excluded/restore-auto":{"post":{"tags":["contacts"],"summary":"Restore All Auto Excluded","description":"Restore every auto-excluded no-reply contact (#175). Each one records an override, so it is\nnever auto-excluded again. Manual exclusions are untouched.","operationId":"restore_all_auto_excluded_api_contacts_excluded_restore_auto_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Restore All Auto Excluded Api Contacts Excluded Restore Auto Post"}}}}}}},"/api/contacts/{contact_id}/exclude":{"post":{"tags":["contacts"],"summary":"Exclude Contact","description":"Hide this person everywhere and stop importing them (epic #167). History is kept.","operationId":"exclude_contact_api_contacts__contact_id__exclude_post","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contacts/{contact_id}/restore":{"post":{"tags":["contacts"],"summary":"Restore Contact","description":"Undo an exclusion: the same row comes back with its history intact.","operationId":"restore_contact_api_contacts__contact_id__restore_post","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contacts/{contact_id}":{"get":{"tags":["contacts"],"summary":"Get Contact","description":"Get a single contact by ID.","operationId":"get_contact_api_contacts__contact_id__get","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["contacts"],"summary":"Update Contact","description":"Update a contact.","operationId":"update_contact_api_contacts__contact_id__put","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["contacts"],"summary":"Archive Contact","description":"Archive a contact (soft delete).","operationId":"archive_contact_api_contacts__contact_id__delete","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contacts/{contact_id}/locations":{"post":{"tags":["contacts"],"summary":"Add Contact Location","description":"Record a location seen on the contact's LinkedIn profile (extension, epic #53 E4.6).","operationId":"add_contact_location_api_contacts__contact_id__locations_post","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationObservationIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationObservationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["contacts"],"summary":"Get Contact Locations","description":"Location observation history (source, confidence, when) — newest first.","operationId":"get_contact_locations_api_contacts__contact_id__locations_get","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactLocationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contacts/nearby/search":{"get":{"tags":["contacts"],"summary":"Get Nearby Contacts","description":"Deprecated alias of GET /api/nearby (true distance); removed after one release.","operationId":"get_nearby_contacts_api_contacts_nearby_search_get","deprecated":true,"parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","title":"Lat"}},{"name":"lng","in":"query","required":true,"schema":{"type":"number","title":"Lng"}},{"name":"radius_miles","in":"query","required":false,"schema":{"type":"number","default":50,"title":"Radius Miles"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Nearby Contacts Api Contacts Nearby Search Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contacts/{contact_id}/talking-points":{"post":{"tags":["contacts"],"summary":"Get Talking Points","description":"Generate AI-powered talking points for an upcoming meeting with a contact.","operationId":"get_talking_points_api_contacts__contact_id__talking_points_post","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TalkingPointsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contacts/{contact_id}/score-history":{"get":{"tags":["contacts"],"summary":"Get Score History","description":"Return score snapshots for a contact over the last N days.","operationId":"get_score_history_api_contacts__contact_id__score_history_get","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":90,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScoreHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/dashboard/stats":{"get":{"tags":["dashboard"],"summary":"Dashboard Stats","operationId":"dashboard_stats_api_dashboard_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardStats"}}}}}}},"/api/drafts":{"post":{"tags":["drafts"],"summary":"Create Draft","operationId":"create_draft_api_drafts_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["drafts"],"summary":"List Drafts","operationId":"list_drafts_api_drafts_get","parameters":[{"name":"contact_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["draft","sent","marked_sent","discarded"],"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/drafts/{draft_id}":{"get":{"tags":["drafts"],"summary":"Get Draft","operationId":"get_draft_api_drafts__draft_id__get","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Draft Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["drafts"],"summary":"Edit Draft","operationId":"edit_draft_api_drafts__draft_id__patch","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Draft Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/drafts/{draft_id}/revise":{"post":{"tags":["drafts"],"summary":"Revise Draft","operationId":"revise_draft_api_drafts__draft_id__revise_post","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Draft Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/drafts/{draft_id}/discard":{"post":{"tags":["drafts"],"summary":"Discard Draft","operationId":"discard_draft_api_drafts__draft_id__discard_post","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Draft Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/drafts/{draft_id}/send":{"post":{"tags":["drafts"],"summary":"Send Draft","description":"Send the current revision from the owner's Gmail, to the draft's contact only.\n\nDry-run (nothing sent, draft unchanged) unless GMAIL_SEND_ENABLED. While\nGMAIL_SEND_RECIPIENT_MODE=owner_only the contact's address must be the owner's own.\nIdempotent: a sent draft returns ``already_sent`` and is never re-sent.","operationId":"send_draft_api_drafts__draft_id__send_post","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Draft Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/drafts/{draft_id}/mark-sent":{"post":{"tags":["drafts"],"summary":"Mark Draft Sent","description":"The owner sent it himself (e.g. pasted into Gmail on his phone). Records one engagement.","operationId":"mark_draft_sent_api_drafts__draft_id__mark_sent_post","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Draft Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkSentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/extension/version":{"get":{"tags":["extension"],"summary":"Get Extension Version","description":"Return the latest extension version.","operationId":"get_extension_version_api_extension_version_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Extension Version Api Extension Version Get"}}}}}}},"/api/extension/download":{"get":{"tags":["extension"],"summary":"Download Extension","description":"Download the latest extension zip.","operationId":"download_extension_api_extension_download_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/engagements":{"post":{"tags":["engagements"],"summary":"Log Engagement","description":"Log an engagement and recalculate the contact's score. The contact must be the user's\n(404) and not excluded (409, epic #167) — this is the quick-log and extension capture path.","operationId":"log_engagement_api_engagements_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EngagementCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EngagementResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["engagements"],"summary":"List Engagements","description":"List engagements with optional filters.","operationId":"list_engagements_api_engagements_get","parameters":[{"name":"contact_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Id"}},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/EngagementType"},{"type":"null"}],"title":"Type"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EngagementListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/events":{"get":{"tags":["events"],"summary":"List Events","description":"The user's events, soonest first (undated last). Cancelled ones only when asked for.","operationId":"list_events_api_events_get","parameters":[{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/EventKind"},{"type":"null"}],"title":"Kind"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/EventStatus"},{"type":"null"}],"title":"Status"}},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"From"}},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"To"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["events"],"summary":"Create Event","operationId":"create_event_api_events_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/events/{event_id}":{"get":{"tags":["events"],"summary":"Get Event","operationId":"get_event_api_events__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["events"],"summary":"Update Event","operationId":"update_event_api_events__event_id__patch","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["events"],"summary":"Cancel Event","description":"Soft delete: the event (and anything that references it) stays, as ``cancelled``.","operationId":"cancel_event_api_events__event_id__delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/events/{event_id}/suggest-attendees":{"post":{"tags":["events"],"summary":"Suggest Attendees","description":"Ranked attendee suggestions with a reason each (hosted events only; cached 24 h per\naudience, ``?refresh=1`` reruns).","operationId":"suggest_attendees_api_events__event_id__suggest_attendees_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Refresh"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttendeeSuggestionList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/groups":{"get":{"tags":["groups"],"summary":"List Groups","description":"List all groups for the current user.","operationId":"list_groups_api_groups_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":200,"default":50,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GroupResponse"},"title":"Response List Groups Api Groups Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["groups"],"summary":"Create Group","description":"Create a new group.","operationId":"create_group_api_groups_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/groups/{group_id}":{"put":{"tags":["groups"],"summary":"Update Group","description":"Update a group.","operationId":"update_group_api_groups__group_id__put","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/groups/{group_id}/members":{"post":{"tags":["groups"],"summary":"Add Member","description":"Add a contact to a group.","operationId":"add_member_api_groups__group_id__members_post","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupMemberAdd"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Add Member Api Groups  Group Id  Members Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/groups/{group_id}/members/{contact_id}":{"delete":{"tags":["groups"],"summary":"Remove Member","description":"Remove a contact from a group.","operationId":"remove_member_api_groups__group_id__members__contact_id__delete","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}},{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hubspot/status":{"get":{"tags":["hubspot"],"summary":"Get Status","operationId":"get_status_api_hubspot_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HubspotStatus"}}}}}}},"/api/hubspot/preview":{"post":{"tags":["hubspot"],"summary":"Run Preview","description":"Dry run (counts only): what an import would create / update / skip. Writes no contacts.","operationId":"run_preview_api_hubspot_preview_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Run Preview Api Hubspot Preview Post"}}}}}}},"/api/hubspot/settings":{"put":{"tags":["hubspot"],"summary":"Update Settings","operationId":"update_settings_api_hubspot_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HubspotStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hubspot/properties":{"get":{"tags":["hubspot"],"summary":"List Properties","description":"HubSpot contact properties that can hold affiliations (enumerations): schema only.","operationId":"list_properties_api_hubspot_properties_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response List Properties Api Hubspot Properties Get"}}}}}}},"/api/hubspot/sync":{"post":{"tags":["hubspot"],"summary":"Sync Now","description":"\"Sync now\": one bounded run (the scheduler continues a long backfill).","operationId":"sync_now_api_hubspot_sync_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Sync Now Api Hubspot Sync Post"}}}}}}},"/api/events/{event_id}/invites":{"post":{"tags":["invites"],"summary":"Create Invites","description":"Invite up to 200 of the user's contacts; already-invited ones are skipped. Any contact id\nthat is not the user's → 404 and nothing is created.","operationId":"create_invites_api_events__event_id__invites_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["invites"],"summary":"List Invites","operationId":"list_invites_api_events__event_id__invites_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/events/{event_id}/invites/compose-all":{"post":{"tags":["invites"],"summary":"Compose All","description":"Compose up to 25 uncomposed, unsent invites one after another. No sending.","operationId":"compose_all_api_events__event_id__invites_compose_all_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComposeAllOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/events/{event_id}/send-approved":{"post":{"tags":["invites"],"summary":"Send Approved","description":"Bulk send of approved invites — 403 ``bulk_disabled`` unless EVENT_BULK_SEND_ENABLED.","operationId":"send_approved_api_events__event_id__send_approved_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/invites/{invite_id}":{"patch":{"tags":["invites"],"summary":"Update Invite","operationId":"update_invite_api_invites__invite_id__patch","parameters":[{"name":"invite_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Invite Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["invites"],"summary":"Delete Invite","operationId":"delete_invite_api_invites__invite_id__delete","parameters":[{"name":"invite_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Invite Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/invites/{invite_id}/compose":{"post":{"tags":["invites"],"summary":"Compose Invite","description":"Write (or regenerate / revise with ``feedback``) the invite's email in the owner's voice and\nits one-segment SMS. Composition only — nothing is sent.","operationId":"compose_invite_api_invites__invite_id__compose_post","parameters":[{"name":"invite_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Invite Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComposeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/invites/{invite_id}/preview":{"get":{"tags":["invites"],"summary":"Preview Invite","operationId":"preview_invite_api_invites__invite_id__preview_get","parameters":[{"name":"invite_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Invite Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitePreview"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/invites/{invite_id}/approve":{"post":{"tags":["invites"],"summary":"Approve Invite","description":"Explicit per-invite approval of the composed content (D9).","operationId":"approve_invite_api_invites__invite_id__approve_post","parameters":[{"name":"invite_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Invite Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/invites/{invite_id}/send":{"post":{"tags":["invites"],"summary":"Send Invite","description":"Send exactly one approved invite on one channel. Idempotent per (invite, channel).","operationId":"send_invite_api_invites__invite_id__send_post","parameters":[{"name":"invite_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Invite Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/asks/{ask_id}/leave-behind/pdf":{"post":{"tags":["leave-behinds"],"summary":"Upload Pdf","description":"Upload (or replace) the ask's leave-behind with a PDF. Replaces either kind.","operationId":"upload_pdf_api_asks__ask_id__leave_behind_pdf_post","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveBehindOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["leave-behinds"],"summary":"Get Pdf","description":"Stream the stored PDF (inline, or as an attachment with ``?download=1``).","operationId":"get_pdf_api_asks__ask_id__leave_behind_pdf_get","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}},{"name":"download","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Download"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/asks/{ask_id}/leave-behind":{"get":{"tags":["leave-behinds"],"summary":"Get Metadata","operationId":"get_metadata_api_asks__ask_id__leave_behind_get","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveBehindOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["leave-behinds"],"summary":"Delete Leave Behind","operationId":"delete_leave_behind_api_asks__ask_id__leave_behind_delete","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/asks/{ask_id}/leave-behind/image":{"post":{"tags":["leave-behinds"],"summary":"Upload Image","description":"PNG/JPEG ≤ 2 MB → re-encoded ≤ 600 px, metadata stripped, stored; use the returned\n``object`` as ``doc.image.object`` on the next save.","operationId":"upload_image_api_asks__ask_id__leave_behind_image_post","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveBehindImageOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/asks/{ask_id}/leave-behind/doc":{"get":{"tags":["leave-behinds"],"summary":"Get Doc","operationId":"get_doc_api_asks__ask_id__leave_behind_doc_get","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveBehindDocOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["leave-behinds"],"summary":"Save Doc","description":"Store the one-pager and render its PDF now (render on save, D2). Replaces either kind.","operationId":"save_doc_api_asks__ask_id__leave_behind_doc_put","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveBehindDoc"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveBehindOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/asks/{ask_id}/leave-behind/preview":{"post":{"tags":["leave-behinds"],"summary":"Preview Doc","description":"Render the posted doc to a PDF without storing anything (30/min per user).","operationId":"preview_doc_api_asks__ask_id__leave_behind_preview_post","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveBehindDoc"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/asks/{ask_id}/leave-behind/links":{"post":{"tags":["leave-behind-links"],"summary":"Create Link","operationId":"create_link_api_asks__ask_id__leave_behind_links_post","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["leave-behind-links"],"summary":"List Links","operationId":"list_links_api_asks__ask_id__leave_behind_links_get","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkOut"},"title":"Response List Links Api Asks  Ask Id  Leave Behind Links Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/asks/{ask_id}/leave-behind/links/revoke-all":{"post":{"tags":["leave-behind-links"],"summary":"Revoke All","operationId":"revoke_all_api_asks__ask_id__leave_behind_links_revoke_all_post","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ask Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeAllOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/leave-behind-links/{link_id}/revoke":{"post":{"tags":["leave-behind-links"],"summary":"Revoke Link","description":"Idempotent: revoking a revoked link keeps its original ``revoked_at``.","operationId":"revoke_link_api_leave_behind_links__link_id__revoke_post","parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Link Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/calendar/events/{event_id}/asks/suggest":{"post":{"tags":["meeting-asks"],"summary":"Suggest","description":"The cached (or, with ``force``, fresh) flash-lite suggestion for one attendee.","operationId":"suggest_api_calendar_events__event_id__asks_suggest_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingAskOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/calendar/events/{event_id}/asks/{contact_id}":{"put":{"tags":["meeting-asks"],"summary":"Choose","description":"Accept the suggestion, switch to another library ask, or write a one-off.","operationId":"choose_api_calendar_events__event_id__asks__contact_id__put","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}},{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChooseIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingAskOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["meeting-asks"],"summary":"Dismiss","description":"Dismiss the ask for this attendee (an empty \"no suggestion\" row is simply removed).","operationId":"dismiss_api_calendar_events__event_id__asks__contact_id__delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}},{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/calendar/events/{event_id}/attendees/{index}/contact":{"post":{"tags":["meeting-asks"],"summary":"Add Attendee As Contact","description":"E7.6 (D7): turn an unknown attendee (by position in the brief) into a contact, so an ask can\nbe planned and its outcome tracked. The email comes from the owner's own calendar row and is\nnever sent to the client; an existing contact with that email is returned instead.","operationId":"add_attendee_as_contact_api_calendar_events__event_id__attendees__index__contact_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}},{"name":"index","in":"path","required":true,"schema":{"type":"integer","title":"Index"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttendeeContactOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/meeting-asks/{meeting_ask_id}/outcome":{"patch":{"tags":["meeting-asks"],"summary":"Outcome","operationId":"outcome_api_meeting_asks__meeting_ask_id__outcome_patch","parameters":[{"name":"meeting_ask_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Meeting Ask Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutcomeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingAskOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/google":{"get":{"tags":["integrations"],"summary":"Get Google Connection","description":"The caller's granted Google scopes and derived capabilities (no token material).","operationId":"get_google_connection_api_integrations_google_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleConnectionResponse"}}}}}}},"/api/next-steps":{"get":{"tags":["next-steps"],"summary":"List Next Steps","operationId":"list_next_steps_api_next_steps_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/NextStepStatus"},{"type":"null"}],"title":"Status"}},{"name":"contact_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Id"}},{"name":"due","in":"query","required":false,"schema":{"anyOf":[{"enum":["overdue","today","upcoming","due"],"type":"string"},{"type":"null"}],"title":"Due"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextStepListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["next-steps"],"summary":"Create Next Step","operationId":"create_next_step_api_next_steps_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextStepCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextStepResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/next-steps/digest/preview":{"get":{"tags":["next-steps"],"summary":"Preview Digest","description":"Render today's digest in-app (same body the scheduler would dry-run/send). Never sends.","operationId":"preview_digest_api_next_steps_digest_preview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DigestPreview"}}}}}}},"/api/next-steps/{step_id}":{"get":{"tags":["next-steps"],"summary":"Get Next Step","operationId":"get_next_step_api_next_steps__step_id__get","parameters":[{"name":"step_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Step Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextStepResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["next-steps"],"summary":"Update Next Step","operationId":"update_next_step_api_next_steps__step_id__patch","parameters":[{"name":"step_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Step Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextStepUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextStepResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["next-steps"],"summary":"Delete Next Step","operationId":"delete_next_step_api_next_steps__step_id__delete","parameters":[{"name":"step_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Step Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contacts/{contact_id}/next-steps":{"get":{"tags":["next-steps"],"summary":"List Contact Next Steps","operationId":"list_contact_next_steps_api_contacts__contact_id__next_steps_get","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/NextStepStatus"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextStepListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/nearby":{"get":{"tags":["nearby"],"summary":"Nearby","operationId":"nearby_api_nearby_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"description":"City-level place text","title":"Q"},"description":"City-level place text"},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"title":"Lat"}},{"name":"lng","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"title":"Lng"}},{"name":"radius_miles","in":"query","required":false,"schema":{"type":"number","default":50,"title":"Radius Miles"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(rank|distance)$","default":"rank","title":"Sort"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NearbyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/network/graph":{"get":{"tags":["network"],"summary":"Get Graph","operationId":"get_graph_api_network_graph_get","parameters":[{"name":"focus","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Focus"}},{"name":"depth","in":"query","required":false,"schema":{"type":"integer","maximum":2,"minimum":1,"default":1,"title":"Depth"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":300,"minimum":1,"default":300,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkGraph"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/network/intro-paths":{"get":{"tags":["network"],"summary":"Get Intro Paths","operationId":"get_intro_paths_api_network_intro_paths_get","parameters":[{"name":"target","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Target"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntroPaths"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/leave-behinds/{token}":{"get":{"tags":["public"],"summary":"View","operationId":"view_api_public_leave_behinds__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicLeaveBehind"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/leave-behinds/{token}/pdf":{"get":{"tags":["public"],"summary":"Pdf","operationId":"pdf_api_public_leave_behinds__token__pdf_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"download","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Download"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/leave-behinds/{token}/open":{"post":{"tags":["public"],"summary":"Record Open","description":"Count an open (JS beacon after render). At most one per link per 10 minutes.","operationId":"record_open_api_public_leave_behinds__token__open_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/rsvp/{token}":{"get":{"tags":["public"],"summary":"View Rsvp","operationId":"view_rsvp_api_public_rsvp__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicRsvp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["public"],"summary":"Submit Rsvp","operationId":"submit_rsvp_api_public_rsvp__token__post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicRsvp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/unsubscribe/{token}":{"get":{"tags":["public"],"summary":"Confirm Page","operationId":"confirm_page_api_public_unsubscribe__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["public"],"summary":"Unsubscribe","operationId":"unsubscribe_api_public_unsubscribe__token__post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/resources":{"get":{"tags":["resources"],"summary":"List Resources","description":"List resources for the current user, optionally filtered by type.","operationId":"list_resources_api_resources_get","parameters":[{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":200,"default":50,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ResourceResponse"},"title":"Response List Resources Api Resources Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["resources"],"summary":"Create Resource","description":"Create a new resource.","operationId":"create_resource_api_resources_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/resources/{resource_id}":{"put":{"tags":["resources"],"summary":"Update Resource","description":"Update a resource.","operationId":"update_resource_api_resources__resource_id__put","parameters":[{"name":"resource_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Resource Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["resources"],"summary":"Delete Resource","description":"Delete a resource.","operationId":"delete_resource_api_resources__resource_id__delete","parameters":[{"name":"resource_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Resource Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/style":{"get":{"tags":["style"],"summary":"Get Style","description":"Counts only — never bodies or subjects.","operationId":"get_style_api_style_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExemplarStats"}}}}}}},"/api/style/backfill":{"post":{"tags":["style"],"summary":"Backfill Sent Mail","description":"Ingest the last 12 months of sent Gmail into the capped exemplar set.","operationId":"backfill_sent_mail_api_style_backfill_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackfillResult"}}}}}}},"/api/style/profile":{"get":{"tags":["style"],"summary":"Get Style Profile","description":"The user's style guide + counts. Never exemplar bodies.","operationId":"get_style_profile_api_style_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StyleProfileResponse"}}}}}}},"/api/style/profile/rebuild":{"post":{"tags":["style"],"summary":"Rebuild Style Profile","description":"Rebuild now (one Gemini call, ≈ $0.09 at 300 exemplars). < 20 exemplars → insufficient.","operationId":"rebuild_style_profile_api_style_profile_rebuild_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StyleProfileResponse"}}}}}}},"/api/style/metrics":{"get":{"tags":["style"],"summary":"Get Style Metrics","description":"Monthly median edit distance (first AI revision → what he sent): lower = closer drafts.","operationId":"get_style_metrics_api_style_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StyleMetrics"}}}}}}},"/api/suggestions":{"get":{"tags":["suggestions"],"summary":"List Suggestions","description":"List active (non-dismissed, non-acted-on) suggestions.","operationId":"list_suggestions_api_suggestions_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestionListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/suggestions/{suggestion_id}/dismiss":{"post":{"tags":["suggestions"],"summary":"Dismiss Suggestion","description":"Dismiss a suggestion.","operationId":"dismiss_suggestion_api_suggestions__suggestion_id__dismiss_post","parameters":[{"name":"suggestion_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Suggestion Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/suggestions/{suggestion_id}/acted":{"post":{"tags":["suggestions"],"summary":"Mark Acted On","description":"Mark a suggestion as acted on.","operationId":"mark_acted_on_api_suggestions__suggestion_id__acted_post","parameters":[{"name":"suggestion_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Suggestion Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/suggestions/{suggestion_id}/outreach-message":{"post":{"tags":["suggestions"],"summary":"Generate Outreach","description":"Generate a personalized outreach message for a suggestion using Gemini AI.","operationId":"generate_outreach_api_suggestions__suggestion_id__outreach_message_post","parameters":[{"name":"suggestion_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Suggestion Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutreachMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sync/gmail":{"post":{"tags":["sync"],"summary":"Trigger Gmail Sync","description":"Trigger Gmail sync for the current user.\n\nQuery params:\n    full: If true, do a full 90-day sync instead of incremental.","operationId":"trigger_gmail_sync_api_sync_gmail_post","parameters":[{"name":"full","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Full"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Trigger Gmail Sync Api Sync Gmail Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sync/calendar":{"post":{"tags":["sync"],"summary":"Trigger Calendar Sync","description":"Trigger Calendar sync for the current user.","operationId":"trigger_calendar_sync_api_sync_calendar_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Trigger Calendar Sync Api Sync Calendar Post"}}}}}}},"/api/sync/contacts":{"post":{"tags":["sync"],"summary":"Trigger Contacts Sync","description":"Trigger Google Contacts import for the current user.","operationId":"trigger_contacts_sync_api_sync_contacts_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Trigger Contacts Sync Api Sync Contacts Post"}}}}}}},"/api/sync/all":{"post":{"tags":["sync"],"summary":"Trigger Full Sync","description":"Trigger all syncs: contacts, gmail, calendar.","operationId":"trigger_full_sync_api_sync_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Trigger Full Sync Api Sync All Post"}}}}}}},"/api/tags":{"get":{"tags":["tags"],"summary":"List Tags","operationId":"list_tags_api_tags_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagList"}}}}}}},"/api/trips":{"get":{"tags":["trips"],"summary":"List Trips","description":"Upcoming or ongoing, not-dismissed trips, soonest first.","operationId":"list_trips_api_trips_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripList"}}}}}}},"/api/trips/{trip_id}/dismiss":{"post":{"tags":["trips"],"summary":"Dismiss Trip","description":"Hide a trip for good: detection never recreates it for the same place and dates.","operationId":"dismiss_trip_api_trips__trip_id__dismiss_post","parameters":[{"name":"trip_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Trip Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/outreach-lists":{"post":{"tags":["outreach"],"summary":"Create List","operationId":"create_list_api_outreach_lists_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutreachCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutreachDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["outreach"],"summary":"List Lists","operationId":"list_lists_api_outreach_lists_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutreachIndex"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/outreach-lists/{list_id}":{"get":{"tags":["outreach"],"summary":"Get List","operationId":"get_list_api_outreach_lists__list_id__get","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"List Id"}},{"name":"include_removed","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Removed"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutreachDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["outreach"],"summary":"Update List","operationId":"update_list_api_outreach_lists__list_id__patch","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"List Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutreachUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutreachDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["outreach"],"summary":"Delete List","description":"Deletes the list and its members. Engagements logged from it stay (they happened).","operationId":"delete_list_api_outreach_lists__list_id__delete","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"List Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/outreach-lists/{list_id}/members":{"post":{"tags":["outreach"],"summary":"Add Member","operationId":"add_member_api_outreach_lists__list_id__members_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"List Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberAdd"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/outreach-lists/{list_id}/members/{member_id}":{"patch":{"tags":["outreach"],"summary":"Update Member","operationId":"update_member_api_outreach_lists__list_id__members__member_id__patch","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"List Id"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Member Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contact-links":{"get":{"tags":["network"],"summary":"List Links","description":"Links touching ``contact_id``, strongest and most recent first. A link whose other end is\nexcluded (E8) or archived (deleted) is hidden; so is every link of such a contact.","operationId":"list_links_api_contact_links_get","parameters":[{"name":"contact_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactLinkIndex"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["network"],"summary":"Save Link","operationId":"save_link_api_contact_links_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactLinkCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactLinkOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contact-links/{link_id}":{"delete":{"tags":["network"],"summary":"Delete Link","operationId":"delete_link_api_contact_links__link_id__delete","parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Link Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/voice/sessions":{"post":{"tags":["voice"],"summary":"Create Session","operationId":"create_session_api_voice_sessions_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/VoiceSessionCreate"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceSessionCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["voice"],"summary":"List Sessions","operationId":"list_sessions_api_voice_sessions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceSessionListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/voice/sessions/{session_id}":{"get":{"tags":["voice"],"summary":"Get Session","operationId":"get_session_api_voice_sessions__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceSessionDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/voice/sessions/{session_id}/audio":{"get":{"tags":["voice"],"summary":"Get Session Audio","description":"A session's archived audio track (JWT, user-scoped).\n\nReturns a 15-minute V4 signed URL when the runtime can sign (IAM signBlob), otherwise\nstreams the WAV through the API. The bucket is private; there are no public URLs.","operationId":"get_session_audio_api_voice_sessions__session_id__audio_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}},{"name":"track","in":"query","required":false,"schema":{"type":"string","pattern":"^(in|out)$","default":"in","title":"Track"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/voice/sessions/{session_id}/extract":{"post":{"tags":["voice"],"summary":"Retry Extraction","description":"Re-run extraction for an ended, failed or not-yet-saved (review) session — after a\ntransient model error, or to pick up newer extraction (E10.1: trips). Idempotent: it replaces\nthe unsaved proposals and writes no user data; a saved (applied) session is refused.","operationId":"retry_extraction_api_voice_sessions__session_id__extract_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceSessionDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/voice/sessions/{session_id}/apply":{"post":{"tags":["voice"],"summary":"Apply Session","description":"Write ONLY the accepted/edited proposals (D9). Idempotent: re-apply → 409.","operationId":"apply_session_api_voice_sessions__session_id__apply_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceApplyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceApplyResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/webhooks/gmail":{"post":{"tags":["webhooks"],"summary":"Gmail Push Notification","description":"Handle Gmail push notifications via Pub/Sub.\n\nGoogle Pub/Sub sends a POST with a base64-encoded message\ncontaining the user's email and historyId.","operationId":"gmail_push_notification_api_webhooks_gmail_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Gmail Push Notification Api Webhooks Gmail Post"}}}}}}},"/api/webhooks/scheduler/score-decay":{"post":{"tags":["webhooks"],"summary":"Scheduler Score Decay","description":"Cloud Scheduler endpoint: nightly routine (RSVP points, SMS purge, decay, snapshots).","operationId":"scheduler_score_decay_api_webhooks_scheduler_score_decay_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Scheduler Score Decay Api Webhooks Scheduler Score Decay Post"}}}}}}},"/api/webhooks/scheduler/sync-all":{"post":{"tags":["webhooks"],"summary":"Scheduler Sync All","description":"Cloud Scheduler endpoint: Trigger sync for all active users.","operationId":"scheduler_sync_all_api_webhooks_scheduler_sync_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Scheduler Sync All Api Webhooks Scheduler Sync All Post"}}}}}}},"/api/webhooks/scheduler/generate-suggestions":{"post":{"tags":["webhooks"],"summary":"Scheduler Generate Suggestions","description":"Cloud Scheduler endpoint: Generate suggestions for all users — at most once per UTC day\n(#201): a Scheduler retry or a duplicate trigger returns ``skipped`` without any model call.","operationId":"scheduler_generate_suggestions_api_webhooks_scheduler_generate_suggestions_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Scheduler Generate Suggestions Api Webhooks Scheduler Generate Suggestions Post"}}}}}}},"/api/webhooks/scheduler/next-step-digest":{"post":{"tags":["webhooks"],"summary":"Scheduler Next Step Digest","description":"Cloud Scheduler endpoint: daily next-step digest to each profile owner (dry-run unless\nMAIL_SEND_ENABLED and Mailgun creds are set; recipients guarded to the owner + allowlist).","operationId":"scheduler_next_step_digest_api_webhooks_scheduler_next_step_digest_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Scheduler Next Step Digest Api Webhooks Scheduler Next Step Digest Post"}}}}}}},"/api/webhooks/scheduler/style-profile-rebuild":{"post":{"tags":["webhooks"],"summary":"Scheduler Style Profile Rebuild","description":"Cloud Scheduler endpoint (weekly, Mon 09:00 UTC): rebuild every user's style profile,\nbackfilling sent-mail exemplars first for users who have none (epic #46 E3.3).","operationId":"scheduler_style_profile_rebuild_api_webhooks_scheduler_style_profile_rebuild_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Scheduler Style Profile Rebuild Api Webhooks Scheduler Style Profile Rebuild Post"}}}}}}},"/api/webhooks/scheduler/geocode-refresh":{"post":{"tags":["webhooks"],"summary":"Scheduler Geocode Refresh","description":"Cloud Scheduler endpoint (nightly 03:30 UTC): keep the geocoding cache inside the Maps\nterms — re-geocode by place_id after 27 days, clear lat/lng older than 30 (epic #53 D3) —\ncopy that onto contacts, then backfill contacts that have a location but no coordinates.","operationId":"scheduler_geocode_refresh_api_webhooks_scheduler_geocode_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Scheduler Geocode Refresh Api Webhooks Scheduler Geocode Refresh Post"}}}}}}},"/api/webhooks/scheduler/location-enrich":{"post":{"tags":["webhooks"],"summary":"Scheduler Location Enrich","description":"Cloud Scheduler endpoint (nightly 03:00 UTC, before geocode-refresh): FieldSwap location\nlookups for the owner's contacts (epic #209 E12.2). A no-op unless FIELDSWAP_ENABLED.","operationId":"scheduler_location_enrich_api_webhooks_scheduler_location_enrich_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Scheduler Location Enrich Api Webhooks Scheduler Location Enrich Post"}}}}}}},"/api/webhooks/scheduler/watch-renew":{"post":{"tags":["webhooks"],"summary":"Scheduler Watch Renew","description":"Cloud Scheduler endpoint: Renew Gmail watch subscriptions.","operationId":"scheduler_watch_renew_api_webhooks_scheduler_watch_renew_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Scheduler Watch Renew Api Webhooks Scheduler Watch Renew Post"}}}}}}},"/api/webhooks/mailgun":{"post":{"tags":["webhooks"],"summary":"Mailgun Webhook","description":"Signed Mailgun events. 503 without a signing key, 403 on a bad/stale/replayed signature —\nin both cases nothing is written.","operationId":"mailgun_webhook_api_webhooks_mailgun_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Mailgun Webhook Api Webhooks Mailgun Post"}}}}}}},"/api/webhooks/twilio/status":{"post":{"tags":["webhooks"],"summary":"Twilio Status","operationId":"twilio_status_api_webhooks_twilio_status_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/webhooks/twilio/inbound":{"post":{"tags":["webhooks"],"summary":"Twilio Inbound","operationId":"twilio_inbound_api_webhooks_twilio_inbound_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/tasks/sync-gmail/{user_id}":{"post":{"tags":["tasks"],"summary":"Task Sync Gmail","description":"Cloud Tasks handler: sync Gmail for a specific user.","operationId":"task_sync_gmail_api_tasks_sync_gmail__user_id__post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"full","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Full"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Task Sync Gmail Api Tasks Sync Gmail  User Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tasks/sync-calendar/{user_id}":{"post":{"tags":["tasks"],"summary":"Task Sync Calendar","description":"Cloud Tasks handler: sync Calendar for a specific user.","operationId":"task_sync_calendar_api_tasks_sync_calendar__user_id__post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Task Sync Calendar Api Tasks Sync Calendar  User Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tasks/score-decay":{"post":{"tags":["tasks"],"summary":"Task Score Decay","description":"Run the nightly routine: RSVP points, SMS purge, decay, daily snapshots.","operationId":"task_score_decay_api_tasks_score_decay_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Task Score Decay Api Tasks Score Decay Post"}}}}}}},"/api/tasks/noreply-sweep":{"post":{"tags":["tasks"],"summary":"Task Noreply Sweep","operationId":"task_noreply_sweep_api_tasks_noreply_sweep_post","parameters":[{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"}},{"name":"dry_run","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Dry Run"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Task Noreply Sweep Api Tasks Noreply Sweep Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tasks/generate-suggestions":{"post":{"tags":["tasks"],"summary":"Task Generate Suggestions","description":"Cloud Tasks handler: generate suggestions for all users (shares the #201 daily dedupe key\nwith the Scheduler endpoint, so the two can never both run the day's job).","operationId":"task_generate_suggestions_api_tasks_generate_suggestions_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Task Generate Suggestions Api Tasks Generate Suggestions Post"}}}}}}},"/v1/me":{"get":{"tags":["v1"],"summary":"Who the API key belongs to","operationId":"me_v1_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Me"}}}},"401":{"description":"Missing, malformed or revoked API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Key lacks access (keys are read-only)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/contacts":{"get":{"tags":["v1","contacts"],"summary":"List contacts","description":"Your active contacts, newest first. Archived and excluded contacts are omitted.","operationId":"list_contacts_v1_contacts_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size (max 100).","default":50,"title":"Limit"},"description":"Page size (max 100)."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"description":"Opaque cursor from a previous page's `next_cursor`.","title":"Cursor"},"description":"Opaque cursor from a previous page's `next_cursor`."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Name, email or company substring.","title":"Q"},"description":"Name, email or company substring."},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},{"name":"score_label","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Label"}},{"name":"tags_any","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Tags Any"}},{"name":"linkedin_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Linkedin Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_V1Contact_"}}}},"401":{"description":"Missing, malformed or revoked API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Key lacks access (keys are read-only)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}}}}},"/v1/contacts/{contact_id}":{"get":{"tags":["v1","contacts"],"summary":"Get a contact","operationId":"get_contact_v1_contacts__contact_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Contact"}}}},"401":{"description":"Missing, malformed or revoked API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Key lacks access (keys are read-only)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}}}}},"/v1/engagements":{"get":{"tags":["v1","engagements"],"summary":"List engagements","description":"Your logged interactions, newest first. Excluded contacts' engagements are hidden\nunless you filter by that ``contact_id``.","operationId":"list_engagements_v1_engagements_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size (max 100).","default":50,"title":"Limit"},"description":"Page size (max 100)."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"description":"Opaque cursor from a previous page's `next_cursor`.","title":"Cursor"},"description":"Opaque cursor from a previous page's `next_cursor`."},{"name":"contact_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Id"}},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/EngagementType"},{"type":"null"}],"title":"Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_V1Engagement_"}}}},"401":{"description":"Missing, malformed or revoked API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Key lacks access (keys are read-only)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}}}}},"/v1/network/intro-paths":{"get":{"tags":["v1","network"],"summary":"Warm-intro paths to a contact","operationId":"intro_paths_v1_network_intro_paths_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"target","in":"query","required":true,"schema":{"type":"string","format":"uuid","description":"The contact to reach.","title":"Target"},"description":"The contact to reach."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntroPaths"}}}},"401":{"description":"Missing, malformed or revoked API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Key lacks access (keys are read-only)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}}}}},"/v1/events":{"get":{"tags":["v1","events"],"summary":"List events","description":"Your hosted and attended events, soonest first (undated last). Cancelled ones only\nwhen ``status=cancelled``.","operationId":"list_events_v1_events_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page size (max 100).","default":50,"title":"Limit"},"description":"Page size (max 100)."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"description":"Opaque cursor from a previous page's `next_cursor`.","title":"Cursor"},"description":"Opaque cursor from a previous page's `next_cursor`."},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/EventKind"},{"type":"null"}],"title":"Kind"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/EventStatus"},{"type":"null"}],"title":"Status"}},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"From"}},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_V1Event_"}}}},"401":{"description":"Missing, malformed or revoked API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Key lacks access (keys are read-only)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}}}}},"/v1/events/{event_id}":{"get":{"tags":["v1","events"],"summary":"Get an event","operationId":"get_event_v1_events__event_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Event"}}}},"401":{"description":"Missing, malformed or revoked API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"403":{"description":"Key lacks access (keys are read-only)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"422":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Health Get"}}}}}}}},"components":{"schemas":{"ApiKeyCreate":{"properties":{"name":{"type":"string","maxLength":100,"title":"Name"}},"type":"object","required":["name"],"title":"ApiKeyCreate"},"ApiKeyCreated":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"prefix":{"type":"string","title":"Prefix"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"key":{"type":"string","title":"Key"}},"type":"object","required":["id","name","prefix","scopes","created_at","key"],"title":"ApiKeyCreated"},"ApiKeyOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"prefix":{"type":"string","title":"Prefix"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"}},"type":"object","required":["id","name","prefix","scopes","created_at"],"title":"ApiKeyOut"},"AskCreate":{"properties":{"title":{"type":"string","maxLength":120,"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Description"},"audience_hint":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Audience Hint"}},"additionalProperties":false,"type":"object","required":["title"],"title":"AskCreate"},"AskList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AskOut"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"AskList"},"AskOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"audience_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Hint"},"archived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Archived At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"has_leave_behind":{"type":"boolean","title":"Has Leave Behind","default":false}},"type":"object","required":["id","title","description","audience_hint","archived_at","created_at","updated_at"],"title":"AskOut"},"AskOutcome":{"type":"string","enum":["made_positive","made_neutral","made_declined","not_made"],"title":"AskOutcome"},"AskUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Description"},"audience_hint":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Audience Hint"}},"additionalProperties":false,"type":"object","title":"AskUpdate","description":"Partial update. ``title`` may not be cleared; the others clear with ``null`` or ``\"\"``."},"AttendeeContactOut":{"properties":{"contact_id":{"type":"string","format":"uuid","title":"Contact Id"},"created":{"type":"boolean","title":"Created"}},"type":"object","required":["contact_id","created"],"title":"AttendeeContactOut"},"AttendeeSuggestionList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AttendeeSuggestionOut"},"type":"array","title":"Items"},"ranked_by":{"type":"string","title":"Ranked By"},"candidates":{"type":"integer","title":"Candidates"},"cached":{"type":"boolean","title":"Cached"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"}},"type":"object","required":["items","ranked_by","candidates","cached","generated_at"],"title":"AttendeeSuggestionList"},"AttendeeSuggestionOut":{"properties":{"contact":{"$ref":"#/components/schemas/ContactResponse"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score"},"why":{"type":"string","title":"Why"},"distance_mi":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Distance Mi"},"matched_filters":{"items":{"type":"string"},"type":"array","title":"Matched Filters"}},"type":"object","required":["contact","score","why","distance_mi","matched_filters"],"title":"AttendeeSuggestionOut"},"AudienceAttributes":{"properties":{"tiers":{"items":{"type":"string","enum":["key","important","normal"]},"type":"array","maxItems":3,"title":"Tiers"},"group_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":50,"title":"Group Ids"},"industries":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Industries"},"company_sizes":{"items":{"type":"string","enum":["1-10","11-50","51-200","201-1000","1000+"]},"type":"array","maxItems":5,"title":"Company Sizes"},"seniorities":{"items":{"type":"string","enum":["founder_owner","c_level","vp","director","manager","ic","other"]},"type":"array","maxItems":7,"title":"Seniorities"},"tags_any":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags Any"},"tags_all":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags All"}},"additionalProperties":false,"type":"object","title":"AudienceAttributes","description":"Who, not where: the attribute half of ``AudienceFilters``. An outreach list (#241) takes\nonly these — its own ``radius_mi`` and anchor decide the geography."},"AudienceCenter":{"properties":{"lat":{"type":"number","maximum":90.0,"minimum":-90.0,"title":"Lat"},"lng":{"type":"number","maximum":180.0,"minimum":-180.0,"title":"Lng"}},"additionalProperties":false,"type":"object","required":["lat","lng"],"title":"AudienceCenter"},"AudienceFilters":{"properties":{"tiers":{"items":{"type":"string","enum":["key","important","normal"]},"type":"array","maxItems":3,"title":"Tiers"},"group_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":50,"title":"Group Ids"},"industries":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Industries"},"company_sizes":{"items":{"type":"string","enum":["1-10","11-50","51-200","201-1000","1000+"]},"type":"array","maxItems":5,"title":"Company Sizes"},"seniorities":{"items":{"type":"string","enum":["founder_owner","c_level","vp","director","manager","ic","other"]},"type":"array","maxItems":7,"title":"Seniorities"},"tags_any":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags Any"},"tags_all":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Tags All"},"radius_miles":{"type":"number","maximum":250.0,"minimum":1.0,"title":"Radius Miles","default":50.0},"center":{"anyOf":[{"$ref":"#/components/schemas/AudienceCenter"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"AudienceFilters"},"AuthTokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"refresh_token":{"type":"string","title":"Refresh Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"},"user":{"$ref":"#/components/schemas/ProfileResponse"}},"type":"object","required":["access_token","refresh_token","user"],"title":"AuthTokenResponse"},"BackfillResult":{"properties":{"status":{"type":"string","title":"Status"},"messages_scanned":{"type":"integer","title":"Messages Scanned"},"exemplars_ingested":{"type":"integer","title":"Exemplars Ingested"},"exemplars_skipped_by_reason":{"additionalProperties":{"type":"integer"},"type":"object","title":"Exemplars Skipped By Reason"},"median_words":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median Words"},"exemplar_count":{"type":"integer","title":"Exemplar Count"}},"type":"object","required":["status","messages_scanned","exemplars_ingested","exemplars_skipped_by_reason","median_words","exemplar_count"],"title":"BackfillResult"},"BriefAsk":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"$ref":"#/components/schemas/MeetingAskStatus"},"source":{"$ref":"#/components/schemas/MeetingAskSource"},"ask_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Ask Id"},"ask_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ask Title"},"one_off_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"One Off Text"},"ai_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Reason"},"has_leave_behind":{"type":"boolean","title":"Has Leave Behind"}},"type":"object","required":["id","status","source","ask_id","ask_title","one_off_text","ai_reason","has_leave_behind"],"title":"BriefAsk","description":"E7.5: the attendee's ask for this meeting (read-only here: the brief never calls AI)."},"BriefAttendee":{"properties":{"contact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Id"},"display_name":{"type":"string","title":"Display Name"},"email_domain":{"type":"string","title":"Email Domain"},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"},"score_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Label"},"relationship_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Relationship Score"},"last_engagement":{"anyOf":[{"$ref":"#/components/schemas/LastEngagement"},{"type":"null"}]},"open_next_steps_count":{"type":"integer","title":"Open Next Steps Count"},"ask":{"anyOf":[{"$ref":"#/components/schemas/BriefAsk"},{"type":"null"}]},"recent_engagements":{"items":{"$ref":"#/components/schemas/LastEngagement"},"type":"array","title":"Recent Engagements"},"open_next_steps":{"items":{"$ref":"#/components/schemas/BriefNextStep"},"type":"array","title":"Open Next Steps"},"notes_excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes Excerpt"},"days_since_last_touch":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Days Since Last Touch"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"job_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Title"},"meeting_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Notes"}},"type":"object","required":["contact_id","display_name","email_domain","tier","score_label","relationship_score","last_engagement","open_next_steps_count","recent_engagements","open_next_steps","notes_excerpt","days_since_last_touch","company","job_title"],"title":"BriefAttendee"},"BriefNextStep":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"description":{"type":"string","title":"Description"},"due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due Date"}},"type":"object","required":["id","description","due_date"],"title":"BriefNextStep"},"BulkOut":{"properties":{"sent":{"type":"integer","title":"Sent"},"dry_run":{"type":"integer","title":"Dry Run"},"skipped":{"type":"integer","title":"Skipped"}},"type":"object","required":["sent","dry_run","skipped"],"title":"BulkOut"},"BulkTagIn":{"properties":{"contact_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"minItems":1,"title":"Contact Ids"},"add":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Add"},"remove":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Remove"}},"type":"object","required":["contact_ids"],"title":"BulkTagIn"},"BulkTagOut":{"properties":{"updated":{"type":"integer","title":"Updated"},"skipped_full":{"type":"integer","title":"Skipped Full"}},"type":"object","required":["updated","skipped_full"],"title":"BulkTagOut"},"BulletsBlock":{"properties":{"type":{"type":"string","const":"bullets","title":"Type"},"items":{"items":{"type":"string","maxLength":300},"type":"array","maxItems":20,"minItems":1,"title":"Items"}},"additionalProperties":false,"type":"object","required":["type","items"],"title":"BulletsBlock"},"ChooseIn":{"properties":{"ask_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Ask Id"},"one_off_text":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"One Off Text"}},"additionalProperties":false,"type":"object","title":"ChooseIn"},"CommsStatus":{"properties":{"email":{"type":"string","enum":["dry_run","owner_only","live"],"title":"Email"},"sms":{"type":"string","enum":["dry_run","a2p_pending","owner_only","live"],"title":"Sms"},"bulk_enabled":{"type":"boolean","title":"Bulk Enabled"}},"type":"object","required":["email","sms","bulk_enabled"],"title":"CommsStatus"},"ComposeAllOut":{"properties":{"composed":{"type":"integer","title":"Composed"},"failed":{"type":"integer","title":"Failed"},"remaining":{"type":"integer","title":"Remaining"}},"type":"object","required":["composed","failed","remaining"],"title":"ComposeAllOut"},"ComposeIn":{"properties":{"regenerate":{"type":"boolean","title":"Regenerate","default":false},"feedback":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Feedback"}},"type":"object","title":"ComposeIn"},"ConsentIn":{"properties":{"channel":{"type":"string","enum":["email","sms"],"title":"Channel"},"status":{"type":"string","enum":["opted_in","opted_out"],"title":"Status"},"how":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"How"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date"}},"type":"object","required":["channel","status"],"title":"ConsentIn"},"ConsentRow":{"properties":{"channel":{"type":"string","title":"Channel"},"status":{"type":"string","title":"Status"},"source":{"type":"string","title":"Source"},"evidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence"},"at":{"type":"string","format":"date-time","title":"At"}},"type":"object","required":["channel","status","source","evidence","at"],"title":"ConsentRow"},"ConsentState":{"properties":{"email":{"type":"string","title":"Email"},"sms":{"type":"string","title":"Sms"},"items":{"items":{"$ref":"#/components/schemas/ConsentRow"},"type":"array","title":"Items"}},"type":"object","required":["email","sms","items"],"title":"ConsentState"},"ContactCreate":{"properties":{"instagram_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instagram Handle"},"industry":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Industry"},"company_size":{"anyOf":[{"type":"string","enum":["1-10","11-50","51-200","201-1000","1000+"]},{"type":"null"}],"title":"Company Size"},"seniority":{"anyOf":[{"type":"string","enum":["founder_owner","c_level","vp","director","manager","ic","other"]},{"type":"null"}],"title":"Seniority"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":200},{"type":"null"}],"title":"Tags"},"first_name":{"type":"string","title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"job_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Title"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"country":{"type":"string","title":"Country","default":"US"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"linkedin_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin Url"},"interests":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Interests"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"tier":{"type":"string","title":"Tier","default":"normal"}},"type":"object","required":["first_name"],"title":"ContactCreate"},"ContactLinkCreate":{"properties":{"contact_id":{"type":"string","format":"uuid","title":"Contact Id"},"other_contact_id":{"type":"string","format":"uuid","title":"Other Contact Id"},"strength":{"type":"string","enum":["knows","knows_well"],"title":"Strength","default":"knows"},"via_kind":{"anyOf":[{"type":"string","enum":["tag","group","calendar_event","event","note"]},{"type":"null"}],"title":"Via Kind"},"via_ref":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Via Ref"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"},"source":{"type":"string","enum":["manual","voice","extension"],"title":"Source","default":"manual"}},"type":"object","required":["contact_id","other_contact_id"],"title":"ContactLinkCreate"},"ContactLinkIndex":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ContactLinkOut"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"ContactLinkIndex"},"ContactLinkOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"contact_a_id":{"type":"string","format":"uuid","title":"Contact A Id"},"contact_b_id":{"type":"string","format":"uuid","title":"Contact B Id"},"other":{"$ref":"#/components/schemas/LinkedPerson"},"strength":{"type":"string","title":"Strength"},"via_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Via Kind"},"via_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Via Ref"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"source":{"type":"string","title":"Source"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","contact_a_id","contact_b_id","other","strength","via_kind","via_ref","note","source","created_at","updated_at"],"title":"ContactLinkOut"},"ContactListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ContactResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"}},"type":"object","required":["items","total","page","page_size"],"title":"ContactListResponse"},"ContactLocationItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"source":{"type":"string","title":"Source"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"confidence":{"type":"number","title":"Confidence"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"is_primary":{"type":"boolean","title":"Is Primary","default":false}},"type":"object","required":["id","source","city","region","country","confidence","observed_at"],"title":"ContactLocationItem"},"ContactLocationsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ContactLocationItem"},"type":"array","title":"Items"},"primary_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Source"}},"type":"object","required":["items","primary_source"],"title":"ContactLocationsResponse"},"ContactLookupIn":{"properties":{"emails":{"items":{"type":"string","maxLength":320},"type":"array","maxItems":25,"minItems":1,"title":"Emails"}},"type":"object","required":["emails"],"title":"ContactLookupIn"},"ContactLookupItem":{"properties":{"email":{"type":"string","title":"Email"},"contact":{"anyOf":[{"$ref":"#/components/schemas/ContactResponse"},{"type":"null"}]}},"type":"object","required":["email","contact"],"title":"ContactLookupItem"},"ContactLookupOut":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ContactLookupItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ContactLookupOut"},"ContactResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"job_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Title"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"country":{"type":"string","title":"Country"},"location_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Source"},"location_confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Location Confidence"},"location_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Location Updated At"},"linkedin_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin Url"},"instagram_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instagram Handle"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"interests":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Interests"},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry"},"company_size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Size"},"seniority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seniority"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","default":[]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"relationship_score":{"type":"number","title":"Relationship Score"},"score_label":{"type":"string","title":"Score Label"},"tier":{"type":"string","title":"Tier"},"last_engagement_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Engagement At"},"last_in_person_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last In Person At"},"is_archived":{"type":"boolean","title":"Is Archived"},"excluded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Excluded At"},"excluded_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excluded Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"in_person_score":{"type":"integer","title":"In Person Score","description":"0-100, computed on read from `last_in_person_at` so it decays without a job.","readOnly":true},"seniority_suggestion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seniority Suggestion","description":"A keyword-inferred seniority for the UI to offer when none is set (never saved).","readOnly":true}},"type":"object","required":["id","first_name","last_name","email","phone","company","job_title","city","state","country","linkedin_url","avatar_url","interests","notes","relationship_score","score_label","tier","last_engagement_at","is_archived","created_at","updated_at","in_person_score","seniority_suggestion"],"title":"ContactResponse"},"ContactUpdate":{"properties":{"instagram_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instagram Handle"},"industry":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Industry"},"company_size":{"anyOf":[{"type":"string","enum":["1-10","11-50","51-200","201-1000","1000+"]},{"type":"null"}],"title":"Company Size"},"seniority":{"anyOf":[{"type":"string","enum":["founder_owner","c_level","vp","director","manager","ic","other"]},{"type":"null"}],"title":"Seniority"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":200},{"type":"null"}],"title":"Tags"},"first_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Last Name"},"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"job_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Title"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"linkedin_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin Url"},"interests":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Interests"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},"type":"object","title":"ContactUpdate"},"DashboardStats":{"properties":{"total":{"type":"integer","title":"Total"},"by_label":{"$ref":"#/components/schemas/LabelCounts"},"touched_7d":{"type":"integer","title":"Touched 7D"},"touched_30d":{"type":"integer","title":"Touched 30D"},"weekly":{"items":{"$ref":"#/components/schemas/WeekBucket"},"type":"array","title":"Weekly"}},"type":"object","required":["total","by_label","touched_7d","touched_30d","weekly"],"title":"DashboardStats"},"DigestPreview":{"properties":{"would_send":{"type":"boolean","title":"Would Send"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html"},"item_count":{"type":"integer","title":"Item Count","default":0},"overdue":{"type":"integer","title":"Overdue","default":0},"due_today":{"type":"integer","title":"Due Today","default":0},"upcoming":{"type":"integer","title":"Upcoming","default":0}},"type":"object","required":["would_send"],"title":"DigestPreview"},"DocImage":{"properties":{"object":{"type":"string","pattern":"^[0-9a-f]{64}\\.(png|jpg)$","title":"Object"}},"additionalProperties":false,"type":"object","required":["object"],"title":"DocImage","description":"An image uploaded via ``POST …/leave-behind/image``. ``object`` is the opaque name that route\nreturned; the server derives the full (user- and ask-scoped) storage path from it."},"DraftCreate":{"properties":{"contact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Id"},"next_step_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Step Id"},"intent":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Intent"},"context":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Context"},"propose_times":{"type":"boolean","title":"Propose Times","default":false},"include_leave_behind_ask_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Include Leave Behind Ask Id"}},"type":"object","title":"DraftCreate"},"DraftList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DraftOut"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"DraftList"},"DraftOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"contact_id":{"type":"string","format":"uuid","title":"Contact Id"},"contact_name":{"type":"string","title":"Contact Name"},"next_step_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Step Id"},"intent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Intent"},"to_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To Email"},"status":{"type":"string","title":"Status"},"subject":{"type":"string","title":"Subject"},"body":{"type":"string","title":"Body"},"body_html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Html"},"revision_n":{"type":"integer","title":"Revision N"},"style_profile_missing":{"type":"boolean","title":"Style Profile Missing"},"sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sent At"},"sent_gmail_message_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sent Gmail Message Id"},"current_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Current Revision Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"revisions":{"anyOf":[{"items":{"$ref":"#/components/schemas/RevisionOut"},"type":"array"},{"type":"null"}],"title":"Revisions"}},"type":"object","required":["id","contact_id","contact_name","next_step_id","intent","to_email","status","subject","body","revision_n","style_profile_missing","sent_at","created_at","updated_at"],"title":"DraftOut"},"EditRequest":{"properties":{"subject":{"type":"string","maxLength":300,"title":"Subject","default":""},"body":{"type":"string","maxLength":20000,"minLength":1,"title":"Body"},"body_html":{"anyOf":[{"type":"string","maxLength":60000},{"type":"null"}],"title":"Body Html"}},"type":"object","required":["body"],"title":"EditRequest"},"EmailPreview":{"properties":{"to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"headers":{"additionalProperties":{"type":"string"},"type":"object","title":"Headers"}},"type":"object","required":["to","subject","text","headers"],"title":"EmailPreview"},"EngagementCreate":{"properties":{"contact_id":{"type":"string","format":"uuid","title":"Contact Id"},"type":{"$ref":"#/components/schemas/EngagementType"},"source":{"$ref":"#/components/schemas/EngagementSource","default":"manual"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"occurred_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Occurred At"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"}},"type":"object","required":["contact_id","type"],"title":"EngagementCreate"},"EngagementListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/EngagementResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"EngagementListResponse"},"EngagementResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"contact_id":{"type":"string","format":"uuid","title":"Contact Id"},"type":{"$ref":"#/components/schemas/EngagementType"},"source":{"$ref":"#/components/schemas/EngagementSource"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"points_awarded":{"type":"number","title":"Points Awarded"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","contact_id","type","source","title","description","points_awarded","occurred_at","duration_minutes","location","created_at"],"title":"EngagementResponse"},"EngagementSource":{"type":"string","enum":["manual","gmail_sync","calendar_sync","auto_detected","voice"],"title":"EngagementSource"},"EngagementType":{"type":"string","enum":["email_one_to_one","email_group","phone_call","video_call","in_person_one_on_one","in_person_event","linkedin_message","instagram_message","other"],"title":"EngagementType"},"EventAudience":{"properties":{"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"filters":{"$ref":"#/components/schemas/AudienceFilters"}},"additionalProperties":false,"type":"object","title":"EventAudience"},"EventCreate":{"properties":{"title":{"type":"string","maxLength":255,"minLength":1,"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Description"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone"},"venue_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Venue Name"},"address":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"City"},"region":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Region"},"country":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Country"},"capacity":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":1.0},{"type":"null"}],"title":"Capacity"},"audience":{"anyOf":[{"$ref":"#/components/schemas/EventAudience"},{"type":"null"}]},"kind":{"$ref":"#/components/schemas/EventKind","default":"hosted"},"status":{"type":"string","enum":["draft","published"],"title":"Status","default":"draft"}},"additionalProperties":false,"type":"object","required":["title"],"title":"EventCreate"},"EventKind":{"type":"string","enum":["hosted","attending"],"title":"EventKind"},"EventList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/EventOut"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"EventList"},"EventOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"kind":{"$ref":"#/components/schemas/EventKind"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"timezone":{"type":"string","title":"Timezone"},"venue_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"place_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Place Id"},"capacity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Capacity"},"audience":{"$ref":"#/components/schemas/EventAudience"},"status":{"$ref":"#/components/schemas/EventStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","kind","title","description","starts_at","ends_at","timezone","venue_name","address","city","region","country","lat","lng","place_id","capacity","audience","status","created_at","updated_at"],"title":"EventOut"},"EventStatus":{"type":"string","enum":["draft","published","cancelled","completed"],"title":"EventStatus"},"EventUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Description"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone"},"venue_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Venue Name"},"address":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"City"},"region":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Region"},"country":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Country"},"capacity":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":1.0},{"type":"null"}],"title":"Capacity"},"audience":{"anyOf":[{"$ref":"#/components/schemas/EventAudience"},{"type":"null"}]},"kind":{"anyOf":[{"$ref":"#/components/schemas/EventKind"},{"type":"null"}]},"status":{"anyOf":[{"$ref":"#/components/schemas/EventStatus"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"EventUpdate"},"ExemplarStats":{"properties":{"exemplar_count":{"type":"integer","title":"Exemplar Count"},"one_to_one_count":{"type":"integer","title":"One To One Count"},"median_words":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median Words"},"newest_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest Sent At"},"oldest_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest Sent At"}},"type":"object","required":["exemplar_count","one_to_one_count","median_words","newest_sent_at","oldest_sent_at"],"title":"ExemplarStats"},"FreeSlot":{"properties":{"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"},"label":{"type":"string","title":"Label"}},"type":"object","required":["start","end","label"],"title":"FreeSlot"},"GoogleConnectRequest":{"properties":{"code":{"type":"string","title":"Code"},"redirect_uri":{"type":"string","title":"Redirect Uri"}},"type":"object","required":["code","redirect_uri"],"title":"GoogleConnectRequest"},"GoogleConnectResponse":{"properties":{"status":{"type":"string","title":"Status"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"}},"type":"object","required":["status"],"title":"GoogleConnectResponse"},"GoogleConnectionResponse":{"properties":{"connected":{"type":"boolean","title":"Connected"},"google_scopes":{"items":{"type":"string"},"type":"array","title":"Google Scopes"},"can_read_gmail":{"type":"boolean","title":"Can Read Gmail"},"can_read_calendar":{"type":"boolean","title":"Can Read Calendar"},"can_read_contacts":{"type":"boolean","title":"Can Read Contacts"},"can_send_gmail":{"type":"boolean","title":"Can Send Gmail"}},"type":"object","required":["connected","google_scopes","can_read_gmail","can_read_calendar","can_read_contacts","can_send_gmail"],"title":"GoogleConnectionResponse"},"GoogleLoginRequest":{"properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"redirect_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Uri"},"google_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Google Token"},"token_type":{"type":"string","title":"Token Type","default":"access_token"}},"type":"object","title":"GoogleLoginRequest","description":"Login with either an authorization code or a Google access token."},"GroupCreate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"type":"string","title":"Type","default":"general"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"is_user_admin":{"type":"boolean","title":"Is User Admin","default":false},"meeting_cadence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Cadence"}},"type":"object","required":["name"],"title":"GroupCreate"},"GroupMemberAdd":{"properties":{"contact_id":{"type":"string","format":"uuid","title":"Contact Id"},"role":{"type":"string","title":"Role","default":"member"}},"type":"object","required":["contact_id"],"title":"GroupMemberAdd"},"GroupResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"type":"string","title":"Type"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"is_user_admin":{"type":"boolean","title":"Is User Admin"},"meeting_cadence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Cadence"},"member_count":{"type":"integer","title":"Member Count","default":0},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","name","description","type","city","is_user_admin","meeting_cadence","created_at","updated_at"],"title":"GroupResponse"},"GroupUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"is_user_admin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is User Admin"},"meeting_cadence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Cadence"}},"type":"object","title":"GroupUpdate"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HeadingBlock":{"properties":{"type":{"type":"string","const":"heading","title":"Type"},"text":{"type":"string","maxLength":120,"title":"Text"}},"additionalProperties":false,"type":"object","required":["type","text"],"title":"HeadingBlock"},"HubspotStatus":{"properties":{"configured":{"type":"boolean","title":"Configured"},"enabled":{"type":"boolean","title":"Enabled"},"phase":{"type":"string","title":"Phase"},"last_sync_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Sync At"},"last_full_pass_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Full Pass At"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"running":{"type":"boolean","title":"Running"},"counts":{"additionalProperties":true,"type":"object","title":"Counts"},"preview":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Preview"},"mapping":{"items":{"$ref":"#/components/schemas/MappingEntry"},"type":"array","title":"Mapping"},"import_scope":{"type":"string","title":"Import Scope"}},"type":"object","required":["configured","enabled","phase","last_sync_at","last_full_pass_at","last_error","running","counts","preview","mapping","import_scope"],"title":"HubspotStatus"},"IntroHop":{"properties":{"source":{"type":"string","title":"Source"},"target":{"type":"string","title":"Target"},"kinds":{"items":{"type":"string"},"type":"array","title":"Kinds"},"strength":{"type":"number","title":"Strength"},"evidence":{"items":{"$ref":"#/components/schemas/NetworkEvidence"},"type":"array","title":"Evidence"}},"type":"object","required":["source","target","kinds","strength","evidence"],"title":"IntroHop"},"IntroPaths":{"properties":{"target":{"$ref":"#/components/schemas/IntroPerson"},"routes":{"items":{"$ref":"#/components/schemas/IntroRoute"},"type":"array","title":"Routes"},"suggestions":{"items":{"$ref":"#/components/schemas/IntroSuggestion"},"type":"array","title":"Suggestions"}},"type":"object","required":["target","routes","suggestions"],"title":"IntroPaths"},"IntroPerson":{"properties":{"id":{"type":"string","title":"Id"},"node_id":{"type":"string","title":"Node Id"},"name":{"type":"string","title":"Name"},"score":{"type":"number","title":"Score"},"score_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Label"}},"type":"object","required":["id","node_id","name","score","score_label"],"title":"IntroPerson"},"IntroRoute":{"properties":{"score":{"type":"number","title":"Score"},"introducers":{"items":{"$ref":"#/components/schemas/IntroPerson"},"type":"array","title":"Introducers"},"hops":{"items":{"$ref":"#/components/schemas/IntroHop"},"type":"array","title":"Hops"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["score","introducers","hops","reason"],"title":"IntroRoute"},"IntroSuggestion":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","title":"Kind"},"label":{"type":"string","title":"Label"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size"},"people":{"items":{"$ref":"#/components/schemas/IntroPerson"},"type":"array","title":"People"}},"type":"object","required":["id","kind","label","size","people"],"title":"IntroSuggestion"},"InviteChannelStatus":{"type":"string","enum":["draft","approved","dry_run","sent","delivered","failed","opted_out"],"title":"InviteChannelStatus"},"InviteContact":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"job_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Title"},"sms_consent":{"type":"string","title":"Sms Consent","default":"unknown"}},"type":"object","required":["id","first_name","last_name","email","phone","company","job_title"],"title":"InviteContact"},"InviteCreate":{"properties":{"contact_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"minItems":1,"title":"Contact Ids"},"channels":{"type":"string","enum":["email","sms","both"],"title":"Channels","default":"email"}},"type":"object","required":["contact_ids"],"title":"InviteCreate"},"InviteCreated":{"properties":{"created":{"type":"integer","title":"Created"},"skipped_existing":{"type":"integer","title":"Skipped Existing"},"items":{"items":{"$ref":"#/components/schemas/InviteOut"},"type":"array","title":"Items"}},"type":"object","required":["created","skipped_existing","items"],"title":"InviteCreated"},"InviteList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/InviteOut"},"type":"array","title":"Items"},"tally":{"$ref":"#/components/schemas/Tally"}},"type":"object","required":["items","tally"],"title":"InviteList"},"InviteOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"},"contact":{"$ref":"#/components/schemas/InviteContact"},"rsvp_token":{"type":"string","title":"Rsvp Token"},"channels":{"type":"string","title":"Channels"},"email_status":{"$ref":"#/components/schemas/InviteChannelStatus"},"sms_status":{"$ref":"#/components/schemas/InviteChannelStatus"},"rsvp":{"$ref":"#/components/schemas/RsvpStatus"},"rsvp_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rsvp Note"},"rsvp_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Rsvp At"},"approved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Approved At"},"sent_email_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sent Email At"},"sent_sms_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sent Sms At"},"personalized_subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Personalized Subject"},"personalized_email_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Personalized Email Body"},"personalized_sms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Personalized Sms"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","event_id","contact","rsvp_token","channels","email_status","sms_status","rsvp","rsvp_note","rsvp_at","approved_at","sent_email_at","sent_sms_at","personalized_subject","personalized_email_body","personalized_sms","created_at"],"title":"InviteOut"},"InvitePreview":{"properties":{"email":{"anyOf":[{"$ref":"#/components/schemas/EmailPreview"},{"type":"null"}]},"sms":{"anyOf":[{"$ref":"#/components/schemas/SmsPreview"},{"type":"null"}]}},"type":"object","required":["email","sms"],"title":"InvitePreview"},"InviteUpdate":{"properties":{"channels":{"anyOf":[{"type":"string","enum":["email","sms","both"]},{"type":"null"}],"title":"Channels"},"personalized_subject":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Personalized Subject"},"personalized_email_body":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Personalized Email Body"},"personalized_sms":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Personalized Sms"}},"type":"object","title":"InviteUpdate"},"LabelCounts":{"properties":{"hot":{"type":"integer","title":"Hot","default":0},"warm":{"type":"integer","title":"Warm","default":0},"cold":{"type":"integer","title":"Cold","default":0}},"type":"object","title":"LabelCounts"},"LastEngagement":{"properties":{"type":{"type":"string","title":"Type"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"type":"object","required":["type","occurred_at","title"],"title":"LastEngagement"},"LeaveBehindDoc":{"properties":{"title":{"type":"string","maxLength":120,"title":"Title"},"subtitle":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Subtitle"},"image":{"anyOf":[{"$ref":"#/components/schemas/DocImage"},{"type":"null"}]},"blocks":{"items":{"oneOf":[{"$ref":"#/components/schemas/HeadingBlock"},{"$ref":"#/components/schemas/ParagraphBlock"},{"$ref":"#/components/schemas/BulletsBlock"}],"discriminator":{"propertyName":"type","mapping":{"bullets":"#/components/schemas/BulletsBlock","heading":"#/components/schemas/HeadingBlock","paragraph":"#/components/schemas/ParagraphBlock"}}},"type":"array","maxItems":40,"title":"Blocks"},"footer":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Footer"}},"additionalProperties":false,"type":"object","required":["title"],"title":"LeaveBehindDoc"},"LeaveBehindDocOut":{"properties":{"doc":{"$ref":"#/components/schemas/LeaveBehindDoc"},"image_data_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Data Uri"}},"type":"object","required":["doc"],"title":"LeaveBehindDocOut"},"LeaveBehindImageOut":{"properties":{"object":{"type":"string","title":"Object"},"data_uri":{"type":"string","title":"Data Uri"},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"}},"type":"object","required":["object","data_uri","width","height"],"title":"LeaveBehindImageOut"},"LeaveBehindKind":{"type":"string","enum":["upload","editor"],"title":"LeaveBehindKind"},"LeaveBehindOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"ask_id":{"type":"string","format":"uuid","title":"Ask Id"},"kind":{"$ref":"#/components/schemas/LeaveBehindKind"},"display_name":{"type":"string","title":"Display Name"},"pdf_bytes":{"type":"integer","title":"Pdf Bytes"},"page_count":{"type":"integer","title":"Page Count"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","ask_id","kind","display_name","pdf_bytes","page_count","created_at","updated_at"],"title":"LeaveBehindOut"},"LinkCreate":{"properties":{"contact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Id"}},"additionalProperties":false,"type":"object","title":"LinkCreate"},"LinkOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"url":{"type":"string","title":"Url"},"contact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Id"},"contact_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"open_count":{"type":"integer","title":"Open Count"},"first_opened_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Opened At"},"last_opened_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Opened At"}},"type":"object","required":["id","url","contact_id","contact_name","created_at","revoked_at","open_count","first_opened_at","last_opened_at"],"title":"LinkOut"},"LinkedPerson":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"relationship_score":{"type":"number","title":"Relationship Score"},"score_label":{"type":"string","title":"Score Label"}},"type":"object","required":["id","first_name","last_name","company","avatar_url","relationship_score","score_label"],"title":"LinkedPerson"},"LocationObservationIn":{"properties":{"source":{"type":"string","const":"linkedin","title":"Source"},"raw_text":{"type":"string","maxLength":200,"minLength":1,"title":"Raw Text"},"evidence_ref":{"type":"string","pattern":"^[A-Za-z0-9_%\\-]{1,100}$","title":"Evidence Ref"}},"type":"object","required":["source","raw_text","evidence_ref"],"title":"LocationObservationIn"},"LocationObservationOut":{"properties":{"recorded":{"type":"boolean","title":"Recorded"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"location_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Source"}},"type":"object","required":["recorded"],"title":"LocationObservationOut"},"LogoutRequest":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"LogoutRequest"},"MappingEntry":{"properties":{"property":{"type":"string","title":"Property"},"prefix":{"type":"string","title":"Prefix","default":""},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["property"],"title":"MappingEntry"},"MarkSentRequest":{"properties":{"final_text":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Final Text"}},"type":"object","title":"MarkSentRequest"},"MeetingAskOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"calendar_event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Calendar Event Id"},"contact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Id"},"ask_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Ask Id"},"ask_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ask Title"},"one_off_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"One Off Text"},"status":{"$ref":"#/components/schemas/MeetingAskStatus"},"source":{"$ref":"#/components/schemas/MeetingAskSource"},"ai_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Reason"},"ai_alternates":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Ai Alternates"},"outcome":{"anyOf":[{"$ref":"#/components/schemas/AskOutcome"},{"type":"null"}]},"outcome_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome Note"},"outcome_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Outcome At"},"has_leave_behind":{"type":"boolean","title":"Has Leave Behind"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","calendar_event_id","contact_id","ask_id","ask_title","one_off_text","status","source","ai_reason","ai_alternates","outcome","outcome_note","outcome_at","has_leave_behind","created_at","updated_at"],"title":"MeetingAskOut"},"MeetingAskSource":{"type":"string","enum":["ai","manual","voice"],"title":"MeetingAskSource"},"MeetingAskStatus":{"type":"string","enum":["suggested","chosen","dismissed"],"title":"MeetingAskStatus"},"MeetingAttendee":{"properties":{"contact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Id"},"display_name":{"type":"string","title":"Display Name"},"email_domain":{"type":"string","title":"Email Domain"},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"},"score_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Label"},"relationship_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Relationship Score"},"last_engagement":{"anyOf":[{"$ref":"#/components/schemas/LastEngagement"},{"type":"null"}]},"open_next_steps_count":{"type":"integer","title":"Open Next Steps Count"}},"type":"object","required":["contact_id","display_name","email_domain","tier","score_label","relationship_score","last_engagement","open_next_steps_count"],"title":"MeetingAttendee"},"MeetingBrief":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"start_at":{"type":"string","format":"date-time","title":"Start At"},"end_at":{"type":"string","format":"date-time","title":"End At"},"all_day":{"type":"boolean","title":"All Day"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"has_conference":{"type":"boolean","title":"Has Conference"},"ended":{"type":"boolean","title":"Ended"},"attendees":{"items":{"$ref":"#/components/schemas/BriefAttendee"},"type":"array","title":"Attendees"}},"type":"object","required":["id","summary","start_at","end_at","all_day","location","has_conference","ended","attendees"],"title":"MeetingBrief"},"MemberAdd":{"properties":{"contact_id":{"type":"string","format":"uuid","title":"Contact Id"},"segment":{"anyOf":[{"type":"string","enum":["maintain","build"]},{"type":"null"}],"title":"Segment"}},"type":"object","required":["contact_id"],"title":"MemberAdd"},"MemberOut":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"contact":{"$ref":"#/components/schemas/ContactResponse"},"segment":{"type":"string","title":"Segment"},"rank":{"type":"integer","title":"Rank"},"reason":{"type":"string","title":"Reason"},"status":{"type":"string","title":"Status"},"distance_mi":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Distance Mi"},"last_touch_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Touch At"},"contacted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Contacted At"}},"type":"object","required":["id","contact","segment","rank","reason","status","distance_mi","last_touch_at","contacted_at"],"title":"MemberOut"},"MemberUpdate":{"properties":{"status":{"type":"string","enum":["proposed","added","contacted","replied","declined","removed"],"title":"Status"}},"type":"object","required":["status"],"title":"MemberUpdate"},"MonthMetric":{"properties":{"month":{"type":"string","title":"Month"},"drafts":{"type":"integer","title":"Drafts"},"median_edit_distance_ratio":{"type":"number","title":"Median Edit Distance Ratio"}},"type":"object","required":["month","drafts","median_edit_distance_ratio"],"title":"MonthMetric"},"NearbyItem":{"properties":{"contact":{"$ref":"#/components/schemas/ContactResponse"},"distance_mi":{"type":"number","title":"Distance Mi"}},"type":"object","required":["contact","distance_mi"],"title":"NearbyItem"},"NearbyPlace":{"properties":{"label":{"type":"string","title":"Label"},"lat":{"type":"number","title":"Lat"},"lng":{"type":"number","title":"Lng"}},"type":"object","required":["label","lat","lng"],"title":"NearbyPlace"},"NearbyResponse":{"properties":{"place":{"$ref":"#/components/schemas/NearbyPlace"},"radius_miles":{"type":"number","title":"Radius Miles"},"items":{"items":{"$ref":"#/components/schemas/NearbyItem"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["place","radius_miles","items","total"],"title":"NearbyResponse"},"NetworkEdge":{"properties":{"id":{"type":"string","title":"Id"},"source":{"type":"string","title":"Source"},"target":{"type":"string","title":"Target"},"kind":{"type":"string","title":"Kind"},"weight":{"type":"number","title":"Weight"},"evidence":{"items":{"$ref":"#/components/schemas/NetworkEvidence"},"type":"array","title":"Evidence"}},"type":"object","required":["id","source","target","kind","weight","evidence"],"title":"NetworkEdge"},"NetworkEvidence":{"properties":{"kind":{"type":"string","title":"Kind"},"count":{"type":"integer","title":"Count"},"weight":{"type":"number","title":"Weight"},"refs":{"items":{"$ref":"#/components/schemas/NetworkRef"},"type":"array","title":"Refs"}},"type":"object","required":["kind","count","weight","refs"],"title":"NetworkEvidence"},"NetworkGraph":{"properties":{"focus":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Focus"},"depth":{"type":"integer","title":"Depth"},"nodes":{"items":{"$ref":"#/components/schemas/NetworkNode"},"type":"array","title":"Nodes"},"edges":{"items":{"$ref":"#/components/schemas/NetworkEdge"},"type":"array","title":"Edges"},"truncated":{"type":"boolean","title":"Truncated"},"total_nodes":{"type":"integer","title":"Total Nodes"}},"type":"object","required":["focus","depth","nodes","edges","truncated","total_nodes"],"title":"NetworkGraph"},"NetworkNode":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","title":"Kind"},"ref_id":{"type":"string","title":"Ref Id"},"label":{"type":"string","title":"Label"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score"},"score_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Label"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"},"depth":{"type":"integer","title":"Depth"}},"type":"object","required":["id","kind","ref_id","label","score","score_label","labels","size","at","depth"],"title":"NetworkNode"},"NetworkRef":{"properties":{"kind":{"type":"string","title":"Kind"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"}},"type":"object","required":["kind","id","label","at"],"title":"NetworkRef"},"NextStepCreate":{"properties":{"description":{"type":"string","maxLength":2000,"minLength":1,"title":"Description"},"contact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Id"},"due_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Due Date"}},"type":"object","required":["description"],"title":"NextStepCreate"},"NextStepListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/NextStepResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"today":{"type":"string","format":"date","title":"Today"}},"type":"object","required":["items","total","today"],"title":"NextStepListResponse"},"NextStepResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"contact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Id"},"contact_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Name"},"description":{"type":"string","title":"Description"},"due_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Due Date"},"status":{"$ref":"#/components/schemas/NextStepStatus"},"source":{"$ref":"#/components/schemas/NextStepSource"},"voice_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Voice Session Id"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"due_bucket":{"type":"string","enum":["overdue","today","upcoming","later","none"],"title":"Due Bucket","default":"none"}},"type":"object","required":["id","contact_id","description","due_date","status","source","voice_session_id","completed_at","created_at","updated_at"],"title":"NextStepResponse"},"NextStepSource":{"type":"string","enum":["manual","voice","suggestion"],"title":"NextStepSource"},"NextStepStatus":{"type":"string","enum":["open","done","dismissed"],"title":"NextStepStatus"},"NextStepUpdate":{"properties":{"description":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Description"},"contact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Id"},"due_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Due Date"},"status":{"anyOf":[{"$ref":"#/components/schemas/NextStepStatus"},{"type":"null"}]}},"type":"object","title":"NextStepUpdate"},"OutcomeIn":{"properties":{"outcome":{"$ref":"#/components/schemas/AskOutcome"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["outcome"],"title":"OutcomeIn"},"OutreachCreate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Name"},"purpose":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Purpose"},"mode":{"anyOf":[{"type":"string","enum":["invite","meet"]},{"type":"null"}],"title":"Mode"},"city":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"City"},"lat":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Lng"},"radius_mi":{"type":"number","title":"Radius Mi","default":50.0},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id"},"resource_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Resource Id"},"maintain_n":{"type":"integer","maximum":50.0,"minimum":0.0,"title":"Maintain N","default":15},"build_n":{"type":"integer","maximum":50.0,"minimum":0.0,"title":"Build N","default":15},"dry_run":{"type":"boolean","title":"Dry Run","default":false},"source_key":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Source Key"},"filters":{"anyOf":[{"$ref":"#/components/schemas/AudienceAttributes"},{"type":"null"}]}},"type":"object","title":"OutreachCreate"},"OutreachDetail":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"mode":{"type":"string","title":"Mode"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"radius_mi":{"type":"number","title":"Radius Mi"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id"},"resource_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Resource Id"},"event_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Title"},"maintain_n":{"type":"integer","title":"Maintain N"},"build_n":{"type":"integer","title":"Build N"},"ranked_by":{"type":"string","title":"Ranked By"},"candidates":{"type":"integer","title":"Candidates"},"no_location":{"type":"integer","title":"No Location"},"counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Counts"},"draft_context":{"type":"string","title":"Draft Context"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"filters":{"anyOf":[{"$ref":"#/components/schemas/AudienceAttributes"},{"type":"null"}]},"dry_run":{"type":"boolean","title":"Dry Run","default":false},"members":{"items":{"$ref":"#/components/schemas/MemberOut"},"type":"array","title":"Members"}},"type":"object","required":["id","name","purpose","mode","city","lat","lng","radius_mi","start_date","end_date","event_id","resource_id","event_title","maintain_n","build_n","ranked_by","candidates","no_location","counts","draft_context","created_at","members"],"title":"OutreachDetail"},"OutreachIndex":{"properties":{"items":{"items":{"$ref":"#/components/schemas/OutreachOut"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"OutreachIndex"},"OutreachMessageResponse":{"properties":{"message":{"type":"string","title":"Message"},"talking_points":{"items":{"type":"string"},"type":"array","title":"Talking Points"}},"type":"object","required":["message","talking_points"],"title":"OutreachMessageResponse"},"OutreachOut":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"mode":{"type":"string","title":"Mode"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"radius_mi":{"type":"number","title":"Radius Mi"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id"},"resource_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Resource Id"},"event_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Title"},"maintain_n":{"type":"integer","title":"Maintain N"},"build_n":{"type":"integer","title":"Build N"},"ranked_by":{"type":"string","title":"Ranked By"},"candidates":{"type":"integer","title":"Candidates"},"no_location":{"type":"integer","title":"No Location"},"counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Counts"},"draft_context":{"type":"string","title":"Draft Context"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"filters":{"anyOf":[{"$ref":"#/components/schemas/AudienceAttributes"},{"type":"null"}]}},"type":"object","required":["id","name","purpose","mode","city","lat","lng","radius_mi","start_date","end_date","event_id","resource_id","event_title","maintain_n","build_n","ranked_by","candidates","no_location","counts","draft_context","created_at"],"title":"OutreachOut"},"OutreachUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"purpose":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Purpose"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}},"type":"object","title":"OutreachUpdate"},"ParagraphBlock":{"properties":{"type":{"type":"string","const":"paragraph","title":"Type"},"text":{"type":"string","maxLength":2000,"title":"Text"}},"additionalProperties":false,"type":"object","required":["type","text"],"title":"ParagraphBlock"},"ProfileResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"full_name":{"type":"string","title":"Full Name"},"email":{"type":"string","title":"Email"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"home_city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Home City"},"timezone":{"type":"string","title":"Timezone"},"working_hours":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Working Hours"},"auto_exclude_noreply":{"type":"boolean","title":"Auto Exclude Noreply","default":true},"noreply_auto_excluded":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Noreply Auto Excluded"}},"type":"object","required":["id","full_name","email","avatar_url","home_city","timezone"],"title":"ProfileResponse"},"ProfileUpdate":{"properties":{"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone"},"working_hours":{"anyOf":[{"$ref":"#/components/schemas/WorkingHoursIn"},{"type":"null"}]},"home_city":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Home City"},"auto_exclude_noreply":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Exclude Noreply"}},"type":"object","title":"ProfileUpdate"},"PublicDoc":{"properties":{"title":{"type":"string","title":"Title"},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtitle"},"image":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Image"},"blocks":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Blocks"},"footer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Footer"}},"type":"object","required":["title","blocks"],"title":"PublicDoc"},"PublicEvent":{"properties":{"title":{"type":"string","title":"Title"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"timezone":{"type":"string","title":"Timezone"},"venue_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue Name"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"}},"type":"object","required":["title","starts_at","ends_at","timezone","venue_name","city","address"],"title":"PublicEvent"},"PublicLeaveBehind":{"properties":{"title":{"type":"string","title":"Title"},"kind":{"$ref":"#/components/schemas/LeaveBehindKind"},"doc":{"anyOf":[{"$ref":"#/components/schemas/PublicDoc"},{"type":"null"}]},"pdf_url":{"type":"string","title":"Pdf Url"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["title","kind","doc","pdf_url","updated_at"],"title":"PublicLeaveBehind"},"PublicRsvp":{"properties":{"event":{"$ref":"#/components/schemas/PublicEvent"},"invitee_first_name":{"type":"string","title":"Invitee First Name"},"rsvp":{"$ref":"#/components/schemas/RsvpStatus"},"rsvp_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rsvp Note"}},"type":"object","required":["event","invitee_first_name","rsvp","rsvp_note"],"title":"PublicRsvp"},"RefreshRequest":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"RefreshRequest"},"RefreshResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"refresh_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"}},"type":"object","required":["access_token"],"title":"RefreshResponse"},"ResourceCreate":{"properties":{"type":{"$ref":"#/components/schemas/ResourceType"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"recurring":{"type":"boolean","title":"Recurring","default":false},"next_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Date"},"metadata_":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["type","name"],"title":"ResourceCreate"},"ResourceResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"type":{"$ref":"#/components/schemas/ResourceType"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"recurring":{"type":"boolean","title":"Recurring"},"next_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Date"},"metadata_":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","type","name","description","city","recurring","next_date","metadata_","created_at","updated_at"],"title":"ResourceResponse"},"ResourceType":{"type":"string","enum":["group_i_run","event_i_attend","city_i_visit","content_i_share","other"],"title":"ResourceType"},"ResourceUpdate":{"properties":{"type":{"anyOf":[{"$ref":"#/components/schemas/ResourceType"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"recurring":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Recurring"},"next_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Date"},"metadata_":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","title":"ResourceUpdate"},"ReviseRequest":{"properties":{"feedback":{"type":"string","maxLength":500,"title":"Feedback","default":""},"propose_times":{"type":"boolean","title":"Propose Times","default":false}},"type":"object","title":"ReviseRequest"},"RevisionOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"n":{"type":"integer","title":"N"},"subject":{"type":"string","title":"Subject"},"body":{"type":"string","title":"Body"},"body_html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Html"},"feedback":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feedback"},"model":{"type":"string","title":"Model"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","n","subject","body","feedback","model","created_at"],"title":"RevisionOut"},"RevokeAllOut":{"properties":{"revoked":{"type":"integer","title":"Revoked"}},"type":"object","required":["revoked"],"title":"RevokeAllOut"},"RsvpStatus":{"type":"string","enum":["yes","no","maybe","none"],"title":"RsvpStatus"},"ScoreHistoryResponse":{"properties":{"snapshots":{"items":{"$ref":"#/components/schemas/ScoreSnapshotItem"},"type":"array","title":"Snapshots"}},"type":"object","required":["snapshots"],"title":"ScoreHistoryResponse"},"ScoreSnapshotItem":{"properties":{"date":{"type":"string","title":"Date"},"score":{"type":"number","title":"Score"},"label":{"type":"string","title":"Label"}},"type":"object","required":["date","score","label"],"title":"ScoreSnapshotItem"},"SendIn":{"properties":{"channel":{"type":"string","enum":["email","sms"],"title":"Channel","default":"email"}},"type":"object","title":"SendIn"},"SendOut":{"properties":{"status":{"type":"string","title":"Status"},"message_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Id"},"dry_run_reasons":{"items":{"type":"string"},"type":"array","title":"Dry Run Reasons","default":[]},"invite":{"$ref":"#/components/schemas/InviteOut"}},"type":"object","required":["status","message_id","invite"],"title":"SendOut"},"SendRequest":{"properties":{"confirm":{"type":"boolean","const":true,"title":"Confirm"},"revision_id":{"type":"string","format":"uuid","title":"Revision Id"}},"type":"object","required":["confirm","revision_id"],"title":"SendRequest"},"SendResult":{"properties":{"status":{"type":"string","enum":["sent","dry_run","already_sent","marked_sent"],"title":"Status"},"draft":{"$ref":"#/components/schemas/DraftOut"}},"type":"object","required":["status","draft"],"title":"SendResult"},"SettingsUpdate":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"import_scope":{"anyOf":[{"type":"string","enum":["affiliated","all"]},{"type":"null"}],"title":"Import Scope"},"mapping":{"anyOf":[{"items":{"$ref":"#/components/schemas/MappingEntry"},"type":"array"},{"type":"null"}],"title":"Mapping"}},"type":"object","title":"SettingsUpdate"},"SmsPreview":{"properties":{"to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To"},"text":{"type":"string","title":"Text"},"segments":{"type":"integer","title":"Segments"},"encoding":{"type":"string","title":"Encoding"},"units":{"type":"integer","title":"Units"}},"type":"object","required":["to","text","segments","encoding","units"],"title":"SmsPreview"},"StyleMetrics":{"properties":{"months":{"items":{"$ref":"#/components/schemas/MonthMetric"},"type":"array","title":"Months"},"corrections_count":{"type":"integer","title":"Corrections Count"}},"type":"object","required":["months","corrections_count"],"title":"StyleMetrics"},"StyleProfileResponse":{"properties":{"status":{"type":"string","title":"Status"},"guide":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guide"},"guide_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Guide Json"},"built_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Built At"},"built_from_count":{"type":"integer","title":"Built From Count"},"corrections_count":{"type":"integer","title":"Corrections Count"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"exemplar_count":{"type":"integer","title":"Exemplar Count"},"min_exemplars":{"type":"integer","title":"Min Exemplars"}},"type":"object","required":["status","guide","guide_json","built_at","built_from_count","corrections_count","model","exemplar_count","min_exemplars"],"title":"StyleProfileResponse"},"SuggestIn":{"properties":{"contact_id":{"type":"string","format":"uuid","title":"Contact Id"},"force":{"type":"boolean","title":"Force","default":false}},"additionalProperties":false,"type":"object","required":["contact_id"],"title":"SuggestIn"},"SuggestionListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SuggestionResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"SuggestionListResponse"},"SuggestionResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"contact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contact Id"},"group_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Group Id"},"type":{"$ref":"#/components/schemas/SuggestionType"},"title":{"type":"string","title":"Title"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"priority":{"type":"integer","title":"Priority"},"is_dismissed":{"type":"boolean","title":"Is Dismissed"},"is_acted_on":{"type":"boolean","title":"Is Acted On"},"acted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acted At"},"acted_by":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Acted By"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","contact_id","group_id","type","title","body","priority","is_dismissed","is_acted_on","acted_at","acted_by","expires_at","created_at"],"title":"SuggestionResponse"},"SuggestionType":{"type":"string","enum":["reach_out_cold","travel_nearby","event_invite","host_event","provide_value","ask_question","follow_up","meet_in_person"],"title":"SuggestionType"},"TagCount":{"properties":{"tag":{"type":"string","title":"Tag"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["tag","count"],"title":"TagCount"},"TagList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TagCount"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"TagList"},"TalkingPointsResponse":{"properties":{"talking_points":{"items":{"type":"string"},"type":"array","title":"Talking Points"}},"type":"object","required":["talking_points"],"title":"TalkingPointsResponse"},"Tally":{"properties":{"yes":{"type":"integer","title":"Yes","default":0},"no":{"type":"integer","title":"No","default":0},"maybe":{"type":"integer","title":"Maybe","default":0},"none":{"type":"integer","title":"None","default":0},"invited":{"type":"integer","title":"Invited","default":0}},"type":"object","title":"Tally"},"TripList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TripOut"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"TripList"},"TripOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"source":{"type":"string","title":"Source"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"nearby_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nearby Count"}},"type":"object","required":["id","city","start_date","end_date","source","confidence","lat","lng","nearby_count"],"title":"TripOut"},"UpcomingMeeting":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"start_at":{"type":"string","format":"date-time","title":"Start At"},"end_at":{"type":"string","format":"date-time","title":"End At"},"all_day":{"type":"boolean","title":"All Day"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"has_conference":{"type":"boolean","title":"Has Conference"},"attendees":{"items":{"$ref":"#/components/schemas/MeetingAttendee"},"type":"array","title":"Attendees"},"ask_chosen":{"type":"boolean","title":"Ask Chosen"}},"type":"object","required":["id","summary","start_at","end_at","all_day","location","has_conference","attendees","ask_chosen"],"title":"UpcomingMeeting"},"UpcomingResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UpcomingMeeting"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"UpcomingResponse"},"V1Contact":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"job_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Title"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"country":{"type":"string","title":"Country"},"linkedin_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin Url"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"interests":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Interests"},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry"},"company_size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Size"},"seniority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seniority"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","default":[]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"relationship_score":{"type":"number","title":"Relationship Score"},"score_label":{"type":"string","title":"Score Label"},"tier":{"type":"string","title":"Tier"},"last_engagement_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Engagement At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","first_name","last_name","email","phone","company","job_title","city","state","country","linkedin_url","avatar_url","interests","notes","relationship_score","score_label","tier","last_engagement_at","created_at","updated_at"],"title":"V1Contact"},"V1Engagement":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"contact_id":{"type":"string","format":"uuid","title":"Contact Id"},"type":{"$ref":"#/components/schemas/EngagementType"},"source":{"$ref":"#/components/schemas/EngagementSource"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"points_awarded":{"type":"number","title":"Points Awarded"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","contact_id","type","source","title","description","points_awarded","occurred_at","duration_minutes","location","created_at"],"title":"V1Engagement"},"V1Error":{"properties":{"error":{"$ref":"#/components/schemas/V1ErrorBody"}},"type":"object","required":["error"],"title":"V1Error","description":"Every non-2xx ``/v1`` response."},"V1ErrorBody":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"},"request_id":{"type":"string","title":"Request Id"},"details":{"anyOf":[{"items":{},"type":"array"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details"}},"type":"object","required":["code","message","request_id"],"title":"V1ErrorBody"},"V1Event":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"kind":{"$ref":"#/components/schemas/EventKind"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"timezone":{"type":"string","title":"Timezone"},"venue_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lng":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lng"},"place_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Place Id"},"capacity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Capacity"},"audience":{"$ref":"#/components/schemas/EventAudience"},"status":{"$ref":"#/components/schemas/EventStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","kind","title","description","starts_at","ends_at","timezone","venue_name","address","city","region","country","lat","lng","place_id","capacity","audience","status","created_at","updated_at"],"title":"V1Event","description":"A hosted or attended event."},"V1Me":{"properties":{"user_id":{"type":"string","title":"User Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"key_prefix":{"type":"string","title":"Key Prefix"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"}},"type":"object","required":["user_id","email","key_prefix","scopes"],"title":"V1Me"},"V1Page_V1Contact_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/V1Contact"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Opaque cursor: pass as ?cursor= for the next page; null on the last."}},"type":"object","required":["items"],"title":"V1Page[V1Contact]"},"V1Page_V1Engagement_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/V1Engagement"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Opaque cursor: pass as ?cursor= for the next page; null on the last."}},"type":"object","required":["items"],"title":"V1Page[V1Engagement]"},"V1Page_V1Event_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/V1Event"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Opaque cursor: pass as ?cursor= for the next page; null on the last."}},"type":"object","required":["items"],"title":"V1Page[V1Event]"},"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"},"VoiceApplyItem":{"properties":{"proposal_id":{"type":"string","maxLength":64,"title":"Proposal Id"},"action":{"type":"string","enum":["accept","edit","reject"],"title":"Action"},"payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload"}},"type":"object","required":["proposal_id","action"],"title":"VoiceApplyItem"},"VoiceApplyRequest":{"properties":{"items":{"items":{"$ref":"#/components/schemas/VoiceApplyItem"},"type":"array","maxItems":500,"title":"Items"}},"type":"object","required":["items"],"title":"VoiceApplyRequest"},"VoiceApplyResult":{"properties":{"contacts_created":{"type":"integer","title":"Contacts Created"},"engagements":{"type":"integer","title":"Engagements"},"next_steps":{"type":"integer","title":"Next Steps"},"contact_updates":{"type":"integer","title":"Contact Updates"},"location_observations":{"type":"integer","title":"Location Observations","default":0},"ask_outcomes":{"type":"integer","title":"Ask Outcomes","default":0},"trips_created":{"type":"integer","title":"Trips Created","default":0},"trips_updated":{"type":"integer","title":"Trips Updated","default":0},"events_created":{"type":"integer","title":"Events Created","default":0},"created_event_ids":{"items":{"type":"string"},"type":"array","title":"Created Event Ids","default":[]},"outreach_lists_created":{"type":"integer","title":"Outreach Lists Created","default":0},"created_outreach_list_ids":{"items":{"type":"string"},"type":"array","title":"Created Outreach List Ids","default":[]},"meeting_notes_merged":{"type":"integer","title":"Meeting Notes Merged","default":0},"contact_links":{"type":"integer","title":"Contact Links","default":0},"contact_link_ids":{"items":{"type":"string"},"type":"array","title":"Contact Link Ids","default":[]},"accepted":{"type":"integer","title":"Accepted"},"rejected":{"type":"integer","title":"Rejected"},"created_contact_ids":{"items":{"type":"string"},"type":"array","title":"Created Contact Ids"},"applied_at":{"type":"string","title":"Applied At"}},"type":"object","required":["contacts_created","engagements","next_steps","contact_updates","accepted","rejected","created_contact_ids","applied_at"],"title":"VoiceApplyResult"},"VoiceSessionCreate":{"properties":{"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id"}},"type":"object","title":"VoiceSessionCreate"},"VoiceSessionCreated":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"ticket":{"type":"string","title":"Ticket"},"ws_url":{"type":"string","title":"Ws Url"},"subprotocols":{"items":{"type":"string"},"type":"array","title":"Subprotocols"},"max_seconds":{"type":"integer","title":"Max Seconds"},"expires_in":{"type":"integer","title":"Expires In"}},"type":"object","required":["id","ticket","ws_url","subprotocols","max_seconds","expires_in"],"title":"VoiceSessionCreated"},"VoiceSessionDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"$ref":"#/components/schemas/VoiceSessionStatus"},"calendar_event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Calendar Event Id"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"duration_seconds":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duration Seconds"},"model":{"type":"string","title":"Model"},"live_location":{"type":"string","title":"Live Location"},"transcript":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Transcript"},"proposals":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Proposals"},"audio_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audio Uri"},"usage":{"additionalProperties":true,"type":"object","title":"Usage"},"est_cost_usd":{"type":"string","title":"Est Cost Usd"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","status","started_at","ended_at","duration_seconds","model","live_location","transcript","proposals","audio_uri","usage","est_cost_usd","error","created_at","updated_at"],"title":"VoiceSessionDetail"},"VoiceSessionListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/VoiceSessionDetail"},"type":"array","title":"Items"},"mtd_cost_usd":{"type":"string","title":"Mtd Cost Usd"},"budget_usd":{"type":"number","title":"Budget Usd"}},"type":"object","required":["items","mtd_cost_usd","budget_usd"],"title":"VoiceSessionListResponse"},"VoiceSessionStatus":{"type":"string","enum":["active","ended","processing","review","applied","failed"],"title":"VoiceSessionStatus"},"WeekBucket":{"properties":{"week_start":{"type":"string","format":"date","title":"Week Start"},"contacts":{"type":"integer","title":"Contacts"}},"type":"object","required":["week_start","contacts"],"title":"WeekBucket"},"WorkingHoursIn":{"properties":{"days":{"items":{"type":"integer"},"type":"array","maxItems":7,"minItems":1,"title":"Days"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","title":"Start"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","title":"End"}},"type":"object","required":["days","start","end"],"title":"WorkingHoursIn"}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key"}}}}