@golemio/pid 2.12.9 → 2.12.10-dev.1265906013

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 (81) hide show
  1. package/db/example/12_metro_line_A_gtfs_trips.sql +1 -2
  2. package/db/migrations/postgresql/20240321131618-metro-run-msg-id.js +51 -0
  3. package/db/migrations/postgresql/20240417152451-view-stop-times-combined.js +51 -0
  4. package/db/migrations/postgresql/20240418133218-detailed-stop-times.js +53 -0
  5. package/db/migrations/postgresql/sqls/20240321131618-metro-run-msg-id-down.sql +3 -0
  6. package/db/migrations/postgresql/sqls/20240321131618-metro-run-msg-id-up.sql +3 -0
  7. package/db/migrations/postgresql/sqls/20240417152451-view-stop-times-combined-down.sql +26 -0
  8. package/db/migrations/postgresql/sqls/20240417152451-view-stop-times-combined-up.sql +33 -0
  9. package/db/migrations/postgresql/sqls/20240418133218-detailed-stop-times-down.sql +263 -0
  10. package/db/migrations/postgresql/sqls/20240418133218-detailed-stop-times-up.sql +174 -0
  11. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleDescriptor.js +1 -1
  12. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleDescriptor.js.map +1 -1
  13. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleIdGenerator.d.ts +2 -1
  14. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleIdGenerator.js +7 -2
  15. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleIdGenerator.js.map +1 -1
  16. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.d.ts +1 -0
  17. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.js +33 -12
  18. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.js.map +1 -1
  19. package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusMessageFilter.d.ts +1 -4
  20. package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusMessageFilter.js +5 -21
  21. package/dist/integration-engine/vehicle-positions/workers/runs/helpers/regional-bus/RegionalBusMessageFilter.js.map +1 -1
  22. package/dist/integration-engine/vehicle-positions/workers/runs/transformations/MetroRunsMessageProcessingTransformation.js +4 -4
  23. package/dist/integration-engine/vehicle-positions/workers/runs/transformations/MetroRunsMessageProcessingTransformation.js.map +1 -1
  24. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.d.ts +0 -1
  25. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.js +9 -21
  26. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.js.map +1 -1
  27. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/cache/PublicStopTimeCacheRepository.d.ts +4 -1
  28. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/cache/PublicStopTimeCacheRepository.js +39 -2
  29. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/cache/PublicStopTimeCacheRepository.js.map +1 -1
  30. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsIdGenerator.js +3 -3
  31. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsIdGenerator.js.map +1 -1
  32. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/interfaces/TripRepositoryInterfaces.d.ts +4 -0
  33. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/views/PublicStopTimeRepository.js +1 -6
  34. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/views/PublicStopTimeRepository.js.map +1 -1
  35. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionsManager.js +1 -1
  36. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionsManager.js.map +1 -1
  37. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripMetroRunManager.js +2 -1
  38. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripMetroRunManager.js.map +1 -1
  39. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/public-api/PublicCacheTripsFilter.js +1 -1
  40. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/public-api/PublicCacheTripsFilter.js.map +1 -1
  41. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/RegionalBusPositionsManager.js +1 -1
  42. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/RegionalBusPositionsManager.js.map +1 -1
  43. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshPublicStopTimeCacheTask.d.ts +1 -0
  44. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshPublicStopTimeCacheTask.js +9 -3
  45. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshPublicStopTimeCacheTask.js.map +1 -1
  46. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.d.ts +3 -6
  47. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.js +8 -19
  48. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/MpvMessageTransformation.js.map +1 -1
  49. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/PublicApiTripTransformation.js +1 -1
  50. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/PublicApiTripTransformation.js.map +1 -1
  51. package/dist/output-gateway/pid/data-access/DeparturesRepository.js +3 -3
  52. package/dist/output-gateway/pid/data-access/DeparturesRepository.js.map +1 -1
  53. package/dist/output-gateway/public/data-access/redis/PublicStopTimeRepository.d.ts +1 -1
  54. package/dist/output-gateway/public/data-access/redis/PublicStopTimeRepository.js +2 -2
  55. package/dist/output-gateway/public/data-access/redis/PublicStopTimeRepository.js.map +1 -1
  56. package/dist/output-gateway/public/domain/repository/IStopTimeRepository.d.ts +1 -1
  57. package/dist/output-gateway/public/service/helpers/trip-scope/strategy/StopTimesTripScopeHandler.js +1 -1
  58. package/dist/output-gateway/public/service/helpers/trip-scope/strategy/StopTimesTripScopeHandler.js.map +1 -1
  59. package/dist/output-gateway/vehicle-positions/data-access/views/TripWithLastPositionRepository.js +2 -0
  60. package/dist/output-gateway/vehicle-positions/data-access/views/TripWithLastPositionRepository.js.map +1 -1
  61. package/dist/schema-definitions/vehicle-positions/models/interfaces/IGtfsRtTripDto.d.ts +3 -0
  62. package/dist/schema-definitions/vehicle-positions/models/views/PublicStopTimeModel.d.ts +13 -0
  63. package/dist/schema-definitions/vehicle-positions/models/views/PublicStopTimeModel.js +40 -0
  64. package/dist/schema-definitions/vehicle-positions/models/views/PublicStopTimeModel.js.map +1 -1
  65. package/dist/schema-definitions/vehicle-positions/models/views/index.d.ts +0 -1
  66. package/dist/schema-definitions/vehicle-positions/models/views/index.js +0 -1
  67. package/dist/schema-definitions/vehicle-positions/models/views/index.js.map +1 -1
  68. package/dist/schema-definitions/vehicle-positions/models/views/interfaces/IPublicStopTimeDto.d.ts +13 -0
  69. package/dist/schema-definitions/vehicle-positions/redis/interfaces/IPublicStopTimeCacheDto.d.ts +3 -0
  70. package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicStopTimeCacheDtoSchema.js +26 -1
  71. package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicStopTimeCacheDtoSchema.js.map +1 -1
  72. package/package.json +1 -1
  73. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/views/StopTimeDelayPredictionRepository.d.ts +0 -7
  74. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/views/StopTimeDelayPredictionRepository.js +0 -19
  75. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/views/StopTimeDelayPredictionRepository.js.map +0 -1
  76. package/dist/schema-definitions/vehicle-positions/models/views/StopTimeDelayPredictionModel.d.ts +0 -13
  77. package/dist/schema-definitions/vehicle-positions/models/views/StopTimeDelayPredictionModel.js +0 -41
  78. package/dist/schema-definitions/vehicle-positions/models/views/StopTimeDelayPredictionModel.js.map +0 -1
  79. package/dist/schema-definitions/vehicle-positions/models/views/interfaces/IStopTimeDelayPredictionDto.d.ts +0 -9
  80. package/dist/schema-definitions/vehicle-positions/models/views/interfaces/IStopTimeDelayPredictionDto.js +0 -3
  81. package/dist/schema-definitions/vehicle-positions/models/views/interfaces/IStopTimeDelayPredictionDto.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"TripWithLastPositionRepository.js","sourceRoot":"","sources":["../../../../../src/output-gateway/vehicle-positions/data-access/views/TripWithLastPositionRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAuC;AACvC,sFAAkE;AAClE,wFAA0D;AAC1D,yFAAwG;AAExG,sEAAmE;AACnE,+DAAuG;AACvG,gEAAgG;AAEhG,6EAAwE;AACxE,gGAA+D;AAC/D,iFAA8F;AAC9F,6CAAiF;AACjF,0EAAuE;AAIvE,MAAM,6BAA6B,GAAG,GAAG,CAAC;AAE1C,MAAa,8BAA+B,SAAQ,+BAAc;IAI9D;QACI,KAAK,CAAC,gCAAgC,EAAE,iCAAyB,CAAC,SAAS,EAAE,iCAAyB,CAAC,cAAc,EAAE;YACnH,MAAM,EAAE,iBAAS;SACpB,CAAC,CAAC;QAIA,cAAS,GAAG,CAAC,YAAoC,EAAE,EAAE;YACxD,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,YAAY,CAAC,2BAA2B,CAAC,cAAc,EAAE;gBACjF,EAAE,EAAE,eAAe;gBACnB,UAAU,EAAE,UAAU;aACzB,CAAC,CAAC;YAEH,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,YAAY,CAAC,qBAAqB,CAAC,cAAc,EAAE;gBAC7E,EAAE,EAAE,cAAc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AqC,EAClB,EAAE;YACrB,MAAM,qBAAqB,GAAG,CAAC,yBAAiB,CAAC,OAAO,EAAE,yBAAiB,CAAC,QAAQ,CAAC,CAAC;YACtF,IAAI,kBAAkB,EAAE;gBACpB,qBAAqB,CAAC,IAAI,CACtB,yBAAiB,CAAC,WAAW,EAC7B,yBAAiB,CAAC,YAAY,EAC9B,yBAAiB,CAAC,oBAAoB,EACtC,yBAAiB,CAAC,QAAQ,EAC1B,yBAAiB,CAAC,SAAS,CAC9B,CAAC;aACL;YACD,IAAI,gBAAgB,EAAE;gBAClB,qBAAqB,CAAC,IAAI,CAAC,yBAAiB,CAAC,UAAU,CAAC,CAAC;aAC5D;YAED,OAAO,qBAAqB,CAAC;QACjC,CAAC,CAAC;QAxOE,IAAI,CAAC,WAAW,GAAG,4BAAsB,CAAC,OAAO,CAAqB,oBAAc,CAAC,gBAAgB,CAAC,CAAC;IAC3G,CAAC;IAqIM,MAAM;QACT,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACvC,CAAC;CAiGJ;AAjPD,wEAiPC"}
