@tmlmobilidade/types 20250911.1034.51 → 20250911.1425.9

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 (54) hide show
  1. package/dist/src/_common/comment.d.ts +20 -20
  2. package/dist/src/_common/document.d.ts +4 -4
  3. package/dist/src/_common/document.js +2 -2
  4. package/dist/src/_common/operational-date.d.ts +1 -1
  5. package/dist/src/_common/operational-date.js +1 -2
  6. package/dist/src/_common/proposed-change.d.ts +18 -40
  7. package/dist/src/_common/proposed-change.js +5 -14
  8. package/dist/src/agency.d.ts +19 -30
  9. package/dist/src/agency.js +1 -1
  10. package/dist/src/alert.d.ts +37 -63
  11. package/dist/src/alert.js +8 -48
  12. package/dist/src/auth/login.js +2 -8
  13. package/dist/src/auth/role.d.ts +15 -22
  14. package/dist/src/auth/role.js +1 -1
  15. package/dist/src/auth/session.d.ts +22 -38
  16. package/dist/src/auth/session.js +3 -3
  17. package/dist/src/auth/user.d.ts +22 -41
  18. package/dist/src/auth/user.js +3 -3
  19. package/dist/src/auth/verification-token.d.ts +22 -34
  20. package/dist/src/auth/verification-token.js +3 -3
  21. package/dist/src/gtfs.d.ts +6 -17
  22. package/dist/src/organization.d.ts +10 -13
  23. package/dist/src/organization.js +1 -1
  24. package/dist/src/plans/gtfs-validation.d.ts +34 -72
  25. package/dist/src/plans/gtfs-validation.js +2 -6
  26. package/dist/src/plans/plan-controller.d.ts +3 -8
  27. package/dist/src/plans/plan-controller.js +2 -2
  28. package/dist/src/plans/plan.d.ts +43 -95
  29. package/dist/src/plans/plan.js +2 -6
  30. package/dist/src/rides/ride-audit.d.ts +27 -30
  31. package/dist/src/rides/ride-audit.js +1 -1
  32. package/dist/src/rides/ride-justification.d.ts +69 -72
  33. package/dist/src/rides/ride-justification.js +1 -1
  34. package/dist/src/rides/ride.d.ts +55 -106
  35. package/dist/src/rides/ride.js +8 -8
  36. package/dist/src/sams/sam-analysis.d.ts +5 -13
  37. package/dist/src/sams/sam-analysis.js +3 -3
  38. package/dist/src/sams/sam.d.ts +46 -97
  39. package/dist/src/sams/sam.js +4 -4
  40. package/dist/src/simplified-apex/simplified-apex-location.d.ts +18 -25
  41. package/dist/src/simplified-apex/simplified-apex-location.js +2 -2
  42. package/dist/src/simplified-apex/simplified-apex-on-board-refund.d.ts +18 -25
  43. package/dist/src/simplified-apex/simplified-apex-on-board-refund.js +2 -2
  44. package/dist/src/simplified-apex/simplified-apex-on-board-sale.d.ts +28 -38
  45. package/dist/src/simplified-apex/simplified-apex-on-board-sale.js +3 -3
  46. package/dist/src/simplified-apex/simplified-apex-validation.d.ts +18 -25
  47. package/dist/src/simplified-apex/simplified-apex-validation.js +2 -2
  48. package/dist/src/stop.d.ts +133 -151
  49. package/dist/src/stop.js +11 -74
  50. package/dist/src/vehicle-event.d.ts +9 -14
  51. package/dist/src/vehicle-event.js +2 -2
  52. package/dist/src/zone.d.ts +9 -12
  53. package/dist/src/zone.js +1 -1
  54. package/package.json +1 -1
@@ -1,4 +1,3 @@
1
- import { type UnixTimestamp } from './_common/unix-timestamp.js';
2
1
  import { z } from 'zod';
3
2
  export declare const jurisdictionSchema: z.ZodEnum<["ip", "municipality", "other", "unknown"]>;
4
3
  export declare const operationalStatusSchema: z.ZodEnum<["active", "inactive", "provisional", "seasonal", "voided"]>;
