export interface paths { "/EvEstimate/Documents/{evEstimateDocumentId}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Get evEstimate document by document id. */ get: { parameters: { query?: never; header?: never; path: { /** @description The documentid of the evEstimate document. */ evEstimateDocumentId: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description evEstimate document is returned as pdf. */ 200: { headers: { [name: string]: unknown; }; content: { "application/pdf": string; }; }; /** @description Bad Request. Input parameters missing or not in range. */ 400: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Not found. No estimate document found. */ 404: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Something bad happened, contact support. */ 500: { headers: { [name: string]: unknown; }; content?: never; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/RealEstates/{knr}/{gnr}/{bnr}/{fnr}/{snr}/EstimateDocuments": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Endpoint for retrieving an list of stored estimates connected to a cadastre */ get: { parameters: { query?: never; header?: never; path: { /** @description Required knr of the real estate */ knr: number; /** @description Required gnr of the real estate */ gnr: number; /** @description Required bnr of the real estate */ bnr: number; /** @description Required fnr of the real estate */ fnr: number; /** @description Required snr of the real estate */ snr: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description List of stored estimates returned */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["EstimateDocumentResponseDtoIEnumerableResponseWrapper"]; "text/json": components["schemas"]["EstimateDocumentResponseDtoIEnumerableResponseWrapper"]; "text/plain": components["schemas"]["EstimateDocumentResponseDtoIEnumerableResponseWrapper"]; }; }; /** @description Request was not authenticated */ 401: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Request was not authorized */ 403: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Something bad happened, contact support */ 500: { headers: { [name: string]: unknown; }; content?: never; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/RealEstates/{knr}/{gnr}/{bnr}/{fnr}/{snr}/EvEstimate": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** Endpoint for retrieving EvEstimate based on a cadastre. Request body overrides information from Eiendomsverdi */ post: { parameters: { query?: never; header?: never; path: { /** @description Required knr of the real estate */ knr: number; /** @description Required gnr of the real estate */ gnr: number; /** @description Required bnr of the real estate */ bnr: number; /** @description Required fnr of the real estate */ fnr: number; /** @description Required snr of the real estate */ snr: number; }; cookie?: never; }; requestBody?: { content: { "application/*+json": components["schemas"]["EstimateInputDto"]; "application/json": components["schemas"]["EstimateInputDto"]; "text/json": components["schemas"]["EstimateInputDto"]; }; }; responses: { /** @description EvEstimate returned */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["WeightedEstimateResponseDtoResponseWrapper"]; "text/json": components["schemas"]["WeightedEstimateResponseDtoResponseWrapper"]; "text/plain": components["schemas"]["WeightedEstimateResponseDtoResponseWrapper"]; }; }; /** @description Request was not authenticated */ 401: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Request was not authorized */ 403: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Unable to retrieve EvEstimate */ 404: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Something bad happened, contact support */ 500: { headers: { [name: string]: unknown; }; content?: never; }; }; }; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/RealEstates/{knr}/{gnr}/{bnr}/{fnr}/{snr}/EvEstimateBasis": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Endpoint for retrieving an estimate basis based on a cadastre */ get: { parameters: { query?: never; header?: never; path: { /** @description Required knr of the real estate */ knr: number; /** @description Required gnr of the real estate */ gnr: number; /** @description Required bnr of the real estate */ bnr: number; /** @description Required fnr of the real estate */ fnr: number; /** @description Required snr of the real estate */ snr: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Estimate basis returned */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["EstimateBasisResponseDtoResponseWrapper"]; "text/json": components["schemas"]["EstimateBasisResponseDtoResponseWrapper"]; "text/plain": components["schemas"]["EstimateBasisResponseDtoResponseWrapper"]; }; }; /** @description Request was not authenticated */ 401: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Request was not authorized */ 403: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Something bad happened, contact support */ 500: { headers: { [name: string]: unknown; }; content?: never; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/RealEstates/{knr}/{gnr}/{bnr}/{fnr}/{snr}/MarketEstimate": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Endpoint for retrieving market estimate based on a cadastre. */ get: { parameters: { query?: never; header?: never; path: { /** @description Required knr of the real estate */ knr: number; /** @description Required gnr of the real estate */ gnr: number; /** @description Required bnr of the real estate */ bnr: number; /** @description Required fnr of the real estate */ fnr: number; /** @description Required snr of the real estate */ snr: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Market estimate returned */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["MarketEstimateResponseDtoResponseWrapper"]; "text/json": components["schemas"]["MarketEstimateResponseDtoResponseWrapper"]; "text/plain": components["schemas"]["MarketEstimateResponseDtoResponseWrapper"]; }; }; /** @description Something bad happened, contact support */ 500: { headers: { [name: string]: unknown; }; content?: never; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/RealEstates/{organizationNumber}/EvEstimateHousingCooperative": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Endpoint for retrieving market estimate for all shares in a housing cooperative based on an organization number. */ get: { parameters: { query?: never; header?: never; path: { /** @description Required organization number of the real estate */ organizationNumber: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Estimate-results for all shares in a housing cooperative for an organization number */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["EstimateHousingCooperativeResponseDtoResponseWrapper"]; "text/json": components["schemas"]["EstimateHousingCooperativeResponseDtoResponseWrapper"]; "text/plain": components["schemas"]["EstimateHousingCooperativeResponseDtoResponseWrapper"]; }; }; /** @description Request was not authenticated */ 401: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Request was not authorized */ 403: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Something bad happened, contact support */ 500: { headers: { [name: string]: unknown; }; content?: never; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/RealEstates/{organizationNumber}/{shareNumber}/EstimateDocuments": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Endpoint for retrieving market estimate based on a organization number and share number. */ get: { parameters: { query?: never; header?: never; path: { /** @description Required organization number of the real estate */ organizationNumber: number; /** @description Required share number of the real estate */ shareNumber: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description List of stored estimates returned */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["EstimateDocumentResponseDtoIEnumerableResponseWrapper"]; "text/json": components["schemas"]["EstimateDocumentResponseDtoIEnumerableResponseWrapper"]; "text/plain": components["schemas"]["EstimateDocumentResponseDtoIEnumerableResponseWrapper"]; }; }; /** @description Request was not authenticated */ 401: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Request was not authorized */ 403: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Something bad happened, contact support */ 500: { headers: { [name: string]: unknown; }; content?: never; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/RealEstates/{organizationNumber}/{shareNumber}/EvEstimate": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** Endpoint for retrieving EvEstimate based on a organization number and share number. */ post: { parameters: { query?: never; header?: never; path: { /** @description Required organization number of the real estate */ organizationNumber: number; /** @description Required share number of the real estate */ shareNumber: number; }; cookie?: never; }; requestBody?: { content: { "application/*+json": components["schemas"]["EstimateInputDto"]; "application/json": components["schemas"]["EstimateInputDto"]; "text/json": components["schemas"]["EstimateInputDto"]; }; }; responses: { /** @description EvEstimate returned */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["WeightedEstimateResponseDtoResponseWrapper"]; "text/json": components["schemas"]["WeightedEstimateResponseDtoResponseWrapper"]; "text/plain": components["schemas"]["WeightedEstimateResponseDtoResponseWrapper"]; }; }; /** @description Request was not authenticated */ 401: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Request was not authorized */ 403: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Unable to retrieve EvEstimate */ 404: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Something bad happened, contact support */ 500: { headers: { [name: string]: unknown; }; content?: never; }; }; }; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/RealEstates/{organizationNumber}/{shareNumber}/EvEstimateBasis": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Endpoint for retrieving an estimate basis for housing cooperative shares */ get: { parameters: { query?: never; header?: never; path: { /** @description Required organization number of the real estate */ organizationNumber: number; /** @description Required share number of the real estate */ shareNumber: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Estimate basis returned */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["EstimateBasisResponseDtoResponseWrapper"]; "text/json": components["schemas"]["EstimateBasisResponseDtoResponseWrapper"]; "text/plain": components["schemas"]["EstimateBasisResponseDtoResponseWrapper"]; }; }; /** @description Request was not authenticated */ 401: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Request was not authorized */ 403: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Something bad happened, contact support */ 500: { headers: { [name: string]: unknown; }; content?: never; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/RealEstates/{organizationNumber}/{shareNumber}/MarketEstimate": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Endpoint for retrieving market estimate based on a organization number and share number. */ get: { parameters: { query?: never; header?: never; path: { /** @description Required organization number of the real estate */ organizationNumber: number; /** @description Required share number of the real estate */ shareNumber: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Market estimate returned */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["MarketEstimateResponseDtoResponseWrapper"]; "text/json": components["schemas"]["MarketEstimateResponseDtoResponseWrapper"]; "text/plain": components["schemas"]["MarketEstimateResponseDtoResponseWrapper"]; }; }; /** @description Something bad happened, contact support */ 500: { headers: { [name: string]: unknown; }; content?: never; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; } export type webhooks = Record; export interface components { schemas: { /** @description Address information */ AddressResponseDto: { /** @description Name of the municipality */ municipality?: string | null; postOffice?: components["schemas"]["PostOfficeResponseDto"]; /** @description Street letter */ streetLetter?: string | null; /** @description Street name */ streetName?: string | null; /** * Format: int32 * @description Street number */ streetNumber?: number; }; /** @description The identity of a real property */ CadastreResponseDto: { /** * Format: int32 * @description Title number (Bruksnummer) */ bnr?: number; /** * Format: int32 * @description Lease number (Festenummer) */ fnr?: number; /** * Format: int32 * @description Land number (Gårdsnummer) */ gnr?: number; /** * Format: int32 * @description Municipality identity number (Kommunenummer) */ knr?: number; /** @description Name of the municipality */ municipality?: string | null; /** * Format: int32 * @description Section number (Seksjonsnummer) */ snr?: number; }; ComparablesResponseDto: { address?: components["schemas"]["AddressResponseDto"]; /** * Format: int32 * @description Build year */ buildYear?: number; cadastre?: components["schemas"]["CadastreResponseDto"]; /** * Format: double * @description BRA-e */ externalUsableArea?: number; /** * Format: double * @description BRA-b */ glazedBalconyUsableArea?: number; housingCooperativeShareIdentity?: components["schemas"]["HousingCooperativeShareIdentityResponseDto"]; /** * Format: double * @description BRA-i */ internalUsableArea?: number; location?: components["schemas"]["LocationResponseDto"]; /** * Format: double * @description ALH */ readonly lowHeightFloorArea?: number; /** * Format: double * @description TBA */ readonly openTerraceAndBalconyArea?: number; /** * Format: double * @description Primary area (P-rom) */ primaryArea?: number; /** * Format: double * @description The square meter price based on the value and the size of the comparable object */ squaremeterPrice?: number; valuation?: components["schemas"]["ValuationResponseDto"]; }; /** @description Attributes and valuation that will be used as basis of evEstimate if no additional information is added */ EstimateBasisResponseDto: { /** * Format: int32 * @description Build year */ buildYear?: number; /** * Format: double * @description Latest known common debt reported by business manager */ currentCommondebt?: number; /** @description Estate type. Possible values avaliable at /Types/EstateTypes in the Real Property API */ estateType?: string | null; /** * Format: double * @description BRA-e */ externalUsableArea?: number; /** * Format: int32 * @description Floor */ floor?: number; /** * Format: double * @description BRA-b */ glazedBalconyUsableArea?: number; /** * Format: double * @description Gross area (BTA) */ grossArea?: number; /** * Format: double * @description BRA-i */ internalUsableArea?: number; /** @description Real estate ownership type. Example: Borettslag. Possible values available at /Types/OwnershipTypes in the Real Property API */ ownershipType?: string | null; /** * Format: double * @description Primary area (P-rom) */ primaryArea?: number; /** * Format: double * @description The size of the site (plot) */ siteArea?: number; /** @description Plot ownership type. Example: Festet. Possible values available at /Types/SiteTypes in the Real Property API */ siteType?: string | null; /** * Format: double * @description Usable area (BRA) */ usableArea?: number; valuation?: components["schemas"]["ValuationResponseDto"]; }; EstimateBasisResponseDtoResponseWrapper: { data?: components["schemas"]["EstimateBasisResponseDto"]; }; /** @description Information about a stored estimate document */ EstimateDocumentResponseDto: { /** * Format: date-time * @description The timestamp of when the estimate document was stored */ estimateDate?: string; /** * Format: int32 * @description The id of the stored estimate document */ estimateDocumentId?: number; /** * Format: int32 * @description The total market value of the stored estimate. Corresponds to approvedTotalMarketValue from evEstimate */ estimateTotalMarketValue?: number; /** @description A reference marked by the user when the evEstimate was stored */ reference?: string | null; }; EstimateDocumentResponseDtoIEnumerableResponseWrapper: { data?: components["schemas"]["EstimateDocumentResponseDto"][] | null; }; EstimateHousingCooperativeResponseDto: { /** * Format: double * @description Approved value for organization */ approvedTotalMarketValue?: number | null; /** * Format: int32 * @description Estimate uncertainty level 1-7 (1 lowest risk, 7 highest risk) */ estimateUncertaintyLevel?: number | null; }; EstimateHousingCooperativeResponseDtoResponseWrapper: { data?: components["schemas"]["EstimateHousingCooperativeResponseDto"]; }; /** @description Values to override default date of evEstimate, and attributes related to an object. */ EstimateInputDto: { /** * Format: int32 * @description Build year */ buildYear?: number | null; /** * Format: double * @description Current commondebt */ currentCommondebt?: number | null; /** @description Estate type. Possible values avaliable at /Types/EstateTypes in the Real Property API */ estateType?: string | null; /** * Format: date-time * @description It is possible to estimate back in time. * Default is now */ estimateDate?: string | null; /** * Format: double * @description BRA-e */ externalUsableArea?: number | null; /** * Format: int32 * @description Floor */ floor?: number | null; /** * Format: double * @description BRA-b */ glazedBalconyUsableArea?: number | null; /** * Format: double * @description Gross area (BTA) */ grossArea?: number | null; /** @description If the comparable sales should be included in the response. * Default = false */ includeComparables?: boolean | null; /** * Format: double * @description BRA-i */ internalUsableArea?: number | null; /** * Format: int32 * @description Number of bedrooms */ numberOfBedrooms?: number | null; /** * Format: int32 * @description Number of floors in building */ numberOfFloorsInBuilding?: number | null; /** @description Real estate ownership type. Possible values available at /Types/OwnershipTypes in the Real Property API */ ownershipType?: string | null; /** * Format: double * @description Primary area (P-rom) */ primaryArea?: number | null; /** * Format: double * @description Size of site (plot) */ siteArea?: number | null; /** @description Plot ownership type. Possible values available at /Types/SiteTypes in the Real Property API */ siteType?: string | null; /** @description Only possible to stop storing of estimate. Not possible to store estimate if user account is set to not store estimate */ storeEstimate?: boolean | null; /** * Format: int32 * @description Usable area (BRA) */ usableArea?: number | null; valuation?: components["schemas"]["ValuationInputDto"]; }; /** @description Information that identifies the housing cooperative organization */ HousingCooperativeResponseDto: { /** @description The name of the housing cooperative organization */ name?: string | null; /** * Format: int32 * @description The organization number that identifies the housing cooperative */ organizationNumber?: number; }; /** @description Key values that identifies a housing cooperative share */ HousingCooperativeShareIdentityResponseDto: { housingCooperative?: components["schemas"]["HousingCooperativeResponseDto"]; /** * Format: int32 * @description The share number that identifies the share within the housing cooperative */ shareNumber?: number; }; /** * Format: int32 * @enum {integer} */ HttpStatusCode: 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511; /** @description A geographic location given as a point expressed as decimal degrees */ LocationResponseDto: { /** * Format: double * @description The latitude of the geographic location expressed as decimal degrees */ latitude?: number; /** * Format: double * @description The longitude of the geographic location expressed as decimal degrees */ longitude?: number; }; /** @description Market estimate (assumed value) */ MarketEstimateResponseDto: { /** * Format: int32 * @description Market estimate in total value (assumed value) */ estimate?: number; /** * Format: int32 * @description The upper limit of the estimate range */ estimateHigh?: number; /** * Format: int32 * @description The lower limit of the estimate range */ estimateLow?: number; }; MarketEstimateResponseDtoResponseWrapper: { data?: components["schemas"]["MarketEstimateResponseDto"]; }; /** @description Describing the liquidity of the housing market */ MarketScoreResponseDto: { /** * Format: int32 * @description The market score of relevant area */ area?: number; /** * Format: int32 * @description The market score of relevant municipality */ municipality?: number; }; /** @description Post office information */ PostOfficeResponseDto: { /** * Format: int32 * @description The post code */ code?: number; /** @description The name of the post office */ name?: string | null; }; UnitInfo: { /** Format: int64 */ unitId?: number; }; /** @description A valuation of an object */ ValuationInputDto: { /** * Format: double * @description The common debt at valuation time */ commondebt?: number | null; /** * Format: date-time * @description The date related to the valuation */ date: string; /** * Format: double * @description The valuated price without any common debt of an object */ price: number; /** @description The type of valuation. Possible values available at Types/SaleTypes in the Real Property API */ saleType: string; }; /** @description A valuation of an object. E.g sales price, etakst, valuation, etc */ ValuationResponseDto: { /** * Format: double * @description The common debt related to the object when valuated */ commonDebt?: number; /** * Format: date-time * @description The relevant date of the valuation */ date?: string | null; /** * Format: double * @description Price valuation without any common debt */ price?: number; /** * Format: double * @description Price + Common debt */ totalValue?: number; /** @description The type of valuation. Possible values available at Types/SaleTypes in the Real Property API */ type?: string | null; }; /** @description evEstimate and relevant information */ WeightedEstimateResponseDto: { /** * Format: int64 * @description ApprovedTotalMarketValue - commondebtLastUpdated. */ approvedNetMarketValue?: number; /** * Format: int64 * @description "Godkjent verdi". Adjusted EstimateTotalMarketValue based on uncertainty level or max value limit. Adjustment reason = EstimateAdjustmentType */ approvedTotalMarketValue?: number; /** * Format: int32 * @description Latest known common debt reported by business manager */ commondebtLastUpdated?: number | null; /** * Format: date-time * @description Reporting date of latest known common debt by business manager */ commondebtLastUpdatedDate?: string | null; /** @description Comparable sales */ comparables?: components["schemas"]["ComparablesResponseDto"][] | null; /** @description Reason for adjusting the estimate */ estimateAdjustmentType?: string | null; /** * Format: int64 * @description Estimated value rounded, without common debt. */ estimateNetMarketValueRounded?: number; /** * Format: int64 * @description Estimated total value before any adjustments. This value includes any known common debt (CommondebtLastUpdated). */ estimateTotalMarketValue?: number; /** * Format: int32 * @description Value describing the uncertainty of evEstimate. Range from 1 - 7. 1 equals low uncertainty. */ estimateUncertaintyLevel?: number; /** * Format: int32 * @description The general discount of foreclosure sales in the relevant area */ generalForeclosureDiscount?: number | null; marketScore?: components["schemas"]["MarketScoreResponseDto"]; /** * Format: int64 * @description Limit for adjustment of evEstimate based on an upper value in the relevant area */ maxValueLimit?: number | null; /** * Format: int32 * @description Id of the stored estimate document. This is present only if the account is set up for storing estimates. */ storedEstimateDocumentationId?: number | null; }; WeightedEstimateResponseDtoResponseWrapper: { data?: components["schemas"]["WeightedEstimateResponseDto"]; }; }; responses: never; parameters: never; requestBodies: never; headers: never; pathItems: never; } export type $defs = Record; export type operations = Record;