@tmlmobilidade/types 20251217.1540.37 → 20251218.110.37

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.
Files changed (119) hide show
  1. package/dist/_common/comment.js +15 -6
  2. package/dist/_common/document.d.ts +3 -0
  3. package/dist/_common/document.js +4 -3
  4. package/dist/_common/status.d.ts +15 -1
  5. package/dist/_common/status.js +24 -6
  6. package/dist/_common/unix-timestamp.d.ts +1 -1
  7. package/dist/_common/unix-timestamp.js +1 -1
  8. package/dist/agency.d.ts +18 -13
  9. package/dist/agency.js +1 -1
  10. package/dist/alert.d.ts +101 -112
  11. package/dist/alert.js +18 -19
  12. package/dist/apex/simplified-apex-location.d.ts +5 -4
  13. package/dist/apex/simplified-apex-location.js +6 -4
  14. package/dist/apex/simplified-apex-on-board-refund.d.ts +5 -4
  15. package/dist/apex/simplified-apex-on-board-refund.js +6 -4
  16. package/dist/apex/simplified-apex-on-board-sale.d.ts +5 -4
  17. package/dist/apex/simplified-apex-on-board-sale.js +6 -4
  18. package/dist/apex/simplified-apex-validation.d.ts +9 -8
  19. package/dist/apex/simplified-apex-validation.js +6 -4
  20. package/dist/auth/login.d.ts +1 -1
  21. package/dist/auth/login.js +1 -1
  22. package/dist/auth/role.d.ts +260 -149
  23. package/dist/auth/role.js +1 -1
  24. package/dist/auth/session.d.ts +9 -7
  25. package/dist/auth/session.js +6 -4
  26. package/dist/auth/user.d.ts +737 -207
  27. package/dist/auth/user.js +12 -9
  28. package/dist/auth/verification-token.d.ts +9 -7
  29. package/dist/auth/verification-token.js +6 -4
  30. package/dist/dates/annotation.d.ts +94 -0
  31. package/dist/dates/annotation.js +14 -0
  32. package/dist/dates/index.d.ts +1 -0
  33. package/dist/dates/index.js +1 -0
  34. package/dist/file-exports/{common.d.ts → base.d.ts} +6 -5
  35. package/dist/file-exports/{common.js → base.js} +7 -4
  36. package/dist/file-exports/file-exports.d.ts +124 -0
  37. package/dist/file-exports/file-exports.js +7 -0
  38. package/dist/file-exports/index.d.ts +3 -126
  39. package/dist/file-exports/index.js +3 -9
  40. package/dist/file-exports/ride-export.d.ts +13 -13
  41. package/dist/file-exports/ride-export.js +5 -5
  42. package/dist/file.d.ts +3 -3
  43. package/dist/file.js +4 -2
  44. package/dist/index.d.ts +2 -1
  45. package/dist/index.js +2 -1
  46. package/dist/notification.d.ts +9 -7
  47. package/dist/notification.js +4 -2
  48. package/dist/organization.d.ts +24 -15
  49. package/dist/organization.js +3 -3
  50. package/dist/permissions/agencies.d.ts +3 -3
  51. package/dist/permissions/agencies.js +1 -1
  52. package/dist/permissions/alerts.d.ts +6 -6
  53. package/dist/permissions/alerts.js +2 -2
  54. package/dist/permissions/dates.d.ts +25 -0
  55. package/dist/permissions/dates.js +16 -0
  56. package/dist/permissions/gtfs-validations.d.ts +3 -3
  57. package/dist/permissions/gtfs-validations.js +1 -0
  58. package/dist/permissions/index.d.ts +49 -27
  59. package/dist/permissions/index.js +2 -0
  60. package/dist/permissions/organizations.d.ts +3 -3
  61. package/dist/permissions/organizations.js +1 -0
  62. package/dist/permissions/plans.d.ts +3 -3
  63. package/dist/permissions/plans.js +1 -1
  64. package/dist/permissions/roles.d.ts +3 -3
  65. package/dist/permissions/roles.js +1 -0
  66. package/dist/permissions/stops.d.ts +3 -3
  67. package/dist/permissions/stops.js +1 -1
  68. package/dist/permissions/users.d.ts +3 -3
  69. package/dist/permissions/users.js +1 -0
  70. package/dist/plans/gtfs-validation.d.ts +12 -3
  71. package/dist/plans/gtfs-validation.js +1 -1
  72. package/dist/plans/plan-app-status.js +2 -2
  73. package/dist/plans/plan-pcgi-legacy.d.ts +1 -1
  74. package/dist/plans/plan-pcgi-legacy.js +1 -1
  75. package/dist/plans/plan.d.ts +9 -9
  76. package/dist/proposed-change.d.ts +12 -3
  77. package/dist/proposed-change.js +1 -1
  78. package/dist/rides/ride-acceptance.d.ts +23 -19
  79. package/dist/rides/ride-acceptance.js +5 -3
  80. package/dist/rides/ride-analysis.d.ts +16 -16
  81. package/dist/rides/ride-analysis.js +16 -16
  82. package/dist/rides/ride-audit.d.ts +11 -11
  83. package/dist/rides/ride-audit.js +1 -1
  84. package/dist/rides/ride-overrides.d.ts +1 -1
  85. package/dist/rides/ride-overrides.js +1 -1
  86. package/dist/rides/ride.d.ts +56 -55
  87. package/dist/rides/ride.js +10 -8
  88. package/dist/sams/sam-analysis.d.ts +1 -1
  89. package/dist/sams/sam-analysis.js +4 -4
  90. package/dist/sams/sam.d.ts +13 -13
  91. package/dist/sams/sam.js +7 -5
  92. package/dist/stops/connections.d.ts +3 -0
  93. package/dist/stops/connections.js +15 -0
  94. package/dist/stops/equipment.d.ts +3 -0
  95. package/dist/stops/equipment.js +9 -0
  96. package/dist/stops/facilities.d.ts +4 -0
  97. package/dist/stops/facilities.js +16 -0
  98. package/dist/stops/index.d.ts +9 -0
  99. package/dist/stops/index.js +9 -0
  100. package/dist/stops/jurisdiction.d.ts +4 -0
  101. package/dist/stops/jurisdiction.js +10 -0
  102. package/dist/stops/name-abbreviations.d.ts +11 -0
  103. package/dist/stops/name-abbreviations.js +117 -0
  104. package/dist/stops/parent-station.d.ts +76 -0
  105. package/dist/stops/parent-station.js +11 -0
  106. package/dist/stops/road-type.d.ts +3 -0
  107. package/dist/stops/road-type.js +13 -0
  108. package/dist/stops/stop-area.d.ts +67 -0
  109. package/dist/stops/stop-area.js +10 -0
  110. package/dist/{stop.d.ts → stops/stop.d.ts} +271 -345
  111. package/dist/stops/stop.js +78 -0
  112. package/dist/vehicle-events/gtfs-rt-vehicle-event-extended.d.ts +1 -21
  113. package/dist/vehicle-events/gtfs-rt-vehicle-event-extended.js +4 -5
  114. package/dist/vehicle-events/simplified-vehicle-event.d.ts +4 -3
  115. package/dist/vehicle-events/simplified-vehicle-event.js +6 -4
  116. package/dist/zone.d.ts +10 -10
  117. package/dist/zone.js +1 -1
  118. package/package.json +2 -2
  119. package/dist/stop.js +0 -102
