{"openapi":"3.1.0","info":{"title":"NeXify AI Backend","version":"0.1.0"},"paths":{"/api/auth/register":{"post":{"summary":"Register","operationId":"register_api_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterIn"}}},"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":{"summary":"Login","operationId":"login_api_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginIn"}}},"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/verify":{"get":{"summary":"Verify Email","description":"Magic-Link verifizieren: Token prüfen, Cookies setzen, zum Portal weiterleiten.","operationId":"verify_email_api_auth_verify_get","parameters":[{"name":"token","in":"query","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/auth/logout":{"post":{"summary":"Logout","description":"Logout: Cookies loeschen UND serverseitig widerrufen.\n\nDomain muss mit set_auth_cookies uebereinstimmen, sonst bleibt das\nDomain-Cookie aktiv und die Session ueberlebt den Logout (AUTH-01).\nZusaetzlich wird nexify_users.token_version erhoeht: damit sind alle\nbisher ausgestellten Access-/Refresh-Tokens dieses Nutzers ungueltig,\nauch ein vor dem Logout kopierter Token (TOKEN-REVOKE, 24.11.2026).","operationId":"logout_api_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/webui-sso":{"get":{"summary":"Webui Sso","operationId":"webui_sso_api_admin_webui_sso_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/sso-consume":{"get":{"summary":"Sso Consume","description":"Rückweg-SSO: Hermes WebUI -> CRM/Admin (One-Time-HMAC, same-tab).\nToken-Format: exp:nonce[:email].sig — email bindet die Admin-Identität.","operationId":"sso_consume_api_auth_sso_consume_get","parameters":[{"name":"t","in":"query","required":false,"schema":{"type":"string","default":"","title":"T"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/email-agent/status":{"get":{"summary":"Email Agent Status","operationId":"email_agent_status_api_admin_email_agent_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/email-agent/log":{"get":{"summary":"Email Agent Log","operationId":"email_agent_log_api_admin_email_agent_log_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/email-agent/poll":{"post":{"summary":"Email Agent Poll","operationId":"email_agent_poll_api_admin_email_agent_poll_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/channels/events":{"get":{"summary":"Admin Channel Events","description":"Return cross-channel events, optionally filtered by contact identifier.","operationId":"admin_channel_events_api_admin_channels_events_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"identifier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identifier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/ceo-queue":{"get":{"summary":"Ceo Queue List","operationId":"ceo_queue_list_api_admin_ceo_queue_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"pending","title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/ceo-queue/{qid}/claim":{"post":{"summary":"Ceo Queue Claim","description":"Atomar auf 'processing' setzen. Idempotent — returns 409 wenn schon geclaimed.","operationId":"ceo_queue_claim_api_admin_ceo_queue__qid__claim_post","parameters":[{"name":"qid","in":"path","required":true,"schema":{"type":"string","title":"Qid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CeoClaimIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/ceo-queue/{qid}/complete":{"post":{"summary":"Ceo Queue Complete","operationId":"ceo_queue_complete_api_admin_ceo_queue__qid__complete_post","parameters":[{"name":"qid","in":"path","required":true,"schema":{"type":"string","title":"Qid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CeoCompleteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/ceo-recommendations":{"get":{"summary":"Ceo Recommendations","description":"UI-facing list of latest recommendations (mixed status).","operationId":"ceo_recommendations_api_admin_ceo_recommendations_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/health/infra":{"get":{"summary":"Health Infra","description":"Aggregated health of email-agent, ceo-queue and critical external endpoints.","operationId":"health_infra_api_admin_health_infra_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/me":{"get":{"summary":"Me","operationId":"me_api_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/refresh":{"post":{"summary":"Refresh","operationId":"refresh_api_auth_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/invite/{token}":{"get":{"summary":"Invite Info","operationId":"invite_info_api_auth_invite__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/auth/profile":{"put":{"summary":"Update Profile","operationId":"update_profile_api_auth_profile_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/portal/offers":{"get":{"summary":"My Offers","operationId":"my_offers_api_portal_offers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/portal/offers/{offer_id}/decision":{"post":{"summary":"Offer Decision","operationId":"offer_decision_api_portal_offers__offer_id__decision_post","parameters":[{"name":"offer_id","in":"path","required":true,"schema":{"type":"string","title":"Offer Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/portal/offers/{offer_id}/messages":{"get":{"summary":"Offer Messages","operationId":"offer_messages_api_portal_offers__offer_id__messages_get","parameters":[{"name":"offer_id","in":"path","required":true,"schema":{"type":"string","title":"Offer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Post Offer Message","operationId":"post_offer_message_api_portal_offers__offer_id__messages_post","parameters":[{"name":"offer_id","in":"path","required":true,"schema":{"type":"string","title":"Offer Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/portal/offers/request-new":{"post":{"summary":"Request New Offer","operationId":"request_new_offer_api_portal_offers_request_new_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferRequestNewIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/stats":{"get":{"summary":"Admin Stats","operationId":"admin_stats_api_admin_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/transactions":{"get":{"summary":"Admin Transactions","operationId":"admin_transactions_api_admin_transactions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}},{"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/admin/transactions/summary":{"get":{"summary":"Admin Transactions Summary","operationId":"admin_transactions_summary_api_admin_transactions_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/customers":{"get":{"summary":"Admin Customers","operationId":"admin_customers_api_admin_customers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Admin Customer Create","operationId":"admin_customer_create_api_admin_customers_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/leads":{"get":{"summary":"Admin Leads","operationId":"admin_leads_api_admin_leads_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/leads/{lead_id}":{"put":{"summary":"Admin Update Lead","operationId":"admin_update_lead_api_admin_leads__lead_id__put","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadUpdateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Admin Delete Lead","operationId":"admin_delete_lead_api_admin_leads__lead_id__delete","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/offers":{"get":{"summary":"Admin Offers","operationId":"admin_offers_api_admin_offers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/offers/{offer_id}/messages":{"post":{"summary":"Admin Offer Reply","operationId":"admin_offer_reply_api_admin_offers__offer_id__messages_post","parameters":[{"name":"offer_id","in":"path","required":true,"schema":{"type":"string","title":"Offer Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/sessions":{"get":{"summary":"Admin Sessions","operationId":"admin_sessions_api_admin_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/sessions/{session_id}/messages":{"get":{"summary":"Admin Session Messages","operationId":"admin_session_messages_api_admin_sessions__session_id__messages_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/email":{"post":{"summary":"Admin Send Email","operationId":"admin_send_email_api_admin_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminEmailIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/portal/offers/{offer_id}/pay":{"post":{"summary":"Pay Offer","operationId":"pay_offer_api_portal_offers__offer_id__pay_post","parameters":[{"name":"offer_id","in":"path","required":true,"schema":{"type":"string","title":"Offer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/portal/offers/{offer_id}/payment-status":{"get":{"summary":"Payment Status","operationId":"payment_status_api_portal_offers__offer_id__payment_status_get","parameters":[{"name":"offer_id","in":"path","required":true,"schema":{"type":"string","title":"Offer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/portal/offers/{offer_id}/pdf":{"get":{"summary":"Offer Pdf","operationId":"offer_pdf_api_portal_offers__offer_id__pdf_get","parameters":[{"name":"offer_id","in":"path","required":true,"schema":{"type":"string","title":"Offer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/customer/vouchers/redeem":{"post":{"summary":"Redeem Voucher","operationId":"redeem_voucher_api_customer_vouchers_redeem_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedeemIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/partner/vouchers/order":{"post":{"summary":"Order Vouchers","operationId":"order_vouchers_api_partner_vouchers_order_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherOrderIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/partner/register":{"post":{"summary":"Partner Register","operationId":"partner_register_api_partner_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerRegisterIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/portal/invoices":{"get":{"summary":"Portal Invoices","operationId":"portal_invoices_api_portal_invoices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/portal/invoices/summary":{"get":{"summary":"Portal Invoices Summary","operationId":"portal_invoices_summary_api_portal_invoices_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/portal/invoices/{invoice_id}/pdf":{"get":{"summary":"Invoice Pdf","operationId":"invoice_pdf_api_portal_invoices__invoice_id__pdf_get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/portal/tickets":{"get":{"summary":"My Tickets","operationId":"my_tickets_api_portal_tickets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Ticket","operationId":"create_ticket_api_portal_tickets_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/portal/tickets/{ticket_id}/messages":{"get":{"summary":"Ticket Messages","operationId":"ticket_messages_api_portal_tickets__ticket_id__messages_get","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Ticket Reply","operationId":"ticket_reply_api_portal_tickets__ticket_id__messages_post","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/prospects":{"post":{"summary":"Create Prospect","operationId":"create_prospect_api_admin_prospects_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProspectIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/offers/create":{"post":{"summary":"Create Manual Offer","operationId":"create_manual_offer_api_admin_offers_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManualOfferIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/tickets":{"get":{"summary":"Admin Tickets","operationId":"admin_tickets_api_admin_tickets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/tickets/{ticket_id}/messages":{"post":{"summary":"Admin Ticket Reply","operationId":"admin_ticket_reply_api_admin_tickets__ticket_id__messages_post","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/slots":{"get":{"summary":"Admin List Slots","operationId":"admin_list_slots_api_admin_slots_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Admin Create Slots","operationId":"admin_create_slots_api_admin_slots_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlotsCreateIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/slots/{slot_id}":{"delete":{"summary":"Admin Delete Slot","operationId":"admin_delete_slot_api_admin_slots__slot_id__delete","parameters":[{"name":"slot_id","in":"path","required":true,"schema":{"type":"string","title":"Slot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/booking/{slot_id}/cancel":{"post":{"summary":"Admin Cancel Booking","operationId":"admin_cancel_booking_api_admin_booking__slot_id__cancel_post","parameters":[{"name":"slot_id","in":"path","required":true,"schema":{"type":"string","title":"Slot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/booking/{slot_id}/noshow":{"post":{"summary":"Admin Noshow Booking","operationId":"admin_noshow_booking_api_admin_booking__slot_id__noshow_post","parameters":[{"name":"slot_id","in":"path","required":true,"schema":{"type":"string","title":"Slot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/booking/{slot_id}/reschedule":{"post":{"summary":"Admin Reschedule Booking","operationId":"admin_reschedule_booking_api_admin_booking__slot_id__reschedule_post","parameters":[{"name":"slot_id","in":"path","required":true,"schema":{"type":"string","title":"Slot Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RescheduleIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/booking/request-callback":{"post":{"summary":"Request Callback","operationId":"request_callback_api_booking_request_callback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallbackRequestIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/booking/slots":{"get":{"summary":"Public Slots","operationId":"public_slots_api_booking_slots_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/booking/book":{"post":{"summary":"Book Slot","operationId":"book_slot_api_booking_book_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agent/chat":{"post":{"summary":"Agent Chat","operationId":"agent_chat_api_admin_agent_chat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentChatIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agent/status":{"get":{"summary":"Agent Status","operationId":"agent_status_api_admin_agent_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/agent/history":{"get":{"summary":"Agent History","operationId":"agent_history_api_admin_agent_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/agent/tasks":{"get":{"summary":"Agent Tasks","operationId":"agent_tasks_api_admin_agent_tasks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/agent/tasks/{task_id}/cancel":{"post":{"summary":"Agent Task Cancel","operationId":"agent_task_cancel_api_admin_agent_tasks__task_id__cancel_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/webhooks/telegram":{"post":{"summary":"Telegram Webhook","description":"Receives Telegram Bot API updates (set via setWebhook).","operationId":"telegram_webhook_api_webhooks_telegram_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/webhooks/whatsapp":{"get":{"summary":"Whatsapp Verify","description":"Meta Business API webhook verification (GET challenge).","operationId":"whatsapp_verify_api_webhooks_whatsapp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Whatsapp Webhook","description":"Handles inbound WhatsApp messages from Meta Cloud API or Twilio.","operationId":"whatsapp_webhook_api_webhooks_whatsapp_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/webhooks/resend-inbound":{"get":{"summary":"Resend Inbound Probe","description":"Nur Erreichbarkeitsprobe — verarbeitet nichts.","operationId":"resend_inbound_probe_api_webhooks_resend_inbound_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Resend Inbound","operationId":"resend_inbound_api_webhooks_resend_inbound_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/campaign/send":{"post":{"summary":"Campaign Send","description":"Pipeline ruft diesen Endpoint. Sendet personalised HTML emails via Resend/SMTP.","operationId":"campaign_send_campaign_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignSendReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/health":{"get":{"summary":"Health","operationId":"health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/revolut/callback":{"get":{"summary":"Revolut Oauth Callback","operationId":"revolut_oauth_callback_api_revolut_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},{"name":"error_description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Description"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/meta/":{"get":{"summary":"Meta Webhook Verify","operationId":"meta_webhook_verify_webhooks_meta__get","parameters":[{"name":"hub.mode","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hub.Mode"}},{"name":"hub.challenge","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hub.Challenge"}},{"name":"hub.verify_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hub.Verify Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/meta":{"get":{"summary":"Meta Webhook Verify","operationId":"meta_webhook_verify_webhooks_meta_get","parameters":[{"name":"hub.mode","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hub.Mode"}},{"name":"hub.challenge","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hub.Challenge"}},{"name":"hub.verify_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hub.Verify Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Meta Webhook Receive","operationId":"meta_webhook_receive_webhooks_meta_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/health/llm":{"get":{"summary":"Health Llm","description":"9router / LLM subsystem health (no secrets).","operationId":"health_llm_api_health_llm_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/health/full":{"get":{"summary":"Health Full","operationId":"health_full_api_health_full_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/metrics":{"get":{"summary":"Metrics","operationId":"metrics_api_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/planner/plan":{"post":{"summary":"Planner Plan","operationId":"planner_plan_api_planner_plan_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlannerIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/chat/session":{"post":{"summary":"Create Session","operationId":"create_session_api_chat_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatSessionCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/chat":{"post":{"summary":"Chat","operationId":"chat_api_chat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMessageIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contact":{"post":{"summary":"Contact","operationId":"contact_api_contact_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ebook":{"post":{"summary":"Ebook","operationId":"ebook_api_ebook_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EbookIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/newsletter":{"post":{"summary":"Newsletter Subscribe","description":"Newsletter-Anmeldung (Double-Opt-in-Bestätigung übernimmt die Welcome-Serie-Automation).","operationId":"newsletter_subscribe_api_newsletter_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewsletterIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/offers/request":{"post":{"summary":"Request Offer","operationId":"request_offer_api_offers_request_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferRequestIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/bigbuy/health":{"get":{"summary":"Bigbuy Health","description":"BigBuy-Auth/-Status prüfen (ohne Secrets).","operationId":"bigbuy_health_api_admin_bigbuy_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/bigbuy/sync":{"post":{"summary":"Bigbuy Sync Catalog","description":"BigBuy-Katalog (Auto/Motorrad) synchronisieren.","operationId":"bigbuy_sync_catalog_api_admin_bigbuy_sync_post","parameters":[{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"de","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shop/products":{"get":{"summary":"Shop Products","operationId":"shop_products_api_shop_products_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Category"}},{"name":"in_stock","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"In Stock"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shop/products/{sku}":{"get":{"summary":"Shop Product","operationId":"shop_product_api_shop_products__sku__get","parameters":[{"name":"sku","in":"path","required":true,"schema":{"type":"string","title":"Sku"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/bigbuy/order/check":{"post":{"summary":"Bigbuy Order Check","description":"Order-Simulation (keine Anlage). Check-before-create.","operationId":"bigbuy_order_check_api_admin_bigbuy_order_check_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/bigbuy/order/create":{"post":{"summary":"Bigbuy Order Create","description":"Order-Anlage (PRODUKTION — kostet, prüfen!).","operationId":"bigbuy_order_create_api_admin_bigbuy_order_create_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/bigbuy/order/{order_id}/tracking":{"get":{"summary":"Bigbuy Order Tracking","operationId":"bigbuy_order_tracking_api_admin_bigbuy_order__order_id__tracking_get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"iso","in":"query","required":false,"schema":{"type":"string","default":"de","title":"Iso"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shop/shipping":{"post":{"summary":"Shop Shipping","description":"Reale Versandkosten via BigBuy (billigste Option).","operationId":"shop_shipping_api_shop_shipping_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shop/orders":{"get":{"summary":"Shop Orders","operationId":"shop_orders_api_shop_orders_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shop/order":{"post":{"summary":"Shop Order","description":"Echte Bestellung: Check -> Create (BigBuy) + Speicherung in nexify_orders.","operationId":"shop_order_api_shop_order_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/shop/support":{"post":{"summary":"Shop Support","description":"Support-Anfrage: BigBuy-Daten (Bestellstatus/Tracking) oder KI-Antwort.","operationId":"shop_support_api_shop_support_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/bigbuy/pricing":{"get":{"summary":"Bigbuy Pricing Meta","operationId":"bigbuy_pricing_meta_api_admin_bigbuy_pricing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AdminEmailIn":{"properties":{"to":{"type":"string","format":"email","title":"To"},"subject":{"type":"string","title":"Subject"},"body":{"type":"string","title":"Body"},"language":{"type":"string","title":"Language","default":"de"}},"type":"object","required":["to","subject","body"],"title":"AdminEmailIn"},"AgentChatIn":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"AgentChatIn"},"BookIn":{"properties":{"slot_id":{"type":"string","title":"Slot Id"},"name":{"type":"string","title":"Name"},"email":{"type":"string","format":"email","title":"Email"},"phone":{"type":"string","title":"Phone"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"},"language":{"type":"string","title":"Language","default":"de"}},"type":"object","required":["slot_id","name","email","phone"],"title":"BookIn"},"CallbackRequestIn":{"properties":{"name":{"type":"string","title":"Name"},"email":{"type":"string","format":"email","title":"Email"},"phone":{"type":"string","title":"Phone"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"},"language":{"type":"string","title":"Language","default":"de"},"preferred_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preferred Date"},"preferred_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preferred Time"}},"type":"object","required":["name","email","phone"],"title":"CallbackRequestIn"},"CampaignLead":{"properties":{"contact_email":{"type":"string","title":"Contact Email"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"calendly_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calendly Url"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","required":["contact_email"],"title":"CampaignLead"},"CampaignSendReq":{"properties":{"leads":{"items":{"$ref":"#/components/schemas/CampaignLead"},"type":"array","title":"Leads"},"campaign_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign Id","default":"default"}},"type":"object","required":["leads"],"title":"CampaignSendReq"},"CeoClaimIn":{"properties":{"worker_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Worker Id"}},"type":"object","title":"CeoClaimIn"},"CeoCompleteIn":{"properties":{"recommendation":{"type":"string","title":"Recommendation"},"status":{"type":"string","title":"Status","default":"done"}},"type":"object","required":["recommendation"],"title":"CeoCompleteIn"},"ChatMessageIn":{"properties":{"session_id":{"type":"string","title":"Session Id"},"message":{"type":"string","title":"Message"},"language":{"type":"string","title":"Language","default":"de"}},"type":"object","required":["session_id","message"],"title":"ChatMessageIn"},"ChatSessionCreate":{"properties":{"language":{"type":"string","title":"Language","default":"de"}},"type":"object","title":"ChatSessionCreate"},"ContactIn":{"properties":{"name":{"type":"string","title":"Name"},"email":{"type":"string","format":"email","title":"Email"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"message":{"type":"string","title":"Message"},"language":{"type":"string","title":"Language","default":"de"},"newsletter":{"type":"boolean","title":"Newsletter","default":false}},"type":"object","required":["name","email","message"],"title":"ContactIn"},"CustomerIn":{"properties":{"name":{"type":"string","title":"Name"},"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"vat_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vat Id"},"contact_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Name"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"daily_rate_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Daily Rate Eur"},"reverse_charge":{"type":"boolean","title":"Reverse Charge","default":true},"status":{"type":"string","title":"Status","default":"active"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["name"],"title":"CustomerIn"},"DecisionIn":{"properties":{"decision":{"type":"string","title":"Decision"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["decision"],"title":"DecisionIn"},"EbookIn":{"properties":{"name":{"type":"string","title":"Name","default":""},"email":{"type":"string","format":"email","title":"Email"},"utm_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Utm Source"},"utm_medium":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Utm Medium"},"utm_campaign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Utm Campaign"}},"type":"object","required":["email"],"title":"EbookIn"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LeadUpdateIn":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"LeadUpdateIn"},"LoginIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginIn"},"ManualOfferIn":{"properties":{"name":{"type":"string","title":"Name"},"email":{"type":"string","format":"email","title":"Email"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"language":{"type":"string","title":"Language","default":"de"},"title":{"type":"string","title":"Title"},"intro":{"type":"string","title":"Intro","default":""},"items":{"items":{"$ref":"#/components/schemas/ManualOfferItem"},"type":"array","title":"Items"},"assumptions":{"items":{"type":"string"},"type":"array","title":"Assumptions","default":[]},"next_steps":{"items":{"type":"string"},"type":"array","title":"Next Steps","default":[]}},"type":"object","required":["name","email","title","items"],"title":"ManualOfferIn"},"ManualOfferItem":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description","default":""},"days_min":{"type":"number","title":"Days Min","default":1},"days_max":{"type":"number","title":"Days Max","default":1}},"type":"object","required":["name"],"title":"ManualOfferItem"},"MessageIn":{"properties":{"body":{"type":"string","title":"Body"}},"type":"object","required":["body"],"title":"MessageIn"},"NewsletterIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["email"],"title":"NewsletterIn"},"OfferRequestIn":{"properties":{"session_id":{"type":"string","title":"Session Id"},"name":{"type":"string","title":"Name"},"email":{"type":"string","format":"email","title":"Email"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"language":{"type":"string","title":"Language","default":"de"}},"type":"object","required":["session_id","name","email"],"title":"OfferRequestIn"},"OfferRequestNewIn":{"properties":{"description":{"type":"string","title":"Description"}},"type":"object","required":["description"],"title":"OfferRequestNewIn"},"PartnerRegisterIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"},"name":{"type":"string","title":"Name"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"language":{"type":"string","title":"Language","default":"de"},"invite_code":{"type":"string","title":"Invite Code"}},"type":"object","required":["email","password","name","invite_code"],"title":"PartnerRegisterIn"},"PlannerIn":{"properties":{"project_type":{"type":"string","title":"Project Type"},"industry":{"type":"string","title":"Industry"},"goal":{"type":"string","title":"Goal"},"features":{"items":{"type":"string"},"type":"array","title":"Features","default":[]},"details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Details"},"language":{"type":"string","title":"Language","default":"de"}},"type":"object","required":["project_type","industry","goal"],"title":"PlannerIn"},"ProfileIn":{"properties":{"name":{"type":"string","title":"Name"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"language":{"type":"string","title":"Language","default":"de"}},"type":"object","required":["name"],"title":"ProfileIn"},"ProspectIn":{"properties":{"name":{"type":"string","title":"Name"},"email":{"type":"string","format":"email","title":"Email"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"language":{"type":"string","title":"Language","default":"de"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["name","email"],"title":"ProspectIn"},"RedeemIn":{"properties":{"code":{"type":"string","title":"Code"}},"type":"object","required":["code"],"title":"RedeemIn"},"RegisterIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"name":{"type":"string","title":"Name"},"password":{"type":"string","title":"Password","default":""},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"language":{"type":"string","title":"Language","default":"de"},"locale":{"type":"string","title":"Locale","default":"de"},"invite_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invite Token"},"business":{"type":"boolean","title":"Business","default":false},"privacy":{"type":"boolean","title":"Privacy","default":false}},"type":"object","required":["email","name"],"title":"RegisterIn"},"RescheduleIn":{"properties":{"new_slot_id":{"type":"string","title":"New Slot Id"}},"type":"object","required":["new_slot_id"],"title":"RescheduleIn"},"SlotsCreateIn":{"properties":{"slots":{"items":{"type":"string"},"type":"array","title":"Slots"},"duration_min":{"type":"integer","title":"Duration Min","default":30}},"type":"object","required":["slots"],"title":"SlotsCreateIn"},"TicketIn":{"properties":{"subject":{"type":"string","title":"Subject"},"body":{"type":"string","title":"Body"}},"type":"object","required":["subject","body"],"title":"TicketIn"},"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"},"VoucherOrderIn":{"properties":{"count":{"type":"integer","title":"Count"},"expires_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires Days","default":90}},"type":"object","required":["count"],"title":"VoucherOrderIn"}}}}