{"openapi":"3.1.0","info":{"title":"Neuralia369 API","version":"2.0.0"},"paths":{"/api/academy/courses":{"get":{"tags":["academy"],"summary":"List Courses","operationId":"list_courses_api_academy_courses_get","parameters":[{"name":"line","in":"query","required":false,"schema":{"type":"string","title":"Line"}},{"name":"age","in":"query","required":false,"schema":{"type":"integer","title":"Age"}},{"name":"target","in":"query","required":false,"schema":{"type":"string","title":"Target"}},{"name":"origin","in":"query","required":false,"schema":{"type":"string","title":"Origin"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/courses/{course_id}":{"get":{"tags":["academy"],"summary":"Get Course","operationId":"get_course_api_academy_courses__course_id__get","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","title":"Course Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/enroll/{course_id}":{"post":{"tags":["academy"],"summary":"Enroll","operationId":"enroll_api_academy_enroll__course_id__post","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","title":"Course Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/my-courses":{"get":{"tags":["academy"],"summary":"My Courses","operationId":"my_courses_api_academy_my_courses_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/academy/courses/{course_id}/lessons/{lesson_id}":{"get":{"tags":["academy"],"summary":"Get Lesson","operationId":"get_lesson_api_academy_courses__course_id__lessons__lesson_id__get","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","title":"Course Id"}},{"name":"lesson_id","in":"path","required":true,"schema":{"type":"string","title":"Lesson Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/progress":{"post":{"tags":["academy"],"summary":"Mark Lesson Complete","operationId":"mark_lesson_complete_api_academy_progress_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/tests/{test_id}/attempt":{"post":{"tags":["academy"],"summary":"Submit Test","operationId":"submit_test_api_academy_tests__test_id__attempt_post","parameters":[{"name":"test_id","in":"path","required":true,"schema":{"type":"string","title":"Test Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Req"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/tests/{test_id}/my-attempts":{"get":{"tags":["academy"],"summary":"My Test Attempts","operationId":"my_test_attempts_api_academy_tests__test_id__my_attempts_get","parameters":[{"name":"test_id","in":"path","required":true,"schema":{"type":"string","title":"Test Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/certificates/generate/{course_id}":{"post":{"tags":["academy"],"summary":"Generate Certificate","operationId":"generate_certificate_api_academy_certificates_generate__course_id__post","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","title":"Course Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/certificates/{code}/verify":{"get":{"tags":["academy"],"summary":"Verify Certificate","description":"Endpoint público de verificación — sin datos sensibles.","operationId":"verify_certificate_api_academy_certificates__code__verify_get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/certificates/{code}/download":{"get":{"tags":["academy"],"summary":"Download Certificate","operationId":"download_certificate_api_academy_certificates__code__download_get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/my-certificates":{"get":{"tags":["academy"],"summary":"My Certificates","operationId":"my_certificates_api_academy_my_certificates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/academy/children":{"get":{"tags":["academy"],"summary":"My Children","operationId":"my_children_api_academy_children_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["academy"],"summary":"Create Child Profile","operationId":"create_child_profile_api_academy_children_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/children/{child_id}":{"delete":{"tags":["academy"],"summary":"Delete Child Profile","description":"Borrado completo de datos del menor (derecho de supresión RGPD/COPPA).","operationId":"delete_child_profile_api_academy_children__child_id__delete","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/admin/enrollments-legacy":{"get":{"tags":["academy"],"summary":"List Enrollments Legacy","description":"Legacy: kept for backward compat, prefer /admin/enrollments","operationId":"list_enrollments_legacy_api_academy_admin_enrollments_legacy_get","parameters":[{"name":"course_id","in":"query","required":false,"schema":{"type":"string","title":"Course Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/cohortes":{"get":{"tags":["academy"],"summary":"List Cohortes","operationId":"list_cohortes_api_academy_cohortes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["academy"],"summary":"Create Cohorte","operationId":"create_cohorte_api_academy_cohortes_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/academy/cohortes/{code}":{"get":{"tags":["academy"],"summary":"Get Cohorte","operationId":"get_cohorte_api_academy_cohortes__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/cohortes/join/{code}":{"post":{"tags":["academy"],"summary":"Join Cohorte","operationId":"join_cohorte_api_academy_cohortes_join__code__post","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/cohortes/{cohorte_id}/members":{"get":{"tags":["academy"],"summary":"Get Cohorte Members","operationId":"get_cohorte_members_api_academy_cohortes__cohorte_id__members_get","parameters":[{"name":"cohorte_id","in":"path","required":true,"schema":{"type":"string","title":"Cohorte Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/consent/request":{"post":{"tags":["academy"],"summary":"Request Consent Otp","description":"Generates OTP for tutor to sign consent for a minor participant","operationId":"request_consent_otp_api_academy_consent_request_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/academy/consent/verify":{"post":{"tags":["academy"],"summary":"Verify Consent","operationId":"verify_consent_api_academy_consent_verify_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/academy/consent/{child_id}":{"get":{"tags":["academy"],"summary":"Get Consent Status","operationId":"get_consent_status_api_academy_consent__child_id__get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/diary":{"get":{"tags":["academy"],"summary":"Get My Diary","operationId":"get_my_diary_api_academy_diary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["academy"],"summary":"Write Diary","operationId":"write_diary_api_academy_diary_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/academy/diary/mentor/{user_id}":{"get":{"tags":["academy"],"summary":"Get Diary As Mentor","description":"Mentors can read diaries of their group members","operationId":"get_diary_as_mentor_api_academy_diary_mentor__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/alerts":{"get":{"tags":["academy"],"summary":"Get Alerts","operationId":"get_alerts_api_academy_alerts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/academy/alerts/{alert_id}/review":{"post":{"tags":["academy"],"summary":"Mark Alert Reviewed","operationId":"mark_alert_reviewed_api_academy_alerts__alert_id__review_post","parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"string","title":"Alert Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/help/request":{"post":{"tags":["academy"],"summary":"Help Request","description":"User presses 'I need help' - notifies mentor WITHOUT storing reason","operationId":"help_request_api_academy_help_request_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/academy/help/lines":{"get":{"tags":["academy"],"summary":"Get Help Lines","description":"Public-ish - returns help lines for a cohorte (or defaults)","operationId":"get_help_lines_api_academy_help_lines_get","parameters":[{"name":"cohorte_code","in":"query","required":false,"schema":{"type":"string","title":"Cohorte Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/admin/stats":{"get":{"tags":["academy"],"summary":"Academy Admin Stats","operationId":"academy_admin_stats_api_academy_admin_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/academy/admin/enrollments":{"get":{"tags":["academy"],"summary":"Academy Admin Enrollments","operationId":"academy_admin_enrollments_api_academy_admin_enrollments_get","parameters":[{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"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/academy/admin/courses":{"get":{"tags":["academy"],"summary":"Academy Admin Courses","operationId":"academy_admin_courses_api_academy_admin_courses_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/academy/admin/courses/{course_id}":{"put":{"tags":["academy"],"summary":"Academy Admin Update Course","operationId":"academy_admin_update_course_api_academy_admin_courses__course_id__put","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","title":"Course Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/academy/admin/cohortes":{"get":{"tags":["academy"],"summary":"Academy Admin Cohortes","operationId":"academy_admin_cohortes_api_academy_admin_cohortes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/academy/admin/waca-reparto":{"get":{"tags":["academy"],"summary":"Academy Admin Waca Reparto","description":"Revenue sharing report for WACA","operationId":"academy_admin_waca_reparto_api_academy_admin_waca_reparto_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/academy/my-cohorte":{"get":{"tags":["academy"],"summary":"My Cohorte","operationId":"my_cohorte_api_academy_my_cohorte_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"delete":{"tags":["academy"],"summary":"Leave Cohorte","operationId":"leave_cohorte_api_academy_my_cohorte_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/academy/cohortes/join-by-code":{"post":{"tags":["academy"],"summary":"Join Cohorte By Code","operationId":"join_cohorte_by_code_api_academy_cohortes_join_by_code_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/academy/aynara/ask":{"post":{"tags":["academy"],"summary":"Aynara Ask","operationId":"aynara_ask_api_academy_aynara_ask_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/academy/payment/validate-coupon":{"post":{"tags":["academy"],"summary":"Validate Coupon","operationId":"validate_coupon_api_academy_payment_validate_coupon_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/academy/payment/enroll-free":{"post":{"tags":["academy"],"summary":"Enroll Free With Coupon","description":"Enrols user with a 100% coupon (no Stripe needed).","operationId":"enroll_free_with_coupon_api_academy_payment_enroll_free_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/academy/payment/checkout":{"post":{"tags":["academy"],"summary":"Academy Stripe Checkout","operationId":"academy_stripe_checkout_api_academy_payment_checkout_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/academy/payment/verify":{"get":{"tags":["academy"],"summary":"Verify Academy Payment","operationId":"verify_academy_payment_api_academy_payment_verify_get","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"course_id","in":"query","required":true,"schema":{"type":"string","title":"Course Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic-app/reminders/run":{"post":{"tags":["clinic-app"],"summary":"Trigger Reminders","operationId":"trigger_reminders_api_clinic_app_reminders_run_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic-app/notifications":{"get":{"tags":["clinic-app"],"summary":"List Notifications","operationId":"list_notifications_api_clinic_app_notifications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic-app/access-codes":{"post":{"tags":["clinic-app"],"summary":"Create Access Code","operationId":"create_access_code_api_clinic_app_access_codes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessCodeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic-app/send-welcome-email":{"post":{"tags":["clinic-app"],"summary":"Send Patient Welcome Email","operationId":"send_patient_welcome_email_api_clinic_app_send_welcome_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WelcomeEmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic-app/login":{"post":{"tags":["clinic-app"],"summary":"Clinic App Login","operationId":"clinic_app_login_api_clinic_app_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatientLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic-app/home":{"get":{"tags":["clinic-app"],"summary":"Clinic App Home","operationId":"clinic_app_home_api_clinic_app_home_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic-app/appointment-requests":{"get":{"tags":["clinic-app"],"summary":"List Appointment Requests","operationId":"list_appointment_requests_api_clinic_app_appointment_requests_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["clinic-app"],"summary":"Create Appointment Request","operationId":"create_appointment_request_api_clinic_app_appointment_requests_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppointmentRequestCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic-app/appointments/{appointment_id}/respond":{"post":{"tags":["clinic-app"],"summary":"Respond To Appointment","operationId":"respond_to_appointment_api_clinic_app_appointments__appointment_id__respond_post","parameters":[{"name":"appointment_id","in":"path","required":true,"schema":{"type":"string","title":"Appointment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppointmentRespond"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic-app/appointment-requests/{request_id}":{"patch":{"tags":["clinic-app"],"summary":"Resolve Appointment Request","operationId":"resolve_appointment_request_api_clinic_app_appointment_requests__request_id__patch","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppointmentRequestResolve"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/feature-flags/":{"get":{"tags":["feature_flags"],"summary":"List All Flags","description":"Lista todos los flags con su estado actual para un cliente.","operationId":"list_all_flags_api_feature_flags__get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"global","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/feature-flags/clients":{"get":{"tags":["feature_flags"],"summary":"List Clients With Flags","description":"Lista clientes únicos que tienen flags configurados.","operationId":"list_clients_with_flags_api_feature_flags_clients_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/feature-flags/{flag_id}":{"put":{"tags":["feature_flags"],"summary":"Update Flag","description":"Activa o desactiva un flag para un cliente específico o globalmente.","operationId":"update_flag_api_feature_flags__flag_id__put","parameters":[{"name":"flag_id","in":"path","required":true,"schema":{"type":"string","title":"Flag Id"}},{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"global","title":"Client Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlagUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["feature_flags"],"summary":"Get Flag","description":"Consulta el estado de un flag para un cliente.","operationId":"get_flag_api_feature_flags__flag_id__get","parameters":[{"name":"flag_id","in":"path","required":true,"schema":{"type":"string","title":"Flag Id"}},{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"global","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["feature_flags"],"summary":"Reset Flag","description":"Elimina la configuración de un flag para un cliente (vuelve al default OFF).","operationId":"reset_flag_api_feature_flags__flag_id__delete","parameters":[{"name":"flag_id","in":"path","required":true,"schema":{"type":"string","title":"Flag Id"}},{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"global","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hub/quick-link":{"post":{"tags":["hub_connections"],"summary":"Create Quick Link","description":"Crea un enlace firmado de un solo uso con QR. Vence en `expires_minutes` (máx 60).\nFlag: hub_qr_auth_link (por defecto OFF).","operationId":"create_quick_link_api_hub_quick_link_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickLinkRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hub/auth-links/{auth_link_id}/qr":{"get":{"tags":["hub_connections"],"summary":"Get Auth Link Qr","description":"Devuelve el QR PNG de un enlace de autorización existente.\nFlag: hub_qr_auth_link.","operationId":"get_auth_link_qr_api_hub_auth_links__auth_link_id__qr_get","parameters":[{"name":"auth_link_id","in":"path","required":true,"schema":{"type":"string","title":"Auth Link Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hub/auth-links/{token}/poll":{"get":{"tags":["hub_connections"],"summary":"Poll Auth Link Status","description":"Polling ligero para que la pantalla de escritorio se actualice cuando\nel cliente escanea el QR en su celular y completa la autorización.\nDevuelve: status, authorized_providers, expires_at.","operationId":"poll_auth_link_status_api_hub_auth_links__token__poll_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/hub/agent-permissions/{agent_id}":{"get":{"tags":["hub_connections"],"summary":"Get Agent Permissions","description":"Lista los permisos de un agente sobre las conexiones del cliente.","operationId":"get_agent_permissions_api_hub_agent_permissions__agent_id__get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}},{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"global","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hub/agent-permissions/{agent_id}/{provider}":{"put":{"tags":["hub_connections"],"summary":"Set Agent Permission","description":"Asigna o actualiza el permiso de un agente sobre un provider específico.","operationId":"set_agent_permission_api_hub_agent_permissions__agent_id___provider__put","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}},{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"global","title":"Client Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentPermissionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["hub_connections"],"summary":"Revoke Agent Permission","description":"Revoca el permiso de un agente sobre un provider.","operationId":"revoke_agent_permission_api_hub_agent_permissions__agent_id___provider__delete","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}},{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"global","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hub/health-report":{"get":{"tags":["hub_connections"],"summary":"Get Hub Health Report","description":"Reporte de salud de conexiones OAuth por cliente.\nFlag: hub_health_monitor.","operationId":"get_hub_health_report_api_hub_health_report_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/hub/wsp/adapters":{"get":{"tags":["hub_connections"],"summary":"List Wsp Adapters","description":"Lista los adaptadores BSP configurados.","operationId":"list_wsp_adapters_api_hub_wsp_adapters_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/hub/wsp/inbound/wati":{"post":{"tags":["hub_connections"],"summary":"Wati Inbound Webhook","description":"Webhook unificado para mensajes entrantes de WhatsApp vía WATI.\nIdentifica el cliente por su número de teléfono y enruta a Aynara.","operationId":"wati_inbound_webhook_api_hub_wsp_inbound_wati_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/inti/wallet/{client_id}":{"get":{"tags":["inti_wallet"],"summary":"Get Wallet","description":"Saldo y estadísticas del wallet de un cliente.","operationId":"get_wallet_api_inti_wallet__client_id__get","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inti/wallet/{client_id}/ledger":{"get":{"tags":["inti_wallet"],"summary":"Get Ledger","description":"Historial de transacciones (inmutable).","operationId":"get_ledger_api_inti_wallet__client_id__ledger_get","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"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/inti/wallet/credit":{"post":{"tags":["inti_wallet"],"summary":"Manual Credit","description":"Acredita inti manualmente (admin).","operationId":"manual_credit_api_inti_wallet_credit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManualCreditRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inti/rate-card":{"get":{"tags":["inti_wallet"],"summary":"List Rate Card","description":"Lista la tarifa vigente. Muestra inti y margen (solo admin).","operationId":"list_rate_card_api_inti_rate_card_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["inti_wallet"],"summary":"Create Rate","description":"Crea una nueva versión de tarifa. Cierra la anterior. Margen mínimo 28%.","operationId":"create_rate_api_inti_rate_card_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateCardCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inti/usage/{client_id}":{"get":{"tags":["inti_wallet"],"summary":"Get Usage","description":"Consumo real por cliente.","operationId":"get_usage_api_inti_usage__client_id__get","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inti/admin/usage":{"get":{"tags":["inti_wallet"],"summary":"Admin Get All Usage","description":"Consumo global con costos reales y margen (solo admin).","operationId":"admin_get_all_usage_api_inti_admin_usage_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inti/spend-limits":{"post":{"tags":["inti_wallet"],"summary":"Set Spend Limit","description":"Define topes de gasto por agente y cliente.","operationId":"set_spend_limit_api_inti_spend_limits_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpendLimitSet"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inti/spend-limits/{client_id}/{agent_id}":{"get":{"tags":["inti_wallet"],"summary":"Get Spend Limit","description":"Obtiene los topes de gasto de un agente.","operationId":"get_spend_limit_api_inti_spend_limits__client_id___agent_id__get","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}},{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/complete":{"post":{"tags":["ai_gateway"],"summary":"Ai Complete","description":"Gateway LLM — enruta por nivel, descuenta inti, registra uso.","operationId":"ai_complete_api_ai_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/speech":{"post":{"tags":["ai_gateway"],"summary":"Ai Speech","description":"TTS vía ElevenLabs. Descuenta inti por caracteres.","operationId":"ai_speech_api_ai_speech_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeechRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/transcribe":{"post":{"tags":["ai_gateway"],"summary":"Ai Transcribe","description":"Transcripción de voz a texto vía Whisper. Descuenta inti por minuto.","operationId":"ai_transcribe_api_ai_transcribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscribeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ai/models":{"get":{"tags":["ai_gateway"],"summary":"List Models","description":"Lista los modelos disponibles por nivel. Sin exponer costos ni márgenes.","operationId":"list_models_api_ai_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/wa/numbers":{"get":{"tags":["whatsapp_cloud"],"summary":"List Numbers","description":"Lista todos los números registrados y su estado.","operationId":"list_numbers_api_wa_numbers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["whatsapp_cloud"],"summary":"Register Number","description":"Registra un nuevo número en el portafolio.\nBloquea si se supera el límite del portafolio Meta.","operationId":"register_number_api_wa_numbers_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneNumberRegister"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/wa/numbers/{phone_number}/limitations":{"get":{"tags":["whatsapp_cloud"],"summary":"Get Mode Limitations","description":"Devuelve las limitaciones del modo elegido antes de confirmar el alta.","operationId":"get_mode_limitations_api_wa_numbers__phone_number__limitations_get","parameters":[{"name":"phone_number","in":"path","required":true,"schema":{"type":"string","title":"Phone Number"}},{"name":"mode","in":"query","required":true,"schema":{"type":"string","title":"Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/wa/numbers/verify":{"post":{"tags":["whatsapp_cloud"],"summary":"Verify Number","description":"Verifica un número via código SMS/Voz de Meta.\nControla el límite de intentos para no bloquear el número.","operationId":"verify_number_api_wa_numbers_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneNumberVerify"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/wa/numbers/{phone_number}/phone-id":{"put":{"tags":["whatsapp_cloud"],"summary":"Update Phone Id","description":"Actualiza el phone_number_id de Meta para un número registrado.","operationId":"update_phone_id_api_wa_numbers__phone_number__phone_id_put","parameters":[{"name":"phone_number","in":"path","required":true,"schema":{"type":"string","title":"Phone Number"}},{"name":"phone_number_id","in":"query","required":true,"schema":{"type":"string","title":"Phone Number Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/wa/webhook":{"get":{"tags":["whatsapp_cloud"],"summary":"Verify Webhook","description":"Verificación del webhook por Meta.","operationId":"verify_webhook_api_wa_webhook_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["whatsapp_cloud"],"summary":"Receive Message","description":"Webhook principal para mensajes entrantes de WhatsApp Cloud API.\nVerifica firma HMAC, renueva ventana de 24h, detecta traspaso humano.","operationId":"receive_message_api_wa_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/wa/coexistence/pause":{"post":{"tags":["whatsapp_cloud"],"summary":"Coexistence Pause Resume","description":"Pausa o reanuda el agente en una conversación específica (modo coexistencia).\nSe llama cuando un humano responde desde la app WhatsApp Business.","operationId":"coexistence_pause_resume_api_wa_coexistence_pause_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoexistencePauseResume"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/wa/coexistence/status/{phone_number_id}/{wa_id}":{"get":{"tags":["whatsapp_cloud"],"summary":"Coexistence Status","description":"Verifica si el agente está pausado por traspaso humano.","operationId":"coexistence_status_api_wa_coexistence_status__phone_number_id___wa_id__get","parameters":[{"name":"phone_number_id","in":"path","required":true,"schema":{"type":"string","title":"Phone Number Id"}},{"name":"wa_id","in":"path","required":true,"schema":{"type":"string","title":"Wa Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/wa/flows":{"get":{"tags":["whatsapp_cloud"],"summary":"List Flows","description":"Lista los Flows disponibles para un cliente.","operationId":"list_flows_api_wa_flows_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"neuralia369","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["whatsapp_cloud"],"summary":"Create Flow","description":"Crea un nuevo Flow en modo borrador.","operationId":"create_flow_api_wa_flows_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/wa/flows/{flow_id}":{"get":{"tags":["whatsapp_cloud"],"summary":"Get Flow","description":"Obtiene el JSON de un Flow específico.","operationId":"get_flow_api_wa_flows__flow_id__get","parameters":[{"name":"flow_id","in":"path","required":true,"schema":{"type":"string","title":"Flow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/wa/flows/{flow_id}/publish":{"post":{"tags":["whatsapp_cloud"],"summary":"Publish Flow","description":"Publica un Flow (modo borrador → publicado).\nRequiere revisión humana. NO envía a Meta hasta que el flag wa_flows esté ON.","operationId":"publish_flow_api_wa_flows__flow_id__publish_post","parameters":[{"name":"flow_id","in":"path","required":true,"schema":{"type":"string","title":"Flow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowPublish"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/wa/flows/{flow_id}/webhook":{"post":{"tags":["whatsapp_cloud"],"summary":"Flow Webhook","description":"Endpoint cifrado para respuestas dinámicas de WhatsApp Flows.\nRecibe la respuesta del usuario y la procesa (crea cita, contacto, etc.).","operationId":"flow_webhook_api_wa_flows__flow_id__webhook_post","parameters":[{"name":"flow_id","in":"path","required":true,"schema":{"type":"string","title":"Flow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/wa/send":{"post":{"tags":["whatsapp_cloud"],"summary":"Send Message","description":"Envía un mensaje de texto o plantilla.\nRespeta la ventana de 24h: fuera de ella solo plantillas.","operationId":"send_message_api_wa_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessage"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/wa/portfolio/status":{"get":{"tags":["whatsapp_cloud"],"summary":"Portfolio Status","description":"Estado del portafolio de números Meta.","operationId":"portfolio_status_api_wa_portfolio_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/treasury/providers":{"get":{"tags":["treasury"],"summary":"List Providers","description":"Estado de todos los proveedores con cobertura en días.","operationId":"list_providers_api_treasury_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/treasury/providers/{provider_id}/balance":{"put":{"tags":["treasury"],"summary":"Update Provider Balance","description":"Actualiza el saldo estimado de un proveedor (admin lo ingresa tras recargar).\nNO es un pago ni almacena datos de tarjeta.","operationId":"update_provider_balance_api_treasury_providers__provider_id__balance_put","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderBalanceUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/treasury/check":{"post":{"tags":["treasury"],"summary":"Trigger Coverage Check","description":"Dispara un chequeo manual de cobertura de todos los proveedores.","operationId":"trigger_coverage_check_api_treasury_check_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/treasury/snapshots":{"get":{"tags":["treasury"],"summary":"Get Snapshots","description":"Historial de snapshots de tesorería.","operationId":"get_snapshots_api_treasury_snapshots_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"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/treasury/cash-reserve":{"post":{"tags":["treasury"],"summary":"Check Cash Reserve","description":"Calcula la reserva de caja requerida vs la disponible.\nEl admin ingresa el efectivo disponible; la plataforma lo compara.","operationId":"check_cash_reserve_api_treasury_cash_reserve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashReserveQuery"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/treasury/failover/{provider_model}":{"get":{"tags":["treasury"],"summary":"Get Failover","description":"Consulta el modelo de respaldo disponible para un modelo dado.","operationId":"get_failover_api_treasury_failover__provider_model__get","parameters":[{"name":"provider_model","in":"path","required":true,"schema":{"type":"string","title":"Provider Model"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/treasury/spend/daily/{provider_id}":{"get":{"tags":["treasury"],"summary":"Get Daily Spend","description":"Consumo diario del proveedor con promedio móvil.","operationId":"get_daily_spend_api_treasury_spend_daily__provider_id__get","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":30,"default":7,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/plans":{"get":{"tags":["billing"],"summary":"List Plans","description":"Catálogo de planes sin exponer costos internos.","operationId":"list_plans_api_billing_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/billing/recharge-packs":{"get":{"tags":["billing"],"summary":"List Recharge Packs","operationId":"list_recharge_packs_api_billing_recharge_packs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/billing/calculator":{"post":{"tags":["billing"],"summary":"Public Calculator","description":"Calculadora pública: estima consumo en inti, USD.\nLee rate_card vigente. No requiere autenticación.","operationId":"public_calculator_api_billing_calculator_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculatorQuery"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/calculator/tariffs":{"get":{"tags":["billing"],"summary":"Get Tariff Table","description":"Tabla de tarifas públicas (inti y USD, sin costos de compra ni márgenes).","operationId":"get_tariff_table_api_billing_calculator_tariffs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/billing/checkout":{"post":{"tags":["billing"],"summary":"Create Checkout","description":"Inicia Stripe Checkout. Flags OFF → simula URL.\nEl saldo se acredita SOLO tras el webhook de Stripe.","operationId":"create_checkout_api_billing_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing_plans__CheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/webhook/stripe":{"post":{"tags":["billing"],"summary":"Stripe Webhook","description":"Webhook de Stripe. Acredita inti SOLO tras pago confirmado.\nFlag billing_plans puede estar OFF — el webhook siempre acredita si el pago es real.","operationId":"stripe_webhook_api_billing_webhook_stripe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/billing/delivery-act":{"post":{"tags":["billing"],"summary":"Create Delivery Act","description":"Crea un acta de entrega que marca la integración como entregada\ny habilita el cobro del 50% restante.\nUsa el módulo de contratos existente (SignWell) si está disponible.","operationId":"create_delivery_act_api_billing_delivery_act_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryActCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/delivery-act/{act_id}/sign":{"put":{"tags":["billing"],"summary":"Sign Delivery Act","description":"Marca el acta como firmada y habilita el cobro del 50%.","operationId":"sign_delivery_act_api_billing_delivery_act__act_id__sign_put","parameters":[{"name":"act_id","in":"path","required":true,"schema":{"type":"string","title":"Act Id"}},{"name":"signed_by","in":"query","required":false,"schema":{"type":"string","default":"client","title":"Signed By"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/delivery-act/{client_id}":{"get":{"tags":["billing"],"summary":"Get Delivery Acts","description":"Lista las actas de entrega de un cliente.","operationId":"get_delivery_acts_api_billing_delivery_act__client_id__get","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/invoices/{client_id}":{"get":{"tags":["billing"],"summary":"Get Invoices","description":"Comprobantes del cliente (en borrador hasta conectar SUNAT).","operationId":"get_invoices_api_billing_invoices__client_id__get","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aynara/status":{"get":{"tags":["aynara_f4"],"summary":"Aynara F4 Status","operationId":"aynara_f4_status_api_aynara_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/aynara/morning/send-now":{"post":{"tags":["aynara_f4"],"summary":"Morning Send Now","operationId":"morning_send_now_api_aynara_morning_send_now_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendNowRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aynara/morning/history":{"get":{"tags":["aynara_f4"],"summary":"Morning History","operationId":"morning_history_api_aynara_morning_history_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"neuralia369","title":"Client Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aynara/voice/process":{"post":{"tags":["aynara_f4"],"summary":"Voice Process","operationId":"voice_process_api_aynara_voice_process_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceProcessRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aynara/voice/sessions":{"get":{"tags":["aynara_f4"],"summary":"Voice Sessions","operationId":"voice_sessions_api_aynara_voice_sessions_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"neuralia369","title":"Client Id"}},{"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/aynara/voice/confirm/{session_id}":{"post":{"tags":["aynara_f4"],"summary":"Voice Confirm","operationId":"voice_confirm_api_aynara_voice_confirm__session_id__post","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/aynara/voice/cancel/{session_id}":{"post":{"tags":["aynara_f4"],"summary":"Voice Cancel","operationId":"voice_cancel_api_aynara_voice_cancel__session_id__post","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/agents/status":{"get":{"tags":["agent_templates_f5"],"summary":"Agent Templates Status","operationId":"agent_templates_status_api_agents_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/agents/templates":{"get":{"tags":["agent_templates_f5"],"summary":"List Templates","description":"Catálogo de plantillas disponibles, opcionalmente filtrado por sector.","operationId":"list_templates_api_agents_templates_get","parameters":[{"name":"sector","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agents/templates/{template_id}":{"get":{"tags":["agent_templates_f5"],"summary":"Get Template","description":"Detalle completo de una plantilla incluyendo wizard steps.","operationId":"get_template_api_agents_templates__template_id__get","parameters":[{"name":"template_id","in":"path","required":true,"schema":{"type":"string","title":"Template Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agents/install":{"post":{"tags":["agent_templates_f5"],"summary":"Start Installation","description":"Inicia el proceso de instalación de una plantilla para un tenant.\nCrea una instalación con status 'wizard_in_progress'.","operationId":"start_installation_api_agents_install_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstallRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agents/installations":{"get":{"tags":["agent_templates_f5"],"summary":"List Installations","description":"Instalaciones del tenant.","operationId":"list_installations_api_agents_installations_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"neuralia369","title":"Client Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agents/installations/{installation_id}":{"get":{"tags":["agent_templates_f5"],"summary":"Get Installation","operationId":"get_installation_api_agents_installations__installation_id__get","parameters":[{"name":"installation_id","in":"path","required":true,"schema":{"type":"string","title":"Installation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["agent_templates_f5"],"summary":"Deactivate Installation","description":"Desactiva (no borra) una instalación activa.","operationId":"deactivate_installation_api_agents_installations__installation_id__delete","parameters":[{"name":"installation_id","in":"path","required":true,"schema":{"type":"string","title":"Installation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agents/installations/{installation_id}/wizard-step":{"put":{"tags":["agent_templates_f5"],"summary":"Wizard Step","description":"Guarda los datos de un paso del wizard y avanza al siguiente.\nCuando se completa el último paso, el status cambia a 'wizard_complete'.","operationId":"wizard_step_api_agents_installations__installation_id__wizard_step_put","parameters":[{"name":"installation_id","in":"path","required":true,"schema":{"type":"string","title":"Installation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WizardStepRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agents/installations/{installation_id}/activate":{"post":{"tags":["agent_templates_f5"],"summary":"Activate Installation","description":"Activa una instalación completada.\nGenera el system_prompt, welcome_message y la lista de flags a habilitar.\nStatus: wizard_complete → active.","operationId":"activate_installation_api_agents_installations__installation_id__activate_post","parameters":[{"name":"installation_id","in":"path","required":true,"schema":{"type":"string","title":"Installation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/results/status":{"get":{"tags":["results_billing_f6"],"summary":"Results Status","operationId":"results_status_api_results_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/results/weekly":{"get":{"tags":["results_billing_f6"],"summary":"Weekly Preview","operationId":"weekly_preview_api_results_weekly_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"neuralia369","title":"Client Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/results/weekly/send":{"post":{"tags":["results_billing_f6"],"summary":"Weekly Send","operationId":"weekly_send_api_results_weekly_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeeklySendRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/results/weekly/history":{"get":{"tags":["results_billing_f6"],"summary":"Weekly History","operationId":"weekly_history_api_results_weekly_history_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"neuralia369","title":"Client Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":8,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/results/payment-links":{"post":{"tags":["results_billing_f6"],"summary":"Payment Link Create","operationId":"payment_link_create_api_results_payment_links_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["results_billing_f6"],"summary":"Payment Links List","operationId":"payment_links_list_api_results_payment_links_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"neuralia369","title":"Client Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"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/results/payment-links/summary":{"get":{"tags":["results_billing_f6"],"summary":"Payment Links Summary","description":"Vista admin: links de todos los clientes agrupados, con totales en soles.","operationId":"payment_links_summary_api_results_payment_links_summary_get","parameters":[{"name":"limit_recent","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Limit Recent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/results/payment-links/{link_id}":{"get":{"tags":["results_billing_f6"],"summary":"Payment Link Get","operationId":"payment_link_get_api_results_payment_links__link_id__get","parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/results/payment-links/{link_id}/send":{"post":{"tags":["results_billing_f6"],"summary":"Payment Link Send","operationId":"payment_link_send_api_results_payment_links__link_id__send_post","parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/results/payment-links/{link_id}/mark-paid":{"post":{"tags":["results_billing_f6"],"summary":"Payment Link Mark Paid","operationId":"payment_link_mark_paid_api_results_payment_links__link_id__mark_paid_post","parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/results/payment-links/{link_id}/sync":{"post":{"tags":["results_billing_f6"],"summary":"Payment Link Sync","operationId":"payment_link_sync_api_results_payment_links__link_id__sync_post","parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/results/reminders/run":{"post":{"tags":["results_billing_f6"],"summary":"Reminders Run","operationId":"reminders_run_api_results_reminders_run_post","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"}},{"name":"dry_run","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Dry Run"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/results/overdue":{"get":{"tags":["results_billing_f6"],"summary":"Overdue List","operationId":"overdue_list_api_results_overdue_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/results/inti-usage":{"get":{"tags":["results_billing_f6"],"summary":"Inti Usage","operationId":"inti_usage_api_results_inti_usage_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"neuralia369","title":"Client Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/results/stripe-webhook":{"post":{"tags":["results_billing_f6_public"],"summary":"Stripe Webhook Links","description":"Webhook Stripe para links F6: marca pagado al confirmar checkout.session.completed.","operationId":"stripe_webhook_links_api_results_stripe_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/learning/feedback":{"post":{"tags":["agent_learning_f7"],"summary":"Feedback Create","operationId":"feedback_create_api_learning_feedback_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["agent_learning_f7"],"summary":"Feedback List","operationId":"feedback_list_api_learning_feedback_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"neuralia369","title":"Client Id"}},{"name":"signal","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signal"}},{"name":"installation_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Installation Id"}},{"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/learning/feedback/stats":{"get":{"tags":["agent_learning_f7"],"summary":"Feedback Stats","operationId":"feedback_stats_api_learning_feedback_stats_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"neuralia369","title":"Client Id"}},{"name":"installation_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Installation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/learning/replies/track":{"post":{"tags":["agent_learning_f7"],"summary":"Replies Track","operationId":"replies_track_api_learning_replies_track_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackReplyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/learning/feedback/inbound":{"post":{"tags":["agent_learning_f7"],"summary":"Feedback Inbound","operationId":"feedback_inbound_api_learning_feedback_inbound_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundFeedbackRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/learning/kb":{"post":{"tags":["agent_learning_f7"],"summary":"Kb Create","operationId":"kb_create_api_learning_kb_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KBCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["agent_learning_f7"],"summary":"Kb List","operationId":"kb_list_api_learning_kb_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"neuralia369","title":"Client Id"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/learning/kb/{kb_id}":{"put":{"tags":["agent_learning_f7"],"summary":"Kb Update","operationId":"kb_update_api_learning_kb__kb_id__put","parameters":[{"name":"kb_id","in":"path","required":true,"schema":{"type":"string","title":"Kb Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KBUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["agent_learning_f7"],"summary":"Kb Delete","operationId":"kb_delete_api_learning_kb__kb_id__delete","parameters":[{"name":"kb_id","in":"path","required":true,"schema":{"type":"string","title":"Kb Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/learning/kb/context":{"get":{"tags":["agent_learning_f7"],"summary":"Kb Context Endpoint","operationId":"kb_context_endpoint_api_learning_kb_context_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"neuralia369","title":"Client Id"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":5,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/learning/prompts/versions":{"post":{"tags":["agent_learning_f7"],"summary":"Prompt Version Create","operationId":"prompt_version_create_api_learning_prompts_versions_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptVersionCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["agent_learning_f7"],"summary":"Prompt Versions List","operationId":"prompt_versions_list_api_learning_prompts_versions_get","parameters":[{"name":"installation_id","in":"query","required":true,"schema":{"type":"string","title":"Installation Id"}},{"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/learning/prompts/pending":{"get":{"tags":["agent_learning_f7"],"summary":"Prompt Versions Pending","description":"Borradores pendientes de aprobación (todas las instalaciones), con el prompt actual para diff.","operationId":"prompt_versions_pending_api_learning_prompts_pending_get","parameters":[{"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":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/learning/prompts/versions/{version_id}/approve":{"post":{"tags":["agent_learning_f7"],"summary":"Prompt Version Approve","operationId":"prompt_version_approve_api_learning_prompts_versions__version_id__approve_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApproveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/learning/prompts/versions/{version_id}/reject":{"post":{"tags":["agent_learning_f7"],"summary":"Prompt Version Reject","operationId":"prompt_version_reject_api_learning_prompts_versions__version_id__reject_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RejectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/learning/prompts/suggest":{"post":{"tags":["agent_learning_f7"],"summary":"Prompt Suggest","operationId":"prompt_suggest_api_learning_prompts_suggest_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/learning/status":{"get":{"tags":["agent_learning_f7"],"summary":"Learning Status","operationId":"learning_status_api_learning_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/market/status":{"get":{"tags":["market_intel_f8"],"summary":"Market Status","operationId":"market_status_api_market_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/market/prices":{"get":{"tags":["market_intel_f8"],"summary":"Prices Latest","operationId":"prices_latest_api_market_prices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["market_intel_f8"],"summary":"Prices Record","operationId":"prices_record_api_market_prices_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceObservation"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/market/prices/{provider_model}/history":{"get":{"tags":["market_intel_f8"],"summary":"Prices History","operationId":"prices_history_api_market_prices__provider_model__history_get","parameters":[{"name":"provider_model","in":"path","required":true,"schema":{"type":"string","title":"Provider Model"}},{"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/market/prices/check":{"post":{"tags":["market_intel_f8"],"summary":"Prices Ai Check","operationId":"prices_ai_check_api_market_prices_check_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/market/margins":{"get":{"tags":["market_intel_f8"],"summary":"Margins","operationId":"margins_api_market_margins_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/market/alerts":{"get":{"tags":["market_intel_f8"],"summary":"Alerts List","operationId":"alerts_list_api_market_alerts_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"open","title":"Status"}},{"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/market/alerts/{alert_id}/ack":{"post":{"tags":["market_intel_f8"],"summary":"Alerts Ack","operationId":"alerts_ack_api_market_alerts__alert_id__ack_post","parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"string","title":"Alert Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/market/intel/run":{"post":{"tags":["market_intel_f8"],"summary":"Intel Run","operationId":"intel_run_api_market_intel_run_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntelRunRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/market/intel":{"get":{"tags":["market_intel_f8"],"summary":"Intel List","operationId":"intel_list_api_market_intel_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"neuralia369","title":"Client Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/market/intel/latest":{"get":{"tags":["market_intel_f8"],"summary":"Intel Latest All","description":"Último brief por cliente (vista admin).","operationId":"intel_latest_all_api_market_intel_latest_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/market/intel/{brief_id}":{"get":{"tags":["market_intel_f8"],"summary":"Intel Get","operationId":"intel_get_api_market_intel__brief_id__get","parameters":[{"name":"brief_id","in":"path","required":true,"schema":{"type":"string","title":"Brief Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/status":{"get":{"tags":["services_studio_f9"],"summary":"Studio Status","operationId":"studio_status_api_studio_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/studio/services":{"get":{"tags":["services_studio_f9"],"summary":"Services List","operationId":"services_list_api_studio_services_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","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["services_studio_f9"],"summary":"Services Create","operationId":"services_create_api_studio_services_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/services/{service_id}":{"get":{"tags":["services_studio_f9"],"summary":"Services Get","operationId":"services_get_api_studio_services__service_id__get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["services_studio_f9"],"summary":"Services Update","operationId":"services_update_api_studio_services__service_id__put","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["services_studio_f9"],"summary":"Services Archive","operationId":"services_archive_api_studio_services__service_id__delete","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/services/generate":{"post":{"tags":["services_studio_f9"],"summary":"Services Generate","description":"Crea un borrador completo (prompt + wizard + intents) a partir de un brief en lenguaje natural.","operationId":"services_generate_api_studio_services_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/services/{service_id}/test":{"post":{"tags":["services_studio_f9"],"summary":"Services Test","description":"Prueba el agente con un mensaje de cliente usando el prompt renderizado (LLM si flag ON).","operationId":"services_test_api_studio_services__service_id__test_post","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/services/{service_id}/publish":{"post":{"tags":["services_studio_f9"],"summary":"Services Publish","description":"Publica el servicio como plantilla custom instalable con el wizard F5.","operationId":"services_publish_api_studio_services__service_id__publish_post","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/services/{service_id}/test-runs":{"get":{"tags":["services_studio_f9"],"summary":"Services Test Runs","operationId":"services_test_runs_api_studio_services__service_id__test_runs_get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"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/studio/requests/{request_id}/activate":{"post":{"tags":["services_studio_f9"],"summary":"Catalog Request Activate","description":"Admin · un clic: completa el wizard con datos del contacto y activa la instalación F5.","operationId":"catalog_request_activate_api_studio_requests__request_id__activate_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/requests":{"get":{"tags":["services_studio_f9"],"summary":"Catalog Requests","description":"Admin: solicitudes de instalación del catálogo.","operationId":"catalog_requests_api_studio_requests_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","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/catalog":{"get":{"tags":["services_studio_f9_public"],"summary":"Catalog Public","description":"Galería pública: servicios publicados (reales o simulados) listos para instalar.","operationId":"catalog_public_api_studio_catalog_get","parameters":[{"name":"sector","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":60,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/catalog/{service_id}/request-install":{"post":{"tags":["services_studio_f9_public"],"summary":"Catalog Request Install","description":"Un clic: registra la solicitud del cliente y, si la plantilla está en catálogo, inicia la instalación F5.","operationId":"catalog_request_install_api_studio_catalog__service_id__request_install_post","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstallRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mentors/status":{"get":{"tags":["mentors_council_f10"],"summary":"Mentors Status","operationId":"mentors_status_api_mentors_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mentors/council":{"get":{"tags":["mentors_council_f10"],"summary":"Mentors List","operationId":"mentors_list_api_mentors_council_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mentors/advise":{"post":{"tags":["mentors_council_f10"],"summary":"Mentors Advise","description":"El consejo analiza y entrega Plan A / Plan B (IA si flag ON, heurístico si OFF).","operationId":"mentors_advise_api_mentors_advise_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdviseRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mentors/sessions":{"get":{"tags":["mentors_council_f10"],"summary":"Mentors Sessions","operationId":"mentors_sessions_api_mentors_sessions_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"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/mentors/sessions/{session_id}":{"get":{"tags":["mentors_council_f10"],"summary":"Mentors Session Get","operationId":"mentors_session_get_api_mentors_sessions__session_id__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/mentors/sessions/{session_id}/decide":{"post":{"tags":["mentors_council_f10"],"summary":"Mentors Decide","description":"Aprobación humana: el admin elige Plan A o Plan B y queda en la ficha del cliente.","operationId":"mentors_decide_api_mentors_sessions__session_id__decide_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mentors/clients":{"get":{"tags":["mentors_council_f10"],"summary":"Mentors Clients","description":"Clientes activos + el Plan vigente guardado en su ficha.","operationId":"mentors_clients_api_mentors_clients_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mentors/clients/{client_id}/plan":{"get":{"tags":["mentors_council_f10"],"summary":"Mentors Client Plan","description":"Ficha del cliente: Plan vigente + historial de decisiones.","operationId":"mentors_client_plan_api_mentors_clients__client_id__plan_get","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mentors/pending-decisions":{"get":{"tags":["mentors_council_f10"],"summary":"Mentors Pending Decisions","description":"Dictámenes en estado 'advised' (sin Plan elegido) con más de `days` días.","operationId":"mentors_pending_decisions_api_mentors_pending_decisions_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":2,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/client-profile/clients":{"get":{"tags":["client_profile"],"summary":"Profile Clients","description":"Clientes conocidos (instalaciones activas + neuralia369).","operationId":"profile_clients_api_client_profile_clients_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/client-profile/{client_id}":{"get":{"tags":["client_profile"],"summary":"Client Profile","description":"Ficha única: plan de mentores, agentes activos y último brief de mercado.","operationId":"client_profile_api_client_profile__client_id__get","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/status":{"get":{"tags":["crm"],"summary":"Crm Status","operationId":"crm_status_api_crm_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/crm/contacts":{"get":{"tags":["crm"],"summary":"Crm Contacts","operationId":"crm_contacts_api_crm_contacts_get","parameters":[{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tag"}},{"name":"consent","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["crm"],"summary":"Crm Contact Create","operationId":"crm_contact_create_api_crm_contacts_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts/{contact_id}":{"put":{"tags":["crm"],"summary":"Crm Contact Update","operationId":"crm_contact_update_api_crm_contacts__contact_id__put","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","title":"Contact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["crm"],"summary":"Crm Contact Delete","operationId":"crm_contact_delete_api_crm_contacts__contact_id__delete","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts/preview":{"post":{"tags":["crm"],"summary":"Crm Import Preview","description":"Devuelve los primeros 8 contactos + mapeo detectado. Incluye campos extra.","operationId":"crm_import_preview_api_crm_contacts_preview_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_crm_import_preview_api_crm_contacts_preview_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/segments":{"get":{"tags":["crm"],"summary":"Crm Segments","description":"Devuelve todos los segmentos/nichos (tags) con cantidad de contactos.","operationId":"crm_segments_api_crm_segments_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/crm/contacts/import":{"post":{"tags":["crm"],"summary":"Crm Import","description":"Carga masiva desde Excel (.xlsx) o CSV. Deduplica por teléfono o correo. Guarda campos extra en meta.","operationId":"crm_import_api_crm_contacts_import_post","parameters":[{"name":"default_tag","in":"query","required":false,"schema":{"type":"string","default":"","title":"Default Tag"}},{"name":"nicho","in":"query","required":false,"schema":{"type":"string","default":"","title":"Nicho"}},{"name":"consent_default","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Consent Default"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_crm_import_api_crm_contacts_import_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns":{"get":{"tags":["crm"],"summary":"Crm Campaigns","operationId":"crm_campaigns_api_crm_campaigns_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"}}}}}},"post":{"tags":["crm"],"summary":"Crm Campaign Create","operationId":"crm_campaign_create_api_crm_campaigns_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/send":{"post":{"tags":["crm"],"summary":"Crm Campaign Send","description":"Dispara la campaña. WhatsApp solo a quienes dieron consentimiento; baja respetada.","operationId":"crm_campaign_send_api_crm_campaigns__campaign_id__send_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2fa/status":{"get":{"tags":["admin_2fa"],"summary":"Twofa Status","operationId":"twofa_status_api_2fa_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/2fa/setup":{"post":{"tags":["admin_2fa"],"summary":"Twofa Setup","description":"Genera un secreto TOTP (pendiente) y devuelve el URI otpauth para el QR.","operationId":"twofa_setup_api_2fa_setup_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/2fa/enable":{"post":{"tags":["admin_2fa"],"summary":"Twofa Enable","description":"Confirma el primer código y activa el 2FA. Devuelve códigos de respaldo (una vez).","operationId":"twofa_enable_api_2fa_enable_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/2fa/disable":{"post":{"tags":["admin_2fa"],"summary":"Twofa Disable","description":"Desactiva el 2FA (requiere un código válido actual o de respaldo).","operationId":"twofa_disable_api_2fa_disable_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/":{"get":{"summary":"Root","operationId":"root_api__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/health":{"get":{"summary":"Health Check","operationId":"health_check_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/media/videos":{"get":{"summary":"List Public Demo Videos","operationId":"list_public_demo_videos_api_media_videos_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/media/videos/{filename}":{"get":{"summary":"Serve Public Demo Video","operationId":"serve_public_demo_video_api_media_videos__filename__get","parameters":[{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}},{"name":"download","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Download"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/subscription-plans":{"get":{"summary":"Get Subscription Plans","operationId":"get_subscription_plans_api_subscription_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/partner/plan-catalog":{"get":{"summary":"Get Partner Plan Catalog","operationId":"get_partner_plan_catalog_api_partner_plan_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/partner/legal-acceptance":{"post":{"summary":"Create Partner Legal Acceptance","operationId":"create_partner_legal_acceptance_api_partner_legal_acceptance_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerLegalAcceptanceRequest"}}},"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/subscription-checkout":{"post":{"summary":"Create Partner Subscription Checkout","operationId":"create_partner_subscription_checkout_api_partner_subscription_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerSubscriptionCheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/partner/simulate-sale":{"post":{"summary":"Simulate Partner Sale","operationId":"simulate_partner_sale_api_admin_partner_simulate_sale_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerSaleSimulationRequest"}}},"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/stripe/reconcile-session":{"post":{"summary":"Reconcile Stripe Session","operationId":"reconcile_stripe_session_api_admin_stripe_reconcile_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeSessionReconcileRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/credits/top-up-checkout":{"post":{"summary":"Create Credit Top Up Checkout","operationId":"create_credit_top_up_checkout_api_credits_top_up_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditTopUpCheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/security/posture":{"get":{"summary":"Get Security Posture","operationId":"get_security_posture_api_security_posture_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/contact":{"get":{"summary":"Get Contact Messages","operationId":"get_contact_messages_api_contact_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ContactMessage"},"type":"array","title":"Response Get Contact Messages Api Contact Get"}}}}}},"post":{"summary":"Create Contact Message","operationId":"create_contact_message_api_contact_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactMessageCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/peru/contact":{"post":{"summary":"Peru Landing Contact","description":"Captura lead desde la landing /activa-peru, inserta en pipeline y dispara auto-respuesta WA.","operationId":"peru_landing_contact_api_peru_contact_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeruLeadCreate"}}},"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/peru/leads":{"get":{"summary":"Get Peru Leads","operationId":"get_peru_leads_api_admin_peru_leads_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/peru/leads/{lead_id}":{"patch":{"summary":"Update Peru Lead","operationId":"update_peru_lead_api_admin_peru_leads__lead_id__patch","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeruLeadUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/peru/report":{"get":{"summary":"Get Peru Daily Report","description":"Genera el reporte diario del pipeline Peru en tiempo real.","operationId":"get_peru_daily_report_api_admin_peru_report_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/publer/connect":{"post":{"summary":"Publer Connect","description":"Guarda y verifica una API Key de Publer. Si Publer no es alcanzable (entorno preview sin internet), guarda igualmente.","operationId":"publer_connect_api_admin_publer_connect_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"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/publer/status":{"get":{"summary":"Publer Status","operationId":"publer_status_api_admin_publer_status_get","parameters":[{"name":"workspace","in":"query","required":false,"schema":{"type":"string","default":"neuralia","title":"Workspace"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/publer/publish":{"post":{"summary":"Publer Publish","description":"Publica un post en una o varias redes sociales via Publer.","operationId":"publer_publish_api_admin_publer_publish_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"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/publer/posts":{"get":{"summary":"Publer Get Posts","operationId":"publer_get_posts_api_admin_publer_posts_get","parameters":[{"name":"workspace","in":"query","required":false,"schema":{"type":"string","default":"neuralia","title":"Workspace"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/publer/connect":{"post":{"summary":"Client Publer Connect","operationId":"client_publer_connect_api_publer_connect_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/publer/status":{"get":{"summary":"Client Publer Status","operationId":"client_publer_status_api_publer_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/wati/status":{"get":{"summary":"Wati Status","description":"Estado de configuración WATI.","operationId":"wati_status_api_admin_wati_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/wati/config":{"post":{"summary":"Save Wati Config","description":"Guarda credenciales WATI (endpoint + token + teléfono de canal).","operationId":"save_wati_config_api_admin_wati_config_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"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/wati/test":{"post":{"summary":"Test Wati","description":"Envía un mensaje de prueba WATI a un número.","operationId":"test_wati_api_admin_wati_test_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/webhooks/wati":{"post":{"summary":"Wati Inbound Webhook","description":"Recibe mensajes entrantes y eventos de estado de WATI.","operationId":"wati_inbound_webhook_api_webhooks_wati_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/partners":{"get":{"summary":"List Admin Partners","description":"Lista solo los clientes reales de Neuralia369 (titulares de cuenta, sin staff ni cuentas de prueba).","operationId":"list_admin_partners_api_admin_partners_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/automation-templates":{"get":{"summary":"List Automation Templates","operationId":"list_automation_templates_api_admin_automation_templates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Automation Template","operationId":"create_automation_template_api_admin_automation_templates_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"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/automation-templates/{template_id}/assignments":{"get":{"summary":"List Template Assignments","operationId":"list_template_assignments_api_admin_automation_templates__template_id__assignments_get","parameters":[{"name":"template_id","in":"path","required":true,"schema":{"type":"string","title":"Template Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/clients/{client_id}/assign-template/{template_id}":{"post":{"summary":"Assign Automation Template","description":"Clona una plantilla y la asigna a un cliente con sus parámetros específicos.","operationId":"assign_automation_template_api_admin_clients__client_id__assign_template__template_id__post","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}},{"name":"template_id","in":"path","required":true,"schema":{"type":"string","title":"Template Id"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Req"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/clients/{client_id}/automations":{"get":{"summary":"Get Client Automations","description":"Devuelve las automatizaciones asignadas a un cliente.","operationId":"get_client_automations_api_admin_clients__client_id__automations_get","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/clients/{client_id}/automations/{assign_id}/toggle":{"patch":{"summary":"Toggle Client Automation","operationId":"toggle_client_automation_api_admin_clients__client_id__automations__assign_id__toggle_patch","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}},{"name":"assign_id","in":"path","required":true,"schema":{"type":"string","title":"Assign Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Req"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/my/automations":{"get":{"summary":"Get My Automations","operationId":"get_my_automations_api_my_automations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/my/automations/{assign_id}/toggle":{"patch":{"summary":"Toggle My Automation","operationId":"toggle_my_automation_api_my_automations__assign_id__toggle_patch","parameters":[{"name":"assign_id","in":"path","required":true,"schema":{"type":"string","title":"Assign Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Req"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/whatsapp/config":{"get":{"summary":"Get Whatsapp Embedded Config","description":"Devuelve la config pública para el Embedded Signup de Meta (App ID).","operationId":"get_whatsapp_embedded_config_api_connections_whatsapp_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/connections/whatsapp/embedded-signup":{"post":{"summary":"Complete Whatsapp Embedded Signup","description":"Recibe el código OAuth de Meta Embedded Signup, lo intercambia por un\nlong-lived token y lo almacena cifrado. (ORDEN 6: token siempre cifrado).","operationId":"complete_whatsapp_embedded_signup_api_connections_whatsapp_embedded_signup_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/whatsapp/status":{"get":{"summary":"Get My Whatsapp Status","description":"Estado de la conexión WhatsApp del cliente actual.","operationId":"get_my_whatsapp_status_api_connections_whatsapp_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/connections/whatsapp":{"delete":{"summary":"Disconnect Whatsapp","description":"Desconecta WhatsApp y elimina el token cifrado.","operationId":"disconnect_whatsapp_api_connections_whatsapp_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/connections/whatsapp":{"get":{"summary":"Admin List Whatsapp Connections","description":"Admin: lista todas las conexiones WhatsApp de todos los clientes.","operationId":"admin_list_whatsapp_connections_api_admin_connections_whatsapp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/webhooks/meta/embedded-signup":{"get":{"summary":"Meta Embedded Webhook Verify","operationId":"meta_embedded_webhook_verify_api_webhooks_meta_embedded_signup_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Meta Embedded Webhook","description":"Recibe eventos de Meta (cambios en WhatsApp Business Account).","operationId":"meta_embedded_webhook_api_webhooks_meta_embedded_signup_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/audit-logs":{"get":{"summary":"Get Audit Logs","operationId":"get_audit_logs_api_admin_audit_logs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"entity","in":"query","required":false,"schema":{"type":"string","title":"Entity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/aynara/pin/set":{"post":{"summary":"Set Ceo Pin","description":"Establece o cambia el PIN del CEO. Solo desde el panel admin.","operationId":"set_ceo_pin_api_admin_aynara_pin_set_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"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/aynara/session/status":{"get":{"summary":"Get Ceo Session Status","operationId":"get_ceo_session_status_api_admin_aynara_session_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/aynara/session/close":{"post":{"summary":"Close Ceo Session","operationId":"close_ceo_session_api_admin_aynara_session_close_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/webhooks/make":{"get":{"summary":"List Make Webhooks","description":"Lista todos los webhooks Make.com registrados.","operationId":"list_make_webhooks_api_admin_webhooks_make_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Make Webhook","description":"Registra un nuevo webhook Make.com (outbound: Neuralia → Make).","operationId":"create_make_webhook_api_admin_webhooks_make_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MakeWebhookCreate"}}},"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/webhooks/make/{webhook_id}":{"delete":{"summary":"Delete Make Webhook","operationId":"delete_make_webhook_api_admin_webhooks_make__webhook_id__delete","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/webhooks/make/{webhook_id}/test":{"post":{"summary":"Test Make Webhook","description":"Dispara un evento de prueba al webhook registrado.","operationId":"test_make_webhook_api_admin_webhooks_make__webhook_id__test_post","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/webhooks/make/inbound/generate":{"post":{"summary":"Generate Inbound Key","description":"Genera una URL de inbound webhook única para un workspace.","operationId":"generate_inbound_key_api_admin_webhooks_make_inbound_generate_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/webhooks/make/{inbound_key}":{"post":{"summary":"Receive Make Webhook","description":"Recibe eventos desde Make.com y ejecuta acciones en Neuralia.","operationId":"receive_make_webhook_api_webhooks_make__inbound_key__post","parameters":[{"name":"inbound_key","in":"path","required":true,"schema":{"type":"string","title":"Inbound Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/peru/autorespuesta":{"get":{"summary":"Get Peru Autorespuesta Config","description":"Devuelve la configuración actual de auto-respuestas WhatsApp para el pipeline Peru.","operationId":"get_peru_autorespuesta_config_api_admin_peru_autorespuesta_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"Update Peru Autorespuesta Config","description":"Actualiza las plantillas de auto-respuesta WhatsApp para el pipeline Peru.","operationId":"update_peru_autorespuesta_config_api_admin_peru_autorespuesta_put","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"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/peru/leads/{lead_id}/wa-send":{"post":{"summary":"Send Wa To Peru Lead","description":"Envía un mensaje WhatsApp manual desde admin a un lead del pipeline Peru.","operationId":"send_wa_to_peru_lead_api_admin_peru_leads__lead_id__wa_send_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Req"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/partners":{"get":{"summary":"Get Partner Applications","operationId":"get_partner_applications_api_partners_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PartnerApplication"},"type":"array","title":"Response Get Partner Applications Api Partners Get"}}}}}},"post":{"summary":"Create Partner Application","operationId":"create_partner_application_api_partners_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerApplicationCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/stats":{"get":{"summary":"Get Stats","operationId":"get_stats_api_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/packages":{"get":{"summary":"Get Packages","operationId":"get_packages_api_packages_get","parameters":[{"name":"segment","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Segment"}},{"name":"include_hidden","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Hidden"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/pricing-config":{"get":{"summary":"Get Admin Pricing Config","operationId":"get_admin_pricing_config_api_admin_pricing_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"patch":{"summary":"Update Admin Pricing Config","operationId":"update_admin_pricing_config_api_admin_pricing_config_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingConfigUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/checkout":{"post":{"summary":"Create Checkout","operationId":"create_checkout_api_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/server__CheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/create-checkout-session":{"post":{"summary":"Create Checkout Legacy Alias","operationId":"create_checkout_legacy_alias_api_create_checkout_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/server__CheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/subscription-checkout":{"post":{"summary":"Create Subscription Checkout","operationId":"create_subscription_checkout_api_subscription_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionCheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/checkout/status/{session_id}":{"get":{"summary":"Get Checkout Status","operationId":"get_checkout_status_api_checkout_status__session_id__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/service-intake/{session_id}":{"get":{"summary":"Get Service Intake","operationId":"get_service_intake_api_service_intake__session_id__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/service-intake":{"post":{"summary":"Create Service Intake","operationId":"create_service_intake_api_service_intake_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceIntakeCreate"}}},"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/service-intakes":{"get":{"summary":"Get Admin Service Intakes","operationId":"get_admin_service_intakes_api_admin_service_intakes_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/post-consulting-workflows/{workflow_id}":{"get":{"summary":"Get Post Consulting Workflow Detail","operationId":"get_post_consulting_workflow_detail_api_admin_post_consulting_workflows__workflow_id__get","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/post-consulting-workflows/{workflow_id}/sync-ceo-order":{"post":{"summary":"Sync Post Consulting Ceo Order","operationId":"sync_post_consulting_ceo_order_api_admin_post_consulting_workflows__workflow_id__sync_ceo_order_post","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/post-consulting-workflows/{workflow_id}/rerun":{"post":{"summary":"Rerun Post Consulting Workflow","operationId":"rerun_post_consulting_workflow_api_admin_post_consulting_workflows__workflow_id__rerun_post","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/post-consulting-workflows/backfill":{"post":{"summary":"Backfill Post Consulting Workflows","operationId":"backfill_post_consulting_workflows_api_admin_post_consulting_workflows_backfill_post","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/webhook/stripe":{"post":{"summary":"Stripe Webhook","operationId":"stripe_webhook_api_webhook_stripe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/invoice/{session_id}":{"get":{"summary":"Get Invoice","description":"Generate and return a PDF invoice for a payment session","operationId":"get_invoice_api_invoice__session_id__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/webhook/test":{"get":{"summary":"Test Webhook","operationId":"test_webhook_api_webhook_test_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/booking/types":{"get":{"summary":"Get Booking Types","operationId":"get_booking_types_api_booking_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/booking/slots":{"get":{"summary":"Get Available Slots","operationId":"get_available_slots_api_booking_slots_get","parameters":[{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"}},{"name":"booking_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Booking Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/booking":{"post":{"summary":"Create Booking","operationId":"create_booking_api_booking_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCreate"}}},"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/booking-consultants":{"get":{"summary":"Get Booking Consultants","operationId":"get_booking_consultants_api_admin_booking_consultants_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Booking Consultant","operationId":"create_booking_consultant_api_admin_booking_consultants_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingConsultantCreate"}}},"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/booking-consultants/{consultant_id}":{"patch":{"summary":"Update Booking Consultant","operationId":"update_booking_consultant_api_admin_booking_consultants__consultant_id__patch","parameters":[{"name":"consultant_id","in":"path","required":true,"schema":{"type":"string","title":"Consultant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingConsultantUpdate"}}}},"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":"Subscribe Newsletter","operationId":"subscribe_newsletter_api_newsletter_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewsletterSubscribe"}}},"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/count":{"get":{"summary":"Newsletter Count","operationId":"newsletter_count_api_newsletter_count_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/blog":{"get":{"summary":"Get Blog Posts","operationId":"get_blog_posts_api_blog_get","parameters":[{"name":"categoria","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Categoria"}},{"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"}}}}}},"post":{"summary":"Create Blog Post","operationId":"create_blog_post_api_blog_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlogPostCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/blog/{slug}":{"get":{"summary":"Get Blog Post","operationId":"get_blog_post_api_blog__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/emails":{"get":{"summary":"Admin Email Log","operationId":"admin_email_log_api_admin_emails_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/chat/tts":{"post":{"summary":"Chat Tts","operationId":"chat_tts_api_chat_tts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatTTSRequest"}}},"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/voice":{"post":{"summary":"Chat Voice Transcribe","operationId":"chat_voice_transcribe_api_chat_voice_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_chat_voice_transcribe_api_chat_voice_post"}}},"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 Endpoint","operationId":"chat_endpoint_api_chat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequest"}}},"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/history/{session_id}":{"get":{"summary":"Get Chat History","operationId":"get_chat_history_api_chat_history__session_id__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/aynara-command-center":{"get":{"summary":"Get Aynara Command Center","operationId":"get_aynara_command_center_api_admin_aynara_command_center_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/aynara/whatsapp/send":{"post":{"summary":"Send Manual Ceo Whatsapp","operationId":"send_manual_ceo_whatsapp_api_admin_aynara_whatsapp_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEOWhatsAppDispatchRequest"}}},"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/aynara/whatsapp/daily-summary":{"post":{"summary":"Send Daily Ceo Whatsapp Summary","operationId":"send_daily_ceo_whatsapp_summary_api_admin_aynara_whatsapp_daily_summary_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/aynara/memory":{"get":{"summary":"List Aynara Memory","operationId":"list_aynara_memory_api_admin_aynara_memory_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Aynara Memory","operationId":"create_aynara_memory_api_admin_aynara_memory_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AynaraMemoryUpsertRequest"}}},"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/aynara/demo-mode/scenarios":{"post":{"summary":"Create Demo Mode Scenario","operationId":"create_demo_mode_scenario_api_admin_aynara_demo_mode_scenarios_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoModeScenarioRequest"}}},"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/UserLogin"}}},"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/logout":{"post":{"summary":"Logout Auth","operationId":"logout_auth_api_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/google/session":{"post":{"summary":"Google Auth Session","operationId":"google_auth_session_api_auth_google_session_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/refresh":{"post":{"summary":"Refresh Auth","operationId":"refresh_auth_api_auth_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/change-password":{"post":{"summary":"Change Password","operationId":"change_password_api_auth_change_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequest"}}},"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/me":{"get":{"summary":"Get Me","operationId":"get_me_api_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/google/start":{"get":{"summary":"Google Oauth Start","operationId":"google_oauth_start_api_auth_google_start_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/frameio/start":{"get":{"summary":"Frameio Oauth Start","operationId":"frameio_oauth_start_api_auth_frameio_start_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/frameio/callback":{"get":{"summary":"Frameio Oauth Callback","operationId":"frameio_oauth_callback_api_auth_frameio_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/google/callback":{"get":{"summary":"Google Oauth Callback","operationId":"google_oauth_callback_api_auth_google_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/workspace/overview":{"get":{"summary":"Get Workspace Overview","operationId":"get_workspace_overview_api_workspace_overview_get","parameters":[{"name":"preview_plan","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview Plan"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workspace/campaigns":{"post":{"summary":"Create Workspace Campaign","operationId":"create_workspace_campaign_api_workspace_campaigns_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceCampaignRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workspace/videos":{"post":{"summary":"Create Workspace Video","operationId":"create_workspace_video_api_workspace_videos_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceVideoRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workspace/publish-queue":{"post":{"summary":"Create Workspace Publish Job","operationId":"create_workspace_publish_job_api_workspace_publish_queue_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspacePublishRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workspace/agent-tasks":{"post":{"summary":"Create Workspace Agent Task","operationId":"create_workspace_agent_task_api_workspace_agent_tasks_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceAgentTaskRequest"}}},"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/companies-hub":{"get":{"summary":"Get Companies Hub","operationId":"get_companies_hub_api_admin_companies_hub_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/client-operations":{"get":{"summary":"Get Client Operations Hub","operationId":"get_client_operations_hub_api_admin_client_operations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/billing/contracts":{"get":{"summary":"Get Admin Billing Contracts","operationId":"get_admin_billing_contracts_api_admin_billing_contracts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Admin Billing Contract","operationId":"create_admin_billing_contract_api_admin_billing_contracts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingContractCreateRequest"}}},"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/billing/contracts/{contract_id}/deposit-checkout":{"post":{"summary":"Create Admin Billing Contract Deposit Checkout","operationId":"create_admin_billing_contract_deposit_checkout_api_admin_billing_contracts__contract_id__deposit_checkout_post","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","title":"Contract Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingDepositCheckoutRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/billing/contracts/{contract_id}/mark-delivered":{"post":{"summary":"Mark Admin Billing Contract Delivered","operationId":"mark_admin_billing_contract_delivered_api_admin_billing_contracts__contract_id__mark_delivered_post","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","title":"Contract Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingContractDeliveryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/billing/contracts/{contract_id}/charge-balance":{"post":{"summary":"Charge Admin Billing Contract Balance","operationId":"charge_admin_billing_contract_balance_api_admin_billing_contracts__contract_id__charge_balance_post","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","title":"Contract Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/clinic/hub":{"get":{"summary":"Get Clinical Panel Hub","operationId":"get_clinical_panel_hub_api_admin_clinic_hub_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/clinic/stock":{"post":{"summary":"Create Clinic Stock Item","operationId":"create_clinic_stock_item_api_admin_clinic_stock_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicStockItemCreate"}}},"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/clinic/stock/{item_id}":{"patch":{"summary":"Update Clinic Stock Item","operationId":"update_clinic_stock_item_api_admin_clinic_stock__item_id__patch","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicStockItemUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/web-form":{"post":{"summary":"Create Clinic Web Lead","operationId":"create_clinic_web_lead_api_clinic_web_form_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicLeadCaptureRequest"}}},"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/clinic/leads":{"post":{"summary":"Create Clinic Lead From Admin","operationId":"create_clinic_lead_from_admin_api_admin_clinic_leads_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicLeadCaptureRequest"}}},"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/clinic/leads/{lead_id}":{"patch":{"summary":"Update Clinic Lead","operationId":"update_clinic_lead_api_admin_clinic_leads__lead_id__patch","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicLeadUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/clinic/leads/{lead_id}/documents":{"post":{"summary":"Upload Clinic Crm Document","operationId":"upload_clinic_crm_document_api_admin_clinic_leads__lead_id__documents_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_clinic_crm_document_api_admin_clinic_leads__lead_id__documents_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/clinic/imports":{"post":{"summary":"Upload Clinic Import Contacts","operationId":"upload_clinic_import_contacts_api_admin_clinic_imports_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_clinic_import_contacts_api_admin_clinic_imports_post"}}},"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/clinic/communications":{"post":{"summary":"Create Clinic Communication","operationId":"create_clinic_communication_api_admin_clinic_communications_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicCommunicationCreate"}}},"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/clinic/promotions":{"post":{"summary":"Create Clinic Promotion","operationId":"create_clinic_promotion_api_admin_clinic_promotions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicPromotionCreate"}}},"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/clinic/checklists/{checklist_id}":{"patch":{"summary":"Update Clinic Checklist Item","operationId":"update_clinic_checklist_item_api_admin_clinic_checklists__checklist_id__patch","parameters":[{"name":"checklist_id","in":"path","required":true,"schema":{"type":"string","title":"Checklist Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicChecklistItemUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/clinic/incidents":{"post":{"summary":"Create Clinic Incident","operationId":"create_clinic_incident_api_admin_clinic_incidents_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicIncidentCreate"}}},"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/clinic/incidents/{incident_id}":{"patch":{"summary":"Update Clinic Incident","operationId":"update_clinic_incident_api_admin_clinic_incidents__incident_id__patch","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicIncidentUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/clinic/events":{"post":{"summary":"Create Clinic Event","operationId":"create_clinic_event_api_admin_clinic_events_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicEventCreate"}}},"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/clinic/events/{event_id}":{"patch":{"summary":"Update Clinic Event","operationId":"update_clinic_event_api_admin_clinic_events__event_id__patch","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicEventUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/clinic/news":{"post":{"summary":"Create Clinic News","operationId":"create_clinic_news_api_admin_clinic_news_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicNewsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/leads/{lead_id}/simulate":{"post":{"summary":"Create Clinic Patient Simulation","operationId":"create_clinic_patient_simulation_api_clinic_leads__lead_id__simulate_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_clinic_patient_simulation_api_clinic_leads__lead_id__simulate_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/leads/{lead_id}/simulations":{"get":{"summary":"List Clinic Patient Simulations","operationId":"list_clinic_patient_simulations_api_clinic_leads__lead_id__simulations_get","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/clinic/storage-proxy":{"get":{"summary":"Get Clinic Storage Proxy","operationId":"get_clinic_storage_proxy_api_clinic_storage_proxy_get","parameters":[{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/workspace":{"get":{"summary":"Get Clinic Workspace","operationId":"get_clinic_workspace_api_clinic_workspace_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/template-upload":{"post":{"summary":"Upload Clinic Template Excel","operationId":"upload_clinic_template_excel_api_clinic_template_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_clinic_template_excel_api_clinic_template_upload_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/patients":{"get":{"summary":"List Clinic Patients","operationId":"list_clinic_patients_api_clinic_patients_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Clinic Patient Quick","operationId":"create_clinic_patient_quick_api_clinic_patients_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/patients/{patient_key}/follow-up-email":{"post":{"summary":"Send Clinic Patient Follow Up Email","operationId":"send_clinic_patient_follow_up_email_api_clinic_patients__patient_key__follow_up_email_post","parameters":[{"name":"patient_key","in":"path","required":true,"schema":{"type":"string","title":"Patient Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/operation-tasks":{"get":{"summary":"List Clinic Operation Tasks","operationId":"list_clinic_operation_tasks_api_clinic_operation_tasks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Clinic Operation Task","operationId":"create_clinic_operation_task_api_clinic_operation_tasks_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicOperationTaskCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/operation-tasks/{task_id}":{"patch":{"summary":"Update Clinic Operation Task","operationId":"update_clinic_operation_task_api_clinic_operation_tasks__task_id__patch","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicOperationTaskUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/appointments/bulk-import":{"post":{"summary":"Bulk Import Clinic Appointments","operationId":"bulk_import_clinic_appointments_api_clinic_appointments_bulk_import_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/appointments/reimport-master-excel":{"post":{"summary":"Reimport Citas Master Excel","operationId":"reimport_citas_master_excel_api_clinic_appointments_reimport_master_excel_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/appointments/{appointment_id}":{"delete":{"summary":"Delete Clinic Appointment","operationId":"delete_clinic_appointment_api_clinic_appointments__appointment_id__delete","parameters":[{"name":"appointment_id","in":"path","required":true,"schema":{"type":"string","title":"Appointment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Update Clinic Workspace Appointment","operationId":"update_clinic_workspace_appointment_api_clinic_appointments__appointment_id__patch","parameters":[{"name":"appointment_id","in":"path","required":true,"schema":{"type":"string","title":"Appointment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicWorkspaceAppointmentUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/patients/search":{"get":{"summary":"Search Clinic Patients","operationId":"search_clinic_patients_api_clinic_patients_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/calendar/google-sync":{"get":{"summary":"Get Clinic Calendar Google Sync","operationId":"get_clinic_calendar_google_sync_api_clinic_calendar_google_sync_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/calendar/export.ics":{"get":{"summary":"Export Clinic Calendar Ics","operationId":"export_clinic_calendar_ics_api_clinic_calendar_export_ics_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/appointments/fix-agenda-times":{"post":{"summary":"Fix Agenda Appointment Times","operationId":"fix_agenda_appointment_times_api_clinic_appointments_fix_agenda_times_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/labs":{"get":{"summary":"List Clinic Labs","operationId":"list_clinic_labs_api_clinic_labs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Clinic Lab","operationId":"create_clinic_lab_api_clinic_labs_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/labs/{lab_name}":{"delete":{"summary":"Delete Clinic Lab","operationId":"delete_clinic_lab_api_clinic_labs__lab_name__delete","parameters":[{"name":"lab_name","in":"path","required":true,"schema":{"type":"string","title":"Lab Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/labs/{lab_name}/products":{"post":{"summary":"Create Clinic Lab Product","operationId":"create_clinic_lab_product_api_clinic_labs__lab_name__products_post","parameters":[{"name":"lab_name","in":"path","required":true,"schema":{"type":"string","title":"Lab Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/inventory/{item_id}":{"delete":{"summary":"Delete Clinic Inventory Item","operationId":"delete_clinic_inventory_item_api_clinic_inventory__item_id__delete","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Update Clinic Workspace Inventory Item","operationId":"update_clinic_workspace_inventory_item_api_clinic_inventory__item_id__patch","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_update_clinic_workspace_inventory_item_api_clinic_inventory__item_id__patch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/labs/{lab_name}/discount":{"patch":{"summary":"Set Clinic Lab Discount","operationId":"set_clinic_lab_discount_api_clinic_labs__lab_name__discount_patch","parameters":[{"name":"lab_name","in":"path","required":true,"schema":{"type":"string","title":"Lab Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/inventory/cleanup-locations":{"post":{"summary":"Cleanup Clinic Inventory Locations","operationId":"cleanup_clinic_inventory_locations_api_clinic_inventory_cleanup_locations_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/inventory":{"get":{"summary":"List Clinic Workspace Inventory","operationId":"list_clinic_workspace_inventory_api_clinic_inventory_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Clinic Workspace Inventory Item","operationId":"create_clinic_workspace_inventory_item_api_clinic_inventory_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_clinic_workspace_inventory_item_api_clinic_inventory_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/appointments":{"get":{"summary":"List Clinic Workspace Appointments","operationId":"list_clinic_workspace_appointments_api_clinic_appointments_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Clinic Workspace Appointment","operationId":"create_clinic_workspace_appointment_api_clinic_appointments_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicWorkspaceAppointmentCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/blocked-days":{"get":{"summary":"List Clinic Blocked Days","operationId":"list_clinic_blocked_days_api_clinic_blocked_days_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Clinic Blocked Day","operationId":"create_clinic_blocked_day_api_clinic_blocked_days_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/blocked-days/{blocked_id}":{"delete":{"summary":"Delete Clinic Blocked Day","operationId":"delete_clinic_blocked_day_api_clinic_blocked_days__blocked_id__delete","parameters":[{"name":"blocked_id","in":"path","required":true,"schema":{"type":"string","title":"Blocked Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/scheduled-reminders":{"get":{"summary":"List Clinic Scheduled Reminders","operationId":"list_clinic_scheduled_reminders_api_clinic_scheduled_reminders_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Clinic Scheduled Reminder","operationId":"create_clinic_scheduled_reminder_api_clinic_scheduled_reminders_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/scheduled-reminders/{reminder_id}":{"delete":{"summary":"Delete Clinic Scheduled Reminder","operationId":"delete_clinic_scheduled_reminder_api_clinic_scheduled_reminders__reminder_id__delete","parameters":[{"name":"reminder_id","in":"path","required":true,"schema":{"type":"string","title":"Reminder Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/scheduled-reminders/run-due":{"post":{"summary":"Run Due Scheduled Reminders","operationId":"run_due_scheduled_reminders_api_clinic_scheduled_reminders_run_due_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/contracts/config":{"get":{"summary":"Get Contracts Config","operationId":"get_contracts_config_api_admin_contracts_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/contracts":{"get":{"summary":"Admin List Contracts","operationId":"admin_list_contracts_api_admin_contracts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Admin Create Contract","operationId":"admin_create_contract_api_admin_contracts_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_admin_create_contract_api_admin_contracts_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contracts/{contract_id}/public":{"get":{"summary":"Get Contract Public","operationId":"get_contract_public_api_contracts__contract_id__public_get","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","title":"Contract Id"}},{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contracts/{contract_id}/accept":{"post":{"summary":"Accept Contract","operationId":"accept_contract_api_contracts__contract_id__accept_post","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","title":"Contract Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contracts/{contract_id}/pdf":{"get":{"summary":"Download Contract Pdf","operationId":"download_contract_pdf_api_contracts__contract_id__pdf_get","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","title":"Contract Id"}},{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/portal/governance":{"get":{"summary":"Portal Governance","operationId":"portal_governance_api_portal_governance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Update Portal Governance","operationId":"update_portal_governance_api_portal_governance_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/portal/import-csv":{"post":{"summary":"Import Portal Clients Csv","operationId":"import_portal_clients_csv_api_admin_portal_import_csv_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/portal/clients":{"get":{"summary":"List Portal Clients","operationId":"list_portal_clients_api_admin_portal_clients_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Portal Client","operationId":"create_portal_client_api_admin_portal_clients_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/portal/charge":{"post":{"summary":"Admin Charge Client","operationId":"admin_charge_client_api_admin_portal_charge_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/portal/recharge":{"post":{"summary":"Admin Recharge Client","operationId":"admin_recharge_client_api_admin_portal_recharge_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/portal/login":{"post":{"summary":"Portal Login","operationId":"portal_login_api_portal_login_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/portal/me":{"get":{"summary":"Portal Me","operationId":"portal_me_api_portal_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/portal/videos":{"get":{"summary":"Portal Videos","operationId":"portal_videos_api_portal_videos_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/portal/consumption":{"get":{"summary":"Portal Consumption","operationId":"portal_consumption_api_portal_consumption_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/portal/contracts":{"get":{"summary":"Portal Contracts","operationId":"portal_contracts_api_portal_contracts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/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/statement.pdf":{"get":{"summary":"Portal Statement Pdf","operationId":"portal_statement_pdf_api_portal_statement_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/portal/buy-credits":{"post":{"summary":"Portal Buy Credits","operationId":"portal_buy_credits_api_portal_buy_credits_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/portal/recharge-status":{"get":{"summary":"Portal Recharge Status","operationId":"portal_recharge_status_api_portal_recharge_status_get","parameters":[{"name":"session_id","in":"query","required":false,"schema":{"type":"string","default":"","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/portal/invoice.pdf":{"get":{"summary":"Portal Monthly Invoice Pdf","operationId":"portal_monthly_invoice_pdf_api_portal_invoice_pdf_get","parameters":[{"name":"month","in":"query","required":false,"schema":{"type":"string","default":"","title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/portal/monthly-invoices":{"get":{"summary":"Portal Monthly Invoices","operationId":"portal_monthly_invoices_api_portal_monthly_invoices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/tesix/checkout":{"post":{"summary":"Tesix Checkout","operationId":"tesix_checkout_api_tesix_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesixCheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesix/checkout/status/{session_id}":{"get":{"summary":"Tesix Checkout Status","operationId":"tesix_checkout_status_api_tesix_checkout_status__session_id__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/clinic/clinical-histories/{history_id}/pdf":{"get":{"summary":"Download Clinic History Pdf","operationId":"download_clinic_history_pdf_api_clinic_clinical_histories__history_id__pdf_get","parameters":[{"name":"history_id","in":"path","required":true,"schema":{"type":"string","title":"History Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/social-connections":{"get":{"summary":"List Clinic Social Connections","operationId":"list_clinic_social_connections_api_clinic_social_connections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/social-connections/{platform}":{"put":{"summary":"Update Clinic Social Connection","operationId":"update_clinic_social_connection_api_clinic_social_connections__platform__put","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicSocialConnectionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/connections/status":{"get":{"summary":"Clinic Connections Status","operationId":"clinic_connections_status_api_clinic_connections_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/connections/nango/session":{"post":{"summary":"Clinic Nango Session","operationId":"clinic_nango_session_api_clinic_connections_nango_session_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/connections/nango/callback":{"post":{"summary":"Clinic Nango Callback","operationId":"clinic_nango_callback_api_clinic_connections_nango_callback_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/connections/nango/{field}":{"delete":{"summary":"Clinic Nango Disconnect","operationId":"clinic_nango_disconnect_api_clinic_connections_nango__field__delete","parameters":[{"name":"field","in":"path","required":true,"schema":{"type":"string","title":"Field"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/connections/telegram/connect":{"post":{"summary":"Clinic Telegram Connect","operationId":"clinic_telegram_connect_api_clinic_connections_telegram_connect_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/connections/telegram/disconnect":{"delete":{"summary":"Clinic Telegram Disconnect","operationId":"clinic_telegram_disconnect_api_clinic_connections_telegram_disconnect_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/connections/status":{"get":{"summary":"Admin Connections Status","operationId":"admin_connections_status_api_admin_connections_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/connections/nango/session":{"post":{"summary":"Admin Nango Session","operationId":"admin_nango_session_api_admin_connections_nango_session_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/connections/nango/callback":{"post":{"summary":"Admin Nango Callback","operationId":"admin_nango_callback_api_admin_connections_nango_callback_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/connections/nango/{field}":{"delete":{"summary":"Admin Nango Disconnect","operationId":"admin_nango_disconnect_api_admin_connections_nango__field__delete","parameters":[{"name":"field","in":"path","required":true,"schema":{"type":"string","title":"Field"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/connections/telegram/connect":{"post":{"summary":"Admin Telegram Connect","operationId":"admin_telegram_connect_api_admin_connections_telegram_connect_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/connections/telegram/disconnect":{"delete":{"summary":"Admin Telegram Disconnect","operationId":"admin_telegram_disconnect_api_admin_connections_telegram_disconnect_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/bland/verify":{"get":{"summary":"Bland Verify","operationId":"bland_verify_api_bland_verify_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/voice/bland-webhook":{"post":{"summary":"Bland Voice Webhook","operationId":"bland_voice_webhook_api_voice_bland_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/bland/call":{"post":{"summary":"Bland Send Call","operationId":"bland_send_call_api_bland_call_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlandCallRequest"}}},"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/bland/calls":{"get":{"summary":"Admin List Bland Calls","operationId":"admin_list_bland_calls_api_admin_bland_calls_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/clinical-histories":{"get":{"summary":"List Clinic Clinical Histories","operationId":"list_clinic_clinical_histories_api_clinic_clinical_histories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Clinic Clinical History","operationId":"create_clinic_clinical_history_api_clinic_clinical_histories_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicClinicalHistoryCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/clinical-histories/{history_id}":{"patch":{"summary":"Update Clinic Clinical History","operationId":"update_clinic_clinical_history_api_clinic_clinical_histories__history_id__patch","parameters":[{"name":"history_id","in":"path","required":true,"schema":{"type":"string","title":"History Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicClinicalHistoryUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/reports/inventory.pdf":{"get":{"summary":"Download Clinic Inventory Report","operationId":"download_clinic_inventory_report_api_clinic_reports_inventory_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/reports/agenda.pdf":{"get":{"summary":"Download Clinic Agenda Report","operationId":"download_clinic_agenda_report_api_clinic_reports_agenda_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/reports/operations.pdf":{"get":{"summary":"Download Clinic Operations Report","operationId":"download_clinic_operations_report_api_clinic_reports_operations_pdf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/clinic/reports/patient/{patient_key}.pdf":{"get":{"summary":"Download Clinic Patient Report","operationId":"download_clinic_patient_report_api_clinic_reports_patient__patient_key__pdf_get","parameters":[{"name":"patient_key","in":"path","required":true,"schema":{"type":"string","title":"Patient Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/content-tasks":{"get":{"summary":"List Clinic Content Tasks","operationId":"list_clinic_content_tasks_api_clinic_content_tasks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Clinic Content Task","operationId":"create_clinic_content_task_api_clinic_content_tasks_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicContentTaskCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/clinic/content-tasks/{task_id}":{"patch":{"summary":"Update Clinic Content Task","operationId":"update_clinic_content_task_api_clinic_content_tasks__task_id__patch","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClinicContentTaskUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/companies":{"post":{"summary":"Create Company Hub Entry","operationId":"create_company_hub_entry_api_admin_companies_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyHubCreate"}}},"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/companies/{company_id}":{"patch":{"summary":"Update Company Hub Entry","operationId":"update_company_hub_entry_api_admin_companies__company_id__patch","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","title":"Company Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyHubUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/hub":{"get":{"summary":"Get Client Connections Hub","operationId":"get_client_connections_hub_api_connections_hub_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/connections/initiate":{"post":{"summary":"Initiate Client Connection","operationId":"initiate_client_connection_api_connections_initiate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionInitiateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/confirm":{"post":{"summary":"Confirm Client Connection","description":"Guarda la conexión cuando el Connect UI de Nango confirma el alta (no depende del webhook).","operationId":"confirm_client_connection_api_connections_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionConfirmRequest"}}},"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-links/create":{"post":{"summary":"Create Auth Link","operationId":"create_auth_link_api_auth_links_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthLinkCreateRequest"}}},"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-links/{auth_link_id}/send":{"post":{"summary":"Send Auth Link","operationId":"send_auth_link_api_auth_links__auth_link_id__send_post","parameters":[{"name":"auth_link_id","in":"path","required":true,"schema":{"type":"string","title":"Auth Link Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthLinkSendRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/auth-links":{"get":{"summary":"Get Admin Auth Links","operationId":"get_admin_auth_links_api_admin_auth_links_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/auth-links/{token}":{"get":{"summary":"Get Public Auth Link","operationId":"get_public_auth_link_api_public_auth_links__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/public/auth-links/{token}/initiate":{"post":{"summary":"Initiate Public Auth Link Connection","operationId":"initiate_public_auth_link_connection_api_public_auth_links__token__initiate_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicAuthLinkInitiateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/{provider_key}":{"delete":{"summary":"Disconnect Client Connection","operationId":"disconnect_client_connection_api_connections__provider_key__delete","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/webhook":{"post":{"summary":"Receive Nango Connection Webhook","operationId":"receive_nango_connection_webhook_api_connections_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/connections-hub/overview":{"get":{"summary":"Get Admin Connections Hub Overview","operationId":"get_admin_connections_hub_overview_api_admin_connections_hub_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/connections-hub/import":{"post":{"summary":"Import Existing Nango Connection","operationId":"import_existing_nango_connection_api_admin_connections_hub_import_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminImportNangoConnectionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/gmail/send-test":{"post":{"summary":"Send Test Email With Connected Gmail","operationId":"send_test_email_with_connected_gmail_api_connections_gmail_send_test_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GmailConnectionSendRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/whatsapp/send-test":{"post":{"summary":"Send Test Whatsapp","description":"Envía un WhatsApp de prueba a los números configurados de Laura (admin only).","operationId":"send_test_whatsapp_api_connections_whatsapp_send_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/integrations-hub":{"get":{"summary":"Get Integrations Hub","operationId":"get_integrations_hub_api_admin_integrations_hub_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/integrations-hub/{provider_key}":{"patch":{"summary":"Update Integrations Hub","operationId":"update_integrations_hub_api_admin_integrations_hub__provider_key__patch","parameters":[{"name":"provider_key","in":"path","required":true,"schema":{"type":"string","title":"Provider Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationHubUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/integrations-hub/setup-guide":{"get":{"summary":"Get Integrations Setup Guide","operationId":"get_integrations_setup_guide_api_admin_integrations_hub_setup_guide_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/integrations-hub/readiness":{"get":{"summary":"Get Integrations Readiness","operationId":"get_integrations_readiness_api_admin_integrations_hub_readiness_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/system-online-status":{"get":{"summary":"Get Admin System Online Status","operationId":"get_admin_system_online_status_api_admin_system_online_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/google/service-account-status":{"get":{"summary":"Get Google Service Account Status","operationId":"get_google_service_account_status_api_admin_google_service_account_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/google/drive-sample":{"get":{"summary":"Get Google Drive Sample","operationId":"get_google_drive_sample_api_admin_google_drive_sample_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/integrations-hub/probe":{"post":{"summary":"Probe Integration Webhook","operationId":"probe_integration_webhook_api_admin_integrations_hub_probe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationWebhookProbeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/core/analyze":{"post":{"summary":"Mcp Core Analyze","operationId":"mcp_core_analyze_api_core_analyze_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPTextRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/core/plan":{"post":{"summary":"Mcp Core Plan","operationId":"mcp_core_plan_api_core_plan_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPTextRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/docs/summarize":{"post":{"summary":"Mcp Docs Summarize","operationId":"mcp_docs_summarize_api_docs_summarize_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPTextRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/docs/audit":{"post":{"summary":"Mcp Docs Audit","operationId":"mcp_docs_audit_api_docs_audit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPTextRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/comm/send":{"post":{"summary":"Mcp Comm Send","operationId":"mcp_comm_send_api_comm_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPCommRequest"}}},"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/mcp-native/status":{"get":{"summary":"Get Admin Mcp Native Status","operationId":"get_admin_mcp_native_status_api_admin_mcp_native_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/tesis/dashboard":{"get":{"summary":"Get Admin Neuraliatesix Dashboard","operationId":"get_admin_neuraliatesix_dashboard_api_admin_tesis_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/tesis/dashboard":{"get":{"summary":"Get Public Neuraliatesix Dashboard","operationId":"get_public_neuraliatesix_dashboard_api_tesis_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/tesix/workflow":{"get":{"summary":"Get Tesix Workflow Page","operationId":"get_tesix_workflow_page_api_tesix_workflow_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/tesix/workflow/approve":{"post":{"summary":"Approve Tesix Workflow Phase","operationId":"approve_tesix_workflow_phase_api_tesix_workflow_approve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesisWorkflowApprovalRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesix/observations":{"get":{"summary":"List Tesix Observations","operationId":"list_tesix_observations_api_tesix_observations_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Tesix Observation","operationId":"create_tesix_observation_api_tesix_observations_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesisObservationCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesix/observations/{observation_id}":{"patch":{"summary":"Update Tesix Observation","operationId":"update_tesix_observation_api_tesix_observations__observation_id__patch","parameters":[{"name":"observation_id","in":"path","required":true,"schema":{"type":"string","title":"Observation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesisObservationUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesix/wordlab/rewrite":{"post":{"summary":"Tesix Wordlab Rewrite","operationId":"tesix_wordlab_rewrite_api_tesix_wordlab_rewrite_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesisWordLabRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesix/methodology/async":{"post":{"summary":"Create Tesix Methodology Job","operationId":"create_tesix_methodology_job_api_tesix_methodology_async_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesisAsyncJobRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesix/methodology/async/{job_id}":{"get":{"summary":"Get Tesix Methodology Job","operationId":"get_tesix_methodology_job_api_tesix_methodology_async__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesix/documents":{"get":{"summary":"List Tesix Documents","operationId":"list_tesix_documents_api_tesix_documents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Upload Tesix Document","operationId":"upload_tesix_document_api_tesix_documents_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_tesix_document_api_tesix_documents_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesix/documents/{document_id}/download":{"get":{"summary":"Download Tesix Document","operationId":"download_tesix_document_api_tesix_documents__document_id__download_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesix/documents/{document_id}/preview":{"get":{"summary":"Preview Tesix Document","operationId":"preview_tesix_document_api_tesix_documents__document_id__preview_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesix/documents/{document_id}/extract-to-workspace":{"post":{"summary":"Extract Tesix Document To Workspace","operationId":"extract_tesix_document_to_workspace_api_tesix_documents__document_id__extract_to_workspace_post","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesix/documents/{document_id}":{"patch":{"summary":"Update Tesix Document","operationId":"update_tesix_document_api_tesix_documents__document_id__patch","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesisDocumentUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Tesix Document","operationId":"delete_tesix_document_api_tesix_documents__document_id__delete","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesis/analyze":{"post":{"summary":"Tesis Analyze","operationId":"tesis_analyze_api_tesis_analyze_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesisWorkspaceRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesis/humanize":{"post":{"summary":"Tesis Humanize","operationId":"tesis_humanize_api_tesis_humanize_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesisWorkspaceRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesis/sources":{"post":{"summary":"Tesis Sources","operationId":"tesis_sources_api_tesis_sources_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesisWorkspaceRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesis/methodology":{"post":{"summary":"Tesis Methodology","operationId":"tesis_methodology_api_tesis_methodology_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesisWorkspaceRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesis/rewrite":{"post":{"summary":"Tesis Rewrite","operationId":"tesis_rewrite_api_tesis_rewrite_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesisWorkspaceRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tesis/final":{"post":{"summary":"Tesis Final","operationId":"tesis_final_api_tesis_final_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TesisWorkspaceRequest"}}},"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/skills-hub":{"get":{"summary":"Get Skills Hub","operationId":"get_skills_hub_api_admin_skills_hub_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Skill Hub Entry","operationId":"create_skill_hub_entry_api_admin_skills_hub_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillHubCreate"}}},"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/skills-hub/{skill_id}":{"patch":{"summary":"Update Skill Hub Entry","operationId":"update_skill_hub_entry_api_admin_skills_hub__skill_id__patch","parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string","title":"Skill Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillHubUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/ceo-orders":{"get":{"summary":"Get Ceo Orders","operationId":"get_ceo_orders_api_admin_ceo_orders_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Ceo Order","operationId":"create_ceo_order_api_admin_ceo_orders_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEOOrderCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/executive-flow-hub":{"get":{"summary":"Get Executive Flow Hub","operationId":"get_executive_flow_hub_api_admin_executive_flow_hub_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/ai-optimization-hub":{"get":{"summary":"Get Ai Optimization Hub","operationId":"get_ai_optimization_hub_api_admin_ai_optimization_hub_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/neuralia-os-hub":{"get":{"summary":"Get Neuralia Os Hub","operationId":"get_neuralia_os_hub_api_admin_neuralia_os_hub_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/compliance-operations-guide":{"get":{"summary":"Get Compliance Operations Guide","operationId":"get_compliance_operations_guide_api_admin_compliance_operations_guide_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/media-lab":{"get":{"summary":"Get Media Lab","operationId":"get_media_lab_api_admin_media_lab_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/media-lab/assets":{"post":{"summary":"Create Media Lab Asset","operationId":"create_media_lab_asset_api_admin_media_lab_assets_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaAssetCreate"}}},"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/ceo-alert-settings":{"patch":{"summary":"Update Ceo Alert Settings","operationId":"update_ceo_alert_settings_api_admin_ceo_alert_settings_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEOAlertSettingsUpdate"}}},"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/campaign-war-room":{"get":{"summary":"Get Campaign War Room","operationId":"get_campaign_war_room_api_admin_campaign_war_room_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/production-os":{"get":{"summary":"Get Production Os","operationId":"get_production_os_api_admin_production_os_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/frameio/structure":{"get":{"summary":"Get Frameio Structure","operationId":"get_frameio_structure_api_admin_frameio_structure_get","parameters":[{"name":"sync","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Sync"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/frameio/structure/bootstrap":{"post":{"summary":"Bootstrap Frameio Structure","operationId":"bootstrap_frameio_structure_api_admin_frameio_structure_bootstrap_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/frameio/folders":{"post":{"summary":"Create Frameio Subfolder","operationId":"create_frameio_subfolder_api_admin_frameio_folders_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrameioFolderCreateRequest"}}},"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/frameio/folders/{folder_id}":{"patch":{"summary":"Update Frameio Folder","operationId":"update_frameio_folder_api_admin_frameio_folders__folder_id__patch","parameters":[{"name":"folder_id","in":"path","required":true,"schema":{"type":"string","title":"Folder Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrameioFolderRenameRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/frameio/youtube-reference":{"put":{"summary":"Upsert Frameio Youtube Reference","operationId":"upsert_frameio_youtube_reference_api_admin_frameio_youtube_reference_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrameioYouTubeReferenceUpdate"}}},"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/frameio/publication-channel":{"put":{"summary":"Upsert Frameio Publication Channel","operationId":"upsert_frameio_publication_channel_api_admin_frameio_publication_channel_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrameioPublicationChannelUpdate"}}},"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/production-os/pollo-jobs":{"post":{"summary":"Create Pollo Job","operationId":"create_pollo_job_api_admin_production_os_pollo_jobs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolloVideoJobCreateRequest"}}},"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/production-os/pollo-jobs/{job_id}/refresh":{"post":{"summary":"Refresh Pollo Job","operationId":"refresh_pollo_job_api_admin_production_os_pollo_jobs__job_id__refresh_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/webhooks/pollo":{"post":{"summary":"Pollo Webhook","operationId":"pollo_webhook_api_webhooks_pollo_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/video-campaigns":{"get":{"summary":"List Video Campaigns","operationId":"list_video_campaigns_api_admin_video_campaigns_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Video Campaign","operationId":"create_video_campaign_api_admin_video_campaigns_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/video-campaigns/{campaign_id}/feature":{"post":{"summary":"Toggle Video Campaign Feature","operationId":"toggle_video_campaign_feature_api_admin_video_campaigns__campaign_id__feature_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/video-demos":{"get":{"summary":"Public Video Demos","operationId":"public_video_demos_api_public_video_demos_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/narrations/{narration_id}.mp3":{"get":{"summary":"Get Public Narration","operationId":"get_public_narration_api_public_narrations__narration_id__mp3_get","parameters":[{"name":"narration_id","in":"path","required":true,"schema":{"type":"string","title":"Narration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/video-campaigns/{campaign_id}/refresh":{"post":{"summary":"Refresh Video Campaign","operationId":"refresh_video_campaign_api_admin_video_campaigns__campaign_id__refresh_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/webhooks/creatomate":{"post":{"summary":"Creatomate Webhook","operationId":"creatomate_webhook_api_webhooks_creatomate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/production-os/storage-proxy":{"get":{"summary":"Get Production Storage Proxy","operationId":"get_production_storage_proxy_api_admin_production_os_storage_proxy_get","parameters":[{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/production-os/voices/clone":{"post":{"summary":"Clone Production Voice","operationId":"clone_production_voice_api_admin_production_os_voices_clone_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_clone_production_voice_api_admin_production_os_voices_clone_post"}}},"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/production-os/voices/render":{"post":{"summary":"Render Production Voice","operationId":"render_production_voice_api_admin_production_os_voices_render_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductionVoiceRenderRequest"}}},"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/production-os/avatar-jobs":{"post":{"summary":"Create Production Avatar Job","operationId":"create_production_avatar_job_api_admin_production_os_avatar_jobs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductionAvatarJobCreateRequest"}}},"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/production-os/avatar-jobs/{job_id}/refresh":{"post":{"summary":"Refresh Production Avatar Job","operationId":"refresh_production_avatar_job_api_admin_production_os_avatar_jobs__job_id__refresh_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/neuralia-os-hub/nip-translate":{"post":{"summary":"Post Neuralia Os Nip Translate","operationId":"post_neuralia_os_nip_translate_api_admin_neuralia_os_hub_nip_translate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NIPStudioTranslateRequest"}}},"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/ai-optimization-hub/refresh":{"post":{"summary":"Refresh Ai Optimization Hub","operationId":"refresh_ai_optimization_hub_api_admin_ai_optimization_hub_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/agent-architecture":{"get":{"summary":"Get Agent Architecture","operationId":"get_agent_architecture_api_admin_agent_architecture_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/webhooks/whatsapp":{"get":{"summary":"Verify Whatsapp Webhook","operationId":"verify_whatsapp_webhook_api_webhooks_whatsapp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Receive Whatsapp Webhook","operationId":"receive_whatsapp_webhook_api_webhooks_whatsapp_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/webhooks/heygen":{"post":{"summary":"Receive Heygen Webhook","operationId":"receive_heygen_webhook_api_webhooks_heygen_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/webhooks/n8n":{"post":{"summary":"Receive N8N Webhook","operationId":"receive_n8n_webhook_api_webhooks_n8n_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/ceo-orders/{order_id}":{"patch":{"summary":"Update Ceo Order","operationId":"update_ceo_order_api_admin_ceo_orders__order_id__patch","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEOOrderUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/metrics":{"get":{"summary":"Admin Metrics","operationId":"admin_metrics_api_admin_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/users":{"post":{"summary":"Admin Create User","operationId":"admin_create_user_api_admin_users_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Admin Users","operationId":"admin_users_api_admin_users_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"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/users/{user_id}":{"patch":{"summary":"Admin Update User","operationId":"admin_update_user_api_admin_users__user_id__patch","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserRequest"}}}},"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 User","operationId":"admin_delete_user_api_admin_users__user_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/client-platforms/dashboard":{"get":{"summary":"Admin Client Platforms Dashboard","operationId":"admin_client_platforms_dashboard_api_admin_client_platforms_dashboard_get","parameters":[{"name":"period_days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Period Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/storage-proxy":{"get":{"summary":"Get Admin Storage Proxy","operationId":"get_admin_storage_proxy_api_admin_storage_proxy_get","parameters":[{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/client-platforms/{client_id}/branding-assets":{"post":{"summary":"Admin Upload Client Branding Asset","operationId":"admin_upload_client_branding_asset_api_admin_client_platforms__client_id__branding_assets_post","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_admin_upload_client_branding_asset_api_admin_client_platforms__client_id__branding_assets_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/client-platforms/{client_id}/summary.pdf":{"get":{"summary":"Admin Download Client Platform Summary","operationId":"admin_download_client_platform_summary_api_admin_client_platforms__client_id__summary_pdf_get","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}},{"name":"period_days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Period Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/client-platforms/provision":{"post":{"summary":"Admin Provision Client Platform","operationId":"admin_provision_client_platform_api_admin_client_platforms_provision_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientProvisioningRequest"}}},"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/client-platforms/{client_id}/checklist":{"patch":{"summary":"Update Admin Client Platform Checklist","operationId":"update_admin_client_platform_checklist_api_admin_client_platforms__client_id__checklist_patch","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientChecklistUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agents":{"get":{"summary":"Admin Get Agents","operationId":"admin_get_agents_api_admin_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/agents/{agent_type}":{"patch":{"summary":"Admin Update Agent","operationId":"admin_update_agent_api_admin_agents__agent_type__patch","parameters":[{"name":"agent_type","in":"path","required":true,"schema":{"type":"string","title":"Agent Type"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAgentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/tasks":{"post":{"summary":"Create Task","operationId":"create_task_api_admin_tasks_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTaskRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"List Tasks","operationId":"list_tasks_api_admin_tasks_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"agent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"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/tasks/{task_id}":{"get":{"summary":"Get Task","operationId":"get_task_api_admin_tasks__task_id__get","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"}}}}}},"patch":{"summary":"Update Task","operationId":"update_task_api_admin_tasks__task_id__patch","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Task","operationId":"delete_task_api_admin_tasks__task_id__delete","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/admin/tasks/{task_id}/retry":{"post":{"summary":"Retry Task","operationId":"retry_task_api_admin_tasks__task_id__retry_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/admin/agent-os/overview":{"get":{"summary":"Agent Os Overview","operationId":"agent_os_overview_api_admin_agent_os_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/agent-os/templates":{"get":{"summary":"Agent Os Templates","operationId":"agent_os_templates_api_admin_agent_os_templates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/agent-os/tools":{"get":{"summary":"Agent Os Tools","operationId":"agent_os_tools_api_admin_agent_os_tools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/contracts/{contract_id}/send":{"post":{"summary":"Admin Send Contract","operationId":"admin_send_contract_api_admin_contracts__contract_id__send_post","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","title":"Contract Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/contracts/{contract_id}/refresh":{"post":{"summary":"Admin Refresh Contract","operationId":"admin_refresh_contract_api_admin_contracts__contract_id__refresh_post","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","title":"Contract Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/contracts/{contract_id}/download":{"get":{"summary":"Admin Download Contract","operationId":"admin_download_contract_api_admin_contracts__contract_id__download_get","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","title":"Contract Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/webhooks/signwell":{"post":{"summary":"Signwell Webhook","operationId":"signwell_webhook_api_webhooks_signwell_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contracts/public-status/{contract_id}":{"get":{"summary":"Public Contract Status","operationId":"public_contract_status_api_contracts_public_status__contract_id__get","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","title":"Contract Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/demo-activation":{"post":{"summary":"Public Demo Activation","operationId":"public_demo_activation_api_public_demo_activation_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicDemoActivationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contracts/{contract_id}/payment-checkout":{"post":{"summary":"Create Contract Payment Checkout","operationId":"create_contract_payment_checkout_api_contracts__contract_id__payment_checkout_post","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","title":"Contract Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractPaymentCheckoutRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/developer/portal":{"get":{"summary":"Get Developer Portal","operationId":"get_developer_portal_api_developer_portal_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/developer/openapi":{"get":{"summary":"Get Public Openapi Spec","operationId":"get_public_openapi_spec_api_developer_openapi_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mcp/v2":{"post":{"summary":"Neuralia Local Mcp Server","operationId":"neuralia_local_mcp_server_api_mcp_v2_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Payload"}}},"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-os/workflows":{"get":{"summary":"Agent Os Workflows","operationId":"agent_os_workflows_api_admin_agent_os_workflows_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Agent Os Workflow","operationId":"create_agent_os_workflow_api_admin_agent_os_workflows_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOSWorkflowCreate"}}},"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-os/workflows/{workflow_id}":{"patch":{"summary":"Update Agent Os Workflow","operationId":"update_agent_os_workflow_api_admin_agent_os_workflows__workflow_id__patch","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOSWorkflowUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agent-os/workflows/{workflow_id}/run":{"post":{"summary":"Run Agent Os Workflow","operationId":"run_agent_os_workflow_api_admin_agent_os_workflows__workflow_id__run_post","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOSRunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agent-os/approvals":{"get":{"summary":"List Agent Os Approvals","operationId":"list_agent_os_approvals_api_admin_agent_os_approvals_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"pending","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agent-os/approvals/{approval_id}":{"patch":{"summary":"Decide Agent Os Approval","operationId":"decide_agent_os_approval_api_admin_agent_os_approvals__approval_id__patch","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","title":"Approval Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOSApprovalDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/agent-os/memory":{"get":{"summary":"List Agent Os Memory","operationId":"list_agent_os_memory_api_admin_agent_os_memory_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Agent Os Memory Entry","operationId":"create_agent_os_memory_entry_api_admin_agent_os_memory_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOSMemoryEntryCreate"}}},"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/tasks/stats/summary":{"get":{"summary":"Task Stats","operationId":"task_stats_api_admin_tasks_stats_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/social-orders":{"post":{"summary":"Create Social Order","operationId":"create_social_order_api_admin_social_orders_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialOrderCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"List Social Orders","operationId":"list_social_orders_api_admin_social_orders_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/social-orders/{order_id}":{"get":{"summary":"Get Social Order","operationId":"get_social_order_api_admin_social_orders__order_id__get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Update Social Order","operationId":"update_social_order_api_admin_social_orders__order_id__patch","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialOrderUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/social-orders/{order_id}/retry":{"post":{"summary":"Retry Social Order","operationId":"retry_social_order_api_admin_social_orders__order_id__retry_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/social/tiktok/status":{"get":{"tags":["social"],"summary":"Tiktok Status","operationId":"tiktok_status_api_social_tiktok_status_get","parameters":[{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"neuralia","title":"Owner"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/social/tiktok/oauth/start":{"get":{"tags":["social"],"summary":"Tiktok Oauth Start","operationId":"tiktok_oauth_start_api_social_tiktok_oauth_start_get","parameters":[{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"neuralia","title":"Owner"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/social/tiktok/oauth/exchange":{"post":{"tags":["social"],"summary":"Tiktok Oauth Exchange","operationId":"tiktok_oauth_exchange_api_social_tiktok_oauth_exchange_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthExchange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/social/tiktok/videos":{"get":{"tags":["social"],"summary":"Tiktok Videos","operationId":"tiktok_videos_api_social_tiktok_videos_get","parameters":[{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"neuralia","title":"Owner"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/social/tiktok/publish":{"post":{"tags":["social"],"summary":"Tiktok Publish","operationId":"tiktok_publish_api_social_tiktok_publish_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/social/tiktok/settings":{"put":{"tags":["social"],"summary":"Tiktok Settings","operationId":"tiktok_settings_api_social_tiktok_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountSettings"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/social/tiktok/disconnect":{"delete":{"tags":["social"],"summary":"Tiktok Disconnect","operationId":"tiktok_disconnect_api_social_tiktok_disconnect_delete","parameters":[{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"neuralia","title":"Owner"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/social/tiktok/posts/{post_id}/refresh":{"post":{"tags":["social"],"summary":"Tiktok Refresh","operationId":"tiktok_refresh_api_social_tiktok_posts__post_id__refresh_post","parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"string","title":"Post Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/control-center/summary":{"get":{"summary":"Get Control Center Summary","operationId":"get_control_center_summary_api_admin_control_center_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/business-lines/overview":{"get":{"summary":"Get Business Lines Overview","operationId":"get_business_lines_overview_api_admin_business_lines_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/command-center/board":{"get":{"summary":"Get Command Center Board","operationId":"get_command_center_board_api_admin_command_center_board_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"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/command-center/cards":{"post":{"summary":"Create Command Center Card","operationId":"create_command_center_card_api_admin_command_center_cards_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandCardCreate"}}},"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/command-center/cards/{card_id}":{"patch":{"summary":"Update Command Center Card","operationId":"update_command_center_card_api_admin_command_center_cards__card_id__patch","parameters":[{"name":"card_id","in":"path","required":true,"schema":{"type":"string","title":"Card Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandCardUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/command-center/seed-launch":{"post":{"summary":"Seed Launch Command Center","operationId":"seed_launch_command_center_api_admin_command_center_seed_launch_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/transcribe-audio":{"post":{"summary":"Transcribe Audio","operationId":"transcribe_audio_api_admin_transcribe_audio_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_transcribe_audio_api_admin_transcribe_audio_post"}}},"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/analytics":{"get":{"summary":"Admin Analytics","description":"Advanced analytics with time-series data for charts","operationId":"admin_analytics_api_admin_analytics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/partner/dashboard":{"get":{"summary":"Partner Dashboard","operationId":"partner_dashboard_api_partner_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/partner/office/profile":{"post":{"summary":"Upsert Partner Office Profile","operationId":"upsert_partner_office_profile_api_partner_office_profile_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerProfileUpsertRequest"}}},"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/office/social-connections":{"post":{"summary":"Upsert Partner Social Connection","operationId":"upsert_partner_social_connection_api_partner_office_social_connections_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerSocialConnectionUpsert"}}},"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/office/referral-leads":{"post":{"summary":"Create Partner Referral Lead","operationId":"create_partner_referral_lead_api_partner_office_referral_leads_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerReferralLeadCreate"}}},"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/office/referral-leads/{lead_id}":{"patch":{"summary":"Update Partner Referral Lead","operationId":"update_partner_referral_lead_api_partner_office_referral_leads__lead_id__patch","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerReferralLeadUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/partner/office/payout-requests":{"post":{"summary":"Create Partner Payout Request","operationId":"create_partner_payout_request_api_partner_office_payout_requests_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerPayoutRequestCreate"}}},"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/partner-office":{"get":{"summary":"Get Admin Partner Office","operationId":"get_admin_partner_office_api_admin_partner_office_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/partner-office/commissions":{"post":{"summary":"Create Partner Commission Adjustment","operationId":"create_partner_commission_adjustment_api_admin_partner_office_commissions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerCommissionAdjustmentCreate"}}},"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/partner-office/payouts/{request_id}":{"patch":{"summary":"Update Partner Payout Request","operationId":"update_partner_payout_request_api_admin_partner_office_payouts__request_id__patch","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerPayoutAdminUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/user/financial-documents":{"post":{"summary":"Upload Financial Document","operationId":"upload_financial_document_api_user_financial_documents_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_financial_document_api_user_financial_documents_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/user/financial-documents/{document_id}/download":{"get":{"summary":"Download Financial Document","operationId":"download_financial_document_api_user_financial_documents__document_id__download_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/user/financial-plan-notes":{"post":{"summary":"Create Financial Plan Note","operationId":"create_financial_plan_note_api_user_financial_plan_notes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FinancialPlanNoteCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/user/stock-items":{"post":{"summary":"Create Stock Item","operationId":"create_stock_item_api_user_stock_items_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StockItemCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/user/purchase-requests":{"post":{"summary":"Create Purchase Request","operationId":"create_purchase_request_api_user_purchase_requests_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseRequestCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/user/purchase-requests/{purchase_id}":{"patch":{"summary":"Update Purchase Request Status","operationId":"update_purchase_request_status_api_user_purchase_requests__purchase_id__patch","parameters":[{"name":"purchase_id","in":"path","required":true,"schema":{"type":"string","title":"Purchase Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseApprovalUpdate"}}}},"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","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/campaign/visit":{"post":{"summary":"Register Campaign Visit","operationId":"register_campaign_visit_api_campaign_visit_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/sales-panel":{"get":{"summary":"Admin Sales Panel","operationId":"admin_sales_panel_api_admin_sales_panel_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/conversations":{"get":{"summary":"Admin Conversations","operationId":"admin_conversations_api_admin_conversations_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/conversations/{session_id}":{"get":{"summary":"Admin Conversation Detail","operationId":"admin_conversation_detail_api_admin_conversations__session_id__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/bookings":{"get":{"summary":"Admin Bookings","operationId":"admin_bookings_api_admin_bookings_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/user/profile":{"get":{"summary":"User Profile","operationId":"user_profile_api_user_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/user/chats":{"get":{"summary":"User Chats","operationId":"user_chats_api_user_chats_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/user/bookings":{"get":{"summary":"User Bookings","operationId":"user_bookings_api_user_bookings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/meta-wa/status":{"get":{"summary":"Meta Wa Status","description":"Estado de configuración Meta WhatsApp Cloud API.","operationId":"meta_wa_status_api_admin_meta_wa_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/meta-wa/config":{"post":{"summary":"Save Meta Wa Config","description":"Guarda credenciales Meta WhatsApp Cloud API en memoria y base de datos.","operationId":"save_meta_wa_config_api_admin_meta_wa_config_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"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/meta-wa/test":{"post":{"summary":"Test Meta Wa","description":"Envía un mensaje de prueba usando la Meta WhatsApp Cloud API.","operationId":"test_meta_wa_api_admin_meta_wa_test_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Req"}}},"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/production-os/voices/catalog":{"get":{"summary":"Admin Voices Catalog","description":"Devuelve el catálogo de voces disponibles en ElevenLabs.","operationId":"admin_voices_catalog_api_admin_production_os_voices_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/clients":{"get":{"summary":"Admin Clients List","description":"Lista todos los usuarios/clientes para el Hub de Redes.","operationId":"admin_clients_list_api_admin_clients_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"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/connections/health-check":{"post":{"summary":"Admin Connections Health Check","description":"Dispara el health check de conexiones manualmente desde el Hub de Redes.","operationId":"admin_connections_health_check_api_admin_connections_health_check_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/social/meta/status":{"get":{"tags":["social"],"summary":"Meta Status","operationId":"meta_status_api_social_meta_status_get","parameters":[{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"neuralia","title":"Owner"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/social/meta/oauth/start":{"get":{"tags":["social"],"summary":"Meta Oauth Start","operationId":"meta_oauth_start_api_social_meta_oauth_start_get","parameters":[{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"neuralia","title":"Owner"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/social/meta/oauth/exchange":{"post":{"tags":["social"],"summary":"Meta Oauth Exchange","operationId":"meta_oauth_exchange_api_social_meta_oauth_exchange_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthExchange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/social/meta/disconnect":{"delete":{"tags":["social"],"summary":"Meta Disconnect","operationId":"meta_disconnect_api_social_meta_disconnect_delete","parameters":[{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"neuralia","title":"Owner"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/social/meta/settings":{"put":{"tags":["social"],"summary":"Meta Settings","operationId":"meta_settings_api_social_meta_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountSettings"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/status":{"get":{"summary":"User Connections Status","description":"Estado de todas las conexiones de red del usuario actual.","operationId":"user_connections_status_api_connections_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/crm/campaigns/generate-message":{"post":{"summary":"Generate Campaign Message","description":"Genera 3 variantes de mensaje WA con NLP, neuromarketing y VAK para un nicho.","operationId":"generate_campaign_message_api_crm_campaigns_generate_message_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/content/upload":{"post":{"summary":"Upload Content Asset","description":"Sube un vídeo o imagen y lo programa en el calendario de 30 días.","operationId":"upload_content_asset_api_admin_content_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_content_asset_api_admin_content_upload_post"}}},"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/content/calendar":{"get":{"summary":"Get Content Calendar","description":"Devuelve el calendario de contenido programado.","operationId":"get_content_calendar_api_admin_content_calendar_get","parameters":[{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/content/posts/{post_id}":{"patch":{"summary":"Update Content Post","description":"Actualiza caption, fecha o canales de un post programado.","operationId":"update_content_post_api_admin_content_posts__post_id__patch","parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"string","title":"Post Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Content Post","description":"Elimina un post del calendario.","operationId":"delete_content_post_api_admin_content_posts__post_id__delete","parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"string","title":"Post Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/content/generate-caption":{"post":{"summary":"Generate Post Caption","description":"Genera un caption para redes sociales con NLP y neuromarketing.","operationId":"generate_post_caption_api_admin_content_generate_caption_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/workspace":{"get":{"tags":["mlm"],"summary":"Get Workspace","operationId":"get_workspace_api_mlm_workspace_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/profile":{"put":{"tags":["mlm"],"summary":"Update Profile","operationId":"update_profile_api_mlm_profile_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/prospects":{"post":{"tags":["mlm"],"summary":"Create Prospect","operationId":"create_prospect_api_mlm_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/mlm/public/lead":{"post":{"tags":["mlm"],"summary":"Public Lead Capture","description":"Captación PÚBLICA (landing/quiz, sin login): crea un prospecto con score automático en el embudo.","operationId":"public_lead_capture_api_mlm_public_lead_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicLeadIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/admin/lead-stats":{"get":{"tags":["mlm"],"summary":"Admin Lead Stats","description":"Métricas del embudo de captación para el dashboard admin.","operationId":"admin_lead_stats_api_mlm_admin_lead_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/prospects/{prospect_id}":{"patch":{"tags":["mlm"],"summary":"Update Prospect","operationId":"update_prospect_api_mlm_prospects__prospect_id__patch","parameters":[{"name":"prospect_id","in":"path","required":true,"schema":{"type":"string","title":"Prospect Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["mlm"],"summary":"Delete Prospect","operationId":"delete_prospect_api_mlm_prospects__prospect_id__delete","parameters":[{"name":"prospect_id","in":"path","required":true,"schema":{"type":"string","title":"Prospect Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/prospects/{prospect_id}/whatsapp":{"get":{"tags":["mlm"],"summary":"Prospect Whatsapp Message","operationId":"prospect_whatsapp_message_api_mlm_prospects__prospect_id__whatsapp_get","parameters":[{"name":"prospect_id","in":"path","required":true,"schema":{"type":"string","title":"Prospect Id"}},{"name":"script_id","in":"query","required":false,"schema":{"type":"string","default":"primer_contacto","title":"Script Id"}},{"name":"product","in":"query","required":false,"schema":{"type":"string","default":"","title":"Product"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/content/generate":{"post":{"tags":["mlm"],"summary":"Generate Content","operationId":"generate_content_api_mlm_content_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/content/calendar":{"post":{"tags":["mlm"],"summary":"Generate Calendar","operationId":"generate_calendar_api_mlm_content_calendar_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/content/{content_id}/regenerate":{"post":{"tags":["mlm"],"summary":"Regenerate Content","operationId":"regenerate_content_api_mlm_content__content_id__regenerate_post","parameters":[{"name":"content_id","in":"path","required":true,"schema":{"type":"string","title":"Content Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/content/{content_id}":{"patch":{"tags":["mlm"],"summary":"Update Content","operationId":"update_content_api_mlm_content__content_id__patch","parameters":[{"name":"content_id","in":"path","required":true,"schema":{"type":"string","title":"Content Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["mlm"],"summary":"Delete Content","operationId":"delete_content_api_mlm_content__content_id__delete","parameters":[{"name":"content_id","in":"path","required":true,"schema":{"type":"string","title":"Content Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/email/campaigns":{"post":{"tags":["mlm"],"summary":"Create Email Campaign","operationId":"create_email_campaign_api_mlm_email_campaigns_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailCampaignIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/email/campaigns/{campaign_id}/send":{"post":{"tags":["mlm"],"summary":"Send Email Campaign","operationId":"send_email_campaign_api_mlm_email_campaigns__campaign_id__send_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/sales":{"post":{"tags":["mlm"],"summary":"Create Sale","operationId":"create_sale_api_mlm_sales_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaleIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/sales/{sale_id}":{"patch":{"tags":["mlm"],"summary":"Update Sale","operationId":"update_sale_api_mlm_sales__sale_id__patch","parameters":[{"name":"sale_id","in":"path","required":true,"schema":{"type":"string","title":"Sale Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["mlm"],"summary":"Delete Sale","operationId":"delete_sale_api_mlm_sales__sale_id__delete","parameters":[{"name":"sale_id","in":"path","required":true,"schema":{"type":"string","title":"Sale Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/team":{"post":{"tags":["mlm"],"summary":"Add Team Member","operationId":"add_team_member_api_mlm_team_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/team/{member_id}":{"patch":{"tags":["mlm"],"summary":"Update Team Member","operationId":"update_team_member_api_mlm_team__member_id__patch","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["mlm"],"summary":"Delete Team Member","operationId":"delete_team_member_api_mlm_team__member_id__delete","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/tasks/{task_id}":{"patch":{"tags":["mlm"],"summary":"Update Task","operationId":"update_task_api_mlm_tasks__task_id__patch","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/mlm/prospects/import":{"post":{"tags":["mlm"],"summary":"Import Prospects","operationId":"import_prospects_api_mlm_prospects_import_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/prospects/bulk":{"post":{"tags":["mlm"],"summary":"Bulk Update Prospects","operationId":"bulk_update_prospects_api_mlm_prospects_bulk_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkTagRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/segments":{"get":{"tags":["mlm"],"summary":"Get Segments","operationId":"get_segments_api_mlm_segments_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/segments/count":{"post":{"tags":["mlm"],"summary":"Count Segment","operationId":"count_segment_api_mlm_segments_count_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SegmentCountRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/unsubscribe/{prospect_id}":{"get":{"tags":["mlm"],"summary":"Unsubscribe","operationId":"unsubscribe_api_mlm_unsubscribe__prospect_id__get","parameters":[{"name":"prospect_id","in":"path","required":true,"schema":{"type":"string","title":"Prospect Id"}},{"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/mlm/campaigns/mass":{"post":{"tags":["mlm"],"summary":"Create Mass Campaign","operationId":"create_mass_campaign_api_mlm_campaigns_mass_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MassCampaignIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/campaigns/mass/{campaign_id}/send":{"post":{"tags":["mlm"],"summary":"Send Mass Campaign","operationId":"send_mass_campaign_api_mlm_campaigns_mass__campaign_id__send_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/campaigns/mass/{campaign_id}/recipients/{prospect_id}/mark":{"post":{"tags":["mlm"],"summary":"Mark Whatsapp Sent","operationId":"mark_whatsapp_sent_api_mlm_campaigns_mass__campaign_id__recipients__prospect_id__mark_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"prospect_id","in":"path","required":true,"schema":{"type":"string","title":"Prospect Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/campaigns/mass/{campaign_id}/stats":{"get":{"tags":["mlm"],"summary":"Mass Campaign Stats","operationId":"mass_campaign_stats_api_mlm_campaigns_mass__campaign_id__stats_get","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/media":{"get":{"tags":["mlm"],"summary":"List Media","operationId":"list_media_api_mlm_media_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["mlm"],"summary":"Upload Media","operationId":"upload_media_api_mlm_media_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/media/{media_id}":{"delete":{"tags":["mlm"],"summary":"Delete Media","operationId":"delete_media_api_mlm_media__media_id__delete","parameters":[{"name":"media_id","in":"path","required":true,"schema":{"type":"string","title":"Media Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/media/public/{media_id}":{"get":{"tags":["mlm"],"summary":"Public Media","operationId":"public_media_api_mlm_media_public__media_id__get","parameters":[{"name":"media_id","in":"path","required":true,"schema":{"type":"string","title":"Media Id"}},{"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/mlm/content/{content_id}/publish":{"post":{"tags":["mlm"],"summary":"Publish Content","operationId":"publish_content_api_mlm_content__content_id__publish_post","parameters":[{"name":"content_id","in":"path","required":true,"schema":{"type":"string","title":"Content Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishContentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/admin/subscription-schedule":{"get":{"tags":["mlm"],"summary":"Get Subscription Schedule","operationId":"get_subscription_schedule_api_mlm_admin_subscription_schedule_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/admin/subscription-schedule/init":{"post":{"tags":["mlm"],"summary":"Admin Init Subscription Schedule","operationId":"admin_init_subscription_schedule_api_mlm_admin_subscription_schedule_init_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/admin/subscription-schedule/{month_id}":{"patch":{"tags":["mlm"],"summary":"Update Subscription Month","operationId":"update_subscription_month_api_mlm_admin_subscription_schedule__month_id__patch","parameters":[{"name":"month_id","in":"path","required":true,"schema":{"type":"string","title":"Month Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/admin/subscription-schedule/{month_id}/remind":{"post":{"tags":["mlm"],"summary":"Send Subscription Reminder","operationId":"send_subscription_reminder_api_mlm_admin_subscription_schedule__month_id__remind_post","parameters":[{"name":"month_id","in":"path","required":true,"schema":{"type":"string","title":"Month Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/settings":{"get":{"tags":["mlm"],"summary":"Read Settings","operationId":"read_settings_api_mlm_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["mlm"],"summary":"Update Settings","operationId":"update_settings_api_mlm_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/aynara/daily-digest":{"post":{"tags":["mlm"],"summary":"Trigger Daily Digest","operationId":"trigger_daily_digest_api_mlm_aynara_daily_digest_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/media/{media_id}/to-video":{"post":{"tags":["mlm"],"summary":"Media To Video","operationId":"media_to_video_api_mlm_media__media_id__to_video_post","parameters":[{"name":"media_id","in":"path","required":true,"schema":{"type":"string","title":"Media Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhotoToVideoRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/aynara/command":{"post":{"tags":["mlm"],"summary":"Aynara Command","operationId":"aynara_command_api_mlm_aynara_command_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AynaraCommand"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/receipts/public/{receipt_id}":{"get":{"tags":["mlm"],"summary":"Public Receipt","operationId":"public_receipt_api_mlm_receipts_public__receipt_id__get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"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/mlm/admin/generate-receipt":{"post":{"tags":["mlm"],"summary":"Admin Generate Receipt","operationId":"admin_generate_receipt_api_mlm_admin_generate_receipt_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/admin/onboarding":{"get":{"tags":["mlm"],"summary":"Admin Onboarding Status","operationId":"admin_onboarding_status_api_mlm_admin_onboarding_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/admin/contract":{"post":{"tags":["mlm"],"summary":"Admin Create Contract","operationId":"admin_create_contract_api_mlm_admin_contract_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/admin/send-onboarding":{"post":{"tags":["mlm"],"summary":"Admin Send Onboarding","operationId":"admin_send_onboarding_api_mlm_admin_send_onboarding_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/connections/status":{"get":{"tags":["mlm"],"summary":"Connections Status","operationId":"connections_status_api_mlm_connections_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/connections/nango/session":{"post":{"tags":["mlm"],"summary":"Nango Session","operationId":"nango_session_api_mlm_connections_nango_session_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/connections/nango/callback":{"post":{"tags":["mlm"],"summary":"Nango Callback","description":"Llama el frontend tras completar la conexión Nango para guardar el connection_id.","operationId":"nango_callback_api_mlm_connections_nango_callback_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/connections/nango/{field}":{"delete":{"tags":["mlm"],"summary":"Nango Disconnect","operationId":"nango_disconnect_api_mlm_connections_nango__field__delete","parameters":[{"name":"field","in":"path","required":true,"schema":{"type":"string","title":"Field"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/connections/telegram/connect":{"post":{"tags":["mlm"],"summary":"Telegram Connect","operationId":"telegram_connect_api_mlm_connections_telegram_connect_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/connections/telegram/disconnect":{"delete":{"tags":["mlm"],"summary":"Telegram Disconnect","operationId":"telegram_disconnect_api_mlm_connections_telegram_disconnect_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/connections/telegram/webhook":{"post":{"tags":["mlm"],"summary":"Telegram Webhook","description":"Recibe mensajes del bot de Telegram.","operationId":"telegram_webhook_api_mlm_connections_telegram_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/connections/nango/webhook":{"post":{"tags":["mlm"],"summary":"Nango Webhook","description":"Recibe webhooks de Nango para actualizaciones de conexión.","operationId":"nango_webhook_api_mlm_connections_nango_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/admin/mvl/send-onboarding":{"post":{"tags":["mlm"],"summary":"Admin Mvl Send Onboarding","description":"Envía email de bienvenida + credenciales a Milagros Villa Luy para ambas líneas.","operationId":"admin_mvl_send_onboarding_api_mlm_admin_mvl_send_onboarding_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/mlm/social/tiktok/oauth/start":{"get":{"tags":["mlm"],"summary":"Mlm Tiktok Oauth Start","description":"Alias de /api/social/tiktok/oauth/start para llamadas desde el panel MLM.\nLa producción llama /api/mlm/social/tiktok/oauth/start — este endpoint lo resuelve.","operationId":"mlm_tiktok_oauth_start_api_mlm_social_tiktok_oauth_start_get","parameters":[{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"neuralia","title":"Owner"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/social/tiktok/status":{"get":{"tags":["mlm"],"summary":"Mlm Tiktok Status","description":"Estado TikTok para panel MLM.","operationId":"mlm_tiktok_status_api_mlm_social_tiktok_status_get","parameters":[{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"neuralia","title":"Owner"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mlm/social/meta/oauth/start":{"get":{"tags":["mlm"],"summary":"Mlm Meta Oauth Start","description":"Alias de /api/social/meta/oauth/start para el panel MLM.\nLa producción podría llamar /api/mlm/social/meta/oauth/start.","operationId":"mlm_meta_oauth_start_api_mlm_social_meta_oauth_start_get","parameters":[{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"client","title":"Owner"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/social/meta/publish":{"post":{"tags":["social"],"summary":"Meta Publish Endpoint","operationId":"meta_publish_endpoint_api_social_meta_publish_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaPublishRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/track/open/{log_id}":{"get":{"tags":["tracking"],"summary":"Track Open","operationId":"track_open_api_track_open__log_id__get","parameters":[{"name":"log_id","in":"path","required":true,"schema":{"type":"string","title":"Log Id"}},{"name":"m","in":"query","required":false,"schema":{"type":"string","default":"","title":"M"}},{"name":"s","in":"query","required":false,"schema":{"type":"string","default":"","title":"S"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/webhooks/resend":{"post":{"tags":["tracking"],"summary":"Resend Webhook","operationId":"resend_webhook_api_webhooks_resend_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AccessCodeRequest":{"properties":{"patient_key":{"type":"string","title":"Patient Key"},"patient_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patient Name"},"patient_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patient Phone"},"patient_dni":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patient Dni"}},"type":"object","required":["patient_key"],"title":"AccessCodeRequest"},"AccountSettings":{"properties":{"owner":{"type":"string","title":"Owner","default":"neuralia"},"auto_publish":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Publish"},"default_privacy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Privacy"},"default_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Title"}},"type":"object","title":"AccountSettings"},"ActivateRequest":{"properties":{"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","title":"ActivateRequest"},"AdminImportNangoConnectionRequest":{"properties":{"owner_email":{"type":"string","maxLength":240,"minLength":5,"title":"Owner Email"},"provider":{"type":"string","maxLength":80,"minLength":2,"title":"Provider"},"nango_connection_id":{"type":"string","maxLength":180,"minLength":5,"title":"Nango Connection Id"},"external_account_id":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"External Account Id"}},"type":"object","required":["owner_email","provider","nango_connection_id"],"title":"AdminImportNangoConnectionRequest"},"AdviseRequest":{"properties":{"client_id":{"type":"string","title":"Client Id","default":"neuralia369"},"topic":{"type":"string","title":"Topic"},"mentor_ids":{"items":{"type":"string"},"type":"array","title":"Mentor Ids","default":[]},"extra_context":{"type":"string","title":"Extra Context","default":""}},"type":"object","required":["topic"],"title":"AdviseRequest"},"AgentOSApprovalDecision":{"properties":{"decision":{"type":"string","pattern":"^(approved|rejected)$","title":"Decision"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notes"}},"type":"object","required":["decision"],"title":"AgentOSApprovalDecision"},"AgentOSMemoryEntryCreate":{"properties":{"title":{"type":"string","maxLength":120,"minLength":3,"title":"Title"},"category":{"type":"string","maxLength":60,"minLength":2,"title":"Category"},"content":{"type":"string","maxLength":5000,"minLength":10,"title":"Content"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"}},"type":"object","required":["title","category","content"],"title":"AgentOSMemoryEntryCreate"},"AgentOSRunRequest":{"properties":{"context":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Context"}},"type":"object","title":"AgentOSRunRequest"},"AgentOSWorkflowCreate":{"properties":{"name":{"type":"string","maxLength":120,"minLength":3,"title":"Name"},"description":{"type":"string","maxLength":1200,"minLength":10,"title":"Description"},"category":{"type":"string","maxLength":50,"minLength":2,"title":"Category","default":"operaciones"},"use_case":{"type":"string","maxLength":120,"minLength":2,"title":"Use Case","default":"general"},"template_key":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Template Key"},"approval_mode":{"type":"string","title":"Approval Mode","default":"human"},"status":{"type":"string","title":"Status","default":"draft"},"nodes":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Nodes"},"edges":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Edges"}},"type":"object","required":["name","description"],"title":"AgentOSWorkflowCreate"},"AgentOSWorkflowUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":1200,"minLength":10},{"type":"null"}],"title":"Description"},"category":{"anyOf":[{"type":"string","maxLength":50,"minLength":2},{"type":"null"}],"title":"Category"},"use_case":{"anyOf":[{"type":"string","maxLength":120,"minLength":2},{"type":"null"}],"title":"Use Case"},"approval_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approval Mode"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"nodes":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Nodes"},"edges":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Edges"}},"type":"object","title":"AgentOSWorkflowUpdate"},"AgentPermissionUpdate":{"properties":{"can_read":{"type":"boolean","title":"Can Read","default":true},"can_write":{"type":"boolean","title":"Can Write","default":false},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","title":"AgentPermissionUpdate"},"AppointmentRequestCreate":{"properties":{"preferred_date":{"type":"string","maxLength":40,"minLength":4,"title":"Preferred Date"},"preferred_time":{"type":"string","maxLength":20,"title":"Preferred Time","default":"manana"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["preferred_date","reason"],"title":"AppointmentRequestCreate"},"AppointmentRequestResolve":{"properties":{"action":{"type":"string","pattern":"^(confirm|reject)$","title":"Action"},"scheduled_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled At"}},"type":"object","required":["action"],"title":"AppointmentRequestResolve"},"AppointmentRespond":{"properties":{"action":{"type":"string","pattern":"^(confirm|cancel)$","title":"Action"}},"type":"object","required":["action"],"title":"AppointmentRespond"},"ApproveRequest":{"properties":{"approved_by":{"type":"string","title":"Approved By","default":"admin"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","title":"ApproveRequest"},"AuthLinkCreateRequest":{"properties":{"client_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Client Id"},"client_email":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Client Email"},"providers":{"items":{"type":"string"},"type":"array","title":"Providers"},"delivery_channel":{"type":"string","maxLength":40,"title":"Delivery Channel","default":"manual"},"expires_in_hours":{"type":"integer","maximum":168.0,"minimum":1.0,"title":"Expires In Hours","default":72},"label":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Label"}},"type":"object","title":"AuthLinkCreateRequest"},"AuthLinkSendRequest":{"properties":{"channel":{"type":"string","maxLength":40,"title":"Channel","default":"email"},"target_phone":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Target Phone"}},"type":"object","title":"AuthLinkSendRequest"},"AynaraCommand":{"properties":{"text":{"type":"string","title":"Text"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","default":"voz"}},"type":"object","required":["text"],"title":"AynaraCommand"},"AynaraMemoryUpsertRequest":{"properties":{"session_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Session Id"},"company_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Company Id"},"objective":{"type":"string","maxLength":240,"minLength":3,"title":"Objective"},"summary":{"type":"string","maxLength":2000,"minLength":5,"title":"Summary"},"memory_type":{"type":"string","maxLength":80,"title":"Memory Type","default":"operational"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"}},"type":"object","required":["objective","summary"],"title":"AynaraMemoryUpsertRequest"},"BillingContractCreateRequest":{"properties":{"company_name":{"type":"string","maxLength":180,"minLength":2,"title":"Company Name"},"client_email":{"type":"string","maxLength":255,"minLength":5,"title":"Client Email"},"package_id":{"type":"string","maxLength":120,"title":"Package Id","default":"auditoria_ia"},"package_name":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Package Name"},"currency":{"type":"string","maxLength":12,"title":"Currency","default":"usd"},"project_total_amount":{"type":"number","exclusiveMinimum":0.0,"title":"Project Total Amount","default":869.0},"deposit_session_id":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Deposit Session Id"},"delivery_due_at":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Delivery Due At"},"maintenance_monthly_amount":{"type":"number","minimum":0.0,"title":"Maintenance Monthly Amount","default":49.0},"maintenance_cycles_total":{"type":"integer","maximum":12.0,"minimum":0.0,"title":"Maintenance Cycles Total","default":3},"notify_phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Notify Phone"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","required":["company_name","client_email"],"title":"BillingContractCreateRequest"},"BillingContractDeliveryRequest":{"properties":{"delivered_at":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Delivered At"}},"type":"object","title":"BillingContractDeliveryRequest"},"BillingDepositCheckoutRequest":{"properties":{"origin_url":{"type":"string","title":"Origin Url"}},"type":"object","required":["origin_url"],"title":"BillingDepositCheckoutRequest"},"BlandCallRequest":{"properties":{"phone_number":{"type":"string","maxLength":18,"minLength":8,"title":"Phone Number"},"visitor_name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Visitor Name"}},"type":"object","required":["phone_number"],"title":"BlandCallRequest"},"BlogPostCreate":{"properties":{"titulo":{"type":"string","maxLength":200,"minLength":5,"title":"Titulo"},"slug":{"type":"string","maxLength":200,"minLength":3,"title":"Slug"},"extracto":{"type":"string","maxLength":500,"minLength":10,"title":"Extracto"},"contenido":{"type":"string","minLength":50,"title":"Contenido"},"categoria":{"type":"string","title":"Categoria","default":"ia"},"imagen":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Imagen"},"autor":{"type":"string","title":"Autor","default":"Neuralia369"}},"type":"object","required":["titulo","slug","extracto","contenido"],"title":"BlogPostCreate"},"Body_admin_create_contract_api_admin_contracts_post":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description","default":""},"recipients_json":{"type":"string","title":"Recipients Json"},"test_mode":{"type":"boolean","title":"Test Mode","default":false},"payment_package_id":{"type":"string","title":"Payment Package Id","default":""},"payment_cta_label":{"type":"string","title":"Payment Cta Label","default":"Pagar ahora"},"document_file":{"type":"string","format":"binary","title":"Document File"}},"type":"object","required":["name","recipients_json","document_file"],"title":"Body_admin_create_contract_api_admin_contracts_post"},"Body_admin_upload_client_branding_asset_api_admin_client_platforms__client_id__branding_assets_post":{"properties":{"logo":{"type":"string","format":"binary","title":"Logo"}},"type":"object","required":["logo"],"title":"Body_admin_upload_client_branding_asset_api_admin_client_platforms__client_id__branding_assets_post"},"Body_chat_voice_transcribe_api_chat_voice_post":{"properties":{"audio":{"type":"string","format":"binary","title":"Audio"}},"type":"object","required":["audio"],"title":"Body_chat_voice_transcribe_api_chat_voice_post"},"Body_clone_production_voice_api_admin_production_os_voices_clone_post":{"properties":{"voice_name":{"type":"string","title":"Voice Name"},"asset_id":{"type":"string","title":"Asset Id"},"description":{"type":"string","title":"Description","default":""},"remove_background_noise":{"type":"boolean","title":"Remove Background Noise","default":true},"voice_files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Voice Files"}},"type":"object","required":["voice_name","asset_id","voice_files"],"title":"Body_clone_production_voice_api_admin_production_os_voices_clone_post"},"Body_create_clinic_patient_simulation_api_clinic_leads__lead_id__simulate_post":{"properties":{"simulation_goal":{"type":"string","title":"Simulation Goal"},"simulation_notes":{"type":"string","title":"Simulation Notes","default":""},"before_image":{"type":"string","format":"binary","title":"Before Image"}},"type":"object","required":["simulation_goal","before_image"],"title":"Body_create_clinic_patient_simulation_api_clinic_leads__lead_id__simulate_post"},"Body_create_clinic_workspace_inventory_item_api_clinic_inventory_post":{"properties":{"name":{"type":"string","title":"Name"},"category":{"type":"string","title":"Category","default":"medicacion"},"supplier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Supplier"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"stock_count":{"type":"integer","title":"Stock Count","default":0},"minimum_stock":{"type":"integer","title":"Minimum Stock","default":0},"unit_label":{"type":"string","title":"Unit Label","default":"unidades"},"expiration_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiration Date"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"photo":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Photo"}},"type":"object","required":["name"],"title":"Body_create_clinic_workspace_inventory_item_api_clinic_inventory_post"},"Body_crm_import_api_crm_contacts_import_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_crm_import_api_crm_contacts_import_post"},"Body_crm_import_preview_api_crm_contacts_preview_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_crm_import_preview_api_crm_contacts_preview_post"},"Body_transcribe_audio_api_admin_transcribe_audio_post":{"properties":{"audio_file":{"type":"string","format":"binary","title":"Audio File"},"language":{"type":"string","title":"Language","default":"es"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"}},"type":"object","required":["audio_file"],"title":"Body_transcribe_audio_api_admin_transcribe_audio_post"},"Body_update_clinic_workspace_inventory_item_api_clinic_inventory__item_id__patch":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"supplier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Supplier"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"stock_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stock Count"},"minimum_stock":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Minimum Stock"},"unit_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Label"},"expiration_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiration Date"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"photo":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Photo"}},"type":"object","title":"Body_update_clinic_workspace_inventory_item_api_clinic_inventory__item_id__patch"},"Body_upload_clinic_crm_document_api_admin_clinic_leads__lead_id__documents_post":{"properties":{"document_type":{"type":"string","title":"Document Type"},"title":{"type":"string","title":"Title"},"notes":{"type":"string","title":"Notes","default":""},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["document_type","title","file"],"title":"Body_upload_clinic_crm_document_api_admin_clinic_leads__lead_id__documents_post"},"Body_upload_clinic_import_contacts_api_admin_clinic_imports_post":{"properties":{"source_type":{"type":"string","title":"Source Type","default":"excel_contacts"},"notes":{"type":"string","title":"Notes","default":""},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_clinic_import_contacts_api_admin_clinic_imports_post"},"Body_upload_clinic_template_excel_api_clinic_template_upload_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_clinic_template_excel_api_clinic_template_upload_post"},"Body_upload_content_asset_api_admin_content_upload_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"title":{"type":"string","title":"Title","default":""},"caption":{"type":"string","title":"Caption","default":""},"scheduled_date":{"type":"string","title":"Scheduled Date","default":""},"channels":{"type":"string","title":"Channels","default":"tiktok,instagram,facebook"},"post_type":{"type":"string","title":"Post Type","default":"video"},"tags":{"type":"string","title":"Tags","default":""}},"type":"object","required":["file"],"title":"Body_upload_content_asset_api_admin_content_upload_post"},"Body_upload_financial_document_api_user_financial_documents_post":{"properties":{"title":{"type":"string","title":"Title"},"document_type":{"type":"string","title":"Document Type","default":"invoice"},"notes":{"type":"string","title":"Notes","default":""},"amount":{"type":"string","title":"Amount","default":""},"currency":{"type":"string","title":"Currency","default":"EUR"},"issue_date":{"type":"string","title":"Issue Date","default":""},"due_date":{"type":"string","title":"Due Date","default":""},"counterparty":{"type":"string","title":"Counterparty","default":""},"document_file":{"type":"string","format":"binary","title":"Document File"}},"type":"object","required":["title","document_file"],"title":"Body_upload_financial_document_api_user_financial_documents_post"},"Body_upload_tesix_document_api_tesix_documents_post":{"properties":{"title":{"type":"string","title":"Title"},"project_id":{"type":"string","title":"Project Id","default":""},"thesis_topic":{"type":"string","title":"Thesis Topic","default":""},"student_name":{"type":"string","title":"Student Name","default":""},"notes":{"type":"string","title":"Notes","default":""},"document_file":{"type":"string","format":"binary","title":"Document File"}},"type":"object","required":["title","document_file"],"title":"Body_upload_tesix_document_api_tesix_documents_post"},"BookingConsultantCreate":{"properties":{"nombre":{"type":"string","maxLength":120,"minLength":2,"title":"Nombre"},"email":{"type":"string","maxLength":255,"minLength":5,"title":"Email"},"bio":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Bio"},"specialties":{"items":{"type":"string"},"type":"array","title":"Specialties"},"available_booking_types":{"items":{"type":"string"},"type":"array","title":"Available Booking Types"},"available_hours":{"items":{"type":"string"},"type":"array","title":"Available Hours"},"timezone":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Timezone","default":"Europe/Madrid"},"google_calendar_email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Google Calendar Email"},"active":{"type":"boolean","title":"Active","default":true}},"type":"object","required":["nombre","email"],"title":"BookingConsultantCreate"},"BookingConsultantUpdate":{"properties":{"nombre":{"anyOf":[{"type":"string","maxLength":120,"minLength":2},{"type":"null"}],"title":"Nombre"},"email":{"anyOf":[{"type":"string","maxLength":255,"minLength":5},{"type":"null"}],"title":"Email"},"bio":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Bio"},"specialties":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Specialties"},"available_booking_types":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Available Booking Types"},"available_hours":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Available Hours"},"timezone":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Timezone"},"google_calendar_email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Google Calendar Email"},"calendar_sync_status":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Calendar Sync Status"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"}},"type":"object","title":"BookingConsultantUpdate"},"BookingCreate":{"properties":{"nombre":{"type":"string","maxLength":100,"minLength":2,"title":"Nombre"},"email":{"type":"string","maxLength":255,"minLength":5,"title":"Email"},"telefono":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}],"title":"Telefono"},"empresa":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Empresa"},"fecha":{"type":"string","title":"Fecha","description":"YYYY-MM-DD"},"hora":{"type":"string","title":"Hora","description":"HH:MM"},"tipo":{"type":"string","title":"Tipo","default":"consulta_gratuita"},"mensaje":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Mensaje"}},"type":"object","required":["nombre","email","fecha","hora"],"title":"BookingCreate"},"BulkTagRequest":{"properties":{"prospect_ids":{"items":{"type":"string"},"type":"array","title":"Prospect Ids"},"add_tags":{"items":{"type":"string"},"type":"array","title":"Add Tags","default":[]},"remove_tags":{"items":{"type":"string"},"type":"array","title":"Remove Tags","default":[]},"group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group"}},"type":"object","required":["prospect_ids"],"title":"BulkTagRequest"},"CEOAlertSettingsUpdate":{"properties":{"whatsapp_number":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Whatsapp Number"},"email_fallback":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Email Fallback"},"enabled_channels":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Enabled Channels"},"alert_types":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Alert Types"},"quiet_hours":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Quiet Hours"},"escalation_mode":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Escalation Mode"},"notes":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Notes"}},"type":"object","title":"CEOAlertSettingsUpdate"},"CEOOrderCreate":{"properties":{"title":{"type":"string","maxLength":220,"minLength":3,"title":"Title"},"instruction":{"type":"string","maxLength":4000,"minLength":10,"title":"Instruction"},"company_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Company Name"},"objective_type":{"type":"string","title":"Objective Type","default":"crecimiento"},"priority":{"type":"string","title":"Priority","default":"alta"},"selected_agents":{"items":{"type":"string"},"type":"array","title":"Selected Agents"},"channels":{"items":{"type":"string"},"type":"array","title":"Channels"},"execution_mode":{"type":"string","title":"Execution Mode","default":"auto_dispatch"},"expected_outcome":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Expected Outcome"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notes"},"client_email":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Client Email"}},"type":"object","required":["title","instruction"],"title":"CEOOrderCreate"},"CEOOrderUpdate":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"execution_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Execution Mode"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notes"},"expected_outcome":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Expected Outcome"},"roadmap_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Roadmap Status"},"approval_notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Approval Notes"}},"type":"object","title":"CEOOrderUpdate"},"CEOWhatsAppDispatchRequest":{"properties":{"title":{"type":"string","maxLength":180,"minLength":3,"title":"Title"},"message":{"type":"string","maxLength":4000,"minLength":5,"title":"Message"},"alert_type":{"type":"string","maxLength":80,"title":"Alert Type","default":"manual_exec_alert"},"target_phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Target Phone"}},"type":"object","required":["title","message"],"title":"CEOWhatsAppDispatchRequest"},"CalculatorQuery":{"properties":{"wa_messages":{"type":"integer","title":"Wa Messages","default":0},"agent_tasks":{"type":"integer","title":"Agent Tasks","default":0},"voice_minutes":{"type":"number","title":"Voice Minutes","default":0.0},"voice_note_minutes":{"type":"number","title":"Voice Note Minutes","default":0.0}},"type":"object","title":"CalculatorQuery"},"CalendarRequest":{"properties":{"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date","default":""},"replace_existing":{"type":"boolean","title":"Replace Existing","default":false}},"type":"object","title":"CalendarRequest"},"CampaignIn":{"properties":{"name":{"type":"string","title":"Name"},"channel":{"type":"string","title":"Channel"},"subject":{"type":"string","title":"Subject","default":""},"message":{"type":"string","title":"Message"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","default":[]},"only_consent":{"type":"boolean","title":"Only Consent","default":true}},"type":"object","required":["name","channel","message"],"title":"CampaignIn"},"CashReserveQuery":{"properties":{"available_cash_usd":{"type":"number","title":"Available Cash Usd"}},"type":"object","required":["available_cash_usd"],"title":"CashReserveQuery"},"ChangePasswordRequest":{"properties":{"current_password":{"anyOf":[{"type":"string","maxLength":128,"minLength":6},{"type":"null"}],"title":"Current Password"},"new_password":{"type":"string","maxLength":128,"minLength":8,"title":"New Password"}},"type":"object","required":["new_password"],"title":"ChangePasswordRequest"},"ChatRequest":{"properties":{"message":{"type":"string","maxLength":2000,"minLength":1,"title":"Message"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"mode":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Mode","default":"standard"},"goal":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Goal"},"company_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Company Id"}},"type":"object","required":["message"],"title":"ChatRequest"},"ChatTTSRequest":{"properties":{"text":{"type":"string","maxLength":1500,"minLength":1,"title":"Text"},"voice":{"type":"string","pattern":"^(nova|shimmer|onyx|alloy)$","title":"Voice","default":"nova"}},"type":"object","required":["text"],"title":"ChatTTSRequest"},"CheckoutResponse":{"properties":{"url":{"type":"string","title":"Url"},"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["url","session_id"],"title":"CheckoutResponse"},"ClientChecklistUpdateRequest":{"properties":{"checklist":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Checklist"}},"type":"object","title":"ClientChecklistUpdateRequest"},"ClientProvisioningRequest":{"properties":{"company_name":{"type":"string","maxLength":180,"minLength":2,"title":"Company Name"},"sector_template":{"type":"string","maxLength":40,"title":"Sector Template","default":"clinic"},"owner_name":{"type":"string","maxLength":140,"minLength":2,"title":"Owner Name"},"owner_email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Owner Email"},"primary_color":{"type":"string","maxLength":20,"title":"Primary Color","default":"#0A1A3F"},"accent_color":{"type":"string","maxLength":20,"title":"Accent Color","default":"#00E5FF"},"tagline":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Tagline"},"modules_enabled":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Modules Enabled"},"custom_users":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Custom Users"}},"type":"object","required":["company_name","owner_name"],"title":"ClientProvisioningRequest"},"ClinicChecklistItemUpdate":{"properties":{"item_id":{"type":"string","maxLength":120,"minLength":2,"title":"Item Id"},"done":{"type":"boolean","title":"Done"}},"type":"object","required":["item_id","done"],"title":"ClinicChecklistItemUpdate"},"ClinicClinicalHistoryCreate":{"properties":{"patient_name":{"type":"string","maxLength":180,"minLength":2,"title":"Patient Name"},"patient_phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Patient Phone"},"patient_email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Patient Email"},"appointment_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Appointment Id"},"chief_complaint":{"type":"string","maxLength":400,"minLength":3,"title":"Chief Complaint"},"assessment":{"type":"string","maxLength":3000,"minLength":3,"title":"Assessment"},"treatment_plan":{"type":"string","maxLength":3000,"minLength":3,"title":"Treatment Plan"},"nurse_notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Nurse Notes"},"post_treatment_notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Post Treatment Notes"},"prescribed_items":{"items":{"$ref":"#/components/schemas/ClinicHistoryProduct"},"type":"array","title":"Prescribed Items"},"follow_up_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Follow Up Date"},"canvas_image_data_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canvas Image Data Url"},"signature_data_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signature Data Url"},"template_state":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Template State"},"template_label":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Template Label"},"template_source_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Template Source Url"},"template_page_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Template Page Count"},"status":{"type":"string","maxLength":40,"title":"Status","default":"abierto"}},"type":"object","required":["patient_name","chief_complaint","assessment","treatment_plan"],"title":"ClinicClinicalHistoryCreate"},"ClinicClinicalHistoryUpdate":{"properties":{"patient_name":{"anyOf":[{"type":"string","maxLength":180,"minLength":2},{"type":"null"}],"title":"Patient Name"},"patient_phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Patient Phone"},"patient_email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Patient Email"},"appointment_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Appointment Id"},"chief_complaint":{"anyOf":[{"type":"string","maxLength":400,"minLength":3},{"type":"null"}],"title":"Chief Complaint"},"assessment":{"anyOf":[{"type":"string","maxLength":3000,"minLength":3},{"type":"null"}],"title":"Assessment"},"treatment_plan":{"anyOf":[{"type":"string","maxLength":3000,"minLength":3},{"type":"null"}],"title":"Treatment Plan"},"nurse_notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Nurse Notes"},"post_treatment_notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Post Treatment Notes"},"prescribed_items":{"anyOf":[{"items":{"$ref":"#/components/schemas/ClinicHistoryProduct"},"type":"array"},{"type":"null"}],"title":"Prescribed Items"},"follow_up_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Follow Up Date"},"canvas_image_data_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canvas Image Data Url"},"signature_data_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signature Data Url"},"template_state":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Template State"},"template_label":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Template Label"},"template_source_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Template Source Url"},"template_page_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Template Page Count"},"status":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Status"}},"type":"object","title":"ClinicClinicalHistoryUpdate"},"ClinicCommunicationCreate":{"properties":{"lead_id":{"type":"string","maxLength":120,"minLength":3,"title":"Lead Id"},"channel":{"type":"string","maxLength":40,"minLength":3,"title":"Channel"},"communication_type":{"type":"string","maxLength":80,"title":"Communication Type","default":"manual_followup"},"subject":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Subject"},"message":{"type":"string","maxLength":4000,"minLength":5,"title":"Message"},"status":{"type":"string","maxLength":40,"title":"Status","default":"draft"},"scheduled_for":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Scheduled For"}},"type":"object","required":["lead_id","channel","message"],"title":"ClinicCommunicationCreate"},"ClinicContentTaskCreate":{"properties":{"title":{"type":"string","maxLength":220,"minLength":3,"title":"Title"},"platform":{"type":"string","maxLength":80,"title":"Platform","default":"instagram"},"status":{"type":"string","maxLength":40,"title":"Status","default":"idea"},"publish_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publish At"},"caption":{"anyOf":[{"type":"string","maxLength":3000},{"type":"null"}],"title":"Caption"},"campaign":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Campaign"},"owner":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Owner"}},"type":"object","required":["title"],"title":"ClinicContentTaskCreate"},"ClinicContentTaskUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":220,"minLength":3},{"type":"null"}],"title":"Title"},"platform":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Platform"},"status":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Status"},"publish_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publish At"},"caption":{"anyOf":[{"type":"string","maxLength":3000},{"type":"null"}],"title":"Caption"},"campaign":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Campaign"},"owner":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Owner"}},"type":"object","title":"ClinicContentTaskUpdate"},"ClinicEventCreate":{"properties":{"lead_id":{"type":"string","maxLength":120,"minLength":3,"title":"Lead Id"},"title":{"type":"string","maxLength":220,"minLength":3,"title":"Title"},"event_type":{"type":"string","maxLength":40,"title":"Event Type","default":"valoracion"},"scheduled_at":{"type":"string","title":"Scheduled At"},"duration_minutes":{"type":"integer","maximum":480.0,"minimum":10.0,"title":"Duration Minutes","default":30},"location":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Location"},"assigned_owner":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Assigned Owner"},"status":{"type":"string","maxLength":40,"title":"Status","default":"scheduled"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","required":["lead_id","title","scheduled_at"],"title":"ClinicEventCreate"},"ClinicEventUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":220,"minLength":3},{"type":"null"}],"title":"Title"},"event_type":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Event Type"},"scheduled_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled At"},"duration_minutes":{"anyOf":[{"type":"integer","maximum":480.0,"minimum":10.0},{"type":"null"}],"title":"Duration Minutes"},"location":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Location"},"assigned_owner":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Assigned Owner"},"status":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Status"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","title":"ClinicEventUpdate"},"ClinicHistoryProduct":{"properties":{"inventory_item_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Inventory Item Id"},"product_name":{"type":"string","maxLength":180,"minLength":2,"title":"Product Name"},"quantity":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Quantity","default":1},"notes":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Notes"}},"type":"object","required":["product_name"],"title":"ClinicHistoryProduct"},"ClinicIncidentCreate":{"properties":{"lead_id":{"type":"string","maxLength":120,"minLength":3,"title":"Lead Id"},"title":{"type":"string","maxLength":220,"minLength":3,"title":"Title"},"severity":{"type":"string","maxLength":20,"title":"Severity","default":"media"},"status":{"type":"string","maxLength":20,"title":"Status","default":"open"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","required":["lead_id","title"],"title":"ClinicIncidentCreate"},"ClinicIncidentUpdate":{"properties":{"severity":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Severity"},"status":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Status"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","title":"ClinicIncidentUpdate"},"ClinicLeadCaptureRequest":{"properties":{"full_name":{"type":"string","maxLength":160,"minLength":2,"title":"Full Name"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Email"},"treatment_interest":{"type":"string","maxLength":220,"minLength":3,"title":"Treatment Interest"},"source_channel":{"type":"string","maxLength":80,"title":"Source Channel","default":"web_form"},"preferred_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preferred Date"},"value_estimate":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Value Estimate"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","required":["full_name","treatment_interest"],"title":"ClinicLeadCaptureRequest"},"ClinicLeadUpdate":{"properties":{"stage":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Stage"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Email"},"treatment_interest":{"anyOf":[{"type":"string","maxLength":220,"minLength":3},{"type":"null"}],"title":"Treatment Interest"},"source_channel":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Source Channel"},"preferred_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preferred Date"},"value_estimate":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Value Estimate"},"assigned_owner":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Assigned Owner"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"},"last_contact_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Contact At"},"preop_status":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Preop Status"},"postop_status":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Postop Status"}},"type":"object","title":"ClinicLeadUpdate"},"ClinicNewsCreate":{"properties":{"title":{"type":"string","maxLength":220,"minLength":3,"title":"Title"},"summary":{"type":"string","maxLength":320,"minLength":6,"title":"Summary"},"content":{"type":"string","maxLength":2000,"minLength":12,"title":"Content"},"news_type":{"type":"string","maxLength":40,"title":"News Type","default":"bulletin"},"category":{"type":"string","maxLength":80,"title":"Category","default":"general"},"treatment_focus":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Treatment Focus"},"cta_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Cta Label"},"cta_target":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Cta Target"},"pinned":{"type":"boolean","title":"Pinned","default":false},"status":{"type":"string","maxLength":40,"title":"Status","default":"published"}},"type":"object","required":["title","summary","content"],"title":"ClinicNewsCreate"},"ClinicOperationTaskCreate":{"properties":{"title":{"type":"string","maxLength":220,"minLength":3,"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Description"},"due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due Date"},"assigned_role":{"type":"string","maxLength":80,"title":"Assigned Role","default":"administradora"},"priority":{"type":"string","maxLength":40,"title":"Priority","default":"media"},"category":{"type":"string","maxLength":60,"title":"Category","default":"administracion"}},"type":"object","required":["title"],"title":"ClinicOperationTaskCreate"},"ClinicOperationTaskUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":220,"minLength":3},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Description"},"due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due Date"},"assigned_role":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Assigned Role"},"priority":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Priority"},"category":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Category"},"status":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Status"}},"type":"object","title":"ClinicOperationTaskUpdate"},"ClinicPromotionCreate":{"properties":{"title":{"type":"string","maxLength":220,"minLength":3,"title":"Title"},"audience":{"type":"string","maxLength":80,"title":"Audience","default":"all"},"channel":{"type":"string","maxLength":40,"title":"Channel","default":"email"},"message":{"type":"string","maxLength":4000,"minLength":5,"title":"Message"},"cta_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Cta Label"},"cta_target":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Cta Target"},"scheduled_for":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Scheduled For"},"status":{"type":"string","maxLength":40,"title":"Status","default":"draft"}},"type":"object","required":["title","message"],"title":"ClinicPromotionCreate"},"ClinicSocialConnectionUpdate":{"properties":{"account_handle":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Account Handle"},"access_token":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Access Token"},"notes":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Notes"}},"type":"object","title":"ClinicSocialConnectionUpdate"},"ClinicStockItemCreate":{"properties":{"name":{"type":"string","maxLength":220,"minLength":2,"title":"Name"},"category":{"type":"string","maxLength":80,"title":"Category","default":"consumibles"},"batch_number":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Batch Number"},"supplier":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Supplier"},"location":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Location"},"current_units":{"type":"integer","minimum":0.0,"title":"Current Units","default":0},"minimum_units":{"type":"integer","minimum":0.0,"title":"Minimum Units","default":0},"reorder_units":{"type":"integer","minimum":0.0,"title":"Reorder Units","default":0},"unit_label":{"type":"string","maxLength":40,"title":"Unit Label","default":"unidades"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","required":["name"],"title":"ClinicStockItemCreate"},"ClinicStockItemUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":220,"minLength":2},{"type":"null"}],"title":"Name"},"category":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Category"},"batch_number":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Batch Number"},"supplier":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Supplier"},"location":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Location"},"current_units":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Current Units"},"minimum_units":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Minimum Units"},"reorder_units":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Reorder Units"},"unit_label":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Unit Label"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","title":"ClinicStockItemUpdate"},"ClinicWorkspaceAppointmentCreate":{"properties":{"patient_name":{"type":"string","maxLength":180,"minLength":2,"title":"Patient Name"},"patient_phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Patient Phone"},"patient_email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Patient Email"},"appointment_type":{"type":"string","maxLength":80,"title":"Appointment Type","default":"consulta"},"scheduled_at":{"type":"string","title":"Scheduled At"},"duration_minutes":{"type":"integer","maximum":480.0,"minimum":10.0,"title":"Duration Minutes","default":30},"assigned_role":{"type":"string","maxLength":80,"title":"Assigned Role","default":"doctora"},"status":{"type":"string","maxLength":40,"title":"Status","default":"programada"},"notes":{"anyOf":[{"type":"string","maxLength":1500},{"type":"null"}],"title":"Notes"}},"type":"object","required":["patient_name","scheduled_at"],"title":"ClinicWorkspaceAppointmentCreate"},"ClinicWorkspaceAppointmentUpdate":{"properties":{"patient_name":{"anyOf":[{"type":"string","maxLength":180,"minLength":2},{"type":"null"}],"title":"Patient Name"},"patient_phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Patient Phone"},"patient_email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Patient Email"},"appointment_type":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Appointment Type"},"scheduled_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled At"},"duration_minutes":{"anyOf":[{"type":"integer","maximum":480.0,"minimum":10.0},{"type":"null"}],"title":"Duration Minutes"},"assigned_role":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Assigned Role"},"status":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Status"},"notes":{"anyOf":[{"type":"string","maxLength":1500},{"type":"null"}],"title":"Notes"}},"type":"object","title":"ClinicWorkspaceAppointmentUpdate"},"CodeBody":{"properties":{"code":{"type":"string","title":"Code"}},"type":"object","required":["code"],"title":"CodeBody"},"CoexistencePauseResume":{"properties":{"wa_id":{"type":"string","title":"Wa Id"},"phone_number_id":{"type":"string","title":"Phone Number Id"},"action":{"type":"string","title":"Action","default":"pause"},"pause_hours":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pause Hours","default":2}},"type":"object","required":["wa_id","phone_number_id"],"title":"CoexistencePauseResume"},"CommandCardCreate":{"properties":{"title":{"type":"string","maxLength":220,"minLength":3,"title":"Title"},"description":{"type":"string","maxLength":4000,"minLength":5,"title":"Description"},"lane":{"type":"string","maxLength":40,"minLength":3,"title":"Lane"},"item_type":{"type":"string","maxLength":40,"minLength":3,"title":"Item Type"},"owner":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Owner"},"priority":{"type":"string","maxLength":20,"title":"Priority","default":"media"},"estimated_cost":{"type":"number","minimum":0.0,"title":"Estimated Cost","default":0},"expected_revenue":{"type":"number","minimum":0.0,"title":"Expected Revenue","default":0},"roi_percent":{"type":"number","title":"Roi Percent","default":0},"hours_estimate":{"type":"number","minimum":0.0,"title":"Hours Estimate","default":0},"related_source":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Related Source"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notes"}},"type":"object","required":["title","description","lane","item_type"],"title":"CommandCardCreate"},"CommandCardUpdate":{"properties":{"lane":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lane"},"owner":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Owner"},"priority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Priority"},"estimated_cost":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Estimated Cost"},"expected_revenue":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Expected Revenue"},"roi_percent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Roi Percent"},"hours_estimate":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Hours Estimate"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notes"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"}},"type":"object","title":"CommandCardUpdate"},"CompanyHubCreate":{"properties":{"company_name":{"type":"string","maxLength":160,"minLength":2,"title":"Company Name"},"industry":{"type":"string","maxLength":80,"minLength":2,"title":"Industry"},"website":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Website"},"contact_name":{"type":"string","maxLength":120,"minLength":2,"title":"Contact Name"},"contact_email":{"type":"string","maxLength":255,"minLength":5,"title":"Contact Email"},"company_stage":{"type":"string","title":"Company Stage","default":"prospecto"},"primary_goal":{"type":"string","maxLength":800,"minLength":8,"title":"Primary Goal"},"desired_services":{"items":{"type":"string"},"type":"array","title":"Desired Services"},"ai_categories":{"items":{"type":"string"},"type":"array","title":"Ai Categories"},"channels":{"items":{"type":"string"},"type":"array","title":"Channels"},"assigned_agents":{"items":{"type":"string"},"type":"array","title":"Assigned Agents"},"notes":{"anyOf":[{"type":"string","maxLength":3000},{"type":"null"}],"title":"Notes"},"estimated_monthly_value":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Estimated Monthly Value"}},"type":"object","required":["company_name","industry","contact_name","contact_email","primary_goal"],"title":"CompanyHubCreate"},"CompanyHubUpdate":{"properties":{"company_stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Stage"},"primary_goal":{"anyOf":[{"type":"string","maxLength":800,"minLength":8},{"type":"null"}],"title":"Primary Goal"},"desired_services":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Desired Services"},"ai_categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Ai Categories"},"channels":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Channels"},"assigned_agents":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Assigned Agents"},"notes":{"anyOf":[{"type":"string","maxLength":3000},{"type":"null"}],"title":"Notes"},"estimated_monthly_value":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Estimated Monthly Value"}},"type":"object","title":"CompanyHubUpdate"},"CompleteRequest":{"properties":{"client_id":{"type":"string","title":"Client Id"},"agent_id":{"type":"string","title":"Agent Id"},"level":{"type":"string","title":"Level","default":"economico"},"system_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Prompt"},"messages":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Messages"},"max_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Tokens","default":1024},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"task_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Type","default":"llm_complete"}},"type":"object","required":["client_id","agent_id","messages"],"title":"CompleteRequest"},"ConnectionConfirmRequest":{"properties":{"provider":{"type":"string","maxLength":80,"minLength":2,"title":"Provider"},"connection_id":{"type":"string","maxLength":200,"minLength":4,"title":"Connection Id"}},"type":"object","required":["provider","connection_id"],"title":"ConnectionConfirmRequest"},"ConnectionInitiateRequest":{"properties":{"provider":{"type":"string","maxLength":80,"minLength":2,"title":"Provider"}},"type":"object","required":["provider"],"title":"ConnectionInitiateRequest"},"ContactIn":{"properties":{"name":{"type":"string","title":"Name","default":""},"phone":{"type":"string","title":"Phone","default":""},"email":{"type":"string","title":"Email","default":""},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","default":[]},"consent":{"type":"boolean","title":"Consent","default":false},"notes":{"type":"string","title":"Notes","default":""},"source":{"type":"string","title":"Source","default":"manual"}},"type":"object","title":"ContactIn"},"ContactMessage":{"properties":{"id":{"type":"string","title":"Id"},"nombre":{"type":"string","title":"Nombre"},"email":{"type":"string","title":"Email"},"empresa":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Empresa"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"mensaje":{"type":"string","title":"Mensaje"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","default":"contact_form"},"assigned_partner_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned Partner Id"},"assigned_partner_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned Partner Name"},"routing_status":{"type":"string","title":"Routing Status","default":"unassigned"},"routing_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Routing Reason"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"read":{"type":"boolean","title":"Read","default":false}},"type":"object","required":["nombre","email","mensaje"],"title":"ContactMessage"},"ContactMessageCreate":{"properties":{"nombre":{"type":"string","maxLength":100,"minLength":2,"title":"Nombre"},"email":{"type":"string","maxLength":255,"minLength":5,"title":"Email"},"empresa":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Empresa"},"country":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Country"},"mensaje":{"type":"string","maxLength":2000,"minLength":10,"title":"Mensaje"},"source":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Source"}},"type":"object","required":["nombre","email","mensaje"],"title":"ContactMessageCreate"},"ContactMessageResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"}},"type":"object","required":["success","message"],"title":"ContactMessageResponse"},"ContentRequest":{"properties":{"channel":{"type":"string","title":"Channel","default":"Instagram"},"goal":{"type":"string","title":"Goal","default":"producto"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id","default":""},"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic","default":""},"tone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tone","default":"cercano y motivador"}},"type":"object","title":"ContentRequest"},"ContractPaymentCheckoutRequest":{"properties":{"origin_url":{"type":"string","title":"Origin Url"}},"type":"object","required":["origin_url"],"title":"ContractPaymentCheckoutRequest"},"CreateTaskRequest":{"properties":{"title":{"type":"string","maxLength":300,"minLength":2,"title":"Title"},"description":{"type":"string","maxLength":5000,"minLength":5,"title":"Description"},"assigned_agents":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Assigned Agents"},"priority":{"type":"string","title":"Priority","default":"media"},"deadline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deadline"},"auto_execute":{"type":"boolean","title":"Auto Execute","default":true}},"type":"object","required":["title","description","assigned_agents"],"title":"CreateTaskRequest"},"CreateUserRequest":{"properties":{"nombre":{"type":"string","maxLength":100,"minLength":2,"title":"Nombre"},"email":{"type":"string","maxLength":255,"minLength":5,"title":"Email"},"password":{"type":"string","maxLength":128,"minLength":6,"title":"Password"},"empresa":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Empresa"},"role":{"type":"string","title":"Role","default":"partner"},"assigned_agents":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Assigned Agents"},"partner_countries":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Partner Countries"},"country_exclusivity_enabled":{"type":"boolean","title":"Country Exclusivity Enabled","default":false}},"type":"object","required":["nombre","email","password"],"title":"CreateUserRequest"},"CreditTopUpCheckoutRequest":{"properties":{"pack_id":{"type":"string","maxLength":80,"minLength":3,"title":"Pack Id"},"origin_url":{"type":"string","maxLength":500,"minLength":3,"title":"Origin Url"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["pack_id","origin_url"],"title":"CreditTopUpCheckoutRequest"},"DecisionRequest":{"properties":{"chosen_plan":{"type":"string","title":"Chosen Plan"},"approved_by":{"type":"string","title":"Approved By","default":"admin"},"note":{"type":"string","title":"Note","default":""}},"type":"object","required":["chosen_plan"],"title":"DecisionRequest"},"DeliveryActCreate":{"properties":{"client_id":{"type":"string","title":"Client Id"},"integration_name":{"type":"string","title":"Integration Name"},"delivery_items":{"items":{"type":"string"},"type":"array","title":"Delivery Items"},"total_usd":{"type":"number","title":"Total Usd"},"second_payment_usd":{"type":"number","title":"Second Payment Usd"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["client_id","integration_name","delivery_items","total_usd","second_payment_usd"],"title":"DeliveryActCreate"},"DemoModeScenarioRequest":{"properties":{"name":{"type":"string","maxLength":120,"minLength":3,"title":"Name"},"persona":{"type":"string","maxLength":120,"minLength":3,"title":"Persona"},"company_type":{"type":"string","maxLength":120,"minLength":3,"title":"Company Type"},"desired_outcome":{"type":"string","maxLength":500,"minLength":8,"title":"Desired Outcome"},"top_modules":{"items":{"type":"string"},"type":"array","title":"Top Modules"}},"type":"object","required":["name","persona","company_type","desired_outcome"],"title":"DemoModeScenarioRequest"},"EmailCampaignIn":{"properties":{"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject","default":""},"goal":{"type":"string","title":"Goal","default":"seguimiento"},"prospect_ids":{"items":{"type":"string"},"type":"array","title":"Prospect Ids","default":[]},"custom_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Body","default":""},"send":{"type":"boolean","title":"Send","default":false}},"type":"object","title":"EmailCampaignIn"},"FeedbackCreate":{"properties":{"client_id":{"type":"string","title":"Client Id","default":"neuralia369"},"signal":{"type":"string","title":"Signal"},"user_text":{"type":"string","title":"User Text","default":""},"agent_reply":{"type":"string","title":"Agent Reply","default":""},"installation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Installation Id"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment"},"channel":{"type":"string","title":"Channel","default":"whatsapp"}},"type":"object","required":["signal"],"title":"FeedbackCreate"},"FinancialPlanNoteCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":3,"title":"Title"},"content":{"type":"string","maxLength":4000,"minLength":5,"title":"Content"},"category":{"type":"string","title":"Category","default":"cash_flow"}},"type":"object","required":["title","content"],"title":"FinancialPlanNoteCreate"},"FlagUpdate":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["enabled"],"title":"FlagUpdate"},"FlowCreate":{"properties":{"flow_type":{"type":"string","title":"Flow Type"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"flow_json":{"additionalProperties":true,"type":"object","title":"Flow Json"},"client_id":{"type":"string","title":"Client Id","default":"neuralia369"}},"type":"object","required":["flow_type","name","flow_json"],"title":"FlowCreate"},"FlowPublish":{"properties":{"flow_id":{"type":"string","title":"Flow Id"},"reviewed_by":{"type":"string","title":"Reviewed By"}},"type":"object","required":["flow_id","reviewed_by"],"title":"FlowPublish"},"FrameioFolderCreateRequest":{"properties":{"parent_folder_id":{"type":"string","maxLength":160,"minLength":3,"title":"Parent Folder Id"},"name":{"type":"string","maxLength":160,"minLength":2,"title":"Name"},"parent_key":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Parent Key"}},"type":"object","required":["parent_folder_id","name"],"title":"FrameioFolderCreateRequest"},"FrameioFolderRenameRequest":{"properties":{"folder_id":{"type":"string","maxLength":160,"minLength":3,"title":"Folder Id"},"name":{"type":"string","maxLength":160,"minLength":2,"title":"Name"}},"type":"object","required":["folder_id","name"],"title":"FrameioFolderRenameRequest"},"FrameioPublicationChannelUpdate":{"properties":{"channel_key":{"type":"string","maxLength":80,"minLength":2,"title":"Channel Key"},"channel_name":{"type":"string","maxLength":200,"minLength":2,"title":"Channel Name"},"channel_url":{"type":"string","maxLength":500,"minLength":10,"title":"Channel Url"},"role":{"type":"string","maxLength":80,"title":"Role","default":"primary_publication"},"summary":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Summary"}},"type":"object","required":["channel_key","channel_name","channel_url"],"title":"FrameioPublicationChannelUpdate"},"FrameioYouTubeReferenceUpdate":{"properties":{"channel_name":{"type":"string","maxLength":200,"minLength":3,"title":"Channel Name"},"channel_url":{"type":"string","maxLength":500,"minLength":10,"title":"Channel Url"},"role":{"type":"string","maxLength":80,"title":"Role","default":"reference"},"summary":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Summary"}},"type":"object","required":["channel_name","channel_url"],"title":"FrameioYouTubeReferenceUpdate"},"GenerateRequest":{"properties":{"brief":{"type":"string","title":"Brief"},"tone":{"type":"string","title":"Tone","default":"cálido y profesional"}},"type":"object","required":["brief"],"title":"GenerateRequest"},"GmailConnectionSendRequest":{"properties":{"to_email":{"type":"string","maxLength":240,"minLength":5,"title":"To Email"},"subject":{"type":"string","maxLength":240,"minLength":1,"title":"Subject"},"body":{"type":"string","maxLength":5000,"minLength":1,"title":"Body"}},"type":"object","required":["to_email","subject","body"],"title":"GmailConnectionSendRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InboundFeedbackRequest":{"properties":{"client_id":{"type":"string","title":"Client Id","default":"neuralia369"},"wa_from":{"type":"string","title":"Wa From"},"text":{"type":"string","title":"Text"},"channel":{"type":"string","title":"Channel","default":"whatsapp"}},"type":"object","required":["wa_from","text"],"title":"InboundFeedbackRequest"},"InstallRequest":{"properties":{"template_id":{"type":"string","title":"Template Id"},"client_id":{"type":"string","title":"Client Id","default":"neuralia369"},"install_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Install Name"}},"type":"object","required":["template_id"],"title":"InstallRequest"},"InstallRequestBody":{"properties":{"client_id":{"type":"string","title":"Client Id","default":"neuralia369"},"contact_name":{"type":"string","title":"Contact Name","default":""},"contact_wa":{"type":"string","title":"Contact Wa","default":""},"note":{"type":"string","title":"Note","default":""}},"type":"object","title":"InstallRequestBody"},"IntegrationHubUpdate":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"account_label":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Account Label"},"notes":{"anyOf":[{"type":"string","maxLength":3000},{"type":"null"}],"title":"Notes"},"enabled_services":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Enabled Services"}},"type":"object","title":"IntegrationHubUpdate"},"IntegrationWebhookProbeRequest":{"properties":{"provider":{"type":"string","maxLength":80,"minLength":2,"title":"Provider"},"payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload"}},"type":"object","required":["provider"],"title":"IntegrationWebhookProbeRequest"},"IntelRunRequest":{"properties":{"client_id":{"type":"string","title":"Client Id","default":"neuralia369"},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"},"region":{"type":"string","title":"Region","default":"Perú"},"competitors":{"items":{"type":"string"},"type":"array","title":"Competitors","default":[]},"focus":{"type":"string","title":"Focus","default":"captar más clientes por WhatsApp y fijar precios competitivos"}},"type":"object","title":"IntelRunRequest"},"KBCreate":{"properties":{"client_id":{"type":"string","title":"Client Id","default":"neuralia369"},"title":{"type":"string","title":"Title"},"content":{"type":"string","title":"Content"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","default":[]},"source":{"type":"string","title":"Source","default":"manual"}},"type":"object","required":["title","content"],"title":"KBCreate"},"KBUpdate":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"}},"type":"object","title":"KBUpdate"},"MCPCommRequest":{"properties":{"channel":{"type":"string","maxLength":40,"title":"Channel","default":"whatsapp"},"to":{"type":"string","maxLength":120,"minLength":3,"title":"To"},"message":{"type":"string","maxLength":4000,"minLength":2,"title":"Message"}},"type":"object","required":["to","message"],"title":"MCPCommRequest"},"MCPTextRequest":{"properties":{"text":{"anyOf":[{"type":"string","maxLength":40000},{"type":"null"}],"title":"Text"},"objective":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Objective"}},"type":"object","title":"MCPTextRequest"},"MakeWebhookCreate":{"properties":{"trigger":{"type":"string","title":"Trigger","description":"ID del trigger (ver MAKE_TRIGGERS)"},"webhook_url":{"type":"string","maxLength":2000,"minLength":10,"title":"Webhook Url"},"label":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Label"},"workspace":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Workspace","default":"neuralia"},"active":{"type":"boolean","title":"Active","default":true}},"type":"object","required":["trigger","webhook_url"],"title":"MakeWebhookCreate"},"ManualCreditRequest":{"properties":{"client_id":{"type":"string","title":"Client Id"},"amount_inti":{"type":"number","title":"Amount Inti"},"description":{"type":"string","title":"Description"},"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"}},"type":"object","required":["client_id","amount_inti","description"],"title":"ManualCreditRequest"},"MassCampaignIn":{"properties":{"channel":{"type":"string","title":"Channel","default":"email"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject","default":""},"goal":{"type":"string","title":"Goal","default":"promocion"},"custom_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Body","default":""},"groups":{"items":{"type":"string"},"type":"array","title":"Groups","default":[]},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","default":[]},"stages":{"items":{"type":"string"},"type":"array","title":"Stages","default":[]},"send":{"type":"boolean","title":"Send","default":false}},"type":"object","title":"MassCampaignIn"},"MediaAssetCreate":{"properties":{"title":{"type":"string","maxLength":220,"minLength":3,"title":"Title"},"asset_type":{"type":"string","title":"Asset Type","default":"video"},"source_url":{"type":"string","maxLength":2000,"minLength":10,"title":"Source Url"},"source_origin":{"type":"string","title":"Source Origin","default":"upload"},"duration_minutes":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Duration Minutes"},"primary_language":{"type":"string","title":"Primary Language","default":"es"},"protagonist_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Protagonist Name"},"brand_context":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Brand Context"},"target_audience":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Target Audience"},"objective":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Objective"},"rights_status":{"type":"string","title":"Rights Status","default":"pending_review"},"allow_voice_clone":{"type":"boolean","title":"Allow Voice Clone","default":false},"allow_face_clone":{"type":"boolean","title":"Allow Face Clone","default":false},"notes":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Notes"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"}},"type":"object","required":["title","source_url"],"title":"MediaAssetCreate"},"MetaPublishRequest":{"properties":{"owner":{"type":"string","title":"Owner","default":"neuralia"},"target":{"type":"string","title":"Target","default":"facebook"},"media_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Media Url"},"media_kind":{"type":"string","title":"Media Kind","default":"image"},"caption":{"type":"string","title":"Caption","default":""}},"type":"object","title":"MetaPublishRequest"},"NIPStudioTranslateRequest":{"properties":{"instruction":{"type":"string","maxLength":3000,"minLength":6,"title":"Instruction"},"context":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Context"},"requested_channels":{"items":{"type":"string"},"type":"array","title":"Requested Channels"},"autonomy_mode":{"type":"string","title":"Autonomy Mode","default":"hybrid_limits"}},"type":"object","required":["instruction"],"title":"NIPStudioTranslateRequest"},"NewsletterSubscribe":{"properties":{"email":{"type":"string","maxLength":255,"minLength":5,"title":"Email"},"nombre":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Nombre"}},"type":"object","required":["email"],"title":"NewsletterSubscribe"},"OAuthExchange":{"properties":{"code":{"type":"string","title":"Code"},"state":{"type":"string","title":"State"}},"type":"object","required":["code","state"],"title":"OAuthExchange"},"PartnerApplication":{"properties":{"id":{"type":"string","title":"Id"},"nombre":{"type":"string","title":"Nombre"},"email":{"type":"string","title":"Email"},"empresa":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Empresa"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"web":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Web"},"tipoPartner":{"type":"string","title":"Tipopartner"},"mensaje":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mensaje"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"status":{"type":"string","title":"Status","default":"pending"}},"type":"object","required":["nombre","email","tipoPartner"],"title":"PartnerApplication"},"PartnerApplicationCreate":{"properties":{"nombre":{"type":"string","maxLength":100,"minLength":2,"title":"Nombre"},"email":{"type":"string","maxLength":255,"minLength":5,"title":"Email"},"empresa":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Empresa"},"country":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Country"},"web":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Web"},"tipoPartner":{"type":"string","maxLength":50,"minLength":2,"title":"Tipopartner"},"mensaje":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Mensaje"}},"type":"object","required":["nombre","email","tipoPartner"],"title":"PartnerApplicationCreate"},"PartnerCommissionAdjustmentCreate":{"properties":{"partner_user_id":{"type":"string","maxLength":120,"minLength":3,"title":"Partner User Id"},"kind":{"type":"string","maxLength":40,"title":"Kind"},"description":{"type":"string","maxLength":220,"minLength":3,"title":"Description"},"amount_eur":{"type":"number","title":"Amount Eur"},"maintenance_package_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Maintenance Package Id"},"source_type":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Source Type"},"source_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Source Id"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","required":["partner_user_id","kind","description","amount_eur"],"title":"PartnerCommissionAdjustmentCreate"},"PartnerLegalAcceptanceRequest":{"properties":{"plan_id":{"type":"string","title":"Plan Id"},"email":{"type":"string","title":"Email"},"full_name":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Full Name"},"company_name":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Company Name"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"accepted":{"type":"boolean","title":"Accepted","default":true},"contract_version":{"type":"string","title":"Contract Version","default":"partner_terms_v1"}},"type":"object","required":["plan_id","email"],"title":"PartnerLegalAcceptanceRequest"},"PartnerPayoutAdminUpdate":{"properties":{"status":{"type":"string","maxLength":40,"title":"Status"},"payout_method":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Payout Method"},"admin_notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Admin Notes"},"transaction_reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Transaction Reference"}},"type":"object","required":["status"],"title":"PartnerPayoutAdminUpdate"},"PartnerPayoutRequestCreate":{"properties":{"payout_method":{"type":"string","maxLength":40,"title":"Payout Method"},"amount_eur":{"type":"number","exclusiveMinimum":0.0,"title":"Amount Eur"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","required":["payout_method","amount_eur"],"title":"PartnerPayoutRequestCreate"},"PartnerProfileUpsertRequest":{"properties":{"display_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Display Name"},"legal_name":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Legal Name"},"country":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Country"},"iban":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Iban"},"bank_account_holder":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Bank Account Holder"},"paypal_email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Paypal Email"},"tax_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Tax Id"},"autopilot_mode":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Autopilot Mode"},"accepted_terms":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepted Terms"},"accepted_partner_contract":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepted Partner Contract"},"accepted_payout_policy":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepted Payout Policy"},"accepted_anti_spam_policy":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepted Anti Spam Policy"}},"type":"object","title":"PartnerProfileUpsertRequest"},"PartnerReferralLeadCreate":{"properties":{"full_name":{"type":"string","maxLength":160,"minLength":2,"title":"Full Name"},"company_name":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Company Name"},"email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"source_channel":{"type":"string","maxLength":80,"title":"Source Channel","default":"manual_referral"},"service_interest":{"type":"string","maxLength":220,"minLength":3,"title":"Service Interest"},"estimated_value":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Estimated Value"},"priority":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Priority","default":"medium"},"follow_up_date":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Follow Up Date"},"next_action":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Next Action"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","required":["full_name","service_interest"],"title":"PartnerReferralLeadCreate"},"PartnerReferralLeadUpdate":{"properties":{"company_name":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Company Name"},"email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"source_channel":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Source Channel"},"service_interest":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Service Interest"},"estimated_value":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Estimated Value"},"priority":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Priority"},"status":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Status"},"follow_up_date":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Follow Up Date"},"next_action":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Next Action"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","title":"PartnerReferralLeadUpdate"},"PartnerSaleSimulationRequest":{"properties":{"plan_id":{"type":"string","maxLength":40,"title":"Plan Id","default":"pequeno"},"email":{"type":"string","maxLength":255,"minLength":5,"title":"Email"},"full_name":{"type":"string","maxLength":180,"minLength":2,"title":"Full Name"},"company_name":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Company Name"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"send_welcome_email":{"type":"boolean","title":"Send Welcome Email","default":true}},"type":"object","required":["email","full_name"],"title":"PartnerSaleSimulationRequest"},"PartnerSocialConnectionUpsert":{"properties":{"provider":{"type":"string","maxLength":40,"title":"Provider"},"handle":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Handle"},"status":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Status"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","required":["provider"],"title":"PartnerSocialConnectionUpsert"},"PartnerSubscriptionCheckoutRequest":{"properties":{"plan_id":{"type":"string","title":"Plan Id"},"origin_url":{"type":"string","title":"Origin Url"},"email":{"type":"string","title":"Email"},"acceptance_id":{"type":"string","title":"Acceptance Id"},"full_name":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Full Name"},"company_name":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Company Name"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"return_path":{"type":"string","maxLength":200,"title":"Return Path","default":"/partners"}},"type":"object","required":["plan_id","origin_url","email","acceptance_id"],"title":"PartnerSubscriptionCheckoutRequest"},"PatientLoginRequest":{"properties":{"identifier":{"type":"string","maxLength":40,"minLength":4,"title":"Identifier"},"code":{"type":"string","maxLength":10,"minLength":4,"title":"Code"}},"type":"object","required":["identifier","code"],"title":"PatientLoginRequest"},"PaymentLinkCreate":{"properties":{"client_id":{"type":"string","title":"Client Id","default":"neuralia369"},"concept":{"type":"string","title":"Concept"},"amount":{"type":"number","title":"Amount"},"currency":{"type":"string","title":"Currency","default":"pen"},"customer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Name"},"customer_wa":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Wa"},"send_now":{"type":"boolean","title":"Send Now","default":false},"simulate":{"type":"boolean","title":"Simulate","default":false}},"type":"object","required":["concept","amount"],"title":"PaymentLinkCreate"},"PeruLeadCreate":{"properties":{"nombre":{"type":"string","maxLength":100,"minLength":2,"title":"Nombre"},"empresa":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Empresa"},"whatsapp":{"type":"string","maxLength":30,"minLength":7,"title":"Whatsapp"},"sector":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Sector"},"mensaje":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Mensaje"},"source":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Source","default":"activa_peru_landing"}},"type":"object","required":["nombre","whatsapp"],"title":"PeruLeadCreate"},"PeruLeadUpdate":{"properties":{"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"notas":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notas"},"plan_interes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Interes"},"nombre":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Nombre"},"empresa":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Empresa"}},"type":"object","title":"PeruLeadUpdate"},"PhoneNumberRegister":{"properties":{"phone_number":{"type":"string","title":"Phone Number"},"label":{"type":"string","title":"Label"},"country":{"type":"string","title":"Country"},"role":{"type":"string","title":"Role","default":"cliente"},"mode":{"type":"string","title":"Mode","default":"new_number"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"client_id":{"type":"string","title":"Client Id","default":"neuralia369"},"tenant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Id"},"two_step_pin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Two Step Pin"}},"type":"object","required":["phone_number","label","country"],"title":"PhoneNumberRegister"},"PhoneNumberVerify":{"properties":{"phone_number":{"type":"string","title":"Phone Number"},"code":{"type":"string","title":"Code"},"code_method":{"type":"string","title":"Code Method","default":"SMS"}},"type":"object","required":["phone_number","code"],"title":"PhoneNumberVerify"},"PhotoToVideoRequest":{"properties":{"script":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Script","default":""},"goal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal","default":"producto"},"voice_over":{"type":"boolean","title":"Voice Over","default":true},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","default":""}},"type":"object","title":"PhotoToVideoRequest"},"PolloVideoJobCreateRequest":{"properties":{"job_type":{"type":"string","maxLength":80,"minLength":3,"title":"Job Type"},"title":{"type":"string","maxLength":220,"minLength":3,"title":"Title"},"prompt":{"type":"string","maxLength":4000,"minLength":10,"title":"Prompt"},"model_key":{"type":"string","maxLength":120,"minLength":3,"title":"Model Key","default":"pollo-v2-0"},"campaign_goal":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Campaign Goal"},"aspect_ratio":{"type":"string","maxLength":20,"title":"Aspect Ratio","default":"9:16"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url"},"webhook_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Webhook Url"}},"type":"object","required":["job_type","title","prompt"],"title":"PolloVideoJobCreateRequest"},"PriceObservation":{"properties":{"provider_model":{"type":"string","title":"Provider Model"},"input":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Input"},"output":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Output"},"per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Per Unit"},"source":{"type":"string","title":"Source","default":"manual"},"note":{"type":"string","title":"Note","default":""}},"type":"object","required":["provider_model"],"title":"PriceObservation"},"PricingConfigUpdateRequest":{"properties":{"publico_discount_percent":{"type":"number","maximum":90.0,"minimum":0.0,"title":"Publico Discount Percent","default":0},"agencia_discount_percent":{"type":"number","maximum":90.0,"minimum":0.0,"title":"Agencia Discount Percent","default":45},"partner_discount_percent":{"type":"number","maximum":90.0,"minimum":0.0,"title":"Partner Discount Percent","default":52},"asociado_discount_percent":{"type":"number","maximum":90.0,"minimum":0.0,"title":"Asociado Discount Percent","default":48}},"type":"object","title":"PricingConfigUpdateRequest"},"ProductionAvatarJobCreateRequest":{"properties":{"asset_id":{"type":"string","maxLength":120,"minLength":3,"title":"Asset Id"},"audio_render_id":{"type":"string","maxLength":120,"minLength":3,"title":"Audio Render Id"},"prompt":{"type":"string","maxLength":1000,"minLength":5,"title":"Prompt"},"provider_model":{"type":"string","maxLength":200,"title":"Provider Model","default":"fal-ai/kling-video/ai-avatar/v2/pro"}},"type":"object","required":["asset_id","audio_render_id","prompt"],"title":"ProductionAvatarJobCreateRequest"},"ProductionVoiceRenderRequest":{"properties":{"voice_id":{"type":"string","maxLength":120,"minLength":3,"title":"Voice Id"},"text":{"type":"string","maxLength":5000,"minLength":5,"title":"Text"},"model_id":{"type":"string","maxLength":120,"title":"Model Id","default":"eleven_multilingual_v2"},"stability":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Stability","default":0.45},"similarity_boost":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Similarity Boost","default":0.8},"style":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Style","default":0.15},"speed":{"type":"number","maximum":1.2,"minimum":0.7,"title":"Speed","default":1.0},"use_speaker_boost":{"type":"boolean","title":"Use Speaker Boost","default":true},"language_code":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Language Code","default":"es"}},"type":"object","required":["voice_id","text"],"title":"ProductionVoiceRenderRequest"},"ProfileUpdate":{"properties":{"nombre":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nombre"},"whatsapp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Whatsapp"},"shop_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shop Url"},"registration_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Url"},"aynara_whatsapp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aynara Whatsapp"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"instagram":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instagram"},"facebook":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facebook"},"tiktok":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tiktok"},"phone_commercial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone Commercial"}},"type":"object","title":"ProfileUpdate"},"PromptVersionCreate":{"properties":{"client_id":{"type":"string","title":"Client Id","default":"neuralia369"},"installation_id":{"type":"string","title":"Installation Id"},"system_prompt":{"type":"string","title":"System Prompt"},"change_note":{"type":"string","title":"Change Note","default":""},"source":{"type":"string","title":"Source","default":"manual"}},"type":"object","required":["installation_id","system_prompt"],"title":"PromptVersionCreate"},"ProspectIn":{"properties":{"name":{"type":"string","title":"Name"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","default":""},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","default":""},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","default":"WhatsApp"},"interest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interest","default":"cliente"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage","default":"nuevo"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","default":""},"goal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal","default":""},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","default":""},"next_action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Action","default":""},"follow_up_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Follow Up Date","default":""},"group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group","default":"prospecto"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags","default":[]}},"type":"object","required":["name"],"title":"ProspectIn"},"ProviderBalanceUpdate":{"properties":{"estimated_balance_usd":{"type":"number","title":"Estimated Balance Usd"},"spend_limit_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Spend Limit Usd"}},"type":"object","required":["estimated_balance_usd"],"title":"ProviderBalanceUpdate"},"PublicAuthLinkInitiateRequest":{"properties":{"provider":{"type":"string","maxLength":80,"minLength":2,"title":"Provider"}},"type":"object","required":["provider"],"title":"PublicAuthLinkInitiateRequest"},"PublicDemoActivationRequest":{"properties":{"full_name":{"type":"string","title":"Full Name"},"email":{"type":"string","title":"Email"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"origin_url":{"type":"string","title":"Origin Url"}},"type":"object","required":["full_name","email","origin_url"],"title":"PublicDemoActivationRequest"},"PublicLeadIn":{"properties":{"name":{"type":"string","title":"Name"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","default":""},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","default":""},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","default":""},"interest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interest","default":"cliente"},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector","default":""},"budget":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Budget","default":""},"urgency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Urgency","default":""},"goal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal","default":""},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","default":"landing"}},"type":"object","required":["name"],"title":"PublicLeadIn"},"PublishContentRequest":{"properties":{"targets":{"items":{"type":"string"},"type":"array","title":"Targets","default":["instagram"]},"media_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Media Id"}},"type":"object","title":"PublishContentRequest"},"PublishRequest":{"properties":{"owner":{"type":"string","title":"Owner","default":"neuralia"},"video_url":{"type":"string","title":"Video Url"},"title":{"type":"string","title":"Title","default":""},"privacy_level":{"type":"string","title":"Privacy Level","default":"SELF_ONLY"},"campaign_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign Id"}},"type":"object","required":["video_url"],"title":"PublishRequest"},"PurchaseApprovalUpdate":{"properties":{"status":{"type":"string","title":"Status"},"approval_notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Approval Notes"}},"type":"object","required":["status"],"title":"PurchaseApprovalUpdate"},"PurchaseRequestCreate":{"properties":{"title":{"type":"string","maxLength":220,"minLength":3,"title":"Title"},"supplier":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Supplier"},"estimated_amount":{"type":"number","minimum":0.0,"title":"Estimated Amount"},"currency":{"type":"string","maxLength":10,"title":"Currency","default":"EUR"},"reason":{"type":"string","maxLength":2000,"minLength":5,"title":"Reason"},"category":{"type":"string","maxLength":80,"title":"Category","default":"general"},"approval_mode":{"type":"string","title":"Approval Mode","default":"manual"}},"type":"object","required":["title","estimated_amount","reason"],"title":"PurchaseRequestCreate"},"QuickLinkRequest":{"properties":{"client_id":{"type":"string","title":"Client Id"},"providers":{"items":{"type":"string"},"type":"array","title":"Providers"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label","default":"Enlace rápido"},"expires_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires Minutes","default":15}},"type":"object","required":["client_id","providers"],"title":"QuickLinkRequest"},"RateCardCreate":{"properties":{"provider_model":{"type":"string","title":"Provider Model"},"level":{"type":"string","title":"Level"},"unit":{"type":"string","title":"Unit","default":"tokens_per_million"},"cost_input_per_M_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cost Input Per M Usd"},"cost_output_per_M_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cost Output Per M Usd"},"cost_per_unit_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cost Per Unit Usd"},"margin":{"type":"number","title":"Margin","default":0.35},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["provider_model","level"],"title":"RateCardCreate"},"RejectRequest":{"properties":{"rejected_by":{"type":"string","title":"Rejected By","default":"admin"},"reason":{"type":"string","title":"Reason","default":""}},"type":"object","title":"RejectRequest"},"SaleIn":{"properties":{"customer_name":{"type":"string","title":"Customer Name"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id","default":""},"product_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Name","default":""},"amount":{"type":"number","title":"Amount","default":0},"currency":{"type":"string","title":"Currency","default":"EUR"},"status":{"type":"string","title":"Status","default":"pedido"},"prospect_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prospect Id","default":""},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","default":""}},"type":"object","required":["customer_name"],"title":"SaleIn"},"SegmentCountRequest":{"properties":{"groups":{"items":{"type":"string"},"type":"array","title":"Groups","default":[]},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","default":[]},"stages":{"items":{"type":"string"},"type":"array","title":"Stages","default":[]},"channel":{"type":"string","title":"Channel","default":"email"}},"type":"object","title":"SegmentCountRequest"},"SendMessage":{"properties":{"phone_number_id":{"type":"string","title":"Phone Number Id"},"to":{"type":"string","title":"To"},"text":{"type":"string","title":"Text"},"template_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Template Name"}},"type":"object","required":["phone_number_id","to","text"],"title":"SendMessage"},"SendNowRequest":{"properties":{"client_id":{"type":"string","title":"Client Id","default":"neuralia369"}},"type":"object","title":"SendNowRequest"},"ServiceCreate":{"properties":{"name":{"type":"string","title":"Name"},"sector":{"type":"string","title":"Sector","default":"servicios"},"description":{"type":"string","title":"Description","default":""},"icon":{"type":"string","title":"Icon","default":"sparkles"},"color":{"type":"string","title":"Color","default":"#00E5A8"},"system_prompt_template":{"type":"string","title":"System Prompt Template","default":""},"welcome_message_template":{"type":"string","title":"Welcome Message Template","default":""},"intents_enabled":{"items":{"type":"string"},"type":"array","title":"Intents Enabled","default":[]},"wizard_steps":{"items":{"$ref":"#/components/schemas/WizardStep"},"type":"array","title":"Wizard Steps","default":[]},"price_pen_month":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Pen Month"},"estimated_setup_minutes":{"type":"integer","title":"Estimated Setup Minutes","default":20},"target_client_ids":{"items":{"type":"string"},"type":"array","title":"Target Client Ids","default":[]}},"type":"object","required":["name"],"title":"ServiceCreate"},"ServiceIntakeCreate":{"properties":{"session_id":{"type":"string","title":"Session Id"},"contact_name":{"type":"string","maxLength":120,"minLength":2,"title":"Contact Name"},"contact_email":{"type":"string","maxLength":255,"minLength":5,"title":"Contact Email"},"contact_phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Contact Phone"},"company_name":{"type":"string","maxLength":200,"minLength":2,"title":"Company Name"},"website_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Website Url"},"linkedin_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Linkedin Url"},"instagram_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Instagram Url"},"facebook_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Facebook Url"},"youtube_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Youtube Url"},"tiktok_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Tiktok Url"},"other_urls":{"anyOf":[{"type":"string","maxLength":3000},{"type":"null"}],"title":"Other Urls"},"business_description":{"type":"string","maxLength":3000,"minLength":20,"title":"Business Description"},"service_goal":{"type":"string","maxLength":2500,"minLength":10,"title":"Service Goal"},"current_tools":{"anyOf":[{"type":"string","maxLength":2500},{"type":"null"}],"title":"Current Tools"},"required_integrations":{"anyOf":[{"type":"string","maxLength":2500},{"type":"null"}],"title":"Required Integrations"},"api_access_notes":{"anyOf":[{"type":"string","maxLength":2500},{"type":"null"}],"title":"Api Access Notes"},"assets_links":{"anyOf":[{"type":"string","maxLength":2500},{"type":"null"}],"title":"Assets Links"},"deadline":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Deadline"},"additional_notes":{"anyOf":[{"type":"string","maxLength":3000},{"type":"null"}],"title":"Additional Notes"}},"type":"object","required":["session_id","contact_name","contact_email","company_name","business_description","service_goal"],"title":"ServiceIntakeCreate"},"ServiceUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"},"system_prompt_template":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Prompt Template"},"welcome_message_template":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Welcome Message Template"},"intents_enabled":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Intents Enabled"},"wizard_steps":{"anyOf":[{"items":{"$ref":"#/components/schemas/WizardStep"},"type":"array"},{"type":"null"}],"title":"Wizard Steps"},"price_pen_month":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Pen Month"},"estimated_setup_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Setup Minutes"},"target_client_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Target Client Ids"}},"type":"object","title":"ServiceUpdate"},"SettingsUpdate":{"properties":{"daily_digest_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Daily Digest Enabled"},"auto_publish_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Publish Enabled"},"digest_hour_utc":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Digest Hour Utc"}},"type":"object","title":"SettingsUpdate"},"SkillHubCreate":{"properties":{"key":{"type":"string","maxLength":80,"minLength":3,"title":"Key"},"name":{"type":"string","maxLength":160,"minLength":3,"title":"Name"},"category":{"type":"string","maxLength":40,"minLength":3,"title":"Category"},"status":{"type":"string","title":"Status","default":"planned"},"description":{"type":"string","maxLength":1200,"minLength":10,"title":"Description"},"business_value":{"type":"string","maxLength":1200,"minLength":10,"title":"Business Value"},"owner_agent":{"type":"string","maxLength":40,"minLength":3,"title":"Owner Agent","default":"ADMIN"},"priority":{"type":"string","title":"Priority","default":"media"},"monetization_mode":{"type":"string","title":"Monetization Mode","default":"core"},"linked_providers":{"items":{"type":"string"},"type":"array","title":"Linked Providers"},"use_cases":{"items":{"type":"string"},"type":"array","title":"Use Cases"},"readiness_score":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Readiness Score","default":0},"impact_score":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Impact Score","default":0},"margin_score":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Margin Score","default":0},"next_action":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Next Action"}},"type":"object","required":["key","name","category","description","business_value"],"title":"SkillHubCreate"},"SkillHubUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":160,"minLength":3},{"type":"null"}],"title":"Name"},"category":{"anyOf":[{"type":"string","maxLength":40,"minLength":3},{"type":"null"}],"title":"Category"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"description":{"anyOf":[{"type":"string","maxLength":1200,"minLength":10},{"type":"null"}],"title":"Description"},"business_value":{"anyOf":[{"type":"string","maxLength":1200,"minLength":10},{"type":"null"}],"title":"Business Value"},"owner_agent":{"anyOf":[{"type":"string","maxLength":40,"minLength":3},{"type":"null"}],"title":"Owner Agent"},"priority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Priority"},"monetization_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Monetization Mode"},"linked_providers":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Linked Providers"},"use_cases":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Use Cases"},"readiness_score":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Readiness Score"},"impact_score":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Impact Score"},"margin_score":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Margin Score"},"next_action":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Next Action"}},"type":"object","title":"SkillHubUpdate"},"SocialOrderCreate":{"properties":{"campaign_name":{"type":"string","maxLength":200,"minLength":3,"title":"Campaign Name"},"business_goal":{"type":"string","maxLength":2000,"minLength":10,"title":"Business Goal"},"audience":{"type":"string","maxLength":1000,"minLength":5,"title":"Audience"},"brand_voice":{"type":"string","maxLength":500,"title":"Brand Voice","default":"Profesional, cercano y persuasivo"},"offers":{"anyOf":[{"type":"string","maxLength":1500},{"type":"null"}],"title":"Offers"},"platforms":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Platforms"},"weeks":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Weeks","default":4},"posts_per_week":{"type":"integer","maximum":14.0,"minimum":1.0,"title":"Posts Per Week","default":3},"include_images":{"type":"boolean","title":"Include Images","default":true},"include_calendar":{"type":"boolean","title":"Include Calendar","default":true},"include_strategy":{"type":"boolean","title":"Include Strategy","default":true},"auto_execute":{"type":"boolean","title":"Auto Execute","default":true}},"type":"object","required":["campaign_name","business_goal","audience","platforms"],"title":"SocialOrderCreate"},"SocialOrderUpdate":{"properties":{"approval_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approval Status"},"internal_notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Internal Notes"}},"type":"object","title":"SocialOrderUpdate"},"SpeechRequest":{"properties":{"client_id":{"type":"string","title":"Client Id"},"agent_id":{"type":"string","title":"Agent Id"},"text":{"type":"string","title":"Text"},"voice_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice Id"},"task_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Type","default":"tts"}},"type":"object","required":["client_id","agent_id","text"],"title":"SpeechRequest"},"SpendLimitSet":{"properties":{"client_id":{"type":"string","title":"Client Id"},"agent_id":{"type":"string","title":"Agent Id"},"max_inti_per_task":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Inti Per Task"},"max_inti_per_day":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Inti Per Day"},"max_inti_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Inti Total"}},"type":"object","required":["client_id","agent_id"],"title":"SpendLimitSet"},"StockItemCreate":{"properties":{"name":{"type":"string","maxLength":220,"minLength":2,"title":"Name"},"sku":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Sku"},"current_units":{"type":"integer","minimum":0.0,"title":"Current Units","default":0},"minimum_units":{"type":"integer","minimum":0.0,"title":"Minimum Units","default":0},"reorder_units":{"type":"integer","minimum":0.0,"title":"Reorder Units","default":0},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","required":["name"],"title":"StockItemCreate"},"StripeSessionReconcileRequest":{"properties":{"session_id":{"type":"string","maxLength":255,"minLength":10,"title":"Session Id"}},"type":"object","required":["session_id"],"title":"StripeSessionReconcileRequest"},"SubscriptionCheckoutRequest":{"properties":{"plan_id":{"type":"string","title":"Plan Id"},"billing_cycle":{"type":"string","pattern":"^(monthly|annual)$","title":"Billing Cycle"},"origin_url":{"type":"string","title":"Origin Url"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["plan_id","billing_cycle","origin_url"],"title":"SubscriptionCheckoutRequest"},"SuggestRequest":{"properties":{"client_id":{"type":"string","title":"Client Id","default":"neuralia369"},"installation_id":{"type":"string","title":"Installation Id"},"max_feedback":{"type":"integer","title":"Max Feedback","default":10}},"type":"object","required":["installation_id"],"title":"SuggestRequest"},"TeamMemberIn":{"properties":{"name":{"type":"string","title":"Name"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","default":""},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","default":""},"level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level","default":"Nuevo socio"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","default":""},"monthly_points":{"type":"number","title":"Monthly Points","default":0},"status":{"type":"string","title":"Status","default":"activo"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","default":""},"prospect_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prospect Id","default":""}},"type":"object","required":["name"],"title":"TeamMemberIn"},"TesisAsyncJobRequest":{"properties":{"project_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Project Id"},"project_name":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Project Name"},"thesis_topic":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Thesis Topic"},"student_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Student Name"},"objective":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Objective"},"section_name":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Section Name"},"text":{"anyOf":[{"type":"string","maxLength":120000},{"type":"null"}],"title":"Text"}},"type":"object","title":"TesisAsyncJobRequest"},"TesisDocumentUpdateRequest":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Title"},"notes":{"anyOf":[{"type":"string","maxLength":1500},{"type":"null"}],"title":"Notes"},"status":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Status"},"project_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Project Id"}},"type":"object","title":"TesisDocumentUpdateRequest"},"TesisObservationCreateRequest":{"properties":{"project_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Project Id"},"title":{"type":"string","maxLength":220,"minLength":3,"title":"Title"},"description":{"type":"string","maxLength":2500,"minLength":5,"title":"Description"},"chapter":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Chapter"},"priority":{"type":"string","maxLength":40,"title":"Priority","default":"media"},"status":{"type":"string","maxLength":40,"title":"Status","default":"pendiente"},"source_document_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Source Document Id"}},"type":"object","required":["title","description"],"title":"TesisObservationCreateRequest"},"TesisObservationUpdateRequest":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2500},{"type":"null"}],"title":"Description"},"chapter":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Chapter"},"priority":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Priority"},"status":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Status"},"resolution_notes":{"anyOf":[{"type":"string","maxLength":1500},{"type":"null"}],"title":"Resolution Notes"}},"type":"object","title":"TesisObservationUpdateRequest"},"TesisWordLabRequest":{"properties":{"project_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Project Id"},"project_name":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Project Name"},"thesis_topic":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Thesis Topic"},"student_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Student Name"},"section_name":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Section Name"},"rewrite_goal":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Rewrite Goal"},"text":{"type":"string","maxLength":120000,"minLength":20,"title":"Text"}},"type":"object","required":["text"],"title":"TesisWordLabRequest"},"TesisWorkflowApprovalRequest":{"properties":{"phase_id":{"type":"string","maxLength":80,"minLength":2,"title":"Phase Id"},"approved":{"type":"boolean","title":"Approved","default":true},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","required":["phase_id"],"title":"TesisWorkflowApprovalRequest"},"TesisWorkspaceRequest":{"properties":{"project_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Project Id"},"project_name":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Project Name"},"student_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Student Name"},"thesis_topic":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Thesis Topic"},"academic_level":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Academic Level","default":"universitario"},"institution_country":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Institution Country","default":"Perú"},"objective":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Objective"},"section_name":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Section Name"},"rewrite_goal":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Rewrite Goal"},"notes":{"anyOf":[{"type":"string","maxLength":1500},{"type":"null"}],"title":"Notes"},"text":{"anyOf":[{"type":"string","maxLength":120000},{"type":"null"}],"title":"Text"}},"type":"object","title":"TesisWorkspaceRequest"},"TesixCheckoutRequest":{"properties":{"plan_id":{"type":"string","title":"Plan Id"},"email":{"type":"string","maxLength":120,"minLength":5,"title":"Email"},"full_name":{"type":"string","maxLength":120,"minLength":2,"title":"Full Name"},"company":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Company"},"billing_cycle":{"type":"string","pattern":"^(monthly|annual)$","title":"Billing Cycle","default":"monthly"}},"type":"object","required":["plan_id","email","full_name"],"title":"TesixCheckoutRequest"},"TestRequest":{"properties":{"message":{"type":"string","title":"Message"},"sample_vars":{"additionalProperties":true,"type":"object","title":"Sample Vars","default":{}}},"type":"object","required":["message"],"title":"TestRequest"},"TikTokExchangeRequest":{"properties":{"code":{"type":"string","title":"Code"},"state":{"type":"string","title":"State"}},"type":"object","required":["code","state"],"title":"TikTokExchangeRequest"},"TikTokPublishRequest":{"properties":{"owner":{"type":"string","title":"Owner","default":"neuralia"},"video_url":{"type":"string","title":"Video Url"},"title":{"type":"string","title":"Title","default":""},"privacy_level":{"type":"string","title":"Privacy Level","default":"SELF_ONLY"},"campaign_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign Id"}},"type":"object","required":["video_url"],"title":"TikTokPublishRequest"},"TrackReplyRequest":{"properties":{"client_id":{"type":"string","title":"Client Id","default":"neuralia369"},"wa_from":{"type":"string","title":"Wa From"},"agent_reply":{"type":"string","title":"Agent Reply"},"user_text":{"type":"string","title":"User Text","default":""},"installation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Installation Id"},"channel":{"type":"string","title":"Channel","default":"whatsapp"}},"type":"object","required":["wa_from","agent_reply"],"title":"TrackReplyRequest"},"TranscribeRequest":{"properties":{"client_id":{"type":"string","title":"Client Id"},"agent_id":{"type":"string","title":"Agent Id"},"audio_url":{"type":"string","title":"Audio Url"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language","default":"es"},"task_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Type","default":"transcribe"}},"type":"object","required":["client_id","agent_id","audio_url"],"title":"TranscribeRequest"},"UpdateAgentRequest":{"properties":{"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"UpdateAgentRequest"},"UpdateTaskRequest":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"priority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Priority"},"deadline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deadline"},"admin_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Admin Notes"},"validation_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Validation Status"},"validation_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Validation Notes"}},"type":"object","title":"UpdateTaskRequest"},"UpdateUserRequest":{"properties":{"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"},"assigned_agents":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Assigned Agents"},"empresa":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Empresa"},"partner_countries":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Partner Countries"},"country_exclusivity_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Country Exclusivity Enabled"}},"type":"object","title":"UpdateUserRequest"},"UserLogin":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"otp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Otp"}},"type":"object","required":["email","password"],"title":"UserLogin"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VoiceProcessRequest":{"properties":{"wa_from":{"type":"string","title":"Wa From"},"audio_id":{"type":"string","title":"Audio Id","default":""},"client_id":{"type":"string","title":"Client Id","default":"neuralia369"},"simulate_transcript":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Simulate Transcript"}},"type":"object","required":["wa_from"],"title":"VoiceProcessRequest"},"WeeklySendRequest":{"properties":{"client_id":{"type":"string","title":"Client Id","default":"neuralia369"},"to_wa":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To Wa"}},"type":"object","title":"WeeklySendRequest"},"WelcomeEmailRequest":{"properties":{"patient_key":{"type":"string","title":"Patient Key"},"email":{"type":"string","maxLength":120,"minLength":5,"title":"Email"},"patient_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patient Name"},"patient_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patient Phone"},"patient_dni":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patient Dni"}},"type":"object","required":["patient_key","email"],"title":"WelcomeEmailRequest"},"WizardField":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"type":{"type":"string","title":"Type","default":"text"},"required":{"type":"boolean","title":"Required","default":true},"options":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Options"}},"type":"object","required":["key","label"],"title":"WizardField"},"WizardStep":{"properties":{"step":{"type":"integer","title":"Step"},"title":{"type":"string","title":"Title"},"fields":{"items":{"$ref":"#/components/schemas/WizardField"},"type":"array","title":"Fields"}},"type":"object","required":["step","title","fields"],"title":"WizardStep"},"WizardStepRequest":{"properties":{"step":{"type":"integer","title":"Step"},"data":{"additionalProperties":true,"type":"object","title":"Data"}},"type":"object","required":["step","data"],"title":"WizardStepRequest"},"WorkspaceAgentTaskRequest":{"properties":{"title":{"type":"string","maxLength":120,"minLength":3,"title":"Title"},"description":{"type":"string","maxLength":2000,"minLength":10,"title":"Description"},"assigned_agents":{"items":{"type":"string"},"type":"array","title":"Assigned Agents"},"priority":{"type":"string","title":"Priority","default":"media"},"auto_execute":{"type":"boolean","title":"Auto Execute","default":true}},"type":"object","required":["title","description"],"title":"WorkspaceAgentTaskRequest"},"WorkspaceCampaignRequest":{"properties":{"campaign_name":{"type":"string","maxLength":120,"minLength":3,"title":"Campaign Name"},"business_goal":{"type":"string","maxLength":500,"minLength":8,"title":"Business Goal"},"audience":{"type":"string","maxLength":300,"minLength":3,"title":"Audience"},"brand_voice":{"type":"string","maxLength":120,"minLength":3,"title":"Brand Voice"},"offers":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Offers"},"platforms":{"items":{"type":"string"},"type":"array","title":"Platforms"},"weeks":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Weeks","default":4},"posts_per_week":{"type":"integer","maximum":14.0,"minimum":1.0,"title":"Posts Per Week","default":3}},"type":"object","required":["campaign_name","business_goal","audience","brand_voice"],"title":"WorkspaceCampaignRequest"},"WorkspacePublishRequest":{"properties":{"campaign_name":{"type":"string","maxLength":120,"minLength":3,"title":"Campaign Name"},"channels":{"items":{"type":"string"},"type":"array","maxItems":8,"minItems":1,"title":"Channels"},"primary_message":{"type":"string","maxLength":1000,"minLength":8,"title":"Primary Message"},"scheduled_for":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Scheduled For"}},"type":"object","required":["campaign_name","channels","primary_message"],"title":"WorkspacePublishRequest"},"WorkspaceVideoRequest":{"properties":{"title":{"type":"string","maxLength":120,"minLength":3,"title":"Title"},"objective":{"type":"string","maxLength":500,"minLength":8,"title":"Objective"},"audience":{"type":"string","maxLength":300,"minLength":3,"title":"Audience"},"primary_platform":{"type":"string","maxLength":40,"minLength":2,"title":"Primary Platform"},"duration_seconds":{"type":"integer","maximum":180.0,"minimum":15.0,"title":"Duration Seconds","default":45}},"type":"object","required":["title","objective","audience","primary_platform"],"title":"WorkspaceVideoRequest"},"billing_plans__CheckoutRequest":{"properties":{"client_id":{"type":"string","title":"Client Id"},"plan_or_pack":{"type":"string","title":"Plan Or Pack"},"plan_type":{"type":"string","title":"Plan Type","default":"plan"},"success_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Success Url"},"cancel_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Url"}},"type":"object","required":["client_id","plan_or_pack"],"title":"CheckoutRequest"},"server__CheckoutRequest":{"properties":{"package_id":{"type":"string","title":"Package Id"},"origin_url":{"type":"string","title":"Origin Url"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"pricing_segment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pricing Segment"},"source_contract_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Contract Id"}},"type":"object","required":["package_id","origin_url"],"title":"CheckoutRequest"}}}}