@tmlmobilidade/types 20260625.1419.32 → 20260625.1714.32

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.
@@ -0,0 +1 @@
1
+ export * from './v1.js';
@@ -0,0 +1 @@
1
+ export * from './v1.js';
@@ -0,0 +1,494 @@
1
+ import { z } from 'zod';
2
+ export declare const RawVehicleEventCrtmLaVelozV1PayloadSchema: z.ZodObject<{
3
+ header: z.ZodObject<{
4
+ feed_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ gtfs_realtime_version: z.ZodString;
6
+ incrementality: z.ZodLiteral<"FULL_DATASET">;
7
+ timestamp: z.ZodNumber;
8
+ }, "strip", z.ZodTypeAny, {
9
+ timestamp: number;
10
+ gtfs_realtime_version: string;
11
+ incrementality: "FULL_DATASET";
12
+ feed_version?: string | null | undefined;
13
+ }, {
14
+ timestamp: number;
15
+ gtfs_realtime_version: string;
16
+ incrementality: "FULL_DATASET";
17
+ feed_version?: string | null | undefined;
18
+ }>;
19
+ vehicle: z.ZodObject<{
20
+ congestion_level: z.ZodOptional<z.ZodNullable<z.ZodEnum<["UNKNOWN_CONGESTION_LEVEL", "RUNNING_SMOOTHLY", "STOP_AND_GO", "CONGESTION", "SEVERE_CONGESTION"]>>>;
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>>;
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"]>>>;
24
+ position: z.ZodObject<{
25
+ bearing: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ latitude: z.ZodNumber;
27
+ longitude: z.ZodNumber;
28
+ odometer: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ speed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ latitude: number;
32
+ longitude: number;
33
+ bearing?: number | null | undefined;
34
+ odometer?: number | null | undefined;
35
+ speed?: number | null | undefined;
36
+ }, {
37
+ latitude: number;
38
+ longitude: number;
39
+ bearing?: number | null | undefined;
40
+ odometer?: number | null | undefined;
41
+ speed?: number | null | undefined;
42
+ }>;
43
+ stop_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ trip: z.ZodObject<{
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>>;
51
+ trip_id: z.ZodString;
52
+ }, "strip", z.ZodTypeAny, {
53
+ route_id: string;
54
+ trip_id: string;
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;
59
+ }, {
60
+ route_id: string;
61
+ trip_id: string;
62
+ start_time?: string | null | undefined;
63
+ direction_id?: number | null | undefined;
64
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
65
+ start_date?: string | null | undefined;
66
+ }>;
67
+ vehicle: z.ZodObject<{
68
+ id: z.ZodString;
69
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ }, "strip", z.ZodTypeAny, {
71
+ id: string;
72
+ label?: string | null | undefined;
73
+ }, {
74
+ id: string;
75
+ label?: string | null | undefined;
76
+ }>;
77
+ }, "strip", z.ZodTypeAny, {
78
+ vehicle: {
79
+ id: string;
80
+ label?: string | null | undefined;
81
+ };
82
+ trip: {
83
+ route_id: string;
84
+ trip_id: string;
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;
89
+ };
90
+ position: {
91
+ latitude: number;
92
+ longitude: number;
93
+ bearing?: number | null | undefined;
94
+ odometer?: number | null | undefined;
95
+ speed?: number | null | undefined;
96
+ };
97
+ stop_id?: string | null | undefined;
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;
100
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
101
+ current_stop_sequence?: number | null | undefined;
102
+ timestamp?: number | null | undefined;
103
+ }, {
104
+ vehicle: {
105
+ id: string;
106
+ label?: string | null | undefined;
107
+ };
108
+ trip: {
109
+ route_id: string;
110
+ trip_id: string;
111
+ start_time?: string | null | undefined;
112
+ direction_id?: number | null | undefined;
113
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
114
+ start_date?: string | null | undefined;
115
+ };
116
+ position: {
117
+ latitude: number;
118
+ longitude: number;
119
+ bearing?: number | null | undefined;
120
+ odometer?: number | null | undefined;
121
+ speed?: number | null | undefined;
122
+ };
123
+ stop_id?: string | null | undefined;
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;
126
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
127
+ current_stop_sequence?: number | null | undefined;
128
+ timestamp?: number | null | undefined;
129
+ }>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ vehicle: {
132
+ vehicle: {
133
+ id: string;
134
+ label?: string | null | undefined;
135
+ };
136
+ trip: {
137
+ route_id: string;
138
+ trip_id: string;
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;
143
+ };
144
+ position: {
145
+ latitude: number;
146
+ longitude: number;
147
+ bearing?: number | null | undefined;
148
+ odometer?: number | null | undefined;
149
+ speed?: number | null | undefined;
150
+ };
151
+ stop_id?: string | null | undefined;
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;
154
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
155
+ current_stop_sequence?: number | null | undefined;
156
+ timestamp?: number | null | undefined;
157
+ };
158
+ header: {
159
+ timestamp: number;
160
+ gtfs_realtime_version: string;
161
+ incrementality: "FULL_DATASET";
162
+ feed_version?: string | null | undefined;
163
+ };
164
+ }, {
165
+ vehicle: {
166
+ vehicle: {
167
+ id: string;
168
+ label?: string | null | undefined;
169
+ };
170
+ trip: {
171
+ route_id: string;
172
+ trip_id: string;
173
+ start_time?: string | null | undefined;
174
+ direction_id?: number | null | undefined;
175
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
176
+ start_date?: string | null | undefined;
177
+ };
178
+ position: {
179
+ latitude: number;
180
+ longitude: number;
181
+ bearing?: number | null | undefined;
182
+ odometer?: number | null | undefined;
183
+ speed?: number | null | undefined;
184
+ };
185
+ stop_id?: string | null | undefined;
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;
188
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
189
+ current_stop_sequence?: number | null | undefined;
190
+ timestamp?: number | null | undefined;
191
+ };
192
+ header: {
193
+ timestamp: number;
194
+ gtfs_realtime_version: string;
195
+ incrementality: "FULL_DATASET";
196
+ feed_version?: string | null | undefined;
197
+ };
198
+ }>;
199
+ export type RawVehicleEventCrtmLaVelozV1Payload = z.infer<typeof RawVehicleEventCrtmLaVelozV1PayloadSchema>;
200
+ export declare const RawVehicleEventCrtmLaVelozV1Schema: z.ZodObject<{
201
+ _id: z.ZodString;
202
+ agency_id: z.ZodString;
203
+ created_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
204
+ entity_id: z.ZodString;
205
+ received_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
206
+ } & {
207
+ payload: z.ZodObject<{
208
+ header: z.ZodObject<{
209
+ feed_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
210
+ gtfs_realtime_version: z.ZodString;
211
+ incrementality: z.ZodLiteral<"FULL_DATASET">;
212
+ timestamp: z.ZodNumber;
213
+ }, "strip", z.ZodTypeAny, {
214
+ timestamp: number;
215
+ gtfs_realtime_version: string;
216
+ incrementality: "FULL_DATASET";
217
+ feed_version?: string | null | undefined;
218
+ }, {
219
+ timestamp: number;
220
+ gtfs_realtime_version: string;
221
+ incrementality: "FULL_DATASET";
222
+ feed_version?: string | null | undefined;
223
+ }>;
224
+ vehicle: z.ZodObject<{
225
+ congestion_level: z.ZodOptional<z.ZodNullable<z.ZodEnum<["UNKNOWN_CONGESTION_LEVEL", "RUNNING_SMOOTHLY", "STOP_AND_GO", "CONGESTION", "SEVERE_CONGESTION"]>>>;
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>>;
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"]>>>;
229
+ position: z.ZodObject<{
230
+ bearing: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
231
+ latitude: z.ZodNumber;
232
+ longitude: z.ZodNumber;
233
+ odometer: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
234
+ speed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
235
+ }, "strip", z.ZodTypeAny, {
236
+ latitude: number;
237
+ longitude: number;
238
+ bearing?: number | null | undefined;
239
+ odometer?: number | null | undefined;
240
+ speed?: number | null | undefined;
241
+ }, {
242
+ latitude: number;
243
+ longitude: number;
244
+ bearing?: number | null | undefined;
245
+ odometer?: number | null | undefined;
246
+ speed?: number | null | undefined;
247
+ }>;
248
+ stop_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
249
+ timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
250
+ trip: z.ZodObject<{
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>>;
256
+ trip_id: z.ZodString;
257
+ }, "strip", z.ZodTypeAny, {
258
+ route_id: string;
259
+ trip_id: string;
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;
264
+ }, {
265
+ route_id: string;
266
+ trip_id: string;
267
+ start_time?: string | null | undefined;
268
+ direction_id?: number | null | undefined;
269
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
270
+ start_date?: string | null | undefined;
271
+ }>;
272
+ vehicle: z.ZodObject<{
273
+ id: z.ZodString;
274
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
+ }, "strip", z.ZodTypeAny, {
276
+ id: string;
277
+ label?: string | null | undefined;
278
+ }, {
279
+ id: string;
280
+ label?: string | null | undefined;
281
+ }>;
282
+ }, "strip", z.ZodTypeAny, {
283
+ vehicle: {
284
+ id: string;
285
+ label?: string | null | undefined;
286
+ };
287
+ trip: {
288
+ route_id: string;
289
+ trip_id: string;
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;
294
+ };
295
+ position: {
296
+ latitude: number;
297
+ longitude: number;
298
+ bearing?: number | null | undefined;
299
+ odometer?: number | null | undefined;
300
+ speed?: number | null | undefined;
301
+ };
302
+ stop_id?: string | null | undefined;
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;
305
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
306
+ current_stop_sequence?: number | null | undefined;
307
+ timestamp?: number | null | undefined;
308
+ }, {
309
+ vehicle: {
310
+ id: string;
311
+ label?: string | null | undefined;
312
+ };
313
+ trip: {
314
+ route_id: string;
315
+ trip_id: string;
316
+ start_time?: string | null | undefined;
317
+ direction_id?: number | null | undefined;
318
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
319
+ start_date?: string | null | undefined;
320
+ };
321
+ position: {
322
+ latitude: number;
323
+ longitude: number;
324
+ bearing?: number | null | undefined;
325
+ odometer?: number | null | undefined;
326
+ speed?: number | null | undefined;
327
+ };
328
+ stop_id?: string | null | undefined;
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;
331
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
332
+ current_stop_sequence?: number | null | undefined;
333
+ timestamp?: number | null | undefined;
334
+ }>;
335
+ }, "strip", z.ZodTypeAny, {
336
+ vehicle: {
337
+ vehicle: {
338
+ id: string;
339
+ label?: string | null | undefined;
340
+ };
341
+ trip: {
342
+ route_id: string;
343
+ trip_id: string;
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;
348
+ };
349
+ position: {
350
+ latitude: number;
351
+ longitude: number;
352
+ bearing?: number | null | undefined;
353
+ odometer?: number | null | undefined;
354
+ speed?: number | null | undefined;
355
+ };
356
+ stop_id?: string | null | undefined;
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;
359
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
360
+ current_stop_sequence?: number | null | undefined;
361
+ timestamp?: number | null | undefined;
362
+ };
363
+ header: {
364
+ timestamp: number;
365
+ gtfs_realtime_version: string;
366
+ incrementality: "FULL_DATASET";
367
+ feed_version?: string | null | undefined;
368
+ };
369
+ }, {
370
+ vehicle: {
371
+ vehicle: {
372
+ id: string;
373
+ label?: string | null | undefined;
374
+ };
375
+ trip: {
376
+ route_id: string;
377
+ trip_id: string;
378
+ start_time?: string | null | undefined;
379
+ direction_id?: number | null | undefined;
380
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
381
+ start_date?: string | null | undefined;
382
+ };
383
+ position: {
384
+ latitude: number;
385
+ longitude: number;
386
+ bearing?: number | null | undefined;
387
+ odometer?: number | null | undefined;
388
+ speed?: number | null | undefined;
389
+ };
390
+ stop_id?: string | null | undefined;
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;
393
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
394
+ current_stop_sequence?: number | null | undefined;
395
+ timestamp?: number | null | undefined;
396
+ };
397
+ header: {
398
+ timestamp: number;
399
+ gtfs_realtime_version: string;
400
+ incrementality: "FULL_DATASET";
401
+ feed_version?: string | null | undefined;
402
+ };
403
+ }>;
404
+ version: z.ZodLiteral<"crtm-laveloz-v1">;
405
+ }, "strip", z.ZodTypeAny, {
406
+ _id: string;
407
+ created_at: number & {
408
+ __brand: "UnixTimestamp";
409
+ };
410
+ agency_id: string;
411
+ received_at: number & {
412
+ __brand: "UnixTimestamp";
413
+ };
414
+ payload: {
415
+ vehicle: {
416
+ vehicle: {
417
+ id: string;
418
+ label?: string | null | undefined;
419
+ };
420
+ trip: {
421
+ route_id: string;
422
+ trip_id: string;
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;
427
+ };
428
+ position: {
429
+ latitude: number;
430
+ longitude: number;
431
+ bearing?: number | null | undefined;
432
+ odometer?: number | null | undefined;
433
+ speed?: number | null | undefined;
434
+ };
435
+ stop_id?: string | null | undefined;
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;
438
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
439
+ current_stop_sequence?: number | null | undefined;
440
+ timestamp?: number | null | undefined;
441
+ };
442
+ header: {
443
+ timestamp: number;
444
+ gtfs_realtime_version: string;
445
+ incrementality: "FULL_DATASET";
446
+ feed_version?: string | null | undefined;
447
+ };
448
+ };
449
+ entity_id: string;
450
+ version: "crtm-laveloz-v1";
451
+ }, {
452
+ _id: string;
453
+ created_at: number;
454
+ agency_id: string;
455
+ received_at: number;
456
+ payload: {
457
+ vehicle: {
458
+ vehicle: {
459
+ id: string;
460
+ label?: string | null | undefined;
461
+ };
462
+ trip: {
463
+ route_id: string;
464
+ trip_id: string;
465
+ start_time?: string | null | undefined;
466
+ direction_id?: number | null | undefined;
467
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
468
+ start_date?: string | null | undefined;
469
+ };
470
+ position: {
471
+ latitude: number;
472
+ longitude: number;
473
+ bearing?: number | null | undefined;
474
+ odometer?: number | null | undefined;
475
+ speed?: number | null | undefined;
476
+ };
477
+ stop_id?: string | null | undefined;
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;
480
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
481
+ current_stop_sequence?: number | null | undefined;
482
+ timestamp?: number | null | undefined;
483
+ };
484
+ header: {
485
+ timestamp: number;
486
+ gtfs_realtime_version: string;
487
+ incrementality: "FULL_DATASET";
488
+ feed_version?: string | null | undefined;
489
+ };
490
+ };
491
+ entity_id: string;
492
+ version: "crtm-laveloz-v1";
493
+ }>;
494
+ export type RawVehicleEventCrtmLaVelozV1 = z.infer<typeof RawVehicleEventCrtmLaVelozV1Schema>;
@@ -0,0 +1,46 @@
1
+ /* * */
2
+ import { GtfsRtCongestionLevelSchema, GtfsRtOccupancyStatusSchema } from '../../../gtfs-rt/index.js';
3
+ import { OperationalDateSchema } from '../../../index.js';
4
+ import { RawVehicleEventBaseSchema } from '../raw-vehicle-event-base.js';
5
+ import { z } from 'zod';
6
+ /* * */
7
+ export const RawVehicleEventCrtmLaVelozV1PayloadSchema = z.object({
8
+ header: z.object({
9
+ feed_version: z.string().nullish(),
10
+ gtfs_realtime_version: z.string(),
11
+ incrementality: z.literal('FULL_DATASET'),
12
+ timestamp: z.number(),
13
+ }),
14
+ vehicle: z.object({
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(),
18
+ occupancy_status: GtfsRtOccupancyStatusSchema.nullish(),
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
+ }),
26
+ stop_id: z.string().nullish(),
27
+ timestamp: z.number().nullish(),
28
+ trip: z.object({
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(),
34
+ trip_id: z.string(),
35
+ }),
36
+ vehicle: z.object({
37
+ id: z.string(),
38
+ label: z.string().nullish(),
39
+ }),
40
+ }),
41
+ });
42
+ /* * */
43
+ export const RawVehicleEventCrtmLaVelozV1Schema = RawVehicleEventBaseSchema.extend({
44
+ payload: RawVehicleEventCrtmLaVelozV1PayloadSchema,
45
+ version: z.literal('crtm-laveloz-v1'),
46
+ });
@@ -2,6 +2,7 @@ export * from './ccfl/index.js';
2
2
  export * from './cmet/index.js';
