@tmlmobilidade/types 20260615.1034.33 → 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/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
package/dist/offer/pattern.d.ts
CHANGED
|
@@ -30,9 +30,9 @@ export declare const PathSchema: z.ZodObject<{
|
|
|
30
30
|
stop_id: z.ZodString;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
short_name: string;
|
|
33
|
-
stop_id: string;
|
|
34
33
|
agency_ids: string[];
|
|
35
34
|
is_harmonized: boolean;
|
|
35
|
+
stop_id: string;
|
|
36
36
|
}, {
|
|
37
37
|
short_name: string;
|
|
38
38
|
stop_id: string;
|
|
@@ -301,14 +301,14 @@ export declare const PathSchema: z.ZodObject<{
|
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
302
|
_id: string;
|
|
303
303
|
code: string;
|
|
304
|
-
line_id: string;
|
|
305
304
|
headsign: string;
|
|
305
|
+
line_id: string;
|
|
306
306
|
route_id: string;
|
|
307
307
|
}, {
|
|
308
308
|
_id: string;
|
|
309
309
|
code: string;
|
|
310
|
-
line_id: string;
|
|
311
310
|
headsign: string;
|
|
311
|
+
line_id: string;
|
|
312
312
|
route_id: string;
|
|
313
313
|
}>, "many">>;
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -326,8 +326,8 @@ export declare const PathSchema: z.ZodObject<{
|
|
|
326
326
|
associated_patterns: {
|
|
327
327
|
_id: string;
|
|
328
328
|
code: string;
|
|
329
|
-
line_id: string;
|
|
330
329
|
headsign: string;
|
|
330
|
+
line_id: string;
|
|
331
331
|
route_id: string;
|
|
332
332
|
}[];
|
|
333
333
|
comments: ({
|
|
@@ -378,9 +378,9 @@ export declare const PathSchema: z.ZodObject<{
|
|
|
378
378
|
})[];
|
|
379
379
|
flags: {
|
|
380
380
|
short_name: string;
|
|
381
|
-
stop_id: string;
|
|
382
381
|
agency_ids: string[];
|
|
383
382
|
is_harmonized: boolean;
|
|
383
|
+
stop_id: string;
|
|
384
384
|
}[];
|
|
385
385
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
386
386
|
legacy_id: string | null;
|
|
@@ -441,8 +441,8 @@ export declare const PathSchema: z.ZodObject<{
|
|
|
441
441
|
associated_patterns?: {
|
|
442
442
|
_id: string;
|
|
443
443
|
code: string;
|
|
444
|
-
line_id: string;
|
|
445
444
|
headsign: string;
|
|
445
|
+
line_id: string;
|
|
446
446
|
route_id: string;
|
|
447
447
|
}[] | undefined;
|
|
448
448
|
comments?: ({
|
|
@@ -548,8 +548,8 @@ export declare const PathSchema: z.ZodObject<{
|
|
|
548
548
|
associated_patterns: {
|
|
549
549
|
_id: string;
|
|
550
550
|
code: string;
|
|
551
|
-
line_id: string;
|
|
552
551
|
headsign: string;
|
|
552
|
+
line_id: string;
|
|
553
553
|
route_id: string;
|
|
554
554
|
}[];
|
|
555
555
|
comments: ({
|
|
@@ -600,9 +600,9 @@ export declare const PathSchema: z.ZodObject<{
|
|
|
600
600
|
})[];
|
|
601
601
|
flags: {
|
|
602
602
|
short_name: string;
|
|
603
|
-
stop_id: string;
|
|
604
603
|
agency_ids: string[];
|
|
605
604
|
is_harmonized: boolean;
|
|
605
|
+
stop_id: string;
|
|
606
606
|
}[];
|
|
607
607
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
608
608
|
legacy_id: string | null;
|
|
@@ -668,8 +668,8 @@ export declare const PathSchema: z.ZodObject<{
|
|
|
668
668
|
associated_patterns?: {
|
|
669
669
|
_id: string;
|
|
670
670
|
code: string;
|
|
671
|
-
line_id: string;
|
|
672
671
|
headsign: string;
|
|
672
|
+
line_id: string;
|
|
673
673
|
route_id: string;
|
|
674
674
|
}[] | undefined;
|
|
675
675
|
comments?: ({
|
|
@@ -1105,7 +1105,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1105
1105
|
dwell_time: number;
|
|
1106
1106
|
}[];
|
|
1107
1107
|
kind: "override";
|
|
1108
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
1108
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
1109
1109
|
year_period_ids: string[];
|
|
1110
1110
|
_id?: string | undefined;
|
|
1111
1111
|
name?: string | undefined;
|
|
@@ -1118,7 +1118,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1118
1118
|
dwell_time: number;
|
|
1119
1119
|
}[];
|
|
1120
1120
|
kind: "override";
|
|
1121
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
1121
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
1122
1122
|
year_period_ids: string[];
|
|
1123
1123
|
_id?: string | undefined;
|
|
1124
1124
|
name?: string | undefined;
|
|
@@ -1141,7 +1141,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1141
1141
|
dwell_time: number;
|
|
1142
1142
|
}[];
|
|
1143
1143
|
kind: "override";
|
|
1144
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
1144
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
1145
1145
|
year_period_ids: string[];
|
|
1146
1146
|
_id?: string | undefined;
|
|
1147
1147
|
name?: string | undefined;
|
|
@@ -1164,7 +1164,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1164
1164
|
dwell_time: number;
|
|
1165
1165
|
}[];
|
|
1166
1166
|
kind: "override";
|
|
1167
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
1167
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
1168
1168
|
year_period_ids: string[];
|
|
1169
1169
|
_id?: string | undefined;
|
|
1170
1170
|
name?: string | undefined;
|
|
@@ -1191,9 +1191,9 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1191
1191
|
stop_id: z.ZodString;
|
|
1192
1192
|
}, "strip", z.ZodTypeAny, {
|
|
1193
1193
|
short_name: string;
|
|
1194
|
-
stop_id: string;
|
|
1195
1194
|
agency_ids: string[];
|
|
1196
1195
|
is_harmonized: boolean;
|
|
1196
|
+
stop_id: string;
|
|
1197
1197
|
}, {
|
|
1198
1198
|
short_name: string;
|
|
1199
1199
|
stop_id: string;
|
|
@@ -1462,14 +1462,14 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1462
1462
|
}, "strip", z.ZodTypeAny, {
|
|
1463
1463
|
_id: string;
|
|
1464
1464
|
code: string;
|
|
1465
|
-
line_id: string;
|
|
1466
1465
|
headsign: string;
|
|
1466
|
+
line_id: string;
|
|
1467
1467
|
route_id: string;
|
|
1468
1468
|
}, {
|
|
1469
1469
|
_id: string;
|
|
1470
1470
|
code: string;
|
|
1471
|
-
line_id: string;
|
|
1472
1471
|
headsign: string;
|
|
1472
|
+
line_id: string;
|
|
1473
1473
|
route_id: string;
|
|
1474
1474
|
}>, "many">>;
|
|
1475
1475
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1487,8 +1487,8 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1487
1487
|
associated_patterns: {
|
|
1488
1488
|
_id: string;
|
|
1489
1489
|
code: string;
|
|
1490
|
-
line_id: string;
|
|
1491
1490
|
headsign: string;
|
|
1491
|
+
line_id: string;
|
|
1492
1492
|
route_id: string;
|
|
1493
1493
|
}[];
|
|
1494
1494
|
comments: ({
|
|
@@ -1539,9 +1539,9 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1539
1539
|
})[];
|
|
1540
1540
|
flags: {
|
|
1541
1541
|
short_name: string;
|
|
1542
|
-
stop_id: string;
|
|
1543
1542
|
agency_ids: string[];
|
|
1544
1543
|
is_harmonized: boolean;
|
|
1544
|
+
stop_id: string;
|
|
1545
1545
|
}[];
|
|
1546
1546
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
1547
1547
|
legacy_id: string | null;
|
|
@@ -1602,8 +1602,8 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1602
1602
|
associated_patterns?: {
|
|
1603
1603
|
_id: string;
|
|
1604
1604
|
code: string;
|
|
1605
|
-
line_id: string;
|
|
1606
1605
|
headsign: string;
|
|
1606
|
+
line_id: string;
|
|
1607
1607
|
route_id: string;
|
|
1608
1608
|
}[] | undefined;
|
|
1609
1609
|
comments?: ({
|
|
@@ -1709,8 +1709,8 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1709
1709
|
associated_patterns: {
|
|
1710
1710
|
_id: string;
|
|
1711
1711
|
code: string;
|
|
1712
|
-
line_id: string;
|
|
1713
1712
|
headsign: string;
|
|
1713
|
+
line_id: string;
|
|
1714
1714
|
route_id: string;
|
|
1715
1715
|
}[];
|
|
1716
1716
|
comments: ({
|
|
@@ -1761,9 +1761,9 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1761
1761
|
})[];
|
|
1762
1762
|
flags: {
|
|
1763
1763
|
short_name: string;
|
|
1764
|
-
stop_id: string;
|
|
1765
1764
|
agency_ids: string[];
|
|
1766
1765
|
is_harmonized: boolean;
|
|
1766
|
+
stop_id: string;
|
|
1767
1767
|
}[];
|
|
1768
1768
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
1769
1769
|
legacy_id: string | null;
|
|
@@ -1829,8 +1829,8 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1829
1829
|
associated_patterns?: {
|
|
1830
1830
|
_id: string;
|
|
1831
1831
|
code: string;
|
|
1832
|
-
line_id: string;
|
|
1833
1832
|
headsign: string;
|
|
1833
|
+
line_id: string;
|
|
1834
1834
|
route_id: string;
|
|
1835
1835
|
}[] | undefined;
|
|
1836
1836
|
comments?: ({
|
|
@@ -1955,8 +1955,8 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1955
1955
|
year_period_ids: string[];
|
|
1956
1956
|
name?: string | undefined;
|
|
1957
1957
|
event_id?: string | undefined;
|
|
1958
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
1959
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
1958
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
1959
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
1960
1960
|
}, {
|
|
1961
1961
|
_id: string;
|
|
1962
1962
|
kind: "manual";
|
|
@@ -1965,8 +1965,8 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1965
1965
|
year_period_ids: string[];
|
|
1966
1966
|
name?: string | undefined;
|
|
1967
1967
|
event_id?: string | undefined;
|
|
1968
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
1969
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
1968
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
1969
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
1970
1970
|
}>, z.ZodObject<{
|
|
1971
1971
|
_id: z.ZodOptional<z.ZodString>;
|
|
1972
1972
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2060,7 +2060,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2060
2060
|
};
|
|
2061
2061
|
dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
|
|
2062
2062
|
kind: "event_replacement";
|
|
2063
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
2063
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
2064
2064
|
year_period_ids: string[];
|
|
2065
2065
|
lines_mode: "exclude" | "include" | "all";
|
|
2066
2066
|
_id?: string | undefined;
|
|
@@ -2076,7 +2076,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2076
2076
|
};
|
|
2077
2077
|
dates: string[];
|
|
2078
2078
|
kind: "event_replacement";
|
|
2079
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
2079
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
2080
2080
|
year_period_ids: string[];
|
|
2081
2081
|
lines_mode: "exclude" | "include" | "all";
|
|
2082
2082
|
_id?: string | undefined;
|
|
@@ -2148,7 +2148,6 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2148
2148
|
__brand: "UnixTimestamp";
|
|
2149
2149
|
};
|
|
2150
2150
|
code: string;
|
|
2151
|
-
line_id: string;
|
|
2152
2151
|
rules: ({
|
|
2153
2152
|
_id: string;
|
|
2154
2153
|
kind: "manual";
|
|
@@ -2157,8 +2156,8 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2157
2156
|
year_period_ids: string[];
|
|
2158
2157
|
name?: string | undefined;
|
|
2159
2158
|
event_id?: string | undefined;
|
|
2160
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
2161
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
2159
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
2160
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
2162
2161
|
} | {
|
|
2163
2162
|
event: {
|
|
2164
2163
|
title: string;
|
|
@@ -2182,7 +2181,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2182
2181
|
};
|
|
2183
2182
|
dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
|
|
2184
2183
|
kind: "event_replacement";
|
|
2185
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
2184
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
2186
2185
|
year_period_ids: string[];
|
|
2187
2186
|
lines_mode: "exclude" | "include" | "all";
|
|
2188
2187
|
_id?: string | undefined;
|
|
@@ -2193,6 +2192,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2193
2192
|
same_weekday?: boolean | undefined;
|
|
2194
2193
|
})[];
|
|
2195
2194
|
headsign: string;
|
|
2195
|
+
line_id: string;
|
|
2196
2196
|
route_id: string;
|
|
2197
2197
|
comments: ({
|
|
2198
2198
|
message: string;
|
|
@@ -2267,8 +2267,8 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2267
2267
|
associated_patterns: {
|
|
2268
2268
|
_id: string;
|
|
2269
2269
|
code: string;
|
|
2270
|
-
line_id: string;
|
|
2271
2270
|
headsign: string;
|
|
2271
|
+
line_id: string;
|
|
2272
2272
|
route_id: string;
|
|
2273
2273
|
}[];
|
|
2274
2274
|
comments: ({
|
|
@@ -2319,9 +2319,9 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2319
2319
|
})[];
|
|
2320
2320
|
flags: {
|
|
2321
2321
|
short_name: string;
|
|
2322
|
-
stop_id: string;
|
|
2323
2322
|
agency_ids: string[];
|
|
2324
2323
|
is_harmonized: boolean;
|
|
2324
|
+
stop_id: string;
|
|
2325
2325
|
}[];
|
|
2326
2326
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
2327
2327
|
legacy_id: string | null;
|
|
@@ -2395,7 +2395,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2395
2395
|
dwell_time: number;
|
|
2396
2396
|
}[];
|
|
2397
2397
|
kind: "override";
|
|
2398
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
2398
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
2399
2399
|
year_period_ids: string[];
|
|
2400
2400
|
_id?: string | undefined;
|
|
2401
2401
|
name?: string | undefined;
|
|
@@ -2407,8 +2407,8 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2407
2407
|
created_at: number;
|
|
2408
2408
|
updated_at: number;
|
|
2409
2409
|
code: string;
|
|
2410
|
-
line_id: string;
|
|
2411
2410
|
headsign: string;
|
|
2411
|
+
line_id: string;
|
|
2412
2412
|
route_id: string;
|
|
2413
2413
|
destination: string;
|
|
2414
2414
|
origin: string;
|
|
@@ -2436,8 +2436,8 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2436
2436
|
associated_patterns?: {
|
|
2437
2437
|
_id: string;
|
|
2438
2438
|
code: string;
|
|
2439
|
-
line_id: string;
|
|
2440
2439
|
headsign: string;
|
|
2440
|
+
line_id: string;
|
|
2441
2441
|
route_id: string;
|
|
2442
2442
|
}[] | undefined;
|
|
2443
2443
|
comments?: ({
|
|
@@ -2541,8 +2541,8 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2541
2541
|
year_period_ids: string[];
|
|
2542
2542
|
name?: string | undefined;
|
|
2543
2543
|
event_id?: string | undefined;
|
|
2544
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
2545
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
2544
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
2545
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
2546
2546
|
} | {
|
|
2547
2547
|
event: {
|
|
2548
2548
|
title: string;
|
|
@@ -2566,7 +2566,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2566
2566
|
};
|
|
2567
2567
|
dates: string[];
|
|
2568
2568
|
kind: "event_replacement";
|
|
2569
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
2569
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
2570
2570
|
year_period_ids: string[];
|
|
2571
2571
|
lines_mode: "exclude" | "include" | "all";
|
|
2572
2572
|
_id?: string | undefined;
|
|
@@ -2628,7 +2628,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2628
2628
|
dwell_time: number;
|
|
2629
2629
|
}[];
|
|
2630
2630
|
kind: "override";
|
|
2631
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
2631
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
2632
2632
|
year_period_ids: string[];
|
|
2633
2633
|
_id?: string | undefined;
|
|
2634
2634
|
name?: string | undefined;
|
|
@@ -2645,14 +2645,14 @@ export declare const PatternSimplifiedSchema: z.ZodObject<{
|
|
|
2645
2645
|
}, "strip", z.ZodTypeAny, {
|
|
2646
2646
|
_id: string;
|
|
2647
2647
|
code: string;
|
|
2648
|
-
line_id: string;
|
|
2649
2648
|
headsign: string;
|
|
2649
|
+
line_id: string;
|
|
2650
2650
|
route_id: string;
|
|
2651
2651
|
}, {
|
|
2652
2652
|
_id: string;
|
|
2653
2653
|
code: string;
|
|
2654
|
-
line_id: string;
|
|
2655
2654
|
headsign: string;
|
|
2655
|
+
line_id: string;
|
|
2656
2656
|
route_id: string;
|
|
2657
2657
|
}>;
|
|
2658
2658
|
export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
@@ -2955,7 +2955,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
2955
2955
|
dwell_time: number;
|
|
2956
2956
|
}[];
|
|
2957
2957
|
kind: "override";
|
|
2958
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
2958
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
2959
2959
|
year_period_ids: string[];
|
|
2960
2960
|
_id?: string | undefined;
|
|
2961
2961
|
name?: string | undefined;
|
|
@@ -2968,7 +2968,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
2968
2968
|
dwell_time: number;
|
|
2969
2969
|
}[];
|
|
2970
2970
|
kind: "override";
|
|
2971
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
2971
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
2972
2972
|
year_period_ids: string[];
|
|
2973
2973
|
_id?: string | undefined;
|
|
2974
2974
|
name?: string | undefined;
|
|
@@ -2991,7 +2991,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
2991
2991
|
dwell_time: number;
|
|
2992
2992
|
}[];
|
|
2993
2993
|
kind: "override";
|
|
2994
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
2994
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
2995
2995
|
year_period_ids: string[];
|
|
2996
2996
|
_id?: string | undefined;
|
|
2997
2997
|
name?: string | undefined;
|
|
@@ -3014,7 +3014,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3014
3014
|
dwell_time: number;
|
|
3015
3015
|
}[];
|
|
3016
3016
|
kind: "override";
|
|
3017
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
3017
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
3018
3018
|
year_period_ids: string[];
|
|
3019
3019
|
_id?: string | undefined;
|
|
3020
3020
|
name?: string | undefined;
|
|
@@ -3041,9 +3041,9 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3041
3041
|
stop_id: z.ZodString;
|
|
3042
3042
|
}, "strip", z.ZodTypeAny, {
|
|
3043
3043
|
short_name: string;
|
|
3044
|
-
stop_id: string;
|
|
3045
3044
|
agency_ids: string[];
|
|
3046
3045
|
is_harmonized: boolean;
|
|
3046
|
+
stop_id: string;
|
|
3047
3047
|
}, {
|
|
3048
3048
|
short_name: string;
|
|
3049
3049
|
stop_id: string;
|
|
@@ -3312,14 +3312,14 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3312
3312
|
}, "strip", z.ZodTypeAny, {
|
|
3313
3313
|
_id: string;
|
|
3314
3314
|
code: string;
|
|
3315
|
-
line_id: string;
|
|
3316
3315
|
headsign: string;
|
|
3316
|
+
line_id: string;
|
|
3317
3317
|
route_id: string;
|
|
3318
3318
|
}, {
|
|
3319
3319
|
_id: string;
|
|
3320
3320
|
code: string;
|
|
3321
|
-
line_id: string;
|
|
3322
3321
|
headsign: string;
|
|
3322
|
+
line_id: string;
|
|
3323
3323
|
route_id: string;
|
|
3324
3324
|
}>, "many">>;
|
|
3325
3325
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3337,8 +3337,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3337
3337
|
associated_patterns: {
|
|
3338
3338
|
_id: string;
|
|
3339
3339
|
code: string;
|
|
3340
|
-
line_id: string;
|
|
3341
3340
|
headsign: string;
|
|
3341
|
+
line_id: string;
|
|
3342
3342
|
route_id: string;
|
|
3343
3343
|
}[];
|
|
3344
3344
|
comments: ({
|
|
@@ -3389,9 +3389,9 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3389
3389
|
})[];
|
|
3390
3390
|
flags: {
|
|
3391
3391
|
short_name: string;
|
|
3392
|
-
stop_id: string;
|
|
3393
3392
|
agency_ids: string[];
|
|
3394
3393
|
is_harmonized: boolean;
|
|
3394
|
+
stop_id: string;
|
|
3395
3395
|
}[];
|
|
3396
3396
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
3397
3397
|
legacy_id: string | null;
|
|
@@ -3452,8 +3452,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3452
3452
|
associated_patterns?: {
|
|
3453
3453
|
_id: string;
|
|
3454
3454
|
code: string;
|
|
3455
|
-
line_id: string;
|
|
3456
3455
|
headsign: string;
|
|
3456
|
+
line_id: string;
|
|
3457
3457
|
route_id: string;
|
|
3458
3458
|
}[] | undefined;
|
|
3459
3459
|
comments?: ({
|
|
@@ -3559,8 +3559,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3559
3559
|
associated_patterns: {
|
|
3560
3560
|
_id: string;
|
|
3561
3561
|
code: string;
|
|
3562
|
-
line_id: string;
|
|
3563
3562
|
headsign: string;
|
|
3563
|
+
line_id: string;
|
|
3564
3564
|
route_id: string;
|
|
3565
3565
|
}[];
|
|
3566
3566
|
comments: ({
|
|
@@ -3611,9 +3611,9 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3611
3611
|
})[];
|
|
3612
3612
|
flags: {
|
|
3613
3613
|
short_name: string;
|
|
3614
|
-
stop_id: string;
|
|
3615
3614
|
agency_ids: string[];
|
|
3616
3615
|
is_harmonized: boolean;
|
|
3616
|
+
stop_id: string;
|
|
3617
3617
|
}[];
|
|
3618
3618
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
3619
3619
|
legacy_id: string | null;
|
|
@@ -3679,8 +3679,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3679
3679
|
associated_patterns?: {
|
|
3680
3680
|
_id: string;
|
|
3681
3681
|
code: string;
|
|
3682
|
-
line_id: string;
|
|
3683
3682
|
headsign: string;
|
|
3683
|
+
line_id: string;
|
|
3684
3684
|
route_id: string;
|
|
3685
3685
|
}[] | undefined;
|
|
3686
3686
|
comments?: ({
|
|
@@ -3805,8 +3805,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3805
3805
|
year_period_ids: string[];
|
|
3806
3806
|
name?: string | undefined;
|
|
3807
3807
|
event_id?: string | undefined;
|
|
3808
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
3809
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
3808
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
3809
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
3810
3810
|
}, {
|
|
3811
3811
|
_id: string;
|
|
3812
3812
|
kind: "manual";
|
|
@@ -3815,8 +3815,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3815
3815
|
year_period_ids: string[];
|
|
3816
3816
|
name?: string | undefined;
|
|
3817
3817
|
event_id?: string | undefined;
|
|
3818
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
3819
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
3818
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
3819
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
3820
3820
|
}>, z.ZodObject<{
|
|
3821
3821
|
_id: z.ZodOptional<z.ZodString>;
|
|
3822
3822
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -3910,7 +3910,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3910
3910
|
};
|
|
3911
3911
|
dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
|
|
3912
3912
|
kind: "event_replacement";
|
|
3913
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
3913
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
3914
3914
|
year_period_ids: string[];
|
|
3915
3915
|
lines_mode: "exclude" | "include" | "all";
|
|
3916
3916
|
_id?: string | undefined;
|
|
@@ -3926,7 +3926,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3926
3926
|
};
|
|
3927
3927
|
dates: string[];
|
|
3928
3928
|
kind: "event_replacement";
|
|
3929
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
3929
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
3930
3930
|
year_period_ids: string[];
|
|
3931
3931
|
lines_mode: "exclude" | "include" | "all";
|
|
3932
3932
|
_id?: string | undefined;
|
|
@@ -3991,7 +3991,6 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3991
3991
|
created_by: string | null;
|
|
3992
3992
|
is_locked: boolean;
|
|
3993
3993
|
code: string;
|
|
3994
|
-
line_id: string;
|
|
3995
3994
|
rules: ({
|
|
3996
3995
|
_id: string;
|
|
3997
3996
|
kind: "manual";
|
|
@@ -4000,8 +3999,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
4000
3999
|
year_period_ids: string[];
|
|
4001
4000
|
name?: string | undefined;
|
|
4002
4001
|
event_id?: string | undefined;
|
|
4003
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
4004
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
4002
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
4003
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
4005
4004
|
} | {
|
|
4006
4005
|
event: {
|
|
4007
4006
|
title: string;
|
|
@@ -4025,7 +4024,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
4025
4024
|
};
|
|
4026
4025
|
dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
|
|
4027
4026
|
kind: "event_replacement";
|
|
4028
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
4027
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
4029
4028
|
year_period_ids: string[];
|
|
4030
4029
|
lines_mode: "exclude" | "include" | "all";
|
|
4031
4030
|
_id?: string | undefined;
|
|
@@ -4036,6 +4035,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
4036
4035
|
same_weekday?: boolean | undefined;
|
|
4037
4036
|
})[];
|
|
4038
4037
|
headsign: string;
|
|
4038
|
+
line_id: string;
|
|
4039
4039
|
route_id: string;
|
|
4040
4040
|
comments: ({
|
|
4041
4041
|
message: string;
|
|
@@ -4110,8 +4110,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
4110
4110
|
associated_patterns: {
|
|
4111
4111
|
_id: string;
|
|
4112
4112
|
code: string;
|
|
4113
|
-
line_id: string;
|
|
4114
4113
|
headsign: string;
|
|
4114
|
+
line_id: string;
|
|
4115
4115
|
route_id: string;
|
|
4116
4116
|
}[];
|
|
4117
4117
|
comments: ({
|
|
@@ -4162,9 +4162,9 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
4162
4162
|
})[];
|
|
4163
4163
|
flags: {
|
|
4164
4164
|
short_name: string;
|
|
4165
|
-
stop_id: string;
|
|
4166
4165
|
agency_ids: string[];
|
|
4167
4166
|
is_harmonized: boolean;
|
|
4167
|
+
stop_id: string;
|
|
4168
4168
|
}[];
|
|
4169
4169
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
4170
4170
|
legacy_id: string | null;
|
|
@@ -4238,7 +4238,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
4238
4238
|
dwell_time: number;
|
|
4239
4239
|
}[];
|
|
4240
4240
|
kind: "override";
|
|
4241
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
4241
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
4242
4242
|
year_period_ids: string[];
|
|
4243
4243
|
_id?: string | undefined;
|
|
4244
4244
|
name?: string | undefined;
|
|
@@ -4247,8 +4247,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
4247
4247
|
})[] | undefined;
|
|
4248
4248
|
}, {
|
|
4249
4249
|
code: string;
|
|
4250
|
-
line_id: string;
|
|
4251
4250
|
headsign: string;
|
|
4251
|
+
line_id: string;
|
|
4252
4252
|
route_id: string;
|
|
4253
4253
|
destination: string;
|
|
4254
4254
|
origin: string;
|
|
@@ -4276,8 +4276,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
4276
4276
|
associated_patterns?: {
|
|
4277
4277
|
_id: string;
|
|
4278
4278
|
code: string;
|
|
4279
|
-
line_id: string;
|
|
4280
4279
|
headsign: string;
|
|
4280
|
+
line_id: string;
|
|
4281
4281
|
route_id: string;
|
|
4282
4282
|
}[] | undefined;
|
|
4283
4283
|
comments?: ({
|
|
@@ -4381,8 +4381,8 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
4381
4381
|
year_period_ids: string[];
|
|
4382
4382
|
name?: string | undefined;
|
|
4383
4383
|
event_id?: string | undefined;
|
|
4384
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
4385
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
4384
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
4385
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
4386
4386
|
} | {
|
|
4387
4387
|
event: {
|
|
4388
4388
|
title: string;
|
|
@@ -4406,7 +4406,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
4406
4406
|
};
|
|
4407
4407
|
dates: string[];
|
|
4408
4408
|
kind: "event_replacement";
|
|
4409
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
4409
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
4410
4410
|
year_period_ids: string[];
|
|
4411
4411
|
lines_mode: "exclude" | "include" | "all";
|
|
4412
4412
|
_id?: string | undefined;
|
|
@@ -4468,7 +4468,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
4468
4468
|
dwell_time: number;
|
|
4469
4469
|
}[];
|
|
4470
4470
|
kind: "override";
|
|
4471
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
4471
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
4472
4472
|
year_period_ids: string[];
|
|
4473
4473
|
_id?: string | undefined;
|
|
4474
4474
|
name?: string | undefined;
|
|
@@ -4500,9 +4500,9 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
4500
4500
|
stop_id: z.ZodString;
|
|
4501
4501
|
}, "strip", z.ZodTypeAny, {
|
|
4502
4502
|
short_name: string;
|
|
4503
|
-
stop_id: string;
|
|
4504
4503
|
agency_ids: string[];
|
|
4505
4504
|
is_harmonized: boolean;
|
|
4505
|
+
stop_id: string;
|
|
4506
4506
|
}, {
|
|
4507
4507
|
short_name: string;
|
|
4508
4508
|
stop_id: string;
|
|
@@ -4771,14 +4771,14 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
4771
4771
|
}, "strip", z.ZodTypeAny, {
|
|
4772
4772
|
_id: string;
|
|
4773
4773
|
code: string;
|
|
4774
|
-
line_id: string;
|
|
4775
4774
|
headsign: string;
|
|
4775
|
+
line_id: string;
|
|
4776
4776
|
route_id: string;
|
|
4777
4777
|
}, {
|
|
4778
4778
|
_id: string;
|
|
4779
4779
|
code: string;
|
|
4780
|
-
line_id: string;
|
|
4781
4780
|
headsign: string;
|
|
4781
|
+
line_id: string;
|
|
4782
4782
|
route_id: string;
|
|
4783
4783
|
}>, "many">>;
|
|
4784
4784
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4796,8 +4796,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
4796
4796
|
associated_patterns: {
|
|
4797
4797
|
_id: string;
|
|
4798
4798
|
code: string;
|
|
4799
|
-
line_id: string;
|
|
4800
4799
|
headsign: string;
|
|
4800
|
+
line_id: string;
|
|
4801
4801
|
route_id: string;
|
|
4802
4802
|
}[];
|
|
4803
4803
|
comments: ({
|
|
@@ -4848,9 +4848,9 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
4848
4848
|
})[];
|
|
4849
4849
|
flags: {
|
|
4850
4850
|
short_name: string;
|
|
4851
|
-
stop_id: string;
|
|
4852
4851
|
agency_ids: string[];
|
|
4853
4852
|
is_harmonized: boolean;
|
|
4853
|
+
stop_id: string;
|
|
4854
4854
|
}[];
|
|
4855
4855
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
4856
4856
|
legacy_id: string | null;
|
|
@@ -4911,8 +4911,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
4911
4911
|
associated_patterns?: {
|
|
4912
4912
|
_id: string;
|
|
4913
4913
|
code: string;
|
|
4914
|
-
line_id: string;
|
|
4915
4914
|
headsign: string;
|
|
4915
|
+
line_id: string;
|
|
4916
4916
|
route_id: string;
|
|
4917
4917
|
}[] | undefined;
|
|
4918
4918
|
comments?: ({
|
|
@@ -5018,8 +5018,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5018
5018
|
associated_patterns: {
|
|
5019
5019
|
_id: string;
|
|
5020
5020
|
code: string;
|
|
5021
|
-
line_id: string;
|
|
5022
5021
|
headsign: string;
|
|
5022
|
+
line_id: string;
|
|
5023
5023
|
route_id: string;
|
|
5024
5024
|
}[];
|
|
5025
5025
|
comments: ({
|
|
@@ -5070,9 +5070,9 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5070
5070
|
})[];
|
|
5071
5071
|
flags: {
|
|
5072
5072
|
short_name: string;
|
|
5073
|
-
stop_id: string;
|
|
5074
5073
|
agency_ids: string[];
|
|
5075
5074
|
is_harmonized: boolean;
|
|
5075
|
+
stop_id: string;
|
|
5076
5076
|
}[];
|
|
5077
5077
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
5078
5078
|
legacy_id: string | null;
|
|
@@ -5138,8 +5138,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5138
5138
|
associated_patterns?: {
|
|
5139
5139
|
_id: string;
|
|
5140
5140
|
code: string;
|
|
5141
|
-
line_id: string;
|
|
5142
5141
|
headsign: string;
|
|
5142
|
+
line_id: string;
|
|
5143
5143
|
route_id: string;
|
|
5144
5144
|
}[] | undefined;
|
|
5145
5145
|
comments?: ({
|
|
@@ -5275,8 +5275,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5275
5275
|
properties?: {} | undefined;
|
|
5276
5276
|
};
|
|
5277
5277
|
}>>>;
|
|
5278
|
-
line_id: z.ZodOptional<z.ZodString>;
|
|
5279
5278
|
headsign: z.ZodOptional<z.ZodString>;
|
|
5279
|
+
line_id: z.ZodOptional<z.ZodString>;
|
|
5280
5280
|
route_id: z.ZodOptional<z.ZodString>;
|
|
5281
5281
|
comments: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5282
5282
|
message: z.ZodString;
|
|
@@ -5567,7 +5567,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5567
5567
|
dwell_time: number;
|
|
5568
5568
|
}[];
|
|
5569
5569
|
kind: "override";
|
|
5570
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
5570
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
5571
5571
|
year_period_ids: string[];
|
|
5572
5572
|
_id?: string | undefined;
|
|
5573
5573
|
name?: string | undefined;
|
|
@@ -5580,7 +5580,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5580
5580
|
dwell_time: number;
|
|
5581
5581
|
}[];
|
|
5582
5582
|
kind: "override";
|
|
5583
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
5583
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
5584
5584
|
year_period_ids: string[];
|
|
5585
5585
|
_id?: string | undefined;
|
|
5586
5586
|
name?: string | undefined;
|
|
@@ -5603,7 +5603,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5603
5603
|
dwell_time: number;
|
|
5604
5604
|
}[];
|
|
5605
5605
|
kind: "override";
|
|
5606
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
5606
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
5607
5607
|
year_period_ids: string[];
|
|
5608
5608
|
_id?: string | undefined;
|
|
5609
5609
|
name?: string | undefined;
|
|
@@ -5626,7 +5626,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5626
5626
|
dwell_time: number;
|
|
5627
5627
|
}[];
|
|
5628
5628
|
kind: "override";
|
|
5629
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
5629
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
5630
5630
|
year_period_ids: string[];
|
|
5631
5631
|
_id?: string | undefined;
|
|
5632
5632
|
name?: string | undefined;
|
|
@@ -5672,8 +5672,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5672
5672
|
timepoints: (string & z.BRAND<"HHMM">)[];
|
|
5673
5673
|
year_period_ids: string[];
|
|
5674
5674
|
event_id?: string | undefined;
|
|
5675
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
5676
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
5675
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
5676
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
5677
5677
|
}, {
|
|
5678
5678
|
_id: string;
|
|
5679
5679
|
kind: "manual";
|
|
@@ -5681,8 +5681,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5681
5681
|
timepoints: string[];
|
|
5682
5682
|
year_period_ids: string[];
|
|
5683
5683
|
event_id?: string | undefined;
|
|
5684
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
5685
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
5684
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
5685
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
5686
5686
|
}>, {
|
|
5687
5687
|
_id: string;
|
|
5688
5688
|
kind: "manual";
|
|
@@ -5690,8 +5690,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5690
5690
|
timepoints: (string & z.BRAND<"HHMM">)[];
|
|
5691
5691
|
year_period_ids: string[];
|
|
5692
5692
|
event_id?: string | undefined;
|
|
5693
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
5694
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
5693
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
5694
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
5695
5695
|
}, {
|
|
5696
5696
|
_id: string;
|
|
5697
5697
|
kind: "manual";
|
|
@@ -5699,8 +5699,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5699
5699
|
timepoints: string[];
|
|
5700
5700
|
year_period_ids: string[];
|
|
5701
5701
|
event_id?: string | undefined;
|
|
5702
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
5703
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
5702
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
5703
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
5704
5704
|
}>, "many">>;
|
|
5705
5705
|
}, "strip", z.ZodTypeAny, {
|
|
5706
5706
|
is_locked?: boolean | undefined;
|
|
@@ -5729,8 +5729,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5729
5729
|
associated_patterns: {
|
|
5730
5730
|
_id: string;
|
|
5731
5731
|
code: string;
|
|
5732
|
-
line_id: string;
|
|
5733
5732
|
headsign: string;
|
|
5733
|
+
line_id: string;
|
|
5734
5734
|
route_id: string;
|
|
5735
5735
|
}[];
|
|
5736
5736
|
comments: ({
|
|
@@ -5781,9 +5781,9 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5781
5781
|
})[];
|
|
5782
5782
|
flags: {
|
|
5783
5783
|
short_name: string;
|
|
5784
|
-
stop_id: string;
|
|
5785
5784
|
agency_ids: string[];
|
|
5786
5785
|
is_harmonized: boolean;
|
|
5786
|
+
stop_id: string;
|
|
5787
5787
|
}[];
|
|
5788
5788
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
5789
5789
|
legacy_id: string | null;
|
|
@@ -5840,7 +5840,6 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5840
5840
|
properties?: {} | undefined;
|
|
5841
5841
|
};
|
|
5842
5842
|
} | undefined;
|
|
5843
|
-
line_id?: string | undefined;
|
|
5844
5843
|
rules?: {
|
|
5845
5844
|
_id: string;
|
|
5846
5845
|
kind: "manual";
|
|
@@ -5848,10 +5847,11 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5848
5847
|
timepoints: (string & z.BRAND<"HHMM">)[];
|
|
5849
5848
|
year_period_ids: string[];
|
|
5850
5849
|
event_id?: string | undefined;
|
|
5851
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
5852
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
5850
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
5851
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
5853
5852
|
}[] | undefined;
|
|
5854
5853
|
headsign?: string | undefined;
|
|
5854
|
+
line_id?: string | undefined;
|
|
5855
5855
|
route_id?: string | undefined;
|
|
5856
5856
|
comments?: ({
|
|
5857
5857
|
message: string;
|
|
@@ -5919,7 +5919,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5919
5919
|
dwell_time: number;
|
|
5920
5920
|
}[];
|
|
5921
5921
|
kind: "override";
|
|
5922
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
5922
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
5923
5923
|
year_period_ids: string[];
|
|
5924
5924
|
_id?: string | undefined;
|
|
5925
5925
|
name?: string | undefined;
|
|
@@ -5951,8 +5951,8 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5951
5951
|
associated_patterns?: {
|
|
5952
5952
|
_id: string;
|
|
5953
5953
|
code: string;
|
|
5954
|
-
line_id: string;
|
|
5955
5954
|
headsign: string;
|
|
5955
|
+
line_id: string;
|
|
5956
5956
|
route_id: string;
|
|
5957
5957
|
}[] | undefined;
|
|
5958
5958
|
comments?: ({
|
|
@@ -6048,7 +6048,6 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
6048
6048
|
properties?: {} | undefined;
|
|
6049
6049
|
};
|
|
6050
6050
|
} | undefined;
|
|
6051
|
-
line_id?: string | undefined;
|
|
6052
6051
|
rules?: {
|
|
6053
6052
|
_id: string;
|
|
6054
6053
|
kind: "manual";
|
|
@@ -6056,10 +6055,11 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
6056
6055
|
timepoints: string[];
|
|
6057
6056
|
year_period_ids: string[];
|
|
6058
6057
|
event_id?: string | undefined;
|
|
6059
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
6060
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
6058
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
6059
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
6061
6060
|
}[] | undefined;
|
|
6062
6061
|
headsign?: string | undefined;
|
|
6062
|
+
line_id?: string | undefined;
|
|
6063
6063
|
route_id?: string | undefined;
|
|
6064
6064
|
comments?: ({
|
|
6065
6065
|
message: string;
|
|
@@ -6115,7 +6115,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
6115
6115
|
dwell_time: number;
|
|
6116
6116
|
}[];
|
|
6117
6117
|
kind: "override";
|
|
6118
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
6118
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
6119
6119
|
year_period_ids: string[];
|
|
6120
6120
|
_id?: string | undefined;
|
|
6121
6121
|
name?: string | undefined;
|