@tmlmobilidade/types 20250830.319.17 → 20250830.338.28
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,17 @@ 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", "
|
|
277
|
+
reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "NOT_ENOUGH_VALIDATIONS", "INTERVALS_TOO_SHORT", "INTERVALS_TOO_REGULAR", "INTERVALS_TOO_ERRATIC", "TOO_LOW_VARIABILITY", "TOO_HIGH_VARIABILITY", "EXPECTED_VALIDATION_INTERVALS"]>;
|
|
278
278
|
value: z.ZodNullable<z.ZodNumber>;
|
|
279
279
|
}, "strict", z.ZodTypeAny, {
|
|
280
280
|
value: number | null;
|
|
281
281
|
grade: "error" | "pass" | "fail" | "skip";
|
|
282
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
282
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
283
283
|
error_message?: string | undefined;
|
|
284
284
|
}, {
|
|
285
285
|
value: number | null;
|
|
286
286
|
grade: "error" | "pass" | "fail" | "skip";
|
|
287
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
287
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
288
288
|
error_message?: string | undefined;
|
|
289
289
|
}>;
|
|
290
290
|
export type ExpectedApexValidationInterval = z.infer<typeof expectedApexValidationIntervalSchema>;
|
|
@@ -82,6 +82,6 @@ export const matchingVehicleIdsSchema = RideAnalysisSchema.extend({
|
|
|
82
82
|
}).strict();
|
|
83
83
|
/* * */
|
|
84
84
|
export const expectedApexValidationIntervalSchema = RideAnalysisSchema.extend({
|
|
85
|
-
reason: z.enum(['NO_APEX_VALIDATIONS', '
|
|
85
|
+
reason: z.enum(['NO_APEX_VALIDATIONS', 'NOT_ENOUGH_VALIDATIONS', 'INTERVALS_TOO_SHORT', 'INTERVALS_TOO_REGULAR', 'INTERVALS_TOO_ERRATIC', 'TOO_LOW_VARIABILITY', 'TOO_HIGH_VARIABILITY', 'EXPECTED_VALIDATION_INTERVALS']),
|
|
86
86
|
value: z.number().nullable(),
|
|
87
87
|
}).strict();
|
package/dist/src/rides/ride.d.ts
CHANGED
|
@@ -43,17 +43,17 @@ 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", "
|
|
46
|
+
reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "NOT_ENOUGH_VALIDATIONS", "INTERVALS_TOO_SHORT", "INTERVALS_TOO_REGULAR", "INTERVALS_TOO_ERRATIC", "TOO_LOW_VARIABILITY", "TOO_HIGH_VARIABILITY", "EXPECTED_VALIDATION_INTERVALS"]>;
|
|
47
47
|
value: z.ZodNullable<z.ZodNumber>;
|
|
48
48
|
}, "strict", z.ZodTypeAny, {
|
|
49
49
|
value: number | null;
|
|
50
50
|
grade: "error" | "pass" | "fail" | "skip";
|
|
51
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
51
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
52
52
|
error_message?: string | undefined;
|
|
53
53
|
}, {
|
|
54
54
|
value: number | null;
|
|
55
55
|
grade: "error" | "pass" | "fail" | "skip";
|
|
56
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
56
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
57
57
|
error_message?: string | undefined;
|
|
58
58
|
}>;
|
|
59
59
|
EXPECTED_DRIVER_ID_QTY: z.ZodObject<{
|
|
@@ -316,7 +316,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
316
316
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
317
317
|
value: number | null;
|
|
318
318
|
grade: "error" | "pass" | "fail" | "skip";
|
|
319
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
319
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
320
320
|
error_message?: string | undefined;
|
|
321
321
|
};
|
|
322
322
|
EXPECTED_START_TIME: {
|
|
@@ -408,7 +408,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
408
408
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
409
409
|
value: number | null;
|
|
410
410
|
grade: "error" | "pass" | "fail" | "skip";
|
|
411
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
411
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
412
412
|
error_message?: string | undefined;
|
|
413
413
|
};
|
|
414
414
|
EXPECTED_START_TIME: {
|
|
@@ -538,7 +538,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
538
538
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
539
539
|
value: number | null;
|
|
540
540
|
grade: "error" | "pass" | "fail" | "skip";
|
|
541
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
541
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
542
542
|
error_message?: string | undefined;
|
|
543
543
|
};
|
|
544
544
|
EXPECTED_START_TIME: {
|
|
@@ -687,7 +687,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
687
687
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
688
688
|
value: number | null;
|
|
689
689
|
grade: "error" | "pass" | "fail" | "skip";
|
|
690
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
690
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
691
691
|
error_message?: string | undefined;
|
|
692
692
|
};
|
|
693
693
|
EXPECTED_START_TIME: {
|
|
@@ -807,17 +807,17 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
807
807
|
error_message: z.ZodOptional<z.ZodString>;
|
|
808
808
|
grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
|
|
809
809
|
} & {
|
|
810
|
-
reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "
|
|
810
|
+
reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "NOT_ENOUGH_VALIDATIONS", "INTERVALS_TOO_SHORT", "INTERVALS_TOO_REGULAR", "INTERVALS_TOO_ERRATIC", "TOO_LOW_VARIABILITY", "TOO_HIGH_VARIABILITY", "EXPECTED_VALIDATION_INTERVALS"]>;
|
|
811
811
|
value: z.ZodNullable<z.ZodNumber>;
|
|
812
812
|
}, "strict", z.ZodTypeAny, {
|
|
813
813
|
value: number | null;
|
|
814
814
|
grade: "error" | "pass" | "fail" | "skip";
|
|
815
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
815
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
816
816
|
error_message?: string | undefined;
|
|
817
817
|
}, {
|
|
818
818
|
value: number | null;
|
|
819
819
|
grade: "error" | "pass" | "fail" | "skip";
|
|
820
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
820
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
821
821
|
error_message?: string | undefined;
|
|
822
822
|
}>;
|
|
823
823
|
EXPECTED_DRIVER_ID_QTY: z.ZodObject<{
|
|
@@ -1080,7 +1080,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1080
1080
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
1081
1081
|
value: number | null;
|
|
1082
1082
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1083
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
1083
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1084
1084
|
error_message?: string | undefined;
|
|
1085
1085
|
};
|
|
1086
1086
|
EXPECTED_START_TIME: {
|
|
@@ -1172,7 +1172,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1172
1172
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
1173
1173
|
value: number | null;
|
|
1174
1174
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1175
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
1175
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1176
1176
|
error_message?: string | undefined;
|
|
1177
1177
|
};
|
|
1178
1178
|
EXPECTED_START_TIME: {
|
|
@@ -1300,7 +1300,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1300
1300
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
1301
1301
|
value: number | null;
|
|
1302
1302
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1303
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
1303
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1304
1304
|
error_message?: string | undefined;
|
|
1305
1305
|
};
|
|
1306
1306
|
EXPECTED_START_TIME: {
|
|
@@ -1443,7 +1443,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1443
1443
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
1444
1444
|
value: number | null;
|
|
1445
1445
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1446
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
1446
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1447
1447
|
error_message?: string | undefined;
|
|
1448
1448
|
};
|
|
1449
1449
|
EXPECTED_START_TIME: {
|
|
@@ -1560,17 +1560,17 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1560
1560
|
error_message: z.ZodOptional<z.ZodString>;
|
|
1561
1561
|
grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
|
|
1562
1562
|
} & {
|
|
1563
|
-
reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "
|
|
1563
|
+
reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "NOT_ENOUGH_VALIDATIONS", "INTERVALS_TOO_SHORT", "INTERVALS_TOO_REGULAR", "INTERVALS_TOO_ERRATIC", "TOO_LOW_VARIABILITY", "TOO_HIGH_VARIABILITY", "EXPECTED_VALIDATION_INTERVALS"]>;
|
|
1564
1564
|
value: z.ZodNullable<z.ZodNumber>;
|
|
1565
1565
|
}, "strict", z.ZodTypeAny, {
|
|
1566
1566
|
value: number | null;
|
|
1567
1567
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1568
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
1568
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1569
1569
|
error_message?: string | undefined;
|
|
1570
1570
|
}, {
|
|
1571
1571
|
value: number | null;
|
|
1572
1572
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1573
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
1573
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1574
1574
|
error_message?: string | undefined;
|
|
1575
1575
|
}>;
|
|
1576
1576
|
EXPECTED_DRIVER_ID_QTY: z.ZodObject<{
|
|
@@ -1833,7 +1833,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1833
1833
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
1834
1834
|
value: number | null;
|
|
1835
1835
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1836
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
1836
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1837
1837
|
error_message?: string | undefined;
|
|
1838
1838
|
};
|
|
1839
1839
|
EXPECTED_START_TIME: {
|
|
@@ -1925,7 +1925,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1925
1925
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
1926
1926
|
value: number | null;
|
|
1927
1927
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1928
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
1928
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
1929
1929
|
error_message?: string | undefined;
|
|
1930
1930
|
};
|
|
1931
1931
|
EXPECTED_START_TIME: {
|
|
@@ -2054,7 +2054,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
2054
2054
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
2055
2055
|
value: number | null;
|
|
2056
2056
|
grade: "error" | "pass" | "fail" | "skip";
|
|
2057
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
2057
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
2058
2058
|
error_message?: string | undefined;
|
|
2059
2059
|
};
|
|
2060
2060
|
EXPECTED_START_TIME: {
|
|
@@ -2197,7 +2197,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
2197
2197
|
EXPECTED_APEX_VALIDATION_INTERVAL: {
|
|
2198
2198
|
value: number | null;
|
|
2199
2199
|
grade: "error" | "pass" | "fail" | "skip";
|
|
2200
|
-
reason: "NO_APEX_VALIDATIONS" | "
|
|
2200
|
+
reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "INTERVALS_TOO_REGULAR" | "INTERVALS_TOO_ERRATIC" | "TOO_LOW_VARIABILITY" | "TOO_HIGH_VARIABILITY" | "EXPECTED_VALIDATION_INTERVALS";
|
|
2201
2201
|
error_message?: string | undefined;
|
|
2202
2202
|
};
|
|
2203
2203
|
EXPECTED_START_TIME: {
|
package/package.json
CHANGED