@tmlmobilidade/go-types-operation 20260908.2240.51 → 20260908.2348.12
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
3
|
-
at_least_one_vehicle_event_on_first_stop: z.ZodObject<{
|
|
3
|
+
at_least_one_vehicle_event_on_first_stop: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4
4
|
agency_id: z.ZodString;
|
|
5
5
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
6
6
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -32,8 +32,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
32
32
|
reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_FIRST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_FIRST_STOP" | null | undefined;
|
|
33
33
|
remarks?: string | null | undefined;
|
|
34
34
|
vehicle_events_on_first_stop_qty?: string | number | null | undefined;
|
|
35
|
-
}
|
|
36
|
-
at_least_one_vehicle_event_on_last_stop: z.ZodObject<{
|
|
35
|
+
}>>>;
|
|
36
|
+
at_least_one_vehicle_event_on_last_stop: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
37
37
|
agency_id: z.ZodString;
|
|
38
38
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
39
39
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -65,8 +65,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
65
65
|
reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_LAST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_LAST_STOP" | null | undefined;
|
|
66
66
|
remarks?: string | null | undefined;
|
|
67
67
|
vehicle_events_on_last_stop_qty?: string | number | null | undefined;
|
|
68
|
-
}
|
|
69
|
-
expected_apex_validation_interval: z.ZodObject<{
|
|
68
|
+
}>>>;
|
|
69
|
+
expected_apex_validation_interval: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
70
70
|
agency_id: z.ZodString;
|
|
71
71
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
72
72
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -104,8 +104,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
104
104
|
observed_average_interval?: string | number | null | undefined;
|
|
105
105
|
observed_max_interval?: string | number | null | undefined;
|
|
106
106
|
observed_min_interval?: string | number | null | undefined;
|
|
107
|
-
}
|
|
108
|
-
expected_driver_id_qty: z.ZodObject<{
|
|
107
|
+
}>>>;
|
|
108
|
+
expected_driver_id_qty: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
109
109
|
agency_id: z.ZodString;
|
|
110
110
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
111
111
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -137,8 +137,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
137
137
|
reason?: "NO_VEHICLE_EVENTS" | "UNEXPECTED_DRIVER_ID_QTY" | "EXPECTED_DRIVER_ID_QTY" | null | undefined;
|
|
138
138
|
remarks?: string | null | undefined;
|
|
139
139
|
observed_driver_ids_qty?: string | number | null | undefined;
|
|
140
|
-
}
|
|
141
|
-
expected_start_time: z.ZodObject<{
|
|
140
|
+
}>>>;
|
|
141
|
+
expected_start_time: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
142
142
|
agency_id: z.ZodString;
|
|
143
143
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
144
144
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -173,8 +173,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
173
173
|
remarks?: string | null | undefined;
|
|
174
174
|
observed_start_time?: string | number | null | undefined;
|
|
175
175
|
observed_start_time_delta?: string | number | null | undefined;
|
|
176
|
-
}
|
|
177
|
-
expected_vehicle_event_coverage_geo: z.ZodObject<{
|
|
176
|
+
}>>>;
|
|
177
|
+
expected_vehicle_event_coverage_geo: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
178
178
|
agency_id: z.ZodString;
|
|
179
179
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
180
180
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -209,8 +209,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
209
209
|
remarks?: string | null | undefined;
|
|
210
210
|
stops_coverage_absolute?: string | number | null | undefined;
|
|
211
211
|
stops_coverage_percentage?: string | number | null | undefined;
|
|
212
|
-
}
|
|
213
|
-
expected_vehicle_event_delay: z.ZodObject<{
|
|
212
|
+
}>>>;
|
|
213
|
+
expected_vehicle_event_delay: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
214
214
|
agency_id: z.ZodString;
|
|
215
215
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
216
216
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -257,8 +257,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
257
257
|
vehicle_events_qty?: string | number | null | undefined;
|
|
258
258
|
vehicle_events_with_delay_percent?: string | number | null | undefined;
|
|
259
259
|
vehicle_events_with_delay_qty?: string | number | null | undefined;
|
|
260
|
-
}
|
|
261
|
-
expected_vehicle_event_interval: z.ZodObject<{
|
|
260
|
+
}>>>;
|
|
261
|
+
expected_vehicle_event_interval: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
262
262
|
agency_id: z.ZodString;
|
|
263
263
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
264
264
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -296,8 +296,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
296
296
|
observed_average_interval?: string | number | null | undefined;
|
|
297
297
|
observed_max_interval?: string | number | null | undefined;
|
|
298
298
|
observed_min_interval?: string | number | null | undefined;
|
|
299
|
-
}
|
|
300
|
-
expected_vehicle_event_qty: z.ZodObject<{
|
|
299
|
+
}>>>;
|
|
300
|
+
expected_vehicle_event_qty: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
301
301
|
agency_id: z.ZodString;
|
|
302
302
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
303
303
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -332,8 +332,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
332
332
|
remarks?: string | null | undefined;
|
|
333
333
|
expected_vehicle_events_qty?: string | number | null | undefined;
|
|
334
334
|
observed_vehicle_events_qty?: string | number | null | undefined;
|
|
335
|
-
}
|
|
336
|
-
expected_vehicle_id_qty: z.ZodObject<{
|
|
335
|
+
}>>>;
|
|
336
|
+
expected_vehicle_id_qty: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
337
337
|
agency_id: z.ZodString;
|
|
338
338
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
339
339
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -365,8 +365,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
365
365
|
reason?: "NO_VEHICLE_EVENTS" | "NO_APEX_VALIDATIONS" | "UNEXPECTED_VEHICLE_ID_QTY" | "EXPECTED_VEHICLE_ID_QTY" | null | undefined;
|
|
366
366
|
remarks?: string | null | undefined;
|
|
367
367
|
observed_vehicle_ids_qty?: string | number | null | undefined;
|
|
368
|
-
}
|
|
369
|
-
matching_apex_locations: z.ZodObject<{
|
|
368
|
+
}>>>;
|
|
369
|
+
matching_apex_locations: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
370
370
|
agency_id: z.ZodString;
|
|
371
371
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
372
372
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -404,8 +404,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
404
404
|
expected_apex_locations_qty?: string | number | null | undefined;
|
|
405
405
|
matching_apex_locations_qty?: string | number | null | undefined;
|
|
406
406
|
missing_apex_locations_qty?: string | number | null | undefined;
|
|
407
|
-
}
|
|
408
|
-
matching_vehicle_ids: z.ZodObject<{
|
|
407
|
+
}>>>;
|
|
408
|
+
matching_vehicle_ids: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
409
409
|
agency_id: z.ZodString;
|
|
410
410
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
411
411
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -446,8 +446,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
446
446
|
extra_vehicle_events_vehicle_ids_qty?: string | number | null | undefined;
|
|
447
447
|
matching_vehicle_ids_qty?: string | number | null | undefined;
|
|
448
448
|
total_vehicle_ids_qty?: string | number | null | undefined;
|
|
449
|
-
}
|
|
450
|
-
simple_one_apex_validation: z.ZodObject<{
|
|
449
|
+
}>>>;
|
|
450
|
+
simple_one_apex_validation: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
451
451
|
agency_id: z.ZodString;
|
|
452
452
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
453
453
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -476,8 +476,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
476
476
|
ride_id: string;
|
|
477
477
|
reason?: "NO_APEX_VALIDATIONS" | "ONE_OR_MORE_APEX_VALIDATIONS" | null | undefined;
|
|
478
478
|
remarks?: string | null | undefined;
|
|
479
|
-
}
|
|
480
|
-
simple_one_vehicle_event_or_apex_validation: z.ZodObject<{
|
|
479
|
+
}>>>;
|
|
480
|
+
simple_one_vehicle_event_or_apex_validation: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
481
481
|
agency_id: z.ZodString;
|
|
482
482
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
483
483
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -506,8 +506,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
506
506
|
ride_id: string;
|
|
507
507
|
reason?: "NO_VEHICLE_EVENTS_OR_APEX_VALIDATIONS" | "FOUND_VEHICLE_EVENT_OR_APEX_VALIDATION" | null | undefined;
|
|
508
508
|
remarks?: string | null | undefined;
|
|
509
|
-
}
|
|
510
|
-
simple_three_vehicle_events: z.ZodObject<{
|
|
509
|
+
}>>>;
|
|
510
|
+
simple_three_vehicle_events: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
511
511
|
agency_id: z.ZodString;
|
|
512
512
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
513
513
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -545,8 +545,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
545
545
|
stop_ids_first?: string[] | undefined;
|
|
546
546
|
stop_ids_last?: string[] | undefined;
|
|
547
547
|
stop_ids_middle?: string[] | undefined;
|
|
548
|
-
}
|
|
549
|
-
transaction_sequentiality: z.ZodObject<{
|
|
548
|
+
}>>>;
|
|
549
|
+
transaction_sequentiality: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
550
550
|
agency_id: z.ZodString;
|
|
551
551
|
grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
|
|
552
552
|
operational_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string, string | number>, string, string | number>, import("@tmlmobilidade/go-types-shared").OperationalDateInt, string | number>;
|
|
@@ -584,7 +584,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
584
584
|
expected_transactions_qty?: string | number | null | undefined;
|
|
585
585
|
found_transactions_qty?: string | number | null | undefined;
|
|
586
586
|
missing_transactions_qty?: string | number | null | undefined;
|
|
587
|
-
}
|
|
587
|
+
}>>>;
|
|
588
588
|
}, "strip", z.ZodTypeAny, {
|
|
589
589
|
at_least_one_vehicle_event_on_first_stop: {
|
|
590
590
|
agency_id: string;
|
|
@@ -599,7 +599,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
599
599
|
remarks: string | null;
|
|
600
600
|
ride_id: string;
|
|
601
601
|
vehicle_events_on_first_stop_qty: number | null;
|
|
602
|
-
};
|
|
602
|
+
} | null;
|
|
603
603
|
at_least_one_vehicle_event_on_last_stop: {
|
|
604
604
|
agency_id: string;
|
|
605
605
|
updated_at: number & {
|
|
@@ -613,7 +613,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
613
613
|
remarks: string | null;
|
|
614
614
|
ride_id: string;
|
|
615
615
|
vehicle_events_on_last_stop_qty: number | null;
|
|
616
|
-
};
|
|
616
|
+
} | null;
|
|
617
617
|
expected_apex_validation_interval: {
|
|
618
618
|
agency_id: string;
|
|
619
619
|
updated_at: number & {
|
|
@@ -629,7 +629,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
629
629
|
observed_average_interval: number | null;
|
|
630
630
|
observed_max_interval: number | null;
|
|
631
631
|
observed_min_interval: number | null;
|
|
632
|
-
};
|
|
632
|
+
} | null;
|
|
633
633
|
expected_driver_id_qty: {
|
|
634
634
|
agency_id: string;
|
|
635
635
|
updated_at: number & {
|
|
@@ -643,7 +643,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
643
643
|
remarks: string | null;
|
|
644
644
|
ride_id: string;
|
|
645
645
|
observed_driver_ids_qty: number | null;
|
|
646
|
-
};
|
|
646
|
+
} | null;
|
|
647
647
|
expected_start_time: {
|
|
648
648
|
agency_id: string;
|
|
649
649
|
updated_at: number & {
|
|
@@ -658,7 +658,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
658
658
|
ride_id: string;
|
|
659
659
|
observed_start_time: import("@tmlmobilidade/go-types-shared").UnixMilliseconds | null;
|
|
660
660
|
observed_start_time_delta: number | null;
|
|
661
|
-
};
|
|
661
|
+
} | null;
|
|
662
662
|
expected_vehicle_event_coverage_geo: {
|
|
663
663
|
agency_id: string;
|
|
664
664
|
updated_at: number & {
|
|
@@ -673,7 +673,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
673
673
|
ride_id: string;
|
|
674
674
|
stops_coverage_absolute: number | null;
|
|
675
675
|
stops_coverage_percentage: number | null;
|
|
676
|
-
};
|
|
676
|
+
} | null;
|
|
677
677
|
expected_vehicle_event_delay: {
|
|
678
678
|
agency_id: string;
|
|
679
679
|
updated_at: number & {
|
|
@@ -692,7 +692,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
692
692
|
vehicle_events_qty: number | null;
|
|
693
693
|
vehicle_events_with_delay_percent: number | null;
|
|
694
694
|
vehicle_events_with_delay_qty: number | null;
|
|
695
|
-
};
|
|
695
|
+
} | null;
|
|
696
696
|
expected_vehicle_event_interval: {
|
|
697
697
|
agency_id: string;
|
|
698
698
|
updated_at: number & {
|
|
@@ -708,7 +708,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
708
708
|
observed_average_interval: number | null;
|
|
709
709
|
observed_max_interval: number | null;
|
|
710
710
|
observed_min_interval: number | null;
|
|
711
|
-
};
|
|
711
|
+
} | null;
|
|
712
712
|
expected_vehicle_event_qty: {
|
|
713
713
|
agency_id: string;
|
|
714
714
|
updated_at: number & {
|
|
@@ -723,7 +723,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
723
723
|
ride_id: string;
|
|
724
724
|
expected_vehicle_events_qty: number | null;
|
|
725
725
|
observed_vehicle_events_qty: number | null;
|
|
726
|
-
};
|
|
726
|
+
} | null;
|
|
727
727
|
expected_vehicle_id_qty: {
|
|
728
728
|
agency_id: string;
|
|
729
729
|
updated_at: number & {
|
|
@@ -737,7 +737,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
737
737
|
remarks: string | null;
|
|
738
738
|
ride_id: string;
|
|
739
739
|
observed_vehicle_ids_qty: number | null;
|
|
740
|
-
};
|
|
740
|
+
} | null;
|
|
741
741
|
matching_apex_locations: {
|
|
742
742
|
agency_id: string;
|
|
743
743
|
updated_at: number & {
|
|
@@ -753,7 +753,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
753
753
|
expected_apex_locations_qty: number | null;
|
|
754
754
|
matching_apex_locations_qty: number | null;
|
|
755
755
|
missing_apex_locations_qty: number | null;
|
|
756
|
-
};
|
|
756
|
+
} | null;
|
|
757
757
|
matching_vehicle_ids: {
|
|
758
758
|
agency_id: string;
|
|
759
759
|
updated_at: number & {
|
|
@@ -770,7 +770,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
770
770
|
extra_vehicle_events_vehicle_ids_qty: number | null;
|
|
771
771
|
matching_vehicle_ids_qty: number | null;
|
|
772
772
|
total_vehicle_ids_qty: number | null;
|
|
773
|
-
};
|
|
773
|
+
} | null;
|
|
774
774
|
simple_one_apex_validation: {
|
|
775
775
|
agency_id: string;
|
|
776
776
|
updated_at: number & {
|
|
@@ -783,7 +783,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
783
783
|
};
|
|
784
784
|
remarks: string | null;
|
|
785
785
|
ride_id: string;
|
|
786
|
-
};
|
|
786
|
+
} | null;
|
|
787
787
|
simple_one_vehicle_event_or_apex_validation: {
|
|
788
788
|
agency_id: string;
|
|
789
789
|
updated_at: number & {
|
|
@@ -796,7 +796,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
796
796
|
};
|
|
797
797
|
remarks: string | null;
|
|
798
798
|
ride_id: string;
|
|
799
|
-
};
|
|
799
|
+
} | null;
|
|
800
800
|
simple_three_vehicle_events: {
|
|
801
801
|
agency_id: string;
|
|
802
802
|
updated_at: number & {
|
|
@@ -812,7 +812,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
812
812
|
stop_ids_first: string[];
|
|
813
813
|
stop_ids_last: string[];
|
|
814
814
|
stop_ids_middle: string[];
|
|
815
|
-
};
|
|
815
|
+
} | null;
|
|
816
816
|
transaction_sequentiality: {
|
|
817
817
|
agency_id: string;
|
|
818
818
|
updated_at: number & {
|
|
@@ -828,9 +828,9 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
828
828
|
expected_transactions_qty: number | null;
|
|
829
829
|
found_transactions_qty: number | null;
|
|
830
830
|
missing_transactions_qty: number | null;
|
|
831
|
-
};
|
|
831
|
+
} | null;
|
|
832
832
|
}, {
|
|
833
|
-
at_least_one_vehicle_event_on_first_stop
|
|
833
|
+
at_least_one_vehicle_event_on_first_stop?: {
|
|
834
834
|
agency_id: string;
|
|
835
835
|
updated_at: string | number;
|
|
836
836
|
grade_status: string;
|
|
@@ -839,8 +839,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
839
839
|
reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_FIRST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_FIRST_STOP" | null | undefined;
|
|
840
840
|
remarks?: string | null | undefined;
|
|
841
841
|
vehicle_events_on_first_stop_qty?: string | number | null | undefined;
|
|
842
|
-
};
|
|
843
|
-
at_least_one_vehicle_event_on_last_stop
|
|
842
|
+
} | null | undefined;
|
|
843
|
+
at_least_one_vehicle_event_on_last_stop?: {
|
|
844
844
|
agency_id: string;
|
|
845
845
|
updated_at: string | number;
|
|
846
846
|
grade_status: string;
|
|
@@ -849,8 +849,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
849
849
|
reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_LAST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_LAST_STOP" | null | undefined;
|
|
850
850
|
remarks?: string | null | undefined;
|
|
851
851
|
vehicle_events_on_last_stop_qty?: string | number | null | undefined;
|
|
852
|
-
};
|
|
853
|
-
expected_apex_validation_interval
|
|
852
|
+
} | null | undefined;
|
|
853
|
+
expected_apex_validation_interval?: {
|
|
854
854
|
agency_id: string;
|
|
855
855
|
updated_at: string | number;
|
|
856
856
|
grade_status: string;
|
|
@@ -861,8 +861,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
861
861
|
observed_average_interval?: string | number | null | undefined;
|
|
862
862
|
observed_max_interval?: string | number | null | undefined;
|
|
863
863
|
observed_min_interval?: string | number | null | undefined;
|
|
864
|
-
};
|
|
865
|
-
expected_driver_id_qty
|
|
864
|
+
} | null | undefined;
|
|
865
|
+
expected_driver_id_qty?: {
|
|
866
866
|
agency_id: string;
|
|
867
867
|
updated_at: string | number;
|
|
868
868
|
grade_status: string;
|
|
@@ -871,8 +871,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
871
871
|
reason?: "NO_VEHICLE_EVENTS" | "UNEXPECTED_DRIVER_ID_QTY" | "EXPECTED_DRIVER_ID_QTY" | null | undefined;
|
|
872
872
|
remarks?: string | null | undefined;
|
|
873
873
|
observed_driver_ids_qty?: string | number | null | undefined;
|
|
874
|
-
};
|
|
875
|
-
expected_start_time
|
|
874
|
+
} | null | undefined;
|
|
875
|
+
expected_start_time?: {
|
|
876
876
|
agency_id: string;
|
|
877
877
|
updated_at: string | number;
|
|
878
878
|
grade_status: string;
|
|
@@ -882,8 +882,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
882
882
|
remarks?: string | null | undefined;
|
|
883
883
|
observed_start_time?: string | number | null | undefined;
|
|
884
884
|
observed_start_time_delta?: string | number | null | undefined;
|
|
885
|
-
};
|
|
886
|
-
expected_vehicle_event_coverage_geo
|
|
885
|
+
} | null | undefined;
|
|
886
|
+
expected_vehicle_event_coverage_geo?: {
|
|
887
887
|
agency_id: string;
|
|
888
888
|
updated_at: string | number;
|
|
889
889
|
grade_status: string;
|
|
@@ -893,8 +893,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
893
893
|
remarks?: string | null | undefined;
|
|
894
894
|
stops_coverage_absolute?: string | number | null | undefined;
|
|
895
895
|
stops_coverage_percentage?: string | number | null | undefined;
|
|
896
|
-
};
|
|
897
|
-
expected_vehicle_event_delay
|
|
896
|
+
} | null | undefined;
|
|
897
|
+
expected_vehicle_event_delay?: {
|
|
898
898
|
agency_id: string;
|
|
899
899
|
updated_at: string | number;
|
|
900
900
|
grade_status: string;
|
|
@@ -908,8 +908,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
908
908
|
vehicle_events_qty?: string | number | null | undefined;
|
|
909
909
|
vehicle_events_with_delay_percent?: string | number | null | undefined;
|
|
910
910
|
vehicle_events_with_delay_qty?: string | number | null | undefined;
|
|
911
|
-
};
|
|
912
|
-
expected_vehicle_event_interval
|
|
911
|
+
} | null | undefined;
|
|
912
|
+
expected_vehicle_event_interval?: {
|
|
913
913
|
agency_id: string;
|
|
914
914
|
updated_at: string | number;
|
|
915
915
|
grade_status: string;
|
|
@@ -920,8 +920,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
920
920
|
observed_average_interval?: string | number | null | undefined;
|
|
921
921
|
observed_max_interval?: string | number | null | undefined;
|
|
922
922
|
observed_min_interval?: string | number | null | undefined;
|
|
923
|
-
};
|
|
924
|
-
expected_vehicle_event_qty
|
|
923
|
+
} | null | undefined;
|
|
924
|
+
expected_vehicle_event_qty?: {
|
|
925
925
|
agency_id: string;
|
|
926
926
|
updated_at: string | number;
|
|
927
927
|
grade_status: string;
|
|
@@ -931,8 +931,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
931
931
|
remarks?: string | null | undefined;
|
|
932
932
|
expected_vehicle_events_qty?: string | number | null | undefined;
|
|
933
933
|
observed_vehicle_events_qty?: string | number | null | undefined;
|
|
934
|
-
};
|
|
935
|
-
expected_vehicle_id_qty
|
|
934
|
+
} | null | undefined;
|
|
935
|
+
expected_vehicle_id_qty?: {
|
|
936
936
|
agency_id: string;
|
|
937
937
|
updated_at: string | number;
|
|
938
938
|
grade_status: string;
|
|
@@ -941,8 +941,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
941
941
|
reason?: "NO_VEHICLE_EVENTS" | "NO_APEX_VALIDATIONS" | "UNEXPECTED_VEHICLE_ID_QTY" | "EXPECTED_VEHICLE_ID_QTY" | null | undefined;
|
|
942
942
|
remarks?: string | null | undefined;
|
|
943
943
|
observed_vehicle_ids_qty?: string | number | null | undefined;
|
|
944
|
-
};
|
|
945
|
-
matching_apex_locations
|
|
944
|
+
} | null | undefined;
|
|
945
|
+
matching_apex_locations?: {
|
|
946
946
|
agency_id: string;
|
|
947
947
|
updated_at: string | number;
|
|
948
948
|
grade_status: string;
|
|
@@ -953,8 +953,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
953
953
|
expected_apex_locations_qty?: string | number | null | undefined;
|
|
954
954
|
matching_apex_locations_qty?: string | number | null | undefined;
|
|
955
955
|
missing_apex_locations_qty?: string | number | null | undefined;
|
|
956
|
-
};
|
|
957
|
-
matching_vehicle_ids
|
|
956
|
+
} | null | undefined;
|
|
957
|
+
matching_vehicle_ids?: {
|
|
958
958
|
agency_id: string;
|
|
959
959
|
updated_at: string | number;
|
|
960
960
|
grade_status: string;
|
|
@@ -966,8 +966,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
966
966
|
extra_vehicle_events_vehicle_ids_qty?: string | number | null | undefined;
|
|
967
967
|
matching_vehicle_ids_qty?: string | number | null | undefined;
|
|
968
968
|
total_vehicle_ids_qty?: string | number | null | undefined;
|
|
969
|
-
};
|
|
970
|
-
simple_one_apex_validation
|
|
969
|
+
} | null | undefined;
|
|
970
|
+
simple_one_apex_validation?: {
|
|
971
971
|
agency_id: string;
|
|
972
972
|
updated_at: string | number;
|
|
973
973
|
grade_status: string;
|
|
@@ -975,8 +975,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
975
975
|
ride_id: string;
|
|
976
976
|
reason?: "NO_APEX_VALIDATIONS" | "ONE_OR_MORE_APEX_VALIDATIONS" | null | undefined;
|
|
977
977
|
remarks?: string | null | undefined;
|
|
978
|
-
};
|
|
979
|
-
simple_one_vehicle_event_or_apex_validation
|
|
978
|
+
} | null | undefined;
|
|
979
|
+
simple_one_vehicle_event_or_apex_validation?: {
|
|
980
980
|
agency_id: string;
|
|
981
981
|
updated_at: string | number;
|
|
982
982
|
grade_status: string;
|
|
@@ -984,8 +984,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
984
984
|
ride_id: string;
|
|
985
985
|
reason?: "NO_VEHICLE_EVENTS_OR_APEX_VALIDATIONS" | "FOUND_VEHICLE_EVENT_OR_APEX_VALIDATION" | null | undefined;
|
|
986
986
|
remarks?: string | null | undefined;
|
|
987
|
-
};
|
|
988
|
-
simple_three_vehicle_events
|
|
987
|
+
} | null | undefined;
|
|
988
|
+
simple_three_vehicle_events?: {
|
|
989
989
|
agency_id: string;
|
|
990
990
|
updated_at: string | number;
|
|
991
991
|
grade_status: string;
|
|
@@ -996,8 +996,8 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
996
996
|
stop_ids_first?: string[] | undefined;
|
|
997
997
|
stop_ids_last?: string[] | undefined;
|
|
998
998
|
stop_ids_middle?: string[] | undefined;
|
|
999
|
-
};
|
|
1000
|
-
transaction_sequentiality
|
|
999
|
+
} | null | undefined;
|
|
1000
|
+
transaction_sequentiality?: {
|
|
1001
1001
|
agency_id: string;
|
|
1002
1002
|
updated_at: string | number;
|
|
1003
1003
|
grade_status: string;
|
|
@@ -1008,7 +1008,7 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
1008
1008
|
expected_transactions_qty?: string | number | null | undefined;
|
|
1009
1009
|
found_transactions_qty?: string | number | null | undefined;
|
|
1010
1010
|
missing_transactions_qty?: string | number | null | undefined;
|
|
1011
|
-
};
|
|
1011
|
+
} | null | undefined;
|
|
1012
1012
|
}>;
|
|
1013
1013
|
/**
|
|
1014
1014
|
* The registry of ride analyses.
|
|
@@ -18,20 +18,20 @@ import { RideAnalysisSimpleThreeVehicleEventsSchema } from './simple-three-vehic
|
|
|
18
18
|
import { RideAnalysisTransactionSequentialitySchema } from './transaction-sequentiality.js';
|
|
19
19
|
/* * */
|
|
20
20
|
export const RideAnalysesRegistrySchema = z.object({
|
|
21
|
-
at_least_one_vehicle_event_on_first_stop: RideAnalysisAtLeastOneVehicleEventOnFirstStopSchema,
|
|
22
|
-
at_least_one_vehicle_event_on_last_stop: RideAnalysisAtLeastOneVehicleEventOnLastStopSchema,
|
|
23
|
-
expected_apex_validation_interval: RideAnalysisExpectedApexValidationIntervalSchema,
|
|
24
|
-
expected_driver_id_qty: RideAnalysisExpectedDriverIdQtySchema,
|
|
25
|
-
expected_start_time: RideAnalysisExpectedStartTimeSchema,
|
|
26
|
-
expected_vehicle_event_coverage_geo: RideAnalysisExpectedVehicleEventCoverageGeoSchema,
|
|
27
|
-
expected_vehicle_event_delay: RideAnalysisExpectedVehicleEventDelaySchema,
|
|
28
|
-
expected_vehicle_event_interval: RideAnalysisExpectedVehicleEventIntervalSchema,
|
|
29
|
-
expected_vehicle_event_qty: RideAnalysisExpectedVehicleEventQtySchema,
|
|
30
|
-
expected_vehicle_id_qty: RideAnalysisExpectedVehicleIdQtySchema,
|
|
31
|
-
matching_apex_locations: RideAnalysisMatchingApexLocationsSchema,
|
|
32
|
-
matching_vehicle_ids: RideAnalysisMatchingVehicleIdsSchema,
|
|
33
|
-
simple_one_apex_validation: RideAnalysisSimpleOneApexValidationSchema,
|
|
34
|
-
simple_one_vehicle_event_or_apex_validation: RideAnalysisSimpleOneVehicleEventOrApexValidationSchema,
|
|
35
|
-
simple_three_vehicle_events: RideAnalysisSimpleThreeVehicleEventsSchema,
|
|
36
|
-
transaction_sequentiality: RideAnalysisTransactionSequentialitySchema,
|
|
21
|
+
at_least_one_vehicle_event_on_first_stop: RideAnalysisAtLeastOneVehicleEventOnFirstStopSchema.nullable().default(null),
|
|
22
|
+
at_least_one_vehicle_event_on_last_stop: RideAnalysisAtLeastOneVehicleEventOnLastStopSchema.nullable().default(null),
|
|
23
|
+
expected_apex_validation_interval: RideAnalysisExpectedApexValidationIntervalSchema.nullable().default(null),
|
|
24
|
+
expected_driver_id_qty: RideAnalysisExpectedDriverIdQtySchema.nullable().default(null),
|
|
25
|
+
expected_start_time: RideAnalysisExpectedStartTimeSchema.nullable().default(null),
|
|
26
|
+
expected_vehicle_event_coverage_geo: RideAnalysisExpectedVehicleEventCoverageGeoSchema.nullable().default(null),
|
|
27
|
+
expected_vehicle_event_delay: RideAnalysisExpectedVehicleEventDelaySchema.nullable().default(null),
|
|
28
|
+
expected_vehicle_event_interval: RideAnalysisExpectedVehicleEventIntervalSchema.nullable().default(null),
|
|
29
|
+
expected_vehicle_event_qty: RideAnalysisExpectedVehicleEventQtySchema.nullable().default(null),
|
|
30
|
+
expected_vehicle_id_qty: RideAnalysisExpectedVehicleIdQtySchema.nullable().default(null),
|
|
31
|
+
matching_apex_locations: RideAnalysisMatchingApexLocationsSchema.nullable().default(null),
|
|
32
|
+
matching_vehicle_ids: RideAnalysisMatchingVehicleIdsSchema.nullable().default(null),
|
|
33
|
+
simple_one_apex_validation: RideAnalysisSimpleOneApexValidationSchema.nullable().default(null),
|
|
34
|
+
simple_one_vehicle_event_or_apex_validation: RideAnalysisSimpleOneVehicleEventOrApexValidationSchema.nullable().default(null),
|
|
35
|
+
simple_three_vehicle_events: RideAnalysisSimpleThreeVehicleEventsSchema.nullable().default(null),
|
|
36
|
+
transaction_sequentiality: RideAnalysisTransactionSequentialitySchema.nullable().default(null),
|
|
37
37
|
});
|