@golemio/parkings 1.4.3 → 1.4.4-dev.790951676

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.
Files changed (83) hide show
  1. package/dist/integration-engine/ParkingInterface.d.ts +1 -1
  2. package/dist/integration-engine/ParkingsWorker.js +10 -8
  3. package/dist/integration-engine/ParkingsWorker.js.map +1 -1
  4. package/dist/integration-engine/ParkomatsWorker.js +8 -7
  5. package/dist/integration-engine/ParkomatsWorker.js.map +1 -1
  6. package/dist/integration-engine/ZtpParkingZones/ZtpParkingZonesTransformation.d.ts +1 -1
  7. package/dist/integration-engine/ZtpParkingZones/ZtpParkingZonesTransformation.js +1 -1
  8. package/dist/integration-engine/ZtpParkingZones/ZtpParkingZonesTransformation.js.map +1 -1
  9. package/dist/integration-engine/repositories/ParkingTariffsRepository.js +3 -2
  10. package/dist/integration-engine/repositories/ParkingTariffsRepository.js.map +1 -1
  11. package/dist/integration-engine/repositories/ParkingsRepository.d.ts +1 -1
  12. package/dist/integration-engine/repositories/ParkingsRepository.js +3 -2
  13. package/dist/integration-engine/repositories/ParkingsRepository.js.map +1 -1
  14. package/dist/integration-engine/transformations/ParkingLotsTransformation.js +1 -1
  15. package/dist/integration-engine/transformations/ParkingLotsTransformation.js.map +1 -1
  16. package/dist/integration-engine/transformations/StaticTariffsTransformation.d.ts +1 -1
  17. package/dist/integration-engine/transformations/TSKParkingTariffTransformation.js +4 -2
  18. package/dist/integration-engine/transformations/TSKParkingTariffTransformation.js.map +1 -1
  19. package/dist/integration-engine/transformations/TSKParkingTransformation.js +1 -1
  20. package/dist/integration-engine/transformations/TSKParkingTransformation.js.map +1 -1
  21. package/dist/output-gateway/data-access/TskParkingLotsRepository.js +2 -1
  22. package/dist/output-gateway/data-access/TskParkingLotsRepository.js.map +1 -1
  23. package/dist/output-gateway/models/index.d.ts +1 -1
  24. package/dist/output-gateway/models/index.js +5 -4
  25. package/dist/output-gateway/models/index.js.map +1 -1
  26. package/dist/schema-definitions/Parkomats.d.ts +0 -33
  27. package/dist/schema-definitions/Parkomats.js +0 -41
  28. package/dist/schema-definitions/Parkomats.js.map +1 -1
  29. package/dist/schema-definitions/datasources/InputParkingLotsSchema.d.ts +4 -0
  30. package/dist/schema-definitions/datasources/InputParkingLotsSchema.js +24 -0
  31. package/dist/schema-definitions/datasources/InputParkingLotsSchema.js.map +1 -0
  32. package/dist/schema-definitions/datasources/ParkingMeasurementsDtoSchema.d.ts +4 -0
  33. package/dist/schema-definitions/datasources/ParkingMeasurementsDtoSchema.js +23 -0
  34. package/dist/schema-definitions/datasources/ParkingMeasurementsDtoSchema.js.map +1 -0
  35. package/dist/schema-definitions/datasources/ParkingTariffDtoSchema.d.ts +4 -0
  36. package/dist/schema-definitions/datasources/ParkingTariffDtoSchema.js +38 -0
  37. package/dist/schema-definitions/datasources/ParkingTariffDtoSchema.js.map +1 -0
  38. package/dist/schema-definitions/datasources/ParkingsDtoSchema.d.ts +4 -0
  39. package/dist/schema-definitions/datasources/ParkingsDtoSchema.js +52 -0
  40. package/dist/schema-definitions/datasources/ParkingsDtoSchema.js.map +1 -0
  41. package/dist/schema-definitions/datasources/StaticTariffsJsonSchema.d.ts +1 -1
  42. package/dist/schema-definitions/datasources/ZtpParkingsJsonSchema.d.ts +1 -1
  43. package/dist/schema-definitions/datasources/interfaces/IInputParkingLots.d.ts +12 -0
  44. package/dist/schema-definitions/datasources/interfaces/IInputParkingLots.js +3 -0
  45. package/dist/schema-definitions/datasources/interfaces/IInputParkingLots.js.map +1 -0
  46. package/dist/schema-definitions/datasources/interfaces/IParkingTariffDto.d.ts +25 -0
  47. package/dist/schema-definitions/datasources/interfaces/IParkingTariffDto.js +3 -0
  48. package/dist/schema-definitions/datasources/interfaces/IParkingTariffDto.js.map +1 -0
  49. package/dist/schema-definitions/datasources/interfaces/IParkingsDto.d.ts +23 -0
  50. package/dist/schema-definitions/datasources/interfaces/IParkingsDto.js +3 -0
  51. package/dist/schema-definitions/datasources/interfaces/IParkingsDto.js.map +1 -0
  52. package/dist/schema-definitions/datasources/interfaces/IParkingsMeasurementDto.d.ts +10 -0
  53. package/dist/schema-definitions/datasources/interfaces/IParkingsMeasurementDto.js +3 -0
  54. package/dist/schema-definitions/datasources/interfaces/IParkingsMeasurementDto.js.map +1 -0
  55. package/dist/schema-definitions/datasources/{IStaticParkingTariff.d.ts → interfaces/IStaticParkingTariff.d.ts} +1 -1
  56. package/dist/schema-definitions/datasources/interfaces/IStaticParkingTariff.js.map +1 -0
  57. package/dist/schema-definitions/datasources/interfaces/IStaticParkingsTariffCharge.js.map +1 -0
  58. package/dist/schema-definitions/datasources/interfaces/IZtpParkingJsonFeature.js.map +1 -0
  59. package/dist/schema-definitions/index.d.ts +2 -158
  60. package/dist/schema-definitions/index.js +1 -129
  61. package/dist/schema-definitions/index.js.map +1 -1
  62. package/dist/schema-definitions/parkomats/datasources/ParkomatInputSchema.d.ts +4 -0
  63. package/dist/schema-definitions/parkomats/datasources/ParkomatInputSchema.js +22 -0
  64. package/dist/schema-definitions/parkomats/datasources/ParkomatInputSchema.js.map +1 -0
  65. package/dist/schema-definitions/parkomats/datasources/interfaces/IParkomatInput.d.ts +9 -0
  66. package/dist/schema-definitions/parkomats/datasources/interfaces/IParkomatInput.js +3 -0
  67. package/dist/schema-definitions/parkomats/datasources/interfaces/IParkomatInput.js.map +1 -0
  68. package/dist/schema-definitions/parkomats/models/ParkomatDto.d.ts +14 -0
  69. package/dist/schema-definitions/parkomats/models/ParkomatDto.js +60 -0
  70. package/dist/schema-definitions/parkomats/models/ParkomatDto.js.map +1 -0
  71. package/dist/schema-definitions/parkomats/models/interfaces/IParkomatDto.d.ts +9 -0
  72. package/dist/schema-definitions/parkomats/models/interfaces/IParkomatDto.js +3 -0
  73. package/dist/schema-definitions/parkomats/models/interfaces/IParkomatDto.js.map +1 -0
  74. package/docs/implementation-documentation.md +2 -2
  75. package/package.json +2 -2
  76. package/dist/schema-definitions/datasources/IStaticParkingTariff.js.map +0 -1
  77. package/dist/schema-definitions/datasources/IStaticParkingsTariffCharge.js.map +0 -1
  78. package/dist/schema-definitions/datasources/IZtpParkingJsonFeature.js.map +0 -1
  79. /package/dist/schema-definitions/datasources/{IStaticParkingTariff.js → interfaces/IStaticParkingTariff.js} +0 -0
  80. /package/dist/schema-definitions/datasources/{IStaticParkingsTariffCharge.d.ts → interfaces/IStaticParkingsTariffCharge.d.ts} +0 -0
  81. /package/dist/schema-definitions/datasources/{IStaticParkingsTariffCharge.js → interfaces/IStaticParkingsTariffCharge.js} +0 -0
  82. /package/dist/schema-definitions/datasources/{IZtpParkingJsonFeature.d.ts → interfaces/IZtpParkingJsonFeature.d.ts} +0 -0
  83. /package/dist/schema-definitions/datasources/{IZtpParkingJsonFeature.js → interfaces/IZtpParkingJsonFeature.js} +0 -0
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ParkingMeasurementsDtoSchema = void 0;
4
+ const parkingMeasurementsDtoSchema = {
5
+ type: "array",
6
+ items: {
7
+ type: "object",
8
+ required: ["source", "source_id"],
9
+ additionalProperties: true,
10
+ properties: {
11
+ source: { type: "string" },
12
+ source_id: { type: "string" },
13
+ parking_id: { type: "string" },
14
+ available_spot_number: { type: "integer" },
15
+ closed_spot_number: { type: "integer" },
16
+ occupied_spot_number: { type: "integer" },
17
+ total_spot_number: { type: "integer" },
18
+ date_modified: { type: "integer" },
19
+ },
20
+ },
21
+ };
22
+ exports.ParkingMeasurementsDtoSchema = parkingMeasurementsDtoSchema;
23
+ //# sourceMappingURL=ParkingMeasurementsDtoSchema.js.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,4 @@
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 };
@@ -0,0 +1,38 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,4 @@
1
+ import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
2
+ import { IParkingsDto } from "./interfaces/IParkingsDto";
3
+ declare const parkingsDtoSchema: JSONSchemaType<IParkingsDto[]>;
4
+ export { parkingsDtoSchema as ParkingsDtoSchema };
@@ -0,0 +1,52 @@
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: { type: "string" },
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
@@ -0,0 +1 @@
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,IAAI,EAAE,QAAQ,EAAE;YACxB,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,5 +1,5 @@
1
1
  import { ISchemaDefinition } from "./..";
