@tmlmobilidade/types 20250829.2336.57 → 20250829.2339.17

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,13 +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
+ value: z.ZodNullable<z.ZodNumber>;
200
200
  }, "strict", z.ZodTypeAny, {
201
- value: number;
201
+ value: number | null;
202
202
  grade: "error" | "pass" | "fail";
203
203
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
204
204
  }, {
205
- value: number;
205
+ value: number | null;
206
206
  grade: "error" | "pass" | "fail";
207
207
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
208
208
  }>;
@@ -71,5 +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
+ value: z.number().nullable(),
75
75
  }).strict();
@@ -122,13 +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
+ value: z.ZodNullable<z.ZodNumber>;
126
126
  }, "strict", z.ZodTypeAny, {
127
- value: number;
127
+ value: number | null;
128
128
  grade: "error" | "pass" | "fail";
129
129
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
130
130
  }, {
131
- value: number;
131
+ value: number | null;
132
132
  grade: "error" | "pass" | "fail";
133
133
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
134
134
  }>;
@@ -229,7 +229,7 @@ export declare const RideSchema: z.ZodObject<{
229
229
  reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
230
230
  };
231
231
  NORMAL_VALIDATION_INTERVAL: {
232
- value: number;
232
+ value: number | null;
233
233
  grade: "error" | "pass" | "fail";
234
234
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
235
235
  };
@@ -295,7 +295,7 @@ export declare const RideSchema: z.ZodObject<{
295
295
  reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
296
296
  };
297
297
  NORMAL_VALIDATION_INTERVAL: {
298
- value: number;
298
+ value: number | null;
299
299
  grade: "error" | "pass" | "fail";
300
300
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
301
301
  };
@@ -399,7 +399,7 @@ export declare const RideSchema: z.ZodObject<{
399
399
  reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
400
400
  };
401
401
  NORMAL_VALIDATION_INTERVAL: {
402
- value: number;
402
+ value: number | null;
403
403
  grade: "error" | "pass" | "fail";
404
404
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
405
405
  };
@@ -522,7 +522,7 @@ export declare const RideSchema: z.ZodObject<{
522
522
  reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
523
523
  };
524
524
  NORMAL_VALIDATION_INTERVAL: {
525
- value: number;
525
+ value: number | null;
526
526
  grade: "error" | "pass" | "fail";
527
527
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
528
528
  };
@@ -703,13 +703,13 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
703
703
  grade: z.ZodEnum<["pass", "fail", "error"]>;
704
704
  } & {
705
705
  reason: z.ZodEnum<["NORMAL_VALIDATION_INTERVALS", "ABNORMAL_VALIDATION_INTERVALS", "NO_VALIDATIONS_FOUND"]>;
706
- value: z.ZodNumber;
706
+ value: z.ZodNullable<z.ZodNumber>;
707
707
  }, "strict", z.ZodTypeAny, {
708
- value: number;
708
+ value: number | null;
709
709
  grade: "error" | "pass" | "fail";
710
710
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
711
711
  }, {
712
- value: number;
712
+ value: number | null;
713
713
  grade: "error" | "pass" | "fail";
714
714
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
715
715
  }>;
@@ -810,7 +810,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
810
810
  reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
811
811
  };
812
812
  NORMAL_VALIDATION_INTERVAL: {
813
- value: number;
813
+ value: number | null;
814
814
  grade: "error" | "pass" | "fail";
815
815
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
816
816
  };
@@ -876,7 +876,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
876
876
  reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
877
877
  };
878
878
  NORMAL_VALIDATION_INTERVAL: {
879
- value: number;
879
+ value: number | null;
880
880
  grade: "error" | "pass" | "fail";
881
881
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
882
882
  };
@@ -978,7 +978,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
978
978
  reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
979
979
  };
980
980
  NORMAL_VALIDATION_INTERVAL: {
981
- value: number;
981
+ value: number | null;
982
982
  grade: "error" | "pass" | "fail";
983
983
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
984
984
  };
@@ -1095,7 +1095,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
1095
1095
  reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
1096
1096
  };
1097
1097
  NORMAL_VALIDATION_INTERVAL: {
1098
- value: number;
1098
+ value: number | null;
1099
1099
  grade: "error" | "pass" | "fail";
1100
1100
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
1101
1101
  };
@@ -1273,13 +1273,13 @@ export declare const UpdateRideSchema: z.ZodObject<{
1273
1273
  grade: z.ZodEnum<["pass", "fail", "error"]>;
1274
1274
  } & {
1275
1275
  reason: z.ZodEnum<["NORMAL_VALIDATION_INTERVALS", "ABNORMAL_VALIDATION_INTERVALS", "NO_VALIDATIONS_FOUND"]>;
1276
- value: z.ZodNumber;
1276
+ value: z.ZodNullable<z.ZodNumber>;
1277
1277
  }, "strict", z.ZodTypeAny, {
1278
- value: number;
1278
+ value: number | null;
1279
1279
  grade: "error" | "pass" | "fail";
1280
1280
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
1281
1281
  }, {
1282
- value: number;
1282
+ value: number | null;
1283
1283
  grade: "error" | "pass" | "fail";
1284
1284
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
1285
1285
  }>;
@@ -1380,7 +1380,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
1380
1380
  reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
1381
1381
  };
1382
1382
  NORMAL_VALIDATION_INTERVAL: {
1383
- value: number;
1383
+ value: number | null;
1384
1384
  grade: "error" | "pass" | "fail";
1385
1385
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
1386
1386
  };
@@ -1446,7 +1446,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
1446
1446
  reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
1447
1447
  };
1448
1448
  NORMAL_VALIDATION_INTERVAL: {
1449
- value: number;
1449
+ value: number | null;
1450
1450
  grade: "error" | "pass" | "fail";
1451
1451
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
1452
1452
  };
@@ -1549,7 +1549,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
1549
1549
  reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
1550
1550
  };
1551
1551
  NORMAL_VALIDATION_INTERVAL: {
1552
- value: number;
1552
+ value: number | null;
1553
1553
  grade: "error" | "pass" | "fail";
1554
1554
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
1555
1555
  };
@@ -1666,7 +1666,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
1666
1666
  reason: "NO_PATH_DATA" | "ALL_STOPS_HAVE_LOCATION_TRANSACTIONS" | "MISSING_LOCATION_TRANSACTION_FOR_AT_LEAST_ONE_STOP";
1667
1667
  };
1668
1668
  NORMAL_VALIDATION_INTERVAL: {
1669
- value: number;
1669
+ value: number | null;
1670
1670
  grade: "error" | "pass" | "fail";
1671
1671
  reason: "NORMAL_VALIDATION_INTERVALS" | "ABNORMAL_VALIDATION_INTERVALS" | "NO_VALIDATIONS_FOUND";
1672
1672
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20250829.2336.57",
3
+ "version": "20250829.2339.17",
4
4
  "author": "João de Vasconcelos & Jusi Monteiro",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "homepage": "https://github.com/tmlmobilidade/services#readme",