@tmlmobilidade/types 20250917.1116.49 → 20250917.1256.45

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.
@@ -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;
@@ -270,7 +270,7 @@ export declare const SimplifiedApexValidationSchema: z.ZodObject<{
270
270
  event_type: number;
271
271
  product_id: string;
272
272
  units_qty: number | null;
273
- validation_status: 0 | 1 | 2 | 3 | 4 | 5 | 12 | 11 | 8 | 10 | 6 | 7 | 9 | 13;
273
+ validation_status: 0 | 1 | 2 | 3 | 5 | 4 | 12 | 11 | 8 | 10 | 6 | 7 | 9 | 13;
274
274
  created_by?: string | undefined;
275
275
  updated_by?: string | undefined;
276
276
  }, {
@@ -296,7 +296,7 @@ export declare const SimplifiedApexValidationSchema: z.ZodObject<{
296
296
  event_type: number;
297
297
  product_id: string;
298
298
  units_qty: number | null;
299
- validation_status: 0 | 1 | 2 | 3 | 4 | 5 | 12 | 11 | 8 | 10 | 6 | 7 | 9 | 13;
299
+ validation_status: 0 | 1 | 2 | 3 | 5 | 4 | 12 | 11 | 8 | 10 | 6 | 7 | 9 | 13;
300
300
  created_by?: string | undefined;
301
301
  updated_by?: string | undefined;
302
302
  }>;
@@ -422,7 +422,7 @@ export declare const UpdateSimplifiedApexValidationSchema: z.ZodObject<{
422
422
  event_type?: number | undefined;
423
423
  product_id?: string | undefined;
424
424
  units_qty?: number | null | undefined;
425
- validation_status?: 0 | 1 | 2 | 3 | 4 | 5 | 12 | 11 | 8 | 10 | 6 | 7 | 9 | 13 | undefined;
425
+ validation_status?: 0 | 1 | 2 | 3 | 5 | 4 | 12 | 11 | 8 | 10 | 6 | 7 | 9 | 13 | undefined;
426
426
  }, {
427
427
  _id?: string | undefined;
428
428
  created_at?: number | undefined;
@@ -448,7 +448,7 @@ export declare const UpdateSimplifiedApexValidationSchema: z.ZodObject<{
448
448
  event_type?: number | undefined;
449
449
  product_id?: string | undefined;
450
450
  units_qty?: number | null | undefined;
451
- validation_status?: 0 | 1 | 2 | 3 | 4 | 5 | 12 | 11 | 8 | 10 | 6 | 7 | 9 | 13 | undefined;
451
+ validation_status?: 0 | 1 | 2 | 3 | 5 | 4 | 12 | 11 | 8 | 10 | 6 | 7 | 9 | 13 | undefined;
452
452
  }>;
453
453
  /**
454
454
  * APEX Validations are APEX transactions of type 11 that are generated when a card holder touches a validator
@@ -462,4 +462,4 @@ export type UpdateSimplifiedApexValidationDto = z.infer<typeof UpdateSimplifiedA
462
462
  /**
463
463
  * Validation statuses that are considered valid for the card holder to travel.
464
464
  */
465
- export declare const ALLOWED_VALIDATION_STATUSES: (0 | 4 | 5 | 6)[];
465
+ export declare const ALLOWED_VALIDATION_STATUSES: (0 | 5 | 4 | 6)[];