@tmlmobilidade/consts 20260330.1756.23 → 20260331.1620.53

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.
@@ -87,6 +87,7 @@ export declare const API_ROUTES: Readonly<{
87
87
  readonly ALERTS_DETAIL_IMAGE: (id: string) => string;
88
88
  readonly ALERTS_DETAIL_LOCK: (id: string) => string;
89
89
  readonly ALERTS_LIST: `${string}/alerts`;
90
+ readonly ALERTS_RSS: `${string}/alerts.rss`;
90
91
  readonly GTFS_CARRIS_METROPOLITANA: `${string}/gtfs/carris-metropolitana`;
91
92
  readonly RIDES_DETAIL_RIDE: (id: string) => string;
92
93
  readonly RIDES_LIST: `${string}/rides`;
@@ -167,8 +168,10 @@ export declare const API_ROUTES: Readonly<{
167
168
  readonly fleet: {
168
169
  readonly BASE: string;
169
170
  readonly VEHICLES_DETAIL: (id: string) => string;
171
+ readonly VEHICLES_DETAIL_LAST_EVENT: (id: string) => string;
170
172
  readonly VEHICLES_DETAIL_LOCK: (id: string) => string;
171
173
  readonly VEHICLES_LIST: `${string}/vehicles`;
174
+ readonly VEHICLES_POSITIONS: `${string}/vehicles/positions`;
172
175
  };
173
176
  readonly locations: {
174
177
  readonly BASE: string;
@@ -150,6 +150,7 @@ export const API_ROUTES = Object.freeze({
150
150
  ALERTS_DETAIL_IMAGE: (id) => `${getAppConfig('alerts', 'api_url')}/alerts/${id}/image`,
151
151
  ALERTS_DETAIL_LOCK: (id) => `${getAppConfig('alerts', 'api_url')}/alerts/${id}/lock`,
152
152
  ALERTS_LIST: `${getAppConfig('alerts', 'api_url')}/alerts`,
153
+ ALERTS_RSS: `${getAppConfig('alerts', 'api_url')}/alerts.rss`,
153
154
  // GTFS
154
155
  GTFS_CARRIS_METROPOLITANA: `${getAppConfig('alerts', 'api_url')}/gtfs/carris-metropolitana`,
155
156
  // RIDES
@@ -264,8 +265,10 @@ export const API_ROUTES = Object.freeze({
264
265
  BASE: `${getAppConfig('fleet', 'api_url')}`,
265
266
  // VEHICLES
266
267
  VEHICLES_DETAIL: (id) => `${getAppConfig('fleet', 'api_url')}/vehicles/${id}`,
268
+ VEHICLES_DETAIL_LAST_EVENT: (id) => `${getAppConfig('fleet', 'api_url')}/vehicles/${id}/last-event`,
267
269
  VEHICLES_DETAIL_LOCK: (id) => `${getAppConfig('fleet', 'api_url')}/vehicles/${id}/lock`,
268
270
  VEHICLES_LIST: `${getAppConfig('fleet', 'api_url')}/vehicles`,
271
+ VEHICLES_POSITIONS: `${getAppConfig('fleet', 'api_url')}/vehicles/positions`,
269
272
  },
270
273
  /* * */
271
274
  /* LOCATIONS */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/consts",
3
- "version": "20260330.1756.23",
3
+ "version": "20260331.1620.53",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"