@tmlmobilidade/consts 20260408.1128.43 → 20260410.1049.29
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.
- package/dist/app-routes.d.ts +3 -2
- package/dist/app-routes.js +3 -2
- package/package.json +1 -1
package/dist/app-routes.d.ts
CHANGED
|
@@ -87,7 +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
|
|
90
|
+
readonly ALERTS_RSS: `${string}/alerts.rss`;
|
|
91
91
|
readonly GTFS_CARRIS_METROPOLITANA: `${string}/gtfs/carris-metropolitana`;
|
|
92
92
|
readonly RIDES_DETAIL_RIDE: (id: string) => string;
|
|
93
93
|
readonly RIDES_LIST: `${string}/rides`;
|
|
@@ -186,6 +186,7 @@ export declare const API_ROUTES: Readonly<{
|
|
|
186
186
|
readonly FARES_DETAIL: (id: string) => string;
|
|
187
187
|
readonly FARES_DETAIL_LOCK: (id: string) => string;
|
|
188
188
|
readonly FARES_LIST: `${string}/fares`;
|
|
189
|
+
readonly GTFS_CREATE_EXPORT: `${string}/gtfs/create-export`;
|
|
189
190
|
readonly GTFS_PARSE: `${string}/gtfs/parse`;
|
|
190
191
|
readonly LINES_DETAIL: (id: string) => string;
|
|
191
192
|
readonly LINES_DETAIL_LOCK: (id: string) => string;
|
|
@@ -221,7 +222,7 @@ export declare const API_ROUTES: Readonly<{
|
|
|
221
222
|
readonly PLANS_DETAIL_LOCK: (id: string) => string;
|
|
222
223
|
readonly PLANS_DETAIL_OPERATION_FILE: (id: string) => string;
|
|
223
224
|
readonly PLANS_DETAIL_OPERATION_FILE_DOWNLOAD: (id: string) => string;
|
|
224
|
-
readonly
|
|
225
|
+
readonly PLANS_DRT_MODEL: (id: string) => string;
|
|
225
226
|
readonly PLANS_LIST: `${string}/plans`;
|
|
226
227
|
readonly VALIDATIONS_DETAIL: (id: string) => string;
|
|
227
228
|
readonly VALIDATIONS_DETAIL_FILE: (id: string) => string;
|
package/dist/app-routes.js
CHANGED
|
@@ -150,7 +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
|
|
153
|
+
ALERTS_RSS: `${getAppConfig('alerts', 'api_url')}/alerts.rss`,
|
|
154
154
|
// GTFS
|
|
155
155
|
GTFS_CARRIS_METROPOLITANA: `${getAppConfig('alerts', 'api_url')}/gtfs/carris-metropolitana`,
|
|
156
156
|
// RIDES
|
|
@@ -292,6 +292,7 @@ export const API_ROUTES = Object.freeze({
|
|
|
292
292
|
FARES_DETAIL_LOCK: (id) => `${getAppConfig('offer', 'api_url')}/fares/${id}/lock`,
|
|
293
293
|
FARES_LIST: `${getAppConfig('offer', 'api_url')}/fares`,
|
|
294
294
|
// GTFS
|
|
295
|
+
GTFS_CREATE_EXPORT: `${getAppConfig('offer', 'api_url')}/gtfs/create-export`,
|
|
295
296
|
GTFS_PARSE: `${getAppConfig('offer', 'api_url')}/gtfs/parse`,
|
|
296
297
|
// LINES
|
|
297
298
|
LINES_DETAIL: (id) => `${getAppConfig('offer', 'api_url')}/lines/${id}`,
|
|
@@ -342,7 +343,7 @@ export const API_ROUTES = Object.freeze({
|
|
|
342
343
|
PLANS_DETAIL_LOCK: (id) => `${getAppConfig('plans', 'api_url')}/plans/${id}/lock`,
|
|
343
344
|
PLANS_DETAIL_OPERATION_FILE: (id) => `${getAppConfig('plans', 'api_url')}/plans/${id}/operation-file`,
|
|
344
345
|
PLANS_DETAIL_OPERATION_FILE_DOWNLOAD: (id) => `${getAppConfig('plans', 'api_url')}/plans/${id}/operation-file/download`,
|
|
345
|
-
|
|
346
|
+
PLANS_DRT_MODEL: (id) => `${getAppConfig('plans', 'api_url')}/plans/drt-model/${id}`,
|
|
346
347
|
PLANS_LIST: `${getAppConfig('plans', 'api_url')}/plans`,
|
|
347
348
|
// VALIDATIONS
|
|
348
349
|
VALIDATIONS_DETAIL: (id) => `${getAppConfig('plans', 'api_url')}/validations/${id}`,
|