@tmlmobilidade/types 20260722.1043.2 → 20260723.1350.16

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 (117) hide show
  1. package/dist/agencies/agency.d.ts +6 -6
  2. package/dist/alerts/alert.d.ts +30 -30
  3. package/dist/app-configs/base.d.ts +4 -4
  4. package/dist/{file.d.ts → attachment.d.ts} +12 -12
  5. package/dist/{file.js → attachment.js} +3 -3
  6. package/dist/auth/role.d.ts +6 -6
  7. package/dist/auth/session.d.ts +12 -12
  8. package/dist/auth/simplified-user.d.ts +5 -5
  9. package/dist/auth/user-preferences.d.ts +26 -26
  10. package/dist/auth/user.d.ts +30 -30
  11. package/dist/auth/verification-token.d.ts +12 -12
  12. package/dist/dates/annotation.d.ts +6 -6
  13. package/dist/dates/event.d.ts +6 -6
  14. package/dist/dates/holiday.d.ts +6 -6
  15. package/dist/dates/year-period.d.ts +6 -6
  16. package/dist/file-exports/base.d.ts +4 -4
  17. package/dist/file-exports/file-exports.d.ts +38 -38
  18. package/dist/file-exports/gtfs-export.d.ts +4 -4
  19. package/dist/file-exports/ride-export.d.ts +19 -19
  20. package/dist/file-exports/ride-export.js +1 -1
  21. package/dist/file-exports/sams-analysis-export.d.ts +32 -32
  22. package/dist/file-exports/stop-export.d.ts +14 -14
  23. package/dist/file-exports/vehicle-export.d.ts +4 -4
  24. package/dist/gtfs-validation/gtfs-validation.d.ts +20 -7
  25. package/dist/gtfs-validation/gtfs-validation.js +3 -2
  26. package/dist/index.d.ts +1 -3
  27. package/dist/index.js +1 -3
  28. package/dist/notification.d.ts +6 -6
  29. package/dist/offer/fare.d.ts +6 -6
  30. package/dist/offer/line.d.ts +16 -16
  31. package/dist/offer/pattern.d.ts +78 -78
  32. package/dist/offer/route.d.ts +6 -6
  33. package/dist/offer/typology.d.ts +6 -6
  34. package/dist/offer/zone.d.ts +4 -4
  35. package/dist/operation/hashed-lines/hashed-line.d.ts +4 -4
  36. package/dist/operation/hashed-patterns/hashed-pattern.d.ts +4 -4
  37. package/dist/operation/hashed-trips/hashed-trip.d.ts +4 -4
  38. package/dist/operation/lines/batch-query.d.ts +4 -4
  39. package/dist/operation/lines/operational-line.d.ts +6 -6
  40. package/dist/operation/rides/batch-query.d.ts +4 -4
  41. package/dist/operation/rides/ride-acceptance.d.ts +117 -117
  42. package/dist/operation/rides/ride-analysis.d.ts +39 -39
  43. package/dist/operation/rides/ride-analysis.js +13 -13
  44. package/dist/operation/rides/ride-audit.d.ts +24 -24
  45. package/dist/operation/rides/ride-normalized.d.ts +119 -116
  46. package/dist/operation/rides/ride.d.ts +321 -312
  47. package/dist/operation/rides/ride.js +4 -3
  48. package/dist/operation/stops/batch-query.d.ts +4 -4
  49. package/dist/operation/stops/operational-stop.d.ts +6 -6
  50. package/dist/organization.d.ts +6 -6
  51. package/dist/plans/plan-app-status.d.ts +2 -2
  52. package/dist/plans/plan.d.ts +77 -64
  53. package/dist/plans/plan.js +4 -3
  54. package/dist/sams/batch-query.d.ts +4 -4
  55. package/dist/sams/sam-analysis.d.ts +4 -4
  56. package/dist/sams/sam.d.ts +36 -36
  57. package/dist/stops/parent-station.d.ts +6 -6
  58. package/dist/stops/stop-area.d.ts +6 -6
  59. package/dist/stops/stop.d.ts +108 -108
  60. package/dist/vehicle/vehicle.d.ts +6 -6
  61. package/package.json +1 -1
  62. package/dist/proposed-change.d.ts +0 -120
  63. package/dist/proposed-change.js +0 -18
  64. package/dist/vehicle-events/index.d.ts +0 -2
  65. package/dist/vehicle-events/index.js +0 -2
  66. package/dist/vehicle-events/raw/ccfl/index.d.ts +0 -1
  67. package/dist/vehicle-events/raw/ccfl/index.js +0 -1
  68. package/dist/vehicle-events/raw/ccfl/v1.d.ts +0 -374
  69. package/dist/vehicle-events/raw/ccfl/v1.js +0 -37
  70. package/dist/vehicle-events/raw/cmet/index.d.ts +0 -2
  71. package/dist/vehicle-events/raw/cmet/index.js +0 -2
  72. package/dist/vehicle-events/raw/cmet/v1-core.d.ts +0 -574
  73. package/dist/vehicle-events/raw/cmet/v1-core.js +0 -50
  74. package/dist/vehicle-events/raw/cmet/v1-log.d.ts +0 -574
  75. package/dist/vehicle-events/raw/cmet/v1-log.js +0 -50
  76. package/dist/vehicle-events/raw/cp/index.d.ts +0 -1
  77. package/dist/vehicle-events/raw/cp/index.js +0 -1
  78. package/dist/vehicle-events/raw/cp/v1.d.ts +0 -346
  79. package/dist/vehicle-events/raw/cp/v1.js +0 -35
  80. package/dist/vehicle-events/raw/crtm-aisa/index.d.ts +0 -1
  81. package/dist/vehicle-events/raw/crtm-aisa/index.js +0 -1
  82. package/dist/vehicle-events/raw/crtm-aisa/v1.d.ts +0 -494
  83. package/dist/vehicle-events/raw/crtm-aisa/v1.js +0 -46
  84. package/dist/vehicle-events/raw/crtm-laveloz/index.d.ts +0 -1
  85. package/dist/vehicle-events/raw/crtm-laveloz/index.js +0 -1
  86. package/dist/vehicle-events/raw/crtm-laveloz/v1.d.ts +0 -494
  87. package/dist/vehicle-events/raw/crtm-laveloz/v1.js +0 -46
  88. package/dist/vehicle-events/raw/fertagus/index.d.ts +0 -1
  89. package/dist/vehicle-events/raw/fertagus/index.js +0 -1
  90. package/dist/vehicle-events/raw/fertagus/v1.d.ts +0 -376
  91. package/dist/vehicle-events/raw/fertagus/v1.js +0 -37
  92. package/dist/vehicle-events/raw/index.d.ts +0 -12
  93. package/dist/vehicle-events/raw/index.js +0 -12
  94. package/dist/vehicle-events/raw/ml/index.d.ts +0 -1
  95. package/dist/vehicle-events/raw/ml/index.js +0 -1
  96. package/dist/vehicle-events/raw/ml/v1.d.ts +0 -326
  97. package/dist/vehicle-events/raw/ml/v1.js +0 -30
  98. package/dist/vehicle-events/raw/mobi/index.d.ts +0 -1
  99. package/dist/vehicle-events/raw/mobi/index.js +0 -1
  100. package/dist/vehicle-events/raw/mobi/v1.d.ts +0 -422
  101. package/dist/vehicle-events/raw/mobi/v1.js +0 -41
  102. package/dist/vehicle-events/raw/raw-vehicle-event-base.d.ts +0 -27
  103. package/dist/vehicle-events/raw/raw-vehicle-event-base.js +0 -12
  104. package/dist/vehicle-events/raw/raw-vehicle-event.d.ts +0 -2875
  105. package/dist/vehicle-events/raw/raw-vehicle-event.js +0 -27
  106. package/dist/vehicle-events/raw/tcb/index.d.ts +0 -1
  107. package/dist/vehicle-events/raw/tcb/index.js +0 -1
  108. package/dist/vehicle-events/raw/tcb/v1.d.ts +0 -434
  109. package/dist/vehicle-events/raw/tcb/v1.js +0 -42
  110. package/dist/vehicle-events/raw/ttsl/index.d.ts +0 -1
  111. package/dist/vehicle-events/raw/ttsl/index.js +0 -1
  112. package/dist/vehicle-events/raw/ttsl/v1.d.ts +0 -374
  113. package/dist/vehicle-events/raw/ttsl/v1.js +0 -37
  114. package/dist/vehicle-events/simplified/index.d.ts +0 -1
  115. package/dist/vehicle-events/simplified/index.js +0 -1
  116. package/dist/vehicle-events/simplified/simplified-vehicle-event.d.ts +0 -77
  117. package/dist/vehicle-events/simplified/simplified-vehicle-event.js +0 -34
