@tmlmobilidade/types 20250830.203.22 → 20250830.224.36
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.
|
@@ -157,17 +157,17 @@ export declare const expectedStartTimeSchema: z.ZodObject<{
|
|
|
157
157
|
error_message: z.ZodOptional<z.ZodString>;
|
|
158
158
|
grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
|
|
159
159
|
} & {
|
|
160
|
-
reason: z.ZodEnum<["
|
|
160
|
+
reason: z.ZodEnum<["NO_START_TIME_SCHEDULED", "NO_VEHICLE_EVENTS", "UNKNOWN_START", "EARLY_START", "LATE_START", "START_ON_TIME"]>;
|
|
161
161
|
value: z.ZodNullable<z.ZodNumber>;
|
|
162
162
|
}, "strict", z.ZodTypeAny, {
|
|
163
163
|
value: number | null;
|
|
164
164
|
grade: "error" | "pass" | "fail" | "skip";
|
|
165
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
165
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
166
166
|
error_message?: string | undefined;
|
|
167
167
|
}, {
|
|
168
168
|
value: number | null;
|
|
169
169
|
grade: "error" | "pass" | "fail" | "skip";
|
|
170
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
170
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
171
171
|
error_message?: string | undefined;
|
|
172
172
|
}>;
|
|
173
173
|
export type ExpectedStartTime = z.infer<typeof expectedStartTimeSchema>;
|
|
@@ -232,14 +232,23 @@ export declare const transactionSequentialitySchema: z.ZodObject<{
|
|
|
232
232
|
error_message: z.ZodOptional<z.ZodString>;
|
|
233
233
|
grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
|
|
234
234
|
} & {
|
|
235
|
+
expected_qty: z.ZodNullable<z.ZodNumber>;
|
|
236
|
+
found_qty: z.ZodNullable<z.ZodNumber>;
|
|
237
|
+
missing_qty: z.ZodNullable<z.ZodNumber>;
|
|
235
238
|
reason: z.ZodEnum<["MISSING_TRANSACTIONS", "ALL_TRANSACTIONS_RECEIVED"]>;
|
|
236
239
|
}, "strict", z.ZodTypeAny, {
|
|
237
240
|
grade: "error" | "pass" | "fail" | "skip";
|
|
238
241
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
242
|
+
expected_qty: number | null;
|
|
243
|
+
found_qty: number | null;
|
|
244
|
+
missing_qty: number | null;
|
|
239
245
|
error_message?: string | undefined;
|
|
240
246
|
}, {
|
|
241
247
|
grade: "error" | "pass" | "fail" | "skip";
|
|
242
248
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
249
|
+
expected_qty: number | null;
|
|
250
|
+
found_qty: number | null;
|
|
251
|
+
missing_qty: number | null;
|
|
243
252
|
error_message?: string | undefined;
|
|
244
253
|
}>;
|
|
245
254
|
export type TransactionSequentiality = z.infer<typeof transactionSequentialitySchema>;
|
|
@@ -49,7 +49,7 @@ export const matchingApexLocationsSchema = RideAnalysisSchema.extend({
|
|
|
49
49
|
}).strict();
|
|
50
50
|
/* * */
|
|
51
51
|
export const expectedStartTimeSchema = RideAnalysisSchema.extend({
|
|
52
|
-
reason: z.enum(['
|
|
52
|
+
reason: z.enum(['NO_START_TIME_SCHEDULED', 'NO_VEHICLE_EVENTS', 'UNKNOWN_START', 'EARLY_START', 'LATE_START', 'START_ON_TIME']),
|
|
53
53
|
value: z.number().nullable(),
|
|
54
54
|
}).strict();
|
|
55
55
|
/* * */
|
|
@@ -70,6 +70,9 @@ export const simpleThreeVehicleEventsSchema = RideAnalysisSchema.extend({
|
|
|
70
70
|
}).strict();
|
|
71
71
|
/* * */
|
|
72
72
|
export const transactionSequentialitySchema = RideAnalysisSchema.extend({
|
|
73
|
+
expected_qty: z.number().nullable(),
|
|
74
|
+
found_qty: z.number().nullable(),
|
|
75
|
+
missing_qty: z.number().nullable(),
|
|
73
76
|
reason: z.enum(['MISSING_TRANSACTIONS', 'ALL_TRANSACTIONS_RECEIVED']),
|
|
74
77
|
}).strict();
|
|
75
78
|
/* * */
|
package/dist/src/rides/ride.d.ts
CHANGED
|
@@ -77,17 +77,17 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
77
77
|
error_message: z.ZodOptional<z.ZodString>;
|
|
78
78
|
grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
|
|
79
79
|
} & {
|
|
80
|
-
reason: z.ZodEnum<["
|
|
80
|
+
reason: z.ZodEnum<["NO_START_TIME_SCHEDULED", "NO_VEHICLE_EVENTS", "UNKNOWN_START", "EARLY_START", "LATE_START", "START_ON_TIME"]>;
|
|
81
81
|
value: z.ZodNullable<z.ZodNumber>;
|
|
82
82
|
}, "strict", z.ZodTypeAny, {
|
|
83
83
|
value: number | null;
|
|
84
84
|
grade: "error" | "pass" | "fail" | "skip";
|
|
85
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
85
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
86
86
|
error_message?: string | undefined;
|
|
87
87
|
}, {
|
|
88
88
|
value: number | null;
|
|
89
89
|
grade: "error" | "pass" | "fail" | "skip";
|
|
90
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
90
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
91
91
|
error_message?: string | undefined;
|
|
92
92
|
}>;
|
|
93
93
|
EXPECTED_VEHICLE_EVENT_DELAY: z.ZodObject<{
|
|
@@ -244,14 +244,23 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
244
244
|
error_message: z.ZodOptional<z.ZodString>;
|
|
245
245
|
grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
|
|
246
246
|
} & {
|
|
247
|
+
expected_qty: z.ZodNullable<z.ZodNumber>;
|
|
248
|
+
found_qty: z.ZodNullable<z.ZodNumber>;
|
|
249
|
+
missing_qty: z.ZodNullable<z.ZodNumber>;
|
|
247
250
|
reason: z.ZodEnum<["MISSING_TRANSACTIONS", "ALL_TRANSACTIONS_RECEIVED"]>;
|
|
248
251
|
}, "strict", z.ZodTypeAny, {
|
|
249
252
|
grade: "error" | "pass" | "fail" | "skip";
|
|
250
253
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
254
|
+
expected_qty: number | null;
|
|
255
|
+
found_qty: number | null;
|
|
256
|
+
missing_qty: number | null;
|
|
251
257
|
error_message?: string | undefined;
|
|
252
258
|
}, {
|
|
253
259
|
grade: "error" | "pass" | "fail" | "skip";
|
|
254
260
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
261
|
+
expected_qty: number | null;
|
|
262
|
+
found_qty: number | null;
|
|
263
|
+
missing_qty: number | null;
|
|
255
264
|
error_message?: string | undefined;
|
|
256
265
|
}>;
|
|
257
266
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -309,7 +318,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
309
318
|
EXPECTED_START_TIME: {
|
|
310
319
|
value: number | null;
|
|
311
320
|
grade: "error" | "pass" | "fail" | "skip";
|
|
312
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
321
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
313
322
|
error_message?: string | undefined;
|
|
314
323
|
};
|
|
315
324
|
EXPECTED_VEHICLE_EVENT_DELAY: {
|
|
@@ -340,6 +349,9 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
340
349
|
TRANSACTION_SEQUENTIALITY: {
|
|
341
350
|
grade: "error" | "pass" | "fail" | "skip";
|
|
342
351
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
352
|
+
expected_qty: number | null;
|
|
353
|
+
found_qty: number | null;
|
|
354
|
+
missing_qty: number | null;
|
|
343
355
|
error_message?: string | undefined;
|
|
344
356
|
};
|
|
345
357
|
}, {
|
|
@@ -397,7 +409,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
397
409
|
EXPECTED_START_TIME: {
|
|
398
410
|
value: number | null;
|
|
399
411
|
grade: "error" | "pass" | "fail" | "skip";
|
|
400
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
412
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
401
413
|
error_message?: string | undefined;
|
|
402
414
|
};
|
|
403
415
|
EXPECTED_VEHICLE_EVENT_DELAY: {
|
|
@@ -428,6 +440,9 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
428
440
|
TRANSACTION_SEQUENTIALITY: {
|
|
429
441
|
grade: "error" | "pass" | "fail" | "skip";
|
|
430
442
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
443
|
+
expected_qty: number | null;
|
|
444
|
+
found_qty: number | null;
|
|
445
|
+
missing_qty: number | null;
|
|
431
446
|
error_message?: string | undefined;
|
|
432
447
|
};
|
|
433
448
|
}>>;
|
|
@@ -523,7 +538,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
523
538
|
EXPECTED_START_TIME: {
|
|
524
539
|
value: number | null;
|
|
525
540
|
grade: "error" | "pass" | "fail" | "skip";
|
|
526
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
541
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
527
542
|
error_message?: string | undefined;
|
|
528
543
|
};
|
|
529
544
|
EXPECTED_VEHICLE_EVENT_DELAY: {
|
|
@@ -554,6 +569,9 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
554
569
|
TRANSACTION_SEQUENTIALITY: {
|
|
555
570
|
grade: "error" | "pass" | "fail" | "skip";
|
|
556
571
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
572
|
+
expected_qty: number | null;
|
|
573
|
+
found_qty: number | null;
|
|
574
|
+
missing_qty: number | null;
|
|
557
575
|
error_message?: string | undefined;
|
|
558
576
|
};
|
|
559
577
|
} | null;
|
|
@@ -668,7 +686,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
668
686
|
EXPECTED_START_TIME: {
|
|
669
687
|
value: number | null;
|
|
670
688
|
grade: "error" | "pass" | "fail" | "skip";
|
|
671
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
689
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
672
690
|
error_message?: string | undefined;
|
|
673
691
|
};
|
|
674
692
|
EXPECTED_VEHICLE_EVENT_DELAY: {
|
|
@@ -699,6 +717,9 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
699
717
|
TRANSACTION_SEQUENTIALITY: {
|
|
700
718
|
grade: "error" | "pass" | "fail" | "skip";
|
|
701
719
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
720
|
+
expected_qty: number | null;
|
|
721
|
+
found_qty: number | null;
|
|
722
|
+
missing_qty: number | null;
|
|
702
723
|
error_message?: string | undefined;
|
|
703
724
|
};
|
|
704
725
|
} | null;
|
|
@@ -813,17 +834,17 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
813
834
|
error_message: z.ZodOptional<z.ZodString>;
|
|
814
835
|
grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
|
|
815
836
|
} & {
|
|
816
|
-
reason: z.ZodEnum<["
|
|
837
|
+
reason: z.ZodEnum<["NO_START_TIME_SCHEDULED", "NO_VEHICLE_EVENTS", "UNKNOWN_START", "EARLY_START", "LATE_START", "START_ON_TIME"]>;
|
|
817
838
|
value: z.ZodNullable<z.ZodNumber>;
|
|
818
839
|
}, "strict", z.ZodTypeAny, {
|
|
819
840
|
value: number | null;
|
|
820
841
|
grade: "error" | "pass" | "fail" | "skip";
|
|
821
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
842
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
822
843
|
error_message?: string | undefined;
|
|
823
844
|
}, {
|
|
824
845
|
value: number | null;
|
|
825
846
|
grade: "error" | "pass" | "fail" | "skip";
|
|
826
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
847
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
827
848
|
error_message?: string | undefined;
|
|
828
849
|
}>;
|
|
829
850
|
EXPECTED_VEHICLE_EVENT_DELAY: z.ZodObject<{
|
|
@@ -980,14 +1001,23 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
980
1001
|
error_message: z.ZodOptional<z.ZodString>;
|
|
981
1002
|
grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
|
|
982
1003
|
} & {
|
|
1004
|
+
expected_qty: z.ZodNullable<z.ZodNumber>;
|
|
1005
|
+
found_qty: z.ZodNullable<z.ZodNumber>;
|
|
1006
|
+
missing_qty: z.ZodNullable<z.ZodNumber>;
|
|
983
1007
|
reason: z.ZodEnum<["MISSING_TRANSACTIONS", "ALL_TRANSACTIONS_RECEIVED"]>;
|
|
984
1008
|
}, "strict", z.ZodTypeAny, {
|
|
985
1009
|
grade: "error" | "pass" | "fail" | "skip";
|
|
986
1010
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
1011
|
+
expected_qty: number | null;
|
|
1012
|
+
found_qty: number | null;
|
|
1013
|
+
missing_qty: number | null;
|
|
987
1014
|
error_message?: string | undefined;
|
|
988
1015
|
}, {
|
|
989
1016
|
grade: "error" | "pass" | "fail" | "skip";
|
|
990
1017
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
1018
|
+
expected_qty: number | null;
|
|
1019
|
+
found_qty: number | null;
|
|
1020
|
+
missing_qty: number | null;
|
|
991
1021
|
error_message?: string | undefined;
|
|
992
1022
|
}>;
|
|
993
1023
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1045,7 +1075,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1045
1075
|
EXPECTED_START_TIME: {
|
|
1046
1076
|
value: number | null;
|
|
1047
1077
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1048
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
1078
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
1049
1079
|
error_message?: string | undefined;
|
|
1050
1080
|
};
|
|
1051
1081
|
EXPECTED_VEHICLE_EVENT_DELAY: {
|
|
@@ -1076,6 +1106,9 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1076
1106
|
TRANSACTION_SEQUENTIALITY: {
|
|
1077
1107
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1078
1108
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
1109
|
+
expected_qty: number | null;
|
|
1110
|
+
found_qty: number | null;
|
|
1111
|
+
missing_qty: number | null;
|
|
1079
1112
|
error_message?: string | undefined;
|
|
1080
1113
|
};
|
|
1081
1114
|
}, {
|
|
@@ -1133,7 +1166,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1133
1166
|
EXPECTED_START_TIME: {
|
|
1134
1167
|
value: number | null;
|
|
1135
1168
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1136
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
1169
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
1137
1170
|
error_message?: string | undefined;
|
|
1138
1171
|
};
|
|
1139
1172
|
EXPECTED_VEHICLE_EVENT_DELAY: {
|
|
@@ -1164,6 +1197,9 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1164
1197
|
TRANSACTION_SEQUENTIALITY: {
|
|
1165
1198
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1166
1199
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
1200
|
+
expected_qty: number | null;
|
|
1201
|
+
found_qty: number | null;
|
|
1202
|
+
missing_qty: number | null;
|
|
1167
1203
|
error_message?: string | undefined;
|
|
1168
1204
|
};
|
|
1169
1205
|
}>>;
|
|
@@ -1257,7 +1293,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1257
1293
|
EXPECTED_START_TIME: {
|
|
1258
1294
|
value: number | null;
|
|
1259
1295
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1260
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
1296
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
1261
1297
|
error_message?: string | undefined;
|
|
1262
1298
|
};
|
|
1263
1299
|
EXPECTED_VEHICLE_EVENT_DELAY: {
|
|
@@ -1288,6 +1324,9 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1288
1324
|
TRANSACTION_SEQUENTIALITY: {
|
|
1289
1325
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1290
1326
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
1327
|
+
expected_qty: number | null;
|
|
1328
|
+
found_qty: number | null;
|
|
1329
|
+
missing_qty: number | null;
|
|
1291
1330
|
error_message?: string | undefined;
|
|
1292
1331
|
};
|
|
1293
1332
|
} | null;
|
|
@@ -1396,7 +1435,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1396
1435
|
EXPECTED_START_TIME: {
|
|
1397
1436
|
value: number | null;
|
|
1398
1437
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1399
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
1438
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
1400
1439
|
error_message?: string | undefined;
|
|
1401
1440
|
};
|
|
1402
1441
|
EXPECTED_VEHICLE_EVENT_DELAY: {
|
|
@@ -1427,6 +1466,9 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1427
1466
|
TRANSACTION_SEQUENTIALITY: {
|
|
1428
1467
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1429
1468
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
1469
|
+
expected_qty: number | null;
|
|
1470
|
+
found_qty: number | null;
|
|
1471
|
+
missing_qty: number | null;
|
|
1430
1472
|
error_message?: string | undefined;
|
|
1431
1473
|
};
|
|
1432
1474
|
} | null;
|
|
@@ -1538,17 +1580,17 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1538
1580
|
error_message: z.ZodOptional<z.ZodString>;
|
|
1539
1581
|
grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
|
|
1540
1582
|
} & {
|
|
1541
|
-
reason: z.ZodEnum<["
|
|
1583
|
+
reason: z.ZodEnum<["NO_START_TIME_SCHEDULED", "NO_VEHICLE_EVENTS", "UNKNOWN_START", "EARLY_START", "LATE_START", "START_ON_TIME"]>;
|
|
1542
1584
|
value: z.ZodNullable<z.ZodNumber>;
|
|
1543
1585
|
}, "strict", z.ZodTypeAny, {
|
|
1544
1586
|
value: number | null;
|
|
1545
1587
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1546
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
1588
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
1547
1589
|
error_message?: string | undefined;
|
|
1548
1590
|
}, {
|
|
1549
1591
|
value: number | null;
|
|
1550
1592
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1551
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
1593
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
1552
1594
|
error_message?: string | undefined;
|
|
1553
1595
|
}>;
|
|
1554
1596
|
EXPECTED_VEHICLE_EVENT_DELAY: z.ZodObject<{
|
|
@@ -1705,14 +1747,23 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1705
1747
|
error_message: z.ZodOptional<z.ZodString>;
|
|
1706
1748
|
grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
|
|
1707
1749
|
} & {
|
|
1750
|
+
expected_qty: z.ZodNullable<z.ZodNumber>;
|
|
1751
|
+
found_qty: z.ZodNullable<z.ZodNumber>;
|
|
1752
|
+
missing_qty: z.ZodNullable<z.ZodNumber>;
|
|
1708
1753
|
reason: z.ZodEnum<["MISSING_TRANSACTIONS", "ALL_TRANSACTIONS_RECEIVED"]>;
|
|
1709
1754
|
}, "strict", z.ZodTypeAny, {
|
|
1710
1755
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1711
1756
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
1757
|
+
expected_qty: number | null;
|
|
1758
|
+
found_qty: number | null;
|
|
1759
|
+
missing_qty: number | null;
|
|
1712
1760
|
error_message?: string | undefined;
|
|
1713
1761
|
}, {
|
|
1714
1762
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1715
1763
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
1764
|
+
expected_qty: number | null;
|
|
1765
|
+
found_qty: number | null;
|
|
1766
|
+
missing_qty: number | null;
|
|
1716
1767
|
error_message?: string | undefined;
|
|
1717
1768
|
}>;
|
|
1718
1769
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1770,7 +1821,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1770
1821
|
EXPECTED_START_TIME: {
|
|
1771
1822
|
value: number | null;
|
|
1772
1823
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1773
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
1824
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
1774
1825
|
error_message?: string | undefined;
|
|
1775
1826
|
};
|
|
1776
1827
|
EXPECTED_VEHICLE_EVENT_DELAY: {
|
|
@@ -1801,6 +1852,9 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1801
1852
|
TRANSACTION_SEQUENTIALITY: {
|
|
1802
1853
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1803
1854
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
1855
|
+
expected_qty: number | null;
|
|
1856
|
+
found_qty: number | null;
|
|
1857
|
+
missing_qty: number | null;
|
|
1804
1858
|
error_message?: string | undefined;
|
|
1805
1859
|
};
|
|
1806
1860
|
}, {
|
|
@@ -1858,7 +1912,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1858
1912
|
EXPECTED_START_TIME: {
|
|
1859
1913
|
value: number | null;
|
|
1860
1914
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1861
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
1915
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
1862
1916
|
error_message?: string | undefined;
|
|
1863
1917
|
};
|
|
1864
1918
|
EXPECTED_VEHICLE_EVENT_DELAY: {
|
|
@@ -1889,6 +1943,9 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1889
1943
|
TRANSACTION_SEQUENTIALITY: {
|
|
1890
1944
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1891
1945
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
1946
|
+
expected_qty: number | null;
|
|
1947
|
+
found_qty: number | null;
|
|
1948
|
+
missing_qty: number | null;
|
|
1892
1949
|
error_message?: string | undefined;
|
|
1893
1950
|
};
|
|
1894
1951
|
}>>>;
|
|
@@ -1983,7 +2040,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1983
2040
|
EXPECTED_START_TIME: {
|
|
1984
2041
|
value: number | null;
|
|
1985
2042
|
grade: "error" | "pass" | "fail" | "skip";
|
|
1986
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
2043
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
1987
2044
|
error_message?: string | undefined;
|
|
1988
2045
|
};
|
|
1989
2046
|
EXPECTED_VEHICLE_EVENT_DELAY: {
|
|
@@ -2014,6 +2071,9 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
2014
2071
|
TRANSACTION_SEQUENTIALITY: {
|
|
2015
2072
|
grade: "error" | "pass" | "fail" | "skip";
|
|
2016
2073
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
2074
|
+
expected_qty: number | null;
|
|
2075
|
+
found_qty: number | null;
|
|
2076
|
+
missing_qty: number | null;
|
|
2017
2077
|
error_message?: string | undefined;
|
|
2018
2078
|
};
|
|
2019
2079
|
} | null | undefined;
|
|
@@ -2122,7 +2182,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
2122
2182
|
EXPECTED_START_TIME: {
|
|
2123
2183
|
value: number | null;
|
|
2124
2184
|
grade: "error" | "pass" | "fail" | "skip";
|
|
2125
|
-
reason: "NO_VEHICLE_EVENTS" | "
|
|
2185
|
+
reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
|
|
2126
2186
|
error_message?: string | undefined;
|
|
2127
2187
|
};
|
|
2128
2188
|
EXPECTED_VEHICLE_EVENT_DELAY: {
|
|
@@ -2153,6 +2213,9 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
2153
2213
|
TRANSACTION_SEQUENTIALITY: {
|
|
2154
2214
|
grade: "error" | "pass" | "fail" | "skip";
|
|
2155
2215
|
reason: "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
|
|
2216
|
+
expected_qty: number | null;
|
|
2217
|
+
found_qty: number | null;
|
|
2218
|
+
missing_qty: number | null;
|
|
2156
2219
|
error_message?: string | undefined;
|
|
2157
2220
|
};
|
|
2158
2221
|
} | null | undefined;
|
package/package.json
CHANGED