{"openapi":"3.1.0","info":{"title":"Hypox API","summary":"Hypox API Service in Python","version":"0.1.0"},"paths":{"/api/property/prices/heatmap":{"get":{"tags":["prices"],"summary":"Get Heatmap","description":"Validate coordinates and return heatmap results.\n\nArgs:\n    request: A HeatMapRequest object with heatMapType, leftBotLon,\n        leftBotLat, topRightLon, and topRightLat.\n\nReturns:\n    A list of HeatMapResult objects.","operationId":"get_heatmap_api_property_prices_heatmap_get","parameters":[{"name":"heatMapType","in":"query","required":true,"schema":{"$ref":"#/components/schemas/HeatMapType"}},{"name":"leftBotLat","in":"query","required":true,"schema":{"type":"number","title":"Leftbotlat"}},{"name":"leftBotLon","in":"query","required":true,"schema":{"type":"number","title":"Leftbotlon"}},{"name":"topRightLat","in":"query","required":true,"schema":{"type":"number","title":"Toprightlat"}},{"name":"topRightLon","in":"query","required":true,"schema":{"type":"number","title":"Toprightlon"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HeatMapResult"},"title":"Response Get Heatmap Api Property Prices Heatmap Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/prices/optimal-rent-price/{property_id}":{"get":{"tags":["prices"],"summary":"Get Optimal Rent Price","description":"Compute optimal rent price for a property.\n\nArgs:\n    property_id: UUID of the property.\n\nReturns:\n    An OptimalRentPriceResult containing the optimal rent price or None if\n    not found.","operationId":"get_optimal_rent_price_api_property_prices_optimal_rent_price__property_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimalRentPriceResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/prices/price-info-per-property/{property_id}":{"get":{"tags":["prices"],"summary":"Get Price Info Per Property","description":"Get property price info for a property.\n\nArgs:\n    property_id: UUID of the property.\n\nReturns:\n    A PropertyPriceInfoResult with the price_change field set.","operationId":"get_price_info_per_property_api_property_prices_price_info_per_property__property_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyPriceInfoResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/prices/yields/{property_id}":{"get":{"tags":["prices"],"summary":"Get Yields","description":"Return yield values for the last 5 years for a given property.\n\nThis endpoint retrieves yield data and computes the average yield over the\nreturned years.\n\nArgs:\n    property_id: UUID of the property.\n\nReturns:\n    A response model containing a list of yield values and their average\n    over the last 5 years.\n\nRaises:\n    HTTPException: If the property is not found, the building construction\n    type is unsupported, the external API call fails, if the user's\n    subscription is insufficient or if the apartment layout is unknown.","operationId":"get_yields_api_property_prices_yields__property_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/YieldResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/prices/similar-price-change/{property_id}":{"get":{"tags":["prices"],"summary":"Get Similar Price Change","description":"Get similar apartment price change information for a given property.\n\nArgs:\n    property_id: UUID of the property.\n\nReturns:\n    A list of SimilarPriceChange objects.\n\nRaises:\n    HTTPException: If the property is not found, the building construction\n    type is unsupported, the external API call fails, if the user's\n    subscription is insufficient or if the apartment layout is unknown.","operationId":"get_similar_price_change_api_property_prices_similar_price_change__property_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SimilarPriceChange"},"title":"Response Get Similar Price Change Api Property Prices Similar Price Change  Property Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/prices/price-development/{property_id}":{"get":{"tags":["prices"],"summary":"Get Price Development","description":"Get historical price development for a given property.\n\nArgs:\n    property_id: UUID of the property.\n\nReturns:\n    A list of PriceDevelopment objects.\n\nRaises:\n    HTTPException: If the property is not found, the external API call\n    fails, or the user has a BASIC subscription which does not support this\n    feature.","operationId":"get_price_development_api_property_prices_price_development__property_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PriceDevelopment"},"title":"Response Get Price Development Api Property Prices Price Development  Property Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/prices/market-speed/{property_id}":{"get":{"tags":["prices"],"summary":"Get Market Speed By Property","description":"Get market speed based on property.\n\nArgs:\n    property_id: UUID of the property.\n\nReturns:\n    A MarketSpeed object containing the location type, description, speed,\n    and speed difference.\n\nRaises:\n    HTTPException: If the property is not found, the external API call\n    fails or if the user's subscription is insufficient.","operationId":"get_market_speed_by_property_api_property_prices_market_speed__property_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketSpeed"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/prices/market-speed":{"get":{"tags":["prices"],"summary":"Get Market Speed By Coordinates","description":"Get market speed based on location coordinates.\n\nArgs:\n    lat: Latitude coordinate.\n    lon: Longitude coordinate.\n\nReturns:\n    A MarketSpeed object containing district-level market speed\n    information.\n\nRaises:\n    HTTPException: If the property is not found, the external API call\n    fails or if the user's subscription is insufficient.","operationId":"get_market_speed_by_coordinates_api_property_prices_market_speed_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","title":"Lat"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","title":"Lon"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketSpeed"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/prices/market-mood/{property_id}":{"get":{"tags":["prices"],"summary":"Get Market Mood By Property","description":"Market mood indicator by property.\n\nArgs:\n    property_id: UUID of the property.\n\nReturns:\n    A MarketMood object containing district-level market mood data.\n\nRaises:\n    HTTPException: If the property is not found, the external API call\n    fails or if the user's subscription is insufficient.","operationId":"get_market_mood_by_property_api_property_prices_market_mood__property_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketMood"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/prices/market-mood":{"get":{"tags":["prices"],"summary":"Get Market Mood By Coordinates","description":"Get market mood indicator by coordinates.\n\nArgs:\n    lat: Latitude coordinate.\n    lon: Longitude coordinate.\n\nReturns:\n    A MarketMood object with district-level market mood information.","operationId":"get_market_mood_by_coordinates_api_property_prices_market_mood_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","title":"Lat"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","title":"Lon"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketMood"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/prices/price-info-per-area":{"get":{"tags":["prices"],"summary":"Get Price Info Per Area","description":"Return property price info for the specified area.\n\nArgs:\n    request: GetPriceInfoPerAreaRequest with location and date details.\n\nReturns:\n    Aggregated property price info.","operationId":"get_price_info_per_area_api_property_prices_price_info_per_area_get","parameters":[{"name":"buildingConstructionType","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BuildingConstructionType"}},{"name":"lat","in":"query","required":true,"schema":{"type":"number","title":"Lat"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","title":"Lon"}},{"name":"marketType","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/MarketType"},{"type":"null"}],"title":"Markettype"}},{"name":"qEnd","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Qend"}},{"name":"qStart","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Qstart"}},{"name":"yearEnd","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Yearend"}},{"name":"yearStart","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Yearstart"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertiesInTheAreaPriceInfoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/prices/price-info-per-area-detailed":{"get":{"tags":["prices"],"summary":"Get Price Info Per Area Detailed","description":"Return detailed property price info for the specified area.\n\nThis endpoint aggregates pricing information by location based on the\nprovided latitude, longitude, building construction type, and market type.\nIn addition to the average price data, it returns detailed graphs, price\nchanges, available properties for sale, and property transactions.\n\nArgs:\n    request: GetPriceInfoPerAreaRequest with location, market, and date\n    parameters.\n\nReturns:\n    A PropertiesInTheAreaPriceInfoResponse object containing:\n      - `building_construction_type`\n      - `location_average_prices` (average price info)\n      - `location_average_price_graph_data` (graph data over time)\n      - `location_price_changes` (price changes percentages)\n      - `location_property_available_for_sales`\n      - `location_property_transactions`","operationId":"get_price_info_per_area_detailed_api_property_prices_price_info_per_area_detailed_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"buildingConstructionType","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BuildingConstructionType"}},{"name":"lat","in":"query","required":true,"schema":{"type":"number","title":"Lat"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","title":"Lon"}},{"name":"marketType","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/MarketType"},{"type":"null"}],"title":"Markettype"}},{"name":"qEnd","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Qend"}},{"name":"qStart","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Qstart"}},{"name":"yearEnd","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Yearend"}},{"name":"yearStart","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Yearstart"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertiesInTheAreaPriceInfoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/user/profile":{"get":{"tags":["user"],"summary":"Get Profile","description":"Get the authenticated user’s profile.\n\nRetrieves the authenticated user’s profile including contact details,\ncurrent subscription information, remaining valuation credits, portfolio\nmetrics, and notification preferences.\n\nReturns:\n    The user’s profile data.","operationId":"get_profile_api_user_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["user"],"summary":"Update Profile","description":"Update `portfolioPriceChangeNotificationEnabled` in Keycloak.\n\nArgs:\n    request: Request with new notification flag.","operationId":"update_profile_api_user_profile_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserProfileRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/user/profile/pdf-branding":{"get":{"tags":["user"],"summary":"Get Pdf Branding","description":"Return PDF branding settings for the authenticated user.\n\nReturns:\n    Current PDF branding settings, including a short-lived logo download\n    URL when a logo is attached.","operationId":"get_pdf_branding_api_user_profile_pdf_branding_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPDFBranding"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["user"],"summary":"Update Pdf Branding","description":"Update PDF branding name for an authenticated business user.\n\nRaises:\n    HTTPException: If the user does not have the BUSINESS plan.","operationId":"update_pdf_branding_api_user_profile_pdf_branding_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserPDFBrandingRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/user/profile/pdf-branding/logo/signed-upload-url":{"get":{"tags":["user"],"summary":"Get Pdf Branding Logo Signed Upload Url","description":"Return a presigned URL for uploading a PDF branding logo.\n\nArgs:\n    request: Upload constraints with file size and file type.\n\nReturns:\n    Generated file key and presigned upload URL.\n\nRaises:\n    HTTPException: If user is not on BUSINESS plan, upload constraints are\n        invalid, or the presigned URL cannot be generated.","operationId":"get_pdf_branding_logo_signed_upload_url_api_user_profile_pdf_branding_logo_signed_upload_url_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"contentLength","in":"query","required":true,"schema":{"type":"integer","exclusiveMinimum":0,"title":"Contentlength"}},{"name":"fileType","in":"query","required":true,"schema":{"$ref":"#/components/schemas/FileType"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresignedFileTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/user/profile/pdf-branding/logo":{"put":{"tags":["user"],"summary":"Attach Pdf Branding Logo","description":"Attach uploaded logo metadata to user's PDF branding settings.\n\nArgs:\n    request: Uploaded logo metadata to persist.\n\nRaises:\n    HTTPException: If user is not on BUSINESS plan or logo metadata is\n        invalid.","operationId":"attach_pdf_branding_logo_api_user_profile_pdf_branding_logo_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPDFBrandingLogoAttachRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"delete":{"tags":["user"],"summary":"Delete Pdf Branding Logo","description":"Delete the attached PDF branding logo for an authenticated user.\n\nRaises:\n    HTTPException: If user is not on BUSINESS plan.","operationId":"delete_pdf_branding_logo_api_user_profile_pdf_branding_logo_delete","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]}]}},"/api/v1/flatzone/auth":{"get":{"tags":["flatzone"],"summary":"Get Flatzone Auth","description":"Authenticate and fetch tokens from the Flatzone GraphQL API.\n\nReturns:\n    Authentication tokens.","operationId":"get_flatzone_auth_api_v1_flatzone_auth_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlatzoneAuth"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/chat/token":{"get":{"tags":["chat"],"summary":"Get Chat Token","description":"Get a chat token for the authenticated user.\n\nReturns:\n    Object containing the chat JWT for the user.","operationId":"get_chat_token_api_chat_token_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTokenResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/insurance/application/submit":{"post":{"tags":["insurance"],"summary":"Submit Insurance Application","description":"Submit an insurance application and send an email lead.\n\nArgs:\n    request_data: Submitted insurance application data.\n\nRaises:\n    HTTPException: If the property is not found, the user is not\n        the owner, or there is an issue with property valuation.","operationId":"submit_insurance_application_api_insurance_application_submit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitInsuranceApplicationRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/listed-property/files/signed-upload-url":{"get":{"tags":["listing"],"summary":"Get File Signed Upload Url","description":"Generate a presigned URL for uploading a file to a listed property.\n\nArgs:\n    content_length: Size of the file in bytes.\n    file_type: Type of the file.\n\nReturns:\n    The generated file UUID and presigned URL.\n\nRaises:\n    HTTPException: If the file size exceeds the allowed limit.","operationId":"get_file_signed_upload_url_api_listed_property_files_signed_upload_url_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"contentLength","in":"query","required":true,"schema":{"type":"integer","title":"Contentlength"}},{"name":"fileType","in":"query","required":true,"schema":{"$ref":"#/components/schemas/FileType"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresignedFileTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/listed-property/{listed_property_id}/files":{"get":{"tags":["listing"],"summary":"Get All Files","description":"Get all files attached to a listed property.\n\nArgs:\n    listed_property_id: ID of the listed property.\n\nReturns:\n    A list of attached file response models.","operationId":"get_all_files_api_listed_property__listed_property_id__files_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"listed_property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Listed Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AttachedFile"},"title":"Response Get All Files Api Listed Property  Listed Property Id  Files Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/listed-property/{listed_property_id}/files/attach":{"put":{"tags":["listing"],"summary":"Attach File","description":"Attach a file to a listed property.\n\nArgs:\n    listed_property_id: ID of the listed property.\n    request: Request body containing file details.\n\nRaises:\n    HTTPException: If the file is already attached, limit is exceeded or\n        the user is unauthorized.","operationId":"attach_file_api_listed_property__listed_property_id__files_attach_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"listed_property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Listed Property Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachedFile"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/listed-property/{listed_property_id}/files/{file_id}":{"delete":{"tags":["listing"],"summary":"Delete File","description":"Delete a file attached to a listed property.\n\nArgs:\n    listed_property_id: ID of the listed property.\n    file_id: External file ID.\n\nNote:\n    This deletion process is not fully atomic. If S3 deletion succeeds\n    but the database update fails, inconsistencies may occur. Consider\n    implementing a mechanism to ensure eventual consistency.","operationId":"delete_file_api_listed_property__listed_property_id__files__file_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"listed_property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Listed Property Id"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"string","title":"File Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/listed-property/regions":{"get":{"tags":["listing"],"summary":"Get Regions","description":"Get regions.\n\nReturns:\n    List of regions.","operationId":"get_regions_api_listed_property_regions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CenovaMapaItem"},"type":"array","title":"Response Get Regions Api Listed Property Regions Get"}}}}}}},"/api/listed-property/districts/{region_id}":{"get":{"tags":["listing"],"summary":"Get Districts","description":"Get districts.\n\nArgs:\n    region_id: The region ID.\n\nReturns:\n    List of districts.","operationId":"get_districts_api_listed_property_districts__region_id__get","parameters":[{"name":"region_id","in":"path","required":true,"schema":{"type":"integer","title":"Region Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CenovaMapaItem"},"title":"Response Get Districts Api Listed Property Districts  Region Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/listed-property/municipalities/{district_id}":{"get":{"tags":["listing"],"summary":"Get Municipalities","description":"Get municipalities.\n\nArgs:\n    district_id: The district ID.\n\nReturns:\n    List of municipalities.","operationId":"get_municipalities_api_listed_property_municipalities__district_id__get","parameters":[{"name":"district_id","in":"path","required":true,"schema":{"type":"integer","title":"District Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CenovaMapaItem"},"title":"Response Get Municipalities Api Listed Property Municipalities  District Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/listed-property/search":{"get":{"tags":["listing"],"summary":"Search Listed Properties","description":"Search published listed properties within a SW-NE box and with filters.\n\nArgs:\n    sw_lat: South-west latitude.\n    sw_lon: South-west longitude.\n    le_lat: North-east latitude.\n    ne_lon: North-east longitude.\n    min_price: Minimum price filter.\n    max_price: Maximum price filter.\n    min_area: Minimum area filter.\n    max_area: Maximum area filter.\n    layouts: List of apartment layouts.\n    region_id: List of region IDs.\n    district_id: List of district IDs.\n    municipality_id: List of municipality IDs.\n\nReturns:\n    List properties matching the search criteria.","operationId":"search_listed_properties_api_listed_property_search_get","parameters":[{"name":"regionId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Regionid"}},{"name":"districtId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Districtid"}},{"name":"municipalityId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Municipalityid"}},{"name":"minArea","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minarea"}},{"name":"maxArea","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Maxarea"}},{"name":"minPrice","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minprice"}},{"name":"maxPrice","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Maxprice"}},{"name":"layouts","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Layouts"}},{"name":"neLat","in":"query","required":true,"schema":{"type":"number","title":"Nelat"}},{"name":"neLon","in":"query","required":true,"schema":{"type":"number","title":"Nelon"}},{"name":"swLat","in":"query","required":true,"schema":{"type":"number","title":"Swlat"}},{"name":"swLon","in":"query","required":true,"schema":{"type":"number","title":"Swlon"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ListedPropertyResponse"},"title":"Response Search Listed Properties Api Listed Property Search Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/listed-property":{"get":{"tags":["listing"],"summary":"Get Published Listed Properties","description":"Get all published listed properties for the authenticated user.\n\nReturns:\n    List of listed properties.","operationId":"get_published_listed_properties_api_listed_property_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ListedPropertyResponse"},"type":"array","title":"Response Get Published Listed Properties Api Listed Property Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["listing"],"summary":"Add Listing","description":"Create a new listed property with a DRAFT state.\n\nCreates a new property listing in the database with DRAFT status. After\ncreation, attempts to enrich region and cadaster information via CenovaMapa\nfor better filtering and search.\n\nThere is a known limitation of the CenovaMapa API: some valid addresses\ncannot be resolved and result in a 404 response. When this occurs, the\nproperty is still created successfully and returned with a valid ID, but\nthe enrichment step is skipped. As a result, the property will not appear\nin filtered search results that rely on the missing region or cadaster\ndata. For example, the address `\"U Radosti 225/3, Praha\"` cannot be\nresolved by CenovaMapa and therefore does not show up in filtered queries.\n\nArgs:\n    request: New listed property request data.\n\nReturns:\n    The new property ID.","operationId":"add_listing_api_listed_property_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewListedPropertyRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewListedPropertyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/listed-property/{listed_property_id}":{"get":{"tags":["listing"],"summary":"Get Listed Property","description":"Get the details of a listed property by its ID.\n\nArgs:\n    listed_property_id: ID of the listed property.\n\nReturns:\n    Property details.","operationId":"get_listed_property_api_listed_property__listed_property_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"listed_property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Listed Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListedPropertyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["listing"],"summary":"Update Listed Property","description":"Update a listed property.\n\nArgs:\n    listed_property_id: ID of the listed property.\n    request: Update request data.","operationId":"update_listed_property_api_listed_property__listed_property_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"listed_property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Listed Property Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateListedPropertyRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["listing"],"summary":"Delete Listed Property","description":"Delete a listed property.\n\nAssociated uploaded files are not deleted automatically. This behavior is\nintentional and matches the legacy implementation.\n\nArgs:\n    listed_property_id: ID of the listed property.\n\nRaises:\n    HTTPException: If the property is not found or the user is\n        unauthorized.","operationId":"delete_listed_property_api_listed_property__listed_property_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"listed_property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Listed Property Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/listed-property/{listed_property_id}/edit":{"put":{"tags":["listing"],"summary":"Edit Published Listed Property","description":"Edit a published listed property. Only selected fields are editable.\n\nArgs:\n    listed_property_id: ID of the listed property.\n    request: Request with edit data.\n\nRaises:\n    HTTPException: If the property is not found, not published, or the user\n        is unauthorized.","operationId":"edit_published_listed_property_api_listed_property__listed_property_id__edit_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"listed_property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Listed Property Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditListedPropertyRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/listed-property/{listed_property_id}/publish":{"post":{"tags":["listing"],"summary":"Publish Listed Property","description":"Check if property meets requirements and publish it.\n\nArgs:\n    listed_property_id: ID of the listed property.\n\nRaises:\n    HTTPException: If the property is not found, not in DRAFT state, no\n        image is attached or the user not authorized.","operationId":"publish_listed_property_api_listed_property__listed_property_id__publish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"listed_property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Listed Property Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mortgage/application":{"get":{"tags":["mortgage"],"summary":"Get All Applications","description":"Get all mortgage applications for the user.\n\nReturns:\n    A list of MortgageApplicationResponse objects.","operationId":"get_all_applications_api_mortgage_application_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MortgageApplicationResponse"},"type":"array","title":"Response Get All Applications Api Mortgage Application Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["mortgage"],"summary":"Create Application","description":"Create a new mortgage application.\n\nArgs:\n    request: Request body with mortgage application details.\n\nReturns:\n    A MortgageApplicationResponse with the new application.","operationId":"create_application_api_mortgage_application_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageApplicationRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/mortgage/application/{application_id}/submit":{"post":{"tags":["mortgage"],"summary":"Submit Application","description":"Submit a mortgage application and create a CRM deal.\n\nThis endpoint marks the application as `submitted`. Ensures the Person\nexists in Pipedrive. Creates a Mortgage flow deal with a short contextual\nnote. Saves the CRM deal ID on the application.\n\nArgs:\n    application_id: The UUID of the mortgage application.\n\nReturns:\n    The updated data in MortgageApplicationResponse.","operationId":"submit_application_api_mortgage_application__application_id__submit_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mortgage/application/{application_id}":{"get":{"tags":["mortgage"],"summary":"Get Application By Id","description":"Get a mortgage application by its ID.\n\nArgs:\n    application_id: ID of the mortgage application.\n\nReturns:\n    A MortgageApplicationResponse.\n\nRaises:\n    HTTPException: If the application is not found or doesn't belong to\n        this user.","operationId":"get_application_by_id_api_mortgage_application__application_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["mortgage"],"summary":"Update Application","description":"Update an existing mortgage application.\n\nArgs:\n    application_id: ID of the mortgage application to update.\n    request: Updated mortgage application data.\n\nReturns:\n    An updated MortgageApplicationResponse.\n\nRaises:\n    HTTPException: If the application doesn't exist or is submitted.","operationId":"update_application_api_mortgage_application__application_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageApplicationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mortgage/application/files/signed-upload-url":{"get":{"tags":["mortgage"],"summary":"Get File Signed Upload Url","description":"Get a presigned URL to upload a mortgage application file.\n\nArgs:\n    content_length: The content length of the file to be uploaded.\n\nReturns:\n    A response model containing the generated file UUID and presigned URL.\n\nRaises:\n    HTTPException: If file size exceeds allowed maximum or the maximum\n    number of files is exceeded.","operationId":"get_file_signed_upload_url_api_mortgage_application_files_signed_upload_url_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"contentLength","in":"query","required":true,"schema":{"type":"integer","title":"Contentlength"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresignedFileTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mortgage/application/{application_id}/files":{"get":{"tags":["mortgage"],"summary":"Get All Application Files","description":"List files attached to a mortgage application.\n\nArgs:\n    application_id: ID of the mortgage application.\n\nReturns:\n    A list of AttachedFile objects.","operationId":"get_all_application_files_api_mortgage_application__application_id__files_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AttachedFile"},"title":"Response Get All Application Files Api Mortgage Application  Application Id  Files Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mortgage/application/{application_id}/files/attach":{"put":{"tags":["mortgage"],"summary":"Attach File To Application","description":"Attach a file to a mortgage application.\n\nArgs:\n    application_id: ID of the mortgage application.\n    request: File details to attach.\n\nRaises:\n    HTTPException: If not found or application is submitted.","operationId":"attach_file_to_application_api_mortgage_application__application_id__files_attach_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachedFile"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mortgage/application/{application_id}/files/{file_id}":{"delete":{"tags":["mortgage"],"summary":"Delete Application File","description":"Delete a file from a mortgage application.\n\nArgs:\n    application_id: ID of the mortgage application.\n    file_id: The S3 key of the file to be deleted.\n\nRaises:\n    HTTPException: If file or application not found, or if application\n        is submitted, or on storage error.\n\nNote:\n    This deletion process is not fully atomic. If S3 deletion succeeds but\n    the database update fails, inconsistencies may occur. Consider\n    implementing a mechanism to ensure eventual consistency.","operationId":"delete_application_file_api_mortgage_application__application_id__files__file_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"string","title":"File Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mortgage/fixation-rate":{"get":{"tags":["mortgage"],"summary":"Get Fixation Rate","description":"Get the current fixation rate from the CRM product.\n\nReturns:\n    The current fixation rate as a float.\n\nRaises:\n    HTTPException: If the product or rate is not found.","operationId":"get_fixation_rate_api_mortgage_fixation_rate_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"number","title":"Response Get Fixation Rate Api Mortgage Fixation Rate Get"}}}}}}},"/api/mortgage/info":{"get":{"tags":["mortgage"],"summary":"Get Mortgage Information By Property","description":"Get mortgage information by property ID.\n\nArgs:\n    property_id: The property ID.\n\nReturns:\n    An object containing mortgage information.\n\nRaises:\n    HTTPException: If mortgage info is not found.","operationId":"get_mortgage_information_by_property_api_mortgage_info_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"propertyId","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Propertyid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageInfoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"tags":["mortgage"],"summary":"Check Mortgage Information By Property","description":"Check if mortgage information exists for a given property.\n\nArgs:\n    property_id: The property ID.\n\nReturns:\n    204 if found, otherwise 404.","operationId":"check_mortgage_information_by_property_api_mortgage_info_head","security":[{"HTTPBearer":[]}],"parameters":[{"name":"propertyId","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Propertyid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["mortgage"],"summary":"Save Mortgage Information","description":"Upsert mortgage information for a property and syncs it with the CRM.\n\nIf mortgage data exists for the given property and user, it is updated;\notherwise, a new record is created. The process ensures any previous\none-time payment records are removed, the user is linked to a CRM person\n(creating one if necessary), and any existing mortgage-related CRM deal is\nreplaced with a new one. The updated CRM deal includes key mortgage details\nsuch as amount, bank, interest rate, and fixation period, along with a\ndescriptive note.\n\nArgs:\n    request: The mortgage information submitted by the user, including\n        details such as total mortgage amount, interest rate, and fixation\n        period.\n\nReturns:\n    MortgageInfo: The updated or newly created mortgage information.","operationId":"save_mortgage_information_api_mortgage_info_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveMortgageInfoRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageInfo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mortgage/declare-no-mortgage":{"post":{"tags":["mortgage"],"summary":"Declare No Mortgage","description":"Declare that a property has no mortgage.\n\nArgs:\n    request: Contains the property_id.\n\nReturns:\n    A MortgageInfoResponse with NO_MORTGAGE status.\n\nRaises:\n    HTTPException: If mortgage information already exists.","operationId":"declare_no_mortgage_api_mortgage_declare_no_mortgage_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageInfoRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageInfoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/mortgage/paid-off":{"post":{"tags":["mortgage"],"summary":"Paid Off Mortgage","description":"Mark a mortgage as fully paid off.\n\nArgs:\n    request: Contains the property_id of the mortgage.\n\nReturns:\n    A MortgageInfoResponse with updated status.\n\nRaises:\n    HTTPException: If the mortgage info is not found.","operationId":"paid_off_mortgage_api_mortgage_paid_off_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgagePaidOffRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageInfoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/mortgage/one-time-payment":{"post":{"tags":["mortgage"],"summary":"Add One Time Payment","description":"Add a one-time payment to an existing mortgage.\n\nArgs:\n    request: MortgageOneTimePaymentRequest with payment details.\n\nRaises:\n    HTTPException: If mortgage info not found or payment data invalid.","operationId":"add_one_time_payment_api_mortgage_one_time_payment_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageOneTimePaymentRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/mortgage/remaining-amount-graph":{"get":{"tags":["mortgage"],"summary":"Get Remaining Amount Graph","description":"Calculate and return the remaining mortgage amount graph.\n\nArgs:\n    property_id: The property ID.\n\nReturns:\n    A RemainingMortgageAmountGraph with monthly data.\n\nRaises:\n    HTTPException: If mortgage info not found or if mortgage is invalid.","operationId":"get_remaining_amount_graph_api_mortgage_remaining_amount_graph_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"propertyId","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Propertyid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemainingMortgageAmountGraph"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mortgage/request-mortgage-consultation":{"post":{"tags":["mortgage"],"summary":"Request Mortgage Consultation","description":"Record a mortgage consultation request in the CRM.\n\nThe endpoint ensures that the requester exists as a person in the CRM\n(creating one if needed), gets the appropriate mortgage pipeline,\ncreates a new CRM deal for the consultation, and attaches a note with key\ndetails (property price, initial payment, mortgage period, interest rate,\netc.).\n\nArgs:\n    request: Consultation request data (first_name, last_name, email,\n        phone_number, property details, etc.).","operationId":"request_mortgage_consultation_api_mortgage_request_mortgage_consultation_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageConsultationRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/mortgage/request-property-mortgage-consultation":{"post":{"tags":["mortgage"],"summary":"Request Property Mortgage Consultation","description":"Record a property mortgage consultation request in the CRM.\n\nThe endpoint ensures that the requester exists as a person in the CRM, gets\nthe appropriate mortgage pipeline, creates a new CRM deal for the\nconsultation, and attaches a note with key details (first name, last name,\nemail, phone number, property address, property price, market valuation,\nand free equity).\n\nArgs:\n    request: Consultation request data (first_name, last_name, email,\n        phone_number, property_id).","operationId":"request_property_mortgage_consultation_api_mortgage_request_property_mortgage_consultation_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyMortgageConsultationRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/property/search-by-address":{"get":{"tags":["property"],"summary":"Search Property By Address","description":"Search properties by address and return search results.\n\nArgs:\n    request: The request containing search parameters.\n\nReturns:\n    A list of matching properties, each including details such as\n    `ruian_id`, `text`, `place_name`, geographic center coordinates, and\n    optional `building_type` and `property_type`.\n\nNote:\n    The original Java implementation uses MapBox instead of CenovaMapa in\n    the test environment. Additionally, the request model contains\n    parameters (`limit` and `language`) that are used only in the MapBox\n    call.","operationId":"search_property_by_address_api_property_search_by_address_get","parameters":[{"name":"language","in":"query","required":true,"schema":{"type":"string","title":"Language"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":10,"default":5,"title":"Limit"}},{"name":"searchText","in":"query","required":true,"schema":{"type":"string","minLength":3,"title":"Searchtext"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PropertySearchResponse"},"title":"Response Search Property By Address Api Property Search By Address Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/search-by-geo":{"get":{"tags":["property"],"summary":"Search Property By Geo","description":"Search properties by geographic coordinates and return search results.\n\nArgs:\n    request: The request containing search parameters with latitude and\n    longitude.\n\nReturns:\n    A list of matching properties, each including details such as\n    `ruian_id`, `text`, `place_name`, geographic center coordinates, and\n    optional `building_type` and `property_type`.\n\nNote:\n    The original Java implementation uses MapBox instead of CenovaMapa in\n    the test environment. Additionally, the request model contains\n    parameters (`limit` and `language`) that are used only in the MapBox\n    call.","operationId":"search_property_by_geo_api_property_search_by_geo_get","parameters":[{"name":"language","in":"query","required":true,"schema":{"type":"string","title":"Language"}},{"name":"lat","in":"query","required":true,"schema":{"type":"number","title":"Lat"}},{"name":"limit","in":"query","required":true,"schema":{"type":"integer","title":"Limit"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","title":"Lon"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PropertySearchResponse"},"title":"Response Search Property By Geo Api Property Search By Geo Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/info-by-address":{"get":{"tags":["property"],"summary":"Get Property Info By Address","description":"Get property information based on a given address.\n\nThis endpoint searches for property information using a full address,\nretrieves a list of candidate properties from the Cenovamapa API, sorts\nthem by distance to the provided latitude/longitude, and returns the\nclosest matching property along with the associated apartment numbers.\n\nArgs:\n    request: The request containing the full address and geographic\n        coordinates.\n\nReturns:\n    The closest property match, including ruian ID, property type, and\n    building type.\n\nRaises:\n    HTTPException: If no property information is found (404).","operationId":"get_property_info_by_address_api_property_info_by_address_get","parameters":[{"name":"fullAddress","in":"query","required":true,"schema":{"type":"string","title":"Fulladdress"}},{"name":"latitude","in":"query","required":true,"schema":{"type":"number","title":"Latitude"}},{"name":"longitude","in":"query","required":true,"schema":{"type":"number","title":"Longitude"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyInfoResultResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/bookmarks":{"get":{"tags":["property"],"summary":"Get My Bookmarks","description":"Return bookmarked properties for the user.\n\nReturns:\n    A list of bookmarked properties mapped to response models.","operationId":"get_my_bookmarks_api_property_bookmarks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GetPropertyResponse"},"type":"array","title":"Response Get My Bookmarks Api Property Bookmarks Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/property/valuations":{"get":{"tags":["property"],"summary":"Get My Valuation History","description":"Return the user's valuation history.\n\nReturns:\n    A list of property valuation response models.","operationId":"get_my_valuation_history_api_property_valuations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PropertyValuationResponse"},"type":"array","title":"Response Get My Valuation History Api Property Valuations Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["property"],"summary":"Create Valuation","description":"Create a new property valuation and return the valuation data.\n\nThis endpoint evaluates the current market value of a residential property\nbased on the data provided in the request. The valuation considers recent\nmarket trends and compares the current estimated price to the estimated\nprice from one year ago. The valuation is saved in the database and linked\nto the corresponding property.\n\nArgs:\n    request: The property valuation request.\n\nReturns:\n    The created property valuation mapped to response model.","operationId":"create_valuation_api_property_valuations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyValuationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyValuationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/property/{property_id}/valuation-report":{"post":{"tags":["property"],"summary":"Download Valuation Report","description":"Generate and return a valuation PDF for a user-owned property.\n\nThe endpoint validates that the user's current plan allows PDF generation\nand verifies the property is owned by the requesting user.\n\nArgs:\n    property_id: Identifier of the property for which the PDF is\n        generated.\n    request: PDF rendering request payload.\n\nReturns:\n    A response containing rendered PDF bytes.\n\nRaises:\n    HTTPException: If the user's plan does not allow PDF export (403), the\n        property does not exist or is not owned by the user (404), payload\n        validation fails on the PDF service side (400), or PDF rendering\n        fails (502).","operationId":"download_valuation_report_api_property__property_id__valuation_report_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyValuationPDFRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/pdf":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/my":{"get":{"tags":["property"],"summary":"Get My Properties","description":"Get my property for the current user.\n\nReturns:\n    A list of objects representing the user's owned properties.","operationId":"get_my_properties_api_property_my_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GetPropertyResponse"},"type":"array","title":"Response Get My Properties Api Property My Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/property/{property_id}":{"get":{"tags":["property"],"summary":"Get Property By Id","description":"Get property by id and update related data.\n\nIt gets the property using its UUID and updates its five-year valuation if\nit is outdated. If the five-years-ago valuation is missing, it is fetched\nsynchronously so the response can include it. If the building type is\nmissing, it is also updated. Additionally, background tasks are scheduled\nto populate the valuation graph for both the last five years and the full\nhistory. The endpoint also checks whether the property is bookmarked or\nowned by the current user.\n\nArgs:\n    property_id: The UUID of the property.\n\nReturns:\n    The property with updated data.\n\nRaises:\n    HTTPException: If the property is not found.","operationId":"get_property_by_id_api_property__property_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPropertyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/{property_id}/add-my":{"put":{"tags":["property"],"summary":"Add My Property","description":"Add a property to user's ownership after subscription limit validation.\n\nThe endpoint verifies that the property exists and ensures it is not\nalready owned by another user. It also checks the user's active\nsubscription plan to confirm they have not exceeded their allowed property\nownership limit. If validations pass, the property ownership is assigned to\nthe user.\n\nArgs:\n    property_id: The unique identifier of the property.\n\nRaises:\n    HTTPException: If property is not found, already owned by another user,\n        or the user exceeds their allowed property ownership limit.","operationId":"add_my_property_api_property__property_id__add_my_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/{property_id}/remove-my":{"put":{"tags":["property"],"summary":"Remove My Property","description":"Remove property from user's ownership and clear related mortgage info.\n\nThis endpoint first verifies that the property ownership record exists and\nbelongs to the user. It then deletes the ownership record and removes any\nassociated mortgage info (including one-time payments).\n\nArgs:\n    property_id: The unique identifier of the property.\n\nRaises:\n    HTTPException: If the property is not owned by the user or the\n        ownership record is not found.","operationId":"remove_my_property_api_property__property_id__remove_my_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/{property_id}/bookmark":{"put":{"tags":["property"],"summary":"Bookmark Property","description":"Bookmark a property for the current user.\n\nArgs:\n    property_id: The UUID of the property.","operationId":"bookmark_property_api_property__property_id__bookmark_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/{property_id}/unbookmark":{"put":{"tags":["property"],"summary":"Unbookmark Property","description":"Unbookmark a property for the current user.\n\nArgs:\n    property_id: The UUID of the property.","operationId":"unbookmark_property_api_property__property_id__unbookmark_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/property/{property_id}/valuations/graph":{"get":{"tags":["property"],"summary":"Get Property Valuation Graph","description":"Return the valuation graph for a property.\n\nArgs:\n    property_id: The UUID of the property.\n    period: Period filter for the graph, defaults to `FIVE_YEARS`.\n\nReturns:\n    A PropertyValuationGraph with status and graph data records.","operationId":"get_property_valuation_graph_api_property__property_id__valuations_graph_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Id"}},{"name":"period","in":"query","required":false,"schema":{"$ref":"#/components/schemas/GraphPeriod","default":"FIVE_YEARS"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyValuationGraph"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inherited-property/valuations":{"get":{"tags":["inherited-property"],"summary":"Get Inherited Valuations","description":"Return inherited property valuations for the current user.\n\nReturns:\n    A list of InheritedPropertyValuationResponse objects.","operationId":"get_inherited_valuations_api_inherited_property_valuations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InheritedPropertyValuationResponse"},"type":"array","title":"Response Get Inherited Valuations Api Inherited Property Valuations Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["inherited-property"],"summary":"Create Inherited Valuation","description":"Create a new inherited property valuation.\n\nThis endpoint calculates both the current and historical valuation of a\nproperty. The historical valuation is based on the provided date of death\nand is saved for generating the PDF report. The current valuation is\nreturned immediately to the client.\n\nArgs:\n    request: The inherited property valuation request data from the client.\n    user: The authenticated user performing the request.\n\nReturns:\n    The current valuation data including computed price, valuation date,\n    and location details.","operationId":"create_inherited_valuation_api_inherited_property_valuations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InheritedPropertyValuationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InheritedPropertyValuationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/inherited-property/valuations/{id}":{"get":{"tags":["inherited-property"],"summary":"Get Inherited Valuation By Id","description":"Return a specific inherited property valuation for the current user.\n\nArgs:\n    id: The identifier of the inherited property valuation.\n\nReturns:\n    InheritedPropertyValuationResponse object with valuation details.","operationId":"get_inherited_valuation_by_id_api_inherited_property_valuations__id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InheritedPropertyValuationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inherited-property/valuations/{property_valuation_id}/report":{"get":{"tags":["inherited-property"],"summary":"Get Inherited Valuation Report","description":"Return inherited property valuation report as a PDF.\n\nArgs:\n    property_valuation_id: The identifier of the inherited property\n        valuation.\n\nReturns:\n    A PDF report as bytes.","operationId":"get_inherited_valuation_report_api_inherited_property_valuations__property_valuation_id__report_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"property_valuation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Property Valuation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/pdf":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/payment/prices":{"get":{"tags":["payment"],"summary":"Get Prices","description":"Get stripe prices data.\n\nReturns active Stripe prices (up to 100) and excluding entries with\ninactive products.\n\nReturns:\n    List of stripe price details.","operationId":"get_prices_api_payment_prices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PaymentPrice"},"type":"array","title":"Response Get Prices Api Payment Prices Get"}}}}}}},"/api/payment/customer-portal-session":{"get":{"tags":["payment"],"summary":"Get Customer Portal Session","description":"Create customer portal session for user.\n\nArgs:\n  return_url: URL to redirect after finishing the session.\n\nReturns:\n    Customer portal session details.","operationId":"get_customer_portal_session_api_payment_customer_portal_session_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"returnUrl","in":"query","required":true,"schema":{"type":"string","title":"Returnurl"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerPortalSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/payment/subscription-intent":{"post":{"tags":["payment"],"summary":"Create Subscription Intent","description":"Start a Stripe subscription checkout for the authenticated user.\n\nWhat it does:\n- Validates the user has a Stripe customer ID.\n- Prevents duplicate or conflicting subscriptions:\n    - Blocks if an active or pending (past_due/unpaid) subscription exists.\n    - Cancels and removes an incomplete subscription if present.\n- Creates a Stripe subscription with payment_behavior=default_incomplete,\n  optionally applying a promotion code.\n- Returns the confirmation client_secret from the latest invoice when a\n  payment is required, or a pending SetupIntent client_secret for free\n  subscriptions. The response also includes an intent type so the frontend\n  knows whether to call confirmPayment() or confirmSetup().\n- Persists the subscription in the local DB with status INCOMPLETE, to be\n  updated by webhook or explicit status refresh.\n\nArgs:\n    request: Contains the price ID and optional promo code.\n\nReturns:\n    Client secret, intent type, Stripe subscription ID, and mapped\n    subscription plan.\n\nRaises:\n    HTTPException 400: User has an active or pending subscription.\n    HTTPException 404: Expected subscription record is not found.","operationId":"create_subscription_intent_api_payment_subscription_intent_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSubscriptionIntentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentSubscriptionIntent"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/payment/create-checkout-session":{"post":{"tags":["payment"],"summary":"Create Checkout Session","description":"Create a new checkout session for the authenticated user.\n\nThis endpoint creates a Stripe checkout session for a payment. It sets up\nrequired parameters such as customer, return URL, automatic tax, billing\naddress collection, and promotion codes. Metadata is attached for the\ninherited property valuation.\n\nArgs:\n    request: Contains return_url, inherited_property_valuation_id, and\n        price_id.\n\nReturns:\n    The checkout session details including session_id and client_secret.","operationId":"create_checkout_session_api_payment_create_checkout_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCheckoutSessionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/payment/update-plan":{"post":{"tags":["payment"],"summary":"Update Subscription Plan","description":"Update the authenticated user's subscription to a new billing plan.\n\nThis endpoint changes the user's active Stripe subscription to a different\npricing plan, as specified by the provided `price_id`. The change is\napplied immediately. Any incomplete payment resulting from the change will\nbe left pending.\n\nThis endpoint is intended for authenticated users with an existing active\nsubscription. The caller must provide a valid Stripe `price_id`\ncorresponding to a supported plan.\n\nOn success, the user's subscription is updated in both Stripe and the\ninternal system, and a 204 No Content response is returned.\n\nArgs:\n    request: Object containing the new `price_id` to switch to.","operationId":"update_subscription_plan_api_payment_update_plan_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSubscriptionPlanRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/payment/discount-info":{"post":{"tags":["payment"],"summary":"Get Discount Info","description":"Get discount information based on a provided promotion code.\n\nThis endpoint checks the validity of an active Stripe promotion code and\nextracts the related discount information.\n\nArgs:\n    request: Request payload containing the promotion code to look up.\n\nReturns:\n    A DiscountInfo object containing the discount amount in cents (if any),\n    percentage off (if any), and the duration in months for which the\n    discount applies.","operationId":"get_discount_info_api_payment_discount_info_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscountInfoRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscountInfo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/payment/update-subscription-status":{"post":{"tags":["payment"],"summary":"Update Subscription Status","description":"Update the Stripe subscription status for the current user.\n\nFetches the latest subscription details from Stripe and updates the\nassociated subscription record in the local database. If Stripe reports\nactive/trialing with a missing default payment method and without a\npending setup intent, we log for manual review and continue status update.\nIf Stripe returns active/trialing without current_period_end, we skip\nlocal sync and rely on webhook/next sync payload to avoid storing an\ninconsistent state.","operationId":"update_subscription_status_api_payment_update_subscription_status_post","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]}]}},"/api/payment/cancel-subscription":{"post":{"tags":["payment"],"summary":"Cancel Subscription","description":"Cancel the Stripe subscription at the end of the current billing period.\n\nThis endpoint retrieves the user's subscription from the database, updates\nthe Stripe subscription to cancel at period end and marks the local\nsubscription record accordingly.","operationId":"cancel_subscription_api_payment_cancel_subscription_post","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]}]}},"/api/payment/set-default-payment-method/{payment_method_id}":{"post":{"tags":["payment"],"summary":"Set Default Payment Method","description":"Set default payment method for the customer's future invoices.\n\nArgs:\n    payment_method_id: The new default payment method ID.\n\nRaises:\n    HTTPException: If an error occurs during the Stripe update.","operationId":"set_default_payment_method_api_payment_set_default_payment_method__payment_method_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payment_method_id","in":"path","required":true,"schema":{"type":"string","title":"Payment Method Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/payment/update-billing-address":{"post":{"tags":["payment"],"summary":"Update Billing Address","description":"Update the billing address and optional company details for Stripe.\n\nUpdates the customer address, optional company name, and invoice custom\nfields. When company details are omitted, clears invoice custom fields and\nremoves existing VAT IDs so the customer reverts to a personal profile.\n\nArgs:\n    request: Contains city, country, line1, line2, postal_code, state, and\n        optional company_name, company_id, and vat_id.\n\nRaises:\n    HTTPException: If updating the billing address on Stripe fails.","operationId":"update_billing_address_api_payment_update_billing_address_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBillingAddressRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}}},"components":{"schemas":{"AttachedFile":{"properties":{"contentType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contenttype"},"fileId":{"type":"string","title":"Fileid"},"fileName":{"type":"string","title":"Filename"},"fileType":{"$ref":"#/components/schemas/FileType"}},"type":"object","required":["fileId","fileName","fileType"],"title":"AttachedFile","by_alias":true},"BuildingConstructionType":{"type":"string","enum":["BRICK","NEW_CONSTRUCTION","PANEL","UNKNOWN"],"title":"BuildingConstructionType"},"CenovaMapaItem":{"properties":{"desc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Desc"},"id":{"type":"integer","title":"Id"}},"type":"object","required":["id"],"title":"CenovaMapaItem","by_alias":true},"CheckoutSessionResponse":{"properties":{"clientSecret":{"type":"string","title":"Clientsecret"}},"type":"object","required":["clientSecret"],"title":"CheckoutSessionResponse","by_alias":true},"CheckoutSessionStatus":{"type":"string","enum":["NO_PAYMENT_REQUIRED","PAID","UNPAID"],"title":"CheckoutSessionStatus"},"Condition":{"type":"string","enum":["COMPLETE_RECONSTRUCTION","NO_RECONSTRUCTION","PARTIAL_RECONSTRUCTION"],"title":"Condition"},"CreateCheckoutSessionRequest":{"properties":{"inheritedPropertyValuationId":{"type":"string","format":"uuid","title":"Inheritedpropertyvaluationid"},"priceId":{"type":"string","title":"Priceid"},"returnUrl":{"type":"string","title":"Returnurl"}},"type":"object","required":["inheritedPropertyValuationId","priceId","returnUrl"],"title":"CreateCheckoutSessionRequest","by_alias":true},"CreateSubscriptionIntentRequest":{"properties":{"priceId":{"type":"string","title":"Priceid"},"promoCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Promocode"}},"type":"object","required":["priceId"],"title":"CreateSubscriptionIntentRequest","by_alias":true},"CrmDealStatus":{"type":"string","enum":["ALL_NOT_DELETED","DELETED","LOST","OPEN","WON"],"title":"CrmDealStatus"},"CustomerPortalSessionResponse":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"CustomerPortalSessionResponse","by_alias":true},"DiscountInfo":{"properties":{"amountOff":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amountoff"},"durationInMonths":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Durationinmonths"},"percentOff":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Percentoff"}},"type":"object","title":"DiscountInfo","by_alias":true},"DiscountInfoRequest":{"properties":{"promoCode":{"type":"string","title":"Promocode"}},"type":"object","required":["promoCode"],"title":"DiscountInfoRequest","by_alias":true},"EditListedPropertyRequest":{"properties":{"description":{"type":"string","title":"Description"},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price"},"apartmentArea":{"type":"number","title":"Apartmentarea"},"apartmentLayout":{"anyOf":[{"$ref":"#/components/schemas/ListedPropertyLayout"},{"type":"null"}]},"floor":{"type":"integer","title":"Floor"},"totalFloors":{"type":"integer","title":"Totalfloors"},"buildingType":{"$ref":"#/components/schemas/app__models__listing__BuildingType"},"buildingCondition":{"$ref":"#/components/schemas/Condition"},"propertyCondition":{"$ref":"#/components/schemas/Condition"},"heatingType":{"$ref":"#/components/schemas/HeatingType"},"balconyArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Balconyarea"},"loggiaArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Loggiaarea"},"terraceArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Terracearea"},"cellarArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cellararea"},"parkingPlaces":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parkingplaces"},"elevator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Elevator"},"barrierFree":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Barrierfree"},"airConditioner":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Airconditioner"},"reception":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reception"},"balcony":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Balcony"},"loggia":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Loggia"},"terrace":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Terrace"},"cellar":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cellar"}},"type":"object","required":["description","apartmentArea","floor","totalFloors","buildingType","buildingCondition","propertyCondition","heatingType"],"title":"EditListedPropertyRequest","by_alias":true},"FileType":{"type":"string","enum":["ID_CARD","IMAGE_LARGE","IMAGE_SMALL","INCOME_SOURCE","PASSPORT_OR_DRIVER_LICENSE","PDF_LOGO"],"title":"FileType"},"FlatzoneAuth":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"},"token":{"type":"string","title":"Token"}},"type":"object","required":["refresh_token","token"],"title":"FlatzoneAuth"},"FloorType":{"type":"string","enum":["GROUND","OTHER","TOP"],"title":"FloorType"},"GeoPosition":{"properties":{"lat":{"type":"number","title":"Lat"},"lon":{"type":"number","title":"Lon"}},"type":"object","required":["lat","lon"],"title":"GeoPosition"},"GetPropertyResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"ruianId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ruianid"},"buildingType":{"anyOf":[{"$ref":"#/components/schemas/app__models__property__BuildingType"},{"type":"null"}]},"ownershipType":{"anyOf":[{"$ref":"#/components/schemas/OwnershipType"},{"type":"null"}]},"propertyType":{"$ref":"#/components/schemas/PropertyType"},"createdBy":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Createdby"},"createdDate":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createddate"},"isBookmarked":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isbookmarked"},"isMy":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ismy"},"fullAddress":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fulladdress"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"street":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Street"},"postCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postcode"},"locality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locality"},"regionCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Regioncode"},"countryCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Countrycode"},"houseNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Housenumber"},"apartmentArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apartmentarea"},"apartmentNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apartmentnumber"},"floor":{"anyOf":[{"$ref":"#/components/schemas/FloorType"},{"type":"null"}]},"heating":{"anyOf":[{"$ref":"#/components/schemas/HeatingType"},{"type":"null"}]},"houseType":{"anyOf":[{"$ref":"#/components/schemas/HouseType"},{"type":"null"}]},"houseSpecification":{"anyOf":[{"$ref":"#/components/schemas/HouseSpecification"},{"type":"null"}]},"houseBalcony":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Housebalcony"},"houseGarage":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Housegarage"},"houseTerrace":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Houseterrace"},"houseParkingSpace":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Houseparkingspace"},"houseFurnished":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Housefurnished"},"houseBarrierFree":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Housebarrierfree"},"housePlotArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Houseplotarea"},"houseBuiltArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Housebuiltarea"},"houseUsableArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Houseusablearea"},"houseConstructionYear":{"anyOf":[{"$ref":"#/components/schemas/HouseConstructionYear"},{"type":"null"}]},"houseReconstructionYear":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Housereconstructionyear"},"houseReconstruction":{"anyOf":[{"$ref":"#/components/schemas/HouseReconstruction"},{"type":"null"}]},"buildingReconstructionCondition":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]},"apartmentReconstructionCondition":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]},"fiveYearsAgoPrice":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fiveyearsagoprice"},"purchasedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Purchasedat"},"purchasedFor":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Purchasedfor"},"valuationDiffSinceLastYear":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Valuationdiffsincelastyear"},"valuationDate":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valuationdate"},"valuation":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Valuation"},"valuationM2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Valuationm2"},"valuationStep":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Valuationstep"}},"type":"object","required":["id","propertyType"],"title":"GetPropertyResponse","by_alias":true},"GetTokenResponse":{"properties":{"jwt":{"type":"string","title":"Jwt"}},"type":"object","required":["jwt"],"title":"GetTokenResponse"},"GraphPeriod":{"type":"string","enum":["FIVE_YEARS","SINCE_BEGINNING","SINCE_PURCHASE"],"title":"GraphPeriod"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HeatMapResult":{"properties":{"avgPrice":{"type":"number","title":"Avgprice"},"lat":{"type":"number","title":"Lat"},"leftBottomLat":{"type":"number","title":"Leftbottomlat"},"leftBottomLon":{"type":"number","title":"Leftbottomlon"},"lon":{"type":"number","title":"Lon"},"rightTopLat":{"type":"number","title":"Righttoplat"},"rightTopLon":{"type":"number","title":"Righttoplon"}},"type":"object","required":["avgPrice","lat","leftBottomLat","leftBottomLon","lon","rightTopLat","rightTopLon"],"title":"HeatMapResult","by_alias":true},"HeatMapType":{"type":"string","enum":["LEASE","SALE","TRANSACTIONS"],"title":"HeatMapType"},"HeatingType":{"type":"string","enum":["CENTRAL","OTHER","REMOTE"],"title":"HeatingType"},"HouseConstructionYear":{"type":"string","enum":["BEFORE_1919","YEARS_1920_1945","YEARS_1946_1960","YEARS_1961_1970","YEARS_1971_1980","YEARS_1981_1990","YEARS_1991_2000","YEARS_2000_2011","AFTER_2012"],"title":"HouseConstructionYear"},"HouseReconstruction":{"type":"string","enum":["COMMONLY_MAINTAINED","COMPLETE","WITHOUT"],"title":"HouseReconstruction"},"HouseSpecification":{"type":"string","enum":["BRICK","OTHER","WOODEN"],"title":"HouseSpecification"},"HouseType":{"type":"string","enum":["DETACHED","OTHER","SEMIDETACHED","TERRACED"],"title":"HouseType"},"HxIndex":{"properties":{"indexValue":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Indexvalue"}},"type":"object","title":"HxIndex","by_alias":true},"InheritedPropertyValuationRequest":{"properties":{"fullAddress":{"type":"string","title":"Fulladdress"},"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"},"ruianId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ruianid"},"apartmentArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apartmentarea"},"apartmentNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apartmentnumber"},"dateOfDeath":{"type":"string","format":"date","title":"Dateofdeath"}},"type":"object","required":["fullAddress","latitude","longitude","dateOfDeath"],"title":"InheritedPropertyValuationRequest","by_alias":true},"InheritedPropertyValuationResponse":{"properties":{"id":{"type":"string","title":"Id"},"valuatedBy":{"type":"string","title":"Valuatedby"},"fullAddress":{"type":"string","title":"Fulladdress"},"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"},"apartmentNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apartmentnumber"},"apartmentArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apartmentarea"},"currentValuationDate":{"type":"string","format":"date-time","title":"Currentvaluationdate"},"currentValuationPrice":{"type":"number","title":"Currentvaluationprice"},"currentValuationSquareMeterPrice":{"type":"number","title":"Currentvaluationsquaremeterprice"},"checkoutSessionPaymentStatus":{"anyOf":[{"$ref":"#/components/schemas/CheckoutSessionStatus"},{"type":"null"}]}},"type":"object","required":["id","valuatedBy","fullAddress","latitude","longitude","currentValuationDate","currentValuationPrice","currentValuationSquareMeterPrice"],"title":"InheritedPropertyValuationResponse","by_alias":true},"ListedPropertyLayout":{"type":"string","enum":["ATYPICAL","ONE_PLUS_KK","ONE_PLUS_ONE","TWO_PLUS_KK","TWO_PLUS_ONE","THREE_PLUS_KK","THREE_PLUS_ONE","FOUR_PLUS_KK","FOUR_PLUS_ONE","FIVE_PLUS_KK","FIVE_PLUS_ONE","SIX_PLUS_AND_BIGGER"],"title":"ListedPropertyLayout"},"ListedPropertyResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"userId":{"type":"string","format":"uuid","title":"Userid"},"ruianId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ruianid"},"state":{"$ref":"#/components/schemas/ListedPropertyState"},"cenovamapaId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cenovamapaid"},"address":{"type":"string","title":"Address"},"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"},"region":{"anyOf":[{"$ref":"#/components/schemas/CenovaMapaItem"},{"type":"null"}]},"district":{"anyOf":[{"$ref":"#/components/schemas/CenovaMapaItem"},{"type":"null"}]},"municipality":{"anyOf":[{"$ref":"#/components/schemas/CenovaMapaItem"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price"},"apartmentArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apartmentarea"},"apartmentLayout":{"anyOf":[{"$ref":"#/components/schemas/ListedPropertyLayout"},{"type":"null"}]},"apartmentNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apartmentnumber"},"floor":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Floor"},"totalFloors":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Totalfloors"},"mainImageFileId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mainimagefileid"},"buildingType":{"anyOf":[{"$ref":"#/components/schemas/app__models__listing__BuildingType"},{"type":"null"}]},"buildingCondition":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]},"propertyCondition":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]},"heatingType":{"anyOf":[{"$ref":"#/components/schemas/HeatingType"},{"type":"null"}]},"balconyArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Balconyarea"},"loggiaArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Loggiaarea"},"terraceArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Terracearea"},"cellarArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cellararea"},"parkingPlaces":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parkingplaces"},"elevator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Elevator"},"barrierFree":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Barrierfree"},"airConditioner":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Airconditioner"},"reception":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reception"},"balcony":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Balcony"},"loggia":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Loggia"},"terrace":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Terrace"},"cellar":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cellar"},"agreedWithLegalTerms":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Agreedwithlegalterms"},"createdAt":{"type":"string","format":"date-time","title":"Createdat"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat"}},"type":"object","required":["id","userId","state","address","latitude","longitude","createdAt","updatedAt"],"title":"ListedPropertyResponse","by_alias":true},"ListedPropertyState":{"type":"string","enum":["DRAFT","PUBLISHED"],"title":"ListedPropertyState"},"LocationAveragePrice":{"properties":{"locationType":{"type":"integer","title":"Locationtype"},"locationDesc":{"type":"string","title":"Locationdesc"},"averageSalePriceOfApartment":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Averagesalepriceofapartment"},"averagePricePerSquare":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Averagepricepersquare"},"averagePricePer1kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Averagepriceper1Kk"},"averagePricePer2kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Averagepriceper2Kk"},"averagePricePer3kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Averagepriceper3Kk"},"averagePricePer4kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Averagepriceper4Kk"},"averagePricePer5kkPlus":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Averagepriceper5Kkplus"},"averageSquareMeterPricePer1kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Averagesquaremeterpriceper1Kk"},"averageSquareMeterPricePer2kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Averagesquaremeterpriceper2Kk"},"averageSquareMeterPricePer3kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Averagesquaremeterpriceper3Kk"},"averageSquareMeterPricePer4kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Averagesquaremeterpriceper4Kk"},"averageSquareMeterPricePer5kkPlus":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Averagesquaremeterpriceper5Kkplus"}},"type":"object","required":["locationType","locationDesc"],"title":"LocationAveragePrice","by_alias":true},"LocationAveragePriceGraph":{"properties":{"graphData":{"anyOf":[{"items":{"$ref":"#/components/schemas/LocationAveragePriceGraphData"},"type":"array"},{"type":"null"}],"title":"Graphdata"},"locationDesc":{"type":"string","title":"Locationdesc"},"locationType":{"type":"integer","title":"Locationtype"}},"type":"object","required":["locationDesc","locationType"],"title":"LocationAveragePriceGraph","by_alias":true},"LocationAveragePriceGraphData":{"properties":{"avgPrice":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avgprice"},"date":{"type":"string","format":"date","title":"Date"}},"type":"object","required":["avgPrice","date"],"title":"LocationAveragePriceGraphData","by_alias":true},"LocationPriceChange":{"properties":{"locationDesc":{"type":"string","title":"Locationdesc"},"locationType":{"type":"integer","title":"Locationtype"},"priceChangeAverage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pricechangeaverage"},"priceChangePer1kk":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pricechangeper1Kk"},"priceChangePer2kk":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pricechangeper2Kk"},"priceChangePer3kk":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pricechangeper3Kk"},"priceChangePer4kk":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pricechangeper4Kk"},"priceChangePer5kkPlus":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pricechangeper5Kkplus"}},"type":"object","required":["locationDesc","locationType"],"title":"LocationPriceChange","by_alias":true},"LocationPropertyAvailableForSale":{"properties":{"locationDesc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locationdesc"},"locationType":{"type":"integer","title":"Locationtype"},"propertyAvailableForSalePer1kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertyavailableforsaleper1Kk"},"propertyAvailableForSalePer2kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertyavailableforsaleper2Kk"},"propertyAvailableForSalePer3kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertyavailableforsaleper3Kk"},"propertyAvailableForSalePer4kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertyavailableforsaleper4Kk"},"propertyAvailableForSalePer5kkPlus":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertyavailableforsaleper5Kkplus"},"propertyAvailableForSaleTotal":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertyavailableforsaletotal"}},"type":"object","required":["locationType"],"title":"LocationPropertyAvailableForSale","by_alias":true},"LocationPropertyTransactions":{"properties":{"locationDesc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locationdesc"},"locationType":{"type":"integer","title":"Locationtype"},"propertyTransactionsPer1kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertytransactionsper1Kk"},"propertyTransactionsPer2kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertytransactionsper2Kk"},"propertyTransactionsPer3kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertytransactionsper3Kk"},"propertyTransactionsPer4kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertytransactionsper4Kk"},"propertyTransactionsPer5kkPlus":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertytransactionsper5Kkplus"},"propertyTransactionsPercentageAverage":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertytransactionspercentageaverage"},"propertyTransactionsPercentagePer1kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertytransactionspercentageper1Kk"},"propertyTransactionsPercentagePer2kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertytransactionspercentageper2Kk"},"propertyTransactionsPercentagePer3kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertytransactionspercentageper3Kk"},"propertyTransactionsPercentagePer4kk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertytransactionspercentageper4Kk"},"propertyTransactionsPercentagePer5kkPlus":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertytransactionspercentageper5Kkplus"},"propertyTransactionsTotal":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Propertytransactionstotal"}},"type":"object","required":["locationType"],"title":"LocationPropertyTransactions","by_alias":true},"MarketMood":{"properties":{"locationDesc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locationdesc"},"locationLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locationlabel"},"locationType":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Locationtype"},"moodIndicator":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Moodindicator"}},"type":"object","title":"MarketMood","by_alias":true},"MarketSpeed":{"properties":{"locationDesc":{"type":"string","title":"Locationdesc"},"locationType":{"type":"integer","title":"Locationtype"},"speedDiff":{"type":"number","title":"Speeddiff"},"speed":{"type":"number","title":"Speed"}},"type":"object","required":["locationDesc","locationType","speedDiff","speed"],"title":"MarketSpeed","by_alias":true},"MarketType":{"type":"string","enum":["RENTALS","SALES"],"title":"MarketType"},"MortgageApplicationIncomeModel":{"properties":{"incomeAmount":{"type":"number","title":"Incomeamount"},"incomeSource":{"type":"string","title":"Incomesource"}},"type":"object","required":["incomeAmount","incomeSource"],"title":"MortgageApplicationIncomeModel","by_alias":true},"MortgageApplicationRequest":{"properties":{"firstName":{"type":"string","title":"Firstname"},"lastName":{"type":"string","title":"Lastname"},"maidenName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maidenname"},"birthNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Birthnumber"},"nationality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nationality"},"placeOfBirth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Placeofbirth"},"countryOfBirth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Countryofbirth"},"permanentAddress":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Permanentaddress"},"mailingAddress":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mailingaddress"},"email":{"type":"string","format":"email","title":"Email"},"phoneNumber":{"type":"string","title":"Phonenumber"},"dependentRelativesNumber":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Dependentrelativesnumber"},"currentHouseholdType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currenthouseholdtype"},"householdMembersNumber":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Householdmembersnumber"},"monthlyHouseholdExpenses":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthlyhouseholdexpenses"},"incomes":{"items":{"$ref":"#/components/schemas/MortgageApplicationIncomeModel"},"type":"array","title":"Incomes","default":[]},"monthlyInstalments":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthlyinstalments"},"otherMonthlyExpenses":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Othermonthlyexpenses"},"education":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Education"},"maritalStatus":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maritalstatus"},"workingStatus":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workingstatus"},"propertyPrice":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Propertyprice"},"totalMortgageAmount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Totalmortgageamount"},"initialPayment":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Initialpayment"},"mortgagePeriod":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mortgageperiod"}},"type":"object","required":["firstName","lastName","email","phoneNumber","propertyPrice","totalMortgageAmount","initialPayment","mortgagePeriod"],"title":"MortgageApplicationRequest","by_alias":true},"MortgageApplicationResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"userId":{"type":"string","format":"uuid","title":"Userid"},"status":{"$ref":"#/components/schemas/MortgageApplicationStatus","default":"NOT_SUBMITTED"},"crmStatus":{"anyOf":[{"$ref":"#/components/schemas/CrmDealStatus"},{"type":"null"}],"default":"OPEN"},"crmStageName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crmstagename"},"crmStageChangeAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Crmstagechangeat"},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firstname"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastname"},"maidenName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maidenname"},"birthNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Birthnumber"},"nationality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nationality"},"placeOfBirth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Placeofbirth"},"countryOfBirth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Countryofbirth"},"permanentAddress":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Permanentaddress"},"mailingAddress":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mailingaddress"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phoneNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phonenumber"},"dependentRelativesNumber":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Dependentrelativesnumber"},"currentHouseholdType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currenthouseholdtype"},"householdMembersNumber":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Householdmembersnumber"},"monthlyHouseholdExpenses":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthlyhouseholdexpenses"},"incomes":{"items":{"$ref":"#/components/schemas/MortgageApplicationIncomeModel"},"type":"array","title":"Incomes"},"monthlyInstalments":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthlyinstalments"},"otherMonthlyExpenses":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Othermonthlyexpenses"},"education":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Education"},"maritalStatus":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maritalstatus"},"workingStatus":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workingstatus"},"propertyPrice":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Propertyprice"},"totalMortgageAmount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Totalmortgageamount"},"initialPayment":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Initialpayment"},"mortgagePeriod":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mortgageperiod"},"createdAt":{"type":"string","format":"date-time","title":"Createdat"}},"type":"object","required":["id","userId","incomes","createdAt"],"title":"MortgageApplicationResponse","by_alias":true},"MortgageApplicationStatus":{"type":"string","enum":["NOT_SUBMITTED","SUBMITTED"],"title":"MortgageApplicationStatus"},"MortgageConsultationRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"firstName":{"type":"string","title":"Firstname"},"lastName":{"type":"string","title":"Lastname"},"phoneNumber":{"type":"string","title":"Phonenumber"},"propertyPrice":{"type":"number","title":"Propertyprice"},"totalMortgageAmount":{"type":"number","title":"Totalmortgageamount"},"mortgagePeriod":{"type":"integer","title":"Mortgageperiod"},"initialPayment":{"type":"number","title":"Initialpayment"},"initialRate":{"type":"number","title":"Initialrate"},"monthlyPayment":{"type":"number","title":"Monthlypayment"},"totalRepaid":{"type":"number","title":"Totalrepaid"},"yearlyInterestRate":{"type":"number","title":"Yearlyinterestrate"}},"type":"object","required":["email","firstName","lastName","phoneNumber","propertyPrice","totalMortgageAmount","mortgagePeriod","initialPayment","initialRate","monthlyPayment","totalRepaid","yearlyInterestRate"],"title":"MortgageConsultationRequest","by_alias":true},"MortgageInfo":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"property_id":{"type":"string","format":"uuid","title":"Property Id"},"crm_doc_id":{"anyOf":[{"type":"string","maxLength":36},{"type":"null"}],"title":"Crm Doc Id"},"total_mortgage_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Mortgage Amount"},"remaining_amount_to_pay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Remaining Amount To Pay"},"payment_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Payment Amount"},"interest_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Interest Rate"},"mortgage_status":{"$ref":"#/components/schemas/MortgageStatus","default":"ACTIVE"},"bank_name":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Bank Name"},"maturity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Maturity"},"fixation_period_start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Fixation Period Start Date"},"period_of_current_fixation":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Period Of Current Fixation"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["user_id","property_id","created_at"],"title":"MortgageInfo"},"MortgageInfoRequest":{"properties":{"propertyId":{"type":"string","format":"uuid","title":"Propertyid"}},"type":"object","required":["propertyId"],"title":"MortgageInfoRequest","by_alias":true},"MortgageInfoResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"userId":{"type":"string","format":"uuid","title":"Userid"},"propertyId":{"type":"string","format":"uuid","title":"Propertyid"},"totalMortgageAmount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Totalmortgageamount"},"remainingAmountToPay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Remainingamounttopay"},"paymentAmount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Paymentamount"},"interestRate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Interestrate"},"maturity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Maturity"},"fixationPeriodStartDate":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Fixationperiodstartdate"},"periodOfCurrentFixation":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Periodofcurrentfixation"},"mortgageStatus":{"$ref":"#/components/schemas/MortgageStatus"},"bankName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bankname"},"createdAt":{"type":"string","format":"date-time","title":"Createdat"}},"type":"object","required":["id","userId","propertyId","maturity","mortgageStatus","createdAt"],"title":"MortgageInfoResponse","by_alias":true},"MortgageOneTimePaymentRequest":{"properties":{"paymentAmount":{"type":"number","title":"Paymentamount"},"paymentDate":{"type":"string","format":"date","title":"Paymentdate"},"propertyId":{"type":"string","format":"uuid","title":"Propertyid"}},"type":"object","required":["paymentAmount","paymentDate","propertyId"],"title":"MortgageOneTimePaymentRequest","by_alias":true},"MortgagePaidOffRequest":{"properties":{"propertyId":{"type":"string","format":"uuid","title":"Propertyid"}},"type":"object","required":["propertyId"],"title":"MortgagePaidOffRequest","by_alias":true},"MortgageStatus":{"type":"string","enum":["ACTIVE","NO_MORTGAGE","PAID_OFF"],"title":"MortgageStatus"},"Name":{"properties":{"firstName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firstname"},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastname"}},"type":"object","title":"Name","by_alias":true},"NewListedPropertyRequest":{"properties":{"ruianId":{"type":"integer","title":"Ruianid"},"address":{"type":"string","title":"Address"},"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"},"apartmentArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apartmentarea"},"apartmentLayout":{"anyOf":[{"$ref":"#/components/schemas/ListedPropertyLayout"},{"type":"null"}]},"apartmentNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apartmentnumber"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price"},"agreedWithLegalTerms":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Agreedwithlegalterms","default":false}},"type":"object","required":["ruianId","address","latitude","longitude"],"title":"NewListedPropertyRequest","by_alias":true},"NewListedPropertyResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"}},"type":"object","required":["id"],"title":"NewListedPropertyResponse","by_alias":true},"OptimalRentPriceResult":{"properties":{"optimalRentPrice":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Optimalrentprice"}},"type":"object","title":"OptimalRentPriceResult","by_alias":true},"OwnershipType":{"type":"string","enum":["NOT_OWNER","OWNER","REPRESENTATIVE"],"title":"OwnershipType"},"PaymentIntentType":{"type":"string","enum":["payment","setup"],"title":"PaymentIntentType","description":"Enum representing which Stripe intent the frontend must confirm.\n\nPAYMENT is used when the subscription requires an immediate charge,\nSETUP is used when no payment is due yet (free or trial)."},"PaymentPrice":{"properties":{"billingScheme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billingscheme"},"currency":{"type":"string","title":"Currency"},"id":{"type":"string","title":"Id"},"intervalCount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Intervalcount"},"interval":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interval"},"productDefaultPrice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Productdefaultprice"},"productDescription":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Productdescription"},"productId":{"type":"string","title":"Productid"},"productName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Productname"},"taxBehavior":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taxbehavior"},"type":{"type":"string","title":"Type"},"unitAmountDecimal":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Unitamountdecimal"},"unitAmount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unitamount"}},"type":"object","required":["currency","id","productId","type"],"title":"PaymentPrice","by_alias":true},"PaymentSubscriptionIntent":{"properties":{"clientSecret":{"type":"string","title":"Clientsecret"},"subscriptionId":{"type":"string","title":"Subscriptionid"},"subscriptionPlan":{"$ref":"#/components/schemas/SubscriptionPlan"},"type":{"$ref":"#/components/schemas/PaymentIntentType"}},"type":"object","required":["clientSecret","subscriptionId","subscriptionPlan","type"],"title":"PaymentSubscriptionIntent","by_alias":true},"PresignedFileTokenResponse":{"properties":{"fileId":{"type":"string","title":"Fileid"},"presignedUploadUrl":{"type":"string","title":"Presigneduploadurl"}},"type":"object","required":["fileId","presignedUploadUrl"],"title":"PresignedFileTokenResponse","by_alias":true},"PriceDevelopment":{"properties":{"locationDesc":{"type":"string","title":"Locationdesc"},"locationType":{"type":"integer","title":"Locationtype"},"priceRelativeChangeToLastYear":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pricerelativechangetolastyear"}},"type":"object","required":["locationDesc","locationType"],"title":"PriceDevelopment","by_alias":true},"PropertiesInTheAreaPriceInfoResponse":{"properties":{"buildingConstructionType":{"$ref":"#/components/schemas/BuildingConstructionType"},"locationAveragePrices":{"items":{"$ref":"#/components/schemas/LocationAveragePrice"},"type":"array","title":"Locationaverageprices"},"locationAveragePriceGraphData":{"anyOf":[{"items":{"$ref":"#/components/schemas/LocationAveragePriceGraph"},"type":"array"},{"type":"null"}],"title":"Locationaveragepricegraphdata"},"locationPriceChanges":{"anyOf":[{"items":{"$ref":"#/components/schemas/LocationPriceChange"},"type":"array"},{"type":"null"}],"title":"Locationpricechanges"},"locationPropertyAvailableForSales":{"anyOf":[{"items":{"$ref":"#/components/schemas/LocationPropertyAvailableForSale"},"type":"array"},{"type":"null"}],"title":"Locationpropertyavailableforsales"},"locationPropertyTransactions":{"anyOf":[{"items":{"$ref":"#/components/schemas/LocationPropertyTransactions"},"type":"array"},{"type":"null"}],"title":"Locationpropertytransactions"}},"type":"object","required":["buildingConstructionType","locationAveragePrices"],"title":"PropertiesInTheAreaPriceInfoResponse","by_alias":true},"PropertiesInfo":{"properties":{"totalFreeEquity":{"type":"number","title":"Totalfreeequity","default":0},"totalOwnedPropertiesValue":{"type":"number","title":"Totalownedpropertiesvalue","default":0},"totalPurchasePrice":{"type":"number","title":"Totalpurchaseprice","default":0}},"type":"object","title":"PropertiesInfo","by_alias":true},"PropertyInfoResultResponse":{"properties":{"apartmentNumbers":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Apartmentnumbers"},"buildingType":{"anyOf":[{"$ref":"#/components/schemas/app__models__property__BuildingType"},{"type":"null"}]},"propertyType":{"anyOf":[{"$ref":"#/components/schemas/PropertyType"},{"type":"null"}]},"ruianId":{"type":"integer","title":"Ruianid"}},"type":"object","required":["ruianId"],"title":"PropertyInfoResultResponse","by_alias":true},"PropertyMortgageConsultationRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"firstName":{"type":"string","title":"Firstname"},"lastName":{"type":"string","title":"Lastname"},"phoneNumber":{"type":"string","title":"Phonenumber"},"propertyId":{"type":"string","format":"uuid","title":"Propertyid"}},"type":"object","required":["email","firstName","lastName","phoneNumber","propertyId"],"title":"PropertyMortgageConsultationRequest","by_alias":true},"PropertyPriceInfoResult":{"properties":{"priceChange":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pricechange"}},"type":"object","title":"PropertyPriceInfoResult","by_alias":true},"PropertySearchResponse":{"properties":{"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"buildingType":{"anyOf":[{"$ref":"#/components/schemas/app__models__property__BuildingType"},{"type":"null"}]},"center":{"$ref":"#/components/schemas/GeoPosition"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"countryCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Countrycode"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"locality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locality"},"placeName":{"type":"string","title":"Placename"},"postCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postcode"},"propertyType":{"anyOf":[{"$ref":"#/components/schemas/PropertyType"},{"type":"null"}]},"regionCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Regioncode"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"ruianId":{"type":"integer","title":"Ruianid"},"street":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Street"},"text":{"type":"string","title":"Text"}},"type":"object","required":["center","placeName","ruianId","text"],"title":"PropertySearchResponse","by_alias":true},"PropertyType":{"type":"string","enum":["APARTMENT","HOUSE"],"title":"PropertyType"},"PropertyValuationGraph":{"properties":{"graphData":{"items":{"$ref":"#/components/schemas/PropertyValuationGraphData"},"type":"array","title":"Graphdata"},"status":{"type":"string","title":"Status"}},"type":"object","required":["graphData","status"],"title":"PropertyValuationGraph","by_alias":true},"PropertyValuationGraphData":{"properties":{"valuationDate":{"type":"string","format":"date-time","title":"Valuationdate"},"valuationPrice":{"type":"integer","title":"Valuationprice"},"valuationSquareMeterPrice":{"type":"integer","title":"Valuationsquaremeterprice"}},"type":"object","required":["valuationDate","valuationPrice","valuationSquareMeterPrice"],"title":"PropertyValuationGraphData","by_alias":true},"PropertyValuationPDFContext":{"properties":{"apartmentArea":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apartmentarea","description":"Apartment only"},"apartmentNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apartmentnumber","description":"Apartment only"},"apartmentReconstructionCondition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apartmentreconstructioncondition","description":"Apartment only"},"buildingReconstructionCondition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buildingreconstructioncondition","description":"Apartment only"},"buildingType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buildingtype","description":"Apartment only"},"floor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Floor","description":"Apartment only"},"fullAddress":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fulladdress","description":"Shared"},"heating":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heating","description":"Apartment only"},"houseBuiltArea":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Housebuiltarea","description":"House only"},"houseConstructionYear":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Houseconstructionyear","description":"House only"},"houseFeatures":{"items":{"type":"string"},"type":"array","title":"Housefeatures","description":"House only"},"housePlotArea":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Houseplotarea","description":"House only"},"houseReconstruction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Housereconstruction","description":"House only"},"houseReconstructionYear":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Housereconstructionyear","description":"House only"},"houseSpecification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Housespecification","description":"House only"},"houseType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Housetype","description":"House only"},"houseUsableArea":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Houseusablearea","description":"House only"},"latitude":{"type":"number","title":"Latitude","description":"Shared"},"longitude":{"type":"number","title":"Longitude","description":"Shared"},"pdfName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdfname","description":"Shared"},"valuationConfidenceDescription":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valuationconfidencedescription","description":"Shared"},"valuationConfidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valuationconfidence","description":"Shared"},"valuationDate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valuationdate","description":"Shared"},"valuationDiffFiveYears":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valuationdifffiveyears","description":"Shared"},"valuationDiffSinceLastYear":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valuationdiffsincelastyear","description":"Apartment only"},"valuationM2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valuationm2","description":"Apartment only"},"valuation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valuation","description":"Shared"}},"type":"object","required":["latitude","longitude"],"title":"PropertyValuationPDFContext","by_alias":true},"PropertyValuationPDFLanguage":{"type":"string","enum":["CS","EN"],"title":"PropertyValuationPDFLanguage"},"PropertyValuationPDFRequest":{"properties":{"payload":{"$ref":"#/components/schemas/PropertyValuationPDFRequestPayload"}},"type":"object","required":["payload"],"title":"PropertyValuationPDFRequest","by_alias":true},"PropertyValuationPDFRequestPayload":{"properties":{"context":{"$ref":"#/components/schemas/PropertyValuationPDFContext"},"language":{"$ref":"#/components/schemas/PropertyValuationPDFLanguage","default":"CS"}},"type":"object","required":["context"],"title":"PropertyValuationPDFRequestPayload","by_alias":true},"PropertyValuationRequest":{"properties":{"propertyType":{"$ref":"#/components/schemas/PropertyType"},"buildingType":{"$ref":"#/components/schemas/app__models__property__BuildingType"},"apartmentArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apartmentarea"},"floor":{"anyOf":[{"$ref":"#/components/schemas/FloorType"},{"type":"null"}]},"heating":{"anyOf":[{"$ref":"#/components/schemas/HeatingType"},{"type":"null"}]},"buildingReconstructionCondition":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]},"apartmentReconstructionCondition":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]},"houseSpecification":{"anyOf":[{"$ref":"#/components/schemas/HouseSpecification"},{"type":"null"}]},"houseType":{"anyOf":[{"$ref":"#/components/schemas/HouseType"},{"type":"null"}]},"houseReconstruction":{"anyOf":[{"$ref":"#/components/schemas/HouseReconstruction"},{"type":"null"}]},"houseTerrace":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Houseterrace"},"houseBalcony":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Housebalcony"},"houseGarage":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Housegarage"},"houseBarrierFree":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Housebarrierfree"},"houseParkingSpace":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Houseparkingspace"},"houseFurnished":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Housefurnished"},"housePlotArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Houseplotarea"},"houseBuiltArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Housebuiltarea"},"houseUsableArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Houseusablearea"},"houseConstructionYear":{"anyOf":[{"$ref":"#/components/schemas/HouseConstructionYear"},{"type":"null"}]},"houseReconstructionYear":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Housereconstructionyear"},"ruianId":{"type":"integer","title":"Ruianid"},"ownershipType":{"$ref":"#/components/schemas/OwnershipType"},"fullAddress":{"type":"string","title":"Fulladdress"},"longitude":{"type":"number","title":"Longitude"},"latitude":{"type":"number","title":"Latitude"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"postCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postcode"},"countryCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Countrycode"},"street":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Street"},"locality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locality"},"houseNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Housenumber"},"apartmentNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apartmentnumber"},"regionCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Regioncode"},"language":{"type":"string","title":"Language"},"purchasedFor":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Purchasedfor"},"purchasedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Purchasedat"}},"type":"object","required":["propertyType","buildingType","ruianId","ownershipType","fullAddress","longitude","latitude","language"],"title":"PropertyValuationRequest","by_alias":true},"PropertyValuationResponse":{"properties":{"apartmentArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apartmentarea"},"fullAddress":{"type":"string","title":"Fulladdress"},"id":{"type":"string","title":"Id"},"propertyId":{"type":"string","title":"Propertyid"},"valuatedBy":{"type":"string","title":"Valuatedby"},"valuationDate":{"type":"string","format":"date-time","title":"Valuationdate"},"valuationPrice":{"type":"number","title":"Valuationprice"},"valuationSquareMeterPrice":{"type":"number","title":"Valuationsquaremeterprice"}},"type":"object","required":["fullAddress","id","propertyId","valuatedBy","valuationDate","valuationPrice","valuationSquareMeterPrice"],"title":"PropertyValuationResponse","by_alias":true},"RemainingMortgageAmountGraph":{"properties":{"amounts":{"items":{"type":"number"},"type":"array","title":"Amounts"},"dates":{"items":{"type":"string","format":"date"},"type":"array","title":"Dates"},"oneTimePaymentAmounts":{"items":{"type":"number"},"type":"array","title":"Onetimepaymentamounts"},"oneTimePaymentDates":{"items":{"type":"string","format":"date"},"type":"array","title":"Onetimepaymentdates"}},"type":"object","required":["amounts","dates","oneTimePaymentAmounts","oneTimePaymentDates"],"title":"RemainingMortgageAmountGraph","by_alias":true},"SaveMortgageInfoRequest":{"properties":{"propertyId":{"type":"string","format":"uuid","title":"Propertyid"},"totalMortgageAmount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Totalmortgageamount"},"remainingAmountToPay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Remainingamounttopay"},"paymentAmount":{"type":"number","title":"Paymentamount"},"interestRate":{"type":"number","title":"Interestrate"},"maturity":{"type":"integer","title":"Maturity"},"fixationPeriodStartDate":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Fixationperiodstartdate"},"periodOfCurrentFixation":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Periodofcurrentfixation"},"bankName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bankname"}},"type":"object","required":["propertyId","paymentAmount","interestRate","maturity"],"title":"SaveMortgageInfoRequest","by_alias":true},"SimilarPriceChange":{"properties":{"buildingType":{"$ref":"#/components/schemas/app__models__property__BuildingType"},"currentBuildingType":{"type":"boolean","title":"Currentbuildingtype"},"priceChangeToLastYear":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pricechangetolastyear"}},"type":"object","required":["buildingType","currentBuildingType"],"title":"SimilarPriceChange","by_alias":true},"SubmitInsuranceApplicationRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"firstName":{"type":"string","title":"Firstname"},"lastName":{"type":"string","title":"Lastname"},"phoneNumber":{"type":"string","title":"Phonenumber"},"propertyId":{"type":"string","format":"uuid","title":"Propertyid"}},"type":"object","required":["email","firstName","lastName","phoneNumber","propertyId"],"title":"SubmitInsuranceApplicationRequest","by_alias":true},"SubscriptionInterval":{"type":"string","enum":["MONTH","YEAR"],"title":"SubscriptionInterval"},"SubscriptionPlan":{"type":"string","enum":["BASIC","PRO","INVEST","BUSINESS"],"title":"SubscriptionPlan"},"SubscriptionStatus":{"type":"string","enum":["INCOMPLETE","INCOMPLETE_EXPIRED","TRIALING","ACTIVE","PAST_DUE","CANCELED","UNPAID"],"title":"SubscriptionStatus","description":"Enum representing subscription statuses.\n\n- INCOMPLETE: A successful payment needs to be made within 23 hours to\n  activate the subscription. Or the payment requires action, like customer\n  authentication. Read more about payments that require action.\n  Subscriptions can also be incomplete if there’s a pending payment. In\n  that case, the invoice status would be `open_payment_pending` and the\n  PaymentIntent status would be `processing`.\n\n- INCOMPLETE_EXPIRED: The initial payment on the subscription failed, and\n  no successful payment was made within 23 hours of creating the\n  subscription. These subscriptions don’t bill customers. This status\n  exists so you can track customers that failed to activate their\n  subscriptions.\n\n- TRIALING: If the subscription has a trial, it will start with this status\n  until the end of the trial. There is also a non-payment invoice created\n  for the trial.\n\n- ACTIVE: The subscription is in good standing, and the most recent payment\n  is successful. It’s safe to provision your product for your customer.\n\n- PAST_DUE: Payment on the latest finalized invoice either failed or wasn’t\n  attempted. The subscription continues to create invoices. Your\n  subscription settings determine the subscription’s next state. If the\n  invoice is still unpaid after all Smart Retries have been attempted, you\n  can configure the subscription to move to canceled, unpaid, or leave it\n  as past_due. To move the subscription to active, pay the most recent\n  invoice before its due date. The most recent invoice (other than the very\n  first, subscription creation invoice) failed or hasn’t been attempted.\n  You can manage your failed payment retries and rules in the Stripe\n  Billing dashboard.\n\n- CANCELED: The subscription has been canceled. You’ll encounter an error\n  if you try to update it. Your retry rules can be set up to move failed\n  retries into this status.\n\n- UNPAID: The latest invoice hasn’t been paid, but the subscription remains\n  in place. The latest invoice remains open, and invoices continue to be\n  generated, but payments aren’t attempted. You should revoke access to\n  your product when the subscription is unpaid since payments were already\n  attempted and retried when it was past_due. To move the subscription to\n  active, pay the most recent invoice before its due date. This is an\n  alternative to canceled and leaves invoices open, but doesn’t attempt to\n  pay them until a new payment method is added."},"UpdateBillingAddressRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"city":{"type":"string","title":"City"},"companyId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Companyid"},"companyName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Companyname"},"country":{"type":"string","title":"Country"},"line1":{"type":"string","title":"Line1"},"line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line2"},"postalCode":{"type":"string","title":"Postalcode"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"vatId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vatid"}},"type":"object","required":["city","country","line1","postalCode"],"title":"UpdateBillingAddressRequest","by_alias":true},"UpdateListedPropertyRequest":{"properties":{"ruianId":{"type":"integer","title":"Ruianid"},"address":{"type":"string","title":"Address"},"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price"},"apartmentArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apartmentarea"},"apartmentLayout":{"anyOf":[{"$ref":"#/components/schemas/ListedPropertyLayout"},{"type":"null"}]},"apartmentNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apartmentnumber"},"floor":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Floor"},"totalFloors":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Totalfloors"},"buildingType":{"anyOf":[{"$ref":"#/components/schemas/app__models__listing__BuildingType"},{"type":"null"}]},"buildingCondition":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]},"propertyCondition":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]},"heatingType":{"anyOf":[{"$ref":"#/components/schemas/HeatingType"},{"type":"null"}]},"balconyArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Balconyarea"},"loggiaArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Loggiaarea"},"terraceArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Terracearea"},"cellarArea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cellararea"},"parkingPlaces":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Parkingplaces"},"elevator":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Elevator"},"barrierFree":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Barrierfree"},"airConditioner":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Airconditioner"},"reception":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reception"},"balcony":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Balcony"},"loggia":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Loggia"},"terrace":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Terrace"},"cellar":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cellar"},"agreedWithLegalTerms":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Agreedwithlegalterms","default":false}},"type":"object","required":["ruianId","address","latitude","longitude"],"title":"UpdateListedPropertyRequest","by_alias":true},"UpdateSubscriptionPlanRequest":{"properties":{"priceId":{"type":"string","title":"Priceid"}},"type":"object","required":["priceId"],"title":"UpdateSubscriptionPlanRequest","by_alias":true},"UpdateUserPDFBrandingRequest":{"properties":{"pdfName":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Pdfname"}},"type":"object","title":"UpdateUserPDFBrandingRequest","by_alias":true},"UpdateUserProfileRequest":{"properties":{"portfolioPriceChangeNotificationEnabled":{"type":"boolean","title":"Portfoliopricechangenotificationenabled"}},"type":"object","required":["portfolioPriceChangeNotificationEnabled"],"title":"UpdateUserProfileRequest","by_alias":true},"User":{"properties":{"userId":{"type":"string","title":"Userid"},"name":{"$ref":"#/components/schemas/Name"},"email":{"type":"string","format":"email","title":"Email"},"hxIndex":{"$ref":"#/components/schemas/HxIndex"},"valuationsLeft":{"type":"integer","title":"Valuationsleft"},"propertiesInfo":{"$ref":"#/components/schemas/PropertiesInfo"},"subscriptionPlan":{"$ref":"#/components/schemas/SubscriptionPlan"},"subscriptionInterval":{"anyOf":[{"$ref":"#/components/schemas/SubscriptionInterval"},{"type":"null"}]},"subscriptionStatus":{"anyOf":[{"$ref":"#/components/schemas/SubscriptionStatus"},{"type":"null"}]},"subscriptionPeriodEnd":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Subscriptionperiodend"},"subscriptionCancelledAtPeriodEnd":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Subscriptioncancelledatperiodend"},"subscriptionPaymentAmount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Subscriptionpaymentamount"},"portfolioPriceChangeNotificationEnabled":{"type":"boolean","title":"Portfoliopricechangenotificationenabled"}},"type":"object","required":["userId","name","email","hxIndex","valuationsLeft","propertiesInfo","subscriptionPlan","subscriptionCancelledAtPeriodEnd","portfolioPriceChangeNotificationEnabled"],"title":"User","by_alias":true},"UserPDFBranding":{"properties":{"logoDownloadUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logodownloadurl"},"logoFileId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logofileid"},"logoFileName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logofilename"},"logoFileType":{"anyOf":[{"$ref":"#/components/schemas/FileType"},{"type":"null"}]},"pdfName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdfname"}},"type":"object","title":"UserPDFBranding","by_alias":true},"UserPDFBrandingLogoAttachRequest":{"properties":{"fileId":{"type":"string","maxLength":255,"minLength":1,"title":"Fileid"},"fileName":{"type":"string","maxLength":255,"minLength":1,"title":"Filename"},"fileType":{"$ref":"#/components/schemas/FileType"}},"type":"object","required":["fileId","fileName","fileType"],"title":"UserPDFBrandingLogoAttachRequest","by_alias":true},"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"},"YieldItem":{"properties":{"year":{"type":"integer","title":"Year"},"yieldValue":{"type":"number","title":"Yieldvalue"}},"type":"object","required":["year","yieldValue"],"title":"YieldItem","by_alias":true},"YieldResponse":{"properties":{"averageYieldValue":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Averageyieldvalue"},"yieldItems":{"items":{"$ref":"#/components/schemas/YieldItem"},"type":"array","title":"Yielditems"}},"type":"object","required":["yieldItems"],"title":"YieldResponse","by_alias":true},"app__models__listing__BuildingType":{"type":"string","enum":["BRICK","NEWBUILDING","PREFAB"],"title":"BuildingType"},"app__models__property__BuildingType":{"type":"string","enum":["BRICK","FAMILYHOME","MERCHANT","NEWBUILDING","PREFAB","UNKNOWN"],"title":"BuildingType"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}