@tmlmobilidade/types 20260615.1002.3 → 20260615.1437.21

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.
Files changed (113) hide show
  1. package/dist/dates/common.d.ts +1 -3
  2. package/dist/dates/common.js +7 -4
  3. package/dist/dates/event.d.ts +18 -18
  4. package/dist/file-exports/file-exports.d.ts +3 -3
  5. package/dist/file-exports/ride-export.d.ts +6 -6
  6. package/dist/file-exports/sams-analysis-export.d.ts +10 -10
  7. package/dist/file-exports/stop-export.d.ts +8 -8
  8. package/dist/gtfs-new/stop-times.d.ts +2 -2
  9. package/dist/gtfs-new/trips.d.ts +3 -3
  10. package/dist/gtfs-rt/alert.d.ts +10 -10
  11. package/dist/gtfs-rt/entity-selector.d.ts +6 -6
  12. package/dist/gtfs-rt/feed-entity.d.ts +20 -20
  13. package/dist/gtfs-rt/feed-message.d.ts +26 -26
  14. package/dist/gtfs-rt/trip-descriptor.d.ts +2 -2
  15. package/dist/gtfs-rt/vehicle-position.d.ts +4 -4
  16. package/dist/gtfs-tml/fares.d.ts +4 -4
  17. package/dist/gtfs-tml/stop-times.d.ts +2 -2
  18. package/dist/gtfs-tml/trips.d.ts +3 -3
  19. package/dist/hub/api/network/pattern.d.ts +2 -2
  20. package/dist/hub/api/network/route.d.ts +2 -2
  21. package/dist/hub/api/network/stop.d.ts +2 -2
  22. package/dist/hub/api/realtime/vehicle-position.d.ts +7 -7
  23. package/dist/index.d.ts +0 -1
  24. package/dist/index.js +0 -1
  25. package/dist/metrics/demand/demand_by_category.d.ts +36 -36
  26. package/dist/metrics/index.d.ts +36 -36
  27. package/dist/notification.d.ts +10 -10
  28. package/dist/offer/fare.d.ts +16 -16
  29. package/dist/offer/parameters.d.ts +8 -8
  30. package/dist/offer/pattern.d.ts +108 -108
  31. package/dist/offer/route.d.ts +6 -6
  32. package/dist/offer/rules.d.ts +42 -42
  33. package/dist/operation/hashed-lines/hashed-line.d.ts +2 -2
  34. package/dist/operation/hashed-patterns/hashed-pattern.d.ts +2 -2
  35. package/dist/operation/hashed-trips/hashed-trip.d.ts +2 -2
  36. package/dist/operation/lines/operational-line.d.ts +4 -4
  37. package/dist/operation/rides/ride-normalized.d.ts +6 -6
  38. package/dist/operation/rides/ride.d.ts +24 -24
  39. package/dist/operation/stops/operational-stop.d.ts +5 -5
  40. package/dist/sams/sam-analysis.d.ts +10 -10
  41. package/dist/sams/sam-analysis.js +1 -1
  42. package/dist/sams/sam.d.ts +60 -60
  43. package/dist/stops/flag.d.ts +1 -1
  44. package/dist/stops/stop.d.ts +12 -12
  45. package/dist/vehicle-events/raw/ccfl/v1.d.ts +2 -2
  46. package/dist/vehicle-events/raw/cmet/v1-core.d.ts +2 -2
  47. package/dist/vehicle-events/raw/cmet/v1-log.d.ts +2 -2
  48. package/dist/vehicle-events/raw/cp/v1.d.ts +2 -2
  49. package/dist/vehicle-events/raw/crtm-aisa/v1.d.ts +16 -16
  50. package/dist/vehicle-events/raw/fertagus/v1.d.ts +16 -16
  51. package/dist/vehicle-events/raw/mobi/v1.d.ts +16 -16
  52. package/dist/vehicle-events/raw/raw-vehicle-event-base.d.ts +2 -2
  53. package/dist/vehicle-events/raw/raw-vehicle-event.d.ts +50 -50
  54. package/dist/vehicle-events/raw/tcb/v1.d.ts +16 -16
  55. package/dist/vehicle-events/raw/ttsl/v1.d.ts +2 -2
  56. package/dist/vehicle-events/simplified/simplified-vehicle-event.d.ts +7 -7
  57. package/package.json +2 -1
  58. package/dist/apex/index.d.ts +0 -2
  59. package/dist/apex/index.js +0 -2
  60. package/dist/apex/raw/banking-taps/banking-tap-v40.d.ts +0 -669
  61. package/dist/apex/raw/banking-taps/banking-tap-v40.js +0 -65
  62. package/dist/apex/raw/banking-taps/index.d.ts +0 -1
  63. package/dist/apex/raw/banking-taps/index.js +0 -1
  64. package/dist/apex/raw/index.d.ts +0 -7
  65. package/dist/apex/raw/index.js +0 -7
  66. package/dist/apex/raw/inspections/index.d.ts +0 -2
  67. package/dist/apex/raw/inspections/index.js +0 -2
  68. package/dist/apex/raw/inspections/inspection-decision-v20.d.ts +0 -481
  69. package/dist/apex/raw/inspections/inspection-decision-v20.js +0 -49
  70. package/dist/apex/raw/inspections/inspection-v20.d.ts +0 -961
  71. package/dist/apex/raw/inspections/inspection-v20.js +0 -89
  72. package/dist/apex/raw/locations/index.d.ts +0 -1
  73. package/dist/apex/raw/locations/index.js +0 -1
  74. package/dist/apex/raw/locations/location-v30.d.ts +0 -645
  75. package/dist/apex/raw/locations/location-v30.js +0 -63
  76. package/dist/apex/raw/raw-apex-transaction-base.d.ts +0 -30
  77. package/dist/apex/raw/raw-apex-transaction-base.js +0 -13
  78. package/dist/apex/raw/raw-apex-transaction.d.ts +0 -3662
  79. package/dist/apex/raw/raw-apex-transaction.js +0 -21
  80. package/dist/apex/raw/sales/index.d.ts +0 -2
  81. package/dist/apex/raw/sales/index.js +0 -2
  82. package/dist/apex/raw/sales/refund-v30.d.ts +0 -769
  83. package/dist/apex/raw/sales/refund-v30.js +0 -74
  84. package/dist/apex/raw/sales/sale-v30.d.ts +0 -757
  85. package/dist/apex/raw/sales/sale-v30.js +0 -73
  86. package/dist/apex/raw/validations/index.d.ts +0 -2
  87. package/dist/apex/raw/validations/index.js +0 -2
  88. package/dist/apex/raw/validations/validation-v20.d.ts +0 -901
  89. package/dist/apex/raw/validations/validation-v20.js +0 -85
  90. package/dist/apex/raw/validations/validation-v30.d.ts +0 -901
  91. package/dist/apex/raw/validations/validation-v30.js +0 -85
  92. package/dist/apex/simplified/any-simplified-apex.d.ts +0 -8
  93. package/dist/apex/simplified/any-simplified-apex.js +0 -2
  94. package/dist/apex/simplified/apex-validation-status.d.ts +0 -145
  95. package/dist/apex/simplified/apex-validation-status.js +0 -76
  96. package/dist/apex/simplified/index.d.ts +0 -10
  97. package/dist/apex/simplified/index.js +0 -10
  98. package/dist/apex/simplified/simplified-apex-banking-taps.d.ts +0 -81
  99. package/dist/apex/simplified/simplified-apex-banking-taps.js +0 -27
  100. package/dist/apex/simplified/simplified-apex-inspection-decision.d.ts +0 -55
  101. package/dist/apex/simplified/simplified-apex-inspection-decision.js +0 -18
  102. package/dist/apex/simplified/simplified-apex-inspection.d.ts +0 -82
  103. package/dist/apex/simplified/simplified-apex-inspection.js +0 -27
  104. package/dist/apex/simplified/simplified-apex-location.d.ts +0 -112
  105. package/dist/apex/simplified/simplified-apex-location.js +0 -20
  106. package/dist/apex/simplified/simplified-apex-on-board-refund.d.ts +0 -172
  107. package/dist/apex/simplified/simplified-apex-on-board-refund.js +0 -30
  108. package/dist/apex/simplified/simplified-apex-on-board-sale.d.ts +0 -178
  109. package/dist/apex/simplified/simplified-apex-on-board-sale.js +0 -31
  110. package/dist/apex/simplified/simplified-apex-type.d.ts +0 -9
  111. package/dist/apex/simplified/simplified-apex-type.js +0 -5
  112. package/dist/apex/simplified/simplified-apex-validation.d.ts +0 -200
  113. package/dist/apex/simplified/simplified-apex-validation.js +0 -41
