@tmlmobilidade/types 20250917.1113.55 → 20250917.1133.15

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.
@@ -62,16 +62,14 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
62
62
  reason: string;
63
63
  }>>;
64
64
  comments: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
65
- _id: z.ZodString;
65
+ _id: z.ZodOptional<z.ZodString>;
66
66
  created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
67
67
  created_by: z.ZodOptional<z.ZodString>;
68
68
  updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
69
69
  updated_by: z.ZodOptional<z.ZodString>;
70
- } & {
71
70
  message: z.ZodString;
72
71
  type: z.ZodLiteral<"note">;
73
72
  }, "strip", z.ZodTypeAny, {
74
- _id: string;
75
73
  created_at: number & {
76
74
  __brand: "UnixTimestamp";
77
75
  };
@@ -80,30 +78,29 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
80
78
  };
81
79
  message: string;
82
80
  type: "note";
81
+ _id?: string | undefined;
83
82
  created_by?: string | undefined;
84
83
  updated_by?: string | undefined;
85
84
  }, {
86
- _id: string;
87
85
  created_at: number;
88
86
  updated_at: number;
89
87
  message: string;
90
88
  type: "note";
89
+ _id?: string | undefined;
91
90
  created_by?: string | undefined;
92
91
  updated_by?: string | undefined;
93
92
  }>, z.ZodObject<{
94
- _id: z.ZodString;
93
+ _id: z.ZodOptional<z.ZodString>;
95
94
  created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
96
95
  created_by: z.ZodOptional<z.ZodString>;
97
96
  updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
98
97
  updated_by: z.ZodOptional<z.ZodString>;
99
- } & {
98
+ type: z.ZodLiteral<"field_changed">;
100
99
  curr_value: z.ZodAny;
101
100
  field: z.ZodString;
102
101
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
103
102
  prev_value: z.ZodAny;
104
- type: z.ZodLiteral<"field_changed">;
105
103
  }, "strip", z.ZodTypeAny, {
106
- _id: string;
107
104
  created_at: number & {
108
105
  __brand: "UnixTimestamp";
109
106
  };
@@ -112,24 +109,24 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
112
109
  };
113
110
  type: "field_changed";
114
111
  field: string;
112
+ _id?: string | undefined;
115
113
  created_by?: string | undefined;
116
114
  updated_by?: string | undefined;
117
115
  curr_value?: any;
118
116
  metadata?: Record<string, unknown> | null | undefined;
119
117
  prev_value?: any;
120
118
  }, {
121
- _id: string;
122
119
  created_at: number;
123
120
  updated_at: number;
124
121
  type: "field_changed";
125
122
  field: string;
123
+ _id?: string | undefined;
126
124
  created_by?: string | undefined;
127
125
  updated_by?: string | undefined;
128
126
  curr_value?: any;
129
127
  metadata?: Record<string, unknown> | null | undefined;
130
128
  prev_value?: any;
131
129
  }>]>, {
132
- _id: string;
133
130
  created_at: number & {
134
131
  __brand: "UnixTimestamp";
135
132
  };
@@ -138,10 +135,10 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
138
135
  };
139
136
  message: string;
140
137
  type: "note";
138
+ _id?: string | undefined;
141
139
  created_by?: string | undefined;
142
140
  updated_by?: string | undefined;
143
141
  } | {
144
- _id: string;
145
142
  created_at: number & {
146
143
  __brand: "UnixTimestamp";
147
144
  };
@@ -150,25 +147,26 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
150
147
  };
151
148
  type: "field_changed";
152
149
  field: string;
150
+ _id?: string | undefined;
153
151
  created_by?: string | undefined;
154
152
  updated_by?: string | undefined;
155
153
  curr_value?: any;
156
154
  metadata?: Record<string, unknown> | null | undefined;
157
155
  prev_value?: any;
158
156
  }, {
159
- _id: string;
160
157
  created_at: number;
161
158
  updated_at: number;
162
159
  message: string;
163
160
  type: "note";
161
+ _id?: string | undefined;
164
162
  created_by?: string | undefined;
165
163
  updated_by?: string | undefined;
166
164
  } | {
167
- _id: string;
168
165
  created_at: number;
169
166
  updated_at: number;
170
167
  type: "field_changed";
171
168
  field: string;
169
+ _id?: string | undefined;
172
170
  created_by?: string | undefined;
173
171
  updated_by?: string | undefined;
174
172
  curr_value?: any;
@@ -223,7 +221,6 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
223
221
  reason: string;
224
222
  }>;