1
+ {"version":3,"file":"TripWithLastPositionRepository.js","sourceRoot":"","sources":["../../../../../src/output-gateway/vehicle-positions/data-access/views/TripWithLastPositionRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAuC;AACvC,sFAAkE;AAClE,wFAA0D;AAC1D,yFAAwG;AAExG,sEAAmE;AACnE,+DAAuG;AACvG,gEAAgG;AAEhG,6EAAwE;AACxE,gGAA+D;AAC/D,iFAA8F;AAC9F,6CAAiF;AACjF,0EAAuE;AAIvE,MAAM,6BAA6B,GAAG,GAAG,CAAC;AAE1C,MAAa,8BAA+B,SAAQ,+BAAc;IAI9D;QACI,KAAK,CAAC,gCAAgC,EAAE,iCAAyB,CAAC,SAAS,EAAE,iCAAyB,CAAC,cAAc,EAAE;YACnH,MAAM,EAAE,iBAAS;SACpB,CAAC,CAAC;QAIA,cAAS,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,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC;qBAC1C;oBACD,EAAE,EAAE,eAAe;oBACnB,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,CAAC,MAAM,CAAC,8BAAsB,CAAC,SAAS,CAAC;oBAChF,KAAK,EAAE;wBACH,cAAc,EAAE;4BACZ,CAAC,cAAE,CAAC,EAAE,CAAC,EAAE,sBAAsB;yBAClC;qBACJ;iBACJ,CAAC,CAAC;aACN;YAED,OAAO,OAAO,CAAC;QACnB,CAAC,CAAC;QAEM,oCAA+B,GAAG,CACtC,kBAAuC,EACvC,gBAAqC,EAClB,EAAE;YACrB,MAAM,qBAAqB,GAAG,CAAC,yBAAiB,CAAC,OAAO,EAAE,yBAAiB,CAAC,QAAQ,CAAC,CAAC;YACtF,IAAI,kBAAkB,EAAE;gBACpB,qBAAqB,CAAC,IAAI,CACtB,yBAAiB,CAAC,WAAW,EAC7B,yBAAiB,CAAC,YAAY,EAC9B,yBAAiB,CAAC,oBAAoB,EACtC,yBAAiB,CAAC,QAAQ,EAC1B,yBAAiB,CAAC,SAAS,CAC9B,CAAC;aACL;YACD,IAAI,gBAAgB,EAAE;gBAClB,qBAAqB,CAAC,IAAI,CAAC,yBAAiB,CAAC,UAAU,CAAC,CAAC;aAC5D;YAED,OAAO,qBAAqB,CAAC;QACjC,CAAC,CAAC;QA1OE,IAAI,CAAC,WAAW,GAAG,4BAAsB,CAAC,OAAO,CAAqB,oBAAc,CAAC,gBAAgB,CAAC,CAAC;IAC3G,CAAC;IAqIM,MAAM;QACT,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACvC,CAAC;CAmGJ;AAnPD,wEAmPC"}
@@ -1,4 +1,5 @@
1
1
  import { GTFSRouteTypeEnum } from "../../../../helpers/RouteTypeEnums";
2
+ import { ProviderSourceTypeEnum } from "../../../../integration-engine/vehicle-positions/workers/vehicle-positions/helpers/ProviderSourceTypeEnum";
2
3
  export interface IGtfsRtTripDto {
3
4
  last_position: {
4
5
  is_canceled: boolean | null;
@@ -19,6 +20,7 @@ export interface IGtfsRtTripDto {
19
20
  }>;
20
21
  id: string;
21
22
  run_number: number | null;
23
+ internal_run_number: number | null;
22
24
  start_timestamp: string;
23
25
  cis_line_id: string | null;
24
26
  cis_trip_number: number | null;
@@ -28,6 +30,7 @@ export interface IGtfsRtTripDto {
28
30
  gtfs_route_id: string | null;
29
31
  gtfs_route_type: GTFSRouteTypeEnum;
30
32
  gtfs_route_short_name: string | null;
33
+ provider_source_type: ProviderSourceTypeEnum;
31
34
  wheelchair_accessible: boolean | null;
32
35
  vehicle_descriptor?: {
33
36
  is_air_conditioned: boolean | null;
@@ -1,10 +1,23 @@
1
1
  import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
2
2
  import { IPublicStopTimeDto } from "./interfaces/IPublicStopTimeDto";
3
+ import { GTFSRouteTypeEnum } from "../../../../helpers/RouteTypeEnums";
4
+ import { ProviderSourceTypeEnum } from "../../../../integration-engine/vehicle-positions/workers/vehicle-positions/helpers/ProviderSourceTypeEnum";
3
5
  export declare class PublicStopTimeModel extends Model<PublicStopTimeModel> implements IPublicStopTimeDto {
4
6
  static tableName: string;
7
+ rt_trip_id: string;
5
8
  gtfs_trip_id: string;
6
9
  stop_sequence: number;
7
10
  stop_arr_delay: number | null;
8
11
  stop_dep_delay: number | null;
12
+ gtfs_route_type: GTFSRouteTypeEnum | null;
13
+ gtfs_route_short_name: string | null;
14
+ run_number: number | null;
15
+ internal_run_number: number | null;
16
+ provider_source_type: ProviderSourceTypeEnum;
17
+ cis_trip_number: number | null;
18
+ vehicle_registration_number: number | null;
19
+ cis_stop_platform_code: string | null;
20
+ platform_code: string | null;
21
+ stop_id: string;
9
22
  static attributeModel: ModelAttributes<PublicStopTimeModel>;
10
23
  }
@@ -29,5 +29,45 @@ PublicStopTimeModel.attributeModel = {
29
29
  type: sequelize_1.DataTypes.INTEGER,
30
30
  allowNull: true,
31
31
  },
32
+ gtfs_route_type: {
33
+ type: sequelize_1.DataTypes.INTEGER,
34
+ allowNull: true,
35
+ },
36
+ gtfs_route_short_name: {
37
+ type: sequelize_1.DataTypes.STRING,
38
+ allowNull: true,
39
+ },
40
+ run_number: {
41
+ type: sequelize_1.DataTypes.INTEGER,
42
+ allowNull: true,
43
+ },
44
+ internal_run_number: {
45
+ type: sequelize_1.DataTypes.INTEGER,
46
+ allowNull: true,
47
+ },
48
+ provider_source_type: {
49
+ type: sequelize_1.DataTypes.STRING(1),
50
+ allowNull: false,
51
+ },
52
+ cis_trip_number: {
53
+ type: sequelize_1.DataTypes.INTEGER,
54
+ allowNull: true,
55
+ },
56
+ vehicle_registration_number: {
57
+ type: sequelize_1.DataTypes.INTEGER,
58
+ allowNull: true,
59
+ },
60
+ cis_stop_platform_code: {
61
+ type: sequelize_1.DataTypes.STRING,
62
+ allowNull: true,
63
+ },
64
+ platform_code: {
65
+ type: sequelize_1.DataTypes.STRING,
66
+ allowNull: true,
67
+ },
68
+ stop_id: {
69
+ type: sequelize_1.DataTypes.STRING,
70
+ allowNull: false,
71
+ },
32
72
  };
33
73
  //# sourceMappingURL=PublicStopTimeModel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PublicStopTimeModel.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/models/views/PublicStopTimeModel.ts"],"names":[],"mappings":";;;AAAA,mEAAwF;AAGxF,MAAa,mBAAoB,SAAQ,iBAA0B;;AAAnE,kDAgCC;AA/BiB,6BAAS,GAAG,+CAA+C,CAAC;AAO5D,kCAAc,GAAyC;IACjE,UAAU,EAAE;QACR,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE,IAAI;KACnB;IACD,YAAY,EAAE;QACV,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,KAAK;KACnB;IACD,aAAa,EAAE;QACX,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE,IAAI;KACnB;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI;KAClB;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI;KAClB;CACJ,CAAC"}
1
+ {"version":3,"file":"PublicStopTimeModel.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/models/views/PublicStopTimeModel.ts"],"names":[],"mappings":";;;AAAA,mEAAwF;AAKxF,MAAa,mBAAoB,SAAQ,iBAA0B;;AAAnE,kDAmFC;AAlFiB,6BAAS,GAAG,+CAA+C,CAAC;AAkB5D,kCAAc,GAAyC;IACjE,UAAU,EAAE;QACR,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE,IAAI;KACnB;IACD,YAAY,EAAE;QACV,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,KAAK;KACnB;IACD,aAAa,EAAE;QACX,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE,IAAI;KACnB;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI;KAClB;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI;KAClB;IACD,eAAe,EAAE;QACb,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI;KAClB;IACD,qBAAqB,EAAE;QACnB,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,IAAI;KAClB;IACD,UAAU,EAAE;QACR,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI;KAClB;IACD,mBAAmB,EAAE;QACjB,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI;KAClB;IACD,oBAAoB,EAAE;QAClB,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QACzB,SAAS,EAAE,KAAK;KACnB;IACD,eAAe,EAAE;QACb,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI;KAClB;IACD,2BAA2B,EAAE;QACzB,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI;KAClB;IACD,sBAAsB,EAAE;QACpB,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,IAAI;KAClB;IACD,aAAa,EAAE;QACX,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,IAAI;KAClB;IACD,OAAO,EAAE;QACL,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,KAAK;KACnB;CACJ,CAAC"}
@@ -1,4 +1,3 @@
1
1
  export * from "./TripWithLastPositionModel";
2
2
  export * from "./ProcessedPositionModel";
3
- export * from "./StopTimeDelayPredictionModel";
4
3
  export * from "./PublicStopTimeModel";
@@ -16,6 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./TripWithLastPositionModel"), exports);
18
18
  __exportStar(require("./ProcessedPositionModel"), exports);
19
- __exportStar(require("./StopTimeDelayPredictionModel"), exports);
20
19
  __exportStar(require("./PublicStopTimeModel"), exports);
21
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/models/views/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,2DAAyC;AACzC,iEAA+C;AAC/C,wDAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/models/views/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,2DAAyC;AACzC,wDAAsC"}
@@ -1,6 +1,19 @@
1
+ import { GTFSRouteTypeEnum } from "../../../../../helpers/RouteTypeEnums";
2
+ import { ProviderSourceTypeEnum } from "../../../../../integration-engine/vehicle-positions/workers/vehicle-positions/helpers/ProviderSourceTypeEnum";
1
3
  export interface IPublicStopTimeDto {
4
+ rt_trip_id: string;
2
5
  gtfs_trip_id: string;
3
6
  stop_sequence: number;
4
7
  stop_arr_delay: number | null;
5
8
  stop_dep_delay: number | null;
9
+ gtfs_route_type: GTFSRouteTypeEnum | null;
10
+ gtfs_route_short_name: string | null;
11
+ run_number: number | null;
12
+ internal_run_number: number | null;
13
+ provider_source_type: ProviderSourceTypeEnum;
14
+ cis_trip_number: number | null;
15
+ vehicle_registration_number: number | null;
16
+ cis_stop_platform_code: string | null;
17
+ platform_code: string | null;
18
+ stop_id: string;
6
19
  }
@@ -2,4 +2,7 @@ export interface IPublicStopTimeCacheDto {
2
2
  sequence: number;
3
3
  arr_delay: number | null;
4
4
  dep_delay: number | null;
5
+ cis_stop_platform_code: string | null;
6
+ platform_code: string | null;
7
+ stop_id: string;
5
8
  }
@@ -33,8 +33,33 @@ const publicStopTimeCacheDtoSchema = {
33
33
  },
34
34
  ],
35
35
  },
36
+ cis_stop_platform_code: {
37
+ oneOf: [
38
+ {
39
+ type: "string",
40
+ },
41
+ {
42
+ type: "null",
43
+ nullable: true,
44
+ },
45
+ ],
46
+ },
47
+ platform_code: {
48
+ oneOf: [
49
+ {
50
+ type: "string",
51
+ },
52
+ {
53
+ type: "null",
54
+ nullable: true,
55
+ },
56
+ ],
57
+ },
58
+ stop_id: {
59
+ type: "string",
60
+ },
36
61
  },
