@bpd-library/utilities 1.4.2 → 1.4.3-beta.1
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AreaProjectModel } from 'src/generated';
|
|
1
2
|
import { ExtendedAreaProject } from '../api-utilities.types';
|
|
2
|
-
declare const getApiObjectLayerRaster: ({ mapboxTilesetId }: ExtendedAreaProject) => string | null;
|
|
3
|
+
declare const getApiObjectLayerRaster: ({ mapboxTilesetId }: ExtendedAreaProject | AreaProjectModel) => string | null;
|
|
3
4
|
export { getApiObjectLayerRaster };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer-raster.js","sourceRoot":"","sources":["../../../src/api-utilities/get/layer-raster.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"layer-raster.js","sourceRoot":"","sources":["../../../src/api-utilities/get/layer-raster.ts"],"names":[],"mappings":"AAIA,MAAM,uBAAuB,GAAG,CAAC,EAAE,eAAe,EAA0C,EAAE,EAAE,CAC5F,eAAe,CAAC,CAAC,CAAC,6BAA6B,eAAe,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAE5E,OAAO,EAAE,uBAAuB,EAAE,CAAC","sourcesContent":["import { AreaProjectModel } from 'src/generated';\n\nimport { ExtendedAreaProject } from '../api-utilities.types';\n\nconst getApiObjectLayerRaster = ({ mapboxTilesetId }: ExtendedAreaProject | AreaProjectModel) =>\n mapboxTilesetId ? `https://api.mapbox.com/v4/${mapboxTilesetId}` : null;\n\nexport { getApiObjectLayerRaster };\n"]}
|
|
@@ -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,O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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,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/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AA4BtE,MAAM,yBAAyB,GAAG,GAAG,EAAE;IACnC,MAAM,SAAS,GAMX,EAAE,CAAC;IAEP,KAAK,UAAU,UAAU,CAAC,MAAc;QACpC,IAAI,YAAgC,CAAC;QAErC,IAAI,qBAAqB,CAAC,MAAM,CAAC,EAAE;YAC/B,YAAY,GAAG,uBAAuB,CAAC,MAAM,CAAE,CAAC;SACnD;aAAM;YACH,YAAY,GAAG,MAAM,SAAS,CAAC,MAAM,CAAC,CAAC;YACvC,qBAAqB,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;SAC/C;QAED,YAAY,GAAG,uBAAuB,CAAC,YAAY,CAAC,CAAC;QAErD,SAAS,CAAC,MAAM,CAAC,CAAC,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC,CAAC;QAE5D,SAAS,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;IAED,KAAK,UAAU,OAAO,CAAC,MAAc;QACjC,IAAI,CAAC,SAAS,CAAC,MA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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"]}
|
|
@@ -672,6 +672,7 @@ export interface WebsiteModel {
|
|
|
672
672
|
mapboxTilesetId?: string | null;
|
|
673
673
|
mapboxDatasetId?: string | null;
|
|
674
674
|
url?: string | null;
|
|
675
|
+
disablePropertyComparison?: boolean;
|
|
675
676
|
enableCustomerCommunity?: boolean;
|
|
676
677
|
enableFavourites?: boolean;
|
|
677
678
|
enableMortgageCalculator?: boolean;
|
|
@@ -771,6 +772,8 @@ export interface DocumentGetByIdQueryParams {
|
|
|
771
772
|
}
|
|
772
773
|
export interface DocumentQueryQueryParams {
|
|
773
774
|
ProjectPhaseId?: string;
|
|
775
|
+
ProjectPhaseIds?: string;
|
|
776
|
+
ConstructionNumberNames?: string;
|
|
774
777
|
include?: string;
|
|
775
778
|
lang?: string;
|
|
776
779
|
}
|
|
@@ -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;AAwjCnC,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,MA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,CAAC,CAAC;AAEzF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,MAA+B,EAAE,MAAsB,EAAE,EAAE,CACnF,SAAS,CAAC,GAAG,CAAgB,aAAa,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAI,CAAC,CAAC;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 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 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;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,MAAsB,EACxB,EAAE,CAAC,SAAS,CAAC,GAAG,CAAO,2BAA2B,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAI,CAAC,CAAC;AAEhG,MAAM,CAAC,MAAM,wCAAwC,GAAG,CACpD,MAAc,EACd,IAAS,EACT,MAAsB,EACxB,EAAE,CAAC,SAAS,CAAC,MAAM,CAAO,2BAA2B,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,C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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"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpd-library/utilities",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3-beta.1",
|
|
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": "6fb1b77c65740d054a8371b19947fa77592144a8",
|
|
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.4.
|
|
54
|
+
"@bpd-library/types": "^1.4.3-beta.1",
|
|
55
55
|
"qs": "^6.9.4",
|
|
56
56
|
"query-string": "5"
|
|
57
57
|
}
|