{"openapi":"3.1.0","info":{"title":"Solavervia Insurance · Public API","version":"1.1.0"},"paths":{"/api/v1/products":{"get":{"summary":"Products","operationId":"products_api_v1_products_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Coverage"},"type":"array","title":"Response Products Api V1 Products Get"}}}}}}},"/api/v1/products/{product}":{"get":{"summary":"Product Details","operationId":"product_details_api_v1_products__product__get","parameters":[{"name":"product","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Product"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Coverage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/quotes":{"post":{"summary":"Get Quote","description":"Estimate a fictional USD premium using product, ZIP and deductible.","operationId":"get_quote_api_v1_quotes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quote"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sessions":{"post":{"summary":"Login","description":"Sign in. Browsers receive an HttpOnly cookie. API clients without Origin also receive a bearer token.","operationId":"login_api_v1_sessions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Login"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Session"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sessions/current":{"delete":{"summary":"Logout","operationId":"logout_api_v1_sessions_current_delete","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/api/v1/account":{"get":{"summary":"Get Account","operationId":"get_account_api_v1_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/api/v1/account/settings":{"put":{"summary":"Save Settings","operationId":"save_settings_api_v1_account_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Settings"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/api/v1/policies":{"post":{"summary":"Bind Policy","description":"Issue a synthetic policy from a recalculated quote.","operationId":"bind_policy_api_v1_policies_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindPolicy"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Policy"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/api/v1/claims":{"post":{"summary":"File Claim","operationId":"file_claim_api_v1_claims_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Claim"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/api/v1/bills/{bill_id}/pay":{"post":{"summary":"Pay Bill","description":"Simulate payment in full. Repeating the operation returns the original payment.","operationId":"pay_bill_api_v1_bills__bill_id__pay_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"bill_id","in":"path","required":true,"schema":{"type":"string","title":"Bill Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bill"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/documents":{"post":{"summary":"Issue Document","description":"Issue a stable PDF snapshot in the selected language. Bill and claim documents require the corresponding reference.","operationId":"issue_document_api_v1_documents_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/api/v1/documents/{document_id}/pdf":{"get":{"summary":"Download Document","operationId":"download_document_api_v1_documents__document_id__pdf_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/policies/{policy_id}/servicing":{"get":{"tags":["Policy servicing"],"summary":"View Policy","operationId":"view_policy_api_v1_policies__policy_id__servicing_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","title":"Policy Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyService"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/policies/{policy_id}/changes/quote":{"post":{"tags":["Policy servicing"],"summary":"Quote Change","operationId":"quote_change_api_v1_policies__policy_id__changes_quote_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","title":"Policy Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Endorsement"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Revision"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/policies/{policy_id}/changes":{"post":{"tags":["Policy servicing"],"summary":"Apply Change","operationId":"apply_change_api_v1_policies__policy_id__changes_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","title":"Policy Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyService"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/policies/{policy_id}/renewals":{"post":{"tags":["Policy servicing"],"summary":"Renew","operationId":"renew_api_v1_policies__policy_id__renewals_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","title":"Policy Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Renewal"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/claims/{claim_id}":{"get":{"tags":["Claim servicing"],"summary":"Read Case","operationId":"read_case_api_v1_claims__claim_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"claim_id","in":"path","required":true,"schema":{"type":"string","title":"Claim Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Case"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/claims/{claim_id}/messages":{"post":{"tags":["Claim servicing"],"summary":"Customer Message","operationId":"customer_message_api_v1_claims__claim_id__messages_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"claim_id","in":"path","required":true,"schema":{"type":"string","title":"Claim Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/claims/{claim_id}/files":{"post":{"tags":["Claim servicing"],"summary":"Upload File","operationId":"upload_file_api_v1_claims__claim_id__files_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"claim_id","in":"path","required":true,"schema":{"type":"string","title":"Claim Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_file_api_v1_claims__claim_id__files_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Evidence"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/claims/{claim_id}/files/{file_id}":{"get":{"tags":["Claim servicing"],"summary":"Get File","operationId":"get_file_api_v1_claims__claim_id__files__file_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"claim_id","in":"path","required":true,"schema":{"type":"string","title":"Claim Id"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"string","title":"File Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}},"image/png":{"schema":{"type":"string","format":"binary"}},"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/claims/{claim_id}/settlement/accept":{"post":{"tags":["Claim servicing"],"summary":"Accept Settlement","operationId":"accept_settlement_api_v1_claims__claim_id__settlement_accept_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"claim_id","in":"path","required":true,"schema":{"type":"string","title":"Claim Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptOffer"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Financial"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing":{"get":{"tags":["Billing"],"summary":"Billing","operationId":"billing_api_v1_billing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingState"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/api/v1/billing/methods":{"post":{"tags":["Billing"],"summary":"Add Method","description":"Create a simulated payment instrument. The API accepts no bank or card details.","operationId":"add_method_api_v1_billing_methods_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MethodInput"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Method"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/api/v1/billing/methods/{method_id}":{"delete":{"tags":["Billing"],"summary":"Remove Method","description":"Remove a payment instrument and disable autopay on policies using it.","operationId":"remove_method_api_v1_billing_methods__method_id__delete","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"method_id","in":"path","required":true,"schema":{"type":"string","title":"Method Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/policies/{policy_id}/autopay":{"put":{"tags":["Billing"],"summary":"Set Autopay","operationId":"set_autopay_api_v1_policies__policy_id__autopay_put","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","title":"Policy Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutopayInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Autopay"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/bills/{bill_id}/payments":{"post":{"tags":["Billing"],"summary":"Manual Payment","operationId":"manual_payment_api_v1_bills__bill_id__payments_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"bill_id","in":"path","required":true,"schema":{"type":"string","title":"Bill Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutopayInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bill"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/bills/{bill_id}/guest-code":{"post":{"tags":["Billing"],"summary":"Issue Guest Code","description":"Create a 48-hour code for this bill. Generating another code revokes the previous code.","operationId":"issue_guest_code_api_v1_bills__bill_id__guest_code_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"bill_id","in":"path","required":true,"schema":{"type":"string","title":"Bill Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestAccess"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guest-billing/lookup":{"post":{"tags":["Billing"],"summary":"Guest Lookup","operationId":"guest_lookup_api_v1_guest_billing_lookup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestCode"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestBill"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guest-billing/pay":{"post":{"tags":["Billing"],"summary":"Guest Pay","operationId":"guest_pay_api_v1_guest_billing_pay_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestCode"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestBill"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/security":{"get":{"tags":["Account security"],"summary":"Get Security","operationId":"get_security_api_v1_account_security_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityStatus"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/api/v1/account/security/mfa/setup":{"post":{"tags":["Account security"],"summary":"Setup Mfa","operationId":"setup_mfa_api_v1_account_security_mfa_setup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmIdentity"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactorSetup"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/api/v1/account/security/mfa/confirm":{"post":{"tags":["Account security"],"summary":"Enable Mfa","operationId":"enable_mfa_api_v1_account_security_mfa_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyFactor"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryCodes"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/api/v1/account/security/mfa/disable":{"post":{"tags":["Account security"],"summary":"Disable Mfa","operationId":"disable_mfa_api_v1_account_security_mfa_disable_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmIdentity"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/api/v1/account/security/recovery-codes":{"post":{"tags":["Account security"],"summary":"Rotate Codes","operationId":"rotate_codes_api_v1_account_security_recovery_codes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmIdentity"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryCodes"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/api/v1/account/recovery":{"post":{"tags":["Account security"],"summary":"Recover","description":"Reset the password using saved recovery codes. With MFA, prove the authenticator or use two saved codes.","operationId":"recover_api_v1_account_recovery_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Recover"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryCodes"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AcceptOffer":{"properties":{"offered_at":{"type":"string","maxLength":80,"title":"Offered At"}},"additionalProperties":false,"type":"object","required":["offered_at"],"title":"AcceptOffer"},"Account":{"properties":{"profile":{"$ref":"#/components/schemas/Profile"},"policies":{"items":{"$ref":"#/components/schemas/Policy"},"type":"array","title":"Policies"},"claims":{"items":{"$ref":"#/components/schemas/Claim"},"type":"array","title":"Claims"},"bills":{"items":{"$ref":"#/components/schemas/Bill"},"type":"array","title":"Bills"},"documents":{"items":{"$ref":"#/components/schemas/Document"},"type":"array","title":"Documents"},"activity":{"items":{"$ref":"#/components/schemas/Activity"},"type":"array","title":"Activity"}},"additionalProperties":false,"type":"object","required":["profile","policies","claims","bills","documents","activity"],"title":"Account"},"Activity":{"properties":{"time":{"type":"string","title":"Time"},"message":{"type":"string","title":"Message"}},"additionalProperties":false,"type":"object","required":["time","message"],"title":"Activity"},"Autopay":{"properties":{"method_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Method Id"},"policy_id":{"type":"string","title":"Policy Id"}},"additionalProperties":false,"type":"object","required":["policy_id"],"title":"Autopay"},"AutopayInput":{"properties":{"method_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Method Id"}},"additionalProperties":false,"type":"object","title":"AutopayInput"},"Bill":{"properties":{"id":{"type":"string","title":"Id"},"policy_id":{"type":"string","title":"Policy Id"},"due":{"type":"string","format":"date","title":"Due"},"amount_cents":{"type":"integer","title":"Amount Cents"},"paid_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paid At"}},"additionalProperties":false,"type":"object","required":["id","policy_id","due","amount_cents","paid_at"],"title":"Bill"},"BillingState":{"properties":{"methods":{"items":{"$ref":"#/components/schemas/Method"},"type":"array","title":"Methods"},"autopay":{"items":{"$ref":"#/components/schemas/Autopay"},"type":"array","title":"Autopay"},"payments":{"items":{"$ref":"#/components/schemas/Payment"},"type":"array","title":"Payments"}},"additionalProperties":false,"type":"object","required":["methods","autopay","payments"],"title":"BillingState"},"BindPolicy":{"properties":{"product":{"$ref":"#/components/schemas/Product"},"zip_code":{"type":"string","pattern":"^[0-9]{5}$","title":"Zip Code"},"deductible_cents":{"type":"integer","enum":[25000,50000,100000],"title":"Deductible Cents","default":50000},"subject":{"type":"string","maxLength":100,"minLength":2,"title":"Subject"}},"additionalProperties":false,"type":"object","required":["product","zip_code","subject"],"title":"BindPolicy"},"Body_upload_file_api_v1_claims__claim_id__files_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_file_api_v1_claims__claim_id__files_post"},"Case":{"properties":{"claim":{"$ref":"#/components/schemas/Claim"},"messages":{"items":{"$ref":"#/components/schemas/Message"},"type":"array","title":"Messages"},"files":{"items":{"$ref":"#/components/schemas/Evidence"},"type":"array","title":"Files"},"financial":{"$ref":"#/components/schemas/Financial"}},"additionalProperties":false,"type":"object","required":["claim","messages","files","financial"],"title":"Case"},"Claim":{"properties":{"policy_id":{"type":"string","maxLength":40,"title":"Policy Id"},"incident":{"type":"string","format":"date","title":"Incident"},"description":{"type":"string","maxLength":1500,"minLength":10,"title":"Description"},"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"opened":{"type":"string","title":"Opened"}},"additionalProperties":false,"type":"object","required":["policy_id","incident","description","id","status","opened"],"title":"Claim"},"ClaimInput":{"properties":{"policy_id":{"type":"string","maxLength":40,"title":"Policy Id"},"incident":{"type":"string","format":"date","title":"Incident"},"description":{"type":"string","maxLength":1500,"minLength":10,"title":"Description"}},"additionalProperties":false,"type":"object","required":["policy_id","incident","description"],"title":"ClaimInput"},"ConfirmIdentity":{"properties":{"password":{"type":"string","maxLength":128,"minLength":1,"title":"Password"},"code":{"anyOf":[{"type":"string","pattern":"^[0-9]{6}$"},{"type":"null"}],"title":"Code"}},"additionalProperties":false,"type":"object","required":["password"],"title":"ConfirmIdentity"},"Coverage":{"properties":{"id":{"$ref":"#/components/schemas/Product"},"name":{"type":"string","title":"Name"},"summary":{"type":"string","title":"Summary"},"includes":{"items":{"type":"string"},"type":"array","title":"Includes"},"exclusions":{"type":"string","title":"Exclusions"},"monthly_cents":{"type":"integer","title":"Monthly Cents"},"limit_cents":{"type":"integer","title":"Limit Cents"}},"type":"object","required":["id","name","summary","includes","exclusions","monthly_cents","limit_cents"],"title":"Coverage"},"Document":{"properties":{"policy_id":{"type":"string","maxLength":40,"title":"Policy Id"},"kind":{"type":"string","enum":["declarations","proof","auto_id","billing_statement","payment_receipt","claim_acknowledgment"],"title":"Kind"},"reference":{"type":"string","maxLength":40,"title":"Reference","default":""},"language":{"type":"string","enum":["en","he","es","ar"],"title":"Language","description":"Language of the issued document.","default":"en"},"id":{"type":"string","title":"Id"},"issued":{"type":"string","title":"Issued"}},"additionalProperties":false,"type":"object","required":["policy_id","kind","id","issued"],"title":"Document"},"DocumentInput":{"properties":{"policy_id":{"type":"string","maxLength":40,"title":"Policy Id"},"kind":{"type":"string","enum":["declarations","proof","auto_id","billing_statement","payment_receipt","claim_acknowledgment"],"title":"Kind"},"reference":{"type":"string","maxLength":40,"title":"Reference","default":""},"language":{"type":"string","enum":["en","he","es","ar"],"title":"Language","description":"Language of the issued document.","default":"en"}},"additionalProperties":false,"type":"object","required":["policy_id","kind"],"title":"DocumentInput"},"Driver":{"properties":{"name":{"type":"string","maxLength":80,"minLength":2,"title":"Name"}},"additionalProperties":false,"type":"object","required":["name"],"title":"Driver"},"Endorsement":{"properties":{"subject":{"type":"string","maxLength":100,"minLength":2,"title":"Subject"},"drivers":{"items":{"$ref":"#/components/schemas/Driver"},"type":"array","maxItems":8,"title":"Drivers"},"vehicle":{"anyOf":[{"$ref":"#/components/schemas/Vehicle"},{"type":"null"}]},"limit_cents":{"type":"integer","exclusiveMinimum":0.0,"title":"Limit Cents"},"deductible_cents":{"type":"integer","minimum":0.0,"title":"Deductible Cents"}},"additionalProperties":false,"type":"object","required":["subject","limit_cents","deductible_cents"],"title":"Endorsement"},"Evidence":{"properties":{"id":{"type":"string","title":"Id"},"claim_id":{"type":"string","title":"Claim Id"},"name":{"type":"string","title":"Name"},"mime":{"type":"string","title":"Mime"},"size":{"type":"integer","title":"Size"},"uploaded":{"type":"string","title":"Uploaded"}},"additionalProperties":false,"type":"object","required":["id","claim_id","name","mime","size","uploaded"],"title":"Evidence"},"FactorSetup":{"properties":{"setup_key":{"type":"string","title":"Setup Key"},"expires_in":{"type":"integer","title":"Expires In"}},"additionalProperties":false,"type":"object","required":["setup_key","expires_in"],"title":"FactorSetup"},"Financial":{"properties":{"estimate_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimate Cents"},"estimate_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Estimate Note"},"estimated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Estimated At"},"settlement_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Settlement Cents"},"settlement_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settlement Note"},"offered_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offered At"},"accepted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accepted At"},"paid_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paid At"}},"additionalProperties":false,"type":"object","title":"Financial"},"GuestAccess":{"properties":{"code":{"type":"string","maxLength":64,"minLength":24,"title":"Code"},"expires_in":{"type":"integer","title":"Expires In"}},"additionalProperties":false,"type":"object","required":["code","expires_in"],"title":"GuestAccess"},"GuestBill":{"properties":{"amount_cents":{"type":"integer","title":"Amount Cents"},"due":{"type":"string","format":"date","title":"Due"},"paid_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paid At"},"payment_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Reference"}},"additionalProperties":false,"type":"object","required":["amount_cents","due","paid_at","payment_reference"],"title":"GuestBill"},"GuestCode":{"properties":{"code":{"type":"string","maxLength":64,"minLength":24,"title":"Code"}},"additionalProperties":false,"type":"object","required":["code"],"title":"GuestCode"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Login":{"properties":{"email":{"type":"string","maxLength":160,"minLength":3,"title":"Email"},"password":{"type":"string","maxLength":128,"minLength":1,"title":"Password"},"code":{"anyOf":[{"type":"string","pattern":"^[0-9]{6}$"},{"type":"null"}],"title":"Code"}},"additionalProperties":false,"type":"object","required":["email","password"],"title":"Login"},"Message":{"properties":{"message":{"type":"string","maxLength":2000,"minLength":2,"title":"Message"},"requires_reply":{"type":"boolean","title":"Requires Reply","default":false},"id":{"type":"string","title":"Id"},"claim_id":{"type":"string","title":"Claim Id"},"author":{"type":"string","enum":["customer","adjuster"],"title":"Author"},"created":{"type":"string","title":"Created"},"completed":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed"}},"additionalProperties":false,"type":"object","required":["message","id","claim_id","author","created","completed"],"title":"Message"},"MessageInput":{"properties":{"message":{"type":"string","maxLength":2000,"minLength":2,"title":"Message"}},"additionalProperties":false,"type":"object","required":["message"],"title":"MessageInput"},"Method":{"properties":{"kind":{"type":"string","enum":["card","bank"],"title":"Kind"},"label":{"type":"string","maxLength":40,"minLength":2,"title":"Label"},"id":{"type":"string","title":"Id"},"last4":{"type":"string","title":"Last4"}},"additionalProperties":false,"type":"object","required":["kind","label","id","last4"],"title":"Method"},"MethodInput":{"properties":{"kind":{"type":"string","enum":["card","bank"],"title":"Kind"},"label":{"type":"string","maxLength":40,"minLength":2,"title":"Label"}},"additionalProperties":false,"type":"object","required":["kind","label"],"title":"MethodInput"},"Payment":{"properties":{"bill_id":{"type":"string","title":"Bill Id"},"channel":{"type":"string","enum":["manual","autopay","guest"],"title":"Channel"},"method_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Method Label"},"reference":{"type":"string","title":"Reference"}},"additionalProperties":false,"type":"object","required":["bill_id","channel","method_label","reference"],"title":"Payment"},"Policy":{"properties":{"id":{"type":"string","title":"Id"},"product":{"$ref":"#/components/schemas/Product"},"subject":{"type":"string","title":"Subject"},"status":{"type":"string","title":"Status"},"start":{"type":"string","format":"date","title":"Start"},"end":{"type":"string","format":"date","title":"End"},"monthly_cents":{"type":"integer","title":"Monthly Cents"},"limit_cents":{"type":"integer","title":"Limit Cents"},"deductible_cents":{"type":"integer","title":"Deductible Cents"}},"additionalProperties":false,"type":"object","required":["id","product","subject","status","start","end","monthly_cents","limit_cents","deductible_cents"],"title":"Policy"},"PolicyChange":{"properties":{"subject":{"type":"string","maxLength":100,"minLength":2,"title":"Subject"},"drivers":{"items":{"$ref":"#/components/schemas/Driver"},"type":"array","maxItems":8,"title":"Drivers"},"vehicle":{"anyOf":[{"$ref":"#/components/schemas/Vehicle"},{"type":"null"}]},"limit_cents":{"type":"integer","exclusiveMinimum":0.0,"title":"Limit Cents"},"deductible_cents":{"type":"integer","minimum":0.0,"title":"Deductible Cents"},"version":{"type":"string","maxLength":40,"title":"Version"}},"additionalProperties":false,"type":"object","required":["subject","limit_cents","deductible_cents","version"],"title":"PolicyChange"},"PolicyService":{"properties":{"subject":{"type":"string","maxLength":100,"minLength":2,"title":"Subject"},"drivers":{"items":{"$ref":"#/components/schemas/Driver"},"type":"array","maxItems":8,"title":"Drivers"},"vehicle":{"anyOf":[{"$ref":"#/components/schemas/Vehicle"},{"type":"null"}]},"limit_cents":{"type":"integer","exclusiveMinimum":0.0,"title":"Limit Cents"},"deductible_cents":{"type":"integer","minimum":0.0,"title":"Deductible Cents"},"monthly_cents":{"type":"integer","title":"Monthly Cents"},"effective":{"type":"string","format":"date","title":"Effective"},"version":{"type":"string","title":"Version"},"policy_id":{"type":"string","title":"Policy Id"},"renewal_eligible":{"type":"boolean","title":"Renewal Eligible"},"renewal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Renewal Id"},"history":{"items":{"$ref":"#/components/schemas/Revision"},"type":"array","title":"History"}},"additionalProperties":false,"type":"object","required":["subject","limit_cents","deductible_cents","monthly_cents","effective","version","policy_id","renewal_eligible","renewal_id","history"],"title":"PolicyService"},"Product":{"type":"string","enum":["auto","home","renters","life","travel","business","umbrella","pet"],"title":"Product"},"Profile":{"properties":{"paperless":{"type":"boolean","title":"Paperless"},"reminders":{"type":"boolean","title":"Reminders"},"phone":{"type":"string","pattern":"^[+0-9 ()-]{7,30}$","title":"Phone"},"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email"},"status":{"type":"string","title":"Status"}},"additionalProperties":false,"type":"object","required":["paperless","reminders","phone","name","email","status"],"title":"Profile"},"Quote":{"properties":{"product":{"$ref":"#/components/schemas/Product"},"monthly_cents":{"type":"integer","title":"Monthly Cents"},"annual_cents":{"type":"integer","title":"Annual Cents"},"limit_cents":{"type":"integer","title":"Limit Cents"},"deductible_cents":{"type":"integer","title":"Deductible Cents"},"currency":{"type":"string","const":"USD","title":"Currency","default":"USD"}},"additionalProperties":false,"type":"object","required":["product","monthly_cents","annual_cents","limit_cents","deductible_cents"],"title":"Quote"},"QuoteInput":{"properties":{"product":{"$ref":"#/components/schemas/Product"},"zip_code":{"type":"string","pattern":"^[0-9]{5}$","title":"Zip Code"},"deductible_cents":{"type":"integer","enum":[25000,50000,100000],"title":"Deductible Cents","default":50000}},"additionalProperties":false,"type":"object","required":["product","zip_code"],"title":"QuoteInput"},"Recover":{"properties":{"email":{"type":"string","maxLength":160,"minLength":3,"title":"Email"},"recovery_code":{"type":"string","maxLength":100,"minLength":20,"title":"Recovery Code"},"replacement_password":{"type":"string","maxLength":128,"minLength":15,"title":"Replacement Password"},"authenticator_code":{"anyOf":[{"type":"string","pattern":"^[0-9]{6}$"},{"type":"null"}],"title":"Authenticator Code"},"second_recovery_code":{"anyOf":[{"type":"string","maxLength":100,"minLength":20},{"type":"null"}],"title":"Second Recovery Code"}},"additionalProperties":false,"type":"object","required":["email","recovery_code","replacement_password"],"title":"Recover"},"RecoveryCodes":{"properties":{"recovery_codes":{"items":{"type":"string"},"type":"array","title":"Recovery Codes"}},"additionalProperties":false,"type":"object","required":["recovery_codes"],"title":"RecoveryCodes"},"Renewal":{"properties":{"policy":{"$ref":"#/components/schemas/Policy"},"renewed_from":{"type":"string","title":"Renewed From"}},"additionalProperties":false,"type":"object","required":["policy","renewed_from"],"title":"Renewal"},"Revision":{"properties":{"subject":{"type":"string","maxLength":100,"minLength":2,"title":"Subject"},"drivers":{"items":{"$ref":"#/components/schemas/Driver"},"type":"array","maxItems":8,"title":"Drivers"},"vehicle":{"anyOf":[{"$ref":"#/components/schemas/Vehicle"},{"type":"null"}]},"limit_cents":{"type":"integer","exclusiveMinimum":0.0,"title":"Limit Cents"},"deductible_cents":{"type":"integer","minimum":0.0,"title":"Deductible Cents"},"monthly_cents":{"type":"integer","title":"Monthly Cents"},"effective":{"type":"string","format":"date","title":"Effective"},"version":{"type":"string","title":"Version"}},"additionalProperties":false,"type":"object","required":["subject","limit_cents","deductible_cents","monthly_cents","effective","version"],"title":"Revision"},"SecurityStatus":{"properties":{"mfa_enabled":{"type":"boolean","title":"Mfa Enabled"},"recovery_codes_remaining":{"type":"integer","title":"Recovery Codes Remaining"}},"additionalProperties":false,"type":"object","required":["mfa_enabled","recovery_codes_remaining"],"title":"SecurityStatus"},"Session":{"properties":{"expires_in":{"type":"integer","title":"Expires In"},"access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"},"token_type":{"type":"string","const":"bearer","title":"Token Type","default":"bearer"}},"additionalProperties":false,"type":"object","required":["expires_in"],"title":"Session"},"Settings":{"properties":{"paperless":{"type":"boolean","title":"Paperless"},"reminders":{"type":"boolean","title":"Reminders"},"phone":{"type":"string","pattern":"^[+0-9 ()-]{7,30}$","title":"Phone"}},"additionalProperties":false,"type":"object","required":["paperless","reminders","phone"],"title":"Settings"},"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"},"Vehicle":{"properties":{"year":{"type":"integer","maximum":2100.0,"minimum":1950.0,"title":"Year"},"make":{"type":"string","maxLength":40,"minLength":1,"title":"Make"},"model":{"type":"string","maxLength":40,"minLength":1,"title":"Model"}},"additionalProperties":false,"type":"object","required":["year","make","model"],"title":"Vehicle"},"VerifyFactor":{"properties":{"code":{"type":"string","pattern":"^[0-9]{6}$","title":"Code"}},"additionalProperties":false,"type":"object","required":["code"],"title":"VerifyFactor"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"},"APIKeyCookie":{"type":"apiKey","in":"cookie","name":"__Host-solavervia"}}}}