@golemio/energetics 1.5.3-dev.2115789253 → 1.5.3-dev.2177936068
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.
- package/db/migrations/postgresql/20251110125059-eno-integration.js +53 -0
- package/db/migrations/postgresql/20251119123216-eno-stavby-geometrie.js +53 -0
- package/db/migrations/postgresql/sqls/20251110125059-eno-integration-down.sql +10 -0
- package/db/migrations/postgresql/sqls/20251110125059-eno-integration-up.sql +170 -0
- package/db/migrations/postgresql/sqls/20251119123216-eno-stavby-geometrie-down.sql +2 -0
- package/db/migrations/postgresql/sqls/20251119123216-eno-stavby-geometrie-up.sql +37 -0
- package/dist/integration-engine/enapo/constants.d.ts +1 -0
- package/dist/integration-engine/enapo/constants.js +2 -1
- package/dist/integration-engine/enapo/constants.js.map +1 -1
- package/dist/integration-engine/enapo/datasources/eno/EnoDatasource.d.ts +10 -0
- package/dist/integration-engine/enapo/datasources/eno/EnoDatasource.js +92 -0
- package/dist/integration-engine/enapo/datasources/eno/EnoDatasource.js.map +1 -0
- package/dist/integration-engine/enapo/datasources/eno/EnoDatasourceFactory.d.ts +15 -0
- package/dist/integration-engine/enapo/datasources/eno/EnoDatasourceFactory.js +47 -0
- package/dist/integration-engine/enapo/datasources/eno/EnoDatasourceFactory.js.map +1 -0
- package/dist/integration-engine/enapo/datasources/eno/EnoOperationEnum.d.ts +17 -0
- package/dist/integration-engine/enapo/datasources/eno/EnoOperationEnum.js +24 -0
- package/dist/integration-engine/enapo/datasources/eno/EnoOperationEnum.js.map +1 -0
- package/dist/integration-engine/enapo/helpers/Chunker.d.ts +3 -0
- package/dist/integration-engine/enapo/helpers/Chunker.js +14 -0
- package/dist/integration-engine/enapo/helpers/Chunker.js.map +1 -0
- package/dist/integration-engine/enapo/interfaces/eno/IEnoBuildingInfo.d.ts +10 -0
- package/dist/integration-engine/enapo/interfaces/eno/IEnoBuildingInfo.js +3 -0
- package/dist/integration-engine/enapo/interfaces/eno/IEnoBuildingInfo.js.map +1 -0
- package/dist/integration-engine/enapo/interfaces/eno/IEnoStructureInfo.d.ts +10 -0
- package/dist/integration-engine/enapo/interfaces/eno/IEnoStructureInfo.js +3 -0
- package/dist/integration-engine/enapo/interfaces/eno/IEnoStructureInfo.js.map +1 -0
- package/dist/integration-engine/enapo/interfaces/eno/IGeometryInputWithIndex.d.ts +4 -0
- package/dist/integration-engine/enapo/interfaces/eno/IGeometryInputWithIndex.js +3 -0
- package/dist/integration-engine/enapo/interfaces/eno/IGeometryInputWithIndex.js.map +1 -0
- package/dist/integration-engine/enapo/ioc/Di.js +43 -2
- package/dist/integration-engine/enapo/ioc/Di.js.map +1 -1
- package/dist/integration-engine/enapo/ioc/EnapoWorkerContainerToken.d.ts +20 -0
- package/dist/integration-engine/enapo/ioc/EnapoWorkerContainerToken.js +22 -0
- package/dist/integration-engine/enapo/ioc/EnapoWorkerContainerToken.js.map +1 -1
- package/dist/integration-engine/enapo/repositories/eno/EnoAddressRepository.d.ts +5 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoAddressRepository.js +32 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoAddressRepository.js.map +1 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoBuildingRepository.d.ts +5 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoBuildingRepository.js +32 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoBuildingRepository.js.map +1 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoEJRepository.d.ts +5 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoEJRepository.js +32 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoEJRepository.js.map +1 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoGeometryRepository.d.ts +5 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoGeometryRepository.js +32 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoGeometryRepository.js.map +1 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoLocationRepository.d.ts +5 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoLocationRepository.js +32 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoLocationRepository.js.map +1 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoManagerRepository.d.ts +5 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoManagerRepository.js +32 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoManagerRepository.js.map +1 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoOrganizationRepository.d.ts +5 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoOrganizationRepository.js +32 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoOrganizationRepository.js.map +1 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoPropertyRepository.d.ts +5 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoPropertyRepository.js +32 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoPropertyRepository.js.map +1 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoRemovedGIDRepository.d.ts +5 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoRemovedGIDRepository.js +32 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoRemovedGIDRepository.js.map +1 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoStructureRepository.d.ts +5 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoStructureRepository.js +32 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoStructureRepository.js.map +1 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoStructureTypeRepository.d.ts +5 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoStructureTypeRepository.js +32 -0
- package/dist/integration-engine/enapo/repositories/eno/EnoStructureTypeRepository.js.map +1 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoBuildingTransformation.d.ts +13 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoBuildingTransformation.js +101 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoBuildingTransformation.js.map +1 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoEJTransformation.d.ts +7 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoEJTransformation.js +42 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoEJTransformation.js.map +1 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoGeometryTransformation.d.ts +11 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoGeometryTransformation.js +34 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoGeometryTransformation.js.map +1 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoManagerTransformation.d.ts +7 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoManagerTransformation.js +50 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoManagerTransformation.js.map +1 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoOrganizationTransformation.d.ts +7 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoOrganizationTransformation.js +31 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoOrganizationTransformation.js.map +1 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoStructureTransformation.d.ts +13 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoStructureTransformation.js +92 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoStructureTransformation.js.map +1 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoStructureTypeTransformation.d.ts +7 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoStructureTypeTransformation.js +32 -0
- package/dist/integration-engine/enapo/transformations/eno/EnoStructureTypeTransformation.js.map +1 -0
- package/dist/integration-engine/enapo/workers/EnapoWorker.js +4 -0
- package/dist/integration-engine/enapo/workers/EnapoWorker.js.map +1 -1
- package/dist/integration-engine/enapo/workers/interfaces/IEnoDataTaskInput.d.ts +9 -0
- package/dist/integration-engine/enapo/workers/interfaces/IEnoDataTaskInput.js +9 -0
- package/dist/integration-engine/enapo/workers/interfaces/IEnoDataTaskInput.js.map +1 -0
- package/dist/integration-engine/enapo/workers/interfaces/IEnoGeometryTaskInput.d.ts +4 -0
- package/dist/integration-engine/enapo/workers/interfaces/IEnoGeometryTaskInput.js +3 -0
- package/dist/integration-engine/enapo/workers/interfaces/IEnoGeometryTaskInput.js.map +1 -0
- package/dist/integration-engine/enapo/workers/interfaces/IEnoLookupTaskInput.d.ts +3 -0
- package/dist/integration-engine/enapo/workers/interfaces/IEnoLookupTaskInput.js +3 -0
- package/dist/integration-engine/enapo/workers/interfaces/IEnoLookupTaskInput.js.map +1 -0
- package/dist/integration-engine/enapo/workers/schema/EnoDataTaskInputSchema.d.ts +6 -0
- package/dist/integration-engine/enapo/workers/schema/EnoDataTaskInputSchema.js +31 -0
- package/dist/integration-engine/enapo/workers/schema/EnoDataTaskInputSchema.js.map +1 -0
- package/dist/integration-engine/enapo/workers/schema/EnoGeometryTaskInputSchema.d.ts +5 -0
- package/dist/integration-engine/enapo/workers/schema/EnoGeometryTaskInputSchema.js +27 -0
- package/dist/integration-engine/enapo/workers/schema/EnoGeometryTaskInputSchema.js.map +1 -0
- package/dist/integration-engine/enapo/workers/schema/EnoLookupTaskInputSchema.d.ts +4 -0
- package/dist/integration-engine/enapo/workers/schema/EnoLookupTaskInputSchema.js +22 -0
- package/dist/integration-engine/enapo/workers/schema/EnoLookupTaskInputSchema.js.map +1 -0
- package/dist/integration-engine/enapo/workers/task/EnoBuildingTask.d.ts +32 -0
- package/dist/integration-engine/enapo/workers/task/EnoBuildingTask.js +144 -0
- package/dist/integration-engine/enapo/workers/task/EnoBuildingTask.js.map +1 -0
- package/dist/integration-engine/enapo/workers/task/EnoGeometryTask.d.ts +15 -0
- package/dist/integration-engine/enapo/workers/task/EnoGeometryTask.js +69 -0
- package/dist/integration-engine/enapo/workers/task/EnoGeometryTask.js.map +1 -0
- package/dist/integration-engine/enapo/workers/task/EnoLookupTask.d.ts +34 -0
- package/dist/integration-engine/enapo/workers/task/EnoLookupTask.js +125 -0
- package/dist/integration-engine/enapo/workers/task/EnoLookupTask.js.map +1 -0
- package/dist/integration-engine/enapo/workers/task/EnoStructureTask.d.ts +33 -0
- package/dist/integration-engine/enapo/workers/task/EnoStructureTask.js +150 -0
- package/dist/integration-engine/enapo/workers/task/EnoStructureTask.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/EnoBuldingInfoJsonSchema.d.ts +5 -0
- package/dist/schema-definitions/datasources/eno/EnoBuldingInfoJsonSchema.js +108 -0
- package/dist/schema-definitions/datasources/eno/EnoBuldingInfoJsonSchema.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/EnoEJInputJsonSchema.d.ts +5 -0
- package/dist/schema-definitions/datasources/eno/EnoEJInputJsonSchema.js +45 -0
- package/dist/schema-definitions/datasources/eno/EnoEJInputJsonSchema.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/EnoGIDListInputJsonSchema.d.ts +4 -0
- package/dist/schema-definitions/datasources/eno/EnoGIDListInputJsonSchema.js +16 -0
- package/dist/schema-definitions/datasources/eno/EnoGIDListInputJsonSchema.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/EnoGeometryJsonSchema.d.ts +5 -0
- package/dist/schema-definitions/datasources/eno/EnoGeometryJsonSchema.js +24 -0
- package/dist/schema-definitions/datasources/eno/EnoGeometryJsonSchema.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/EnoManagerInputJsonSchema.d.ts +5 -0
- package/dist/schema-definitions/datasources/eno/EnoManagerInputJsonSchema.js +50 -0
- package/dist/schema-definitions/datasources/eno/EnoManagerInputJsonSchema.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/EnoOrganizationInputJsonSchema.d.ts +5 -0
- package/dist/schema-definitions/datasources/eno/EnoOrganizationInputJsonSchema.js +28 -0
- package/dist/schema-definitions/datasources/eno/EnoOrganizationInputJsonSchema.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/EnoStructureInfoJsonSchema.d.ts +5 -0
- package/dist/schema-definitions/datasources/eno/EnoStructureInfoJsonSchema.js +102 -0
- package/dist/schema-definitions/datasources/eno/EnoStructureInfoJsonSchema.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/EnoStructureTypeInputJsonSchema.d.ts +5 -0
- package/dist/schema-definitions/datasources/eno/EnoStructureTypeInputJsonSchema.js +29 -0
- package/dist/schema-definitions/datasources/eno/EnoStructureTypeInputJsonSchema.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IAddressInput.d.ts +5 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IAddressInput.js +3 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IAddressInput.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IBuildingInfoInput.d.ts +10 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IBuildingInfoInput.js +3 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IBuildingInfoInput.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IBuildingInput.d.ts +29 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IBuildingInput.js +3 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IBuildingInput.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IEJInput.d.ts +19 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IEJInput.js +3 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IEJInput.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IGeometryInput.d.ts +7 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IGeometryInput.js +3 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IGeometryInput.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/interfaces/ILocationInput.d.ts +5 -0
- package/dist/schema-definitions/datasources/eno/interfaces/ILocationInput.js +3 -0
- package/dist/schema-definitions/datasources/eno/interfaces/ILocationInput.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IManagerInput.d.ts +27 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IManagerInput.js +3 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IManagerInput.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IOrganizationInput.d.ts +8 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IOrganizationInput.js +3 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IOrganizationInput.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IPropertyInput.d.ts +16 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IPropertyInput.js +3 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IPropertyInput.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IStructureInfoInput.d.ts +10 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IStructureInfoInput.js +3 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IStructureInfoInput.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IStructureInput.d.ts +20 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IStructureInput.js +3 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IStructureInput.js.map +1 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IStructureTypeInput.d.ts +9 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IStructureTypeInput.js +3 -0
- package/dist/schema-definitions/datasources/eno/interfaces/IStructureTypeInput.js.map +1 -0
- package/dist/schema-definitions/models/eno/AddressModel.d.ts +15 -0
- package/dist/schema-definitions/models/eno/AddressModel.js +48 -0
- package/dist/schema-definitions/models/eno/AddressModel.js.map +1 -0
- package/dist/schema-definitions/models/eno/BuildingModel.d.ts +36 -0
- package/dist/schema-definitions/models/eno/BuildingModel.js +90 -0
- package/dist/schema-definitions/models/eno/BuildingModel.js.map +1 -0
- package/dist/schema-definitions/models/eno/EJLookupModel.d.ts +25 -0
- package/dist/schema-definitions/models/eno/EJLookupModel.js +81 -0
- package/dist/schema-definitions/models/eno/EJLookupModel.js.map +1 -0
- package/dist/schema-definitions/models/eno/GeometryModel.d.ts +15 -0
- package/dist/schema-definitions/models/eno/GeometryModel.js +43 -0
- package/dist/schema-definitions/models/eno/GeometryModel.js.map +1 -0
- package/dist/schema-definitions/models/eno/LocationModel.d.ts +15 -0
- package/dist/schema-definitions/models/eno/LocationModel.js +48 -0
- package/dist/schema-definitions/models/eno/LocationModel.js.map +1 -0
- package/dist/schema-definitions/models/eno/ManagerLookupModel.d.ts +33 -0
- package/dist/schema-definitions/models/eno/ManagerLookupModel.js +89 -0
- package/dist/schema-definitions/models/eno/ManagerLookupModel.js.map +1 -0
- package/dist/schema-definitions/models/eno/OrganizationLookupModel.d.ts +14 -0
- package/dist/schema-definitions/models/eno/OrganizationLookupModel.js +40 -0
- package/dist/schema-definitions/models/eno/OrganizationLookupModel.js.map +1 -0
- package/dist/schema-definitions/models/eno/PropertyModel.d.ts +25 -0
- package/dist/schema-definitions/models/eno/PropertyModel.js +87 -0
- package/dist/schema-definitions/models/eno/PropertyModel.js.map +1 -0
- package/dist/schema-definitions/models/eno/RemovedGIDModel.d.ts +11 -0
- package/dist/schema-definitions/models/eno/RemovedGIDModel.js +35 -0
- package/dist/schema-definitions/models/eno/RemovedGIDModel.js.map +1 -0
- package/dist/schema-definitions/models/eno/StructureModel.d.ts +27 -0
- package/dist/schema-definitions/models/eno/StructureModel.js +80 -0
- package/dist/schema-definitions/models/eno/StructureModel.js.map +1 -0
- package/dist/schema-definitions/models/eno/StructureTypeModel.d.ts +15 -0
- package/dist/schema-definitions/models/eno/StructureTypeModel.js +42 -0
- package/dist/schema-definitions/models/eno/StructureTypeModel.js.map +1 -0
- package/dist/schema-definitions/models/eno/helpers/EnumGIDTypes.d.ts +4 -0
- package/dist/schema-definitions/models/eno/helpers/EnumGIDTypes.js +9 -0
- package/dist/schema-definitions/models/eno/helpers/EnumGIDTypes.js.map +1 -0
- package/dist/schema-definitions/models/eno/interfaces/IAddress.d.ts +9 -0
- package/dist/schema-definitions/models/eno/interfaces/IAddress.js +3 -0
- package/dist/schema-definitions/models/eno/interfaces/IAddress.js.map +1 -0
- package/dist/schema-definitions/models/eno/interfaces/IBuilding.d.ts +30 -0
- package/dist/schema-definitions/models/eno/interfaces/IBuilding.js +3 -0
- package/dist/schema-definitions/models/eno/interfaces/IBuilding.js.map +1 -0
- package/dist/schema-definitions/models/eno/interfaces/IEJLookup.d.ts +19 -0
- package/dist/schema-definitions/models/eno/interfaces/IEJLookup.js +3 -0
- package/dist/schema-definitions/models/eno/interfaces/IEJLookup.js.map +1 -0
- package/dist/schema-definitions/models/eno/interfaces/IGeometry.d.ts +9 -0
- package/dist/schema-definitions/models/eno/interfaces/IGeometry.js +3 -0
- package/dist/schema-definitions/models/eno/interfaces/IGeometry.js.map +1 -0
- package/dist/schema-definitions/models/eno/interfaces/ILocation.d.ts +9 -0
- package/dist/schema-definitions/models/eno/interfaces/ILocation.js +3 -0
- package/dist/schema-definitions/models/eno/interfaces/ILocation.js.map +1 -0
- package/dist/schema-definitions/models/eno/interfaces/IManagerLookup.d.ts +27 -0
- package/dist/schema-definitions/models/eno/interfaces/IManagerLookup.js +3 -0
- package/dist/schema-definitions/models/eno/interfaces/IManagerLookup.js.map +1 -0
- package/dist/schema-definitions/models/eno/interfaces/IOrganizationLookup.d.ts +8 -0
- package/dist/schema-definitions/models/eno/interfaces/IOrganizationLookup.js +3 -0
- package/dist/schema-definitions/models/eno/interfaces/IOrganizationLookup.js.map +1 -0
- package/dist/schema-definitions/models/eno/interfaces/IProperty.d.ts +19 -0
- package/dist/schema-definitions/models/eno/interfaces/IProperty.js +3 -0
- package/dist/schema-definitions/models/eno/interfaces/IProperty.js.map +1 -0
- package/dist/schema-definitions/models/eno/interfaces/IRemovedGID.d.ts +5 -0
- package/dist/schema-definitions/models/eno/interfaces/IRemovedGID.js +3 -0
- package/dist/schema-definitions/models/eno/interfaces/IRemovedGID.js.map +1 -0
- package/dist/schema-definitions/models/eno/interfaces/IStructure.d.ts +21 -0
- package/dist/schema-definitions/models/eno/interfaces/IStructure.js +3 -0
- package/dist/schema-definitions/models/eno/interfaces/IStructure.js.map +1 -0
- package/dist/schema-definitions/models/eno/interfaces/IStructureTypeLookup.d.ts +9 -0
- package/dist/schema-definitions/models/eno/interfaces/IStructureTypeLookup.js +3 -0
- package/dist/schema-definitions/models/eno/interfaces/IStructureTypeLookup.js.map +1 -0
- package/docs/asyncapi.yaml +142 -0
- package/docs/implementation_documentation.md +172 -3
- package/package.json +3 -2
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
var EnoStructureTask_1;
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.EnoStructureTask = void 0;
|
|
17
|
+
const constants_1 = require("../../constants");
|
|
18
|
+
const EnoDatasourceFactory_1 = require("../../datasources/eno/EnoDatasourceFactory");
|
|
19
|
+
const EnoOperationEnum_1 = require("../../datasources/eno/EnoOperationEnum");
|
|
20
|
+
const Chunker_1 = require("../../helpers/Chunker");
|
|
21
|
+
const EnapoWorkerContainerToken_1 = require("../../ioc/EnapoWorkerContainerToken");
|
|
22
|
+
const EnoAddressRepository_1 = require("../../repositories/eno/EnoAddressRepository");
|
|
23
|
+
const EnoLocationRepository_1 = require("../../repositories/eno/EnoLocationRepository");
|
|
24
|
+
const EnoPropertyRepository_1 = require("../../repositories/eno/EnoPropertyRepository");
|
|
25
|
+
const EnoRemovedGIDRepository_1 = require("../../repositories/eno/EnoRemovedGIDRepository");
|
|
26
|
+
const EnoStructureRepository_1 = require("../../repositories/eno/EnoStructureRepository");
|
|
27
|
+
const EnoStructureTransformation_1 = require("../../transformations/eno/EnoStructureTransformation");
|
|
28
|
+
const EnumGIDTypes_1 = require("../../../../schema-definitions/models/eno/helpers/EnumGIDTypes");
|
|
29
|
+
const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
|
|
30
|
+
const QueueManager_1 = require("@golemio/core/dist/integration-engine/queueprocessors/QueueManager");
|
|
31
|
+
const AbstractTask_1 = require("@golemio/core/dist/integration-engine/workers/AbstractTask");
|
|
32
|
+
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
33
|
+
const luxon_1 = require("@golemio/core/dist/shared/luxon");
|
|
34
|
+
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
35
|
+
const IEnoDataTaskInput_1 = require("../interfaces/IEnoDataTaskInput");
|
|
36
|
+
const EnoDataTaskInputSchema_1 = require("../schema/EnoDataTaskInputSchema");
|
|
37
|
+
let EnoStructureTask = exports.EnoStructureTask = EnoStructureTask_1 = class EnoStructureTask extends AbstractTask_1.AbstractTask {
|
|
38
|
+
constructor(enoDatasourceFactory, enoStructureRepository, enoPropertyRepository, enoLocationRepository, enoAddressRepository, enoRemovedGIDRepository, logger, dbConnector, simpleConfig) {
|
|
39
|
+
super(constants_1.ENAPO_WORKER_NAME);
|
|
40
|
+
this.enoDatasourceFactory = enoDatasourceFactory;
|
|
41
|
+
this.enoStructureRepository = enoStructureRepository;
|
|
42
|
+
this.enoPropertyRepository = enoPropertyRepository;
|
|
43
|
+
this.enoLocationRepository = enoLocationRepository;
|
|
44
|
+
this.enoAddressRepository = enoAddressRepository;
|
|
45
|
+
this.enoRemovedGIDRepository = enoRemovedGIDRepository;
|
|
46
|
+
this.logger = logger;
|
|
47
|
+
this.dbConnector = dbConnector;
|
|
48
|
+
this.simpleConfig = simpleConfig;
|
|
49
|
+
this.schema = EnoDataTaskInputSchema_1.EnoDataTaskInputSchema;
|
|
50
|
+
this.queueName = "processEnoStructures";
|
|
51
|
+
this.queueTtl = 60 * 60 * 1000;
|
|
52
|
+
this.removedBuldingsStartDate = this.simpleConfig.getValue("module.energetics.eno.removedBuldingsStartDate", "2025-01-01T00:00:00+01:00");
|
|
53
|
+
}
|
|
54
|
+
async execute(data) {
|
|
55
|
+
try {
|
|
56
|
+
const datasource = this.enoDatasourceFactory.getDatasource(EnoDatasourceFactory_1.ENO_ENDPOINT.STRUCTURE, data.source);
|
|
57
|
+
const listGID = data.type === IEnoDataTaskInput_1.EnumEnoDataType.CURRENT
|
|
58
|
+
? await this.getCurrentStructureList(datasource, data)
|
|
59
|
+
: await this.getRemovedStructureList(datasource, data);
|
|
60
|
+
if (!listGID || (Array.isArray(listGID.return) && listGID.return.length === 0)) {
|
|
61
|
+
this.logger.info(`No Structures found for source: ${data.source} type: ${data.type} ${data.daysBack ? data.daysBack + " days back incremenetal synchronization" : "full synchronization"}`);
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
const batches = Chunker_1.Slicer.chunkArray(listGID.return, EnoStructureTask_1.BATCH_SIZE);
|
|
65
|
+
for (const batch of batches) {
|
|
66
|
+
const structureDetails = await datasource.getData(EnoOperationEnum_1.EnoOperationStructureEnum.DETAIL, "", {
|
|
67
|
+
idOrganizace: 1,
|
|
68
|
+
seznamGID: batch,
|
|
69
|
+
});
|
|
70
|
+
if (structureDetails) {
|
|
71
|
+
const transformation = new EnoStructureTransformation_1.EnoStructureTransformation(data.source);
|
|
72
|
+
const transformedData = transformation.transformArray(structureDetails.return);
|
|
73
|
+
await this.saveData(transformedData);
|
|
74
|
+
}
|
|
75
|
+
QueueManager_1.QueueManager.sendMessageToExchange(this.queuePrefix, "processEnoGeometry", {
|
|
76
|
+
source: data.source,
|
|
77
|
+
listGid: batch,
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
catch (err) {
|
|
82
|
+
if (err instanceof golemio_errors_1.AbstractGolemioError) {
|
|
83
|
+
throw err;
|
|
84
|
+
}
|
|
85
|
+
throw new golemio_errors_1.GeneralError("Failed to save ENO Structure data", this.constructor.name, err);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
async saveData(transformedData) {
|
|
89
|
+
const structures = transformedData.map((el) => el.structure);
|
|
90
|
+
const property = transformedData.map((el) => el.property);
|
|
91
|
+
const address = transformedData.flatMap((el) => el.address);
|
|
92
|
+
const location = transformedData.flatMap((el) => el.location);
|
|
93
|
+
const transaction = await this.dbConnector.getConnection().transaction();
|
|
94
|
+
try {
|
|
95
|
+
await this.enoStructureRepository.bulkSave(structures, undefined, undefined, undefined, transaction);
|
|
96
|
+
await this.enoAddressRepository.bulkSave(address, undefined, undefined, undefined, transaction);
|
|
97
|
+
await this.enoPropertyRepository.bulkSave(property, undefined, undefined, undefined, transaction);
|
|
98
|
+
await this.enoLocationRepository.bulkSave(location, undefined, undefined, undefined, transaction);
|
|
99
|
+
await transaction.commit();
|
|
100
|
+
}
|
|
101
|
+
catch (err) {
|
|
102
|
+
await transaction.rollback();
|
|
103
|
+
throw err;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
async getCurrentStructureList(datasource, data) {
|
|
107
|
+
const listGID = await datasource.getData(EnoOperationEnum_1.EnoOperationStructureEnum.LIST_BY_ORG, "", {
|
|
108
|
+
idOrganizace: constants_1.ENO_DEFAULT_ORGANIZATION_ID,
|
|
109
|
+
...(data.daysBack ? { datum: luxon_1.DateTime.now().minus({ days: data.daysBack }).toISO() } : {}),
|
|
110
|
+
});
|
|
111
|
+
return listGID;
|
|
112
|
+
}
|
|
113
|
+
async getRemovedStructureList(datasource, data) {
|
|
114
|
+
const listRemovedStructureGID = await datasource.getData(EnoOperationEnum_1.EnoOperationStructureEnum.REMOVED_LIST, "", {
|
|
115
|
+
idOrganizace: constants_1.ENO_DEFAULT_ORGANIZATION_ID,
|
|
116
|
+
datum: data.daysBack ? luxon_1.DateTime.now().minus({ days: data.daysBack }).toISO() : this.removedBuldingsStartDate,
|
|
117
|
+
});
|
|
118
|
+
if (listRemovedStructureGID) {
|
|
119
|
+
const removedGids = listRemovedStructureGID.return.map((gid) => {
|
|
120
|
+
return {
|
|
121
|
+
gid: gid,
|
|
122
|
+
gid_typ: EnumGIDTypes_1.EnumGidTypes.STRUCTURE,
|
|
123
|
+
zdroj: data.source,
|
|
124
|
+
};
|
|
125
|
+
});
|
|
126
|
+
await this.enoRemovedGIDRepository.bulkSave(removedGids);
|
|
127
|
+
}
|
|
128
|
+
return listRemovedStructureGID;
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
EnoStructureTask.BATCH_SIZE = 1000;
|
|
132
|
+
exports.EnoStructureTask = EnoStructureTask = EnoStructureTask_1 = __decorate([
|
|
133
|
+
(0, tsyringe_1.injectable)(),
|
|
134
|
+
__param(0, (0, tsyringe_1.inject)(EnapoWorkerContainerToken_1.EnapoWorkerContainerToken.EnoDatasourceFactory)),
|
|
135
|
+
__param(1, (0, tsyringe_1.inject)(EnapoWorkerContainerToken_1.EnapoWorkerContainerToken.EnoStructureRepository)),
|
|
136
|
+
__param(2, (0, tsyringe_1.inject)(EnapoWorkerContainerToken_1.EnapoWorkerContainerToken.EnoPropertyRepository)),
|
|
137
|
+
__param(3, (0, tsyringe_1.inject)(EnapoWorkerContainerToken_1.EnapoWorkerContainerToken.EnoLocationRepository)),
|
|
138
|
+
__param(4, (0, tsyringe_1.inject)(EnapoWorkerContainerToken_1.EnapoWorkerContainerToken.EnoAddressRepository)),
|
|
139
|
+
__param(5, (0, tsyringe_1.inject)(EnapoWorkerContainerToken_1.EnapoWorkerContainerToken.EnoRemovedGIDRepository)),
|
|
140
|
+
__param(6, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.Logger)),
|
|
141
|
+
__param(7, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.PostgresConnector)),
|
|
142
|
+
__param(8, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.SimpleConfig)),
|
|
143
|
+
__metadata("design:paramtypes", [EnoDatasourceFactory_1.EnoDatasourceFactory,
|
|
144
|
+
EnoStructureRepository_1.EnoStructureRepository,
|
|
145
|
+
EnoPropertyRepository_1.EnoPropertyRepository,
|
|
146
|
+
EnoLocationRepository_1.EnoLocationRepository,
|
|
147
|
+
EnoAddressRepository_1.EnoAddressRepository,
|
|
148
|
+
EnoRemovedGIDRepository_1.EnoRemovedGIDRepository, Object, Object, Object])
|
|
149
|
+
], EnoStructureTask);
|
|
150
|
+
//# sourceMappingURL=EnoStructureTask.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnoStructureTask.js","sourceRoot":"","sources":["../../../../../src/integration-engine/enapo/workers/task/EnoStructureTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAAqF;AAErF,qFAAoG;AACpG,6EAAuF;AACvF,mDAAmD;AAEnD,mFAAoF;AACpF,sFAAuF;AACvF,wFAAyF;AACzF,wFAAyF;AACzF,4FAA6F;AAC7F,0FAA2F;AAC3F,qGAAsG;AAEtG,iGAAoE;AAKpE,wEAAqE;AACrE,qGAAkG;AAClG,6FAA0F;AAC1F,6EAA8F;AAC9F,2DAA2D;AAC3D,iEAAwE;AACxE,uEAAqF;AAErF,6EAA0E;AAGnE,IAAM,gBAAgB,mDAAtB,MAAM,gBAAiB,SAAQ,2BAA+B;IAOjE,YAC4D,oBAAkD,EAChD,sBAAsD,EACvD,qBAAoD,EACpD,qBAAoD,EACrD,oBAAkD,EAC/C,uBAAwD,EACzF,MAAuB,EACZ,WAAyC,EAC9C,YAAmC;QAEnE,KAAK,CAAC,6BAAiB,CAAC,CAAC;QAVuC,yBAAoB,GAApB,oBAAoB,CAAsB;QACxC,2BAAsB,GAAtB,sBAAsB,CAAwB;QAC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,EAAC,qDAAyB,CAAC,qBAAqB,CAAC,CAAA;IACvD,WAAA,IAAA,iBAAM,EAAC,qDAAyB,CAAC,oBAAoB,CAAC,CAAA;IACtD,WAAA,IAAA,iBAAM,EAAC,qDAAyB,CAAC,uBAAuB,CAAC,CAAA;IACzD,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,MAAM,CAAC,CAAA;IACxB,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,iBAAiB,CAAC,CAAA;IACnC,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;qCARuD,2CAAoB;QAChB,+CAAsB;QACxB,6CAAqB;QACrB,6CAAqB;QACvB,2CAAoB;QACd,iDAAuB;GAb9G,gBAAgB,CAiH5B"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.enoBuildingInfoInputJsonSchema = void 0;
|
|
4
|
+
exports.enoBuildingInfoInputJsonSchema = {
|
|
5
|
+
type: "object",
|
|
6
|
+
properties: {
|
|
7
|
+
return: {
|
|
8
|
+
type: "array",
|
|
9
|
+
items: {
|
|
10
|
+
type: "object",
|
|
11
|
+
properties: {
|
|
12
|
+
adresy: {
|
|
13
|
+
type: "array",
|
|
14
|
+
items: {
|
|
15
|
+
type: "object",
|
|
16
|
+
properties: {
|
|
17
|
+
hlavniAdresa: { type: "boolean" },
|
|
18
|
+
idAdresa: { type: "integer" },
|
|
19
|
+
popisAdresa: { type: "string" },
|
|
20
|
+
},
|
|
21
|
+
required: [],
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
budova: {
|
|
25
|
+
type: "object",
|
|
26
|
+
properties: {
|
|
27
|
+
budovaRozdelenaBytNebyt: { type: "boolean" },
|
|
28
|
+
celkovaPlochaBudova: { type: "number" },
|
|
29
|
+
celkovaPlochaBytBudova: { type: "number" },
|
|
30
|
+
celkovaPlochaNebytBudova: { type: "number" },
|
|
31
|
+
czcc: { type: "integer" },
|
|
32
|
+
druhVytapeni: { type: "string" },
|
|
33
|
+
gid: { type: "string" },
|
|
34
|
+
idBudovaCuzk: { type: "integer" },
|
|
35
|
+
idObjekt: { type: "integer" },
|
|
36
|
+
kodOchranaBudova: { type: "string" },
|
|
37
|
+
kodVyuzitiBudova: { type: "integer" },
|
|
38
|
+
nazevBudova: { type: "string" },
|
|
39
|
+
nazevOchranaBudova: { type: "string" },
|
|
40
|
+
nazevVyuzitiBudova: { type: "string" },
|
|
41
|
+
obestavenyProstorBudova: { type: "number" },
|
|
42
|
+
oznaceniBudova: { type: "string" },
|
|
43
|
+
platnostOd: {
|
|
44
|
+
type: "object",
|
|
45
|
+
required: ["toISOString"],
|
|
46
|
+
},
|
|
47
|
+
pocetBytBudova: { type: "integer" },
|
|
48
|
+
pocetNadzemPodlaziBudova: { type: "integer" },
|
|
49
|
+
pocetNebytBudova: { type: "integer" },
|
|
50
|
+
pocetPodkroviBudova: { type: "integer" },
|
|
51
|
+
pocetPodzemPodlaziBudova: { type: "integer" },
|
|
52
|
+
pripojkaElektroBudova: { type: "string" },
|
|
53
|
+
pripojkaKanalizaceBudova: { type: "string" },
|
|
54
|
+
pripojkaVodaBudova: { type: "string" },
|
|
55
|
+
vytah: { type: "boolean" },
|
|
56
|
+
zastavenaPlochaBudova: { type: "number" },
|
|
57
|
+
},
|
|
58
|
+
required: ["gid"],
|
|
59
|
+
},
|
|
60
|
+
majetek: {
|
|
61
|
+
type: "object",
|
|
62
|
+
properties: {
|
|
63
|
+
datumNabyti: {
|
|
64
|
+
type: "object",
|
|
65
|
+
required: ["toISOString"],
|
|
66
|
+
},
|
|
67
|
+
datumPozbyti: {
|
|
68
|
+
type: "object",
|
|
69
|
+
required: ["toISOString"],
|
|
70
|
+
},
|
|
71
|
+
idMajEvidencniJednotka: { type: "integer" },
|
|
72
|
+
idMajSpravceMandatni: { type: "integer" },
|
|
73
|
+
idMajSpravceUcetJednotka: { type: "integer" },
|
|
74
|
+
idVlastnik: { type: "integer" },
|
|
75
|
+
penb: { type: "boolean" },
|
|
76
|
+
penbPlatnostOd: {
|
|
77
|
+
type: "object",
|
|
78
|
+
required: ["toISOString"],
|
|
79
|
+
},
|
|
80
|
+
penbPoznamka: { type: "string" },
|
|
81
|
+
podilMajetekCitatel: { type: "integer" },
|
|
82
|
+
podilMajetekJmenovatel: { type: "integer" },
|
|
83
|
+
VMajetku: { type: "boolean" },
|
|
84
|
+
VMajetkuStatu: { type: "boolean" },
|
|
85
|
+
VProcesuSvereni: { type: "boolean" },
|
|
86
|
+
},
|
|
87
|
+
required: [],
|
|
88
|
+
},
|
|
89
|
+
umisteni: {
|
|
90
|
+
type: "array",
|
|
91
|
+
items: {
|
|
92
|
+
type: "object",
|
|
93
|
+
properties: {
|
|
94
|
+
hlavniParcelaUmisteni: { type: "boolean" },
|
|
95
|
+
idPracelaOrig: { type: "integer" },
|
|
96
|
+
popisUmisteni: { type: "string" },
|
|
97
|
+
},
|
|
98
|
+
required: [],
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
required: ["budova", "majetek"],
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
required: ["return"],
|
|
107
|
+
};
|
|
108
|
+
//# sourceMappingURL=EnoBuldingInfoJsonSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnoBuldingInfoJsonSchema.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/eno/EnoBuldingInfoJsonSchema.ts"],"names":[],"mappings":";;;AAGa,QAAA,8BAA8B,GAAqD;IAC5F,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACR,MAAM,EAAE;wBACJ,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACH,IAA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SAAS,EAAE;4BACxC,sBAAsB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;4BAC3C,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;4BAC7B,aAAa,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;4BAClC,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;yBACvC;wBACD,QAAQ,EAAE,EAAE;qBACf;oBACD,QAAQ,EAAE;wBACN,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACH,IAAI,EAAE,QAAQ;4BACd,UAAU,EAAE;gCACR,qBAAqB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;gCAC1C,aAAa,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;gCAClC,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;6BACpC;4BACD,QAAQ,EAAE,EAAE;yBACf;qBACJ;iBACJ;gBACD,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;aAClC;SACJ;KACJ;IACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.enoEJInputJsonSchema = void 0;
|
|
4
|
+
exports.enoEJInputJsonSchema = {
|
|
5
|
+
type: "object",
|
|
6
|
+
properties: {
|
|
7
|
+
return: {
|
|
8
|
+
type: "array",
|
|
9
|
+
items: {
|
|
10
|
+
type: "object",
|
|
11
|
+
properties: {
|
|
12
|
+
aktivni: { type: "boolean" },
|
|
13
|
+
datumZalozeniEJ: {
|
|
14
|
+
type: "object",
|
|
15
|
+
required: ["toISOString"],
|
|
16
|
+
},
|
|
17
|
+
datumZruseniEJ: {
|
|
18
|
+
type: "object",
|
|
19
|
+
required: ["toISOString"],
|
|
20
|
+
},
|
|
21
|
+
druhPOEJ: { type: "string" },
|
|
22
|
+
guid: { type: "string", format: "uuid" },
|
|
23
|
+
hlavniEJ: { type: "boolean" },
|
|
24
|
+
icEJ: { type: "string" },
|
|
25
|
+
idEvidencniJednotka: { type: "integer" },
|
|
26
|
+
kodEJ: { type: "string" },
|
|
27
|
+
kodMajEvidencniJednotkaHl: { type: "string" },
|
|
28
|
+
kodMajEvidencniJednotkaOt: { type: "string" },
|
|
29
|
+
kodMajSpravceUcetJednotka: { type: "string" },
|
|
30
|
+
kodUcetniEJ: { type: "string" },
|
|
31
|
+
nazevEJ: { type: "string" },
|
|
32
|
+
platnostOd: {
|
|
33
|
+
type: "object",
|
|
34
|
+
required: ["toISOString"],
|
|
35
|
+
},
|
|
36
|
+
poznamkaEJ: { type: "string" },
|
|
37
|
+
typEJ: { type: "string" },
|
|
38
|
+
},
|
|
39
|
+
required: ["guid", "aktivni"],
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
required: ["return"],
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=EnoEJInputJsonSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnoEJInputJsonSchema.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/eno/EnoEJInputJsonSchema.ts"],"names":[],"mappings":";;;AAGa,QAAA,oBAAoB,GAA2C;IACxE,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACR,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBAC5B,eAAe,EAAE;wBACb,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,CAAC,aAAa,CAAC;qBAC5B;oBACD,cAAc,EAAE;wBACZ,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,CAAC,aAAa,CAAC;qBAC5B;oBACD,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC5B,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE;oBACxC,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBAC7B,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACxB,mBAAmB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBACxC,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB,yBAAyB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC7C,yBAAyB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC7C,yBAAyB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC7C,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC/B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC3B,UAAU,EAAE;wBACR,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,CAAC,aAAa,CAAC;qBAC5B;oBACD,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC9B,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iBAC5B;gBACD,QAAQ,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;aAChC;SACJ;KACJ;IACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.enoGIDListInputJsonSchema = void 0;
|
|
4
|
+
exports.enoGIDListInputJsonSchema = {
|
|
5
|
+
type: "object",
|
|
6
|
+
properties: {
|
|
7
|
+
return: {
|
|
8
|
+
type: "array",
|
|
9
|
+
items: {
|
|
10
|
+
type: "string",
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
required: ["return"],
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=EnoGIDListInputJsonSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnoGIDListInputJsonSchema.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/eno/EnoGIDListInputJsonSchema.ts"],"names":[],"mappings":";;;AAEa,QAAA,yBAAyB,GAAyC;IAC3E,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;SACJ;KACJ;IACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.enoGeometryInputJsonSchema = void 0;
|
|
4
|
+
exports.enoGeometryInputJsonSchema = {
|
|
5
|
+
type: "object",
|
|
6
|
+
properties: {
|
|
7
|
+
return: {
|
|
8
|
+
type: "array",
|
|
9
|
+
items: {
|
|
10
|
+
type: "object",
|
|
11
|
+
properties: {
|
|
12
|
+
gid: { type: "string" },
|
|
13
|
+
idOrganizace: { type: "integer" },
|
|
14
|
+
uzivatelskyZakres: { type: "boolean" },
|
|
15
|
+
zakres: { type: "string" },
|
|
16
|
+
epsgCode: { type: "string", nullable: true },
|
|
17
|
+
},
|
|
18
|
+
required: ["gid"],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
required: ["return"],
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=EnoGeometryJsonSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnoGeometryJsonSchema.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/eno/EnoGeometryJsonSchema.ts"],"names":[],"mappings":";;;AAGa,QAAA,0BAA0B,GAAiD;IACpF,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACR,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACvB,YAAY,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBACjC,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBACtC,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC1B,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;iBAC/C;gBACD,QAAQ,EAAE,CAAC,KAAK,CAAC;aACpB;SACJ;KACJ;IACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.enoManagerInputJsonSchema = void 0;
|
|
4
|
+
exports.enoManagerInputJsonSchema = {
|
|
5
|
+
type: "object",
|
|
6
|
+
properties: {
|
|
7
|
+
return: {
|
|
8
|
+
type: "array",
|
|
9
|
+
items: {
|
|
10
|
+
type: "object",
|
|
11
|
+
properties: {
|
|
12
|
+
aktivni: { type: "boolean" },
|
|
13
|
+
cisloDomovniSpr: { type: "integer" },
|
|
14
|
+
cisloDomovniZnakSpr: { type: "string" },
|
|
15
|
+
cisloEs: { type: "string" },
|
|
16
|
+
cisloOrientacniPismenoSpr: { type: "string" },
|
|
17
|
+
cisloOrientacniSpr: { type: "integer" },
|
|
18
|
+
datumDeaktivace: {
|
|
19
|
+
type: "object",
|
|
20
|
+
required: ["toISOString"],
|
|
21
|
+
},
|
|
22
|
+
dic: { type: "string" },
|
|
23
|
+
guid: { type: "string", format: "uuid" },
|
|
24
|
+
ic: { type: "string" },
|
|
25
|
+
icDoplnek: { type: "string" },
|
|
26
|
+
idMajOblastSprava: { type: "integer" },
|
|
27
|
+
idMajSpravce: { type: "integer" },
|
|
28
|
+
idOrganizace: { type: "integer" },
|
|
29
|
+
kod: { type: "string" },
|
|
30
|
+
nazev: { type: "string" },
|
|
31
|
+
nazevObecSpr: { type: "string" },
|
|
32
|
+
nazevUlicevpSpr: { type: "string" },
|
|
33
|
+
platnostOd: {
|
|
34
|
+
type: "object",
|
|
35
|
+
required: ["toISOString"],
|
|
36
|
+
},
|
|
37
|
+
poznamka: { type: "string" },
|
|
38
|
+
pscSpr: { type: "string" },
|
|
39
|
+
spravceRban: { type: "boolean" },
|
|
40
|
+
ucetniJednotka: { type: "boolean" },
|
|
41
|
+
zkratka: { type: "string" },
|
|
42
|
+
cAdrZuziSpr: { type: "integer" },
|
|
43
|
+
},
|
|
44
|
+
required: ["guid", "aktivni"],
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
required: ["return"],
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=EnoManagerInputJsonSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnoManagerInputJsonSchema.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/eno/EnoManagerInputJsonSchema.ts"],"names":[],"mappings":";;;AAGa,QAAA,yBAAyB,GAAgD;IAClF,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACR,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBAC5B,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBACpC,mBAAmB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACvC,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC3B,yBAAyB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC7C,kBAAkB,EAAE,EAAE,IAAI,EAAE,SAAS,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
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.enoOrganizationInputJsonSchema = void 0;
|
|
4
|
+
exports.enoOrganizationInputJsonSchema = {
|
|
5
|
+
type: "object",
|
|
6
|
+
properties: {
|
|
7
|
+
return: {
|
|
8
|
+
type: "array",
|
|
9
|
+
items: {
|
|
10
|
+
type: "object",
|
|
11
|
+
properties: {
|
|
12
|
+
aktivni: { type: "boolean" },
|
|
13
|
+
idMajSpravceUcetJednotka: { type: "integer" },
|
|
14
|
+
idOrganizace: { type: "integer" },
|
|
15
|
+
idOrganizaceNadrazena: { type: "integer" },
|
|
16
|
+
kodOrganizace: { type: "string" },
|
|
17
|
+
platnostOd: {
|
|
18
|
+
type: "object",
|
|
19
|
+
required: ["toISOString"],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
required: ["idOrganizace", "aktivni"],
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
required: ["return"],
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=EnoOrganizationInputJsonSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnoOrganizationInputJsonSchema.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/eno/EnoOrganizationInputJsonSchema.ts"],"names":[],"mappings":";;;AAGa,QAAA,8BAA8B,GAAqD;IAC5F,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACR,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBAC5B,wBAAwB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBAC7C,YAAY,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBACjC,qBAAqB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBAC1C,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACjC,UAAU,EAAE;wBACR,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,CAAC,aAAa,CAAC;qBAC5B;iBACJ;gBACD,QAAQ,EAAE,CAAC,cAAc,EAAE,SAAS,CAAC;aACxC;SACJ;KACJ;IACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.enoStructureInfoInputJsonSchema = void 0;
|
|
4
|
+
exports.enoStructureInfoInputJsonSchema = {
|
|
5
|
+
type: "object",
|
|
6
|
+
properties: {
|
|
7
|
+
return: {
|
|
8
|
+
type: "array",
|
|
9
|
+
items: {
|
|
10
|
+
type: "object",
|
|
11
|
+
properties: {
|
|
12
|
+
adresy: {
|
|
13
|
+
type: "array",
|
|
14
|
+
items: {
|
|
15
|
+
type: "object",
|
|
16
|
+
properties: {
|
|
17
|
+
hlavniAdresa: { type: "boolean" },
|
|
18
|
+
idAdresa: { type: "integer" },
|
|
19
|
+
popisAdresa: { type: "string" },
|
|
20
|
+
},
|
|
21
|
+
required: [],
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
stavba: {
|
|
25
|
+
type: "object",
|
|
26
|
+
properties: {
|
|
27
|
+
delka: { type: "number" },
|
|
28
|
+
denVystavbaStavba: { type: "integer" },
|
|
29
|
+
gid: { type: "string" },
|
|
30
|
+
idCZCC: { type: "integer" },
|
|
31
|
+
idObjekt: { type: "integer" },
|
|
32
|
+
kodDruhStavba: { type: "string" },
|
|
33
|
+
kodOchranaStavba: { type: "string" },
|
|
34
|
+
material: { type: "string" },
|
|
35
|
+
mesicVystavbaStavba: { type: "integer" },
|
|
36
|
+
nazev: { type: "string" },
|
|
37
|
+
nazevDruhStavba: { type: "string" },
|
|
38
|
+
nazevOchranaStavba: { type: "string" },
|
|
39
|
+
platnostDo: {
|
|
40
|
+
type: "object",
|
|
41
|
+
required: ["toISOString"],
|
|
42
|
+
},
|
|
43
|
+
platnostOd: {
|
|
44
|
+
type: "object",
|
|
45
|
+
required: ["toISOString"],
|
|
46
|
+
},
|
|
47
|
+
profil: { type: "string" },
|
|
48
|
+
rokVystavbaStavba: { type: "integer" },
|
|
49
|
+
sirka: { type: "number" },
|
|
50
|
+
vyska: { type: "number" },
|
|
51
|
+
},
|
|
52
|
+
required: ["gid"],
|
|
53
|
+
},
|
|
54
|
+
majetek: {
|
|
55
|
+
type: "object",
|
|
56
|
+
properties: {
|
|
57
|
+
datumNabyti: {
|
|
58
|
+
type: "object",
|
|
59
|
+
required: ["toISOString"],
|
|
60
|
+
},
|
|
61
|
+
datumPozbyti: {
|
|
62
|
+
type: "object",
|
|
63
|
+
required: ["toISOString"],
|
|
64
|
+
},
|
|
65
|
+
idMajEvidencniJednotka: { type: "integer" },
|
|
66
|
+
idMajSpravceMandatni: { type: "integer" },
|
|
67
|
+
idMajSpravceUcetJednotka: { type: "integer" },
|
|
68
|
+
idVlastnik: { type: "integer" },
|
|
69
|
+
penb: { type: "boolean" },
|
|
70
|
+
penbPlatnostOd: {
|
|
71
|
+
type: "object",
|
|
72
|
+
required: ["toISOString"],
|
|
73
|
+
},
|
|
74
|
+
penbPoznamka: { type: "string" },
|
|
75
|
+
podilMajetekCitatel: { type: "integer" },
|
|
76
|
+
podilMajetekJmenovatel: { type: "integer" },
|
|
77
|
+
VMajetku: { type: "boolean" },
|
|
78
|
+
VMajetkuStatu: { type: "boolean" },
|
|
79
|
+
VProcesuSvereni: { type: "boolean" },
|
|
80
|
+
},
|
|
81
|
+
required: [],
|
|
82
|
+
},
|
|
83
|
+
umisteni: {
|
|
84
|
+
type: "array",
|
|
85
|
+
items: {
|
|
86
|
+
type: "object",
|
|
87
|
+
properties: {
|
|
88
|
+
hlavniParcelaUmisteni: { type: "boolean" },
|
|
89
|
+
idPracelaOrig: { type: "integer" },
|
|
90
|
+
popisUmisteni: { type: "string" },
|
|
91
|
+
},
|
|
92
|
+
required: [],
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
required: ["stavba", "majetek"],
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
required: ["return"],
|
|
101
|
+
};
|
|
102
|
+
//# sourceMappingURL=EnoStructureInfoJsonSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnoStructureInfoJsonSchema.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/eno/EnoStructureInfoJsonSchema.ts"],"names":[],"mappings":";;;AAGa,QAAA,+BAA+B,GAAsD;IAC9F,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACR,MAAM,EAAE;wBACJ,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACH,IAAI,EAAE,QAAQ;4BACd,UAAU,EAAE;gCACR,YAAY,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;gCACjC,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;gCAC7B,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;6BAClC;4BACD,QAAQ,EAAE,EAAE;yBACf;qBACJ;oBACD,MAAM,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,UAAU,EAAE;4BACR,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;4BACzB,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;4BACtC,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;4BACvB,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;4BAC3B,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;4BAC7B,aAAa,EAAE,EAAE,IAAI,EAAE,Q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