37
- required: ["sequence", "arr_delay", "dep_delay"],
62
+ required: ["sequence", "arr_delay", "dep_delay", "cis_stop_platform_code", "platform_code", "stop_id"],
38
63
  },
39
64
  };
40
65
  exports.PublicStopTimeCacheDtoSchema = publicStopTimeCacheDtoSchema;
@@ -1 +1 @@
1
- {"version":3,"file":"PublicStopTimeCacheDtoSchema.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/redis/schemas/PublicStopTimeCacheDtoSchema.ts"],"names":[],"mappings":";;;AAGA,MAAM,4BAA4B,GAA8C;IAC5E,OAAO,EAAE,yCAAyC;IAClD,KAAK,EAAE,mBAAmB;IAC1B,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,QAAQ,EAAE;gBACN,IAAI,EAAE,QAAQ;aACjB;YACD,SAAS,EAAE;gBACP,KAAK,EAAE;oBACH;wBACI,IAAI,EAAE,QAAQ;qBACjB;oBACD;wBACI,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,IAAI;qBACjB;iBACJ;aACJ;YACD,SAAS,EAAE;gBACP,KAAK,EAAE;oBACH;wBACI,IAAI,EAAE,QAAQ;qBACjB;oBACD;wBACI,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,IAAI;qBACjB;iBACJ;aACJ;SACJ;QACD,QAAQ,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,WAAW,CAAC;KACnD;CACJ,CAAC;AACuC,oEAA4B"}
1
+ {"version":3,"file":"PublicStopTimeCacheDtoSchema.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/redis/schemas/PublicStopTimeCacheDtoSchema.ts"],"names":[],"mappings":";;;AAGA,MAAM,4BAA4B,GAA8C;IAC5E,OAAO,EAAE,yCAAyC;IAClD,KAAK,EAAE,mBAAmB;IAC1B,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,QAAQ,EAAE;gBACN,IAAI,EAAE,QAAQ;aACjB;YACD,SAAS,EAAE;gBACP,KAAK,EAAE;oBACH;wBACI,IAAI,EAAE,QAAQ;qBACjB;oBACD;wBACI,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,IAAI;qBACjB;iBACJ;aACJ;YACD,SAAS,EAAE;gBACP,KAAK,EAAE;oBACH;wBACI,IAAI,EAAE,QAAQ;qBACjB;oBACD;wBACI,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,IAAI;qBACjB;iBACJ;aACJ;YACD,sBAAsB,EAAE;gBACpB,KAAK,EAAE;oBACH;wBACI,IAAI,EAAE,QAAQ;qBACjB;oBACD;wBACI,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,IAAI;qBACjB;iBACJ;aACJ;YACD,aAAa,EAAE;gBACX,KAAK,EAAE;oBACH;wBACI,IAAI,EAAE,QAAQ;qBACjB;oBACD;wBACI,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,IAAI;qBACjB;iBACJ;aACJ;YACD,OAAO,EAAE;gBACL,IAAI,EAAE,QAAQ;aACjB;SACJ;QACD,QAAQ,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,wBAAwB,EAAE,eAAe,EAAE,SAAS,CAAC;KACzG;CACJ,CAAC;AACuC,oEAA4B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/pid",
3
- "version": "2.12.9",
3
+ "version": "2.12.10-dev.1265906013",
4
4
  "description": "Golemio PID Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,7 +0,0 @@
