{"openapi":"3.1.0","info":{"title":"Cortiva API Phase2","version":"0.3.1"},"paths":{"/api/ai/chat":{"post":{"tags":["ai"],"summary":"Chat Completion","operationId":"chat_completion_api_ai_chat_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/usage/daily":{"get":{"tags":["ai"],"summary":"Get Daily Openai Usage","operationId":"get_daily_openai_usage_api_ai_usage_daily_get","parameters":[{"name":"day","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Day"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/usage/overview":{"get":{"tags":["ai"],"summary":"Get Daily Openai Usage Overview","operationId":"get_daily_openai_usage_overview_api_ai_usage_overview_get","parameters":[{"name":"day","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Day"}},{"name":"user_scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Scope"}},{"name":"include_all_users","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include All Users"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/proposals/generate":{"post":{"tags":["ai"],"summary":"Generate Proposal","description":"Generate a proposal draft JSON using LLM.\n\nPayload shape (best-effort): {company, client, brief, services, items, currency}\nReturns the model JSON or a stub when key missing.","operationId":"generate_proposal_api_ai_proposals_generate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/upsell":{"post":{"tags":["ai"],"summary":"Ai Upsell","operationId":"ai_upsell_api_ai_upsell_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/business-intel":{"post":{"tags":["ai"],"summary":"Ai Business Intel","operationId":"ai_business_intel_api_ai_business_intel_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/research":{"post":{"tags":["research"],"summary":"Start Research","operationId":"start_research_api_ai_research_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchStartReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["research"],"summary":"Query Research","operationId":"query_research_api_ai_research_get","parameters":[{"name":"id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"}},{"name":"latest","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latest"}},{"name":"list","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"List"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/research/{jid}":{"get":{"tags":["research"],"summary":"Get Research","operationId":"get_research_api_ai_research__jid__get","parameters":[{"name":"jid","in":"path","required":true,"schema":{"type":"string","title":"Jid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/research/latest":{"get":{"tags":["research"],"summary":"Latest Research","operationId":"latest_research_api_ai_research_latest_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/research/list-all":{"get":{"tags":["research"],"summary":"List Research All","operationId":"list_research_all_api_ai_research_list_all_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/raya/parse":{"post":{"tags":["raya"],"summary":"Parse Nlu","operationId":"parse_nlu_api_raya_parse_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ParseReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/raya/suggestions":{"post":{"tags":["raya"],"summary":"Suggestions","operationId":"suggestions_api_raya_suggestions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_SuggestionsReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["raya-events"],"summary":"List Suggestions","operationId":"list_suggestions_api_raya_suggestions_get","parameters":[{"name":"projectId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Projectid"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/raya/action":{"post":{"tags":["raya"],"summary":"Action","operationId":"action_api_raya_action_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/raya/events":{"post":{"tags":["raya-events"],"summary":"Ingest Event","operationId":"ingest_event_api_raya_events_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/raya/events/stream":{"get":{"tags":["raya-events"],"summary":"Stream Events","operationId":"stream_events_api_raya_events_stream_get","parameters":[{"name":"types","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Types"}},{"name":"pollMs","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":500,"default":2000,"title":"Pollms"}},{"name":"lookbackSec","in":"query","required":false,"schema":{"type":"integer","maximum":3600,"minimum":0,"default":300,"title":"Lookbacksec"}},{"name":"once","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Once"}},{"name":"sinceTs","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Sincets"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/raya/suggestions/{suggestion_id}/act":{"post":{"tags":["raya-events"],"summary":"Act On Suggestion","operationId":"act_on_suggestion_api_raya_suggestions__suggestion_id__act_post","parameters":[{"name":"suggestion_id","in":"path","required":true,"schema":{"type":"string","title":"Suggestion Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ActReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/raya/suggestions/{suggestion_id}/revert":{"post":{"tags":["raya-events"],"summary":"Revert Suggestion","operationId":"revert_suggestion_api_raya_suggestions__suggestion_id__revert_post","parameters":[{"name":"suggestion_id","in":"path","required":true,"schema":{"type":"string","title":"Suggestion Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/raya/settings":{"get":{"tags":["raya-events"],"summary":"Get Settings","operationId":"get_settings_api_raya_settings_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["raya-events"],"summary":"Save Settings","operationId":"save_settings_api_raya_settings_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/raya/next-up":{"get":{"tags":["raya-events"],"summary":"List Next Up","operationId":"list_next_up_api_raya_next_up_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/geo/normalize":{"get":{"tags":["geo"],"summary":"Geo Normalize","operationId":"geo_normalize_api_geo_normalize_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","title":"Q"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/geo/route":{"get":{"tags":["geo"],"summary":"Geo Route","operationId":"geo_route_api_geo_route_get","parameters":[{"name":"origin","in":"query","required":true,"schema":{"type":"string","title":"Origin"}},{"name":"destination","in":"query","required":true,"schema":{"type":"string","title":"Destination"}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","default":"driving","title":"Mode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel/eta":{"post":{"tags":["travel"],"summary":"Travel Eta","operationId":"travel_eta_api_v1_travel_eta_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EtaRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel/eta/matrix":{"post":{"tags":["travel"],"summary":"Travel Eta Matrix","operationId":"travel_eta_matrix_api_v1_travel_eta_matrix_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatrixRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel/{trip_id}/retime-preview":{"post":{"tags":["travel"],"summary":"Preview Trip Timing","operationId":"preview_trip_timing_api_v1_travel__trip_id__retime_preview_post","parameters":[{"name":"trip_id","in":"path","required":true,"schema":{"type":"string","title":"Trip Id"}},{"name":"recover","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Recover"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/travel/{trip_id}/retime-confirm":{"post":{"tags":["travel"],"summary":"Confirm Trip Timing","operationId":"confirm_trip_timing_api_v1_travel__trip_id__retime_confirm_post","parameters":[{"name":"trip_id","in":"path","required":true,"schema":{"type":"string","title":"Trip Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripTimingConfirmation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/travel/eta":{"post":{"tags":["travel"],"summary":"Travel Eta","operationId":"travel_eta_api_travel_eta_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EtaRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/travel/eta/matrix":{"post":{"tags":["travel"],"summary":"Travel Eta Matrix","operationId":"travel_eta_matrix_api_travel_eta_matrix_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatrixRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/travel/{trip_id}/retime-preview":{"post":{"tags":["travel"],"summary":"Preview Trip Timing","operationId":"preview_trip_timing_api_travel__trip_id__retime_preview_post","parameters":[{"name":"trip_id","in":"path","required":true,"schema":{"type":"string","title":"Trip Id"}},{"name":"recover","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Recover"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/travel/{trip_id}/retime-confirm":{"post":{"tags":["travel"],"summary":"Confirm Trip Timing","operationId":"confirm_trip_timing_api_travel__trip_id__retime_confirm_post","parameters":[{"name":"trip_id","in":"path","required":true,"schema":{"type":"string","title":"Trip Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TripTimingConfirmation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/travel/directions":{"get":{"tags":["travel-actions"],"summary":"Travel Directions","operationId":"travel_directions_api_travel_directions_get","parameters":[{"name":"eventId","in":"query","required":true,"schema":{"type":"string","title":"Eventid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Travel Directions Api Travel Directions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/places/geocode":{"post":{"tags":["places"],"summary":"Geocode","operationId":"geocode_api_places_geocode_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeocodeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/places/geocode":{"post":{"tags":["places"],"summary":"Geocode","operationId":"geocode_api_v1_places_geocode_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeocodeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/places/autocomplete":{"post":{"tags":["places"],"summary":"Autocomplete","operationId":"autocomplete_api_places_autocomplete_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeocodeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/places/autocomplete":{"post":{"tags":["places"],"summary":"Autocomplete","operationId":"autocomplete_api_v1_places_autocomplete_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeocodeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/flights/status":{"get":{"tags":["flights"],"summary":"Flight Status","operationId":"flight_status_api_v1_flights_status_get","parameters":[{"name":"carrier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Carrier"}},{"name":"flightNumber","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flightnumber"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"}},{"name":"flight","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flight"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/flights/attach":{"post":{"tags":["flights"],"summary":"Attach Flight","operationId":"attach_flight_api_v1_flights_attach_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlightAttachRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/flights/refresh":{"post":{"tags":["flights"],"summary":"Refresh Flight","operationId":"refresh_flight_api_v1_flights_refresh_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlightRefreshRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/flights/sandbox/status-change":{"post":{"tags":["flights"],"summary":"Sandbox Flight Status Change","operationId":"sandbox_flight_status_change_api_v1_flights_sandbox_status_change_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlightSandboxStatusChangeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/flights/status":{"get":{"tags":["flights"],"summary":"Flight Status Legacy","operationId":"flight_status_legacy_api_flights_status_get","parameters":[{"name":"flight","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flight"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/flights/attach":{"post":{"tags":["flights"],"summary":"Attach Flight Legacy","operationId":"attach_flight_legacy_api_flights_attach_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlightAttachRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/flights/refresh":{"post":{"tags":["flights"],"summary":"Refresh Flight Legacy","operationId":"refresh_flight_legacy_api_flights_refresh_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlightRefreshRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/flights/sandbox/status-change":{"post":{"tags":["flights"],"summary":"Sandbox Flight Status Change Legacy","operationId":"sandbox_flight_status_change_legacy_api_flights_sandbox_status_change_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlightSandboxStatusChangeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations":{"get":{"tags":["integrations"],"summary":"List Integrations","operationId":"list_integrations_api_integrations_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps":{"get":{"tags":["integrations"],"summary":"List App Integrations","operationId":"list_app_integrations_api_integrations_apps_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/{provider}/connect":{"post":{"tags":["integrations"],"summary":"Connect App Provider","operationId":"connect_app_provider_api_integrations_apps__provider__connect_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/notion/connect/start":{"post":{"tags":["integrations"],"summary":"Connect Notion Start","operationId":"connect_notion_start_api_integrations_apps_notion_connect_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/notion/connect/finalize":{"post":{"tags":["integrations"],"summary":"Connect Notion Finalize","operationId":"connect_notion_finalize_api_integrations_apps_notion_connect_finalize_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthFinalizeReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/monday/connect/start":{"post":{"tags":["integrations"],"summary":"Connect Monday Start","operationId":"connect_monday_start_api_integrations_apps_monday_connect_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/monday/connect/finalize":{"post":{"tags":["integrations"],"summary":"Connect Monday Finalize","operationId":"connect_monday_finalize_api_integrations_apps_monday_connect_finalize_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthFinalizeReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/microsoft/connect/start":{"post":{"tags":["integrations"],"summary":"Connect Microsoft Start","operationId":"connect_microsoft_start_api_integrations_apps_microsoft_connect_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/microsoft/connect/finalize":{"post":{"tags":["integrations"],"summary":"Connect Microsoft Finalize","operationId":"connect_microsoft_finalize_api_integrations_apps_microsoft_connect_finalize_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthFinalizeReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/tesla/connect/start":{"post":{"tags":["integrations"],"summary":"Connect Tesla Start","operationId":"connect_tesla_start_api_integrations_apps_tesla_connect_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/tesla/connect/finalize":{"post":{"tags":["integrations"],"summary":"Connect Tesla Finalize","operationId":"connect_tesla_finalize_api_integrations_apps_tesla_connect_finalize_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthFinalizeReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/tesla/callback":{"get":{"tags":["integrations"],"summary":"Tesla Callback","operationId":"tesla_callback_api_integrations_apps_tesla_callback_get","parameters":[{"name":"code","in":"query","required":true,"schema":{"type":"string","title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/home_assistant/connect":{"post":{"tags":["integrations"],"summary":"Connect Home Assistant","operationId":"connect_home_assistant_api_integrations_apps_home_assistant_connect_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeAssistantConnectReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/home_assistant/rules":{"post":{"tags":["integrations"],"summary":"Update Home Assistant Rules","operationId":"update_home_assistant_rules_api_integrations_apps_home_assistant_rules_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeAssistantRulesReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/home_assistant/trigger":{"post":{"tags":["integrations"],"summary":"Trigger Home Assistant Rule","operationId":"trigger_home_assistant_rule_api_integrations_apps_home_assistant_trigger_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeAssistantTriggerReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/home_assistant/automation/schedule":{"post":{"tags":["integrations"],"summary":"Schedule Home Assistant Rule Automation","operationId":"schedule_home_assistant_rule_automation_api_integrations_apps_home_assistant_automation_schedule_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeAssistantAutomationScheduleReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/home_assistant/automation/cancel":{"post":{"tags":["integrations"],"summary":"Cancel Home Assistant Rule Automation","operationId":"cancel_home_assistant_rule_automation_api_integrations_apps_home_assistant_automation_cancel_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeAssistantAutomationCancelReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/tesla/navigation":{"post":{"tags":["integrations"],"summary":"Tesla Navigation","operationId":"tesla_navigation_api_integrations_apps_tesla_navigation_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeslaNavigationReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/tesla/prep-schedule":{"post":{"tags":["integrations"],"summary":"Tesla Prep Schedule","description":"Register a calendar-driven vehicle prep intent.\n\nAccepts the event details and desired prep parameters. Stores the scheduled\nprep info in integration meta so backend jobs can execute the actual Tesla\naction later.","operationId":"tesla_prep_schedule_api_integrations_apps_tesla_prep_schedule_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeslaPrepScheduleReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/tesla/precondition":{"post":{"tags":["integrations"],"summary":"Tesla Precondition","operationId":"tesla_precondition_api_integrations_apps_tesla_precondition_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeslaPreconditionReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/{provider}/disconnect":{"post":{"tags":["integrations"],"summary":"Disconnect App","operationId":"disconnect_app_api_integrations_apps__provider__disconnect_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/{provider}/sync":{"post":{"tags":["integrations"],"summary":"Sync App Provider","operationId":"sync_app_provider_api_integrations_apps__provider__sync_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apps/{provider}/visibility":{"post":{"tags":["integrations"],"summary":"Set App Visibility Scope","operationId":"set_app_visibility_scope_api_integrations_apps__provider__visibility_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisibilityScopeReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/hooks/{provider}/{token}":{"get":{"tags":["integrations"],"summary":"Integration Webhook Get","operationId":"integration_webhook_get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["integrations"],"summary":"Integration Webhook Post","operationId":"integration_webhook_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/google-calendar/connect":{"post":{"tags":["integrations"],"summary":"Connect Google Calendar","operationId":"connect_google_calendar_api_integrations_google_calendar_connect_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/google-calendar/auth-url":{"get":{"tags":["integrations"],"summary":"Google Calendar Auth Url","operationId":"google_calendar_auth_url_api_integrations_google_calendar_auth_url_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/google-calendar/callback":{"get":{"tags":["integrations"],"summary":"Google Calendar Callback","operationId":"google_calendar_callback_api_integrations_google_calendar_callback_get","parameters":[{"name":"code","in":"query","required":true,"schema":{"type":"string","title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/google-calendar/disconnect":{"post":{"tags":["integrations"],"summary":"Disconnect Google Calendar","operationId":"disconnect_google_calendar_api_integrations_google_calendar_disconnect_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/google-calendar/sync":{"post":{"tags":["integrations"],"summary":"Sync Google Calendar","operationId":"sync_google_calendar_api_integrations_google_calendar_sync_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/calendars":{"get":{"tags":["integrations"],"summary":"List Calendar Integrations","operationId":"list_calendar_integrations_api_integrations_calendars_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/google/status":{"get":{"tags":["integrations"],"summary":"Google Status","operationId":"google_status_api_integrations_google_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/google/connect/start":{"post":{"tags":["integrations"],"summary":"Google Connect Start","operationId":"google_connect_start_api_integrations_google_connect_start_post","parameters":[{"name":"gmail","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Gmail"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/google/connect/finalize":{"post":{"tags":["integrations"],"summary":"Google Connect Finalize","operationId":"google_connect_finalize_api_integrations_google_connect_finalize_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleFinalizeReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apple_local/import":{"post":{"tags":["integrations"],"summary":"Import Device Calendar","operationId":"import_device_calendar_api_integrations_apple_local_import_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceCalendarImport"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/apple_local/enable":{"post":{"tags":["integrations"],"summary":"Apple Local Enable","operationId":"apple_local_enable_api_integrations_apple_local_enable_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleLocalReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/icloud/connect":{"post":{"tags":["integrations"],"summary":"Icloud Connect","operationId":"icloud_connect_api_integrations_icloud_connect_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IcloudConnectReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/conflicts":{"get":{"tags":["integrations"],"summary":"List Conflicts","operationId":"list_conflicts_api_integrations_conflicts_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/conflicts/{conflict_id}/resolve":{"post":{"tags":["integrations"],"summary":"Resolve Conflict","operationId":"resolve_conflict_api_integrations_conflicts__conflict_id__resolve_post","parameters":[{"name":"conflict_id","in":"path","required":true,"schema":{"type":"string","title":"Conflict Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/{provider}/calendars":{"get":{"tags":["integrations"],"summary":"List Provider Calendars","operationId":"list_provider_calendars_api_integrations__provider__calendars_get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/{provider}/calendars/select":{"post":{"tags":["integrations"],"summary":"Select Provider Calendars","operationId":"select_provider_calendars_api_integrations__provider__calendars_select_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarSelectReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/{provider}/sync":{"post":{"tags":["integrations"],"summary":"Sync Provider","operationId":"sync_provider_api_integrations__provider__sync_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/{provider}/disconnect":{"post":{"tags":["integrations"],"summary":"Disconnect Provider","operationId":"disconnect_provider_api_integrations__provider__disconnect_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/biometrics/integrations":{"get":{"tags":["biometrics"],"summary":"List Biometrics Integrations","operationId":"list_biometrics_integrations_api_biometrics_integrations_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/biometrics/oura/connect/start":{"post":{"tags":["biometrics"],"summary":"Oura Connect Start","operationId":"oura_connect_start_api_biometrics_oura_connect_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/biometrics/oura/connect/finalize":{"post":{"tags":["biometrics"],"summary":"Oura Connect Finalize","operationId":"oura_connect_finalize_api_biometrics_oura_connect_finalize_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OuraFinalizeReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/biometrics/oura/disconnect":{"post":{"tags":["biometrics"],"summary":"Oura Disconnect","operationId":"oura_disconnect_api_biometrics_oura_disconnect_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/biometrics/sync":{"post":{"tags":["biometrics"],"summary":"Biometrics Sync","operationId":"biometrics_sync_api_biometrics_sync_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BiometricsSyncReq"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/biometrics/daily":{"get":{"tags":["biometrics"],"summary":"Biometrics Daily","operationId":"biometrics_daily_api_biometrics_daily_get","parameters":[{"name":"from","in":"query","required":true,"schema":{"type":"string","title":"From"}},{"name":"to","in":"query","required":true,"schema":{"type":"string","title":"To"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/biometrics/upload/daily":{"post":{"tags":["biometrics"],"summary":"Upload Biometrics Daily","operationId":"upload_biometrics_daily_api_biometrics_upload_daily_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadDailyReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/biometrics/sandbox/clear":{"post":{"tags":["biometrics"],"summary":"Sandbox Clear Biometrics","operationId":"sandbox_clear_biometrics_api_biometrics_sandbox_clear_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/biometrics/burnout-risk":{"post":{"tags":["biometrics"],"summary":"Burnout Risk","description":"Compute burnout risk score, recovery suggestions, and predictive forecast.","operationId":"burnout_risk_api_v1_biometrics_burnout_risk_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BurnoutRiskRequest"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/calendar/status":{"get":{"tags":["calendar-integrations"],"summary":"Calendar Status","operationId":"calendar_status_api_integrations_calendar_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarSyncStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/calendar/google/connect":{"get":{"tags":["calendar-integrations"],"summary":"Google Connect","operationId":"google_connect_api_integrations_calendar_google_connect_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Google Connect Api Integrations Calendar Google Connect Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/calendar/google/callback":{"get":{"tags":["calendar-integrations"],"summary":"Google Callback","operationId":"google_callback_api_integrations_calendar_google_callback_get","parameters":[{"name":"code","in":"query","required":true,"schema":{"type":"string","title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/integrations/calendar/sync":{"post":{"tags":["calendar-integrations"],"summary":"Trigger Sync","operationId":"trigger_sync_api_integrations_calendar_sync_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Trigger Sync Api Integrations Calendar Sync Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/meet/join":{"get":{"tags":["meet-actions"],"summary":"Join Meeting","operationId":"join_meeting_api_meet_join_get","parameters":[{"name":"eventId","in":"query","required":true,"schema":{"type":"string","title":"Eventid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/meet/late":{"post":{"tags":["meet-actions"],"summary":"Mark Late","operationId":"mark_late_api_meet_late_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Mark Late Api Meet Late Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/policy":{"get":{"tags":["policy"],"summary":"Get Policy","operationId":"get_policy_api_policy_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["policy"],"summary":"Save Policy","operationId":"save_policy_api_policy_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/events":{"get":{"tags":["events"],"summary":"List Events","operationId":"list_events_api_events_get","parameters":[{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start"}},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["events"],"summary":"Create Event","operationId":"create_event_api_events_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/events/series/{series_id}":{"patch":{"tags":["events"],"summary":"Patch Event Series","operationId":"patch_event_series_api_events_series__series_id__patch","parameters":[{"name":"series_id","in":"path","required":true,"schema":{"type":"string","title":"Series Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["events"],"summary":"Delete Event Series","operationId":"delete_event_series_api_events_series__series_id__delete","parameters":[{"name":"series_id","in":"path","required":true,"schema":{"type":"string","title":"Series Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/events/{event_id}":{"patch":{"tags":["events"],"summary":"Patch Event","operationId":"patch_event_api_events__event_id__patch","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["events"],"summary":"Delete Event","operationId":"delete_event_api_events__event_id__delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"if-match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/capture/gmail/status":{"get":{"tags":["email-capture"],"summary":"Gmail Capture Status","operationId":"gmail_capture_status_api_mobile_capture_gmail_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/capture/gmail/settings":{"put":{"tags":["email-capture"],"summary":"Gmail Capture Settings","operationId":"gmail_capture_settings_api_mobile_capture_gmail_settings_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GmailCaptureSetting"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/capture/text-reviews":{"get":{"tags":["email-capture"],"summary":"Text Reviews","operationId":"text_reviews_api_mobile_capture_text_reviews_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/capture/text-reviews/{capture_id}/decision":{"post":{"tags":["email-capture"],"summary":"Text Review Decision","operationId":"text_review_decision_api_mobile_capture_text_reviews__capture_id__decision_post","parameters":[{"name":"capture_id","in":"path","required":true,"schema":{"type":"string","title":"Capture Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextReviewDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/capture/gmail/sync":{"post":{"tags":["email-capture"],"summary":"Gmail Capture Sync","operationId":"gmail_capture_sync_api_mobile_capture_gmail_sync_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/capture/email-update-options":{"get":{"tags":["email-capture"],"summary":"Email Update Options","operationId":"email_update_options_api_mobile_capture_email_update_options_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/capture/email-update-binding/{event_id}":{"delete":{"tags":["email-capture"],"summary":"Revoke Email Updates","operationId":"revoke_email_updates_api_mobile_capture_email_update_binding__event_id__delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["email-capture"],"summary":"Bind Email Updates","operationId":"bind_email_updates_api_mobile_capture_email_update_binding__event_id__put","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailUpdateBindingPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/capture/email-forwarding-address":{"get":{"tags":["email-capture"],"summary":"Get Email Forwarding Address","operationId":"get_email_forwarding_address_api_mobile_capture_email_forwarding_address_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/capture/email/inbound/{local_part}":{"post":{"tags":["email-capture"],"summary":"Receive Forwarded Email Capture","operationId":"receive_forwarded_email_capture_api_capture_email_inbound__local_part__post","parameters":[{"name":"local_part","in":"path","required":true,"schema":{"type":"string","title":"Local Part"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailCaptureInboundPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/capture/email-inbox":{"get":{"tags":["email-capture"],"summary":"List Email Capture Inbox","operationId":"list_email_capture_inbox_api_mobile_capture_email_inbox_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/capture/email-inbox/{capture_id}":{"patch":{"tags":["email-capture"],"summary":"Update Email Capture Status","operationId":"update_email_capture_status_api_mobile_capture_email_inbox__capture_id__patch","parameters":[{"name":"capture_id","in":"path","required":true,"schema":{"type":"string","title":"Capture Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailCaptureStatusPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shares/invite-link":{"post":{"tags":["shares"],"summary":"Create Invite Link","operationId":"create_invite_link_api_shares_invite_link_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteLinkCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shares/invite-links":{"get":{"tags":["shares"],"summary":"List Invite Links","operationId":"list_invite_links_api_shares_invite_links_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shares/invite-link/{link_id}/revoke":{"post":{"tags":["shares"],"summary":"Revoke Invite Link","operationId":"revoke_invite_link_api_shares_invite_link__link_id__revoke_post","parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shares/accept":{"post":{"tags":["shares"],"summary":"Accept Invite Link","operationId":"accept_invite_link_api_shares_accept_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteAccept"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shares/viewers":{"get":{"tags":["shares"],"summary":"List Viewers","operationId":"list_viewers_api_shares_viewers_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shares/bundle":{"post":{"tags":["shares"],"summary":"Share Bundle","operationId":"share_bundle_api_shares_bundle_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BundleShareCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shares/grants/{grant_id}":{"patch":{"tags":["shares"],"summary":"Update Grant","operationId":"update_grant_api_shares_grants__grant_id__patch","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shares/grants/{grant_id}/revoke":{"post":{"tags":["shares"],"summary":"Revoke Grant","operationId":"revoke_grant_api_shares_grants__grant_id__revoke_post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shared-with-me":{"get":{"tags":["shares"],"summary":"Shared With Me","operationId":"shared_with_me_api_shared_with_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/circle/search":{"get":{"tags":["shares"],"summary":"Search Circle People","operationId":"search_circle_people_api_v1_circle_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","title":"Q"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/search":{"get":{"tags":["shares"],"summary":"Search Circle People","operationId":"search_circle_people_api_circle_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","title":"Q"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/circle/invite":{"post":{"tags":["shares"],"summary":"Create Direct Invite","operationId":"create_direct_invite_api_v1_circle_invite_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CircleDirectInvite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/invite":{"post":{"tags":["shares"],"summary":"Create Direct Invite","operationId":"create_direct_invite_api_circle_invite_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CircleDirectInvite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/circle/invites":{"get":{"tags":["shares"],"summary":"List Direct Invites","operationId":"list_direct_invites_api_v1_circle_invites_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/invites":{"get":{"tags":["shares"],"summary":"List Direct Invites","operationId":"list_direct_invites_api_circle_invites_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/circle/invites/{grant_id}/accept":{"post":{"tags":["shares"],"summary":"Accept Direct Invite","operationId":"accept_direct_invite_api_v1_circle_invites__grant_id__accept_post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/invites/{grant_id}/accept":{"post":{"tags":["shares"],"summary":"Accept Direct Invite","operationId":"accept_direct_invite_api_circle_invites__grant_id__accept_post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/circle/invites/{grant_id}/decline":{"post":{"tags":["shares"],"summary":"Decline Direct Invite","operationId":"decline_direct_invite_api_v1_circle_invites__grant_id__decline_post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/invites/{grant_id}/decline":{"post":{"tags":["shares"],"summary":"Decline Direct Invite","operationId":"decline_direct_invite_api_circle_invites__grant_id__decline_post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/circle/invites/{grant_id}/cancel":{"post":{"tags":["shares"],"summary":"Cancel Direct Invite","operationId":"cancel_direct_invite_api_v1_circle_invites__grant_id__cancel_post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/invites/{grant_id}/cancel":{"post":{"tags":["shares"],"summary":"Cancel Direct Invite","operationId":"cancel_direct_invite_api_circle_invites__grant_id__cancel_post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shared/{owner_id}/planner/day":{"get":{"tags":["shares"],"summary":"Shared Day","operationId":"shared_day_api_shared__owner_id__planner_day_get","parameters":[{"name":"owner_id","in":"path","required":true,"schema":{"type":"string","title":"Owner Id"}},{"name":"date","in":"query","required":true,"schema":{"type":"string","title":"Date"}},{"name":"timeZone","in":"query","required":false,"schema":{"type":"string","default":"Europe/London","title":"Timezone"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shared/{owner_id}/calendar/week":{"get":{"tags":["shares"],"summary":"Shared Week","operationId":"shared_week_api_shared__owner_id__calendar_week_get","parameters":[{"name":"owner_id","in":"path","required":true,"schema":{"type":"string","title":"Owner Id"}},{"name":"start","in":"query","required":true,"schema":{"type":"string","title":"Start"}},{"name":"timeZone","in":"query","required":false,"schema":{"type":"string","default":"Europe/London","title":"Timezone"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/preview-share":{"post":{"tags":["shares"],"summary":"Preview Share","description":"Return exactly what a recipient would see for a given scope bundle.\n\nRenders the caller's own events for `payload.date` through the same\n`_event_for_scopes` redaction that ships to real viewers — so the sender\ncan preview the result of a share before they create the invite link.","operationId":"preview_share_api_circle_preview_share_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreviewShareRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/people":{"get":{"tags":["circle"],"summary":"List People","operationId":"list_people_api_circle_people_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/people/{person_id}":{"get":{"tags":["circle"],"summary":"Get Person","operationId":"get_person_api_circle_people__person_id__get","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/people/{person_id}/remove":{"post":{"tags":["circle"],"summary":"Remove Person","operationId":"remove_person_api_circle_people__person_id__remove_post","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/people/{person_id}/block":{"post":{"tags":["circle"],"summary":"Block Person","operationId":"block_person_api_circle_people__person_id__block_post","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/people/{person_id}/unblock":{"post":{"tags":["circle"],"summary":"Unblock Person","operationId":"unblock_person_api_circle_people__person_id__unblock_post","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/people/{person_id}/mute":{"post":{"tags":["circle"],"summary":"Mute Person","operationId":"mute_person_api_circle_people__person_id__mute_post","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/people/{person_id}/unmute":{"post":{"tags":["circle"],"summary":"Unmute Person","operationId":"unmute_person_api_circle_people__person_id__unmute_post","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/people/{person_id}/permissions":{"patch":{"tags":["circle"],"summary":"Update Person Permissions","operationId":"update_person_permissions_api_circle_people__person_id__permissions_patch","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/people/{person_id}/tier":{"patch":{"tags":["circle"],"summary":"Set Tier","operationId":"set_tier_api_circle_people__person_id__tier_patch","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TierPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/requests":{"post":{"tags":["circle"],"summary":"Send Request","operationId":"send_request_api_circle_requests_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendRequestPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["circle"],"summary":"List Requests","operationId":"list_requests_api_circle_requests_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/requests/{request_id}/accept":{"post":{"tags":["circle"],"summary":"Accept Request","operationId":"accept_request_api_circle_requests__request_id__accept_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/requests/{request_id}/decline":{"post":{"tags":["circle"],"summary":"Decline Request","operationId":"decline_request_api_circle_requests__request_id__decline_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/requests/{request_id}/cancel":{"post":{"tags":["circle"],"summary":"Cancel Request","operationId":"cancel_request_api_circle_requests__request_id__cancel_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/summary":{"get":{"tags":["circle"],"summary":"Summary","description":"Compact payload powering the Circle home screen.","operationId":"summary_api_circle_summary_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/audit":{"get":{"tags":["circle"],"summary":"List Audit Receipts","description":"List the caller's audit receipts, newest first.\n\n`resource` filters by prefix: \"shared_plan\" or \"share_grant\". This is\nthe surface the mobile client uses to render \"what happened\" feeds on\nthe Circle home and in per-plan detail screens.","operationId":"list_audit_receipts_api_circle_audit_get","parameters":[{"name":"resource","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/proposals":{"post":{"tags":["circle"],"summary":"Create Proposal","operationId":"create_proposal_api_circle_proposals_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposalCreatePayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/proposals/{proposal_id}/accept":{"post":{"tags":["circle"],"summary":"Accept Proposal","operationId":"accept_proposal_api_circle_proposals__proposal_id__accept_post","parameters":[{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","title":"Proposal Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/proposals/{proposal_id}/decline":{"post":{"tags":["circle"],"summary":"Decline Proposal","operationId":"decline_proposal_api_circle_proposals__proposal_id__decline_post","parameters":[{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","title":"Proposal Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/commute/pool":{"post":{"tags":["circle"],"summary":"Commute Pool","operationId":"commute_pool_api_circle_commute_pool_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommutePoolRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/contacts/resolve":{"post":{"tags":["circle"],"summary":"Resolve Contact","operationId":"resolve_contact_api_circle_contacts_resolve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResolveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/stream":{"get":{"tags":["circle"],"summary":"Circle Stream","operationId":"circle_stream_api_circle_stream_get","parameters":[{"name":"pollMs","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pollms"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/plans":{"post":{"tags":["circle-plans"],"summary":"Propose Plan","operationId":"propose_plan_api_circle_plans_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanProposePayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["circle-plans"],"summary":"List Plans","operationId":"list_plans_api_circle_plans_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/plans/{plan_id}":{"get":{"tags":["circle-plans"],"summary":"Get Plan","operationId":"get_plan_api_circle_plans__plan_id__get","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/plans/{plan_id}/accept":{"post":{"tags":["circle-plans"],"summary":"Accept Plan","operationId":"accept_plan_api_circle_plans__plan_id__accept_post","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PlanResponsePayload"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/plans/{plan_id}/decline":{"post":{"tags":["circle-plans"],"summary":"Decline Plan","operationId":"decline_plan_api_circle_plans__plan_id__decline_post","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PlanResponsePayload"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/plans/{plan_id}/counter":{"post":{"tags":["circle-plans"],"summary":"Counter Plan","operationId":"counter_plan_api_circle_plans__plan_id__counter_post","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanCounterPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/plans/{plan_id}/cancel":{"post":{"tags":["circle-plans"],"summary":"Cancel Plan","operationId":"cancel_plan_api_circle_plans__plan_id__cancel_post","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/plans/{plan_id}/messages":{"get":{"tags":["circle-plans"],"summary":"List Plan Messages","operationId":"list_plan_messages_api_circle_plans__plan_id__messages_get","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["circle-plans"],"summary":"Post Plan Message","operationId":"post_plan_message_api_circle_plans__plan_id__messages_post","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanMessagePayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/plans/{plan_id}/arrival":{"get":{"tags":["circle-plans"],"summary":"Arrival Status","operationId":"arrival_status_api_circle_plans__plan_id__arrival_get","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["circle-plans"],"summary":"Put Arrival Status","operationId":"put_arrival_status_api_circle_plans__plan_id__arrival_put","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArrivalUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/circle/plans/{plan_id}/google-export":{"get":{"tags":["circle-plans"],"summary":"Google Export Status","operationId":"google_export_status_api_circle_plans__plan_id__google_export_get","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["circle-plans"],"summary":"Enable Google Export","operationId":"enable_google_export_api_circle_plans__plan_id__google_export_post","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleExportPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["circle-plans"],"summary":"Stop Google Export","operationId":"stop_google_export_api_circle_plans__plan_id__google_export_delete","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/sessions":{"post":{"tags":["assistant"],"summary":"Create Session","operationId":"create_session_api_assistant_sessions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SessionCreateReq"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["assistant"],"summary":"List Sessions","operationId":"list_sessions_api_assistant_sessions_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssistantSessionOut"},"title":"Response List Sessions Api Assistant Sessions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/sessions/{sid}":{"get":{"tags":["assistant"],"summary":"Get Session Detail","operationId":"get_session_detail_api_assistant_sessions__sid__get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantSessionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/imports/work-schedule/preview":{"post":{"tags":["assistant"],"summary":"Preview Work Schedule Import","operationId":"preview_work_schedule_import_api_assistant_imports_work_schedule_preview_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageCreateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportPreviewResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/imports/travel/preview":{"post":{"tags":["assistant"],"summary":"Preview Travel Import","operationId":"preview_travel_import_api_assistant_imports_travel_preview_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageCreateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportPreviewResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/imports/document/preview":{"post":{"tags":["assistant"],"summary":"Preview Document Import","operationId":"preview_document_import_api_assistant_imports_document_preview_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageCreateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportPreviewResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/imports/work-schedule/commit":{"post":{"tags":["assistant"],"summary":"Commit Work Schedule Import","operationId":"commit_work_schedule_import_api_assistant_imports_work_schedule_commit_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportPreviewResp"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportCommitResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/imports/travel/commit":{"post":{"tags":["assistant"],"summary":"Commit Travel Import","operationId":"commit_travel_import_api_assistant_imports_travel_commit_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportPreviewResp"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportCommitResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/imports/document/commit":{"post":{"tags":["assistant"],"summary":"Commit Document Import","operationId":"commit_document_import_api_assistant_imports_document_commit_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportPreviewResp"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportCommitResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/sessions/{sid}/messages":{"post":{"tags":["assistant"],"summary":"Post Message","operationId":"post_message_api_assistant_sessions__sid__messages_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageCreateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssistantMessageOut"},"title":"Response Post Message Api Assistant Sessions  Sid  Messages Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["assistant"],"summary":"List Messages","operationId":"list_messages_api_assistant_sessions__sid__messages_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Before"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssistantMessageOut"},"title":"Response List Messages Api Assistant Sessions  Sid  Messages Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/speech":{"post":{"tags":["assistant"],"summary":"Synthesize Speech","operationId":"synthesize_speech_api_assistant_speech_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"idempotency-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeechRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/sessions/{sid}/messages/log":{"post":{"tags":["assistant"],"summary":"Log Messages","operationId":"log_messages_api_assistant_sessions__sid__messages_log_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageLogReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssistantMessageOut"},"title":"Response Log Messages Api Assistant Sessions  Sid  Messages Log Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/sessions/{sid}/messages/stream":{"post":{"tags":["assistant-stream"],"summary":"Post Message Stream","operationId":"post_message_stream_api_assistant_sessions__sid__messages_stream_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageCreateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/sessions/{sid}/turns/{message_id}":{"get":{"tags":["assistant-stream"],"summary":"Get Durable Turn","operationId":"get_durable_turn_api_assistant_sessions__sid__turns__message_id__get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/v2/sessions/{sid}/commands":{"post":{"tags":["assistant"],"summary":"Proposal Command","operationId":"proposal_command_api_assistant_v2_sessions__sid__commands_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposalCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/v2/sessions/{sid}/commands/{operation}":{"get":{"tags":["assistant"],"summary":"Read Command","operationId":"read_command_api_assistant_v2_sessions__sid__commands__operation__get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"operation","in":"path","required":true,"schema":{"type":"string","title":"Operation"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/v2/sessions/{sid}/commands/{operation}/readback":{"post":{"tags":["assistant"],"summary":"Check Command","operationId":"check_command_api_assistant_v2_sessions__sid__commands__operation__readback_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"operation","in":"path","required":true,"schema":{"type":"string","title":"Operation"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadbackRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/v2/sessions/{sid}/turns":{"post":{"tags":["raya-responses"],"summary":"Accept Answer","operationId":"accept_answer_api_assistant_v2_sessions__sid__turns_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/v2/sessions/{sid}/response":{"get":{"tags":["raya-responses"],"summary":"Response Snapshot","operationId":"response_snapshot_api_assistant_v2_sessions__sid__response_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"clientTurnId","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":180,"title":"Clientturnid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/v2/sessions/{sid}/response/stop":{"post":{"tags":["raya-responses"],"summary":"Stop Response","operationId":"stop_response_api_assistant_v2_sessions__sid__response_stop_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"clientTurnId","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":180,"title":"Clientturnid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/v2/sessions/{sid}/response/events":{"get":{"tags":["raya-responses"],"summary":"Response Events","operationId":"response_events_api_assistant_v2_sessions__sid__response_events_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"clientTurnId","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":180,"title":"Clientturnid"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"After"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/v2/sessions/{sid}/rebalance-next/preview":{"post":{"tags":["raya-interactions"],"summary":"Rebalance Next Preview","operationId":"rebalance_next_preview_api_assistant_v2_sessions__sid__rebalance_next_preview_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RebalanceNextRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/v2/capabilities":{"get":{"tags":["raya-interactions"],"summary":"Capabilities","operationId":"capabilities_api_assistant_v2_capabilities_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/v2/sessions/{sid}/contexts/{context_id}":{"get":{"tags":["raya-interactions"],"summary":"Context Snapshot","operationId":"context_snapshot_api_assistant_v2_sessions__sid__contexts__context_id__get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"context_id","in":"path","required":true,"schema":{"type":"string","title":"Context Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/v2/sessions/{sid}/dialogue":{"get":{"tags":["raya-interactions"],"summary":"Dialogue","operationId":"dialogue_api_assistant_v2_sessions__sid__dialogue_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"flowId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Flowid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/v2/sessions/{sid}/interactions":{"post":{"tags":["raya-interactions"],"summary":"Interact","operationId":"interact_api_assistant_v2_sessions__sid__interactions_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-Raya-Interaction-Delivery","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Raya-Interaction-Delivery"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ChoiceInput"},{"$ref":"#/components/schemas/FieldInput"},{"$ref":"#/components/schemas/FlowControlInput"}],"discriminator":{"propertyName":"kind","mapping":{"choice":"#/components/schemas/ChoiceInput","field":"#/components/schemas/FieldInput","flow_control":"#/components/schemas/FlowControlInput"}},"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/v2/sessions/{sid}/interactions/{clientTurnId}":{"get":{"tags":["raya-interactions"],"summary":"Interaction Result","operationId":"interaction_result_api_assistant_v2_sessions__sid__interactions__clientTurnId__get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"clientTurnId","in":"path","required":true,"schema":{"type":"string","title":"Clientturnid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assistant/v2/sessions/{sid}/place-visits/preview":{"post":{"tags":["raya-interactions"],"summary":"Place Visit Preview","operationId":"place_visit_preview_api_assistant_v2_sessions__sid__place_visits_preview_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaceVisitInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/notifications/push/register":{"post":{"tags":["notifications"],"summary":"Register Push Token","operationId":"register_push_token_api_notifications_push_register_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushRegisterRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Register Push Token Api Notifications Push Register Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/notifications/leave-time":{"post":{"tags":["notifications"],"summary":"Schedule Leave Time Push","operationId":"schedule_leave_time_push_api_notifications_leave_time_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveTimeScheduleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Schedule Leave Time Push Api Notifications Leave Time Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/notifications/leave-time/cancel":{"post":{"tags":["notifications"],"summary":"Cancel Leave Time Push","operationId":"cancel_leave_time_push_api_notifications_leave_time_cancel_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaveTimeCancelRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cancel Leave Time Push Api Notifications Leave Time Cancel Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/notifications/inbox":{"get":{"tags":["notifications"],"summary":"List Inbox Notifications","operationId":"list_inbox_notifications_api_notifications_inbox_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}},{"name":"unreadOnly","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Unreadonly"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboxListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/notifications/inbox/{notification_id}/read":{"post":{"tags":["notifications"],"summary":"Mark Inbox Notification Read","operationId":"mark_inbox_notification_read_api_notifications_inbox__notification_id__read_post","parameters":[{"name":"notification_id","in":"path","required":true,"schema":{"type":"string","title":"Notification Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Mark Inbox Notification Read Api Notifications Inbox  Notification Id  Read Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/notifications/inbox/read-all":{"post":{"tags":["notifications"],"summary":"Mark All Inbox Notifications Read","operationId":"mark_all_inbox_notifications_read_api_notifications_inbox_read_all_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Mark All Inbox Notifications Read Api Notifications Inbox Read All Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/onboarding/status":{"get":{"tags":["onboarding"],"summary":"Status","operationId":"status_api_onboarding_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/onboarding/profile":{"patch":{"tags":["onboarding"],"summary":"Update Profile","operationId":"update_profile_api_onboarding_profile_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingProfileUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/onboarding/complete":{"post":{"tags":["onboarding"],"summary":"Complete","operationId":"complete_api_onboarding_complete_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/team/demo-seed":{"post":{"tags":["team"],"summary":"Demo Seed","description":"Seed demo team data for the current (dev) user.\n\nOnly allowed with the dev token to avoid unintended data creation.\nIdempotent: if members already exist for user, returns a no-op response.","operationId":"demo_seed_api_team_demo_seed_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/team/members":{"get":{"tags":["team"],"summary":"List Members","operationId":"list_members_api_team_members_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamMemberOut"},"title":"Response List Members Api Team Members Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["team"],"summary":"Create Member","operationId":"create_member_api_team_members_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/team/members/{member_id}":{"patch":{"tags":["team"],"summary":"Update Member","operationId":"update_member_api_team_members__member_id__patch","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/team/assignments":{"post":{"tags":["team"],"summary":"Create Assignment","operationId":"create_assignment_api_team_assignments_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamAssignmentCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamAssignmentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["team"],"summary":"List Assignments","operationId":"list_assignments_api_team_assignments_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamAssignmentOut"},"title":"Response List Assignments Api Team Assignments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/team/capacity":{"get":{"tags":["team"],"summary":"Capacity","operationId":"capacity_api_team_capacity_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamCapacityMemberOut"},"title":"Response Capacity Api Team Capacity Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/team/suggest-formation":{"post":{"tags":["team"],"summary":"Suggest Formation","operationId":"suggest_formation_api_team_suggest_formation_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamFormationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamFormationSuggestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/team/capacity-forecast":{"get":{"tags":["team"],"summary":"Capacity Forecast","operationId":"capacity_forecast_api_team_capacity_forecast_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamCapacityForecastEntry"},"title":"Response Capacity Forecast Api Team Capacity Forecast Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/team/formation/decide":{"post":{"tags":["team"],"summary":"Formation Decide","operationId":"formation_decide_api_team_formation_decide_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamFormationDecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamFormationDecisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/team/assignments/upsert":{"post":{"tags":["team"],"summary":"Upsert Assignment","operationId":"upsert_assignment_api_team_assignments_upsert_post","parameters":[{"name":"assignment_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamAssignmentCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamAssignmentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scheduler/suggest":{"post":{"tags":["scheduler"],"summary":"Suggest","operationId":"suggest_api_scheduler_suggest_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulerSuggestRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulerSuggestResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scheduler/allocate":{"post":{"tags":["scheduler"],"summary":"Allocate","operationId":"allocate_api_scheduler_allocate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulerAllocateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulerAllocateResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scheduler/logs/":{"get":{"tags":["scheduler-logs"],"summary":"List Logs Trailing","operationId":"list_logs_trailing_api_scheduler_logs__get","parameters":[{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by kind: suggest|allocate","title":"Kind"},"description":"Filter by kind: suggest|allocate"},{"name":"assignment_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignment Key"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scheduler/logs":{"get":{"tags":["scheduler-logs"],"summary":"List Logs","operationId":"list_logs_api_scheduler_logs_get","parameters":[{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by kind: suggest|allocate","title":"Kind"},"description":"Filter by kind: suggest|allocate"},{"name":"assignment_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignment Key"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scheduler/config":{"get":{"tags":["scheduler"],"summary":"Get Config","operationId":"get_config_api_scheduler_config_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulerConfigOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["scheduler"],"summary":"Update Config","operationId":"update_config_api_scheduler_config_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulerConfigUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulerConfigOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/register":{"post":{"tags":["auth"],"summary":"Register","operationId":"register_api_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_api_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh","operationId":"refresh_api_auth_refresh_post","parameters":[{"name":"x-refresh-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Refresh-Token"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/RefreshReq"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","operationId":"logout_api_auth_logout_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-refresh-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Refresh-Token"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/LogoutReq"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me":{"get":{"tags":["profile"],"summary":"Get Me","operationId":"get_me_api_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["profile"],"summary":"Patch Me","operationId":"patch_me_api_me_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/runtime-location":{"patch":{"tags":["auth"],"summary":"Update Runtime Location","operationId":"update_runtime_location_api_me_runtime_location_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuntimeLocationReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/register":{"post":{"tags":["auth"],"summary":"Register","operationId":"register_api_v1_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_api_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh","operationId":"refresh_api_v1_auth_refresh_post","parameters":[{"name":"x-refresh-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Refresh-Token"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/RefreshReq"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","operationId":"logout_api_v1_auth_logout_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-refresh-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Refresh-Token"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/LogoutReq"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/me":{"get":{"tags":["auth"],"summary":"Me","operationId":"me_api_v1_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["auth"],"summary":"Update Me","operationId":"update_me_api_v1_me_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/me/runtime-location":{"patch":{"tags":["auth"],"summary":"Update Runtime Location","operationId":"update_runtime_location_api_v1_me_runtime_location_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuntimeLocationReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects":{"post":{"tags":["projects"],"summary":"Create Project","operationId":"create_project_api_projects_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectCreateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectCreateResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["projects"],"summary":"List Projects","operationId":"list_projects_api_projects_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectSummary"},"title":"Response List Projects Api Projects Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/plan/preview":{"post":{"tags":["projects"],"summary":"Plan Preview","description":"Generate a lightweight project plan preview.\n\nDeterministic, offline-friendly stub used by the New Project wizard.\nReturns 3 stages and ~6 tasks with a simple forward schedule starting from\nstart_date (or today). If deadline provided, the last task is clamped to it.","operationId":"plan_preview_api_projects_plan_preview_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanPreviewReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanPreviewResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{pid}":{"get":{"tags":["projects"],"summary":"Get Project","operationId":"get_project_api_projects__pid__get","parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["projects"],"summary":"Update Project","operationId":"update_project_api_projects__pid__patch","parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectUpdateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOK"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["projects"],"summary":"Delete Project","operationId":"delete_project_api_projects__pid__delete","parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOK"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{pid}/research":{"post":{"tags":["projects"],"summary":"Trigger Research","operationId":"trigger_research_api_projects__pid__research_post","parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchTriggerResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{pid}/apply-research-job":{"post":{"tags":["projects"],"summary":"Apply Research Job","operationId":"apply_research_job_api_projects__pid__apply_research_job_post","parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyResearchJobReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyResearchResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{pid}/assets/request":{"post":{"tags":["projects"],"summary":"Request Assets","operationId":"request_assets_api_projects__pid__assets_request_post","parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetRequestIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOK"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/projects/{pid}/assets/received":{"post":{"tags":["projects"],"summary":"Assets Received","operationId":"assets_received_api_projects__pid__assets_received_post","parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetReceivedIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOK"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tasks":{"get":{"tags":["tasks"],"summary":"List Tasks","operationId":"list_tasks_api_tasks_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["tasks"],"summary":"Create Task","operationId":"create_task_api_tasks_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskCreateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tasks/{tid}":{"patch":{"tags":["tasks"],"summary":"Patch Task","operationId":"patch_task_api_tasks__tid__patch","parameters":[{"name":"tid","in":"path","required":true,"schema":{"type":"string","title":"Tid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskPatchIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["tasks"],"summary":"Delete Task","operationId":"delete_task_api_tasks__tid__delete","parameters":[{"name":"tid","in":"path","required":true,"schema":{"type":"string","title":"Tid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services":{"get":{"tags":["services"],"summary":"List Services","operationId":"list_services_api_services_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ServiceOut"},"title":"Response List Services Api Services Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["services"],"summary":"Create Service","operationId":"create_service_api_services_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceCreateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceCreateResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{sid}":{"patch":{"tags":["services"],"summary":"Update Service","operationId":"update_service_api_services__sid__patch","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUpdateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOK"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["services"],"summary":"Delete Service","operationId":"delete_service_api_services__sid__delete","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOK"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clients":{"get":{"tags":["clients"],"summary":"List Clients","operationId":"list_clients_api_clients_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClientSummary"},"title":"Response List Clients Api Clients Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["clients"],"summary":"Create Client","operationId":"create_client_api_clients_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientCreateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientSummary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clients/{cid}":{"get":{"tags":["clients"],"summary":"Get Client","operationId":"get_client_api_clients__cid__get","parameters":[{"name":"cid","in":"path","required":true,"schema":{"type":"string","title":"Cid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["clients"],"summary":"Update Client","operationId":"update_client_api_clients__cid__patch","parameters":[{"name":"cid","in":"path","required":true,"schema":{"type":"string","title":"Cid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientUpdateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOK"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/proposals":{"get":{"tags":["proposals"],"summary":"List Proposals","operationId":"list_proposals_api_proposals_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProposalSummary"},"title":"Response List Proposals Api Proposals Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["proposals"],"summary":"Create Proposal","operationId":"create_proposal_api_proposals_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposalCreateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposalCreateResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/proposals/{pid}":{"get":{"tags":["proposals"],"summary":"Get Proposal","operationId":"get_proposal_api_proposals__pid__get","parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposalDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["proposals"],"summary":"Update Proposal","operationId":"update_proposal_api_proposals__pid__patch","parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposalUpdateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOK"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["proposals"],"summary":"Delete Proposal","operationId":"delete_proposal_api_proposals__pid__delete","parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOK"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/proposals/{pid}/from-ai":{"post":{"tags":["proposals"],"summary":"Apply Ai To Proposal","operationId":"apply_ai_to_proposal_api_proposals__pid__from_ai_post","parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposalAIApplyReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOK"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/proposals/{pid}/export":{"post":{"tags":["proposals"],"summary":"Export Proposal","description":"Generate a minimal PDF on the fly and return it as a file response.\n\nUses a super-lightweight PDF (no dependency) for now: a single page with plain text.","operationId":"export_proposal_api_proposals__pid__export_post","parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/proposals/{pid}/send":{"post":{"tags":["proposals"],"summary":"Send Proposal","description":"Mark proposal as sent and set a tracking token for open tracking.\n\nFor now, we do not actually dispatch email; we generate a tracking pixel URL\nthe frontend can embed if it emails the PDF, and we record sent_ts.","operationId":"send_proposal_api_proposals__pid__send_post","parameters":[{"name":"pid","in":"path","required":true,"schema":{"type":"string","title":"Pid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SendReq"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOK"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/proposals/t/{token}":{"get":{"tags":["proposals"],"summary":"Tracking Pixel","description":"1x1 transparent PNG that increments proposal view_count and updates status to 'viewed'.","operationId":"tracking_pixel_api_proposals_t__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packages":{"get":{"tags":["packages"],"summary":"List Packages","operationId":"list_packages_api_packages_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PackageSummary"},"title":"Response List Packages Api Packages Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["packages"],"summary":"Create Package","operationId":"create_package_api_packages_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageCreateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageCreateResp"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packages/{pkid}":{"patch":{"tags":["packages"],"summary":"Update Package","operationId":"update_package_api_packages__pkid__patch","parameters":[{"name":"pkid","in":"path","required":true,"schema":{"type":"string","title":"Pkid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageUpdateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOK"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["packages"],"summary":"Delete Package","operationId":"delete_package_api_packages__pkid__delete","parameters":[{"name":"pkid","in":"path","required":true,"schema":{"type":"string","title":"Pkid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericOK"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/insights":{"get":{"tags":["insights"],"summary":"List Insights","operationId":"list_insights_api_insights_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"client_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InsightOut"},"title":"Response List Insights Api Insights Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["insights"],"summary":"Create Insight","operationId":"create_insight_api_insights_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightCreateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/recommendations":{"get":{"tags":["recommendations"],"summary":"List Recommendations","operationId":"list_recommendations_api_recommendations_get","parameters":[{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"client_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RecommendationOut"},"title":"Response List Recommendations Api Recommendations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["recommendations"],"summary":"Create Recommendation","operationId":"create_recommendation_api_recommendations_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecommendationCreateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecommendationOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/meta/counts":{"get":{"tags":["meta"],"summary":"Counts","operationId":"counts_api_meta_counts_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaCounts"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me/":{"get":{"tags":["profile"],"summary":"Get Me","operationId":"get_me_api_me__get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/user/settings":{"get":{"tags":["user"],"summary":"Get Settings","operationId":"get_settings_api_user_settings_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["user"],"summary":"Post Settings","operationId":"post_settings_api_user_settings_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/user/settings/recap-memory":{"delete":{"tags":["user"],"summary":"Delete Recap Memory","operationId":"delete_recap_memory_api_user_settings_recap_memory_delete","parameters":[{"name":"scope","in":"query","required":false,"schema":{"type":"string","default":"weekly","title":"Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/re-entry-state":{"get":{"tags":["mobile"],"summary":"Get Re Entry State","operationId":"get_re_entry_state_api_mobile_re_entry_state_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReEntryStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["mobile"],"summary":"Post Re Entry State","operationId":"post_re_entry_state_api_mobile_re_entry_state_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReEntryStateSyncRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReEntryStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/trust-ledger/snapshot":{"get":{"tags":["mobile-trust-ledger"],"summary":"Get Trust Snapshot","operationId":"get_trust_snapshot_api_mobile_trust_ledger_snapshot_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustLedgerSnapshotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/trust-ledger/receipts":{"get":{"tags":["mobile-trust-ledger"],"summary":"Get Trust Receipts","operationId":"get_trust_receipts_api_mobile_trust_ledger_receipts_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":12,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustLedgerReceiptsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/focus/session":{"get":{"tags":["mobile-focus"],"summary":"Focus Session","operationId":"focus_session_api_mobile_focus_session_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/focus/start":{"post":{"tags":["mobile-focus"],"summary":"Focus Start","operationId":"focus_start_api_mobile_focus_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FocusStartRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/focus/complete":{"post":{"tags":["mobile-focus"],"summary":"Focus Complete","operationId":"focus_complete_api_mobile_focus_complete_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FocusCompleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/focus/pause":{"post":{"tags":["mobile-focus"],"summary":"Focus Pause","operationId":"focus_pause_api_mobile_focus_pause_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FocusSessionAction"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/focus/resume":{"post":{"tags":["mobile-focus"],"summary":"Focus Resume","operationId":"focus_resume_api_mobile_focus_resume_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FocusSessionAction"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/focus/next":{"get":{"tags":["mobile-focus"],"summary":"Focus Next","operationId":"focus_next_api_mobile_focus_next_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/focus/activate":{"post":{"tags":["mobile-focus"],"summary":"Focus Activate","operationId":"focus_activate_api_mobile_focus_activate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FocusActivateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/dashboard/personal":{"get":{"tags":["mobile-dashboard"],"summary":"Mobile Dashboard Personal","operationId":"mobile_dashboard_personal_api_mobile_dashboard_personal_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/plan/create":{"post":{"tags":["mobile-planning"],"summary":"Mobile Plan Create","description":"Create daily plan using AI-powered planning engine (Claude Sonnet 4.5).\n\nIf ANTHROPIC_API_KEY is set, uses AI to generate optimized schedule.\nOtherwise falls back to simple timebox creation from user input.","operationId":"mobile_plan_create_api_mobile_plan_create_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/plan/list":{"get":{"tags":["mobile-planning"],"summary":"Mobile Plan List","operationId":"mobile_plan_list_api_mobile_plan_list_get","parameters":[{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"}},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start"}},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/plan/overview":{"get":{"tags":["mobile-planning"],"summary":"Mobile Plan Week Overview","description":"Week Planning overlay: 7-column compact summary + auto proposals + micro reward.\n\nThis endpoint powers the mobile week planning overlay. It intentionally avoids\nheavy joins; InternalTaskORM rows are enough for v1.","operationId":"mobile_plan_week_overview_api_mobile_plan_overview_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeekOverviewOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/plan":{"get":{"tags":["mobile-planning"],"summary":"Mobile Plan","operationId":"mobile_plan_api_mobile_plan_get","parameters":[{"name":"horizon_days","in":"query","required":false,"schema":{"type":"integer","default":14,"title":"Horizon Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/planner/day":{"get":{"tags":["planner"],"summary":"Planner Day","operationId":"planner_day_api_planner_day_get","parameters":[{"name":"date","in":"query","required":true,"schema":{"type":"string","title":"Date"}},{"name":"timeZone","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/planner/rebalance":{"post":{"tags":["planner"],"summary":"Planner Rebalance","operationId":"planner_rebalance_api_planner_rebalance_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RebalanceIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/planner/weekly-plan":{"post":{"tags":["planner"],"summary":"Weekly Plan","description":"Generate proposals for architectural action on a given week.","operationId":"weekly_plan_api_planner_weekly_plan_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeeklyPlanRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/planner/feedback":{"post":{"tags":["planner"],"summary":"Planner Feedback","description":"Record observable, idempotent feedback for a planner event.","operationId":"planner_feedback_api_planner_feedback_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlannerFeedbackRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/planner/backlog-slots":{"post":{"tags":["planner"],"summary":"Backlog Slots","description":"Get ranked slot proposals for a specific backlog task.","operationId":"backlog_slots_api_planner_backlog_slots_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacklogSlotsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/planner/weekly-plan/apply":{"post":{"tags":["planner"],"summary":"Apply Weekly Plan","description":"Apply selected weekly plan changes (move/add events).","operationId":"apply_weekly_plan_api_planner_weekly_plan_apply_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyChangesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/planner/weekly-plan":{"post":{"tags":["planner"],"summary":"Weekly Plan","description":"Generate proposals for architectural action on a given week.","operationId":"weekly_plan_api_v1_planner_weekly_plan_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeeklyPlanRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/planner/feedback":{"post":{"tags":["planner"],"summary":"Planner Feedback","description":"Record observable, idempotent feedback for a planner event.","operationId":"planner_feedback_api_v1_planner_feedback_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlannerFeedbackRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/planner/backlog-slots":{"post":{"tags":["planner"],"summary":"Backlog Slots","description":"Get ranked slot proposals for a specific backlog task.","operationId":"backlog_slots_api_v1_planner_backlog_slots_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacklogSlotsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/planner/weekly-plan/apply":{"post":{"tags":["planner"],"summary":"Apply Weekly Plan","description":"Apply selected weekly plan changes (move/add events).","operationId":"apply_weekly_plan_api_v1_planner_weekly_plan_apply_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyChangesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/planner/life-rules":{"get":{"tags":["planner"],"summary":"Get Life Rules","description":"Return the current user's life rules (scheduling constraints).","operationId":"get_life_rules_api_planner_life_rules_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Life Rules Api Planner Life Rules Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["planner"],"summary":"Save Life Rules","description":"Persist (upsert) the user's life rules. Returns saved rules.","operationId":"save_life_rules_api_planner_life_rules_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LifeRulesDocument"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Save Life Rules Api Planner Life Rules Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/planner/life-rules":{"get":{"tags":["planner"],"summary":"Get Life Rules","description":"Return the current user's life rules (scheduling constraints).","operationId":"get_life_rules_api_v1_planner_life_rules_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Life Rules Api V1 Planner Life Rules Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["planner"],"summary":"Save Life Rules","description":"Persist (upsert) the user's life rules. Returns saved rules.","operationId":"save_life_rules_api_v1_planner_life_rules_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LifeRulesDocument"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Save Life Rules Api V1 Planner Life Rules Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/calendar/week":{"get":{"tags":["planner"],"summary":"Calendar Week","operationId":"calendar_week_api_calendar_week_get","parameters":[{"name":"start","in":"query","required":true,"schema":{"type":"string","title":"Start"}},{"name":"timeZone","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/midday/snapshot":{"get":{"tags":["mobile-midday"],"summary":"Mobile Midday Snapshot","operationId":"mobile_midday_snapshot_api_mobile_midday_snapshot_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/midday/auto-rebalance":{"post":{"tags":["mobile-midday"],"summary":"Mobile Midday Auto Rebalance","operationId":"mobile_midday_auto_rebalance_api_mobile_midday_auto_rebalance_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MiddayAutoRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/midday/manual-adjust":{"post":{"tags":["mobile-midday"],"summary":"Mobile Midday Manual Adjust","operationId":"mobile_midday_manual_adjust_api_mobile_midday_manual_adjust_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MiddayManualRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/daily-recap":{"get":{"tags":["mobile-reports"],"summary":"Mobile Daily Recap","operationId":"mobile_daily_recap_api_mobile_daily_recap_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"}},{"name":"persist","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Persist"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/daily-recap-memory":{"get":{"tags":["mobile-reports"],"summary":"Mobile Daily Recap Memory Status","operationId":"mobile_daily_recap_memory_status_api_mobile_daily_recap_memory_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/insights":{"get":{"tags":["mobile-reports"],"summary":"Mobile Insights","operationId":"mobile_insights_api_mobile_insights_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/team-summary":{"get":{"tags":["mobile-reports"],"summary":"Team Summary","operationId":"team_summary_api_mobile_team_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/exec-summary":{"get":{"tags":["mobile-reports"],"summary":"Exec Summary","operationId":"exec_summary_api_mobile_exec_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/team/{team_id}/overlay":{"get":{"tags":["mobile-team"],"summary":"Team Overlay","description":"Return Sprint Health & Burn Risk overlay for a team.\n\nSecurity:\n  - Requires user to have manager/executive/admin role (simplified: admin role only for now).\n  - Scopes data to user's org/company.\nCaching: placeholder (could add decorator with in-memory TTL).","operationId":"team_overlay_api_mobile_team__team_id__overlay_get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"sprintId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sprintid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/exec/compliance":{"get":{"tags":["mobile-exec"],"summary":"Compliance Overlay","operationId":"compliance_overlay_api_mobile_exec_compliance_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/exec/ai-metrics":{"get":{"tags":["mobile-exec"],"summary":"Ai Metrics Overlay","operationId":"ai_metrics_overlay_api_mobile_exec_ai_metrics_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mobile/exec/policy-actions":{"get":{"tags":["mobile-exec"],"summary":"Policy Actions Overlay","operationId":"policy_actions_overlay_api_mobile_exec_policy_actions_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/app/dashboard/personal":{"get":{"tags":["mobile-dashboard-alias"],"summary":"App Dashboard Personal","operationId":"app_dashboard_personal_api_app_dashboard_personal_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hub/ingest":{"post":{"tags":["integration-hub"],"summary":"Ingest Event","operationId":"ingest_event_api_hub_ingest_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HubIngestRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HubIngestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hub/events":{"get":{"tags":["integration-hub"],"summary":"List Events","operationId":"list_events_api_hub_events_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"stream","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stream"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hub/audit":{"get":{"tags":["integration-hub"],"summary":"List Audit","operationId":"list_audit_api_hub_audit_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"action","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"resource","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Until"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hub/events/{event_id}/requeue":{"post":{"tags":["integration-hub"],"summary":"Requeue Event","operationId":"requeue_event_api_hub_events__event_id__requeue_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HubRequeueRequest"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HubIngestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hub/queue/stats":{"get":{"tags":["integration-hub"],"summary":"Get Queue Stats","operationId":"get_queue_stats_api_hub_queue_stats_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hub/events/{event_id}":{"get":{"tags":["integration-hub"],"summary":"Get Event Detail","operationId":"get_event_detail_api_hub_events__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/_debug/routes":{"get":{"tags":["system"],"summary":"Debug Routes","operationId":"debug_routes_api__debug_routes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response Debug Routes Api  Debug Routes Get"}}}}}}},"/api/v1/openapi.json":{"get":{"tags":["system"],"summary":"Openapi V1","operationId":"openapi_v1_api_v1_openapi_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"tags":["system"],"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Health Get"}}}}}}},"/ready":{"get":{"tags":["system"],"summary":"Ready","operationId":"ready_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/metrics":{"get":{"tags":["system"],"summary":"Metrics","operationId":"metrics_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/start-research":{"post":{"tags":["research"],"summary":"Start Research Facade","operationId":"start_research_facade_api_start_research_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartResearchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bootstrap":{"post":{"tags":["bootstrap"],"summary":"Bootstrap Workspace","description":"Seed starter catalog, packages, insights, recommendations, starter proposal.\n\nIdempotent: skips creation if data already exists.","operationId":"bootstrap_workspace_api_bootstrap_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"ActivityPayload":{"properties":{"steps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Steps"},"activeKcal":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Activekcal"}},"type":"object","title":"ActivityPayload"},"AnswerRequest":{"properties":{"clientTurnId":{"type":"string","maxLength":180,"minLength":1,"title":"Clientturnid"},"content":{"type":"string","maxLength":12000,"minLength":1,"title":"Content"}},"type":"object","required":["clientTurnId","content"],"title":"AnswerRequest"},"AppleLocalReq":{"properties":{"permission":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Permission"}},"type":"object","title":"AppleLocalReq"},"ApplyChangesRequest":{"properties":{"changes":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Changes"}},"type":"object","required":["changes"],"title":"ApplyChangesRequest"},"ApplyResearchJobReq":{"properties":{"job_id":{"type":"string","title":"Job Id"}},"type":"object","required":["job_id"],"title":"ApplyResearchJobReq"},"ApplyResearchResp":{"properties":{"ok":{"type":"boolean","title":"Ok"},"project_id":{"type":"string","title":"Project Id"},"applied_job_id":{"type":"string","title":"Applied Job Id"}},"type":"object","required":["ok","project_id","applied_job_id"],"title":"ApplyResearchResp"},"ArrivalUpdate":{"properties":{"updateId":{"type":"string","maxLength":100,"minLength":8,"title":"Updateid"},"expectedRevision":{"type":"integer","minimum":0.0,"title":"Expectedrevision"},"planRevision":{"type":"string","maxLength":64,"minLength":1,"title":"Planrevision"},"observedAt":{"type":"integer","exclusiveMinimum":0.0,"title":"Observedat"},"source":{"type":"string","enum":["user_estimate","route","unknown","stopped"],"title":"Source"},"etaAt":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Etaat"},"gps":{"type":"string","enum":["fresh","unavailable","stale"],"title":"Gps","default":"unavailable"},"mode":{"type":"string","enum":["metro","walk","drive","other"],"title":"Mode","default":"other"}},"additionalProperties":false,"type":"object","required":["updateId","expectedRevision","planRevision","observedAt","source"],"title":"ArrivalUpdate"},"AssetReceivedIn":{"properties":{"files":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Files"}},"type":"object","title":"AssetReceivedIn"},"AssetRequestIn":{"properties":{"items":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Items"}},"type":"object","title":"AssetRequestIn"},"AssistantMessageOut":{"properties":{"id":{"type":"string","title":"Id"},"session_id":{"type":"string","title":"Session Id"},"role":{"type":"string","title":"Role"},"content":{"type":"string","title":"Content"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"created_ts":{"type":"integer","title":"Created Ts"}},"type":"object","required":["id","session_id","role","content","created_ts"],"title":"AssistantMessageOut"},"AssistantSessionOut":{"properties":{"id":{"type":"string","title":"Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"created_ts":{"type":"integer","title":"Created Ts"},"updated_ts":{"type":"integer","title":"Updated Ts"}},"type":"object","required":["id","created_ts","updated_ts"],"title":"AssistantSessionOut"},"AttachmentIn":{"properties":{"name":{"type":"string","title":"Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mime Type"},"data_base64":{"type":"string","title":"Data Base64"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},"type":"object","required":["name","data_base64"],"title":"AttachmentIn"},"BacklogSlotsRequest":{"properties":{"week_start":{"type":"string","title":"Week Start"},"task_id":{"type":"string","title":"Task Id"},"constraints":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Constraints"}},"type":"object","required":["week_start","task_id"],"title":"BacklogSlotsRequest"},"BiometricsSyncReq":{"properties":{"from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From"},"to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To"}},"type":"object","title":"BiometricsSyncReq"},"BlockRefPayload":{"properties":{"kind":{"type":"string","enum":["event","cluster"],"title":"Kind"},"id":{"type":"string","title":"Id"}},"type":"object","required":["kind","id"],"title":"BlockRefPayload"},"BundleShareCreate":{"properties":{"cluster_id":{"type":"string","title":"Cluster Id"},"target_user_id":{"type":"string","title":"Target User Id"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"}},"type":"object","required":["cluster_id","target_user_id"],"title":"BundleShareCreate"},"BurnoutRiskRequest":{"properties":{"window_days":{"type":"integer","maximum":30.0,"minimum":3.0,"title":"Window Days","default":7},"forecast_days":{"type":"integer","maximum":7.0,"minimum":1.0,"title":"Forecast Days","default":5}},"type":"object","title":"BurnoutRiskRequest"},"CalendarSelectReq":{"properties":{"ids":{"items":{"type":"string"},"type":"array","title":"Ids"},"primaryId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primaryid"}},"type":"object","required":["ids"],"title":"CalendarSelectReq"},"CalendarSyncStatus":{"properties":{"connected":{"type":"boolean","title":"Connected"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"lastSyncAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Lastsyncat"},"problems":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Problems"}},"type":"object","required":["connected"],"title":"CalendarSyncStatus"},"ChatCompletionRequest":{"properties":{"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"messages":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Messages"},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature"},"max_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Tokens"},"json_mode":{"type":"boolean","title":"Json Mode","default":false},"user_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Scope"},"enforce_budget":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enforce Budget"},"operation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Id"}},"type":"object","required":["messages"],"title":"ChatCompletionRequest"},"ChoiceInput":{"properties":{"kind":{"type":"string","const":"choice","title":"Kind"},"clientTurnId":{"type":"string","maxLength":180,"minLength":1,"title":"Clientturnid"},"ref":{"$ref":"#/components/schemas/InteractionRef"},"choiceId":{"type":"string","maxLength":180,"minLength":1,"title":"Choiceid"},"source":{"type":"string","const":"tap","title":"Source"}},"additionalProperties":false,"type":"object","required":["kind","clientTurnId","ref","choiceId","source"],"title":"ChoiceInput"},"CircleDirectInvite":{"properties":{"userId":{"type":"string","title":"Userid"},"role":{"type":"string","enum":["full","busy_free","travel_only"],"title":"Role","default":"busy_free"},"scopes":{"anyOf":[{"items":{"type":"string","enum":["busy_free","event_titles","event_details","travel_status","next_up","availability_windows","location_hint","trip_context","shared_plan_participation"]},"type":"array"},{"type":"null"}],"title":"Scopes"},"window":{"anyOf":[{"$ref":"#/components/schemas/WindowPayload"},{"type":"null"}]}},"type":"object","required":["userId"],"title":"CircleDirectInvite"},"ClientCreateReq":{"properties":{"name":{"type":"string","title":"Name"},"niche":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Niche"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"channels":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Channels"},"target_geo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Geo"},"aov":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Aov"},"cr":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cr"},"cac":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cac"},"contact_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Name"},"contact_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Email"},"contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Phone"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["name"],"title":"ClientCreateReq"},"ClientDetail":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"niche":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Niche"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"channels":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Channels"},"target_geo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Geo"},"aov":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Aov"},"cr":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cr"},"cac":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cac"},"contact_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Name"},"contact_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Email"},"contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Phone"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"health_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Health Score"},"missing":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Missing"},"recommendations":{"items":{"$ref":"#/components/schemas/RecommendationEmbedded"},"type":"array","title":"Recommendations"}},"type":"object","required":["id","name","recommendations"],"title":"ClientDetail"},"ClientSummary":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"niche":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Niche"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"health_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Health Score"},"missing":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Missing"},"updated_ts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Updated Ts"}},"type":"object","required":["id","name"],"title":"ClientSummary"},"ClientUpdateReq":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"niche":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Niche"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"channels":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Channels"},"target_geo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Geo"},"aov":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Aov"},"cr":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cr"},"cac":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cac"},"contact_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Name"},"contact_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Email"},"contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Phone"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"ClientUpdateReq"},"CommutePoolRequest":{"properties":{"viewerEventId":{"type":"string","title":"Viewereventid"},"peerEventId":{"type":"string","title":"Peereventid"}},"type":"object","required":["viewerEventId","peerEventId"],"title":"CommutePoolRequest"},"ConnectReq":{"properties":{"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","title":"ConnectReq"},"ContactResolveRequest":{"properties":{"rawName":{"type":"string","title":"Rawname"},"matchedContactId":{"type":"string","title":"Matchedcontactid"}},"type":"object","required":["rawName","matchedContactId"],"title":"ContactResolveRequest"},"ContextAnchor":{"properties":{"surface":{"type":"string","enum":["chat","today","schedule","event","task"],"title":"Surface","default":"chat"},"entityKind":{"anyOf":[{"type":"string","enum":["event","task"]},{"type":"null"}],"title":"Entitykind"},"entityId":{"anyOf":[{"type":"string","maxLength":180,"minLength":1},{"type":"null"}],"title":"Entityid"},"date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"title":"Date"}},"additionalProperties":false,"type":"object","title":"ContextAnchor"},"Coordinate":{"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":"Coordinate"},"DailyPayload":{"properties":{"date":{"type":"string","title":"Date"},"sleep":{"anyOf":[{"$ref":"#/components/schemas/SleepPayload"},{"type":"null"}]},"heart":{"anyOf":[{"$ref":"#/components/schemas/HeartPayload"},{"type":"null"}]},"stress":{"anyOf":[{"$ref":"#/components/schemas/StressPayload"},{"type":"null"}]},"activity":{"anyOf":[{"$ref":"#/components/schemas/ActivityPayload"},{"type":"null"}]}},"type":"object","required":["date"],"title":"DailyPayload"},"DeviceCalendarEvent":{"properties":{"id":{"type":"string","title":"Id"},"calendarId":{"type":"string","title":"Calendarid"},"title":{"type":"string","title":"Title"},"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"allDay":{"type":"boolean","title":"Allday","default":false}},"type":"object","required":["id","calendarId","title","start","end"],"title":"DeviceCalendarEvent"},"DeviceCalendarImport":{"properties":{"calendars":{"items":{"$ref":"#/components/schemas/DeviceCalendarItem"},"type":"array","title":"Calendars"},"events":{"items":{"$ref":"#/components/schemas/DeviceCalendarEvent"},"type":"array","title":"Events"},"windowStart":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Windowstart"},"windowEnd":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Windowend"}},"type":"object","required":["calendars","events"],"title":"DeviceCalendarImport"},"DeviceCalendarItem":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"DeviceCalendarItem"},"EmailCaptureAttachmentIn":{"properties":{"filename":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filename"},"mimeType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mimetype"},"sizeBytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sizebytes"},"contentId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contentid"}},"type":"object","title":"EmailCaptureAttachmentIn"},"EmailCaptureInboundPayload":{"properties":{"rawMimeBase64":{"anyOf":[{"type":"string","maxLength":683000},{"type":"null"}],"title":"Rawmimebase64"},"calendarText":{"anyOf":[{"type":"string","maxLength":40000},{"type":"null"}],"title":"Calendartext"},"sourceAuthenticated":{"type":"boolean","title":"Sourceauthenticated","default":false},"fromEmail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fromemail"},"fromName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fromname"},"to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html"},"messageId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Messageid"},"receivedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receivedat"},"attachments":{"anyOf":[{"items":{"$ref":"#/components/schemas/EmailCaptureAttachmentIn"},"type":"array"},{"type":"null"}],"title":"Attachments"}},"type":"object","title":"EmailCaptureInboundPayload"},"EmailCaptureStatusPatch":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"EmailCaptureStatusPatch"},"EmailUpdateBindingPayload":{"properties":{"uid":{"type":"string","maxLength":512,"minLength":1,"title":"Uid"},"sender":{"type":"string","maxLength":320,"minLength":3,"title":"Sender"},"sequence":{"type":"integer","minimum":0.0,"title":"Sequence"},"eventVersion":{"type":"integer","minimum":1.0,"title":"Eventversion"},"enabled":{"type":"boolean","title":"Enabled","default":false},"dependents":{"additionalProperties":{"type":"integer"},"type":"object","maxProperties":20,"title":"Dependents"}},"type":"object","required":["uid","sender","sequence","eventVersion"],"title":"EmailUpdateBindingPayload"},"EtaRequest":{"properties":{"origin":{"anyOf":[{"$ref":"#/components/schemas/GeoPoint"},{"additionalProperties":true,"type":"object"},{"type":"string"}],"title":"Origin"},"destination":{"anyOf":[{"$ref":"#/components/schemas/GeoPoint"},{"additionalProperties":true,"type":"object"},{"type":"string"}],"title":"Destination"},"departureAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departureat"},"arrivalAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arrivalat"},"mode":{"type":"string","title":"Mode","default":"driving"},"options":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Options"}},"type":"object","required":["origin","destination"],"title":"EtaRequest"},"FieldInput":{"properties":{"kind":{"type":"string","const":"field","title":"Kind"},"clientTurnId":{"type":"string","maxLength":180,"minLength":1,"title":"Clientturnid"},"ref":{"$ref":"#/components/schemas/InteractionRef"},"field":{"type":"string","maxLength":180,"minLength":1,"title":"Field"},"value":{"anyOf":[{"type":"string"},{"type":"integer"}],"title":"Value"},"source":{"type":"string","const":"picker","title":"Source"}},"additionalProperties":false,"type":"object","required":["kind","clientTurnId","ref","field","value","source"],"title":"FieldInput"},"FlightAttachRequest":{"properties":{"eventId":{"type":"string","title":"Eventid"},"carrier":{"type":"string","title":"Carrier"},"flightNumber":{"type":"string","title":"Flightnumber"},"date":{"type":"string","title":"Date"}},"type":"object","required":["eventId","carrier","flightNumber","date"],"title":"FlightAttachRequest"},"FlightRefreshRequest":{"properties":{"eventId":{"type":"string","title":"Eventid"},"notify":{"type":"boolean","title":"Notify","default":false}},"type":"object","required":["eventId"],"title":"FlightRefreshRequest"},"FlightSandboxStatusChangeRequest":{"properties":{"eventId":{"type":"string","title":"Eventid"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"delayMinutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Delayminutes"},"departureDelayMinutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Departuredelayminutes"},"arrivalDelayMinutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Arrivaldelayminutes"},"gate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gate"},"terminal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terminal"},"departureGate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departuregate"},"departureTerminal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departureterminal"},"arrivalGate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arrivalgate"},"arrivalTerminal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arrivalterminal"},"notify":{"type":"boolean","title":"Notify","default":true}},"type":"object","required":["eventId"],"title":"FlightSandboxStatusChangeRequest"},"FlowControlInput":{"properties":{"kind":{"type":"string","const":"flow_control","title":"Kind"},"clientTurnId":{"type":"string","maxLength":180,"minLength":1,"title":"Clientturnid"},"flowId":{"type":"string","maxLength":180,"minLength":1,"title":"Flowid"},"expectedFlowRevision":{"type":"integer","minimum":0.0,"title":"Expectedflowrevision"},"expectedConversationRevision":{"type":"integer","minimum":0.0,"title":"Expectedconversationrevision"},"action":{"type":"string","enum":["resume","pause","discard"],"title":"Action"}},"additionalProperties":false,"type":"object","required":["kind","clientTurnId","flowId","expectedFlowRevision","expectedConversationRevision","action"],"title":"FlowControlInput"},"FocusActivateRequest":{"properties":{"sessionId":{"type":"string","title":"Sessionid"}},"type":"object","required":["sessionId"],"title":"FocusActivateRequest"},"FocusCompleteRequest":{"properties":{"sessionId":{"type":"string","title":"Sessionid"},"aborted":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Aborted"},"notes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["sessionId"],"title":"FocusCompleteRequest"},"FocusSessionAction":{"properties":{"sessionId":{"type":"string","title":"Sessionid"}},"type":"object","required":["sessionId"],"title":"FocusSessionAction"},"FocusStartRequest":{"properties":{"durationMinutes":{"type":"integer","title":"Durationminutes","default":25},"taskTitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tasktitle"},"intention":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Intention"}},"type":"object","title":"FocusStartRequest"},"GenericOK":{"properties":{"ok":{"type":"boolean","title":"Ok","default":true}},"type":"object","title":"GenericOK"},"GeoPoint":{"properties":{"lat":{"type":"number","title":"Lat"},"lng":{"type":"number","title":"Lng"}},"type":"object","required":["lat","lng"],"title":"GeoPoint"},"GeocodeRequest":{"properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"origin":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Origin"}},"type":"object","title":"GeocodeRequest"},"GmailCaptureSetting":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"textReviewEnabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Textreviewenabled"}},"type":"object","required":["enabled"],"title":"GmailCaptureSetting"},"GoogleExportPayload":{"properties":{"accountId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accountid"}},"type":"object","title":"GoogleExportPayload"},"GoogleFinalizeReq":{"properties":{"code":{"type":"string","title":"Code"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},"type":"object","required":["code"],"title":"GoogleFinalizeReq"},"GrantUpdate":{"properties":{"role":{"anyOf":[{"type":"string","enum":["full","busy_free","travel_only"]},{"type":"null"}],"title":"Role"},"scopes":{"anyOf":[{"items":{"type":"string","enum":["busy_free","event_titles","event_details","travel_status","next_up","availability_windows","location_hint","trip_context","shared_plan_participation"]},"type":"array"},{"type":"null"}],"title":"Scopes"},"window":{"anyOf":[{"$ref":"#/components/schemas/WindowPayload"},{"type":"null"}]}},"type":"object","title":"GrantUpdate"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HeartPayload":{"properties":{"hrv":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Hrv"},"rhr":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rhr"}},"type":"object","title":"HeartPayload"},"HomeAssistantAutomationCancelReq":{"properties":{"rule":{"type":"string","title":"Rule"},"scheduleId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduleid"},"eventId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eventid"}},"type":"object","required":["rule"],"title":"HomeAssistantAutomationCancelReq"},"HomeAssistantAutomationScheduleReq":{"properties":{"rule":{"type":"string","title":"Rule"},"deliverAt":{"type":"string","title":"Deliverat"},"eventId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eventid"}},"type":"object","required":["rule","deliverAt"],"title":"HomeAssistantAutomationScheduleReq"},"HomeAssistantConnectReq":{"properties":{"baseUrl":{"type":"string","title":"Baseurl"},"token":{"type":"string","title":"Token"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"}},"type":"object","required":["baseUrl","token"],"title":"HomeAssistantConnectReq"},"HomeAssistantRule":{"properties":{"service":{"type":"string","title":"Service"},"entity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Id"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data"}},"type":"object","required":["service"],"title":"HomeAssistantRule"},"HomeAssistantRulesReq":{"properties":{"arrive":{"anyOf":[{"$ref":"#/components/schemas/HomeAssistantRule"},{"type":"null"}]},"leave":{"anyOf":[{"$ref":"#/components/schemas/HomeAssistantRule"},{"type":"null"}]}},"type":"object","title":"HomeAssistantRulesReq"},"HomeAssistantTriggerReq":{"properties":{"rule":{"type":"string","title":"Rule"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},"type":"object","required":["rule"],"title":"HomeAssistantTriggerReq"},"HubIngestRequest":{"properties":{"stream":{"type":"string","title":"Stream"},"eventType":{"type":"string","title":"Eventtype"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"occurredAt":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"},{"type":"string","format":"date-time"},{"type":"null"}],"title":"Occurredat"},"actor":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Actor"},"target":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Target"},"payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload"},"sensitivity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sensitivity"},"options":{"anyOf":[{"$ref":"#/components/schemas/HubRouteOptions"},{"type":"null"}]}},"type":"object","required":["stream","eventType"],"title":"HubIngestRequest"},"HubIngestResponse":{"properties":{"ok":{"type":"boolean","title":"Ok"},"eventId":{"type":"string","title":"Eventid"},"status":{"type":"string","title":"Status"},"routed":{"type":"boolean","title":"Routed"},"routing":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Routing"}},"type":"object","required":["ok","eventId","status","routed"],"title":"HubIngestResponse"},"HubRequeueRequest":{"properties":{"route_to_raya":{"type":"boolean","title":"Route To Raya","default":true},"correlation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Correlation Id"}},"type":"object","title":"HubRequeueRequest"},"HubRouteOptions":{"properties":{"route_to_raya":{"type":"boolean","title":"Route To Raya","default":false},"correlation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Correlation Id"}},"type":"object","title":"HubRouteOptions"},"IcloudConnectReq":{"properties":{"email":{"type":"string","title":"Email"},"appPassword":{"type":"string","title":"Apppassword"}},"type":"object","required":["email","appPassword"],"title":"IcloudConnectReq"},"ImportCommitResp":{"properties":{"documentType":{"type":"string","title":"Documenttype"},"importedCount":{"type":"integer","title":"Importedcount","default":0},"duplicateCount":{"type":"integer","title":"Duplicatecount","default":0},"importedTitles":{"items":{"type":"string"},"type":"array","title":"Importedtitles"},"dateKeys":{"items":{"type":"string"},"type":"array","title":"Datekeys"},"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Events"},"clusterId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clusterid"},"summary":{"type":"string","title":"Summary"},"summaryLines":{"items":{"type":"string"},"type":"array","title":"Summarylines"},"followUpSuggestions":{"items":{"type":"string"},"type":"array","title":"Followupsuggestions"},"travelImportSummary":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Travelimportsummary"}},"type":"object","required":["documentType","summary"],"title":"ImportCommitResp"},"ImportPreviewResp":{"properties":{"documentType":{"type":"string","title":"Documenttype"},"summary":{"type":"string","title":"Summary"},"summaryLines":{"items":{"type":"string"},"type":"array","title":"Summarylines"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"},"clarificationQuestions":{"items":{"type":"string"},"type":"array","title":"Clarificationquestions"},"followUpSuggestions":{"items":{"type":"string"},"type":"array","title":"Followupsuggestions"},"proposedBlocks":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Proposedblocks"},"draftEvents":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Draftevents"},"canImportDirectly":{"type":"boolean","title":"Canimportdirectly","default":false},"extracted":{"additionalProperties":true,"type":"object","title":"Extracted"},"ambiguousContacts":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Ambiguouscontacts"}},"type":"object","required":["documentType","summary"],"title":"ImportPreviewResp"},"InboxListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/InboxNotificationResponse"},"type":"array","title":"Items"},"unreadCount":{"type":"integer","title":"Unreadcount"}},"type":"object","required":["items","unreadCount"],"title":"InboxListResponse"},"InboxNotificationResponse":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","title":"Kind"},"title":{"type":"string","title":"Title"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"eventId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eventid"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"channels":{"items":{"type":"string"},"type":"array","title":"Channels"},"createdTs":{"type":"integer","title":"Createdts"},"readTs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Readts"}},"type":"object","required":["id","kind","title","createdTs"],"title":"InboxNotificationResponse"},"InsightCreateReq":{"properties":{"title":{"type":"string","title":"Title"},"gist":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gist"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},"type":"object","required":["title"],"title":"InsightCreateReq"},"InsightOut":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"gist":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gist"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},"type":"object","required":["id","title"],"title":"InsightOut"},"InteractionRef":{"properties":{"interactionId":{"type":"string","maxLength":180,"minLength":1,"title":"Interactionid"},"sourceMessageId":{"type":"string","maxLength":180,"minLength":1,"title":"Sourcemessageid"},"flowId":{"type":"string","maxLength":180,"minLength":1,"title":"Flowid"},"flowRevision":{"type":"integer","minimum":0.0,"title":"Flowrevision"},"conversationRevision":{"type":"integer","minimum":0.0,"title":"Conversationrevision"}},"additionalProperties":false,"type":"object","required":["interactionId","sourceMessageId","flowId","flowRevision","conversationRevision"],"title":"InteractionRef"},"InviteAccept":{"properties":{"token":{"type":"string","title":"Token"},"action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action"}},"type":"object","required":["token"],"title":"InviteAccept"},"InviteLinkCreate":{"properties":{"role":{"type":"string","enum":["full","busy_free","travel_only"],"title":"Role"},"scopes":{"anyOf":[{"items":{"type":"string","enum":["busy_free","event_titles","event_details","travel_status","next_up","availability_windows","location_hint","trip_context","shared_plan_participation"]},"type":"array"},{"type":"null"}],"title":"Scopes"},"expiresInHours":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expiresinhours"},"maxUses":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Maxuses"},"allowedEmail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allowedemail"},"window":{"anyOf":[{"$ref":"#/components/schemas/WindowPayload"},{"type":"null"}]},"blockRef":{"anyOf":[{"$ref":"#/components/schemas/BlockRefPayload"},{"type":"null"}]}},"type":"object","required":["role"],"title":"InviteLinkCreate"},"LateRequest":{"properties":{"eventId":{"type":"string","title":"Eventid"},"minutes":{"type":"integer","maximum":60.0,"minimum":1.0,"title":"Minutes","default":5}},"type":"object","required":["eventId"],"title":"LateRequest"},"LeaveTimeCancelRequest":{"properties":{"scheduleId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduleid"},"eventId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eventid"}},"type":"object","title":"LeaveTimeCancelRequest"},"LeaveTimeScheduleRequest":{"properties":{"deliverAt":{"type":"string","title":"Deliverat"},"title":{"type":"string","title":"Title"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"eventId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eventid"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"channelId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channelid"}},"type":"object","required":["deliverAt","title"],"title":"LeaveTimeScheduleRequest"},"LifeRuleException":{"properties":{"id":{"type":"string","title":"Id"},"ruleId":{"type":"string","title":"Ruleid"},"date":{"type":"string","title":"Date"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"expiresAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiresat"}},"type":"object","required":["id","ruleId","date"],"title":"LifeRuleException"},"LifeRules":{"properties":{"noMeetingsBefore":{"type":"integer","maximum":14.0,"minimum":4.0,"title":"Nomeetingsbefore","description":"No meetings/proposals scheduled before this hour (local, 24h)","default":9},"noMeetingsAfter":{"type":"integer","maximum":24.0,"minimum":12.0,"title":"Nomeetingsafter","description":"No meetings/proposals scheduled at or after this hour (local, 24h)","default":19},"focusOnlyMornings":{"type":"boolean","title":"Focusonlymornings","description":"Reserve morning slots (before 12) exclusively for Deep Work","default":false},"deepWorkDays":{"items":{"type":"string","enum":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},"type":"array","title":"Deepworkdays","description":"Weekday names (Mon/Tue/Wed/Thu/Fri/Sat/Sun) reserved for focus work"},"protectWeekends":{"type":"boolean","title":"Protectweekends","description":"Never propose slots on Saturday or Sunday","default":true},"maxMeetingsPerDay":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Maxmeetingsperday","description":"Hard cap on meeting-type events per day in proposals","default":5}},"type":"object","title":"LifeRules","description":"User scheduling constraints/preferences for the weekly planner."},"LifeRulesDocument":{"properties":{"noMeetingsBefore":{"type":"integer","maximum":14.0,"minimum":4.0,"title":"Nomeetingsbefore","description":"No meetings/proposals scheduled before this hour (local, 24h)","default":9},"noMeetingsAfter":{"type":"integer","maximum":24.0,"minimum":12.0,"title":"Nomeetingsafter","description":"No meetings/proposals scheduled at or after this hour (local, 24h)","default":19},"focusOnlyMornings":{"type":"boolean","title":"Focusonlymornings","description":"Reserve morning slots (before 12) exclusively for Deep Work","default":false},"deepWorkDays":{"items":{"type":"string","enum":["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},"type":"array","title":"Deepworkdays","description":"Weekday names (Mon/Tue/Wed/Thu/Fri/Sat/Sun) reserved for focus work"},"protectWeekends":{"type":"boolean","title":"Protectweekends","description":"Never propose slots on Saturday or Sunday","default":true},"maxMeetingsPerDay":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Maxmeetingsperday","description":"Hard cap on meeting-type events per day in proposals","default":5},"weeklyLifeRules":{"anyOf":[{"$ref":"#/components/schemas/WeeklyLifeRules"},{"type":"null"}]}},"type":"object","title":"LifeRulesDocument"},"LocationPayload":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon"}},"type":"object","title":"LocationPayload"},"LoginReq":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginReq"},"LogoutReq":{"properties":{"refresh_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token"}},"type":"object","title":"LogoutReq"},"MatrixPair":{"properties":{"fromEventId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fromeventid"},"toEventId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Toeventid"},"departureAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departureat"},"origin":{"anyOf":[{"$ref":"#/components/schemas/GeoPoint"},{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Origin"},"destination":{"anyOf":[{"$ref":"#/components/schemas/GeoPoint"},{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Destination"}},"type":"object","title":"MatrixPair"},"MatrixRequest":{"properties":{"pairs":{"items":{"$ref":"#/components/schemas/MatrixPair"},"type":"array","title":"Pairs"},"mode":{"type":"string","title":"Mode","default":"driving"}},"type":"object","title":"MatrixRequest"},"MessageCreateReq":{"properties":{"operation_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Operation Id"},"dialogue_schema":{"anyOf":[{"type":"integer","maximum":2.0,"minimum":2.0},{"type":"null"}],"title":"Dialogue Schema"},"dialogue_revision":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Dialogue Revision"},"reply_to":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Reply To"},"input_source":{"anyOf":[{"type":"string","enum":["text","voice"]},{"type":"null"}],"title":"Input Source"},"utterance_id":{"anyOf":[{"type":"string","maxLength":140,"minLength":1},{"type":"null"}],"title":"Utterance Id"},"context_anchor":{"anyOf":[{"$ref":"#/components/schemas/ContextAnchor"},{"type":"null"}]},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"attachments":{"anyOf":[{"items":{"$ref":"#/components/schemas/AttachmentIn"},"type":"array"},{"type":"null"}],"title":"Attachments"},"route_hint":{"anyOf":[{"$ref":"#/components/schemas/RouteHintIn"},{"type":"null"}]}},"type":"object","title":"MessageCreateReq"},"MessageLogIn":{"properties":{"role":{"type":"string","title":"Role"},"content":{"type":"string","title":"Content"},"created_ts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Created Ts"}},"type":"object","required":["role","content"],"title":"MessageLogIn"},"MessageLogReq":{"properties":{"messages":{"items":{"$ref":"#/components/schemas/MessageLogIn"},"type":"array","title":"Messages"}},"type":"object","required":["messages"],"title":"MessageLogReq"},"MetaCounts":{"properties":{"services":{"type":"integer","title":"Services"},"clients":{"type":"integer","title":"Clients"},"proposals":{"type":"integer","title":"Proposals"},"packages":{"type":"integer","title":"Packages"},"insights":{"type":"integer","title":"Insights"},"recommendations":{"type":"integer","title":"Recommendations"}},"type":"object","required":["services","clients","proposals","packages","insights","recommendations"],"title":"MetaCounts"},"MiddayAutoRequest":{"properties":{"collisions":{"items":{"type":"string"},"type":"array","title":"Collisions","default":[]},"freedMinutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Freedminutes"},"forced":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Forced"}},"type":"object","title":"MiddayAutoRequest"},"MiddayManualRequest":{"properties":{"suggestions":{"items":{"type":"string"},"type":"array","title":"Suggestions","default":[]},"slot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slot"}},"type":"object","title":"MiddayManualRequest"},"OAuthFinalizeReq":{"properties":{"code":{"type":"string","title":"Code"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},"type":"object","required":["code"],"title":"OAuthFinalizeReq"},"OnboardingProfileUpdate":{"properties":{"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"socials":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Socials"},"goals":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Goals"},"business_profile":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Business Profile"}},"type":"object","title":"OnboardingProfileUpdate"},"OnboardingStatus":{"properties":{"onboarding_complete":{"type":"boolean","title":"Onboarding Complete"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"socials":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Socials"},"goals":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Goals"},"research_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Research Job Id"},"business_profile":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Business Profile"}},"type":"object","required":["onboarding_complete"],"title":"OnboardingStatus"},"OuraFinalizeReq":{"properties":{"code":{"type":"string","title":"Code"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},"type":"object","required":["code"],"title":"OuraFinalizeReq"},"PackageCreateReq":{"properties":{"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"items":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Items"},"price":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Price"}},"type":"object","required":["title"],"title":"PackageCreateReq"},"PackageCreateResp":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"}},"type":"object","required":["id","title"],"title":"PackageCreateResp"},"PackageSummary":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"items":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Items"},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price"}},"type":"object","required":["id","title"],"title":"PackageSummary"},"PackageUpdateReq":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"items":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Items"},"price":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Price"}},"type":"object","title":"PackageUpdateReq"},"PermissionPayload":{"properties":{"role":{"type":"string","enum":["full","busy_free","travel_only"],"title":"Role"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"}},"type":"object","required":["role"],"title":"PermissionPayload"},"PlaceSelection":{"properties":{"selectionId":{"type":"string","title":"Selectionid"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"coordinate":{"$ref":"#/components/schemas/Coordinate"},"address":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Address"},"source":{"$ref":"#/components/schemas/PlaceSource"}},"additionalProperties":false,"type":"object","required":["selectionId","name","coordinate","source"],"title":"PlaceSelection"},"PlaceSource":{"properties":{"kind":{"type":"string","enum":["map_selection","glasses_selection"],"title":"Kind"},"sourceName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Sourcename"},"sourceUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Sourceurl"},"checkedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checkedat"}},"additionalProperties":false,"type":"object","required":["kind"],"title":"PlaceSource"},"PlaceVisitInput":{"properties":{"schemaVersion":{"type":"integer","const":1,"title":"Schemaversion"},"clientTurnId":{"type":"string","maxLength":180,"minLength":1,"title":"Clientturnid"},"expectedConversationRevision":{"type":"integer","minimum":0.0,"title":"Expectedconversationrevision"},"place":{"$ref":"#/components/schemas/PlaceSelection"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","title":"Date"},"timezone":{"type":"string","title":"Timezone"},"startAt":{"type":"string","title":"Startat"},"durationMin":{"type":"integer","maximum":240.0,"minimum":5.0,"title":"Durationmin"}},"additionalProperties":false,"type":"object","required":["schemaVersion","clientTurnId","expectedConversationRevision","place","title","date","timezone","startAt","durationMin"],"title":"PlaceVisitInput"},"PlanCounterPayload":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Title"},"startAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Startat"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endat"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notes"},"location":{"anyOf":[{"$ref":"#/components/schemas/LocationPayload"},{"type":"null"}]},"message":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Message"}},"type":"object","title":"PlanCounterPayload"},"PlanCreate":{"properties":{"operation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Id"},"date":{"type":"string","title":"Date"},"items":{"items":{"$ref":"#/components/schemas/TimeboxItem"},"type":"array","title":"Items"},"autoBreaks":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Autobreaks"}},"type":"object","required":["date","items"],"title":"PlanCreate"},"PlanMessagePayload":{"properties":{"body":{"type":"string","maxLength":2000,"minLength":1,"title":"Body"}},"type":"object","required":["body"],"title":"PlanMessagePayload"},"PlanPreviewReq":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"goal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal"},"service":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service"},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"},"deadline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deadline"}},"type":"object","title":"PlanPreviewReq"},"PlanPreviewResp":{"properties":{"stages":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Stages"},"tasks":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Tasks"},"schedule":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Schedule"}},"type":"object","required":["stages","tasks","schedule"],"title":"PlanPreviewResp"},"PlanProposePayload":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"startAt":{"type":"string","minLength":1,"title":"Startat"},"endAt":{"type":"string","minLength":1,"title":"Endat"},"participantUserIds":{"items":{"type":"string"},"type":"array","title":"Participantuserids"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notes"},"location":{"anyOf":[{"$ref":"#/components/schemas/LocationPayload"},{"type":"null"}]}},"type":"object","required":["title","startAt","endAt"],"title":"PlanProposePayload"},"PlanResponsePayload":{"properties":{"expectedCounterRevision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expectedcounterrevision"}},"type":"object","title":"PlanResponsePayload"},"PlannerFeedbackRequest":{"properties":{"event_id":{"type":"string","title":"Event Id"},"status":{"type":"string","enum":["confirmed","incorrect","correction_requested"],"title":"Status"},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","required":["event_id","status"],"title":"PlannerFeedbackRequest"},"PreviewShareRequest":{"properties":{"date":{"type":"string","title":"Date"},"role":{"anyOf":[{"type":"string","enum":["full","busy_free","travel_only"]},{"type":"null"}],"title":"Role"},"scopes":{"anyOf":[{"items":{"type":"string","enum":["busy_free","event_titles","event_details","travel_status","next_up","availability_windows","location_hint","trip_context","shared_plan_participation"]},"type":"array"},{"type":"null"}],"title":"Scopes"},"window":{"anyOf":[{"$ref":"#/components/schemas/WindowPayload"},{"type":"null"}]},"blockRef":{"anyOf":[{"$ref":"#/components/schemas/BlockRefPayload"},{"type":"null"}]}},"type":"object","required":["date"],"title":"PreviewShareRequest"},"PreviousProposalRef":{"properties":{"proposalId":{"type":"string","maxLength":180,"minLength":1,"title":"Proposalid"},"revision":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[0-9a-f]{64}$","title":"Revision"}},"additionalProperties":false,"type":"object","required":["proposalId","revision"],"title":"PreviousProposalRef"},"ProjectCreateIn":{"properties":{"name":{"type":"string","title":"Name"},"client":{"type":"string","title":"Client"},"industry":{"type":"string","title":"Industry"},"location":{"type":"string","title":"Location"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"budget":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Budget"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["name","client","industry","location"],"title":"ProjectCreateIn"},"ProjectCreateResp":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"}},"type":"object","required":["id","name","status"],"title":"ProjectCreateResp"},"ProjectDetail":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"client":{"type":"string","title":"Client"},"industry":{"type":"string","title":"Industry"},"location":{"type":"string","title":"Location"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"budget":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Budget"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"status":{"type":"string","title":"Status"},"catalog":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Catalog"},"research":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Research"},"created_ts":{"type":"integer","title":"Created Ts"},"goal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal"}},"type":"object","required":["id","name","client","industry","location","status","created_ts"],"title":"ProjectDetail"},"ProjectSummary":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"},"client":{"type":"string","title":"Client"},"industry":{"type":"string","title":"Industry"},"location":{"type":"string","title":"Location"}},"type":"object","required":["id","name","status","client","industry","location"],"title":"ProjectSummary"},"ProjectUpdateIn":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"client":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client"},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"budget":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Budget"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"goal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},"type":"object","title":"ProjectUpdateIn"},"ProposalAIApplyReq":{"properties":{"draft":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Draft"},"overwrite_title":{"type":"boolean","title":"Overwrite Title","default":false},"discount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Discount"}},"type":"object","title":"ProposalAIApplyReq"},"ProposalCommand":{"properties":{"commandId":{"type":"string","maxLength":180,"minLength":1,"title":"Commandid"},"proposalId":{"type":"string","maxLength":180,"minLength":1,"title":"Proposalid"},"revision":{"type":"string","maxLength":64,"minLength":64,"title":"Revision"},"decision":{"type":"string","enum":["confirm","cancel"],"title":"Decision"}},"additionalProperties":false,"type":"object","required":["commandId","proposalId","revision","decision"],"title":"ProposalCommand"},"ProposalCreatePayload":{"properties":{"eventId":{"type":"string","title":"Eventid"},"recipientId":{"type":"string","title":"Recipientid"},"originalStartMin":{"type":"integer","title":"Originalstartmin"},"proposedStartMin":{"type":"integer","title":"Proposedstartmin"},"originalStart":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Originalstart"},"originalEnd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Originalend"},"proposedStart":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proposedstart"},"proposedEnd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proposedend"}},"type":"object","required":["eventId","recipientId","originalStartMin","proposedStartMin"],"title":"ProposalCreatePayload"},"ProposalCreateReq":{"properties":{"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"services":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Services"},"items":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Items"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"discount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Discount"},"amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amount"},"status":{"type":"string","title":"Status","default":"draft"}},"type":"object","required":["title"],"title":"ProposalCreateReq"},"ProposalCreateResp":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total"}},"type":"object","required":["id","title"],"title":"ProposalCreateResp"},"ProposalDetail":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"items":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Items"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"discount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Discount"},"total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total"},"status":{"type":"string","title":"Status"},"email_polished":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Polished"},"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"},"tracking_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tracking Token"},"sent_ts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sent Ts"},"viewed_ts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Viewed Ts"},"view_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"View Count"}},"type":"object","required":["id","title","status"],"title":"ProposalDetail"},"ProposalSummary":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"},"status":{"type":"string","title":"Status"},"total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total"},"updated_ts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Updated Ts"}},"type":"object","required":["id","title","status"],"title":"ProposalSummary"},"ProposalUpdateReq":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"services":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Services"},"items":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Items"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"discount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Discount"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"email_polished":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Polished"}},"type":"object","title":"ProposalUpdateReq"},"PushRegisterRequest":{"properties":{"token":{"type":"string","minLength":8,"title":"Token"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"},"deviceId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deviceid"},"deviceLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Devicelabel"},"appVersion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appversion"}},"type":"object","required":["token"],"title":"PushRegisterRequest"},"ReEntryStateBody":{"properties":{"lastSeenAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastseenat"},"lastRebuildAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastrebuildat"},"lastDismissedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastdismissedat"},"band":{"type":"string","title":"Band","default":"none"},"dismissedItemIds":{"items":{"type":"string"},"type":"array","title":"Dismisseditemids"},"archivedPressureItemIds":{"items":{"type":"string"},"type":"array","title":"Archivedpressureitemids"}},"type":"object","title":"ReEntryStateBody"},"ReEntryStateResponse":{"properties":{"lastSeenAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastseenat"},"lastRebuildAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastrebuildat"},"lastDismissedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastdismissedat"},"band":{"type":"string","title":"Band","default":"none"},"dismissedItemIds":{"items":{"type":"string"},"type":"array","title":"Dismisseditemids"},"archivedPressureItemIds":{"items":{"type":"string"},"type":"array","title":"Archivedpressureitemids"},"updatedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updatedat"}},"type":"object","title":"ReEntryStateResponse"},"ReEntryStateSyncRequest":{"properties":{"mode":{"type":"string","title":"Mode","default":"merge"},"state":{"$ref":"#/components/schemas/ReEntryStateBody"}},"type":"object","required":["state"],"title":"ReEntryStateSyncRequest"},"ReadbackRequest":{"properties":{"generation":{"type":"integer","minimum":0.0,"title":"Generation"}},"additionalProperties":false,"type":"object","required":["generation"],"title":"ReadbackRequest"},"RebalanceIn":{"properties":{"date":{"type":"string","title":"Date"},"timeZone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"context":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Context"},"energy":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Energy"},"preferences":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Preferences"}},"type":"object","required":["date"],"title":"RebalanceIn"},"RebalanceNextRequest":{"properties":{"schemaVersion":{"type":"integer","const":1,"title":"Schemaversion","default":1},"clientTurnId":{"type":"string","maxLength":180,"minLength":1,"title":"Clientturnid"},"expectedConversationRevision":{"type":"integer","minimum":0.0,"title":"Expectedconversationrevision"},"anchorEventId":{"type":"string","maxLength":180,"minLength":1,"title":"Anchoreventid"},"anchorVersion":{"type":"integer","minimum":0.0,"title":"Anchorversion"},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","title":"Date"},"timezone":{"type":"string","maxLength":100,"minLength":1,"title":"Timezone"},"driftMin":{"type":"integer","maximum":120.0,"minimum":1.0,"title":"Driftmin"},"excludedEventIds":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Excludedeventids"},"previousProposal":{"anyOf":[{"$ref":"#/components/schemas/PreviousProposalRef"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["clientTurnId","expectedConversationRevision","anchorEventId","anchorVersion","date","timezone","driftMin"],"title":"RebalanceNextRequest"},"RecommendationCreateReq":{"properties":{"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"title":{"type":"string","title":"Title"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"effect":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Effect"}},"type":"object","required":["title"],"title":"RecommendationCreateReq"},"RecommendationEmbedded":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","title":"Kind"},"title":{"type":"string","title":"Title"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"effect":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Effect"}},"type":"object","required":["id","kind","title"],"title":"RecommendationEmbedded"},"RecommendationOut":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","title":"Kind"},"title":{"type":"string","title":"Title"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"},"effect":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Effect"}},"type":"object","required":["id","kind","title"],"title":"RecommendationOut"},"RecoveryDayRule":{"properties":{"id":{"type":"string","title":"Id"},"daysOfWeek":{"items":{"type":"integer"},"type":"array","title":"Daysofweek"},"maxMeetingMinutes":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":0.0},{"type":"null"}],"title":"Maxmeetingminutes"},"maxHardCommitments":{"anyOf":[{"type":"integer","maximum":24.0,"minimum":0.0},{"type":"null"}],"title":"Maxhardcommitments"},"preferQuietHomeMode":{"type":"boolean","title":"Preferquiethomemode","default":false},"strictness":{"anyOf":[{"type":"string","enum":["soft","normal","hard"]},{"type":"null"}],"title":"Strictness"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["id","daysOfWeek"],"title":"RecoveryDayRule"},"RefreshReq":{"properties":{"refresh_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token"}},"type":"object","title":"RefreshReq"},"RegisterReq":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["email","password"],"title":"RegisterReq"},"ResearchStartReq":{"properties":{"topic":{"type":"string","title":"Topic"},"depth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Depth","default":"standard"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},"type":"object","required":["topic"],"title":"ResearchStartReq"},"ResearchTriggerResp":{"properties":{"ok":{"type":"boolean","title":"Ok"},"status":{"type":"string","title":"Status"},"id":{"type":"string","title":"Id"}},"type":"object","required":["ok","status","id"],"title":"ResearchTriggerResp"},"RouteHintIn":{"properties":{"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"suggested_task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suggested Task"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"signals":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Signals"}},"type":"object","title":"RouteHintIn"},"RuntimeLocationReq":{"properties":{"lat":{"type":"number","title":"Lat"},"lng":{"type":"number","title":"Lng"},"accuracy":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Accuracy"},"moving":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Moving"},"updatedAt":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Updatedat"}},"additionalProperties":false,"type":"object","required":["lat","lng"],"title":"RuntimeLocationReq"},"SchedulerAllocateRequest":{"properties":{"title":{"type":"string","title":"Title"},"hours":{"type":"number","title":"Hours"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"service_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Id"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"plan":{"anyOf":[{"items":{"$ref":"#/components/schemas/SchedulerMemberHours"},"type":"array"},{"type":"null"}],"title":"Plan"},"strict_role":{"type":"boolean","title":"Strict Role","default":false},"exclude_roles":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude Roles"},"strategy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Strategy"},"assignment_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignment Key"}},"type":"object","required":["title","hours"],"title":"SchedulerAllocateRequest"},"SchedulerAllocateResp":{"properties":{"ok":{"type":"boolean","title":"Ok"},"total_assigned":{"type":"number","title":"Total Assigned"},"created_assignment_ids":{"items":{"type":"string"},"type":"array","title":"Created Assignment Ids"},"assignment_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignment Key"}},"type":"object","required":["ok","total_assigned","created_assignment_ids"],"title":"SchedulerAllocateResp"},"SchedulerAllocation":{"properties":{"member_id":{"type":"string","title":"Member Id"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"proposed_hours":{"type":"number","title":"Proposed Hours"},"free_hours_before":{"type":"number","title":"Free Hours Before"},"explanations":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Explanations"}},"type":"object","required":["member_id","name","role","proposed_hours","free_hours_before"],"title":"SchedulerAllocation"},"SchedulerConfigOut":{"properties":{"weight_role_match":{"type":"number","title":"Weight Role Match"},"weight_free_ratio":{"type":"number","title":"Weight Free Ratio"},"weight_capacity":{"type":"number","title":"Weight Capacity"},"weight_recent_inverse":{"type":"number","title":"Weight Recent Inverse"},"recent_window_hours":{"type":"integer","title":"Recent Window Hours"}},"type":"object","required":["weight_role_match","weight_free_ratio","weight_capacity","weight_recent_inverse","recent_window_hours"],"title":"SchedulerConfigOut"},"SchedulerConfigUpdate":{"properties":{"weight_role_match":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Role Match"},"weight_free_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Free Ratio"},"weight_capacity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Capacity"},"weight_recent_inverse":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Recent Inverse"},"recent_window_hours":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Recent Window Hours"}},"type":"object","title":"SchedulerConfigUpdate"},"SchedulerMemberHours":{"properties":{"member_id":{"type":"string","title":"Member Id"},"hours":{"type":"number","title":"Hours"}},"type":"object","required":["member_id","hours"],"title":"SchedulerMemberHours"},"SchedulerSuggestRequest":{"properties":{"title":{"type":"string","title":"Title"},"hours":{"type":"number","title":"Hours"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"service_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Id"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"strict_role":{"type":"boolean","title":"Strict Role","default":false},"exclude_roles":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude Roles"},"strategy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Strategy"}},"type":"object","required":["title","hours"],"title":"SchedulerSuggestRequest"},"SchedulerSuggestResp":{"properties":{"status":{"type":"string","title":"Status"},"requested_hours":{"type":"number","title":"Requested Hours"},"total_assignable_hours":{"type":"number","title":"Total Assignable Hours"},"allocations":{"items":{"$ref":"#/components/schemas/SchedulerAllocation"},"type":"array","title":"Allocations"},"unallocated_hours":{"type":"number","title":"Unallocated Hours"},"explanations":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Explanations"}},"type":"object","required":["status","requested_hours","total_assignable_hours","allocations","unallocated_hours"],"title":"SchedulerSuggestResp"},"SendReq":{"properties":{"to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To"}},"type":"object","title":"SendReq"},"SendRequestPayload":{"properties":{"userId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Userid"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Handle"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"message":{"anyOf":[{"type":"string","maxLength":280},{"type":"null"}],"title":"Message"}},"type":"object","title":"SendRequestPayload"},"ServiceCreateReq":{"properties":{"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"kpis":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Kpis"},"price":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"}},"type":"object","required":["title"],"title":"ServiceCreateReq"},"ServiceCreateResp":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"}},"type":"object","required":["id","title"],"title":"ServiceCreateResp"},"ServiceOut":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"kpis":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Kpis"},"price":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"},"created_ts":{"type":"integer","title":"Created Ts"}},"type":"object","required":["id","title","created_ts"],"title":"ServiceOut"},"ServiceUpdateReq":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"kpis":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Kpis"},"price":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories"}},"type":"object","title":"ServiceUpdateReq"},"SessionCreateReq":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"type":"object","title":"SessionCreateReq"},"SleepPayload":{"properties":{"durationMin":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Durationmin"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"}},"type":"object","title":"SleepPayload"},"SleepProtectionRule":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":false},"windDownStart":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Winddownstart"},"sleepStart":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sleepstart"},"wakeTarget":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waketarget"},"protectMorningRecovery":{"type":"boolean","title":"Protectmorningrecovery","default":false},"strictness":{"type":"string","enum":["soft","normal","hard"],"title":"Strictness","default":"hard"}},"type":"object","title":"SleepProtectionRule"},"SpeechRequest":{"properties":{"text":{"type":"string","title":"Text"},"voice_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice Id"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"operation_id":{"anyOf":[{"type":"string","maxLength":180,"minLength":1},{"type":"null"}],"title":"Operation Id"}},"type":"object","required":["text"],"title":"SpeechRequest"},"StartResearchRequest":{"properties":{"topic":{"type":"string","title":"Topic"},"depth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Depth"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},"type":"object","required":["topic"],"title":"StartResearchRequest"},"StressPayload":{"properties":{"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"}},"type":"object","title":"StressPayload"},"TaskCreateIn":{"properties":{"title":{"type":"string","title":"Title"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"due":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due"},"dueDate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duedate"},"scheduledStartAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduledstartat"},"scheduledEndAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduledendat"},"estimateMin":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Estimatemin"},"priority":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Priority"},"snoozedUntil":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snoozeduntil"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"sourceEvidence":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Sourceevidence"},"commitReceipt":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Commitreceipt"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","required":["title"],"title":"TaskCreateIn"},"TaskPatchIn":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"due":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due"},"dueDate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duedate"},"scheduledStartAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduledstartat"},"scheduledEndAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduledendat"},"estimateMin":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Estimatemin"},"priority":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Priority"},"snoozedUntil":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snoozeduntil"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"sourceEvidence":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Sourceevidence"},"commitReceipt":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Commitreceipt"},"version":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Version"}},"type":"object","title":"TaskPatchIn"},"TeamAssignmentCreate":{"properties":{"member_id":{"type":"string","title":"Member Id"},"title":{"type":"string","title":"Title"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"service_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Id"},"hours":{"type":"number","title":"Hours","default":0}},"type":"object","required":["member_id","title"],"title":"TeamAssignmentCreate"},"TeamAssignmentOut":{"properties":{"member_id":{"type":"string","title":"Member Id"},"title":{"type":"string","title":"Title"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"service_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Id"},"hours":{"type":"number","title":"Hours","default":0},"id":{"type":"string","title":"Id"},"user_id":{"type":"string","title":"User Id"},"created_ts":{"type":"integer","title":"Created Ts"}},"type":"object","required":["member_id","title","id","user_id","created_ts"],"title":"TeamAssignmentOut"},"TeamCapacityForecastEntry":{"properties":{"member_id":{"type":"string","title":"Member Id"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"capacity_hours":{"type":"integer","title":"Capacity Hours"},"current_assigned_hours":{"type":"number","title":"Current Assigned Hours"},"free_hours":{"type":"number","title":"Free Hours"},"two_week_capacity":{"type":"number","title":"Two Week Capacity"},"two_week_committed":{"type":"number","title":"Two Week Committed"},"projected_free_hours":{"type":"number","title":"Projected Free Hours"},"utilization_ratio":{"type":"number","title":"Utilization Ratio"},"wellness_risk":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wellness Risk"}},"type":"object","required":["member_id","name","role","capacity_hours","current_assigned_hours","free_hours","two_week_capacity","two_week_committed","projected_free_hours","utilization_ratio"],"title":"TeamCapacityForecastEntry"},"TeamCapacityMemberOut":{"properties":{"member_id":{"type":"string","title":"Member Id"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"capacity_hours":{"type":"integer","title":"Capacity Hours"},"assigned_hours":{"type":"number","title":"Assigned Hours"},"free_hours":{"type":"number","title":"Free Hours"}},"type":"object","required":["member_id","name","role","capacity_hours","assigned_hours","free_hours"],"title":"TeamCapacityMemberOut"},"TeamFormationCandidateOut":{"properties":{"member_id":{"type":"string","title":"Member Id"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"score":{"type":"number","title":"Score"},"free_hours":{"type":"number","title":"Free Hours"},"capacity_hours":{"type":"integer","title":"Capacity Hours"},"performance_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Performance Score"},"wellness_risk":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wellness Risk"},"factors":{"additionalProperties":{"type":"number"},"type":"object","title":"Factors"},"skills_matched":{"items":{"type":"string"},"type":"array","title":"Skills Matched"},"skills_missing":{"items":{"type":"string"},"type":"array","title":"Skills Missing"},"rationale":{"type":"string","title":"Rationale"}},"type":"object","required":["member_id","name","role","score","free_hours","capacity_hours","factors","skills_matched","skills_missing","rationale"],"title":"TeamFormationCandidateOut"},"TeamFormationDecisionRequest":{"properties":{"log_id":{"type":"string","title":"Log Id"},"option_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Option Id"},"override_member_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Override Member Ids"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["log_id"],"title":"TeamFormationDecisionRequest"},"TeamFormationDecisionResponse":{"properties":{"ok":{"type":"boolean","title":"Ok"},"log_id":{"type":"string","title":"Log Id"},"decision":{"additionalProperties":true,"type":"object","title":"Decision"}},"type":"object","required":["ok","log_id","decision"],"title":"TeamFormationDecisionResponse"},"TeamFormationOptionOut":{"properties":{"option_id":{"type":"string","title":"Option Id"},"label":{"type":"string","title":"Label"},"members":{"items":{"$ref":"#/components/schemas/TeamFormationCandidateOut"},"type":"array","title":"Members"},"average_score":{"type":"number","title":"Average Score"},"estimated_hours_covered":{"type":"number","title":"Estimated Hours Covered"},"notes":{"items":{"type":"string"},"type":"array","title":"Notes"}},"type":"object","required":["option_id","label","members","average_score","estimated_hours_covered","notes"],"title":"TeamFormationOptionOut"},"TeamFormationRequest":{"properties":{"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"service_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"required_skills":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Required Skills"},"nice_to_have_skills":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Nice To Have Skills"},"team_size":{"type":"integer","title":"Team Size","default":1},"hours_per_member":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Hours Per Member"},"total_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Hours"},"preferred_member_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Preferred Member Ids"},"avoid_member_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Avoid Member Ids"}},"type":"object","title":"TeamFormationRequest"},"TeamFormationSuggestResponse":{"properties":{"log_id":{"type":"string","title":"Log Id"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"service_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"options":{"items":{"$ref":"#/components/schemas/TeamFormationOptionOut"},"type":"array","title":"Options"},"bench":{"items":{"$ref":"#/components/schemas/TeamFormationCandidateOut"},"type":"array","title":"Bench"},"request_echo":{"additionalProperties":true,"type":"object","title":"Request Echo"}},"type":"object","required":["log_id","options","bench","request_echo"],"title":"TeamFormationSuggestResponse"},"TeamMemberCreate":{"properties":{"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"capacity_hours":{"type":"integer","title":"Capacity Hours","default":40},"skills":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Skills"},"performance_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Performance Score"},"wellness_risk":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wellness Risk"}},"type":"object","required":["name","role"],"title":"TeamMemberCreate"},"TeamMemberOut":{"properties":{"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"capacity_hours":{"type":"integer","title":"Capacity Hours","default":40},"skills":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Skills"},"performance_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Performance Score"},"wellness_risk":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wellness Risk"},"id":{"type":"string","title":"Id"},"active":{"type":"boolean","title":"Active"},"created_ts":{"type":"integer","title":"Created Ts"}},"type":"object","required":["name","role","id","active","created_ts"],"title":"TeamMemberOut"},"TeamMemberUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"capacity_hours":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Capacity Hours"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"},"skills":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Skills"},"performance_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Performance Score"},"wellness_risk":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wellness Risk"}},"type":"object","title":"TeamMemberUpdate"},"TeslaNavigationReq":{"properties":{"vehicle_id":{"type":"string","title":"Vehicle Id"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"destination":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination"},"place":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Place"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon"},"payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload"}},"type":"object","required":["vehicle_id"],"title":"TeslaNavigationReq"},"TeslaPreconditionReq":{"properties":{"vehicle_id":{"type":"string","title":"Vehicle Id"},"enable":{"type":"boolean","title":"Enable","default":true},"temperature_c":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature C"},"temperature_f":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature F"},"payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload"}},"type":"object","required":["vehicle_id"],"title":"TeslaPreconditionReq"},"TeslaPrepScheduleReq":{"properties":{"vehicle_id":{"type":"string","title":"Vehicle Id"},"event_id":{"type":"string","title":"Event Id"},"departure_at":{"type":"string","title":"Departure At"},"temperature_c":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature C"},"enable":{"type":"boolean","title":"Enable","default":true}},"type":"object","required":["vehicle_id","event_id","departure_at"],"title":"TeslaPrepScheduleReq"},"TextReviewDecision":{"properties":{"accept":{"type":"boolean","title":"Accept"},"reviewedEventIds":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":21},{"type":"null"}],"title":"Reviewedeventids"}},"type":"object","required":["accept"],"title":"TextReviewDecision"},"TierPayload":{"properties":{"tier":{"type":"string","enum":["connected","close_circle"],"title":"Tier"}},"type":"object","required":["tier"],"title":"TierPayload"},"TimeboxItem":{"properties":{"title":{"type":"string","title":"Title"},"durationMinutes":{"type":"integer","title":"Durationminutes"},"scheduledStart":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduledstart"}},"type":"object","required":["title","durationMinutes"],"title":"TimeboxItem"},"TripTimingConfirmation":{"properties":{"proposalId":{"type":"string","title":"Proposalid"}},"type":"object","required":["proposalId"],"title":"TripTimingConfirmation"},"TrustLedgerEntryResponse":{"properties":{"id":{"type":"string","title":"Id"},"lane":{"type":"string","title":"Lane"},"subjectType":{"type":"string","title":"Subjecttype"},"subjectId":{"type":"string","title":"Subjectid"},"state":{"type":"string","title":"State"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"title":{"type":"string","title":"Title"},"detail":{"type":"string","title":"Detail"},"source":{"type":"string","title":"Source"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"actionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionid"},"scheduledFor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduledfor"},"attemptedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attemptedat"},"verifiedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verifiedat"},"expiresAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiresat"},"retryCount":{"type":"integer","title":"Retrycount","default":0},"nextAction":{"type":"string","title":"Nextaction","default":"none"},"happenedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Happenedat"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"actionState":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionstate"},"requestedAction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requestedaction"},"performedAction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Performedaction"},"evidence":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Evidence"},"aggregateState":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aggregatestate"},"fallbackActivated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Fallbackactivated"},"fallbackReason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fallbackreason"},"operations":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Operations"}},"type":"object","required":["id","lane","subjectType","subjectId","state","title","detail","source"],"title":"TrustLedgerEntryResponse"},"TrustLedgerReceiptsResponse":{"properties":{"generatedAt":{"type":"string","title":"Generatedat"},"retentionDays":{"type":"integer","title":"Retentiondays"},"items":{"items":{"$ref":"#/components/schemas/TrustLedgerEntryResponse"},"type":"array","title":"Items"}},"type":"object","required":["generatedAt","retentionDays"],"title":"TrustLedgerReceiptsResponse"},"TrustLedgerSnapshotResponse":{"properties":{"generatedAt":{"type":"string","title":"Generatedat"},"retentionDays":{"type":"integer","title":"Retentiondays"},"snapshot":{"items":{"$ref":"#/components/schemas/TrustLedgerEntryResponse"},"type":"array","title":"Snapshot"}},"type":"object","required":["generatedAt","retentionDays"],"title":"TrustLedgerSnapshotResponse"},"UpdateProfileReq":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Handle"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"},"roles":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Roles"},"socials":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Socials"},"goals":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Goals"},"onboarding_complete":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Onboarding Complete"},"home_location":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Home Location"},"typical_bedtime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Typical Bedtime"}},"additionalProperties":false,"type":"object","title":"UpdateProfileReq"},"UploadDailyReq":{"properties":{"device":{"type":"string","title":"Device"},"days":{"items":{"$ref":"#/components/schemas/DailyPayload"},"type":"array","title":"Days"}},"type":"object","required":["device","days"],"title":"UploadDailyReq"},"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"},"VisibilityScopeReq":{"properties":{"scope":{"type":"string","title":"Scope"}},"type":"object","required":["scope"],"title":"VisibilityScopeReq"},"WeekOverviewDay":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"plannedBlocks":{"type":"integer","title":"Plannedblocks"},"completedBlocks":{"type":"integer","title":"Completedblocks"},"autoProposals":{"type":"integer","title":"Autoproposals"},"isToday":{"type":"boolean","title":"Istoday"}},"type":"object","required":["key","label","plannedBlocks","completedBlocks","autoProposals","isToday"],"title":"WeekOverviewDay"},"WeekOverviewOut":{"properties":{"days":{"items":{"$ref":"#/components/schemas/WeekOverviewDay"},"type":"array","title":"Days"},"autoProposals":{"items":{"$ref":"#/components/schemas/WeekOverviewProposal"},"type":"array","title":"Autoproposals"},"reward":{"$ref":"#/components/schemas/WeekOverviewReward"}},"type":"object","required":["days","autoProposals","reward"],"title":"WeekOverviewOut"},"WeekOverviewProposal":{"properties":{"id":{"type":"string","title":"Id"},"day":{"type":"string","title":"Day"},"title":{"type":"string","title":"Title"},"scheduled":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled"},"impact":{"type":"string","title":"Impact"}},"type":"object","required":["id","day","title","impact"],"title":"WeekOverviewProposal"},"WeekOverviewReward":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"progress":{"type":"number","title":"Progress"}},"type":"object","required":["title","description","progress"],"title":"WeekOverviewReward"},"WeeklyLifeRules":{"properties":{"version":{"type":"integer","const":2,"title":"Version","default":2},"legacy":{"anyOf":[{"$ref":"#/components/schemas/LifeRules"},{"type":"null"}]},"sleep":{"anyOf":[{"$ref":"#/components/schemas/SleepProtectionRule"},{"type":"null"}]},"noMeetingWindows":{"items":{"$ref":"#/components/schemas/WeeklyProtectedWindow"},"type":"array","title":"Nomeetingwindows"},"movementWindows":{"items":{"$ref":"#/components/schemas/WeeklyProtectedWindow"},"type":"array","title":"Movementwindows"},"familyWindows":{"items":{"$ref":"#/components/schemas/WeeklyProtectedWindow"},"type":"array","title":"Familywindows"},"recoveryDays":{"items":{"$ref":"#/components/schemas/RecoveryDayRule"},"type":"array","title":"Recoverydays"},"householdWindows":{"items":{"$ref":"#/components/schemas/WeeklyProtectedWindow"},"type":"array","title":"Householdwindows"},"exceptions":{"items":{"$ref":"#/components/schemas/LifeRuleException"},"type":"array","title":"Exceptions"},"updatedAt":{"type":"string","title":"Updatedat"}},"type":"object","title":"WeeklyLifeRules"},"WeeklyPlanRequest":{"properties":{"week_start":{"type":"string","title":"Week Start"},"action":{"type":"string","title":"Action","default":"rebalance"},"constraints":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Constraints"}},"type":"object","required":["week_start"],"title":"WeeklyPlanRequest"},"WeeklyProtectedWindow":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"},"daysOfWeek":{"items":{"type":"integer"},"type":"array","title":"Daysofweek"},"startTime":{"type":"string","title":"Starttime"},"endTime":{"type":"string","title":"Endtime"},"strictness":{"anyOf":[{"type":"string","enum":["soft","normal","hard"]},{"type":"null"}],"title":"Strictness"},"visibility":{"anyOf":[{"type":"string","enum":["private","busy_only","shareable"]},{"type":"null"}],"title":"Visibility"},"category":{"type":"string","enum":["sleep","no_meeting","movement","family","household"],"title":"Category"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["id","label","daysOfWeek","startTime","endTime","category"],"title":"WeeklyProtectedWindow"},"WindowPayload":{"properties":{"startAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Startat"},"endAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endat"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"}},"type":"object","title":"WindowPayload"},"_ActReq":{"properties":{"decision":{"type":"string","enum":["accept","decline"],"title":"Decision"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"}},"type":"object","required":["decision"],"title":"_ActReq"},"_ParseReq":{"properties":{"operation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Id"},"text":{"type":"string","title":"Text"},"tz":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tz"},"locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locale"}},"type":"object","required":["text"],"title":"_ParseReq"},"_SuggestionsReq":{"properties":{"draft":{"additionalProperties":true,"type":"object","title":"Draft"}},"type":"object","required":["draft"],"title":"_SuggestionsReq"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}