@@ -12,14 +12,15 @@ export declare const RideJustificationSchema: z.ZodObject<Omit<{
12
12
  _id: z.ZodString;
13
13
  created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
14
14
  created_by: z.ZodOptional<z.ZodString>;
15
+ is_locked: z.ZodDefault<z.ZodBoolean>;
15
16
  updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
16
17
  updated_by: z.ZodOptional<z.ZodString>;
17
- } & {
18
+ }, "_id" | "is_locked"> & {
18
19
  justification_cause: z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "HOLIDAY", "MAINTENANCE", "MEDICAL_EMERGENCY", "OTHER_CAUSE", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_PROBLEM", "UNKNOWN_CAUSE", "WEATHER", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "ROAD_INCIDENT", "SYSTEM_FAILURE", "TRAFFIC_JAM", "VEHICLE_ISSUE"]>;
19
20
  justification_source: z.ZodEnum<["MANUAL", "ALERT"]>;
20
21
  manual_trip_id: z.ZodOptional<z.ZodString>;
21
22
  pto_message: z.ZodDefault<z.ZodString>;
22
- }, "_id">, "strict", z.ZodTypeAny, {
23
+ }, "strip", z.ZodTypeAny, {
23
24
  created_at: number & {
24
25
  __brand: "UnixTimestamp";
25
26
  };
@@ -226,14 +227,15 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
226
227
  _id: z.ZodString;
227
228
  created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
228
229
  created_by: z.ZodOptional<z.ZodString>;
230
+ is_locked: z.ZodDefault<z.ZodBoolean>;
229
231
  updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
230
232
  updated_by: z.ZodOptional<z.ZodString>;
231
- } & {
233
+ }, "_id" | "is_locked"> & {
232
234
  justification_cause: z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "HOLIDAY", "MAINTENANCE", "MEDICAL_EMERGENCY", "OTHER_CAUSE", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_PROBLEM", "UNKNOWN_CAUSE", "WEATHER", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "ROAD_INCIDENT", "SYSTEM_FAILURE", "TRAFFIC_JAM", "VEHICLE_ISSUE"]>;
233
235
  justification_source: z.ZodEnum<["MANUAL", "ALERT"]>;
234
236
  manual_trip_id: z.ZodOptional<z.ZodString>;
235
237
  pto_message: z.ZodDefault<z.ZodString>;
236
- }, "_id">, "strict", z.ZodTypeAny, {
238
+ }, "strip", z.ZodTypeAny, {
237
239
  created_at: number & {
238
240
  __brand: "UnixTimestamp";
239
241
  };
@@ -257,11 +259,12 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
257
259
  manual_trip_id?: string | undefined;
258
260
  }>>;
259
261
  ride_id: z.ZodString;
260
- }, "strict", z.ZodTypeAny, {
262
+ }, "strip", z.ZodTypeAny, {
261
263
  _id: string;
262
264
  created_at: number & {
263
265
  __brand: "UnixTimestamp";
264
266
  };
267
+ is_locked: boolean;
265
268
  updated_at: number & {
266
269
  __brand: "UnixTimestamp";
267
270
  };
@@ -310,7 +313,6 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
310
313
  created_by?: string | undefined;
311
314
  updated_by?: string | undefined;
312
315
  })[];
313
- is_locked: boolean;
314
316
  justification: {
315
317
  created_at: number & {
316
318
  __brand: "UnixTimestamp";
@@ -349,6 +351,7 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
349
351
  } | null;
350
352
  ride_id: string;
351
353
  created_by?: string | undefined;
354
+ is_locked?: boolean | undefined;
352
355
  updated_by?: string | undefined;
353
356
  comments?: ({
354
357
  created_at: number;
@@ -378,12 +381,12 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
378
381
  created_by?: string | undefined;
379
382
  updated_by?: string | undefined;
380
383
  })[] | undefined;
381
- is_locked?: boolean | undefined;
382
384
  }>;
383
385
  export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
384
386
  _id: z.ZodOptional<z.ZodString>;
