@tmlmobilidade/types 20260610.1553.25 → 20260611.1337.59

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 (208) hide show
  1. package/dist/agencies/agency.d.ts +10 -10
  2. package/dist/agencies/agency.js +1 -2
  3. package/dist/alerts/alert.d.ts +26 -26
  4. package/dist/alerts/alert.js +1 -3
  5. package/dist/apex/raw/banking-taps/banking-tap-v40.d.ts +2 -2
  6. package/dist/apex/raw/inspections/inspection-decision-v20.d.ts +2 -2
  7. package/dist/apex/raw/inspections/inspection-v20.d.ts +2 -2
  8. package/dist/apex/raw/locations/location-v30.d.ts +2 -2
  9. package/dist/apex/raw/raw-apex-transaction-base.d.ts +2 -2
  10. package/dist/apex/raw/raw-apex-transaction-base.js +1 -1
  11. package/dist/apex/raw/raw-apex-transaction.d.ts +16 -16
  12. package/dist/apex/raw/sales/refund-v30.d.ts +2 -2
  13. package/dist/apex/raw/sales/sale-v30.d.ts +2 -2
  14. package/dist/apex/raw/validations/validation-v20.d.ts +2 -2
  15. package/dist/apex/raw/validations/validation-v30.d.ts +2 -2
  16. package/dist/apex/simplified/simplified-apex-banking-taps.d.ts +2 -2
  17. package/dist/apex/simplified/simplified-apex-banking-taps.js +1 -1
  18. package/dist/apex/simplified/simplified-apex-inspection-decision.d.ts +2 -2
  19. package/dist/apex/simplified/simplified-apex-inspection-decision.js +1 -1
  20. package/dist/apex/simplified/simplified-apex-inspection.d.ts +2 -2
  21. package/dist/apex/simplified/simplified-apex-inspection.js +1 -1
  22. package/dist/apex/simplified/simplified-apex-location.d.ts +9 -9
  23. package/dist/apex/simplified/simplified-apex-location.js +1 -2
  24. package/dist/apex/simplified/simplified-apex-on-board-refund.d.ts +9 -9
  25. package/dist/apex/simplified/simplified-apex-on-board-refund.js +1 -2
  26. package/dist/apex/simplified/simplified-apex-on-board-sale.d.ts +9 -9
  27. package/dist/apex/simplified/simplified-apex-on-board-sale.js +1 -2
  28. package/dist/apex/simplified/simplified-apex-validation.d.ts +11 -11
  29. package/dist/apex/simplified/simplified-apex-validation.js +1 -1
  30. package/dist/api/api-response.d.ts +4 -4
  31. package/dist/auth/role.d.ts +196 -196
  32. package/dist/auth/role.js +1 -1
  33. package/dist/auth/session.d.ts +8 -8
  34. package/dist/auth/session.js +1 -2
  35. package/dist/auth/simplified-user.d.ts +37 -37
  36. package/dist/auth/user.d.ts +322 -322
  37. package/dist/auth/user.js +1 -2
  38. package/dist/auth/verification-token.d.ts +8 -8
  39. package/dist/auth/verification-token.js +1 -2
  40. package/dist/dates/annotation.d.ts +10 -10
  41. package/dist/dates/annotation.js +1 -2
  42. package/dist/dates/event.d.ts +40 -40
  43. package/dist/dates/event.js +1 -2
  44. package/dist/dates/holiday.d.ts +10 -10
  45. package/dist/dates/holiday.js +1 -2
  46. package/dist/dates/year-period.d.ts +10 -10
  47. package/dist/dates/year-period.js +1 -2
  48. package/dist/file-exports/base.d.ts +8 -8
  49. package/dist/file-exports/base.js +1 -2
  50. package/dist/file-exports/file-exports.d.ts +70 -70
  51. package/dist/file-exports/gtfs-export.d.ts +12 -12
  52. package/dist/file-exports/gtfs-export.js +1 -1
  53. package/dist/file-exports/ride-export.d.ts +58 -58
  54. package/dist/file-exports/ride-export.js +1 -2
  55. package/dist/file-exports/sams-analysis-export.d.ts +40 -40
  56. package/dist/file-exports/sams-analysis-export.js +1 -2
  57. package/dist/file-exports/stop-export.d.ts +28 -28
  58. package/dist/file-exports/stop-export.js +1 -2
  59. package/dist/file-exports/vehicle-export.d.ts +4 -4
  60. package/dist/file.d.ts +4 -4
  61. package/dist/file.js +1 -1
  62. package/dist/gtfs/calendar-dates.d.ts +1 -1
  63. package/dist/gtfs/calendar-dates.js +1 -1
  64. package/dist/gtfs/calendar.d.ts +1 -1
  65. package/dist/gtfs/calendar.js +1 -1
  66. package/dist/gtfs/feed-info.d.ts +4 -4
  67. package/dist/gtfs/feed-info.js +1 -1
  68. package/dist/gtfs-rt/alert.d.ts +1 -1
  69. package/dist/gtfs-rt/entity-selector.d.ts +1 -1
  70. package/dist/gtfs-rt/feed-entity.d.ts +2 -2
  71. package/dist/gtfs-rt/feed-message.d.ts +2 -2
  72. package/dist/gtfs-rt/trip-descriptor.d.ts +1 -1
  73. package/dist/gtfs-rt/trip-descriptor.js +1 -1
  74. package/dist/gtfs-rt/vehicle-position.d.ts +1 -1
  75. package/dist/gtfs-tml/feed-info.d.ts +4 -4
  76. package/dist/gtfs-validation/gtfs-validation-message.d.ts +2 -2
  77. package/dist/gtfs-validation/gtfs-validation-summary.d.ts +4 -4
  78. package/dist/gtfs-validation/gtfs-validation.d.ts +46 -46
  79. package/dist/gtfs-validation/gtfs-validation.js +1 -2
  80. package/dist/hub/api/alerts/alert.d.ts +7 -7
  81. package/dist/hub/api/network/stop.d.ts +4 -4
  82. package/dist/hub/api/network/stop.js +1 -1
  83. package/dist/hub/api/plans/plan.d.ts +8 -8
  84. package/dist/hub/api/plans/plan.js +1 -1
  85. package/dist/hub/api/realtime/vehicle-position.d.ts +9 -9
  86. package/dist/hub/api/realtime/vehicle-position.js +1 -2
  87. package/dist/index.d.ts +1 -1
  88. package/dist/index.js +1 -4
  89. package/dist/locations/queries.d.ts +6 -6
  90. package/dist/locations/queries.js +1 -1
  91. package/dist/notification.d.ts +4 -4
  92. package/dist/notification.js +1 -1
  93. package/dist/offer/fare.d.ts +2 -2
  94. package/dist/offer/fare.js +1 -1
  95. package/dist/offer/line.d.ts +10 -10
  96. package/dist/offer/line.js +1 -1
  97. package/dist/offer/parameters.d.ts +8 -8
  98. package/dist/offer/pattern.d.ts +646 -646
  99. package/dist/offer/pattern.js +1 -2
  100. package/dist/offer/route.d.ts +4 -4
  101. package/dist/offer/route.js +1 -1
  102. package/dist/offer/rules.d.ts +56 -56
  103. package/dist/offer/rules.js +1 -1
  104. package/dist/offer/transport-type.d.ts +2 -2
  105. package/dist/offer/typology.d.ts +2 -2
  106. package/dist/offer/typology.js +1 -1
  107. package/dist/offer/zone.d.ts +2 -2
  108. package/dist/offer/zone.js +1 -1
  109. package/dist/operation/hashed-lines/hashed-line.d.ts +2 -2
  110. package/dist/operation/hashed-lines/hashed-line.js +1 -1
  111. package/dist/operation/hashed-patterns/hashed-pattern.d.ts +2 -2
  112. package/dist/operation/hashed-patterns/hashed-pattern.js +1 -1
  113. package/dist/operation/hashed-shapes/hashed-shape.d.ts +1 -1
  114. package/dist/operation/hashed-trips/hashed-trip.d.ts +2 -2
  115. package/dist/operation/hashed-trips/hashed-trip.js +1 -1
  116. package/dist/operation/lines/batch-query.d.ts +2 -2
  117. package/dist/operation/lines/batch-query.js +1 -1
  118. package/dist/operation/lines/operational-line.d.ts +3 -3
  119. package/dist/operation/lines/operational-line.js +1 -1
  120. package/dist/operation/rides/batch-query.d.ts +14 -14
  121. package/dist/operation/rides/batch-query.js +1 -2
  122. package/dist/operation/rides/ride-acceptance.d.ts +167 -167
  123. package/dist/operation/rides/ride-acceptance.js +1 -2
  124. package/dist/operation/rides/ride-audit.d.ts +40 -40
  125. package/dist/operation/rides/ride-audit.js +1 -2
  126. package/dist/operation/rides/ride-normalized.d.ts +31 -31
  127. package/dist/operation/rides/ride-normalized.js +1 -1
  128. package/dist/operation/rides/ride.d.ts +46 -46
  129. package/dist/operation/rides/ride.js +1 -4
  130. package/dist/operation/stops/batch-query.d.ts +2 -2
  131. package/dist/operation/stops/batch-query.js +1 -1
  132. package/dist/operation/stops/operational-stop.d.ts +3 -3
  133. package/dist/operation/stops/operational-stop.js +1 -1
  134. package/dist/organization.d.ts +4 -4
  135. package/dist/organization.js +1 -1
  136. package/dist/permissions/agencies.d.ts +2 -2
  137. package/dist/permissions/alerts.d.ts +2 -2
  138. package/dist/permissions/dates.d.ts +8 -8
  139. package/dist/permissions/fares.d.ts +2 -2
  140. package/dist/permissions/index.d.ts +32 -32
  141. package/dist/permissions/lines.d.ts +2 -2
  142. package/dist/permissions/organizations.d.ts +2 -2
  143. package/dist/permissions/plans.d.ts +2 -2
  144. package/dist/permissions/roles.d.ts +2 -2
  145. package/dist/permissions/stops.d.ts +2 -2
  146. package/dist/permissions/typologies.d.ts +2 -2
  147. package/dist/permissions/users.d.ts +2 -2
  148. package/dist/permissions/vehicles.d.ts +2 -2
  149. package/dist/permissions/zones.d.ts +2 -2
  150. package/dist/plans/plan-app-status.d.ts +4 -4
  151. package/dist/plans/plan-app-status.js +1 -2
  152. package/dist/plans/plan.d.ts +142 -142
  153. package/dist/plans/plan.js +1 -1
  154. package/dist/proposed-change.d.ts +15 -15
  155. package/dist/proposed-change.js +2 -2
  156. package/dist/sams/batch-query.d.ts +6 -6
  157. package/dist/sams/batch-query.js +1 -2
  158. package/dist/sams/sam-analysis.d.ts +4 -4
  159. package/dist/sams/sam-analysis.js +1 -1
  160. package/dist/sams/sam.d.ts +40 -40
  161. package/dist/sams/sam.js +1 -3
  162. package/dist/stops/parent-station.d.ts +4 -4
  163. package/dist/stops/parent-station.js +1 -1
  164. package/dist/stops/stop-area.d.ts +4 -4
  165. package/dist/stops/stop-area.js +1 -1
  166. package/dist/stops/stop.d.ts +201 -201
  167. package/dist/stops/stop.js +1 -4
  168. package/dist/vehicle/vehicle.d.ts +18 -18
  169. package/dist/vehicle/vehicle.js +1 -2
  170. package/dist/vehicle-events/raw/ccfl/v1.d.ts +2 -2
  171. package/dist/vehicle-events/raw/cmet/v1-core.d.ts +2 -2
  172. package/dist/vehicle-events/raw/cmet/v1-log.d.ts +2 -2
  173. package/dist/vehicle-events/raw/cp/v1.d.ts +2 -2
  174. package/dist/vehicle-events/raw/raw-vehicle-event-base.d.ts +2 -2
  175. package/dist/vehicle-events/raw/raw-vehicle-event-base.js +1 -1
  176. package/dist/vehicle-events/raw/raw-vehicle-event.d.ts +34 -34
  177. package/dist/vehicle-events/raw/ttsl/v1.d.ts +2 -2
  178. package/dist/vehicle-events/simplified/simplified-vehicle-event.d.ts +5 -5
  179. package/dist/vehicle-events/simplified/simplified-vehicle-event.js +1 -1
  180. package/package.json +2 -1
  181. package/dist/_common/calendar-date.d.ts +0 -13
  182. package/dist/_common/calendar-date.js +0 -20
  183. package/dist/_common/comment.d.ts +0 -367
  184. package/dist/_common/comment.js +0 -83
  185. package/dist/_common/document.d.ts +0 -27
  186. package/dist/_common/document.js +0 -12
  187. package/dist/_common/environment.d.ts +0 -16
  188. package/dist/_common/environment.js +0 -15
  189. package/dist/_common/fastify.d.ts +0 -11
  190. package/dist/_common/fastify.js +0 -7
  191. package/dist/_common/i18n-code.d.ts +0 -4
  192. package/dist/_common/i18n-code.js +0 -9
  193. package/dist/_common/index.d.ts +0 -13
  194. package/dist/_common/index.js +0 -13
  195. package/dist/_common/mongo.d.ts +0 -3
  196. package/dist/_common/mongo.js +0 -1
  197. package/dist/_common/operational-date.d.ts +0 -13
  198. package/dist/_common/operational-date.js +0 -20
  199. package/dist/_common/position.d.ts +0 -160
  200. package/dist/_common/position.js +0 -41
  201. package/dist/_common/status.d.ts +0 -37
  202. package/dist/_common/status.js +0 -50
  203. package/dist/_common/transit-mode.d.ts +0 -4
  204. package/dist/_common/transit-mode.js +0 -10
  205. package/dist/_common/unix-timestamp.d.ts +0 -17
  206. package/dist/_common/unix-timestamp.js +0 -22
  207. package/dist/_common/utility.d.ts +0 -83
  208. package/dist/_common/utility.js +0 -1
