@tmlmobilidade/types 20250829.2329.14 → 20250829.2336.57
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.
|
@@ -196,10 +196,13 @@ export declare const normalValidationIntervalSchema: z.ZodObject<{
|
|
|
196
196
|
grade: z.ZodEnum<["pass", "fail", "error"]>;
|
|
197
197
|
} & {
|
|
198
198
|
reason: z.ZodEnum<["NORMAL_VALIDATION_INTERVALS", "ABNORMAL_VALIDATION_INTERVALS", "NO_VALIDATIONS_FOUND"]>;
|
|
199
|
+
value: z.ZodNumber;
|
|
199
200
|
}, "strict", z.ZodTypeAny, {
|
|
201
|
+
value: number;
|
|
200
202
|
grade: "error" | "pass" | "fail";
|
|
201
203
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
202
204
|
}, {
|
|
205
|
+
value: number;
|
|
203
206
|
grade: "error" | "pass" | "fail";
|
|
204
207
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
205
208
|
}>;
|
|
@@ -71,4 +71,5 @@ export const matchingVehicleIdsSchema = RideAnalysisSchema.extend({
|
|
|
71
71
|
/* * */
|
|
72
72
|
export const normalValidationIntervalSchema = RideAnalysisSchema.extend({
|
|
73
73
|
reason: z.enum(['NORMAL_VALIDATION_INTERVALS', 'ABNORMAL_VALIDATION_INTERVALS', 'NO_VALIDATIONS_FOUND']),
|
|
74
|
+
value: z.number(),
|
|
74
75
|
}).strict();
|
package/dist/src/rides/ride.d.ts
CHANGED
|
@@ -122,10 +122,13 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
122
122
|
grade: z.ZodEnum<["pass", "fail", "error"]>;
|
|
123
123
|
} & {
|
|
124
124
|
reason: z.ZodEnum<["NORMAL_VALIDATION_INTERVALS", "ABNORMAL_VALIDATION_INTERVALS", "NO_VALIDATIONS_FOUND"]>;
|
|
125
|
+
value: z.ZodNumber;
|
|
125
126
|
}, "strict", z.ZodTypeAny, {
|
|
127
|
+
value: number;
|
|
126
128
|
grade: "error" | "pass" | "fail";
|
|
127
129
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
128
130
|
}, {
|
|
131
|
+
value: number;
|
|
129
132
|
grade: "error" | "pass" | "fail";
|
|
130
133
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
131
134
|
}>;
|
|
@@ -226,6 +229,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
226
229
|
reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
|
|
227
230
|
};
|
|
228
231
|
NORMAL_VALIDATION_INTERVAL: {
|
|
232
|
+
value: number;
|
|
229
233
|
grade: "error" | "pass" | "fail";
|
|
230
234
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
231
235
|
};
|
|
@@ -291,6 +295,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
291
295
|
reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
|
|
292
296
|
};
|
|
293
297
|
NORMAL_VALIDATION_INTERVAL: {
|
|
298
|
+
value: number;
|
|
294
299
|
grade: "error" | "pass" | "fail";
|
|
295
300
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
296
301
|
};
|
|
@@ -394,6 +399,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
394
399
|
reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
|
|
395
400
|
};
|
|
396
401
|
NORMAL_VALIDATION_INTERVAL: {
|
|
402
|
+
value: number;
|
|
397
403
|
grade: "error" | "pass" | "fail";
|
|
398
404
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
399
405
|
};
|
|
@@ -516,6 +522,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
516
522
|
reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
|
|
517
523
|
};
|
|
518
524
|
NORMAL_VALIDATION_INTERVAL: {
|
|
525
|
+
value: number;
|
|
519
526
|
grade: "error" | "pass" | "fail";
|
|
520
527
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
521
528
|
};
|
|
@@ -696,10 +703,13 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
696
703
|
grade: z.ZodEnum<["pass", "fail", "error"]>;
|
|
697
704
|
} & {
|
|
698
705
|
reason: z.ZodEnum<["NORMAL_VALIDATION_INTERVALS", "ABNORMAL_VALIDATION_INTERVALS", "NO_VALIDATIONS_FOUND"]>;
|
|
706
|
+
value: z.ZodNumber;
|
|
699
707
|
}, "strict", z.ZodTypeAny, {
|
|
708
|
+
value: number;
|
|
700
709
|
grade: "error" | "pass" | "fail";
|
|
701
710
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
702
711
|
}, {
|
|
712
|
+
value: number;
|
|
703
713
|
grade: "error" | "pass" | "fail";
|
|
704
714
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
705
715
|
}>;
|
|
@@ -800,6 +810,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
800
810
|
reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
|
|
801
811
|
};
|
|
802
812
|
NORMAL_VALIDATION_INTERVAL: {
|
|
813
|
+
value: number;
|
|
803
814
|
grade: "error" | "pass" | "fail";
|
|
804
815
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
805
816
|
};
|
|
@@ -865,6 +876,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
865
876
|
reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
|
|
866
877
|
};
|
|
867
878
|
NORMAL_VALIDATION_INTERVAL: {
|
|
879
|
+
value: number;
|
|
868
880
|
grade: "error" | "pass" | "fail";
|
|
869
881
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
870
882
|
};
|
|
@@ -966,6 +978,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
966
978
|
reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
|
|
967
979
|
};
|
|
968
980
|
NORMAL_VALIDATION_INTERVAL: {
|
|
981
|
+
value: number;
|
|
969
982
|
grade: "error" | "pass" | "fail";
|
|
970
983
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
971
984
|
};
|
|
@@ -1082,6 +1095,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1082
1095
|
reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
|
|
1083
1096
|
};
|
|
1084
1097
|
NORMAL_VALIDATION_INTERVAL: {
|
|
1098
|
+
value: number;
|
|
1085
1099
|
grade: "error" | "pass" | "fail";
|
|
1086
1100
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
1087
1101
|
};
|
|
@@ -1259,10 +1273,13 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1259
1273
|
grade: z.ZodEnum<["pass", "fail", "error"]>;
|
|
1260
1274
|
} & {
|
|
1261
1275
|
reason: z.ZodEnum<["NORMAL_VALIDATION_INTERVALS", "ABNORMAL_VALIDATION_INTERVALS", "NO_VALIDATIONS_FOUND"]>;
|
|
1276
|
+
value: z.ZodNumber;
|
|
1262
1277
|
}, "strict", z.ZodTypeAny, {
|
|
1278
|
+
value: number;
|
|
1263
1279
|
grade: "error" | "pass" | "fail";
|
|
1264
1280
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
1265
1281
|
}, {
|
|
1282
|
+
value: number;
|
|
1266
1283
|
grade: "error" | "pass" | "fail";
|
|
1267
1284
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
1268
1285
|
}>;
|
|
@@ -1363,6 +1380,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1363
1380
|
reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
|
|
1364
1381
|
};
|
|
1365
1382
|
NORMAL_VALIDATION_INTERVAL: {
|
|
1383
|
+
value: number;
|
|
1366
1384
|
grade: "error" | "pass" | "fail";
|
|
1367
1385
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
1368
1386
|
};
|
|
@@ -1428,6 +1446,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1428
1446
|
reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
|
|
1429
1447
|
};
|
|
1430
1448
|
NORMAL_VALIDATION_INTERVAL: {
|
|
1449
|
+
value: number;
|
|
1431
1450
|
grade: "error" | "pass" | "fail";
|
|
1432
1451
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
1433
1452
|
};
|
|
@@ -1530,6 +1549,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1530
1549
|
reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
|
|
1531
1550
|
};
|
|
1532
1551
|
NORMAL_VALIDATION_INTERVAL: {
|
|
1552
|
+
value: number;
|
|
1533
1553
|
grade: "error" | "pass" | "fail";
|
|
1534
1554
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
1535
1555
|
};
|
|
@@ -1646,6 +1666,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1646
1666
|
reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
|
|
1647
1667
|
};
|
|
1648
1668
|
NORMAL_VALIDATION_INTERVAL: {
|
|
1669
|
+
value: number;
|
|
1649
1670
|
grade: "error" | "pass" | "fail";
|
|
1650
1671
|
reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
|
|
1651
1672
|
};
|
package/package.json
CHANGED