385
387
  created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
386
388
  created_by: z.ZodOptional<z.ZodString>;
389
+ is_locked: z.ZodDefault<z.ZodBoolean>;
387
390
  updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
388
391
  updated_by: z.ZodOptional<z.ZodString>;
389
392
  acceptance_status: z.ZodEnum<["justification_required", "under_review", "accepted", "rejected"]>;
@@ -557,19 +560,19 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
557
560
  created_by?: string | undefined;
558
561
  updated_by?: string | undefined;
559
562
  }>, "many">>;
560
- is_locked: z.ZodDefault<z.ZodBoolean>;
561
563
  justification: z.ZodNullable<z.ZodObject<Omit<{
562
564
  _id: z.ZodString;
563
565
  created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
564
566
  created_by: z.ZodOptional<z.ZodString>;
567
+ is_locked: z.ZodDefault<z.ZodBoolean>;
565
568
  updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
566
569
  updated_by: z.ZodOptional<z.ZodString>;
567
- } & {
570
+ }, "_id" | "is_locked"> & {
568
571
  justification_cause: z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "HOLIDAY", "MAINTENANCE", "MEDICAL_EMERGENCY", "OTHER_CAUSE", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_PROBLEM", "UNKNOWN_CAUSE", "WEATHER", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "ROAD_INCIDENT", "SYSTEM_FAILURE", "TRAFFIC_JAM", "VEHICLE_ISSUE"]>;
569
572
  justification_source: z.ZodEnum<["MANUAL", "ALERT"]>;
570
573
  manual_trip_id: z.ZodOptional<z.ZodString>;
571
574
  pto_message: z.ZodDefault<z.ZodString>;
572
- }, "_id">, "strict", z.ZodTypeAny, {
575
+ }, "strip", z.ZodTypeAny, {
573
576
  created_at: number & {
574
577
  __brand: "UnixTimestamp";
575
578
  };
@@ -593,7 +596,8 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
593
596
  manual_trip_id?: string | undefined;
594
597
  }>>;
595
598
  ride_id: z.ZodString;
596
- }, "created_at" | "updated_at">, "strict", z.ZodTypeAny, {
599
+ }, "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
600
+ is_locked: boolean;
597
601
  acceptance_status: "rejected" | "justification_required" | "under_review" | "accepted";
598
602
  analysis_summary: Record<string, {
599
603
  grade: "error" | "pass" | "fail" | "skip";
@@ -639,7 +643,6 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
639
643
  created_by?: string | undefined;
640
644
  updated_by?: string | undefined;
641
645
  })[];
642
- is_locked: boolean;
643
646
  justification: {
644
647
  created_at: number & {
645
648
  __brand: "UnixTimestamp";
@@ -677,6 +680,7 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
677
680
  ride_id: string;
678
681
  _id?: string | undefined;
679
682
  created_by?: string | undefined;
683
+ is_locked?: boolean | undefined;
680
684
  updated_by?: string | undefined;
681
685
  comments?: ({
682
686
  created_at: number;
@@ -706,10 +710,10 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
706
710
  created_by?: string | undefined;
707
711
  updated_by?: string | undefined;
708
712
  })[] | undefined;
709
- is_locked?: boolean | undefined;
710
713
  }>;
711
714
  export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
712
715
  _id: z.ZodOptional<z.ZodString>;
716
+ is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
713
717
  updated_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>>;
714
718
  updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
715
719
  acceptance_status: z.ZodOptional<z.ZodEnum<["justification_required", "under_review", "accepted", "rejected"]>>;
@@ -883,19 +887,19 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
883
887
  created_by?: string | undefined;
884
888
  updated_by?: string | undefined;
885
889
  }>, "many">>>;
886
- is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
887
890
  justification: z.ZodOptional<z.ZodNullable<z.ZodObject<Omit<{
888
891
  _id: z.ZodString;
889
892
  created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
890
893
  created_by: z.ZodOptional<z.ZodString>;
894
+ is_locked: z.ZodDefault<z.ZodBoolean>;
891
895
  updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
892
896
  updated_by: z.ZodOptional<z.ZodString>;
893
- } & {
897
+ }, "_id" | "is_locked"> & {
894
898
  justification_cause: z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "HOLIDAY", "MAINTENANCE", "MEDICAL_EMERGENCY", "OTHER_CAUSE", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_PROBLEM", "UNKNOWN_CAUSE", "WEATHER", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "ROAD_INCIDENT", "SYSTEM_FAILURE", "TRAFFIC_JAM", "VEHICLE_ISSUE"]>;
895
899
  justification_source: z.ZodEnum<["MANUAL", "ALERT"]>;
896
900
  manual_trip_id: z.ZodOptional<z.ZodString>;
897
901
  pto_message: z.ZodDefault<z.ZodString>;
898
- }, "_id">, "strict", z.ZodTypeAny, {
902
+ }, "strip", z.ZodTypeAny, {
899
903
  created_at: number & {
900
904
  __brand: "UnixTimestamp";
901
905
  };
@@ -919,8 +923,9 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
919
923
  manual_trip_id?: string | undefined;
920
924
  }>>>;
921
925
  ride_id: z.ZodOptional<z.ZodString>;
922
- }, "strict", z.ZodTypeAny, {
926
+ }, "strip", z.ZodTypeAny, {
923
927
  _id?: string | undefined;
928
+ is_locked?: boolean | undefined;
924
929
  updated_at?: import("../index.js").UnixTimestamp | undefined;
925
930
  updated_by?: string | undefined;
926
931
  acceptance_status?: "rejected" | "justification_required" | "under_review" | "accepted" | undefined;
@@ -968,7 +973,6 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
968
973
  created_by?: string | undefined;
969
974
  updated_by?: string | undefined;
970
975
  })[] | undefined;
