@tmlmobilidade/go-types-operation 20260908.1705.39 → 20260908.2240.51

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.
@@ -52,1018 +52,6 @@ export declare const HashableRideSchema: z.ZodObject<Omit<{
52
52
  } & {
53
53
  processing_status: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>>>;
54
54
  updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
55
- } & {
56
- analyses: z.ZodDefault<z.ZodNullable<z.ZodObject<{
57
- at_least_one_vehicle_event_on_first_stop: z.ZodObject<{
58
- agency_id: z.ZodString;
59
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
60
- 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>;
61
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
62
- ride_id: z.ZodString;
63
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
64
- } & {
65
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_PATH_DATA", "NO_VEHICLE_EVENTS", "NO_VEHICLE_EVENTS_ON_FIRST_STOP", "ONE_OR_MORE_VEHICLE_EVENTS_ON_FIRST_STOP"]>>>;
66
- vehicle_events_on_first_stop_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
67
- }, "strip", z.ZodTypeAny, {
68
- agency_id: string;
69
- updated_at: number & {
70
- __brand: "UnixMilliseconds";
71
- };
72
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_FIRST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_FIRST_STOP" | null;
73
- grade_status: "error" | "skip" | "pass" | "fail";
74
- operational_date: number & {
75
- __brand: "OperationalDateInt";
76
- };
77
- remarks: string | null;
78
- ride_id: string;
79
- vehicle_events_on_first_stop_qty: number | null;
80
- }, {
81
- agency_id: string;
82
- updated_at: string | number;
83
- grade_status: string;
84
- operational_date: string | number;
85
- ride_id: string;
86
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_FIRST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_FIRST_STOP" | null | undefined;
87
- remarks?: string | null | undefined;
88
- vehicle_events_on_first_stop_qty?: string | number | null | undefined;
89
- }>;
90
- at_least_one_vehicle_event_on_last_stop: z.ZodObject<{
91
- agency_id: z.ZodString;
92
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
93
- 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>;
94
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
95
- ride_id: z.ZodString;
96
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
97
- } & {
98
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_PATH_DATA", "NO_VEHICLE_EVENTS", "NO_VEHICLE_EVENTS_ON_LAST_STOP", "ONE_OR_MORE_VEHICLE_EVENTS_ON_LAST_STOP"]>>>;
99
- vehicle_events_on_last_stop_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
100
- }, "strip", z.ZodTypeAny, {
101
- agency_id: string;
102
- updated_at: number & {
103
- __brand: "UnixMilliseconds";
104
- };
105
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_LAST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_LAST_STOP" | null;
106
- grade_status: "error" | "skip" | "pass" | "fail";
107
- operational_date: number & {
108
- __brand: "OperationalDateInt";
109
- };
110
- remarks: string | null;
111
- ride_id: string;
112
- vehicle_events_on_last_stop_qty: number | null;
113
- }, {
114
- agency_id: string;
115
- updated_at: string | number;
116
- grade_status: string;
117
- operational_date: string | number;
118
- ride_id: string;
119
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_LAST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_LAST_STOP" | null | undefined;
120
- remarks?: string | null | undefined;
121
- vehicle_events_on_last_stop_qty?: string | number | null | undefined;
122
- }>;
123
- expected_apex_validation_interval: z.ZodObject<{
124
- agency_id: z.ZodString;
125
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
126
- 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>;
127
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
128
- ride_id: z.ZodString;
129
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
130
- } & {
131
- observed_average_interval: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
132
- observed_max_interval: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
133
- observed_min_interval: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
134
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_APEX_VALIDATIONS", "NOT_ENOUGH_VALIDATIONS", "INTERVALS_TOO_SHORT", "NON_ORGANIC_INTERVALS", "EXPECTED_VALIDATION_INTERVALS"]>>>;
135
- }, "strip", z.ZodTypeAny, {
136
- agency_id: string;
137
- updated_at: number & {
138
- __brand: "UnixMilliseconds";
139
- };
140
- reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS" | null;
141
- grade_status: "error" | "skip" | "pass" | "fail";
142
- operational_date: number & {
143
- __brand: "OperationalDateInt";
144
- };
145
- remarks: string | null;
146
- ride_id: string;
147
- observed_average_interval: number | null;
148
- observed_max_interval: number | null;
149
- observed_min_interval: number | null;
150
- }, {
151
- agency_id: string;
152
- updated_at: string | number;
153
- grade_status: string;
154
- operational_date: string | number;
155
- ride_id: string;
156
- reason?: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS" | null | undefined;
157
- remarks?: string | null | undefined;
158
- observed_average_interval?: string | number | null | undefined;
159
- observed_max_interval?: string | number | null | undefined;
160
- observed_min_interval?: string | number | null | undefined;
161
- }>;
162
- expected_driver_id_qty: z.ZodObject<{
163
- agency_id: z.ZodString;
164
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
165
- 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>;
166
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
167
- ride_id: z.ZodString;
168
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
169
- } & {
170
- observed_driver_ids_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
171
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_VEHICLE_EVENTS", "UNEXPECTED_DRIVER_ID_QTY", "EXPECTED_DRIVER_ID_QTY"]>>>;
172
- }, "strip", z.ZodTypeAny, {
173
- agency_id: string;
174
- updated_at: number & {
175
- __brand: "UnixMilliseconds";
176
- };
177
- reason: "NO_VEHICLE_EVENTS" | "UNEXPECTED_DRIVER_ID_QTY" | "EXPECTED_DRIVER_ID_QTY" | null;
178
- grade_status: "error" | "skip" | "pass" | "fail";
179
- operational_date: number & {
180
- __brand: "OperationalDateInt";
181
- };
182
- remarks: string | null;
183
- ride_id: string;
184
- observed_driver_ids_qty: number | null;
185
- }, {
186
- agency_id: string;
187
- updated_at: string | number;
188
- grade_status: string;
189
- operational_date: string | number;
190
- ride_id: string;
191
- reason?: "NO_VEHICLE_EVENTS" | "UNEXPECTED_DRIVER_ID_QTY" | "EXPECTED_DRIVER_ID_QTY" | null | undefined;
192
- remarks?: string | null | undefined;
193
- observed_driver_ids_qty?: string | number | null | undefined;
194
- }>;
195
- expected_start_time: z.ZodObject<{
196
- agency_id: z.ZodString;
197
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
198
- 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>;
199
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
200
- ride_id: z.ZodString;
201
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
202
- } & {
203
- observed_start_time: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>>>;
204
- observed_start_time_delta: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
205
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_START_TIME_SCHEDULED", "NO_VEHICLE_EVENTS", "UNKNOWN_START", "EARLY_START", "LATE_START", "START_ON_TIME"]>>>;
206
- }, "strip", z.ZodTypeAny, {
207
- agency_id: string;
208
- updated_at: number & {
209
- __brand: "UnixMilliseconds";
210
- };
211
- reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME" | null;
212
- grade_status: "error" | "skip" | "pass" | "fail";
213
- operational_date: number & {
214
- __brand: "OperationalDateInt";
215
- };
216
- remarks: string | null;
217
- ride_id: string;
218
- observed_start_time: import("@tmlmobilidade/go-types-shared").UnixMilliseconds | null;
219
- observed_start_time_delta: number | null;
220
- }, {
221
- agency_id: string;
222
- updated_at: string | number;
223
- grade_status: string;
224
- operational_date: string | number;
225
- ride_id: string;
226
- reason?: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME" | null | undefined;
227
- remarks?: string | null | undefined;
228
- observed_start_time?: string | number | null | undefined;
229
- observed_start_time_delta?: string | number | null | undefined;
230
- }>;
231
- expected_vehicle_event_coverage_geo: z.ZodObject<{
232
- agency_id: z.ZodString;
233
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
234
- 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>;
235
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
236
- ride_id: z.ZodString;
237
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
238
- } & {
239
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_PATH_DATA", "NO_VEHICLE_EVENTS", "LESS_THAN_90_PCT_COVERAGE", "90_PCT_OR_MORE_COVERAGE"]>>>;
240
- stops_coverage_absolute: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
241
- stops_coverage_percentage: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
242
- }, "strip", z.ZodTypeAny, {
243
- agency_id: string;
244
- updated_at: number & {
245
- __brand: "UnixMilliseconds";
246
- };
247
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "LESS_THAN_90_PCT_COVERAGE" | "90_PCT_OR_MORE_COVERAGE" | null;
248
- grade_status: "error" | "skip" | "pass" | "fail";
249
- operational_date: number & {
250
- __brand: "OperationalDateInt";
251
- };
252
- remarks: string | null;
253
- ride_id: string;
254
- stops_coverage_absolute: number | null;
255
- stops_coverage_percentage: number | null;
256
- }, {
257
- agency_id: string;
258
- updated_at: string | number;
259
- grade_status: string;
260
- operational_date: string | number;
261
- ride_id: string;
262
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "LESS_THAN_90_PCT_COVERAGE" | "90_PCT_OR_MORE_COVERAGE" | null | undefined;
263
- remarks?: string | null | undefined;
264
- stops_coverage_absolute?: string | number | null | undefined;
265
- stops_coverage_percentage?: string | number | null | undefined;
266
- }>;
267
- expected_vehicle_event_delay: z.ZodObject<{
268
- agency_id: z.ZodString;
269
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
270
- 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>;
271
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
272
- ride_id: z.ZodString;
273
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
274
- } & {
275
- observed_average_delay: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
276
- observed_max_delay: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
277
- observed_min_delay: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
278
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_VEHICLE_EVENTS", "UNEXPECTED_VEHICLE_EVENTS_DELAY", "EXPECTED_VEHICLE_EVENTS_DELAY"]>>>;
279
- vehicle_events_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
280
- vehicle_events_with_delay_percent: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
281
- vehicle_events_with_delay_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
282
- }, "strip", z.ZodTypeAny, {
283
- agency_id: string;
284
- updated_at: number & {
285
- __brand: "UnixMilliseconds";
286
- };
287
- reason: "NO_VEHICLE_EVENTS" | "UNEXPECTED_VEHICLE_EVENTS_DELAY" | "EXPECTED_VEHICLE_EVENTS_DELAY" | null;
288
- grade_status: "error" | "skip" | "pass" | "fail";
289
- operational_date: number & {
290
- __brand: "OperationalDateInt";
291
- };
292
- remarks: string | null;
293
- ride_id: string;
294
- observed_average_delay: number | null;
295
- observed_max_delay: number | null;
296
- observed_min_delay: number | null;
297
- vehicle_events_qty: number | null;
298
- vehicle_events_with_delay_percent: number | null;
299
- vehicle_events_with_delay_qty: number | null;
300
- }, {
301
- agency_id: string;
302
- updated_at: string | number;
303
- grade_status: string;
304
- operational_date: string | number;
305
- ride_id: string;
306
- reason?: "NO_VEHICLE_EVENTS" | "UNEXPECTED_VEHICLE_EVENTS_DELAY" | "EXPECTED_VEHICLE_EVENTS_DELAY" | null | undefined;
307
- remarks?: string | null | undefined;
308
- observed_average_delay?: string | number | null | undefined;
309
- observed_max_delay?: string | number | null | undefined;
310
- observed_min_delay?: string | number | null | undefined;
311
- vehicle_events_qty?: string | number | null | undefined;
312
- vehicle_events_with_delay_percent?: string | number | null | undefined;
313
- vehicle_events_with_delay_qty?: string | number | null | undefined;
314
- }>;
315
- expected_vehicle_event_interval: z.ZodObject<{
316
- agency_id: z.ZodString;
317
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
318
- 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>;
319
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
320
- ride_id: z.ZodString;
321
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
322
- } & {
323
- observed_average_interval: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
324
- observed_max_interval: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
325
- observed_min_interval: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
326
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_VEHICLE_EVENTS", "EXPECTED_VEHICLE_EVENT_INTERVAL", "UNEXPECTED_VEHICLE_EVENT_INTERVAL"]>>>;
327
- }, "strip", z.ZodTypeAny, {
328
- agency_id: string;
329
- updated_at: number & {
330
- __brand: "UnixMilliseconds";
331
- };
332
- reason: "NO_VEHICLE_EVENTS" | "EXPECTED_VEHICLE_EVENT_INTERVAL" | "UNEXPECTED_VEHICLE_EVENT_INTERVAL" | null;
333
- grade_status: "error" | "skip" | "pass" | "fail";
334
- operational_date: number & {
335
- __brand: "OperationalDateInt";
336
- };
337
- remarks: string | null;
338
- ride_id: string;
339
- observed_average_interval: number | null;
340
- observed_max_interval: number | null;
341
- observed_min_interval: number | null;
342
- }, {
343
- agency_id: string;
344
- updated_at: string | number;
345
- grade_status: string;
346
- operational_date: string | number;
347
- ride_id: string;
348
- reason?: "NO_VEHICLE_EVENTS" | "EXPECTED_VEHICLE_EVENT_INTERVAL" | "UNEXPECTED_VEHICLE_EVENT_INTERVAL" | null | undefined;
349
- remarks?: string | null | undefined;
350
- observed_average_interval?: string | number | null | undefined;
351
- observed_max_interval?: string | number | null | undefined;
352
- observed_min_interval?: string | number | null | undefined;
353
- }>;
354
- expected_vehicle_event_qty: z.ZodObject<{
355
- agency_id: z.ZodString;
356
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
357
- 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>;
358
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
359
- ride_id: z.ZodString;
360
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
361
- } & {
362
- expected_vehicle_events_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
363
- observed_vehicle_events_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
364
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_PATH_DATA", "NO_VEHICLE_EVENTS", "EXPECTED_VEHICLE_EVENT_QTY", "UNEXPECTED_VEHICLE_EVENT_QTY"]>>>;
365
- }, "strip", z.ZodTypeAny, {
366
- agency_id: string;
367
- updated_at: number & {
368
- __brand: "UnixMilliseconds";
369
- };
370
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "EXPECTED_VEHICLE_EVENT_QTY" | "UNEXPECTED_VEHICLE_EVENT_QTY" | null;
371
- grade_status: "error" | "skip" | "pass" | "fail";
372
- operational_date: number & {
373
- __brand: "OperationalDateInt";
374
- };
375
- remarks: string | null;
376
- ride_id: string;
377
- expected_vehicle_events_qty: number | null;
378
- observed_vehicle_events_qty: number | null;
379
- }, {
380
- agency_id: string;
381
- updated_at: string | number;
382
- grade_status: string;
383
- operational_date: string | number;
384
- ride_id: string;
385
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "EXPECTED_VEHICLE_EVENT_QTY" | "UNEXPECTED_VEHICLE_EVENT_QTY" | null | undefined;
386
- remarks?: string | null | undefined;
387
- expected_vehicle_events_qty?: string | number | null | undefined;
388
- observed_vehicle_events_qty?: string | number | null | undefined;
389
- }>;
390
- expected_vehicle_id_qty: z.ZodObject<{
391
- agency_id: z.ZodString;
392
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
393
- 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>;
394
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
395
- ride_id: z.ZodString;
396
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
397
- } & {
398
- observed_vehicle_ids_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
399
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_VEHICLE_EVENTS", "NO_APEX_VALIDATIONS", "UNEXPECTED_VEHICLE_ID_QTY", "EXPECTED_VEHICLE_ID_QTY"]>>>;
400
- }, "strip", z.ZodTypeAny, {
401
- agency_id: string;
402
- updated_at: number & {
403
- __brand: "UnixMilliseconds";
404
- };
405
- reason: "NO_VEHICLE_EVENTS" | "NO_APEX_VALIDATIONS" | "UNEXPECTED_VEHICLE_ID_QTY" | "EXPECTED_VEHICLE_ID_QTY" | null;
406
- grade_status: "error" | "skip" | "pass" | "fail";
407
- operational_date: number & {
408
- __brand: "OperationalDateInt";
409
- };
410
- remarks: string | null;
411
- ride_id: string;
412
- observed_vehicle_ids_qty: number | null;
413
- }, {
414
- agency_id: string;
415
- updated_at: string | number;
416
- grade_status: string;
417
- operational_date: string | number;
418
- ride_id: string;
419
- reason?: "NO_VEHICLE_EVENTS" | "NO_APEX_VALIDATIONS" | "UNEXPECTED_VEHICLE_ID_QTY" | "EXPECTED_VEHICLE_ID_QTY" | null | undefined;
420
- remarks?: string | null | undefined;
421
- observed_vehicle_ids_qty?: string | number | null | undefined;
422
- }>;
423
- matching_apex_locations: z.ZodObject<{
424
- agency_id: z.ZodString;
425
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
426
- 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>;
427
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
428
- ride_id: z.ZodString;
429
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
430
- } & {
431
- expected_apex_locations_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
432
- matching_apex_locations_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
433
- missing_apex_locations_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
434
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_PATH_DATA", "NO_APEX_LOCATIONS", "MISSING_APEX_LOCATION_FOR_AT_LEAST_ONE_STOP", "MATCHING_APEX_LOCATIONS"]>>>;
435
- }, "strip", z.ZodTypeAny, {
436
- agency_id: string;
437
- updated_at: number & {
438
- __brand: "UnixMilliseconds";
439
- };
440
- reason: "NO_PATH_DATA" | "NO_APEX_LOCATIONS" | "MISSING_APEX_LOCATION_FOR_AT_LEAST_ONE_STOP" | "MATCHING_APEX_LOCATIONS" | null;
441
- grade_status: "error" | "skip" | "pass" | "fail";
442
- operational_date: number & {
443
- __brand: "OperationalDateInt";
444
- };
445
- remarks: string | null;
446
- ride_id: string;
447
- expected_apex_locations_qty: number | null;
448
- matching_apex_locations_qty: number | null;
449
- missing_apex_locations_qty: number | null;
450
- }, {
451
- agency_id: string;
452
- updated_at: string | number;
453
- grade_status: string;
454
- operational_date: string | number;
455
- ride_id: string;
456
- reason?: "NO_PATH_DATA" | "NO_APEX_LOCATIONS" | "MISSING_APEX_LOCATION_FOR_AT_LEAST_ONE_STOP" | "MATCHING_APEX_LOCATIONS" | null | undefined;
457
- remarks?: string | null | undefined;
458
- expected_apex_locations_qty?: string | number | null | undefined;
459
- matching_apex_locations_qty?: string | number | null | undefined;
460
- missing_apex_locations_qty?: string | number | null | undefined;
461
- }>;
462
- matching_vehicle_ids: z.ZodObject<{
463
- agency_id: z.ZodString;
464
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
465
- 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>;
466
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
467
- ride_id: z.ZodString;
468
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
469
- } & {
470
- extra_apex_vehicle_ids_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
471
- extra_vehicle_events_vehicle_ids_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
472
- matching_vehicle_ids_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
473
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["MATCHING_VEHICLE_IDS", "VEHICLE_ID_MISMATCH", "NO_VEHICLE_EVENTS", "NO_APEX_TRANSACTIONS"]>>>;
474
- total_vehicle_ids_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
475
- }, "strip", z.ZodTypeAny, {
476
- agency_id: string;
477
- updated_at: number & {
478
- __brand: "UnixMilliseconds";
479
- };
480
- reason: "NO_VEHICLE_EVENTS" | "MATCHING_VEHICLE_IDS" | "VEHICLE_ID_MISMATCH" | "NO_APEX_TRANSACTIONS" | null;
481
- grade_status: "error" | "skip" | "pass" | "fail";
482
- operational_date: number & {
483
- __brand: "OperationalDateInt";
484
- };
485
- remarks: string | null;
486
- ride_id: string;
487
- extra_apex_vehicle_ids_qty: number | null;
488
- extra_vehicle_events_vehicle_ids_qty: number | null;
489
- matching_vehicle_ids_qty: number | null;
490
- total_vehicle_ids_qty: number | null;
491
- }, {
492
- agency_id: string;
493
- updated_at: string | number;
494
- grade_status: string;
495
- operational_date: string | number;
496
- ride_id: string;
497
- reason?: "NO_VEHICLE_EVENTS" | "MATCHING_VEHICLE_IDS" | "VEHICLE_ID_MISMATCH" | "NO_APEX_TRANSACTIONS" | null | undefined;
498
- remarks?: string | null | undefined;
499
- extra_apex_vehicle_ids_qty?: string | number | null | undefined;
500
- extra_vehicle_events_vehicle_ids_qty?: string | number | null | undefined;
501
- matching_vehicle_ids_qty?: string | number | null | undefined;
502
- total_vehicle_ids_qty?: string | number | null | undefined;
503
- }>;
504
- simple_one_apex_validation: z.ZodObject<{
505
- agency_id: z.ZodString;
506
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
507
- 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>;
508
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
509
- ride_id: z.ZodString;
510
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
511
- } & {
512
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_APEX_VALIDATIONS", "ONE_OR_MORE_APEX_VALIDATIONS"]>>>;
513
- }, "strip", z.ZodTypeAny, {
514
- agency_id: string;
515
- updated_at: number & {
516
- __brand: "UnixMilliseconds";
517
- };
518
- reason: "NO_APEX_VALIDATIONS" | "ONE_OR_MORE_APEX_VALIDATIONS" | null;
519
- grade_status: "error" | "skip" | "pass" | "fail";
520
- operational_date: number & {
521
- __brand: "OperationalDateInt";
522
- };
523
- remarks: string | null;
524
- ride_id: string;
525
- }, {
526
- agency_id: string;
527
- updated_at: string | number;
528
- grade_status: string;
529
- operational_date: string | number;
530
- ride_id: string;
531
- reason?: "NO_APEX_VALIDATIONS" | "ONE_OR_MORE_APEX_VALIDATIONS" | null | undefined;
532
- remarks?: string | null | undefined;
533
- }>;
534
- simple_one_vehicle_event_or_apex_validation: z.ZodObject<{
535
- agency_id: z.ZodString;
536
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
537
- 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>;
538
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
539
- ride_id: z.ZodString;
540
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
541
- } & {
542
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_VEHICLE_EVENTS_OR_APEX_VALIDATIONS", "FOUND_VEHICLE_EVENT_OR_APEX_VALIDATION"]>>>;
543
- }, "strip", z.ZodTypeAny, {
544
- agency_id: string;
545
- updated_at: number & {
546
- __brand: "UnixMilliseconds";
547
- };
548
- reason: "NO_VEHICLE_EVENTS_OR_APEX_VALIDATIONS" | "FOUND_VEHICLE_EVENT_OR_APEX_VALIDATION" | null;
549
- grade_status: "error" | "skip" | "pass" | "fail";
550
- operational_date: number & {
551
- __brand: "OperationalDateInt";
552
- };
553
- remarks: string | null;
554
- ride_id: string;
555
- }, {
556
- agency_id: string;
557
- updated_at: string | number;
558
- grade_status: string;
559
- operational_date: string | number;
560
- ride_id: string;
561
- reason?: "NO_VEHICLE_EVENTS_OR_APEX_VALIDATIONS" | "FOUND_VEHICLE_EVENT_OR_APEX_VALIDATION" | null | undefined;
562
- remarks?: string | null | undefined;
563
- }>;
564
- simple_three_vehicle_events: z.ZodObject<{
565
- agency_id: z.ZodString;
566
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
567
- 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>;
568
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
569
- ride_id: z.ZodString;
570
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
571
- } & {
572
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_PATH_DATA", "NO_VEHICLE_EVENTS", "MISSING_FIRST_STOPS", "MISSING_MIDDLE_STOPS", "MISSING_LAST_STOPS", "ALL_STOPS_FOUND"]>>>;
573
- stop_ids_first: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
574
- stop_ids_last: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
575
- stop_ids_middle: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
576
- }, "strip", z.ZodTypeAny, {
577
- agency_id: string;
578
- updated_at: number & {
579
- __brand: "UnixMilliseconds";
580
- };
581
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "MISSING_FIRST_STOPS" | "MISSING_MIDDLE_STOPS" | "MISSING_LAST_STOPS" | "ALL_STOPS_FOUND" | null;
582
- grade_status: "error" | "skip" | "pass" | "fail";
583
- operational_date: number & {
584
- __brand: "OperationalDateInt";
585
- };
586
- remarks: string | null;
587
- ride_id: string;
588
- stop_ids_first: string[];
589
- stop_ids_last: string[];
590
- stop_ids_middle: string[];
591
- }, {
592
- agency_id: string;
593
- updated_at: string | number;
594
- grade_status: string;
595
- operational_date: string | number;
596
- ride_id: string;
597
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "MISSING_FIRST_STOPS" | "MISSING_MIDDLE_STOPS" | "MISSING_LAST_STOPS" | "ALL_STOPS_FOUND" | null | undefined;
598
- remarks?: string | null | undefined;
599
- stop_ids_first?: string[] | undefined;
600
- stop_ids_last?: string[] | undefined;
601
- stop_ids_middle?: string[] | undefined;
602
- }>;
603
- transaction_sequentiality: z.ZodObject<{
604
- agency_id: z.ZodString;
605
- grade_status: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["skip", "pass", "fail", "error"]>>;
606
- 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>;
607
- remarks: z.ZodDefault<z.ZodNullable<z.ZodString>>;
608
- ride_id: z.ZodString;
609
- updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixMilliseconds, string | number>;
610
- } & {
611
- expected_transactions_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
612
- found_transactions_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
613
- missing_transactions_qty: z.ZodDefault<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>>;
614
- reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["NO_TRANSACTIONS", "MISSING_TRANSACTIONS", "ALL_TRANSACTIONS_RECEIVED"]>>>;
615
- }, "strip", z.ZodTypeAny, {
616
- agency_id: string;
617
- updated_at: number & {
618
- __brand: "UnixMilliseconds";
619
- };
620
- reason: "NO_TRANSACTIONS" | "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED" | null;
621
- grade_status: "error" | "skip" | "pass" | "fail";
622
- operational_date: number & {
623
- __brand: "OperationalDateInt";
624
- };
625
- remarks: string | null;
626
- ride_id: string;
627
- expected_transactions_qty: number | null;
628
- found_transactions_qty: number | null;
629
- missing_transactions_qty: number | null;
630
- }, {
631
- agency_id: string;
632
- updated_at: string | number;
633
- grade_status: string;
634
- operational_date: string | number;
635
- ride_id: string;
636
- reason?: "NO_TRANSACTIONS" | "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED" | null | undefined;
637
- remarks?: string | null | undefined;
638
- expected_transactions_qty?: string | number | null | undefined;
639
- found_transactions_qty?: string | number | null | undefined;
640
- missing_transactions_qty?: string | number | null | undefined;
641
- }>;
642
- }, "strip", z.ZodTypeAny, {
643
- at_least_one_vehicle_event_on_first_stop: {
644
- agency_id: string;
645
- updated_at: number & {
646
- __brand: "UnixMilliseconds";
647
- };
648
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_FIRST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_FIRST_STOP" | null;
649
- grade_status: "error" | "skip" | "pass" | "fail";
650
- operational_date: number & {
651
- __brand: "OperationalDateInt";
652
- };
653
- remarks: string | null;
654
- ride_id: string;
655
- vehicle_events_on_first_stop_qty: number | null;
656
- };
657
- at_least_one_vehicle_event_on_last_stop: {
658
- agency_id: string;
659
- updated_at: number & {
660
- __brand: "UnixMilliseconds";
661
- };
662
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_LAST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_LAST_STOP" | null;
663
- grade_status: "error" | "skip" | "pass" | "fail";
664
- operational_date: number & {
665
- __brand: "OperationalDateInt";
666
- };
667
- remarks: string | null;
668
- ride_id: string;
669
- vehicle_events_on_last_stop_qty: number | null;
670
- };
671
- expected_apex_validation_interval: {
672
- agency_id: string;
673
- updated_at: number & {
674
- __brand: "UnixMilliseconds";
675
- };
676
- reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS" | null;
677
- grade_status: "error" | "skip" | "pass" | "fail";
678
- operational_date: number & {
679
- __brand: "OperationalDateInt";
680
- };
681
- remarks: string | null;
682
- ride_id: string;
683
- observed_average_interval: number | null;
684
- observed_max_interval: number | null;
685
- observed_min_interval: number | null;
686
- };
687
- expected_driver_id_qty: {
688
- agency_id: string;
689
- updated_at: number & {
690
- __brand: "UnixMilliseconds";
691
- };
692
- reason: "NO_VEHICLE_EVENTS" | "UNEXPECTED_DRIVER_ID_QTY" | "EXPECTED_DRIVER_ID_QTY" | null;
693
- grade_status: "error" | "skip" | "pass" | "fail";
694
- operational_date: number & {
695
- __brand: "OperationalDateInt";
696
- };
697
- remarks: string | null;
698
- ride_id: string;
699
- observed_driver_ids_qty: number | null;
700
- };
701
- expected_start_time: {
702
- agency_id: string;
703
- updated_at: number & {
704
- __brand: "UnixMilliseconds";
705
- };
706
- reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME" | null;
707
- grade_status: "error" | "skip" | "pass" | "fail";
708
- operational_date: number & {
709
- __brand: "OperationalDateInt";
710
- };
711
- remarks: string | null;
712
- ride_id: string;
713
- observed_start_time: import("@tmlmobilidade/go-types-shared").UnixMilliseconds | null;
714
- observed_start_time_delta: number | null;
715
- };
716
- expected_vehicle_event_coverage_geo: {
717
- agency_id: string;
718
- updated_at: number & {
719
- __brand: "UnixMilliseconds";
720
- };
721
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "LESS_THAN_90_PCT_COVERAGE" | "90_PCT_OR_MORE_COVERAGE" | null;
722
- grade_status: "error" | "skip" | "pass" | "fail";
723
- operational_date: number & {
724
- __brand: "OperationalDateInt";
725
- };
726
- remarks: string | null;
727
- ride_id: string;
728
- stops_coverage_absolute: number | null;
729
- stops_coverage_percentage: number | null;
730
- };
731
- expected_vehicle_event_delay: {
732
- agency_id: string;
733
- updated_at: number & {
734
- __brand: "UnixMilliseconds";
735
- };
736
- reason: "NO_VEHICLE_EVENTS" | "UNEXPECTED_VEHICLE_EVENTS_DELAY" | "EXPECTED_VEHICLE_EVENTS_DELAY" | null;
737
- grade_status: "error" | "skip" | "pass" | "fail";
738
- operational_date: number & {
739
- __brand: "OperationalDateInt";
740
- };
741
- remarks: string | null;
742
- ride_id: string;
743
- observed_average_delay: number | null;
744
- observed_max_delay: number | null;
745
- observed_min_delay: number | null;
746
- vehicle_events_qty: number | null;
747
- vehicle_events_with_delay_percent: number | null;
748
- vehicle_events_with_delay_qty: number | null;
749
- };
750
- expected_vehicle_event_interval: {
751
- agency_id: string;
752
- updated_at: number & {
753
- __brand: "UnixMilliseconds";
754
- };
755
- reason: "NO_VEHICLE_EVENTS" | "EXPECTED_VEHICLE_EVENT_INTERVAL" | "UNEXPECTED_VEHICLE_EVENT_INTERVAL" | null;
756
- grade_status: "error" | "skip" | "pass" | "fail";
757
- operational_date: number & {
758
- __brand: "OperationalDateInt";
759
- };
760
- remarks: string | null;
761
- ride_id: string;
762
- observed_average_interval: number | null;
763
- observed_max_interval: number | null;
764
- observed_min_interval: number | null;
765
- };
766
- expected_vehicle_event_qty: {
767
- agency_id: string;
768
- updated_at: number & {
769
- __brand: "UnixMilliseconds";
770
- };
771
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "EXPECTED_VEHICLE_EVENT_QTY" | "UNEXPECTED_VEHICLE_EVENT_QTY" | null;
772
- grade_status: "error" | "skip" | "pass" | "fail";
773
- operational_date: number & {
774
- __brand: "OperationalDateInt";
775
- };
776
- remarks: string | null;
777
- ride_id: string;
778
- expected_vehicle_events_qty: number | null;
779
- observed_vehicle_events_qty: number | null;
780
- };
781
- expected_vehicle_id_qty: {
782
- agency_id: string;
783
- updated_at: number & {
784
- __brand: "UnixMilliseconds";
785
- };
786
- reason: "NO_VEHICLE_EVENTS" | "NO_APEX_VALIDATIONS" | "UNEXPECTED_VEHICLE_ID_QTY" | "EXPECTED_VEHICLE_ID_QTY" | null;
787
- grade_status: "error" | "skip" | "pass" | "fail";
788
- operational_date: number & {
789
- __brand: "OperationalDateInt";
790
- };
791
- remarks: string | null;
792
- ride_id: string;
793
- observed_vehicle_ids_qty: number | null;
794
- };
795
- matching_apex_locations: {
796
- agency_id: string;
797
- updated_at: number & {
798
- __brand: "UnixMilliseconds";
799
- };
800
- reason: "NO_PATH_DATA" | "NO_APEX_LOCATIONS" | "MISSING_APEX_LOCATION_FOR_AT_LEAST_ONE_STOP" | "MATCHING_APEX_LOCATIONS" | null;
801
- grade_status: "error" | "skip" | "pass" | "fail";
802
- operational_date: number & {
803
- __brand: "OperationalDateInt";
804
- };
805
- remarks: string | null;
806
- ride_id: string;
807
- expected_apex_locations_qty: number | null;
808
- matching_apex_locations_qty: number | null;
809
- missing_apex_locations_qty: number | null;
810
- };
811
- matching_vehicle_ids: {
812
- agency_id: string;
813
- updated_at: number & {
814
- __brand: "UnixMilliseconds";
815
- };
816
- reason: "NO_VEHICLE_EVENTS" | "MATCHING_VEHICLE_IDS" | "VEHICLE_ID_MISMATCH" | "NO_APEX_TRANSACTIONS" | null;
817
- grade_status: "error" | "skip" | "pass" | "fail";
818
- operational_date: number & {
819
- __brand: "OperationalDateInt";
820
- };
821
- remarks: string | null;
822
- ride_id: string;
823
- extra_apex_vehicle_ids_qty: number | null;
824
- extra_vehicle_events_vehicle_ids_qty: number | null;
825
- matching_vehicle_ids_qty: number | null;
826
- total_vehicle_ids_qty: number | null;
827
- };
828
- simple_one_apex_validation: {
829
- agency_id: string;
830
- updated_at: number & {
831
- __brand: "UnixMilliseconds";
832
- };
833
- reason: "NO_APEX_VALIDATIONS" | "ONE_OR_MORE_APEX_VALIDATIONS" | null;
834
- grade_status: "error" | "skip" | "pass" | "fail";
835
- operational_date: number & {
836
- __brand: "OperationalDateInt";
837
- };
838
- remarks: string | null;
839
- ride_id: string;
840
- };
841
- simple_one_vehicle_event_or_apex_validation: {
842
- agency_id: string;
843
- updated_at: number & {
844
- __brand: "UnixMilliseconds";
845
- };
846
- reason: "NO_VEHICLE_EVENTS_OR_APEX_VALIDATIONS" | "FOUND_VEHICLE_EVENT_OR_APEX_VALIDATION" | null;
847
- grade_status: "error" | "skip" | "pass" | "fail";
848
- operational_date: number & {
849
- __brand: "OperationalDateInt";
850
- };
851
- remarks: string | null;
852
- ride_id: string;
853
- };
854
- simple_three_vehicle_events: {
855
- agency_id: string;
856
- updated_at: number & {
857
- __brand: "UnixMilliseconds";
858
- };
859
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "MISSING_FIRST_STOPS" | "MISSING_MIDDLE_STOPS" | "MISSING_LAST_STOPS" | "ALL_STOPS_FOUND" | null;
860
- grade_status: "error" | "skip" | "pass" | "fail";
861
- operational_date: number & {
862
- __brand: "OperationalDateInt";
863
- };
864
- remarks: string | null;
865
- ride_id: string;
866
- stop_ids_first: string[];
867
- stop_ids_last: string[];
868
- stop_ids_middle: string[];
869
- };
870
- transaction_sequentiality: {
871
- agency_id: string;
872
- updated_at: number & {
873
- __brand: "UnixMilliseconds";
874
- };
875
- reason: "NO_TRANSACTIONS" | "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED" | null;
876
- grade_status: "error" | "skip" | "pass" | "fail";
877
- operational_date: number & {
878
- __brand: "OperationalDateInt";
879
- };
880
- remarks: string | null;
881
- ride_id: string;
882
- expected_transactions_qty: number | null;
883
- found_transactions_qty: number | null;
884
- missing_transactions_qty: number | null;
885
- };
886
- }, {
887
- at_least_one_vehicle_event_on_first_stop: {
888
- agency_id: string;
889
- updated_at: string | number;
890
- grade_status: string;
891
- operational_date: string | number;
892
- ride_id: string;
893
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_FIRST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_FIRST_STOP" | null | undefined;
894
- remarks?: string | null | undefined;
895
- vehicle_events_on_first_stop_qty?: string | number | null | undefined;
896
- };
897
- at_least_one_vehicle_event_on_last_stop: {
898
- agency_id: string;
899
- updated_at: string | number;
900
- grade_status: string;
901
- operational_date: string | number;
902
- ride_id: string;
903
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_LAST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_LAST_STOP" | null | undefined;
904
- remarks?: string | null | undefined;
905
- vehicle_events_on_last_stop_qty?: string | number | null | undefined;
906
- };
907
- expected_apex_validation_interval: {
908
- agency_id: string;
909
- updated_at: string | number;
910
- grade_status: string;
911
- operational_date: string | number;
912
- ride_id: string;
913
- reason?: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS" | null | undefined;
914
- remarks?: string | null | undefined;
915
- observed_average_interval?: string | number | null | undefined;
916
- observed_max_interval?: string | number | null | undefined;
917
- observed_min_interval?: string | number | null | undefined;
918
- };
919
- expected_driver_id_qty: {
920
- agency_id: string;
921
- updated_at: string | number;
922
- grade_status: string;
923
- operational_date: string | number;
924
- ride_id: string;
925
- reason?: "NO_VEHICLE_EVENTS" | "UNEXPECTED_DRIVER_ID_QTY" | "EXPECTED_DRIVER_ID_QTY" | null | undefined;
926
- remarks?: string | null | undefined;
927
- observed_driver_ids_qty?: string | number | null | undefined;
928
- };
929
- expected_start_time: {
930
- agency_id: string;
931
- updated_at: string | number;
932
- grade_status: string;
933
- operational_date: string | number;
934
- ride_id: string;
935
- reason?: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME" | null | undefined;
936
- remarks?: string | null | undefined;
937
- observed_start_time?: string | number | null | undefined;
938
- observed_start_time_delta?: string | number | null | undefined;
939
- };
940
- expected_vehicle_event_coverage_geo: {
941
- agency_id: string;
942
- updated_at: string | number;
943
- grade_status: string;
944
- operational_date: string | number;
945
- ride_id: string;
946
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "LESS_THAN_90_PCT_COVERAGE" | "90_PCT_OR_MORE_COVERAGE" | null | undefined;
947
- remarks?: string | null | undefined;
948
- stops_coverage_absolute?: string | number | null | undefined;
949
- stops_coverage_percentage?: string | number | null | undefined;
950
- };
951
- expected_vehicle_event_delay: {
952
- agency_id: string;
953
- updated_at: string | number;
954
- grade_status: string;
955
- operational_date: string | number;
956
- ride_id: string;
957
- reason?: "NO_VEHICLE_EVENTS" | "UNEXPECTED_VEHICLE_EVENTS_DELAY" | "EXPECTED_VEHICLE_EVENTS_DELAY" | null | undefined;
958
- remarks?: string | null | undefined;
959
- observed_average_delay?: string | number | null | undefined;
960
- observed_max_delay?: string | number | null | undefined;
961
- observed_min_delay?: string | number | null | undefined;
962
- vehicle_events_qty?: string | number | null | undefined;
963
- vehicle_events_with_delay_percent?: string | number | null | undefined;
964
- vehicle_events_with_delay_qty?: string | number | null | undefined;
965
- };
966
- expected_vehicle_event_interval: {
967
- agency_id: string;
968
- updated_at: string | number;
969
- grade_status: string;
970
- operational_date: string | number;
971
- ride_id: string;
972
- reason?: "NO_VEHICLE_EVENTS" | "EXPECTED_VEHICLE_EVENT_INTERVAL" | "UNEXPECTED_VEHICLE_EVENT_INTERVAL" | null | undefined;
973
- remarks?: string | null | undefined;
974
- observed_average_interval?: string | number | null | undefined;
975
- observed_max_interval?: string | number | null | undefined;
976
- observed_min_interval?: string | number | null | undefined;
977
- };
978
- expected_vehicle_event_qty: {
979
- agency_id: string;
980
- updated_at: string | number;
981
- grade_status: string;
982
- operational_date: string | number;
983
- ride_id: string;
984
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "EXPECTED_VEHICLE_EVENT_QTY" | "UNEXPECTED_VEHICLE_EVENT_QTY" | null | undefined;
985
- remarks?: string | null | undefined;
986
- expected_vehicle_events_qty?: string | number | null | undefined;
987
- observed_vehicle_events_qty?: string | number | null | undefined;
988
- };
989
- expected_vehicle_id_qty: {
990
- agency_id: string;
991
- updated_at: string | number;
992
- grade_status: string;
993
- operational_date: string | number;
994
- ride_id: string;
995
- reason?: "NO_VEHICLE_EVENTS" | "NO_APEX_VALIDATIONS" | "UNEXPECTED_VEHICLE_ID_QTY" | "EXPECTED_VEHICLE_ID_QTY" | null | undefined;
996
- remarks?: string | null | undefined;
997
- observed_vehicle_ids_qty?: string | number | null | undefined;
998
- };
999
- matching_apex_locations: {
1000
- agency_id: string;
1001
- updated_at: string | number;
1002
- grade_status: string;
1003
- operational_date: string | number;
1004
- ride_id: string;
1005
- reason?: "NO_PATH_DATA" | "NO_APEX_LOCATIONS" | "MISSING_APEX_LOCATION_FOR_AT_LEAST_ONE_STOP" | "MATCHING_APEX_LOCATIONS" | null | undefined;
1006
- remarks?: string | null | undefined;
1007
- expected_apex_locations_qty?: string | number | null | undefined;
1008
- matching_apex_locations_qty?: string | number | null | undefined;
1009
- missing_apex_locations_qty?: string | number | null | undefined;
1010
- };
1011
- matching_vehicle_ids: {
1012
- agency_id: string;
1013
- updated_at: string | number;
1014
- grade_status: string;
1015
- operational_date: string | number;
1016
- ride_id: string;
1017
- reason?: "NO_VEHICLE_EVENTS" | "MATCHING_VEHICLE_IDS" | "VEHICLE_ID_MISMATCH" | "NO_APEX_TRANSACTIONS" | null | undefined;
1018
- remarks?: string | null | undefined;
1019
- extra_apex_vehicle_ids_qty?: string | number | null | undefined;
1020
- extra_vehicle_events_vehicle_ids_qty?: string | number | null | undefined;
1021
- matching_vehicle_ids_qty?: string | number | null | undefined;
1022
- total_vehicle_ids_qty?: string | number | null | undefined;
1023
- };
1024
- simple_one_apex_validation: {
1025
- agency_id: string;
1026
- updated_at: string | number;
1027
- grade_status: string;
1028
- operational_date: string | number;
1029
- ride_id: string;
1030
- reason?: "NO_APEX_VALIDATIONS" | "ONE_OR_MORE_APEX_VALIDATIONS" | null | undefined;
1031
- remarks?: string | null | undefined;
1032
- };
1033
- simple_one_vehicle_event_or_apex_validation: {
1034
- agency_id: string;
1035
- updated_at: string | number;
1036
- grade_status: string;
1037
- operational_date: string | number;
1038
- ride_id: string;
1039
- reason?: "NO_VEHICLE_EVENTS_OR_APEX_VALIDATIONS" | "FOUND_VEHICLE_EVENT_OR_APEX_VALIDATION" | null | undefined;
1040
- remarks?: string | null | undefined;
1041
- };
1042
- simple_three_vehicle_events: {
1043
- agency_id: string;
1044
- updated_at: string | number;
1045
- grade_status: string;
1046
- operational_date: string | number;
1047
- ride_id: string;
1048
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "MISSING_FIRST_STOPS" | "MISSING_MIDDLE_STOPS" | "MISSING_LAST_STOPS" | "ALL_STOPS_FOUND" | null | undefined;
1049
- remarks?: string | null | undefined;
1050
- stop_ids_first?: string[] | undefined;
1051
- stop_ids_last?: string[] | undefined;
1052
- stop_ids_middle?: string[] | undefined;
1053
- };
1054
- transaction_sequentiality: {
1055
- agency_id: string;
1056
- updated_at: string | number;
1057
- grade_status: string;
1058
- operational_date: string | number;
1059
- ride_id: string;
1060
- reason?: "NO_TRANSACTIONS" | "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED" | null | undefined;
1061
- remarks?: string | null | undefined;
1062
- expected_transactions_qty?: string | number | null | undefined;
1063
- found_transactions_qty?: string | number | null | undefined;
1064
- missing_transactions_qty?: string | number | null | undefined;
1065
- };
1066
- }>>>;
1067
55
  }, "hash">, "strip", z.ZodTypeAny, {
1068
56
  agency_id: string;
1069
57
  _id: string;
@@ -1123,251 +111,6 @@ export declare const HashableRideSchema: z.ZodObject<Omit<{
1123
111
  seen_first_at: import("@tmlmobilidade/go-types-shared").UnixMilliseconds | null;
1124
112
  seen_last_at: import("@tmlmobilidade/go-types-shared").UnixMilliseconds | null;
1125
113
  vehicle_ids: string[];
1126
- analyses: {
1127
- at_least_one_vehicle_event_on_first_stop: {
1128
- agency_id: string;
1129
- updated_at: number & {
1130
- __brand: "UnixMilliseconds";
1131
- };
1132
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_FIRST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_FIRST_STOP" | null;
1133
- grade_status: "error" | "skip" | "pass" | "fail";
1134
- operational_date: number & {
1135
- __brand: "OperationalDateInt";
1136
- };
1137
- remarks: string | null;
1138
- ride_id: string;
1139
- vehicle_events_on_first_stop_qty: number | null;
1140
- };
1141
- at_least_one_vehicle_event_on_last_stop: {
1142
- agency_id: string;
1143
- updated_at: number & {
1144
- __brand: "UnixMilliseconds";
1145
- };
1146
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_LAST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_LAST_STOP" | null;
1147
- grade_status: "error" | "skip" | "pass" | "fail";
1148
- operational_date: number & {
1149
- __brand: "OperationalDateInt";
1150
- };
1151
- remarks: string | null;
1152
- ride_id: string;
1153
- vehicle_events_on_last_stop_qty: number | null;
1154
- };
1155
- expected_apex_validation_interval: {
1156
- agency_id: string;
1157
- updated_at: number & {
1158
- __brand: "UnixMilliseconds";
1159
- };
1160
- reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS" | null;
1161
- grade_status: "error" | "skip" | "pass" | "fail";
1162
- operational_date: number & {
1163
- __brand: "OperationalDateInt";
1164
- };
1165
- remarks: string | null;
1166
- ride_id: string;
1167
- observed_average_interval: number | null;
1168
- observed_max_interval: number | null;
1169
- observed_min_interval: number | null;
1170
- };
1171
- expected_driver_id_qty: {
1172
- agency_id: string;
1173
- updated_at: number & {
1174
- __brand: "UnixMilliseconds";
1175
- };
1176
- reason: "NO_VEHICLE_EVENTS" | "UNEXPECTED_DRIVER_ID_QTY" | "EXPECTED_DRIVER_ID_QTY" | null;
1177
- grade_status: "error" | "skip" | "pass" | "fail";
1178
- operational_date: number & {
1179
- __brand: "OperationalDateInt";
1180
- };
1181
- remarks: string | null;
1182
- ride_id: string;
1183
- observed_driver_ids_qty: number | null;
1184
- };
1185
- expected_start_time: {
1186
- agency_id: string;
1187
- updated_at: number & {
1188
- __brand: "UnixMilliseconds";
1189
- };
1190
- reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME" | null;
1191
- grade_status: "error" | "skip" | "pass" | "fail";
1192
- operational_date: number & {
1193
- __brand: "OperationalDateInt";
1194
- };
1195
- remarks: string | null;
1196
- ride_id: string;
1197
- observed_start_time: import("@tmlmobilidade/go-types-shared").UnixMilliseconds | null;
1198
- observed_start_time_delta: number | null;
1199
- };
1200
- expected_vehicle_event_coverage_geo: {
1201
- agency_id: string;
1202
- updated_at: number & {
1203
- __brand: "UnixMilliseconds";
1204
- };
1205
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "LESS_THAN_90_PCT_COVERAGE" | "90_PCT_OR_MORE_COVERAGE" | null;
1206
- grade_status: "error" | "skip" | "pass" | "fail";
1207
- operational_date: number & {
1208
- __brand: "OperationalDateInt";
1209
- };
1210
- remarks: string | null;
1211
- ride_id: string;
1212
- stops_coverage_absolute: number | null;
1213
- stops_coverage_percentage: number | null;
1214
- };
1215
- expected_vehicle_event_delay: {
1216
- agency_id: string;
1217
- updated_at: number & {
1218
- __brand: "UnixMilliseconds";
1219
- };
1220
- reason: "NO_VEHICLE_EVENTS" | "UNEXPECTED_VEHICLE_EVENTS_DELAY" | "EXPECTED_VEHICLE_EVENTS_DELAY" | null;
1221
- grade_status: "error" | "skip" | "pass" | "fail";
1222
- operational_date: number & {
1223
- __brand: "OperationalDateInt";
1224
- };
1225
- remarks: string | null;
1226
- ride_id: string;
1227
- observed_average_delay: number | null;
1228
- observed_max_delay: number | null;
1229
- observed_min_delay: number | null;
1230
- vehicle_events_qty: number | null;
1231
- vehicle_events_with_delay_percent: number | null;
1232
- vehicle_events_with_delay_qty: number | null;
1233
- };
1234
- expected_vehicle_event_interval: {
1235
- agency_id: string;
1236
- updated_at: number & {
1237
- __brand: "UnixMilliseconds";
1238
- };
1239
- reason: "NO_VEHICLE_EVENTS" | "EXPECTED_VEHICLE_EVENT_INTERVAL" | "UNEXPECTED_VEHICLE_EVENT_INTERVAL" | null;
1240
- grade_status: "error" | "skip" | "pass" | "fail";
1241
- operational_date: number & {
1242
- __brand: "OperationalDateInt";
1243
- };
1244
- remarks: string | null;
1245
- ride_id: string;
1246
- observed_average_interval: number | null;
1247
- observed_max_interval: number | null;
1248
- observed_min_interval: number | null;
1249
- };
1250
- expected_vehicle_event_qty: {
1251
- agency_id: string;
1252
- updated_at: number & {
1253
- __brand: "UnixMilliseconds";
1254
- };
1255
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "EXPECTED_VEHICLE_EVENT_QTY" | "UNEXPECTED_VEHICLE_EVENT_QTY" | null;
1256
- grade_status: "error" | "skip" | "pass" | "fail";
1257
- operational_date: number & {
1258
- __brand: "OperationalDateInt";
1259
- };
1260
- remarks: string | null;
1261
- ride_id: string;
1262
- expected_vehicle_events_qty: number | null;
1263
- observed_vehicle_events_qty: number | null;
1264
- };
1265
- expected_vehicle_id_qty: {
1266
- agency_id: string;
1267
- updated_at: number & {
1268
- __brand: "UnixMilliseconds";
1269
- };
1270
- reason: "NO_VEHICLE_EVENTS" | "NO_APEX_VALIDATIONS" | "UNEXPECTED_VEHICLE_ID_QTY" | "EXPECTED_VEHICLE_ID_QTY" | null;
1271
- grade_status: "error" | "skip" | "pass" | "fail";
1272
- operational_date: number & {
1273
- __brand: "OperationalDateInt";
1274
- };
1275
- remarks: string | null;
1276
- ride_id: string;
1277
- observed_vehicle_ids_qty: number | null;
1278
- };
1279
- matching_apex_locations: {
1280
- agency_id: string;
1281
- updated_at: number & {
1282
- __brand: "UnixMilliseconds";
1283
- };
1284
- reason: "NO_PATH_DATA" | "NO_APEX_LOCATIONS" | "MISSING_APEX_LOCATION_FOR_AT_LEAST_ONE_STOP" | "MATCHING_APEX_LOCATIONS" | null;
1285
- grade_status: "error" | "skip" | "pass" | "fail";
1286
- operational_date: number & {
1287
- __brand: "OperationalDateInt";
1288
- };
1289
- remarks: string | null;
1290
- ride_id: string;
1291
- expected_apex_locations_qty: number | null;
1292
- matching_apex_locations_qty: number | null;
1293
- missing_apex_locations_qty: number | null;
1294
- };
1295
- matching_vehicle_ids: {
1296
- agency_id: string;
1297
- updated_at: number & {
1298
- __brand: "UnixMilliseconds";
1299
- };
1300
- reason: "NO_VEHICLE_EVENTS" | "MATCHING_VEHICLE_IDS" | "VEHICLE_ID_MISMATCH" | "NO_APEX_TRANSACTIONS" | null;
1301
- grade_status: "error" | "skip" | "pass" | "fail";
1302
- operational_date: number & {
1303
- __brand: "OperationalDateInt";
1304
- };
1305
- remarks: string | null;
1306
- ride_id: string;
1307
- extra_apex_vehicle_ids_qty: number | null;
1308
- extra_vehicle_events_vehicle_ids_qty: number | null;
1309
- matching_vehicle_ids_qty: number | null;
1310
- total_vehicle_ids_qty: number | null;
1311
- };
1312
- simple_one_apex_validation: {
1313
- agency_id: string;
1314
- updated_at: number & {
1315
- __brand: "UnixMilliseconds";
1316
- };
1317
- reason: "NO_APEX_VALIDATIONS" | "ONE_OR_MORE_APEX_VALIDATIONS" | null;
1318
- grade_status: "error" | "skip" | "pass" | "fail";
1319
- operational_date: number & {
1320
- __brand: "OperationalDateInt";
1321
- };
1322
- remarks: string | null;
1323
- ride_id: string;
1324
- };
1325
- simple_one_vehicle_event_or_apex_validation: {
1326
- agency_id: string;
1327
- updated_at: number & {
1328
- __brand: "UnixMilliseconds";
1329
- };
1330
- reason: "NO_VEHICLE_EVENTS_OR_APEX_VALIDATIONS" | "FOUND_VEHICLE_EVENT_OR_APEX_VALIDATION" | null;
1331
- grade_status: "error" | "skip" | "pass" | "fail";
1332
- operational_date: number & {
1333
- __brand: "OperationalDateInt";
1334
- };
1335
- remarks: string | null;
1336
- ride_id: string;
1337
- };
1338
- simple_three_vehicle_events: {
1339
- agency_id: string;
1340
- updated_at: number & {
1341
- __brand: "UnixMilliseconds";
1342
- };
1343
- reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "MISSING_FIRST_STOPS" | "MISSING_MIDDLE_STOPS" | "MISSING_LAST_STOPS" | "ALL_STOPS_FOUND" | null;
1344
- grade_status: "error" | "skip" | "pass" | "fail";
1345
- operational_date: number & {
1346
- __brand: "OperationalDateInt";
1347
- };
1348
- remarks: string | null;
1349
- ride_id: string;
1350
- stop_ids_first: string[];
1351
- stop_ids_last: string[];
1352
- stop_ids_middle: string[];
1353
- };
1354
- transaction_sequentiality: {
1355
- agency_id: string;
1356
- updated_at: number & {
1357
- __brand: "UnixMilliseconds";
1358
- };
1359
- reason: "NO_TRANSACTIONS" | "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED" | null;
1360
- grade_status: "error" | "skip" | "pass" | "fail";
1361
- operational_date: number & {
1362
- __brand: "OperationalDateInt";
1363
- };
1364
- remarks: string | null;
1365
- ride_id: string;
1366
- expected_transactions_qty: number | null;
1367
- found_transactions_qty: number | null;
1368
- missing_transactions_qty: number | null;
1369
- };
1370
- } | null;
1371
114
  }, {
1372
115
  agency_id: string;
1373
116
  _id: string;
@@ -1415,186 +158,5 @@ export declare const HashableRideSchema: z.ZodObject<Omit<{
1415
158
  seen_first_at?: string | number | null | undefined;
1416
159
  seen_last_at?: string | number | null | undefined;
1417
160
  vehicle_ids?: string[] | undefined;
1418
- analyses?: {
1419
- at_least_one_vehicle_event_on_first_stop: {
1420
- agency_id: string;
1421
- updated_at: string | number;
1422
- grade_status: string;
1423
- operational_date: string | number;
1424
- ride_id: string;
1425
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_FIRST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_FIRST_STOP" | null | undefined;
1426
- remarks?: string | null | undefined;
1427
- vehicle_events_on_first_stop_qty?: string | number | null | undefined;
1428
- };
1429
- at_least_one_vehicle_event_on_last_stop: {
1430
- agency_id: string;
1431
- updated_at: string | number;
1432
- grade_status: string;
1433
- operational_date: string | number;
1434
- ride_id: string;
1435
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_LAST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_LAST_STOP" | null | undefined;
1436
- remarks?: string | null | undefined;
1437
- vehicle_events_on_last_stop_qty?: string | number | null | undefined;
1438
- };
1439
- expected_apex_validation_interval: {
1440
- agency_id: string;
1441
- updated_at: string | number;
1442
- grade_status: string;
1443
- operational_date: string | number;
1444
- ride_id: string;
1445
- reason?: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS" | null | undefined;
1446
- remarks?: string | null | undefined;
1447
- observed_average_interval?: string | number | null | undefined;
1448
- observed_max_interval?: string | number | null | undefined;
1449
- observed_min_interval?: string | number | null | undefined;
1450
- };
1451
- expected_driver_id_qty: {
1452
- agency_id: string;
1453
- updated_at: string | number;
1454
- grade_status: string;
1455
- operational_date: string | number;
1456
- ride_id: string;
1457
- reason?: "NO_VEHICLE_EVENTS" | "UNEXPECTED_DRIVER_ID_QTY" | "EXPECTED_DRIVER_ID_QTY" | null | undefined;
1458
- remarks?: string | null | undefined;
1459
- observed_driver_ids_qty?: string | number | null | undefined;
1460
- };
1461
- expected_start_time: {
1462
- agency_id: string;
1463
- updated_at: string | number;
1464
- grade_status: string;
1465
- operational_date: string | number;
1466
- ride_id: string;
1467
- reason?: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME" | null | undefined;
1468
- remarks?: string | null | undefined;
1469
- observed_start_time?: string | number | null | undefined;
1470
- observed_start_time_delta?: string | number | null | undefined;
1471
- };
1472
- expected_vehicle_event_coverage_geo: {
1473
- agency_id: string;
1474
- updated_at: string | number;
1475
- grade_status: string;
1476
- operational_date: string | number;
1477
- ride_id: string;
1478
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "LESS_THAN_90_PCT_COVERAGE" | "90_PCT_OR_MORE_COVERAGE" | null | undefined;
1479
- remarks?: string | null | undefined;
1480
- stops_coverage_absolute?: string | number | null | undefined;
1481
- stops_coverage_percentage?: string | number | null | undefined;
1482
- };
1483
- expected_vehicle_event_delay: {
1484
- agency_id: string;
1485
- updated_at: string | number;
1486
- grade_status: string;
1487
- operational_date: string | number;
1488
- ride_id: string;
1489
- reason?: "NO_VEHICLE_EVENTS" | "UNEXPECTED_VEHICLE_EVENTS_DELAY" | "EXPECTED_VEHICLE_EVENTS_DELAY" | null | undefined;
1490
- remarks?: string | null | undefined;
1491
- observed_average_delay?: string | number | null | undefined;
1492
- observed_max_delay?: string | number | null | undefined;
1493
- observed_min_delay?: string | number | null | undefined;
1494
- vehicle_events_qty?: string | number | null | undefined;
1495
- vehicle_events_with_delay_percent?: string | number | null | undefined;
1496
- vehicle_events_with_delay_qty?: string | number | null | undefined;
1497
- };
1498
- expected_vehicle_event_interval: {
1499
- agency_id: string;
1500
- updated_at: string | number;
1501
- grade_status: string;
1502
- operational_date: string | number;
1503
- ride_id: string;
1504
- reason?: "NO_VEHICLE_EVENTS" | "EXPECTED_VEHICLE_EVENT_INTERVAL" | "UNEXPECTED_VEHICLE_EVENT_INTERVAL" | null | undefined;
1505
- remarks?: string | null | undefined;
1506
- observed_average_interval?: string | number | null | undefined;
1507
- observed_max_interval?: string | number | null | undefined;
1508
- observed_min_interval?: string | number | null | undefined;
1509
- };
1510
- expected_vehicle_event_qty: {
1511
- agency_id: string;
1512
- updated_at: string | number;
1513
- grade_status: string;
1514
- operational_date: string | number;
1515
- ride_id: string;
1516
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "EXPECTED_VEHICLE_EVENT_QTY" | "UNEXPECTED_VEHICLE_EVENT_QTY" | null | undefined;
1517
- remarks?: string | null | undefined;
1518
- expected_vehicle_events_qty?: string | number | null | undefined;
1519
- observed_vehicle_events_qty?: string | number | null | undefined;
1520
- };
1521
- expected_vehicle_id_qty: {
1522
- agency_id: string;
1523
- updated_at: string | number;
1524
- grade_status: string;
1525
- operational_date: string | number;
1526
- ride_id: string;
1527
- reason?: "NO_VEHICLE_EVENTS" | "NO_APEX_VALIDATIONS" | "UNEXPECTED_VEHICLE_ID_QTY" | "EXPECTED_VEHICLE_ID_QTY" | null | undefined;
1528
- remarks?: string | null | undefined;
1529
- observed_vehicle_ids_qty?: string | number | null | undefined;
1530
- };
1531
- matching_apex_locations: {
1532
- agency_id: string;
1533
- updated_at: string | number;
1534
- grade_status: string;
1535
- operational_date: string | number;
1536
- ride_id: string;
1537
- reason?: "NO_PATH_DATA" | "NO_APEX_LOCATIONS" | "MISSING_APEX_LOCATION_FOR_AT_LEAST_ONE_STOP" | "MATCHING_APEX_LOCATIONS" | null | undefined;
1538
- remarks?: string | null | undefined;
1539
- expected_apex_locations_qty?: string | number | null | undefined;
1540
- matching_apex_locations_qty?: string | number | null | undefined;
1541
- missing_apex_locations_qty?: string | number | null | undefined;
1542
- };
1543
- matching_vehicle_ids: {
1544
- agency_id: string;
1545
- updated_at: string | number;
1546
- grade_status: string;
1547
- operational_date: string | number;
1548
- ride_id: string;
1549
- reason?: "NO_VEHICLE_EVENTS" | "MATCHING_VEHICLE_IDS" | "VEHICLE_ID_MISMATCH" | "NO_APEX_TRANSACTIONS" | null | undefined;
1550
- remarks?: string | null | undefined;
1551
- extra_apex_vehicle_ids_qty?: string | number | null | undefined;
1552
- extra_vehicle_events_vehicle_ids_qty?: string | number | null | undefined;
1553
- matching_vehicle_ids_qty?: string | number | null | undefined;
1554
- total_vehicle_ids_qty?: string | number | null | undefined;
1555
- };
1556
- simple_one_apex_validation: {
1557
- agency_id: string;
1558
- updated_at: string | number;
1559
- grade_status: string;
1560
- operational_date: string | number;
1561
- ride_id: string;
1562
- reason?: "NO_APEX_VALIDATIONS" | "ONE_OR_MORE_APEX_VALIDATIONS" | null | undefined;
1563
- remarks?: string | null | undefined;
1564
- };
1565
- simple_one_vehicle_event_or_apex_validation: {
1566
- agency_id: string;
1567
- updated_at: string | number;
1568
- grade_status: string;
1569
- operational_date: string | number;
1570
- ride_id: string;
1571
- reason?: "NO_VEHICLE_EVENTS_OR_APEX_VALIDATIONS" | "FOUND_VEHICLE_EVENT_OR_APEX_VALIDATION" | null | undefined;
1572
- remarks?: string | null | undefined;
1573
- };
1574
- simple_three_vehicle_events: {
1575
- agency_id: string;
1576
- updated_at: string | number;
1577
- grade_status: string;
1578
- operational_date: string | number;
1579
- ride_id: string;
1580
- reason?: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "MISSING_FIRST_STOPS" | "MISSING_MIDDLE_STOPS" | "MISSING_LAST_STOPS" | "ALL_STOPS_FOUND" | null | undefined;
1581
- remarks?: string | null | undefined;
1582
- stop_ids_first?: string[] | undefined;
1583
- stop_ids_last?: string[] | undefined;
1584
- stop_ids_middle?: string[] | undefined;
1585
- };
1586
- transaction_sequentiality: {
1587
- agency_id: string;
1588
- updated_at: string | number;
1589
- grade_status: string;
1590
- operational_date: string | number;
1591
- ride_id: string;
1592
- reason?: "NO_TRANSACTIONS" | "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED" | null | undefined;
1593
- remarks?: string | null | undefined;
1594
- expected_transactions_qty?: string | number | null | undefined;
1595
- found_transactions_qty?: string | number | null | undefined;
1596
- missing_transactions_qty?: string | number | null | undefined;
1597
- };
1598
- } | null | undefined;
1599
161
  }>;
1600
162
  export type HashableRide = z.infer<typeof HashableRideSchema>;