@tmlmobilidade/go-types-hub 20260917.1853.21 → 20260918.1217.51

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,1434 @@
1
+ import { type z } from 'zod';
2
+ export declare const HubV1ApiEtaGtfsFeedSchema: z.ZodObject<{
3
+ entity: z.ZodArray<z.ZodObject<{
4
+ alert: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5
+ active_period: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
6
+ end: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixSeconds, string | number>>>;
7
+ start: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixSeconds, string | number>>>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ end?: import("@tmlmobilidade/go-types-shared").UnixSeconds | null | undefined;
10
+ start?: import("@tmlmobilidade/go-types-shared").UnixSeconds | null | undefined;
11
+ }, {
12
+ end?: string | number | null | undefined;
13
+ start?: string | number | null | undefined;
14
+ }>, "many">>>;
15
+ cause: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "HOLIDAY", "MAINTENANCE", "MEDICAL_EMERGENCY", "OTHER_CAUSE", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_ISSUE", "UNKNOWN_CAUSE", "WEATHER"]>>>;
16
+ description_text: z.ZodObject<{
17
+ translation: z.ZodArray<z.ZodObject<{
18
+ language: z.ZodString;
19
+ text: z.ZodString;
20
+ }, "strip", z.ZodTypeAny, {
21
+ language: string;
22
+ text: string;
23
+ }, {
24
+ language: string;
25
+ text: string;
26
+ }>, "many">;
27
+ }, "strip", z.ZodTypeAny, {
28
+ translation: {
29
+ language: string;
30
+ text: string;
31
+ }[];
32
+ }, {
33
+ translation: {
34
+ language: string;
35
+ text: string;
36
+ }[];
37
+ }>;
38
+ effect: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACCESSIBILITY_ISSUE", "ADDITIONAL_SERVICE", "DETOUR", "MODIFIED_SERVICE", "NO_EFFECT", "NO_SERVICE", "OTHER_EFFECT", "REDUCED_SERVICE", "SIGNIFICANT_DELAYS", "STOP_MOVED", "UNKNOWN_EFFECT"]>>>;
39
+ header_text: z.ZodObject<{
40
+ translation: z.ZodArray<z.ZodObject<{
41
+ language: z.ZodString;
42
+ text: z.ZodString;
43
+ }, "strip", z.ZodTypeAny, {
44
+ language: string;
45
+ text: string;
46
+ }, {
47
+ language: string;
48
+ text: string;
49
+ }>, "many">;
50
+ }, "strip", z.ZodTypeAny, {
51
+ translation: {
52
+ language: string;
53
+ text: string;
54
+ }[];
55
+ }, {
56
+ translation: {
57
+ language: string;
58
+ text: string;
59
+ }[];
60
+ }>;
61
+ image: z.ZodOptional<z.ZodNullable<z.ZodObject<{
62
+ localized_image: z.ZodArray<z.ZodObject<{
63
+ language: z.ZodString;
64
+ media_type: z.ZodString;
65
+ url: z.ZodString;
66
+ }, "strip", z.ZodTypeAny, {
67
+ language: string;
68
+ media_type: string;
69
+ url: string;
70
+ }, {
71
+ language: string;
72
+ media_type: string;
73
+ url: string;
74
+ }>, "many">;
75
+ }, "strip", z.ZodTypeAny, {
76
+ localized_image: {
77
+ language: string;
78
+ media_type: string;
79
+ url: string;
80
+ }[];
81
+ }, {
82
+ localized_image: {
83
+ language: string;
84
+ media_type: string;
85
+ url: string;
86
+ }[];
87
+ }>>>;
88
+ image_alternative_text: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
89
+ informed_entity: z.ZodArray<z.ZodObject<{
90
+ agency_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ direction_id: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, z.ZodEnum<["0", "1"]>>>>;
92
+ route_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
+ route_type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94
+ stop_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
+ trip: z.ZodOptional<z.ZodNullable<z.ZodObject<{
96
+ direction_id: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, z.ZodEnum<["0", "1"]>>>>;
97
+ modified_trip: z.ZodAny;
98
+ route_id: z.ZodString;
99
+ schedule_relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["SCHEDULED", "CANCELED", "REPLACEMENT", "DUPLICATED", "NEW", "DELETED"]>>>;
100
+ start_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
101
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalTime, string>>>;
102
+ trip_id: z.ZodString;
103
+ }, "strip", z.ZodTypeAny, {
104
+ route_id: string;
105
+ start_date: number & {
106
+ __brand: "OperationalDateInt";
107
+ };
108
+ trip_id: string;
109
+ direction_id?: "0" | "1" | null | undefined;
110
+ modified_trip?: any;
111
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
112
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
113
+ }, {
114
+ route_id: string;
115
+ start_date: string | number;
116
+ trip_id: string;
117
+ direction_id?: string | number | null | undefined;
118
+ modified_trip?: any;
119
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
120
+ start_time?: string | null | undefined;
121
+ }>>>;
122
+ }, "strip", z.ZodTypeAny, {
123
+ direction_id?: "0" | "1" | null | undefined;
124
+ route_id?: string | null | undefined;
125
+ agency_id?: string | null | undefined;
126
+ route_type?: number | null | undefined;
127
+ stop_id?: string | null | undefined;
128
+ trip?: {
129
+ route_id: string;
130
+ start_date: number & {
131
+ __brand: "OperationalDateInt";
132
+ };
133
+ trip_id: string;
134
+ direction_id?: "0" | "1" | null | undefined;
135
+ modified_trip?: any;
136
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
137
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
138
+ } | null | undefined;
139
+ }, {
140
+ direction_id?: string | number | null | undefined;
141
+ route_id?: string | null | undefined;
142
+ agency_id?: string | null | undefined;
143
+ route_type?: number | null | undefined;
144
+ stop_id?: string | null | undefined;
145
+ trip?: {
146
+ route_id: string;
147
+ start_date: string | number;
148
+ trip_id: string;
149
+ direction_id?: string | number | null | undefined;
150
+ modified_trip?: any;
151
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
152
+ start_time?: string | null | undefined;
153
+ } | null | undefined;
154
+ }>, "many">;
155
+ severity_level: z.ZodOptional<z.ZodNullable<z.ZodEnum<["UNKNOWN_SEVERITY", "INFO", "WARNING", "SEVERE"]>>>;
156
+ tts_description_text: z.ZodOptional<z.ZodNullable<z.ZodObject<{
157
+ translation: z.ZodArray<z.ZodObject<{
158
+ language: z.ZodString;
159
+ text: z.ZodString;
160
+ }, "strip", z.ZodTypeAny, {
161
+ language: string;
162
+ text: string;
163
+ }, {
164
+ language: string;
165
+ text: string;
166
+ }>, "many">;
167
+ }, "strip", z.ZodTypeAny, {
168
+ translation: {
169
+ language: string;
170
+ text: string;
171
+ }[];
172
+ }, {
173
+ translation: {
174
+ language: string;
175
+ text: string;
176
+ }[];
177
+ }>>>;
178
+ tts_header_text: z.ZodOptional<z.ZodNullable<z.ZodObject<{
179
+ translation: z.ZodArray<z.ZodObject<{
180
+ language: z.ZodString;
181
+ text: z.ZodString;
182
+ }, "strip", z.ZodTypeAny, {
183
+ language: string;
184
+ text: string;
185
+ }, {
186
+ language: string;
187
+ text: string;
188
+ }>, "many">;
189
+ }, "strip", z.ZodTypeAny, {
190
+ translation: {
191
+ language: string;
192
+ text: string;
193
+ }[];
194
+ }, {
195
+ translation: {
196
+ language: string;
197
+ text: string;
198
+ }[];
199
+ }>>>;
200
+ url: z.ZodOptional<z.ZodNullable<z.ZodObject<{
201
+ translation: z.ZodArray<z.ZodObject<{
202
+ language: z.ZodString;
203
+ text: z.ZodString;
204
+ }, "strip", z.ZodTypeAny, {
205
+ language: string;
206
+ text: string;
207
+ }, {
208
+ language: string;
209
+ text: string;
210
+ }>, "many">;
211
+ }, "strip", z.ZodTypeAny, {
212
+ translation: {
213
+ language: string;
214
+ text: string;
215
+ }[];
216
+ }, {
217
+ translation: {
218
+ language: string;
219
+ text: string;
220
+ }[];
221
+ }>>>;
222
+ }, "strip", z.ZodTypeAny, {
223
+ description_text: {
224
+ translation: {
225
+ language: string;
226
+ text: string;
227
+ }[];
228
+ };
229
+ header_text: {
230
+ translation: {
231
+ language: string;
232
+ text: string;
233
+ }[];
234
+ };
235
+ informed_entity: {
236
+ direction_id?: "0" | "1" | null | undefined;
237
+ route_id?: string | null | undefined;
238
+ agency_id?: string | null | undefined;
239
+ route_type?: number | null | undefined;
240
+ stop_id?: string | null | undefined;
241
+ trip?: {
242
+ route_id: string;
243
+ start_date: number & {
244
+ __brand: "OperationalDateInt";
245
+ };
246
+ trip_id: string;
247
+ direction_id?: "0" | "1" | null | undefined;
248
+ modified_trip?: any;
249
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
250
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
251
+ } | null | undefined;
252
+ }[];
253
+ url?: {
254
+ translation: {
255
+ language: string;
256
+ text: string;
257
+ }[];
258
+ } | null | undefined;
259
+ active_period?: {
260
+ end?: import("@tmlmobilidade/go-types-shared").UnixSeconds | null | undefined;
261
+ start?: import("@tmlmobilidade/go-types-shared").UnixSeconds | null | undefined;
262
+ }[] | null | undefined;
263
+ cause?: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "UNKNOWN_CAUSE" | "WEATHER" | null | undefined;
264
+ effect?: "ACCESSIBILITY_ISSUE" | "ADDITIONAL_SERVICE" | "DETOUR" | "MODIFIED_SERVICE" | "NO_EFFECT" | "NO_SERVICE" | "OTHER_EFFECT" | "REDUCED_SERVICE" | "SIGNIFICANT_DELAYS" | "STOP_MOVED" | "UNKNOWN_EFFECT" | null | undefined;
265
+ image?: {
266
+ localized_image: {
267
+ language: string;
268
+ media_type: string;
269
+ url: string;
270
+ }[];
271
+ } | null | undefined;
272
+ image_alternative_text?: any;
273
+ severity_level?: "UNKNOWN_SEVERITY" | "INFO" | "WARNING" | "SEVERE" | null | undefined;
274
+ tts_description_text?: {
275
+ translation: {
276
+ language: string;
277
+ text: string;
278
+ }[];
279
+ } | null | undefined;
280
+ tts_header_text?: {
281
+ translation: {
282
+ language: string;
283
+ text: string;
284
+ }[];
285
+ } | null | undefined;
286
+ }, {
287
+ description_text: {
288
+ translation: {
289
+ language: string;
290
+ text: string;
291
+ }[];
292
+ };
293
+ header_text: {
294
+ translation: {
295
+ language: string;
296
+ text: string;
297
+ }[];
298
+ };
299
+ informed_entity: {
300
+ direction_id?: string | number | null | undefined;
301
+ route_id?: string | null | undefined;
302
+ agency_id?: string | null | undefined;
303
+ route_type?: number | null | undefined;
304
+ stop_id?: string | null | undefined;
305
+ trip?: {
306
+ route_id: string;
307
+ start_date: string | number;
308
+ trip_id: string;
309
+ direction_id?: string | number | null | undefined;
310
+ modified_trip?: any;
311
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
312
+ start_time?: string | null | undefined;
313
+ } | null | undefined;
314
+ }[];
315
+ url?: {
316
+ translation: {
317
+ language: string;
318
+ text: string;
319
+ }[];
320
+ } | null | undefined;
321
+ active_period?: {
322
+ end?: string | number | null | undefined;
323
+ start?: string | number | null | undefined;
324
+ }[] | null | undefined;
325
+ cause?: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "UNKNOWN_CAUSE" | "WEATHER" | null | undefined;
326
+ effect?: "ACCESSIBILITY_ISSUE" | "ADDITIONAL_SERVICE" | "DETOUR" | "MODIFIED_SERVICE" | "NO_EFFECT" | "NO_SERVICE" | "OTHER_EFFECT" | "REDUCED_SERVICE" | "SIGNIFICANT_DELAYS" | "STOP_MOVED" | "UNKNOWN_EFFECT" | null | undefined;
327
+ image?: {
328
+ localized_image: {
329
+ language: string;
330
+ media_type: string;
331
+ url: string;
332
+ }[];
333
+ } | null | undefined;
334
+ image_alternative_text?: any;
335
+ severity_level?: "UNKNOWN_SEVERITY" | "INFO" | "WARNING" | "SEVERE" | null | undefined;
336
+ tts_description_text?: {
337
+ translation: {
338
+ language: string;
339
+ text: string;
340
+ }[];
341
+ } | null | undefined;
342
+ tts_header_text?: {
343
+ translation: {
344
+ language: string;
345
+ text: string;
346
+ }[];
347
+ } | null | undefined;
348
+ }>>>;
349
+ id: z.ZodString;
350
+ trip_update: z.ZodOptional<z.ZodNullable<z.ZodObject<{
351
+ delay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
352
+ stop_time_update: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
353
+ arrival: z.ZodObject<{
354
+ delay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
355
+ time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
356
+ }, "strip", z.ZodTypeAny, {
357
+ delay?: number | null | undefined;
358
+ time?: number | null | undefined;
359
+ }, {
360
+ delay?: number | null | undefined;
361
+ time?: number | null | undefined;
362
+ }>;
363
+ departure: z.ZodObject<{
364
+ delay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
365
+ time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
366
+ }, "strip", z.ZodTypeAny, {
367
+ delay?: number | null | undefined;
368
+ time?: number | null | undefined;
369
+ }, {
370
+ delay?: number | null | undefined;
371
+ time?: number | null | undefined;
372
+ }>;
373
+ departure_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"]>>>;
374
+ schedule_relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["SCHEDULED", "SKIPPED", "NO_DATA", "UNSCHEDULED"]>>>;
375
+ stop_id: z.ZodString;
376
+ stop_sequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
377
+ stop_time_properties: z.ZodOptional<z.ZodNullable<z.ZodObject<{
378
+ assigned_stop_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
379
+ drop_off_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["REGULAR", "NONE", "PHONE_AGENCY", "COORDINATE_WITH_DRIVER"]>>>;
380
+ pickup_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["REGULAR", "NONE", "PHONE_AGENCY", "COORDINATE_WITH_DRIVER"]>>>;
381
+ stop_headsign: z.ZodOptional<z.ZodNullable<z.ZodString>>;
382
+ }, "strip", z.ZodTypeAny, {
383
+ assigned_stop_id?: string | null | undefined;
384
+ drop_off_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
385
+ pickup_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
386
+ stop_headsign?: string | null | undefined;
387
+ }, {
388
+ assigned_stop_id?: string | null | undefined;
389
+ drop_off_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
390
+ pickup_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
391
+ stop_headsign?: string | null | undefined;
392
+ }>>>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ stop_id: string;
395
+ arrival: {
396
+ delay?: number | null | undefined;
397
+ time?: number | null | undefined;
398
+ };
399
+ departure: {
400
+ delay?: number | null | undefined;
401
+ time?: number | null | undefined;
402
+ };
403
+ schedule_relationship?: "SCHEDULED" | "SKIPPED" | "NO_DATA" | "UNSCHEDULED" | null | undefined;
404
+ departure_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;
405
+ stop_sequence?: number | null | undefined;
406
+ stop_time_properties?: {
407
+ assigned_stop_id?: string | null | undefined;
408
+ drop_off_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
409
+ pickup_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
410
+ stop_headsign?: string | null | undefined;
411
+ } | null | undefined;
412
+ }, {
413
+ stop_id: string;
414
+ arrival: {
415
+ delay?: number | null | undefined;
416
+ time?: number | null | undefined;
417
+ };
418
+ departure: {
419
+ delay?: number | null | undefined;
420
+ time?: number | null | undefined;
421
+ };
422
+ schedule_relationship?: "SCHEDULED" | "SKIPPED" | "NO_DATA" | "UNSCHEDULED" | null | undefined;
423
+ departure_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;
424
+ stop_sequence?: number | null | undefined;
425
+ stop_time_properties?: {
426
+ assigned_stop_id?: string | null | undefined;
427
+ drop_off_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
428
+ pickup_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
429
+ stop_headsign?: string | null | undefined;
430
+ } | null | undefined;
431
+ }>, "many">>>;
432
+ timestamp: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixSeconds, string | number>>>;
433
+ trip: z.ZodObject<{
434
+ direction_id: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, z.ZodEnum<["0", "1"]>>>>;
435
+ modified_trip: z.ZodAny;
436
+ route_id: z.ZodString;
437
+ schedule_relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["SCHEDULED", "CANCELED", "REPLACEMENT", "DUPLICATED", "NEW", "DELETED"]>>>;
438
+ start_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
439
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalTime, string>>>;
440
+ trip_id: z.ZodString;
441
+ }, "strip", z.ZodTypeAny, {
442
+ route_id: string;
443
+ start_date: number & {
444
+ __brand: "OperationalDateInt";
445
+ };
446
+ trip_id: string;
447
+ direction_id?: "0" | "1" | null | undefined;
448
+ modified_trip?: any;
449
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
450
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
451
+ }, {
452
+ route_id: string;
453
+ start_date: string | number;
454
+ trip_id: string;
455
+ direction_id?: string | number | null | undefined;
456
+ modified_trip?: any;
457
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
458
+ start_time?: string | null | undefined;
459
+ }>;
460
+ trip_properties: z.ZodOptional<z.ZodNullable<z.ZodObject<{
461
+ shape_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
462
+ start_date: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>>>;
463
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalTime, string>>>;
464
+ trip_headsign: z.ZodOptional<z.ZodNullable<z.ZodString>>;
465
+ trip_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
466
+ trip_short_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
467
+ }, "strip", z.ZodTypeAny, {
468
+ start_date?: import("@tmlmobilidade/go-types-shared").OperationalDateInt | null | undefined;
469
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
470
+ trip_id?: string | null | undefined;
471
+ shape_id?: string | null | undefined;
472
+ trip_headsign?: string | null | undefined;
473
+ trip_short_name?: string | null | undefined;
474
+ }, {
475
+ start_date?: string | number | null | undefined;
476
+ start_time?: string | null | undefined;
477
+ trip_id?: string | null | undefined;
478
+ shape_id?: string | null | undefined;
479
+ trip_headsign?: string | null | undefined;
480
+ trip_short_name?: string | null | undefined;
481
+ }>>>;
482
+ vehicle: z.ZodObject<{
483
+ id: z.ZodString;
484
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
485
+ license_plate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
486
+ wheelchair_accessible: z.ZodEnum<["NO_VALUE", "UNKNOWN", "WHEELCHAIR_ACCESSIBLE", "WHEELCHAIR_INACCESSIBLE"]>;
487
+ }, "strip", z.ZodTypeAny, {
488
+ id: string;
489
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
490
+ label?: string | null | undefined;
491
+ license_plate?: string | null | undefined;
492
+ }, {
493
+ id: string;
494
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
495
+ label?: string | null | undefined;
496
+ license_plate?: string | null | undefined;
497
+ }>;
498
+ }, "strip", z.ZodTypeAny, {
499
+ trip: {
500
+ route_id: string;
501
+ start_date: number & {
502
+ __brand: "OperationalDateInt";
503
+ };
504
+ trip_id: string;
505
+ direction_id?: "0" | "1" | null | undefined;
506
+ modified_trip?: any;
507
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
508
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
509
+ };
510
+ vehicle: {
511
+ id: string;
512
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
513
+ label?: string | null | undefined;
514
+ license_plate?: string | null | undefined;
515
+ };
516
+ delay?: number | null | undefined;
517
+ stop_time_update?: {
518
+ stop_id: string;
519
+ arrival: {
520
+ delay?: number | null | undefined;
521
+ time?: number | null | undefined;
522
+ };
523
+ departure: {
524
+ delay?: number | null | undefined;
525
+ time?: number | null | undefined;
526
+ };
527
+ schedule_relationship?: "SCHEDULED" | "SKIPPED" | "NO_DATA" | "UNSCHEDULED" | null | undefined;
528
+ departure_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;
529
+ stop_sequence?: number | null | undefined;
530
+ stop_time_properties?: {
531
+ assigned_stop_id?: string | null | undefined;
532
+ drop_off_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
533
+ pickup_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
534
+ stop_headsign?: string | null | undefined;
535
+ } | null | undefined;
536
+ }[] | null | undefined;
537
+ timestamp?: import("@tmlmobilidade/go-types-shared").UnixSeconds | null | undefined;
538
+ trip_properties?: {
539
+ start_date?: import("@tmlmobilidade/go-types-shared").OperationalDateInt | null | undefined;
540
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
541
+ trip_id?: string | null | undefined;
542
+ shape_id?: string | null | undefined;
543
+ trip_headsign?: string | null | undefined;
544
+ trip_short_name?: string | null | undefined;
545
+ } | null | undefined;
546
+ }, {
547
+ trip: {
548
+ route_id: string;
549
+ start_date: string | number;
550
+ trip_id: string;
551
+ direction_id?: string | number | null | undefined;
552
+ modified_trip?: any;
553
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
554
+ start_time?: string | null | undefined;
555
+ };
556
+ vehicle: {
557
+ id: string;
558
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
559
+ label?: string | null | undefined;
560
+ license_plate?: string | null | undefined;
561
+ };
562
+ delay?: number | null | undefined;
563
+ stop_time_update?: {
564
+ stop_id: string;
565
+ arrival: {
566
+ delay?: number | null | undefined;
567
+ time?: number | null | undefined;
568
+ };
569
+ departure: {
570
+ delay?: number | null | undefined;
571
+ time?: number | null | undefined;
572
+ };
573
+ schedule_relationship?: "SCHEDULED" | "SKIPPED" | "NO_DATA" | "UNSCHEDULED" | null | undefined;
574
+ departure_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;
575
+ stop_sequence?: number | null | undefined;
576
+ stop_time_properties?: {
577
+ assigned_stop_id?: string | null | undefined;
578
+ drop_off_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
579
+ pickup_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
580
+ stop_headsign?: string | null | undefined;
581
+ } | null | undefined;
582
+ }[] | null | undefined;
583
+ timestamp?: string | number | null | undefined;
584
+ trip_properties?: {
585
+ start_date?: string | number | null | undefined;
586
+ start_time?: string | null | undefined;
587
+ trip_id?: string | null | undefined;
588
+ shape_id?: string | null | undefined;
589
+ trip_headsign?: string | null | undefined;
590
+ trip_short_name?: string | null | undefined;
591
+ } | null | undefined;
592
+ }>>>;
593
+ vehicle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
594
+ congestion_level: z.ZodOptional<z.ZodNullable<z.ZodEnum<["UNKNOWN_CONGESTION_LEVEL", "RUNNING_SMOOTHLY", "STOP_AND_GO", "CONGESTION", "SEVERE_CONGESTION"]>>>;
595
+ current_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["INCOMING_AT", "STOPPED_AT", "IN_TRANSIT_TO"]>>>;
596
+ current_stop_sequence: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
597
+ multi_carriage_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
598
+ carriage_sequence: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
599
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
600
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
601
+ occupancy_percentage: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>, "Percent">>>;
602
+ 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"]>>>;
603
+ }, "strip", z.ZodTypeAny, {
604
+ carriage_sequence: number;
605
+ id?: string | null | undefined;
606
+ label?: string | null | undefined;
607
+ occupancy_percentage?: (number & z.BRAND<"Percent">) | null | undefined;
608
+ 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;
609
+ }, {
610
+ carriage_sequence: string | number;
611
+ id?: string | null | undefined;
612
+ label?: string | null | undefined;
613
+ occupancy_percentage?: string | number | null | undefined;
614
+ 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;
615
+ }>, "many">>>;
616
+ occupancy_percentage: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>, "Percent">>>;
617
+ 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"]>>>;
618
+ position: z.ZodObject<{
619
+ bearing: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodPipeline<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>, z.ZodNumber>, "Degrees">>>;
620
+ latitude: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-geo").Latitude, number>;
621
+ longitude: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-geo").Longitude, number>;
622
+ odometer: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
623
+ speed: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
624
+ }, "strip", z.ZodTypeAny, {
625
+ latitude: number & {
626
+ __brand: "Latitude";
627
+ };
628
+ longitude: number & {
629
+ __brand: "Longitude";
630
+ };
631
+ bearing?: (number & z.BRAND<"Degrees">) | null | undefined;
632
+ odometer?: number | null | undefined;
633
+ speed?: number | null | undefined;
634
+ }, {
635
+ latitude: number;
636
+ longitude: number;
637
+ bearing?: string | number | null | undefined;
638
+ odometer?: string | number | null | undefined;
639
+ speed?: string | number | null | undefined;
640
+ }>;
641
+ stop_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
642
+ timestamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixSeconds, string | number>;
643
+ trip: z.ZodObject<{
644
+ direction_id: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, z.ZodEnum<["0", "1"]>>>>;
645
+ modified_trip: z.ZodAny;
646
+ route_id: z.ZodString;
647
+ schedule_relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["SCHEDULED", "CANCELED", "REPLACEMENT", "DUPLICATED", "NEW", "DELETED"]>>>;
648
+ start_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
649
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalTime, string>>>;
650
+ trip_id: z.ZodString;
651
+ }, "strip", z.ZodTypeAny, {
652
+ route_id: string;
653
+ start_date: number & {
654
+ __brand: "OperationalDateInt";
655
+ };
656
+ trip_id: string;
657
+ direction_id?: "0" | "1" | null | undefined;
658
+ modified_trip?: any;
659
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
660
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
661
+ }, {
662
+ route_id: string;
663
+ start_date: string | number;
664
+ trip_id: string;
665
+ direction_id?: string | number | null | undefined;
666
+ modified_trip?: any;
667
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
668
+ start_time?: string | null | undefined;
669
+ }>;
670
+ vehicle: z.ZodObject<{
671
+ id: z.ZodString;
672
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
673
+ license_plate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
674
+ wheelchair_accessible: z.ZodEnum<["NO_VALUE", "UNKNOWN", "WHEELCHAIR_ACCESSIBLE", "WHEELCHAIR_INACCESSIBLE"]>;
675
+ }, "strip", z.ZodTypeAny, {
676
+ id: string;
677
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
678
+ label?: string | null | undefined;
679
+ license_plate?: string | null | undefined;
680
+ }, {
681
+ id: string;
682
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
683
+ label?: string | null | undefined;
684
+ license_plate?: string | null | undefined;
685
+ }>;
686
+ }, "strip", z.ZodTypeAny, {
687
+ trip: {
688
+ route_id: string;
689
+ start_date: number & {
690
+ __brand: "OperationalDateInt";
691
+ };
692
+ trip_id: string;
693
+ direction_id?: "0" | "1" | null | undefined;
694
+ modified_trip?: any;
695
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
696
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
697
+ };
698
+ timestamp: number & {
699
+ __brand: "UnixSeconds";
700
+ };
701
+ vehicle: {
702
+ id: string;
703
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
704
+ label?: string | null | undefined;
705
+ license_plate?: string | null | undefined;
706
+ };
707
+ position: {
708
+ latitude: number & {
709
+ __brand: "Latitude";
710
+ };
711
+ longitude: number & {
712
+ __brand: "Longitude";
713
+ };
714
+ bearing?: (number & z.BRAND<"Degrees">) | null | undefined;
715
+ odometer?: number | null | undefined;
716
+ speed?: number | null | undefined;
717
+ };
718
+ stop_id?: string | null | undefined;
719
+ occupancy_percentage?: (number & z.BRAND<"Percent">) | null | undefined;
720
+ 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;
721
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
722
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
723
+ current_stop_sequence?: number | null | undefined;
724
+ multi_carriage_details?: {
725
+ carriage_sequence: number;
726
+ id?: string | null | undefined;
727
+ label?: string | null | undefined;
728
+ occupancy_percentage?: (number & z.BRAND<"Percent">) | null | undefined;
729
+ 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;
730
+ }[] | null | undefined;
731
+ }, {
732
+ trip: {
733
+ route_id: string;
734
+ start_date: string | number;
735
+ trip_id: string;
736
+ direction_id?: string | number | null | undefined;
737
+ modified_trip?: any;
738
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
739
+ start_time?: string | null | undefined;
740
+ };
741
+ timestamp: string | number;
742
+ vehicle: {
743
+ id: string;
744
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
745
+ label?: string | null | undefined;
746
+ license_plate?: string | null | undefined;
747
+ };
748
+ position: {
749
+ latitude: number;
750
+ longitude: number;
751
+ bearing?: string | number | null | undefined;
752
+ odometer?: string | number | null | undefined;
753
+ speed?: string | number | null | undefined;
754
+ };
755
+ stop_id?: string | null | undefined;
756
+ occupancy_percentage?: string | number | null | undefined;
757
+ 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;
758
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
759
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
760
+ current_stop_sequence?: string | number | null | undefined;
761
+ multi_carriage_details?: {
762
+ carriage_sequence: string | number;
763
+ id?: string | null | undefined;
764
+ label?: string | null | undefined;
765
+ occupancy_percentage?: string | number | null | undefined;
766
+ 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;
767
+ }[] | null | undefined;
768
+ }>>>;
769
+ }, "strip", z.ZodTypeAny, {
770
+ id: string;
771
+ vehicle?: {
772
+ trip: {
773
+ route_id: string;
774
+ start_date: number & {
775
+ __brand: "OperationalDateInt";
776
+ };
777
+ trip_id: string;
778
+ direction_id?: "0" | "1" | null | undefined;
779
+ modified_trip?: any;
780
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
781
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
782
+ };
783
+ timestamp: number & {
784
+ __brand: "UnixSeconds";
785
+ };
786
+ vehicle: {
787
+ id: string;
788
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
789
+ label?: string | null | undefined;
790
+ license_plate?: string | null | undefined;
791
+ };
792
+ position: {
793
+ latitude: number & {
794
+ __brand: "Latitude";
795
+ };
796
+ longitude: number & {
797
+ __brand: "Longitude";
798
+ };
799
+ bearing?: (number & z.BRAND<"Degrees">) | null | undefined;
800
+ odometer?: number | null | undefined;
801
+ speed?: number | null | undefined;
802
+ };
803
+ stop_id?: string | null | undefined;
804
+ occupancy_percentage?: (number & z.BRAND<"Percent">) | null | undefined;
805
+ 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;
806
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
807
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
808
+ current_stop_sequence?: number | null | undefined;
809
+ multi_carriage_details?: {
810
+ carriage_sequence: number;
811
+ id?: string | null | undefined;
812
+ label?: string | null | undefined;
813
+ occupancy_percentage?: (number & z.BRAND<"Percent">) | null | undefined;
814
+ 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;
815
+ }[] | null | undefined;
816
+ } | null | undefined;
817
+ alert?: {
818
+ description_text: {
819
+ translation: {
820
+ language: string;
821
+ text: string;
822
+ }[];
823
+ };
824
+ header_text: {
825
+ translation: {
826
+ language: string;
827
+ text: string;
828
+ }[];
829
+ };
830
+ informed_entity: {
831
+ direction_id?: "0" | "1" | null | undefined;
832
+ route_id?: string | null | undefined;
833
+ agency_id?: string | null | undefined;
834
+ route_type?: number | null | undefined;
835
+ stop_id?: string | null | undefined;
836
+ trip?: {
837
+ route_id: string;
838
+ start_date: number & {
839
+ __brand: "OperationalDateInt";
840
+ };
841
+ trip_id: string;
842
+ direction_id?: "0" | "1" | null | undefined;
843
+ modified_trip?: any;
844
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
845
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
846
+ } | null | undefined;
847
+ }[];
848
+ url?: {
849
+ translation: {
850
+ language: string;
851
+ text: string;
852
+ }[];
853
+ } | null | undefined;
854
+ active_period?: {
855
+ end?: import("@tmlmobilidade/go-types-shared").UnixSeconds | null | undefined;
856
+ start?: import("@tmlmobilidade/go-types-shared").UnixSeconds | null | undefined;
857
+ }[] | null | undefined;
858
+ cause?: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "UNKNOWN_CAUSE" | "WEATHER" | null | undefined;
859
+ effect?: "ACCESSIBILITY_ISSUE" | "ADDITIONAL_SERVICE" | "DETOUR" | "MODIFIED_SERVICE" | "NO_EFFECT" | "NO_SERVICE" | "OTHER_EFFECT" | "REDUCED_SERVICE" | "SIGNIFICANT_DELAYS" | "STOP_MOVED" | "UNKNOWN_EFFECT" | null | undefined;
860
+ image?: {
861
+ localized_image: {
862
+ language: string;
863
+ media_type: string;
864
+ url: string;
865
+ }[];
866
+ } | null | undefined;
867
+ image_alternative_text?: any;
868
+ severity_level?: "UNKNOWN_SEVERITY" | "INFO" | "WARNING" | "SEVERE" | null | undefined;
869
+ tts_description_text?: {
870
+ translation: {
871
+ language: string;
872
+ text: string;
873
+ }[];
874
+ } | null | undefined;
875
+ tts_header_text?: {
876
+ translation: {
877
+ language: string;
878
+ text: string;
879
+ }[];
880
+ } | null | undefined;
881
+ } | null | undefined;
882
+ trip_update?: {
883
+ trip: {
884
+ route_id: string;
885
+ start_date: number & {
886
+ __brand: "OperationalDateInt";
887
+ };
888
+ trip_id: string;
889
+ direction_id?: "0" | "1" | null | undefined;
890
+ modified_trip?: any;
891
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
892
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
893
+ };
894
+ vehicle: {
895
+ id: string;
896
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
897
+ label?: string | null | undefined;
898
+ license_plate?: string | null | undefined;
899
+ };
900
+ delay?: number | null | undefined;
901
+ stop_time_update?: {
902
+ stop_id: string;
903
+ arrival: {
904
+ delay?: number | null | undefined;
905
+ time?: number | null | undefined;
906
+ };
907
+ departure: {
908
+ delay?: number | null | undefined;
909
+ time?: number | null | undefined;
910
+ };
911
+ schedule_relationship?: "SCHEDULED" | "SKIPPED" | "NO_DATA" | "UNSCHEDULED" | null | undefined;
912
+ departure_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;
913
+ stop_sequence?: number | null | undefined;
914
+ stop_time_properties?: {
915
+ assigned_stop_id?: string | null | undefined;
916
+ drop_off_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
917
+ pickup_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
918
+ stop_headsign?: string | null | undefined;
919
+ } | null | undefined;
920
+ }[] | null | undefined;
921
+ timestamp?: import("@tmlmobilidade/go-types-shared").UnixSeconds | null | undefined;
922
+ trip_properties?: {
923
+ start_date?: import("@tmlmobilidade/go-types-shared").OperationalDateInt | null | undefined;
924
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
925
+ trip_id?: string | null | undefined;
926
+ shape_id?: string | null | undefined;
927
+ trip_headsign?: string | null | undefined;
928
+ trip_short_name?: string | null | undefined;
929
+ } | null | undefined;
930
+ } | null | undefined;
931
+ }, {
932
+ id: string;
933
+ vehicle?: {
934
+ trip: {
935
+ route_id: string;
936
+ start_date: string | number;
937
+ trip_id: string;
938
+ direction_id?: string | number | null | undefined;
939
+ modified_trip?: any;
940
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
941
+ start_time?: string | null | undefined;
942
+ };
943
+ timestamp: string | number;
944
+ vehicle: {
945
+ id: string;
946
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
947
+ label?: string | null | undefined;
948
+ license_plate?: string | null | undefined;
949
+ };
950
+ position: {
951
+ latitude: number;
952
+ longitude: number;
953
+ bearing?: string | number | null | undefined;
954
+ odometer?: string | number | null | undefined;
955
+ speed?: string | number | null | undefined;
956
+ };
957
+ stop_id?: string | null | undefined;
958
+ occupancy_percentage?: string | number | null | undefined;
959
+ 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;
960
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
961
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
962
+ current_stop_sequence?: string | number | null | undefined;
963
+ multi_carriage_details?: {
964
+ carriage_sequence: string | number;
965
+ id?: string | null | undefined;
966
+ label?: string | null | undefined;
967
+ occupancy_percentage?: string | number | null | undefined;
968
+ 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;
969
+ }[] | null | undefined;
970
+ } | null | undefined;
971
+ alert?: {
972
+ description_text: {
973
+ translation: {
974
+ language: string;
975
+ text: string;
976
+ }[];
977
+ };
978
+ header_text: {
979
+ translation: {
980
+ language: string;
981
+ text: string;
982
+ }[];
983
+ };
984
+ informed_entity: {
985
+ direction_id?: string | number | null | undefined;
986
+ route_id?: string | null | undefined;
987
+ agency_id?: string | null | undefined;
988
+ route_type?: number | null | undefined;
989
+ stop_id?: string | null | undefined;
990
+ trip?: {
991
+ route_id: string;
992
+ start_date: string | number;
993
+ trip_id: string;
994
+ direction_id?: string | number | null | undefined;
995
+ modified_trip?: any;
996
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
997
+ start_time?: string | null | undefined;
998
+ } | null | undefined;
999
+ }[];
1000
+ url?: {
1001
+ translation: {
1002
+ language: string;
1003
+ text: string;
1004
+ }[];
1005
+ } | null | undefined;
1006
+ active_period?: {
1007
+ end?: string | number | null | undefined;
1008
+ start?: string | number | null | undefined;
1009
+ }[] | null | undefined;
1010
+ cause?: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "UNKNOWN_CAUSE" | "WEATHER" | null | undefined;
1011
+ effect?: "ACCESSIBILITY_ISSUE" | "ADDITIONAL_SERVICE" | "DETOUR" | "MODIFIED_SERVICE" | "NO_EFFECT" | "NO_SERVICE" | "OTHER_EFFECT" | "REDUCED_SERVICE" | "SIGNIFICANT_DELAYS" | "STOP_MOVED" | "UNKNOWN_EFFECT" | null | undefined;
1012
+ image?: {
1013
+ localized_image: {
1014
+ language: string;
1015
+ media_type: string;
1016
+ url: string;
1017
+ }[];
1018
+ } | null | undefined;
1019
+ image_alternative_text?: any;
1020
+ severity_level?: "UNKNOWN_SEVERITY" | "INFO" | "WARNING" | "SEVERE" | null | undefined;
1021
+ tts_description_text?: {
1022
+ translation: {
1023
+ language: string;
1024
+ text: string;
1025
+ }[];
1026
+ } | null | undefined;
1027
+ tts_header_text?: {
1028
+ translation: {
1029
+ language: string;
1030
+ text: string;
1031
+ }[];
1032
+ } | null | undefined;
1033
+ } | null | undefined;
1034
+ trip_update?: {
1035
+ trip: {
1036
+ route_id: string;
1037
+ start_date: string | number;
1038
+ trip_id: string;
1039
+ direction_id?: string | number | null | undefined;
1040
+ modified_trip?: any;
1041
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
1042
+ start_time?: string | null | undefined;
1043
+ };
1044
+ vehicle: {
1045
+ id: string;
1046
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
1047
+ label?: string | null | undefined;
1048
+ license_plate?: string | null | undefined;
1049
+ };
1050
+ delay?: number | null | undefined;
1051
+ stop_time_update?: {
1052
+ stop_id: string;
1053
+ arrival: {
1054
+ delay?: number | null | undefined;
1055
+ time?: number | null | undefined;
1056
+ };
1057
+ departure: {
1058
+ delay?: number | null | undefined;
1059
+ time?: number | null | undefined;
1060
+ };
1061
+ schedule_relationship?: "SCHEDULED" | "SKIPPED" | "NO_DATA" | "UNSCHEDULED" | null | undefined;
1062
+ departure_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;
1063
+ stop_sequence?: number | null | undefined;
1064
+ stop_time_properties?: {
1065
+ assigned_stop_id?: string | null | undefined;
1066
+ drop_off_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
1067
+ pickup_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
1068
+ stop_headsign?: string | null | undefined;
1069
+ } | null | undefined;
1070
+ }[] | null | undefined;
1071
+ timestamp?: string | number | null | undefined;
1072
+ trip_properties?: {
1073
+ start_date?: string | number | null | undefined;
1074
+ start_time?: string | null | undefined;
1075
+ trip_id?: string | null | undefined;
1076
+ shape_id?: string | null | undefined;
1077
+ trip_headsign?: string | null | undefined;
1078
+ trip_short_name?: string | null | undefined;
1079
+ } | null | undefined;
1080
+ } | null | undefined;
1081
+ }>, "many">;
1082
+ header: z.ZodObject<{
1083
+ feed_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1084
+ gtfs_realtime_version: z.ZodString;
1085
+ incrementality: z.ZodLiteral<"FULL_DATASET">;
1086
+ timestamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixSeconds, string | number>;
1087
+ }, "strip", z.ZodTypeAny, {
1088
+ timestamp: number & {
1089
+ __brand: "UnixSeconds";
1090
+ };
1091
+ gtfs_realtime_version: string;
1092
+ incrementality: "FULL_DATASET";
1093
+ feed_version?: string | null | undefined;
1094
+ }, {
1095
+ timestamp: string | number;
1096
+ gtfs_realtime_version: string;
1097
+ incrementality: "FULL_DATASET";
1098
+ feed_version?: string | null | undefined;
1099
+ }>;
1100
+ }, "strip", z.ZodTypeAny, {
1101
+ entity: {
1102
+ id: string;
1103
+ vehicle?: {
1104
+ trip: {
1105
+ route_id: string;
1106
+ start_date: number & {
1107
+ __brand: "OperationalDateInt";
1108
+ };
1109
+ trip_id: string;
1110
+ direction_id?: "0" | "1" | null | undefined;
1111
+ modified_trip?: any;
1112
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
1113
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
1114
+ };
1115
+ timestamp: number & {
1116
+ __brand: "UnixSeconds";
1117
+ };
1118
+ vehicle: {
1119
+ id: string;
1120
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
1121
+ label?: string | null | undefined;
1122
+ license_plate?: string | null | undefined;
1123
+ };
1124
+ position: {
1125
+ latitude: number & {
1126
+ __brand: "Latitude";
1127
+ };
1128
+ longitude: number & {
1129
+ __brand: "Longitude";
1130
+ };
1131
+ bearing?: (number & z.BRAND<"Degrees">) | null | undefined;
1132
+ odometer?: number | null | undefined;
1133
+ speed?: number | null | undefined;
1134
+ };
1135
+ stop_id?: string | null | undefined;
1136
+ occupancy_percentage?: (number & z.BRAND<"Percent">) | null | undefined;
1137
+ 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;
1138
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
1139
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
1140
+ current_stop_sequence?: number | null | undefined;
1141
+ multi_carriage_details?: {
1142
+ carriage_sequence: number;
1143
+ id?: string | null | undefined;
1144
+ label?: string | null | undefined;
1145
+ occupancy_percentage?: (number & z.BRAND<"Percent">) | null | undefined;
1146
+ 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;
1147
+ }[] | null | undefined;
1148
+ } | null | undefined;
1149
+ alert?: {
1150
+ description_text: {
1151
+ translation: {
1152
+ language: string;
1153
+ text: string;
1154
+ }[];
1155
+ };
1156
+ header_text: {
1157
+ translation: {
1158
+ language: string;
1159
+ text: string;
1160
+ }[];
1161
+ };
1162
+ informed_entity: {
1163
+ direction_id?: "0" | "1" | null | undefined;
1164
+ route_id?: string | null | undefined;
1165
+ agency_id?: string | null | undefined;
1166
+ route_type?: number | null | undefined;
1167
+ stop_id?: string | null | undefined;
1168
+ trip?: {
1169
+ route_id: string;
1170
+ start_date: number & {
1171
+ __brand: "OperationalDateInt";
1172
+ };
1173
+ trip_id: string;
1174
+ direction_id?: "0" | "1" | null | undefined;
1175
+ modified_trip?: any;
1176
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
1177
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
1178
+ } | null | undefined;
1179
+ }[];
1180
+ url?: {
1181
+ translation: {
1182
+ language: string;
1183
+ text: string;
1184
+ }[];
1185
+ } | null | undefined;
1186
+ active_period?: {
1187
+ end?: import("@tmlmobilidade/go-types-shared").UnixSeconds | null | undefined;
1188
+ start?: import("@tmlmobilidade/go-types-shared").UnixSeconds | null | undefined;
1189
+ }[] | null | undefined;
1190
+ cause?: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "UNKNOWN_CAUSE" | "WEATHER" | null | undefined;
1191
+ effect?: "ACCESSIBILITY_ISSUE" | "ADDITIONAL_SERVICE" | "DETOUR" | "MODIFIED_SERVICE" | "NO_EFFECT" | "NO_SERVICE" | "OTHER_EFFECT" | "REDUCED_SERVICE" | "SIGNIFICANT_DELAYS" | "STOP_MOVED" | "UNKNOWN_EFFECT" | null | undefined;
1192
+ image?: {
1193
+ localized_image: {
1194
+ language: string;
1195
+ media_type: string;
1196
+ url: string;
1197
+ }[];
1198
+ } | null | undefined;
1199
+ image_alternative_text?: any;
1200
+ severity_level?: "UNKNOWN_SEVERITY" | "INFO" | "WARNING" | "SEVERE" | null | undefined;
1201
+ tts_description_text?: {
1202
+ translation: {
1203
+ language: string;
1204
+ text: string;
1205
+ }[];
1206
+ } | null | undefined;
1207
+ tts_header_text?: {
1208
+ translation: {
1209
+ language: string;
1210
+ text: string;
1211
+ }[];
1212
+ } | null | undefined;
1213
+ } | null | undefined;
1214
+ trip_update?: {
1215
+ trip: {
1216
+ route_id: string;
1217
+ start_date: number & {
1218
+ __brand: "OperationalDateInt";
1219
+ };
1220
+ trip_id: string;
1221
+ direction_id?: "0" | "1" | null | undefined;
1222
+ modified_trip?: any;
1223
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
1224
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
1225
+ };
1226
+ vehicle: {
1227
+ id: string;
1228
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
1229
+ label?: string | null | undefined;
1230
+ license_plate?: string | null | undefined;
1231
+ };
1232
+ delay?: number | null | undefined;
1233
+ stop_time_update?: {
1234
+ stop_id: string;
1235
+ arrival: {
1236
+ delay?: number | null | undefined;
1237
+ time?: number | null | undefined;
1238
+ };
1239
+ departure: {
1240
+ delay?: number | null | undefined;
1241
+ time?: number | null | undefined;
1242
+ };
1243
+ schedule_relationship?: "SCHEDULED" | "SKIPPED" | "NO_DATA" | "UNSCHEDULED" | null | undefined;
1244
+ departure_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;
1245
+ stop_sequence?: number | null | undefined;
1246
+ stop_time_properties?: {
1247
+ assigned_stop_id?: string | null | undefined;
1248
+ drop_off_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
1249
+ pickup_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
1250
+ stop_headsign?: string | null | undefined;
1251
+ } | null | undefined;
1252
+ }[] | null | undefined;
1253
+ timestamp?: import("@tmlmobilidade/go-types-shared").UnixSeconds | null | undefined;
1254
+ trip_properties?: {
1255
+ start_date?: import("@tmlmobilidade/go-types-shared").OperationalDateInt | null | undefined;
1256
+ start_time?: import("@tmlmobilidade/go-types-shared").OperationalTime | null | undefined;
1257
+ trip_id?: string | null | undefined;
1258
+ shape_id?: string | null | undefined;
1259
+ trip_headsign?: string | null | undefined;
1260
+ trip_short_name?: string | null | undefined;
1261
+ } | null | undefined;
1262
+ } | null | undefined;
1263
+ }[];
1264
+ header: {
1265
+ timestamp: number & {
1266
+ __brand: "UnixSeconds";
1267
+ };
1268
+ gtfs_realtime_version: string;
1269
+ incrementality: "FULL_DATASET";
1270
+ feed_version?: string | null | undefined;
1271
+ };
1272
+ }, {
1273
+ entity: {
1274
+ id: string;
1275
+ vehicle?: {
1276
+ trip: {
1277
+ route_id: string;
1278
+ start_date: string | number;
1279
+ trip_id: string;
1280
+ direction_id?: string | number | null | undefined;
1281
+ modified_trip?: any;
1282
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
1283
+ start_time?: string | null | undefined;
1284
+ };
1285
+ timestamp: string | number;
1286
+ vehicle: {
1287
+ id: string;
1288
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
1289
+ label?: string | null | undefined;
1290
+ license_plate?: string | null | undefined;
1291
+ };
1292
+ position: {
1293
+ latitude: number;
1294
+ longitude: number;
1295
+ bearing?: string | number | null | undefined;
1296
+ odometer?: string | number | null | undefined;
1297
+ speed?: string | number | null | undefined;
1298
+ };
1299
+ stop_id?: string | null | undefined;
1300
+ occupancy_percentage?: string | number | null | undefined;
1301
+ 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;
1302
+ congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
1303
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
1304
+ current_stop_sequence?: string | number | null | undefined;
1305
+ multi_carriage_details?: {
1306
+ carriage_sequence: string | number;
1307
+ id?: string | null | undefined;
1308
+ label?: string | null | undefined;
1309
+ occupancy_percentage?: string | number | null | undefined;
1310
+ 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;
1311
+ }[] | null | undefined;
1312
+ } | null | undefined;
1313
+ alert?: {
1314
+ description_text: {
1315
+ translation: {
1316
+ language: string;
1317
+ text: string;
1318
+ }[];
1319
+ };
1320
+ header_text: {
1321
+ translation: {
1322
+ language: string;
1323
+ text: string;
1324
+ }[];
1325
+ };
1326
+ informed_entity: {
1327
+ direction_id?: string | number | null | undefined;
1328
+ route_id?: string | null | undefined;
1329
+ agency_id?: string | null | undefined;
1330
+ route_type?: number | null | undefined;
1331
+ stop_id?: string | null | undefined;
1332
+ trip?: {
1333
+ route_id: string;
1334
+ start_date: string | number;
1335
+ trip_id: string;
1336
+ direction_id?: string | number | null | undefined;
1337
+ modified_trip?: any;
1338
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
1339
+ start_time?: string | null | undefined;
1340
+ } | null | undefined;
1341
+ }[];
1342
+ url?: {
1343
+ translation: {
1344
+ language: string;
1345
+ text: string;
1346
+ }[];
1347
+ } | null | undefined;
1348
+ active_period?: {
1349
+ end?: string | number | null | undefined;
1350
+ start?: string | number | null | undefined;
1351
+ }[] | null | undefined;
1352
+ cause?: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "UNKNOWN_CAUSE" | "WEATHER" | null | undefined;
1353
+ effect?: "ACCESSIBILITY_ISSUE" | "ADDITIONAL_SERVICE" | "DETOUR" | "MODIFIED_SERVICE" | "NO_EFFECT" | "NO_SERVICE" | "OTHER_EFFECT" | "REDUCED_SERVICE" | "SIGNIFICANT_DELAYS" | "STOP_MOVED" | "UNKNOWN_EFFECT" | null | undefined;
1354
+ image?: {
1355
+ localized_image: {
1356
+ language: string;
1357
+ media_type: string;
1358
+ url: string;
1359
+ }[];
1360
+ } | null | undefined;
1361
+ image_alternative_text?: any;
1362
+ severity_level?: "UNKNOWN_SEVERITY" | "INFO" | "WARNING" | "SEVERE" | null | undefined;
1363
+ tts_description_text?: {
1364
+ translation: {
1365
+ language: string;
1366
+ text: string;
1367
+ }[];
1368
+ } | null | undefined;
1369
+ tts_header_text?: {
1370
+ translation: {
1371
+ language: string;
1372
+ text: string;
1373
+ }[];
1374
+ } | null | undefined;
1375
+ } | null | undefined;
1376
+ trip_update?: {
1377
+ trip: {
1378
+ route_id: string;
1379
+ start_date: string | number;
1380
+ trip_id: string;
1381
+ direction_id?: string | number | null | undefined;
1382
+ modified_trip?: any;
1383
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "REPLACEMENT" | "DUPLICATED" | "NEW" | "DELETED" | null | undefined;
1384
+ start_time?: string | null | undefined;
1385
+ };
1386
+ vehicle: {
1387
+ id: string;
1388
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
1389
+ label?: string | null | undefined;
1390
+ license_plate?: string | null | undefined;
1391
+ };
1392
+ delay?: number | null | undefined;
1393
+ stop_time_update?: {
1394
+ stop_id: string;
1395
+ arrival: {
1396
+ delay?: number | null | undefined;
1397
+ time?: number | null | undefined;
1398
+ };
1399
+ departure: {
1400
+ delay?: number | null | undefined;
1401
+ time?: number | null | undefined;
1402
+ };
1403
+ schedule_relationship?: "SCHEDULED" | "SKIPPED" | "NO_DATA" | "UNSCHEDULED" | null | undefined;
1404
+ departure_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;
1405
+ stop_sequence?: number | null | undefined;
1406
+ stop_time_properties?: {
1407
+ assigned_stop_id?: string | null | undefined;
1408
+ drop_off_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
1409
+ pickup_type?: "REGULAR" | "NONE" | "PHONE_AGENCY" | "COORDINATE_WITH_DRIVER" | null | undefined;
1410
+ stop_headsign?: string | null | undefined;
1411
+ } | null | undefined;
1412
+ }[] | null | undefined;
1413
+ timestamp?: string | number | null | undefined;
1414
+ trip_properties?: {
1415
+ start_date?: string | number | null | undefined;
1416
+ start_time?: string | null | undefined;
1417
+ trip_id?: string | null | undefined;
1418
+ shape_id?: string | null | undefined;
1419
+ trip_headsign?: string | null | undefined;
1420
+ trip_short_name?: string | null | undefined;
1421
+ } | null | undefined;
1422
+ } | null | undefined;
1423
+ }[];
1424
+ header: {
1425
+ timestamp: string | number;
1426
+ gtfs_realtime_version: string;
1427
+ incrementality: "FULL_DATASET";
1428
+ feed_version?: string | null | undefined;
1429
+ };
1430
+ }>;
1431
+ /**
1432
+ * GTFS-RT TripUpdate feed for the Hub V1 ETA API (`GET /v1/eta/eta/gtfs`).
1433
+ */
1434
+ export type HubV1ApiEtaGtfsFeed = z.infer<typeof HubV1ApiEtaGtfsFeedSchema>;