@tmlmobilidade/consts 20260923.2223.43 → 20260924.1326.28

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.
@@ -294,10 +294,11 @@ export declare const API_ROUTES: Readonly<{
294
294
  readonly SAMS_FAVORITES: `${string}/sams/favorites`;
295
295
  readonly SAMS_LIST: `${string}/sams`;
296
296
  readonly SAMS_TIMELINE_SUMMARY: `${string}/sams/timeline-summary`;
297
+ readonly VEHICLES_CREATE: `${string}/vehicles/create`;
297
298
  readonly VEHICLES_DETAIL: (id: string) => string;
298
299
  readonly VEHICLES_DETAIL_LAST_EVENT: (id: string) => string;
299
300
  readonly VEHICLES_DETAIL_LOCK: (id: string) => string;
300
- readonly VEHICLES_LIST: `${string}/vehicles`;
301
+ readonly VEHICLES_LIST: `${string}/vehicles/list`;
301
302
  };
302
303
  readonly performance: {
303
304
  readonly BASE: string;
@@ -383,10 +383,11 @@ export const API_ROUTES = Object.freeze({
383
383
  SAMS_LIST: `${getModuleConfig('operation', 'api_url')}/sams`,
384
384
  SAMS_TIMELINE_SUMMARY: `${getModuleConfig('operation', 'api_url')}/sams/timeline-summary`,
385
385
  // VEHICLES
386
+ VEHICLES_CREATE: `${getModuleConfig('operation', 'api_url')}/vehicles/create`,
386
387
  VEHICLES_DETAIL: (id) => `${getModuleConfig('operation', 'api_url')}/vehicles/${encodeURIComponent(id)}`,
387
388
  VEHICLES_DETAIL_LAST_EVENT: (id) => `${getModuleConfig('operation', 'api_url')}/vehicles/${encodeURIComponent(id)}/last-event`,
388
389
  VEHICLES_DETAIL_LOCK: (id) => `${getModuleConfig('operation', 'api_url')}/vehicles/${encodeURIComponent(id)}/lock`,
389
- VEHICLES_LIST: `${getModuleConfig('operation', 'api_url')}/vehicles`,
390
+ VEHICLES_LIST: `${getModuleConfig('operation', 'api_url')}/vehicles/list`,
390
391
  },
391
392
  performance: {
392
393
  // BASE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/consts",
3
- "version": "20260923.2223.43",
3
+ "version": "20260924.1326.28",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"