3
3
  export * from './cp/index.js';
4
4
  export * from './crtm-aisa/index.js';
5
+ export * from './crtm-laveloz/index.js';
5
6
  export * from './fertagus/index.js';
6
7
  export * from './ml/index.js';
7
8
  export * from './mobi/index.js';
@@ -2,6 +2,7 @@ export * from './ccfl/index.js';
2
2
  export * from './cmet/index.js';
3
3
  export * from './cp/index.js';
4
4
  export * from './crtm-aisa/index.js';
5
+ export * from './crtm-laveloz/index.js';
5
6
  export * from './fertagus/index.js';
6
7
  export * from './ml/index.js';
7
8
  export * from './mobi/index.js';
@@ -2074,6 +2074,299 @@ export declare const RawVehicleEventSchema: z.ZodDiscriminatedUnion<"version", [
2074
2074
  created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
2075
2075
  entity_id: z.ZodString;
2076
2076
  received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
2077
+ } & {
2078
+ payload: z.ZodObject<{
2079
+ header: z.ZodObject<{
2080
+ feed_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2081
+ gtfs_realtime_version: z.ZodString;
2082
+ incrementality: z.ZodLiteral<"FULL_DATASET">;
2083
+ timestamp: z.ZodNumber;
2084
+ }, "strip", z.ZodTypeAny, {
2085
+ timestamp: number;
2086
+ gtfs_realtime_version: string;
2087
+ incrementality: "FULL_DATASET";
2088
+ feed_version?: string | null | undefined;
2089
+ }, {
2090
+ timestamp: number;
2091
+ gtfs_realtime_version: string;
2092
+ incrementality: "FULL_DATASET";
2093
+ feed_version?: string | null | undefined;
2094
+ }>;
2095
+ vehicle: z.ZodObject<{
2096
+ congestion_level: z.ZodOptional<z.ZodNullable<z.ZodEnum<["UNKNOWN_CONGESTION_LEVEL", "RUNNING_SMOOTHLY", "STOP_AND_GO", "CONGESTION", "SEVERE_CONGESTION"]>>>;
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>>;
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"]>>>;
2100
+ position: z.ZodObject<{
2101
+ bearing: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2102
+ latitude: z.ZodNumber;
2103
+ longitude: z.ZodNumber;
2104
+ odometer: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2105
+ speed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2106
+ }, "strip", z.ZodTypeAny, {
2107
+ latitude: number;
2108
+ longitude: number;
2109
+ bearing?: number | null | undefined;
2110
+ odometer?: number | null | undefined;
2111
+ speed?: number | null | undefined;
2112
+ }, {
2113
+ latitude: number;
2114
+ longitude: number;
2115
+ bearing?: number | null | undefined;
2116
+ odometer?: number | null | undefined;
2117
+ speed?: number | null | undefined;
2118
+ }>;
2119
+ stop_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2120
+ timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2121
+ trip: z.ZodObject<{
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>>;
2127
+ trip_id: z.ZodString;
2128
+ }, "strip", z.ZodTypeAny, {
2129
+ route_id: string;
2130
+ trip_id: string;
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;
2135
+ }, {
2136
+ route_id: string;
2137
+ trip_id: string;
2138
+ start_time?: string | null | undefined;
2139
+ direction_id?: number | null | undefined;
2140
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
2141
+ start_date?: string | null | undefined;
2142
+ }>;
2143
+ vehicle: z.ZodObject<{
2144
+ id: z.ZodString;
2145
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2146
+ }, "strip", z.ZodTypeAny, {
2147
+ id: string;
2148
+ label?: string | null | undefined;
2149
+ }, {
2150
+ id: string;
2151
+ label?: string | null | undefined;
2152
+ }>;
2153
+ }, "strip", z.ZodTypeAny, {
2154
+ vehicle: {
2155
+ id: string;
2156
+ label?: string | null | undefined;
2157
+ };
2158
+ trip: {
2159
+ route_id: string;
2160
+ trip_id: string;
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;
2165
+ };
2166
+ position: {
2167
+ latitude: number;
2168
+ longitude: number;
2169
+ bearing?: number | null | undefined;
2170
+ odometer?: number | null | undefined;
2171
+ speed?: number | null | undefined;
2172
+ };
2173
+ stop_id?: string | null | undefined;
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;
2176
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2177
+ current_stop_sequence?: number | null | undefined;
2178
+ timestamp?: number | null | undefined;
2179
+ }, {
2180
+ vehicle: {
2181
+ id: string;
2182
+ label?: string | null | undefined;
2183
+ };
2184
+ trip: {
2185
+ route_id: string;
2186
+ trip_id: string;
2187
+ start_time?: string | null | undefined;
2188
+ direction_id?: number | null | undefined;
2189
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
2190
+ start_date?: string | null | undefined;
2191
+ };
2192
+ position: {
2193
+ latitude: number;
2194
+ longitude: number;
2195
+ bearing?: number | null | undefined;
2196
+ odometer?: number | null | undefined;
2197
+ speed?: number | null | undefined;
2198
+ };
2199
+ stop_id?: string | null | undefined;
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;
2202
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2203
+ current_stop_sequence?: number | null | undefined;
2204
+ timestamp?: number | null | undefined;
2205
+ }>;
2206
+ }, "strip", z.ZodTypeAny, {
2207
+ vehicle: {
2208
+ vehicle: {
2209
+ id: string;
2210
+ label?: string | null | undefined;
2211
+ };
2212
+ trip: {
2213
+ route_id: string;
2214
+ trip_id: string;
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;
2219
+ };
2220
+ position: {
2221
+ latitude: number;
2222
+ longitude: number;
2223
+ bearing?: number | null | undefined;
2224
+ odometer?: number | null | undefined;
2225
+ speed?: number | null | undefined;
2226
+ };
2227
+ stop_id?: string | null | undefined;
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;
2230
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2231
+ current_stop_sequence?: number | null | undefined;
2232
+ timestamp?: number | null | undefined;
2233
+ };
2234
+ header: {
2235
+ timestamp: number;
2236
+ gtfs_realtime_version: string;
2237
+ incrementality: "FULL_DATASET";
2238
+ feed_version?: string | null | undefined;
2239
+ };
2240
+ }, {
2241
+ vehicle: {
2242
+ vehicle: {
2243
+ id: string;
2244
+ label?: string | null | undefined;
2245
+ };
2246
+ trip: {
2247
+ route_id: string;
2248
+ trip_id: string;
2249
+ start_time?: string | null | undefined;
2250
+ direction_id?: number | null | undefined;
2251
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
2252
+ start_date?: string | null | undefined;
2253
+ };
2254
+ position: {
2255
+ latitude: number;
2256
+ longitude: number;
2257
+ bearing?: number | null | undefined;
2258
+ odometer?: number | null | undefined;
2259
+ speed?: number | null | undefined;
2260
+ };
2261
+ stop_id?: string | null | undefined;
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;
2264
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2265
+ current_stop_sequence?: number | null | undefined;
2266
+ timestamp?: number | null | undefined;
2267
+ };
2268
+ header: {
2269
+ timestamp: number;
2270
+ gtfs_realtime_version: string;
2271
+ incrementality: "FULL_DATASET";
2272
+ feed_version?: string | null | undefined;
2273
+ };
2274
+ }>;
2275
+ version: z.ZodLiteral<"crtm-laveloz-v1">;
2276
+ }, "strip", z.ZodTypeAny, {
2277
+ _id: string;
2278
+ created_at: number & {
2279
+ __brand: "UnixTimestamp";
2280
+ };
2281
+ agency_id: string;
2282
+ received_at: number & {
2283
+ __brand: "UnixTimestamp";
2284
+ };
2285
+ payload: {
2286
+ vehicle: {
2287
+ vehicle: {
2288
+ id: string;
2289
+ label?: string | null | undefined;
2290
+ };
2291
+ trip: {
2292
+ route_id: string;
2293
+ trip_id: string;
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;
2298
+ };
2299
+ position: {
2300
+ latitude: number;
2301
+ longitude: number;
2302
+ bearing?: number | null | undefined;
2303
+ odometer?: number | null | undefined;
2304
+ speed?: number | null | undefined;
2305
+ };
2306
+ stop_id?: string | null | undefined;
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;
2309
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2310
+ current_stop_sequence?: number | null | undefined;
2311
+ timestamp?: number | null | undefined;
2312
+ };
2313
+ header: {
2314
+ timestamp: number;
2315
+ gtfs_realtime_version: string;
2316
+ incrementality: "FULL_DATASET";
2317
+ feed_version?: string | null | undefined;
2318
+ };
2319
+ };
2320
+ entity_id: string;
2321
+ version: "crtm-laveloz-v1";
2322
+ }, {
2323
+ _id: string;
2324
+ created_at: number;
2325
+ agency_id: string;
2326
+ received_at: number;
2327
+ payload: {
2328
+ vehicle: {
2329
+ vehicle: {
2330
+ id: string;
2331
+ label?: string | null | undefined;
2332
+ };
2333
+ trip: {
2334
+ route_id: string;
2335
+ trip_id: string;
2336
+ start_time?: string | null | undefined;
2337
+ direction_id?: number | null | undefined;
2338
+ schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
2339
+ start_date?: string | null | undefined;
2340
+ };
2341
+ position: {
2342
+ latitude: number;
2343
+ longitude: number;
2344
+ bearing?: number | null | undefined;
2345
+ odometer?: number | null | undefined;
2346
+ speed?: number | null | undefined;
2347
+ };
2348
+ stop_id?: string | null | undefined;
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;
2351
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2352
+ current_stop_sequence?: number | null | undefined;
2353
+ timestamp?: number | null | undefined;
2354
+ };
2355
+ header: {
2356
+ timestamp: number;
2357
+ gtfs_realtime_version: string;
2358
+ incrementality: "FULL_DATASET";
2359
+ feed_version?: string | null | undefined;
2360
+ };
2361
+ };
2362
+ entity_id: string;
2363
+ version: "crtm-laveloz-v1";
2364
+ }>, z.ZodObject<{
2365
+ _id: z.ZodString;
2366
+ agency_id: z.ZodString;
2367
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
2368
+ entity_id: z.ZodString;
2369
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
2077
2370
  } & {
2078
2371
  payload: z.ZodObject<{
2079
2372
  header: z.ZodObject<{
@@ -4,6 +4,7 @@ import { RawVehicleEventCmetV1CoreSchema } from './cmet/v1-core.js';
4
4
  import { RawVehicleEventCmetV1LogSchema } from './cmet/v1-log.js';
5
5
  import { RawVehicleEventCpV1Schema } from './cp/v1.js';
6
6
  import { RawVehicleEventCrtmAisaV1Schema } from './crtm-aisa/v1.js';
7
+ import { RawVehicleEventCrtmLaVelozV1Schema } from './crtm-laveloz/v1.js';
7
8
  import { RawVehicleEventFertagusV1Schema } from './fertagus/v1.js';
8
9
  import { RawVehicleEventMlV1Schema } from './ml/v1.js';
9
10
  import { RawVehicleEventMobiV1Schema } from './mobi/v1.js';
@@ -20,6 +21,7 @@ export const RawVehicleEventSchema = z.discriminatedUnion('version', [
20
21
  RawVehicleEventTtslV1Schema,
21
22
  RawVehicleEventCpV1Schema,
22
23
  RawVehicleEventCrtmAisaV1Schema,
24
+ RawVehicleEventCrtmLaVelozV1Schema,
23
25
  RawVehicleEventTcbV1Schema,
24
26
  RawVehicleEventFertagusV1Schema,
25
27
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20260625.1419.32",
3
+ "version": "20260625.1714.32",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"