@golemio/parkings 1.4.4-dev.799650919 → 1.4.4
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/dist/integration-engine/ParkingInterface.d.ts +1 -1
- package/dist/integration-engine/ParkingsWorker.js +8 -12
- package/dist/integration-engine/ParkingsWorker.js.map +1 -1
- package/dist/integration-engine/ParkomatsWorker.js +7 -8
- package/dist/integration-engine/ParkomatsWorker.js.map +1 -1
- package/dist/integration-engine/ZtpParkingZones/ZtpParkingZonesTransformation.d.ts +1 -1
- package/dist/integration-engine/ZtpParkingZones/ZtpParkingZonesTransformation.js +1 -1
- package/dist/integration-engine/ZtpParkingZones/ZtpParkingZonesTransformation.js.map +1 -1
- package/dist/integration-engine/repositories/ParkingTariffsRepository.d.ts +0 -1
- package/dist/integration-engine/repositories/ParkingTariffsRepository.js +2 -31
- package/dist/integration-engine/repositories/ParkingTariffsRepository.js.map +1 -1
- package/dist/integration-engine/repositories/ParkingsRepository.d.ts +1 -1
- package/dist/integration-engine/repositories/ParkingsRepository.js +2 -3
- package/dist/integration-engine/repositories/ParkingsRepository.js.map +1 -1
- package/dist/integration-engine/transformations/ParkingLotsTransformation.js +1 -1
- package/dist/integration-engine/transformations/ParkingLotsTransformation.js.map +1 -1
- package/dist/integration-engine/transformations/ParkomatsTransformation.js +3 -3
- package/dist/integration-engine/transformations/ParkomatsTransformation.js.map +1 -1
- package/dist/integration-engine/transformations/StaticTariffsTransformation.d.ts +1 -1
- package/dist/integration-engine/transformations/TSKParkingTariffTransformation.js +2 -4
- package/dist/integration-engine/transformations/TSKParkingTariffTransformation.js.map +1 -1
- package/dist/integration-engine/transformations/TSKParkingTransformation.js +1 -1
- package/dist/integration-engine/transformations/TSKParkingTransformation.js.map +1 -1
- package/dist/output-gateway/data-access/TskParkingLotsRepository.js +1 -2
- package/dist/output-gateway/data-access/TskParkingLotsRepository.js.map +1 -1
- package/dist/output-gateway/models/index.d.ts +1 -1
- package/dist/output-gateway/models/index.js +4 -5
- package/dist/output-gateway/models/index.js.map +1 -1
- package/dist/schema-definitions/Parkomats.d.ts +33 -0
- package/dist/schema-definitions/Parkomats.js +41 -0
- package/dist/schema-definitions/Parkomats.js.map +1 -1
- package/dist/schema-definitions/datasources/{interfaces/IStaticParkingTariff.d.ts → IStaticParkingTariff.d.ts} +1 -1
- package/dist/schema-definitions/datasources/IStaticParkingTariff.js.map +1 -0
- package/dist/schema-definitions/datasources/IStaticParkingsTariffCharge.js.map +1 -0
- package/dist/schema-definitions/datasources/IZtpParkingJsonFeature.js.map +1 -0
- package/dist/schema-definitions/datasources/StaticTariffsJsonSchema.d.ts +1 -1
- package/dist/schema-definitions/datasources/ZtpParkingsJsonSchema.d.ts +1 -1
- package/dist/schema-definitions/index.d.ts +158 -2
- package/dist/schema-definitions/index.js +129 -1
- package/dist/schema-definitions/index.js.map +1 -1
- package/docs/implementation-documentation.md +2 -2
- package/package.json +3 -3
- package/dist/schema-definitions/datasources/InputParkingLotsSchema.d.ts +0 -4
- package/dist/schema-definitions/datasources/InputParkingLotsSchema.js +0 -24
- package/dist/schema-definitions/datasources/InputParkingLotsSchema.js.map +0 -1
- package/dist/schema-definitions/datasources/ParkingMeasurementsDtoSchema.d.ts +0 -4
- package/dist/schema-definitions/datasources/ParkingMeasurementsDtoSchema.js +0 -23
- package/dist/schema-definitions/datasources/ParkingMeasurementsDtoSchema.js.map +0 -1
- package/dist/schema-definitions/datasources/ParkingTariffDtoSchema.d.ts +0 -4
- package/dist/schema-definitions/datasources/ParkingTariffDtoSchema.js +0 -38
- package/dist/schema-definitions/datasources/ParkingTariffDtoSchema.js.map +0 -1
- package/dist/schema-definitions/datasources/ParkingsDtoSchema.d.ts +0 -4
- package/dist/schema-definitions/datasources/ParkingsDtoSchema.js +0 -52
- package/dist/schema-definitions/datasources/ParkingsDtoSchema.js.map +0 -1
- package/dist/schema-definitions/datasources/interfaces/IInputParkingLots.d.ts +0 -12
- package/dist/schema-definitions/datasources/interfaces/IInputParkingLots.js +0 -3
- package/dist/schema-definitions/datasources/interfaces/IInputParkingLots.js.map +0 -1
- package/dist/schema-definitions/datasources/interfaces/IParkingTariffDto.d.ts +0 -25
- package/dist/schema-definitions/datasources/interfaces/IParkingTariffDto.js +0 -3
- package/dist/schema-definitions/datasources/interfaces/IParkingTariffDto.js.map +0 -1
- package/dist/schema-definitions/datasources/interfaces/IParkingsDto.d.ts +0 -23
- package/dist/schema-definitions/datasources/interfaces/IParkingsDto.js +0 -3
- package/dist/schema-definitions/datasources/interfaces/IParkingsDto.js.map +0 -1
- package/dist/schema-definitions/datasources/interfaces/IParkingsMeasurementDto.d.ts +0 -10
- package/dist/schema-definitions/datasources/interfaces/IParkingsMeasurementDto.js +0 -3
- package/dist/schema-definitions/datasources/interfaces/IParkingsMeasurementDto.js.map +0 -1
- package/dist/schema-definitions/datasources/interfaces/IStaticParkingTariff.js.map +0 -1
- package/dist/schema-definitions/datasources/interfaces/IStaticParkingsTariffCharge.js.map +0 -1
- package/dist/schema-definitions/datasources/interfaces/IZtpParkingJsonFeature.js.map +0 -1
- package/dist/schema-definitions/parkomats/datasources/ParkomatInputSchema.d.ts +0 -4
- package/dist/schema-definitions/parkomats/datasources/ParkomatInputSchema.js +0 -22
- package/dist/schema-definitions/parkomats/datasources/ParkomatInputSchema.js.map +0 -1
- package/dist/schema-definitions/parkomats/datasources/interfaces/IParkomatInput.d.ts +0 -9
- package/dist/schema-definitions/parkomats/datasources/interfaces/IParkomatInput.js +0 -3
- package/dist/schema-definitions/parkomats/datasources/interfaces/IParkomatInput.js.map +0 -1
- package/dist/schema-definitions/parkomats/models/ParkomatDto.d.ts +0 -14
- package/dist/schema-definitions/parkomats/models/ParkomatDto.js +0 -60
- package/dist/schema-definitions/parkomats/models/ParkomatDto.js.map +0 -1
- package/dist/schema-definitions/parkomats/models/interfaces/IParkomatDto.d.ts +0 -9
- package/dist/schema-definitions/parkomats/models/interfaces/IParkomatDto.js +0 -3
- package/dist/schema-definitions/parkomats/models/interfaces/IParkomatDto.js.map +0 -1
- /package/dist/schema-definitions/datasources/{interfaces/IStaticParkingTariff.js → IStaticParkingTariff.js} +0 -0
- /package/dist/schema-definitions/datasources/{interfaces/IStaticParkingsTariffCharge.d.ts → IStaticParkingsTariffCharge.d.ts} +0 -0
- /package/dist/schema-definitions/datasources/{interfaces/IStaticParkingsTariffCharge.js → IStaticParkingsTariffCharge.js} +0 -0
- /package/dist/schema-definitions/datasources/{interfaces/IZtpParkingJsonFeature.d.ts → IZtpParkingJsonFeature.d.ts} +0 -0
- /package/dist/schema-definitions/datasources/{interfaces/IZtpParkingJsonFeature.js → IZtpParkingJsonFeature.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ParkingMeasurementsDtoSchema.js","sourceRoot":"","sources":["../../../src/schema-definitions/datasources/ParkingMeasurementsDtoSchema.ts"],"names":[],"mappings":";;;AAGA,MAAM,4BAA4B,GAA6C;IAC3E,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,QAAQ,EAAE,WAAW,CAAC;QACjC,oBAAoB,EAAE,IAAI;QAC1B,UAAU,EAAE;YACR,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC1B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC7B,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC9B,qBAAqB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YAC1C,kBAAkB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YACvC,oBAAoB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YACzC,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YACtC,aAAa,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;SACrC;KACJ;CACJ,CAAC;AAEuC,oEAA4B"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
|
-
import { IParkingTariffDto } from "./interfaces/IParkingTariffDto";
|
|
3
|
-
declare const parkingstariffDtoSchema: JSONSchemaType<IParkingTariffDto[]>;
|
|
4
|
-
export { parkingstariffDtoSchema as ParkingsTariffDtoSchema };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ParkingsTariffDtoSchema = void 0;
|
|
4
|
-
const parkingstariffDtoSchema = {
|
|
5
|
-
type: "array",
|
|
6
|
-
items: {
|
|
7
|
-
type: "object",
|
|
8
|
-
properties: {
|
|
9
|
-
tariff_id: { type: "string" },
|
|
10
|
-
source: { type: "string" },
|
|
11
|
-
last_updated: { type: "string" },
|
|
12
|
-
payment_mode: { type: "string" },
|
|
13
|
-
payment_additional_description: { type: "string" },
|
|
14
|
-
free_of_charge: { type: "boolean" },
|
|
15
|
-
url_link_address: { type: "string" },
|
|
16
|
-
charge_band_name: { type: "string" },
|
|
17
|
-
accepts_payment_card: { type: "boolean" },
|
|
18
|
-
accepts_cash: { type: "boolean" },
|
|
19
|
-
accepts_mobile_payment: { type: "boolean" },
|
|
20
|
-
accepts_litacka: { type: "boolean" },
|
|
21
|
-
charge_currency: { type: "string" },
|
|
22
|
-
charge: { type: "number" },
|
|
23
|
-
charge_type: { type: "string" },
|
|
24
|
-
charge_order_index: { type: "number" },
|
|
25
|
-
charge_interval: { type: "number" },
|
|
26
|
-
max_iterations_of_charge: { type: "number" },
|
|
27
|
-
min_iterations_of_charge: { type: "number" },
|
|
28
|
-
start_time_of_period: { type: "string" },
|
|
29
|
-
end_time_of_period: { type: "string" },
|
|
30
|
-
allowed_vehicle_type: { type: "string" },
|
|
31
|
-
allowed_fuel_type: { type: "string" },
|
|
32
|
-
},
|
|
33
|
-
required: ["tariff_id", "source", "charge_order_index"],
|
|
34
|
-
additionalProperties: false,
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
exports.ParkingsTariffDtoSchema = parkingstariffDtoSchema;
|
|
38
|
-
//# sourceMappingURL=ParkingTariffDtoSchema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ParkingTariffDtoSchema.js","sourceRoot":"","sources":["../../../src/schema-definitions/datasources/ParkingTariffDtoSchema.ts"],"names":[],"mappings":";;;AAGA,MAAM,uBAAuB,GAAwC;IACjE,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC7B,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC1B,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAChC,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAChC,8BAA8B,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAClD,cAAc,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YACnC,gBAAgB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACpC,gBAAgB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACpC,oBAAoB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YACzC,YAAY,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YACjC,sBAAsB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YAC3C,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YACpC,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACnC,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC1B,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC/B,kBAAkB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACtC,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACnC,wBAAwB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC5C,wBAAwB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC5C,oBAAoB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACxC,kBAAkB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACtC,oBAAoB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACxC,iBAAiB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SACxC;QACD,QAAQ,EAAE,CAAC,WAAW,EAAE,QAAQ,EAAE,oBAAoB,CAAC;QACvD,oBAAoB,EAAE,KAAK;KAC9B;CACJ,CAAC;AAEkC,0DAAuB"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ParkingsDtoSchema = void 0;
|
|
4
|
-
const schema_definitions_1 = require("@golemio/core/dist/schema-definitions");
|
|
5
|
-
const parkingsDtoSchema = {
|
|
6
|
-
type: "array",
|
|
7
|
-
items: {
|
|
8
|
-
type: "object",
|
|
9
|
-
properties: {
|
|
10
|
-
id: { type: "string" },
|
|
11
|
-
source: { type: "string" },
|
|
12
|
-
source_id: { type: "string" },
|
|
13
|
-
data_provider: { type: "string" },
|
|
14
|
-
name: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
15
|
-
category: { type: "string" },
|
|
16
|
-
date_modified: { type: "integer" },
|
|
17
|
-
address: { $ref: "#/definitions/address" },
|
|
18
|
-
location: { $ref: "#/definitions/geometry" },
|
|
19
|
-
area_served: { type: "string" },
|
|
20
|
-
web_app_payment_url: { type: "string" },
|
|
21
|
-
android_app_payment_url: { type: "string" },
|
|
22
|
-
ios_app_payment_url: { type: "string" },
|
|
23
|
-
total_spot_number: { type: "integer" },
|
|
24
|
-
tariff_id: { type: "string" },
|
|
25
|
-
valid_from: { type: "string" },
|
|
26
|
-
valid_to: { type: "string" },
|
|
27
|
-
parking_type: { type: "string" },
|
|
28
|
-
zone_type: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
29
|
-
centroid: { $ref: "#/definitions/geometry" },
|
|
30
|
-
},
|
|
31
|
-
required: ["id", "source", "source_id"],
|
|
32
|
-
additionalProperties: false,
|
|
33
|
-
},
|
|
34
|
-
definitions: {
|
|
35
|
-
address: {
|
|
36
|
-
type: "object",
|
|
37
|
-
properties: {
|
|
38
|
-
address_formatted: { type: "string" },
|
|
39
|
-
street_address: { type: "string" },
|
|
40
|
-
postal_code: { type: "string" },
|
|
41
|
-
address_locality: { type: "string" },
|
|
42
|
-
address_region: { type: "string" },
|
|
43
|
-
address_country: { type: "string" },
|
|
44
|
-
},
|
|
45
|
-
required: [],
|
|
46
|
-
},
|
|
47
|
-
// @ts-expect-error
|
|
48
|
-
geometry: schema_definitions_1.SharedSchemaProvider.Geometry,
|
|
49
|
-
},
|
|
50
|
-
};
|
|
51
|
-
exports.ParkingsDtoSchema = parkingsDtoSchema;
|
|
52
|
-
//# sourceMappingURL=ParkingsDtoSchema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ParkingsDtoSchema.js","sourceRoot":"","sources":["../../../src/schema-definitions/datasources/ParkingsDtoSchema.ts"],"names":[],"mappings":";;;AAAA,8EAA6E;AAI7E,MAAM,iBAAiB,GAAmC;IACtD,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACtB,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC1B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC7B,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACjC,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;YACvE,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC5B,aAAa,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YAClC,OAAO,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE;YAC1C,QAAQ,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE;YAC5C,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC/B,mBAAmB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACvC,uBAAuB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC3C,mBAAmB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACvC,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YACtC,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC7B,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC9B,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC5B,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAChC,SAAS,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;YAC5E,QAAQ,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE;SAC/C;QACD,QAAQ,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;QACvC,oBAAoB,EAAE,KAAK;KAC9B;IACD,WAAW,EAAE;QACT,OAAO,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACR,iBAAiB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACrC,cAAc,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAClC,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAC/B,gBAAgB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACpC,cAAc,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAClC,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;aACtC;YACD,QAAQ,EAAE,EAAE;SACf;QACD,mBAAmB;QACnB,QAAQ,EAAE,yCAAoB,CAAC,QAAQ;KAC1C;CACJ,CAAC;AAE4B,8CAAiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IInputParkingLots.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/interfaces/IInputParkingLots.ts"],"names":[],"mappings":""}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface IParkingTariffDto {
|
|
2
|
-
tariff_id: string;
|
|
3
|
-
source: string;
|
|
4
|
-
last_updated: string;
|
|
5
|
-
payment_mode: string;
|
|
6
|
-
payment_additional_description: string;
|
|
7
|
-
free_of_charge: boolean;
|
|
8
|
-
url_link_address: string;
|
|
9
|
-
charge_band_name: string;
|
|
10
|
-
accepts_payment_card: boolean;
|
|
11
|
-
accepts_cash: boolean;
|
|
12
|
-
accepts_mobile_payment: boolean;
|
|
13
|
-
accepts_litacka: boolean;
|
|
14
|
-
charge_currency: string;
|
|
15
|
-
charge: number;
|
|
16
|
-
charge_type: string;
|
|
17
|
-
charge_order_index: number;
|
|
18
|
-
charge_interval: number;
|
|
19
|
-
max_iterations_of_charge: number;
|
|
20
|
-
min_iterations_of_charge: number;
|
|
21
|
-
start_time_of_period: string;
|
|
22
|
-
end_time_of_period: string;
|
|
23
|
-
allowed_vehicle_type: string;
|
|
24
|
-
allowed_fuel_type: string;
|
|
25
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IParkingTariffDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/interfaces/IParkingTariffDto.ts"],"names":[],"mappings":""}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Geometry } from "@golemio/core/dist/shared/geojson";
|
|
2
|
-
export interface IParkingsDto {
|
|
3
|
-
id: string;
|
|
4
|
-
source: string;
|
|
5
|
-
source_id: string;
|
|
6
|
-
data_provider: string;
|
|
7
|
-
name: string | null;
|
|
8
|
-
category: string;
|
|
9
|
-
date_modified: string;
|
|
10
|
-
address: object;
|
|
11
|
-
location: Geometry;
|
|
12
|
-
area_served: string;
|
|
13
|
-
web_app_payment_url: string;
|
|
14
|
-
android_app_payment_url: string;
|
|
15
|
-
ios_app_payment_url: string;
|
|
16
|
-
total_spot_number: number;
|
|
17
|
-
tariff_id: string;
|
|
18
|
-
valid_from: string;
|
|
19
|
-
valid_to: string;
|
|
20
|
-
parking_type: string;
|
|
21
|
-
zone_type: string;
|
|
22
|
-
centroid: Geometry;
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IParkingsDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/interfaces/IParkingsDto.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IParkingsMeasurementDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/interfaces/IParkingsMeasurementDto.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IStaticParkingTariff.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/interfaces/IStaticParkingTariff.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IStaticParkingsTariffCharge.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/interfaces/IStaticParkingsTariffCharge.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IZtpParkingJsonFeature.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/interfaces/IZtpParkingJsonFeature.ts"],"names":[],"mappings":""}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ParkomatInputSchema = void 0;
|
|
4
|
-
const parkomatInputSchema = {
|
|
5
|
-
type: "array",
|
|
6
|
-
items: {
|
|
7
|
-
type: "object",
|
|
8
|
-
properties: {
|
|
9
|
-
Channel: { type: "string" },
|
|
10
|
-
DateFrom: { type: "string" },
|
|
11
|
-
DateTime: { type: "string" },
|
|
12
|
-
DateTo: { type: "string" },
|
|
13
|
-
Id: { type: "string" },
|
|
14
|
-
Price: { type: "number" },
|
|
15
|
-
Section: { type: "string" },
|
|
16
|
-
},
|
|
17
|
-
required: ["Id", "Price"],
|
|
18
|
-
additionalProperties: false,
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
exports.ParkomatInputSchema = parkomatInputSchema;
|
|
22
|
-
//# sourceMappingURL=ParkomatInputSchema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ParkomatInputSchema.js","sourceRoot":"","sources":["../../../../src/schema-definitions/parkomats/datasources/ParkomatInputSchema.ts"],"names":[],"mappings":";;;AAGA,MAAM,mBAAmB,GAAqC;IAC1D,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC3B,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC5B,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC5B,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC1B,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACtB,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACzB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SAC9B;QACD,QAAQ,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC;QACzB,oBAAoB,EAAE,KAAK;KAC9B;CACJ,CAAC;AAE8B,kDAAmB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IParkomatInput.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/parkomats/datasources/interfaces/IParkomatInput.ts"],"names":[],"mappings":""}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
2
|
-
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
|
-
import { IParkomatDto } from "./interfaces/IParkomatDto";
|
|
4
|
-
export declare class ParkomatDto extends Model<IParkomatDto> implements IParkomatDto {
|
|
5
|
-
channel: string;
|
|
6
|
-
parking_zone: string;
|
|
7
|
-
price: number;
|
|
8
|
-
ticket_bought: string | null;
|
|
9
|
-
transaction_id: string;
|
|
10
|
-
validity_from: string | null;
|
|
11
|
-
validity_to: string | null;
|
|
12
|
-
static attributeModel: ModelAttributes<ParkomatDto>;
|
|
13
|
-
static jsonSchema: JSONSchemaType<IParkomatDto[]>;
|
|
14
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.ParkomatDto = void 0;
|
|
27
|
-
const sequelize_1 = __importStar(require("@golemio/core/dist/shared/sequelize"));
|
|
28
|
-
class ParkomatDto extends sequelize_1.Model {
|
|
29
|
-
}
|
|
30
|
-
exports.ParkomatDto = ParkomatDto;
|
|
31
|
-
ParkomatDto.attributeModel = {
|
|
32
|
-
channel: sequelize_1.default.STRING,
|
|
33
|
-
parking_zone: sequelize_1.default.STRING,
|
|
34
|
-
price: sequelize_1.default.INTEGER,
|
|
35
|
-
ticket_bought: sequelize_1.default.DATE,
|
|
36
|
-
transaction_id: {
|
|
37
|
-
primaryKey: true,
|
|
38
|
-
type: sequelize_1.default.STRING,
|
|
39
|
-
},
|
|
40
|
-
validity_from: sequelize_1.default.DATE,
|
|
41
|
-
validity_to: sequelize_1.default.DATE,
|
|
42
|
-
};
|
|
43
|
-
ParkomatDto.jsonSchema = {
|
|
44
|
-
type: "array",
|
|
45
|
-
items: {
|
|
46
|
-
type: "object",
|
|
47
|
-
properties: {
|
|
48
|
-
channel: { type: "string" },
|
|
49
|
-
parking_zone: { type: "string" },
|
|
50
|
-
price: { type: "number" },
|
|
51
|
-
ticket_bought: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
52
|
-
transaction_id: { type: "string" },
|
|
53
|
-
validity_from: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
54
|
-
validity_to: { oneOf: [{ type: "string" }, { type: "null", nullable: true }] },
|
|
55
|
-
},
|
|
56
|
-
required: ["transaction_id", "price"],
|
|
57
|
-
additionalProperties: false,
|
|
58
|
-
},
|
|
59
|
-
};
|
|
60
|
-
//# sourceMappingURL=ParkomatDto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ParkomatDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/parkomats/models/ParkomatDto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,iFAAwF;AAGxF,MAAa,WAAY,SAAQ,iBAAmB;;AAApD,kCAuCC;AA9BiB,0BAAc,GAAiC;IACzD,OAAO,EAAE,mBAAS,CAAC,MAAM;IACzB,YAAY,EAAE,mBAAS,CAAC,MAAM;IAC9B,KAAK,EAAE,mBAAS,CAAC,OAAO;IACxB,aAAa,EAAE,mBAAS,CAAC,IAAI;IAC7B,cAAc,EAAE;QACZ,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,mBAAS,CAAC,MAAM;KACzB;IACD,aAAa,EAAE,mBAAS,CAAC,IAAI;IAC7B,WAAW,EAAE,mBAAS,CAAC,IAAI;CAC9B,CAAC;AAEY,sBAAU,GAAmC;IACvD,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC3B,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAChC,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACzB,aAAa,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;YAChF,cAAc,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAClC,aAAa,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;YAChF,WAAW,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE;SACjF;QACD,QAAQ,EAAE,CAAC,gBAAgB,EAAE,OAAO,CAAC;QACrC,oBAAoB,EAAE,KAAK;KAC9B;CACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IParkomatDto.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/parkomats/models/interfaces/IParkomatDto.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|