225
223
  comments: ({
226
- _id: string;
227
224
  created_at: number & {
228
225
  __brand: "UnixTimestamp";
229
226
  };
@@ -232,10 +229,10 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
232
229
  };
233
230
  message: string;
234
231
  type: "note";
232
+ _id?: string | undefined;
235
233
  created_by?: string | undefined;
236
234
  updated_by?: string | undefined;
237
235
  } | {
238
- _id: string;
239
236
  created_at: number & {
240
237
  __brand: "UnixTimestamp";
241
238
  };
@@ -244,6 +241,7 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
244
241
  };
245
242
  type: "field_changed";
246
243
  field: string;
244
+ _id?: string | undefined;
247
245
  created_by?: string | undefined;
248
246
  updated_by?: string | undefined;
249
247
  curr_value?: any;
@@ -289,19 +287,19 @@ export declare const RideAcceptanceSchema: z.ZodObject<{
289
287
  updated_by?: string | undefined;
290
288
  is_locked?: boolean | undefined;
291
289
  comments?: ({
292
- _id: string;
293
290
  created_at: number;
294
291
  updated_at: number;
295
292
  message: string;
296
293
  type: "note";
294
+ _id?: string | undefined;
297
295
  created_by?: string | undefined;
298
296
  updated_by?: string | undefined;
299
297
  } | {
300
- _id: string;
301
298
  created_at: number;
302
299
  updated_at: number;
303
300
  type: "field_changed";
304
301
  field: string;
302
+ _id?: string | undefined;
305
303
  created_by?: string | undefined;
306
304
  updated_by?: string | undefined;
307
305
  curr_value?: any;
@@ -328,16 +326,14 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
328
326
  reason: string;
329
327
  }>>;
330
328
  comments: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
331
- _id: z.ZodString;
329
+ _id: z.ZodOptional<z.ZodString>;
332
330
  created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
333
331
  created_by: z.ZodOptional<z.ZodString>;
334
332
  updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
335
333
  updated_by: z.ZodOptional<z.ZodString>;
336
- } & {
337
334
  message: z.ZodString;
338
335
  type: z.ZodLiteral<"note">;
339
336
  }, "strip", z.ZodTypeAny, {
340
- _id: string;
341
337
  created_at: number & {
342
338
  __brand: "UnixTimestamp";
343
339
  };
@@ -346,30 +342,29 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
346
342
  };
347
343
  message: string;
348
344
  type: "note";
345
+ _id?: string | undefined;
349
346
  created_by?: string | undefined;
350
347
  updated_by?: string | undefined;
351
348
  }, {
352
- _id: string;
353
349
  created_at: number;
354
350
  updated_at: number;
355
351
  message: string;
356
352
  type: "note";
353
+ _id?: string | undefined;
357
354
  created_by?: string | undefined;
358
355
  updated_by?: string | undefined;
359
356
  }>, z.ZodObject<{
360
- _id: z.ZodString;
357
+ _id: z.ZodOptional<z.ZodString>;
361
358
  created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
362
359
  created_by: z.ZodOptional<z.ZodString>;
363
360
  updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
364
361
  updated_by: z.ZodOptional<z.ZodString>;
365
- } & {
362
+ type: z.ZodLiteral<"field_changed">;
366
363
  curr_value: z.ZodAny;
367
364
  field: z.ZodString;
368
365
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
369
366
  prev_value: z.ZodAny;
370
- type: z.ZodLiteral<"field_changed">;
371
367
  }, "strip", z.ZodTypeAny, {
372
- _id: string;
373
368
  created_at: number & {
374
369
  __brand: "UnixTimestamp";
375
370
  };
@@ -378,24 +373,24 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
378
373
  };
379
374
  type: "field_changed";
380
375
  field: string;
376
+ _id?: string | undefined;
381
377
  created_by?: string | undefined;
382
378
  updated_by?: string | undefined;
383
379
  curr_value?: any;
384
380
  metadata?: Record<string, unknown> | null | undefined;
385
381
  prev_value?: any;