2
- import { IStaticParkingTariff } from "./IStaticParkingTariff";
2
+ import { IStaticParkingTariff } from "./interfaces/IStaticParkingTariff";
3
3
  export interface StaticTariffRelation {
4
4
  id: string;
5
5
  tariff_id: string;
@@ -1,4 +1,4 @@
1
- import { IZtpParkingJsonFeature } from "./IZtpParkingJsonFeature";
1
+ import { IZtpParkingJsonFeature } from "./interfaces/IZtpParkingJsonFeature";
2
2
  import { ISchemaDefinition } from "./..";
3
3
  interface IZtpParkings {
4
4
  type: string;
@@ -0,0 +1,12 @@
1
+ export interface IInputParkingLots {
2
+ gid: number;
3
+ id: number;
4
+ lastUpdated: number;
5
+ lat: number;
6
+ lng: number;
7
+ name: string;
8
+ numOfFreePlaces: number;
9
+ numOfTakenPlaces: number;
10
+ pr: boolean;
11
+ totalNumOfPlaces: number;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IInputParkingLots.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IInputParkingLots.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/interfaces/IInputParkingLots.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
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
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IParkingTariffDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IParkingTariffDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/interfaces/IParkingTariffDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
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;
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
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IParkingsDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IParkingsDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/interfaces/IParkingsDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ export interface IParkingMeasurementDto {
2
+ source: string;
3
+ source_id: string;
4
+ parking_id: string;
5
+ available_spot_number: number;
6
+ closed_spot_number: number;
7
+ occupied_spot_number: number;
8
+ total_spot_number: number;
9
+ date_modified: number;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IParkingsMeasurementDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IParkingsMeasurementDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/interfaces/IParkingsMeasurementDto.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { PaymentMethodTypes } from "./PaymentMethodTypes";
1
+ import { PaymentMethodTypes } from "../PaymentMethodTypes";
2
2
  import { IStaticParkingTariffCharge } from "./IStaticParkingsTariffCharge";
3
3
  export interface IStaticParkingTariff {
4
4
  tariff_id: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IStaticParkingTariff.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/interfaces/IStaticParkingTariff.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IStaticParkingsTariffCharge.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/interfaces/IStaticParkingsTariffCharge.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IZtpParkingJsonFeature.js","sourceRoot":"","sources":["../../../../src/schema-definitions/datasources/interfaces/IZtpParkingJsonFeature.ts"],"names":[],"mappings":""}
@@ -1,30 +1,5 @@
1
- /// <reference types="mongoose" />
2
- /// <reference types="mongoose/types/aggregate" />
3
- /// <reference types="mongoose/types/callback" />
4
- /// <reference types="mongoose/types/collection" />
5
- /// <reference types="mongoose/types/connection" />
6
- /// <reference types="mongoose/types/cursor" />
7
- /// <reference types="mongoose/types/document" />
8
- /// <reference types="mongoose/types/error" />
9
- /// <reference types="mongoose/types/expressions" />
10
- /// <reference types="mongoose/types/helpers" />
11
- /// <reference types="mongoose/types/middlewares" />
12
- /// <reference types="mongoose/types/indexes" />
13
- /// <reference types="mongoose/types/models" />
14
- /// <reference types="mongoose/types/mongooseoptions" />
15
- /// <reference types="mongoose/types/pipelinestage" />
16
- /// <reference types="mongoose/types/populate" />
17
- /// <reference types="mongoose/types/query" />
18
- /// <reference types="mongoose/types/schemaoptions" />
19
- /// <reference types="mongoose/types/schematypes" />
20
- /// <reference types="mongoose/types/session" />
21
- /// <reference types="mongoose/types/types" />
22
- /// <reference types="mongoose/types/utility" />
23
- /// <reference types="mongoose/types/validation" />
24
- /// <reference types="mongoose/types/virtuals" />
25
- /// <reference types="mongoose" />
26
- import Sequelize from "@golemio/core/dist/shared/sequelize";
27
1
  import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
2
+ import Sequelize from "@golemio/core/dist/shared/sequelize";
28
3
  export interface IModelDefinition {
29
4
  name: string;
30
5
  outputJsonSchema: any;
@@ -92,9 +67,6 @@ declare const forExport: {
92
67
  name: string;
93
68
  };
94
69
  tsk: {
95
- datasourceMongooseSchemaObject: {
96
- [path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
97
- };
98
70
  datasourceGeoJsonSchema: {
99
71
  type: string;
100
72
  items: {
@@ -155,57 +127,6 @@ declare const forExport: {
155
127
  };
156
128
  };
157
129
  };
158
- datasourceParkingLotsJsonSchema: {
159
- type: string;
160
- required: string[];
161
- additionalProperties: boolean;
162
- properties: {
163
- desc: {
164
- type: string;
165
- };
166
- results: {
167
- type: string;
168
- additionalItems: boolean;
169
- items: {
170
- type: string;
171
- required: string[];
172
- additionalProperties: boolean;
173
- properties: {
174
- gid: {
175
- type: string;
176
- };
177
- id: {
178
- type: string;
179
- };
180
- lastUpdated: {
181
- type: string;
182
- };
183
- lat: {
184
- type: string;
185
- };
186
- lng: {
187
- type: string;
188
- };
189
- name: {
190
- type: string;
191
- };
192
- numOfFreePlaces: {
193
- type: string;
194
- };
195
- numOfTakenPlaces: {
196
- type: string;
197
- };
198
- pr: {
199
- type: string;
200
- };
201
- totalNumOfPlaces: {
202
- type: string;
203
- };
204
- };
205
- };
206
- };
207
- };
208
- };
209
130
  datasourceTariffJsonSchema: {
210
131
  type: string;
211
132
  items: {
@@ -438,9 +359,6 @@ declare const forExport: {
438
359
  name: string;
439
360
  };
440
361
  parkings: {
441
- outputMongooseSchemaObject: {
442
- [path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
443
- };
444
362
  outputSequelizeAttributes: Sequelize.ModelAttributes<Sequelize.Model<any, any>, any>;
445
363
  pgTableName: string;
446
364
  };
@@ -489,90 +407,16 @@ declare const forExport: {
489
407
  };
490
408
  measurements: {
491
409
  name: string;
492
- outputJsonSchema: {
493
- type: string;
494
- items: {
495
- type: string;
496
- required: string[];
497
- additionalProperties: boolean;
498
- properties: {
499
- source: {
500
- type: string;
501
- };
502
- source_id: {
503
- type: string;
504
- };
505
- parking_id: {
506
- type: string;
507
- };
508
- available_spot_number: {
509
- type: string;
510
- };
511
- closed_spot_number: {
512
- type: string;
513
- };
514
- occupied_spot_number: {
515
- type: string;
516
- };
517
- total_spot_number: {
518
- type: string;
519
- };
520
- date_modified: {
521
- type: string;
522
- };
523
- };
524
- };
525
- };
526
- schemaDefinition: {
527
- [path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
528
- };
529
410
  outputSequelizeAttributes: Sequelize.ModelAttributes<Sequelize.Model<any, any>, any>;
530
411
  pgTableName: string;
531
412
  };
532
413
  measurementsActual: {
533
414
  name: string;
534
- outputJsonSchema: {
535
- type: string;
536
- items: {
537
- type: string;
538
- required: string[];
539
- additionalProperties: boolean;
540
- properties: {
541
- source: {
542
- type: string;
543
- };
544
- source_id: {
545
- type: string;
546
- };
547
- parking_id: {
548
- type: string;
549
- };
550
- available_spot_number: {
551
- type: string;
552
- };
553
- closed_spot_number: {
554
- type: string;
555
- };
556
- occupied_spot_number: {
557
- type: string;
558
- };
559
- total_spot_number: {
560
- type: string;
561
- };
562
- date_modified: {
563
- type: string;
564
- };
565
- };
566
- };
567
- };
568
415
  outputSequelizeAttributes: Sequelize.ModelAttributes<Sequelize.Model<any, any>, any>;
569
416
  pgTableName: string;
570
417
  };
571
418
  tariffs: {
572
419
  name: string;
573
- outputMongooseSchemaObject: {
574
- [path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
575
- };
576
420
  outputSequelizeAttributes: Sequelize.ModelAttributes<Sequelize.Model<any, any>, any>;
577
421
  pgTableName: string;
578
422
  };
@@ -581,5 +425,5 @@ export interface ISchemaDefinition<T> {
581
425
  name: string;
582
426
  jsonSchema: JSONSchemaType<T>;
583
427
  }
584
- export { forExport as Parkings };
585
428
  export { Parkomats } from "./Parkomats";
429
+ export { forExport as Parkings };