971
- is_locked?: boolean | undefined;
972
976
  justification?: {
973
977
  created_at: number & {
974
978
  __brand: "UnixTimestamp";
@@ -986,6 +990,7 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
986
990
  ride_id?: string | undefined;
987
991
  }, {
988
992
  _id?: string | undefined;
993
+ is_locked?: boolean | undefined;
989
994
  updated_at?: number | undefined;
990
995
  updated_by?: string | undefined;
991
996
  acceptance_status?: "rejected" | "justification_required" | "under_review" | "accepted" | undefined;
@@ -1021,7 +1026,6 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
1021
1026
  created_by?: string | undefined;
1022
1027
  updated_by?: string | undefined;
1023
1028
  })[] | undefined;
1024
- is_locked?: boolean | undefined;
1025
1029
  justification?: {
1026
1030
  created_at: number;
1027
1031
  updated_at: number;
@@ -12,12 +12,14 @@ export const RideJustificationSourceSchema = z.enum(RIDE_JUSTIFICATION_SOURCE_OP
12
12
  export const RIDE_JUSTIFICATION_STATUS_TYPE_OPTIONS = ['locked_status', 'acceptance_status', 'pto_message'];
13
13
  export const RideJustificationStatusTypeSchema = z.enum(RIDE_JUSTIFICATION_STATUS_TYPE_OPTIONS);
14
14
  /* * */
15
- export const RideJustificationSchema = DocumentSchema.extend({
15
+ export const RideJustificationSchema = DocumentSchema
16
+ .omit({ _id: true, is_locked: true })
17
+ .extend({
16
18
  justification_cause: gtfsCauseSchema,
17
19
  justification_source: RideJustificationSourceSchema,
18
20
  manual_trip_id: z.string().optional(),
19
21
  pto_message: z.string().min(2).max(5000).default(''),
20
- }).omit({ _id: true }).strict();
22
+ });
21
23
  /* * */
22
24
  export const RideAcceptanceSchema = DocumentSchema.extend({
23
25
  acceptance_status: RideAcceptanceStatusSchema,
@@ -26,6 +28,6 @@ export const RideAcceptanceSchema = DocumentSchema.extend({
26
28
  is_locked: z.boolean().default(false),
27
29
  justification: RideJustificationSchema.nullable(),
28
30
  ride_id: z.string(),
29
- }).strict();
31
+ });
30
32
  export const CreateRideAcceptanceSchema = RideAcceptanceSchema.partial({ _id: true }).omit({ created_at: true, updated_at: true });
31
33
  export const UpdateRideAcceptanceSchema = RideAcceptanceSchema.omit({ created_at: true, created_by: true }).partial();
@@ -33,7 +33,7 @@ export declare const RideAnalysisSchema: z.ZodObject<{
33
33
  error_message: z.ZodOptional<z.ZodString>;
34
34
  grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
35
35
  reason: z.ZodString;
36
- }, "strict", z.ZodTypeAny, {
36
+ }, "strip", z.ZodTypeAny, {
37
37
  grade: "error" | "pass" | "fail" | "skip";
38
38
  reason: string;
39
39
  error_message?: string | undefined;
@@ -49,7 +49,7 @@ export declare const atLeastOneVehicleEventOnFirstStopSchema: z.ZodObject<{
49
49
  } & {
50
50
  reason: z.ZodEnum<["NO_PATH_DATA", "NO_VEHICLE_EVENTS", "NO_VEHICLE_EVENTS_ON_FIRST_STOP", "ONE_OR_MORE_VEHICLE_EVENTS_ON_FIRST_STOP"]>;
51
51
  value: z.ZodNullable<z.ZodNumber>;
52
- }, "strict", z.ZodTypeAny, {
52
+ }, "strip", z.ZodTypeAny, {
53
53
  value: number | null;
54
54
  grade: "error" | "pass" | "fail" | "skip";
55
55
  reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "NO_VEHICLE_EVENTS_ON_FIRST_STOP" | "ONE_OR_MORE_VEHICLE_EVENTS_ON_FIRST_STOP";
@@ -67,7 +67,7 @@ export declare const expectedDriverIdQtySchema: z.ZodObject<{
67
67
  } & {
68
68
  reason: z.ZodEnum<["NO_VEHICLE_EVENTS", "UNEXPECTED_DRIVER_ID_QTY", "EXPECTED_DRIVER_ID_QTY"]>;
69
69
  value: z.ZodNullable<z.ZodNumber>;
70
- }, "strict", z.ZodTypeAny, {
70
+ }, "strip", z.ZodTypeAny, {
71
71
  value: number | null;
72
72
  grade: "error" | "pass" | "fail" | "skip";
73
73
  reason: "NO_VEHICLE_EVENTS" | "UNEXPECTED_DRIVER_ID_QTY" | "EXPECTED_DRIVER_ID_QTY";
@@ -85,7 +85,7 @@ export declare const expectedVehicleIdQtySchema: z.ZodObject<{
85
85
  } & {
86
86
  reason: z.ZodEnum<["NO_VEHICLE_EVENTS", "NO_APEX_VALIDATIONS", "UNEXPECTED_VEHICLE_ID_QTY", "EXPECTED_VEHICLE_ID_QTY"]>;
87
87
  value: z.ZodNullable<z.ZodNumber>;
88
- }, "strict", z.ZodTypeAny, {
88
+ }, "strip", z.ZodTypeAny, {
89
89
  value: number | null;
90
90
  grade: "error" | "pass" | "fail" | "skip";
91
91
  reason: "NO_VEHICLE_EVENTS" | "NO_APEX_VALIDATIONS" | "UNEXPECTED_VEHICLE_ID_QTY" | "EXPECTED_VEHICLE_ID_QTY";
@@ -103,7 +103,7 @@ export declare const expectedVehicleEventIntervalSchema: z.ZodObject<{
103
103
  } & {
104
104
  reason: z.ZodEnum<["NO_VEHICLE_EVENTS", "EXPECTED_VEHICLE_EVENT_INTERVAL", "UNEXPECTED_VEHICLE_EVENT_INTERVAL"]>;
105
105
  value: z.ZodNullable<z.ZodNumber>;
106
- }, "strict", z.ZodTypeAny, {
106
+ }, "strip", z.ZodTypeAny, {
107
107
  value: number | null;
108
108
  grade: "error" | "pass" | "fail" | "skip";
109
109
  reason: "NO_VEHICLE_EVENTS" | "EXPECTED_VEHICLE_EVENT_INTERVAL" | "UNEXPECTED_VEHICLE_EVENT_INTERVAL";
@@ -120,7 +120,7 @@ export declare const endedAtLastStopSchema: z.ZodObject<{
120
120
  grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
121
121
  } & {
122
122
  reason: z.ZodEnum<["NO_PATH_DATA", "NO_VEHICLE_EVENTS", "ENDED_AT_LAST_STOP", "ENDED_OUTSIDE_OF_LAST_STOP"]>;
123
- }, "strict", z.ZodTypeAny, {
123
+ }, "strip", z.ZodTypeAny, {
124
124
  grade: "error" | "pass" | "fail" | "skip";
125
125
  reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "ENDED_AT_LAST_STOP" | "ENDED_OUTSIDE_OF_LAST_STOP";
126
126
  error_message?: string | undefined;
@@ -136,7 +136,7 @@ export declare const expectedVehicleEventDelaySchema: z.ZodObject<{
136
136
  } & {
137
137
  reason: z.ZodEnum<["NO_VEHICLE_EVENTS", "UNEXPECTED_VEHICLE_EVENTS_DELAY", "EXPECTED_VEHICLE_EVENTS_DELAY"]>;
138
138
  value: z.ZodNullable<z.ZodNumber>;
139
- }, "strict", z.ZodTypeAny, {
139
+ }, "strip", z.ZodTypeAny, {
140
140
  value: number | null;
141
141
  grade: "error" | "pass" | "fail" | "skip";
142
142
  reason: "NO_VEHICLE_EVENTS" | "UNEXPECTED_VEHICLE_EVENTS_DELAY" | "EXPECTED_VEHICLE_EVENTS_DELAY";
@@ -155,7 +155,7 @@ export declare const expectedVehicleEventQtySchema: z.ZodObject<{
155
155
  expected_qty: z.ZodNullable<z.ZodNumber>;
156
156
  found_qty: z.ZodNullable<z.ZodNumber>;
157
157
  reason: z.ZodEnum<["NO_PATH_DATA", "NO_VEHICLE_EVENTS", "EXPECTED_VEHICLE_EVENT_QTY", "UNEXPECTED_VEHICLE_EVENT_QTY"]>;
158
- }, "strict", z.ZodTypeAny, {
158
+ }, "strip", z.ZodTypeAny, {
159
159
  grade: "error" | "pass" | "fail" | "skip";
160
160
  reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "EXPECTED_VEHICLE_EVENT_QTY" | "UNEXPECTED_VEHICLE_EVENT_QTY";
161
161
  expected_qty: number | null;
@@ -174,7 +174,7 @@ export declare const matchingApexLocationsSchema: z.ZodObject<{
174
174
  grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
175
175
  } & {
176
176
  reason: z.ZodEnum<["NO_PATH_DATA", "NO_APEX_LOCATIONS", "MISSING_APEX_LOCATION_FOR_AT_LEAST_ONE_STOP", "MATCHING_APEX_LOCATIONS"]>;
177
- }, "strict", z.ZodTypeAny, {
177
+ }, "strip", z.ZodTypeAny, {
178
178
  grade: "error" | "pass" | "fail" | "skip";
179
179
  reason: "NO_PATH_DATA" | "NO_APEX_LOCATIONS" | "MISSING_APEX_LOCATION_FOR_AT_LEAST_ONE_STOP" | "MATCHING_APEX_LOCATIONS";
180
180
  error_message?: string | undefined;
@@ -190,7 +190,7 @@ export declare const expectedStartTimeSchema: z.ZodObject<{
190
190
  } & {
191
191
  reason: z.ZodEnum<["NO_START_TIME_SCHEDULED", "NO_VEHICLE_EVENTS", "UNKNOWN_START", "EARLY_START", "LATE_START", "START_ON_TIME"]>;
192
192
  value: z.ZodNullable<z.ZodNumber>;
193
- }, "strict", z.ZodTypeAny, {
193
+ }, "strip", z.ZodTypeAny, {
194
194
  value: number | null;
195
195
  grade: "error" | "pass" | "fail" | "skip";
196
196
  reason: "NO_VEHICLE_EVENTS" | "NO_START_TIME_SCHEDULED" | "UNKNOWN_START" | "EARLY_START" | "LATE_START" | "START_ON_TIME";
@@ -208,7 +208,7 @@ export declare const simpleOneApexValidationSchema: z.ZodObject<{
208
208
  } & {
209
209
  reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "ONE_OR_MORE_APEX_VALIDATIONS"]>;
210
210
  value: z.ZodNullable<z.ZodNumber>;
211
- }, "strict", z.ZodTypeAny, {
211
+ }, "strip", z.ZodTypeAny, {
212
212
  value: number | null;
213
213
  grade: "error" | "pass" | "fail" | "skip";
214
214
  reason: "NO_APEX_VALIDATIONS" | "ONE_OR_MORE_APEX_VALIDATIONS";
@@ -225,7 +225,7 @@ export declare const simpleOneVehicleEventOrApexValidationSchema: z.ZodObject<{
225
225
  grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
226
226
  } & {
227
227
  reason: z.ZodEnum<["NO_VEHICLE_EVENTS_OR_APEX_VALIDATIONS", "FOUND_VEHICLE_EVENT_OR_APEX_VALIDATION"]>;
228
- }, "strict", z.ZodTypeAny, {
228
+ }, "strip", z.ZodTypeAny, {
229
229
  grade: "error" | "pass" | "fail" | "skip";
230
230
  reason: "NO_VEHICLE_EVENTS_OR_APEX_VALIDATIONS" | "FOUND_VEHICLE_EVENT_OR_APEX_VALIDATION";
231
231
  error_message?: string | undefined;
@@ -243,7 +243,7 @@ export declare const simpleThreeVehicleEventsSchema: z.ZodObject<{
243
243
  stop_ids_first: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
244
244
  stop_ids_last: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
245
245
  stop_ids_middle: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
246
- }, "strict", z.ZodTypeAny, {
246
+ }, "strip", z.ZodTypeAny, {
247
247
  grade: "error" | "pass" | "fail" | "skip";
248
248
  reason: "NO_PATH_DATA" | "NO_VEHICLE_EVENTS" | "MISSING_FIRST_STOPS" | "MISSING_MIDDLE_STOPS" | "MISSING_LAST_STOPS" | "ALL_STOPS_FOUND";
249
249
  stop_ids_first: string[] | null;
@@ -267,7 +267,7 @@ export declare const transactionSequentialitySchema: z.ZodObject<{
267
267
  found_qty: z.ZodNullable<z.ZodNumber>;
268
268
  missing_qty: z.ZodNullable<z.ZodNumber>;
269
269
  reason: z.ZodEnum<["NO_TRANSACTIONS", "MISSING_TRANSACTIONS", "ALL_TRANSACTIONS_RECEIVED"]>;
270
- }, "strict", z.ZodTypeAny, {
270
+ }, "strip", z.ZodTypeAny, {
271
271
  grade: "error" | "pass" | "fail" | "skip";
272
272
  reason: "NO_TRANSACTIONS" | "MISSING_TRANSACTIONS" | "ALL_TRANSACTIONS_RECEIVED";
273
273
  expected_qty: number | null;
@@ -288,7 +288,7 @@ export declare const matchingVehicleIdsSchema: z.ZodObject<{
288
288
  grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
289
289
  } & {
290
290
  reason: z.ZodEnum<["MATCHING_VEHICLE_IDS", "VEHICLE_ID_MISMATCH", "NO_VEHICLE_EVENTS", "NO_APEX_TRANSACTIONS"]>;
291
- }, "strict", z.ZodTypeAny, {
291
+ }, "strip", z.ZodTypeAny, {
292
292
  grade: "error" | "pass" | "fail" | "skip";
293
293
  reason: "NO_VEHICLE_EVENTS" | "MATCHING_VEHICLE_IDS" | "VEHICLE_ID_MISMATCH" | "NO_APEX_TRANSACTIONS";
294
294
  error_message?: string | undefined;
@@ -303,7 +303,7 @@ export declare const expectedApexValidationIntervalSchema: z.ZodObject<{
303
303
  grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
304
304
  } & {
305
305
  reason: z.ZodEnum<["NO_APEX_VALIDATIONS", "NOT_ENOUGH_VALIDATIONS", "INTERVALS_TOO_SHORT", "NON_ORGANIC_INTERVALS", "EXPECTED_VALIDATION_INTERVALS"]>;
306
- }, "strict", z.ZodTypeAny, {
306
+ }, "strip", z.ZodTypeAny, {
307
307
  grade: "error" | "pass" | "fail" | "skip";
308
308
  reason: "NO_APEX_VALIDATIONS" | "NOT_ENOUGH_VALIDATIONS" | "INTERVALS_TOO_SHORT" | "NON_ORGANIC_INTERVALS" | "EXPECTED_VALIDATION_INTERVALS";
309
309
  error_message?: string | undefined;
@@ -28,79 +28,79 @@ export const RideAnalysisSchema = z.object({
28
28
  error_message: z.string().optional(),
29
29
  grade: RideAnalysisGradeSchema,
30
30
  reason: z.string(),
31
- }).strict();
31
+ });
32
32
  /* * */
33
33
  export const atLeastOneVehicleEventOnFirstStopSchema = RideAnalysisSchema.extend({
34
34
  reason: z.enum(['NO_PATH_DATA', 'NO_VEHICLE_EVENTS', 'NO_VEHICLE_EVENTS_ON_FIRST_STOP', 'ONE_OR_MORE_VEHICLE_EVENTS_ON_FIRST_STOP']),
35
35
  value: z.number().nullable(),
36
- }).strict();
36
+ });
37
37
  /* * */
38
38
  export const expectedDriverIdQtySchema = RideAnalysisSchema.extend({
39
39
  reason: z.enum(['NO_VEHICLE_EVENTS', 'UNEXPECTED_DRIVER_ID_QTY', 'EXPECTED_DRIVER_ID_QTY']),
40
40
  value: z.number().nullable(),
41
- }).strict();
41
+ });
42
42
  /* * */
43
43
  export const expectedVehicleIdQtySchema = RideAnalysisSchema.extend({
44
44
  reason: z.enum(['NO_VEHICLE_EVENTS', 'NO_APEX_VALIDATIONS', 'UNEXPECTED_VEHICLE_ID_QTY', 'EXPECTED_VEHICLE_ID_QTY']),
45
45
  value: z.number().nullable(),
46
- }).strict();
46
+ });
47
47
  /* * */
48
48
  export const expectedVehicleEventIntervalSchema = RideAnalysisSchema.extend({
49
49
  reason: z.enum(['NO_VEHICLE_EVENTS', 'EXPECTED_VEHICLE_EVENT_INTERVAL', 'UNEXPECTED_VEHICLE_EVENT_INTERVAL']),
50
50
  value: z.number().nullable(),
51
- }).strict();
51
+ });
52
52
  /* * */
53
53
  export const endedAtLastStopSchema = RideAnalysisSchema.extend({
54
54
  reason: z.enum(['NO_PATH_DATA', 'NO_VEHICLE_EVENTS', 'ENDED_AT_LAST_STOP', 'ENDED_OUTSIDE_OF_LAST_STOP']),
55
- }).strict();
55
+ });
56
56
  /* * */
57
57
  export const expectedVehicleEventDelaySchema = RideAnalysisSchema.extend({
58
58
  reason: z.enum(['NO_VEHICLE_EVENTS', 'UNEXPECTED_VEHICLE_EVENTS_DELAY', 'EXPECTED_VEHICLE_EVENTS_DELAY']),
59
59
  value: z.number().nullable(),
60
- }).strict();
60
+ });
61
61
  /* * */
62
62
  export const expectedVehicleEventQtySchema = RideAnalysisSchema.extend({
63
63
  expected_qty: z.number().nullable(),
64
64
  found_qty: z.number().nullable(),
65
65
  reason: z.enum(['NO_PATH_DATA', 'NO_VEHICLE_EVENTS', 'EXPECTED_VEHICLE_EVENT_QTY', 'UNEXPECTED_VEHICLE_EVENT_QTY']),
66
- }).strict();
66
+ });
67
67
  /* * */
68
68
  export const matchingApexLocationsSchema = RideAnalysisSchema.extend({
69
69
  reason: z.enum(['NO_PATH_DATA', 'NO_APEX_LOCATIONS', 'MISSING_APEX_LOCATION_FOR_AT_LEAST_ONE_STOP', 'MATCHING_APEX_LOCATIONS']),
70
- }).strict();
70
+ });
71
71
  /* * */
