@tmlmobilidade/types 20260627.17.1 → 20260627.1143.10
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/alerts/cause.d.ts +1 -1
- package/dist/alerts/effect.d.ts +1 -1
- package/dist/gtfs/feed-info.d.ts +2 -2
- package/dist/gtfs/stop-times.js +8 -8
- package/dist/gtfs-tml/feed-info.d.ts +2 -2
- package/dist/gtfs-validation/gtfs-validation.d.ts +12 -12
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/locations/queries.d.ts +4 -4
- package/dist/offer/pattern.d.ts +72 -72
- package/dist/offer/route-path-type.d.ts +2 -2
- package/dist/offer/route.d.ts +6 -6
- package/dist/offer/rules.d.ts +18 -18
- package/dist/offer/typology.d.ts +7 -7
- package/dist/offer/vkm.d.ts +15 -15
- package/dist/operation/lines/operational-line.d.ts +4 -4
- package/dist/operation/stops/operational-stop.d.ts +4 -4
- package/dist/organization.d.ts +5 -5
- package/dist/plans/plan-app-status.d.ts +2 -2
- package/dist/plans/plan.d.ts +94 -94
- package/dist/vehicle/vehicle.d.ts +5 -5
- package/dist/vehicle-events/raw/ccfl/v1.d.ts +54 -54
- package/dist/vehicle-events/raw/ccfl/v1.js +1 -1
- package/dist/vehicle-events/raw/cmet/v1-core.d.ts +88 -88
- package/dist/vehicle-events/raw/cmet/v1-log.d.ts +88 -88
- package/dist/vehicle-events/raw/cp/v1.d.ts +64 -64
- package/dist/vehicle-events/raw/cp/v1.js +1 -1
- package/dist/vehicle-events/raw/crtm-aisa/v1.d.ts +112 -112
- package/dist/vehicle-events/raw/crtm-aisa/v1.js +1 -2
- package/dist/vehicle-events/raw/crtm-laveloz/v1.d.ts +112 -112
- package/dist/vehicle-events/raw/crtm-laveloz/v1.js +1 -1
- package/dist/vehicle-events/raw/fertagus/v1.d.ts +64 -64
- package/dist/vehicle-events/raw/ml/v1.d.ts +54 -54
- package/dist/vehicle-events/raw/mobi/v1.d.ts +84 -84
- package/dist/vehicle-events/raw/mobi/v1.js +1 -1
- package/dist/vehicle-events/raw/raw-vehicle-event-base.d.ts +2 -2
- package/dist/vehicle-events/raw/raw-vehicle-event.d.ts +530 -530
- package/dist/vehicle-events/raw/tcb/v1.d.ts +84 -84
- package/dist/vehicle-events/raw/tcb/v1.js +1 -1
- package/dist/vehicle-events/raw/ttsl/v1.d.ts +54 -54
- package/dist/vehicle-events/raw/ttsl/v1.js +1 -1
- package/dist/vehicle-events/simplified/simplified-vehicle-event.d.ts +7 -7
- package/package.json +2 -1
- package/dist/gtfs-rt/alert.d.ts +0 -347
- package/dist/gtfs-rt/alert.js +0 -24
- package/dist/gtfs-rt/carriage-details.d.ts +0 -21
- package/dist/gtfs-rt/carriage-details.js +0 -11
- package/dist/gtfs-rt/cause.d.ts +0 -10
- package/dist/gtfs-rt/cause.js +0 -18
- package/dist/gtfs-rt/congestion-level.d.ts +0 -4
- package/dist/gtfs-rt/congestion-level.js +0 -11
- package/dist/gtfs-rt/effect.d.ts +0 -10
- package/dist/gtfs-rt/effect.js +0 -17
- package/dist/gtfs-rt/entity-selector.d.ts +0 -68
- package/dist/gtfs-rt/entity-selector.js +0 -12
- package/dist/gtfs-rt/feed-entity.d.ts +0 -729
- package/dist/gtfs-rt/feed-entity.js +0 -11
- package/dist/gtfs-rt/feed-header.d.ts +0 -18
- package/dist/gtfs-rt/feed-header.js +0 -9
- package/dist/gtfs-rt/feed-message.d.ts +0 -975
- package/dist/gtfs-rt/feed-message.js +0 -9
- package/dist/gtfs-rt/index.d.ts +0 -22
- package/dist/gtfs-rt/index.js +0 -22
- package/dist/gtfs-rt/localized-image.d.ts +0 -15
- package/dist/gtfs-rt/localized-image.js +0 -8
- package/dist/gtfs-rt/occupancy-status.d.ts +0 -4
- package/dist/gtfs-rt/occupancy-status.js +0 -15
- package/dist/gtfs-rt/position.d.ts +0 -21
- package/dist/gtfs-rt/position.js +0 -10
- package/dist/gtfs-rt/severity-level.d.ts +0 -4
- package/dist/gtfs-rt/severity-level.js +0 -10
- package/dist/gtfs-rt/time-range.d.ts +0 -12
- package/dist/gtfs-rt/time-range.js +0 -7
- package/dist/gtfs-rt/translated-image.d.ts +0 -29
- package/dist/gtfs-rt/translated-image.js +0 -7
- package/dist/gtfs-rt/translated-string.d.ts +0 -24
- package/dist/gtfs-rt/translated-string.js +0 -7
- package/dist/gtfs-rt/translation.d.ts +0 -12
- package/dist/gtfs-rt/translation.js +0 -7
- package/dist/gtfs-rt/trip-descriptor.d.ts +0 -29
- package/dist/gtfs-rt/trip-descriptor.js +0 -13
- package/dist/gtfs-rt/vehicle-descriptor.d.ts +0 -18
- package/dist/gtfs-rt/vehicle-descriptor.js +0 -10
- package/dist/gtfs-rt/vehicle-position.d.ts +0 -168
- package/dist/gtfs-rt/vehicle-position.js +0 -23
- package/dist/gtfs-rt/vehicle-stop-status.d.ts +0 -4
- package/dist/gtfs-rt/vehicle-stop-status.js +0 -9
- package/dist/gtfs-rt/wheelchair-accessible.d.ts +0 -4
- package/dist/gtfs-rt/wheelchair-accessible.js +0 -10
- package/dist/hub/api/alerts/alert.d.ts +0 -82
- package/dist/hub/api/alerts/alert.js +0 -20
- package/dist/hub/api/alerts/index.d.ts +0 -1
- package/dist/hub/api/alerts/index.js +0 -1
- package/dist/hub/api/index.d.ts +0 -7
- package/dist/hub/api/index.js +0 -7
- package/dist/hub/api/network/index.d.ts +0 -7
- package/dist/hub/api/network/index.js +0 -7
- package/dist/hub/api/network/line.d.ts +0 -66
- package/dist/hub/api/network/line.js +0 -24
- package/dist/hub/api/network/pattern.d.ts +0 -184
- package/dist/hub/api/network/pattern.js +0 -32
- package/dist/hub/api/network/route.d.ts +0 -66
- package/dist/hub/api/network/route.js +0 -24
- package/dist/hub/api/network/scheduled-arrival.d.ts +0 -21
- package/dist/hub/api/network/scheduled-arrival.js +0 -9
- package/dist/hub/api/network/stop.d.ts +0 -97
- package/dist/hub/api/network/stop.js +0 -29
- package/dist/hub/api/network/trip.d.ts +0 -49
- package/dist/hub/api/network/trip.js +0 -11
- package/dist/hub/api/network/waypoint.d.ts +0 -27
- package/dist/hub/api/network/waypoint.js +0 -11
- package/dist/hub/api/patterns.d.ts +0 -16
- package/dist/hub/api/patterns.js +0 -3
- package/dist/hub/api/plans/index.d.ts +0 -1
- package/dist/hub/api/plans/index.js +0 -1
- package/dist/hub/api/plans/plan.d.ts +0 -138
- package/dist/hub/api/plans/plan.js +0 -18
- package/dist/hub/api/realtime/index.d.ts +0 -1
- package/dist/hub/api/realtime/index.js +0 -1
- package/dist/hub/api/realtime/vehicle-position.d.ts +0 -66
- package/dist/hub/api/realtime/vehicle-position.js +0 -31
- package/dist/hub/api/realtime-eta-gtfs.d.ts +0 -41
- package/dist/hub/api/realtime-eta-gtfs.js +0 -2
- package/dist/hub/api/shapes.d.ts +0 -148
- package/dist/hub/api/shapes.js +0 -26
- package/dist/hub/api/timetables.d.ts +0 -36
- package/dist/hub/api/timetables.js +0 -2
- package/dist/hub/gtfs/index.d.ts +0 -1
- package/dist/hub/gtfs/index.js +0 -1
- package/dist/hub/gtfs/stops.d.ts +0 -66
- package/dist/hub/gtfs/stops.js +0 -24
- package/dist/hub/index.d.ts +0 -2
- package/dist/hub/index.js +0 -2
package/dist/alerts/cause.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type GtfsRtCause } from '
|
|
1
|
+
import { type GtfsRtCause } from '@tmlmobilidade/go-types-gtfs-rt';
|
|
2
2
|
import z from 'zod';
|
|
3
3
|
export declare const AlertCauseValues: readonly ["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "MEDICAL_EMERGENCY", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_ISSUE", "WEATHER", "ABUSIVE_PARKING", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "NETWORK_UPDATE", "ROAD_ISSUE", "TRAFFIC_JAM", "PUBLIC_DISORDER", "VEHICLE_ISSUE"];
|
|
4
4
|
export declare const AlertCauseSchema: z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "MEDICAL_EMERGENCY", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_ISSUE", "WEATHER", "ABUSIVE_PARKING", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "NETWORK_UPDATE", "ROAD_ISSUE", "TRAFFIC_JAM", "PUBLIC_DISORDER", "VEHICLE_ISSUE"]>;
|
package/dist/alerts/effect.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type GtfsRtEffect } from '
|
|
1
|
+
import { type GtfsRtEffect } from '@tmlmobilidade/go-types-gtfs-rt';
|
|
2
2
|
import z from 'zod';
|
|
3
3
|
export declare const AlertEffectValues: readonly ["ACCESSIBILITY_ISSUE", "ADDITIONAL_SERVICE", "DETOUR", "MODIFIED_SERVICE", "NO_SERVICE", "REDUCED_SERVICE", "SIGNIFICANT_DELAYS", "STOP_MOVED", "REALTIME_INFO_ISSUE", "ON_BOARD_SALE_ISSUE"];
|
|
4
4
|
export declare const AlertEffectSchema: z.ZodEnum<["ACCESSIBILITY_ISSUE", "ADDITIONAL_SERVICE", "DETOUR", "MODIFIED_SERVICE", "NO_SERVICE", "REDUCED_SERVICE", "SIGNIFICANT_DELAYS", "STOP_MOVED", "REALTIME_INFO_ISSUE", "ON_BOARD_SALE_ISSUE"]>;
|
package/dist/gtfs/feed-info.d.ts
CHANGED
|
@@ -13,21 +13,21 @@ export declare const GtfsFeedInfoSchema: z.ZodObject<{
|
|
|
13
13
|
feed_lang: string;
|
|
14
14
|
feed_end_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
15
15
|
feed_start_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
16
|
-
feed_version?: string | null | undefined;
|
|
17
16
|
default_lang?: string | null | undefined;
|
|
18
17
|
feed_contact_email?: string | null | undefined;
|
|
19
18
|
feed_contact_url?: string | null | undefined;
|
|
20
19
|
feed_publisher_name?: string | null | undefined;
|
|
21
20
|
feed_publisher_url?: string | null | undefined;
|
|
21
|
+
feed_version?: string | null | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
feed_lang: string;
|
|
24
24
|
feed_end_date?: string | null | undefined;
|
|
25
25
|
feed_start_date?: string | null | undefined;
|
|
26
|
-
feed_version?: string | null | undefined;
|
|
27
26
|
default_lang?: string | null | undefined;
|
|
28
27
|
feed_contact_email?: string | null | undefined;
|
|
29
28
|
feed_contact_url?: string | null | undefined;
|
|
30
29
|
feed_publisher_name?: string | null | undefined;
|
|
31
30
|
feed_publisher_url?: string | null | undefined;
|
|
31
|
+
feed_version?: string | null | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
export type GtfsFeedInfo = z.infer<typeof GtfsFeedInfoSchema>;
|
package/dist/gtfs/stop-times.js
CHANGED
|
@@ -10,22 +10,22 @@ import { validateGtfsBinary, validateGtfsPickupDropoffType } from './common.js';
|
|
|
10
10
|
export function validateGtfsStopTime(rawData) {
|
|
11
11
|
// Ensure required fields are present
|
|
12
12
|
if (!rawData.arrival_time)
|
|
13
|
-
throw new Error(
|
|
13
|
+
throw new Error(`Missing required field "arrival_time" on GTFS StopTime: ${JSON.stringify(rawData)}`);
|
|
14
14
|
if (!rawData.departure_time)
|
|
15
|
-
throw new Error(
|
|
15
|
+
throw new Error(`Missing required field "departure_time" on GTFS StopTime: ${JSON.stringify(rawData)}`);
|
|
16
16
|
if (!rawData.shape_dist_traveled)
|
|
17
|
-
throw new Error(
|
|
17
|
+
throw new Error(`Missing required field "shape_dist_traveled" on GTFS StopTime: ${JSON.stringify(rawData)}`);
|
|
18
18
|
if (!rawData.stop_id)
|
|
19
|
-
throw new Error(
|
|
19
|
+
throw new Error(`Missing required field "stop_id" on GTFS StopTime: ${JSON.stringify(rawData)}`);
|
|
20
20
|
if (!rawData.stop_sequence)
|
|
21
|
-
throw new Error(
|
|
21
|
+
throw new Error(`Missing required field "stop_sequence" on GTFS StopTime: ${JSON.stringify(rawData)}`);
|
|
22
22
|
if (!rawData.trip_id)
|
|
23
|
-
throw new Error(
|
|
23
|
+
throw new Error(`Missing required field "trip_id" on GTFS StopTime: ${JSON.stringify(rawData)}`);
|
|
24
24
|
// Validate the individual fields
|
|
25
25
|
if (Number.isNaN(rawData.shape_dist_traveled))
|
|
26
|
-
throw new Error(`Invalid value for "shape_dist_traveled": "${rawData.shape_dist_traveled}". It must be a number
|
|
26
|
+
throw new Error(`Invalid value for "shape_dist_traveled": "${rawData.shape_dist_traveled}". It must be a number. GTFS StopTime: ${JSON.stringify(rawData)}`);
|
|
27
27
|
if (Number.isNaN(rawData.stop_sequence))
|
|
28
|
-
throw new Error(`Invalid value for "stop_sequence": "${rawData.stop_sequence}". It must be a number
|
|
28
|
+
throw new Error(`Invalid value for "stop_sequence": "${rawData.stop_sequence}". It must be a number. GTFS StopTime: ${JSON.stringify(rawData)}`);
|
|
29
29
|
// Transform the raw data into the output format
|
|
30
30
|
return {
|
|
31
31
|
arrival_time: rawData.arrival_time,
|
|
@@ -13,21 +13,21 @@ export declare const GtfsTMLFeedInfoSchema: z.ZodObject<{
|
|
|
13
13
|
feed_lang: string;
|
|
14
14
|
feed_end_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
15
15
|
feed_start_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
16
|
-
feed_version?: string | null | undefined;
|
|
17
16
|
default_lang?: string | null | undefined;
|
|
18
17
|
feed_contact_email?: string | null | undefined;
|
|
19
18
|
feed_contact_url?: string | null | undefined;
|
|
20
19
|
feed_publisher_name?: string | null | undefined;
|
|
21
20
|
feed_publisher_url?: string | null | undefined;
|
|
21
|
+
feed_version?: string | null | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
feed_lang: string;
|
|
24
24
|
feed_end_date?: string | null | undefined;
|
|
25
25
|
feed_start_date?: string | null | undefined;
|
|
26
|
-
feed_version?: string | null | undefined;
|
|
27
26
|
default_lang?: string | null | undefined;
|
|
28
27
|
feed_contact_email?: string | null | undefined;
|
|
29
28
|
feed_contact_url?: string | null | undefined;
|
|
30
29
|
feed_publisher_name?: string | null | undefined;
|
|
31
30
|
feed_publisher_url?: string | null | undefined;
|
|
31
|
+
feed_version?: string | null | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
export type GtfsTMLFeedInfo = z.infer<typeof GtfsTMLFeedInfoSchema>;
|
|
@@ -50,22 +50,22 @@ export declare const GtfsValidationSchema: z.ZodObject<{
|
|
|
50
50
|
feed_lang: string;
|
|
51
51
|
feed_end_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
52
52
|
feed_start_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
53
|
-
feed_version?: string | null | undefined;
|
|
54
53
|
default_lang?: string | null | undefined;
|
|
55
54
|
feed_contact_email?: string | null | undefined;
|
|
56
55
|
feed_contact_url?: string | null | undefined;
|
|
57
56
|
feed_publisher_name?: string | null | undefined;
|
|
58
57
|
feed_publisher_url?: string | null | undefined;
|
|
58
|
+
feed_version?: string | null | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
feed_lang: string;
|
|
61
61
|
feed_end_date?: string | null | undefined;
|
|
62
62
|
feed_start_date?: string | null | undefined;
|
|
63
|
-
feed_version?: string | null | undefined;
|
|
64
63
|
default_lang?: string | null | undefined;
|
|
65
64
|
feed_contact_email?: string | null | undefined;
|
|
66
65
|
feed_contact_url?: string | null | undefined;
|
|
67
66
|
feed_publisher_name?: string | null | undefined;
|
|
68
67
|
feed_publisher_url?: string | null | undefined;
|
|
68
|
+
feed_version?: string | null | undefined;
|
|
69
69
|
}>;
|
|
70
70
|
notification_sent: z.ZodDefault<z.ZodBoolean>;
|
|
71
71
|
processing_status: z.ZodDefault<z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>>;
|
|
@@ -145,12 +145,12 @@ export declare const GtfsValidationSchema: z.ZodObject<{
|
|
|
145
145
|
feed_lang: string;
|
|
146
146
|
feed_end_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
147
147
|
feed_start_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
148
|
-
feed_version?: string | null | undefined;
|
|
149
148
|
default_lang?: string | null | undefined;
|
|
150
149
|
feed_contact_email?: string | null | undefined;
|
|
151
150
|
feed_contact_url?: string | null | undefined;
|
|
152
151
|
feed_publisher_name?: string | null | undefined;
|
|
153
152
|
feed_publisher_url?: string | null | undefined;
|
|
153
|
+
feed_version?: string | null | undefined;
|
|
154
154
|
};
|
|
155
155
|
notification_sent: boolean;
|
|
156
156
|
validation_attempts: number;
|
|
@@ -187,12 +187,12 @@ export declare const GtfsValidationSchema: z.ZodObject<{
|
|
|
187
187
|
feed_lang: string;
|
|
188
188
|
feed_end_date?: string | null | undefined;
|
|
189
189
|
feed_start_date?: string | null | undefined;
|
|
190
|
-
feed_version?: string | null | undefined;
|
|
191
190
|
default_lang?: string | null | undefined;
|
|
192
191
|
feed_contact_email?: string | null | undefined;
|
|
193
192
|
feed_contact_url?: string | null | undefined;
|
|
194
193
|
feed_publisher_name?: string | null | undefined;
|
|
195
194
|
feed_publisher_url?: string | null | undefined;
|
|
195
|
+
feed_version?: string | null | undefined;
|
|
196
196
|
};
|
|
197
197
|
created_by?: string | null | undefined;
|
|
198
198
|
is_locked?: boolean | undefined;
|
|
@@ -265,22 +265,22 @@ export declare const CreateGtfsValidationSchema: z.ZodObject<Omit<{
|
|
|
265
265
|
feed_lang: string;
|
|
266
266
|
feed_end_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
267
267
|
feed_start_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
268
|
-
feed_version?: string | null | undefined;
|
|
269
268
|
default_lang?: string | null | undefined;
|
|
270
269
|
feed_contact_email?: string | null | undefined;
|
|
271
270
|
feed_contact_url?: string | null | undefined;
|
|
272
271
|
feed_publisher_name?: string | null | undefined;
|
|
273
272
|
feed_publisher_url?: string | null | undefined;
|
|
273
|
+
feed_version?: string | null | undefined;
|
|
274
274
|
}, {
|
|
275
275
|
feed_lang: string;
|
|
276
276
|
feed_end_date?: string | null | undefined;
|
|
277
277
|
feed_start_date?: string | null | undefined;
|
|
278
|
-
feed_version?: string | null | undefined;
|
|
279
278
|
default_lang?: string | null | undefined;
|
|
280
279
|
feed_contact_email?: string | null | undefined;
|
|
281
280
|
feed_contact_url?: string | null | undefined;
|
|
282
281
|
feed_publisher_name?: string | null | undefined;
|
|
283
282
|
feed_publisher_url?: string | null | undefined;
|
|
283
|
+
feed_version?: string | null | undefined;
|
|
284
284
|
}>;
|
|
285
285
|
notification_sent: z.ZodDefault<z.ZodBoolean>;
|
|
286
286
|
processing_status: z.ZodDefault<z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>>;
|
|
@@ -353,12 +353,12 @@ export declare const CreateGtfsValidationSchema: z.ZodObject<Omit<{
|
|
|
353
353
|
feed_lang: string;
|
|
354
354
|
feed_end_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
355
355
|
feed_start_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
356
|
-
feed_version?: string | null | undefined;
|
|
357
356
|
default_lang?: string | null | undefined;
|
|
358
357
|
feed_contact_email?: string | null | undefined;
|
|
359
358
|
feed_contact_url?: string | null | undefined;
|
|
360
359
|
feed_publisher_name?: string | null | undefined;
|
|
361
360
|
feed_publisher_url?: string | null | undefined;
|
|
361
|
+
feed_version?: string | null | undefined;
|
|
362
362
|
};
|
|
363
363
|
notification_sent: boolean;
|
|
364
364
|
validation_attempts: number;
|
|
@@ -392,12 +392,12 @@ export declare const CreateGtfsValidationSchema: z.ZodObject<Omit<{
|
|
|
392
392
|
feed_lang: string;
|
|
393
393
|
feed_end_date?: string | null | undefined;
|
|
394
394
|
feed_start_date?: string | null | undefined;
|
|
395
|
-
feed_version?: string | null | undefined;
|
|
396
395
|
default_lang?: string | null | undefined;
|
|
397
396
|
feed_contact_email?: string | null | undefined;
|
|
398
397
|
feed_contact_url?: string | null | undefined;
|
|
399
398
|
feed_publisher_name?: string | null | undefined;
|
|
400
399
|
feed_publisher_url?: string | null | undefined;
|
|
400
|
+
feed_version?: string | null | undefined;
|
|
401
401
|
};
|
|
402
402
|
created_by?: string | null | undefined;
|
|
403
403
|
is_locked?: boolean | undefined;
|
|
@@ -466,22 +466,22 @@ export declare const UpdateGtfsValidationSchema: z.ZodObject<{
|
|
|
466
466
|
feed_lang: string;
|
|
467
467
|
feed_end_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
468
468
|
feed_start_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
469
|
-
feed_version?: string | null | undefined;
|
|
470
469
|
default_lang?: string | null | undefined;
|
|
471
470
|
feed_contact_email?: string | null | undefined;
|
|
472
471
|
feed_contact_url?: string | null | undefined;
|
|
473
472
|
feed_publisher_name?: string | null | undefined;
|
|
474
473
|
feed_publisher_url?: string | null | undefined;
|
|
474
|
+
feed_version?: string | null | undefined;
|
|
475
475
|
}, {
|
|
476
476
|
feed_lang: string;
|
|
477
477
|
feed_end_date?: string | null | undefined;
|
|
478
478
|
feed_start_date?: string | null | undefined;
|
|
479
|
-
feed_version?: string | null | undefined;
|
|
480
479
|
default_lang?: string | null | undefined;
|
|
481
480
|
feed_contact_email?: string | null | undefined;
|
|
482
481
|
feed_contact_url?: string | null | undefined;
|
|
483
482
|
feed_publisher_name?: string | null | undefined;
|
|
484
483
|
feed_publisher_url?: string | null | undefined;
|
|
484
|
+
feed_version?: string | null | undefined;
|
|
485
485
|
}>>;
|
|
486
486
|
notification_sent: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
487
487
|
summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -553,12 +553,12 @@ export declare const UpdateGtfsValidationSchema: z.ZodObject<{
|
|
|
553
553
|
feed_lang: string;
|
|
554
554
|
feed_end_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
555
555
|
feed_start_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
|
|
556
|
-
feed_version?: string | null | undefined;
|
|
557
556
|
default_lang?: string | null | undefined;
|
|
558
557
|
feed_contact_email?: string | null | undefined;
|
|
559
558
|
feed_contact_url?: string | null | undefined;
|
|
560
559
|
feed_publisher_name?: string | null | undefined;
|
|
561
560
|
feed_publisher_url?: string | null | undefined;
|
|
561
|
+
feed_version?: string | null | undefined;
|
|
562
562
|
} | undefined;
|
|
563
563
|
notification_sent?: boolean | undefined;
|
|
564
564
|
summary?: {
|
|
@@ -594,12 +594,12 @@ export declare const UpdateGtfsValidationSchema: z.ZodObject<{
|
|
|
594
594
|
feed_lang: string;
|
|
595
595
|
feed_end_date?: string | null | undefined;
|
|
596
596
|
feed_start_date?: string | null | undefined;
|
|
597
|
-
feed_version?: string | null | undefined;
|
|
598
597
|
default_lang?: string | null | undefined;
|
|
599
598
|
feed_contact_email?: string | null | undefined;
|
|
600
599
|
feed_contact_url?: string | null | undefined;
|
|
601
600
|
feed_publisher_name?: string | null | undefined;
|
|
602
601
|
feed_publisher_url?: string | null | undefined;
|
|
602
|
+
feed_version?: string | null | undefined;
|
|
603
603
|
} | undefined;
|
|
604
604
|
notification_sent?: boolean | undefined;
|
|
605
605
|
summary?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -7,11 +7,9 @@ export * from './dates/index.js';
|
|
|
7
7
|
export * from './file-exports/index.js';
|
|
8
8
|
export * from './file.js';
|
|
9
9
|
export * from './gtfs-new/index.js';
|
|
10
|
-
export * from './gtfs-rt/index.js';
|
|
11
10
|
export * from './gtfs-tml/index.js';
|
|
12
11
|
export * from './gtfs-validation/index.js';
|
|
13
12
|
export * from './gtfs/index.js';
|
|
14
|
-
export * from './hub/index.js';
|
|
15
13
|
export * from './locations/index.js';
|
|
16
14
|
export * from './metrics/index.js';
|
|
17
15
|
export * from './notification.js';
|
|
@@ -26,4 +24,5 @@ export * from './stops/index.js';
|
|
|
26
24
|
export * from './vehicle-events/index.js';
|
|
27
25
|
export * from './vehicle/index.js';
|
|
28
26
|
export * from './wiki.js';
|
|
27
|
+
export * from '@tmlmobilidade/go-types-gtfs-rt';
|
|
29
28
|
export * from '@tmlmobilidade/go-types-shared';
|
package/dist/index.js
CHANGED
|
@@ -7,11 +7,9 @@ export * from './dates/index.js';
|
|
|
7
7
|
export * from './file-exports/index.js';
|
|
8
8
|
export * from './file.js';
|
|
9
9
|
export * from './gtfs-new/index.js';
|
|
10
|
-
export * from './gtfs-rt/index.js';
|
|
11
10
|
export * from './gtfs-tml/index.js';
|
|
12
11
|
export * from './gtfs-validation/index.js';
|
|
13
12
|
export * from './gtfs/index.js';
|
|
14
|
-
export * from './hub/index.js';
|
|
15
13
|
export * from './locations/index.js';
|
|
16
14
|
export * from './metrics/index.js';
|
|
17
15
|
export * from './notification.js';
|
|
@@ -26,4 +24,5 @@ export * from './stops/index.js';
|
|
|
26
24
|
export * from './vehicle-events/index.js';
|
|
27
25
|
export * from './vehicle/index.js';
|
|
28
26
|
export * from './wiki.js';
|
|
27
|
+
export * from '@tmlmobilidade/go-types-gtfs-rt';
|
|
29
28
|
export * from '@tmlmobilidade/go-types-shared';
|
|
@@ -49,8 +49,8 @@ export declare const GetAllMunicipalitiesQuerySchema: z.ZodObject<{
|
|
|
49
49
|
geojson: boolean;
|
|
50
50
|
district_ids?: string[] | null | undefined;
|
|
51
51
|
}, {
|
|
52
|
-
district_ids?: unknown;
|
|
53
52
|
geojson?: unknown;
|
|
53
|
+
district_ids?: unknown;
|
|
54
54
|
}>;
|
|
55
55
|
/**
|
|
56
56
|
* This type represents the query parameters for fetching all Municipalities
|
|
@@ -75,8 +75,8 @@ export declare const GetAllParishesQuerySchema: z.ZodObject<{
|
|
|
75
75
|
district_ids?: string[] | null | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
municipality_ids?: unknown;
|
|
78
|
-
district_ids?: unknown;
|
|
79
78
|
geojson?: unknown;
|
|
79
|
+
district_ids?: unknown;
|
|
80
80
|
limit?: number | undefined;
|
|
81
81
|
page?: number | undefined;
|
|
82
82
|
}>;
|
|
@@ -103,11 +103,11 @@ export declare const GetAllLocalitiesQuerySchema: z.ZodObject<{
|
|
|
103
103
|
parish_ids?: string[] | null | undefined;
|
|
104
104
|
}, {
|
|
105
105
|
municipality_ids?: unknown;
|
|
106
|
-
district_ids?: unknown;
|
|
107
|
-
parish_ids?: unknown;
|
|
108
106
|
geojson?: unknown;
|
|
107
|
+
district_ids?: unknown;
|
|
109
108
|
limit?: number | undefined;
|
|
110
109
|
page?: number | undefined;
|
|
110
|
+
parish_ids?: unknown;
|
|
111
111
|
}>;
|
|
112
112
|
/**
|
|
113
113
|
* This type represents the query parameters for fetching all Localities
|