@tmlmobilidade/types 20250830.338.28 → 20250830.350.11
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.
|
@@ -274,17 +274,14 @@ export declare const expectedApexValidationIntervalSchema: z.ZodObject<{
|
|
|
274
274
|
error_message: z.ZodOptional<z.ZodString>;
|
|
275
275
|
grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
|
|
276
276
|
} & {
|
|
277
|
-
reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "NOT_ENOUGH_VALIDATIONS", "INTERVALS_TOO_SHORT", "
|
|
278
|
-
value: z.ZodNullable<z.ZodNumber>;
|
|
277
|
+
reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "NOT_ENOUGH_VALIDATIONS", "INTERVALS_TOO_SHORT", "NON_ORGANIC_INTERVALS", "EXPECTED_VALIDATION_INTERVALS"]>;
|
|
279
278
|
}, "strict", z.ZodTypeAny, {
|
|
280
|
-
value: number | null;
|
|
281
279
|
grade: "error" | "pass" | "fail" | "skip";
|
|
282
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
280
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
283
281
|
error_message?: string | undefined;
|
|
284
282
|
}, {
|
|
285
|
-
value: number | null;
|
|
286
283
|
grade: "error" | "pass" | "fail" | "skip";
|
|
287
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
284
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
288
285
|
error_message?: string | undefined;
|
|
289
286
|
}>;
|
|
290
287
|
export type ExpectedApexValidationInterval = z.infer<typeof expectedApexValidationIntervalSchema>;
|
|
@@ -82,6 +82,5 @@ export const matchingVehicleIdsSchema = RideAnalysisSchema.extend({
|
|
|
82
82
|
}).strict();
|
|
83
83
|
/* * */
|
|
84
84
|
export const expectedApexValidationIntervalSchema = RideAnalysisSchema.extend({
|
|
85
|
-
reason: z.enum(['NO_APEX_VALIDATIONS', 'NOT_ENOUGH_VALIDATIONS', 'INTERVALS_TOO_SHORT', '
|
|
86
|
-
value: z.number().nullable(),
|
|
85
|
+
reason: z.enum(['NO_APEX_VALIDATIONS', 'NOT_ENOUGH_VALIDATIONS', 'INTERVALS_TOO_SHORT', 'NON_ORGANIC_INTERVALS', 'EXPECTED_VALIDATION_INTERVALS']),
|
|
87
86
|
}).strict();
|
package/dist/src/rides/ride.d.ts
CHANGED
|
@@ -43,17 +43,14 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
43
43
|
error_message: z.ZodOptional<z.ZodString>;
|
|
44
44
|
grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
|
|
45
45
|
} & {
|
|
46
|
-
reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "NOT_ENOUGH_VALIDATIONS", "INTERVALS_TOO_SHORT", "
|
|
47
|
-
value: z.ZodNullable<z.ZodNumber>;
|
|
46
|
+
reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "NOT_ENOUGH_VALIDATIONS", "INTERVALS_TOO_SHORT", "NON_ORGANIC_INTERVALS", "EXPECTED_VALIDATION_INTERVALS"]>;
|
|
48
47
|
}, "strict", z.ZodTypeAny, {
|
|
49
|
-
value: number | null;
|
|
50
48
|
grade: "error" | "pass" | "fail" | "skip";
|
|
51
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
49
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
52
50
|
error_message?: string | undefined;
|
|
53
51
|
}, {
|
|
54
|
-
value: number | null;
|
|
55
52
|
grade: "error" | "pass" | "fail" | "skip";
|
|
56
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
53
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
57
54
|
error_message?: string | undefined;
|
|
58
55
|
}>;
|
|
59
56
|
EXPECTED_DRIVER_ID_QTY: z.ZodObject<{
|
|
@@ -314,9 +311,8 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
314
311
|
error_message?: string | undefined;
|
|
315
312
|
};
|
|
316
313
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
317
|
-
value: number | null;
|
|
318
314
|
grade: "error" | "pass" | "fail" | "skip";
|
|
319
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
315
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
320
316
|
error_message?: string | undefined;
|
|
321
317
|
};
|
|
322
318
|
EXPECTED_START_TIME: {
|
|
@@ -406,9 +402,8 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
406
402
|
error_message?: string | undefined;
|
|
407
403
|
};
|
|
408
404
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
409
|
-
value: number | null;
|
|
410
405
|
grade: "error" | "pass" | "fail" | "skip";
|
|
411
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
406
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
412
407
|
error_message?: string | undefined;
|
|
413
408
|
};
|
|
414
409
|
EXPECTED_START_TIME: {
|
|
@@ -536,9 +531,8 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
536
531
|
error_message?: string | undefined;
|
|
537
532
|
};
|
|
538
533
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
539
|
-
value: number | null;
|
|
540
534
|
grade: "error" | "pass" | "fail" | "skip";
|
|
541
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
535
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
542
536
|
error_message?: string | undefined;
|
|
543
537
|
};
|
|
544
538
|
EXPECTED_START_TIME: {
|
|
@@ -685,9 +679,8 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
685
679
|
error_message?: string | undefined;
|
|
686
680
|
};
|
|
687
681
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
688
|
-
value: number | null;
|
|
689
682
|
grade: "error" | "pass" | "fail" | "skip";
|
|
690
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
683
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
691
684
|
error_message?: string | undefined;
|
|
692
685
|
};
|
|
693
686
|
EXPECTED_START_TIME: {
|
|
@@ -807,17 +800,14 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
807
800
|
error_message: z.ZodOptional<z.ZodString>;
|
|
808
801
|
grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
|
|
809
802
|
} & {
|
|
810
|
-
reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "NOT_ENOUGH_VALIDATIONS", "INTERVALS_TOO_SHORT", "
|
|
811
|
-
value: z.ZodNullable<z.ZodNumber>;
|
|
803
|
+
reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "NOT_ENOUGH_VALIDATIONS", "INTERVALS_TOO_SHORT", "NON_ORGANIC_INTERVALS", "EXPECTED_VALIDATION_INTERVALS"]>;
|
|
812
804
|
}, "strict", z.ZodTypeAny, {
|
|
813
|
-
value: number | null;
|
|
814
805
|
grade: "error" | "pass" | "fail" | "skip";
|
|
815
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
806
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
816
807
|
error_message?: string | undefined;
|
|
817
808
|
}, {
|
|
818
|
-
value: number | null;
|
|
819
809
|
grade: "error" | "pass" | "fail" | "skip";
|
|
820
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
810
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
821
811
|
error_message?: string | undefined;
|
|
822
812
|
}>;
|
|
823
813
|
EXPECTED_DRIVER_ID_QTY: z.ZodObject<{
|
|
@@ -1078,9 +1068,8 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1078
1068
|
error_message?: string | undefined;
|
|
1079
1069
|
};
|
|
1080
1070
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
1081
|
-
value: number | null;
|
|
1082
1071
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1083
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
1072
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1084
1073
|
error_message?: string | undefined;
|
|
1085
1074
|
};
|
|
1086
1075
|
EXPECTED_START_TIME: {
|
|
@@ -1170,9 +1159,8 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1170
1159
|
error_message?: string | undefined;
|
|
1171
1160
|
};
|
|
1172
1161
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
1173
|
-
value: number | null;
|
|
1174
1162
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1175
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
1163
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1176
1164
|
error_message?: string | undefined;
|
|
1177
1165
|
};
|
|
1178
1166
|
EXPECTED_START_TIME: {
|
|
@@ -1298,9 +1286,8 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1298
1286
|
error_message?: string | undefined;
|
|
1299
1287
|
};
|
|
1300
1288
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
1301
|
-
value: number | null;
|
|
1302
1289
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1303
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
1290
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1304
1291
|
error_message?: string | undefined;
|
|
1305
1292
|
};
|
|
1306
1293
|
EXPECTED_START_TIME: {
|
|
@@ -1441,9 +1428,8 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1441
1428
|
error_message?: string | undefined;
|
|
1442
1429
|
};
|
|
1443
1430
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
1444
|
-
value: number | null;
|
|
1445
1431
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1446
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
1432
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1447
1433
|
error_message?: string | undefined;
|
|
1448
1434
|
};
|
|
1449
1435
|
EXPECTED_START_TIME: {
|
|
@@ -1560,17 +1546,14 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1560
1546
|
error_message: z.ZodOptional<z.ZodString>;
|
|
1561
1547
|
grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
|
|
1562
1548
|
} & {
|
|
1563
|
-
reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "NOT_ENOUGH_VALIDATIONS", "INTERVALS_TOO_SHORT", "
|
|
1564
|
-
value: z.ZodNullable<z.ZodNumber>;
|
|
1549
|
+
reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "NOT_ENOUGH_VALIDATIONS", "INTERVALS_TOO_SHORT", "NON_ORGANIC_INTERVALS", "EXPECTED_VALIDATION_INTERVALS"]>;
|
|
1565
1550
|
}, "strict", z.ZodTypeAny, {
|
|
1566
|
-
value: number | null;
|
|
1567
1551
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1568
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
1552
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1569
1553
|
error_message?: string | undefined;
|
|
1570
1554
|
}, {
|
|
1571
|
-
value: number | null;
|
|
1572
1555
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1573
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
1556
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1574
1557
|
error_message?: string | undefined;
|
|
1575
1558
|
}>;
|
|
1576
1559
|
EXPECTED_DRIVER_ID_QTY: z.ZodObject<{
|
|
@@ -1831,9 +1814,8 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1831
1814
|
error_message?: string | undefined;
|
|
1832
1815
|
};
|
|
1833
1816
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
1834
|
-
value: number | null;
|
|
1835
1817
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1836
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
1818
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1837
1819
|
error_message?: string | undefined;
|
|
1838
1820
|
};
|
|
1839
1821
|
EXPECTED_START_TIME: {
|
|
@@ -1923,9 +1905,8 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1923
1905
|
error_message?: string | undefined;
|
|
1924
1906
|
};
|
|
1925
1907
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
1926
|
-
value: number | null;
|
|
1927
1908
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1928
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
1909
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1929
1910
|
error_message?: string | undefined;
|
|
1930
1911
|
};
|
|
1931
1912
|
EXPECTED_START_TIME: {
|
|
@@ -2052,9 +2033,8 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
2052
2033
|
error_message?: string | undefined;
|
|
2053
2034
|
};
|
|
2054
2035
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
2055
|
-
value: number | null;
|
|
2056
2036
|
grade: "error" | "pass" | "fail" | "skip";
|
|
2057
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
2037
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
2058
2038
|
error_message?: string | undefined;
|
|
2059
2039
|
};
|
|
2060
2040
|
EXPECTED_START_TIME: {
|
|
@@ -2195,9 +2175,8 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
2195
2175
|
error_message?: string | undefined;
|
|
2196
2176
|
};
|
|
2197
2177
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
2198
|
-
value: number | null;
|
|
2199
2178
|
grade: "error" | "pass" | "fail" | "skip";
|
|
2200
|
-
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "
|
|
2179
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
|
|
2201
2180
|
error_message?: string | undefined;
|
|
2202
2181
|
};
|
|
2203
2182
|
EXPECTED_START_TIME: {
|
package/package.json
CHANGED