72
72
  export const expectedStartTimeSchema = RideAnalysisSchema.extend({
73
73
  reason: z.enum(['NO_START_TIME_SCHEDULED', 'NO_VEHICLE_EVENTS', 'UNKNOWN_START', 'EARLY_START', 'LATE_START', 'START_ON_TIME']),
74
74
  value: z.number().nullable(),
75
- }).strict();
75
+ });
76
76
  /* * */
77
77
  export const simpleOneApexValidationSchema = RideAnalysisSchema.extend({
78
78
  reason: z.enum(['NO_APEX_VALIDATIONS', 'ONE_OR_MORE_APEX_VALIDATIONS']),
79
79
  value: z.number().nullable(),
80
- }).strict();
80
+ });
81
81
  /* * */
82
82
  export const simpleOneVehicleEventOrApexValidationSchema = RideAnalysisSchema.extend({
83
83
  reason: z.enum(['NO_VEHICLE_EVENTS_OR_APEX_VALIDATIONS', 'FOUND_VEHICLE_EVENT_OR_APEX_VALIDATION']),
84
- }).strict();
84
+ });
85
85
  /* * */
86
86
  export const simpleThreeVehicleEventsSchema = RideAnalysisSchema.extend({
87
87
  reason: z.enum(['NO_PATH_DATA', 'NO_VEHICLE_EVENTS', 'MISSING_FIRST_STOPS', 'MISSING_MIDDLE_STOPS', 'MISSING_LAST_STOPS', 'ALL_STOPS_FOUND']),
88
88
  stop_ids_first: z.array(z.string()).nullable(),
89
89
  stop_ids_last: z.array(z.string()).nullable(),
90
90
  stop_ids_middle: z.array(z.string()).nullable(),
91
- }).strict();
91
+ });
92
92
  /* * */