386
382
  }, {
387
- _id: string;
388
383
  created_at: number;
389
384
  updated_at: number;
390
385
  type: "field_changed";
391
386
  field: string;
387
+ _id?: string | undefined;
392
388
  created_by?: string | undefined;
393
389
  updated_by?: string | undefined;
394
390
  curr_value?: any;
395
391
  metadata?: Record<string, unknown> | null | undefined;
396
392
  prev_value?: any;
397
393
  }>]>, {
398
- _id: string;
399
394
  created_at: number & {
400
395
  __brand: "UnixTimestamp";
401
396
  };
@@ -404,10 +399,10 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
404
399
  };
405
400
  message: string;
406
401
  type: "note";
402
+ _id?: string | undefined;
407
403
  created_by?: string | undefined;
408
404
  updated_by?: string | undefined;
409
405
  } | {
410
- _id: string;
411
406
  created_at: number & {
412
407
  __brand: "UnixTimestamp";
413
408
  };
@@ -416,25 +411,26 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
416
411
  };
417
412
  type: "field_changed";
418
413
  field: string;
414
+ _id?: string | undefined;
419
415
  created_by?: string | undefined;
420
416
  updated_by?: string | undefined;
421
417
  curr_value?: any;
422
418
  metadata?: Record<string, unknown> | null | undefined;
423
419
  prev_value?: any;
424
420
  }, {
425
- _id: string;
426
421
  created_at: number;
427
422
  updated_at: number;
428
423
  message: string;
429
424
  type: "note";
425
+ _id?: string | undefined;
430
426
  created_by?: string | undefined;
431
427
  updated_by?: string | undefined;
432
428
  } | {
433
- _id: string;
434
429
  created_at: number;
435
430
  updated_at: number;
436
431
  type: "field_changed";
437
432
  field: string;
433
+ _id?: string | undefined;
438
434
  created_by?: string | undefined;
439
435
  updated_by?: string | undefined;
440
436
  curr_value?: any;
@@ -481,7 +477,6 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
481
477
  reason: string;
482
478
  }>;
483
479
  comments: ({
484
- _id: string;
485
480
  created_at: number & {
486
481
  __brand: "UnixTimestamp";
487
482
  };
@@ -490,10 +485,10 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
490
485
  };
491
486
  message: string;
492
487
  type: "note";
488
+ _id?: string | undefined;
493
489
  created_by?: string | undefined;
494
490
  updated_by?: string | undefined;
495
491
  } | {
496
- _id: string;
497
492
  created_at: number & {
498
493
  __brand: "UnixTimestamp";
499
494
  };
@@ -502,6 +497,7 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
502
497
  };
503
498
  type: "field_changed";
504
499
  field: string;
500
+ _id?: string | undefined;
505
501
  created_by?: string | undefined;
506
502
  updated_by?: string | undefined;
507
503
  curr_value?: any;
@@ -546,19 +542,19 @@ export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
546
542
  updated_by?: string | undefined;
547
543
  is_locked?: boolean | undefined;
548
544
  comments?: ({
549
- _id: string;
550
545
  created_at: number;
551
546
  updated_at: number;
552
547
  message: string;
553
548
  type: "note";
549
+ _id?: string | undefined;
554
550
  created_by?: string | undefined;
555
551
  updated_by?: string | undefined;
556
552
  } | {
557
- _id: string;
558
553
  created_at: number;
559
554
  updated_at: number;
560
555
  type: "field_changed";
561
556
  field: string;
557
+ _id?: string | undefined;
562
558
  created_by?: string | undefined;
563
559
  updated_by?: string | undefined;
564
560
  curr_value?: any;
@@ -583,16 +579,14 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
583
579
  reason: string;
584
580
  }>>>;
585
581
  comments: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
586
- _id: z.ZodString;
582
+ _id: z.ZodOptional<z.ZodString>;
587
583
  created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
588
584
  created_by: z.ZodOptional<z.ZodString>;
589
585
  updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
590
586
  updated_by: z.ZodOptional<z.ZodString>;
591
- } & {
592
587
  message: z.ZodString;
593
588
  type: z.ZodLiteral<"note">;
594
589
  }, "strip", z.ZodTypeAny, {
595
- _id: string;
596
590
  created_at: number & {
597
591
  __brand: "UnixTimestamp";
598
592
  };
@@ -601,30 +595,29 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
601
595
  };
602
596
  message: string;
603
597
  type: "note";
598
+ _id?: string | undefined;
604
599
  created_by?: string | undefined;
