@golemio/pid 6.0.3-dev.2947011918 → 6.0.3-dev.2954837172

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 (148) hide show
  1. package/db/example/00_clear_test_data.sql +2 -6
  2. package/db/example/03_ropidgtfs_dump.sql +210 -0
  3. package/db/migrations/postgresql/20261012131524-add-gtfs-pathways-levels.js +16 -0
  4. package/db/migrations/postgresql/20261013120000-drop-ropidvymi-tables.js +16 -0
  5. package/db/migrations/postgresql/sqls/20261012131524-add-gtfs-pathways-levels-down.sql +100 -0
  6. package/db/migrations/postgresql/sqls/20261012131524-add-gtfs-pathways-levels-up.sql +180 -0
  7. package/db/migrations/postgresql/sqls/20261013120000-drop-ropidvymi-tables-down.sql +119 -0
  8. package/db/migrations/postgresql/sqls/20261013120000-drop-ropidvymi-tables-up.sql +7 -0
  9. package/dist/integration-engine/index.d.ts +0 -1
  10. package/dist/integration-engine/index.js +0 -5
  11. package/dist/integration-engine/index.js.map +1 -1
  12. package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSTransformation.d.ts +5 -0
  13. package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSTransformation.js +16 -1
  14. package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSTransformation.js.map +1 -1
  15. package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/RopidGtfsFactory.js +2 -0
  16. package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/RopidGtfsFactory.js.map +1 -1
  17. package/dist/integration-engine/shared/RopidMetadataModel.d.ts +1 -2
  18. package/dist/integration-engine/shared/RopidMetadataModel.js +0 -1
  19. package/dist/integration-engine/shared/RopidMetadataModel.js.map +1 -1
  20. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertsGenerator.d.ts +1 -4
  21. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertsGenerator.js +3 -11
  22. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertsGenerator.js.map +1 -1
  23. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.js +1 -4
  24. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.js.map +1 -1
  25. package/dist/output-gateway/pid/helpers/ParamValidatorManager.d.ts +3 -1
  26. package/dist/output-gateway/pid/helpers/ParamValidatorManager.js +10 -0
  27. package/dist/output-gateway/pid/helpers/ParamValidatorManager.js.map +1 -1
  28. package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.js +1 -1
  29. package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.js.map +1 -1
  30. package/dist/output-gateway/ropid-gtfs/data-access/AbstractGtfsCollectionRepository.d.ts +17 -0
  31. package/dist/output-gateway/ropid-gtfs/data-access/AbstractGtfsCollectionRepository.js +34 -0
  32. package/dist/output-gateway/ropid-gtfs/data-access/AbstractGtfsCollectionRepository.js.map +1 -0
  33. package/dist/output-gateway/ropid-gtfs/data-access/GtfsLevelRepository.d.ts +7 -0
  34. package/dist/output-gateway/ropid-gtfs/data-access/GtfsLevelRepository.js +30 -0
  35. package/dist/output-gateway/ropid-gtfs/data-access/GtfsLevelRepository.js.map +1 -0
  36. package/dist/output-gateway/ropid-gtfs/data-access/GtfsPathwayRepository.d.ts +7 -0
  37. package/dist/output-gateway/ropid-gtfs/data-access/GtfsPathwayRepository.js +30 -0
  38. package/dist/output-gateway/ropid-gtfs/data-access/GtfsPathwayRepository.js.map +1 -0
  39. package/dist/output-gateway/ropid-gtfs/data-access/GtfsTransferRepository.d.ts +7 -0
  40. package/dist/output-gateway/ropid-gtfs/data-access/GtfsTransferRepository.js +39 -0
  41. package/dist/output-gateway/ropid-gtfs/data-access/GtfsTransferRepository.js.map +1 -0
  42. package/dist/output-gateway/ropid-gtfs/domain/IGtfsTransferOutputDto.d.ts +7 -0
  43. package/dist/output-gateway/ropid-gtfs/domain/IGtfsTransferOutputDto.js +2 -0
  44. package/dist/output-gateway/ropid-gtfs/domain/IGtfsTransferOutputDto.js.map +1 -0
  45. package/dist/output-gateway/ropid-gtfs/domain/repository/IGtfsCollectionRepository.d.ts +10 -0
  46. package/dist/output-gateway/ropid-gtfs/domain/repository/IGtfsCollectionRepository.js +2 -0
  47. package/dist/output-gateway/ropid-gtfs/domain/repository/IGtfsCollectionRepository.js.map +1 -0
  48. package/dist/output-gateway/ropid-gtfs/ioc/Di.d.ts +3 -0
  49. package/dist/output-gateway/ropid-gtfs/ioc/Di.js +13 -0
  50. package/dist/output-gateway/ropid-gtfs/ioc/Di.js.map +1 -0
  51. package/dist/output-gateway/ropid-gtfs/ioc/OgGtfsToken.d.ts +5 -0
  52. package/dist/output-gateway/ropid-gtfs/ioc/OgGtfsToken.js +8 -0
  53. package/dist/output-gateway/ropid-gtfs/ioc/OgGtfsToken.js.map +1 -0
  54. package/dist/output-gateway/ropid-gtfs/models/GTFSStopModel.js +2 -2
  55. package/dist/output-gateway/ropid-gtfs/models/GTFSStopModel.js.map +1 -1
  56. package/dist/output-gateway/ropid-gtfs/models/GTFSStopModelInterfaces.d.ts +2 -1
  57. package/dist/output-gateway/ropid-gtfs/routers/v2/V2GTFSRouter.d.ts +9 -0
  58. package/dist/output-gateway/ropid-gtfs/routers/v2/V2GTFSRouter.js +27 -0
  59. package/dist/output-gateway/ropid-gtfs/routers/v2/V2GTFSRouter.js.map +1 -1
  60. package/dist/schema-definitions/index.d.ts +0 -1
  61. package/dist/schema-definitions/index.js +0 -1
  62. package/dist/schema-definitions/index.js.map +1 -1
  63. package/dist/schema-definitions/ropid-gtfs/RopidGtfsSchedule.d.ts +18 -0
  64. package/dist/schema-definitions/ropid-gtfs/RopidGtfsSchedule.js +18 -0
  65. package/dist/schema-definitions/ropid-gtfs/RopidGtfsSchedule.js.map +1 -1
  66. package/dist/schema-definitions/ropid-gtfs/interfaces/ILevelDto.d.ts +5 -0
  67. package/dist/schema-definitions/ropid-gtfs/interfaces/ILevelDto.js +2 -0
  68. package/dist/schema-definitions/ropid-gtfs/interfaces/ILevelDto.js.map +1 -0
  69. package/dist/schema-definitions/ropid-gtfs/interfaces/IPathwayDto.d.ts +15 -0
  70. package/dist/schema-definitions/ropid-gtfs/interfaces/IPathwayDto.js +2 -0
  71. package/dist/schema-definitions/ropid-gtfs/interfaces/IPathwayDto.js.map +1 -0
  72. package/dist/schema-definitions/ropid-gtfs/models/LevelDto.d.ts +16 -0
  73. package/dist/schema-definitions/ropid-gtfs/models/LevelDto.js +25 -0
  74. package/dist/schema-definitions/ropid-gtfs/models/LevelDto.js.map +1 -0
  75. package/dist/schema-definitions/ropid-gtfs/models/PathwayDto.d.ts +26 -0
  76. package/dist/schema-definitions/ropid-gtfs/models/PathwayDto.js +65 -0
  77. package/dist/schema-definitions/ropid-gtfs/models/PathwayDto.js.map +1 -0
  78. package/docs/assets/pid_scheduled_erd.png +0 -0
  79. package/docs/cache/types/redis.md +1 -1
  80. package/docs/implementation_documentation.md +29 -62
  81. package/docs/openapi-output.yaml +292 -0
  82. package/package.json +1 -1
  83. package/db/example/04_ropidvymi_example.sql +0 -40
  84. package/db/example/07_tmp_example.sql +0 -4
  85. package/dist/integration-engine/ropid-vymi/RopidVYMIEventsTransformation.d.ts +0 -21
  86. package/dist/integration-engine/ropid-vymi/RopidVYMIEventsTransformation.js +0 -81
  87. package/dist/integration-engine/ropid-vymi/RopidVYMIEventsTransformation.js.map +0 -1
  88. package/dist/integration-engine/ropid-vymi/index.d.ts +0 -2
  89. package/dist/integration-engine/ropid-vymi/index.js +0 -3
  90. package/dist/integration-engine/ropid-vymi/index.js.map +0 -1
  91. package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsModel.d.ts +0 -9
  92. package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsModel.js +0 -37
  93. package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsModel.js.map +0 -1
  94. package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsRoutesModel.d.ts +0 -9
  95. package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsRoutesModel.js +0 -29
  96. package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsRoutesModel.js.map +0 -1
  97. package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsStopsModel.d.ts +0 -7
  98. package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsStopsModel.js +0 -21
  99. package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsStopsModel.js.map +0 -1
  100. package/dist/integration-engine/ropid-vymi/models/RopidVYMIMetadataModel.d.ts +0 -8
  101. package/dist/integration-engine/ropid-vymi/models/RopidVYMIMetadataModel.js +0 -30
  102. package/dist/integration-engine/ropid-vymi/models/RopidVYMIMetadataModel.js.map +0 -1
  103. package/dist/integration-engine/ropid-vymi/models/index.d.ts +0 -4
  104. package/dist/integration-engine/ropid-vymi/models/index.js +0 -5
  105. package/dist/integration-engine/ropid-vymi/models/index.js.map +0 -1
  106. package/dist/integration-engine/ropid-vymi/workers/RopidVYMIWorker.d.ts +0 -5
  107. package/dist/integration-engine/ropid-vymi/workers/RopidVYMIWorker.js +0 -14
  108. package/dist/integration-engine/ropid-vymi/workers/RopidVYMIWorker.js.map +0 -1
  109. package/dist/integration-engine/ropid-vymi/workers/tasks/CheckForNewEventsTask.d.ts +0 -8
  110. package/dist/integration-engine/ropid-vymi/workers/tasks/CheckForNewEventsTask.js +0 -19
  111. package/dist/integration-engine/ropid-vymi/workers/tasks/CheckForNewEventsTask.js.map +0 -1
  112. package/dist/integration-engine/ropid-vymi/workers/tasks/FetchAndProcessEventsTask.d.ts +0 -17
  113. package/dist/integration-engine/ropid-vymi/workers/tasks/FetchAndProcessEventsTask.js +0 -94
  114. package/dist/integration-engine/ropid-vymi/workers/tasks/FetchAndProcessEventsTask.js.map +0 -1
  115. package/dist/integration-engine/ropid-vymi/workers/tasks/helpers/RopidVYMIApiHelper.d.ts +0 -11
  116. package/dist/integration-engine/ropid-vymi/workers/tasks/helpers/RopidVYMIApiHelper.js +0 -72
  117. package/dist/integration-engine/ropid-vymi/workers/tasks/helpers/RopidVYMIApiHelper.js.map +0 -1
  118. package/dist/integration-engine/ropid-vymi/workers/tasks/helpers/RopidVYMIApiOutputLevel.d.ts +0 -5
  119. package/dist/integration-engine/ropid-vymi/workers/tasks/helpers/RopidVYMIApiOutputLevel.js +0 -7
  120. package/dist/integration-engine/ropid-vymi/workers/tasks/helpers/RopidVYMIApiOutputLevel.js.map +0 -1
  121. package/dist/integration-engine/ropid-vymi/workers/tasks/interfaces/IEventFetchOutput.d.ts +0 -5
  122. package/dist/integration-engine/ropid-vymi/workers/tasks/interfaces/IEventFetchOutput.js +0 -2
  123. package/dist/integration-engine/ropid-vymi/workers/tasks/interfaces/IEventFetchOutput.js.map +0 -1
  124. package/dist/integration-engine/ropid-vymi/workers/tasks/schema/EventFetchOutputValidationSchema.d.ts +0 -6
  125. package/dist/integration-engine/ropid-vymi/workers/tasks/schema/EventFetchOutputValidationSchema.js +0 -27
  126. package/dist/integration-engine/ropid-vymi/workers/tasks/schema/EventFetchOutputValidationSchema.js.map +0 -1
  127. package/dist/integration-engine/ropid-vymi/workers/tasks/schema/RopidVYMIEventValidationSchema.d.ts +0 -47
  128. package/dist/integration-engine/ropid-vymi/workers/tasks/schema/RopidVYMIEventValidationSchema.js +0 -200
  129. package/dist/integration-engine/ropid-vymi/workers/tasks/schema/RopidVYMIEventValidationSchema.js.map +0 -1
  130. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertCauseMapper.d.ts +0 -2
  131. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertCauseMapper.js +0 -51
  132. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertCauseMapper.js.map +0 -1
  133. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertEffectMapper.d.ts +0 -6
  134. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertEffectMapper.js +0 -93
  135. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertEffectMapper.js.map +0 -1
  136. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/transformations/AlertsTransformation.d.ts +0 -14
  137. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/transformations/AlertsTransformation.js +0 -82
  138. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/transformations/AlertsTransformation.js.map +0 -1
  139. package/dist/schema-definitions/ropid-vymi/RopidVYMIOutputSchemas.d.ts +0 -151
  140. package/dist/schema-definitions/ropid-vymi/RopidVYMIOutputSchemas.js +0 -152
  141. package/dist/schema-definitions/ropid-vymi/RopidVYMIOutputSchemas.js.map +0 -1
  142. package/dist/schema-definitions/ropid-vymi/RopidVYMISDMA.d.ts +0 -58
  143. package/dist/schema-definitions/ropid-vymi/RopidVYMISDMA.js +0 -74
  144. package/dist/schema-definitions/ropid-vymi/RopidVYMISDMA.js.map +0 -1
  145. package/dist/schema-definitions/ropid-vymi/index.d.ts +0 -52
  146. package/dist/schema-definitions/ropid-vymi/index.js +0 -171
  147. package/dist/schema-definitions/ropid-vymi/index.js.map +0 -1
  148. package/docs/assets/pid_vymi_erd.png +0 -0
