@tmlmobilidade/consts 20261012.1852.32 → 20261013.1121.17
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 -0
- package/dist/app-routes.js +5 -0
- package/package.json +1 -1
package/dist/app-routes.d.ts
CHANGED
|
@@ -151,12 +151,15 @@ export declare const API_ROUTES: Readonly<{
|
|
|
151
151
|
readonly ALERTS_LIST: `${string}/v1/alerts`;
|
|
152
152
|
readonly ALERTS_RSS: `${string}/v1/alerts.rss`;
|
|
153
153
|
readonly DEBUG_TIME: `${string}/v1/debug/time`;
|
|
154
|
+
readonly FEEDBACK_LIST: `${string}/v1/feedback`;
|
|
154
155
|
readonly ETA_BY_STOP: (id: string) => string;
|
|
155
156
|
readonly ETA_BY_TRIP: (id: string) => string;
|
|
156
157
|
readonly ETA_GTFS: `${string}/v1/eta/gtfs`;
|
|
157
158
|
readonly ETA_GTFS_PB: `${string}/v1/eta/gtfs.pb`;
|
|
158
159
|
readonly ETA_LIST: `${string}/v1/eta`;
|
|
159
160
|
readonly METRICS_DEMAND_BY_AGENCY_BY_OPERATIONAL_DATE: `${string}/v1/metrics/demand-by-agency-by-operational-date`;
|
|
161
|
+
readonly MOTIS_GEOCODE: `${string}/v1/motis/geocode`;
|
|
162
|
+
readonly MOTIS_PLAN: `${string}/v1/motis/plan`;
|
|
160
163
|
readonly NETWORK_LINES: `${string}/v1/network/lines`;
|
|
161
164
|
readonly NETWORK_LINES_DETAIL: (id: string) => string;
|
|
162
165
|
readonly NETWORK_PATTERNS: (id: string) => string;
|
package/dist/app-routes.js
CHANGED
|
@@ -213,6 +213,8 @@ export const API_ROUTES = Object.freeze({
|
|
|
213
213
|
ALERTS_RSS: `${getModuleConfig('hub', 'api_url')}/v1/alerts.rss`,
|
|
214
214
|
// DEBUG
|
|
215
215
|
DEBUG_TIME: `${getModuleConfig('hub', 'api_url')}/v1/debug/time`,
|
|
216
|
+
// FEEDBACK
|
|
217
|
+
FEEDBACK_LIST: `${getModuleConfig('hub', 'api_url')}/v1/feedback`,
|
|
216
218
|
// ETA
|
|
217
219
|
ETA_BY_STOP: (id) => `${getModuleConfig('hub', 'api_url')}/v1/eta/by-stop/${encodeURIComponent(id)}`,
|
|
218
220
|
ETA_BY_TRIP: (id) => `${getModuleConfig('hub', 'api_url')}/v1/eta/by-trip/${encodeURIComponent(id)}`,
|
|
@@ -221,6 +223,9 @@ export const API_ROUTES = Object.freeze({
|
|
|
221
223
|
ETA_LIST: `${getModuleConfig('hub', 'api_url')}/v1/eta`,
|
|
222
224
|
// METRICS
|
|
223
225
|
METRICS_DEMAND_BY_AGENCY_BY_OPERATIONAL_DATE: `${getModuleConfig('hub', 'api_url')}/v1/metrics/demand-by-agency-by-operational-date`,
|
|
226
|
+
// MOTIS
|
|
227
|
+
MOTIS_GEOCODE: `${getModuleConfig('hub', 'api_url')}/v1/motis/geocode`,
|
|
228
|
+
MOTIS_PLAN: `${getModuleConfig('hub', 'api_url')}/v1/motis/plan`,
|
|
224
229
|
// NETWORK
|
|
225
230
|
NETWORK_LINES: `${getModuleConfig('hub', 'api_url')}/v1/network/lines`,
|
|
226
231
|
NETWORK_LINES_DETAIL: (id) => `${getModuleConfig('hub', 'api_url')}/v1/network/lines/${encodeURIComponent(id)}`,
|