@tmlmobilidade/types 20260526.2143.45 → 20260527.1749.0
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.
- package/dist/_common/index.d.ts +1 -0
- package/dist/_common/index.js +1 -0
- package/dist/_common/transit-mode.d.ts +4 -0
- package/dist/_common/transit-mode.js +10 -0
- package/dist/file-exports/file-exports.d.ts +4 -4
- package/dist/file-exports/stop-export.d.ts +10 -10
- package/dist/offer/line.d.ts +6 -6
- package/dist/offer/pattern.d.ts +22 -22
- package/dist/offer/transport-type.d.ts +2 -2
- package/dist/stops/stop.d.ts +6 -6
- package/dist/vehicle/vehicle.d.ts +6 -6
- package/package.json +1 -1
package/dist/_common/index.d.ts
CHANGED
package/dist/_common/index.js
CHANGED
|
@@ -376,7 +376,7 @@ export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
376
376
|
is_harmonized: boolean;
|
|
377
377
|
}[] | null | undefined;
|
|
378
378
|
jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined;
|
|
379
|
-
connections?: ("
|
|
379
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined;
|
|
380
380
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined;
|
|
381
381
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined;
|
|
382
382
|
lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined;
|
|
@@ -390,7 +390,7 @@ export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
390
390
|
is_harmonized?: boolean | undefined;
|
|
391
391
|
}[] | null | undefined;
|
|
392
392
|
jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined;
|
|
393
|
-
connections?: ("
|
|
393
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined;
|
|
394
394
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined;
|
|
395
395
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined;
|
|
396
396
|
lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined;
|
|
@@ -418,7 +418,7 @@ export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
418
418
|
is_harmonized: boolean;
|
|
419
419
|
}[] | null | undefined;
|
|
420
420
|
jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined;
|
|
421
|
-
connections?: ("
|
|
421
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined;
|
|
422
422
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined;
|
|
423
423
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined;
|
|
424
424
|
lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined;
|
|
@@ -442,7 +442,7 @@ export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
442
442
|
is_harmonized?: boolean | undefined;
|
|
443
443
|
}[] | null | undefined;
|
|
444
444
|
jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined;
|
|
445
|
-
connections?: ("
|
|
445
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined;
|
|
446
446
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined;
|
|
447
447
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined;
|
|
448
448
|
lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined;
|
|
@@ -94,7 +94,7 @@ export declare const FlatStopSchema: z.ZodObject<{
|
|
|
94
94
|
last_infrastructure_maintenance: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
95
95
|
last_schedules_check: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
96
96
|
last_schedules_maintenance: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
97
|
-
connections: ("
|
|
97
|
+
connections: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
98
98
|
facilities: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
99
99
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
100
100
|
has_bench: "unknown" | "available" | "unavailable";
|
|
@@ -141,7 +141,7 @@ export declare const FlatStopSchema: z.ZodObject<{
|
|
|
141
141
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
142
142
|
last_schedules_check?: number | null | undefined;
|
|
143
143
|
last_schedules_maintenance?: number | null | undefined;
|
|
144
|
-
connections?: ("
|
|
144
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
145
145
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
146
146
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
147
147
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -186,7 +186,7 @@ export declare const StopExportPropertiesSchema: z.ZodObject<{
|
|
|
186
186
|
is_harmonized: boolean;
|
|
187
187
|
}[] | null | undefined;
|
|
188
188
|
jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined;
|
|
189
|
-
connections?: ("
|
|
189
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined;
|
|
190
190
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined;
|
|
191
191
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined;
|
|
192
192
|
lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined;
|
|
@@ -200,7 +200,7 @@ export declare const StopExportPropertiesSchema: z.ZodObject<{
|
|
|
200
200
|
is_harmonized?: boolean | undefined;
|
|
201
201
|
}[] | null | undefined;
|
|
202
202
|
jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined;
|
|
203
|
-
connections?: ("
|
|
203
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined;
|
|
204
204
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined;
|
|
205
205
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined;
|
|
206
206
|
lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined;
|
|
@@ -218,7 +218,7 @@ export declare const StopExportPropertiesSchema: z.ZodObject<{
|
|
|
218
218
|
is_harmonized: boolean;
|
|
219
219
|
}[] | null | undefined;
|
|
220
220
|
jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined;
|
|
221
|
-
connections?: ("
|
|
221
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined;
|
|
222
222
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined;
|
|
223
223
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined;
|
|
224
224
|
lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined;
|
|
@@ -235,7 +235,7 @@ export declare const StopExportPropertiesSchema: z.ZodObject<{
|
|
|
235
235
|
is_harmonized?: boolean | undefined;
|
|
236
236
|
}[] | null | undefined;
|
|
237
237
|
jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined;
|
|
238
|
-
connections?: ("
|
|
238
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined;
|
|
239
239
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined;
|
|
240
240
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined;
|
|
241
241
|
lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined;
|
|
@@ -285,7 +285,7 @@ export declare const StopExportSchema: z.ZodObject<{
|
|
|
285
285
|
is_harmonized: boolean;
|
|
286
286
|
}[] | null | undefined;
|
|
287
287
|
jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined;
|
|
288
|
-
connections?: ("
|
|
288
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined;
|
|
289
289
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined;
|
|
290
290
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined;
|
|
291
291
|
lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined;
|
|
@@ -299,7 +299,7 @@ export declare const StopExportSchema: z.ZodObject<{
|
|
|
299
299
|
is_harmonized?: boolean | undefined;
|
|
300
300
|
}[] | null | undefined;
|
|
301
301
|
jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined;
|
|
302
|
-
connections?: ("
|
|
302
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined;
|
|
303
303
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined;
|
|
304
304
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined;
|
|
305
305
|
lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined;
|
|
@@ -327,7 +327,7 @@ export declare const StopExportSchema: z.ZodObject<{
|
|
|
327
327
|
is_harmonized: boolean;
|
|
328
328
|
}[] | null | undefined;
|
|
329
329
|
jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined;
|
|
330
|
-
connections?: ("
|
|
330
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined;
|
|
331
331
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined;
|
|
332
332
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined;
|
|
333
333
|
lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined;
|
|
@@ -351,7 +351,7 @@ export declare const StopExportSchema: z.ZodObject<{
|
|
|
351
351
|
is_harmonized?: boolean | undefined;
|
|
352
352
|
}[] | null | undefined;
|
|
353
353
|
jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined;
|
|
354
|
-
connections?: ("
|
|
354
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined;
|
|
355
355
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined;
|
|
356
356
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined;
|
|
357
357
|
lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined;
|
package/dist/offer/line.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ export declare const LineSchema: z.ZodObject<{
|
|
|
72
72
|
code: string;
|
|
73
73
|
name: string;
|
|
74
74
|
}[];
|
|
75
|
-
transport_type: "
|
|
75
|
+
transport_type: "bus" | "subway" | "ferry" | "aerial_lift" | "cable_tram" | "funicular" | "monorail" | "rail" | "tram" | "trolleybus";
|
|
76
76
|
typology: string | null;
|
|
77
77
|
updated_by?: string | undefined;
|
|
78
78
|
}, {
|
|
@@ -95,7 +95,7 @@ export declare const LineSchema: z.ZodObject<{
|
|
|
95
95
|
code: string;
|
|
96
96
|
name: string;
|
|
97
97
|
}[] | undefined;
|
|
98
|
-
transport_type?: "
|
|
98
|
+
transport_type?: "bus" | "subway" | "ferry" | "aerial_lift" | "cable_tram" | "funicular" | "monorail" | "rail" | "tram" | "trolleybus" | undefined;
|
|
99
99
|
typology?: string | null | undefined;
|
|
100
100
|
}>;
|
|
101
101
|
export declare const CreateLineSchema: z.ZodObject<Omit<{
|
|
@@ -144,7 +144,7 @@ export declare const CreateLineSchema: z.ZodObject<Omit<{
|
|
|
144
144
|
is_school_line: boolean;
|
|
145
145
|
onboard_fare_ids: string[] | null;
|
|
146
146
|
prepaid_fare_id: string | null;
|
|
147
|
-
transport_type: "
|
|
147
|
+
transport_type: "bus" | "subway" | "ferry" | "aerial_lift" | "cable_tram" | "funicular" | "monorail" | "rail" | "tram" | "trolleybus";
|
|
148
148
|
typology: string | null;
|
|
149
149
|
updated_by?: string | undefined;
|
|
150
150
|
}, {
|
|
@@ -159,7 +159,7 @@ export declare const CreateLineSchema: z.ZodObject<Omit<{
|
|
|
159
159
|
is_school_line?: boolean | undefined;
|
|
160
160
|
onboard_fare_ids?: string[] | null | undefined;
|
|
161
161
|
prepaid_fare_id?: string | null | undefined;
|
|
162
|
-
transport_type?: "
|
|
162
|
+
transport_type?: "bus" | "subway" | "ferry" | "aerial_lift" | "cable_tram" | "funicular" | "monorail" | "rail" | "tram" | "trolleybus" | undefined;
|
|
163
163
|
typology?: string | null | undefined;
|
|
164
164
|
}>;
|
|
165
165
|
export declare const UpdateLineSchema: z.ZodObject<{
|
|
@@ -190,7 +190,7 @@ export declare const UpdateLineSchema: z.ZodObject<{
|
|
|
190
190
|
is_school_line?: boolean | undefined;
|
|
191
191
|
onboard_fare_ids?: string[] | null | undefined;
|
|
192
192
|
prepaid_fare_id?: string | null | undefined;
|
|
193
|
-
transport_type?: "
|
|
193
|
+
transport_type?: "bus" | "subway" | "ferry" | "aerial_lift" | "cable_tram" | "funicular" | "monorail" | "rail" | "tram" | "trolleybus" | undefined;
|
|
194
194
|
typology?: string | null | undefined;
|
|
195
195
|
}, {
|
|
196
196
|
is_locked?: boolean | undefined;
|
|
@@ -203,7 +203,7 @@ export declare const UpdateLineSchema: z.ZodObject<{
|
|
|
203
203
|
is_school_line?: boolean | undefined;
|
|
204
204
|
onboard_fare_ids?: string[] | null | undefined;
|
|
205
205
|
prepaid_fare_id?: string | null | undefined;
|
|
206
|
-
transport_type?: "
|
|
206
|
+
transport_type?: "bus" | "subway" | "ferry" | "aerial_lift" | "cable_tram" | "funicular" | "monorail" | "rail" | "tram" | "trolleybus" | undefined;
|
|
207
207
|
typology?: string | null | undefined;
|
|
208
208
|
}>;
|
|
209
209
|
export type Line = z.infer<typeof LineSchema>;
|
package/dist/offer/pattern.d.ts
CHANGED
|
@@ -410,7 +410,7 @@ export declare const PathSchema: z.ZodObject<{
|
|
|
410
410
|
last_infrastructure_maintenance: import("../index.js").UnixTimestamp | null;
|
|
411
411
|
last_schedules_check: import("../index.js").UnixTimestamp | null;
|
|
412
412
|
last_schedules_maintenance: import("../index.js").UnixTimestamp | null;
|
|
413
|
-
connections: ("
|
|
413
|
+
connections: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
414
414
|
facilities: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
415
415
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
416
416
|
has_bench: "unknown" | "available" | "unavailable";
|
|
@@ -508,7 +508,7 @@ export declare const PathSchema: z.ZodObject<{
|
|
|
508
508
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
509
509
|
last_schedules_check?: number | null | undefined;
|
|
510
510
|
last_schedules_maintenance?: number | null | undefined;
|
|
511
|
-
connections?: ("
|
|
511
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
512
512
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
513
513
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
514
514
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -632,7 +632,7 @@ export declare const PathSchema: z.ZodObject<{
|
|
|
632
632
|
last_infrastructure_maintenance: import("../index.js").UnixTimestamp | null;
|
|
633
633
|
last_schedules_check: import("../index.js").UnixTimestamp | null;
|
|
634
634
|
last_schedules_maintenance: import("../index.js").UnixTimestamp | null;
|
|
635
|
-
connections: ("
|
|
635
|
+
connections: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
636
636
|
facilities: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
637
637
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
638
638
|
has_bench: "unknown" | "available" | "unavailable";
|
|
@@ -735,7 +735,7 @@ export declare const PathSchema: z.ZodObject<{
|
|
|
735
735
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
736
736
|
last_schedules_check?: number | null | undefined;
|
|
737
737
|
last_schedules_maintenance?: number | null | undefined;
|
|
738
|
-
connections?: ("
|
|
738
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
739
739
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
740
740
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
741
741
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -1571,7 +1571,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1571
1571
|
last_infrastructure_maintenance: import("../index.js").UnixTimestamp | null;
|
|
1572
1572
|
last_schedules_check: import("../index.js").UnixTimestamp | null;
|
|
1573
1573
|
last_schedules_maintenance: import("../index.js").UnixTimestamp | null;
|
|
1574
|
-
connections: ("
|
|
1574
|
+
connections: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
1575
1575
|
facilities: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
1576
1576
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
1577
1577
|
has_bench: "unknown" | "available" | "unavailable";
|
|
@@ -1669,7 +1669,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1669
1669
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
1670
1670
|
last_schedules_check?: number | null | undefined;
|
|
1671
1671
|
last_schedules_maintenance?: number | null | undefined;
|
|
1672
|
-
connections?: ("
|
|
1672
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
1673
1673
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
1674
1674
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
1675
1675
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -1793,7 +1793,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1793
1793
|
last_infrastructure_maintenance: import("../index.js").UnixTimestamp | null;
|
|
1794
1794
|
last_schedules_check: import("../index.js").UnixTimestamp | null;
|
|
1795
1795
|
last_schedules_maintenance: import("../index.js").UnixTimestamp | null;
|
|
1796
|
-
connections: ("
|
|
1796
|
+
connections: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
1797
1797
|
facilities: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
1798
1798
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
1799
1799
|
has_bench: "unknown" | "available" | "unavailable";
|
|
@@ -1896,7 +1896,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
1896
1896
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
1897
1897
|
last_schedules_check?: number | null | undefined;
|
|
1898
1898
|
last_schedules_maintenance?: number | null | undefined;
|
|
1899
|
-
connections?: ("
|
|
1899
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
1900
1900
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
1901
1901
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
1902
1902
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -2351,7 +2351,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2351
2351
|
last_infrastructure_maintenance: import("../index.js").UnixTimestamp | null;
|
|
2352
2352
|
last_schedules_check: import("../index.js").UnixTimestamp | null;
|
|
2353
2353
|
last_schedules_maintenance: import("../index.js").UnixTimestamp | null;
|
|
2354
|
-
connections: ("
|
|
2354
|
+
connections: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
2355
2355
|
facilities: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
2356
2356
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
2357
2357
|
has_bench: "unknown" | "available" | "unavailable";
|
|
@@ -2503,7 +2503,7 @@ export declare const PatternSchema: z.ZodObject<{
|
|
|
2503
2503
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
2504
2504
|
last_schedules_check?: number | null | undefined;
|
|
2505
2505
|
last_schedules_maintenance?: number | null | undefined;
|
|
2506
|
-
connections?: ("
|
|
2506
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
2507
2507
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
2508
2508
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
2509
2509
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -3421,7 +3421,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3421
3421
|
last_infrastructure_maintenance: import("../index.js").UnixTimestamp | null;
|
|
3422
3422
|
last_schedules_check: import("../index.js").UnixTimestamp | null;
|
|
3423
3423
|
last_schedules_maintenance: import("../index.js").UnixTimestamp | null;
|
|
3424
|
-
connections: ("
|
|
3424
|
+
connections: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
3425
3425
|
facilities: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
3426
3426
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
3427
3427
|
has_bench: "unknown" | "available" | "unavailable";
|
|
@@ -3519,7 +3519,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3519
3519
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
3520
3520
|
last_schedules_check?: number | null | undefined;
|
|
3521
3521
|
last_schedules_maintenance?: number | null | undefined;
|
|
3522
|
-
connections?: ("
|
|
3522
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
3523
3523
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
3524
3524
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
3525
3525
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -3643,7 +3643,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3643
3643
|
last_infrastructure_maintenance: import("../index.js").UnixTimestamp | null;
|
|
3644
3644
|
last_schedules_check: import("../index.js").UnixTimestamp | null;
|
|
3645
3645
|
last_schedules_maintenance: import("../index.js").UnixTimestamp | null;
|
|
3646
|
-
connections: ("
|
|
3646
|
+
connections: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
3647
3647
|
facilities: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
3648
3648
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
3649
3649
|
has_bench: "unknown" | "available" | "unavailable";
|
|
@@ -3746,7 +3746,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
3746
3746
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
3747
3747
|
last_schedules_check?: number | null | undefined;
|
|
3748
3748
|
last_schedules_maintenance?: number | null | undefined;
|
|
3749
|
-
connections?: ("
|
|
3749
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
3750
3750
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
3751
3751
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
3752
3752
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -4194,7 +4194,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
4194
4194
|
last_infrastructure_maintenance: import("../index.js").UnixTimestamp | null;
|
|
4195
4195
|
last_schedules_check: import("../index.js").UnixTimestamp | null;
|
|
4196
4196
|
last_schedules_maintenance: import("../index.js").UnixTimestamp | null;
|
|
4197
|
-
connections: ("
|
|
4197
|
+
connections: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
4198
4198
|
facilities: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
4199
4199
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
4200
4200
|
has_bench: "unknown" | "available" | "unavailable";
|
|
@@ -4343,7 +4343,7 @@ export declare const CreatePatternSchema: z.ZodObject<Omit<{
|
|
|
4343
4343
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
4344
4344
|
last_schedules_check?: number | null | undefined;
|
|
4345
4345
|
last_schedules_maintenance?: number | null | undefined;
|
|
4346
|
-
connections?: ("
|
|
4346
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
4347
4347
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
4348
4348
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
4349
4349
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -4880,7 +4880,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
4880
4880
|
last_infrastructure_maintenance: import("../index.js").UnixTimestamp | null;
|
|
4881
4881
|
last_schedules_check: import("../index.js").UnixTimestamp | null;
|
|
4882
4882
|
last_schedules_maintenance: import("../index.js").UnixTimestamp | null;
|
|
4883
|
-
connections: ("
|
|
4883
|
+
connections: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
4884
4884
|
facilities: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
4885
4885
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
4886
4886
|
has_bench: "unknown" | "available" | "unavailable";
|
|
@@ -4978,7 +4978,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
4978
4978
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
4979
4979
|
last_schedules_check?: number | null | undefined;
|
|
4980
4980
|
last_schedules_maintenance?: number | null | undefined;
|
|
4981
|
-
connections?: ("
|
|
4981
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
4982
4982
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
4983
4983
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
4984
4984
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -5102,7 +5102,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5102
5102
|
last_infrastructure_maintenance: import("../index.js").UnixTimestamp | null;
|
|
5103
5103
|
last_schedules_check: import("../index.js").UnixTimestamp | null;
|
|
5104
5104
|
last_schedules_maintenance: import("../index.js").UnixTimestamp | null;
|
|
5105
|
-
connections: ("
|
|
5105
|
+
connections: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
5106
5106
|
facilities: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
5107
5107
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
5108
5108
|
has_bench: "unknown" | "available" | "unavailable";
|
|
@@ -5205,7 +5205,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5205
5205
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
5206
5206
|
last_schedules_check?: number | null | undefined;
|
|
5207
5207
|
last_schedules_maintenance?: number | null | undefined;
|
|
5208
|
-
connections?: ("
|
|
5208
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
5209
5209
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
5210
5210
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
5211
5211
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -5813,7 +5813,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
5813
5813
|
last_infrastructure_maintenance: import("../index.js").UnixTimestamp | null;
|
|
5814
5814
|
last_schedules_check: import("../index.js").UnixTimestamp | null;
|
|
5815
5815
|
last_schedules_maintenance: import("../index.js").UnixTimestamp | null;
|
|
5816
|
-
connections: ("
|
|
5816
|
+
connections: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
5817
5817
|
facilities: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
5818
5818
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
5819
5819
|
has_bench: "unknown" | "available" | "unavailable";
|
|
@@ -6018,7 +6018,7 @@ export declare const UpdatePatternSchema: z.ZodObject<{
|
|
|
6018
6018
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
6019
6019
|
last_schedules_check?: number | null | undefined;
|
|
6020
6020
|
last_schedules_maintenance?: number | null | undefined;
|
|
6021
|
-
connections?: ("
|
|
6021
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
6022
6022
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
6023
6023
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
6024
6024
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -3,8 +3,8 @@ export declare const TransportTypeValues: readonly ["aerial_lift", "bus", "cable
|
|
|
3
3
|
export declare const TransportTypeSchema: z.ZodEnum<["aerial_lift", "bus", "cable_tram", "ferry", "funicular", "monorail", "rail", "subway", "tram", "trolleybus"]>;
|
|
4
4
|
export type TransportType = z.infer<typeof TransportTypeSchema>;
|
|
5
5
|
export declare const transportTypeMapper: {
|
|
6
|
-
fromGtfs: (value: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "11" | "12") => "
|
|
7
|
-
toGtfs: (value: "
|
|
6
|
+
fromGtfs: (value: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "11" | "12") => "bus" | "subway" | "ferry" | "aerial_lift" | "cable_tram" | "funicular" | "monorail" | "rail" | "tram" | "trolleybus";
|
|
7
|
+
toGtfs: (value: "bus" | "subway" | "ferry" | "aerial_lift" | "cable_tram" | "funicular" | "monorail" | "rail" | "tram" | "trolleybus") => "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "11" | "12";
|
|
8
8
|
};
|
|
9
9
|
export declare const transportTypeOptions: {
|
|
10
10
|
label: string;
|
package/dist/stops/stop.d.ts
CHANGED
|
@@ -394,7 +394,7 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
394
394
|
last_infrastructure_maintenance: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
395
395
|
last_schedules_check: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
396
396
|
last_schedules_maintenance: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
397
|
-
connections: ("
|
|
397
|
+
connections: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
398
398
|
facilities: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
399
399
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
400
400
|
has_bench: "unknown" | "available" | "unavailable";
|
|
@@ -492,7 +492,7 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
492
492
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
493
493
|
last_schedules_check?: number | null | undefined;
|
|
494
494
|
last_schedules_maintenance?: number | null | undefined;
|
|
495
|
-
connections?: ("
|
|
495
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
496
496
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
497
497
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
498
498
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -887,7 +887,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
887
887
|
last_infrastructure_maintenance: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
888
888
|
last_schedules_check: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
889
889
|
last_schedules_maintenance: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
890
|
-
connections: ("
|
|
890
|
+
connections: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
891
891
|
facilities: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
892
892
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
893
893
|
has_bench: "unknown" | "available" | "unavailable";
|
|
@@ -975,7 +975,7 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
975
975
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
976
976
|
last_schedules_check?: number | null | undefined;
|
|
977
977
|
last_schedules_maintenance?: number | null | undefined;
|
|
978
|
-
connections?: ("
|
|
978
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
979
979
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
980
980
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
981
981
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -1346,7 +1346,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
1346
1346
|
last_infrastructure_maintenance?: import("../_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
1347
1347
|
last_schedules_check?: import("../_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
1348
1348
|
last_schedules_maintenance?: import("../_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
1349
|
-
connections?: ("
|
|
1349
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
1350
1350
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
1351
1351
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
1352
1352
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -1432,7 +1432,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
1432
1432
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
1433
1433
|
last_schedules_check?: number | null | undefined;
|
|
1434
1434
|
last_schedules_maintenance?: number | null | undefined;
|
|
1435
|
-
connections?: ("
|
|
1435
|
+
connections?: ("subway" | "train" | "ferry" | "light_rail" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
1436
1436
|
facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
1437
1437
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
1438
1438
|
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
@@ -54,7 +54,7 @@ export declare const vehicleSchema: z.ZodObject<{
|
|
|
54
54
|
__brand: "OperationalDate";
|
|
55
55
|
};
|
|
56
56
|
license_plate: string;
|
|
57
|
-
typology: "
|
|
57
|
+
typology: "bus" | "train" | "funicular" | "tram" | "metro" | "ship" | null;
|
|
58
58
|
make: string;
|
|
59
59
|
model: string;
|
|
60
60
|
owner: string;
|
|
@@ -99,7 +99,7 @@ export declare const vehicleSchema: z.ZodObject<{
|
|
|
99
99
|
created_by?: string | null | undefined;
|
|
100
100
|
is_locked?: boolean | undefined;
|
|
101
101
|
updated_by?: string | undefined;
|
|
102
|
-
typology?: "
|
|
102
|
+
typology?: "bus" | "train" | "funicular" | "tram" | "metro" | "ship" | null | undefined;
|
|
103
103
|
available_seats?: number | null | undefined;
|
|
104
104
|
available_standing?: number | null | undefined;
|
|
105
105
|
emission?: "EURO_I" | "EURO_II" | "EURO_III" | "EURO_IV" | "EURO_V" | "EURO_VI" | null | undefined;
|
|
@@ -172,7 +172,7 @@ export declare const CreateVehicleSchema: z.ZodObject<Omit<{
|
|
|
172
172
|
__brand: "OperationalDate";
|
|
173
173
|
};
|
|
174
174
|
license_plate: string;
|
|
175
|
-
typology: "
|
|
175
|
+
typology: "bus" | "train" | "funicular" | "tram" | "metro" | "ship" | null;
|
|
176
176
|
make: string;
|
|
177
177
|
model: string;
|
|
178
178
|
owner: string;
|
|
@@ -215,7 +215,7 @@ export declare const CreateVehicleSchema: z.ZodObject<Omit<{
|
|
|
215
215
|
created_by?: string | null | undefined;
|
|
216
216
|
is_locked?: boolean | undefined;
|
|
217
217
|
updated_by?: string | undefined;
|
|
218
|
-
typology?: "
|
|
218
|
+
typology?: "bus" | "train" | "funicular" | "tram" | "metro" | "ship" | null | undefined;
|
|
219
219
|
available_seats?: number | null | undefined;
|
|
220
220
|
available_standing?: number | null | undefined;
|
|
221
221
|
emission?: "EURO_I" | "EURO_II" | "EURO_III" | "EURO_IV" | "EURO_V" | "EURO_VI" | null | undefined;
|
|
@@ -282,7 +282,7 @@ export declare const UpdateVehicleSchema: z.ZodObject<{
|
|
|
282
282
|
vehicle_id?: string | undefined;
|
|
283
283
|
start_date?: import("../_common/operational-date.js").OperationalDate | undefined;
|
|
284
284
|
license_plate?: string | undefined;
|
|
285
|
-
typology?: "
|
|
285
|
+
typology?: "bus" | "train" | "funicular" | "tram" | "metro" | "ship" | null | undefined;
|
|
286
286
|
make?: string | undefined;
|
|
287
287
|
model?: string | undefined;
|
|
288
288
|
owner?: string | undefined;
|
|
@@ -317,7 +317,7 @@ export declare const UpdateVehicleSchema: z.ZodObject<{
|
|
|
317
317
|
vehicle_id?: string | undefined;
|
|
318
318
|
start_date?: string | undefined;
|
|
319
319
|
license_plate?: string | undefined;
|
|
320
|
-
typology?: "
|
|
320
|
+
typology?: "bus" | "train" | "funicular" | "tram" | "metro" | "ship" | null | undefined;
|
|
321
321
|
make?: string | undefined;
|
|
322
322
|
model?: string | undefined;
|
|
323
323
|
owner?: string | undefined;
|