@golemio/fypr 1.0.1 → 1.0.2-dev.2343920210
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/example/00_clear_test_data.sql +7 -7
- package/db/example/01_display_cases.sql +4 -0
- package/db/example/02_information_panels.sql +4 -0
- package/db/example/03_obelisks.sql +4 -0
- package/db/example/04_signposts.sql +2 -0
- package/db/example/05_totems.sql +4 -0
- package/db/migrations/postgresql/20260212140121-init-dbfypr-integration.js +53 -0
- package/db/migrations/postgresql/package.json +3 -0
- package/db/migrations/postgresql/sqls/20260212140121-init-dbfypr-integration-down.sql +9 -0
- package/db/migrations/postgresql/sqls/20260212140121-init-dbfypr-integration-up.sql +242 -0
- package/db/migrations/postgresql/sqls/package.json +3 -0
- package/dist/helpers/errors/ErrorHelper.d.ts +4 -0
- package/dist/helpers/errors/ErrorHelper.js +11 -0
- package/dist/helpers/errors/ErrorHelper.js.map +1 -0
- package/dist/integration-engine/data-sources/AbstractDBFYPRDataSourceFactory.d.ts +11 -0
- package/dist/integration-engine/data-sources/AbstractDBFYPRDataSourceFactory.js +32 -0
- package/dist/integration-engine/data-sources/AbstractDBFYPRDataSourceFactory.js.map +1 -0
- package/dist/integration-engine/data-sources/DBFYPRDisplayCasesDataSourceFactory.d.ts +9 -0
- package/dist/integration-engine/data-sources/DBFYPRDisplayCasesDataSourceFactory.js +36 -0
- package/dist/integration-engine/data-sources/DBFYPRDisplayCasesDataSourceFactory.js.map +1 -0
- package/dist/integration-engine/data-sources/DBFYPRInformationPanelsDataSourceFactory.d.ts +9 -0
- package/dist/integration-engine/data-sources/DBFYPRInformationPanelsDataSourceFactory.js +36 -0
- package/dist/integration-engine/data-sources/DBFYPRInformationPanelsDataSourceFactory.js.map +1 -0
- package/dist/integration-engine/data-sources/DBFYPRObelisksDataSourceFactory.d.ts +9 -0
- package/dist/integration-engine/data-sources/DBFYPRObelisksDataSourceFactory.js +36 -0
- package/dist/integration-engine/data-sources/DBFYPRObelisksDataSourceFactory.js.map +1 -0
- package/dist/integration-engine/data-sources/DBFYPRSignpostsDataSourceFactory.d.ts +9 -0
- package/dist/integration-engine/data-sources/DBFYPRSignpostsDataSourceFactory.js +36 -0
- package/dist/integration-engine/data-sources/DBFYPRSignpostsDataSourceFactory.js.map +1 -0
- package/dist/integration-engine/data-sources/DBFYPRTotemsDataSourceFactory.d.ts +9 -0
- package/dist/integration-engine/data-sources/DBFYPRTotemsDataSourceFactory.js +36 -0
- package/dist/integration-engine/data-sources/DBFYPRTotemsDataSourceFactory.js.map +1 -0
- package/dist/integration-engine/data-sources/protocol-strategies/StrapiPaginatedHTTPProtocolStrategy.d.ts +21 -0
- package/dist/integration-engine/data-sources/protocol-strategies/StrapiPaginatedHTTPProtocolStrategy.js +59 -0
- package/dist/integration-engine/data-sources/protocol-strategies/StrapiPaginatedHTTPProtocolStrategy.js.map +1 -0
- package/dist/integration-engine/helpers/StrapiPaginationHelper.d.ts +10 -0
- package/dist/integration-engine/helpers/StrapiPaginationHelper.js +41 -0
- package/dist/integration-engine/helpers/StrapiPaginationHelper.js.map +1 -0
- package/dist/integration-engine/index.js +2 -3
- package/dist/integration-engine/index.js.map +1 -1
- package/dist/integration-engine/ioc/Di.d.ts +2 -0
- package/dist/integration-engine/ioc/Di.js +63 -0
- package/dist/integration-engine/ioc/Di.js.map +1 -0
- package/dist/integration-engine/ioc/FYPRIEContainerTokens.d.ts +23 -0
- package/dist/integration-engine/ioc/FYPRIEContainerTokens.js +35 -0
- package/dist/integration-engine/ioc/FYPRIEContainerTokens.js.map +1 -0
- package/dist/integration-engine/repositories/AbstractFyprRepository.d.ts +11 -0
- package/dist/integration-engine/repositories/AbstractFyprRepository.js +14 -0
- package/dist/integration-engine/repositories/AbstractFyprRepository.js.map +1 -0
- package/dist/integration-engine/repositories/DisplayCaseRepository.d.ts +14 -0
- package/dist/integration-engine/repositories/DisplayCaseRepository.js +58 -0
- package/dist/integration-engine/repositories/DisplayCaseRepository.js.map +1 -0
- package/dist/integration-engine/repositories/InformationPanelRepository.d.ts +14 -0
- package/dist/integration-engine/repositories/InformationPanelRepository.js +58 -0
- package/dist/integration-engine/repositories/InformationPanelRepository.js.map +1 -0
- package/dist/integration-engine/repositories/ObeliskRepository.d.ts +14 -0
- package/dist/integration-engine/repositories/ObeliskRepository.js +58 -0
- package/dist/integration-engine/repositories/ObeliskRepository.js.map +1 -0
- package/dist/integration-engine/repositories/SignpostRepository.d.ts +14 -0
- package/dist/integration-engine/repositories/SignpostRepository.js +58 -0
- package/dist/integration-engine/repositories/SignpostRepository.js.map +1 -0
- package/dist/integration-engine/repositories/TotemRepository.d.ts +14 -0
- package/dist/integration-engine/repositories/TotemRepository.js +58 -0
- package/dist/integration-engine/repositories/TotemRepository.js.map +1 -0
- package/dist/integration-engine/transformations/AbstractElementTransformation.d.ts +7 -0
- package/dist/integration-engine/transformations/AbstractElementTransformation.js +36 -0
- package/dist/integration-engine/transformations/AbstractElementTransformation.js.map +1 -0
- package/dist/integration-engine/transformations/DisplayCasesTransformation.d.ts +10 -0
- package/dist/integration-engine/transformations/DisplayCasesTransformation.js +46 -0
- package/dist/integration-engine/transformations/DisplayCasesTransformation.js.map +1 -0
- package/dist/integration-engine/transformations/InformationPanelsTransformation.d.ts +10 -0
- package/dist/integration-engine/transformations/InformationPanelsTransformation.js +102 -0
- package/dist/integration-engine/transformations/InformationPanelsTransformation.js.map +1 -0
- package/dist/integration-engine/transformations/ObelisksTransformation.d.ts +10 -0
- package/dist/integration-engine/transformations/ObelisksTransformation.js +41 -0
- package/dist/integration-engine/transformations/ObelisksTransformation.js.map +1 -0
- package/dist/integration-engine/transformations/SignpostsTransformation.d.ts +10 -0
- package/dist/integration-engine/transformations/SignpostsTransformation.js +43 -0
- package/dist/integration-engine/transformations/SignpostsTransformation.js.map +1 -0
- package/dist/integration-engine/transformations/TotemsTransformation.d.ts +10 -0
- package/dist/integration-engine/transformations/TotemsTransformation.js +78 -0
- package/dist/integration-engine/transformations/TotemsTransformation.js.map +1 -0
- package/dist/integration-engine/workers/FYPRWorker.d.ts +8 -0
- package/dist/integration-engine/workers/FYPRWorker.js +33 -0
- package/dist/integration-engine/workers/FYPRWorker.js.map +1 -0
- package/dist/integration-engine/workers/constants.d.ts +1 -0
- package/dist/integration-engine/workers/constants.js +5 -0
- package/dist/integration-engine/workers/constants.js.map +1 -0
- package/dist/integration-engine/workers/tasks/AbstractUpdateElementsTask.d.ts +12 -0
- package/dist/integration-engine/workers/tasks/AbstractUpdateElementsTask.js +26 -0
- package/dist/integration-engine/workers/tasks/AbstractUpdateElementsTask.js.map +1 -0
- package/dist/integration-engine/workers/tasks/FetchDBFYPRTask.d.ts +21 -0
- package/dist/integration-engine/workers/tasks/FetchDBFYPRTask.js +96 -0
- package/dist/integration-engine/workers/tasks/FetchDBFYPRTask.js.map +1 -0
- package/dist/integration-engine/workers/tasks/UpdateDisplayCasesTask.d.ts +11 -0
- package/dist/integration-engine/workers/tasks/UpdateDisplayCasesTask.js +38 -0
- package/dist/integration-engine/workers/tasks/UpdateDisplayCasesTask.js.map +1 -0
- package/dist/integration-engine/workers/tasks/UpdateInformationPanelsTask.d.ts +11 -0
- package/dist/integration-engine/workers/tasks/UpdateInformationPanelsTask.js +38 -0
- package/dist/integration-engine/workers/tasks/UpdateInformationPanelsTask.js.map +1 -0
- package/dist/integration-engine/workers/tasks/UpdateObelisksTask.d.ts +11 -0
- package/dist/integration-engine/workers/tasks/UpdateObelisksTask.js +38 -0
- package/dist/integration-engine/workers/tasks/UpdateObelisksTask.js.map +1 -0
- package/dist/integration-engine/workers/tasks/UpdateSignpostsTask.d.ts +11 -0
- package/dist/integration-engine/workers/tasks/UpdateSignpostsTask.js +38 -0
- package/dist/integration-engine/workers/tasks/UpdateSignpostsTask.js.map +1 -0
- package/dist/integration-engine/workers/tasks/UpdateTotemsTask.d.ts +11 -0
- package/dist/integration-engine/workers/tasks/UpdateTotemsTask.js +38 -0
- package/dist/integration-engine/workers/tasks/UpdateTotemsTask.js.map +1 -0
- package/dist/schema-definitions/const.d.ts +1 -0
- package/dist/schema-definitions/const.js +5 -0
- package/dist/schema-definitions/const.js.map +1 -0
- package/dist/schema-definitions/data-sources/DBFYPRDisplayCasesJSONSchema.d.ts +3 -0
- package/dist/schema-definitions/data-sources/DBFYPRDisplayCasesJSONSchema.js +97 -0
- package/dist/schema-definitions/data-sources/DBFYPRDisplayCasesJSONSchema.js.map +1 -0
- package/dist/schema-definitions/data-sources/DBFYPRElementsJSONSchema.d.ts +3 -0
- package/dist/schema-definitions/data-sources/DBFYPRElementsJSONSchema.js +64 -0
- package/dist/schema-definitions/data-sources/DBFYPRElementsJSONSchema.js.map +1 -0
- package/dist/schema-definitions/data-sources/DBFYPRInformationPanelsJSONSchema.d.ts +3 -0
- package/dist/schema-definitions/data-sources/DBFYPRInformationPanelsJSONSchema.js +307 -0
- package/dist/schema-definitions/data-sources/DBFYPRInformationPanelsJSONSchema.js.map +1 -0
- package/dist/schema-definitions/data-sources/DBFYPRObelisksJSONSchema.d.ts +3 -0
- package/dist/schema-definitions/data-sources/DBFYPRObelisksJSONSchema.js +79 -0
- package/dist/schema-definitions/data-sources/DBFYPRObelisksJSONSchema.js.map +1 -0
- package/dist/schema-definitions/data-sources/DBFYPRSignpostsJSONSchema.d.ts +3 -0
- package/dist/schema-definitions/data-sources/DBFYPRSignpostsJSONSchema.js +85 -0
- package/dist/schema-definitions/data-sources/DBFYPRSignpostsJSONSchema.js.map +1 -0
- package/dist/schema-definitions/data-sources/DBFYPRTotemsJSONSchema.d.ts +3 -0
- package/dist/schema-definitions/data-sources/DBFYPRTotemsJSONSchema.js +229 -0
- package/dist/schema-definitions/data-sources/DBFYPRTotemsJSONSchema.js.map +1 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRDisplayCase.d.ts +22 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRDisplayCase.js +3 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRDisplayCase.js.map +1 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRElement.d.ts +21 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRElement.js +3 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRElement.js.map +1 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRInformationPanel.d.ts +78 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRInformationPanel.js +3 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRInformationPanel.js.map +1 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRObelisk.d.ts +17 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRObelisk.js +3 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRObelisk.js.map +1 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRSignpost.d.ts +19 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRSignpost.js +3 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRSignpost.js.map +1 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRTotem.d.ts +54 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRTotem.js +3 -0
- package/dist/schema-definitions/data-sources/interfaces/IDBFYPRTotem.js.map +1 -0
- package/dist/schema-definitions/index.js +0 -1
- package/dist/schema-definitions/index.js.map +1 -1
- package/dist/schema-definitions/models/AbstractElementModel.d.ts +155 -0
- package/dist/schema-definitions/models/AbstractElementModel.js +104 -0
- package/dist/schema-definitions/models/AbstractElementModel.js.map +1 -0
- package/dist/schema-definitions/models/DisplayCaseModel.d.ts +28 -0
- package/dist/schema-definitions/models/DisplayCaseModel.js +103 -0
- package/dist/schema-definitions/models/DisplayCaseModel.js.map +1 -0
- package/dist/schema-definitions/models/InformationPanelModel.d.ts +84 -0
- package/dist/schema-definitions/models/InformationPanelModel.js +360 -0
- package/dist/schema-definitions/models/InformationPanelModel.js.map +1 -0
- package/dist/schema-definitions/models/ObeliskModel.d.ts +23 -0
- package/dist/schema-definitions/models/ObeliskModel.js +80 -0
- package/dist/schema-definitions/models/ObeliskModel.js.map +1 -0
- package/dist/schema-definitions/models/SignpostModel.d.ts +25 -0
- package/dist/schema-definitions/models/SignpostModel.js +88 -0
- package/dist/schema-definitions/models/SignpostModel.js.map +1 -0
- package/dist/schema-definitions/models/TotemModel.d.ts +60 -0
- package/dist/schema-definitions/models/TotemModel.js +251 -0
- package/dist/schema-definitions/models/TotemModel.js.map +1 -0
- package/dist/schema-definitions/models/interfaces/IDisplayCase.d.ts +22 -0
- package/dist/schema-definitions/models/interfaces/IDisplayCase.js +3 -0
- package/dist/schema-definitions/models/interfaces/IDisplayCase.js.map +1 -0
- package/dist/schema-definitions/models/interfaces/IElement.d.ts +19 -0
- package/dist/schema-definitions/models/interfaces/IElement.js +3 -0
- package/dist/schema-definitions/models/interfaces/IElement.js.map +1 -0
- package/dist/schema-definitions/models/interfaces/IInformationPanel.d.ts +78 -0
- package/dist/schema-definitions/models/interfaces/IInformationPanel.js +3 -0
- package/dist/schema-definitions/models/interfaces/IInformationPanel.js.map +1 -0
- package/dist/schema-definitions/models/interfaces/IObelisk.d.ts +17 -0
- package/dist/schema-definitions/models/interfaces/IObelisk.js +3 -0
- package/dist/schema-definitions/models/interfaces/IObelisk.js.map +1 -0
- package/dist/schema-definitions/models/interfaces/ISignpost.d.ts +19 -0
- package/dist/schema-definitions/models/interfaces/ISignpost.js +3 -0
- package/dist/schema-definitions/models/interfaces/ISignpost.js.map +1 -0
- package/dist/schema-definitions/models/interfaces/ITotem.d.ts +54 -0
- package/dist/schema-definitions/models/interfaces/ITotem.js +3 -0
- package/dist/schema-definitions/models/interfaces/ITotem.js.map +1 -0
- package/docs/asyncapi.yaml +823 -3
- package/docs/implementation_documentation.md +162 -39
- package/docs/translations.md +212 -0
- package/package.json +7 -5
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
|
+
import { ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
|
+
import { AbstractElementModel } from "./AbstractElementModel";
|
|
4
|
+
import { ITotem } from "./interfaces/ITotem";
|
|
5
|
+
export declare class TotemModel extends AbstractElementModel implements ITotem {
|
|
6
|
+
static readonly tableName = "totems";
|
|
7
|
+
panel_size: string | null;
|
|
8
|
+
locality: string | null;
|
|
9
|
+
displayed_icon: string[] | null;
|
|
10
|
+
line: string[] | null;
|
|
11
|
+
priority: number | null;
|
|
12
|
+
site_survey: string | null;
|
|
13
|
+
installation_height: string | null;
|
|
14
|
+
street_light_number: string | null;
|
|
15
|
+
street_light_replacement: string | null;
|
|
16
|
+
tv_number: string | null;
|
|
17
|
+
building_permit: boolean | null;
|
|
18
|
+
building_permit_state: string | null;
|
|
19
|
+
location_note: string | null;
|
|
20
|
+
site_survey_report: string | null;
|
|
21
|
+
order_state: string | null;
|
|
22
|
+
order_number: string | null;
|
|
23
|
+
design_price_without_vat: number | null;
|
|
24
|
+
realization_price_without_vat: number | null;
|
|
25
|
+
warranty_end: string | null;
|
|
26
|
+
next_revision: string | null;
|
|
27
|
+
qr_code: string | null;
|
|
28
|
+
supplier: string | null;
|
|
29
|
+
stop_name: string | null;
|
|
30
|
+
stop_type: string[] | null;
|
|
31
|
+
site_survey_date: string | null;
|
|
32
|
+
order_planned_deadline: string | null;
|
|
33
|
+
order_registry_publication: boolean | null;
|
|
34
|
+
invoice_paid: boolean | null;
|
|
35
|
+
initial_revision: string | null;
|
|
36
|
+
asset_registered: boolean | null;
|
|
37
|
+
asset_number: string | null;
|
|
38
|
+
insurance: boolean | null;
|
|
39
|
+
handed_over_to_ozp: boolean | null;
|
|
40
|
+
ropid_documentation_submitted: string[] | null;
|
|
41
|
+
ropid_documentation_handover_date: string | null;
|
|
42
|
+
street_name: string | null;
|
|
43
|
+
exit_number: string | null;
|
|
44
|
+
dpp_priority: number | null;
|
|
45
|
+
insurance_state: string | null;
|
|
46
|
+
comments: string | null;
|
|
47
|
+
asw_node_id: string | null;
|
|
48
|
+
asw_stop_id: string | null;
|
|
49
|
+
power_consumption_watt: number | null;
|
|
50
|
+
thmp_element_number: string | null;
|
|
51
|
+
electricity_supply_contract: string | null;
|
|
52
|
+
cleaning_frequency: string | null;
|
|
53
|
+
electricity_consumption_price: number | null;
|
|
54
|
+
ropid_element_id: string | null;
|
|
55
|
+
construction_type: string | null;
|
|
56
|
+
price_without_vat: number | null;
|
|
57
|
+
serial_number: string | null;
|
|
58
|
+
static readonly attributeModel: ModelAttributes<TotemModel>;
|
|
59
|
+
static readonly jsonSchema: JSONSchemaType<ITotem[]>;
|
|
60
|
+
}
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TotemModel = void 0;
|
|
4
|
+
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
5
|
+
const AbstractElementModel_1 = require("./AbstractElementModel");
|
|
6
|
+
class TotemModel extends AbstractElementModel_1.AbstractElementModel {
|
|
7
|
+
}
|
|
8
|
+
exports.TotemModel = TotemModel;
|
|
9
|
+
TotemModel.tableName = "totems";
|
|
10
|
+
TotemModel.attributeModel = {
|
|
11
|
+
...AbstractElementModel_1.AbstractElementModel.elementAttributeModel,
|
|
12
|
+
panel_size: { type: sequelize_1.DataTypes.STRING(255) },
|
|
13
|
+
locality: { type: sequelize_1.DataTypes.STRING(255) },
|
|
14
|
+
displayed_icon: { type: sequelize_1.DataTypes.JSONB },
|
|
15
|
+
line: { type: sequelize_1.DataTypes.JSONB },
|
|
16
|
+
priority: { type: sequelize_1.DataTypes.INTEGER },
|
|
17
|
+
site_survey: { type: sequelize_1.DataTypes.STRING(255) },
|
|
18
|
+
installation_height: { type: sequelize_1.DataTypes.STRING(255) },
|
|
19
|
+
street_light_number: { type: sequelize_1.DataTypes.STRING(255) },
|
|
20
|
+
street_light_replacement: { type: sequelize_1.DataTypes.STRING(255) },
|
|
21
|
+
tv_number: { type: sequelize_1.DataTypes.STRING(255) },
|
|
22
|
+
building_permit: { type: sequelize_1.DataTypes.BOOLEAN },
|
|
23
|
+
building_permit_state: { type: sequelize_1.DataTypes.STRING(255) },
|
|
24
|
+
location_note: { type: sequelize_1.DataTypes.STRING(255) },
|
|
25
|
+
site_survey_report: { type: sequelize_1.DataTypes.STRING(255) },
|
|
26
|
+
order_state: { type: sequelize_1.DataTypes.STRING(255) },
|
|
27
|
+
order_number: { type: sequelize_1.DataTypes.STRING(255) },
|
|
28
|
+
design_price_without_vat: { type: sequelize_1.DataTypes.DECIMAL(10, 2) },
|
|
29
|
+
realization_price_without_vat: { type: sequelize_1.DataTypes.DECIMAL(10, 2) },
|
|
30
|
+
warranty_end: { type: sequelize_1.DataTypes.DATEONLY },
|
|
31
|
+
next_revision: { type: sequelize_1.DataTypes.DATEONLY },
|
|
32
|
+
qr_code: { type: sequelize_1.DataTypes.STRING(255) },
|
|
33
|
+
supplier: { type: sequelize_1.DataTypes.STRING(255) },
|
|
34
|
+
stop_name: { type: sequelize_1.DataTypes.STRING(255) },
|
|
35
|
+
stop_type: { type: sequelize_1.DataTypes.JSONB },
|
|
36
|
+
site_survey_date: { type: sequelize_1.DataTypes.STRING(255) },
|
|
37
|
+
order_planned_deadline: { type: sequelize_1.DataTypes.DATEONLY },
|
|
38
|
+
order_registry_publication: { type: sequelize_1.DataTypes.BOOLEAN },
|
|
39
|
+
invoice_paid: { type: sequelize_1.DataTypes.BOOLEAN },
|
|
40
|
+
initial_revision: { type: sequelize_1.DataTypes.DATEONLY },
|
|
41
|
+
asset_registered: { type: sequelize_1.DataTypes.BOOLEAN },
|
|
42
|
+
asset_number: { type: sequelize_1.DataTypes.STRING(255) },
|
|
43
|
+
insurance: { type: sequelize_1.DataTypes.BOOLEAN },
|
|
44
|
+
handed_over_to_ozp: { type: sequelize_1.DataTypes.BOOLEAN },
|
|
45
|
+
ropid_documentation_submitted: { type: sequelize_1.DataTypes.JSONB },
|
|
46
|
+
ropid_documentation_handover_date: { type: sequelize_1.DataTypes.DATEONLY },
|
|
47
|
+
street_name: { type: sequelize_1.DataTypes.STRING(255) },
|
|
48
|
+
exit_number: { type: sequelize_1.DataTypes.STRING(255) },
|
|
49
|
+
dpp_priority: { type: sequelize_1.DataTypes.INTEGER },
|
|
50
|
+
insurance_state: { type: sequelize_1.DataTypes.STRING(255) },
|
|
51
|
+
comments: { type: sequelize_1.DataTypes.TEXT },
|
|
52
|
+
asw_node_id: { type: sequelize_1.DataTypes.STRING(255) },
|
|
53
|
+
asw_stop_id: { type: sequelize_1.DataTypes.STRING(255) },
|
|
54
|
+
power_consumption_watt: { type: sequelize_1.DataTypes.DECIMAL(10, 2) },
|
|
55
|
+
thmp_element_number: { type: sequelize_1.DataTypes.STRING(255) },
|
|
56
|
+
electricity_supply_contract: { type: sequelize_1.DataTypes.STRING(255) },
|
|
57
|
+
cleaning_frequency: { type: sequelize_1.DataTypes.STRING(255) },
|
|
58
|
+
electricity_consumption_price: { type: sequelize_1.DataTypes.DECIMAL(10, 2) },
|
|
59
|
+
ropid_element_id: { type: sequelize_1.DataTypes.STRING(255) },
|
|
60
|
+
construction_type: { type: sequelize_1.DataTypes.STRING(255) },
|
|
61
|
+
price_without_vat: { type: sequelize_1.DataTypes.DECIMAL(10, 2) },
|
|
62
|
+
serial_number: { type: sequelize_1.DataTypes.STRING(255) },
|
|
63
|
+
};
|
|
64
|
+
TotemModel.jsonSchema = {
|
|
65
|
+
type: "array",
|
|
66
|
+
items: {
|
|
67
|
+
type: "object",
|
|
68
|
+
properties: {
|
|
69
|
+
...AbstractElementModel_1.AbstractElementModel.elementJSONSchemaProperties,
|
|
70
|
+
panel_size: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
71
|
+
locality: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
72
|
+
displayed_icon: {
|
|
73
|
+
oneOf: [
|
|
74
|
+
{ type: "array", items: { type: "string" } },
|
|
75
|
+
{ type: "null", nullable: true },
|
|
76
|
+
],
|
|
77
|
+
},
|
|
78
|
+
line: {
|
|
79
|
+
oneOf: [
|
|
80
|
+
{ type: "array", items: { type: "string" } },
|
|
81
|
+
{ type: "null", nullable: true },
|
|
82
|
+
],
|
|
83
|
+
},
|
|
84
|
+
priority: {
|
|
85
|
+
oneOf: [{ type: "number" }, { type: "null", nullable: true }],
|
|
86
|
+
},
|
|
87
|
+
site_survey: {
|
|
88
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
89
|
+
},
|
|
90
|
+
installation_height: {
|
|
91
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
92
|
+
},
|
|
93
|
+
street_light_number: {
|
|
94
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
95
|
+
},
|
|
96
|
+
street_light_replacement: {
|
|
97
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
98
|
+
},
|
|
99
|
+
tv_number: {
|
|
100
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
101
|
+
},
|
|
102
|
+
building_permit: {
|
|
103
|
+
oneOf: [{ type: "boolean" }, { type: "null", nullable: true }],
|
|
104
|
+
},
|
|
105
|
+
building_permit_state: {
|
|
106
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
107
|
+
},
|
|
108
|
+
location_note: {
|
|
109
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
110
|
+
},
|
|
111
|
+
site_survey_report: {
|
|
112
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
113
|
+
},
|
|
114
|
+
order_state: {
|
|
115
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
116
|
+
},
|
|
117
|
+
order_number: {
|
|
118
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
119
|
+
},
|
|
120
|
+
design_price_without_vat: {
|
|
121
|
+
oneOf: [{ type: "number" }, { type: "null", nullable: true }],
|
|
122
|
+
},
|
|
123
|
+
realization_price_without_vat: {
|
|
124
|
+
oneOf: [{ type: "number" }, { type: "null", nullable: true }],
|
|
125
|
+
},
|
|
126
|
+
warranty_end: {
|
|
127
|
+
oneOf: [
|
|
128
|
+
{ type: "string", format: "date" },
|
|
129
|
+
{ type: "null", nullable: true },
|
|
130
|
+
],
|
|
131
|
+
},
|
|
132
|
+
next_revision: {
|
|
133
|
+
oneOf: [
|
|
134
|
+
{ type: "string", format: "date" },
|
|
135
|
+
{ type: "null", nullable: true },
|
|
136
|
+
],
|
|
137
|
+
},
|
|
138
|
+
qr_code: {
|
|
139
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
140
|
+
},
|
|
141
|
+
supplier: {
|
|
142
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
143
|
+
},
|
|
144
|
+
stop_name: {
|
|
145
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
146
|
+
},
|
|
147
|
+
stop_type: {
|
|
148
|
+
oneOf: [
|
|
149
|
+
{ type: "array", items: { type: "string" } },
|
|
150
|
+
{ type: "null", nullable: true },
|
|
151
|
+
],
|
|
152
|
+
},
|
|
153
|
+
site_survey_date: {
|
|
154
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
155
|
+
},
|
|
156
|
+
order_planned_deadline: {
|
|
157
|
+
oneOf: [
|
|
158
|
+
{ type: "string", format: "date" },
|
|
159
|
+
{ type: "null", nullable: true },
|
|
160
|
+
],
|
|
161
|
+
},
|
|
162
|
+
order_registry_publication: {
|
|
163
|
+
oneOf: [{ type: "boolean" }, { type: "null", nullable: true }],
|
|
164
|
+
},
|
|
165
|
+
invoice_paid: {
|
|
166
|
+
oneOf: [{ type: "boolean" }, { type: "null", nullable: true }],
|
|
167
|
+
},
|
|
168
|
+
initial_revision: {
|
|
169
|
+
oneOf: [
|
|
170
|
+
{ type: "string", format: "date" },
|
|
171
|
+
{ type: "null", nullable: true },
|
|
172
|
+
],
|
|
173
|
+
},
|
|
174
|
+
asset_registered: {
|
|
175
|
+
oneOf: [{ type: "boolean" }, { type: "null", nullable: true }],
|
|
176
|
+
},
|
|
177
|
+
asset_number: {
|
|
178
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
179
|
+
},
|
|
180
|
+
insurance: {
|
|
181
|
+
oneOf: [{ type: "boolean" }, { type: "null", nullable: true }],
|
|
182
|
+
},
|
|
183
|
+
handed_over_to_ozp: {
|
|
184
|
+
oneOf: [{ type: "boolean" }, { type: "null", nullable: true }],
|
|
185
|
+
},
|
|
186
|
+
ropid_documentation_submitted: {
|
|
187
|
+
oneOf: [
|
|
188
|
+
{ type: "array", items: { type: "string" } },
|
|
189
|
+
{ type: "null", nullable: true },
|
|
190
|
+
],
|
|
191
|
+
},
|
|
192
|
+
ropid_documentation_handover_date: {
|
|
193
|
+
oneOf: [
|
|
194
|
+
{ type: "string", format: "date" },
|
|
195
|
+
{ type: "null", nullable: true },
|
|
196
|
+
],
|
|
197
|
+
},
|
|
198
|
+
street_name: {
|
|
199
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
200
|
+
},
|
|
201
|
+
exit_number: {
|
|
202
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
203
|
+
},
|
|
204
|
+
dpp_priority: {
|
|
205
|
+
oneOf: [{ type: "number" }, { type: "null", nullable: true }],
|
|
206
|
+
},
|
|
207
|
+
insurance_state: {
|
|
208
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
209
|
+
},
|
|
210
|
+
comments: {
|
|
211
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
212
|
+
},
|
|
213
|
+
asw_node_id: {
|
|
214
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
215
|
+
},
|
|
216
|
+
asw_stop_id: {
|
|
217
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
218
|
+
},
|
|
219
|
+
power_consumption_watt: {
|
|
220
|
+
oneOf: [{ type: "number" }, { type: "null", nullable: true }],
|
|
221
|
+
},
|
|
222
|
+
thmp_element_number: {
|
|
223
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
224
|
+
},
|
|
225
|
+
electricity_supply_contract: {
|
|
226
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
227
|
+
},
|
|
228
|
+
cleaning_frequency: {
|
|
229
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
230
|
+
},
|
|
231
|
+
electricity_consumption_price: {
|
|
232
|
+
oneOf: [{ type: "number" }, { type: "null", nullable: true }],
|
|
233
|
+
},
|
|
234
|
+
ropid_element_id: {
|
|
235
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
236
|
+
},
|
|
237
|
+
construction_type: {
|
|
238
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
239
|
+
},
|
|
240
|
+
price_without_vat: {
|
|
241
|
+
oneOf: [{ type: "number" }, { type: "null", nullable: true }],
|
|
242
|
+
},
|
|
243
|
+
serial_number: {
|
|
244
|
+
oneOf: [{ type: "string" }, { type: "null", nullable: true }],
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
required: AbstractElementModel_1.AbstractElementModel.elementJSONSchemaRequired,
|
|
248
|
+
additionalProperties: false,
|
|
249
|
+
},
|
|
250
|
+
};
|
|
251
|
+
//# sourceMappingURL=TotemModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TotemModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/TotemModel.ts"],"names":[],"mappings":";;;AACA,mEAAiF;AAEjF,iEAA8D;AAG9D,MAAa,UAAW,SAAQ,2CAAoB;;AAApD,gCA0SC;AAzS0B,oBAAS,GAAG,QAAQ,CAAC;AAuDrB,yBAAc,GAAgC;IACjE,GAAG,2CAAoB,CAAC,qBAAqB;IAC7C,UAAU,EAAE,EAAE,IAAI,EAAE,qBAAS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C;aAChE;YACD,6BAA6B,EAAE;gBAC3B,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;aAChE;YACD,gBAAgB,EAAE;gBACd,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;aAChE;YACD,iBAAiB,EAAE;gBACf,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;aAChE;YACD,iBAAiB,EAAE;gBACf,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;aAChE;YACD,aAAa,EAAE;gBACX,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;aAChE;SACJ;QACD,QAAQ,EAAE,2CAAoB,CAAC,yBAAyB;QACxD,oBAAoB,EAAE,KAAK;KAC9B;CACJ,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IElement } from "./IElement";
|
|
2
|
+
export interface IDisplayCase extends IElement {
|
|
3
|
+
stop_name: string | null;
|
|
4
|
+
stop_direction: string | null;
|
|
5
|
+
platform_code: string | null;
|
|
6
|
+
stop_type: string[] | null;
|
|
7
|
+
thmp_stop_id: string | null;
|
|
8
|
+
shelter_type: string | null;
|
|
9
|
+
shelter_id: string | null;
|
|
10
|
+
qr_code: string | null;
|
|
11
|
+
supplier: string | null;
|
|
12
|
+
comments: string | null;
|
|
13
|
+
asw_node_id: string | null;
|
|
14
|
+
asw_stop_id: string | null;
|
|
15
|
+
location_description: string | null;
|
|
16
|
+
street_name: string | null;
|
|
17
|
+
ropid_element_id: string | null;
|
|
18
|
+
price_without_vat: number | null;
|
|
19
|
+
serial_number: string | null;
|
|
20
|
+
thmp_element_number: string | null;
|
|
21
|
+
cleaning_frequency: string | null;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDisplayCase.js","sourceRoot":"","sources":["../../../../src/schema-definitions/models/interfaces/IDisplayCase.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface IElement {
|
|
2
|
+
document_id: string;
|
|
3
|
+
uid: string | null;
|
|
4
|
+
kind: string | null;
|
|
5
|
+
name: string | null;
|
|
6
|
+
state: string | null;
|
|
7
|
+
owner: string | null;
|
|
8
|
+
city_district: string | null;
|
|
9
|
+
lat: number | null;
|
|
10
|
+
lon: number | null;
|
|
11
|
+
map_link: string | null;
|
|
12
|
+
planned_year_of_realization: string | null;
|
|
13
|
+
note: string | null;
|
|
14
|
+
handover: boolean | null;
|
|
15
|
+
handover_date: string | null;
|
|
16
|
+
source_created_at: Date;
|
|
17
|
+
source_updated_at: Date;
|
|
18
|
+
source_published_at: Date;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IElement.js","sourceRoot":"","sources":["../../../../src/schema-definitions/models/interfaces/IElement.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { IElement } from "./IElement";
|
|
2
|
+
export interface IInformationPanel extends IElement {
|
|
3
|
+
stop_name: string | null;
|
|
4
|
+
stop_direction: string | null;
|
|
5
|
+
platform_code: string | null;
|
|
6
|
+
stop_type: string[] | null;
|
|
7
|
+
thmp_stop_id: string | null;
|
|
8
|
+
land_parcel_number: string | null;
|
|
9
|
+
land_owner: string | null;
|
|
10
|
+
workday_boarding_count: number | null;
|
|
11
|
+
lines: string | null;
|
|
12
|
+
location_description: string | null;
|
|
13
|
+
location_verification_on_street_light: string | null;
|
|
14
|
+
shelter_type: string | null;
|
|
15
|
+
shelter_id: string | null;
|
|
16
|
+
street_light_number: string | null;
|
|
17
|
+
surface_type: string | null;
|
|
18
|
+
connection_state: string | null;
|
|
19
|
+
connection_type: string | null;
|
|
20
|
+
connection_mode: string | null;
|
|
21
|
+
priority: string | null;
|
|
22
|
+
investor_action: string | null;
|
|
23
|
+
design_request: string | null;
|
|
24
|
+
design_state: string | null;
|
|
25
|
+
design_order_number: string | null;
|
|
26
|
+
design_registry_publication: string | null;
|
|
27
|
+
design_invoice_paid: string | null;
|
|
28
|
+
production_order_number: string | null;
|
|
29
|
+
production_state: string | null;
|
|
30
|
+
production_registry_publication: string | null;
|
|
31
|
+
production_invoice_paid: string | null;
|
|
32
|
+
realization_request: boolean | null;
|
|
33
|
+
realization_state: string | null;
|
|
34
|
+
realization_order_number: string | null;
|
|
35
|
+
realization_registry_publication: string | null;
|
|
36
|
+
realization_invoice_paid: string | null;
|
|
37
|
+
name_for_visually_impaired: string | null;
|
|
38
|
+
voice_day: string | null;
|
|
39
|
+
voice_night: string | null;
|
|
40
|
+
templates: string | null;
|
|
41
|
+
preset: string | null;
|
|
42
|
+
data_source: string | null;
|
|
43
|
+
imsi: string | null;
|
|
44
|
+
connection_point: string | null;
|
|
45
|
+
connection_point_number: string | null;
|
|
46
|
+
foundation_type: string | null;
|
|
47
|
+
warranty_end: string | null;
|
|
48
|
+
initial_revision: string | null;
|
|
49
|
+
next_revision: string | null;
|
|
50
|
+
electronics_service: boolean | null;
|
|
51
|
+
electronics_service_end: string | null;
|
|
52
|
+
asset_registered: boolean | null;
|
|
53
|
+
asset_number: string | null;
|
|
54
|
+
insurance: boolean | null;
|
|
55
|
+
handed_over_to_ozp: boolean | null;
|
|
56
|
+
dpp_documentation_request: boolean | null;
|
|
57
|
+
dpp_documentation_handover_date: string | null;
|
|
58
|
+
design_deadline: string | null;
|
|
59
|
+
production_deadline: string | null;
|
|
60
|
+
ropid_documentation_submitted: string[] | null;
|
|
61
|
+
ropid_documentation_handover_date: string | null;
|
|
62
|
+
dpp_documentation_submitted: string[] | null;
|
|
63
|
+
realization_deadline: string | null;
|
|
64
|
+
device_id: string | null;
|
|
65
|
+
asw_node_id: string | null;
|
|
66
|
+
asw_stop_id: string | null;
|
|
67
|
+
power_consumption_watt: number | null;
|
|
68
|
+
thmp_element_number: string | null;
|
|
69
|
+
electricity_supply_contract: string | null;
|
|
70
|
+
cleaning_frequency: string | null;
|
|
71
|
+
electricity_consumption_price: number | null;
|
|
72
|
+
construction_type: string | null;
|
|
73
|
+
panel_size: string | null;
|
|
74
|
+
design_price_without_vat: number | null;
|
|
75
|
+
production_price_without_vat: number | null;
|
|
76
|
+
realization_price_without_vat: number | null;
|
|
77
|
+
serial_number: string | null;
|
|
78
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IInformationPanel.js","sourceRoot":"","sources":["../../../../src/schema-definitions/models/interfaces/IInformationPanel.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IElement } from "./IElement";
|
|
2
|
+
export interface IObelisk extends IElement {
|
|
3
|
+
street_name: string | null;
|
|
4
|
+
location_description: string | null;
|
|
5
|
+
land_parcel_number: string | null;
|
|
6
|
+
land_owner: string | null;
|
|
7
|
+
priority: string | null;
|
|
8
|
+
asset_registered: boolean | null;
|
|
9
|
+
asset_number: string | null;
|
|
10
|
+
insurance: boolean | null;
|
|
11
|
+
insurance_state: string | null;
|
|
12
|
+
handed_over_to_ozp: boolean | null;
|
|
13
|
+
comments: string | null;
|
|
14
|
+
ropid_element_id: string | null;
|
|
15
|
+
construction_type: string | null;
|
|
16
|
+
price_without_vat: number | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IObelisk.js","sourceRoot":"","sources":["../../../../src/schema-definitions/models/interfaces/IObelisk.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IElement } from "./IElement";
|
|
2
|
+
export interface ISignpost extends IElement {
|
|
3
|
+
street_name: string | null;
|
|
4
|
+
location_description: string | null;
|
|
5
|
+
land_parcel_number: string | null;
|
|
6
|
+
land_owner: string | null;
|
|
7
|
+
street_light_number: string | null;
|
|
8
|
+
sheet_count: number | null;
|
|
9
|
+
priority: string | null;
|
|
10
|
+
asset_registered: boolean | null;
|
|
11
|
+
asset_number: string | null;
|
|
12
|
+
insurance: boolean | null;
|
|
13
|
+
insurance_state: string | null;
|
|
14
|
+
handed_over_to_ozp: boolean | null;
|
|
15
|
+
comments: string | null;
|
|
16
|
+
ropid_element_id: string | null;
|
|
17
|
+
construction_type: string | null;
|
|
18
|
+
price_without_vat: number | null;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ISignpost.js","sourceRoot":"","sources":["../../../../src/schema-definitions/models/interfaces/ISignpost.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { IElement } from "./IElement";
|
|
2
|
+
export interface ITotem extends IElement {
|
|
3
|
+
panel_size: string | null;
|
|
4
|
+
locality: string | null;
|
|
5
|
+
displayed_icon: string[] | null;
|
|
6
|
+
line: string[] | null;
|
|
7
|
+
priority: number | null;
|
|
8
|
+
site_survey: string | null;
|
|
9
|
+
installation_height: string | null;
|
|
10
|
+
street_light_number: string | null;
|
|
11
|
+
street_light_replacement: string | null;
|
|
12
|
+
tv_number: string | null;
|
|
13
|
+
building_permit: boolean | null;
|
|
14
|
+
building_permit_state: string | null;
|
|
15
|
+
location_note: string | null;
|
|
16
|
+
site_survey_report: string | null;
|
|
17
|
+
order_state: string | null;
|
|
18
|
+
order_number: string | null;
|
|
19
|
+
design_price_without_vat: number | null;
|
|
20
|
+
realization_price_without_vat: number | null;
|
|
21
|
+
warranty_end: string | null;
|
|
22
|
+
next_revision: string | null;
|
|
23
|
+
qr_code: string | null;
|
|
24
|
+
supplier: string | null;
|
|
25
|
+
stop_name: string | null;
|
|
26
|
+
stop_type: string[] | null;
|
|
27
|
+
site_survey_date: string | null;
|
|
28
|
+
order_planned_deadline: string | null;
|
|
29
|
+
order_registry_publication: boolean | null;
|
|
30
|
+
invoice_paid: boolean | null;
|
|
31
|
+
initial_revision: string | null;
|
|
32
|
+
asset_registered: boolean | null;
|
|
33
|
+
asset_number: string | null;
|
|
34
|
+
insurance: boolean | null;
|
|
35
|
+
handed_over_to_ozp: boolean | null;
|
|
36
|
+
ropid_documentation_submitted: string[] | null;
|
|
37
|
+
ropid_documentation_handover_date: string | null;
|
|
38
|
+
street_name: string | null;
|
|
39
|
+
exit_number: string | null;
|
|
40
|
+
dpp_priority: number | null;
|
|
41
|
+
insurance_state: string | null;
|
|
42
|
+
comments: string | null;
|
|
43
|
+
asw_node_id: string | null;
|
|
44
|
+
asw_stop_id: string | null;
|
|
45
|
+
power_consumption_watt: number | null;
|
|
46
|
+
thmp_element_number: string | null;
|
|
47
|
+
electricity_supply_contract: string | null;
|
|
48
|
+
cleaning_frequency: string | null;
|
|
49
|
+
electricity_consumption_price: number | null;
|
|
50
|
+
ropid_element_id: string | null;
|
|
51
|
+
construction_type: string | null;
|
|
52
|
+
price_without_vat: number | null;
|
|
53
|
+
serial_number: string | null;
|
|
54
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ITotem.js","sourceRoot":"","sources":["../../../../src/schema-definitions/models/interfaces/ITotem.ts"],"names":[],"mappings":""}
|