1
- import { StopTimeDelayPredictionModel } from "../../../../../../schema-definitions/vehicle-positions/models/views";
2
- import { IModel, PostgresModel } from "@golemio/core/dist/integration-engine/models";
3
- import { ModelStatic } from "@golemio/core/dist/shared/sequelize";
4
- export declare class StopTimeDelayPredictionRepository extends PostgresModel implements IModel {
5
- sequelizeModel: ModelStatic<StopTimeDelayPredictionModel>;
6
- constructor();
7
- }
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StopTimeDelayPredictionRepository = void 0;
4
- const const_1 = require("../../../../../../schema-definitions/const");
5
- const views_1 = require("../../../../../../schema-definitions/vehicle-positions/models/views");
6
- const models_1 = require("@golemio/core/dist/integration-engine/models");
7
- const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
8
- class StopTimeDelayPredictionRepository extends models_1.PostgresModel {
9
- constructor() {
10
- super("StopTimeDelayPredictionRepository", {
11
- pgTableName: views_1.StopTimeDelayPredictionModel.tableName,
12
- pgSchema: const_1.PG_SCHEMA,
13
- outputSequelizeAttributes: views_1.StopTimeDelayPredictionModel.attributeModel,
14
- savingType: "insertOnly",
15
- }, new golemio_validator_1.JSONSchemaValidator("StopTimeDelayPredictionReadOnly", {}));
16
- }
17
- }
18
- exports.StopTimeDelayPredictionRepository = StopTimeDelayPredictionRepository;
19
- //# sourceMappingURL=StopTimeDelayPredictionRepository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StopTimeDelayPredictionRepository.js","sourceRoot":"","sources":["../../../../../../../src/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/views/StopTimeDelayPredictionRepository.ts"],"names":[],"mappings":";;;AAAA,sEAAuC;AACvC,+FAAmF;AACnF,yEAAqF;AACrF,mFAAkF;AAGlF,MAAa,iCAAkC,SAAQ,sBAAa;IAGhE;QACI,KAAK,CACD,mCAAmC,EACnC;YACI,WAAW,EAAE,oCAA4B,CAAC,SAAS;YACnD,QAAQ,EAAE,iBAAS;YACnB,yBAAyB,EAAE,oCAA4B,CAAC,cAAc;YACtE,UAAU,EAAE,YAAY;SAC3B,EACD,IAAI,uCAAmB,CAAC,iCAAiC,EAAE,EAAE,CAAC,CACjE,CAAC;IACN,CAAC;CACJ;AAfD,8EAeC"}
@@ -1,13 +0,0 @@
1
- import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
2
- import { IStopTimeDelayPredictionDto } from "./interfaces/IStopTimeDelayPredictionDto";
3
- export declare class StopTimeDelayPredictionModel extends Model<StopTimeDelayPredictionModel> implements IStopTimeDelayPredictionDto {
4
- static tableName: string;
5
- trip_id: string;
6
- stop_sequence: number;
7
- stop_id: string;
8
- platform_code: string | null;
9
- cis_stop_platform_code: string | null;
10
- arrival_delay_seconds: number | null;
11
- departure_delay_seconds: number | null;
12
- static attributeModel: ModelAttributes<StopTimeDelayPredictionModel>;
13
- }
@@ -1,41 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StopTimeDelayPredictionModel = void 0;
4
- const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
5
- class StopTimeDelayPredictionModel extends sequelize_1.Model {
6
- }
7
- exports.StopTimeDelayPredictionModel = StopTimeDelayPredictionModel;
8
- StopTimeDelayPredictionModel.tableName = "v_vehiclepositions_stop_time_delay_prediction";
9
- StopTimeDelayPredictionModel.attributeModel = {
10
- trip_id: {
11
- type: sequelize_1.DataTypes.STRING,
12
- allowNull: false,
13
- primaryKey: true,
14
- },
15
- stop_sequence: {
16
- type: sequelize_1.DataTypes.INTEGER,
17
- allowNull: false,
18
- primaryKey: true,
19
- },
20
- stop_id: {
21
- type: sequelize_1.DataTypes.STRING,
22
- allowNull: false,
23
- },
24
- platform_code: {
25
- type: sequelize_1.DataTypes.STRING,
26
- allowNull: true,
27
- },
28
- cis_stop_platform_code: {
29
- type: sequelize_1.DataTypes.STRING(15),
30
- allowNull: true,
31
- },
32
- arrival_delay_seconds: {
33
- type: sequelize_1.DataTypes.INTEGER,
34
- allowNull: true,
35
- },
36
- departure_delay_seconds: {
37
- type: sequelize_1.DataTypes.INTEGER,
38
- allowNull: true,
39
- },
40
- };
41
- //# sourceMappingURL=StopTimeDelayPredictionModel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StopTimeDelayPredictionModel.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/models/views/StopTimeDelayPredictionModel.ts"],"names":[],"mappings":";;;AAAA,mEAAwF;AAGxF,MAAa,4BAA6B,SAAQ,iBAAmC;;AAArF,oEA2CC;AA1CiB,sCAAS,GAAG,+CAA+C,CAAC;AAU5D,2CAAc,GAAkD;IAC1E,OAAO,EAAE;QACL,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE,IAAI;KACnB;IACD,aAAa,EAAE;QACX,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,KAAK;QAChB,UAAU,EAAE,IAAI;KACnB;IACD,OAAO,EAAE;QACL,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,KAAK;KACnB;IACD,aAAa,EAAE;QACX,IAAI,EAAE,qBAAS,CAAC,MAAM;QACtB,SAAS,EAAE,IAAI;KAClB;IACD,sBAAsB,EAAE;QACpB,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,SAAS,EAAE,IAAI;KAClB;IACD,qBAAqB,EAAE;QACnB,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI;KAClB;IACD,uBAAuB,EAAE;QACrB,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI;KAClB;CACJ,CAAC"}
@@ -1,9 +0,0 @@
1
- export interface IStopTimeDelayPredictionDto {
2
- trip_id: string;
3
- stop_sequence: number;
4
- stop_id: string;
5
- platform_code: string | null;
6
- cis_stop_platform_code: string | null;
7
- arrival_delay_seconds: number | null;
8
- departure_delay_seconds: number | null;
9
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IStopTimeDelayPredictionDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IStopTimeDelayPredictionDto.js","sourceRoot":"","sources":["../../../../../../src/schema-definitions/vehicle-positions/models/views/interfaces/IStopTimeDelayPredictionDto.ts"],"names":[],"mappings":""}