@bpd-library/utilities 1.4.3 → 1.5.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,7 +8,7 @@ function customGenerator({ componentName, verb, route, typeNames, paramsTypes })
|
|
|
8
8
|
}, config?: RequestConfig) => APIClient.get<${typeNames.response.replace(
|
|
9
9
|
'| void',
|
|
10
10
|
'',
|
|
11
|
-
)}>(\`${route}\`, params, config)
|
|
11
|
+
)}>(\`${route.replace('api/', '')}\`, params, config)
|
|
12
12
|
.then(res => res!)
|
|
13
13
|
`;
|
|
14
14
|
} else {
|
|
@@ -18,7 +18,7 @@ function customGenerator({ componentName, verb, route, typeNames, paramsTypes })
|
|
|
18
18
|
}, config?: RequestConfig) => APIClient.${verb}<${typeNames.response.replace(
|
|
19
19
|
'| void',
|
|
20
20
|
'',
|
|
21
|
-
)}>(\`${route}\`, body, config)
|
|
21
|
+
)}>(\`${route.replace('api/', '')}\`, body, config)
|
|
22
22
|
.then(res => res!)
|
|
23
23
|
`;
|
|
24
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extended-area.js","sourceRoot":"","sources":["../../src/extended-api-models/extended-area.ts"],"names":[],"mappings":"AAAA,OAAO,EAOH,yBAAyB,EACzB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,GACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAEH,sBAAsB,EACtB,kBAAkB,EAGlB,uBAAuB,EAEvB,aAAa,EAEb,iBAAiB,EAEjB,iBAAiB,GACpB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC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AE,EAAE,cAAc;iBACrB,CAAC,CAAC;aACN;YAED,kBAAkB,CAAC,iBAAiB,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,wBACjE,CAAC,CAAC,qBAAqB,0CAAE,QAAQ,CAAC,kBAAkB,CAAC,EAAE,IAAC,CAC3D,CAAC;YAEF,kBAAkB,CAAC,MAAM,GAAG,wBAAwB,CAAC,kBAAkB,CAAC,CAAC;YAEzE,kBAAkB,CAAC,UAAU,GAAG,oBAAoB,CAAC;QACzD,CAAC,CAAC,CAAC;QAKH,SAAS,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;YAC3B,QAAQ,CAAC,MAAM,GAAG,iBAAiB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;YAC7D,QAAQ,CAAC,UAAU,GAAG,UAAU,CAAC;QACrC,CAAC,CAAC,CAAC;QAEH,WAAW,CAAC,UAAU,GAAG,aAAa,CAAC;QAEvC,OAAO;YACH,mBAAmB;YACnB,aAAa;YACb,kBAAkB;YAClB,aAAa;YACb,SAAS;YACT,WAAW;SACd,CAAC;IACN,CAAC;IAED,OAAO;QACH,OAAO;QACP,kBAAkB;KACrB,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,yBAAyB,EAAE,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAsB,CAAC","sourcesContent":["import {\n ExtendedApartmentBuilding,\n ExtendedAreaProject,\n ExtendedConstructionNumber,\n ExtendedDistrict,\n ExtendedProjectPhase,\n ExtendedPropertyType,\n filterConstructionNumbers,\n filterPropertyTypes,\n findProjectPhase,\n findPropertyType,\n getDistrictStatus,\n} from '../api-utilities';\nimport { environmentDetails } from '../environment';\nimport {\n ApartmentBuildingModel,\n apartmentBuildingQuery,\n areaProjectGetById,\n AreaProjectModel,\n ConstructionNumberModel,\n constructionNumberQuery,\n DistrictModel,\n districtQuery,\n ProjectPhaseModel,\n projectPhaseQuery,\n PropertyTypeModel,\n propertyTypeQuery,\n} from '../generated';\nimport { COMPOSED_INCLUDE_STRINGS } from './included-properties';\nimport { getApartmentBuildingStatus } from './status/apartment-building-status';\nimport { constructionNumberStatus } from './status/construction-number-status';\nimport { getPropertyTypeStatus } from './status/property-type-status';\n\ninterface OriginalAreaModels {\n constructionNumbers: ConstructionNumberModel[];\n propertyTypes: PropertyTypeModel[];\n apartmentBuildings: ApartmentBuildingModel[];\n projectPhases: ProjectPhaseModel[];\n districts: DistrictModel[];\n areaProject: AreaProjectModel;\n}\n\ninterface ExtendedAreaModels {\n constructionNumbers: ExtendedConstructionNumber[];\n propertyTypes: ExtendedPropertyType[];\n apartmentBuildings: ExtendedApartmentBuilding[];\n projectPhases: ExtendedProjectPhase[];\n districts: ExtendedDistrict[];\n areaProject: ExtendedAreaProject;\n}\n\ninterface FilterFunctions {\n constructionNumber?: (constructionNumber: ConstructionNumberModel) => boolean;\n propertyType?: (propertyType: PropertyTypeModel) => boolean;\n apartmentBuilding?: (apartmentBuilding: ApartmentBuildingModel) => boolean;\n projectPhase?: (projectPhase: ProjectPhaseModel) => boolean;\n district?: (district: DistrictModel) => boolean;\n}\n\nconst ExtendedAreaModelsUtility = () => {\n const areaState: {\n [areaId: string]: {\n extendedData?: ExtendedAreaModels;\n resolveArray: Function[];\n filterFunctions?: FilterFunctions;\n };\n } = {};\n\n async function controller(areaId: string) {\n let originalData: OriginalAreaModels;\n\n if (hasSessionStorageData(areaId)) {\n originalData = fetchSessionStorageData(areaId)!;\n } else {\n originalData = await fetchData(areaId);\n setSessionStorageData(areaId, originalData);\n }\n\n // Objects without images, should not be shown on the website\n originalData = filterObjectsWithImages(originalData);\n\n areaState[areaId].extendedData = extendModels(originalData);\n\n setLoaded(areaId);\n }\n\n async function getData(areaId: string): Promise<ExtendedAreaModels> {\n if (!areaState[areaId]) {\n areaState[areaId] = {\n resolveArray: [],\n };\n\n // Controller handles fetching + extending of data\n controller(areaId);\n }\n\n const state = areaState[areaId];\n\n if (!state.extendedData) {\n /*\n if no extendedData is found, it means it's being fetched.\n Promises will be resolved after data is loaded\n */\n return new Promise((res) => {\n state.resolveArray.push(res);\n });\n } else {\n // if no extendedData is found, it comes from sessionStorage\n return state.extendedData;\n }\n }\n\n async function getCurrentAreaData(): Promise<ExtendedAreaModels> {\n return getData(environmentDetails.areaId!);\n }\n\n function setLoaded(areaId: string) {\n areaState[areaId].resolveArray.forEach((res) => {\n res(areaState[areaId].extendedData);\n });\n }\n\n function filterObjectsWithImages(data: OriginalAreaModels): OriginalAreaModels {\n return {\n ...data,\n constructionNumbers: data.constructionNumbers.filter(\n ({ mainImage }) => !!mainImage?.url,\n ),\n propertyTypes: data.propertyTypes.filter(({ mainImage }) => !!mainImage?.url),\n apartmentBuildings: data.apartmentBuildings.filter(({ image }) => !!image?.url),\n };\n }\n\n function sessionStorageId(areaId: string) {\n return `AreaObjects::${areaId}`;\n }\n\n function sessionStorageData(areaId: string) {\n return sessionStorage.getItem(sessionStorageId(areaId));\n }\n\n function hasSessionStorageData(areaId: string) {\n return !!sessionStorageData(areaId);\n }\n\n function fetchSessionStorageData(areaId: string) {\n if (hasSessionStorageData(areaId)) {\n return JSON.parse(sessionStorageData(areaId)!) as OriginalAreaModels;\n } else {\n return;\n }\n }\n\n function setSessionStorageData(areaId: string, originalData: OriginalAreaModels) {\n sessionStorage.setItem(sessionStorageId(areaId), JSON.stringify(originalData));\n }\n\n async function fetchData(areaId: string) {\n const propertyTypes = propertyTypeQuery({\n AreaProjectId: areaId,\n include: COMPOSED_INCLUDE_STRINGS.propertyType,\n });\n const constructionNumbers = constructionNumberQuery({\n AreaProjectId: areaId,\n include: COMPOSED_INCLUDE_STRINGS.constructionNumber,\n });\n const projectPhases = projectPhaseQuery({\n AreaProjectId: areaId,\n include: COMPOSED_INCLUDE_STRINGS.projectPhase,\n });\n const apartmentBuildings = apartmentBuildingQuery({\n AreaProjectId: areaId,\n include: COMPOSED_INCLUDE_STRINGS.apartmentBuilding,\n });\n const districts = districtQuery({\n AreaProjectId: areaId,\n include: COMPOSED_INCLUDE_STRINGS.district,\n });\n const areaProject = areaProjectGetById(areaId, {\n include: COMPOSED_INCLUDE_STRINGS.areaProject,\n });\n\n return {\n propertyTypes: await propertyTypes,\n constructionNumbers: await constructionNumbers,\n projectPhases: await projectPhases,\n apartmentBuildings: await apartmentBuildings,\n districts: await districts,\n areaProject: await areaProject,\n };\n }\n\n function extendModels(data: OriginalAreaModels): ExtendedAreaModels {\n const {\n constructionNumbers,\n propertyTypes,\n apartmentBuildings,\n projectPhases,\n districts,\n areaProject,\n } = data as ExtendedAreaModels;\n\n /*\n Extend propertTypes object\n */\n propertyTypes.forEach((propertyType) => {\n const { projectPhaseId, id } = propertyType;\n\n if (projectPhaseId) {\n propertyType.projectPhase = findProjectPhase(projectPhases, {\n id: projectPhaseId,\n });\n }\n\n propertyType.constructionNumbers = filterConstructionNumbers(constructionNumbers, {\n propertyTypeId: id,\n });\n\n if (propertyType.projectPhase) {\n propertyType.status = getPropertyTypeStatus(\n propertyType.projectPhase,\n propertyType.constructionNumbers,\n );\n }\n\n propertyType.apartmentBuildings = apartmentBuildings.filter((s) =>\n s.propertyTypeIds?.includes(propertyType.id),\n );\n\n propertyType.objectType = 'propertyType';\n });\n\n /*\n Extend projectPhase object\n */\n projectPhases.forEach((projectPhase) => {\n const { id } = projectPhase;\n\n projectPhase.propertyTypes = filterPropertyTypes(propertyTypes, {\n projectPhaseId: id,\n });\n projectPhase.constructionNumbers = filterConstructionNumbers(constructionNumbers, {\n projectPhaseId: id,\n });\n\n projectPhase.objectType = 'projectPhase';\n });\n\n /*\n Extend apartmentBuilding object\n */\n apartmentBuildings.forEach((apartmentBuilding) => {\n const { propertyTypeIds, constructionNumberIds, projectPhaseId } = apartmentBuilding;\n\n if (propertyTypeIds) {\n apartmentBuilding.propertyTypes = propertyTypes.filter(({ id }) =>\n propertyTypeIds?.includes(id),\n );\n }\n\n if (constructionNumberIds) {\n apartmentBuilding.constructionNumbers = constructionNumbers.filter(({ id }) =>\n constructionNumberIds?.includes(id),\n );\n }\n\n if (projectPhaseId) {\n apartmentBuilding.projectPhase = findProjectPhase(projectPhases, {\n id: projectPhaseId,\n });\n }\n\n if (apartmentBuilding.projectPhase) {\n apartmentBuilding.status = getApartmentBuildingStatus(\n apartmentBuilding.projectPhase,\n apartmentBuilding.constructionNumbers,\n );\n }\n\n apartmentBuilding.objectType = 'apartmentBuilding';\n });\n\n /*\n Extend constructionNumbers object\n */\n constructionNumbers.forEach((constructionNumber) => {\n const { propertyTypeId, projectPhaseId } = constructionNumber;\n\n constructionNumber.areaProject = areaProject;\n\n if (propertyTypeId) {\n constructionNumber.propertyType = findPropertyType(propertyTypes, {\n id: propertyTypeId,\n });\n }\n\n if (projectPhaseId) {\n constructionNumber.projectPhase = findProjectPhase(projectPhases, {\n id: projectPhaseId,\n });\n }\n\n constructionNumber.apartmentBuilding = apartmentBuildings.find((s) =>\n s.constructionNumberIds?.includes(constructionNumber.id),\n );\n\n constructionNumber.status = constructionNumberStatus(constructionNumber);\n\n constructionNumber.objectType = 'constructionNumber';\n });\n\n /*\n Extend district object\n */\n districts.forEach((district) => {\n district.status = getDistrictStatus(district, projectPhases);\n district.objectType = 'district';\n });\n\n areaProject.objectType = 'areaProject';\n\n return {\n constructionNumbers,\n propertyTypes,\n apartmentBuildings,\n projectPhases,\n districts,\n areaProject,\n };\n }\n\n return {\n getData,\n getCurrentAreaData,\n };\n};\n\nconst extendedArea = ExtendedAreaModelsUtility();\n\nexport { extendedArea, ExtendedAreaModels };\n"]}
|
|
1
|
+
{"version":3,"file":"extended-area.js","sourceRoot":"","sources":["../../src/extended-api-models/extended-area.ts"],"names":[],"mappings":"AAAA,OAAO,EAOH,yBAAyB,EACzB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,GACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAEH,sBAAsB,EACtB,kBAAk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AAG,WAAW,CAAC;YAE7C,IAAI,cAAc,EAAE;gBAChB,kBAAkB,CAAC,YAAY,GAAG,gBAAgB,CAAC,aAAa,EAAE;oBAC9D,EAAE,EAAE,cAAc;iBACrB,CAAC,CAAC;aACN;YAED,IAAI,cAAc,EAAE;gBAChB,kBAAkB,CAAC,YAAY,GAAG,gBAAgB,CAAC,aAAa,EAAE;oBAC9D,EAAE,EAAE,cAAc;iBACrB,CAAC,CAAC;aACN;YAED,kBAAkB,CAAC,iBAAiB,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,wBACjE,CAAC,CAAC,qBAAqB,0CAAE,QAAQ,CAAC,kBAAkB,CAAC,EAAE,IAAC,CAC3D,CAAC;YAEF,kBAAkB,CAAC,MAAM,GAAG,wBAAwB,CAAC,kBAAkB,CAAC,CAAC;YAEzE,kBAAkB,CAAC,UAAU,GAAG,oBAAoB,CAAC;QACzD,CAAC,CAAC,CAAC;QAKH,SAAS,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;YAC3B,QAAQ,CAAC,MAAM,GAAG,iBAAiB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;YAC7D,QAAQ,CAAC,UAAU,GAAG,UAAU,CAAC;QACrC,CAAC,CAAC,CAAC;QAEH,WAAW,CAAC,UAAU,GAAG,aAAa,CAAC;QAEvC,OAAO;YACH,mBAAmB;YACnB,aAAa;YACb,kBAAkB;YAClB,aAAa;YACb,SAAS;YACT,WAAW;SACd,CAAC;IACN,CAAC;IAED,OAAO;QACH,OAAO;QACP,kBAAkB;KACrB,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,yBAAyB,EAAE,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAsB,CAAC","sourcesContent":["import {\n ExtendedApartmentBuilding,\n ExtendedAreaProject,\n ExtendedConstructionNumber,\n ExtendedDistrict,\n ExtendedProjectPhase,\n ExtendedPropertyType,\n filterConstructionNumbers,\n filterPropertyTypes,\n findProjectPhase,\n findPropertyType,\n getDistrictStatus,\n} from '../api-utilities';\nimport { environmentDetails } from '../environment';\nimport {\n ApartmentBuildingModel,\n apartmentBuildingQuery,\n areaProjectGetById,\n AreaProjectModel,\n ConstructionNumberModel,\n constructionNumberQuery,\n DistrictModel,\n districtQuery,\n ProjectPhaseModel,\n projectPhaseQuery,\n PropertyTypeModel,\n propertyTypeQuery,\n} from '../generated';\nimport { COMPOSED_INCLUDE_STRINGS } from './included-properties';\nimport { getApartmentBuildingStatus } from './status/apartment-building-status';\nimport { constructionNumberStatus } from './status/construction-number-status';\nimport { getPropertyTypeStatus } from './status/property-type-status';\n\ninterface OriginalAreaModels {\n constructionNumbers: ConstructionNumberModel[];\n propertyTypes: PropertyTypeModel[];\n apartmentBuildings: ApartmentBuildingModel[];\n projectPhases: ProjectPhaseModel[];\n districts: DistrictModel[];\n areaProject: AreaProjectModel;\n}\n\ninterface ExtendedAreaModels {\n constructionNumbers: ExtendedConstructionNumber[];\n propertyTypes: ExtendedPropertyType[];\n apartmentBuildings: ExtendedApartmentBuilding[];\n projectPhases: ExtendedProjectPhase[];\n districts: ExtendedDistrict[];\n areaProject: ExtendedAreaProject;\n}\n\ninterface FilterFunctions {\n constructionNumber?: (constructionNumber: ConstructionNumberModel) => boolean;\n propertyType?: (propertyType: PropertyTypeModel) => boolean;\n apartmentBuilding?: (apartmentBuilding: ApartmentBuildingModel) => boolean;\n projectPhase?: (projectPhase: ProjectPhaseModel) => boolean;\n district?: (district: DistrictModel) => boolean;\n}\n\nconst ExtendedAreaModelsUtility = () => {\n const areaState: {\n [areaId: string]: {\n extendedData?: ExtendedAreaModels;\n resolveArray: Function[];\n filterFunctions?: FilterFunctions;\n };\n } = {};\n\n async function controller(areaId: string) {\n let originalData: OriginalAreaModels;\n\n if (hasSessionStorageData(areaId)) {\n originalData = fetchSessionStorageData(areaId)!;\n } else {\n originalData = await fetchData(areaId);\n setSessionStorageData(areaId, originalData);\n }\n // Objects without images, should not be shown on the website\n originalData = filterObjectsWithImages(originalData);\n\n areaState[areaId].extendedData = extendModels(originalData);\n\n setLoaded(areaId);\n }\n\n async function getData(areaId: string): Promise<ExtendedAreaModels> {\n if (!areaState[areaId]) {\n areaState[areaId] = {\n resolveArray: [],\n };\n\n // Controller handles fetching + extending of data\n controller(areaId);\n }\n\n const state = areaState[areaId];\n\n if (!state.extendedData) {\n /*\n if no extendedData is found, it means it's being fetched.\n Promises will be resolved after data is loaded\n */\n return new Promise((res) => {\n state.resolveArray.push(res);\n });\n } else {\n // if no extendedData is found, it comes from sessionStorage\n return state.extendedData;\n }\n }\n\n async function getCurrentAreaData(): Promise<ExtendedAreaModels> {\n return getData(environmentDetails.areaId!);\n }\n\n function setLoaded(areaId: string) {\n areaState[areaId].resolveArray.forEach((res) => {\n res(areaState[areaId].extendedData);\n });\n }\n\n function filterObjectsWithImages(data: OriginalAreaModels): OriginalAreaModels {\n return {\n ...data,\n constructionNumbers: data.constructionNumbers.filter(\n ({ mainImage }) => !!mainImage?.url,\n ),\n propertyTypes: data.propertyTypes.filter(({ mainImage }) => !!mainImage?.url),\n apartmentBuildings: data.apartmentBuildings.filter(({ image }) => !!image?.url),\n };\n }\n\n function sessionStorageId(areaId: string) {\n return `AreaObjects::${areaId}`;\n }\n\n function sessionStorageData(areaId: string) {\n return sessionStorage.getItem(sessionStorageId(areaId));\n }\n\n function hasSessionStorageData(areaId: string) {\n return !!sessionStorageData(areaId);\n }\n\n function fetchSessionStorageData(areaId: string) {\n if (hasSessionStorageData(areaId)) {\n return JSON.parse(sessionStorageData(areaId)!) as OriginalAreaModels;\n } else {\n return;\n }\n }\n\n function setSessionStorageData(areaId: string, originalData: OriginalAreaModels) {\n sessionStorage.setItem(sessionStorageId(areaId), JSON.stringify(originalData));\n }\n\n async function fetchData(areaId: string) {\n const propertyTypes = propertyTypeQuery({\n AreaProjectId: areaId,\n include: COMPOSED_INCLUDE_STRINGS.propertyType,\n });\n const constructionNumbers = constructionNumberQuery({\n AreaProjectId: areaId,\n include: COMPOSED_INCLUDE_STRINGS.constructionNumber,\n });\n const projectPhases = projectPhaseQuery({\n AreaProjectId: areaId,\n include: COMPOSED_INCLUDE_STRINGS.projectPhase,\n });\n const apartmentBuildings = apartmentBuildingQuery({\n AreaProjectId: areaId,\n include: COMPOSED_INCLUDE_STRINGS.apartmentBuilding,\n });\n const districts = districtQuery({\n AreaProjectId: areaId,\n include: COMPOSED_INCLUDE_STRINGS.district,\n });\n const areaProject = areaProjectGetById(areaId, {\n include: COMPOSED_INCLUDE_STRINGS.areaProject,\n });\n\n return {\n propertyTypes: await propertyTypes,\n constructionNumbers: await constructionNumbers,\n projectPhases: await projectPhases,\n apartmentBuildings: await apartmentBuildings,\n districts: await districts,\n areaProject: await areaProject,\n };\n }\n\n function extendModels(data: OriginalAreaModels): ExtendedAreaModels {\n const {\n constructionNumbers,\n propertyTypes,\n apartmentBuildings,\n projectPhases,\n districts,\n areaProject,\n } = data as ExtendedAreaModels;\n\n /*\n Extend propertTypes object\n */\n propertyTypes.forEach((propertyType) => {\n const { projectPhaseId, id } = propertyType;\n\n if (projectPhaseId) {\n propertyType.projectPhase = findProjectPhase(projectPhases, {\n id: projectPhaseId,\n });\n }\n\n propertyType.constructionNumbers = filterConstructionNumbers(constructionNumbers, {\n propertyTypeId: id,\n });\n\n if (propertyType.projectPhase) {\n propertyType.status = getPropertyTypeStatus(\n propertyType.projectPhase,\n propertyType.constructionNumbers,\n );\n }\n\n propertyType.apartmentBuildings = apartmentBuildings.filter((s) =>\n s.propertyTypeIds?.includes(propertyType.id),\n );\n\n propertyType.objectType = 'propertyType';\n });\n\n /*\n Extend projectPhase object\n */\n projectPhases.forEach((projectPhase) => {\n const { id } = projectPhase;\n\n projectPhase.propertyTypes = filterPropertyTypes(propertyTypes, {\n projectPhaseId: id,\n });\n projectPhase.constructionNumbers = filterConstructionNumbers(constructionNumbers, {\n projectPhaseId: id,\n });\n\n projectPhase.objectType = 'projectPhase';\n });\n\n /*\n Extend apartmentBuilding object\n */\n apartmentBuildings.forEach((apartmentBuilding) => {\n const { propertyTypeIds, constructionNumberIds, projectPhaseId } = apartmentBuilding;\n\n if (propertyTypeIds) {\n apartmentBuilding.propertyTypes = propertyTypes.filter(({ id }) =>\n propertyTypeIds?.includes(id),\n );\n }\n\n if (constructionNumberIds) {\n apartmentBuilding.constructionNumbers = constructionNumbers.filter(({ id }) =>\n constructionNumberIds?.includes(id),\n );\n }\n\n if (projectPhaseId) {\n apartmentBuilding.projectPhase = findProjectPhase(projectPhases, {\n id: projectPhaseId,\n });\n }\n\n if (apartmentBuilding.projectPhase) {\n apartmentBuilding.status = getApartmentBuildingStatus(\n apartmentBuilding.projectPhase,\n apartmentBuilding.constructionNumbers,\n );\n }\n\n apartmentBuilding.objectType = 'apartmentBuilding';\n });\n\n /*\n Extend constructionNumbers object\n */\n constructionNumbers.forEach((constructionNumber) => {\n const { propertyTypeId, projectPhaseId } = constructionNumber;\n\n constructionNumber.areaProject = areaProject;\n\n if (propertyTypeId) {\n constructionNumber.propertyType = findPropertyType(propertyTypes, {\n id: propertyTypeId,\n });\n }\n\n if (projectPhaseId) {\n constructionNumber.projectPhase = findProjectPhase(projectPhases, {\n id: projectPhaseId,\n });\n }\n\n constructionNumber.apartmentBuilding = apartmentBuildings.find((s) =>\n s.constructionNumberIds?.includes(constructionNumber.id),\n );\n\n constructionNumber.status = constructionNumberStatus(constructionNumber);\n\n constructionNumber.objectType = 'constructionNumber';\n });\n\n /*\n Extend district object\n */\n districts.forEach((district) => {\n district.status = getDistrictStatus(district, projectPhases);\n district.objectType = 'district';\n });\n\n areaProject.objectType = 'areaProject';\n\n return {\n constructionNumbers,\n propertyTypes,\n apartmentBuildings,\n projectPhases,\n districts,\n areaProject,\n };\n }\n\n return {\n getData,\n getCurrentAreaData,\n };\n};\n\nconst extendedArea = ExtendedAreaModelsUtility();\n\nexport { extendedArea, ExtendedAreaModels };\n"]}
|
|
@@ -92,6 +92,7 @@ export interface ConstructionNumberModel {
|
|
|
92
92
|
areaProjectId?: string | null;
|
|
93
93
|
districtId?: string | null;
|
|
94
94
|
projectPhaseId?: string | null;
|
|
95
|
+
bisproNumber?: string | null;
|
|
95
96
|
projectPhaseName?: string | null;
|
|
96
97
|
propertyTypeId?: string | null;
|
|
97
98
|
propertyTypeName?: string | null;
|
|
@@ -185,14 +186,16 @@ export interface DistrictModel {
|
|
|
185
186
|
id: string;
|
|
186
187
|
}
|
|
187
188
|
export interface DocumentModel {
|
|
188
|
-
|
|
189
|
+
projectBisproNumber?: string | null;
|
|
189
190
|
filename?: string | null;
|
|
190
191
|
publicationDate?: string | null;
|
|
191
192
|
title?: string | null;
|
|
192
193
|
contentType?: string | null;
|
|
193
194
|
documentType?: string | null;
|
|
194
|
-
|
|
195
|
-
|
|
195
|
+
documentSubtype?: string | null;
|
|
196
|
+
constructionBisproNumbers?: string[] | null;
|
|
197
|
+
organizationBisproNumber?: string | null;
|
|
198
|
+
isConcept?: boolean;
|
|
196
199
|
url?: string | null;
|
|
197
200
|
id: string;
|
|
198
201
|
}
|
|
@@ -453,6 +456,7 @@ export interface ProjectModel {
|
|
|
453
456
|
}
|
|
454
457
|
export interface ProjectPhaseModel {
|
|
455
458
|
areaProjectId?: string | null;
|
|
459
|
+
bisproNumber?: string | null;
|
|
456
460
|
areaProjectName?: string | null;
|
|
457
461
|
districtId?: string | null;
|
|
458
462
|
name?: string | null;
|
|
@@ -473,6 +477,7 @@ export interface ProjectPhaseModel {
|
|
|
473
477
|
constructionStartDate?: string | null;
|
|
474
478
|
isRental?: boolean;
|
|
475
479
|
isDigitalBrochureEnabled?: boolean;
|
|
480
|
+
isNewDocumentsEnabled?: boolean;
|
|
476
481
|
indicationServiceCosts?: number | null;
|
|
477
482
|
indicationSecurity?: number | null;
|
|
478
483
|
location?: number[] | null;
|
|
@@ -595,17 +600,6 @@ export interface SeoText {
|
|
|
595
600
|
rentalTitle?: string | null;
|
|
596
601
|
rentalText?: string | null;
|
|
597
602
|
}
|
|
598
|
-
export interface SerializedFeature {
|
|
599
|
-
featureId?: string | null;
|
|
600
|
-
featureJson?: string | null;
|
|
601
|
-
}
|
|
602
|
-
export interface SerializedFeatures {
|
|
603
|
-
objectFeatures?: SerializedObjectFeatures[] | null;
|
|
604
|
-
}
|
|
605
|
-
export interface SerializedObjectFeatures {
|
|
606
|
-
objectId?: string | null;
|
|
607
|
-
features?: SerializedFeature[] | null;
|
|
608
|
-
}
|
|
609
603
|
export interface Time {
|
|
610
604
|
hour?: number;
|
|
611
605
|
minute?: number;
|
|
@@ -681,9 +675,8 @@ export interface WebsiteModel {
|
|
|
681
675
|
skinName?: string | null;
|
|
682
676
|
contactDetails?: WebsiteContactModel;
|
|
683
677
|
showOnCorporateSite?: boolean;
|
|
684
|
-
channelMenuId?: string | null;
|
|
685
|
-
isMyEnvironment2022Enabled?: boolean;
|
|
686
678
|
isMyEnvironmentIframeEnabled?: boolean;
|
|
679
|
+
isNewDocumentsEnabled?: boolean;
|
|
687
680
|
}
|
|
688
681
|
export interface ActivationEngineGetProfileQueryParams {
|
|
689
682
|
areaId?: string;
|
|
@@ -696,9 +689,11 @@ export interface ApartmentBuildingQueryQueryParams {
|
|
|
696
689
|
lang?: string;
|
|
697
690
|
}
|
|
698
691
|
export interface ApartmentBuildingUpdateApartmentBuildingQueryParams {
|
|
692
|
+
apiKey?: string;
|
|
699
693
|
origin?: string;
|
|
700
694
|
}
|
|
701
695
|
export interface ApartmentBuildingDeleteApartmentBuildingQueryParams {
|
|
696
|
+
apiKey?: string;
|
|
702
697
|
origin?: string;
|
|
703
698
|
}
|
|
704
699
|
export interface ApartmentBuildingGetByExternalIdQueryParams {
|
|
@@ -766,18 +761,22 @@ export interface DistrictQueryQueryParams {
|
|
|
766
761
|
include?: string;
|
|
767
762
|
lang?: string;
|
|
768
763
|
}
|
|
764
|
+
export interface DocumentDownloadQueryParams {
|
|
765
|
+
returnUrl?: string;
|
|
766
|
+
}
|
|
769
767
|
export interface DocumentGetByIdQueryParams {
|
|
770
768
|
include?: string;
|
|
771
769
|
lang?: string;
|
|
772
770
|
}
|
|
773
771
|
export interface DocumentQueryQueryParams {
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
772
|
+
ProjectBisproNumber?: string;
|
|
773
|
+
ProjectBisproNumbers?: string;
|
|
774
|
+
ConstructionBisproNumbers?: string;
|
|
777
775
|
include?: string;
|
|
778
776
|
lang?: string;
|
|
779
777
|
}
|
|
780
778
|
export interface FundaQueryQueryParams {
|
|
779
|
+
apiKey?: string;
|
|
781
780
|
regionId?: string;
|
|
782
781
|
query?: string;
|
|
783
782
|
userType?: string;
|
|
@@ -785,42 +784,61 @@ export interface FundaQueryQueryParams {
|
|
|
785
784
|
allowedRegionIds?: string;
|
|
786
785
|
}
|
|
787
786
|
export interface FundaGetQueryParams {
|
|
787
|
+
apiKey?: string;
|
|
788
788
|
id?: string;
|
|
789
789
|
isAdmin?: boolean;
|
|
790
790
|
userType?: string;
|
|
791
791
|
}
|
|
792
792
|
export interface FundaSubmitQueryParams {
|
|
793
|
+
apiKey?: string;
|
|
793
794
|
id?: string;
|
|
794
795
|
incrementVersion?: boolean;
|
|
795
796
|
}
|
|
796
797
|
export interface FundaSubmitRouteQueryParams {
|
|
798
|
+
apiKey?: string;
|
|
797
799
|
incrementVersion?: boolean;
|
|
798
800
|
}
|
|
801
|
+
export interface FundaRunTransactionCheckQueryParams {
|
|
802
|
+
apiKey?: string;
|
|
803
|
+
}
|
|
799
804
|
export interface FundaValidateQueryParams {
|
|
805
|
+
apiKey?: string;
|
|
800
806
|
id?: string;
|
|
801
807
|
}
|
|
802
808
|
export interface FundaShowLastSubmittedProjectQueryParams {
|
|
809
|
+
apiKey?: string;
|
|
803
810
|
projectCrmId?: string;
|
|
804
811
|
}
|
|
805
812
|
export interface FundaShowConvertedFundaObjectQueryParams {
|
|
813
|
+
apiKey?: string;
|
|
806
814
|
projectCrmId?: string;
|
|
807
815
|
}
|
|
808
816
|
export interface FundaCompareFundaObjectRevisionChangesQueryParams {
|
|
817
|
+
apiKey?: string;
|
|
809
818
|
projectCrmId?: string;
|
|
810
819
|
gwnId?: number;
|
|
811
820
|
}
|
|
812
821
|
export interface FundaShowFundaProjectLogsQueryParams {
|
|
822
|
+
apiKey?: string;
|
|
813
823
|
projectCrmId?: string;
|
|
814
824
|
}
|
|
825
|
+
export interface FundaExecuteFundaPublisherQueryParams {
|
|
826
|
+
apiKey?: string;
|
|
827
|
+
}
|
|
815
828
|
export interface FundaGetAllGwnVersionsByProjectIdQueryParams {
|
|
829
|
+
apiKey?: string;
|
|
816
830
|
projectCrmId?: string;
|
|
817
831
|
}
|
|
818
832
|
export interface FundaRemoveVersionFromGwnQueryParams {
|
|
833
|
+
apiKey?: string;
|
|
819
834
|
projectId?: string;
|
|
820
835
|
projectFundaId?: number;
|
|
821
836
|
projectCode?: string;
|
|
822
837
|
nvmId?: string;
|
|
823
838
|
}
|
|
839
|
+
export interface FundaGetActiveBrokersInGatewayQueryParams {
|
|
840
|
+
apiKey?: string;
|
|
841
|
+
}
|
|
824
842
|
export interface GrantGetByIdQueryParams {
|
|
825
843
|
include?: string;
|
|
826
844
|
lang?: string;
|
|
@@ -836,14 +854,25 @@ export interface HouseSelectorQueryQueryParams {
|
|
|
836
854
|
include?: string;
|
|
837
855
|
lang?: string;
|
|
838
856
|
}
|
|
857
|
+
export interface HouseSelectorUpdateHouseSelectorQueryParams {
|
|
858
|
+
apiKey?: string;
|
|
859
|
+
}
|
|
839
860
|
export interface HouseSelectorDeleteHouseSelectorQueryParams {
|
|
861
|
+
apiKey?: string;
|
|
840
862
|
deleteDraft?: boolean;
|
|
841
863
|
}
|
|
842
864
|
export interface HouseSelectorGetByExternalIdQueryParams {
|
|
843
865
|
include?: string;
|
|
844
866
|
lang?: string;
|
|
845
867
|
}
|
|
868
|
+
export interface HouseSelectorPublishHouseSelectorQueryParams {
|
|
869
|
+
apiKey?: string;
|
|
870
|
+
}
|
|
871
|
+
export interface HouseSelectorUpdateHouseSelectorViewsQueryParams {
|
|
872
|
+
apiKey?: string;
|
|
873
|
+
}
|
|
846
874
|
export interface HouseSelectorGetDraftByExternalIdQueryParams {
|
|
875
|
+
apiKey?: string;
|
|
847
876
|
lang?: string;
|
|
848
877
|
}
|
|
849
878
|
export interface ProjectPhaseGetByIdQueryParams {
|
|
@@ -928,9 +957,11 @@ export interface RegionQueryQueryParams {
|
|
|
928
957
|
lang?: string;
|
|
929
958
|
}
|
|
930
959
|
export interface ResourceUpdateResourceQueryParams {
|
|
960
|
+
apiKey?: string;
|
|
931
961
|
projectId?: string;
|
|
932
962
|
}
|
|
933
963
|
export interface ResourceDeleteResourceQueryParams {
|
|
964
|
+
apiKey?: string;
|
|
934
965
|
projectId?: string;
|
|
935
966
|
}
|
|
936
967
|
export declare const activationEngineGetProfile: (clientId: string, params?: ActivationEngineGetProfileQueryParams | undefined, config?: RequestConfig | undefined) => Promise<ActivationEngineModel>;
|
|
@@ -951,7 +982,8 @@ export declare const countryQuery: (params?: CountryQueryQueryParams | undefined
|
|
|
951
982
|
export declare const digitalBrochureGetById: (id: string, params?: any, config?: RequestConfig | undefined) => Promise<DigitalBrochureModel>;
|
|
952
983
|
export declare const districtGetById: (id: string, params?: DistrictGetByIdQueryParams | undefined, config?: RequestConfig | undefined) => Promise<DistrictModel>;
|
|
953
984
|
export declare const districtQuery: (params?: DistrictQueryQueryParams | undefined, config?: RequestConfig | undefined) => Promise<DistrictModel[]>;
|
|
954
|
-
export declare const documentDownload: (id: string, fileName: string, params?:
|
|
985
|
+
export declare const documentDownload: (id: string, fileName: string, params?: DocumentDownloadQueryParams | undefined, config?: RequestConfig | undefined) => Promise<void>;
|
|
986
|
+
export declare const documentDownloadZip: (projectBisproNumber: string, constructionBisproNumber: string, params?: any, config?: RequestConfig | undefined) => Promise<void>;
|
|
955
987
|
export declare const documentGetById: (id: string, params?: DocumentGetByIdQueryParams | undefined, config?: RequestConfig | undefined) => Promise<DocumentModel>;
|
|
956
988
|
export declare const documentQuery: (params?: DocumentQueryQueryParams | undefined, config?: RequestConfig | undefined) => Promise<DocumentModel[]>;
|
|
957
989
|
export declare const formLead: (body: LeadFormModel, config?: RequestConfig | undefined) => Promise<void>;
|
|
@@ -962,19 +994,16 @@ export declare const fundaQuery: (params?: FundaQueryQueryParams | undefined, co
|
|
|
962
994
|
export declare const fundaGet: (params?: FundaGetQueryParams | undefined, config?: RequestConfig | undefined) => Promise<void>;
|
|
963
995
|
export declare const fundaSubmit: (body: any, config?: RequestConfig | undefined) => Promise<void>;
|
|
964
996
|
export declare const fundaSubmitRoute: (id: string, body: any, config?: RequestConfig | undefined) => Promise<void>;
|
|
965
|
-
export declare const fundaRunTransactionCheck: (params?:
|
|
997
|
+
export declare const fundaRunTransactionCheck: (params?: FundaRunTransactionCheckQueryParams | undefined, config?: RequestConfig | undefined) => Promise<void>;
|
|
966
998
|
export declare const fundaValidate: (body: any, config?: RequestConfig | undefined) => Promise<void>;
|
|
967
999
|
export declare const fundaShowLastSubmittedProject: (params?: FundaShowLastSubmittedProjectQueryParams | undefined, config?: RequestConfig | undefined) => Promise<void>;
|
|
968
1000
|
export declare const fundaShowConvertedFundaObject: (params?: FundaShowConvertedFundaObjectQueryParams | undefined, config?: RequestConfig | undefined) => Promise<void>;
|
|
969
1001
|
export declare const fundaCompareFundaObjectRevisionChanges: (params?: FundaCompareFundaObjectRevisionChangesQueryParams | undefined, config?: RequestConfig | undefined) => Promise<void>;
|
|
970
1002
|
export declare const fundaShowFundaProjectLogs: (params?: FundaShowFundaProjectLogsQueryParams | undefined, config?: RequestConfig | undefined) => Promise<void>;
|
|
971
|
-
export declare const fundaExecuteFundaPublisher: (params?:
|
|
1003
|
+
export declare const fundaExecuteFundaPublisher: (params?: FundaExecuteFundaPublisherQueryParams | undefined, config?: RequestConfig | undefined) => Promise<void>;
|
|
972
1004
|
export declare const fundaGetAllGwnVersionsByProjectId: (params?: FundaGetAllGwnVersionsByProjectIdQueryParams | undefined, config?: RequestConfig | undefined) => Promise<void>;
|
|
973
1005
|
export declare const fundaRemoveVersionFromGwn: (params?: FundaRemoveVersionFromGwnQueryParams | undefined, config?: RequestConfig | undefined) => Promise<void>;
|
|
974
|
-
export declare const fundaGetActiveBrokersInGateway: (params?:
|
|
975
|
-
export declare const geoFeatureUpsertGeoFeature: (areaId: string, objectId: string, body: SerializedFeature, config?: RequestConfig | undefined) => Promise<void>;
|
|
976
|
-
export declare const geoFeatureUpsertAreaFeatures: (areaId: string, body: SerializedFeatures, config?: RequestConfig | undefined) => Promise<void>;
|
|
977
|
-
export declare const geoFeatureDeleteGeoFeature: (areaId: string, objectId: string, featureId: string, body: any, config?: RequestConfig | undefined) => Promise<void>;
|
|
1006
|
+
export declare const fundaGetActiveBrokersInGateway: (params?: FundaGetActiveBrokersInGatewayQueryParams | undefined, config?: RequestConfig | undefined) => Promise<void>;
|
|
978
1007
|
export declare const grantGetById: (id: string, params?: GrantGetByIdQueryParams | undefined, config?: RequestConfig | undefined) => Promise<GrantModel>;
|
|
979
1008
|
export declare const grantQuery: (params?: GrantQueryQueryParams | undefined, config?: RequestConfig | undefined) => Promise<GrantModel[]>;
|
|
980
1009
|
export declare const houseSelectorQuery: (params?: HouseSelectorQueryQueryParams | undefined, config?: RequestConfig | undefined) => Promise<HouseSelectorModel[]>;
|
|
@@ -1,71 +1,69 @@
|
|
|
1
1
|
import { APIClient } from '../api';
|
|
2
|
-
export const activationEngineGetProfile = (clientId, params, config) => APIClient.get(`/
|
|
3
|
-
export const apartmentBuildingQuery = (params, config) => APIClient.get(`/
|
|
4
|
-
export const apartmentBuildingUpdateApartmentBuilding = (nodeId, body, config) => APIClient.put(`/
|
|
5
|
-
export const apartmentBuildingDeleteApartmentBuilding = (nodeId, body, config) => APIClient.delete(`/
|
|
6
|
-
export const apartmentBuildingGetByExternalId = (nodeId, params, config) => APIClient.get(`/
|
|
7
|
-
export const areaProjectGetById = (id, params, config) => APIClient.get(`/
|
|
8
|
-
export const areaProjectQuery = (params, config) => APIClient.get(`/
|
|
9
|
-
export const cityGetByName = (name, params, config) => APIClient.get(`/
|
|
10
|
-
export const cityGetById = (id, params, config) => APIClient.get(`/
|
|
11
|
-
export const cityQuery = (params, config) => APIClient.get(`/
|
|
12
|
-
export const constructionNumberGetById = (id, params, config) => APIClient.get(`/
|
|
13
|
-
export const constructionNumberQuery = (params, config) => APIClient.get(`/
|
|
14
|
-
export const countryGetByIsoCode = (isoCode, params, config) => APIClient.get(`/
|
|
15
|
-
export const countryGetById = (id, params, config) => APIClient.get(`/
|
|
16
|
-
export const countryQuery = (params, config) => APIClient.get(`/
|
|
17
|
-
export const digitalBrochureGetById = (id, params, config) => APIClient.get(`/
|
|
18
|
-
export const districtGetById = (id, params, config) => APIClient.get(`/
|
|
19
|
-
export const districtQuery = (params, config) => APIClient.get(`/
|
|
2
|
+
export const activationEngineGetProfile = (clientId, params, config) => APIClient.get(`/activationengine/profile/${clientId}`, params, config).then((res) => res);
|
|
3
|
+
export const apartmentBuildingQuery = (params, config) => APIClient.get(`/apartmentbuildings`, params, config).then((res) => res);
|
|
4
|
+
export const apartmentBuildingUpdateApartmentBuilding = (nodeId, body, config) => APIClient.put(`/apartmentbuildings/${nodeId}`, body, config).then((res) => res);
|
|
5
|
+
export const apartmentBuildingDeleteApartmentBuilding = (nodeId, body, config) => APIClient.delete(`/apartmentbuildings/${nodeId}`, body, config).then((res) => res);
|
|
6
|
+
export const apartmentBuildingGetByExternalId = (nodeId, params, config) => APIClient.get(`/apartmentbuildings/${nodeId}`, params, config).then((res) => res);
|
|
7
|
+
export const areaProjectGetById = (id, params, config) => APIClient.get(`/areaprojects/${id}`, params, config).then((res) => res);
|
|
8
|
+
export const areaProjectQuery = (params, config) => APIClient.get(`/areaprojects`, params, config).then((res) => res);
|
|
9
|
+
export const cityGetByName = (name, params, config) => APIClient.get(`/cities/name/${name}`, params, config).then((res) => res);
|
|
10
|
+
export const cityGetById = (id, params, config) => APIClient.get(`/cities/${id}`, params, config).then((res) => res);
|
|
11
|
+
export const cityQuery = (params, config) => APIClient.get(`/cities`, params, config).then((res) => res);
|
|
12
|
+
export const constructionNumberGetById = (id, params, config) => APIClient.get(`/constructionnumbers/${id}`, params, config).then((res) => res);
|
|
13
|
+
export const constructionNumberQuery = (params, config) => APIClient.get(`/constructionnumbers`, params, config).then((res) => res);
|
|
14
|
+
export const countryGetByIsoCode = (isoCode, params, config) => APIClient.get(`/countries/isoCode/${isoCode}`, params, config).then((res) => res);
|
|
15
|
+
export const countryGetById = (id, params, config) => APIClient.get(`/countries/${id}`, params, config).then((res) => res);
|
|
16
|
+
export const countryQuery = (params, config) => APIClient.get(`/countries`, params, config).then((res) => res);
|
|
17
|
+
export const digitalBrochureGetById = (id, params, config) => APIClient.get(`/digital-brochures/${id}`, params, config).then((res) => res);
|
|
18
|
+
export const districtGetById = (id, params, config) => APIClient.get(`/districts/${id}`, params, config).then((res) => res);
|
|
19
|
+
export const districtQuery = (params, config) => APIClient.get(`/districts`, params, config).then((res) => res);
|
|
20
20
|
export const documentDownload = (id, fileName, params, config) => APIClient.get(`/documents/${id}/${fileName}`, params, config).then((res) => res);
|
|
21
|
-
export const
|
|
22
|
-
export const
|
|
23
|
-
export const
|
|
24
|
-
export const
|
|
25
|
-
export const
|
|
26
|
-
export const
|
|
27
|
-
export const
|
|
28
|
-
export const
|
|
29
|
-
export const
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
33
|
-
export const
|
|
34
|
-
export const
|
|
35
|
-
export const
|
|
36
|
-
export const
|
|
37
|
-
export const
|
|
38
|
-
export const
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
41
|
-
export const
|
|
42
|
-
export const
|
|
43
|
-
export const
|
|
44
|
-
export const
|
|
45
|
-
export const
|
|
46
|
-
export const
|
|
47
|
-
export const
|
|
48
|
-
export const
|
|
49
|
-
export const
|
|
50
|
-
export const
|
|
51
|
-
export const
|
|
52
|
-
export const
|
|
53
|
-
export const
|
|
54
|
-
export const
|
|
55
|
-
export const
|
|
56
|
-
export const
|
|
57
|
-
export const
|
|
58
|
-
export const provinceGetById = (id, params, config) => APIClient.get(`/api/provinces/${id}`, params, config).then((res) => res);
|
|
59
|
-
export const provinceQuery = (params, config) => APIClient.get(`/api/provinces`, params, config).then((res) => res);
|
|
21
|
+
export const documentDownloadZip = (projectBisproNumber, constructionBisproNumber, params, config) => APIClient.get(`/documents/zip/${projectBisproNumber}/${constructionBisproNumber}`, params, config).then((res) => res);
|
|
22
|
+
export const documentGetById = (id, params, config) => APIClient.get(`/documents/${id}`, params, config).then((res) => res);
|
|
23
|
+
export const documentQuery = (params, config) => APIClient.get(`/documents`, params, config).then((res) => res);
|
|
24
|
+
export const formLead = (body, config) => APIClient.post(`/forms/lead`, body, config).then((res) => res);
|
|
25
|
+
export const formCase = (body, config) => APIClient.post(`/forms/case`, body, config).then((res) => res);
|
|
26
|
+
export const formDynamic = (body, config) => APIClient.post(`/forms/dynamic`, body, config).then((res) => res);
|
|
27
|
+
export const formDigitalBrochure = (body, config) => APIClient.post(`/forms/digital-brochure`, body, config).then((res) => res);
|
|
28
|
+
export const fundaQuery = (params, config) => APIClient.get(`/funda/query`, params, config).then((res) => res);
|
|
29
|
+
export const fundaGet = (params, config) => APIClient.get(`/funda`, params, config).then((res) => res);
|
|
30
|
+
export const fundaSubmit = (body, config) => APIClient.post(`/funda/submit`, body, config).then((res) => res);
|
|
31
|
+
export const fundaSubmitRoute = (id, body, config) => APIClient.post(`/funda/submit/${id}`, body, config).then((res) => res);
|
|
32
|
+
export const fundaRunTransactionCheck = (params, config) => APIClient.get(`/funda/check`, params, config).then((res) => res);
|
|
33
|
+
export const fundaValidate = (body, config) => APIClient.post(`/funda/validate`, body, config).then((res) => res);
|
|
34
|
+
export const fundaShowLastSubmittedProject = (params, config) => APIClient.get(`/funda/ShowLastSubmittedProject`, params, config).then((res) => res);
|
|
35
|
+
export const fundaShowConvertedFundaObject = (params, config) => APIClient.get(`/funda/ShowConvertedFundaObject`, params, config).then((res) => res);
|
|
36
|
+
export const fundaCompareFundaObjectRevisionChanges = (params, config) => APIClient.get(`/funda/CompareFundaObjectRevisionChanges`, params, config).then((res) => res);
|
|
37
|
+
export const fundaShowFundaProjectLogs = (params, config) => APIClient.get(`/funda/ShowFundaProjectLogs`, params, config).then((res) => res);
|
|
38
|
+
export const fundaExecuteFundaPublisher = (params, config) => APIClient.get(`/funda/ExecuteFundaPublisher`, params, config).then((res) => res);
|
|
39
|
+
export const fundaGetAllGwnVersionsByProjectId = (params, config) => APIClient.get(`/funda/GetAllGwnVersionsByProjectId`, params, config).then((res) => res);
|
|
40
|
+
export const fundaRemoveVersionFromGwn = (params, config) => APIClient.get(`/funda/RemoveVersionFromGwn`, params, config).then((res) => res);
|
|
41
|
+
export const fundaGetActiveBrokersInGateway = (params, config) => APIClient.get(`/funda/GetActiveBrokersInGateway`, params, config).then((res) => res);
|
|
42
|
+
export const grantGetById = (id, params, config) => APIClient.get(`/grants/${id}`, params, config).then((res) => res);
|
|
43
|
+
export const grantQuery = (params, config) => APIClient.get(`/grants`, params, config).then((res) => res);
|
|
44
|
+
export const houseSelectorQuery = (params, config) => APIClient.get(`/houseselectors`, params, config).then((res) => res);
|
|
45
|
+
export const houseSelectorUpdateHouseSelector = (nodeId, body, config) => APIClient.put(`/houseselectors/${nodeId}`, body, config).then((res) => res);
|
|
46
|
+
export const houseSelectorDeleteHouseSelector = (nodeId, body, config) => APIClient.delete(`/houseselectors/${nodeId}`, body, config).then((res) => res);
|
|
47
|
+
export const houseSelectorGetByExternalId = (nodeId, params, config) => APIClient.get(`/houseselectors/${nodeId}`, params, config).then((res) => res);
|
|
48
|
+
export const houseSelectorPublishHouseSelector = (nodeId, body, config) => APIClient.put(`/houseselectors/${nodeId}/publish`, body, config).then((res) => res);
|
|
49
|
+
export const houseSelectorUpdateHouseSelectorViews = (nodeId, body, config) => APIClient.put(`/houseselectors/${nodeId}/views`, body, config).then((res) => res);
|
|
50
|
+
export const houseSelectorGetDraftByExternalId = (nodeId, params, config) => APIClient.get(`/houseselectors/${nodeId}/draft`, params, config).then((res) => res);
|
|
51
|
+
export const projectPhaseGetById = (id, params, config) => APIClient.get(`/projectphases/${id}`, params, config).then((res) => res);
|
|
52
|
+
export const projectPhaseQuery = (params, config) => APIClient.get(`/projectphases`, params, config).then((res) => res);
|
|
53
|
+
export const propertyTypeGetById = (id, params, config) => APIClient.get(`/propertytypes/${id}`, params, config).then((res) => res);
|
|
54
|
+
export const propertyTypeQuery = (params, config) => APIClient.get(`/propertytypes`, params, config).then((res) => res);
|
|
55
|
+
export const provinceGetByName = (name, params, config) => APIClient.get(`/provinces/name/${name}`, params, config).then((res) => res);
|
|
56
|
+
export const provinceGetById = (id, params, config) => APIClient.get(`/provinces/${id}`, params, config).then((res) => res);
|
|
57
|
+
export const provinceQuery = (params, config) => APIClient.get(`/provinces`, params, config).then((res) => res);
|
|
60
58
|
export const redirectAreaNewsletterHeaderRedirect = (areaId, extension, params, config) => APIClient.get(`/redirect/media/area/${areaId}.${extension}`, params, config).then((res) => res);
|
|
61
59
|
export const redirectAreaLogoRedirect = (areaId, extension, params, config) => APIClient.get(`/redirect/media/logo/${areaId}.${extension}`, params, config).then((res) => res);
|
|
62
60
|
export const redirectProjectNewsletterHeaderRedirect = (projectId, extension, params, config) => APIClient.get(`/redirect/media/newsletter/${projectId}.${extension}`, params, config).then((res) => res);
|
|
63
61
|
export const redirectProjectImageRedirect = (projectId, extension, params, config) => APIClient.get(`/redirect/media/project/${projectId}.${extension}`, params, config).then((res) => res);
|
|
64
62
|
export const redirectPropertyTypeImageRedirect = (propertyTypeId, extension, params, config) => APIClient.get(`/redirect/media/woningtype/${propertyTypeId}.${extension}`, params, config).then((res) => res);
|
|
65
63
|
export const redirectConstructionNumberImageRedirect = (constructionNumberId, extension, params, config) => APIClient.get(`/redirect/media/bouwnummer/${constructionNumberId}.${extension}`, params, config).then((res) => res);
|
|
66
|
-
export const redirectRelationsListRedirect = (params, config) => APIClient.get(`/redirect/media/
|
|
67
|
-
export const regionGetById = (id, params, config) => APIClient.get(`/
|
|
68
|
-
export const regionQuery = (params, config) => APIClient.get(`/
|
|
69
|
-
export const resourceUpdateResource = (mediaId, body, config) => APIClient.put(`/
|
|
70
|
-
export const resourceDeleteResource = (mediaId, body, config) => APIClient.delete(`/
|
|
64
|
+
export const redirectRelationsListRedirect = (params, config) => APIClient.get(`/redirect/media/resource/relations`, params, config).then((res) => res);
|
|
65
|
+
export const regionGetById = (id, params, config) => APIClient.get(`/region/${id}`, params, config).then((res) => res);
|
|
66
|
+
export const regionQuery = (params, config) => APIClient.get(`/region`, params, config).then((res) => res);
|
|
67
|
+
export const resourceUpdateResource = (mediaId, body, config) => APIClient.put(`/resources/${mediaId}`, body, config).then((res) => res);
|
|
68
|
+
export const resourceDeleteResource = (mediaId, body, config) => APIClient.delete(`/resources/${mediaId}`, body, config).then((res) => res);
|
|
71
69
|
//# sourceMappingURL=bpd-client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bpd-client.js","sourceRoot":"","sources":["../../src/generated/bpd-client.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AA2jCnC,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACtC,QAAgB,EAChB,MAA8C,EAC9C,MAAsB,EACxB,EAAE,CACA,SAAS,CAAC,GAAG,CACT,iCAAiC,QAAQ,EAAE,EAC3C,MAAM,EACN,MAAM,CACT,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAI,CAAC,CAAC;AAE1B,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAClC,MAA0C,EAC1C,MAAsB,EACxB,EAAE,CACA,SAAS,CAAC,GAAG,CAA2B,yBAAyB,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CACnF,CAAC,GAAG,EAAE,EAAE,CAAC,GAAI,CAChB,CAAC;AAEN,MAAM,CAAC,MAAM,wCAAwC,GAAG,CACpD,MAAc,EACd,IAAkC,EAClC,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C;AAEpF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAClC,OAAe,EACf,IAAyB,EACzB,MAAsB,EACxB,EAAE,CAAC,SAAS,CAAC,GAAG,CAAO,kBAAkB,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAI,CAAC,CAAC;AAExF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,OAAe,EAAE,IAAS,EAAE,MAAsB,EAAE,EAAE,CACzF,SAAS,CAAC,MAAM,CAAO,kBAAkB,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAI,CAAC,CAAC","sourcesContent":["/* Generated by oats-generator */\n\n/* eslint-disable @typescript-eslint/interface-name-prefix */\n\nimport { APIClient } from '../api';\nimport { RequestConfig } from '../api/http';\n\nexport interface ActivationEngineModel {\n areaPhase?: string | null;\n customerJourneyPhase?: string | null;\n constructionNumberIds?: string[] | null;\n}\n\nexport interface ApartmentBuildingModel {\n areaProjectId?: string | null;\n projectPhaseId?: string | null;\n projectPhaseName?: string | null;\n displayName?: string | null;\n alias?: string | null;\n nodeId?: string | null;\n propertyTypeIds?: string[] | null;\n constructionNumberIds?: string[] | null;\n image?: ResourceModel;\n geometry?: PolygonModel[] | null;\n views?: ApartmentBuildingView[] | null;\n id: string;\n}\n\nexport interface ApartmentBuildingView {\n id?: string | null;\n imageUrl?: string | null;\n type?: string | null;\n sourceUrl?: string | null;\n label?: string | null;\n buttonLabel?: string | null;\n rotateLeftViewId?: string | null;\n rotateRightViewId?: string | null;\n pointers?: ApartmentBuildingViewPointer[] | null;\n}\n\nexport interface ApartmentBuildingViewPointer {\n type?: string | null;\n coordinates?: number[] | null;\n constructionNumberId?: string | null;\n linkToViewId?: string | null;\n label?: string | null;\n alignment?: string | null;\n compassDirection?: string | null;\n}\n\nexport interface AreaProjectModel {\n name?: string | null;\n shortDescription?: string | null;\n regionId?: string | null;\n countryName?: string | null;\n municipalityName?: string | null;\n url?: string | null;\n isSingleProject?: boolean;\n isCompleted?: boolean;\n status?: AreaStatus;\n image?: ResourceModel;\n location?: number[] | null;\n geometry?: PolygonModel[] | null;\n sustainabilitySubjects?: string[] | null;\n sustainabilityInfoText?: string | null;\n mapboxDatasetId?: string | null;\n mapboxTilesetId?: string | null;\n caseViaEmail?: boolean;\n website?: WebsiteModel;\n id: string;\n}\n\nexport type AreaStatus = 'InPreparation' | 'OnSale' | 'Sold';\n\nexport type CRSType = 'unspecified' | 'name' | 'link';\n\nexport interface CaseFormModel {\n areaProjectId?: string | null;\n districtId?: string | null;\n projectId?: string | null;\n propertyTypeId?: string | null;\n regionId?: string | null;\n firstName?: string | null;\n lastName?: string | null;\n lastNamePrefix?: string | null;\n email: string;\n message: string;\n contactReason?: string | null;\n phoneNumber?: string | null;\n webcareSubject?: string | null;\n chatUrl?: string | null;\n mailTo?: string | null;\n referringUrl?: string | null;\n}\n\nexport interface CityModel {\n countryId?: string | null;\n countryIsoCode?: string | null;\n provinceId?: string | null;\n name?: string | null;\n municipalityName?: string | null;\n seoText?: SeoText;\n id: string;\n}\n\nexport interface ConstructionNumberModel {\n areaProjectId?: string | null;\n districtId?: string | null;\n projectPhaseId?: string | null;\n projectPhaseName?: string | null;\n propertyTypeId?: string | null;\n propertyTypeName?: string | null;\n apartmentBuildingId?: string | null;\n identifier?: string | null;\n serviceCostsPerMonth?: number;\n security?: number | null;\n wishlistItemCount?: number;\n numberOfReserveCandidates?: number;\n availabilityStatus?: ConstructionNumberStatus;\n shortDescription?: string | null;\n longDescription?: string | null;\n houseSubType?: string | null;\n deliveryDate?: string | null;\n geometry?: PolygonModel[] | null;\n resources?: ResourceModel[] | null;\n groundLease?: GroundLease;\n mainImage?: ResourceModel;\n specifications?: ConstructionNumberSpecifications;\n salesPrice?: PropertySalesPrice;\n rentalPrice?: PropertyRentalPrice;\n landRegistration?: LandRegistrationDetails;\n extraSpecifications?: ExtraSpecifications;\n isEnergyNeutral?: boolean;\n numberOfFloors?: number | null;\n mainFloorNumber?: string | null;\n floors?: Floor[] | null;\n gardens?: GardenModel[] | null;\n outsideSpace?: OutsideSpaceModel[] | null;\n outbuildings?: Outbuilding[] | null;\n id: string;\n}\n\nexport interface ConstructionNumberSpecifications {\n nonLivingArea?: DecimalRange;\n buildingRelatedExternalSpace?: DecimalRange;\n externalStorage?: DecimalRange;\n characteristic?: string | null;\n sunDirection?: string | null;\n rooms?: DecimalRange;\n bedrooms?: DecimalRange;\n livingArea?: DecimalRange;\n livingRoomArea?: DecimalRange;\n plotArea?: DecimalRange;\n volume?: DecimalRange;\n}\n\nexport type ConstructionNumberStatus = 'Available' | 'InOption' | 'Sold' | 'Reserved';\n\nexport interface CountryModel {\n isoCode?: string | null;\n name?: string | null;\n englishName?: string | null;\n seoText?: SeoText;\n id: string;\n}\n\nexport interface CountryQuery {\n [key: string]: any;\n}\n\nexport interface DecimalRange {\n from?: number;\n to?: number | null;\n}\n\nexport interface DigitalBrochureModel {\n dateCreated?: string;\n data?: string | null;\n pageUrl?: string | null;\n id: string;\n}\n\nexport interface DigitalBrochureRequestModel {\n projectId?: string | null;\n areaId?: string | null;\n propertyId?: string | null;\n constructionNumberId?: string | null;\n firstName?: string | null;\n sufix?: string | null;\n lastName?: string | null;\n email?: string | null;\n data?: string | null;\n pageUrl?: string | null;\n documentName?: string | null;\n}\n\nexport interface DistrictModel {\n areaProjectId?: string | null;\n name?: string | null;\n url?: string | null;\n location?: number[] | null;\n geometry?: PolygonModel[] | null;\n isSold?: boolean;\n enableWishlist?: boolean;\n descriptionTitle?: string | null;\n description?: string | null;\n image?: ResourceModel;\n id: string;\n}\n\nexport interface DocumentModel {\n projectPhaseId?: string | null;\n filename?: string | null;\n publicationDate?: string | null;\n title?: string | null;\n contentType?: string | null;\n documentType?: string | null;\n constructionNumbers?: string[] | null;\n constructionNumberIds?: string[] | null;\n url?: string | null;\n id: string;\n}\n\nexport interface DynamicFormModel {\n objectName?: string | null;\n mailTo?: string | null;\n fields?: {\n [key: string]: string | null;\n } | null;\n}\n\nexport interface ExtraSpecifications {\n quality?: string | null;\n isPermanentResidence?: boolean | null;\n isRecreationalResidence?: boolean | null;\n isInPark?: boolean | null;\n isPractice?: boolean | null;\n hasExternalStorage?: boolean | null;\n hasVveChecklist?: boolean | null;\n hasOpenPorch?: boolean | null;\n location?: string[] | null;\n certifications?: string[] | null;\n hotWater?: string[] | null;\n facilities?: string[] | null;\n isolation?: string[] | null;\n heating?: string[] | null;\n cooling?: string[] | null;\n energyPerformance?: string[] | null;\n remarks?: string[] | null;\n additionalConditions?: string[] | null;\n roofMaterial?: string | null;\n roofType?: string | null;\n roofRemarks?: string | null;\n energyLabel?: string | null;\n maintenanceInside?: string | null;\n maintenanceOutside?: string | null;\n vve?: Vve;\n}\n\nexport interface Feature {\n type?: GeoJSONObjectType;\n id?: string | null;\n geometry: IGeometryObject;\n properties: { [key: string]: any } | null;\n bbox?: number[] | null;\n crs?: ICRSObject;\n}\n\nexport interface FeatureCollection {\n type?: GeoJSONObjectType;\n features: Feature[];\n bbox?: number[] | null;\n crs?: ICRSObject;\n}\n\nexport interface Floor {\n name?: string | null;\n type?: string | null;\n floorNumber?: string | null;\n totalNumberOfRooms?: number | null;\n totalNumberOfBedrooms?: number | null;\n rooms?: Room[] | null;\n id?: string | null;\n dbCreateTimestamp?: number | null;\n dbUpdateTimestamp?: number | null;\n}\n\nexport interface GardenModel {\n id?: string | null;\n type?: string | null;\n position?: string | null;\n length?: number | null;\n width?: number | null;\n area?: number | null;\n hasBackEntrance?: boolean | null;\n isMain?: boolean;\n}\n\nexport type GeoJSONObjectType =\n | 'Point'\n | 'MultiPoint'\n | 'LineString'\n | 'MultiLineString'\n | 'Polygon'\n | 'MultiPolygon'\n | 'GeometryCollection'\n | 'Feature'\n | 'FeatureCollection';\n\nexport interface GrantModel {\n displayOnMap?: boolean;\n projectName?: string | null;\n cityName?: string | null;\n location?: number[] | null;\n status?: GrantStatus;\n id: string;\n}\n\nexport type GrantStatus = 'NotActive' | 'ApplicationGranted';\n\nexport interface GroundLease {\n priceWithCanonDecimal?: number | null;\n canonPercentageYearly?: number | null;\n canonAmountYearlyDecimal?: number | null;\n canonPercentage10Year?: number | null;\n canonAmount10YearDecimal?: number | null;\n canonPercentage25Year?: number | null;\n canonAmount25YearDecimal?: number | null;\n buyOffAmountDecimal?: number | null;\n priceWithBuyOffDecimal?: number | null;\n}\n\nexport type HolidayFrequency = 'Once' | 'Monthly' | 'Yearly';\n\nexport interface HouseSelectorModel {\n areaProjectId?: string | null;\n districtId?: string | null;\n displayName?: string | null;\n alias?: string | null;\n nodeId?: string | null;\n views?: HouseSelectorView[] | null;\n id: string;\n}\n\nexport interface HouseSelectorObject {\n objectType?: string | null;\n objectId?: string | null;\n point?: Point;\n polygon?: Point[] | null;\n linkToViewId?: string | null;\n label?: string | null;\n url?: string | null;\n iconName?: string | null;\n}\n\nexport interface HouseSelectorView {\n id?: string | null;\n name?: string | null;\n imageUrl?: string | null;\n imageMediaId?: number;\n objects?: HouseSelectorObject[] | null;\n}\n\nexport interface ICRSObject {\n type?: CRSType;\n}\n\nexport interface IGeometryObject {\n type?: GeoJSONObjectType;\n}\n\nexport interface LandRegistrationDetails {\n name?: string | null;\n proportion?: string | null;\n purchaseOption?: boolean | null;\n dateOfRequest?: string | null;\n durationOfLeaseHold?: string | null;\n isPermanentlyBought?: boolean | null;\n leaseHoldProvider?: string | null;\n leaseHoldPerYear?: number | null;\n cityHall?: string | null;\n municipalityId?: string | null;\n municipalityCode?: string | null;\n number?: string | null;\n scope?: string | null;\n area?: number | null;\n section?: string | null;\n type?: string | null;\n fixedVariable?: string | null;\n propertyTypeType?: string | null;\n propertyType?: string | null;\n plot?: string | null;\n constructionNumberId?: string | null;\n id?: string | null;\n dbCreateTimestamp?: number | null;\n dbUpdateTimestamp?: number | null;\n}\n\nexport interface LeadFormModel {\n city?: string | null;\n phone?: string | null;\n mobilePhone?: string | null;\n email?: string | null;\n countryId?: string | null;\n brochureId?: string | null;\n comment?: string | null;\n projectId?: string | null;\n propertyTypeId?: string | null;\n constructionNumberId?: string | null;\n areaProjectId?: string | null;\n districtId?: string | null;\n leadSource?: string | null;\n referringUrl?: string | null;\n salutation?: Salutation;\n initials?: string | null;\n firstName?: string | null;\n lastName?: string | null;\n lastNamePrefix?: string | null;\n street?: string | null;\n houseNumber?: string | null;\n houseNumberAddition?: string | null;\n postalCode?: string | null;\n}\n\nexport interface OpeningHours {\n name?: string | null;\n isActive?: boolean;\n isDefault?: boolean;\n monday?: TimeRange;\n tuesday?: TimeRange;\n wednesday?: TimeRange;\n thursday?: TimeRange;\n friday?: TimeRange;\n saturday?: TimeRange;\n sunday?: TimeRange;\n holidays?: OpeningHoursHoliday[] | null;\n id?: string | null;\n dbCreateTimestamp?: number | null;\n dbUpdateTimestamp?: number | null;\n}\n\nexport interface OpeningHoursHoliday {\n name?: string | null;\n startDate?: string;\n endDate?: string | null;\n openingHours?: TimeRange;\n frequency?: HolidayFrequency;\n}\n\nexport interface Outbuilding {\n typeCode?: string | null;\n name?: string | null;\n geometry?: FeatureCollection;\n type?: string | null;\n outbuildingType?: string | null;\n length?: number | null;\n width?: number | null;\n area?: number | null;\n isolation?: string[] | null;\n facilities?: string[] | null;\n facilitiesRemarks?: string | null;\n situation?: string | null;\n capacity?: number | null;\n id?: string | null;\n dbCreateTimestamp?: number | null;\n dbUpdateTimestamp?: number | null;\n}\n\nexport interface OutsideSpaceModel {\n id?: string | null;\n type?: string | null;\n position?: string | null;\n length?: number | null;\n width?: number | null;\n area?: number | null;\n hasBackEntrance?: boolean | null;\n}\n\nexport interface Point {\n x?: number;\n y?: number;\n}\n\nexport interface PolygonModel {\n coordinates?: number[][] | null;\n}\n\nexport type PriceCondition = 'VrijOpNaam' | 'KostenKoper';\n\nexport type PriceType =\n | 'ExactSum'\n | 'AskingPrice'\n | 'StartsFrom'\n | 'Indication'\n | 'Circa'\n | 'PriceOnRequest';\n\nexport interface ProblemDetails {\n type?: string | null;\n title?: string | null;\n status?: number | null;\n detail?: string | null;\n instance?: string | null;\n}\n\nexport interface ProjectModel {\n id?: string | null;\n name?: string | null;\n cityName?: string | null;\n fundaStatus?: string | null;\n fundaLastSyncDate?: string | null;\n fundaGatewayTransactionId?: number | null;\n fundaId?: number | null;\n connectionVersion?: string | null;\n userType?: string | null;\n gwnProjectVersion?: string | null;\n isAdmin?: boolean;\n}\n\nexport interface ProjectPhaseModel {\n areaProjectId?: string | null;\n areaProjectName?: string | null;\n districtId?: string | null;\n name?: string | null;\n url?: string | null;\n districtUrl?: string | null;\n shortDescription?: string | null;\n longDescription?: string | null;\n status?: ProjectPhaseStatus;\n saleStartDate?: string | null;\n saleEndDate?: string | null;\n allocationDate?: string | null;\n cityName?: string | null;\n municipalityName?: string | null;\n provinceName?: string | null;\n sortIndex?: number | null;\n environmentTypes?: string[] | null;\n deliveryStartDate?: string | null;\n constructionStartDate?: string | null;\n isRental?: boolean;\n isDigitalBrochureEnabled?: boolean;\n indicationServiceCosts?: number | null;\n indicationSecurity?: number | null;\n location?: number[] | null;\n geometry?: PolygonModel[] | null;\n resources?: ResourceModel[] | null;\n mainImage?: ResourceModel;\n propertySpecifications?: PropertySpecifications;\n propertyPurchasePrice?: PropertySalesPrice;\n propertyRentalPrice?: PropertyRentalPrice;\n houseTypes?: string[] | null;\n id: string;\n}\n\nexport type ProjectPhaseStatus =\n | 'InPreparation'\n | 'OnSale'\n | 'Sold'\n | 'ForRent'\n | 'Rented'\n | 'NotActive';\n\nexport interface PropertyRentalPrice {\n deposit?: number | null;\n amount?: DecimalRange;\n priceType?: PriceType;\n priceTypeFunda?: string | null;\n monthlyServiceCosts?: number | null;\n}\n\nexport interface PropertySalesPrice {\n condition?: PriceCondition;\n saleSpecification?: SaleSpecification;\n amount?: DecimalRange;\n priceType?: PriceType;\n priceTypeFunda?: string | null;\n monthlyServiceCosts?: number | null;\n}\n\nexport interface PropertySpecifications {\n rooms?: DecimalRange;\n bedrooms?: DecimalRange;\n livingArea?: DecimalRange;\n livingRoomArea?: DecimalRange;\n plotArea?: DecimalRange;\n volume?: DecimalRange;\n}\n\nexport interface PropertyTypeModel {\n areaProjectId?: string | null;\n districtId?: string | null;\n projectPhaseId?: string | null;\n projectPhaseName?: string | null;\n name?: string | null;\n shortDescription?: string | null;\n longDescription?: string | null;\n houseType?: string | null;\n houseSubType?: string | null;\n sortIndex?: number | null;\n environmentTypes?: string[] | null;\n hasBalcony?: boolean;\n isRental?: boolean;\n groundLease?: GroundLease;\n geometry?: PolygonModel[] | null;\n resources?: ResourceModel[] | null;\n mainImage?: ResourceModel;\n deliveryStartDate?: string | null;\n constructionStartDate?: string | null;\n indicationServiceCosts?: number | null;\n indicationSecurity?: number | null;\n specifications?: PropertySpecifications;\n salesPrice?: PropertySalesPrice;\n rentalPrice?: PropertyRentalPrice;\n canShowPrice?: boolean;\n extraSpecifications?: ExtraSpecifications;\n numberOfFloors?: number | null;\n mainFloorNumber?: string | null;\n floors?: Floor[] | null;\n gardens?: GardenModel[] | null;\n outsideSpace?: OutsideSpaceModel[] | null;\n outbuildings?: Outbuilding[] | null;\n usp1Title?: string | null;\n usp1Text?: string | null;\n usp2Title?: string | null;\n usp2Text?: string | null;\n id: string;\n}\n\nexport interface ProvinceModel {\n countryId?: string | null;\n countryIsoCode?: string | null;\n name?: string | null;\n seoText?: SeoText;\n id: string;\n}\n\nexport interface RegionModel {\n name?: string | null;\n id: string;\n}\n\nexport interface ResourceModel {\n title?: string | null;\n url?: string | null;\n resourceType?: string | null;\n contentType?: string | null;\n mediaNodeId?: string | null;\n lastUpdatedUtc?: string;\n metadata?: {\n [key: string]: string | null;\n } | null;\n}\n\nexport interface ResourceReference {\n ownerId?: string | null;\n ownerType?: string | null;\n isMainResource?: boolean | null;\n}\n\nexport interface Room {\n name?: string | null;\n type?: string | null;\n hasStairs?: boolean | null;\n length?: number | null;\n width?: number | null;\n height?: number | null;\n area?: number | null;\n volume?: number | null;\n renewedIn?: string | null;\n facilities?: string[] | null;\n}\n\nexport type SaleSpecification = 'ExclusiefBouwrente' | 'BtwBelast' | 'InclusiefBtw';\n\nexport type Salutation = 'Undefined' | 'Mr' | 'Mrs' | 'Ms';\n\nexport interface SeoText {\n saleTitle?: string | null;\n saleText?: string | null;\n rentalTitle?: string | null;\n rentalText?: string | null;\n}\n\nexport interface SerializedFeature {\n featureId?: string | null;\n featureJson?: string | null;\n}\n\nexport interface SerializedFeatures {\n objectFeatures?: SerializedObjectFeatures[] | null;\n}\n\nexport interface SerializedObjectFeatures {\n objectId?: string | null;\n features?: SerializedFeature[] | null;\n}\n\nexport interface Time {\n hour?: number;\n minute?: number;\n}\n\nexport interface TimeRange {\n from?: Time;\n to?: Time;\n}\n\nexport interface UpdateApartmentBuildingModel {\n districtId?: string | null;\n alias?: string | null;\n displayName?: string | null;\n description?: string | null;\n propertyTypeIds?: string[] | null;\n sortIndex?: number;\n views?: ApartmentBuildingView[] | null;\n image?: UpdateResourceModel;\n}\n\nexport interface UpdateHouseSelectorBaseModel {\n districtId?: string | null;\n displayName?: string | null;\n description?: string | null;\n alias?: string | null;\n}\n\nexport interface UpdateHouseSelectorViewsModel {\n views?: HouseSelectorView[] | null;\n}\n\nexport interface UpdateResourceModel {\n title?: string | null;\n url?: string | null;\n resourceType?: string | null;\n contentType?: string | null;\n sortIndex?: number;\n references?: ResourceReference[] | null;\n metadata?: {\n [key: string]: string | null;\n } | null;\n}\n\nexport interface Vve {\n vveContribution?: number | null;\n hasMaintenanceForecast?: boolean | null;\n hasPeriodicContribution?: boolean | null;\n isRegisteredInKvK?: boolean | null;\n hasHomeInsurance?: boolean | null;\n hasReserveFunds?: boolean | null;\n hasMeetings?: boolean | null;\n}\n\nexport type WebchatType = 'None' | 'UnifiedCommunications' | 'Salesforce';\n\nexport interface WebsiteContactModel {\n enableWebchat?: boolean;\n webchatType?: WebchatType;\n webchatServer?: string | null;\n webchatUcc?: string | null;\n webchatChannelMenuName?: string | null;\n phoneNumber?: string | null;\n emailAddress?: string | null;\n facebookUrl?: string | null;\n pinterestUrl?: string | null;\n twitterUrl?: string | null;\n caseViaEmail?: boolean;\n openingHours?: OpeningHours;\n}\n\nexport interface WebsiteModel {\n mapboxTilesetId?: string | null;\n mapboxDatasetId?: string | null;\n url?: string | null;\n disablePropertyComparison?: boolean;\n enableCustomerCommunity?: boolean;\n enableFavourites?: boolean;\n enableMortgageCalculator?: boolean;\n secondLevelNavigationLabelSingular?: string | null;\n secondLevelNavigationLabelPlural?: string | null;\n skinName?: string | null;\n contactDetails?: WebsiteContactModel;\n showOnCorporateSite?: boolean;\n channelMenuId?: string | null;\n isMyEnvironment2022Enabled?: boolean;\n isMyEnvironmentIframeEnabled?: boolean;\n}\n\nexport interface ActivationEngineGetProfileQueryParams {\n areaId?: string;\n projectId?: string;\n}\n\nexport interface ApartmentBuildingQueryQueryParams {\n AreaProjectId?: string;\n ProjectPhaseId?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface ApartmentBuildingUpdateApartmentBuildingQueryParams {\n origin?: string;\n}\n\nexport interface ApartmentBuildingDeleteApartmentBuildingQueryParams {\n origin?: string;\n}\n\nexport interface ApartmentBuildingGetByExternalIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface AreaProjectGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface AreaProjectQueryQueryParams {\n CountryIsoCode?: string;\n HasLocationData?: boolean;\n CorporateSite?: boolean;\n include?: string;\n lang?: string;\n}\n\nexport interface CityGetByNameQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface CityGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface CityQueryQueryParams {\n CountryIsoCode?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface ConstructionNumberGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface ConstructionNumberQueryQueryParams {\n AreaProjectId?: string;\n DistrictId?: string;\n ProjectPhaseId?: string;\n PropertyTypeId?: string;\n MinPrice?: number;\n MaxPrice?: number;\n IncludeInactive?: boolean;\n include?: string;\n lang?: string;\n}\n\nexport interface CountryGetByIsoCodeQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface CountryGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface CountryQueryQueryParams {\n query?: CountryQuery;\n include?: string;\n lang?: string;\n}\n\nexport interface DistrictGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface DistrictQueryQueryParams {\n AreaProjectId?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface DocumentGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface DocumentQueryQueryParams {\n ProjectPhaseId?: string;\n ProjectPhaseIds?: string;\n ConstructionNumberNames?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface FundaQueryQueryParams {\n regionId?: string;\n query?: string;\n userType?: string;\n isAdmin?: boolean;\n allowedRegionIds?: string;\n}\n\nexport interface FundaGetQueryParams {\n id?: string;\n isAdmin?: boolean;\n userType?: string;\n}\n\nexport interface FundaSubmitQueryParams {\n id?: string;\n incrementVersion?: boolean;\n}\n\nexport interface FundaSubmitRouteQueryParams {\n incrementVersion?: boolean;\n}\n\nexport interface FundaValidateQueryParams {\n id?: string;\n}\n\nexport interface FundaShowLastSubmittedProjectQueryParams {\n projectCrmId?: string;\n}\n\nexport interface FundaShowConvertedFundaObjectQueryParams {\n projectCrmId?: string;\n}\n\nexport interface FundaCompareFundaObjectRevisionChangesQueryParams {\n projectCrmId?: string;\n gwnId?: number;\n}\n\nexport interface FundaShowFundaProjectLogsQueryParams {\n projectCrmId?: string;\n}\n\nexport interface FundaGetAllGwnVersionsByProjectIdQueryParams {\n projectCrmId?: string;\n}\n\nexport interface FundaRemoveVersionFromGwnQueryParams {\n projectId?: string;\n projectFundaId?: number;\n projectCode?: string;\n nvmId?: string;\n}\n\nexport interface GrantGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface GrantQueryQueryParams {\n ProjectName?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface HouseSelectorQueryQueryParams {\n AreaProjectId?: string;\n DistrictId?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface HouseSelectorDeleteHouseSelectorQueryParams {\n deleteDraft?: boolean;\n}\n\nexport interface HouseSelectorGetByExternalIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface HouseSelectorGetDraftByExternalIdQueryParams {\n lang?: string;\n}\n\nexport interface ProjectPhaseGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface ProjectPhaseQueryQueryParams {\n CountryIsoCode?: string;\n AreaProjectId?: string;\n IncludeInactive?: boolean;\n include?: string;\n lang?: string;\n}\n\nexport interface PropertyTypeGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface PropertyTypeQueryQueryParams {\n AreaProjectId?: string;\n DistrictId?: string;\n ProjectPhaseId?: string;\n IncludeInactive?: boolean;\n include?: string;\n lang?: string;\n}\n\nexport interface ProvinceGetByNameQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface ProvinceGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface ProvinceQueryQueryParams {\n CountryIsoCode?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface RedirectAreaNewsletterHeaderRedirectQueryParams {\n width?: string;\n height?: string;\n mode?: string;\n quality?: string;\n}\n\nexport interface RedirectAreaLogoRedirectQueryParams {\n width?: string;\n height?: string;\n mode?: string;\n quality?: string;\n}\n\nexport interface RedirectProjectNewsletterHeaderRedirectQueryParams {\n width?: string;\n height?: string;\n mode?: string;\n quality?: string;\n}\n\nexport interface RedirectProjectImageRedirectQueryParams {\n width?: string;\n height?: string;\n mode?: string;\n quality?: string;\n}\n\nexport interface RedirectPropertyTypeImageRedirectQueryParams {\n width?: string;\n height?: string;\n mode?: string;\n quality?: string;\n}\n\nexport interface RedirectConstructionNumberImageRedirectQueryParams {\n width?: string;\n height?: string;\n mode?: string;\n quality?: string;\n}\n\nexport interface RegionGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface RegionQueryQueryParams {\n AllowedRegionIds?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface ResourceUpdateResourceQueryParams {\n projectId?: string;\n}\n\nexport interface ResourceDeleteResourceQueryParams {\n projectId?: string;\n}\n\nexport const activationEngineGetProfile = (\n clientId: string,\n params?: ActivationEngineGetProfileQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<ActivationEngineModel>(\n `/api/activationengine/profile/${clientId}`,\n params,\n config,\n ).then((res) => res!);\n\nexport const apartmentBuildingQuery = (\n params?: ApartmentBuildingQueryQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<ApartmentBuildingModel[]>(`/api/apartmentbuildings`, params, config).then(\n (res) => res!,\n );\n\nexport const apartmentBuildingUpdateApartmentBuilding = (\n nodeId: string,\n body: UpdateApartmentBuildingModel,\n config?: RequestConfig,\n) => APIClient.put<void>(`/api/apartmentbuildings/${nodeId}`, body, config).then((res) => res!);\n\nexport const apartmentBuildingDeleteApartmentBuilding = (\n nodeId: string,\n body: any,\n config?: RequestConfig,\n) => APIClient.delete<void>(`/api/apartmentbuildings/${nodeId}`, body, config).then((res) => res!);\n\nexport const apartmentBuildingGetByExternalId = (\n nodeId: string,\n params?: ApartmentBuildingGetByExternalIdQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<ApartmentBuildingModel>(`/api/apartmentbuildings/${nodeId}`, params, config).then(\n (res) => res!,\n );\n\nexport const areaProjectGetById = (\n id: string,\n params?: AreaProjectGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<AreaProjectModel>(`/api/areaprojects/${id}`, params, config).then((res) => res!);\n\nexport const areaProjectQuery = (params?: AreaProjectQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<AreaProjectModel[]>(`/api/areaprojects`, params, config).then((res) => res!);\n\nexport const cityGetByName = (\n name: string,\n params?: CityGetByNameQueryParams,\n config?: RequestConfig,\n) => APIClient.get<CityModel>(`/api/cities/name/${name}`, params, config).then((res) => res!);\n\nexport const cityGetById = (id: string, params?: CityGetByIdQueryParams, config?: RequestConfig) =>\n APIClient.get<CityModel>(`/api/cities/${id}`, params, config).then((res) => res!);\n\nexport const cityQuery = (params?: CityQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<CityModel[]>(`/api/cities`, params, config).then((res) => res!);\n\nexport const constructionNumberGetById = (\n id: string,\n params?: ConstructionNumberGetByIdQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<ConstructionNumberModel>(`/api/constructionnumbers/${id}`, params, config).then(\n (res) => res!,\n );\n\nexport const constructionNumberQuery = (\n params?: ConstructionNumberQueryQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<ConstructionNumberModel[]>(`/api/constructionnumbers`, params, config).then(\n (res) => res!,\n );\n\nexport const countryGetByIsoCode = (\n isoCode: string,\n params?: CountryGetByIsoCodeQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<CountryModel>(`/api/countries/isoCode/${isoCode}`, params, config).then(\n (res) => res!,\n );\n\nexport const countryGetById = (\n id: string,\n params?: CountryGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<CountryModel>(`/api/countries/${id}`, params, config).then((res) => res!);\n\nexport const countryQuery = (params?: CountryQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<CountryModel[]>(`/api/countries`, params, config).then((res) => res!);\n\nexport const digitalBrochureGetById = (id: string, params?: any, config?: RequestConfig) =>\n APIClient.get<DigitalBrochureModel>(`/api/digital-brochures/${id}`, params, config).then(\n (res) => res!,\n );\n\nexport const districtGetById = (\n id: string,\n params?: DistrictGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<DistrictModel>(`/api/districts/${id}`, params, config).then((res) => res!);\n\nexport const districtQuery = (params?: DistrictQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<DistrictModel[]>(`/api/districts`, params, config).then((res) => res!);\n\nexport const documentDownload = (\n id: string,\n fileName: string,\n params?: any,\n config?: RequestConfig,\n) => APIClient.get<void>(`/documents/${id}/${fileName}`, params, config).then((res) => res!);\n\nexport const documentGetById = (\n id: string,\n params?: DocumentGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<DocumentModel>(`/api/documents/${id}`, params, config).then((res) => res!);\n\nexport const documentQuery = (params?: DocumentQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<DocumentModel[]>(`/api/documents`, params, config).then((res) => res!);\n\nexport const formLead = (body: LeadFormModel, config?: RequestConfig) =>\n APIClient.post<void>(`/api/forms/lead`, body, config).then((res) => res!);\n\nexport const formCase = (body: CaseFormModel, config?: RequestConfig) =>\n APIClient.post<void>(`/api/forms/case`, body, config).then((res) => res!);\n\nexport const formDynamic = (body: DynamicFormModel, config?: RequestConfig) =>\n APIClient.post<void>(`/api/forms/dynamic`, body, config).then((res) => res!);\n\nexport const formDigitalBrochure = (body: DigitalBrochureRequestModel, config?: RequestConfig) =>\n APIClient.post<void>(`/api/forms/digital-brochure`, body, config).then((res) => res!);\n\nexport const fundaQuery = (params?: FundaQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<ProjectModel[]>(`/api/funda/query`, params, config).then((res) => res!);\n\nexport const fundaGet = (params?: FundaGetQueryParams, config?: RequestConfig) =>\n APIClient.get<void>(`/api/funda`, params, config).then((res) => res!);\n\nexport const fundaSubmit = (body: any, config?: RequestConfig) =>\n APIClient.post<void>(`/api/funda/submit`, body, config).then((res) => res!);\n\nexport const fundaSubmitRoute = (id: string, body: any, config?: RequestConfig) =>\n APIClient.post<void>(`/api/funda/submit/${id}`, body, config).then((res) => res!);\n\nexport const fundaRunTransactionCheck = (params?: any, config?: RequestConfig) =>\n APIClient.get<void>(`/api/funda/check`, params, config).then((res) => res!);\n\nexport const fundaValidate = (body: any, config?: RequestConfig) =>\n APIClient.post<void>(`/api/funda/validate`, body, config).then((res) => res!);\n\nexport const fundaShowLastSubmittedProject = (\n params?: FundaShowLastSubmittedProjectQueryParams,\n config?: RequestConfig,\n) => APIClient.get<void>(`/api/funda/ShowLastSubmittedProject`, params, config).then((res) => res!);\n\nexport const fundaShowConvertedFundaObject = (\n params?: FundaShowConvertedFundaObjectQueryParams,\n config?: RequestConfig,\n) => APIClient.get<void>(`/api/funda/ShowConvertedFundaObject`, params, config).then((res) => res!);\n\nexport const fundaCompareFundaObjectRevisionChanges = (\n params?: FundaCompareFundaObjectRevisionChangesQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(`/api/funda/CompareFundaObjectRevisionChanges`, params, config).then(\n (res) => res!,\n );\n\nexport const fundaShowFundaProjectLogs = (\n params?: FundaShowFundaProjectLogsQueryParams,\n config?: RequestConfig,\n) => APIClient.get<void>(`/api/funda/ShowFundaProjectLogs`, params, config).then((res) => res!);\n\nexport const fundaExecuteFundaPublisher = (params?: any, config?: RequestConfig) =>\n APIClient.get<void>(`/api/funda/ExecuteFundaPublisher`, params, config).then((res) => res!);\n\nexport const fundaGetAllGwnVersionsByProjectId = (\n params?: FundaGetAllGwnVersionsByProjectIdQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(`/api/funda/GetAllGwnVersionsByProjectId`, params, config).then(\n (res) => res!,\n );\n\nexport const fundaRemoveVersionFromGwn = (\n params?: FundaRemoveVersionFromGwnQueryParams,\n config?: RequestConfig,\n) => APIClient.get<void>(`/api/funda/RemoveVersionFromGwn`, params, config).then((res) => res!);\n\nexport const fundaGetActiveBrokersInGateway = (params?: any, config?: RequestConfig) =>\n APIClient.get<void>(`/api/funda/GetActiveBrokersInGateway`, params, config).then((res) => res!);\n\nexport const geoFeatureUpsertGeoFeature = (\n areaId: string,\n objectId: string,\n body: SerializedFeature,\n config?: RequestConfig,\n) => APIClient.put<void>(`/api/geofeature/${areaId}/${objectId}`, body, config).then((res) => res!);\n\nexport const geoFeatureUpsertAreaFeatures = (\n areaId: string,\n body: SerializedFeatures,\n config?: RequestConfig,\n) => APIClient.put<void>(`/api/geofeature/${areaId}`, body, config).then((res) => res!);\n\nexport const geoFeatureDeleteGeoFeature = (\n areaId: string,\n objectId: string,\n featureId: string,\n body: any,\n config?: RequestConfig,\n) =>\n APIClient.delete<void>(`/api/geofeature/${areaId}/${objectId}/${featureId}`, body, config).then(\n (res) => res!,\n );\n\nexport const grantGetById = (\n id: string,\n params?: GrantGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<GrantModel>(`/api/grants/${id}`, params, config).then((res) => res!);\n\nexport const grantQuery = (params?: GrantQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<GrantModel[]>(`/api/grants`, params, config).then((res) => res!);\n\nexport const houseSelectorQuery = (\n params?: HouseSelectorQueryQueryParams,\n config?: RequestConfig,\n) => APIClient.get<HouseSelectorModel[]>(`/api/houseselectors`, params, config).then((res) => res!);\n\nexport const houseSelectorUpdateHouseSelector = (\n nodeId: string,\n body: UpdateHouseSelectorBaseModel,\n config?: RequestConfig,\n) => APIClient.put<void>(`/api/houseselectors/${nodeId}`, body, config).then((res) => res!);\n\nexport const houseSelectorDeleteHouseSelector = (\n nodeId: string,\n body: any,\n config?: RequestConfig,\n) => APIClient.delete<void>(`/api/houseselectors/${nodeId}`, body, config).then((res) => res!);\n\nexport const houseSelectorGetByExternalId = (\n nodeId: string,\n params?: HouseSelectorGetByExternalIdQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<HouseSelectorModel>(`/api/houseselectors/${nodeId}`, params, config).then(\n (res) => res!,\n );\n\nexport const houseSelectorPublishHouseSelector = (\n nodeId: string,\n body: any,\n config?: RequestConfig,\n) => APIClient.put<void>(`/api/houseselectors/${nodeId}/publish`, body, config).then((res) => res!);\n\nexport const houseSelectorUpdateHouseSelectorViews = (\n nodeId: string,\n body: UpdateHouseSelectorViewsModel,\n config?: RequestConfig,\n) => APIClient.put<void>(`/api/houseselectors/${nodeId}/views`, body, config).then((res) => res!);\n\nexport const houseSelectorGetDraftByExternalId = (\n nodeId: string,\n params?: HouseSelectorGetDraftByExternalIdQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<HouseSelectorModel>(`/api/houseselectors/${nodeId}/draft`, params, config).then(\n (res) => res!,\n );\n\nexport const projectPhaseGetById = (\n id: string,\n params?: ProjectPhaseGetByIdQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<ProjectPhaseModel>(`/api/projectphases/${id}`, params, config).then(\n (res) => res!,\n );\n\nexport const projectPhaseQuery = (params?: ProjectPhaseQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<ProjectPhaseModel[]>(`/api/projectphases`, params, config).then((res) => res!);\n\nexport const propertyTypeGetById = (\n id: string,\n params?: PropertyTypeGetByIdQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<PropertyTypeModel>(`/api/propertytypes/${id}`, params, config).then(\n (res) => res!,\n );\n\nexport const propertyTypeQuery = (params?: PropertyTypeQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<PropertyTypeModel[]>(`/api/propertytypes`, params, config).then((res) => res!);\n\nexport const provinceGetByName = (\n name: string,\n params?: ProvinceGetByNameQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<ProvinceModel>(`/api/provinces/name/${name}`, params, config).then((res) => res!);\n\nexport const provinceGetById = (\n id: string,\n params?: ProvinceGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<ProvinceModel>(`/api/provinces/${id}`, params, config).then((res) => res!);\n\nexport const provinceQuery = (params?: ProvinceQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<ProvinceModel[]>(`/api/provinces`, params, config).then((res) => res!);\n\nexport const redirectAreaNewsletterHeaderRedirect = (\n areaId: string,\n extension: string,\n params?: RedirectAreaNewsletterHeaderRedirectQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(`/redirect/media/area/${areaId}.${extension}`, params, config).then(\n (res) => res!,\n );\n\nexport const redirectAreaLogoRedirect = (\n areaId: string,\n extension: string,\n params?: RedirectAreaLogoRedirectQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(`/redirect/media/logo/${areaId}.${extension}`, params, config).then(\n (res) => res!,\n );\n\nexport const redirectProjectNewsletterHeaderRedirect = (\n projectId: string,\n extension: string,\n params?: RedirectProjectNewsletterHeaderRedirectQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(\n `/redirect/media/newsletter/${projectId}.${extension}`,\n params,\n config,\n ).then((res) => res!);\n\nexport const redirectProjectImageRedirect = (\n projectId: string,\n extension: string,\n params?: RedirectProjectImageRedirectQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(`/redirect/media/project/${projectId}.${extension}`, params, config).then(\n (res) => res!,\n );\n\nexport const redirectPropertyTypeImageRedirect = (\n propertyTypeId: string,\n extension: string,\n params?: RedirectPropertyTypeImageRedirectQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(\n `/redirect/media/woningtype/${propertyTypeId}.${extension}`,\n params,\n config,\n ).then((res) => res!);\n\nexport const redirectConstructionNumberImageRedirect = (\n constructionNumberId: string,\n extension: string,\n params?: RedirectConstructionNumberImageRedirectQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(\n `/redirect/media/bouwnummer/${constructionNumberId}.${extension}`,\n params,\n config,\n ).then((res) => res!);\n\nexport const redirectRelationsListRedirect = (params?: any, config?: RequestConfig) =>\n APIClient.get<void>(`/redirect/media/api/resource/relations`, params, config).then(\n (res) => res!,\n );\n\nexport const regionGetById = (\n id: string,\n params?: RegionGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<RegionModel>(`/api/region/${id}`, params, config).then((res) => res!);\n\nexport const regionQuery = (params?: RegionQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<RegionModel[]>(`/api/region`, params, config).then((res) => res!);\n\nexport const resourceUpdateResource = (\n mediaId: string,\n body: UpdateResourceModel,\n config?: RequestConfig,\n) => APIClient.put<void>(`/api/resources/${mediaId}`, body, config).then((res) => res!);\n\nexport const resourceDeleteResource = (mediaId: string, body: any, config?: RequestConfig) =>\n APIClient.delete<void>(`/api/resources/${mediaId}`, body, config).then((res) => res!);\n"]}
|
|
1
|
+
{"version":3,"file":"bpd-client.js","sourceRoot":"","sources":["../../src/generated/bpd-client.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AA8lCnC,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACtC,QAAgB,EAChB,MAA8C,EAC9C,MAAsB,EACxB,EAAE,CACA,SAAS,CAAC,GAAG,CACT,6BAA6B,QAAQ,EAAE,EACvC,MAAM,EACN,MAAM,CACT,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAI,CAAC,CAAC;AAE1B,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAClC,MAA0C,EAC1C,MAAsB,EACxB,EAAE,CACA,SAAS,CAAC,GAAG,CAA2B,qBAAqB,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAC/E,CAAC,GAAG,EAAE,EAAE,CAAC,GAAI,CAChB,CAAC;AAEN,MAAM,CAAC,MAAM,wCAAwC,GAAG,CACpD,MAAc,EACd,IAAkC,EAClC,MAAsB,EACxB,EAAE,CAAC,SAAS,CAAC,GAAG,CAAO,uBAAuB,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAI,CAAC,CAAC;AAE5F,MAAM,CAAC,MAAM,wCAAwC,GAAG,CACpD,MAAc,EACd,IAAS,EACT,MAAsB,EACxB,EAAE,CAAC,SAAS,CAAC,MAAM,CAAO,uBAAuB,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAI,CAAC,CAAC;AAE/F,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAC5C,MAAc,EACd,MAAoD,EACpD,MAAsB,EACxB,EAAE,CACA,SAAS,CAAC,GAAG,CAAyB,uBAAuB,MAAM,EAA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AE,MAAsB,EAAE,EAAE,CACnF,SAAS,CAAC,GAAG,CAAgB,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAI,CAAC,CAAC;AAEhF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAClC,OAAe,EACf,IAAyB,EACzB,MAAsB,EACxB,EAAE,CAAC,SAAS,CAAC,GAAG,CAAO,cAAc,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAI,CAAC,CAAC;AAEpF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,OAAe,EAAE,IAAS,EAAE,MAAsB,EAAE,EAAE,CACzF,SAAS,CAAC,MAAM,CAAO,cAAc,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAI,CAAC,CAAC","sourcesContent":["/* Generated by oats-generator */\n\n/* eslint-disable @typescript-eslint/interface-name-prefix */\n\nimport { APIClient } from '../api';\nimport { RequestConfig } from '../api/http';\n\nexport interface ActivationEngineModel {\n areaPhase?: string | null;\n customerJourneyPhase?: string | null;\n constructionNumberIds?: string[] | null;\n}\n\nexport interface ApartmentBuildingModel {\n areaProjectId?: string | null;\n projectPhaseId?: string | null;\n projectPhaseName?: string | null;\n displayName?: string | null;\n alias?: string | null;\n nodeId?: string | null;\n propertyTypeIds?: string[] | null;\n constructionNumberIds?: string[] | null;\n image?: ResourceModel;\n geometry?: PolygonModel[] | null;\n views?: ApartmentBuildingView[] | null;\n id: string;\n}\n\nexport interface ApartmentBuildingView {\n id?: string | null;\n imageUrl?: string | null;\n type?: string | null;\n sourceUrl?: string | null;\n label?: string | null;\n buttonLabel?: string | null;\n rotateLeftViewId?: string | null;\n rotateRightViewId?: string | null;\n pointers?: ApartmentBuildingViewPointer[] | null;\n}\n\nexport interface ApartmentBuildingViewPointer {\n type?: string | null;\n coordinates?: number[] | null;\n constructionNumberId?: string | null;\n linkToViewId?: string | null;\n label?: string | null;\n alignment?: string | null;\n compassDirection?: string | null;\n}\n\nexport interface AreaProjectModel {\n name?: string | null;\n shortDescription?: string | null;\n regionId?: string | null;\n countryName?: string | null;\n municipalityName?: string | null;\n url?: string | null;\n isSingleProject?: boolean;\n isCompleted?: boolean;\n status?: AreaStatus;\n image?: ResourceModel;\n location?: number[] | null;\n geometry?: PolygonModel[] | null;\n sustainabilitySubjects?: string[] | null;\n sustainabilityInfoText?: string | null;\n mapboxDatasetId?: string | null;\n mapboxTilesetId?: string | null;\n caseViaEmail?: boolean;\n website?: WebsiteModel;\n id: string;\n}\n\nexport type AreaStatus = 'InPreparation' | 'OnSale' | 'Sold';\n\nexport type CRSType = 'unspecified' | 'name' | 'link';\n\nexport interface CaseFormModel {\n areaProjectId?: string | null;\n districtId?: string | null;\n projectId?: string | null;\n propertyTypeId?: string | null;\n regionId?: string | null;\n firstName?: string | null;\n lastName?: string | null;\n lastNamePrefix?: string | null;\n email: string;\n message: string;\n contactReason?: string | null;\n phoneNumber?: string | null;\n webcareSubject?: string | null;\n chatUrl?: string | null;\n mailTo?: string | null;\n referringUrl?: string | null;\n}\n\nexport interface CityModel {\n countryId?: string | null;\n countryIsoCode?: string | null;\n provinceId?: string | null;\n name?: string | null;\n municipalityName?: string | null;\n seoText?: SeoText;\n id: string;\n}\n\nexport interface ConstructionNumberModel {\n areaProjectId?: string | null;\n districtId?: string | null;\n projectPhaseId?: string | null;\n bisproNumber?: string | null;\n projectPhaseName?: string | null;\n propertyTypeId?: string | null;\n propertyTypeName?: string | null;\n apartmentBuildingId?: string | null;\n identifier?: string | null;\n serviceCostsPerMonth?: number;\n security?: number | null;\n wishlistItemCount?: number;\n numberOfReserveCandidates?: number;\n availabilityStatus?: ConstructionNumberStatus;\n shortDescription?: string | null;\n longDescription?: string | null;\n houseSubType?: string | null;\n deliveryDate?: string | null;\n geometry?: PolygonModel[] | null;\n resources?: ResourceModel[] | null;\n groundLease?: GroundLease;\n mainImage?: ResourceModel;\n specifications?: ConstructionNumberSpecifications;\n salesPrice?: PropertySalesPrice;\n rentalPrice?: PropertyRentalPrice;\n landRegistration?: LandRegistrationDetails;\n extraSpecifications?: ExtraSpecifications;\n isEnergyNeutral?: boolean;\n numberOfFloors?: number | null;\n mainFloorNumber?: string | null;\n floors?: Floor[] | null;\n gardens?: GardenModel[] | null;\n outsideSpace?: OutsideSpaceModel[] | null;\n outbuildings?: Outbuilding[] | null;\n id: string;\n}\n\nexport interface ConstructionNumberSpecifications {\n nonLivingArea?: DecimalRange;\n buildingRelatedExternalSpace?: DecimalRange;\n externalStorage?: DecimalRange;\n characteristic?: string | null;\n sunDirection?: string | null;\n rooms?: DecimalRange;\n bedrooms?: DecimalRange;\n livingArea?: DecimalRange;\n livingRoomArea?: DecimalRange;\n plotArea?: DecimalRange;\n volume?: DecimalRange;\n}\n\nexport type ConstructionNumberStatus = 'Available' | 'InOption' | 'Sold' | 'Reserved';\n\nexport interface CountryModel {\n isoCode?: string | null;\n name?: string | null;\n englishName?: string | null;\n seoText?: SeoText;\n id: string;\n}\n\nexport interface CountryQuery {\n [key: string]: any;\n}\n\nexport interface DecimalRange {\n from?: number;\n to?: number | null;\n}\n\nexport interface DigitalBrochureModel {\n dateCreated?: string;\n data?: string | null;\n pageUrl?: string | null;\n id: string;\n}\n\nexport interface DigitalBrochureRequestModel {\n projectId?: string | null;\n areaId?: string | null;\n propertyId?: string | null;\n constructionNumberId?: string | null;\n firstName?: string | null;\n sufix?: string | null;\n lastName?: string | null;\n email?: string | null;\n data?: string | null;\n pageUrl?: string | null;\n documentName?: string | null;\n}\n\nexport interface DistrictModel {\n areaProjectId?: string | null;\n name?: string | null;\n url?: string | null;\n location?: number[] | null;\n geometry?: PolygonModel[] | null;\n isSold?: boolean;\n enableWishlist?: boolean;\n descriptionTitle?: string | null;\n description?: string | null;\n image?: ResourceModel;\n id: string;\n}\n\nexport interface DocumentModel {\n projectBisproNumber?: string | null;\n filename?: string | null;\n publicationDate?: string | null;\n title?: string | null;\n contentType?: string | null;\n documentType?: string | null;\n documentSubtype?: string | null;\n constructionBisproNumbers?: string[] | null;\n organizationBisproNumber?: string | null;\n isConcept?: boolean;\n url?: string | null;\n id: string;\n}\n\nexport interface DynamicFormModel {\n objectName?: string | null;\n mailTo?: string | null;\n fields?: {\n [key: string]: string | null;\n } | null;\n}\n\nexport interface ExtraSpecifications {\n quality?: string | null;\n isPermanentResidence?: boolean | null;\n isRecreationalResidence?: boolean | null;\n isInPark?: boolean | null;\n isPractice?: boolean | null;\n hasExternalStorage?: boolean | null;\n hasVveChecklist?: boolean | null;\n hasOpenPorch?: boolean | null;\n location?: string[] | null;\n certifications?: string[] | null;\n hotWater?: string[] | null;\n facilities?: string[] | null;\n isolation?: string[] | null;\n heating?: string[] | null;\n cooling?: string[] | null;\n energyPerformance?: string[] | null;\n remarks?: string[] | null;\n additionalConditions?: string[] | null;\n roofMaterial?: string | null;\n roofType?: string | null;\n roofRemarks?: string | null;\n energyLabel?: string | null;\n maintenanceInside?: string | null;\n maintenanceOutside?: string | null;\n vve?: Vve;\n}\n\nexport interface Feature {\n type?: GeoJSONObjectType;\n id?: string | null;\n geometry: IGeometryObject;\n properties: { [key: string]: any } | null;\n bbox?: number[] | null;\n crs?: ICRSObject;\n}\n\nexport interface FeatureCollection {\n type?: GeoJSONObjectType;\n features: Feature[];\n bbox?: number[] | null;\n crs?: ICRSObject;\n}\n\nexport interface Floor {\n name?: string | null;\n type?: string | null;\n floorNumber?: string | null;\n totalNumberOfRooms?: number | null;\n totalNumberOfBedrooms?: number | null;\n rooms?: Room[] | null;\n id?: string | null;\n dbCreateTimestamp?: number | null;\n dbUpdateTimestamp?: number | null;\n}\n\nexport interface GardenModel {\n id?: string | null;\n type?: string | null;\n position?: string | null;\n length?: number | null;\n width?: number | null;\n area?: number | null;\n hasBackEntrance?: boolean | null;\n isMain?: boolean;\n}\n\nexport type GeoJSONObjectType =\n | 'Point'\n | 'MultiPoint'\n | 'LineString'\n | 'MultiLineString'\n | 'Polygon'\n | 'MultiPolygon'\n | 'GeometryCollection'\n | 'Feature'\n | 'FeatureCollection';\n\nexport interface GrantModel {\n displayOnMap?: boolean;\n projectName?: string | null;\n cityName?: string | null;\n location?: number[] | null;\n status?: GrantStatus;\n id: string;\n}\n\nexport type GrantStatus = 'NotActive' | 'ApplicationGranted';\n\nexport interface GroundLease {\n priceWithCanonDecimal?: number | null;\n canonPercentageYearly?: number | null;\n canonAmountYearlyDecimal?: number | null;\n canonPercentage10Year?: number | null;\n canonAmount10YearDecimal?: number | null;\n canonPercentage25Year?: number | null;\n canonAmount25YearDecimal?: number | null;\n buyOffAmountDecimal?: number | null;\n priceWithBuyOffDecimal?: number | null;\n}\n\nexport type HolidayFrequency = 'Once' | 'Monthly' | 'Yearly';\n\nexport interface HouseSelectorModel {\n areaProjectId?: string | null;\n districtId?: string | null;\n displayName?: string | null;\n alias?: string | null;\n nodeId?: string | null;\n views?: HouseSelectorView[] | null;\n id: string;\n}\n\nexport interface HouseSelectorObject {\n objectType?: string | null;\n objectId?: string | null;\n point?: Point;\n polygon?: Point[] | null;\n linkToViewId?: string | null;\n label?: string | null;\n url?: string | null;\n iconName?: string | null;\n}\n\nexport interface HouseSelectorView {\n id?: string | null;\n name?: string | null;\n imageUrl?: string | null;\n imageMediaId?: number;\n objects?: HouseSelectorObject[] | null;\n}\n\nexport interface ICRSObject {\n type?: CRSType;\n}\n\nexport interface IGeometryObject {\n type?: GeoJSONObjectType;\n}\n\nexport interface LandRegistrationDetails {\n name?: string | null;\n proportion?: string | null;\n purchaseOption?: boolean | null;\n dateOfRequest?: string | null;\n durationOfLeaseHold?: string | null;\n isPermanentlyBought?: boolean | null;\n leaseHoldProvider?: string | null;\n leaseHoldPerYear?: number | null;\n cityHall?: string | null;\n municipalityId?: string | null;\n municipalityCode?: string | null;\n number?: string | null;\n scope?: string | null;\n area?: number | null;\n section?: string | null;\n type?: string | null;\n fixedVariable?: string | null;\n propertyTypeType?: string | null;\n propertyType?: string | null;\n plot?: string | null;\n constructionNumberId?: string | null;\n id?: string | null;\n dbCreateTimestamp?: number | null;\n dbUpdateTimestamp?: number | null;\n}\n\nexport interface LeadFormModel {\n city?: string | null;\n phone?: string | null;\n mobilePhone?: string | null;\n email?: string | null;\n countryId?: string | null;\n brochureId?: string | null;\n comment?: string | null;\n projectId?: string | null;\n propertyTypeId?: string | null;\n constructionNumberId?: string | null;\n areaProjectId?: string | null;\n districtId?: string | null;\n leadSource?: string | null;\n referringUrl?: string | null;\n salutation?: Salutation;\n initials?: string | null;\n firstName?: string | null;\n lastName?: string | null;\n lastNamePrefix?: string | null;\n street?: string | null;\n houseNumber?: string | null;\n houseNumberAddition?: string | null;\n postalCode?: string | null;\n}\n\nexport interface OpeningHours {\n name?: string | null;\n isActive?: boolean;\n isDefault?: boolean;\n monday?: TimeRange;\n tuesday?: TimeRange;\n wednesday?: TimeRange;\n thursday?: TimeRange;\n friday?: TimeRange;\n saturday?: TimeRange;\n sunday?: TimeRange;\n holidays?: OpeningHoursHoliday[] | null;\n id?: string | null;\n dbCreateTimestamp?: number | null;\n dbUpdateTimestamp?: number | null;\n}\n\nexport interface OpeningHoursHoliday {\n name?: string | null;\n startDate?: string;\n endDate?: string | null;\n openingHours?: TimeRange;\n frequency?: HolidayFrequency;\n}\n\nexport interface Outbuilding {\n typeCode?: string | null;\n name?: string | null;\n geometry?: FeatureCollection;\n type?: string | null;\n outbuildingType?: string | null;\n length?: number | null;\n width?: number | null;\n area?: number | null;\n isolation?: string[] | null;\n facilities?: string[] | null;\n facilitiesRemarks?: string | null;\n situation?: string | null;\n capacity?: number | null;\n id?: string | null;\n dbCreateTimestamp?: number | null;\n dbUpdateTimestamp?: number | null;\n}\n\nexport interface OutsideSpaceModel {\n id?: string | null;\n type?: string | null;\n position?: string | null;\n length?: number | null;\n width?: number | null;\n area?: number | null;\n hasBackEntrance?: boolean | null;\n}\n\nexport interface Point {\n x?: number;\n y?: number;\n}\n\nexport interface PolygonModel {\n coordinates?: number[][] | null;\n}\n\nexport type PriceCondition = 'VrijOpNaam' | 'KostenKoper';\n\nexport type PriceType =\n | 'ExactSum'\n | 'AskingPrice'\n | 'StartsFrom'\n | 'Indication'\n | 'Circa'\n | 'PriceOnRequest';\n\nexport interface ProblemDetails {\n type?: string | null;\n title?: string | null;\n status?: number | null;\n detail?: string | null;\n instance?: string | null;\n}\n\nexport interface ProjectModel {\n id?: string | null;\n name?: string | null;\n cityName?: string | null;\n fundaStatus?: string | null;\n fundaLastSyncDate?: string | null;\n fundaGatewayTransactionId?: number | null;\n fundaId?: number | null;\n connectionVersion?: string | null;\n userType?: string | null;\n gwnProjectVersion?: string | null;\n isAdmin?: boolean;\n}\n\nexport interface ProjectPhaseModel {\n areaProjectId?: string | null;\n bisproNumber?: string | null;\n areaProjectName?: string | null;\n districtId?: string | null;\n name?: string | null;\n url?: string | null;\n districtUrl?: string | null;\n shortDescription?: string | null;\n longDescription?: string | null;\n status?: ProjectPhaseStatus;\n saleStartDate?: string | null;\n saleEndDate?: string | null;\n allocationDate?: string | null;\n cityName?: string | null;\n municipalityName?: string | null;\n provinceName?: string | null;\n sortIndex?: number | null;\n environmentTypes?: string[] | null;\n deliveryStartDate?: string | null;\n constructionStartDate?: string | null;\n isRental?: boolean;\n isDigitalBrochureEnabled?: boolean;\n isNewDocumentsEnabled?: boolean;\n indicationServiceCosts?: number | null;\n indicationSecurity?: number | null;\n location?: number[] | null;\n geometry?: PolygonModel[] | null;\n resources?: ResourceModel[] | null;\n mainImage?: ResourceModel;\n propertySpecifications?: PropertySpecifications;\n propertyPurchasePrice?: PropertySalesPrice;\n propertyRentalPrice?: PropertyRentalPrice;\n houseTypes?: string[] | null;\n id: string;\n}\n\nexport type ProjectPhaseStatus =\n | 'InPreparation'\n | 'OnSale'\n | 'Sold'\n | 'ForRent'\n | 'Rented'\n | 'NotActive';\n\nexport interface PropertyRentalPrice {\n deposit?: number | null;\n amount?: DecimalRange;\n priceType?: PriceType;\n priceTypeFunda?: string | null;\n monthlyServiceCosts?: number | null;\n}\n\nexport interface PropertySalesPrice {\n condition?: PriceCondition;\n saleSpecification?: SaleSpecification;\n amount?: DecimalRange;\n priceType?: PriceType;\n priceTypeFunda?: string | null;\n monthlyServiceCosts?: number | null;\n}\n\nexport interface PropertySpecifications {\n rooms?: DecimalRange;\n bedrooms?: DecimalRange;\n livingArea?: DecimalRange;\n livingRoomArea?: DecimalRange;\n plotArea?: DecimalRange;\n volume?: DecimalRange;\n}\n\nexport interface PropertyTypeModel {\n areaProjectId?: string | null;\n districtId?: string | null;\n projectPhaseId?: string | null;\n projectPhaseName?: string | null;\n name?: string | null;\n shortDescription?: string | null;\n longDescription?: string | null;\n houseType?: string | null;\n houseSubType?: string | null;\n sortIndex?: number | null;\n environmentTypes?: string[] | null;\n hasBalcony?: boolean;\n isRental?: boolean;\n groundLease?: GroundLease;\n geometry?: PolygonModel[] | null;\n resources?: ResourceModel[] | null;\n mainImage?: ResourceModel;\n deliveryStartDate?: string | null;\n constructionStartDate?: string | null;\n indicationServiceCosts?: number | null;\n indicationSecurity?: number | null;\n specifications?: PropertySpecifications;\n salesPrice?: PropertySalesPrice;\n rentalPrice?: PropertyRentalPrice;\n canShowPrice?: boolean;\n extraSpecifications?: ExtraSpecifications;\n numberOfFloors?: number | null;\n mainFloorNumber?: string | null;\n floors?: Floor[] | null;\n gardens?: GardenModel[] | null;\n outsideSpace?: OutsideSpaceModel[] | null;\n outbuildings?: Outbuilding[] | null;\n usp1Title?: string | null;\n usp1Text?: string | null;\n usp2Title?: string | null;\n usp2Text?: string | null;\n id: string;\n}\n\nexport interface ProvinceModel {\n countryId?: string | null;\n countryIsoCode?: string | null;\n name?: string | null;\n seoText?: SeoText;\n id: string;\n}\n\nexport interface RegionModel {\n name?: string | null;\n id: string;\n}\n\nexport interface ResourceModel {\n title?: string | null;\n url?: string | null;\n resourceType?: string | null;\n contentType?: string | null;\n mediaNodeId?: string | null;\n lastUpdatedUtc?: string;\n metadata?: {\n [key: string]: string | null;\n } | null;\n}\n\nexport interface ResourceReference {\n ownerId?: string | null;\n ownerType?: string | null;\n isMainResource?: boolean | null;\n}\n\nexport interface Room {\n name?: string | null;\n type?: string | null;\n hasStairs?: boolean | null;\n length?: number | null;\n width?: number | null;\n height?: number | null;\n area?: number | null;\n volume?: number | null;\n renewedIn?: string | null;\n facilities?: string[] | null;\n}\n\nexport type SaleSpecification = 'ExclusiefBouwrente' | 'BtwBelast' | 'InclusiefBtw';\n\nexport type Salutation = 'Undefined' | 'Mr' | 'Mrs' | 'Ms';\n\nexport interface SeoText {\n saleTitle?: string | null;\n saleText?: string | null;\n rentalTitle?: string | null;\n rentalText?: string | null;\n}\n\nexport interface Time {\n hour?: number;\n minute?: number;\n}\n\nexport interface TimeRange {\n from?: Time;\n to?: Time;\n}\n\nexport interface UpdateApartmentBuildingModel {\n districtId?: string | null;\n alias?: string | null;\n displayName?: string | null;\n description?: string | null;\n propertyTypeIds?: string[] | null;\n sortIndex?: number;\n views?: ApartmentBuildingView[] | null;\n image?: UpdateResourceModel;\n}\n\nexport interface UpdateHouseSelectorBaseModel {\n districtId?: string | null;\n displayName?: string | null;\n description?: string | null;\n alias?: string | null;\n}\n\nexport interface UpdateHouseSelectorViewsModel {\n views?: HouseSelectorView[] | null;\n}\n\nexport interface UpdateResourceModel {\n title?: string | null;\n url?: string | null;\n resourceType?: string | null;\n contentType?: string | null;\n sortIndex?: number;\n references?: ResourceReference[] | null;\n metadata?: {\n [key: string]: string | null;\n } | null;\n}\n\nexport interface Vve {\n vveContribution?: number | null;\n hasMaintenanceForecast?: boolean | null;\n hasPeriodicContribution?: boolean | null;\n isRegisteredInKvK?: boolean | null;\n hasHomeInsurance?: boolean | null;\n hasReserveFunds?: boolean | null;\n hasMeetings?: boolean | null;\n}\n\nexport type WebchatType = 'None' | 'UnifiedCommunications' | 'Salesforce';\n\nexport interface WebsiteContactModel {\n enableWebchat?: boolean;\n webchatType?: WebchatType;\n webchatServer?: string | null;\n webchatUcc?: string | null;\n webchatChannelMenuName?: string | null;\n phoneNumber?: string | null;\n emailAddress?: string | null;\n facebookUrl?: string | null;\n pinterestUrl?: string | null;\n twitterUrl?: string | null;\n caseViaEmail?: boolean;\n openingHours?: OpeningHours;\n}\n\nexport interface WebsiteModel {\n mapboxTilesetId?: string | null;\n mapboxDatasetId?: string | null;\n url?: string | null;\n disablePropertyComparison?: boolean;\n enableCustomerCommunity?: boolean;\n enableFavourites?: boolean;\n enableMortgageCalculator?: boolean;\n secondLevelNavigationLabelSingular?: string | null;\n secondLevelNavigationLabelPlural?: string | null;\n skinName?: string | null;\n contactDetails?: WebsiteContactModel;\n showOnCorporateSite?: boolean;\n isMyEnvironmentIframeEnabled?: boolean;\n isNewDocumentsEnabled?: boolean;\n}\n\nexport interface ActivationEngineGetProfileQueryParams {\n areaId?: string;\n projectId?: string;\n}\n\nexport interface ApartmentBuildingQueryQueryParams {\n AreaProjectId?: string;\n ProjectPhaseId?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface ApartmentBuildingUpdateApartmentBuildingQueryParams {\n apiKey?: string;\n origin?: string;\n}\n\nexport interface ApartmentBuildingDeleteApartmentBuildingQueryParams {\n apiKey?: string;\n origin?: string;\n}\n\nexport interface ApartmentBuildingGetByExternalIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface AreaProjectGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface AreaProjectQueryQueryParams {\n CountryIsoCode?: string;\n HasLocationData?: boolean;\n CorporateSite?: boolean;\n include?: string;\n lang?: string;\n}\n\nexport interface CityGetByNameQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface CityGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface CityQueryQueryParams {\n CountryIsoCode?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface ConstructionNumberGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface ConstructionNumberQueryQueryParams {\n AreaProjectId?: string;\n DistrictId?: string;\n ProjectPhaseId?: string;\n PropertyTypeId?: string;\n MinPrice?: number;\n MaxPrice?: number;\n IncludeInactive?: boolean;\n include?: string;\n lang?: string;\n}\n\nexport interface CountryGetByIsoCodeQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface CountryGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface CountryQueryQueryParams {\n query?: CountryQuery;\n include?: string;\n lang?: string;\n}\n\nexport interface DistrictGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface DistrictQueryQueryParams {\n AreaProjectId?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface DocumentDownloadQueryParams {\n returnUrl?: string;\n}\n\nexport interface DocumentGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface DocumentQueryQueryParams {\n ProjectBisproNumber?: string;\n ProjectBisproNumbers?: string;\n ConstructionBisproNumbers?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface FundaQueryQueryParams {\n apiKey?: string;\n regionId?: string;\n query?: string;\n userType?: string;\n isAdmin?: boolean;\n allowedRegionIds?: string;\n}\n\nexport interface FundaGetQueryParams {\n apiKey?: string;\n id?: string;\n isAdmin?: boolean;\n userType?: string;\n}\n\nexport interface FundaSubmitQueryParams {\n apiKey?: string;\n id?: string;\n incrementVersion?: boolean;\n}\n\nexport interface FundaSubmitRouteQueryParams {\n apiKey?: string;\n incrementVersion?: boolean;\n}\n\nexport interface FundaRunTransactionCheckQueryParams {\n apiKey?: string;\n}\n\nexport interface FundaValidateQueryParams {\n apiKey?: string;\n id?: string;\n}\n\nexport interface FundaShowLastSubmittedProjectQueryParams {\n apiKey?: string;\n projectCrmId?: string;\n}\n\nexport interface FundaShowConvertedFundaObjectQueryParams {\n apiKey?: string;\n projectCrmId?: string;\n}\n\nexport interface FundaCompareFundaObjectRevisionChangesQueryParams {\n apiKey?: string;\n projectCrmId?: string;\n gwnId?: number;\n}\n\nexport interface FundaShowFundaProjectLogsQueryParams {\n apiKey?: string;\n projectCrmId?: string;\n}\n\nexport interface FundaExecuteFundaPublisherQueryParams {\n apiKey?: string;\n}\n\nexport interface FundaGetAllGwnVersionsByProjectIdQueryParams {\n apiKey?: string;\n projectCrmId?: string;\n}\n\nexport interface FundaRemoveVersionFromGwnQueryParams {\n apiKey?: string;\n projectId?: string;\n projectFundaId?: number;\n projectCode?: string;\n nvmId?: string;\n}\n\nexport interface FundaGetActiveBrokersInGatewayQueryParams {\n apiKey?: string;\n}\n\nexport interface GrantGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface GrantQueryQueryParams {\n ProjectName?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface HouseSelectorQueryQueryParams {\n AreaProjectId?: string;\n DistrictId?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface HouseSelectorUpdateHouseSelectorQueryParams {\n apiKey?: string;\n}\n\nexport interface HouseSelectorDeleteHouseSelectorQueryParams {\n apiKey?: string;\n deleteDraft?: boolean;\n}\n\nexport interface HouseSelectorGetByExternalIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface HouseSelectorPublishHouseSelectorQueryParams {\n apiKey?: string;\n}\n\nexport interface HouseSelectorUpdateHouseSelectorViewsQueryParams {\n apiKey?: string;\n}\n\nexport interface HouseSelectorGetDraftByExternalIdQueryParams {\n apiKey?: string;\n lang?: string;\n}\n\nexport interface ProjectPhaseGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface ProjectPhaseQueryQueryParams {\n CountryIsoCode?: string;\n AreaProjectId?: string;\n IncludeInactive?: boolean;\n include?: string;\n lang?: string;\n}\n\nexport interface PropertyTypeGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface PropertyTypeQueryQueryParams {\n AreaProjectId?: string;\n DistrictId?: string;\n ProjectPhaseId?: string;\n IncludeInactive?: boolean;\n include?: string;\n lang?: string;\n}\n\nexport interface ProvinceGetByNameQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface ProvinceGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface ProvinceQueryQueryParams {\n CountryIsoCode?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface RedirectAreaNewsletterHeaderRedirectQueryParams {\n width?: string;\n height?: string;\n mode?: string;\n quality?: string;\n}\n\nexport interface RedirectAreaLogoRedirectQueryParams {\n width?: string;\n height?: string;\n mode?: string;\n quality?: string;\n}\n\nexport interface RedirectProjectNewsletterHeaderRedirectQueryParams {\n width?: string;\n height?: string;\n mode?: string;\n quality?: string;\n}\n\nexport interface RedirectProjectImageRedirectQueryParams {\n width?: string;\n height?: string;\n mode?: string;\n quality?: string;\n}\n\nexport interface RedirectPropertyTypeImageRedirectQueryParams {\n width?: string;\n height?: string;\n mode?: string;\n quality?: string;\n}\n\nexport interface RedirectConstructionNumberImageRedirectQueryParams {\n width?: string;\n height?: string;\n mode?: string;\n quality?: string;\n}\n\nexport interface RegionGetByIdQueryParams {\n include?: string;\n lang?: string;\n}\n\nexport interface RegionQueryQueryParams {\n AllowedRegionIds?: string;\n include?: string;\n lang?: string;\n}\n\nexport interface ResourceUpdateResourceQueryParams {\n apiKey?: string;\n projectId?: string;\n}\n\nexport interface ResourceDeleteResourceQueryParams {\n apiKey?: string;\n projectId?: string;\n}\n\nexport const activationEngineGetProfile = (\n clientId: string,\n params?: ActivationEngineGetProfileQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<ActivationEngineModel>(\n `/activationengine/profile/${clientId}`,\n params,\n config,\n ).then((res) => res!);\n\nexport const apartmentBuildingQuery = (\n params?: ApartmentBuildingQueryQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<ApartmentBuildingModel[]>(`/apartmentbuildings`, params, config).then(\n (res) => res!,\n );\n\nexport const apartmentBuildingUpdateApartmentBuilding = (\n nodeId: string,\n body: UpdateApartmentBuildingModel,\n config?: RequestConfig,\n) => APIClient.put<void>(`/apartmentbuildings/${nodeId}`, body, config).then((res) => res!);\n\nexport const apartmentBuildingDeleteApartmentBuilding = (\n nodeId: string,\n body: any,\n config?: RequestConfig,\n) => APIClient.delete<void>(`/apartmentbuildings/${nodeId}`, body, config).then((res) => res!);\n\nexport const apartmentBuildingGetByExternalId = (\n nodeId: string,\n params?: ApartmentBuildingGetByExternalIdQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<ApartmentBuildingModel>(`/apartmentbuildings/${nodeId}`, params, config).then(\n (res) => res!,\n );\n\nexport const areaProjectGetById = (\n id: string,\n params?: AreaProjectGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<AreaProjectModel>(`/areaprojects/${id}`, params, config).then((res) => res!);\n\nexport const areaProjectQuery = (params?: AreaProjectQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<AreaProjectModel[]>(`/areaprojects`, params, config).then((res) => res!);\n\nexport const cityGetByName = (\n name: string,\n params?: CityGetByNameQueryParams,\n config?: RequestConfig,\n) => APIClient.get<CityModel>(`/cities/name/${name}`, params, config).then((res) => res!);\n\nexport const cityGetById = (id: string, params?: CityGetByIdQueryParams, config?: RequestConfig) =>\n APIClient.get<CityModel>(`/cities/${id}`, params, config).then((res) => res!);\n\nexport const cityQuery = (params?: CityQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<CityModel[]>(`/cities`, params, config).then((res) => res!);\n\nexport const constructionNumberGetById = (\n id: string,\n params?: ConstructionNumberGetByIdQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<ConstructionNumberModel>(`/constructionnumbers/${id}`, params, config).then(\n (res) => res!,\n );\n\nexport const constructionNumberQuery = (\n params?: ConstructionNumberQueryQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<ConstructionNumberModel[]>(`/constructionnumbers`, params, config).then(\n (res) => res!,\n );\n\nexport const countryGetByIsoCode = (\n isoCode: string,\n params?: CountryGetByIsoCodeQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<CountryModel>(`/countries/isoCode/${isoCode}`, params, config).then(\n (res) => res!,\n );\n\nexport const countryGetById = (\n id: string,\n params?: CountryGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<CountryModel>(`/countries/${id}`, params, config).then((res) => res!);\n\nexport const countryQuery = (params?: CountryQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<CountryModel[]>(`/countries`, params, config).then((res) => res!);\n\nexport const digitalBrochureGetById = (id: string, params?: any, config?: RequestConfig) =>\n APIClient.get<DigitalBrochureModel>(`/digital-brochures/${id}`, params, config).then(\n (res) => res!,\n );\n\nexport const districtGetById = (\n id: string,\n params?: DistrictGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<DistrictModel>(`/districts/${id}`, params, config).then((res) => res!);\n\nexport const districtQuery = (params?: DistrictQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<DistrictModel[]>(`/districts`, params, config).then((res) => res!);\n\nexport const documentDownload = (\n id: string,\n fileName: string,\n params?: DocumentDownloadQueryParams,\n config?: RequestConfig,\n) => APIClient.get<void>(`/documents/${id}/${fileName}`, params, config).then((res) => res!);\n\nexport const documentDownloadZip = (\n projectBisproNumber: string,\n constructionBisproNumber: string,\n params?: any,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(\n `/documents/zip/${projectBisproNumber}/${constructionBisproNumber}`,\n params,\n config,\n ).then((res) => res!);\n\nexport const documentGetById = (\n id: string,\n params?: DocumentGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<DocumentModel>(`/documents/${id}`, params, config).then((res) => res!);\n\nexport const documentQuery = (params?: DocumentQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<DocumentModel[]>(`/documents`, params, config).then((res) => res!);\n\nexport const formLead = (body: LeadFormModel, config?: RequestConfig) =>\n APIClient.post<void>(`/forms/lead`, body, config).then((res) => res!);\n\nexport const formCase = (body: CaseFormModel, config?: RequestConfig) =>\n APIClient.post<void>(`/forms/case`, body, config).then((res) => res!);\n\nexport const formDynamic = (body: DynamicFormModel, config?: RequestConfig) =>\n APIClient.post<void>(`/forms/dynamic`, body, config).then((res) => res!);\n\nexport const formDigitalBrochure = (body: DigitalBrochureRequestModel, config?: RequestConfig) =>\n APIClient.post<void>(`/forms/digital-brochure`, body, config).then((res) => res!);\n\nexport const fundaQuery = (params?: FundaQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<ProjectModel[]>(`/funda/query`, params, config).then((res) => res!);\n\nexport const fundaGet = (params?: FundaGetQueryParams, config?: RequestConfig) =>\n APIClient.get<void>(`/funda`, params, config).then((res) => res!);\n\nexport const fundaSubmit = (body: any, config?: RequestConfig) =>\n APIClient.post<void>(`/funda/submit`, body, config).then((res) => res!);\n\nexport const fundaSubmitRoute = (id: string, body: any, config?: RequestConfig) =>\n APIClient.post<void>(`/funda/submit/${id}`, body, config).then((res) => res!);\n\nexport const fundaRunTransactionCheck = (\n params?: FundaRunTransactionCheckQueryParams,\n config?: RequestConfig,\n) => APIClient.get<void>(`/funda/check`, params, config).then((res) => res!);\n\nexport const fundaValidate = (body: any, config?: RequestConfig) =>\n APIClient.post<void>(`/funda/validate`, body, config).then((res) => res!);\n\nexport const fundaShowLastSubmittedProject = (\n params?: FundaShowLastSubmittedProjectQueryParams,\n config?: RequestConfig,\n) => APIClient.get<void>(`/funda/ShowLastSubmittedProject`, params, config).then((res) => res!);\n\nexport const fundaShowConvertedFundaObject = (\n params?: FundaShowConvertedFundaObjectQueryParams,\n config?: RequestConfig,\n) => APIClient.get<void>(`/funda/ShowConvertedFundaObject`, params, config).then((res) => res!);\n\nexport const fundaCompareFundaObjectRevisionChanges = (\n params?: FundaCompareFundaObjectRevisionChangesQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(`/funda/CompareFundaObjectRevisionChanges`, params, config).then(\n (res) => res!,\n );\n\nexport const fundaShowFundaProjectLogs = (\n params?: FundaShowFundaProjectLogsQueryParams,\n config?: RequestConfig,\n) => APIClient.get<void>(`/funda/ShowFundaProjectLogs`, params, config).then((res) => res!);\n\nexport const fundaExecuteFundaPublisher = (\n params?: FundaExecuteFundaPublisherQueryParams,\n config?: RequestConfig,\n) => APIClient.get<void>(`/funda/ExecuteFundaPublisher`, params, config).then((res) => res!);\n\nexport const fundaGetAllGwnVersionsByProjectId = (\n params?: FundaGetAllGwnVersionsByProjectIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<void>(`/funda/GetAllGwnVersionsByProjectId`, params, config).then((res) => res!);\n\nexport const fundaRemoveVersionFromGwn = (\n params?: FundaRemoveVersionFromGwnQueryParams,\n config?: RequestConfig,\n) => APIClient.get<void>(`/funda/RemoveVersionFromGwn`, params, config).then((res) => res!);\n\nexport const fundaGetActiveBrokersInGateway = (\n params?: FundaGetActiveBrokersInGatewayQueryParams,\n config?: RequestConfig,\n) => APIClient.get<void>(`/funda/GetActiveBrokersInGateway`, params, config).then((res) => res!);\n\nexport const grantGetById = (\n id: string,\n params?: GrantGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<GrantModel>(`/grants/${id}`, params, config).then((res) => res!);\n\nexport const grantQuery = (params?: GrantQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<GrantModel[]>(`/grants`, params, config).then((res) => res!);\n\nexport const houseSelectorQuery = (\n params?: HouseSelectorQueryQueryParams,\n config?: RequestConfig,\n) => APIClient.get<HouseSelectorModel[]>(`/houseselectors`, params, config).then((res) => res!);\n\nexport const houseSelectorUpdateHouseSelector = (\n nodeId: string,\n body: UpdateHouseSelectorBaseModel,\n config?: RequestConfig,\n) => APIClient.put<void>(`/houseselectors/${nodeId}`, body, config).then((res) => res!);\n\nexport const houseSelectorDeleteHouseSelector = (\n nodeId: string,\n body: any,\n config?: RequestConfig,\n) => APIClient.delete<void>(`/houseselectors/${nodeId}`, body, config).then((res) => res!);\n\nexport const houseSelectorGetByExternalId = (\n nodeId: string,\n params?: HouseSelectorGetByExternalIdQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<HouseSelectorModel>(`/houseselectors/${nodeId}`, params, config).then(\n (res) => res!,\n );\n\nexport const houseSelectorPublishHouseSelector = (\n nodeId: string,\n body: any,\n config?: RequestConfig,\n) => APIClient.put<void>(`/houseselectors/${nodeId}/publish`, body, config).then((res) => res!);\n\nexport const houseSelectorUpdateHouseSelectorViews = (\n nodeId: string,\n body: UpdateHouseSelectorViewsModel,\n config?: RequestConfig,\n) => APIClient.put<void>(`/houseselectors/${nodeId}/views`, body, config).then((res) => res!);\n\nexport const houseSelectorGetDraftByExternalId = (\n nodeId: string,\n params?: HouseSelectorGetDraftByExternalIdQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<HouseSelectorModel>(`/houseselectors/${nodeId}/draft`, params, config).then(\n (res) => res!,\n );\n\nexport const projectPhaseGetById = (\n id: string,\n params?: ProjectPhaseGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<ProjectPhaseModel>(`/projectphases/${id}`, params, config).then((res) => res!);\n\nexport const projectPhaseQuery = (params?: ProjectPhaseQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<ProjectPhaseModel[]>(`/projectphases`, params, config).then((res) => res!);\n\nexport const propertyTypeGetById = (\n id: string,\n params?: PropertyTypeGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<PropertyTypeModel>(`/propertytypes/${id}`, params, config).then((res) => res!);\n\nexport const propertyTypeQuery = (params?: PropertyTypeQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<PropertyTypeModel[]>(`/propertytypes`, params, config).then((res) => res!);\n\nexport const provinceGetByName = (\n name: string,\n params?: ProvinceGetByNameQueryParams,\n config?: RequestConfig,\n) => APIClient.get<ProvinceModel>(`/provinces/name/${name}`, params, config).then((res) => res!);\n\nexport const provinceGetById = (\n id: string,\n params?: ProvinceGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<ProvinceModel>(`/provinces/${id}`, params, config).then((res) => res!);\n\nexport const provinceQuery = (params?: ProvinceQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<ProvinceModel[]>(`/provinces`, params, config).then((res) => res!);\n\nexport const redirectAreaNewsletterHeaderRedirect = (\n areaId: string,\n extension: string,\n params?: RedirectAreaNewsletterHeaderRedirectQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(`/redirect/media/area/${areaId}.${extension}`, params, config).then(\n (res) => res!,\n );\n\nexport const redirectAreaLogoRedirect = (\n areaId: string,\n extension: string,\n params?: RedirectAreaLogoRedirectQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(`/redirect/media/logo/${areaId}.${extension}`, params, config).then(\n (res) => res!,\n );\n\nexport const redirectProjectNewsletterHeaderRedirect = (\n projectId: string,\n extension: string,\n params?: RedirectProjectNewsletterHeaderRedirectQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(\n `/redirect/media/newsletter/${projectId}.${extension}`,\n params,\n config,\n ).then((res) => res!);\n\nexport const redirectProjectImageRedirect = (\n projectId: string,\n extension: string,\n params?: RedirectProjectImageRedirectQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(`/redirect/media/project/${projectId}.${extension}`, params, config).then(\n (res) => res!,\n );\n\nexport const redirectPropertyTypeImageRedirect = (\n propertyTypeId: string,\n extension: string,\n params?: RedirectPropertyTypeImageRedirectQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(\n `/redirect/media/woningtype/${propertyTypeId}.${extension}`,\n params,\n config,\n ).then((res) => res!);\n\nexport const redirectConstructionNumberImageRedirect = (\n constructionNumberId: string,\n extension: string,\n params?: RedirectConstructionNumberImageRedirectQueryParams,\n config?: RequestConfig,\n) =>\n APIClient.get<void>(\n `/redirect/media/bouwnummer/${constructionNumberId}.${extension}`,\n params,\n config,\n ).then((res) => res!);\n\nexport const redirectRelationsListRedirect = (params?: any, config?: RequestConfig) =>\n APIClient.get<void>(`/redirect/media/resource/relations`, params, config).then((res) => res!);\n\nexport const regionGetById = (\n id: string,\n params?: RegionGetByIdQueryParams,\n config?: RequestConfig,\n) => APIClient.get<RegionModel>(`/region/${id}`, params, config).then((res) => res!);\n\nexport const regionQuery = (params?: RegionQueryQueryParams, config?: RequestConfig) =>\n APIClient.get<RegionModel[]>(`/region`, params, config).then((res) => res!);\n\nexport const resourceUpdateResource = (\n mediaId: string,\n body: UpdateResourceModel,\n config?: RequestConfig,\n) => APIClient.put<void>(`/resources/${mediaId}`, body, config).then((res) => res!);\n\nexport const resourceDeleteResource = (mediaId: string, body: any, config?: RequestConfig) =>\n APIClient.delete<void>(`/resources/${mediaId}`, body, config).then((res) => res!);\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpd-library/utilities",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1-beta.0",
|
|
4
4
|
"description": "Description",
|
|
5
5
|
"url": "https://github.com/{repo name}",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "ec87db31db93e9ead2aae1ed8175dcfeeb3ea7ab",
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@atomify/core": "2.4.1",
|
|
51
51
|
"@atomify/hooks": "1.1.11",
|
|
52
52
|
"@atomify/jsx": "1.7.1",
|
|
53
53
|
"@atomify/kit": "1.1.11",
|
|
54
|
-
"@bpd-library/types": "^1.
|
|
54
|
+
"@bpd-library/types": "^1.5.1-beta.0",
|
|
55
55
|
"qs": "^6.9.4",
|
|
56
56
|
"query-string": "5"
|
|
57
57
|
}
|