605
600
  updated_by?: string | undefined;
606
601
  }, {
607
- _id: string;
608
602
  created_at: number;
609
603
  updated_at: number;
610
604
  message: string;
611
605
  type: "note";
606
+ _id?: string | undefined;
612
607
  created_by?: string | undefined;
613
608
  updated_by?: string | undefined;
614
609
  }>, z.ZodObject<{
615
- _id: z.ZodString;
610
+ _id: z.ZodOptional<z.ZodString>;
616
611
  created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
617
612
  created_by: z.ZodOptional<z.ZodString>;
618
613
  updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
619
614
  updated_by: z.ZodOptional<z.ZodString>;
620
- } & {
615
+ type: z.ZodLiteral<"field_changed">;
621
616
  curr_value: z.ZodAny;
622
617
  field: z.ZodString;
623
618
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
624
619
  prev_value: z.ZodAny;
625
- type: z.ZodLiteral<"field_changed">;
626
620
  }, "strip", z.ZodTypeAny, {
627
- _id: string;
628
621
  created_at: number & {
629
622
  __brand: "UnixTimestamp";
630
623
  };
@@ -633,24 +626,24 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
633
626
  };
634
627
  type: "field_changed";
635
628
  field: string;
629
+ _id?: string | undefined;
636
630
  created_by?: string | undefined;
637
631
  updated_by?: string | undefined;
638
632
  curr_value?: any;
639
633
  metadata?: Record<string, unknown> | null | undefined;
640
634
  prev_value?: any;
641
635
  }, {
642
- _id: string;
643
636
  created_at: number;
644
637
  updated_at: number;
645
638
  type: "field_changed";
646
639
  field: string;
640
+ _id?: string | undefined;
647
641
  created_by?: string | undefined;
648
642
  updated_by?: string | undefined;
649
643
  curr_value?: any;
650
644
  metadata?: Record<string, unknown> | null | undefined;
651
645
  prev_value?: any;
652
646
  }>]>, {
653
- _id: string;
654
647
  created_at: number & {
655
648
  __brand: "UnixTimestamp";
656
649
  };
@@ -659,10 +652,10 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
659
652
  };
660
653
  message: string;
661
654
  type: "note";
655
+ _id?: string | undefined;
662
656
  created_by?: string | undefined;
663
657
  updated_by?: string | undefined;
664
658
  } | {
665
- _id: string;
666
659
  created_at: number & {
667
660
  __brand: "UnixTimestamp";
668
661
  };
@@ -671,25 +664,26 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
671
664
  };
672
665
  type: "field_changed";
673
666
  field: string;
667
+ _id?: string | undefined;
674
668
  created_by?: string | undefined;
675
669
  updated_by?: string | undefined;
676
670
  curr_value?: any;
677
671
  metadata?: Record<string, unknown> | null | undefined;
678
672
  prev_value?: any;
679
673
  }, {
680
- _id: string;
681
674
  created_at: number;
682
675
  updated_at: number;
683
676
  message: string;
684
677
  type: "note";
678
+ _id?: string | undefined;
685
679
  created_by?: string | undefined;
686
680
  updated_by?: string | undefined;
687
681
  } | {
688
- _id: string;
689
682
  created_at: number;
690
683
  updated_at: number;
691
684
  type: "field_changed";
692
685
  field: string;
686
+ _id?: string | undefined;
693
687
  created_by?: string | undefined;
694
688
  updated_by?: string | undefined;
695
689
  curr_value?: any;
@@ -739,7 +733,6 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
739
733
  reason: string;
740
734
  }> | undefined;
741
735
  comments?: ({
742
- _id: string;
743
736
  created_at: number & {
744
737
  __brand: "UnixTimestamp";
745
738
  };
@@ -748,10 +741,10 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
748
741
  };
749
742
  message: string;
750
743
  type: "note";
744
+ _id?: string | undefined;
751
745
  created_by?: string | undefined;
752
746
  updated_by?: string | undefined;
753
747
  } | {
754
- _id: string;
755
748
  created_at: number & {
756
749
  __brand: "UnixTimestamp";
757
750
  };
@@ -760,6 +753,7 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
760
753
  };
761
754
  type: "field_changed";
762
755
  field: string;
756
+ _id?: string | undefined;
763
757
  created_by?: string | undefined;
