{"openapi":"3.1.0","info":{"title":"SinalVerde API","version":"0.1.0"},"paths":{"/health":{"get":{"summary":"Health Ping","description":"Lightweight liveness probe for uptime monitors (UptimeRobot, etc.).","operationId":"health_ping_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Ping Health Get"}}}}}}},"/api/health":{"get":{"summary":"Health","operationId":"health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Api Health Get"}}}}}}},"/api/v1/payment/config":{"get":{"summary":"Payment Config","operationId":"payment_config_api_v1_payment_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Payment Config Api V1 Payment Config Get"}}}}}}},"/api/v1/payment/pix/start":{"post":{"summary":"Payment Pix Start","operationId":"payment_pix_start_api_v1_payment_pix_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixStartRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixStartResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payment/pix/awaiting":{"post":{"summary":"Payment Pix Awaiting","operationId":"payment_pix_awaiting_api_v1_payment_pix_awaiting_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixAwaitingRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payment/pix/status":{"get":{"summary":"Payment Pix Status","operationId":"payment_pix_status_api_v1_payment_pix_status_get","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payment/pix/confirm":{"post":{"summary":"Payment Pix Confirm","operationId":"payment_pix_confirm_api_v1_payment_pix_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixConfirmRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payment/pix/approve":{"get":{"summary":"Payment Pix Approve","description":"Atalho para confirmar no telemóvel quando o PIX cai na conta.","operationId":"payment_pix_approve_api_v1_payment_pix_approve_get","parameters":[{"name":"secret","in":"query","required":true,"schema":{"type":"string","title":"Secret"}},{"name":"plan","in":"query","required":true,"schema":{"enum":["pack5","pack10","pack25"],"type":"string","title":"Plan"}},{"name":"ip","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payment/pix/admin/pending":{"get":{"summary":"Payment Pix Admin Pending","operationId":"payment_pix_admin_pending_api_v1_payment_pix_admin_pending_get","parameters":[{"name":"secret","in":"query","required":true,"schema":{"type":"string","title":"Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixAdminPendingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payment/pix/admin/cancel":{"post":{"summary":"Payment Pix Admin Cancel","operationId":"payment_pix_admin_cancel_api_v1_payment_pix_admin_cancel_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixAdminTokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixAdminActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payment/pix/admin/delete":{"post":{"summary":"Payment Pix Admin Delete","operationId":"payment_pix_admin_delete_api_v1_payment_pix_admin_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixAdminTokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixAdminActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payment/pix/admin/update":{"post":{"summary":"Payment Pix Admin Update","operationId":"payment_pix_admin_update_api_v1_payment_pix_admin_update_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixAdminUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixAdminActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payment/pix/admin/history":{"get":{"summary":"Payment Pix Admin History","operationId":"payment_pix_admin_history_api_v1_payment_pix_admin_history_get","parameters":[{"name":"secret","in":"query","required":true,"schema":{"type":"string","title":"Secret"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":40,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PixAdminHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payment/checkout":{"post":{"summary":"Payment Checkout","operationId":"payment_checkout_api_v1_payment_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/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/v1/payment/verify":{"post":{"summary":"Payment Verify","operationId":"payment_verify_api_v1_payment_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payment/sync-subscription":{"post":{"summary":"Payment Sync Subscription","operationId":"payment_sync_subscription_api_v1_payment_sync_subscription_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncSubscriptionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/coupon/redeem":{"post":{"summary":"Coupon Redeem","operationId":"coupon_redeem_api_v1_coupon_redeem_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponRedeemRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponRedeemResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/quota":{"get":{"summary":"Quota Get","operationId":"quota_get_api_v1_quota_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaState"}}}}}}},"/api/v1/account/config":{"get":{"summary":"Account Config Get","operationId":"account_config_get_api_v1_account_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountConfigResponse"}}}}}}},"/api/v1/account/register":{"post":{"summary":"Account Register","operationId":"account_register_api_v1_account_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/login":{"post":{"summary":"Account Login","operationId":"account_login_api_v1_account_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/google":{"post":{"summary":"Account Google","operationId":"account_google_api_v1_account_google_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/logout":{"post":{"summary":"Account Logout","operationId":"account_logout_api_v1_account_logout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Account Logout Api V1 Account Logout Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/me":{"get":{"summary":"Account Me","operationId":"account_me_api_v1_account_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPublic"}}}}}}},"/api/v1/account/cvs":{"get":{"summary":"Account Cvs List","operationId":"account_cvs_list_api_v1_account_cvs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CvListResponse"}}}}}}},"/api/v1/account/cvs/{cv_id}":{"get":{"summary":"Account Cvs Get","operationId":"account_cvs_get_api_v1_account_cvs__cv_id__get","parameters":[{"name":"cv_id","in":"path","required":true,"schema":{"type":"string","title":"Cv Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CvDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Account Cvs Patch","operationId":"account_cvs_patch_api_v1_account_cvs__cv_id__patch","parameters":[{"name":"cv_id","in":"path","required":true,"schema":{"type":"string","title":"Cv Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CvUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CvDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Account Cvs Delete","operationId":"account_cvs_delete_api_v1_account_cvs__cv_id__delete","parameters":[{"name":"cv_id","in":"path","required":true,"schema":{"type":"string","title":"Cv Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Account Cvs Delete Api V1 Account Cvs  Cv Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/client-ip":{"get":{"summary":"Client Ip Debug","description":"IP visto pelo servidor — útil para configurar ADMIN_COUPON_IPS.","operationId":"client_ip_debug_api_v1_client_ip_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Client Ip Debug Api V1 Client Ip Get"}}}}}}},"/api/v1/quota/apply-plan":{"post":{"summary":"Quota Apply Plan","operationId":"quota_apply_plan_api_v1_quota_apply_plan_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyPlanRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaState"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/quota/reset":{"post":{"summary":"Quota Reset","operationId":"quota_reset_api_v1_quota_reset_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaState"}}}}}}},"/api/v1/fetch-job":{"post":{"summary":"Fetch Job Endpoint","operationId":"fetch_job_endpoint_api_v1_fetch_job_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FetchJobRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FetchJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parse-cv":{"post":{"summary":"Parse Cv Endpoint","operationId":"parse_cv_endpoint_api_v1_parse_cv_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_parse_cv_endpoint_api_v1_parse_cv_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParseCvResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/analyze":{"post":{"summary":"Analyze Endpoint","operationId":"analyze_endpoint_api_v1_analyze_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyzeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyzeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/diagnose":{"post":{"summary":"Diagnose Endpoint","operationId":"diagnose_endpoint_api_v1_diagnose_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnoseRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnoseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/feedback":{"post":{"summary":"Feedback Endpoint","operationId":"feedback_endpoint_api_v1_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Feedback Endpoint Api V1 Feedback Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lead":{"post":{"summary":"Lead Endpoint","operationId":"lead_endpoint_api_v1_lead_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Lead Endpoint Api V1 Lead Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/leads":{"get":{"summary":"Leads Export","operationId":"leads_export_api_v1_leads_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response Leads Export Api V1 Leads Get"}}}}}}},"/api/v1/generate":{"post":{"summary":"Generate Endpoint","operationId":"generate_endpoint_api_v1_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/stats":{"get":{"summary":"Admin Stats","operationId":"admin_stats_api_v1_admin_stats_get","parameters":[{"name":"secret","in":"query","required":true,"schema":{"type":"string","title":"Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/leads":{"get":{"summary":"Admin Leads","operationId":"admin_leads_api_v1_admin_leads_get","parameters":[{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLeadsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/analytics/generation":{"post":{"summary":"Analytics Generation","description":"Regista score + vaga + CV anonimizado (JSON local + Sheets opcional).","operationId":"analytics_generation_api_v1_analytics_generation_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationLogRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Analytics Generation Api V1 Analytics Generation Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cv-themes":{"get":{"summary":"Cv Themes Endpoint","operationId":"cv_themes_endpoint_api_v1_cv_themes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Cv Themes Endpoint Api V1 Cv Themes Get"}}}}}}},"/api/v1/render":{"post":{"summary":"Render Endpoint","operationId":"render_endpoint_api_v1_render_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AccountConfigResponse":{"properties":{"google_enabled":{"type":"boolean","title":"Google Enabled"},"google_client_id":{"type":"string","title":"Google Client Id","default":""}},"type":"object","required":["google_enabled"],"title":"AccountConfigResponse"},"AdminLeadsResponse":{"properties":{"total":{"type":"integer","title":"Total"},"unique_emails":{"type":"integer","title":"Unique Emails"},"recent":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Recent"}},"type":"object","required":["total","unique_emails"],"title":"AdminLeadsResponse"},"AdminPixPaidItem":{"properties":{"token":{"type":"string","title":"Token"},"plan":{"type":"string","title":"Plan"},"amount_display":{"type":"string","title":"Amount Display"},"paid_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paid At"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"user_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Email"},"user_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Name"}},"type":"object","required":["token","plan","amount_display"],"title":"AdminPixPaidItem"},"AdminPixSummary":{"properties":{"awaiting":{"type":"integer","title":"Awaiting","default":0},"pending":{"type":"integer","title":"Pending","default":0},"paid":{"type":"integer","title":"Paid","default":0},"cancelled":{"type":"integer","title":"Cancelled","default":0},"expired":{"type":"integer","title":"Expired","default":0},"revenue_brl_cents":{"type":"integer","title":"Revenue Brl Cents","default":0},"recent_paid":{"items":{"$ref":"#/components/schemas/AdminPixPaidItem"},"type":"array","title":"Recent Paid"}},"type":"object","title":"AdminPixSummary"},"AdminRecentItem":{"properties":{"ts":{"type":"string","title":"Ts"},"actor_label":{"type":"string","title":"Actor Label"},"generation_tier":{"type":"string","title":"Generation Tier","default":"premium"},"score_antes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score Antes"},"score_depois":{"type":"integer","title":"Score Depois"},"delta":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Delta"},"vaga_chars":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Vaga Chars"},"cv_chars":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cv Chars"},"total_tokens":{"type":"integer","title":"Total Tokens","default":0},"cost_usd":{"type":"number","title":"Cost Usd","default":0.0},"lang":{"type":"string","title":"Lang","default":""}},"type":"object","required":["ts","actor_label","score_depois"],"title":"AdminRecentItem"},"AdminStatsResponse":{"properties":{"total_generations":{"type":"integer","title":"Total Generations"},"total_input_tokens":{"type":"integer","title":"Total Input Tokens"},"total_output_tokens":{"type":"integer","title":"Total Output Tokens"},"total_tokens":{"type":"integer","title":"Total Tokens"},"total_cost_usd":{"type":"number","title":"Total Cost Usd"},"premium_generations":{"type":"integer","title":"Premium Generations"},"demo_generations":{"type":"integer","title":"Demo Generations"},"unique_actors":{"type":"integer","title":"Unique Actors"},"users":{"items":{"$ref":"#/components/schemas/AdminUserStatsItem"},"type":"array","title":"Users"},"recent":{"items":{"$ref":"#/components/schemas/AdminRecentItem"},"type":"array","title":"Recent"},"pix":{"$ref":"#/components/schemas/AdminPixSummary"},"storage_backend":{"type":"string","title":"Storage Backend","default":"ephemeral"}},"type":"object","required":["total_generations","total_input_tokens","total_output_tokens","total_tokens","total_cost_usd","premium_generations","demo_generations","unique_actors","users","recent"],"title":"AdminStatsResponse"},"AdminUserStatsItem":{"properties":{"actor":{"type":"string","title":"Actor"},"actor_label":{"type":"string","title":"Actor Label"},"generations":{"type":"integer","title":"Generations"},"input_tokens":{"type":"integer","title":"Input Tokens"},"output_tokens":{"type":"integer","title":"Output Tokens"},"total_tokens":{"type":"integer","title":"Total Tokens"},"cost_usd":{"type":"number","title":"Cost Usd"},"last_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last At"}},"type":"object","required":["actor","actor_label","generations","input_tokens","output_tokens","total_tokens","cost_usd"],"title":"AdminUserStatsItem"},"AnalysisReport":{"properties":{"ats_score":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Ats Score"},"score_before":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Score Before"},"score_keywords":{"anyOf":[{"type":"integer","maximum":40.0,"minimum":0.0},{"type":"null"}],"title":"Score Keywords"},"score_structure":{"anyOf":[{"type":"integer","maximum":30.0,"minimum":0.0},{"type":"null"}],"title":"Score Structure"},"score_alignment":{"anyOf":[{"type":"integer","maximum":30.0,"minimum":0.0},{"type":"null"}],"title":"Score Alignment"},"score_before_keywords":{"anyOf":[{"type":"integer","maximum":40.0,"minimum":0.0},{"type":"null"}],"title":"Score Before Keywords"},"score_before_structure":{"anyOf":[{"type":"integer","maximum":30.0,"minimum":0.0},{"type":"null"}],"title":"Score Before Structure"},"score_before_alignment":{"anyOf":[{"type":"integer","maximum":30.0,"minimum":0.0},{"type":"null"}],"title":"Score Before Alignment"},"keywords_found":{"items":{"type":"string"},"type":"array","title":"Keywords Found"},"keywords_missing":{"items":{"type":"string"},"type":"array","title":"Keywords Missing"},"preview_summary":{"type":"string","title":"Preview Summary"},"strengths":{"items":{"type":"string"},"type":"array","title":"Strengths"},"gaps":{"items":{"type":"string"},"type":"array","title":"Gaps"},"coaching":{"anyOf":[{"$ref":"#/components/schemas/CoachingGuide"},{"type":"null"}]},"fit_level":{"anyOf":[{"type":"string","enum":["strong","partial","weak"]},{"type":"null"}],"title":"Fit Level"},"fit_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fit Message"}},"type":"object","required":["ats_score","keywords_found","keywords_missing","preview_summary"],"title":"AnalysisReport"},"AnalyzeRequest":{"properties":{"job":{"type":"string","minLength":20,"title":"Job","description":"Job posting text"},"cv":{"type":"string","minLength":50,"title":"Cv","description":"Resume text"},"lang":{"type":"string","pattern":"^[a-z]{2}(-[A-Z]{2})?$","title":"Lang","default":"pt-BR"}},"type":"object","required":["job","cv"],"title":"AnalyzeRequest"},"AnalyzeResponse":{"properties":{"analysis":{"$ref":"#/components/schemas/AnalysisReport"},"mode":{"type":"string","title":"Mode"}},"type":"object","required":["analysis","mode"],"title":"AnalyzeResponse"},"ApplyPlanRequest":{"properties":{"plan":{"type":"string","enum":["pack5","pack10","pack25"],"title":"Plan"}},"type":"object","required":["plan"],"title":"ApplyPlanRequest"},"AuthResponse":{"properties":{"token":{"type":"string","title":"Token"},"user_id":{"type":"string","title":"User Id"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"}},"type":"object","required":["token","user_id","email","name"],"title":"AuthResponse"},"Body_parse_cv_endpoint_api_v1_parse_cv_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_parse_cv_endpoint_api_v1_parse_cv_post"},"CheckoutRequest":{"properties":{"plan":{"type":"string","enum":["pack5","pack10","pack25"],"title":"Plan"},"currency":{"type":"string","enum":["brl","eur","usd"],"title":"Currency","default":"brl"},"locale":{"type":"string","maxLength":16,"title":"Locale","default":"pt-BR"}},"type":"object","required":["plan"],"title":"CheckoutRequest"},"CheckoutResponse":{"properties":{"url":{"type":"string","title":"Url"},"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["url","session_id"],"title":"CheckoutResponse"},"CoachingGuide":{"properties":{"critical_gaps":{"items":{"type":"string"},"type":"array","title":"Critical Gaps"},"optimize":{"items":{"type":"string"},"type":"array","title":"Optimize"},"language":{"items":{"type":"string"},"type":"array","title":"Language"},"matching_signals":{"items":{"type":"string"},"type":"array","title":"Matching Signals"},"parsing_notes":{"items":{"type":"string"},"type":"array","title":"Parsing Notes"},"format_tips":{"items":{"type":"string"},"type":"array","title":"Format Tips"}},"type":"object","title":"CoachingGuide","description":"Personalized improvement plan — AI-generated for premium, heuristic for demo."},"CouponRedeemRequest":{"properties":{"code":{"type":"string","maxLength":40,"minLength":1,"title":"Code"}},"type":"object","required":["code"],"title":"CouponRedeemRequest"},"CouponRedeemResponse":{"properties":{"code":{"type":"string","title":"Code"},"credits_added":{"type":"integer","title":"Credits Added"}},"type":"object","required":["code","credits_added"],"title":"CouponRedeemResponse"},"CvDetail":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"lang":{"type":"string","title":"Lang"},"theme":{"type":"string","title":"Theme"},"ats_score":{"type":"integer","title":"Ats Score"},"score_before":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score Before"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"job_text":{"type":"string","title":"Job Text"},"cv_text":{"type":"string","title":"Cv Text"},"resume":{"additionalProperties":true,"type":"object","title":"Resume"},"html":{"type":"string","title":"Html"},"preview_summary":{"type":"string","title":"Preview Summary","default":""}},"type":"object","required":["id","title","lang","theme","ats_score","created_at","updated_at","job_text","cv_text","resume","html"],"title":"CvDetail"},"CvListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CvSummary"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"CvListResponse"},"CvSummary":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"lang":{"type":"string","title":"Lang"},"theme":{"type":"string","title":"Theme"},"ats_score":{"type":"integer","title":"Ats Score"},"score_before":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score Before"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","title","lang","theme","ats_score","created_at","updated_at"],"title":"CvSummary"},"CvUpdateRequest":{"properties":{"job_text":{"anyOf":[{"type":"string","minLength":20},{"type":"null"}],"title":"Job Text"},"cv_text":{"anyOf":[{"type":"string","minLength":50},{"type":"null"}],"title":"Cv Text"},"theme":{"anyOf":[{"type":"string","pattern":"^(sinalverde|navy|terracotta|slate|wine|purple)$"},{"type":"null"}],"title":"Theme"}},"type":"object","title":"CvUpdateRequest"},"DiagnoseDimensions":{"properties":{"keywords":{"type":"integer","maximum":40.0,"minimum":0.0,"title":"Keywords"},"structure":{"type":"integer","maximum":30.0,"minimum":0.0,"title":"Structure"},"alignment":{"type":"integer","maximum":30.0,"minimum":0.0,"title":"Alignment"}},"type":"object","required":["keywords","structure","alignment"],"title":"DiagnoseDimensions"},"DiagnoseRequest":{"properties":{"job":{"type":"string","minLength":100,"title":"Job","description":"Job posting text"},"cv":{"type":"string","minLength":100,"title":"Cv","description":"Resume text"},"lang":{"type":"string","pattern":"^[a-z]{2}(-[A-Z]{2})?$","title":"Lang","default":"pt-BR"}},"type":"object","required":["job","cv"],"title":"DiagnoseRequest"},"DiagnoseResponse":{"properties":{"score_before":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Score Before"},"keywords_found":{"items":{"type":"string"},"type":"array","title":"Keywords Found"},"keywords_missing":{"items":{"type":"string"},"type":"array","title":"Keywords Missing"},"dimensions":{"$ref":"#/components/schemas/DiagnoseDimensions"},"strengths":{"items":{"type":"string"},"type":"array","title":"Strengths"},"gaps":{"items":{"type":"string"},"type":"array","title":"Gaps"},"coaching":{"anyOf":[{"$ref":"#/components/schemas/CoachingGuide"},{"type":"null"}]},"fit_level":{"anyOf":[{"type":"string","enum":["strong","partial","weak"]},{"type":"null"}],"title":"Fit Level"},"fit_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fit Message"},"summary":{"type":"string","title":"Summary","default":""}},"type":"object","required":["score_before","keywords_found","keywords_missing","dimensions"],"title":"DiagnoseResponse"},"FeedbackRequest":{"properties":{"result":{"type":"string","enum":["yes","no","unknown"],"title":"Result"},"score_after":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Score After"},"lang":{"type":"string","maxLength":16,"title":"Lang","default":"pt-BR"}},"type":"object","required":["result","score_after"],"title":"FeedbackRequest"},"FetchJobRequest":{"properties":{"url":{"type":"string","minLength":8,"title":"Url"}},"type":"object","required":["url"],"title":"FetchJobRequest"},"FetchJobResponse":{"properties":{"url":{"type":"string","title":"Url"},"text":{"type":"string","title":"Text"},"chars":{"type":"integer","title":"Chars"}},"type":"object","required":["url","text","chars"],"title":"FetchJobResponse"},"GenerateRequest":{"properties":{"job":{"type":"string","minLength":20,"title":"Job","description":"Job posting text"},"cv":{"type":"string","minLength":50,"title":"Cv","description":"Resume text"},"lang":{"type":"string","pattern":"^[a-z]{2}(-[A-Z]{2})?$","title":"Lang","default":"pt-BR"},"theme":{"type":"string","pattern":"^(sinalverde|navy|terracotta|slate|wine|purple)$","title":"Theme","default":"sinalverde"},"score_before":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Score Before"},"score_before_keywords":{"anyOf":[{"type":"integer","maximum":40.0,"minimum":0.0},{"type":"null"}],"title":"Score Before Keywords"},"score_before_structure":{"anyOf":[{"type":"integer","maximum":30.0,"minimum":0.0},{"type":"null"}],"title":"Score Before Structure"},"score_before_alignment":{"anyOf":[{"type":"integer","maximum":30.0,"minimum":0.0},{"type":"null"}],"title":"Score Before Alignment"},"diagnose_keywords_found":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Diagnose Keywords Found"},"diagnose_keywords_missing":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Diagnose Keywords Missing"}},"type":"object","required":["job","cv"],"title":"GenerateRequest"},"GenerateResponse":{"properties":{"analysis":{"$ref":"#/components/schemas/AnalysisReport"},"resume":{"additionalProperties":true,"type":"object","title":"Resume"},"html":{"type":"string","title":"Html"},"mode":{"type":"string","title":"Mode"},"generation_tier":{"type":"string","enum":["demo","premium"],"title":"Generation Tier","default":"premium"}},"type":"object","required":["analysis","resume","html","mode"],"title":"GenerateResponse"},"GenerationLogRequest":{"properties":{"score_antes":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Score Antes"},"score_depois":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Score Depois"},"vaga":{"type":"string","maxLength":12000,"minLength":1,"title":"Vaga"},"cv":{"type":"string","maxLength":50000,"minLength":1,"title":"Cv"},"lang":{"type":"string","maxLength":16,"title":"Lang","default":"pt-BR"}},"type":"object","required":["score_depois","vaga","cv"],"title":"GenerationLogRequest"},"GoogleLoginRequest":{"properties":{"credential":{"type":"string","minLength":20,"title":"Credential"}},"type":"object","required":["credential"],"title":"GoogleLoginRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LeadRequest":{"properties":{"email":{"type":"string","maxLength":254,"minLength":5,"title":"Email"},"lang":{"type":"string","maxLength":16,"title":"Lang","default":"pt-BR"},"score_after":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Score After"},"plan":{"type":"string","maxLength":32,"title":"Plan","default":"free"}},"type":"object","required":["email","score_after"],"title":"LeadRequest"},"LoginRequest":{"properties":{"email":{"type":"string","maxLength":120,"minLength":5,"title":"Email"},"password":{"type":"string","maxLength":128,"minLength":1,"title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"LogoutRequest":{"properties":{"token":{"type":"string","minLength":8,"title":"Token"}},"type":"object","required":["token"],"title":"LogoutRequest"},"ParseCvResponse":{"properties":{"filename":{"type":"string","title":"Filename"},"chars":{"type":"integer","title":"Chars"},"text":{"type":"string","title":"Text"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"}},"type":"object","required":["filename","chars","text"],"title":"ParseCvResponse"},"PixAdminActionResponse":{"properties":{"ok":{"type":"boolean","title":"Ok","default":true},"token":{"type":"string","title":"Token"},"status":{"type":"string","enum":["pending","awaiting","paid","expired","cancelled"],"title":"Status"},"plan":{"type":"string","enum":["pack5","pack10","pack25"],"title":"Plan"}},"type":"object","required":["token","status","plan"],"title":"PixAdminActionResponse"},"PixAdminHistoryItem":{"properties":{"token":{"type":"string","title":"Token"},"plan":{"type":"string","enum":["pack5","pack10","pack25"],"title":"Plan"},"status":{"type":"string","enum":["pending","awaiting","paid","expired","cancelled"],"title":"Status"},"amount_display":{"type":"string","title":"Amount Display"},"created_at":{"type":"string","title":"Created At"},"paid_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paid At"},"awaiting_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Awaiting At"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"user_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Email"},"user_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Name"}},"type":"object","required":["token","plan","status","amount_display","created_at"],"title":"PixAdminHistoryItem"},"PixAdminHistoryResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PixAdminHistoryItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"PixAdminHistoryResponse"},"PixAdminPendingItem":{"properties":{"token":{"type":"string","title":"Token"},"plan":{"type":"string","enum":["pack5","pack10","pack25"],"title":"Plan"},"ip":{"type":"string","title":"Ip"},"status":{"type":"string","enum":["pending","awaiting","paid","expired","cancelled"],"title":"Status"},"amount_cents":{"type":"integer","title":"Amount Cents"},"amount_display":{"type":"string","title":"Amount Display"},"created_at":{"type":"string","title":"Created At"},"awaiting_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Awaiting At"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"user_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Email"},"user_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Name"}},"type":"object","required":["token","plan","ip","status","amount_cents","amount_display","created_at"],"title":"PixAdminPendingItem"},"PixAdminPendingResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PixAdminPendingItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"PixAdminPendingResponse"},"PixAdminTokenRequest":{"properties":{"secret":{"type":"string","minLength":8,"title":"Secret"},"token":{"type":"string","minLength":8,"title":"Token"}},"type":"object","required":["secret","token"],"title":"PixAdminTokenRequest"},"PixAdminUpdateRequest":{"properties":{"secret":{"type":"string","minLength":8,"title":"Secret"},"token":{"type":"string","minLength":8,"title":"Token"},"status":{"anyOf":[{"type":"string","enum":["pending","awaiting"]},{"type":"null"}],"title":"Status"},"plan":{"anyOf":[{"type":"string","enum":["pack5","pack10","pack25"]},{"type":"null"}],"title":"Plan"}},"type":"object","required":["secret","token"],"title":"PixAdminUpdateRequest"},"PixAwaitingRequest":{"properties":{"token":{"type":"string","minLength":8,"title":"Token"}},"type":"object","required":["token"],"title":"PixAwaitingRequest"},"PixConfirmRequest":{"properties":{"secret":{"type":"string","minLength":8,"title":"Secret"},"token":{"anyOf":[{"type":"string","minLength":8},{"type":"null"}],"title":"Token"},"plan":{"anyOf":[{"type":"string","enum":["pack5","pack10","pack25"]},{"type":"null"}],"title":"Plan"},"ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ip"}},"type":"object","required":["secret"],"title":"PixConfirmRequest"},"PixStartRequest":{"properties":{"plan":{"type":"string","enum":["pack5","pack10","pack25"],"title":"Plan"}},"type":"object","required":["plan"],"title":"PixStartRequest"},"PixStartResponse":{"properties":{"token":{"type":"string","title":"Token"},"plan":{"type":"string","enum":["pack5","pack10","pack25"],"title":"Plan"},"amount_cents":{"type":"integer","title":"Amount Cents"},"amount_display":{"type":"string","title":"Amount Display"},"qr_image_url":{"type":"string","title":"Qr Image Url"},"copy_paste":{"type":"string","title":"Copy Paste","default":""},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},"type":"object","required":["token","plan","amount_cents","amount_display","qr_image_url"],"title":"PixStartResponse"},"PixStatusResponse":{"properties":{"status":{"type":"string","enum":["pending","awaiting","paid","expired","cancelled"],"title":"Status"},"plan":{"anyOf":[{"type":"string","enum":["pack5","pack10","pack25"]},{"type":"null"}],"title":"Plan"},"quota":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Quota"}},"type":"object","required":["status"],"title":"PixStatusResponse"},"QuotaState":{"properties":{"kind":{"type":"string","enum":["free","free_bonus","credits","unlimited","none"],"title":"Kind"},"can_generate":{"type":"boolean","title":"Can Generate"},"free_used":{"type":"boolean","title":"Free Used","default":false},"credits":{"type":"integer","title":"Credits","default":0},"cv_remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cv Remaining"},"bonus_credits":{"type":"integer","title":"Bonus Credits","default":0},"days_left":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Days Left"},"unlimited_until":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unlimited Until"},"auto_renew":{"type":"boolean","title":"Auto Renew","default":false},"subscription_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subscription Id"}},"type":"object","required":["kind","can_generate"],"title":"QuotaState"},"RegisterRequest":{"properties":{"email":{"type":"string","maxLength":120,"minLength":5,"title":"Email"},"password":{"type":"string","maxLength":128,"minLength":8,"title":"Password"},"name":{"type":"string","maxLength":80,"title":"Name","default":""}},"type":"object","required":["email","password"],"title":"RegisterRequest"},"RenderRequest":{"properties":{"resume":{"additionalProperties":true,"type":"object","title":"Resume"},"theme":{"type":"string","pattern":"^(sinalverde|navy|terracotta|slate|wine|purple)$","title":"Theme","default":"sinalverde"},"include_phone":{"type":"boolean","title":"Include Phone","default":true},"include_location":{"type":"boolean","title":"Include Location","default":true}},"type":"object","required":["resume"],"title":"RenderRequest"},"RenderResponse":{"properties":{"resume":{"additionalProperties":true,"type":"object","title":"Resume"},"html":{"type":"string","title":"Html"}},"type":"object","required":["resume","html"],"title":"RenderResponse"},"SyncSubscriptionRequest":{"properties":{"subscription_id":{"type":"string","minLength":8,"title":"Subscription Id"}},"type":"object","required":["subscription_id"],"title":"SyncSubscriptionRequest"},"SyncSubscriptionResponse":{"properties":{"active":{"type":"boolean","title":"Active"},"plan":{"anyOf":[{"type":"string","enum":["pack5","pack10","pack25"]},{"type":"null"}],"title":"Plan"},"current_period_end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Period End"},"cancel_at_period_end":{"type":"boolean","title":"Cancel At Period End","default":false}},"type":"object","required":["active"],"title":"SyncSubscriptionResponse"},"UserPublic":{"properties":{"user_id":{"type":"string","title":"User Id"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"}},"type":"object","required":["user_id","email","name"],"title":"UserPublic"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerifyRequest":{"properties":{"session_id":{"type":"string","minLength":8,"title":"Session Id"}},"type":"object","required":["session_id"],"title":"VerifyRequest"},"VerifyResponse":{"properties":{"ok":{"type":"boolean","title":"Ok"},"pending":{"type":"boolean","title":"Pending","default":false},"plan":{"type":"string","title":"Plan"},"already_fulfilled":{"type":"boolean","title":"Already Fulfilled","default":false},"subscription_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subscription Id"},"current_period_end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Period End"},"quota":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Quota"}},"type":"object","required":["ok","plan"],"title":"VerifyResponse"}}}}