@@ -1,82 +0,0 @@
1
- import { HTMLUtils } from "#ie/shared/HTMLUtils";
2
- import { AbstractTransformation } from "@golemio/core/dist/helpers/transformation/AbstractTransformation.js";
3
- import { getGtfsCause } from "../helpers/AlertCauseMapper.js";
4
- import { getGtfsEffectByEventType } from "../helpers/AlertEffectMapper.js";
5
- export class AlertsTransformation extends AbstractTransformation {
6
- constructor(eventsRoutesModel) {
7
- super();
8
- this.transform = async (alertEntities) => {
9
- return Promise.all(alertEntities.map((entity) => this.transformInternal(entity)));
10
- };
11
- this.transformInternal = async (alertEntity) => {
12
- return {
13
- id: `alert-${alertEntity.vymi_id}-${alertEntity.vymi_id_dtb}`,
14
- alert: {
15
- activePeriod: [this.getActivePeriod(alertEntity)],
16
- informedEntity: await this.getAffectedRoutes(alertEntity),
17
- cause: getGtfsCause(alertEntity.cause ?? ""),
18
- causeDetail: {
19
- translation: [],
20
- },
21
- effect: getGtfsEffectByEventType(Number(alertEntity.event_type ?? 0)),
22
- url: {
23
- translation: [
24
- {
25
- text: `https://pid.cz/mimoradnost/?id=${alertEntity.vymi_id}-${alertEntity.vymi_id_dtb}`,
26
- language: "cs",
27
- },
28
- ],
29
- },
30
- headerText: {
31
- translation: [
32
- {
33
- text: alertEntity.title,
34
- language: "cs",
35
- },
36
- ],
37
- },
38
- descriptionText: {
39
- translation: [
40
- {
41
- text: this.getDescription(alertEntity),
42
- language: "cs",
43
- },
44
- ],
45
- },
46
- },
47
- };
48
- };
49
- this.getDescription = (alertEntity) => {
50
- const description = [
51
- HTMLUtils.outputPlainText(alertEntity.description) ?? "",
52
- HTMLUtils.outputPlainText(alertEntity.dpp_action) ?? "",
53
- HTMLUtils.outputPlainText(alertEntity.ropid_action) ?? "",
54
- ];
55
- return description.join(" ").replaceAll("\n", " ").trim();
56
- };
57
- this.getActivePeriod = (alertEntity) => {
58
- if (!alertEntity.expiration_date) {
59
- return {
60
- start: new Date(alertEntity.time_from).getTime() / 1000,
61
- };
62
- }
63
- return {
64
- start: new Date(alertEntity.time_from).getTime() / 1000,
65
- end: new Date(alertEntity.expiration_date).getTime() / 1000,
66
- };
67
- };
68
- this.name = "GtfsRtAlertTransformation";
69
- this.eventsRoutesModel = eventsRoutesModel;
70
- }
71
- async getAffectedRoutes(alertEntity) {
72
- const affectedRotues = await this.eventsRoutesModel.findByEventId(alertEntity.vymi_id);
73
- const routeNames = [];
74
- for (const route of affectedRotues) {
75
- routeNames.push({
76
- routeId: route.gtfs_route_id ?? route.name,
77
- });
78
- }
79
- return routeNames;
80
- }
81
- }
82
- //# sourceMappingURL=AlertsTransformation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertsTransformation.js","sourceRoot":"","sources":["../../../../../../src/integration-engine/vehicle-positions/workers/gtfs-rt/transformations/AlertsTransformation.ts"],"names":[],"mappings":"AACA,OAAO,EA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iB,CAAC,WAAkC;QAC7D,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,aAAa,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QACvF,MAAM,UAAU,GAA0B,EAAE,CAAC;QAC7C,KAAK,MAAM,KAAK,IAAI,cAAc,EAAE,CAAC;YACjC,UAAU,CAAC,IAAI,CAAC;gBACZ,OAAO,EAAE,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI;aAC7C,CAAC,CAAC;QACP,CAAC;QACD,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ"}
@@ -1,151 +0,0 @@
1
- declare const outputEventsJsonSchema: {
2
- type: string;
3
- items: {
4
- type: string;
5
- properties: {
6
- vymi_id: {
7
- type: string;
8
- };
9
- vymi_id_dtb: {
10
- type: string;
11
- };
12
- state: {
13
- type: string;
14
- };
15
- ropid_created_at: {
16
- type: string;
17
- };
18
- ropid_created_by: {
19
- type: string;
20
- };
21
- ropid_updated_at: {
22
- type: string;
23
- };
24
- ropid_updated_by: {
25
- type: string;
26
- };
27
- record_type: {
28
- type: string;
29
- };
30
- event_type: {
31
- type: string[];
32
- };
33
- channels: {
34
- type: string;
35
- };
36
- title: {
37
- type: string;
38
- };
39
- time_from: {
40
- type: string;
41
- };
42
- time_to_type: {
43
- type: string;
44
- };
45
- time_to: {
46
- type: string[];
47
- };
48
- expiration_date: {
49
- type: string[];
50
- };
51
- transportation_type: {
52
- type: string;
53
- };
54
- priority: {
55
- type: string[];
56
- };
57
- cause: {
58
- type: string[];
59
- };
60
- link: {
61
- type: string[];
62
- };
63
- ropid_action: {
64
- type: string[];
65
- };
66
- dpp_action: {
67
- type: string[];
68
- };
69
- description: {
70
- type: string[];
71
- };
72
- };
73
- };
74
- };
75
- declare const outputEventsRoutesJsonSchema: {
76
- type: string;
77
- items: {
78
- type: string;
79
- properties: {
80
- event_id: {
81
- type: string;
82
- };
83
- gtfs_route_id: {
84
- type: string[];
85
- };
86
- vymi_id: {
87
- type: string;
88
- };
89
- vymi_id_dtb: {
90
- type: string;
91
- };
92
- number: {
93
- type: string;
94
- };
95
- name: {
96
- type: string;
97
- };
98
- route_type: {
99
- type: string;
100
- };
101
- valid_from: {
102
- type: string[];
103
- };
104
- valid_to: {
105
- type: string[];
106
- };
107
- text: {
108
- type: string[];
109
- };
110
- };
111
- };
112
- };
113
- declare const outputEventsStopsJsonSchema: {
114
- type: string;
115
- items: {
116
- type: string;
117
- properties: {
118
- event_id: {
119
- type: string;
120
- };
121
- gtfs_stop_id: {
122
- type: string[];
123
- };
124
- vymi_id: {
125
- type: string;
126
- };
127
- vymi_id_dtb: {
128
- type: string;
129
- };
130
- node_number: {
131
- type: string;
132
- };
133
- stop_number: {
134
- type: string;
135
- };
136
- stop_type: {
137
- type: string;
138
- };
139
- valid_from: {
140
- type: string[];
141
- };
142
- valid_to: {
143
- type: string[];
144
- };
145
- text: {
146
- type: string[];
147
- };
148
- };
149
- };
150
- };
151
- export { outputEventsJsonSchema, outputEventsRoutesJsonSchema, outputEventsStopsJsonSchema };
@@ -1,152 +0,0 @@
1
- const outputEventsJsonSchema = {
2
- type: "array",
3
- items: {
4
- type: "object",
5
- properties: {
6
- vymi_id: {
7
- type: "number",
8
- },
9
- vymi_id_dtb: {
10
- type: "number",
11
- },
12
- state: {
13
- type: "number",
14
- },
15
- ropid_created_at: {
16
- type: "string",
17
- },
18
- ropid_created_by: {
19
- type: "string",
20
- },
21
- ropid_updated_at: {
22
- type: "string",
23
- },
24
- ropid_updated_by: {
25
- type: "string",
26
- },
27
- record_type: {
28
- type: "number",
29
- },
30
- event_type: {
31
- type: ["null", "number"],
32
- },
33
- channels: {
34
- type: "number",
35
- },
36
- title: {
37
- type: "string",
38
- },
39
- time_from: {
40
- type: "string",
41
- },
42
- time_to_type: {
43
- type: "number",
44
- },
45
- time_to: {
46
- type: ["null", "string"],
47
- },
48
- expiration_date: {
49
- type: ["null", "string"],
50
- },
51
- transportation_type: {
52
- type: "number",
53
- },
54
- priority: {
55
- type: ["null", "number"],
56
- },
57
- cause: {
58
- type: ["null", "string"],
59
- },
60
- link: {
61
- type: ["null", "string"],
62
- },
63
- ropid_action: {
64
- type: ["null", "string"],
65
- },
66
- dpp_action: {
67
- type: ["null", "string"],
68
- },
69
- description: {
70
- type: ["null", "string"],
71
- },
72
- },
73
- },
74
- };
75
- const outputEventsRoutesJsonSchema = {
76
- type: "array",
77
- items: {
78
- type: "object",
79
- properties: {
80
- event_id: {
81
- type: "number",
82
- },
83
- gtfs_route_id: {
84
- type: ["null", "string"],
85
- },
86
- vymi_id: {
87
- type: "number",
88
- },
89
- vymi_id_dtb: {
90
- type: "number",
91
- },
92
- number: {
93
- type: "number",
94
- },
95
- name: {
96
- type: "string",
97
- },
98
- route_type: {
99
- type: "number",
100
- },
101
- valid_from: {
102
- type: ["null", "string"],
103
- },
104
- valid_to: {
105
- type: ["null", "string"],
106
- },
107
- text: {
108
- type: ["null", "string"],
109
- },
110
- },
111
- },
112
- };
113
- const outputEventsStopsJsonSchema = {
114
- type: "array",
115
- items: {
116
- type: "object",
117
- properties: {
118
- event_id: {
119
- type: "number",
120
- },
121
- gtfs_stop_id: {
122
- type: ["null", "string"],
123
- },
124
- vymi_id: {
125
- type: "number",
126
- },
127
- vymi_id_dtb: {
128
- type: "number",
129
- },
130
- node_number: {
131
- type: "number",
132
- },
133
- stop_number: {
134
- type: "number",
135
- },
136
- stop_type: {
137
- type: "number",
138
- },
139
- valid_from: {
140
- type: ["null", "string"],
141
- },
142
- valid_to: {
143
- type: ["null", "string"],
144
- },
145
- text: {
146
- type: ["null", "string"],
147
- },
148
- },
149
- },
150
- };
151
- export { outputEventsJsonSchema, outputEventsRoutesJsonSchema, outputEventsStopsJsonSchema };
152
- //# sourceMappingURL=RopidVYMIOutputSchemas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RopidVYMIOutputSchemas.js","sourceRoot":"","sources":["../../../src/schema-definitions/ropid-vymi/RopidVYMIOutputSchemas.ts"],"names":[],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AAI,EAAE,QAAQ;aACjB;YACD,WAAW,EAAE;gBACT,IAAI,EAAE,QAAQ;aACjB;YACD,WAAW,EAAE;gBACT,IAAI,EAAE,QAAQ;aACjB;YACD,SAAS,EAAE;gBACP,IAAI,EAAE,QAAQ;aACjB;YACD,UAAU,EAAE;gBACR,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;aAC3B;YACD,QAAQ,EAAE;gBACN,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;aAC3B;YACD,IAAI,EAAE;gBACF,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;aAC3B;SACJ;KACJ;CACJ,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,2BAA2B,EAAE,CAAC"}
@@ -1,58 +0,0 @@
1
- import type { ModelAttributes } from "@golemio/core/dist/shared/sequelize.js";
2
- import { GTFSRouteTypeEnum } from "../../helpers/RouteTypeEnums.js";
3
- interface IRopidVYMIEventOutput {
4
- vymi_id: number;
5
- vymi_id_dtb: number;
6
- state: number;
7
- ropid_created_at: string;
8
- ropid_created_by: string;
9
- ropid_updated_at: string;
10
- ropid_updated_by: string;
11
- record_type: number;
12
- event_type: number | null;
13
- channels: number;
14
- title: string;
15
- time_from: string;
16
- time_to_type: number;
17
- time_to: string | null;
18
- expiration_date: string | null;
19
- transportation_type: number;
20
- priority: number | null;
21
- cause: string | null;
22
- link: string | null;
23
- ropid_action: string | null;
24
- dpp_action: string | null;
25
- description: string | null;
26
- [audit: string]: unknown;
27
- }
28
- interface IRopidVYMIEventRouteOutput {
29
- event_id: number;
30
- gtfs_route_id: string | null;
31
- vymi_id: number;
32
- vymi_id_dtb: number;
33
- number: number;
34
- name: string;
35
- route_type: GTFSRouteTypeEnum;
36
- valid_from: string | null;
37
- valid_to: string | null;
38
- text: string | null;
39
- [audit: string]: unknown;
40
- }
41
- interface IRopidVYMIEventStopOutput {
42
- event_id: number;
43
- gtfs_stop_id: string | null;
44
- vymi_id: number;
45
- vymi_id_dtb: number;
46
- node_number: number;
47
- stop_number: number;
48
- stop_type: number;
49
- valid_from: string | null;
50
- valid_to: string | null;
51
- text: string | null;
52
- [audit: string]: unknown;
53
- }
54
- declare const outputEventsSDMA: ModelAttributes<any, IRopidVYMIEventOutput>;
55
- declare const outputEventsRoutesSDMA: ModelAttributes<any, IRopidVYMIEventRouteOutput>;
56
- declare const outputEventsStopsSDMA: ModelAttributes<any, IRopidVYMIEventStopOutput>;
57
- export { outputEventsSDMA, outputEventsRoutesSDMA, outputEventsStopsSDMA };
58
- export type { IRopidVYMIEventOutput, IRopidVYMIEventRouteOutput, IRopidVYMIEventStopOutput };
@@ -1,74 +0,0 @@
1
- import SequelizeCore from "@golemio/core/dist/shared/sequelize.js";
2
- const { DataTypes } = SequelizeCore;
3
- const outputEventsSDMA = {
4
- vymi_id: {
5
- type: DataTypes.INTEGER,
6
- primaryKey: true,
7
- unique: true,
8
- },
9
- vymi_id_dtb: DataTypes.INTEGER,
10
- state: DataTypes.INTEGER,
11
- ropid_created_at: DataTypes.DATE,
12
- ropid_created_by: DataTypes.STRING(150),
13
- ropid_updated_at: DataTypes.DATE,
14
- ropid_updated_by: DataTypes.STRING(150),
15
- record_type: DataTypes.INTEGER,
16
- event_type: DataTypes.BIGINT,
17
- channels: DataTypes.INTEGER,
18
- title: DataTypes.STRING(255),
19
- time_from: DataTypes.DATE,
20
- time_to_type: DataTypes.INTEGER,
21
- time_to: DataTypes.DATE,
22
- expiration_date: DataTypes.DATE,
23
- transportation_type: DataTypes.INTEGER,
24
- priority: DataTypes.INTEGER,
25
- cause: DataTypes.STRING(255),
26
- link: DataTypes.STRING(255),
27
- ropid_action: DataTypes.STRING(100000),
28
- dpp_action: DataTypes.STRING(100000),
29
- description: DataTypes.STRING(1000),
30
- };
31
- const outputEventsRoutesSDMA = {
32
- event_id: {
33
- type: DataTypes.INTEGER,
34
- primaryKey: true,
35
- },
36
- gtfs_route_id: DataTypes.STRING(255),
37
- vymi_id: {
38
- type: DataTypes.INTEGER,
39
- primaryKey: true,
40
- },
41
- vymi_id_dtb: DataTypes.INTEGER,
42
- number: DataTypes.INTEGER,
43
- name: DataTypes.STRING(255),
44
- route_type: DataTypes.INTEGER,
45
- valid_from: DataTypes.DATE,
46
- valid_to: DataTypes.DATE,
47
- text: DataTypes.STRING(10000),
48
- };
49
- const outputEventsStopsSDMA = {
50
- event_id: {
51
- type: DataTypes.INTEGER,
52
- primaryKey: true,
53
- },
54
- gtfs_stop_id: DataTypes.STRING(255),
55
- vymi_id: {
56
- type: DataTypes.INTEGER,
57
- primaryKey: true,
58
- },
59
- vymi_id_dtb: DataTypes.INTEGER,
60
- node_number: {
61
- type: DataTypes.INTEGER,
62
- primaryKey: true,
63
- },
64
- stop_number: {
65
- type: DataTypes.INTEGER,
66
- primaryKey: true,
67
- },
68
- stop_type: DataTypes.INTEGER,
69
- valid_from: DataTypes.DATE,
70
- valid_to: DataTypes.DATE,
71
- text: DataTypes.STRING(10000),
72
- };
73
- export { outputEventsSDMA, outputEventsRoutesSDMA, outputEventsStopsSDMA };
74
- //# sourceMappingURL=RopidVYMISDMA.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RopidVYMISDMA.js","sourceRoot":"","sources":["../../../src/schema-definitions/ropid-vymi/RopidVYMISDMA.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,MAAM,wCAAwC,CAAC;AACnE,MAAM,EAAE,SAAS,EAAE,GAAG,aAAa,CAAC;AAyDpC,MAAM,gBAAgB,GAAgD;IAClE,OAAO,EAAE;QACL,IAAI,EAAE,SAAS,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,IAAI;KACf;IACD,WAAW,EAAE,SAAS,CAAC,OAAO;IAC9B,KAAK,EAAE,SAAS,CAAC,OAAO;IACxB,gBAAgB,EAAE,SAAS,CAAC,IAAI;IAChC,gBAAgB,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC;IACvC,gBAAgB,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S,CAAC,IAAI;IACxB,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC;CAChC,CAAC;AAEF,MAAM,qBAAqB,GAAoD;IAC3E,QAAQ,EAAE;QACN,IAAI,EAAE,SAAS,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI;KACnB;IACD,YAAY,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC;IACnC,OAAO,EAAE;QACL,IAAI,EAAE,SAAS,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI;KACnB;IACD,WAAW,EAAE,SAAS,CAAC,OAAO;IAC9B,WAAW,EAAE;QACT,IAAI,EAAE,SAAS,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI;KACnB;IACD,WAAW,EAAE;QACT,IAAI,EAAE,SAAS,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI;KACnB;IACD,SAAS,EAAE,SAAS,CAAC,OAAO;IAC5B,UAAU,EAAE,SAAS,CAAC,IAAI;IAC1B,QAAQ,EAAE,SAAS,CAAC,IAAI;IACxB,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC;CAChC,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,CAAC"}
@@ -1,52 +0,0 @@
1
- import { type IRopidSchemaDefinitions } from "#sch/shared/index";
2
- import "@golemio/core/dist/shared/sequelize.js";
3
- import { type IRopidVYMIEventOutput, type IRopidVYMIEventRouteOutput, type IRopidVYMIEventStopOutput } from "./RopidVYMISDMA.js";
4
- interface IRopidVYMIEvent {
5
- "@id": string;
6
- "@id_dtb": string;
7
- "@stav": string;
8
- "@pa_01": string;
9
- "@pa_02": string;
10
- "@pa_03": string;
11
- "@pa_04": string;
12
- "@typ_zaznamu": string;
13
- "@typ_udalost"?: string;
14
- "@kanaly": string;
15
- "@nazev": string;
16
- "@cas_od": string;
17
- "@typ_do": string;
18
- "@cas_do"?: string;
19
- "@zobrazit_do"?: string;
20
- "@druh_dopr": string;
21
- "@priorita"?: string;
22
- "@duvod"?: string;
23
- "@link"?: string;
24
- "@opatr_ropid"?: string;
25
- "@opatr_dpp"?: string;
26
- "@popis"?: string;
27
- "linky-zmena"?: IRopidVYMIEventRoute[];
28
- "zastavky-zmena"?: IRopidVYMIEventStop[];
29
- }
30
- interface IRopidVYMIEventRoute {
31
- "@id": string;
32
- "@id_dtb": string;
33
- "@cislo": string;
34
- "@nazev": string;
35
- "@linka_typ": string;
36
- "@plati_od"?: string;
37
- "@plati_do"?: string;
38
- "#text"?: string;
39
- }
40
- interface IRopidVYMIEventStop {
41
- "@id": string;
42
- "@id_dtb": string;
43
- "@uzelCislo": string;
44
- "@zastCislo": string;
45
- "@zast_typ": string;
46
- "@plati_od"?: string;
47
- "@plati_do"?: string;
48
- "#text"?: string;
49
- }
50
- declare const forExport: IRopidSchemaDefinitions;
51
- export { forExport as RopidVYMI };
52
- export type { IRopidVYMIEvent, IRopidVYMIEventOutput, IRopidVYMIEventRoute, IRopidVYMIEventRouteOutput, IRopidVYMIEventStop, IRopidVYMIEventStopOutput, };