@tmlmobilidade/go-types-operation 20260909.2152.30 → 20260910.1431.8
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.
|
@@ -8,8 +8,10 @@ export declare const RideAnalysisExpectedVehicleEventCoverageGeoSchema: z.ZodObj
|
|
|
8
8
|
updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
|
|
9
9
|
} & {
|
|
10
10
|
reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_PATH_DATA", "NO_VEHICLE_EVENTS", "LESS_THAN_90_PCT_COVERAGE", "90_PCT_OR_MORE_COVERAGE"]>>>;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
stops_covered_absolute: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
|
|
12
|
+
stops_covered_percentage: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
|
|
13
|
+
stops_not_covered_ids: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
14
|
+
stops_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
|
|
13
15
|
}, "strip", z.ZodTypeAny, {
|
|
14
16
|
agency_id: string;
|
|
15
17
|
updated_at: number & {
|
|
@@ -22,8 +24,10 @@ export declare const RideAnalysisExpectedVehicleEventCoverageGeoSchema: z.ZodObj
|
|
|
22
24
|
};
|
|
23
25
|
remarks: string | null;
|
|
24
26
|
ride_id: string;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
stops_covered_absolute: number | null;
|
|
28
|
+
stops_covered_percentage: number | null;
|
|
29
|
+
stops_not_covered_ids: string[] | null;
|
|
30
|
+
stops_qty: number | null;
|
|
27
31
|
}, {
|
|
28
32
|
agency_id: string;
|
|
29
33
|
updated_at: string | number;
|
|
@@ -32,8 +36,10 @@ export declare const RideAnalysisExpectedVehicleEventCoverageGeoSchema: z.ZodObj
|
|
|
32
36
|
ride_id: string;
|
|
33
37
|
reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "LESS_THAN_90_PCT_COVERAGE" | "90_PCT_OR_MORE_COVERAGE" | null | undefined;
|
|
34
38
|
remarks?: string | null | undefined;
|
|
35
|
-
|
|
36
|
-
|
|
39
|
+
stops_covered_absolute?: string | number | null | undefined;
|
|
40
|
+
stops_covered_percentage?: string | number | null | undefined;
|
|
41
|
+
stops_not_covered_ids?: string[] | null | undefined;
|
|
42
|
+
stops_qty?: string | number | null | undefined;
|
|
37
43
|
}>;
|
|
38
44
|
/**
|
|
39
45
|
* Tests whether at least 90% of all stops are covered by at least one vehicle event,
|
|
@@ -5,6 +5,8 @@ import { z } from 'zod';
|
|
|
5
5
|
/* * */
|
|
6
6
|
export const RideAnalysisExpectedVehicleEventCoverageGeoSchema = RideAnalysisBaseSchema.extend({
|
|
7
7
|
reason: z.enum(['NO_PATH_DATA', 'NO_VEHICLE_EVENTS', 'LESS_THAN_90_PCT_COVERAGE', '90_PCT_OR_MORE_COVERAGE']).nullable().default(null),
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
stops_covered_absolute: NonNegativeIntegerSchema.nullable().default(null),
|
|
9
|
+
stops_covered_percentage: PercentSchema.nullable().default(null),
|
|
10
|
+
stops_not_covered_ids: z.array(z.string()).nullable().default(null),
|
|
11
|
+
stops_qty: NonNegativeIntegerSchema.nullable().default(null),
|
|
10
12
|
});
|
|
@@ -183,8 +183,10 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
183
183
|
updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
|
|
184
184
|
} & {
|
|
185
185
|
reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_PATH_DATA", "NO_VEHICLE_EVENTS", "LESS_THAN_90_PCT_COVERAGE", "90_PCT_OR_MORE_COVERAGE"]>>>;
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
stops_covered_absolute: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
|
|
187
|
+
stops_covered_percentage: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
|
|
188
|
+
stops_not_covered_ids: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
189
|
+
stops_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
|
|
188
190
|
}, "strip", z.ZodTypeAny, {
|
|
189
191
|
agency_id: string;
|
|
190
192
|
updated_at: number & {
|
|
@@ -197,8 +199,10 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
197
199
|
};
|
|
198
200
|
remarks: string | null;
|
|
199
201
|
ride_id: string;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
+
stops_covered_absolute: number | null;
|
|
203
|
+
stops_covered_percentage: number | null;
|
|
204
|
+
stops_not_covered_ids: string[] | null;
|
|
205
|
+
stops_qty: number | null;
|
|
202
206
|
}, {
|
|
203
207
|
agency_id: string;
|
|
204
208
|
updated_at: string | number;
|
|
@@ -207,8 +211,10 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
207
211
|
ride_id: string;
|
|
208
212
|
reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "LESS_THAN_90_PCT_COVERAGE" | "90_PCT_OR_MORE_COVERAGE" | null | undefined;
|
|
209
213
|
remarks?: string | null | undefined;
|
|
210
|
-
|
|
211
|
-
|
|
214
|
+
stops_covered_absolute?: string | number | null | undefined;
|
|
215
|
+
stops_covered_percentage?: string | number | null | undefined;
|
|
216
|
+
stops_not_covered_ids?: string[] | null | undefined;
|
|
217
|
+
stops_qty?: string | number | null | undefined;
|
|
212
218
|
}>>>;
|
|
213
219
|
expected_vehicle_event_delay: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
214
220
|
agency_id: z.ZodString;
|
|
@@ -671,8 +677,10 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
671
677
|
};
|
|
672
678
|
remarks: string | null;
|
|
673
679
|
ride_id: string;
|
|
674
|
-
|
|
675
|
-
|
|
680
|
+
stops_covered_absolute: number | null;
|
|
681
|
+
stops_covered_percentage: number | null;
|
|
682
|
+
stops_not_covered_ids: string[] | null;
|
|
683
|
+
stops_qty: number | null;
|
|
676
684
|
} | null;
|
|
677
685
|
expected_vehicle_event_delay: {
|
|
678
686
|
agency_id: string;
|
|
@@ -891,8 +899,10 @@ export declare const RideAnalysesRegistrySchema: z.ZodObject<{
|
|
|
891
899
|
ride_id: string;
|
|
892
900
|
reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "LESS_THAN_90_PCT_COVERAGE" | "90_PCT_OR_MORE_COVERAGE" | null | undefined;
|
|
893
901
|
remarks?: string | null | undefined;
|
|
894
|
-
|
|
895
|
-
|
|
902
|
+
stops_covered_absolute?: string | number | null | undefined;
|
|
903
|
+
stops_covered_percentage?: string | number | null | undefined;
|
|
904
|
+
stops_not_covered_ids?: string[] | null | undefined;
|
|
905
|
+
stops_qty?: string | number | null | undefined;
|
|
896
906
|
} | null | undefined;
|
|
897
907
|
expected_vehicle_event_delay?: {
|
|
898
908
|
agency_id: string;
|