@@ -9,11 +8,19 @@ export declare const connectionsSchema: z.ZodEnum<["ferry", "light_rail", "subwa
9
8
  export declare const facilitiesSchema: z.ZodEnum<["fire_station", "health_clinic", "historic_building", "hospital", "police_station", "school", "shopping", "transit_office", "university", "beach"]>;
10
9
  export declare const hasAnySchema: z.ZodEnum<["yes", "no", "unknown"]>;
11
10
  export declare const equipmentSchema: z.ZodEnum<["pip", "mupi", "mini_pip"]>;
11
+ export type Jurisdiction = z.infer<typeof jurisdictionSchema>;
12
+ export type OperationalStatus = z.infer<typeof operationalStatusSchema>;
13
+ export type ElectricityStatus = z.infer<typeof electricityStatusSchema>;
14
+ export type RoadType = z.infer<typeof roadTypeSchema>;
15
+ export type InfrastructureStatus = z.infer<typeof infrastructureStatusSchema>;
16
+ export type Connections = z.infer<typeof connectionsSchema>;
17
+ export type Facilities = z.infer<typeof facilitiesSchema>;
18
+ export type Equipment = z.infer<typeof equipmentSchema>;
12
19
  export declare const StopSchema: z.ZodObject<{
13
- created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
14
- created_by: z.ZodDefault<z.ZodString>;
15
- updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
16
- updated_by: z.ZodDefault<z.ZodString>;
20
+ created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
21
+ created_by: z.ZodOptional<z.ZodString>;
22
+ updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
23
+ updated_by: z.ZodOptional<z.ZodString>;
17
24
  } & {
18
25
  _id: z.ZodString;
19
26
  is_archived: z.ZodDefault<z.ZodBoolean>;
@@ -37,15 +44,15 @@ export declare const StopSchema: z.ZodObject<{
37
44
  road_type: z.ZodEnum<["complementary_itinerary", "highway", "main_itinerary", "national_road", "regional_road", "secondary_road", "unknown"]>;
38
45
  shelter_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
46
  shelter_frame_size: z.ZodOptional<z.ZodNullable<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
40
- shelter_installation_date: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>;
47
+ shelter_installation_date: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>;
41
48
  shelter_maintainer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
49
  shelter_make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
50
  shelter_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
51
  shelter_status: z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>;
45
- last_infrastructure_check: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>;
46
- last_infrastructure_maintenance: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>;
47
- last_schedules_check: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>;
48
- last_schedules_maintenance: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>;
52
+ last_infrastructure_check: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>;
53
+ last_infrastructure_maintenance: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>;
54
+ last_schedules_check: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>;
55
+ last_schedules_maintenance: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>;
49
56
  connections: z.ZodArray<z.ZodEnum<["ferry", "light_rail", "subway", "train", "boat", "airport", "bike_sharing", "bike_parking", "car_parking"]>, "many">;
50
57
  facilities: z.ZodArray<z.ZodEnum<["fire_station", "health_clinic", "historic_building", "hospital", "police_station", "school", "shopping", "transit_office", "university", "beach"]>, "many">;
51
58
  equipment: z.ZodArray<z.ZodEnum<["pip", "mupi", "mini_pip"]>, "many">;
@@ -59,10 +66,10 @@ export declare const StopSchema: z.ZodObject<{
59
66
  image_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
60
67
  comments: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
61
68
  _id: z.ZodString;
62
- created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
63
- created_by: z.ZodDefault<z.ZodString>;
64
- updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
65
- updated_by: z.ZodDefault<z.ZodString>;
69
+ created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
70
+ created_by: z.ZodOptional<z.ZodString>;
71
+ updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
72
+ updated_by: z.ZodOptional<z.ZodString>;
66
73
  } & {
67
74
  message: z.ZodString;
68
75
  type: z.ZodLiteral<"note">;
@@ -71,13 +78,13 @@ export declare const StopSchema: z.ZodObject<{
71
78
  created_at: number & {
72
79
  __brand: "UnixTimestamp";
73
80
  };
74
- created_by: string;
75
81
  updated_at: number & {
76
82
  __brand: "UnixTimestamp";
77
83
  };
78
- updated_by: string;
79
84
  message: string;
80
85
  type: "note";
86
+ created_by?: string | undefined;
87
+ updated_by?: string | undefined;
81
88
  }, {
82
89
  _id: string;
83
90
  created_at: number;
@@ -88,8 +95,8 @@ export declare const StopSchema: z.ZodObject<{
88
95
  updated_by?: string | undefined;
89
96
  }>, z.ZodObject<{
90
97
  _id: z.ZodString;
91
- created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
92
- updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
98
+ created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
99
+ updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
93
100
  } & {
94
101
  created_by: z.ZodLiteral<"system">;
95
102
  message: z.ZodString;
@@ -117,10 +124,10 @@ export declare const StopSchema: z.ZodObject<{
117
124
  type: "system_info";
118
125
  }>, z.ZodObject<{
119
126
  _id: z.ZodString;
120
- created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
121
- created_by: z.ZodDefault<z.ZodString>;
122
- updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
123
- updated_by: z.ZodDefault<z.ZodString>;
127
+ created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
128
+ created_by: z.ZodOptional<z.ZodString>;
129
+ updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
130
+ updated_by: z.ZodOptional<z.ZodString>;
124
131
  } & {
125
132
  curr_status: z.ZodString;
126
133
  prev_status: z.ZodString;
@@ -130,14 +137,14 @@ export declare const StopSchema: z.ZodObject<{
130
137
  created_at: number & {
131
138
  __brand: "UnixTimestamp";
132
139
  };
133
- created_by: string;
134
140
  updated_at: number & {
135
141
  __brand: "UnixTimestamp";
136
142
  };
137
- updated_by: string;
138
143
  type: "statusChanged";
139
144
  curr_status: string;
140
145
  prev_status: string;
146
+ created_by?: string | undefined;
147
+ updated_by?: string | undefined;
141
148
  }, {
142
149
  _id: string;
143
150
  created_at: number;
@@ -152,13 +159,13 @@ export declare const StopSchema: z.ZodObject<{
152
159
  created_at: number & {
153
160
  __brand: "UnixTimestamp";
154
161
  };
155
- created_by: string;
156
162
  updated_at: number & {
157
163
  __brand: "UnixTimestamp";
158
164
  };
159
- updated_by: string;
160
165
  message: string;
161
166
  type: "note";
167
+ created_by?: string | undefined;
168
+ updated_by?: string | undefined;
162
169
  } | {
163
170
  _id: string;
164
171
  created_at: number & {
@@ -176,14 +183,14 @@ export declare const StopSchema: z.ZodObject<{
176
183
  created_at: number & {
177
184
  __brand: "UnixTimestamp";
178
185
  };
179
- created_by: string;
180
186
  updated_at: number & {
181
187
  __brand: "UnixTimestamp";
182
188
  };
183
- updated_by: string;
184
189
  type: "statusChanged";
185
190
  curr_status: string;
186
191
  prev_status: string;
192
+ created_by?: string | undefined;
193
+ updated_by?: string | undefined;
187
194
  }, {
188
195
  _id: string;
189
196
  created_at: number;
@@ -216,11 +223,9 @@ export declare const StopSchema: z.ZodObject<{
216
223
  created_at: number & {
217
224
  __brand: "UnixTimestamp";
218
225
  };
219
- created_by: string;
220
226
  updated_at: number & {
221
227
  __brand: "UnixTimestamp";
222
228
  };
223
- updated_by: string;
224
229
  name: string;
225
230
  has_bench: "unknown" | "yes" | "no";
226
231
  has_network_map: "unknown" | "yes" | "no";
@@ -234,13 +239,13 @@ export declare const StopSchema: z.ZodObject<{
234
239
  created_at: number & {
235
240
  __brand: "UnixTimestamp";
236
241
  };
237
- created_by: string;
238
242
  updated_at: number & {
239
243
  __brand: "UnixTimestamp";
240
244
  };
241
- updated_by: string;
242
245
  message: string;
243
246
  type: "note";
247
+ created_by?: string | undefined;
248
+ updated_by?: string | undefined;
244
249
  } | {
245
250
  _id: string;
246
251
  created_at: number & {
@@ -258,14 +263,14 @@ export declare const StopSchema: z.ZodObject<{
258
263
  created_at: number & {
259
264
  __brand: "UnixTimestamp";
260
265
  };
261
- created_by: string;
262
266
  updated_at: number & {
263
267
  __brand: "UnixTimestamp";
264
268
  };
265
- updated_by: string;
266
269
  type: "statusChanged";
267
270
  curr_status: string;
268
271
  prev_status: string;
272
+ created_by?: string | undefined;
273
+ updated_by?: string | undefined;
269
274
  })[];
270
275
  is_archived: boolean;
271
276
  jurisdiction: "unknown" | "ip" | "municipality" | "other";
@@ -284,6 +289,8 @@ export declare const StopSchema: z.ZodObject<{
284
289
  has_mupi: "unknown" | "yes" | "no";
285
290
  file_ids: string[];
286
291
  image_ids: string[];
292
+ created_by?: string | undefined;
293
+ updated_by?: string | undefined;
287
294
  short_name?: string | null | undefined;
288
295
  parish_id?: string | null | undefined;
289
296
  shelter_code?: string | null | undefined;
@@ -293,13 +300,13 @@ export declare const StopSchema: z.ZodObject<{
293
300
  tts_name?: string | null | undefined;
294
301
  locality_id?: string | null | undefined;
295
302
  shelter_frame_size?: [number, number] | null | undefined;
296
- shelter_installation_date?: UnixTimestamp | null | undefined;
303
+ shelter_installation_date?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
297
304
  shelter_make?: string | null | undefined;
298
305
  shelter_model?: string | null | undefined;
299
- last_infrastructure_check?: UnixTimestamp | null | undefined;
300
- last_infrastructure_maintenance?: UnixTimestamp | null | undefined;
301
- last_schedules_check?: UnixTimestamp | null | undefined;
302
- last_schedules_maintenance?: UnixTimestamp | null | undefined;
306
+ last_infrastructure_check?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
307
+ last_infrastructure_maintenance?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
308
+ last_schedules_check?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
309
+ last_schedules_maintenance?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
303
310
  observations?: string | null | undefined;
304
311
  }, {
305
312
  _id: string;
@@ -377,10 +384,10 @@ export declare const StopSchema: z.ZodObject<{
377
384
  observations?: string | null | undefined;
378
385
  }>;
379
386
  export declare const parentStationSchema: z.ZodObject<{
380
- created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
381
- created_by: z.ZodDefault<z.ZodString>;
382
- updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
383
- updated_by: z.ZodDefault<z.ZodString>;
387
+ created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
388
+ created_by: z.ZodOptional<z.ZodString>;
389
+ updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
390
+ updated_by: z.ZodOptional<z.ZodString>;
384
391
  } & {
385
392
  _id: z.ZodString;
386
393
  agency_id: z.ZodString;
@@ -390,13 +397,13 @@ export declare const parentStationSchema: z.ZodObject<{
390
397
  created_at: number & {
391
398
  __brand: "UnixTimestamp";
392
399
  };
393
- created_by: string;
394
400
  updated_at: number & {
395
401
  __brand: "UnixTimestamp";
396
402
  };
397
- updated_by: string;
398
403
  agency_id: string;
399
404
  stop_ids: string[];
405
+ created_by?: string | undefined;
406
+ updated_by?: string | undefined;
400
407
  }, {
401
408
  _id: string;
402
409
  created_at: number;
@@ -407,10 +414,10 @@ export declare const parentStationSchema: z.ZodObject<{
407
414
  updated_by?: string | undefined;
408
415
  }>;
409
416
  export declare const stopAreaSchema: z.ZodObject<{
410
- created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
411
- created_by: z.ZodDefault<z.ZodString>;
412
- updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
413
- updated_by: z.ZodDefault<z.ZodString>;
417
+ created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
418
+ created_by: z.ZodOptional<z.ZodString>;
419
+ updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
420
+ updated_by: z.ZodOptional<z.ZodString>;
414
421
  } & {
415
422
  _id: z.ZodString;
416
423
  parent_station_ids: z.ZodArray<z.ZodString, "many">;
@@ -419,12 +426,12 @@ export declare const stopAreaSchema: z.ZodObject<{
419
426
  created_at: number & {
420
427
  __brand: "UnixTimestamp";
421
428
  };
422
- created_by: string;
423
429
  updated_at: number & {
424
430
  __brand: "UnixTimestamp";
425
431
  };
426
- updated_by: string;
427
432
  parent_station_ids: string[];
433
+ created_by?: string | undefined;
434
+ updated_by?: string | undefined;
428
435
  }, {
429
436
  _id: string;
430
437
  created_at: number;
@@ -433,19 +440,11 @@ export declare const stopAreaSchema: z.ZodObject<{
433
440
  created_by?: string | undefined;
434
441
  updated_by?: string | undefined;
435
442
  }>;
436
- export type Jurisdiction = z.infer<typeof jurisdictionSchema>;
437
- export type OperationalStatus = z.infer<typeof operationalStatusSchema>;
438
- export type ElectricityStatus = z.infer<typeof electricityStatusSchema>;
439
- export type RoadType = z.infer<typeof roadTypeSchema>;
440
- export type InfrastructureStatus = z.infer<typeof infrastructureStatusSchema>;
441
- export type Connections = z.infer<typeof connectionsSchema>;
442
- export type Facilities = z.infer<typeof facilitiesSchema>;
443
- export type Equipment = z.infer<typeof equipmentSchema>;
444
443
  export declare const CreateStopSchema: z.ZodObject<Omit<{
445
- created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
446
- created_by: z.ZodDefault<z.ZodString>;
447
- updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
448
- updated_by: z.ZodDefault<z.ZodString>;
444
+ created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
445
+ created_by: z.ZodOptional<z.ZodString>;
446
+ updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
447
+ updated_by: z.ZodOptional<z.ZodString>;
449
448
  } & {
450
449
  _id: z.ZodString;
451
450
  is_archived: z.ZodDefault<z.ZodBoolean>;
@@ -469,15 +468,15 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
469
468
  road_type: z.ZodEnum<["complementary_itinerary", "highway", "main_itinerary", "national_road", "regional_road", "secondary_road", "unknown"]>;
470
469
  shelter_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
471
470
  shelter_frame_size: z.ZodOptional<z.ZodNullable<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
472
- shelter_installation_date: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>;
471
+ shelter_installation_date: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>;
473
472
  shelter_maintainer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
474
473
  shelter_make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
475
474
  shelter_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
476
475
  shelter_status: z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>;
477
- last_infrastructure_check: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>;
478
- last_infrastructure_maintenance: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>;
479
- last_schedules_check: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>;
480
- last_schedules_maintenance: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>;
476
+ last_infrastructure_check: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>;
477
+ last_infrastructure_maintenance: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>;
478
+ last_schedules_check: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>;
479
+ last_schedules_maintenance: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>;
481
480
  connections: z.ZodArray<z.ZodEnum<["ferry", "light_rail", "subway", "train", "boat", "airport", "bike_sharing", "bike_parking", "car_parking"]>, "many">;
482
481
  facilities: z.ZodArray<z.ZodEnum<["fire_station", "health_clinic", "historic_building", "hospital", "police_station", "school", "shopping", "transit_office", "university", "beach"]>, "many">;
483
482
  equipment: z.ZodArray<z.ZodEnum<["pip", "mupi", "mini_pip"]>, "many">;
@@ -491,10 +490,10 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
491
490
  image_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
492
491
  comments: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
493
492
  _id: z.ZodString;
494
- created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
495
- created_by: z.ZodDefault<z.ZodString>;
496
- updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
497
- updated_by: z.ZodDefault<z.ZodString>;
493
+ created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
494
+ created_by: z.ZodOptional<z.ZodString>;
495
+ updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
496
+ updated_by: z.ZodOptional<z.ZodString>;
498
497
  } & {
499
498
  message: z.ZodString;
500
499
  type: z.ZodLiteral<"note">;
@@ -503,13 +502,13 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
503
502
  created_at: number & {
504
503
  __brand: "UnixTimestamp";
505
504
  };
506
- created_by: string;
507
505
  updated_at: number & {
508
506
  __brand: "UnixTimestamp";
509
507
  };
510
- updated_by: string;
511
508
  message: string;
512
509
  type: "note";
510
+ created_by?: string | undefined;
511
+ updated_by?: string | undefined;
513
512
  }, {
514
513
  _id: string;
515
514
  created_at: number;
@@ -520,8 +519,8 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
520
519
  updated_by?: string | undefined;
521
520
  }>, z.ZodObject<{
522
521
  _id: z.ZodString;
523
- created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
524
- updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
522
+ created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
523
+ updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
525
524
  } & {
526
525
  created_by: z.ZodLiteral<"system">;
527
526
  message: z.ZodString;
@@ -549,10 +548,10 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
549
548
  type: "system_info";
550
549
  }>, z.ZodObject<{
551
550
  _id: z.ZodString;
552
- created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
553
- created_by: z.ZodDefault<z.ZodString>;
554
- updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
555
- updated_by: z.ZodDefault<z.ZodString>;
551
+ created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
552
+ created_by: z.ZodOptional<z.ZodString>;
553
+ updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
554
+ updated_by: z.ZodOptional<z.ZodString>;
556
555
  } & {
557
556
  curr_status: z.ZodString;
558
557
  prev_status: z.ZodString;
@@ -562,14 +561,14 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
562
561
  created_at: number & {
563
562
  __brand: "UnixTimestamp";
564
563
  };
565
- created_by: string;
566
564
  updated_at: number & {
567
565
  __brand: "UnixTimestamp";
568
566
  };
569
- updated_by: string;
570
567
  type: "statusChanged";
571
568
  curr_status: string;
572
569
  prev_status: string;
570
+ created_by?: string | undefined;
571
+ updated_by?: string | undefined;
573
572
  }, {
574
573
  _id: string;
575
574
  created_at: number;
@@ -584,13 +583,13 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
584
583
  created_at: number & {
585
584
  __brand: "UnixTimestamp";
586
585
  };
587
- created_by: string;
588
586
  updated_at: number & {
589
587
  __brand: "UnixTimestamp";
590
588
  };
591
- updated_by: string;
592
589
  message: string;
593
590
  type: "note";
591
+ created_by?: string | undefined;
592
+ updated_by?: string | undefined;
594
593
  } | {
595
594
  _id: string;
596
595
  created_at: number & {
@@ -608,14 +607,14 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
608
607
  created_at: number & {
609
608
  __brand: "UnixTimestamp";
610
609
  };
611
- created_by: string;
612
610
  updated_at: number & {
613
611
  __brand: "UnixTimestamp";
614
612
  };
615
- updated_by: string;
616
613
  type: "statusChanged";
617
614
  curr_status: string;
618
615
  prev_status: string;
616
+ created_by?: string | undefined;
617
+ updated_by?: string | undefined;
619
618
  }, {
620
619
  _id: string;
621
620
  created_at: number;
@@ -643,10 +642,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
643
642
  updated_by?: string | undefined;
644
643
  }>, "many">;
645
644
  observations: z.ZodOptional<z.ZodNullable<z.ZodString>>;
646
- }, "created_at" | "updated_at">, "strict", z.ZodTypeAny, {
647
- _id: string;
648
- created_by: string;
649
- updated_by: string;
645
+ }, "_id" | "created_at" | "updated_at">, "strict", z.ZodTypeAny, {
650
646
  name: string;
651
647
  has_bench: "unknown" | "yes" | "no";
652
648
  has_network_map: "unknown" | "yes" | "no";
@@ -660,13 +656,13 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
660
656
  created_at: number & {
661
657
  __brand: "UnixTimestamp";
662
658
  };
663
- created_by: string;
664
659
  updated_at: number & {
665
660
  __brand: "UnixTimestamp";
666
661
  };
667
- updated_by: string;
668
662
  message: string;
669
663
  type: "note";
664
+ created_by?: string | undefined;
665
+ updated_by?: string | undefined;
670
666
  } | {
671
667
  _id: string;
672
668
  created_at: number & {
@@ -684,14 +680,14 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
684
680
  created_at: number & {
685
681
  __brand: "UnixTimestamp";
686
682
  };
687
- created_by: string;
688
683
  updated_at: number & {
689
684
  __brand: "UnixTimestamp";
690
685
  };
691
- updated_by: string;
692
686
  type: "statusChanged";
693
687
  curr_status: string;
694
688
  prev_status: string;
689
+ created_by?: string | undefined;
690
+ updated_by?: string | undefined;
695
691
  })[];
696
692
  is_archived: boolean;
697
693
  jurisdiction: "unknown" | "ip" | "municipality" | "other";
@@ -710,6 +706,8 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
710
706
  has_mupi: "unknown" | "yes" | "no";
711
707
  file_ids: string[];
712
708
  image_ids: string[];
709
+ created_by?: string | undefined;
710
+ updated_by?: string | undefined;
713
711
  short_name?: string | null | undefined;
714
712
  parish_id?: string | null | undefined;
715
713
  shelter_code?: string | null | undefined;
@@ -719,16 +717,15 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
719
717
  tts_name?: string | null | undefined;
720
718
  locality_id?: string | null | undefined;
721
719
  shelter_frame_size?: [number, number] | null | undefined;
722
- shelter_installation_date?: UnixTimestamp | null | undefined;
720
+ shelter_installation_date?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
723
721
  shelter_make?: string | null | undefined;
724
722
  shelter_model?: string | null | undefined;
725
- last_infrastructure_check?: UnixTimestamp | null | undefined;
726
- last_infrastructure_maintenance?: UnixTimestamp | null | undefined;
727
- last_schedules_check?: UnixTimestamp | null | undefined;
728
- last_schedules_maintenance?: UnixTimestamp | null | undefined;
723
+ last_infrastructure_check?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
724
+ last_infrastructure_maintenance?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
725
+ last_schedules_check?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
726
+ last_schedules_maintenance?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
729
727
  observations?: string | null | undefined;
730
728
  }, {
731
- _id: string;
732
729
  name: string;
733
730
  has_bench: "unknown" | "yes" | "no";
734
731
  has_network_map: "unknown" | "yes" | "no";
@@ -801,8 +798,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
801
798
  observations?: string | null | undefined;
802
799
  }>;
803
800
  export declare const UpdateStopSchema: z.ZodObject<{
804
- created_by: z.ZodOptional<z.ZodDefault<z.ZodString>>;
805
- updated_by: z.ZodOptional<z.ZodDefault<z.ZodString>>;
801
+ updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
806
802
  name: z.ZodOptional<z.ZodString>;
807
803
  short_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
808
804
  has_bench: z.ZodOptional<z.ZodEnum<["yes", "no", "unknown"]>>;
@@ -817,10 +813,10 @@ export declare const UpdateStopSchema: z.ZodObject<{
817
813
  is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
818
814
  comments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
819
815
  _id: z.ZodString;
820
- created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
821
- created_by: z.ZodDefault<z.ZodString>;
822
- updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
823
- updated_by: z.ZodDefault<z.ZodString>;
816
+ created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
817
+ created_by: z.ZodOptional<z.ZodString>;
818
+ updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
819
+ updated_by: z.ZodOptional<z.ZodString>;
824
820
  } & {
825
821
  message: z.ZodString;
826
822
  type: z.ZodLiteral<"note">;
@@ -829,13 +825,13 @@ export declare const UpdateStopSchema: z.ZodObject<{
829
825
  created_at: number & {
830
826
  __brand: "UnixTimestamp";
831
827
  };
832
- created_by: string;
833
828
  updated_at: number & {
834
829
  __brand: "UnixTimestamp";
835
830
  };
836
- updated_by: string;
837
831
  message: string;
838
832
  type: "note";
833
+ created_by?: string | undefined;
834
+ updated_by?: string | undefined;
839
835
  }, {
840
836
  _id: string;
841
837
  created_at: number;
@@ -846,8 +842,8 @@ export declare const UpdateStopSchema: z.ZodObject<{
846
842
  updated_by?: string | undefined;
847
843
  }>, z.ZodObject<{
848
844
  _id: z.ZodString;
849
- created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
850
- updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
845
+ created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
846
+ updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
851
847
  } & {
852
848
  created_by: z.ZodLiteral<"system">;
853
849
  message: z.ZodString;
@@ -875,10 +871,10 @@ export declare const UpdateStopSchema: z.ZodObject<{
875
871
  type: "system_info";
876
872
  }>, z.ZodObject<{
877
873
  _id: z.ZodString;
878
- created_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
879
- created_by: z.ZodDefault<z.ZodString>;
880
- updated_at: z.ZodEffects<z.ZodNumber, UnixTimestamp, number>;
881
- updated_by: z.ZodDefault<z.ZodString>;
874
+ created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
875
+ created_by: z.ZodOptional<z.ZodString>;
876
+ updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
877
+ updated_by: z.ZodOptional<z.ZodString>;
882
878
  } & {
883
879
  curr_status: z.ZodString;
884
880
  prev_status: z.ZodString;
@@ -888,14 +884,14 @@ export declare const UpdateStopSchema: z.ZodObject<{
888
884
  created_at: number & {
889
885
  __brand: "UnixTimestamp";
890
886
  };
891
- created_by: string;
892
887
  updated_at: number & {
893
888
  __brand: "UnixTimestamp";
894
889
  };
895
- updated_by: string;
896
890
  type: "statusChanged";
897
891
  curr_status: string;
898
892
  prev_status: string;
893
+ created_by?: string | undefined;
894
+ updated_by?: string | undefined;
899
895
  }, {
900
896
  _id: string;
901
897
  created_at: number;
@@ -910,13 +906,13 @@ export declare const UpdateStopSchema: z.ZodObject<{
910
906
  created_at: number & {
911
907
  __brand: "UnixTimestamp";
912
908
  };
913
- created_by: string;
914
909
  updated_at: number & {
915
910
  __brand: "UnixTimestamp";
916
911
  };
917
- updated_by: string;
918
912
  message: string;
919
913
  type: "note";
914
+ created_by?: string | undefined;
915
+ updated_by?: string | undefined;
920
916
  } | {
921
917
  _id: string;
922
918
  created_at: number & {
@@ -934,14 +930,14 @@ export declare const UpdateStopSchema: z.ZodObject<{
934
930
  created_at: number & {
935
931
  __brand: "UnixTimestamp";
936
932
  };
937
- created_by: string;
938
933
  updated_at: number & {
939
934
  __brand: "UnixTimestamp";
940
935
  };
941
- updated_by: string;
942
936
  type: "statusChanged";
943
937
  curr_status: string;
944
938
  prev_status: string;
939
+ created_by?: string | undefined;
940
+ updated_by?: string | undefined;
945
941
  }, {
946
942
  _id: string;
947
943
  created_at: number;
@@ -983,14 +979,14 @@ export declare const UpdateStopSchema: z.ZodObject<{
983
979
  pole_status: z.ZodOptional<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>>;
984
980
  road_type: z.ZodOptional<z.ZodEnum<["complementary_itinerary", "highway", "main_itinerary", "national_road", "regional_road", "secondary_road", "unknown"]>>;
985
981
  shelter_frame_size: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>>;
986
- shelter_installation_date: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>>;
982
+ shelter_installation_date: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>>;
987
983
  shelter_make: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
988
984
  shelter_model: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
989
985
  shelter_status: z.ZodOptional<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>>;
990
- last_infrastructure_check: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>>;
991
- last_infrastructure_maintenance: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>>;
992
- last_schedules_check: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>>;
993
- last_schedules_maintenance: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>>>>;
986
+ last_infrastructure_check: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>>;
987
+ last_infrastructure_maintenance: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>>;
988
+ last_schedules_check: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>>;
989
+ last_schedules_maintenance: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>>>>;
994
990
  connections: z.ZodOptional<z.ZodArray<z.ZodEnum<["ferry", "light_rail", "subway", "train", "boat", "airport", "bike_sharing", "bike_parking", "car_parking"]>, "many">>;
995
991
  facilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["fire_station", "health_clinic", "historic_building", "hospital", "police_station", "school", "shopping", "transit_office", "university", "beach"]>, "many">>;
996
992
  equipment: z.ZodOptional<z.ZodArray<z.ZodEnum<["pip", "mupi", "mini_pip"]>, "many">>;
@@ -999,7 +995,6 @@ export declare const UpdateStopSchema: z.ZodObject<{
999
995
  image_ids: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1000
996
  observations: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1001
997
  }, "strict", z.ZodTypeAny, {
1002
- created_by?: string | undefined;
1003
998
  updated_by?: string | undefined;
1004
999
  name?: string | undefined;
1005
1000
  short_name?: string | null | undefined;
@@ -1018,13 +1013,13 @@ export declare const UpdateStopSchema: z.ZodObject<{
1018
1013
  created_at: number & {
1019
1014
  __brand: "UnixTimestamp";
1020
1015
  };
1021
- created_by: string;
1022
1016
  updated_at: number & {
1023
1017
  __brand: "UnixTimestamp";
1024
1018
  };
1025
- updated_by: string;
1026
1019
  message: string;
1027
1020
  type: "note";
1021
+ created_by?: string | undefined;
1022
+ updated_by?: string | undefined;
1028
1023
  } | {
1029
1024
  _id: string;
1030
1025
  created_at: number & {
@@ -1042,14 +1037,14 @@ export declare const UpdateStopSchema: z.ZodObject<{
1042
1037
  created_at: number & {
1043
1038
  __brand: "UnixTimestamp";
1044
1039
  };
1045
- created_by: string;
1046
1040
  updated_at: number & {
1047
1041
  __brand: "UnixTimestamp";
1048
1042
  };
1049
- updated_by: string;
1050
1043
  type: "statusChanged";
1051
1044
  curr_status: string;
1052
1045
  prev_status: string;
1046
+ created_by?: string | undefined;
1047
+ updated_by?: string | undefined;
1053
1048
  })[] | undefined;
1054
1049
  is_archived?: boolean | undefined;
1055
1050
  jurisdiction?: "unknown" | "ip" | "municipality" | "other" | undefined;
@@ -1066,14 +1061,14 @@ export declare const UpdateStopSchema: z.ZodObject<{
1066
1061
  pole_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
1067
1062
  road_type?: "unknown" | "complementary_itinerary" | "highway" | "main_itinerary" | "national_road" | "regional_road" | "secondary_road" | undefined;
1068
1063
  shelter_frame_size?: [number, number] | null | undefined;
1069
- shelter_installation_date?: UnixTimestamp | null | undefined;
1064
+ shelter_installation_date?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
1070
1065
  shelter_make?: string | null | undefined;
1071
1066
  shelter_model?: string | null | undefined;
1072
1067
  shelter_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
1073
- last_infrastructure_check?: UnixTimestamp | null | undefined;
1074
- last_infrastructure_maintenance?: UnixTimestamp | null | undefined;
1075
- last_schedules_check?: UnixTimestamp | null | undefined;
1076
- last_schedules_maintenance?: UnixTimestamp | null | undefined;
1068
+ last_infrastructure_check?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
1069
+ last_infrastructure_maintenance?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
1070
+ last_schedules_check?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
1071
+ last_schedules_maintenance?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
1077
1072
  connections?: ("ferry" | "light_rail" | "subway" | "train" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
1078
1073
  facilities?: ("school" | "fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
1079
1074
  equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
@@ -1082,7 +1077,6 @@ export declare const UpdateStopSchema: z.ZodObject<{
1082
1077
  image_ids?: string[] | undefined;
1083
1078
  observations?: string | null | undefined;
1084
1079
  }, {
1085
- created_by?: string | undefined;
1086
1080
  updated_by?: string | undefined;
1087
1081
  name?: string | undefined;
1088
1082
  short_name?: string | null | undefined;
@@ -1153,21 +1147,9 @@ export declare const UpdateStopSchema: z.ZodObject<{
1153
1147
  image_ids?: string[] | undefined;
1154
1148
  observations?: string | null | undefined;
1155
1149
  }>;
1156
- export interface Stop extends Omit<z.infer<typeof StopSchema>, 'last_infrastructure_check' | 'last_infrastructure_maintenance' | 'last_schedules_check' | 'last_schedules_maintenance' | 'last_shelter_installation'> {
1157
- last_infrastructure_check?: UnixTimestamp;
1158
- last_infrastructure_maintenance?: UnixTimestamp;
1159
- last_schedules_check?: UnixTimestamp;
1160
- last_schedules_maintenance?: UnixTimestamp;
1161
- last_shelter_installation?: UnixTimestamp;
1162
- }
1163
- export interface CreateStopDto extends Omit<z.infer<typeof CreateStopSchema>, 'last_infrastructure_check' | 'last_infrastructure_maintenance' | 'last_schedules_check' | 'last_schedules_maintenance' | 'last_shelter_installation'> {
1164
- last_infrastructure_check?: UnixTimestamp;
1165
- last_infrastructure_maintenance?: UnixTimestamp;
1166
- last_schedules_check?: UnixTimestamp;
1167
- last_schedules_maintenance?: UnixTimestamp;
1168
- last_shelter_installation?: UnixTimestamp;
1169
- }
1170
- export type UpdateStopDto = Partial<Omit<CreateStopDto, 'created_by'>>;
1150
+ export type Stop = z.infer<typeof StopSchema>;
1151
+ export type CreateStopDto = z.infer<typeof CreateStopSchema>;
1152
+ export type UpdateStopDto = z.infer<typeof UpdateStopSchema>;
1171
1153
  export declare const StopPermissionSchema: z.ZodObject<{
1172
1154
  agency_ids: z.ZodArray<z.ZodString, "many">;
1173
1155
  municipality_ids: z.ZodArray<z.ZodString, "many">;