@tmlmobilidade/types 20251217.1540.37 → 20251218.110.37
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/comment.js +15 -6
- package/dist/_common/document.d.ts +3 -0
- package/dist/_common/document.js +4 -3
- package/dist/_common/status.d.ts +15 -1
- package/dist/_common/status.js +24 -6
- package/dist/_common/unix-timestamp.d.ts +1 -1
- package/dist/_common/unix-timestamp.js +1 -1
- package/dist/agency.d.ts +18 -13
- package/dist/agency.js +1 -1
- package/dist/alert.d.ts +101 -112
- package/dist/alert.js +18 -19
- package/dist/apex/simplified-apex-location.d.ts +5 -4
- package/dist/apex/simplified-apex-location.js +6 -4
- package/dist/apex/simplified-apex-on-board-refund.d.ts +5 -4
- package/dist/apex/simplified-apex-on-board-refund.js +6 -4
- package/dist/apex/simplified-apex-on-board-sale.d.ts +5 -4
- package/dist/apex/simplified-apex-on-board-sale.js +6 -4
- package/dist/apex/simplified-apex-validation.d.ts +9 -8
- package/dist/apex/simplified-apex-validation.js +6 -4
- package/dist/auth/login.d.ts +1 -1
- package/dist/auth/login.js +1 -1
- package/dist/auth/role.d.ts +260 -149
- package/dist/auth/role.js +1 -1
- package/dist/auth/session.d.ts +9 -7
- package/dist/auth/session.js +6 -4
- package/dist/auth/user.d.ts +737 -207
- package/dist/auth/user.js +12 -9
- package/dist/auth/verification-token.d.ts +9 -7
- package/dist/auth/verification-token.js +6 -4
- package/dist/dates/annotation.d.ts +94 -0
- package/dist/dates/annotation.js +14 -0
- package/dist/dates/index.d.ts +1 -0
- package/dist/dates/index.js +1 -0
- package/dist/file-exports/{common.d.ts → base.d.ts} +6 -5
- package/dist/file-exports/{common.js → base.js} +7 -4
- package/dist/file-exports/file-exports.d.ts +124 -0
- package/dist/file-exports/file-exports.js +7 -0
- package/dist/file-exports/index.d.ts +3 -126
- package/dist/file-exports/index.js +3 -9
- package/dist/file-exports/ride-export.d.ts +13 -13
- package/dist/file-exports/ride-export.js +5 -5
- package/dist/file.d.ts +3 -3
- package/dist/file.js +4 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/notification.d.ts +9 -7
- package/dist/notification.js +4 -2
- package/dist/organization.d.ts +24 -15
- package/dist/organization.js +3 -3
- package/dist/permissions/agencies.d.ts +3 -3
- package/dist/permissions/agencies.js +1 -1
- package/dist/permissions/alerts.d.ts +6 -6
- package/dist/permissions/alerts.js +2 -2
- package/dist/permissions/dates.d.ts +25 -0
- package/dist/permissions/dates.js +16 -0
- package/dist/permissions/gtfs-validations.d.ts +3 -3
- package/dist/permissions/gtfs-validations.js +1 -0
- package/dist/permissions/index.d.ts +49 -27
- package/dist/permissions/index.js +2 -0
- package/dist/permissions/organizations.d.ts +3 -3
- package/dist/permissions/organizations.js +1 -0
- package/dist/permissions/plans.d.ts +3 -3
- package/dist/permissions/plans.js +1 -1
- package/dist/permissions/roles.d.ts +3 -3
- package/dist/permissions/roles.js +1 -0
- package/dist/permissions/stops.d.ts +3 -3
- package/dist/permissions/stops.js +1 -1
- package/dist/permissions/users.d.ts +3 -3
- package/dist/permissions/users.js +1 -0
- package/dist/plans/gtfs-validation.d.ts +12 -3
- package/dist/plans/gtfs-validation.js +1 -1
- package/dist/plans/plan-app-status.js +2 -2
- package/dist/plans/plan-pcgi-legacy.d.ts +1 -1
- package/dist/plans/plan-pcgi-legacy.js +1 -1
- package/dist/plans/plan.d.ts +9 -9
- package/dist/proposed-change.d.ts +12 -3
- package/dist/proposed-change.js +1 -1
- package/dist/rides/ride-acceptance.d.ts +23 -19
- package/dist/rides/ride-acceptance.js +5 -3
- package/dist/rides/ride-analysis.d.ts +16 -16
- package/dist/rides/ride-analysis.js +16 -16
- package/dist/rides/ride-audit.d.ts +11 -11
- package/dist/rides/ride-audit.js +1 -1
- package/dist/rides/ride-overrides.d.ts +1 -1
- package/dist/rides/ride-overrides.js +1 -1
- package/dist/rides/ride.d.ts +56 -55
- package/dist/rides/ride.js +10 -8
- package/dist/sams/sam-analysis.d.ts +1 -1
- package/dist/sams/sam-analysis.js +4 -4
- package/dist/sams/sam.d.ts +13 -13
- package/dist/sams/sam.js +7 -5
- package/dist/stops/connections.d.ts +3 -0
- package/dist/stops/connections.js +15 -0
- package/dist/stops/equipment.d.ts +3 -0
- package/dist/stops/equipment.js +9 -0
- package/dist/stops/facilities.d.ts +4 -0
- package/dist/stops/facilities.js +16 -0
- package/dist/stops/index.d.ts +9 -0
- package/dist/stops/index.js +9 -0
- package/dist/stops/jurisdiction.d.ts +4 -0
- package/dist/stops/jurisdiction.js +10 -0
- package/dist/stops/name-abbreviations.d.ts +11 -0
- package/dist/stops/name-abbreviations.js +117 -0
- package/dist/stops/parent-station.d.ts +76 -0
- package/dist/stops/parent-station.js +11 -0
- package/dist/stops/road-type.d.ts +3 -0
- package/dist/stops/road-type.js +13 -0
- package/dist/stops/stop-area.d.ts +67 -0
- package/dist/stops/stop-area.js +10 -0
- package/dist/{stop.d.ts → stops/stop.d.ts} +271 -345
- package/dist/stops/stop.js +78 -0
- package/dist/vehicle-events/gtfs-rt-vehicle-event-extended.d.ts +1 -21
- package/dist/vehicle-events/gtfs-rt-vehicle-event-extended.js +4 -5
- package/dist/vehicle-events/simplified-vehicle-event.d.ts +4 -3
- package/dist/vehicle-events/simplified-vehicle-event.js +6 -4
- package/dist/zone.d.ts +10 -10
- package/dist/zone.js +1 -1
- package/package.json +2 -2
- package/dist/stop.js +0 -102
|
@@ -1,74 +1,57 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const jurisdictionSchema: z.ZodEnum<["ip", "municipality", "other", "unknown"]>;
|
|
3
|
-
export declare const stopLifecycleStatusSchema: z.ZodEnum<["active", "inactive", "provisional", "seasonal", "voided"]>;
|
|
4
|
-
export declare const electricityStatusSchema: z.ZodEnum<["available", "unavailable", "unknown"]>;
|
|
5
|
-
export declare const roadTypeSchema: z.ZodEnum<["complementary_itinerary", "highway", "main_itinerary", "national_road", "regional_road", "secondary_road", "unknown"]>;
|
|
6
|
-
export declare const infrastructureStatusSchema: z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>;
|
|
7
|
-
export declare const connectionsSchema: z.ZodEnum<["ferry", "light_rail", "subway", "train", "boat", "airport", "bike_sharing", "bike_parking", "car_parking"]>;
|
|
8
|
-
export declare const facilitiesSchema: z.ZodEnum<["fire_station", "health_clinic", "historic_building", "hospital", "police_station", "school", "shopping", "transit_office", "university", "beach"]>;
|
|
9
|
-
export declare const hasAnySchema: z.ZodEnum<["yes", "no", "unknown"]>;
|
|
10
|
-
export declare const equipmentSchema: z.ZodEnum<["pip", "mupi", "mini_pip"]>;
|
|
11
|
-
export type Jurisdiction = z.infer<typeof jurisdictionSchema>;
|
|
12
|
-
export type StopLifecycleStatus = z.infer<typeof stopLifecycleStatusSchema>;
|
|
13
|
-
export type ElectricityStatus = z.infer<typeof electricityStatusSchema>;
|
|
14
|
-
export type RoadType = z.infer<typeof roadTypeSchema>;
|
|
15
|
-
export type InfrastructureStatus = z.infer<typeof infrastructureStatusSchema>;
|
|
16
|
-
export type Connections = z.infer<typeof connectionsSchema>;
|
|
17
|
-
export type Facilities = z.infer<typeof facilitiesSchema>;
|
|
18
|
-
export type Equipment = z.infer<typeof equipmentSchema>;
|
|
19
2
|
export declare const StopSchema: z.ZodObject<{
|
|
20
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
3
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
21
4
|
created_by: z.ZodOptional<z.ZodString>;
|
|
22
|
-
|
|
5
|
+
is_locked: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
23
7
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
24
8
|
} & {
|
|
25
9
|
_id: z.ZodString;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
lifecycle_status: z.ZodEnum<["active", "inactive", "provisional", "seasonal", "voided"]>;
|
|
10
|
+
is_deleted: z.ZodDefault<z.ZodBoolean>;
|
|
11
|
+
jurisdiction: z.ZodDefault<z.ZodEnum<["ip", "municipality", "other", "unknown"]>>;
|
|
12
|
+
legacy_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
lifecycle_status: z.ZodDefault<z.ZodEnum<["draft", "active", "inactive", "provisional", "seasonal", "voided"]>>;
|
|
31
14
|
name: z.ZodString;
|
|
32
|
-
new_name: z.
|
|
33
|
-
short_name: z.
|
|
34
|
-
tts_name: z.
|
|
15
|
+
new_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
short_name: z.ZodString;
|
|
17
|
+
tts_name: z.ZodString;
|
|
35
18
|
district_id: z.ZodString;
|
|
36
19
|
latitude: z.ZodNumber;
|
|
37
|
-
locality_id: z.
|
|
20
|
+
locality_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
38
21
|
longitude: z.ZodNumber;
|
|
39
22
|
municipality_id: z.ZodString;
|
|
40
|
-
parish_id: z.
|
|
41
|
-
bench_status: z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]
|
|
42
|
-
electricity_status: z.ZodEnum<["available", "unavailable", "unknown"]
|
|
43
|
-
pole_status: z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]
|
|
44
|
-
road_type: z.ZodEnum<["complementary_itinerary", "highway", "main_itinerary", "national_road", "regional_road", "secondary_road", "unknown"]
|
|
45
|
-
shelter_code: z.
|
|
46
|
-
shelter_frame_size: z.
|
|
47
|
-
shelter_installation_date: z.
|
|
48
|
-
shelter_maintainer: z.
|
|
49
|
-
shelter_make: z.
|
|
50
|
-
shelter_model: z.
|
|
51
|
-
shelter_status: z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]
|
|
52
|
-
last_infrastructure_check: z.
|
|
53
|
-
last_infrastructure_maintenance: z.
|
|
54
|
-
last_schedules_check: z.
|
|
55
|
-
last_schedules_maintenance: z.
|
|
56
|
-
connections: z.ZodArray<z.ZodEnum<["ferry", "light_rail", "subway", "train", "boat", "airport", "bike_sharing", "bike_parking", "car_parking"]>, "many"
|
|
57
|
-
facilities: z.ZodArray<z.ZodEnum<["fire_station", "health_clinic", "historic_building", "hospital", "police_station", "school", "shopping", "transit_office", "university", "beach"]>, "many"
|
|
58
|
-
equipment: z.ZodArray<z.ZodEnum<["pip", "mupi", "mini_pip"]>, "many"
|
|
59
|
-
has_bench: z.ZodEnum<["
|
|
60
|
-
has_mupi: z.ZodEnum<["
|
|
61
|
-
has_network_map: z.ZodEnum<["
|
|
62
|
-
has_schedules: z.ZodEnum<["
|
|
63
|
-
has_shelter: z.ZodEnum<["
|
|
64
|
-
has_stop_sign: z.ZodEnum<["
|
|
23
|
+
parish_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
bench_status: z.ZodDefault<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>>;
|
|
25
|
+
electricity_status: z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>;
|
|
26
|
+
pole_status: z.ZodDefault<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>>;
|
|
27
|
+
road_type: z.ZodDefault<z.ZodEnum<["complementary_itinerary", "highway", "main_itinerary", "national_road", "regional_road", "secondary_road", "unknown"]>>;
|
|
28
|
+
shelter_code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
shelter_frame_size: z.ZodDefault<z.ZodNullable<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
30
|
+
shelter_installation_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
|
|
31
|
+
shelter_maintainer: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
shelter_make: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
shelter_model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
shelter_status: z.ZodDefault<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>>;
|
|
35
|
+
last_infrastructure_check: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
|
|
36
|
+
last_infrastructure_maintenance: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
|
|
37
|
+
last_schedules_check: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
|
|
38
|
+
last_schedules_maintenance: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
|
|
39
|
+
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<["ferry", "light_rail", "subway", "train", "boat", "airport", "bike_sharing", "bike_parking", "car_parking"]>, "many">>;
|
|
40
|
+
facilities: z.ZodDefault<z.ZodArray<z.ZodEnum<["fire_station", "health_clinic", "historic_building", "hospital", "police_station", "school", "shopping", "transit_office", "university", "beach"]>, "many">>;
|
|
41
|
+
equipment: z.ZodDefault<z.ZodArray<z.ZodEnum<["pip", "mupi", "mini_pip"]>, "many">>;
|
|
42
|
+
has_bench: z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>;
|
|
43
|
+
has_mupi: z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>;
|
|
44
|
+
has_network_map: z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>;
|
|
45
|
+
has_schedules: z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>;
|
|
46
|
+
has_shelter: z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>;
|
|
47
|
+
has_stop_sign: z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>;
|
|
65
48
|
file_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
66
49
|
image_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
67
|
-
comments: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
50
|
+
comments: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
68
51
|
_id: z.ZodOptional<z.ZodString>;
|
|
69
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
52
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
70
53
|
created_by: z.ZodOptional<z.ZodString>;
|
|
71
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("
|
|
54
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
72
55
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
73
56
|
message: z.ZodString;
|
|
74
57
|
type: z.ZodLiteral<"note">;
|
|
@@ -94,9 +77,9 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
94
77
|
updated_by?: string | undefined;
|
|
95
78
|
}>, z.ZodObject<{
|
|
96
79
|
_id: z.ZodOptional<z.ZodString>;
|
|
97
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
80
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
98
81
|
created_by: z.ZodOptional<z.ZodString>;
|
|
99
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("
|
|
82
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
100
83
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
101
84
|
type: z.ZodLiteral<"field_changed">;
|
|
102
85
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -131,9 +114,9 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
131
114
|
prev_value?: any;
|
|
132
115
|
}>, z.ZodObject<{
|
|
133
116
|
_id: z.ZodOptional<z.ZodString>;
|
|
134
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
117
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
135
118
|
created_by: z.ZodOptional<z.ZodString>;
|
|
136
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("
|
|
119
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
137
120
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
138
121
|
type: z.ZodLiteral<"crud">;
|
|
139
122
|
action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
|
|
@@ -223,17 +206,19 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
223
206
|
_id?: string | undefined;
|
|
224
207
|
created_by?: string | undefined;
|
|
225
208
|
updated_by?: string | undefined;
|
|
226
|
-
}>, "many"
|
|
227
|
-
observations: z.
|
|
228
|
-
}, "
|
|
209
|
+
}>, "many">>;
|
|
210
|
+
observations: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
211
|
+
}, "strip", z.ZodTypeAny, {
|
|
229
212
|
_id: string;
|
|
230
213
|
created_at: number & {
|
|
231
214
|
__brand: "UnixTimestamp";
|
|
232
215
|
};
|
|
216
|
+
is_locked: boolean;
|
|
233
217
|
updated_at: number & {
|
|
234
218
|
__brand: "UnixTimestamp";
|
|
235
219
|
};
|
|
236
220
|
name: string;
|
|
221
|
+
short_name: string;
|
|
237
222
|
comments: ({
|
|
238
223
|
created_at: number & {
|
|
239
224
|
__brand: "UnixTimestamp";
|
|
@@ -274,55 +259,62 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
274
259
|
created_by?: string | undefined;
|
|
275
260
|
updated_by?: string | undefined;
|
|
276
261
|
})[];
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
has_stop_sign: "unknown" | "yes" | "no";
|
|
262
|
+
has_bench: "unknown" | "available" | "unavailable";
|
|
263
|
+
has_network_map: "unknown" | "available" | "unavailable";
|
|
264
|
+
has_schedules: "unknown" | "available" | "unavailable";
|
|
265
|
+
has_shelter: "unknown" | "available" | "unavailable";
|
|
266
|
+
has_stop_sign: "unknown" | "available" | "unavailable";
|
|
283
267
|
municipality_id: string;
|
|
284
|
-
|
|
268
|
+
parish_id: string | null;
|
|
269
|
+
shelter_code: string | null;
|
|
270
|
+
shelter_maintainer: string | null;
|
|
271
|
+
is_deleted: boolean;
|
|
285
272
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
286
|
-
|
|
273
|
+
legacy_id: string | null;
|
|
274
|
+
lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
|
|
275
|
+
new_name: string | null;
|
|
276
|
+
tts_name: string;
|
|
287
277
|
district_id: string;
|
|
288
278
|
latitude: number;
|
|
279
|
+
locality_id: string | null;
|
|
289
280
|
longitude: number;
|
|
290
281
|
bench_status: "unknown" | "not_applicable" | "missing" | "damaged" | "ok";
|
|
291
282
|
electricity_status: "unknown" | "available" | "unavailable";
|
|
292
283
|
pole_status: "unknown" | "not_applicable" | "missing" | "damaged" | "ok";
|
|
293
284
|
road_type: "unknown" | "complementary_itinerary" | "highway" | "main_itinerary" | "national_road" | "regional_road" | "secondary_road";
|
|
285
|
+
shelter_frame_size: [number, number] | null;
|
|
286
|
+
shelter_installation_date: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
287
|
+
shelter_make: string | null;
|
|
288
|
+
shelter_model: string | null;
|
|
294
289
|
shelter_status: "unknown" | "not_applicable" | "missing" | "damaged" | "ok";
|
|
290
|
+
last_infrastructure_check: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
291
|
+
last_infrastructure_maintenance: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
292
|
+
last_schedules_check: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
293
|
+
last_schedules_maintenance: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
295
294
|
connections: ("ferry" | "light_rail" | "subway" | "train" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
296
295
|
facilities: ("school" | "fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
297
296
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
298
|
-
has_mupi: "unknown" | "
|
|
297
|
+
has_mupi: "unknown" | "available" | "unavailable";
|
|
299
298
|
file_ids: string[];
|
|
300
299
|
image_ids: string[];
|
|
300
|
+
observations: string | null;
|
|
301
301
|
created_by?: string | undefined;
|
|
302
302
|
updated_by?: string | undefined;
|
|
303
|
-
short_name?: string | null | undefined;
|
|
304
|
-
parish_id?: string | null | undefined;
|
|
305
|
-
shelter_code?: string | null | undefined;
|
|
306
|
-
shelter_maintainer?: string | null | undefined;
|
|
307
|
-
legacy_id?: string | null | undefined;
|
|
308
|
-
new_name?: string | null | undefined;
|
|
309
|
-
tts_name?: string | null | undefined;
|
|
310
|
-
locality_id?: string | null | undefined;
|
|
311
|
-
shelter_frame_size?: [number, number] | null | undefined;
|
|
312
|
-
shelter_installation_date?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
313
|
-
shelter_make?: string | null | undefined;
|
|
314
|
-
shelter_model?: string | null | undefined;
|
|
315
|
-
last_infrastructure_check?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
316
|
-
last_infrastructure_maintenance?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
317
|
-
last_schedules_check?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
318
|
-
last_schedules_maintenance?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
319
|
-
observations?: string | null | undefined;
|
|
320
303
|
}, {
|
|
321
304
|
_id: string;
|
|
322
305
|
created_at: number;
|
|
323
306
|
updated_at: number;
|
|
324
307
|
name: string;
|
|
325
|
-
|
|
308
|
+
short_name: string;
|
|
309
|
+
municipality_id: string;
|
|
310
|
+
tts_name: string;
|
|
311
|
+
district_id: string;
|
|
312
|
+
latitude: number;
|
|
313
|
+
longitude: number;
|
|
314
|
+
created_by?: string | undefined;
|
|
315
|
+
is_locked?: boolean | undefined;
|
|
316
|
+
updated_by?: string | undefined;
|
|
317
|
+
comments?: ({
|
|
326
318
|
created_at: number;
|
|
327
319
|
updated_at: number;
|
|
328
320
|
message: string;
|
|
@@ -349,161 +341,95 @@ export declare const StopSchema: z.ZodObject<{
|
|
|
349
341
|
_id?: string | undefined;
|
|
350
342
|
created_by?: string | undefined;
|
|
351
343
|
updated_by?: string | undefined;
|
|
352
|
-
})[];
|
|
353
|
-
has_bench
|
|
354
|
-
has_network_map
|
|
355
|
-
has_schedules
|
|
356
|
-
has_shelter
|
|
357
|
-
has_stop_sign
|
|
358
|
-
municipality_id: string;
|
|
359
|
-
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
360
|
-
lifecycle_status: "active" | "inactive" | "provisional" | "seasonal" | "voided";
|
|
361
|
-
district_id: string;
|
|
362
|
-
latitude: number;
|
|
363
|
-
longitude: number;
|
|
364
|
-
bench_status: "unknown" | "not_applicable" | "missing" | "damaged" | "ok";
|
|
365
|
-
electricity_status: "unknown" | "available" | "unavailable";
|
|
366
|
-
pole_status: "unknown" | "not_applicable" | "missing" | "damaged" | "ok";
|
|
367
|
-
road_type: "unknown" | "complementary_itinerary" | "highway" | "main_itinerary" | "national_road" | "regional_road" | "secondary_road";
|
|
368
|
-
shelter_status: "unknown" | "not_applicable" | "missing" | "damaged" | "ok";
|
|
369
|
-
connections: ("ferry" | "light_rail" | "subway" | "train" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
370
|
-
facilities: ("school" | "fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
371
|
-
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
372
|
-
has_mupi: "unknown" | "yes" | "no";
|
|
373
|
-
created_by?: string | undefined;
|
|
374
|
-
updated_by?: string | undefined;
|
|
375
|
-
short_name?: string | null | undefined;
|
|
376
|
-
is_locked?: boolean | undefined;
|
|
344
|
+
})[] | undefined;
|
|
345
|
+
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
346
|
+
has_network_map?: "unknown" | "available" | "unavailable" | undefined;
|
|
347
|
+
has_schedules?: "unknown" | "available" | "unavailable" | undefined;
|
|
348
|
+
has_shelter?: "unknown" | "available" | "unavailable" | undefined;
|
|
349
|
+
has_stop_sign?: "unknown" | "available" | "unavailable" | undefined;
|
|
377
350
|
parish_id?: string | null | undefined;
|
|
378
351
|
shelter_code?: string | null | undefined;
|
|
379
352
|
shelter_maintainer?: string | null | undefined;
|
|
380
|
-
|
|
353
|
+
is_deleted?: boolean | undefined;
|
|
354
|
+
jurisdiction?: "unknown" | "ip" | "municipality" | "other" | undefined;
|
|
381
355
|
legacy_id?: string | null | undefined;
|
|
356
|
+
lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
|
|
382
357
|
new_name?: string | null | undefined;
|
|
383
|
-
tts_name?: string | null | undefined;
|
|
384
358
|
locality_id?: string | null | undefined;
|
|
359
|
+
bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
|
|
360
|
+
electricity_status?: "unknown" | "available" | "unavailable" | undefined;
|
|
361
|
+
pole_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
|
|
362
|
+
road_type?: "unknown" | "complementary_itinerary" | "highway" | "main_itinerary" | "national_road" | "regional_road" | "secondary_road" | undefined;
|
|
385
363
|
shelter_frame_size?: [number, number] | null | undefined;
|
|
386
364
|
shelter_installation_date?: number | null | undefined;
|
|
387
365
|
shelter_make?: string | null | undefined;
|
|
388
366
|
shelter_model?: string | null | undefined;
|
|
367
|
+
shelter_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
|
|
389
368
|
last_infrastructure_check?: number | null | undefined;
|
|
390
369
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
391
370
|
last_schedules_check?: number | null | undefined;
|
|
392
371
|
last_schedules_maintenance?: number | null | undefined;
|
|
372
|
+
connections?: ("ferry" | "light_rail" | "subway" | "train" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
373
|
+
facilities?: ("school" | "fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
374
|
+
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
375
|
+
has_mupi?: "unknown" | "available" | "unavailable" | undefined;
|
|
393
376
|
file_ids?: string[] | undefined;
|
|
394
377
|
image_ids?: string[] | undefined;
|
|
395
378
|
observations?: string | null | undefined;
|
|
396
379
|
}>;
|
|
397
|
-
export declare const parentStationSchema: z.ZodObject<{
|
|
398
|
-
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
399
|
-
created_by: z.ZodOptional<z.ZodString>;
|
|
400
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
401
|
-
updated_by: z.ZodOptional<z.ZodString>;
|
|
402
|
-
} & {
|
|
403
|
-
_id: z.ZodString;
|
|
404
|
-
agency_id: z.ZodString;
|
|
405
|
-
stop_ids: z.ZodArray<z.ZodString, "many">;
|
|
406
|
-
}, "strict", z.ZodTypeAny, {
|
|
407
|
-
_id: string;
|
|
408
|
-
created_at: number & {
|
|
409
|
-
__brand: "UnixTimestamp";
|
|
410
|
-
};
|
|
411
|
-
updated_at: number & {
|
|
412
|
-
__brand: "UnixTimestamp";
|
|
413
|
-
};
|
|
414
|
-
agency_id: string;
|
|
415
|
-
stop_ids: string[];
|
|
416
|
-
created_by?: string | undefined;
|
|
417
|
-
updated_by?: string | undefined;
|
|
418
|
-
}, {
|
|
419
|
-
_id: string;
|
|
420
|
-
created_at: number;
|
|
421
|
-
updated_at: number;
|
|
422
|
-
agency_id: string;
|
|
423
|
-
stop_ids: string[];
|
|
424
|
-
created_by?: string | undefined;
|
|
425
|
-
updated_by?: string | undefined;
|
|
426
|
-
}>;
|
|
427
|
-
export declare const stopAreaSchema: z.ZodObject<{
|
|
428
|
-
created_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
429
|
-
created_by: z.ZodOptional<z.ZodString>;
|
|
430
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("./_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
431
|
-
updated_by: z.ZodOptional<z.ZodString>;
|
|
432
|
-
} & {
|
|
433
|
-
_id: z.ZodString;
|
|
434
|
-
parent_station_ids: z.ZodArray<z.ZodString, "many">;
|
|
435
|
-
}, "strict", z.ZodTypeAny, {
|
|
436
|
-
_id: string;
|
|
437
|
-
created_at: number & {
|
|
438
|
-
__brand: "UnixTimestamp";
|
|
439
|
-
};
|
|
440
|
-
updated_at: number & {
|
|
441
|
-
__brand: "UnixTimestamp";
|
|
442
|
-
};
|
|
443
|
-
parent_station_ids: string[];
|
|
444
|
-
created_by?: string | undefined;
|
|
445
|
-
updated_by?: string | undefined;
|
|
446
|
-
}, {
|
|
447
|
-
_id: string;
|
|
448
|
-
created_at: number;
|
|
449
|
-
updated_at: number;
|
|
450
|
-
parent_station_ids: string[];
|
|
451
|
-
created_by?: string | undefined;
|
|
452
|
-
updated_by?: string | undefined;
|
|
453
|
-
}>;
|
|
454
380
|
export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
455
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
381
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
456
382
|
created_by: z.ZodOptional<z.ZodString>;
|
|
457
|
-
|
|
383
|
+
is_locked: z.ZodDefault<z.ZodBoolean>;
|
|
384
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
458
385
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
459
386
|
} & {
|
|
460
387
|
_id: z.ZodString;
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
lifecycle_status: z.ZodEnum<["active", "inactive", "provisional", "seasonal", "voided"]>;
|
|
388
|
+
is_deleted: z.ZodDefault<z.ZodBoolean>;
|
|
389
|
+
jurisdiction: z.ZodDefault<z.ZodEnum<["ip", "municipality", "other", "unknown"]>>;
|
|
390
|
+
legacy_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
391
|
+
lifecycle_status: z.ZodDefault<z.ZodEnum<["draft", "active", "inactive", "provisional", "seasonal", "voided"]>>;
|
|
466
392
|
name: z.ZodString;
|
|
467
|
-
new_name: z.
|
|
468
|
-
short_name: z.
|
|
469
|
-
tts_name: z.
|
|
393
|
+
new_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
394
|
+
short_name: z.ZodString;
|
|
395
|
+
tts_name: z.ZodString;
|
|
470
396
|
district_id: z.ZodString;
|
|
471
397
|
latitude: z.ZodNumber;
|
|
472
|
-
locality_id: z.
|
|
398
|
+
locality_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
473
399
|
longitude: z.ZodNumber;
|
|
474
400
|
municipality_id: z.ZodString;
|
|
475
|
-
parish_id: z.
|
|
476
|
-
bench_status: z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]
|
|
477
|
-
electricity_status: z.ZodEnum<["available", "unavailable", "unknown"]
|
|
478
|
-
pole_status: z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]
|
|
479
|
-
road_type: z.ZodEnum<["complementary_itinerary", "highway", "main_itinerary", "national_road", "regional_road", "secondary_road", "unknown"]
|
|
480
|
-
shelter_code: z.
|
|
481
|
-
shelter_frame_size: z.
|
|
482
|
-
shelter_installation_date: z.
|
|
483
|
-
shelter_maintainer: z.
|
|
484
|
-
shelter_make: z.
|
|
485
|
-
shelter_model: z.
|
|
486
|
-
shelter_status: z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]
|
|
487
|
-
last_infrastructure_check: z.
|
|
488
|
-
last_infrastructure_maintenance: z.
|
|
489
|
-
last_schedules_check: z.
|
|
490
|
-
last_schedules_maintenance: z.
|
|
491
|
-
connections: z.ZodArray<z.ZodEnum<["ferry", "light_rail", "subway", "train", "boat", "airport", "bike_sharing", "bike_parking", "car_parking"]>, "many"
|
|
492
|
-
facilities: z.ZodArray<z.ZodEnum<["fire_station", "health_clinic", "historic_building", "hospital", "police_station", "school", "shopping", "transit_office", "university", "beach"]>, "many"
|
|
493
|
-
equipment: z.ZodArray<z.ZodEnum<["pip", "mupi", "mini_pip"]>, "many"
|
|
494
|
-
has_bench: z.ZodEnum<["
|
|
495
|
-
has_mupi: z.ZodEnum<["
|
|
496
|
-
has_network_map: z.ZodEnum<["
|
|
497
|
-
has_schedules: z.ZodEnum<["
|
|
498
|
-
has_shelter: z.ZodEnum<["
|
|
499
|
-
has_stop_sign: z.ZodEnum<["
|
|
401
|
+
parish_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
402
|
+
bench_status: z.ZodDefault<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>>;
|
|
403
|
+
electricity_status: z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>;
|
|
404
|
+
pole_status: z.ZodDefault<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>>;
|
|
405
|
+
road_type: z.ZodDefault<z.ZodEnum<["complementary_itinerary", "highway", "main_itinerary", "national_road", "regional_road", "secondary_road", "unknown"]>>;
|
|
406
|
+
shelter_code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
407
|
+
shelter_frame_size: z.ZodDefault<z.ZodNullable<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
408
|
+
shelter_installation_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
|
|
409
|
+
shelter_maintainer: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
410
|
+
shelter_make: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
411
|
+
shelter_model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
412
|
+
shelter_status: z.ZodDefault<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>>;
|
|
413
|
+
last_infrastructure_check: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
|
|
414
|
+
last_infrastructure_maintenance: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
|
|
415
|
+
last_schedules_check: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
|
|
416
|
+
last_schedules_maintenance: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
|
|
417
|
+
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<["ferry", "light_rail", "subway", "train", "boat", "airport", "bike_sharing", "bike_parking", "car_parking"]>, "many">>;
|
|
418
|
+
facilities: z.ZodDefault<z.ZodArray<z.ZodEnum<["fire_station", "health_clinic", "historic_building", "hospital", "police_station", "school", "shopping", "transit_office", "university", "beach"]>, "many">>;
|
|
419
|
+
equipment: z.ZodDefault<z.ZodArray<z.ZodEnum<["pip", "mupi", "mini_pip"]>, "many">>;
|
|
420
|
+
has_bench: z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>;
|
|
421
|
+
has_mupi: z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>;
|
|
422
|
+
has_network_map: z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>;
|
|
423
|
+
has_schedules: z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>;
|
|
424
|
+
has_shelter: z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>;
|
|
425
|
+
has_stop_sign: z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>;
|
|
500
426
|
file_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
501
427
|
image_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
502
|
-
comments: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
428
|
+
comments: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
503
429
|
_id: z.ZodOptional<z.ZodString>;
|
|
504
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
430
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
505
431
|
created_by: z.ZodOptional<z.ZodString>;
|
|
506
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("
|
|
432
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
507
433
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
508
434
|
message: z.ZodString;
|
|
509
435
|
type: z.ZodLiteral<"note">;
|
|
@@ -529,9 +455,9 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
529
455
|
updated_by?: string | undefined;
|
|
530
456
|
}>, z.ZodObject<{
|
|
531
457
|
_id: z.ZodOptional<z.ZodString>;
|
|
532
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
458
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
533
459
|
created_by: z.ZodOptional<z.ZodString>;
|
|
534
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("
|
|
460
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
535
461
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
536
462
|
type: z.ZodLiteral<"field_changed">;
|
|
537
463
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -566,9 +492,9 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
566
492
|
prev_value?: any;
|
|
567
493
|
}>, z.ZodObject<{
|
|
568
494
|
_id: z.ZodOptional<z.ZodString>;
|
|
569
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
495
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
570
496
|
created_by: z.ZodOptional<z.ZodString>;
|
|
571
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("
|
|
497
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
572
498
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
573
499
|
type: z.ZodLiteral<"crud">;
|
|
574
500
|
action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
|
|
@@ -658,10 +584,12 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
658
584
|
_id?: string | undefined;
|
|
659
585
|
created_by?: string | undefined;
|
|
660
586
|
updated_by?: string | undefined;
|
|
661
|
-
}>, "many"
|
|
662
|
-
observations: z.
|
|
663
|
-
}, "_id" | "created_at" | "updated_at">, "
|
|
587
|
+
}>, "many">>;
|
|
588
|
+
observations: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
589
|
+
}, "_id" | "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
|
|
590
|
+
is_locked: boolean;
|
|
664
591
|
name: string;
|
|
592
|
+
short_name: string;
|
|
665
593
|
comments: ({
|
|
666
594
|
created_at: number & {
|
|
667
595
|
__brand: "UnixTimestamp";
|
|
@@ -702,52 +630,59 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
702
630
|
created_by?: string | undefined;
|
|
703
631
|
updated_by?: string | undefined;
|
|
704
632
|
})[];
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
has_stop_sign: "unknown" | "yes" | "no";
|
|
633
|
+
has_bench: "unknown" | "available" | "unavailable";
|
|
634
|
+
has_network_map: "unknown" | "available" | "unavailable";
|
|
635
|
+
has_schedules: "unknown" | "available" | "unavailable";
|
|
636
|
+
has_shelter: "unknown" | "available" | "unavailable";
|
|
637
|
+
has_stop_sign: "unknown" | "available" | "unavailable";
|
|
711
638
|
municipality_id: string;
|
|
712
|
-
|
|
639
|
+
parish_id: string | null;
|
|
640
|
+
shelter_code: string | null;
|
|
641
|
+
shelter_maintainer: string | null;
|
|
642
|
+
is_deleted: boolean;
|
|
713
643
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
714
|
-
|
|
644
|
+
legacy_id: string | null;
|
|
645
|
+
lifecycle_status: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided";
|
|
646
|
+
new_name: string | null;
|
|
647
|
+
tts_name: string;
|
|
715
648
|
district_id: string;
|
|
716
649
|
latitude: number;
|
|
650
|
+
locality_id: string | null;
|
|
717
651
|
longitude: number;
|
|
718
652
|
bench_status: "unknown" | "not_applicable" | "missing" | "damaged" | "ok";
|
|
719
653
|
electricity_status: "unknown" | "available" | "unavailable";
|
|
720
654
|
pole_status: "unknown" | "not_applicable" | "missing" | "damaged" | "ok";
|
|
721
655
|
road_type: "unknown" | "complementary_itinerary" | "highway" | "main_itinerary" | "national_road" | "regional_road" | "secondary_road";
|
|
656
|
+
shelter_frame_size: [number, number] | null;
|
|
657
|
+
shelter_installation_date: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
658
|
+
shelter_make: string | null;
|
|
659
|
+
shelter_model: string | null;
|
|
722
660
|
shelter_status: "unknown" | "not_applicable" | "missing" | "damaged" | "ok";
|
|
661
|
+
last_infrastructure_check: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
662
|
+
last_infrastructure_maintenance: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
663
|
+
last_schedules_check: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
664
|
+
last_schedules_maintenance: import("../_common/unix-timestamp.js").UnixTimestamp | null;
|
|
723
665
|
connections: ("ferry" | "light_rail" | "subway" | "train" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
724
666
|
facilities: ("school" | "fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
725
667
|
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
726
|
-
has_mupi: "unknown" | "
|
|
668
|
+
has_mupi: "unknown" | "available" | "unavailable";
|
|
727
669
|
file_ids: string[];
|
|
728
670
|
image_ids: string[];
|
|
671
|
+
observations: string | null;
|
|
729
672
|
created_by?: string | undefined;
|
|
730
673
|
updated_by?: string | undefined;
|
|
731
|
-
short_name?: string | null | undefined;
|
|
732
|
-
parish_id?: string | null | undefined;
|
|
733
|
-
shelter_code?: string | null | undefined;
|
|
734
|
-
shelter_maintainer?: string | null | undefined;
|
|
735
|
-
legacy_id?: string | null | undefined;
|
|
736
|
-
new_name?: string | null | undefined;
|
|
737
|
-
tts_name?: string | null | undefined;
|
|
738
|
-
locality_id?: string | null | undefined;
|
|
739
|
-
shelter_frame_size?: [number, number] | null | undefined;
|
|
740
|
-
shelter_installation_date?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
741
|
-
shelter_make?: string | null | undefined;
|
|
742
|
-
shelter_model?: string | null | undefined;
|
|
743
|
-
last_infrastructure_check?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
744
|
-
last_infrastructure_maintenance?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
745
|
-
last_schedules_check?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
746
|
-
last_schedules_maintenance?: import("./_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
747
|
-
observations?: string | null | undefined;
|
|
748
674
|
}, {
|
|
749
675
|
name: string;
|
|
750
|
-
|
|
676
|
+
short_name: string;
|
|
677
|
+
municipality_id: string;
|
|
678
|
+
tts_name: string;
|
|
679
|
+
district_id: string;
|
|
680
|
+
latitude: number;
|
|
681
|
+
longitude: number;
|
|
682
|
+
created_by?: string | undefined;
|
|
683
|
+
is_locked?: boolean | undefined;
|
|
684
|
+
updated_by?: string | undefined;
|
|
685
|
+
comments?: ({
|
|
751
686
|
created_at: number;
|
|
752
687
|
updated_at: number;
|
|
753
688
|
message: string;
|
|
@@ -774,60 +709,52 @@ export declare const CreateStopSchema: z.ZodObject<Omit<{
|
|
|
774
709
|
_id?: string | undefined;
|
|
775
710
|
created_by?: string | undefined;
|
|
776
711
|
updated_by?: string | undefined;
|
|
777
|
-
})[];
|
|
778
|
-
has_bench
|
|
779
|
-
has_network_map
|
|
780
|
-
has_schedules
|
|
781
|
-
has_shelter
|
|
782
|
-
has_stop_sign
|
|
783
|
-
municipality_id: string;
|
|
784
|
-
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
785
|
-
lifecycle_status: "active" | "inactive" | "provisional" | "seasonal" | "voided";
|
|
786
|
-
district_id: string;
|
|
787
|
-
latitude: number;
|
|
788
|
-
longitude: number;
|
|
789
|
-
bench_status: "unknown" | "not_applicable" | "missing" | "damaged" | "ok";
|
|
790
|
-
electricity_status: "unknown" | "available" | "unavailable";
|
|
791
|
-
pole_status: "unknown" | "not_applicable" | "missing" | "damaged" | "ok";
|
|
792
|
-
road_type: "unknown" | "complementary_itinerary" | "highway" | "main_itinerary" | "national_road" | "regional_road" | "secondary_road";
|
|
793
|
-
shelter_status: "unknown" | "not_applicable" | "missing" | "damaged" | "ok";
|
|
794
|
-
connections: ("ferry" | "light_rail" | "subway" | "train" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[];
|
|
795
|
-
facilities: ("school" | "fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "shopping" | "transit_office" | "university" | "beach")[];
|
|
796
|
-
equipment: ("pip" | "mupi" | "mini_pip")[];
|
|
797
|
-
has_mupi: "unknown" | "yes" | "no";
|
|
798
|
-
created_by?: string | undefined;
|
|
799
|
-
updated_by?: string | undefined;
|
|
800
|
-
short_name?: string | null | undefined;
|
|
801
|
-
is_locked?: boolean | undefined;
|
|
712
|
+
})[] | undefined;
|
|
713
|
+
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
714
|
+
has_network_map?: "unknown" | "available" | "unavailable" | undefined;
|
|
715
|
+
has_schedules?: "unknown" | "available" | "unavailable" | undefined;
|
|
716
|
+
has_shelter?: "unknown" | "available" | "unavailable" | undefined;
|
|
717
|
+
has_stop_sign?: "unknown" | "available" | "unavailable" | undefined;
|
|
802
718
|
parish_id?: string | null | undefined;
|
|
803
719
|
shelter_code?: string | null | undefined;
|
|
804
720
|
shelter_maintainer?: string | null | undefined;
|
|
805
|
-
|
|
721
|
+
is_deleted?: boolean | undefined;
|
|
722
|
+
jurisdiction?: "unknown" | "ip" | "municipality" | "other" | undefined;
|
|
806
723
|
legacy_id?: string | null | undefined;
|
|
724
|
+
lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
|
|
807
725
|
new_name?: string | null | undefined;
|
|
808
|
-
tts_name?: string | null | undefined;
|
|
809
726
|
locality_id?: string | null | undefined;
|
|
727
|
+
bench_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
|
|
728
|
+
electricity_status?: "unknown" | "available" | "unavailable" | undefined;
|
|
729
|
+
pole_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
|
|
730
|
+
road_type?: "unknown" | "complementary_itinerary" | "highway" | "main_itinerary" | "national_road" | "regional_road" | "secondary_road" | undefined;
|
|
810
731
|
shelter_frame_size?: [number, number] | null | undefined;
|
|
811
732
|
shelter_installation_date?: number | null | undefined;
|
|
812
733
|
shelter_make?: string | null | undefined;
|
|
813
734
|
shelter_model?: string | null | undefined;
|
|
735
|
+
shelter_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
|
|
814
736
|
last_infrastructure_check?: number | null | undefined;
|
|
815
737
|
last_infrastructure_maintenance?: number | null | undefined;
|
|
816
738
|
last_schedules_check?: number | null | undefined;
|
|
817
739
|
last_schedules_maintenance?: number | null | undefined;
|
|
740
|
+
connections?: ("ferry" | "light_rail" | "subway" | "train" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
741
|
+
facilities?: ("school" | "fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
742
|
+
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
743
|
+
has_mupi?: "unknown" | "available" | "unavailable" | undefined;
|
|
818
744
|
file_ids?: string[] | undefined;
|
|
819
745
|
image_ids?: string[] | undefined;
|
|
820
746
|
observations?: string | null | undefined;
|
|
821
747
|
}>;
|
|
822
748
|
export declare const UpdateStopSchema: z.ZodObject<{
|
|
749
|
+
is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
823
750
|
updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
824
751
|
name: z.ZodOptional<z.ZodString>;
|
|
825
|
-
short_name: z.ZodOptional<z.
|
|
826
|
-
comments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
752
|
+
short_name: z.ZodOptional<z.ZodString>;
|
|
753
|
+
comments: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
827
754
|
_id: z.ZodOptional<z.ZodString>;
|
|
828
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
755
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
829
756
|
created_by: z.ZodOptional<z.ZodString>;
|
|
830
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("
|
|
757
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
831
758
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
832
759
|
message: z.ZodString;
|
|
833
760
|
type: z.ZodLiteral<"note">;
|
|
@@ -853,9 +780,9 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
853
780
|
updated_by?: string | undefined;
|
|
854
781
|
}>, z.ZodObject<{
|
|
855
782
|
_id: z.ZodOptional<z.ZodString>;
|
|
856
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
783
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
857
784
|
created_by: z.ZodOptional<z.ZodString>;
|
|
858
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("
|
|
785
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
859
786
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
860
787
|
type: z.ZodLiteral<"field_changed">;
|
|
861
788
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -890,9 +817,9 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
890
817
|
prev_value?: any;
|
|
891
818
|
}>, z.ZodObject<{
|
|
892
819
|
_id: z.ZodOptional<z.ZodString>;
|
|
893
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
820
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
894
821
|
created_by: z.ZodOptional<z.ZodString>;
|
|
895
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("
|
|
822
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
896
823
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
897
824
|
type: z.ZodLiteral<"crud">;
|
|
898
825
|
action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
|
|
@@ -982,51 +909,51 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
982
909
|
_id?: string | undefined;
|
|
983
910
|
created_by?: string | undefined;
|
|
984
911
|
updated_by?: string | undefined;
|
|
985
|
-
}>, "many"
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
has_stop_sign: z.ZodOptional<z.ZodEnum<["yes", "no", "unknown"]>>;
|
|
912
|
+
}>, "many">>>;
|
|
913
|
+
has_bench: z.ZodOptional<z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>>;
|
|
914
|
+
has_network_map: z.ZodOptional<z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>>;
|
|
915
|
+
has_schedules: z.ZodOptional<z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>>;
|
|
916
|
+
has_shelter: z.ZodOptional<z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>>;
|
|
917
|
+
has_stop_sign: z.ZodOptional<z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>>;
|
|
992
918
|
municipality_id: z.ZodOptional<z.ZodString>;
|
|
993
|
-
parish_id: z.ZodOptional<z.
|
|
994
|
-
shelter_code: z.ZodOptional<z.
|
|
995
|
-
shelter_maintainer: z.ZodOptional<z.
|
|
996
|
-
|
|
997
|
-
jurisdiction: z.ZodOptional<z.ZodEnum<["ip", "municipality", "other", "unknown"]
|
|
998
|
-
legacy_id: z.ZodOptional<z.
|
|
999
|
-
lifecycle_status: z.ZodOptional<z.ZodEnum<["active", "inactive", "provisional", "seasonal", "voided"]
|
|
1000
|
-
new_name: z.ZodOptional<z.
|
|
1001
|
-
tts_name: z.ZodOptional<z.
|
|
919
|
+
parish_id: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
920
|
+
shelter_code: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
921
|
+
shelter_maintainer: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
922
|
+
is_deleted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
923
|
+
jurisdiction: z.ZodOptional<z.ZodDefault<z.ZodEnum<["ip", "municipality", "other", "unknown"]>>>;
|
|
924
|
+
legacy_id: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
925
|
+
lifecycle_status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["draft", "active", "inactive", "provisional", "seasonal", "voided"]>>>;
|
|
926
|
+
new_name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
927
|
+
tts_name: z.ZodOptional<z.ZodString>;
|
|
1002
928
|
district_id: z.ZodOptional<z.ZodString>;
|
|
1003
929
|
latitude: z.ZodOptional<z.ZodNumber>;
|
|
1004
|
-
locality_id: z.ZodOptional<z.
|
|
930
|
+
locality_id: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
1005
931
|
longitude: z.ZodOptional<z.ZodNumber>;
|
|
1006
|
-
bench_status: z.ZodOptional<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]
|
|
1007
|
-
electricity_status: z.ZodOptional<z.ZodEnum<["available", "unavailable", "unknown"]
|
|
1008
|
-
pole_status: z.ZodOptional<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]
|
|
1009
|
-
road_type: z.ZodOptional<z.ZodEnum<["complementary_itinerary", "highway", "main_itinerary", "national_road", "regional_road", "secondary_road", "unknown"]
|
|
1010
|
-
shelter_frame_size: z.ZodOptional<z.
|
|
1011
|
-
shelter_installation_date: z.ZodOptional<z.
|
|
1012
|
-
shelter_make: z.ZodOptional<z.
|
|
1013
|
-
shelter_model: z.ZodOptional<z.
|
|
1014
|
-
shelter_status: z.ZodOptional<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]
|
|
1015
|
-
last_infrastructure_check: z.ZodOptional<z.
|
|
1016
|
-
last_infrastructure_maintenance: z.ZodOptional<z.
|
|
1017
|
-
last_schedules_check: z.ZodOptional<z.
|
|
1018
|
-
last_schedules_maintenance: z.ZodOptional<z.
|
|
1019
|
-
connections: z.ZodOptional<z.ZodArray<z.ZodEnum<["ferry", "light_rail", "subway", "train", "boat", "airport", "bike_sharing", "bike_parking", "car_parking"]>, "many"
|
|
1020
|
-
facilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["fire_station", "health_clinic", "historic_building", "hospital", "police_station", "school", "shopping", "transit_office", "university", "beach"]>, "many"
|
|
1021
|
-
equipment: z.ZodOptional<z.ZodArray<z.ZodEnum<["pip", "mupi", "mini_pip"]>, "many"
|
|
1022
|
-
has_mupi: z.ZodOptional<z.ZodEnum<["
|
|
932
|
+
bench_status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>>>;
|
|
933
|
+
electricity_status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>>;
|
|
934
|
+
pole_status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>>>;
|
|
935
|
+
road_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["complementary_itinerary", "highway", "main_itinerary", "national_road", "regional_road", "secondary_road", "unknown"]>>>;
|
|
936
|
+
shelter_frame_size: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>>;
|
|
937
|
+
shelter_installation_date: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>>;
|
|
938
|
+
shelter_make: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
939
|
+
shelter_model: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
940
|
+
shelter_status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>>>;
|
|
941
|
+
last_infrastructure_check: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>>;
|
|
942
|
+
last_infrastructure_maintenance: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>>;
|
|
943
|
+
last_schedules_check: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>>;
|
|
944
|
+
last_schedules_maintenance: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>>;
|
|
945
|
+
connections: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<["ferry", "light_rail", "subway", "train", "boat", "airport", "bike_sharing", "bike_parking", "car_parking"]>, "many">>>;
|
|
946
|
+
facilities: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<["fire_station", "health_clinic", "historic_building", "hospital", "police_station", "school", "shopping", "transit_office", "university", "beach"]>, "many">>>;
|
|
947
|
+
equipment: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<["pip", "mupi", "mini_pip"]>, "many">>>;
|
|
948
|
+
has_mupi: z.ZodOptional<z.ZodDefault<z.ZodEnum<["available", "unavailable", "unknown"]>>>;
|
|
1023
949
|
file_ids: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1024
950
|
image_ids: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1025
|
-
observations: z.ZodOptional<z.
|
|
1026
|
-
}, "
|
|
951
|
+
observations: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
952
|
+
}, "strip", z.ZodTypeAny, {
|
|
953
|
+
is_locked?: boolean | undefined;
|
|
1027
954
|
updated_by?: string | undefined;
|
|
1028
955
|
name?: string | undefined;
|
|
1029
|
-
short_name?: string |
|
|
956
|
+
short_name?: string | undefined;
|
|
1030
957
|
comments?: ({
|
|
1031
958
|
created_at: number & {
|
|
1032
959
|
__brand: "UnixTimestamp";
|
|
@@ -1067,22 +994,21 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
1067
994
|
created_by?: string | undefined;
|
|
1068
995
|
updated_by?: string | undefined;
|
|
1069
996
|
})[] | undefined;
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
has_stop_sign?: "unknown" | "yes" | "no" | undefined;
|
|
997
|
+
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
998
|
+
has_network_map?: "unknown" | "available" | "unavailable" | undefined;
|
|
999
|
+
has_schedules?: "unknown" | "available" | "unavailable" | undefined;
|
|
1000
|
+
has_shelter?: "unknown" | "available" | "unavailable" | undefined;
|
|
1001
|
+
has_stop_sign?: "unknown" | "available" | "unavailable" | undefined;
|
|
1076
1002
|
municipality_id?: string | undefined;
|
|
1077
1003
|
parish_id?: string | null | undefined;
|
|
1078
1004
|
shelter_code?: string | null | undefined;
|
|
1079
1005
|
shelter_maintainer?: string | null | undefined;
|
|
1080
|
-
|
|
1006
|
+
is_deleted?: boolean | undefined;
|
|
1081
1007
|
jurisdiction?: "unknown" | "ip" | "municipality" | "other" | undefined;
|
|
1082
1008
|
legacy_id?: string | null | undefined;
|
|
1083
|
-
lifecycle_status?: "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
|
|
1009
|
+
lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
|
|
1084
1010
|
new_name?: string | null | undefined;
|
|
1085
|
-
tts_name?: string |
|
|
1011
|
+
tts_name?: string | undefined;
|
|
1086
1012
|
district_id?: string | undefined;
|
|
1087
1013
|
latitude?: number | undefined;
|
|
1088
1014
|
locality_id?: string | null | undefined;
|
|
@@ -1092,25 +1018,26 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
1092
1018
|
pole_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
|
|
1093
1019
|
road_type?: "unknown" | "complementary_itinerary" | "highway" | "main_itinerary" | "national_road" | "regional_road" | "secondary_road" | undefined;
|
|
1094
1020
|
shelter_frame_size?: [number, number] | null | undefined;
|
|
1095
|
-
shelter_installation_date?: import("
|
|
1021
|
+
shelter_installation_date?: import("../_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
1096
1022
|
shelter_make?: string | null | undefined;
|
|
1097
1023
|
shelter_model?: string | null | undefined;
|
|
1098
1024
|
shelter_status?: "unknown" | "not_applicable" | "missing" | "damaged" | "ok" | undefined;
|
|
1099
|
-
last_infrastructure_check?: import("
|
|
1100
|
-
last_infrastructure_maintenance?: import("
|
|
1101
|
-
last_schedules_check?: import("
|
|
1102
|
-
last_schedules_maintenance?: import("
|
|
1025
|
+
last_infrastructure_check?: import("../_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
1026
|
+
last_infrastructure_maintenance?: import("../_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
1027
|
+
last_schedules_check?: import("../_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
1028
|
+
last_schedules_maintenance?: import("../_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
1103
1029
|
connections?: ("ferry" | "light_rail" | "subway" | "train" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
1104
1030
|
facilities?: ("school" | "fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
1105
1031
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
1106
|
-
has_mupi?: "unknown" | "
|
|
1032
|
+
has_mupi?: "unknown" | "available" | "unavailable" | undefined;
|
|
1107
1033
|
file_ids?: string[] | undefined;
|
|
1108
1034
|
image_ids?: string[] | undefined;
|
|
1109
1035
|
observations?: string | null | undefined;
|
|
1110
1036
|
}, {
|
|
1037
|
+
is_locked?: boolean | undefined;
|
|
1111
1038
|
updated_by?: string | undefined;
|
|
1112
1039
|
name?: string | undefined;
|
|
1113
|
-
short_name?: string |
|
|
1040
|
+
short_name?: string | undefined;
|
|
1114
1041
|
comments?: ({
|
|
1115
1042
|
created_at: number;
|
|
1116
1043
|
updated_at: number;
|
|
@@ -1139,22 +1066,21 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
1139
1066
|
created_by?: string | undefined;
|
|
1140
1067
|
updated_by?: string | undefined;
|
|
1141
1068
|
})[] | undefined;
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
has_stop_sign?: "unknown" | "yes" | "no" | undefined;
|
|
1069
|
+
has_bench?: "unknown" | "available" | "unavailable" | undefined;
|
|
1070
|
+
has_network_map?: "unknown" | "available" | "unavailable" | undefined;
|
|
1071
|
+
has_schedules?: "unknown" | "available" | "unavailable" | undefined;
|
|
1072
|
+
has_shelter?: "unknown" | "available" | "unavailable" | undefined;
|
|
1073
|
+
has_stop_sign?: "unknown" | "available" | "unavailable" | undefined;
|
|
1148
1074
|
municipality_id?: string | undefined;
|
|
1149
1075
|
parish_id?: string | null | undefined;
|
|
1150
1076
|
shelter_code?: string | null | undefined;
|
|
1151
1077
|
shelter_maintainer?: string | null | undefined;
|
|
1152
|
-
|
|
1078
|
+
is_deleted?: boolean | undefined;
|
|
1153
1079
|
jurisdiction?: "unknown" | "ip" | "municipality" | "other" | undefined;
|
|
1154
1080
|
legacy_id?: string | null | undefined;
|
|
1155
|
-
lifecycle_status?: "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
|
|
1081
|
+
lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
|
|
1156
1082
|
new_name?: string | null | undefined;
|
|
1157
|
-
tts_name?: string |
|
|
1083
|
+
tts_name?: string | undefined;
|
|
1158
1084
|
district_id?: string | undefined;
|
|
1159
1085
|
latitude?: number | undefined;
|
|
1160
1086
|
locality_id?: string | null | undefined;
|
|
@@ -1175,7 +1101,7 @@ export declare const UpdateStopSchema: z.ZodObject<{
|
|
|
1175
1101
|
connections?: ("ferry" | "light_rail" | "subway" | "train" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | undefined;
|
|
1176
1102
|
facilities?: ("school" | "fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "shopping" | "transit_office" | "university" | "beach")[] | undefined;
|
|
1177
1103
|
equipment?: ("pip" | "mupi" | "mini_pip")[] | undefined;
|
|
1178
|
-
has_mupi?: "unknown" | "
|
|
1104
|
+
has_mupi?: "unknown" | "available" | "unavailable" | undefined;
|
|
1179
1105
|
file_ids?: string[] | undefined;
|
|
1180
1106
|
image_ids?: string[] | undefined;
|
|
1181
1107
|
observations?: string | null | undefined;
|