93
93
  export const transactionSequentialitySchema = RideAnalysisSchema.extend({
94
94
  expected_qty: z.number().nullable(),
95
95
  found_qty: z.number().nullable(),
96
96
  missing_qty: z.number().nullable(),
97
97
  reason: z.enum(['NO_TRANSACTIONS', 'MISSING_TRANSACTIONS', 'ALL_TRANSACTIONS_RECEIVED']),
98
- }).strict();
98
+ });
99
99
  /* * */
100
100
  export const matchingVehicleIdsSchema = RideAnalysisSchema.extend({
101
101
  reason: z.enum(['MATCHING_VEHICLE_IDS', 'VEHICLE_ID_MISMATCH', 'NO_VEHICLE_EVENTS', 'NO_APEX_TRANSACTIONS']),
102
- }).strict();
102
+ });
103
103
  /* * */
104
104
  export const expectedApexValidationIntervalSchema = RideAnalysisSchema.extend({
105
105
  reason: z.enum(['NO_APEX_VALIDATIONS', 'NOT_ENOUGH_VALIDATIONS', 'INTERVALS_TOO_SHORT', 'NON_ORGANIC_INTERVALS', 'EXPECTED_VALIDATION_INTERVALS']),
106
- }).strict();
106
+ });
@@ -37,11 +37,12 @@ export declare const RideAuditSchema: z.ZodObject<{
37
37
  }>, "many">;