@@ -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("../index.js").UnixTimestamp, number>;
4
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, 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("../index.js").UnixTimestamp, number>;
7
+ updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, 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>>>>;
@@ -23,7 +23,7 @@ export declare const AgencySchema: z.ZodObject<{
23
23
  vkm_per_month: number[];
24
24
  }>;
25
25
  name: z.ZodString;
26
- operation_start_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>>>;
26
+ operation_start_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalDate, string>>>;
27
27
  phone: z.ZodString;
28
28
  public_email: z.ZodString;
29
29
  public_name: z.ZodString;
@@ -51,7 +51,7 @@ export declare const AgencySchema: z.ZodObject<{
51
51
  price_per_km: number;
52
52
  vkm_per_month: number[];
53
53
  };
54
- operation_start_date: import("../_common/operational-date.js").OperationalDate | null;
54
+ operation_start_date: import("@tmlmobilidade/go-types-shared").OperationalDate | null;
55
55
  phone: string;
56
56
  public_email: string;
57
57
  public_name: string;
@@ -88,10 +88,10 @@ export declare const AgencySchema: z.ZodObject<{
88
88
  }>;
89
89
  export declare const CreateAgencySchema: z.ZodObject<Omit<{
90
90
  _id: z.ZodString;
91
- created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
91
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
92
92
  created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
93
93
  is_locked: z.ZodDefault<z.ZodBoolean>;
94
- updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
94
+ updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
95
95
  updated_by: z.ZodOptional<z.ZodString>;
96
96
  } & {
97
97
  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>>>>;
@@ -110,7 +110,7 @@ export declare const CreateAgencySchema: z.ZodObject<Omit<{
110
110
  vkm_per_month: number[];
111
111
  }>;
112
112
  name: z.ZodString;
113
- operation_start_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>>>;
113
+ operation_start_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalDate, string>>>;
114
114
  phone: z.ZodString;
115
115
  public_email: z.ZodString;
116
116
  public_name: z.ZodString;
@@ -132,7 +132,7 @@ export declare const CreateAgencySchema: z.ZodObject<Omit<{
132
132
  price_per_km: number;
133
133
  vkm_per_month: number[];
134
134
  };
135
- operation_start_date: import("../_common/operational-date.js").OperationalDate | null;
135
+ operation_start_date: import("@tmlmobilidade/go-types-shared").OperationalDate | null;
136
136
  phone: string;
137
137
  public_email: string;
138
138
  public_name: string;
@@ -185,7 +185,7 @@ export declare const UpdateAgencySchema: z.ZodObject<{
185
185
  price_per_km: number;
186
186
  vkm_per_month: number[];
187
187
  }>>;
188
- operation_start_date: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodString, import("../_common/operational-date.js").OperationalDate, string>>>>;
188
+ operation_start_date: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalDate, string>>>>;
189
189
  phone: z.ZodOptional<z.ZodString>;
190
190
  public_email: z.ZodOptional<z.ZodString>;
191
191
  public_name: z.ZodOptional<z.ZodString>;
@@ -207,7 +207,7 @@ export declare const UpdateAgencySchema: z.ZodObject<{
207
207
  price_per_km: number;
208
208
  vkm_per_month: number[];
209
209
  } | undefined;
210
- operation_start_date?: import("../_common/operational-date.js").OperationalDate | null | undefined;
210
+ operation_start_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
211
211
  phone?: string | undefined;
212
212
  public_email?: string | undefined;
213
213
  public_name?: string | undefined;
@@ -1,8 +1,7 @@
1
1
  /* * */
2
- import { DocumentSchema } from '../_common/document.js';
3
- import { OperationalDateSchema } from '../_common/operational-date.js';
4
2
  import { AgencyAlertMapSchema } from './alert-map.js';
5
3
  import { AgencyFinancialsSchema } from './financials.js';
4
+ import { DocumentSchema, OperationalDateSchema } from '@tmlmobilidade/go-types-shared';
6
5
  import { z } from 'zod';
7
6
  /* * */
8
7
  export const AgencySchema = DocumentSchema.extend({
@@ -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("../_common/unix-timestamp.js").UnixTimestamp, number>;
4
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, 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("../_common/unix-timestamp.js").UnixTimestamp, number>;
7
+ updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, 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("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
11
- active_period_start_date: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
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>;
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("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
23
- publish_start_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
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>>>;
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<{
@@ -46,7 +46,7 @@ export declare const AlertSchema: z.ZodObject<{
46
46
  __brand: "UnixTimestamp";
47
47
  };
48
48
  description: string;
49
- active_period_end_date: import("../_common/unix-timestamp.js").UnixTimestamp | null;
49
+ active_period_end_date: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
50
50
  active_period_start_date: number & {
51
51
  __brand: "UnixTimestamp";
52
52
  };
@@ -59,8 +59,8 @@ export declare const AlertSchema: z.ZodObject<{
59
59
  file_id: string | null;
60
60
  info_url: string | null;
61
61
  municipality_ids: string[];
62
- publish_end_date: import("../_common/unix-timestamp.js").UnixTimestamp | null;
63
- publish_start_date: import("../_common/unix-timestamp.js").UnixTimestamp | null;
62
+ publish_end_date: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
63
+ publish_start_date: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
64
64
  publish_status: "published" | "archived" | "draft";
65
65
  reference_type: "agency" | "lines" | "stops" | "rides";
66
66
  references: {
@@ -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("../_common/unix-timestamp.js").UnixTimestamp, number>;
105
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, 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("../_common/unix-timestamp.js").UnixTimestamp, number>;
108
+ updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, 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("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
112
- active_period_start_date: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
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>;
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("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
124
- publish_start_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
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>>>;
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<{
@@ -139,7 +139,7 @@ export declare const CreateAlertSchema: z.ZodObject<Omit<{
139
139
  }, "_id" | "created_at" | "created_by" | "updated_at" | "updated_by">, "strip", z.ZodTypeAny, {
140
140
  is_locked: boolean;
141
141
  description: string;
142
- active_period_end_date: import("../_common/unix-timestamp.js").UnixTimestamp | null;
142
+ active_period_end_date: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
143
143
  active_period_start_date: number & {
144
144
  __brand: "UnixTimestamp";
145
145
  };
@@ -152,8 +152,8 @@ export declare const CreateAlertSchema: z.ZodObject<Omit<{
152
152
  file_id: string | null;
153
153
  info_url: string | null;
154
154
  municipality_ids: string[];
155
- publish_end_date: import("../_common/unix-timestamp.js").UnixTimestamp | null;
156
- publish_start_date: import("../_common/unix-timestamp.js").UnixTimestamp | null;
155
+ publish_end_date: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
156
+ publish_start_date: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
157
157
  publish_status: "published" | "archived" | "draft";
158
158
  reference_type: "agency" | "lines" | "stops" | "rides";
159
159
  references: {
@@ -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("../_common/unix-timestamp.js").UnixTimestamp, number>>>>;
194
- active_period_start_date: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>;
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>>;
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("../_common/unix-timestamp.js").UnixTimestamp, number>>>>;
205
- publish_start_date: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>>;
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>>>>;
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<{
@@ -220,8 +220,8 @@ export declare const UpdateAlertSchema: z.ZodObject<{
220
220
  }, "strip", z.ZodTypeAny, {
221
221
  is_locked?: boolean | undefined;
222
222
  description?: string | undefined;
223
- active_period_end_date?: import("../_common/unix-timestamp.js").UnixTimestamp | null | undefined;
224
- active_period_start_date?: import("../_common/unix-timestamp.js").UnixTimestamp | undefined;
223
+ active_period_end_date?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null | undefined;
224
+ active_period_start_date?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | undefined;
225
225
  agency_id?: string | undefined;
226
226
  auto_texts?: boolean | undefined;
227
227
  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;
@@ -231,8 +231,8 @@ export declare const UpdateAlertSchema: z.ZodObject<{
231
231
  file_id?: string | null | undefined;
232
232
  info_url?: string | null | undefined;
233
233
  municipality_ids?: string[] | undefined;
234
- publish_end_date?: import("../_common/unix-timestamp.js").UnixTimestamp | null | undefined;
235
- publish_start_date?: import("../_common/unix-timestamp.js").UnixTimestamp | null | undefined;
234
+ publish_end_date?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null | undefined;
235
+ publish_start_date?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null | undefined;
236
236
  publish_status?: "published" | "archived" | "draft" | undefined;
237
237
  reference_type?: "agency" | "lines" | "stops" | "rides" | undefined;
238
238
  references?: {
@@ -1,11 +1,9 @@
1
1
  /* * */
2
- import { DocumentSchema } from '../_common/document.js';
3
- import { PublishStatusSchema } from '../_common/status.js';
4
- import { UnixTimestampSchema } from '../_common/unix-timestamp.js';
5
2
  import { AlertCauseSchema } from './cause.js';
6
3
  import { AlertEffectSchema } from './effect.js';
7
4
  import { AlertReferenceTypeSchema } from './reference-type.js';
8
5
  import { AlertReferenceSchema } from './reference.js';
6
+ import { DocumentSchema, PublishStatusSchema, UnixTimestampSchema } from '@tmlmobilidade/go-types-shared';
9
7
  import { z } from 'zod';
10
8
  /* * */
11
9
  export const AlertSchema = DocumentSchema.extend({
@@ -265,9 +265,9 @@ export type RawApexTransactionBankingTapV40Payload = z.infer<typeof RawApexTrans
265
265
  export declare const RawApexTransactionBankingTapV40Schema: z.ZodObject<{
266
266
  _id: z.ZodString;
267
267
  agency_id: z.ZodString;
268
- created_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
268
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
269
269
  is_ok: z.ZodBoolean;
270
- received_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
270
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
271
271
  transaction_id: z.ZodString;
272
272
  } & {
273
273
  payload: z.ZodObject<{
@@ -187,9 +187,9 @@ export type RawApexTransactionInspectionDecisionV20Payload = z.infer<typeof RawA
187
187
  export declare const RawApexTransactionInspectionDecisionV20Schema: z.ZodObject<{
188
188
  _id: z.ZodString;
189
189
  agency_id: z.ZodString;
190
- created_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
190
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
191
191
  is_ok: z.ZodBoolean;
192
- received_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
192
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
193
193
  transaction_id: z.ZodString;
194
194
  } & {
195
195
  payload: z.ZodObject<{
@@ -387,9 +387,9 @@ export type RawApexTransactionInspectionV20Payload = z.infer<typeof RawApexTrans
387
387
  export declare const RawApexTransactionInspectionV20Schema: z.ZodObject<{
388
388
  _id: z.ZodString;
389
389
  agency_id: z.ZodString;
390
- created_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
390
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
391
391
  is_ok: z.ZodBoolean;
392
- received_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
392
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
393
393
  transaction_id: z.ZodString;
394
394
  } & {
395
395
  payload: z.ZodObject<{
@@ -255,9 +255,9 @@ export type RawApexTransactionLocationV30Payload = z.infer<typeof RawApexTransac
255
255
  export declare const RawApexTransactionLocationV30Schema: z.ZodObject<{
256
256
  _id: z.ZodString;
257
257
  agency_id: z.ZodString;
258
- created_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
258
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
259
259
  is_ok: z.ZodBoolean;
260
- received_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
260
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
261
261
  transaction_id: z.ZodString;
262
262
  } & {
263
263
  payload: z.ZodObject<{
@@ -2,9 +2,9 @@ import { z } from 'zod';
2
2
  export declare const RawApexTransactionBaseSchema: z.ZodObject<{
3
3
  _id: z.ZodString;
4
4
  agency_id: z.ZodString;
5
- created_at: z.ZodEffects<z.ZodNumber, import("../../_common/unix-timestamp.js").UnixTimestamp, number>;
5
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
6
6
  is_ok: z.ZodBoolean;
7
- received_at: z.ZodEffects<z.ZodNumber, import("../../_common/unix-timestamp.js").UnixTimestamp, number>;
7
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
8
8
  transaction_id: z.ZodString;
9
9
  version: z.ZodString;
10
10
  }, "strip", z.ZodTypeAny, {
@@ -1,5 +1,5 @@
1
1
  /* * */
2
- import { UnixTimestampSchema } from '../../_common/unix-timestamp.js';
2
+ import { UnixTimestampSchema } from '@tmlmobilidade/go-types-shared';
3
3
  import { z } from 'zod';
4
4
  /* * */
5
5
  export const RawApexTransactionBaseSchema = z.object({
@@ -2,9 +2,9 @@ import { z } from 'zod';
2
2
  export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
3
3
  _id: z.ZodString;
4
4
  agency_id: z.ZodString;
5
- created_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
5
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
6
6
  is_ok: z.ZodBoolean;
7
- received_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
7
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
8
8
  transaction_id: z.ZodString;
9
9
  } & {
10
10
  payload: z.ZodObject<{
@@ -405,9 +405,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
405
405
  }>, z.ZodObject<{
406
406
  _id: z.ZodString;
407
407
  agency_id: z.ZodString;
408
- created_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
408
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
409
409
  is_ok: z.ZodBoolean;
410
- received_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
410
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
411
411
  transaction_id: z.ZodString;
412
412
  } & {
413
413
  payload: z.ZodObject<{
@@ -698,9 +698,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
698
698
  }>, z.ZodObject<{
699
699
  _id: z.ZodString;
700
700
  agency_id: z.ZodString;
701
- created_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
701
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
702
702
  is_ok: z.ZodBoolean;
703
- received_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
703
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
704
704
  transaction_id: z.ZodString;
705
705
  } & {
706
706
  payload: z.ZodObject<{
@@ -1271,9 +1271,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
1271
1271
  }>, z.ZodObject<{
1272
1272
  _id: z.ZodString;
1273
1273
  agency_id: z.ZodString;
1274
- created_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
1274
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
1275
1275
  is_ok: z.ZodBoolean;
1276
- received_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
1276
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
1277
1277
  transaction_id: z.ZodString;
1278
1278
  } & {
1279
1279
  payload: z.ZodObject<{
@@ -1660,9 +1660,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
1660
1660
  }>, z.ZodObject<{
1661
1661
  _id: z.ZodString;
1662
1662
  agency_id: z.ZodString;
1663
- created_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
1663
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
1664
1664
  is_ok: z.ZodBoolean;
1665
- received_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
1665
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
1666
1666
  transaction_id: z.ZodString;
1667
1667
  } & {
1668
1668
  payload: z.ZodObject<{
@@ -2122,9 +2122,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
2122
2122
  }>, z.ZodObject<{
2123
2123
  _id: z.ZodString;
2124
2124
  agency_id: z.ZodString;
2125
- created_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
2125
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
2126
2126
  is_ok: z.ZodBoolean;
2127
- received_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
2127
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
2128
2128
  transaction_id: z.ZodString;
2129
2129
  } & {
2130
2130
  payload: z.ZodObject<{
@@ -2577,9 +2577,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
2577
2577
  }>, z.ZodObject<{
2578
2578
  _id: z.ZodString;
2579
2579
  agency_id: z.ZodString;
2580
- created_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
2580
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
2581
2581
  is_ok: z.ZodBoolean;
2582
- received_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
2582
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
2583
2583
  transaction_id: z.ZodString;
2584
2584
  } & {
2585
2585
  payload: z.ZodObject<{
@@ -3116,9 +3116,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
3116
3116
  }>, z.ZodObject<{
3117
3117
  _id: z.ZodString;
3118
3118
  agency_id: z.ZodString;
3119
- created_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
3119
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
3120
3120
  is_ok: z.ZodBoolean;
3121
- received_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
3121
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
3122
3122
  transaction_id: z.ZodString;
3123
3123
  } & {
3124
3124
  payload: z.ZodObject<{
@@ -306,9 +306,9 @@ export type RawApexTransactionRefundV30Payload = z.infer<typeof RawApexTransacti
306
306
  export declare const RawApexTransactionRefundV30Schema: z.ZodObject<{
307
307
  _id: z.ZodString;
308
308
  agency_id: z.ZodString;
309
- created_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
309
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
310
310
  is_ok: z.ZodBoolean;
311
- received_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
311
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
312
312
  transaction_id: z.ZodString;
313
313
  } & {
314
314
  payload: z.ZodObject<{
@@ -301,9 +301,9 @@ export type RawApexTransactionSaleV30Payload = z.infer<typeof RawApexTransaction
301
301
  export declare const RawApexTransactionSaleV30Schema: z.ZodObject<{
302
302
  _id: z.ZodString;
303
303
  agency_id: z.ZodString;
304
- created_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
304
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
305
305
  is_ok: z.ZodBoolean;
306
- received_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
306
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
307
307
  transaction_id: z.ZodString;
308
308
  } & {
309
309
  payload: z.ZodObject<{
@@ -361,9 +361,9 @@ export type RawApexTransactionValidationV20Payload = z.infer<typeof RawApexTrans
361
361
  export declare const RawApexTransactionValidationV20Schema: z.ZodObject<{
362
362
  _id: z.ZodString;
363
363
  agency_id: z.ZodString;
364
- created_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
364
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
365
365
  is_ok: z.ZodBoolean;
366
- received_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
366
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
367
367
  transaction_id: z.ZodString;
368
368
  } & {
369
369
  payload: z.ZodObject<{
@@ -361,9 +361,9 @@ export type RawApexTransactionValidationV30Payload = z.infer<typeof RawApexTrans
361
361
  export declare const RawApexTransactionValidationV30Schema: z.ZodObject<{
362
362
  _id: z.ZodString;
363
363
  agency_id: z.ZodString;
364
- created_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
364
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
365
365
  is_ok: z.ZodBoolean;
366
- received_at: z.ZodEffects<z.ZodNumber, import("../../../index.js").UnixTimestamp, number>;
366
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
367
367
  transaction_id: z.ZodString;
368
368
  } & {
369
369
  payload: z.ZodObject<{
@@ -6,7 +6,7 @@ export declare const SimplifiedApexBankingTapSchema: z.ZodObject<{
6
6
  banking_token: z.ZodString;
7
7
  card_brand: z.ZodNumber;
8
8
  card_pan: z.ZodString;
9
- created_at: z.ZodEffects<z.ZodNumber, import("../../_common/unix-timestamp.js").UnixTimestamp, number>;
9
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
10
10
  device_id: z.ZodString;
11
11
  event_type: z.ZodNullable<z.ZodNumber>;
12
12
  is_ok: z.ZodBoolean;
@@ -16,7 +16,7 @@ export declare const SimplifiedApexBankingTapSchema: z.ZodObject<{
16
16
  mac_sam_serial_number: z.ZodNumber;
17
17
  pattern_id: z.ZodString;
18
18
  product_id: z.ZodString;
19
- received_at: z.ZodEffects<z.ZodNumber, import("../../_common/unix-timestamp.js").UnixTimestamp, number>;
19
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
20
20
  stop_id: z.ZodString;
21
21
  trip_id: z.ZodString;
22
22
  units_qty: z.ZodNumber;
@@ -1,5 +1,5 @@
1
1
  /* * */
2
- import { UnixTimestampSchema } from '../../_common/unix-timestamp.js';
2
+ import { UnixTimestampSchema } from '@tmlmobilidade/go-types-shared';
3
3
  import { z } from 'zod';
4
4
  /* * */
5
5
  export const SimplifiedApexBankingTapSchema = z.object({
@@ -3,7 +3,7 @@ export declare const SimplifiedApexInspectionDecisionSchema: z.ZodObject<{
3
3
  _id: z.ZodString;
4
4
  agency_id: z.ZodString;
5
5
  apex_version: z.ZodString;
6
- created_at: z.ZodEffects<z.ZodNumber, import("../../_common/unix-timestamp.js").UnixTimestamp, number>;
6
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
7
7
  device_id: z.ZodString;
8
8
  final_control_status: z.ZodNumber;
9
9
  inspection_decision_id: z.ZodNullable<z.ZodString>;
@@ -11,7 +11,7 @@ export declare const SimplifiedApexInspectionDecisionSchema: z.ZodObject<{
11
11
  is_ok_pcgi: z.ZodBoolean;
12
12
  mac_ase_counter_value: z.ZodNumber;
13
13
  mac_sam_serial_number: z.ZodNumber;
14
- received_at: z.ZodEffects<z.ZodNumber, import("../../_common/unix-timestamp.js").UnixTimestamp, number>;
14
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  _id: string;
17
17
  created_at: number & {
@@ -1,5 +1,5 @@
1
1
  /* * */
2
- import { UnixTimestampSchema } from '../../_common/unix-timestamp.js';
2
+ import { UnixTimestampSchema } from '@tmlmobilidade/go-types-shared';
3
3
  import { z } from 'zod';
4
4
  /* * */
5
5
  export const SimplifiedApexInspectionDecisionSchema = z.object({
@@ -7,7 +7,7 @@ export declare const SimplifiedApexInspectionSchema: z.ZodObject<{
7
7
  control_destination_stop_id: z.ZodString;
8
8
  control_origin_stop_id: z.ZodString;
9
9
  control_status: z.ZodNumber;
10
- created_at: z.ZodEffects<z.ZodNumber, import("../../_common/unix-timestamp.js").UnixTimestamp, number>;
10
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
11
11
  device_id: z.ZodString;
12
12
  environment_status: z.ZodNumber;
13
13
  inspection_id: z.ZodNullable<z.ZodString>;
@@ -18,7 +18,7 @@ export declare const SimplifiedApexInspectionSchema: z.ZodObject<{
18
18
  mac_sam_serial_number: z.ZodNumber;
19
19
  pattern_id: z.ZodString;
20
20
  product_id: z.ZodString;
21
- received_at: z.ZodEffects<z.ZodNumber, import("../../_common/unix-timestamp.js").UnixTimestamp, number>;
21
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
22
22
  trip_id: z.ZodString;
23
23
  vehicle_id: z.ZodNumber;
24
24
  }, "strip", z.ZodTypeAny, {
@@ -1,5 +1,5 @@
1
1
  /* * */
2
- import { UnixTimestampSchema } from '../../_common/unix-timestamp.js';
2
+ import { UnixTimestampSchema } from '@tmlmobilidade/go-types-shared';
3
3
  import { z } from 'zod';
4
4
  /* * */
5
5
  export const SimplifiedApexInspectionSchema = z.object({
@@ -1,10 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  export declare const SimplifiedApexLocationSchema: z.ZodObject<Omit<{
3
3
  _id: z.ZodString;
4
- created_at: z.ZodEffects<z.ZodNumber, import("../../_common/unix-timestamp.js").UnixTimestamp, number>;
4
+ created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, 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("../../_common/unix-timestamp.js").UnixTimestamp, number>;
7
+ updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
8
8
  updated_by: z.ZodOptional<z.ZodString>;
9
9
  }, "created_by" | "is_locked" | "updated_by"> & {
10
10
  agency_id: z.ZodString;
@@ -14,7 +14,7 @@ export declare const SimplifiedApexLocationSchema: z.ZodObject<Omit<{
14
14
  mac_ase_counter_value: z.ZodNumber;
15
15
  mac_sam_serial_number: z.ZodNumber;
16
16
  pattern_id: z.ZodString;
17
- received_at: z.ZodEffects<z.ZodNumber, import("../../_common/unix-timestamp.js").UnixTimestamp, number>;
17
+ received_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
18
18
  stop_id: z.ZodString;
19
19
  trip_id: z.ZodString;
20
20
  vehicle_id: z.ZodNumber;
@@ -57,8 +57,8 @@ export declare const SimplifiedApexLocationSchema: z.ZodObject<Omit<{
57
57
  }>;
58
58
  export declare const UpdateSimplifiedApexLocationSchema: z.ZodObject<{
59
59
  _id: z.ZodOptional<z.ZodString>;
60
- created_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../../_common/unix-timestamp.js").UnixTimestamp, number>>;
61
- updated_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../../_common/unix-timestamp.js").UnixTimestamp, number>>;
60
+ created_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>;
61
+ updated_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>;
62
62
  agency_id: z.ZodOptional<z.ZodString>;
63
63
  apex_version: z.ZodOptional<z.ZodString>;
64
64
  device_id: z.ZodOptional<z.ZodString>;
@@ -66,16 +66,16 @@ export declare const UpdateSimplifiedApexLocationSchema: z.ZodObject<{
66
66
  mac_ase_counter_value: z.ZodOptional<z.ZodNumber>;
67
67
  mac_sam_serial_number: z.ZodOptional<z.ZodNumber>;
68
68
  pattern_id: z.ZodOptional<z.ZodString>;
69
- received_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../../_common/unix-timestamp.js").UnixTimestamp, number>>;
69
+ received_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>;
70
70
  stop_id: z.ZodOptional<z.ZodString>;
71
71
  trip_id: z.ZodOptional<z.ZodString>;
72
72
  vehicle_id: z.ZodOptional<z.ZodNumber>;
73
73
  }, "strip", z.ZodTypeAny, {
74
74
  _id?: string | undefined;
75
- created_at?: import("../../_common/unix-timestamp.js").UnixTimestamp | undefined;
76
- updated_at?: import("../../_common/unix-timestamp.js").UnixTimestamp | undefined;
75
+ created_at?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | undefined;
76
+ updated_at?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | undefined;
77
77
  agency_id?: string | undefined;
78
- received_at?: import("../../_common/unix-timestamp.js").UnixTimestamp | undefined;
78
+ received_at?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | undefined;
79
79
  apex_version?: string | undefined;
80
80
  device_id?: string | undefined;
81
81
  line_id?: string | undefined;