@tmlmobilidade/types 20260625.1443.7 → 20260626.1034.45

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.
@@ -17,7 +17,9 @@ export declare const RawVehicleEventCrtmLaVelozV1PayloadSchema: z.ZodObject<{
17
17
  feed_version?: string | null | undefined;
18
18
  }>;
19
19
  vehicle: z.ZodObject<{
20
+ congestion_level: z.ZodOptional<z.ZodNullable<z.ZodEnum<["UNKNOWN_CONGESTION_LEVEL", "RUNNING_SMOOTHLY", "STOP_AND_GO", "CONGESTION", "SEVERE_CONGESTION"]>>>;
20
21
  current_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["INCOMING_AT", "STOPPED_AT", "IN_TRANSIT_TO"]>>>;
22
+ current_stop_sequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
23
  occupancy_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["EMPTY", "MANY_SEATS_AVAILABLE", "FEW_SEATS_AVAILABLE", "STANDING_ROOM_ONLY", "CRUSHED_STANDING_ROOM_ONLY", "FULL", "NOT_ACCEPTING_PASSENGERS", "NO_DATA_AVAILABLE", "NOT_BOARDABLE"]>>>;
22
24
  position: z.ZodObject<{
23
25
  bearing: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -41,49 +43,49 @@ export declare const RawVehicleEventCrtmLaVelozV1PayloadSchema: z.ZodObject<{
41
43
  stop_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
44
  timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
45
  trip: z.ZodObject<{
44
- route_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
- schedule_relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["SCHEDULED", "ADDED", "UNSCHEDULED", "CANCELED"]>>>;
46
- start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ direction_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
+ route_id: z.ZodString;
48
+ schedule_relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["SCHEDULED", "NOT_SCHEDULED", "CANCELED", "ADDED"]>>>;
49
+ start_date: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, import("../../../index.js").OperationalDate, string>>>;
50
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
51
  trip_id: z.ZodString;
48
52
  }, "strip", z.ZodTypeAny, {
53
+ route_id: string;
49
54
  trip_id: string;
50
- route_id?: string | null | undefined;
51
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
52
- start_date?: string | null | undefined;
55
+ start_time?: string | null | undefined;
56
+ direction_id?: number | null | undefined;
57
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
58
+ start_date?: import("../../../index.js").OperationalDate | null | undefined;
53
59
  }, {
60
+ route_id: string;
54
61
  trip_id: string;
55
- route_id?: string | null | undefined;
56
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
62
+ start_time?: string | null | undefined;
63
+ direction_id?: number | null | undefined;
64
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
57
65
  start_date?: string | null | undefined;
58
66
  }>;
59
67
  vehicle: z.ZodObject<{
60
68
  id: z.ZodString;
61
- label: z.ZodString;
62
- license_plate: z.ZodString;
63
- wheelchair_accessible: z.ZodEnum<["NO_VALUE", "UNKNOWN", "WHEELCHAIR_ACCESSIBLE", "WHEELCHAIR_INACCESSIBLE"]>;
69
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
70
  }, "strip", z.ZodTypeAny, {
65
71
  id: string;
66
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
67
- label: string;
68
- license_plate: string;
72
+ label?: string | null | undefined;
69
73
  }, {
70
74
  id: string;
71
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
72
- label: string;
73
- license_plate: string;
75
+ label?: string | null | undefined;
74
76
  }>;
75
77
  }, "strip", z.ZodTypeAny, {
76
78
  vehicle: {
77
79
  id: string;
78
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
79
- label: string;
80
- license_plate: string;
80
+ label?: string | null | undefined;
81
81
  };
82
82
  trip: {
83
+ route_id: string;
83
84
  trip_id: string;
84
- route_id?: string | null | undefined;
85
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
86
- start_date?: string | null | undefined;
85
+ start_time?: string | null | undefined;
86
+ direction_id?: number | null | undefined;
87
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
88
+ start_date?: import("../../../index.js").OperationalDate | null | undefined;
87
89
  };
88
90
  position: {
89
91
  latitude: number;
@@ -94,19 +96,21 @@ export declare const RawVehicleEventCrtmLaVelozV1PayloadSchema: z.ZodObject<{
94
96
  };
95
97
  stop_id?: string | null | undefined;
96
98
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
99
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
97
100
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
101
+ current_stop_sequence?: number | null | undefined;
98
102
  timestamp?: number | null | undefined;
99
103
  }, {
100
104
  vehicle: {
101
105
  id: string;
102
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
103
- label: string;
104
- license_plate: string;
106
+ label?: string | null | undefined;
105
107
  };
106
108
  trip: {
109
+ route_id: string;
107
110
  trip_id: string;
108
- route_id?: string | null | undefined;
109
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
111
+ start_time?: string | null | undefined;
112
+ direction_id?: number | null | undefined;
113
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
110
114
  start_date?: string | null | undefined;
111
115
  };
112
116
  position: {
@@ -118,22 +122,24 @@ export declare const RawVehicleEventCrtmLaVelozV1PayloadSchema: z.ZodObject<{
118
122
  };
119
123
  stop_id?: string | null | undefined;
120
124
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
125
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
121
126
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
127
+ current_stop_sequence?: number | null | undefined;
122
128
  timestamp?: number | null | undefined;
123
129
  }>;
124
130
  }, "strip", z.ZodTypeAny, {
125
131
  vehicle: {
126
132
  vehicle: {
127
133
  id: string;
128
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
129
- label: string;
130
- license_plate: string;
134
+ label?: string | null | undefined;
131
135
  };
132
136
  trip: {
137
+ route_id: string;
133
138
  trip_id: string;
134
- route_id?: string | null | undefined;
135
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
136
- start_date?: string | null | undefined;
139
+ start_time?: string | null | undefined;
140
+ direction_id?: number | null | undefined;
141
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
142
+ start_date?: import("../../../index.js").OperationalDate | null | undefined;
137
143
  };
138
144
  position: {
139
145
  latitude: number;
@@ -144,7 +150,9 @@ export declare const RawVehicleEventCrtmLaVelozV1PayloadSchema: z.ZodObject<{
144
150
  };
145
151
  stop_id?: string | null | undefined;
146
152
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
153
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
147
154
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
155
+ current_stop_sequence?: number | null | undefined;
148
156
  timestamp?: number | null | undefined;
149
157
  };
150
158
  header: {
@@ -157,14 +165,14 @@ export declare const RawVehicleEventCrtmLaVelozV1PayloadSchema: z.ZodObject<{
157
165
  vehicle: {
158
166
  vehicle: {
159
167
  id: string;
160
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
161
- label: string;
162
- license_plate: string;
168
+ label?: string | null | undefined;
163
169
  };
164
170
  trip: {
171
+ route_id: string;
165
172
  trip_id: string;
166
- route_id?: string | null | undefined;
167
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
173
+ start_time?: string | null | undefined;
174
+ direction_id?: number | null | undefined;
175
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
168
176
  start_date?: string | null | undefined;
169
177
  };
170
178
  position: {
@@ -176,7 +184,9 @@ export declare const RawVehicleEventCrtmLaVelozV1PayloadSchema: z.ZodObject<{
176
184
  };
177
185
  stop_id?: string | null | undefined;
178
186
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
187
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
179
188
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
189
+ current_stop_sequence?: number | null | undefined;
180
190
  timestamp?: number | null | undefined;
181
191
  };
182
192
  header: {
@@ -190,9 +200,9 @@ export type RawVehicleEventCrtmLaVelozV1Payload = z.infer<typeof RawVehicleEvent
190
200
  export declare const RawVehicleEventCrtmLaVelozV1Schema: z.ZodObject<{
191
201
  _id: z.ZodString;
192
202
  agency_id: z.ZodString;
193
- created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
203
+ created_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
194
204
  entity_id: z.ZodString;
195
- received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
205
+ received_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
196
206
  } & {
197
207
  payload: z.ZodObject<{
198
208
  header: z.ZodObject<{
@@ -212,7 +222,9 @@ export declare const RawVehicleEventCrtmLaVelozV1Schema: z.ZodObject<{
212
222
  feed_version?: string | null | undefined;
213
223
  }>;
214
224
  vehicle: z.ZodObject<{
225
+ congestion_level: z.ZodOptional<z.ZodNullable<z.ZodEnum<["UNKNOWN_CONGESTION_LEVEL", "RUNNING_SMOOTHLY", "STOP_AND_GO", "CONGESTION", "SEVERE_CONGESTION"]>>>;
215
226
  current_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["INCOMING_AT", "STOPPED_AT", "IN_TRANSIT_TO"]>>>;
227
+ current_stop_sequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
216
228
  occupancy_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["EMPTY", "MANY_SEATS_AVAILABLE", "FEW_SEATS_AVAILABLE", "STANDING_ROOM_ONLY", "CRUSHED_STANDING_ROOM_ONLY", "FULL", "NOT_ACCEPTING_PASSENGERS", "NO_DATA_AVAILABLE", "NOT_BOARDABLE"]>>>;
217
229
  position: z.ZodObject<{
218
230
  bearing: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -236,49 +248,49 @@ export declare const RawVehicleEventCrtmLaVelozV1Schema: z.ZodObject<{
236
248
  stop_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
237
249
  timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
238
250
  trip: z.ZodObject<{
239
- route_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
240
- schedule_relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["SCHEDULED", "ADDED", "UNSCHEDULED", "CANCELED"]>>>;
241
- start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
251
+ direction_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
252
+ route_id: z.ZodString;
253
+ schedule_relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["SCHEDULED", "NOT_SCHEDULED", "CANCELED", "ADDED"]>>>;
254
+ start_date: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, import("../../../index.js").OperationalDate, string>>>;
255
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
242
256
  trip_id: z.ZodString;
243
257
  }, "strip", z.ZodTypeAny, {
258
+ route_id: string;
244
259
  trip_id: string;
245
- route_id?: string | null | undefined;
246
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
247
- start_date?: string | null | undefined;
260
+ start_time?: string | null | undefined;
261
+ direction_id?: number | null | undefined;
262
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
263
+ start_date?: import("../../../index.js").OperationalDate | null | undefined;
248
264
  }, {
265
+ route_id: string;
249
266
  trip_id: string;
250
- route_id?: string | null | undefined;
251
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
267
+ start_time?: string | null | undefined;
268
+ direction_id?: number | null | undefined;
269
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
252
270
  start_date?: string | null | undefined;
253
271
  }>;
254
272
  vehicle: z.ZodObject<{
255
273
  id: z.ZodString;
256
- label: z.ZodString;
257
- license_plate: z.ZodString;
258
- wheelchair_accessible: z.ZodEnum<["NO_VALUE", "UNKNOWN", "WHEELCHAIR_ACCESSIBLE", "WHEELCHAIR_INACCESSIBLE"]>;
274
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
275
  }, "strip", z.ZodTypeAny, {
260
276
  id: string;
261
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
262
- label: string;
263
- license_plate: string;
277
+ label?: string | null | undefined;
264
278
  }, {
265
279
  id: string;
266
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
267
- label: string;
268
- license_plate: string;
280
+ label?: string | null | undefined;
269
281
  }>;
270
282
  }, "strip", z.ZodTypeAny, {
271
283
  vehicle: {
272
284
  id: string;
273
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
274
- label: string;
275
- license_plate: string;
285
+ label?: string | null | undefined;
276
286
  };
277
287
  trip: {
288
+ route_id: string;
278
289
  trip_id: string;
279
- route_id?: string | null | undefined;
280
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
281
- start_date?: string | null | undefined;
290
+ start_time?: string | null | undefined;
291
+ direction_id?: number | null | undefined;
292
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
293
+ start_date?: import("../../../index.js").OperationalDate | null | undefined;
282
294
  };
283
295
  position: {
284
296
  latitude: number;
@@ -289,19 +301,21 @@ export declare const RawVehicleEventCrtmLaVelozV1Schema: z.ZodObject<{
289
301
  };
290
302
  stop_id?: string | null | undefined;
291
303
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
304
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
292
305
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
306
+ current_stop_sequence?: number | null | undefined;
293
307
  timestamp?: number | null | undefined;
294
308
  }, {
295
309
  vehicle: {
296
310
  id: string;
297
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
298
- label: string;
299
- license_plate: string;
311
+ label?: string | null | undefined;
300
312
  };
301
313
  trip: {
314
+ route_id: string;
302
315
  trip_id: string;
303
- route_id?: string | null | undefined;
304
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
316
+ start_time?: string | null | undefined;
317
+ direction_id?: number | null | undefined;
318
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
305
319
  start_date?: string | null | undefined;
306
320
  };
307
321
  position: {
@@ -313,22 +327,24 @@ export declare const RawVehicleEventCrtmLaVelozV1Schema: z.ZodObject<{
313
327
  };
314
328
  stop_id?: string | null | undefined;
315
329
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
330
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
316
331
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
332
+ current_stop_sequence?: number | null | undefined;
317
333
  timestamp?: number | null | undefined;
318
334
  }>;
319
335
  }, "strip", z.ZodTypeAny, {
320
336
  vehicle: {
321
337
  vehicle: {
322
338
  id: string;
323
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
324
- label: string;
325
- license_plate: string;
339
+ label?: string | null | undefined;
326
340
  };
327
341
  trip: {
342
+ route_id: string;
328
343
  trip_id: string;
329
- route_id?: string | null | undefined;
330
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
331
- start_date?: string | null | undefined;
344
+ start_time?: string | null | undefined;
345
+ direction_id?: number | null | undefined;
346
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
347
+ start_date?: import("../../../index.js").OperationalDate | null | undefined;
332
348
  };
333
349
  position: {
334
350
  latitude: number;
@@ -339,7 +355,9 @@ export declare const RawVehicleEventCrtmLaVelozV1Schema: z.ZodObject<{
339
355
  };
340
356
  stop_id?: string | null | undefined;
341
357
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
358
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
342
359
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
360
+ current_stop_sequence?: number | null | undefined;
343
361
  timestamp?: number | null | undefined;
344
362
  };
345
363
  header: {
@@ -352,14 +370,14 @@ export declare const RawVehicleEventCrtmLaVelozV1Schema: z.ZodObject<{
352
370
  vehicle: {
353
371
  vehicle: {
354
372
  id: string;
355
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
356
- label: string;
357
- license_plate: string;
373
+ label?: string | null | undefined;
358
374
  };
359
375
  trip: {
376
+ route_id: string;
360
377
  trip_id: string;
361
- route_id?: string | null | undefined;
362
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
378
+ start_time?: string | null | undefined;
379
+ direction_id?: number | null | undefined;
380
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
363
381
  start_date?: string | null | undefined;
364
382
  };
365
383
  position: {
@@ -371,7 +389,9 @@ export declare const RawVehicleEventCrtmLaVelozV1Schema: z.ZodObject<{
371
389
  };
372
390
  stop_id?: string | null | undefined;
373
391
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
392
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
374
393
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
394
+ current_stop_sequence?: number | null | undefined;
375
395
  timestamp?: number | null | undefined;
376
396
  };
377
397
  header: {
@@ -395,15 +415,15 @@ export declare const RawVehicleEventCrtmLaVelozV1Schema: z.ZodObject<{
395
415
  vehicle: {
396
416
  vehicle: {
397
417
  id: string;
398
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
399
- label: string;
400
- license_plate: string;
418
+ label?: string | null | undefined;
401
419
  };
402
420
  trip: {
421
+ route_id: string;
403
422
  trip_id: string;
404
- route_id?: string | null | undefined;
405
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
406
- start_date?: string | null | undefined;
423
+ start_time?: string | null | undefined;
424
+ direction_id?: number | null | undefined;
425
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
426
+ start_date?: import("../../../index.js").OperationalDate | null | undefined;
407
427
  };
408
428
  position: {
409
429
  latitude: number;
@@ -414,7 +434,9 @@ export declare const RawVehicleEventCrtmLaVelozV1Schema: z.ZodObject<{
414
434
  };
415
435
  stop_id?: string | null | undefined;
416
436
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
437
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
417
438
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
439
+ current_stop_sequence?: number | null | undefined;
418
440
  timestamp?: number | null | undefined;
419
441
  };
420
442
  header: {
@@ -435,14 +457,14 @@ export declare const RawVehicleEventCrtmLaVelozV1Schema: z.ZodObject<{
435
457
  vehicle: {
436
458
  vehicle: {
437
459
  id: string;
438
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
439
- label: string;
440
- license_plate: string;
460
+ label?: string | null | undefined;
441
461
  };
442
462
  trip: {
463
+ route_id: string;
443
464
  trip_id: string;
444
- route_id?: string | null | undefined;
445
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
465
+ start_time?: string | null | undefined;
466
+ direction_id?: number | null | undefined;
467
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
446
468
  start_date?: string | null | undefined;
447
469
  };
448
470
  position: {
@@ -454,7 +476,9 @@ export declare const RawVehicleEventCrtmLaVelozV1Schema: z.ZodObject<{
454
476
  };
455
477
  stop_id?: string | null | undefined;
456
478
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
479
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
457
480
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
481
+ current_stop_sequence?: number | null | undefined;
458
482
  timestamp?: number | null | undefined;
459
483
  };
460
484
  header: {
@@ -1,5 +1,6 @@
1
1
  /* * */
2
- import { GtfsRtOccupancyStatusSchema, GtfsRtPositionSchema, GtfsRtVehicleDescriptorSchema, GtfsRtVehicleStopStatusSchema, } from '../../../gtfs-rt/index.js';
2
+ import { GtfsRtCongestionLevelSchema, GtfsRtOccupancyStatusSchema } from '../../../gtfs-rt/index.js';
3
+ import { OperationalDateSchema } from '../../../index.js';
3
4
  import { RawVehicleEventBaseSchema } from '../raw-vehicle-event-base.js';
4
5
  import { z } from 'zod';
5
6
  /* * */
@@ -11,18 +12,31 @@ export const RawVehicleEventCrtmLaVelozV1PayloadSchema = z.object({
11
12
  timestamp: z.number(),
12
13
  }),
13
14
  vehicle: z.object({
14
- current_status: GtfsRtVehicleStopStatusSchema.nullish(),
15
+ congestion_level: GtfsRtCongestionLevelSchema.nullish(),
16
+ current_status: z.enum(['INCOMING_AT', 'STOPPED_AT', 'IN_TRANSIT_TO']).nullish(),
17
+ current_stop_sequence: z.number().nullish(),
15
18
  occupancy_status: GtfsRtOccupancyStatusSchema.nullish(),
16
- position: GtfsRtPositionSchema,
19
+ position: z.object({
20
+ bearing: z.number().nullish(),
21
+ latitude: z.number(),
22
+ longitude: z.number(),
23
+ odometer: z.number().nullish(),
24
+ speed: z.number().nullish(),
25
+ }),
17
26
  stop_id: z.string().nullish(),
18
27
  timestamp: z.number().nullish(),
19
28
  trip: z.object({
20
- route_id: z.string().nullish(),
21
- schedule_relationship: z.enum(['SCHEDULED', 'ADDED', 'UNSCHEDULED', 'CANCELED']).nullish(),
22
- start_date: z.string().nullish(),
29
+ direction_id: z.number().nullish(),
30
+ route_id: z.string(),
31
+ schedule_relationship: z.enum(['SCHEDULED', 'NOT_SCHEDULED', 'CANCELED', 'ADDED']).nullish(),
32
+ start_date: OperationalDateSchema.nullish(),
33
+ start_time: z.string().nullish(),
23
34
  trip_id: z.string(),
24
35
  }),
25
- vehicle: GtfsRtVehicleDescriptorSchema,
36
+ vehicle: z.object({
37
+ id: z.string(),
38
+ label: z.string().nullish(),
39
+ }),
26
40
  }),
27
41
  });
28
42
  /* * */
@@ -2093,7 +2093,9 @@ export declare const RawVehicleEventSchema: z.ZodDiscriminatedUnion<"version", [
2093
2093
  feed_version?: string | null | undefined;
2094
2094
  }>;
2095
2095
  vehicle: z.ZodObject<{
2096
+ congestion_level: z.ZodOptional<z.ZodNullable<z.ZodEnum<["UNKNOWN_CONGESTION_LEVEL", "RUNNING_SMOOTHLY", "STOP_AND_GO", "CONGESTION", "SEVERE_CONGESTION"]>>>;
2096
2097
  current_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["INCOMING_AT", "STOPPED_AT", "IN_TRANSIT_TO"]>>>;
2098
+ current_stop_sequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2097
2099
  occupancy_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["EMPTY", "MANY_SEATS_AVAILABLE", "FEW_SEATS_AVAILABLE", "STANDING_ROOM_ONLY", "CRUSHED_STANDING_ROOM_ONLY", "FULL", "NOT_ACCEPTING_PASSENGERS", "NO_DATA_AVAILABLE", "NOT_BOARDABLE"]>>>;
2098
2100
  position: z.ZodObject<{
2099
2101
  bearing: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2117,49 +2119,49 @@ export declare const RawVehicleEventSchema: z.ZodDiscriminatedUnion<"version", [
2117
2119
  stop_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2118
2120
  timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2119
2121
  trip: z.ZodObject<{
2120
- route_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2121
- schedule_relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["SCHEDULED", "ADDED", "UNSCHEDULED", "CANCELED"]>>>;
2122
- start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2122
+ direction_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2123
+ route_id: z.ZodString;
2124
+ schedule_relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["SCHEDULED", "NOT_SCHEDULED", "CANCELED", "ADDED"]>>>;
2125
+ start_date: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalDate, string>>>;
2126
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2123
2127
  trip_id: z.ZodString;
2124
2128
  }, "strip", z.ZodTypeAny, {
2129
+ route_id: string;
2125
2130
  trip_id: string;
2126
- route_id?: string | null | undefined;
2127
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2128
- start_date?: string | null | undefined;
2131
+ start_time?: string | null | undefined;
2132
+ direction_id?: number | null | undefined;
2133
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
2134
+ start_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
2129
2135
  }, {
2136
+ route_id: string;
2130
2137
  trip_id: string;
2131
- route_id?: string | null | undefined;
2132
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2138
+ start_time?: string | null | undefined;
2139
+ direction_id?: number | null | undefined;
2140
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
2133
2141
  start_date?: string | null | undefined;
2134
2142
  }>;
2135
2143
  vehicle: z.ZodObject<{
2136
2144
  id: z.ZodString;
2137
- label: z.ZodString;
2138
- license_plate: z.ZodString;
2139
- wheelchair_accessible: z.ZodEnum<["NO_VALUE", "UNKNOWN", "WHEELCHAIR_ACCESSIBLE", "WHEELCHAIR_INACCESSIBLE"]>;
2145
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2140
2146
  }, "strip", z.ZodTypeAny, {
2141
2147
  id: string;
2142
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2143
- label: string;
2144
- license_plate: string;
2148
+ label?: string | null | undefined;
2145
2149
  }, {
2146
2150
  id: string;
2147
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2148
- label: string;
2149
- license_plate: string;
2151
+ label?: string | null | undefined;
2150
2152
  }>;
2151
2153
  }, "strip", z.ZodTypeAny, {
2152
2154
  vehicle: {
2153
2155
  id: string;
2154
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2155
- label: string;
2156
- license_plate: string;
2156
+ label?: string | null | undefined;
2157
2157
  };
2158
2158
  trip: {
2159
+ route_id: string;
2159
2160
  trip_id: string;
2160
- route_id?: string | null | undefined;
2161
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2162
- start_date?: string | null | undefined;
2161
+ start_time?: string | null | undefined;
2162
+ direction_id?: number | null | undefined;
2163
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
2164
+ start_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
2163
2165
  };
2164
2166
  position: {
2165
2167
  latitude: number;
@@ -2170,19 +2172,21 @@ export declare const RawVehicleEventSchema: z.ZodDiscriminatedUnion<"version", [
2170
2172
  };
2171
2173
  stop_id?: string | null | undefined;
2172
2174
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
2175
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
2173
2176
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2177
+ current_stop_sequence?: number | null | undefined;
2174
2178
  timestamp?: number | null | undefined;
2175
2179
  }, {
2176
2180
  vehicle: {
2177
2181
  id: string;
2178
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2179
- label: string;
2180
- license_plate: string;
2182
+ label?: string | null | undefined;
2181
2183
  };
2182
2184
  trip: {
2185
+ route_id: string;
2183
2186
  trip_id: string;
2184
- route_id?: string | null | undefined;
2185
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2187
+ start_time?: string | null | undefined;
2188
+ direction_id?: number | null | undefined;
2189
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
2186
2190
  start_date?: string | null | undefined;
2187
2191
  };
2188
2192
  position: {
@@ -2194,22 +2198,24 @@ export declare const RawVehicleEventSchema: z.ZodDiscriminatedUnion<"version", [
2194
2198
  };
2195
2199
  stop_id?: string | null | undefined;
2196
2200
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
2201
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
2197
2202
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2203
+ current_stop_sequence?: number | null | undefined;
2198
2204
  timestamp?: number | null | undefined;
2199
2205
  }>;
2200
2206
  }, "strip", z.ZodTypeAny, {
2201
2207
  vehicle: {
2202
2208
  vehicle: {
2203
2209
  id: string;
2204
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2205
- label: string;
2206
- license_plate: string;
2210
+ label?: string | null | undefined;
2207
2211
  };
2208
2212
  trip: {
2213
+ route_id: string;
2209
2214
  trip_id: string;
2210
- route_id?: string | null | undefined;
2211
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2212
- start_date?: string | null | undefined;
2215
+ start_time?: string | null | undefined;
2216
+ direction_id?: number | null | undefined;
2217
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
2218
+ start_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
2213
2219
  };
2214
2220
  position: {
2215
2221
  latitude: number;
@@ -2220,7 +2226,9 @@ export declare const RawVehicleEventSchema: z.ZodDiscriminatedUnion<"version", [
2220
2226
  };
2221
2227
  stop_id?: string | null | undefined;
2222
2228
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
2229
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
2223
2230
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2231
+ current_stop_sequence?: number | null | undefined;
2224
2232
  timestamp?: number | null | undefined;
2225
2233
  };
2226
2234
  header: {
@@ -2233,14 +2241,14 @@ export declare const RawVehicleEventSchema: z.ZodDiscriminatedUnion<"version", [
2233
2241
  vehicle: {
2234
2242
  vehicle: {
2235
2243
  id: string;
2236
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2237
- label: string;
2238
- license_plate: string;
2244
+ label?: string | null | undefined;
2239
2245
  };
2240
2246
  trip: {
2247
+ route_id: string;
2241
2248
  trip_id: string;
2242
- route_id?: string | null | undefined;
2243
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2249
+ start_time?: string | null | undefined;
2250
+ direction_id?: number | null | undefined;
2251
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
2244
2252
  start_date?: string | null | undefined;
2245
2253
  };
2246
2254
  position: {
@@ -2252,7 +2260,9 @@ export declare const RawVehicleEventSchema: z.ZodDiscriminatedUnion<"version", [
2252
2260
  };
2253
2261
  stop_id?: string | null | undefined;
2254
2262
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
2263
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
2255
2264
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2265
+ current_stop_sequence?: number | null | undefined;
2256
2266
  timestamp?: number | null | undefined;
2257
2267
  };
2258
2268
  header: {
@@ -2276,15 +2286,15 @@ export declare const RawVehicleEventSchema: z.ZodDiscriminatedUnion<"version", [
2276
2286
  vehicle: {
2277
2287
  vehicle: {
2278
2288
  id: string;
2279
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2280
- label: string;
2281
- license_plate: string;
2289
+ label?: string | null | undefined;
2282
2290
  };
2283
2291
  trip: {
2292
+ route_id: string;
2284
2293
  trip_id: string;
2285
- route_id?: string | null | undefined;
2286
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2287
- start_date?: string | null | undefined;
2294
+ start_time?: string | null | undefined;
2295
+ direction_id?: number | null | undefined;
2296
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
2297
+ start_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
2288
2298
  };
2289
2299
  position: {
2290
2300
  latitude: number;
@@ -2295,7 +2305,9 @@ export declare const RawVehicleEventSchema: z.ZodDiscriminatedUnion<"version", [
2295
2305
  };
2296
2306
  stop_id?: string | null | undefined;
2297
2307
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
2308
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
2298
2309
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2310
+ current_stop_sequence?: number | null | undefined;
2299
2311
  timestamp?: number | null | undefined;
2300
2312
  };
2301
2313
  header: {
@@ -2316,14 +2328,14 @@ export declare const RawVehicleEventSchema: z.ZodDiscriminatedUnion<"version", [
2316
2328
  vehicle: {
2317
2329
  vehicle: {
2318
2330
  id: string;
2319
- wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2320
- label: string;
2321
- license_plate: string;
2331
+ label?: string | null | undefined;
2322
2332
  };
2323
2333
  trip: {
2334
+ route_id: string;
2324
2335
  trip_id: string;
2325
- route_id?: string | null | undefined;
2326
- schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2336
+ start_time?: string | null | undefined;
2337
+ direction_id?: number | null | undefined;
2338
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
2327
2339
  start_date?: string | null | undefined;
2328
2340
  };
2329
2341
  position: {
@@ -2335,7 +2347,9 @@ export declare const RawVehicleEventSchema: z.ZodDiscriminatedUnion<"version", [
2335
2347
  };
2336
2348
  stop_id?: string | null | undefined;
2337
2349
  occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
2350
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
2338
2351
  current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2352
+ current_stop_sequence?: number | null | undefined;
2339
2353
  timestamp?: number | null | undefined;
2340
2354
  };
2341
2355
  header: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20260625.1443.7",
3
+ "version": "20260626.1034.45",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"