@@ -1,10 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  export declare const AgencySchema: z.ZodObject<{
3
3
  _id: z.ZodString;
4
- created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
4
+ created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
5
5
  created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6
6
  is_locked: z.ZodDefault<z.ZodBoolean>;
7
- updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
7
+ updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
8
8
  updated_by: z.ZodOptional<z.ZodString>;
9
9
  } & {
10
10
  alerts_map: z.ZodRecord<z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "MEDICAL_EMERGENCY", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_ISSUE", "WEATHER", "ABUSIVE_PARKING", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "NETWORK_UPDATE", "ROAD_ISSUE", "TRAFFIC_JAM", "PUBLIC_DISORDER", "VEHICLE_ISSUE"]>, z.ZodRecord<z.ZodEnum<["ACCESSIBILITY_ISSUE", "ADDITIONAL_SERVICE", "DETOUR", "MODIFIED_SERVICE", "NO_SERVICE", "REDUCED_SERVICE", "SIGNIFICANT_DELAYS", "STOP_MOVED", "REALTIME_INFO_ISSUE", "ON_BOARD_SALE_ISSUE"]>, z.ZodRecord<z.ZodEnum<["agency", "lines", "stops", "rides"]>, z.ZodDefault<z.ZodBoolean>>>>;
@@ -74,8 +74,8 @@ export declare const AgencySchema: z.ZodObject<{
74
74
  validation_rules?: any;
75
75
  }, {
76
76
  _id: string;
77
- created_at: number;
78
- updated_at: number;
77
+ created_at: string | number;
78
+ updated_at: string | number;
79
79
  code: string;
80
80
  name: string;
81
81
  alerts_map: Partial<Record<"ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "MEDICAL_EMERGENCY" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "WEATHER" | "ABUSIVE_PARKING" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "NETWORK_UPDATE" | "ROAD_ISSUE" | "TRAFFIC_JAM" | "PUBLIC_DISORDER" | "VEHICLE_ISSUE", Partial<Record<"ACCESSIBILITY_ISSUE" | "ADDITIONAL_SERVICE" | "DETOUR" | "MODIFIED_SERVICE" | "NO_SERVICE" | "REDUCED_SERVICE" | "SIGNIFICANT_DELAYS" | "STOP_MOVED" | "REALTIME_INFO_ISSUE" | "ON_BOARD_SALE_ISSUE", Partial<Record<"agency" | "lines" | "stops" | "rides", boolean | undefined>>>>>>;
@@ -104,10 +104,10 @@ export declare const AgencySchema: z.ZodObject<{
104
104
  }>;
105
105
  export declare const CreateAgencySchema: z.ZodObject<Omit<{
106
106
  _id: z.ZodString;
107
- created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
107
+ created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
108
108
  created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
109
109
  is_locked: z.ZodDefault<z.ZodBoolean>;
110
- updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
110
+ updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
111
111
  updated_by: z.ZodOptional<z.ZodString>;
112
112
  } & {
113
113
  alerts_map: z.ZodRecord<z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "MEDICAL_EMERGENCY", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_ISSUE", "WEATHER", "ABUSIVE_PARKING", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "NETWORK_UPDATE", "ROAD_ISSUE", "TRAFFIC_JAM", "PUBLIC_DISORDER", "VEHICLE_ISSUE"]>, z.ZodRecord<z.ZodEnum<["ACCESSIBILITY_ISSUE", "ADDITIONAL_SERVICE", "DETOUR", "MODIFIED_SERVICE", "NO_SERVICE", "REDUCED_SERVICE", "SIGNIFICANT_DELAYS", "STOP_MOVED", "REALTIME_INFO_ISSUE", "ON_BOARD_SALE_ISSUE"]>, z.ZodRecord<z.ZodEnum<["agency", "lines", "stops", "rides"]>, z.ZodDefault<z.ZodBoolean>>>>;
@@ -1,14 +1,14 @@
1
1
  import { z } from 'zod';
2
2
  export declare const AlertSchema: z.ZodObject<{
3
3
  _id: z.ZodString;
4
- created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
4
+ created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
5
5
  created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6
6
  is_locked: z.ZodDefault<z.ZodBoolean>;
7
- updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
7
+ updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
8
8
  updated_by: z.ZodOptional<z.ZodString>;
9
9
  } & {
10
- active_period_end_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>;
11
- active_period_start_date: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
10
+ active_period_end_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>>>;
11
+ active_period_start_date: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
12
12
  agency_id: z.ZodString;
13
13
  auto_texts: z.ZodDefault<z.ZodBoolean>;
14
14
  cause: z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "MEDICAL_EMERGENCY", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_ISSUE", "WEATHER", "ABUSIVE_PARKING", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "NETWORK_UPDATE", "ROAD_ISSUE", "TRAFFIC_JAM", "PUBLIC_DISORDER", "VEHICLE_ISSUE"]>;
@@ -19,8 +19,8 @@ export declare const AlertSchema: z.ZodObject<{
19
19
  file_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
20
20
  info_url: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
21
21
  municipality_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
22
- publish_end_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>;
23
- publish_start_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>;
22
+ publish_end_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>>>;
23
+ publish_start_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>>>;
24
24
  publish_status: z.ZodDefault<z.ZodEnum<["published", "archived", "draft"]>>;
25
25
  reference_type: z.ZodEnum<["agency", "lines", "stops", "rides"]>;
26
26
  references: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -72,10 +72,10 @@ export declare const AlertSchema: z.ZodObject<{
72
72
  updated_by?: string | undefined;
73
73
  }, {
74
74
  _id: string;
75
- created_at: number;
76
- updated_at: number;
75
+ created_at: string | number;
76
+ updated_at: string | number;
77
77
  description: string;
78
- active_period_start_date: number;
78
+ active_period_start_date: string | number;
79
79
  agency_id: string;
80
80
  cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "MEDICAL_EMERGENCY" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "WEATHER" | "ABUSIVE_PARKING" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "NETWORK_UPDATE" | "ROAD_ISSUE" | "TRAFFIC_JAM" | "PUBLIC_DISORDER" | "VEHICLE_ISSUE";
81
81
  effect: "ACCESSIBILITY_ISSUE" | "ADDITIONAL_SERVICE" | "DETOUR" | "MODIFIED_SERVICE" | "NO_SERVICE" | "REDUCED_SERVICE" | "SIGNIFICANT_DELAYS" | "STOP_MOVED" | "REALTIME_INFO_ISSUE" | "ON_BOARD_SALE_ISSUE";
@@ -84,15 +84,15 @@ export declare const AlertSchema: z.ZodObject<{
84
84
  created_by?: string | null | undefined;
85
85
  is_locked?: boolean | undefined;
86
86
  updated_by?: string | undefined;
87
- active_period_end_date?: number | null | undefined;
87
+ active_period_end_date?: string | number | null | undefined;
88
88
  auto_texts?: boolean | undefined;
89
89
  coordinates?: [number, number] | null | undefined;
90
90
  external_id?: string | null | undefined;
91
91
  file_id?: string | null | undefined;
92
92
  info_url?: string | null | undefined;
93
93
  municipality_ids?: string[] | undefined;
94
- publish_end_date?: number | null | undefined;
95
- publish_start_date?: number | null | undefined;
94
+ publish_end_date?: string | number | null | undefined;
95
+ publish_start_date?: string | number | null | undefined;
96
96
  publish_status?: "published" | "archived" | "draft" | undefined;
97
97
  references?: {
98
98
  child_ids: string[];
@@ -102,14 +102,14 @@ export declare const AlertSchema: z.ZodObject<{
102
102
  }>;
103
103
  export declare const CreateAlertSchema: z.ZodObject<Omit<{
104
104
  _id: z.ZodString;
105
- created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
105
+ created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
106
106
  created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
107
107
  is_locked: z.ZodDefault<z.ZodBoolean>;
108
- updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
108
+ updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
109
109
  updated_by: z.ZodOptional<z.ZodString>;
110
110
  } & {
111
- active_period_end_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>;
112
- active_period_start_date: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
111
+ active_period_end_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>>>;
112
+ active_period_start_date: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
113
113
  agency_id: z.ZodString;
114
114
  auto_texts: z.ZodDefault<z.ZodBoolean>;
115
115
  cause: z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "MEDICAL_EMERGENCY", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_ISSUE", "WEATHER", "ABUSIVE_PARKING", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "NETWORK_UPDATE", "ROAD_ISSUE", "TRAFFIC_JAM", "PUBLIC_DISORDER", "VEHICLE_ISSUE"]>;
@@ -120,8 +120,8 @@ export declare const CreateAlertSchema: z.ZodObject<Omit<{
120
120
  file_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
121
121
  info_url: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
122
122
  municipality_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
123
- publish_end_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>;
124
- publish_start_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>;
123
+ publish_end_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>>>;
124
+ publish_start_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>>>;
125
125
  publish_status: z.ZodDefault<z.ZodEnum<["published", "archived", "draft"]>>;
126
126
  reference_type: z.ZodEnum<["agency", "lines", "stops", "rides"]>;
127
127
  references: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -164,22 +164,22 @@ export declare const CreateAlertSchema: z.ZodObject<Omit<{
164
164
  user_instructions: string;
165
165
  }, {
166
166
  description: string;
167
- active_period_start_date: number;
167
+ active_period_start_date: string | number;
168
168
  agency_id: string;
169
169
  cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "MEDICAL_EMERGENCY" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "WEATHER" | "ABUSIVE_PARKING" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "NETWORK_UPDATE" | "ROAD_ISSUE" | "TRAFFIC_JAM" | "PUBLIC_DISORDER" | "VEHICLE_ISSUE";
170
170
  effect: "ACCESSIBILITY_ISSUE" | "ADDITIONAL_SERVICE" | "DETOUR" | "MODIFIED_SERVICE" | "NO_SERVICE" | "REDUCED_SERVICE" | "SIGNIFICANT_DELAYS" | "STOP_MOVED" | "REALTIME_INFO_ISSUE" | "ON_BOARD_SALE_ISSUE";
171
171
  reference_type: "agency" | "lines" | "stops" | "rides";
172
172
  title: string;
173
173
  is_locked?: boolean | undefined;
174
- active_period_end_date?: number | null | undefined;
174
+ active_period_end_date?: string | number | null | undefined;
175
175
  auto_texts?: boolean | undefined;
176
176
  coordinates?: [number, number] | null | undefined;
177
177
  external_id?: string | null | undefined;
178
178
  file_id?: string | null | undefined;
179
179
  info_url?: string | null | undefined;
180
180
  municipality_ids?: string[] | undefined;
181
- publish_end_date?: number | null | undefined;
182
- publish_start_date?: number | null | undefined;
181
+ publish_end_date?: string | number | null | undefined;
182
+ publish_start_date?: string | number | null | undefined;
183
183
  publish_status?: "published" | "archived" | "draft" | undefined;
184
184
  references?: {
185
185
  child_ids: string[];
@@ -190,8 +190,8 @@ export declare const CreateAlertSchema: z.ZodObject<Omit<{
190
190
  export declare const UpdateAlertSchema: z.ZodObject<{
191
191
  is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
192
192
  description: z.ZodOptional<z.ZodString>;
193
- active_period_end_date: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>>;
194
- active_period_start_date: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>;
193
+ active_period_end_date: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>>>>;
194
+ active_period_start_date: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>>;
195
195
  agency_id: z.ZodOptional<z.ZodString>;
196
196
  auto_texts: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
197
197
  cause: z.ZodOptional<z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "MEDICAL_EMERGENCY", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_ISSUE", "WEATHER", "ABUSIVE_PARKING", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "NETWORK_UPDATE", "ROAD_ISSUE", "TRAFFIC_JAM", "PUBLIC_DISORDER", "VEHICLE_ISSUE"]>>;
@@ -201,8 +201,8 @@ export declare const UpdateAlertSchema: z.ZodObject<{
201
201
  file_id: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
202
202
  info_url: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>>;
203
203
  municipality_ids: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
204
- publish_end_date: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>>;
205
- publish_start_date: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>>;
204
+ publish_end_date: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>>>>;
205
+ publish_start_date: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>>>>;
206
206
  publish_status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["published", "archived", "draft"]>>>;
207
207
  reference_type: z.ZodOptional<z.ZodEnum<["agency", "lines", "stops", "rides"]>>;
208
208
  references: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -244,8 +244,8 @@ export declare const UpdateAlertSchema: z.ZodObject<{
244
244
  }, {
245
245
  is_locked?: boolean | undefined;
246
246
  description?: string | undefined;
247
- active_period_end_date?: number | null | undefined;
248
- active_period_start_date?: number | undefined;
247
+ active_period_end_date?: string | number | null | undefined;
248
+ active_period_start_date?: string | number | undefined;
249
249
  agency_id?: string | undefined;
250
250
  auto_texts?: boolean | undefined;
251
251
  cause?: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "MEDICAL_EMERGENCY" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "WEATHER" | "ABUSIVE_PARKING" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "NETWORK_UPDATE" | "ROAD_ISSUE" | "TRAFFIC_JAM" | "PUBLIC_DISORDER" | "VEHICLE_ISSUE" | undefined;
@@ -255,8 +255,8 @@ export declare const UpdateAlertSchema: z.ZodObject<{
255
255
  file_id?: string | null | undefined;
256
256
  info_url?: string | null | undefined;
257
257
  municipality_ids?: string[] | undefined;
258
- publish_end_date?: number | null | undefined;
259
- publish_start_date?: number | null | undefined;
258
+ publish_end_date?: string | number | null | undefined;
259
+ publish_start_date?: string | number | null | undefined;
260
260
  publish_status?: "published" | "archived" | "draft" | undefined;
261
261
  reference_type?: "agency" | "lines" | "stops" | "rides" | undefined;
262
262
  references?: {
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
2
  export declare const AppConfigBaseSchema: z.ZodObject<{
3
- created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
3
+ created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
4
4
  created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5
5
  is_locked: z.ZodDefault<z.ZodBoolean>;
6
- updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
6
+ updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
7
7
  updated_by: z.ZodOptional<z.ZodString>;
8
8
  } & {
9
9
  _id: z.ZodString;
@@ -20,8 +20,8 @@ export declare const AppConfigBaseSchema: z.ZodObject<{
20
20
  updated_by?: string | undefined;
21
21
  }, {
22
22
  _id: string;
23
- created_at: number;
24
- updated_at: number;
23
+ created_at: string | number;
24
+ updated_at: string | number;
25
25
  created_by?: string | null | undefined;
26
26
  is_locked?: boolean | undefined;
27
27
  updated_by?: string | undefined;
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- export declare const FileSchema: z.ZodObject<{
2
+ export declare const AttachmentSchema: z.ZodObject<{
3
3
  _id: z.ZodString;
4
- created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
5
- updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
4
+ created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
5
+ updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
6
6
  } & {
7
7
  created_by: z.ZodString;
8
8
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34,9 +34,9 @@ export declare const FileSchema: z.ZodObject<{
34
34
  url?: string | null | undefined;
35
35
  }, {
36
36
  _id: string;
37
- created_at: number;
37
+ created_at: string | number;
38
38
  created_by: string;
39
- updated_at: number;
39
+ updated_at: string | number;
40
40
  updated_by: string;
41
41
  type: string;
42
42
  name: string;
@@ -47,10 +47,10 @@ export declare const FileSchema: z.ZodObject<{
47
47
  metadata?: Record<string, unknown> | null | undefined;
48
48
  url?: string | null | undefined;
49
49
  }>;
50
- export declare const CreateFileSchema: z.ZodObject<Omit<{
50
+ export declare const CreateAttachmentSchema: z.ZodObject<Omit<{
51
51
  _id: z.ZodString;
52
- created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
53
- updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
52
+ created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
53
+ updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
54
54
  } & {
55
55
  created_by: z.ZodString;
56
56
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -85,7 +85,7 @@ export declare const CreateFileSchema: z.ZodObject<Omit<{
85
85
  metadata?: Record<string, unknown> | null | undefined;
86
86
  url?: string | null | undefined;
87
87
  }>;
88
- export declare const UpdateFileSchema: z.ZodObject<{
88
+ export declare const UpdateAttachmentSchema: z.ZodObject<{
89
89
  updated_by: z.ZodOptional<z.ZodString>;
90
90
  type: z.ZodOptional<z.ZodString>;
91
91
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -116,6 +116,6 @@ export declare const UpdateFileSchema: z.ZodObject<{
116
116
  size?: number | undefined;
117
117
  url?: string | null | undefined;
118
118
  }>;
119
- export type File = z.infer<typeof FileSchema>;
120
- export type CreateFileDto = z.infer<typeof CreateFileSchema>;
121
- export type UpdateFileDto = z.infer<typeof UpdateFileSchema>;
119
+ export type Attachment = z.infer<typeof AttachmentSchema>;
120
+ export type CreateAttachmentDto = z.infer<typeof CreateAttachmentSchema>;
121
+ export type UpdateAttachmentDto = z.infer<typeof UpdateAttachmentSchema>;
@@ -2,7 +2,7 @@
2
2
  import { DocumentSchema } from '@tmlmobilidade/go-types-shared';
3
3
  import { z } from 'zod';
4
4
  /* * */
5
- export const FileSchema = DocumentSchema
5
+ export const AttachmentSchema = DocumentSchema
6
6
  .omit({ is_locked: true })
7
7
  .extend({
8
8
  created_by: z.string(),
@@ -16,5 +16,5 @@ export const FileSchema = DocumentSchema
16
16
  updated_by: z.string(),
17
17
  url: z.string().nullish(),
18
18
  });
19
- export const CreateFileSchema = FileSchema.omit({ _id: true, created_at: true, updated_at: true });
20
- export const UpdateFileSchema = CreateFileSchema.omit({ created_by: true }).partial();
19
+ export const CreateAttachmentSchema = AttachmentSchema.omit({ _id: true, created_at: true, updated_at: true });
20
+ export const UpdateAttachmentSchema = CreateAttachmentSchema.omit({ created_by: true }).partial();
@@ -1,10 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  export declare const RoleSchema: z.ZodObject<{
3
3
  _id: z.ZodString;
4
- created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
4
+ created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
5
5
  created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6
6
  is_locked: z.ZodDefault<z.ZodBoolean>;
7
- updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
7
+ updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
8
8
  updated_by: z.ZodOptional<z.ZodString>;
9
9
  } & {
10
10
  name: z.ZodString;
@@ -512,8 +512,8 @@ export declare const RoleSchema: z.ZodObject<{
512
512
  updated_by?: string | undefined;
513
513
  }, {
514
514
  _id: string;
515
- created_at: number;
516
- updated_at: number;
515
+ created_at: string | number;
516
+ updated_at: string | number;
517
517
  name: string;
518
518
  created_by?: string | null | undefined;
519
519
  is_locked?: boolean | undefined;
@@ -629,10 +629,10 @@ export declare const RoleSchema: z.ZodObject<{
629
629
  }>;
630
630
  export declare const CreateRoleSchema: z.ZodObject<Omit<{
631
631
  _id: z.ZodString;
632
- created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
632
+ created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
633
633
  created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
634
634
  is_locked: z.ZodDefault<z.ZodBoolean>;
635
- updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
635
+ updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
636
636
  updated_by: z.ZodOptional<z.ZodString>;
637
637
  } & {
638
638
  name: z.ZodString;
@@ -1,13 +1,13 @@
1
1
  import { z } from 'zod';
2
2
  export declare const SessionSchema: z.ZodObject<Omit<{
3
3
  _id: z.ZodString;
4
- created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
4
+ created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
5
5
  created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6
6
  is_locked: z.ZodDefault<z.ZodBoolean>;
7
- updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
7
+ updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
8
8
  updated_by: z.ZodOptional<z.ZodString>;
9
9
  }, "is_locked"> & {
10
- expires_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
10
+ expires_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
11
11
  token: z.ZodString;
12
12
  user_id: z.ZodString;
13
13
  }, "strip", z.ZodTypeAny, {
@@ -27,9 +27,9 @@ export declare const SessionSchema: z.ZodObject<Omit<{
27
27
  updated_by?: string | undefined;
28
28
  }, {
29
29
  _id: string;
30
- created_at: number;
31
- updated_at: number;
32
- expires_at: number;
30
+ created_at: string | number;
31
+ updated_at: string | number;
32
+ expires_at: string | number;
33
33
  token: string;
34
34
  user_id: string;
35
35
  created_by?: string | null | undefined;
@@ -37,13 +37,13 @@ export declare const SessionSchema: z.ZodObject<Omit<{
37
37
  }>;
38
38
  export declare const CreateSessionSchema: z.ZodObject<Omit<Omit<{
39
39
  _id: z.ZodString;
40
- created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
40
+ created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
41
41
  created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
42
42
  is_locked: z.ZodDefault<z.ZodBoolean>;
43
- updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
43
+ updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
44
44
  updated_by: z.ZodOptional<z.ZodString>;
45
45
  }, "is_locked"> & {
46
- expires_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
46
+ expires_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
47
47
  token: z.ZodString;
48
48
  user_id: z.ZodString;
49
49
  }, "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
@@ -57,7 +57,7 @@ export declare const CreateSessionSchema: z.ZodObject<Omit<Omit<{
57
57
  updated_by?: string | undefined;
58
58
  }, {
59
59
  _id: string;
60
- expires_at: number;
60
+ expires_at: string | number;
61
61
  token: string;
62
62
  user_id: string;
63
63
  created_by?: string | null | undefined;
@@ -66,7 +66,7 @@ export declare const CreateSessionSchema: z.ZodObject<Omit<Omit<{
66
66
  export declare const UpdateSessionSchema: z.ZodObject<{
67
67
  _id: z.ZodOptional<z.ZodString>;
68
68
  updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
69
- expires_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>;
69
+ expires_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>>;
70
70
  token: z.ZodOptional<z.ZodString>;
71
71
  user_id: z.ZodOptional<z.ZodString>;
72
72
  }, "strip", z.ZodTypeAny, {
@@ -78,7 +78,7 @@ export declare const UpdateSessionSchema: z.ZodObject<{
78
78
  }, {
79
79
  _id?: string | undefined;
80
80
  updated_by?: string | undefined;
81
- expires_at?: number | undefined;
81
+ expires_at?: string | number | undefined;
82
82
  token?: string | undefined;
83
83
  user_id?: string | undefined;
84
84
  }>;
@@ -1,14 +1,14 @@
1
1
  import { z } from 'zod';
2
2
  export declare const SimplifiedUserSchema: z.ZodObject<Pick<Omit<{
3
3
  _id: z.ZodString;
4
- created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
4
+ created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
5
5
  created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6
6
  is_locked: z.ZodDefault<z.ZodBoolean>;
7
- updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
7
+ updated_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
8
8
  updated_by: z.ZodOptional<z.ZodString>;
9
9
  } & {
10
10
  email: z.ZodString;
11
- email_verified: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>;
11
+ email_verified: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>>>;
12
12
  first_name: z.ZodString;
13
13
  last_name: z.ZodString;
14
14
  organization_id: z.ZodString;
@@ -398,7 +398,7 @@ export declare const SimplifiedUserSchema: z.ZodObject<Pick<Omit<{
398
398
  phone: z.ZodDefault<z.ZodNullable<z.ZodString>>;
399
399
  preferences: z.ZodDefault<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>>>;
400
400
  role_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
401
- seen_last_at: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>;
401
+ seen_last_at: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>>>;
402
402
  session_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
403
403
  verification_token_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
404
404
  }, "password_hash" | "session_ids" | "verification_token_ids">, "_id" | "first_name" | "last_name" | "organization_id" | "seen_last_at"> & {
@@ -416,6 +416,6 @@ export declare const SimplifiedUserSchema: z.ZodObject<Pick<Omit<{
416
416
  last_name: string;
417
417
  organization_id: string;
418
418
  organization_name: string;
419
- seen_last_at?: number | null | undefined;
419
+ seen_last_at?: string | number | null | undefined;
420
420
  }>;
421
421
  export type SimplifiedUser = z.infer<typeof SimplifiedUserSchema>;