@@ -50,15 +50,15 @@ export declare const RawVehicleEventCrtmAisaV1PayloadSchema: z.ZodObject<{
50
50
  start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
51
  trip_id: z.ZodString;
52
52
  }, "strip", z.ZodTypeAny, {
53
- trip_id: string;
54
53
  route_id: string;
54
+ trip_id: string;
55
55
  start_time?: string | null | undefined;
56
56
  direction_id?: number | null | undefined;
57
57
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
58
58
  start_date?: import("../../../index.js").OperationalDate | null | undefined;
59
59
  }, {
60
- trip_id: string;
61
60
  route_id: string;
61
+ trip_id: string;
62
62
  start_time?: string | null | undefined;
63
63
  direction_id?: number | null | undefined;
64
64
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
@@ -80,8 +80,8 @@ export declare const RawVehicleEventCrtmAisaV1PayloadSchema: z.ZodObject<{
80
80
  label?: string | null | undefined;
81
81
  };
82
82
  trip: {
83
- trip_id: string;
84
83
  route_id: string;
84
+ trip_id: string;
85
85
  start_time?: string | null | undefined;
86
86
  direction_id?: number | null | undefined;
87
87
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
@@ -106,8 +106,8 @@ export declare const RawVehicleEventCrtmAisaV1PayloadSchema: z.ZodObject<{
106
106
  label?: string | null | undefined;
107
107
  };
108
108
  trip: {
109
- trip_id: string;
110
109
  route_id: string;
110
+ trip_id: string;
111
111
  start_time?: string | null | undefined;
112
112
  direction_id?: number | null | undefined;
113
113
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
@@ -134,8 +134,8 @@ export declare const RawVehicleEventCrtmAisaV1PayloadSchema: z.ZodObject<{
134
134
  label?: string | null | undefined;
135
135
  };
136
136
  trip: {
137
- trip_id: string;
138
137
  route_id: string;
138
+ trip_id: string;
139
139
  start_time?: string | null | undefined;
140
140
  direction_id?: number | null | undefined;
141
141
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
@@ -168,8 +168,8 @@ export declare const RawVehicleEventCrtmAisaV1PayloadSchema: z.ZodObject<{
168
168
  label?: string | null | undefined;
169
169
  };
170
170
  trip: {
171
- trip_id: string;
172
171
  route_id: string;
172
+ trip_id: string;
173
173
  start_time?: string | null | undefined;
174
174
  direction_id?: number | null | undefined;
175
175
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
@@ -255,15 +255,15 @@ export declare const RawVehicleEventCrtmAisaV1Schema: z.ZodObject<{
255
255
  start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
256
256
  trip_id: z.ZodString;
257
257
  }, "strip", z.ZodTypeAny, {
258
- trip_id: string;
259
258
  route_id: string;
259
+ trip_id: string;
260
260
  start_time?: string | null | undefined;
261
261
  direction_id?: number | null | undefined;
262
262
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
263
263
  start_date?: import("../../../index.js").OperationalDate | null | undefined;
264
264
  }, {
265
- trip_id: string;
266
265
  route_id: string;
266
+ trip_id: string;
267
267
  start_time?: string | null | undefined;
268
268
  direction_id?: number | null | undefined;
269
269
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
@@ -285,8 +285,8 @@ export declare const RawVehicleEventCrtmAisaV1Schema: z.ZodObject<{
285
285
  label?: string | null | undefined;
286
286
  };
287
287
  trip: {
288
- trip_id: string;
289
288
  route_id: string;
289
+ trip_id: string;
290
290
  start_time?: string | null | undefined;
291
291
  direction_id?: number | null | undefined;
292
292
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
@@ -311,8 +311,8 @@ export declare const RawVehicleEventCrtmAisaV1Schema: z.ZodObject<{
311
311
  label?: string | null | undefined;
312
312
  };
313
313
  trip: {
314
- trip_id: string;
315
314
  route_id: string;
315
+ trip_id: string;
316
316
  start_time?: string | null | undefined;
317
317
  direction_id?: number | null | undefined;
318
318
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
@@ -339,8 +339,8 @@ export declare const RawVehicleEventCrtmAisaV1Schema: z.ZodObject<{
339
339
  label?: string | null | undefined;
340
340
  };
341
341
  trip: {
342
- trip_id: string;
343
342
  route_id: string;
343
+ trip_id: string;
344
344
  start_time?: string | null | undefined;
345
345
  direction_id?: number | null | undefined;
346
346
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
@@ -373,8 +373,8 @@ export declare const RawVehicleEventCrtmAisaV1Schema: z.ZodObject<{
373
373
  label?: string | null | undefined;
374
374
  };
375
375
  trip: {
376
- trip_id: string;
377
376
  route_id: string;
377
+ trip_id: string;
378
378
  start_time?: string | null | undefined;
379
379
  direction_id?: number | null | undefined;
380
380
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
@@ -411,7 +411,6 @@ export declare const RawVehicleEventCrtmAisaV1Schema: z.ZodObject<{
411
411
  received_at: number & {
412
412
  __brand: "UnixTimestamp";
413
413
  };
414
- version: "crtm-aisa-v1";
415
414
  payload: {
416
415
  vehicle: {
417
416
  vehicle: {
@@ -419,8 +418,8 @@ export declare const RawVehicleEventCrtmAisaV1Schema: z.ZodObject<{
419
418
  label?: string | null | undefined;
420
419
  };
421
420
  trip: {
422
- trip_id: string;
423
421
  route_id: string;
422
+ trip_id: string;
424
423
  start_time?: string | null | undefined;
425
424
  direction_id?: number | null | undefined;
426
425
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
@@ -448,12 +447,12 @@ export declare const RawVehicleEventCrtmAisaV1Schema: z.ZodObject<{
448
447
  };
449
448
  };
450
449
  entity_id: string;
450
+ version: "crtm-aisa-v1";
451
451
  }, {
452
452
  _id: string;
453
453
  created_at: number;
454
454
  agency_id: string;
455
455
  received_at: number;
456
- version: "crtm-aisa-v1";
457
456
  payload: {
458
457
  vehicle: {
459
458
  vehicle: {
@@ -461,8 +460,8 @@ export declare const RawVehicleEventCrtmAisaV1Schema: z.ZodObject<{
461
460
  label?: string | null | undefined;
462
461
  };
463
462
  trip: {
464
- trip_id: string;
465
463
  route_id: string;
464
+ trip_id: string;
466
465
  start_time?: string | null | undefined;
467
466
  direction_id?: number | null | undefined;
468
467
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
@@ -490,5 +489,6 @@ export declare const RawVehicleEventCrtmAisaV1Schema: z.ZodObject<{
490
489
  };
491
490
  };
492
491
  entity_id: string;
492
+ version: "crtm-aisa-v1";
493
493
  }>;
494
494
  export type RawVehicleEventCrtmAisaV1 = z.infer<typeof RawVehicleEventCrtmAisaV1Schema>;
@@ -37,15 +37,15 @@ export declare const RawVehicleEventFertagusV1PayloadSchema: z.ZodObject<{
37
37
  trip_id: z.ZodString;
38
38
  }, "strip", z.ZodTypeAny, {
39
39
  line_id: string;
40
+ route_id: string;
40
41
  pattern_id: string;
41
42
  trip_id: string;
42
- route_id: string;
43
43
  schedule_relationship: "SCHEDULED";
44
44
  }, {
45
45
  line_id: string;
46
+ route_id: string;
46
47
  pattern_id: string;
47
48
  trip_id: string;
48
- route_id: string;
49
49
  schedule_relationship: "SCHEDULED";
50
50
  }>;
51
51
  vehicle: z.ZodObject<{
@@ -61,9 +61,9 @@ export declare const RawVehicleEventFertagusV1PayloadSchema: z.ZodObject<{
61
61
  };
62
62
  trip: {
63
63
  line_id: string;
64
+ route_id: string;
64
65
  pattern_id: string;
65
66
  trip_id: string;
66
- route_id: string;
67
67
  schedule_relationship: "SCHEDULED";
68
68
  };
69
69
  current_status: "IN_TRANSIT_TO";
@@ -79,9 +79,9 @@ export declare const RawVehicleEventFertagusV1PayloadSchema: z.ZodObject<{
79
79
  };
80
80
  trip: {
81
81
  line_id: string;
82
+ route_id: string;
82
83
  pattern_id: string;
83
84
  trip_id: string;
84
- route_id: string;
85
85
  schedule_relationship: "SCHEDULED";
86
86
  };
87
87
  current_status: "IN_TRANSIT_TO";
@@ -99,9 +99,9 @@ export declare const RawVehicleEventFertagusV1PayloadSchema: z.ZodObject<{
99
99
  };
100
100
  trip: {
101
101
  line_id: string;
102
+ route_id: string;
102
103
  pattern_id: string;
103
104
  trip_id: string;
104
- route_id: string;
105
105
  schedule_relationship: "SCHEDULED";
106
106
  };
107
107
  current_status: "IN_TRANSIT_TO";
@@ -126,9 +126,9 @@ export declare const RawVehicleEventFertagusV1PayloadSchema: z.ZodObject<{
126
126
  };
127
127
  trip: {
128
128
  line_id: string;
129
+ route_id: string;
129
130
  pattern_id: string;
130
131
  trip_id: string;
131
- route_id: string;
132
132
  schedule_relationship: "SCHEDULED";
133
133
  };
134
134
  current_status: "IN_TRANSIT_TO";
@@ -191,15 +191,15 @@ export declare const RawVehicleEventFertagusV1Schema: z.ZodObject<{
191
191
  trip_id: z.ZodString;
192
192
  }, "strip", z.ZodTypeAny, {
193
193
  line_id: string;
194
+ route_id: string;
194
195
  pattern_id: string;
195
196
  trip_id: string;
196
- route_id: string;
197
197
  schedule_relationship: "SCHEDULED";
198
198
  }, {
199
199
  line_id: string;
200
+ route_id: string;
200
201
  pattern_id: string;
201
202
  trip_id: string;
202
- route_id: string;
203
203
  schedule_relationship: "SCHEDULED";
204
204
  }>;
205
205
  vehicle: z.ZodObject<{
@@ -215,9 +215,9 @@ export declare const RawVehicleEventFertagusV1Schema: z.ZodObject<{
215
215
  };
216
216
  trip: {
217
217
  line_id: string;
218
+ route_id: string;
218
219
  pattern_id: string;
219
220
  trip_id: string;
220
- route_id: string;
221
221
  schedule_relationship: "SCHEDULED";
222
222
  };
223
223
  current_status: "IN_TRANSIT_TO";
@@ -233,9 +233,9 @@ export declare const RawVehicleEventFertagusV1Schema: z.ZodObject<{
233
233
  };
234
234
  trip: {
235
235
  line_id: string;
236
+ route_id: string;
236
237
  pattern_id: string;
237
238
  trip_id: string;
238
- route_id: string;
239
239
  schedule_relationship: "SCHEDULED";
240
240
  };
241
241
  current_status: "IN_TRANSIT_TO";
@@ -253,9 +253,9 @@ export declare const RawVehicleEventFertagusV1Schema: z.ZodObject<{
253
253
  };
254
254
  trip: {
255
255
  line_id: string;
256
+ route_id: string;
256
257
  pattern_id: string;
257
258
  trip_id: string;
258
- route_id: string;
259
259
  schedule_relationship: "SCHEDULED";
260
260
  };
261
261
  current_status: "IN_TRANSIT_TO";
@@ -280,9 +280,9 @@ export declare const RawVehicleEventFertagusV1Schema: z.ZodObject<{
280
280
  };
281
281
  trip: {
282
282
  line_id: string;
283
+ route_id: string;
283
284
  pattern_id: string;
284
285
  trip_id: string;
285
- route_id: string;
286
286
  schedule_relationship: "SCHEDULED";
287
287
  };
288
288
  current_status: "IN_TRANSIT_TO";
@@ -309,7 +309,6 @@ export declare const RawVehicleEventFertagusV1Schema: z.ZodObject<{
309
309
  received_at: number & {
310
310
  __brand: "UnixTimestamp";
311
311
  };
312
- version: "fertagus-v1";
313
312
  payload: {
314
313
  vehicle: {
315
314
  vehicle: {
@@ -317,9 +316,9 @@ export declare const RawVehicleEventFertagusV1Schema: z.ZodObject<{
317
316
  };
318
317
  trip: {
319
318
  line_id: string;
319
+ route_id: string;
320
320
  pattern_id: string;
321
321
  trip_id: string;
322
- route_id: string;
323
322
  schedule_relationship: "SCHEDULED";
324
323
  };
325
324
  current_status: "IN_TRANSIT_TO";
@@ -339,12 +338,12 @@ export declare const RawVehicleEventFertagusV1Schema: z.ZodObject<{
339
338
  };
340
339
  };
341
340
  entity_id: string;
341
+ version: "fertagus-v1";
342
342
  }, {
343
343
  _id: string;
344
344
  created_at: number;
345
345
  agency_id: string;
346
346
  received_at: number;
347
- version: "fertagus-v1";
348
347
  payload: {
349
348
  vehicle: {
350
349
  vehicle: {
@@ -352,9 +351,9 @@ export declare const RawVehicleEventFertagusV1Schema: z.ZodObject<{
352
351
  };
353
352
  trip: {
354
353
  line_id: string;
354
+ route_id: string;
355
355
  pattern_id: string;
356
356
  trip_id: string;
357
- route_id: string;
358
357
  schedule_relationship: "SCHEDULED";
359
358
  };
360
359
  current_status: "IN_TRANSIT_TO";
@@ -372,5 +371,6 @@ export declare const RawVehicleEventFertagusV1Schema: z.ZodObject<{
372
371
  };
373
372
  };
374
373
  entity_id: string;
374
+ version: "fertagus-v1";
375
375
  }>;
376
376
  export type RawVehicleEventFertagusV1 = z.infer<typeof RawVehicleEventFertagusV1Schema>;
@@ -43,13 +43,13 @@ export declare const RawVehicleEventMobiV1PayloadSchema: z.ZodObject<{
43
43
  start_time: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, import("../../../index.js").OperationalDate, string>>>;
44
44
  trip_id: z.ZodString;
45
45
  }, "strip", z.ZodTypeAny, {
46
- trip_id: string;
47
46
  route_id: string;
47
+ trip_id: string;
48
48
  start_time?: import("../../../index.js").OperationalDate | null | undefined;
49
49
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | null | undefined;
50
50
  }, {
51
- trip_id: string;
52
51
  route_id: string;
52
+ trip_id: string;
53
53
  start_time?: string | null | undefined;
54
54
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | null | undefined;
55
55
  }>;
@@ -65,8 +65,8 @@ export declare const RawVehicleEventMobiV1PayloadSchema: z.ZodObject<{
65
65
  id: string;
66
66
  };
67
67
  trip: {
68
- trip_id: string;
69
68
  route_id: string;
69
+ trip_id: string;
70
70
  start_time?: import("../../../index.js").OperationalDate | null | undefined;
71
71
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | null | undefined;
72
72
  };
@@ -85,8 +85,8 @@ export declare const RawVehicleEventMobiV1PayloadSchema: z.ZodObject<{
85
85
  id: string;
86
86
  };
87
87
  trip: {
88
- trip_id: string;
89
88
  route_id: string;
89
+ trip_id: string;
90
90
  start_time?: string | null | undefined;
91
91
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | null | undefined;
92
92
  };
@@ -107,8 +107,8 @@ export declare const RawVehicleEventMobiV1PayloadSchema: z.ZodObject<{
107
107
  id: string;
108
108
  };
109
109
  trip: {
110
- trip_id: string;
111
110
  route_id: string;
111
+ trip_id: string;
112
112
  start_time?: import("../../../index.js").OperationalDate | null | undefined;
113
113
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | null | undefined;
114
114
  };
@@ -135,8 +135,8 @@ export declare const RawVehicleEventMobiV1PayloadSchema: z.ZodObject<{
135
135
  id: string;
136
136
  };
137
137
  trip: {
138
- trip_id: string;
139
138
  route_id: string;
139
+ trip_id: string;
140
140
  start_time?: string | null | undefined;
141
141
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | null | undefined;
142
142
  };
@@ -210,13 +210,13 @@ export declare const RawVehicleEventMobiV1Schema: z.ZodObject<{
210
210
  start_time: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, import("../../../index.js").OperationalDate, string>>>;
211
211
  trip_id: z.ZodString;
212
212
  }, "strip", z.ZodTypeAny, {
213
- trip_id: string;
214
213
  route_id: string;
214
+ trip_id: string;
215
215
  start_time?: import("../../../index.js").OperationalDate | null | undefined;
216
216
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | null | undefined;
217
217
  }, {
218
- trip_id: string;
219
218
  route_id: string;
219
+ trip_id: string;
220
220
  start_time?: string | null | undefined;
221
221
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | null | undefined;
222
222
  }>;
@@ -232,8 +232,8 @@ export declare const RawVehicleEventMobiV1Schema: z.ZodObject<{
232
232
  id: string;
233
233
  };
234
234
  trip: {
235
- trip_id: string;
236
235
  route_id: string;
236
+ trip_id: string;
237
237
  start_time?: import("../../../index.js").OperationalDate | null | undefined;
238
238
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | null | undefined;
239
239
  };
@@ -252,8 +252,8 @@ export declare const RawVehicleEventMobiV1Schema: z.ZodObject<{
252
252
  id: string;
253
253
  };
254
254
  trip: {
255
- trip_id: string;
256
255
  route_id: string;
256
+ trip_id: string;
257
257
  start_time?: string | null | undefined;
258
258
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | null | undefined;
259
259
  };
@@ -274,8 +274,8 @@ export declare const RawVehicleEventMobiV1Schema: z.ZodObject<{
274
274
  id: string;
275
275
  };
276
276
  trip: {
277
- trip_id: string;
278
277
  route_id: string;
278
+ trip_id: string;
279
279
  start_time?: import("../../../index.js").OperationalDate | null | undefined;
280
280
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | null | undefined;
281
281
  };
@@ -302,8 +302,8 @@ export declare const RawVehicleEventMobiV1Schema: z.ZodObject<{
302
302
  id: string;
303
303
  };
304
304
  trip: {
305
- trip_id: string;
306
305
  route_id: string;
306
+ trip_id: string;
307
307
  start_time?: string | null | undefined;
308
308
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | null | undefined;
309
309
  };
@@ -335,15 +335,14 @@ export declare const RawVehicleEventMobiV1Schema: z.ZodObject<{
335
335
  received_at: number & {
336
336
  __brand: "UnixTimestamp";
337
337
  };
338
- version: "mobi-v1";
339
338
  payload: {
340
339
  vehicle: {
341
340
  vehicle: {
342
341
  id: string;
343
342
  };
344
343
  trip: {
345
- trip_id: string;
346
344
  route_id: string;
345
+ trip_id: string;
347
346
  start_time?: import("../../../index.js").OperationalDate | null | undefined;
348
347
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | null | undefined;
349
348
  };
@@ -366,20 +365,20 @@ export declare const RawVehicleEventMobiV1Schema: z.ZodObject<{
366
365
  };
367
366
  };
368
367
  entity_id: string;
368
+ version: "mobi-v1";
369
369
  }, {
370
370
  _id: string;
371
371
  created_at: number;
372
372
  agency_id: string;
373
373
  received_at: number;
374
- version: "mobi-v1";
375
374
  payload: {
376
375
  vehicle: {
377
376
  vehicle: {
378
377
  id: string;
379
378
  };
380
379
  trip: {
381
- trip_id: string;
382
380
  route_id: string;
381
+ trip_id: string;
383
382
  start_time?: string | null | undefined;
384
383
  schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | null | undefined;
385
384
  };
@@ -402,5 +401,6 @@ export declare const RawVehicleEventMobiV1Schema: z.ZodObject<{
402
401
  };
403
402
  };
404
403
  entity_id: string;
404
+ version: "mobi-v1";
405
405
  }>;
406
406
  export type RawVehicleEventMobiV1 = z.infer<typeof RawVehicleEventMobiV1Schema>;
@@ -15,13 +15,13 @@ export declare const RawVehicleEventBaseSchema: z.ZodObject<{
15
15
  received_at: number & {
16
16
  __brand: "UnixTimestamp";
17
17
  };
18
- version: string;
19
18
  entity_id: string;
19
+ version: string;
20
20
  }, {
21
21
  _id: string;
22
22
  created_at: number;
23
23
  agency_id: string;
24
24
  received_at: number;
25
- version: string;
26
25
  entity_id: string;
26
+ version: string;
27
27
  }>;