@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.
- package/dist/dates/common.d.ts +1 -3
- package/dist/dates/common.js +7 -4
- package/dist/dates/event.d.ts +18 -18
- package/dist/file-exports/file-exports.d.ts +3 -3
- package/dist/file-exports/ride-export.d.ts +6 -6
- package/dist/file-exports/sams-analysis-export.d.ts +10 -10
- package/dist/file-exports/stop-export.d.ts +8 -8
- package/dist/gtfs-new/stop-times.d.ts +2 -2
- package/dist/gtfs-new/trips.d.ts +3 -3
- package/dist/gtfs-rt/alert.d.ts +10 -10
- package/dist/gtfs-rt/entity-selector.d.ts +6 -6
- package/dist/gtfs-rt/feed-entity.d.ts +20 -20
- package/dist/gtfs-rt/feed-message.d.ts +26 -26
- package/dist/gtfs-rt/trip-descriptor.d.ts +2 -2
- package/dist/gtfs-rt/vehicle-position.d.ts +4 -4
- package/dist/gtfs-tml/fares.d.ts +4 -4
- package/dist/gtfs-tml/stop-times.d.ts +2 -2
- package/dist/gtfs-tml/trips.d.ts +3 -3
- package/dist/hub/api/network/pattern.d.ts +2 -2
- package/dist/hub/api/network/route.d.ts +2 -2
- package/dist/hub/api/network/stop.d.ts +2 -2
- package/dist/hub/api/realtime/vehicle-position.d.ts +7 -7
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/metrics/demand/demand_by_category.d.ts +36 -36
- package/dist/metrics/index.d.ts +36 -36
- package/dist/notification.d.ts +10 -10
- package/dist/offer/fare.d.ts +16 -16
- package/dist/offer/parameters.d.ts +8 -8
- package/dist/offer/pattern.d.ts +108 -108
- package/dist/offer/route.d.ts +6 -6
- package/dist/offer/rules.d.ts +42 -42
- package/dist/operation/hashed-lines/hashed-line.d.ts +2 -2
- package/dist/operation/hashed-patterns/hashed-pattern.d.ts +2 -2
- package/dist/operation/hashed-trips/hashed-trip.d.ts +2 -2
- package/dist/operation/lines/operational-line.d.ts +4 -4
- package/dist/operation/rides/ride-normalized.d.ts +6 -6
- package/dist/operation/rides/ride.d.ts +24 -24
- package/dist/operation/stops/operational-stop.d.ts +5 -5
- package/dist/sams/sam-analysis.d.ts +10 -10
- package/dist/sams/sam-analysis.js +1 -1
- package/dist/sams/sam.d.ts +60 -60
- package/dist/stops/flag.d.ts +1 -1
- package/dist/stops/stop.d.ts +12 -12
- package/dist/vehicle-events/raw/ccfl/v1.d.ts +2 -2
- package/dist/vehicle-events/raw/cmet/v1-core.d.ts +2 -2
- package/dist/vehicle-events/raw/cmet/v1-log.d.ts +2 -2
- package/dist/vehicle-events/raw/cp/v1.d.ts +2 -2
- package/dist/vehicle-events/raw/crtm-aisa/v1.d.ts +16 -16
- package/dist/vehicle-events/raw/fertagus/v1.d.ts +16 -16
- package/dist/vehicle-events/raw/mobi/v1.d.ts +16 -16
- package/dist/vehicle-events/raw/raw-vehicle-event-base.d.ts +2 -2
- package/dist/vehicle-events/raw/raw-vehicle-event.d.ts +50 -50
- package/dist/vehicle-events/raw/tcb/v1.d.ts +16 -16
- package/dist/vehicle-events/raw/ttsl/v1.d.ts +2 -2
- package/dist/vehicle-events/simplified/simplified-vehicle-event.d.ts +7 -7
- package/package.json +2 -1
- package/dist/apex/index.d.ts +0 -2
- package/dist/apex/index.js +0 -2
- package/dist/apex/raw/banking-taps/banking-tap-v40.d.ts +0 -669
- package/dist/apex/raw/banking-taps/banking-tap-v40.js +0 -65
- package/dist/apex/raw/banking-taps/index.d.ts +0 -1
- package/dist/apex/raw/banking-taps/index.js +0 -1
- package/dist/apex/raw/index.d.ts +0 -7
- package/dist/apex/raw/index.js +0 -7
- package/dist/apex/raw/inspections/index.d.ts +0 -2
- package/dist/apex/raw/inspections/index.js +0 -2
- package/dist/apex/raw/inspections/inspection-decision-v20.d.ts +0 -481
- package/dist/apex/raw/inspections/inspection-decision-v20.js +0 -49
- package/dist/apex/raw/inspections/inspection-v20.d.ts +0 -961
- package/dist/apex/raw/inspections/inspection-v20.js +0 -89
- package/dist/apex/raw/locations/index.d.ts +0 -1
- package/dist/apex/raw/locations/index.js +0 -1
- package/dist/apex/raw/locations/location-v30.d.ts +0 -645
- package/dist/apex/raw/locations/location-v30.js +0 -63
- package/dist/apex/raw/raw-apex-transaction-base.d.ts +0 -30
- package/dist/apex/raw/raw-apex-transaction-base.js +0 -13
- package/dist/apex/raw/raw-apex-transaction.d.ts +0 -3662
- package/dist/apex/raw/raw-apex-transaction.js +0 -21
- package/dist/apex/raw/sales/index.d.ts +0 -2
- package/dist/apex/raw/sales/index.js +0 -2
- package/dist/apex/raw/sales/refund-v30.d.ts +0 -769
- package/dist/apex/raw/sales/refund-v30.js +0 -74
- package/dist/apex/raw/sales/sale-v30.d.ts +0 -757
- package/dist/apex/raw/sales/sale-v30.js +0 -73
- package/dist/apex/raw/validations/index.d.ts +0 -2
- package/dist/apex/raw/validations/index.js +0 -2
- package/dist/apex/raw/validations/validation-v20.d.ts +0 -901
- package/dist/apex/raw/validations/validation-v20.js +0 -85
- package/dist/apex/raw/validations/validation-v30.d.ts +0 -901
- package/dist/apex/raw/validations/validation-v30.js +0 -85
- package/dist/apex/simplified/any-simplified-apex.d.ts +0 -8
- package/dist/apex/simplified/any-simplified-apex.js +0 -2
- package/dist/apex/simplified/apex-validation-status.d.ts +0 -145
- package/dist/apex/simplified/apex-validation-status.js +0 -76
- package/dist/apex/simplified/index.d.ts +0 -10
- package/dist/apex/simplified/index.js +0 -10
- package/dist/apex/simplified/simplified-apex-banking-taps.d.ts +0 -81
- package/dist/apex/simplified/simplified-apex-banking-taps.js +0 -27
- package/dist/apex/simplified/simplified-apex-inspection-decision.d.ts +0 -55
- package/dist/apex/simplified/simplified-apex-inspection-decision.js +0 -18
- package/dist/apex/simplified/simplified-apex-inspection.d.ts +0 -82
- package/dist/apex/simplified/simplified-apex-inspection.js +0 -27
- package/dist/apex/simplified/simplified-apex-location.d.ts +0 -112
- package/dist/apex/simplified/simplified-apex-location.js +0 -20
- package/dist/apex/simplified/simplified-apex-on-board-refund.d.ts +0 -172
- package/dist/apex/simplified/simplified-apex-on-board-refund.js +0 -30
- package/dist/apex/simplified/simplified-apex-on-board-sale.d.ts +0 -178
- package/dist/apex/simplified/simplified-apex-on-board-sale.js +0 -31
- package/dist/apex/simplified/simplified-apex-type.d.ts +0 -9
- package/dist/apex/simplified/simplified-apex-type.js +0 -5
- package/dist/apex/simplified/simplified-apex-validation.d.ts +0 -200
- package/dist/apex/simplified/simplified-apex-validation.js +0 -41
|
@@ -100,8 +100,8 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
100
100
|
start_time: z.ZodAny;
|
|
101
101
|
trip_id: z.ZodString;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
trip_id: string;
|
|
104
103
|
route_id: string;
|
|
104
|
+
trip_id: string;
|
|
105
105
|
start_date: string & {
|
|
106
106
|
__brand: "OperationalDate";
|
|
107
107
|
};
|
|
@@ -110,8 +110,8 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
110
110
|
modified_trip?: any;
|
|
111
111
|
schedule_relationship?: any;
|
|
112
112
|
}, {
|
|
113
|
-
trip_id: string;
|
|
114
113
|
route_id: string;
|
|
114
|
+
trip_id: string;
|
|
115
115
|
start_date: string;
|
|
116
116
|
start_time?: any;
|
|
117
117
|
direction_id?: any;
|
|
@@ -120,13 +120,13 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
120
120
|
}>>>;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
122
|
agency_id?: string | null | undefined;
|
|
123
|
-
stop_id?: string | null | undefined;
|
|
124
123
|
route_id?: string | null | undefined;
|
|
124
|
+
stop_id?: string | null | undefined;
|
|
125
125
|
route_type?: number | null | undefined;
|
|
126
126
|
direction_id?: number | null | undefined;
|
|
127
127
|
trip?: {
|
|
128
|
-
trip_id: string;
|
|
129
128
|
route_id: string;
|
|
129
|
+
trip_id: string;
|
|
130
130
|
start_date: string & {
|
|
131
131
|
__brand: "OperationalDate";
|
|
132
132
|
};
|
|
@@ -137,13 +137,13 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
137
137
|
} | null | undefined;
|
|
138
138
|
}, {
|
|
139
139
|
agency_id?: string | null | undefined;
|
|
140
|
-
stop_id?: string | null | undefined;
|
|
141
140
|
route_id?: string | null | undefined;
|
|
141
|
+
stop_id?: string | null | undefined;
|
|
142
142
|
route_type?: number | null | undefined;
|
|
143
143
|
direction_id?: number | null | undefined;
|
|
144
144
|
trip?: {
|
|
145
|
-
trip_id: string;
|
|
146
145
|
route_id: string;
|
|
146
|
+
trip_id: string;
|
|
147
147
|
start_date: string;
|
|
148
148
|
start_time?: any;
|
|
149
149
|
direction_id?: any;
|
|
@@ -233,13 +233,13 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
233
233
|
};
|
|
234
234
|
informed_entity: {
|
|
235
235
|
agency_id?: string | null | undefined;
|
|
236
|
-
stop_id?: string | null | undefined;
|
|
237
236
|
route_id?: string | null | undefined;
|
|
237
|
+
stop_id?: string | null | undefined;
|
|
238
238
|
route_type?: number | null | undefined;
|
|
239
239
|
direction_id?: number | null | undefined;
|
|
240
240
|
trip?: {
|
|
241
|
-
trip_id: string;
|
|
242
241
|
route_id: string;
|
|
242
|
+
trip_id: string;
|
|
243
243
|
start_date: string & {
|
|
244
244
|
__brand: "OperationalDate";
|
|
245
245
|
};
|
|
@@ -297,13 +297,13 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
297
297
|
};
|
|
298
298
|
informed_entity: {
|
|
299
299
|
agency_id?: string | null | undefined;
|
|
300
|
-
stop_id?: string | null | undefined;
|
|
301
300
|
route_id?: string | null | undefined;
|
|
301
|
+
stop_id?: string | null | undefined;
|
|
302
302
|
route_type?: number | null | undefined;
|
|
303
303
|
direction_id?: number | null | undefined;
|
|
304
304
|
trip?: {
|
|
305
|
-
trip_id: string;
|
|
306
305
|
route_id: string;
|
|
306
|
+
trip_id: string;
|
|
307
307
|
start_date: string;
|
|
308
308
|
start_time?: any;
|
|
309
309
|
direction_id?: any;
|
|
@@ -402,8 +402,8 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
402
402
|
start_time: z.ZodAny;
|
|
403
403
|
trip_id: z.ZodString;
|
|
404
404
|
}, "strip", z.ZodTypeAny, {
|
|
405
|
-
trip_id: string;
|
|
406
405
|
route_id: string;
|
|
406
|
+
trip_id: string;
|
|
407
407
|
start_date: string & {
|
|
408
408
|
__brand: "OperationalDate";
|
|
409
409
|
};
|
|
@@ -412,8 +412,8 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
412
412
|
modified_trip?: any;
|
|
413
413
|
schedule_relationship?: any;
|
|
414
414
|
}, {
|
|
415
|
-
trip_id: string;
|
|
416
415
|
route_id: string;
|
|
416
|
+
trip_id: string;
|
|
417
417
|
start_date: string;
|
|
418
418
|
start_time?: any;
|
|
419
419
|
direction_id?: any;
|
|
@@ -444,8 +444,8 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
444
444
|
license_plate: string;
|
|
445
445
|
};
|
|
446
446
|
trip: {
|
|
447
|
-
trip_id: string;
|
|
448
447
|
route_id: string;
|
|
448
|
+
trip_id: string;
|
|
449
449
|
start_date: string & {
|
|
450
450
|
__brand: "OperationalDate";
|
|
451
451
|
};
|
|
@@ -483,8 +483,8 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
483
483
|
license_plate: string;
|
|
484
484
|
};
|
|
485
485
|
trip: {
|
|
486
|
-
trip_id: string;
|
|
487
486
|
route_id: string;
|
|
487
|
+
trip_id: string;
|
|
488
488
|
start_date: string;
|
|
489
489
|
start_time?: any;
|
|
490
490
|
direction_id?: any;
|
|
@@ -523,8 +523,8 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
523
523
|
license_plate: string;
|
|
524
524
|
};
|
|
525
525
|
trip: {
|
|
526
|
-
trip_id: string;
|
|
527
526
|
route_id: string;
|
|
527
|
+
trip_id: string;
|
|
528
528
|
start_date: string & {
|
|
529
529
|
__brand: "OperationalDate";
|
|
530
530
|
};
|
|
@@ -570,13 +570,13 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
570
570
|
};
|
|
571
571
|
informed_entity: {
|
|
572
572
|
agency_id?: string | null | undefined;
|
|
573
|
-
stop_id?: string | null | undefined;
|
|
574
573
|
route_id?: string | null | undefined;
|
|
574
|
+
stop_id?: string | null | undefined;
|
|
575
575
|
route_type?: number | null | undefined;
|
|
576
576
|
direction_id?: number | null | undefined;
|
|
577
577
|
trip?: {
|
|
578
|
-
trip_id: string;
|
|
579
578
|
route_id: string;
|
|
579
|
+
trip_id: string;
|
|
580
580
|
start_date: string & {
|
|
581
581
|
__brand: "OperationalDate";
|
|
582
582
|
};
|
|
@@ -631,8 +631,8 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
631
631
|
license_plate: string;
|
|
632
632
|
};
|
|
633
633
|
trip: {
|
|
634
|
-
trip_id: string;
|
|
635
634
|
route_id: string;
|
|
635
|
+
trip_id: string;
|
|
636
636
|
start_date: string;
|
|
637
637
|
start_time?: any;
|
|
638
638
|
direction_id?: any;
|
|
@@ -676,13 +676,13 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
676
676
|
};
|
|
677
677
|
informed_entity: {
|
|
678
678
|
agency_id?: string | null | undefined;
|
|
679
|
-
stop_id?: string | null | undefined;
|
|
680
679
|
route_id?: string | null | undefined;
|
|
680
|
+
stop_id?: string | null | undefined;
|
|
681
681
|
route_type?: number | null | undefined;
|
|
682
682
|
direction_id?: number | null | undefined;
|
|
683
683
|
trip?: {
|
|
684
|
-
trip_id: string;
|
|
685
684
|
route_id: string;
|
|
685
|
+
trip_id: string;
|
|
686
686
|
start_date: string;
|
|
687
687
|
start_time?: any;
|
|
688
688
|
direction_id?: any;
|
|
@@ -101,8 +101,8 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
101
101
|
start_time: z.ZodAny;
|
|
102
102
|
trip_id: z.ZodString;
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
trip_id: string;
|
|
105
104
|
route_id: string;
|
|
105
|
+
trip_id: string;
|
|
106
106
|
start_date: string & {
|
|
107
107
|
__brand: "OperationalDate";
|
|
108
108
|
};
|
|
@@ -111,8 +111,8 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
111
111
|
modified_trip?: any;
|
|
112
112
|
schedule_relationship?: any;
|
|
113
113
|
}, {
|
|
114
|
-
trip_id: string;
|
|
115
114
|
route_id: string;
|
|
115
|
+
trip_id: string;
|
|
116
116
|
start_date: string;
|
|
117
117
|
start_time?: any;
|
|
118
118
|
direction_id?: any;
|
|
@@ -121,13 +121,13 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
121
121
|
}>>>;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
123
|
agency_id?: string | null | undefined;
|
|
124
|
-
stop_id?: string | null | undefined;
|
|
125
124
|
route_id?: string | null | undefined;
|
|
125
|
+
stop_id?: string | null | undefined;
|
|
126
126
|
route_type?: number | null | undefined;
|
|
127
127
|
direction_id?: number | null | undefined;
|
|
128
128
|
trip?: {
|
|
129
|
-
trip_id: string;
|
|
130
129
|
route_id: string;
|
|
130
|
+
trip_id: string;
|
|
131
131
|
start_date: string & {
|
|
132
132
|
__brand: "OperationalDate";
|
|
133
133
|
};
|
|
@@ -138,13 +138,13 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
138
138
|
} | null | undefined;
|
|
139
139
|
}, {
|
|
140
140
|
agency_id?: string | null | undefined;
|
|
141
|
-
stop_id?: string | null | undefined;
|
|
142
141
|
route_id?: string | null | undefined;
|
|
142
|
+
stop_id?: string | null | undefined;
|
|
143
143
|
route_type?: number | null | undefined;
|
|
144
144
|
direction_id?: number | null | undefined;
|
|
145
145
|
trip?: {
|
|
146
|
-
trip_id: string;
|
|
147
146
|
route_id: string;
|
|
147
|
+
trip_id: string;
|
|
148
148
|
start_date: string;
|
|
149
149
|
start_time?: any;
|
|
150
150
|
direction_id?: any;
|
|
@@ -234,13 +234,13 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
234
234
|
};
|
|
235
235
|
informed_entity: {
|
|
236
236
|
agency_id?: string | null | undefined;
|
|
237
|
-
stop_id?: string | null | undefined;
|
|
238
237
|
route_id?: string | null | undefined;
|
|
238
|
+
stop_id?: string | null | undefined;
|
|
239
239
|
route_type?: number | null | undefined;
|
|
240
240
|
direction_id?: number | null | undefined;
|
|
241
241
|
trip?: {
|
|
242
|
-
trip_id: string;
|
|
243
242
|
route_id: string;
|
|
243
|
+
trip_id: string;
|
|
244
244
|
start_date: string & {
|
|
245
245
|
__brand: "OperationalDate";
|
|
246
246
|
};
|
|
@@ -298,13 +298,13 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
298
298
|
};
|
|
299
299
|
informed_entity: {
|
|
300
300
|
agency_id?: string | null | undefined;
|
|
301
|
-
stop_id?: string | null | undefined;
|
|
302
301
|
route_id?: string | null | undefined;
|
|
302
|
+
stop_id?: string | null | undefined;
|
|
303
303
|
route_type?: number | null | undefined;
|
|
304
304
|
direction_id?: number | null | undefined;
|
|
305
305
|
trip?: {
|
|
306
|
-
trip_id: string;
|
|
307
306
|
route_id: string;
|
|
307
|
+
trip_id: string;
|
|
308
308
|
start_date: string;
|
|
309
309
|
start_time?: any;
|
|
310
310
|
direction_id?: any;
|
|
@@ -403,8 +403,8 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
403
403
|
start_time: z.ZodAny;
|
|
404
404
|
trip_id: z.ZodString;
|
|
405
405
|
}, "strip", z.ZodTypeAny, {
|
|
406
|
-
trip_id: string;
|
|
407
406
|
route_id: string;
|
|
407
|
+
trip_id: string;
|
|
408
408
|
start_date: string & {
|
|
409
409
|
__brand: "OperationalDate";
|
|
410
410
|
};
|
|
@@ -413,8 +413,8 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
413
413
|
modified_trip?: any;
|
|
414
414
|
schedule_relationship?: any;
|
|
415
415
|
}, {
|
|
416
|
-
trip_id: string;
|
|
417
416
|
route_id: string;
|
|
417
|
+
trip_id: string;
|
|
418
418
|
start_date: string;
|
|
419
419
|
start_time?: any;
|
|
420
420
|
direction_id?: any;
|
|
@@ -445,8 +445,8 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
445
445
|
license_plate: string;
|
|
446
446
|
};
|
|
447
447
|
trip: {
|
|
448
|
-
trip_id: string;
|
|
449
448
|
route_id: string;
|
|
449
|
+
trip_id: string;
|
|
450
450
|
start_date: string & {
|
|
451
451
|
__brand: "OperationalDate";
|
|
452
452
|
};
|
|
@@ -484,8 +484,8 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
484
484
|
license_plate: string;
|
|
485
485
|
};
|
|
486
486
|
trip: {
|
|
487
|
-
trip_id: string;
|
|
488
487
|
route_id: string;
|
|
488
|
+
trip_id: string;
|
|
489
489
|
start_date: string;
|
|
490
490
|
start_time?: any;
|
|
491
491
|
direction_id?: any;
|
|
@@ -524,8 +524,8 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
524
524
|
license_plate: string;
|
|
525
525
|
};
|
|
526
526
|
trip: {
|
|
527
|
-
trip_id: string;
|
|
528
527
|
route_id: string;
|
|
528
|
+
trip_id: string;
|
|
529
529
|
start_date: string & {
|
|
530
530
|
__brand: "OperationalDate";
|
|
531
531
|
};
|
|
@@ -571,13 +571,13 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
571
571
|
};
|
|
572
572
|
informed_entity: {
|
|
573
573
|
agency_id?: string | null | undefined;
|
|
574
|
-
stop_id?: string | null | undefined;
|
|
575
574
|
route_id?: string | null | undefined;
|
|
575
|
+
stop_id?: string | null | undefined;
|
|
576
576
|
route_type?: number | null | undefined;
|
|
577
577
|
direction_id?: number | null | undefined;
|
|
578
578
|
trip?: {
|
|
579
|
-
trip_id: string;
|
|
580
579
|
route_id: string;
|
|
580
|
+
trip_id: string;
|
|
581
581
|
start_date: string & {
|
|
582
582
|
__brand: "OperationalDate";
|
|
583
583
|
};
|
|
@@ -632,8 +632,8 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
632
632
|
license_plate: string;
|
|
633
633
|
};
|
|
634
634
|
trip: {
|
|
635
|
-
trip_id: string;
|
|
636
635
|
route_id: string;
|
|
636
|
+
trip_id: string;
|
|
637
637
|
start_date: string;
|
|
638
638
|
start_time?: any;
|
|
639
639
|
direction_id?: any;
|
|
@@ -677,13 +677,13 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
677
677
|
};
|
|
678
678
|
informed_entity: {
|
|
679
679
|
agency_id?: string | null | undefined;
|
|
680
|
-
stop_id?: string | null | undefined;
|
|
681
680
|
route_id?: string | null | undefined;
|
|
681
|
+
stop_id?: string | null | undefined;
|
|
682
682
|
route_type?: number | null | undefined;
|
|
683
683
|
direction_id?: number | null | undefined;
|
|
684
684
|
trip?: {
|
|
685
|
-
trip_id: string;
|
|
686
685
|
route_id: string;
|
|
686
|
+
trip_id: string;
|
|
687
687
|
start_date: string;
|
|
688
688
|
start_time?: any;
|
|
689
689
|
direction_id?: any;
|
|
@@ -754,8 +754,8 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
754
754
|
license_plate: string;
|
|
755
755
|
};
|
|
756
756
|
trip: {
|
|
757
|
-
trip_id: string;
|
|
758
757
|
route_id: string;
|
|
758
|
+
trip_id: string;
|
|
759
759
|
start_date: string & {
|
|
760
760
|
__brand: "OperationalDate";
|
|
761
761
|
};
|
|
@@ -801,13 +801,13 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
801
801
|
};
|
|
802
802
|
informed_entity: {
|
|
803
803
|
agency_id?: string | null | undefined;
|
|
804
|
-
stop_id?: string | null | undefined;
|
|
805
804
|
route_id?: string | null | undefined;
|
|
805
|
+
stop_id?: string | null | undefined;
|
|
806
806
|
route_type?: number | null | undefined;
|
|
807
807
|
direction_id?: number | null | undefined;
|
|
808
808
|
trip?: {
|
|
809
|
-
trip_id: string;
|
|
810
809
|
route_id: string;
|
|
810
|
+
trip_id: string;
|
|
811
811
|
start_date: string & {
|
|
812
812
|
__brand: "OperationalDate";
|
|
813
813
|
};
|
|
@@ -870,8 +870,8 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
870
870
|
license_plate: string;
|
|
871
871
|
};
|
|
872
872
|
trip: {
|
|
873
|
-
trip_id: string;
|
|
874
873
|
route_id: string;
|
|
874
|
+
trip_id: string;
|
|
875
875
|
start_date: string;
|
|
876
876
|
start_time?: any;
|
|
877
877
|
direction_id?: any;
|
|
@@ -915,13 +915,13 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
915
915
|
};
|
|
916
916
|
informed_entity: {
|
|
917
917
|
agency_id?: string | null | undefined;
|
|
918
|
-
stop_id?: string | null | undefined;
|
|
919
918
|
route_id?: string | null | undefined;
|
|
919
|
+
stop_id?: string | null | undefined;
|
|
920
920
|
route_type?: number | null | undefined;
|
|
921
921
|
direction_id?: number | null | undefined;
|
|
922
922
|
trip?: {
|
|
923
|
-
trip_id: string;
|
|
924
923
|
route_id: string;
|
|
924
|
+
trip_id: string;
|
|
925
925
|
start_date: string;
|
|
926
926
|
start_time?: any;
|
|
927
927
|
direction_id?: any;
|
|
@@ -8,8 +8,8 @@ export declare const GtfsRtTripDescriptorSchema: z.ZodObject<{
|
|
|
8
8
|
start_time: z.ZodAny;
|
|
9
9
|
trip_id: z.ZodString;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
trip_id: string;
|
|
12
11
|
route_id: string;
|
|
12
|
+
trip_id: string;
|
|
13
13
|
start_date: string & {
|
|
14
14
|
__brand: "OperationalDate";
|
|
15
15
|
};
|
|
@@ -18,8 +18,8 @@ export declare const GtfsRtTripDescriptorSchema: z.ZodObject<{
|
|
|
18
18
|
modified_trip?: any;
|
|
19
19
|
schedule_relationship?: any;
|
|
20
20
|
}, {
|
|
21
|
-
trip_id: string;
|
|
22
21
|
route_id: string;
|
|
22
|
+
trip_id: string;
|
|
23
23
|
start_date: string;
|
|
24
24
|
start_time?: any;
|
|
25
25
|
direction_id?: any;
|
|
@@ -54,8 +54,8 @@ export declare const GtfsRtVehiclePositionSchema: z.ZodObject<{
|
|
|
54
54
|
start_time: z.ZodAny;
|
|
55
55
|
trip_id: z.ZodString;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
trip_id: string;
|
|
58
57
|
route_id: string;
|
|
58
|
+
trip_id: string;
|
|
59
59
|
start_date: string & {
|
|
60
60
|
__brand: "OperationalDate";
|
|
61
61
|
};
|
|
@@ -64,8 +64,8 @@ export declare const GtfsRtVehiclePositionSchema: z.ZodObject<{
|
|
|
64
64
|
modified_trip?: any;
|
|
65
65
|
schedule_relationship?: any;
|
|
66
66
|
}, {
|
|
67
|
-
trip_id: string;
|
|
68
67
|
route_id: string;
|
|
68
|
+
trip_id: string;
|
|
69
69
|
start_date: string;
|
|
70
70
|
start_time?: any;
|
|
71
71
|
direction_id?: any;
|
|
@@ -96,8 +96,8 @@ export declare const GtfsRtVehiclePositionSchema: z.ZodObject<{
|
|
|
96
96
|
license_plate: string;
|
|
97
97
|
};
|
|
98
98
|
trip: {
|
|
99
|
-
trip_id: string;
|
|
100
99
|
route_id: string;
|
|
100
|
+
trip_id: string;
|
|
101
101
|
start_date: string & {
|
|
102
102
|
__brand: "OperationalDate";
|
|
103
103
|
};
|
|
@@ -135,8 +135,8 @@ export declare const GtfsRtVehiclePositionSchema: z.ZodObject<{
|
|
|
135
135
|
license_plate: string;
|
|
136
136
|
};
|
|
137
137
|
trip: {
|
|
138
|
-
trip_id: string;
|
|
139
138
|
route_id: string;
|
|
139
|
+
trip_id: string;
|
|
140
140
|
start_date: string;
|
|
141
141
|
start_time?: any;
|
|
142
142
|
direction_id?: any;
|
package/dist/gtfs-tml/fares.d.ts
CHANGED
|
@@ -12,17 +12,17 @@ export declare const GtfsTMLFareAttributesSchema: z.ZodObject<{
|
|
|
12
12
|
transfers: z.ZodNumber;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
agency_id: string;
|
|
15
|
-
price: number;
|
|
16
|
-
payment_method: number;
|
|
17
15
|
currency_type: string;
|
|
18
16
|
fare_id: string;
|
|
17
|
+
payment_method: number;
|
|
18
|
+
price: number;
|
|
19
19
|
transfers: number;
|
|
20
20
|
}, {
|
|
21
21
|
agency_id: string;
|
|
22
|
-
price: number;
|
|
23
|
-
payment_method: number;
|
|
24
22
|
currency_type: string;
|
|
25
23
|
fare_id: string;
|
|
24
|
+
payment_method: number;
|
|
25
|
+
price: number;
|
|
26
26
|
transfers: number;
|
|
27
27
|
}>;
|
|
28
28
|
/**
|
|
@@ -13,8 +13,8 @@ export declare const GtfsTMLStopTimesSchema: z.ZodObject<{
|
|
|
13
13
|
timepoint: z.ZodString;
|
|
14
14
|
trip_id: z.ZodString;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
stop_id: string;
|
|
17
16
|
trip_id: string;
|
|
17
|
+
stop_id: string;
|
|
18
18
|
arrival_time: string;
|
|
19
19
|
departure_time: string;
|
|
20
20
|
shape_dist_traveled: number;
|
|
@@ -26,8 +26,8 @@ export declare const GtfsTMLStopTimesSchema: z.ZodObject<{
|
|
|
26
26
|
pickup_type?: string | undefined;
|
|
27
27
|
stop_headsign?: string | undefined;
|
|
28
28
|
}, {
|
|
29
|
-
stop_id: string;
|
|
30
29
|
trip_id: string;
|
|
30
|
+
stop_id: string;
|
|
31
31
|
arrival_time: string;
|
|
32
32
|
departure_time: string;
|
|
33
33
|
shape_dist_traveled: number;
|
package/dist/gtfs-tml/trips.d.ts
CHANGED
|
@@ -15,9 +15,9 @@ export declare const GtfsTMLTripSchema: z.ZodObject<{
|
|
|
15
15
|
pattern_id: z.ZodString;
|
|
16
16
|
pattern_short_name: z.ZodString;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
route_id: string;
|
|
18
19
|
pattern_id: string;
|
|
19
20
|
trip_id: string;
|
|
20
|
-
route_id: string;
|
|
21
21
|
bikes_allowed: "0" | "1" | "2";
|
|
22
22
|
direction_id: "0" | "1";
|
|
23
23
|
service_id: string;
|
|
@@ -29,15 +29,15 @@ export declare const GtfsTMLTripSchema: z.ZodObject<{
|
|
|
29
29
|
trip_headsign?: string | null | undefined;
|
|
30
30
|
trip_short_name?: string | null | undefined;
|
|
31
31
|
}, {
|
|
32
|
+
route_id: string;
|
|
32
33
|
pattern_id: string;
|
|
33
34
|
trip_id: string;
|
|
34
|
-
route_id: string;
|
|
35
35
|
service_id: string;
|
|
36
36
|
shape_id: string;
|
|
37
37
|
calendar_desc: string;
|
|
38
38
|
pattern_short_name: string;
|
|
39
|
-
block_id?: string | null | undefined;
|
|
40
39
|
bikes_allowed?: "0" | "1" | "2" | undefined;
|
|
40
|
+
block_id?: string | null | undefined;
|
|
41
41
|
direction_id?: "0" | "1" | undefined;
|
|
42
42
|
trip_headsign?: string | null | undefined;
|
|
43
43
|
trip_short_name?: string | null | undefined;
|
|
@@ -98,9 +98,9 @@ export declare const HubPatternSchema: z.ZodObject<{
|
|
|
98
98
|
short_name: string;
|
|
99
99
|
agency_id: string;
|
|
100
100
|
municipality_ids: string[];
|
|
101
|
-
line_id: string;
|
|
102
101
|
color: string;
|
|
103
102
|
headsign: string;
|
|
103
|
+
line_id: string;
|
|
104
104
|
route_id: string;
|
|
105
105
|
facilities: string[];
|
|
106
106
|
direction_id: 0 | 1;
|
|
@@ -137,9 +137,9 @@ export declare const HubPatternSchema: z.ZodObject<{
|
|
|
137
137
|
}[];
|
|
138
138
|
short_name: string;
|
|
139
139
|
agency_id: string;
|
|
140
|
-
line_id: string;
|
|
141
140
|
color: string;
|
|
142
141
|
headsign: string;
|
|
142
|
+
line_id: string;
|
|
143
143
|
route_id: string;
|
|
144
144
|
direction_id: 0 | 1;
|
|
145
145
|
shape_id: string;
|
|
@@ -20,8 +20,8 @@ export declare const HubRouteSchema: z.ZodObject<{
|
|
|
20
20
|
short_name: string;
|
|
21
21
|
agency_id: string;
|
|
22
22
|
municipality_ids: string[];
|
|
23
|
-
line_id: string;
|
|
24
23
|
color: string;
|
|
24
|
+
line_id: string;
|
|
25
25
|
stop_ids: string[];
|
|
26
26
|
tts_name: string;
|
|
27
27
|
facilities: string[];
|
|
@@ -35,8 +35,8 @@ export declare const HubRouteSchema: z.ZodObject<{
|
|
|
35
35
|
_id: string;
|
|
36
36
|
short_name: string;
|
|
37
37
|
agency_id: string;
|
|
38
|
-
line_id: string;
|
|
39
38
|
color: string;
|
|
39
|
+
line_id: string;
|
|
40
40
|
tts_name: string;
|
|
41
41
|
long_name: string;
|
|
42
42
|
text_color: string;
|
|
@@ -11,9 +11,9 @@ export declare const HubStopSchema: z.ZodObject<{
|
|
|
11
11
|
stop_id: z.ZodString;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
short_name: string;
|
|
14
|
-
stop_id: string;
|
|
15
14
|
agency_ids: string[];
|
|
16
15
|
is_harmonized: boolean;
|
|
16
|
+
stop_id: string;
|
|
17
17
|
}, {
|
|
18
18
|
short_name: string;
|
|
19
19
|
stop_id: string;
|
|
@@ -44,9 +44,9 @@ export declare const HubStopSchema: z.ZodObject<{
|
|
|
44
44
|
line_ids: string[];
|
|
45
45
|
flags: {
|
|
46
46
|
short_name: string;
|
|
47
|
-
stop_id: string;
|
|
48
47
|
agency_ids: string[];
|
|
49
48
|
is_harmonized: boolean;
|
|
49
|
+
stop_id: string;
|
|
50
50
|
}[];
|
|
51
51
|
legacy_ids: string[];
|
|
52
52
|
lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
|
|
@@ -23,15 +23,12 @@ export declare const HubVehiclePositionSchema: z.ZodObject<{
|
|
|
23
23
|
__brand: "UnixTimestamp";
|
|
24
24
|
};
|
|
25
25
|
agency_id: string;
|
|
26
|
-
received_at: number & {
|
|
27
|
-
__brand: "UnixTimestamp";
|
|
28
|
-
};
|
|
29
26
|
line_id: string | null;
|
|
27
|
+
ride_id: string | null;
|
|
30
28
|
pattern_id: string | null;
|
|
31
|
-
stop_id: string | null;
|
|
32
29
|
trip_id: string;
|
|
33
30
|
vehicle_id: string;
|
|
34
|
-
|
|
31
|
+
stop_id: string | null;
|
|
35
32
|
latitude: number;
|
|
36
33
|
longitude: number;
|
|
37
34
|
bearing: number | null;
|
|
@@ -41,20 +38,23 @@ export declare const HubVehiclePositionSchema: z.ZodObject<{
|
|
|
41
38
|
__brand: "CalendarDate";
|
|
42
39
|
};
|
|
43
40
|
geohash: string | null;
|
|
41
|
+
received_at: number & {
|
|
42
|
+
__brand: "UnixTimestamp";
|
|
43
|
+
};
|
|
44
44
|
}, {
|
|
45
45
|
_id: string;
|
|
46
46
|
created_at: number;
|
|
47
47
|
agency_id: string;
|
|
48
|
-
received_at: number;
|
|
49
48
|
trip_id: string;
|
|
50
49
|
vehicle_id: string;
|
|
51
50
|
latitude: number;
|
|
52
51
|
longitude: number;
|
|
53
52
|
calendar_date: string;
|
|
53
|
+
received_at: number;
|
|
54
54
|
line_id?: string | null | undefined;
|
|
55
|
+
ride_id?: string | null | undefined;
|
|
55
56
|
pattern_id?: string | null | undefined;
|
|
56
57
|
stop_id?: string | null | undefined;
|
|
57
|
-
ride_id?: string | null | undefined;
|
|
58
58
|
bearing?: number | null | undefined;
|
|
59
59
|
speed?: number | null | undefined;
|
|
60
60
|
current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
|
package/dist/index.d.ts
CHANGED