38
38
  is_locked: z.ZodDefault<z.ZodBoolean>;
39
39
  ride_id: z.ZodString;
40
- }, "strict", z.ZodTypeAny, {
40
+ }, "strip", z.ZodTypeAny, {
41
41
  _id: string;
42
42
  created_at: number & {
43
43
  __brand: "UnixTimestamp";
44
44
  };
45
+ is_locked: boolean;
45
46
  updated_at: number & {
46
47
  __brand: "UnixTimestamp";
47
48
  };
@@ -58,7 +59,6 @@ export declare const RideAuditSchema: z.ZodObject<{
58
59
  created_by?: string | undefined;
59
60
  updated_by?: string | undefined;
60
61
  }[];
61
- is_locked: boolean;
62
62
  ride_id: string;
63
63
  created_by?: string | undefined;
64
64
  updated_by?: string | undefined;
@@ -77,13 +77,14 @@ export declare const RideAuditSchema: z.ZodObject<{
77
77
  }[];
78
78
  ride_id: string;
79
79
  created_by?: string | undefined;
80
- updated_by?: string | undefined;
81
80
  is_locked?: boolean | undefined;
81
+ updated_by?: string | undefined;
82
82
  }>;
83
83
  export declare const CreateRideAuditSchema: z.ZodObject<Omit<{
84
84
  _id: z.ZodOptional<z.ZodString>;
85
85
  created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
86
86
  created_by: z.ZodOptional<z.ZodString>;
87
+ is_locked: z.ZodDefault<z.ZodBoolean>;
87
88
  updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
88
89
  updated_by: z.ZodOptional<z.ZodString>;
89
90
  comments: z.ZodArray<z.ZodObject<{
@@ -115,9 +116,9 @@ export declare const CreateRideAuditSchema: z.ZodObject<Omit<{
115
116
  created_by?: string | undefined;
116
117
  updated_by?: string | undefined;
117
118
  }>, "many">;
118
- is_locked: z.ZodDefault<z.ZodBoolean>;
119
119
  ride_id: z.ZodString;
120
- }, "created_at" | "updated_at">, "strict", z.ZodTypeAny, {
120
+ }, "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
121
+ is_locked: boolean;
121
122
  comments: {
122
123
  created_at: number & {
123
124
  __brand: "UnixTimestamp";
@@ -131,7 +132,6 @@ export declare const CreateRideAuditSchema: z.ZodObject<Omit<{
131
132
  created_by?: string | undefined;
132
133
  updated_by?: string | undefined;
133
134
  }[];
134
- is_locked: boolean;
135
135
  ride_id: string;
136
136
  _id?: string | undefined;
137
137
  created_by?: string | undefined;
@@ -149,11 +149,12 @@ export declare const CreateRideAuditSchema: z.ZodObject<Omit<{
149
149
  ride_id: string;
150
150
  _id?: string | undefined;
151
151
  created_by?: string | undefined;
152
- updated_by?: string | undefined;
153
152
  is_locked?: boolean | undefined;
153
+ updated_by?: string | undefined;
154
154
  }>;
155
155
  export declare const UpdateRideAuditSchema: z.ZodObject<{
156
156
  _id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
157
+ is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
157
158
  updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
158
159
  comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
159
160
  _id: z.ZodOptional<z.ZodString>;
@@ -184,10 +185,10 @@ export declare const UpdateRideAuditSchema: z.ZodObject<{
184
185
  created_by?: string | undefined;
185
186
  updated_by?: string | undefined;
186
187
  }>, "many">>;
187
- is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
188
188
  ride_id: z.ZodOptional<z.ZodString>;
189
- }, "strict", z.ZodTypeAny, {
189
+ }, "strip", z.ZodTypeAny, {
190
190
  _id?: string | undefined;
191
+ is_locked?: boolean | undefined;
191
192
  updated_by?: string | undefined;
192
193
  comments?: {
193
194
  created_at: number & {
@@ -202,10 +203,10 @@ export declare const UpdateRideAuditSchema: z.ZodObject<{
202
203
  created_by?: string | undefined;
203
204
  updated_by?: string | undefined;
204
205
  }[] | undefined;
205
- is_locked?: boolean | undefined;
206
206
  ride_id?: string | undefined;
207
207
  }, {
208
208
  _id?: string | undefined;
209
+ is_locked?: boolean | undefined;
209
210
  updated_by?: string | undefined;
210
211
  comments?: {
211
212
  created_at: number;
@@ -216,7 +217,6 @@ export declare const UpdateRideAuditSchema: z.ZodObject<{
216
217
  created_by?: string | undefined;
217
218
  updated_by?: string | undefined;
218
219
  }[] | undefined;
219
- is_locked?: boolean | undefined;
220
220
  ride_id?: string | undefined;
221
221
  }>;
222
222
  export type RideAudit = z.infer<typeof RideAuditSchema>;
@@ -7,6 +7,6 @@ export const RideAuditSchema = DocumentSchema.extend({
7
7
  comments: z.array(NoteCommentSchema),
8
8
  is_locked: z.boolean().default(false),
9
9
  ride_id: z.string(),
10
- }).strict();
10
+ });
11
11
  export const CreateRideAuditSchema = RideAuditSchema.partial({ _id: true }).omit({ created_at: true, updated_at: true });
12
12
  export const UpdateRideAuditSchema = CreateRideAuditSchema.omit({ created_by: true }).partial();
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const RideOverridesSchema: z.ZodObject<{
3
3
  trip_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
4
- }, "strict", z.ZodTypeAny, {
4
+ }, "strip", z.ZodTypeAny, {
5
5
  trip_id: string | null;
6
6
  }, {
7
7
  trip_id?: string | null | undefined;
@@ -3,4 +3,4 @@ import { z } from 'zod';
3
3
  /* * */
4
4
  export const RideOverridesSchema = z.object({
5
5
  trip_id: z.string().nullable().default(null),
6
- }).strict();
6
+ });