@tmlmobilidade/consts 20261006.1738.54 → 20261007.2030.44

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.
@@ -236,10 +236,14 @@ export declare const API_ROUTES: Readonly<{
236
236
  readonly BASE: string;
237
237
  readonly ALERTS_COMPOSE: `${string}/alerts/compose`;
238
238
  readonly ALERTS_CREATE: `${string}/alerts/create`;
239
- readonly ALERTS_DETAIL: (id: string) => string;
239
+ readonly ALERTS_DETAIL_DELETE: (id: string) => string;
240
+ readonly ALERTS_DETAIL_DELETE_IMAGE: (id: string) => string;
241
+ readonly ALERTS_DETAIL_DETAIL: (id: string) => string;
242
+ readonly ALERTS_DETAIL_DETAIL_IMAGE: (id: string) => string;
240
243
  readonly ALERTS_DETAIL_DUPLICATE: (id: string) => string;
241
- readonly ALERTS_DETAIL_IMAGE: (id: string) => string;
242
244
  readonly ALERTS_DETAIL_LOCK: (id: string) => string;
245
+ readonly ALERTS_DETAIL_UPDATE: (id: string) => string;
246
+ readonly ALERTS_DETAIL_UPDATE_IMAGE: (id: string) => string;
243
247
  readonly ALERTS_LIST: `${string}/alerts/list`;
244
248
  readonly ALERTS_LIST_AGENCIES: `${string}/alerts/list-agencies`;
245
249
  readonly ALERTS_LIST_LINES: `${string}/alerts/list-lines`;
@@ -319,10 +319,14 @@ export const API_ROUTES = Object.freeze({
319
319
  // ALERTS
320
320
  ALERTS_COMPOSE: `${getModuleConfig('operation', 'api_url')}/alerts/compose`,
321
321
  ALERTS_CREATE: `${getModuleConfig('operation', 'api_url')}/alerts/create`,
322
- ALERTS_DETAIL: (id) => `${getModuleConfig('operation', 'api_url')}/alerts/${encodeURIComponent(id)}`,
322
+ ALERTS_DETAIL_DELETE: (id) => `${getModuleConfig('operation', 'api_url')}/alerts/${encodeURIComponent(id)}/delete`,
323
+ ALERTS_DETAIL_DELETE_IMAGE: (id) => `${getModuleConfig('operation', 'api_url')}/alerts/${encodeURIComponent(id)}/delete/image`,
324
+ ALERTS_DETAIL_DETAIL: (id) => `${getModuleConfig('operation', 'api_url')}/alerts/${encodeURIComponent(id)}/detail`,
325
+ ALERTS_DETAIL_DETAIL_IMAGE: (id) => `${getModuleConfig('operation', 'api_url')}/alerts/${encodeURIComponent(id)}/detail/image`,
323
326
  ALERTS_DETAIL_DUPLICATE: (id) => `${getModuleConfig('operation', 'api_url')}/alerts/${encodeURIComponent(id)}/duplicate`,
324
- ALERTS_DETAIL_IMAGE: (id) => `${getModuleConfig('operation', 'api_url')}/alerts/${encodeURIComponent(id)}/image`,
325
327
  ALERTS_DETAIL_LOCK: (id) => `${getModuleConfig('operation', 'api_url')}/alerts/${encodeURIComponent(id)}/lock`,
328
+ ALERTS_DETAIL_UPDATE: (id) => `${getModuleConfig('operation', 'api_url')}/alerts/${encodeURIComponent(id)}/update`,
329
+ ALERTS_DETAIL_UPDATE_IMAGE: (id) => `${getModuleConfig('operation', 'api_url')}/alerts/${encodeURIComponent(id)}/update/image`,
326
330
  ALERTS_LIST: `${getModuleConfig('operation', 'api_url')}/alerts/list`,
327
331
  ALERTS_LIST_AGENCIES: `${getModuleConfig('operation', 'api_url')}/alerts/list-agencies`,
328
332
  ALERTS_LIST_LINES: `${getModuleConfig('operation', 'api_url')}/alerts/list-lines`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/consts",
3
- "version": "20261006.1738.54",
3
+ "version": "20261007.2030.44",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"