764
758
  updated_by?: string | undefined;
765
759
  curr_value?: any;
@@ -791,19 +785,19 @@ export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
791
785
  reason: string;
792
786
  }> | undefined;
793
787
  comments?: ({
794
- _id: string;
795
788
  created_at: number;
796
789
  updated_at: number;
797
790
  message: string;
798
791
  type: "note";
792
+ _id?: string | undefined;
799
793
  created_by?: string | undefined;
800
794
  updated_by?: string | undefined;
801
795
  } | {
802
- _id: string;
803
796
  created_at: number;
804
797
  updated_at: number;
805
798
  type: "field_changed";
806
799
  field: string;
800
+ _id?: string | undefined;
807
801
  created_by?: string | undefined;
808
802
  updated_by?: string | undefined;
809
803
  curr_value?: any;
@@ -7,16 +7,14 @@ export declare const RideAuditSchema: z.ZodObject<{
7
7
  updated_by: z.ZodOptional<z.ZodString>;
8
8
  } & {
9
9
  comments: z.ZodArray<z.ZodObject<{
10
- _id: z.ZodString;
10
+ _id: z.ZodOptional<z.ZodString>;
11
11
  created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
12
12
  created_by: z.ZodOptional<z.ZodString>;
13
13
  updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
14
14
  updated_by: z.ZodOptional<z.ZodString>;
15
- } & {
16
15
  message: z.ZodString;
17
16
  type: z.ZodLiteral<"note">;
18
17
  }, "strip", z.ZodTypeAny, {
19
- _id: string;
20
18
  created_at: number & {
21
19
  __brand: "UnixTimestamp";
22
20
  };
@@ -25,14 +23,15 @@ export declare const RideAuditSchema: z.ZodObject<{
25
23
  };
26
24
  message: string;
27
25
  type: "note";
26
+ _id?: string | undefined;
28
27
  created_by?: string | undefined;
29
28
  updated_by?: string | undefined;
30
29
  }, {
31
- _id: string;
32
30
  created_at: number;
33
31
  updated_at: number;
34
32
  message: string;
35
33
  type: "note";
34
+ _id?: string | undefined;
36
35
  created_by?: string | undefined;
37
36
  updated_by?: string | undefined;
38
37
  }>, "many">;
@@ -48,7 +47,6 @@ export declare const RideAuditSchema: z.ZodObject<{
48
47
  };
49
48
  is_locked: boolean;
50
49
  comments: {
51
- _id: string;
52
50
  created_at: number & {
53
51
  __brand: "UnixTimestamp";
54
52
  };
@@ -57,6 +55,7 @@ export declare const RideAuditSchema: z.ZodObject<{
57
55
  };
58
56
  message: string;
59
57
  type: "note";
58
+ _id?: string | undefined;
60
59
  created_by?: string | undefined;
61
60
  updated_by?: string | undefined;
62
61
  }[];
@@ -68,11 +67,11 @@ export declare const RideAuditSchema: z.ZodObject<{
68
67
  created_at: number;
69
68
  updated_at: number;
70
69
  comments: {
71
- _id: string;
72
70
  created_at: number;
73
71
  updated_at: number;
74
72
  message: string;
75
73
  type: "note";
74
+ _id?: string | undefined;
76
75
  created_by?: string | undefined;
77
76
  updated_by?: string | undefined;
78
77
  }[];
@@ -89,16 +88,14 @@ export declare const CreateRideAuditSchema: z.ZodObject<Omit<{
89
88
  updated_by: z.ZodOptional<z.ZodString>;
90
89
  is_locked: z.ZodDefault<z.ZodBoolean>;
91
90
  comments: z.ZodArray<z.ZodObject<{
92
- _id: z.ZodString;
91
+ _id: z.ZodOptional<z.ZodString>;
93
92
  created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
94
93
  created_by: z.ZodOptional<z.ZodString>;
95
94
  updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
96
95
  updated_by: z.ZodOptional<z.ZodString>;
97
- } & {
98
96
  message: z.ZodString;
99
97
  type: z.ZodLiteral<"note">;
100
98
  }, "strip", z.ZodTypeAny, {
101
- _id: string;
102
99
  created_at: number & {
103
100
  __brand: "UnixTimestamp";
104
101
  };
@@ -107,14 +104,15 @@ export declare const CreateRideAuditSchema: z.ZodObject<Omit<{
107
104
  };
108
105
  message: string;
109
106
  type: "note";
107
+ _id?: string | undefined;
110
108
  created_by?: string | undefined;
111
109
  updated_by?: string | undefined;
112
110
  }, {
113
- _id: string;
114
111
  created_at: number;
115
112
  updated_at: number;
116
113
  message: string;
117
114
  type: "note";
115
+ _id?: string | undefined;
118
116
  created_by?: string | undefined;
119
117
  updated_by?: string | undefined;
120
118
  }>, "many">;
@@ -122,7 +120,6 @@ export declare const CreateRideAuditSchema: z.ZodObject<Omit<{
122
120
  }, "created_at" | "updated_at">, "strict", z.ZodTypeAny, {
123
121
  is_locked: boolean;
124
122
  comments: {
125
- _id: string;
126
123
  created_at: number & {
127
124
  __brand: "UnixTimestamp";
128
125
  };
@@ -131,6 +128,7 @@ export declare const CreateRideAuditSchema: z.ZodObject<Omit<{
131
128
  };
132
129
  message: string;
133
130
  type: "note";
131
+ _id?: string | undefined;
134
132
  created_by?: string | undefined;
135
133
  updated_by?: string | undefined;
136
134
  }[];
@@ -140,11 +138,11 @@ export declare const CreateRideAuditSchema: z.ZodObject<Omit<{
140
138
  updated_by?: string | undefined;
141
139
  }, {
142
140
  comments: {
143
- _id: string;
144
141
  created_at: number;
145
142
  updated_at: number;
146
143
  message: string;
147
144
  type: "note";
145
+ _id?: string | undefined;
148
146
  created_by?: string | undefined;
149
147
  updated_by?: string | undefined;
150
148
  }[];
@@ -159,16 +157,14 @@ export declare const UpdateRideAuditSchema: z.ZodObject<{
159
157
  updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
160
158
  is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
161
159
  comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
162
- _id: z.ZodString;
160
+ _id: z.ZodOptional<z.ZodString>;
163
161
  created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
164
162
  created_by: z.ZodOptional<z.ZodString>;
165
163
  updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
166
164
  updated_by: z.ZodOptional<z.ZodString>;
167
- } & {
168
165
  message: z.ZodString;
169
166
  type: z.ZodLiteral<"note">;
170
167
  }, "strip", z.ZodTypeAny, {
171
- _id: string;
172
168
  created_at: number & {
173
169
  __brand: "UnixTimestamp";
174
170
  };
@@ -177,14 +173,15 @@ export declare const UpdateRideAuditSchema: z.ZodObject<{
177
173
  };
178
174
  message: string;
179
175
  type: "note";
176
+ _id?: string | undefined;
180
177
  created_by?: string | undefined;
181
178
  updated_by?: string | undefined;
182
179
  }, {
183
- _id: string;
184
180
  created_at: number;
185
181
  updated_at: number;
186
182
  message: string;
187
183
  type: "note";
184
+ _id?: string | undefined;
188
185
  created_by?: string | undefined;
189
186
  updated_by?: string | undefined;
190
187
  }>, "many">>;
@@ -194,7 +191,6 @@ export declare const UpdateRideAuditSchema: z.ZodObject<{
194
191
  updated_by?: string | undefined;
195
192
  is_locked?: boolean | undefined;
196
193
  comments?: {
197
- _id: string;
198
194
  created_at: number & {
199
195
  __brand: "UnixTimestamp";
200
196
  };
@@ -203,6 +199,7 @@ export declare const UpdateRideAuditSchema: z.ZodObject<{
203
199
  };
204
200
  message: string;
205
201
  type: "note";
202
+ _id?: string | undefined;
206
203
  created_by?: string | undefined;
207
204
  updated_by?: string | undefined;
208
205
  }[] | undefined;
@@ -212,11 +209,11 @@ export declare const UpdateRideAuditSchema: z.ZodObject<{
212
209
  updated_by?: string | undefined;
213
210
  is_locked?: boolean | undefined;
214
211
  comments?: {
215
- _id: string;
216
212
  created_at: number;
217
213
  updated_at: number;
218
214
  message: string;
219
215
  type: "note";
216
+ _id?: string | undefined;
220
217
  created_by?: string | undefined;
221
218
  updated_by?: string | undefined;
222
219
  }[] | undefined;