@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/route.d.ts
CHANGED
|
@@ -25,14 +25,14 @@ export declare const RouteSchema: z.ZodObject<{
|
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
_id: string;
|
|
27
27
|
code: string;
|
|
28
|
-
line_id: string;
|
|
29
28
|
headsign: string;
|
|
29
|
+
line_id: string;
|
|
30
30
|
route_id: string;
|
|
31
31
|
}, {
|
|
32
32
|
_id: string;
|
|
33
33
|
code: string;
|
|
34
|
-
line_id: string;
|
|
35
34
|
headsign: string;
|
|
35
|
+
line_id: string;
|
|
36
36
|
route_id: string;
|
|
37
37
|
}>, "many">>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -53,8 +53,8 @@ export declare const RouteSchema: z.ZodObject<{
|
|
|
53
53
|
patterns?: {
|
|
54
54
|
_id: string;
|
|
55
55
|
code: string;
|
|
56
|
-
line_id: string;
|
|
57
56
|
headsign: string;
|
|
57
|
+
line_id: string;
|
|
58
58
|
route_id: string;
|
|
59
59
|
}[] | undefined;
|
|
60
60
|
}, {
|
|
@@ -71,8 +71,8 @@ export declare const RouteSchema: z.ZodObject<{
|
|
|
71
71
|
patterns?: {
|
|
72
72
|
_id: string;
|
|
73
73
|
code: string;
|
|
74
|
-
line_id: string;
|
|
75
74
|
headsign: string;
|
|
75
|
+
line_id: string;
|
|
76
76
|
route_id: string;
|
|
77
77
|
}[] | undefined;
|
|
78
78
|
}>;
|
|
@@ -110,14 +110,14 @@ export declare const CreateRouteSchema: z.ZodObject<Omit<{
|
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
111
|
_id: string;
|
|
112
112
|
code: string;
|
|
113
|
-
line_id: string;
|
|
114
113
|
headsign: string;
|
|
114
|
+
line_id: string;
|
|
115
115
|
route_id: string;
|
|
116
116
|
}, {
|
|
117
117
|
_id: string;
|
|
118
118
|
code: string;
|
|
119
|
-
line_id: string;
|
|
120
119
|
headsign: string;
|
|
120
|
+
line_id: string;
|
|
121
121
|
route_id: string;
|
|
122
122
|
}>, "many">>;
|
|
123
123
|
}, "_id" | "created_at" | "updated_at" | "patterns">, "strip", z.ZodTypeAny, {
|
package/dist/offer/rules.d.ts
CHANGED
|
@@ -44,8 +44,8 @@ export declare const ManualRuleBaseSchema: z.ZodObject<{
|
|
|
44
44
|
year_period_ids: string[];
|
|
45
45
|
name?: string | undefined;
|
|
46
46
|
event_id?: string | undefined;
|
|
47
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
48
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
47
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
48
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
49
49
|
}, {
|
|
50
50
|
_id: string;
|
|
51
51
|
kind: "manual";
|
|
@@ -54,8 +54,8 @@ export declare const ManualRuleBaseSchema: z.ZodObject<{
|
|
|
54
54
|
year_period_ids: string[];
|
|
55
55
|
name?: string | undefined;
|
|
56
56
|
event_id?: string | undefined;
|
|
57
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
58
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
57
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
58
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
export declare const ManualRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
61
61
|
_id: z.ZodString;
|
|
@@ -96,8 +96,8 @@ export declare const ManualRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
96
96
|
year_period_ids: string[];
|
|
97
97
|
name?: string | undefined;
|
|
98
98
|
event_id?: string | undefined;
|
|
99
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
100
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
99
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
100
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
101
101
|
}, {
|
|
102
102
|
_id: string;
|
|
103
103
|
kind: "manual";
|
|
@@ -106,8 +106,8 @@ export declare const ManualRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
106
106
|
year_period_ids: string[];
|
|
107
107
|
name?: string | undefined;
|
|
108
108
|
event_id?: string | undefined;
|
|
109
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
110
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
109
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
110
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
111
111
|
}>, {
|
|
112
112
|
_id: string;
|
|
113
113
|
kind: "manual";
|
|
@@ -116,8 +116,8 @@ export declare const ManualRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
116
116
|
year_period_ids: string[];
|
|
117
117
|
name?: string | undefined;
|
|
118
118
|
event_id?: string | undefined;
|
|
119
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
120
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
119
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
120
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
121
121
|
}, {
|
|
122
122
|
_id: string;
|
|
123
123
|
kind: "manual";
|
|
@@ -126,8 +126,8 @@ export declare const ManualRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
126
126
|
year_period_ids: string[];
|
|
127
127
|
name?: string | undefined;
|
|
128
128
|
event_id?: string | undefined;
|
|
129
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
130
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
129
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
130
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
131
131
|
}>;
|
|
132
132
|
export declare const EventDerivedBaseSchema: z.ZodObject<{
|
|
133
133
|
_id: z.ZodOptional<z.ZodString>;
|
|
@@ -253,7 +253,7 @@ export declare const EventReplacementSchema: z.ZodObject<{
|
|
|
253
253
|
};
|
|
254
254
|
dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
|
|
255
255
|
kind: "event_replacement";
|
|
256
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
256
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
257
257
|
year_period_ids: string[];
|
|
258
258
|
lines_mode: "exclude" | "include" | "all";
|
|
259
259
|
_id?: string | undefined;
|
|
@@ -269,7 +269,7 @@ export declare const EventReplacementSchema: z.ZodObject<{
|
|
|
269
269
|
};
|
|
270
270
|
dates: string[];
|
|
271
271
|
kind: "event_replacement";
|
|
272
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
272
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
273
273
|
year_period_ids: string[];
|
|
274
274
|
lines_mode: "exclude" | "include" | "all";
|
|
275
275
|
_id?: string | undefined;
|
|
@@ -377,7 +377,7 @@ export declare const EventRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObje
|
|
|
377
377
|
};
|
|
378
378
|
dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
|
|
379
379
|
kind: "event_replacement";
|
|
380
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
380
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
381
381
|
year_period_ids: string[];
|
|
382
382
|
lines_mode: "exclude" | "include" | "all";
|
|
383
383
|
_id?: string | undefined;
|
|
@@ -393,7 +393,7 @@ export declare const EventRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObje
|
|
|
393
393
|
};
|
|
394
394
|
dates: string[];
|
|
395
395
|
kind: "event_replacement";
|
|
396
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
396
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
397
397
|
year_period_ids: string[];
|
|
398
398
|
lines_mode: "exclude" | "include" | "all";
|
|
399
399
|
_id?: string | undefined;
|
|
@@ -442,8 +442,8 @@ export declare const ScheduleRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
442
442
|
year_period_ids: string[];
|
|
443
443
|
name?: string | undefined;
|
|
444
444
|
event_id?: string | undefined;
|
|
445
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
446
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
445
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
446
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
447
447
|
}, {
|
|
448
448
|
_id: string;
|
|
449
449
|
kind: "manual";
|
|
@@ -452,8 +452,8 @@ export declare const ScheduleRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
452
452
|
year_period_ids: string[];
|
|
453
453
|
name?: string | undefined;
|
|
454
454
|
event_id?: string | undefined;
|
|
455
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
456
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
455
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
456
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
457
457
|
}>, z.ZodObject<{
|
|
458
458
|
_id: z.ZodOptional<z.ZodString>;
|
|
459
459
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -552,7 +552,7 @@ export declare const ScheduleRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
552
552
|
};
|
|
553
553
|
dates: import("@tmlmobilidade/go-types-shared").OperationalDate[];
|
|
554
554
|
kind: "event_replacement";
|
|
555
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
555
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
556
556
|
year_period_ids: string[];
|
|
557
557
|
lines_mode: "exclude" | "include" | "all";
|
|
558
558
|
_id?: string | undefined;
|
|
@@ -568,7 +568,7 @@ export declare const ScheduleRuleSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
568
568
|
};
|
|
569
569
|
dates: string[];
|
|
570
570
|
kind: "event_replacement";
|
|
571
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
571
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
572
572
|
year_period_ids: string[];
|
|
573
573
|
lines_mode: "exclude" | "include" | "all";
|
|
574
574
|
_id?: string | undefined;
|
|
@@ -616,8 +616,8 @@ export declare const PatternUpdateRuleBaseSchema: z.ZodObject<Omit<{
|
|
|
616
616
|
timepoints: (string & z.BRAND<"HHMM">)[];
|
|
617
617
|
year_period_ids: string[];
|
|
618
618
|
event_id?: string | undefined;
|
|
619
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
620
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
619
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
620
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
621
621
|
}, {
|
|
622
622
|
_id: string;
|
|
623
623
|
kind: "manual";
|
|
@@ -625,8 +625,8 @@ export declare const PatternUpdateRuleBaseSchema: z.ZodObject<Omit<{
|
|
|
625
625
|
timepoints: string[];
|
|
626
626
|
year_period_ids: string[];
|
|
627
627
|
event_id?: string | undefined;
|
|
628
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
629
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
628
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
629
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
630
630
|
}>;
|
|
631
631
|
export declare const PatternUpdateRuleSchema: z.ZodEffects<z.ZodObject<Omit<{
|
|
632
632
|
_id: z.ZodString;
|
|
@@ -666,8 +666,8 @@ export declare const PatternUpdateRuleSchema: z.ZodEffects<z.ZodObject<Omit<{
|
|
|
666
666
|
timepoints: (string & z.BRAND<"HHMM">)[];
|
|
667
667
|
year_period_ids: string[];
|
|
668
668
|
event_id?: string | undefined;
|
|
669
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
670
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
669
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
670
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
671
671
|
}, {
|
|
672
672
|
_id: string;
|
|
673
673
|
kind: "manual";
|
|
@@ -675,8 +675,8 @@ export declare const PatternUpdateRuleSchema: z.ZodEffects<z.ZodObject<Omit<{
|
|
|
675
675
|
timepoints: string[];
|
|
676
676
|
year_period_ids: string[];
|
|
677
677
|
event_id?: string | undefined;
|
|
678
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
679
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
678
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
679
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
680
680
|
}>, {
|
|
681
681
|
_id: string;
|
|
682
682
|
kind: "manual";
|
|
@@ -684,8 +684,8 @@ export declare const PatternUpdateRuleSchema: z.ZodEffects<z.ZodObject<Omit<{
|
|
|
684
684
|
timepoints: (string & z.BRAND<"HHMM">)[];
|
|
685
685
|
year_period_ids: string[];
|
|
686
686
|
event_id?: string | undefined;
|
|
687
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
688
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
687
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
688
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
689
689
|
}, {
|
|
690
690
|
_id: string;
|
|
691
691
|
kind: "manual";
|
|
@@ -693,8 +693,8 @@ export declare const PatternUpdateRuleSchema: z.ZodEffects<z.ZodObject<Omit<{
|
|
|
693
693
|
timepoints: string[];
|
|
694
694
|
year_period_ids: string[];
|
|
695
695
|
event_id?: string | undefined;
|
|
696
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
697
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
696
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
697
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
698
698
|
}>;
|
|
699
699
|
export declare const PatternUpdateRulesSchema: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<Omit<{
|
|
700
700
|
_id: z.ZodString;
|
|
@@ -734,8 +734,8 @@ export declare const PatternUpdateRulesSchema: z.ZodOptional<z.ZodArray<z.ZodEff
|
|
|
734
734
|
timepoints: (string & z.BRAND<"HHMM">)[];
|
|
735
735
|
year_period_ids: string[];
|
|
736
736
|
event_id?: string | undefined;
|
|
737
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
738
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
737
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
738
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
739
739
|
}, {
|
|
740
740
|
_id: string;
|
|
741
741
|
kind: "manual";
|
|
@@ -743,8 +743,8 @@ export declare const PatternUpdateRulesSchema: z.ZodOptional<z.ZodArray<z.ZodEff
|
|
|
743
743
|
timepoints: string[];
|
|
744
744
|
year_period_ids: string[];
|
|
745
745
|
event_id?: string | undefined;
|
|
746
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
747
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
746
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
747
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
748
748
|
}>, {
|
|
749
749
|
_id: string;
|
|
750
750
|
kind: "manual";
|
|
@@ -752,8 +752,8 @@ export declare const PatternUpdateRulesSchema: z.ZodOptional<z.ZodArray<z.ZodEff
|
|
|
752
752
|
timepoints: (string & z.BRAND<"HHMM">)[];
|
|
753
753
|
year_period_ids: string[];
|
|
754
754
|
event_id?: string | undefined;
|
|
755
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
756
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
755
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
756
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
757
757
|
}, {
|
|
758
758
|
_id: string;
|
|
759
759
|
kind: "manual";
|
|
@@ -761,8 +761,8 @@ export declare const PatternUpdateRulesSchema: z.ZodOptional<z.ZodArray<z.ZodEff
|
|
|
761
761
|
timepoints: string[];
|
|
762
762
|
year_period_ids: string[];
|
|
763
763
|
event_id?: string | undefined;
|
|
764
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
765
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
764
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
765
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
766
766
|
}>, "many">>;
|
|
767
767
|
export type ScheduleRule = z.infer<typeof ScheduleRuleSchema>;
|
|
768
768
|
export type ManualRule = z.infer<typeof ManualRuleSchema>;
|
|
@@ -28,8 +28,8 @@ export declare const HashedLineSchema: z.ZodObject<Omit<{
|
|
|
28
28
|
};
|
|
29
29
|
agency_id: string;
|
|
30
30
|
line_id: number;
|
|
31
|
-
pattern_id: string;
|
|
32
31
|
route_id: string;
|
|
32
|
+
pattern_id: string;
|
|
33
33
|
route_color: string;
|
|
34
34
|
route_long_name: string;
|
|
35
35
|
route_short_name: string;
|
|
@@ -43,8 +43,8 @@ export declare const HashedLineSchema: z.ZodObject<Omit<{
|
|
|
43
43
|
updated_at: number;
|
|
44
44
|
agency_id: string;
|
|
45
45
|
line_id: number;
|
|
46
|
-
pattern_id: string;
|
|
47
46
|
route_id: string;
|
|
47
|
+
pattern_id: string;
|
|
48
48
|
route_color: string;
|
|
49
49
|
route_long_name: string;
|
|
50
50
|
route_short_name: string;
|
|
@@ -102,8 +102,8 @@ export declare const HashedPatternSchema: z.ZodObject<Omit<{
|
|
|
102
102
|
}[];
|
|
103
103
|
agency_id: string;
|
|
104
104
|
line_id: number;
|
|
105
|
-
pattern_id: string;
|
|
106
105
|
route_id: string;
|
|
106
|
+
pattern_id: string;
|
|
107
107
|
route_color: string;
|
|
108
108
|
route_long_name: string;
|
|
109
109
|
route_short_name: string;
|
|
@@ -117,8 +117,8 @@ export declare const HashedPatternSchema: z.ZodObject<Omit<{
|
|
|
117
117
|
updated_at: number;
|
|
118
118
|
agency_id: string;
|
|
119
119
|
line_id: number;
|
|
120
|
-
pattern_id: string;
|
|
121
120
|
route_id: string;
|
|
121
|
+
pattern_id: string;
|
|
122
122
|
route_color: string;
|
|
123
123
|
route_long_name: string;
|
|
124
124
|
route_short_name: string;
|
|
@@ -116,8 +116,8 @@ export declare const HashedTripSchema: z.ZodObject<Omit<{
|
|
|
116
116
|
}[];
|
|
117
117
|
agency_id: string;
|
|
118
118
|
line_id: number;
|
|
119
|
-
pattern_id: string;
|
|
120
119
|
route_id: string;
|
|
120
|
+
pattern_id: string;
|
|
121
121
|
route_color: string;
|
|
122
122
|
route_long_name: string;
|
|
123
123
|
route_short_name: string;
|
|
@@ -131,8 +131,8 @@ export declare const HashedTripSchema: z.ZodObject<Omit<{
|
|
|
131
131
|
updated_at: number;
|
|
132
132
|
agency_id: string;
|
|
133
133
|
line_id: number;
|
|
134
|
-
pattern_id: string;
|
|
135
134
|
route_id: string;
|
|
135
|
+
pattern_id: string;
|
|
136
136
|
route_color: string;
|
|
137
137
|
route_long_name: string;
|
|
138
138
|
route_short_name: string;
|
|
@@ -72,8 +72,8 @@ export declare const OperationalLineSchema: z.ZodObject<{
|
|
|
72
72
|
}[];
|
|
73
73
|
agency_id: string;
|
|
74
74
|
line_id: number;
|
|
75
|
-
pattern_id: string;
|
|
76
75
|
route_id: string;
|
|
76
|
+
pattern_id: string;
|
|
77
77
|
route_color: string;
|
|
78
78
|
route_long_name: string;
|
|
79
79
|
route_short_name: string;
|
|
@@ -87,8 +87,8 @@ export declare const OperationalLineSchema: z.ZodObject<{
|
|
|
87
87
|
updated_at: number;
|
|
88
88
|
agency_id: string;
|
|
89
89
|
line_id: number;
|
|
90
|
-
pattern_id: string;
|
|
91
90
|
route_id: string;
|
|
91
|
+
pattern_id: string;
|
|
92
92
|
route_color: string;
|
|
93
93
|
route_long_name: string;
|
|
94
94
|
route_short_name: string;
|
|
@@ -147,8 +147,8 @@ export declare const OperationalLineSchema: z.ZodObject<{
|
|
|
147
147
|
}[];
|
|
148
148
|
agency_id: string;
|
|
149
149
|
line_id: number;
|
|
150
|
-
pattern_id: string;
|
|
151
150
|
route_id: string;
|
|
151
|
+
pattern_id: string;
|
|
152
152
|
route_color: string;
|
|
153
153
|
route_long_name: string;
|
|
154
154
|
route_short_name: string;
|
|
@@ -178,8 +178,8 @@ export declare const OperationalLineSchema: z.ZodObject<{
|
|
|
178
178
|
updated_at: number;
|
|
179
179
|
agency_id: string;
|
|
180
180
|
line_id: number;
|
|
181
|
-
pattern_id: string;
|
|
182
181
|
route_id: string;
|
|
182
|
+
pattern_id: string;
|
|
183
183
|
route_color: string;
|
|
184
184
|
route_long_name: string;
|
|
185
185
|
route_short_name: string;
|
|
@@ -515,15 +515,15 @@ export declare const RideNormalizedSchema: z.ZodObject<Omit<{
|
|
|
515
515
|
__brand: "UnixTimestamp";
|
|
516
516
|
};
|
|
517
517
|
agency_id: string;
|
|
518
|
-
line_id: number;
|
|
519
|
-
pattern_id: string;
|
|
520
|
-
trip_id: string;
|
|
521
518
|
seen_last_at: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
|
|
522
519
|
headsign: string;
|
|
520
|
+
line_id: number;
|
|
523
521
|
route_id: string;
|
|
524
522
|
acceptance_status: "none" | "justification_required" | "under_review" | "accepted" | "rejected";
|
|
525
523
|
driver_ids: string[];
|
|
524
|
+
pattern_id: string;
|
|
526
525
|
plan_id: string;
|
|
526
|
+
trip_id: string;
|
|
527
527
|
vehicle_ids: number[];
|
|
528
528
|
operational_date: string & {
|
|
529
529
|
__brand: "OperationalDate";
|
|
@@ -670,15 +670,15 @@ export declare const RideNormalizedSchema: z.ZodObject<Omit<{
|
|
|
670
670
|
created_at: number;
|
|
671
671
|
updated_at: number;
|
|
672
672
|
agency_id: string;
|
|
673
|
-
line_id: number;
|
|
674
|
-
pattern_id: string;
|
|
675
|
-
trip_id: string;
|
|
676
673
|
seen_last_at: number | null;
|
|
677
674
|
headsign: string;
|
|
675
|
+
line_id: number;
|
|
678
676
|
route_id: string;
|
|
679
677
|
acceptance_status: "none" | "justification_required" | "under_review" | "accepted" | "rejected";
|
|
680
678
|
driver_ids: string[];
|
|
679
|
+
pattern_id: string;
|
|
681
680
|
plan_id: string;
|
|
681
|
+
trip_id: string;
|
|
682
682
|
vehicle_ids: number[];
|
|
683
683
|
operational_date: string;
|
|
684
684
|
operational_status: "ended" | "missed" | "running" | "scheduled";
|
|
@@ -491,14 +491,14 @@ export declare const RideSchema: z.ZodObject<Omit<{
|
|
|
491
491
|
__brand: "UnixTimestamp";
|
|
492
492
|
};
|
|
493
493
|
agency_id: string;
|
|
494
|
-
line_id: number;
|
|
495
|
-
pattern_id: string;
|
|
496
|
-
trip_id: string;
|
|
497
494
|
seen_last_at: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
|
|
498
495
|
headsign: string;
|
|
496
|
+
line_id: number;
|
|
499
497
|
route_id: string;
|
|
500
498
|
driver_ids: string[];
|
|
499
|
+
pattern_id: string;
|
|
501
500
|
plan_id: string;
|
|
501
|
+
trip_id: string;
|
|
502
502
|
vehicle_ids: number[];
|
|
503
503
|
operational_date: string & {
|
|
504
504
|
__brand: "OperationalDate";
|
|
@@ -629,14 +629,14 @@ export declare const RideSchema: z.ZodObject<Omit<{
|
|
|
629
629
|
created_at: number;
|
|
630
630
|
updated_at: number;
|
|
631
631
|
agency_id: string;
|
|
632
|
-
line_id: number;
|
|
633
|
-
pattern_id: string;
|
|
634
|
-
trip_id: string;
|
|
635
632
|
seen_last_at: number | null;
|
|
636
633
|
headsign: string;
|
|
634
|
+
line_id: number;
|
|
637
635
|
route_id: string;
|
|
638
636
|
driver_ids: string[];
|
|
637
|
+
pattern_id: string;
|
|
639
638
|
plan_id: string;
|
|
639
|
+
trip_id: string;
|
|
640
640
|
vehicle_ids: number[];
|
|
641
641
|
operational_date: string;
|
|
642
642
|
start_time_observed: number | null;
|
|
@@ -765,14 +765,14 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
765
765
|
updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
|
|
766
766
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
767
767
|
agency_id: z.ZodString;
|
|
768
|
-
line_id: z.ZodNumber;
|
|
769
|
-
pattern_id: z.ZodString;
|
|
770
|
-
trip_id: z.ZodString;
|
|
771
768
|
seen_last_at: z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>;
|
|
772
769
|
headsign: z.ZodString;
|
|
770
|
+
line_id: z.ZodNumber;
|
|
773
771
|
route_id: z.ZodString;
|
|
774
772
|
driver_ids: z.ZodArray<z.ZodString, "many">;
|
|
773
|
+
pattern_id: z.ZodString;
|
|
775
774
|
plan_id: z.ZodString;
|
|
775
|
+
trip_id: z.ZodString;
|
|
776
776
|
vehicle_ids: z.ZodArray<z.ZodNumber, "many">;
|
|
777
777
|
operational_date: z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalDate, string>;
|
|
778
778
|
start_time_observed: z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>;
|
|
@@ -1241,14 +1241,14 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1241
1241
|
}, "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
|
|
1242
1242
|
created_by: string | null;
|
|
1243
1243
|
agency_id: string;
|
|
1244
|
-
line_id: number;
|
|
1245
|
-
pattern_id: string;
|
|
1246
|
-
trip_id: string;
|
|
1247
1244
|
seen_last_at: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
|
|
1248
1245
|
headsign: string;
|
|
1246
|
+
line_id: number;
|
|
1249
1247
|
route_id: string;
|
|
1250
1248
|
driver_ids: string[];
|
|
1249
|
+
pattern_id: string;
|
|
1251
1250
|
plan_id: string;
|
|
1251
|
+
trip_id: string;
|
|
1252
1252
|
vehicle_ids: number[];
|
|
1253
1253
|
operational_date: string & {
|
|
1254
1254
|
__brand: "OperationalDate";
|
|
@@ -1377,14 +1377,14 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1377
1377
|
updated_by?: string | undefined;
|
|
1378
1378
|
}, {
|
|
1379
1379
|
agency_id: string;
|
|
1380
|
-
line_id: number;
|
|
1381
|
-
pattern_id: string;
|
|
1382
|
-
trip_id: string;
|
|
1383
1380
|
seen_last_at: number | null;
|
|
1384
1381
|
headsign: string;
|
|
1382
|
+
line_id: number;
|
|
1385
1383
|
route_id: string;
|
|
1386
1384
|
driver_ids: string[];
|
|
1385
|
+
pattern_id: string;
|
|
1387
1386
|
plan_id: string;
|
|
1387
|
+
trip_id: string;
|
|
1388
1388
|
vehicle_ids: number[];
|
|
1389
1389
|
operational_date: string;
|
|
1390
1390
|
start_time_observed: number | null;
|
|
@@ -1511,14 +1511,14 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1511
1511
|
_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1512
1512
|
updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1513
1513
|
agency_id: z.ZodOptional<z.ZodString>;
|
|
1514
|
-
line_id: z.ZodOptional<z.ZodNumber>;
|
|
1515
|
-
pattern_id: z.ZodOptional<z.ZodString>;
|
|
1516
|
-
trip_id: z.ZodOptional<z.ZodString>;
|
|
1517
1514
|
seen_last_at: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>;
|
|
1518
1515
|
headsign: z.ZodOptional<z.ZodString>;
|
|
1516
|
+
line_id: z.ZodOptional<z.ZodNumber>;
|
|
1519
1517
|
route_id: z.ZodOptional<z.ZodString>;
|
|
1520
1518
|
driver_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1519
|
+
pattern_id: z.ZodOptional<z.ZodString>;
|
|
1521
1520
|
plan_id: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
trip_id: z.ZodOptional<z.ZodString>;
|
|
1522
1522
|
vehicle_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1523
1523
|
operational_date: z.ZodOptional<z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalDate, string>>;
|
|
1524
1524
|
start_time_observed: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>;
|
|
@@ -1988,14 +1988,14 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1988
1988
|
_id?: string | undefined;
|
|
1989
1989
|
updated_by?: string | undefined;
|
|
1990
1990
|
agency_id?: string | undefined;
|
|
1991
|
-
line_id?: number | undefined;
|
|
1992
|
-
pattern_id?: string | undefined;
|
|
1993
|
-
trip_id?: string | undefined;
|
|
1994
1991
|
seen_last_at?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null | undefined;
|
|
1995
1992
|
headsign?: string | undefined;
|
|
1993
|
+
line_id?: number | undefined;
|
|
1996
1994
|
route_id?: string | undefined;
|
|
1997
1995
|
driver_ids?: string[] | undefined;
|
|
1996
|
+
pattern_id?: string | undefined;
|
|
1998
1997
|
plan_id?: string | undefined;
|
|
1998
|
+
trip_id?: string | undefined;
|
|
1999
1999
|
vehicle_ids?: number[] | undefined;
|
|
2000
2000
|
operational_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | undefined;
|
|
2001
2001
|
start_time_observed?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null | undefined;
|
|
@@ -2118,14 +2118,14 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
2118
2118
|
_id?: string | undefined;
|
|
2119
2119
|
updated_by?: string | undefined;
|
|
2120
2120
|
agency_id?: string | undefined;
|
|
2121
|
-
line_id?: number | undefined;
|
|
2122
|
-
pattern_id?: string | undefined;
|
|
2123
|
-
trip_id?: string | undefined;
|
|
2124
2121
|
seen_last_at?: number | null | undefined;
|
|
2125
2122
|
headsign?: string | undefined;
|
|
2123
|
+
line_id?: number | undefined;
|
|
2126
2124
|
route_id?: string | undefined;
|
|
2127
2125
|
driver_ids?: string[] | undefined;
|
|
2126
|
+
pattern_id?: string | undefined;
|
|
2128
2127
|
plan_id?: string | undefined;
|
|
2128
|
+
trip_id?: string | undefined;
|
|
2129
2129
|
vehicle_ids?: number[] | undefined;
|
|
2130
2130
|
operational_date?: string | undefined;
|
|
2131
2131
|
start_time_observed?: number | null | undefined;
|
|
@@ -72,8 +72,8 @@ export declare const OperationalStopSchema: z.ZodObject<{
|
|
|
72
72
|
}[];
|
|
73
73
|
agency_id: string;
|
|
74
74
|
line_id: number;
|
|
75
|
-
pattern_id: string;
|
|
76
75
|
route_id: string;
|
|
76
|
+
pattern_id: string;
|
|
77
77
|
route_color: string;
|
|
78
78
|
route_long_name: string;
|
|
79
79
|
route_short_name: string;
|
|
@@ -87,8 +87,8 @@ export declare const OperationalStopSchema: z.ZodObject<{
|
|
|
87
87
|
updated_at: number;
|
|
88
88
|
agency_id: string;
|
|
89
89
|
line_id: number;
|
|
90
|
-
pattern_id: string;
|
|
91
90
|
route_id: string;
|
|
91
|
+
pattern_id: string;
|
|
92
92
|
route_color: string;
|
|
93
93
|
route_long_name: string;
|
|
94
94
|
route_short_name: string;
|
|
@@ -116,9 +116,9 @@ export declare const OperationalStopSchema: z.ZodObject<{
|
|
|
116
116
|
stop_id: z.ZodString;
|
|
117
117
|
stop_name: z.ZodString;
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
stop_id: string;
|
|
120
119
|
agency_ids: string[];
|
|
121
120
|
line_ids: number[];
|
|
121
|
+
stop_id: string;
|
|
122
122
|
stop_name: string;
|
|
123
123
|
pattern_ids: string[];
|
|
124
124
|
route_ids: string[];
|
|
@@ -143,8 +143,8 @@ export declare const OperationalStopSchema: z.ZodObject<{
|
|
|
143
143
|
}[];
|
|
144
144
|
agency_id: string;
|
|
145
145
|
line_id: number;
|
|
146
|
-
pattern_id: string;
|
|
147
146
|
route_id: string;
|
|
147
|
+
pattern_id: string;
|
|
148
148
|
route_color: string;
|
|
149
149
|
route_long_name: string;
|
|
150
150
|
route_short_name: string;
|
|
@@ -172,8 +172,8 @@ export declare const OperationalStopSchema: z.ZodObject<{
|
|
|
172
172
|
updated_at: number;
|
|
173
173
|
agency_id: string;
|
|
174
174
|
line_id: number;
|
|
175
|
-
pattern_id: string;
|
|
176
175
|
route_id: string;
|
|
176
|
+
pattern_id: string;
|
|
177
177
|
route_color: string;
|
|
178
178
|
route_long_name: string;
|
|
179
179
|
route_short_name: string;
|
|
@@ -15,34 +15,34 @@ export declare const SamAnalysisSchema: z.ZodObject<{
|
|
|
15
15
|
transactions_missing: z.ZodNumber;
|
|
16
16
|
vehicle_id: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
apex_version: string | null;
|
|
19
|
-
device_id: string | null;
|
|
20
|
-
vehicle_id: number | null;
|
|
21
18
|
end_time: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
|
|
22
19
|
start_time: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
|
|
20
|
+
apex_version: string | null;
|
|
21
|
+
device_id: string | null;
|
|
23
22
|
first_transaction_ase_counter_value: number | null;
|
|
24
23
|
first_transaction_id: string | null;
|
|
25
|
-
first_transaction_type: "validation" | "
|
|
24
|
+
first_transaction_type: "validation" | "location" | "on_board_refund" | "on_board_sale" | null;
|
|
26
25
|
last_transaction_ase_counter_value: number | null;
|
|
27
26
|
last_transaction_id: string | null;
|
|
28
|
-
last_transaction_type: "validation" | "
|
|
27
|
+
last_transaction_type: "validation" | "location" | "on_board_refund" | "on_board_sale" | null;
|
|
29
28
|
transactions_expected: number;
|
|
30
29
|
transactions_found: number;
|
|
31
30
|
transactions_missing: number;
|
|
32
|
-
}, {
|
|
33
|
-
apex_version: string | null;
|
|
34
|
-
device_id: string | null;
|
|
35
31
|
vehicle_id: number | null;
|
|
32
|
+
}, {
|
|
36
33
|
end_time: number | null;
|
|
37
34
|
start_time: number | null;
|
|
35
|
+
apex_version: string | null;
|
|
36
|
+
device_id: string | null;
|
|
38
37
|
first_transaction_ase_counter_value: number | null;
|
|
39
38
|
first_transaction_id: string | null;
|
|
40
|
-
first_transaction_type: "validation" | "
|
|
39
|
+
first_transaction_type: "validation" | "location" | "on_board_refund" | "on_board_sale" | null;
|
|
41
40
|
last_transaction_ase_counter_value: number | null;
|
|
42
41
|
last_transaction_id: string | null;
|
|
43
|
-
last_transaction_type: "validation" | "
|
|
42
|
+
last_transaction_type: "validation" | "location" | "on_board_refund" | "on_board_sale" | null;
|
|
44
43
|
transactions_expected: number;
|
|
45
44
|
transactions_found: number;
|
|
46
45
|
transactions_missing: number;
|
|
46
|
+
vehicle_id: number | null;
|
|
47
47
|
}>;
|
|
48
48
|
export type SamAnalysis = z.infer<typeof SamAnalysisSchema>;
|