@venulog/phasing-engine-schemas 0.7.5 → 0.7.6
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/camera.d.ts +219 -0
- package/dist/camera.js +227 -0
- package/dist/enums/accessEventType.d.ts +8 -0
- package/dist/enums/accessEventType.js +17 -0
- package/dist/enums/cameraTrigger.d.ts +7 -0
- package/dist/enums/cameraTrigger.js +15 -0
- package/dist/enums/index.d.ts +5 -0
- package/dist/enums/index.js +5 -0
- package/dist/enums/positionSource.d.ts +7 -0
- package/dist/enums/positionSource.js +15 -0
- package/dist/enums/simulationMode.d.ts +11 -0
- package/dist/enums/simulationMode.js +20 -0
- package/dist/enums/vehicleState.d.ts +13 -0
- package/dist/enums/vehicleState.js +37 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +12 -0
- package/dist/parkingAreaAccess.d.ts +400 -0
- package/dist/parkingAreaAccess.js +466 -0
- package/dist/parkingAreaLayer.d.ts +354 -0
- package/dist/parkingAreaLayer.js +385 -0
- package/dist/parkingBooking.d.ts +58 -23
- package/dist/parkingBooking.js +74 -1
- package/dist/simulation.d.ts +171 -0
- package/dist/simulation.js +231 -0
- package/dist/vehiclePosition.d.ts +216 -0
- package/dist/vehiclePosition.js +237 -0
- package/package.json +21 -1
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
import { z } from './zod.js';
|
|
2
|
+
/**
|
|
3
|
+
* A point in 2D space using percentage-based coordinates (0-100)
|
|
4
|
+
* relative to the site plan image dimensions
|
|
5
|
+
*/
|
|
6
|
+
export declare const accessPointSchema: z.ZodObject<{
|
|
7
|
+
x: z.ZodNumber;
|
|
8
|
+
y: z.ZodNumber;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
/**
|
|
11
|
+
* GeoJSON LineString for access point geometry
|
|
12
|
+
*/
|
|
13
|
+
export declare const geoJsonLineStringSchema: z.ZodObject<{
|
|
14
|
+
type: z.ZodLiteral<"LineString">;
|
|
15
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
/**
|
|
18
|
+
* Core parking area access item schema matching database structure
|
|
19
|
+
*/
|
|
20
|
+
export declare const parkingAreaAccessItemSchema: z.ZodObject<{
|
|
21
|
+
id: z.ZodNumber;
|
|
22
|
+
event_id: z.ZodNumber;
|
|
23
|
+
name: z.ZodString;
|
|
24
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
25
|
+
type: z.ZodLiteral<"LineString">;
|
|
26
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
width_meters: z.ZodNullable<z.ZodNumber>;
|
|
29
|
+
height_meters: z.ZodNullable<z.ZodNumber>;
|
|
30
|
+
is_active: z.ZodBoolean;
|
|
31
|
+
created_at: z.ZodString;
|
|
32
|
+
updated_at: z.ZodString;
|
|
33
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
34
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
/**
|
|
37
|
+
* Access point with linked parking areas
|
|
38
|
+
*/
|
|
39
|
+
export declare const parkingAreaAccessWithLinksSchema: z.ZodObject<{
|
|
40
|
+
id: z.ZodNumber;
|
|
41
|
+
event_id: z.ZodNumber;
|
|
42
|
+
name: z.ZodString;
|
|
43
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
44
|
+
type: z.ZodLiteral<"LineString">;
|
|
45
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
width_meters: z.ZodNullable<z.ZodNumber>;
|
|
48
|
+
height_meters: z.ZodNullable<z.ZodNumber>;
|
|
49
|
+
is_active: z.ZodBoolean;
|
|
50
|
+
created_at: z.ZodString;
|
|
51
|
+
updated_at: z.ZodString;
|
|
52
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
53
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
54
|
+
linked_parking_areas: z.ZodArray<z.ZodObject<{
|
|
55
|
+
parking_area_id: z.ZodNumber;
|
|
56
|
+
parking_area_name: z.ZodNullable<z.ZodString>;
|
|
57
|
+
}, z.core.$strip>>;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
export declare const getAccessesByEventIdParamsSchema: z.ZodObject<{
|
|
60
|
+
eventId: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
export declare const getAccessByIdParamsSchema: z.ZodObject<{
|
|
63
|
+
accessId: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
export declare const createAccessBodySchema: z.ZodObject<{
|
|
66
|
+
event_id: z.ZodNumber;
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
geometry: z.ZodOptional<z.ZodObject<{
|
|
69
|
+
type: z.ZodLiteral<"LineString">;
|
|
70
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
71
|
+
}, z.core.$strip>>;
|
|
72
|
+
width_meters: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
height_meters: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
linked_parking_area_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
75
|
+
}, z.core.$strip>;
|
|
76
|
+
export declare const createAccessDataSchema: z.ZodObject<{
|
|
77
|
+
access_id: z.ZodNumber;
|
|
78
|
+
event_id: z.ZodNumber;
|
|
79
|
+
name: z.ZodString;
|
|
80
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
81
|
+
type: z.ZodLiteral<"LineString">;
|
|
82
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
83
|
+
}, z.core.$strip>>;
|
|
84
|
+
width_meters: z.ZodNullable<z.ZodNumber>;
|
|
85
|
+
height_meters: z.ZodNullable<z.ZodNumber>;
|
|
86
|
+
linked_parking_areas: z.ZodArray<z.ZodObject<{
|
|
87
|
+
parking_area_id: z.ZodNumber;
|
|
88
|
+
parking_area_name: z.ZodNullable<z.ZodString>;
|
|
89
|
+
}, z.core.$strip>>;
|
|
90
|
+
is_active: z.ZodBoolean;
|
|
91
|
+
created_at: z.ZodString;
|
|
92
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
export declare const createAccessResponseSchema: z.ZodObject<{
|
|
95
|
+
success: z.ZodBoolean;
|
|
96
|
+
message: z.ZodString;
|
|
97
|
+
data: z.ZodObject<{
|
|
98
|
+
access_id: z.ZodNumber;
|
|
99
|
+
event_id: z.ZodNumber;
|
|
100
|
+
name: z.ZodString;
|
|
101
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
102
|
+
type: z.ZodLiteral<"LineString">;
|
|
103
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
104
|
+
}, z.core.$strip>>;
|
|
105
|
+
width_meters: z.ZodNullable<z.ZodNumber>;
|
|
106
|
+
height_meters: z.ZodNullable<z.ZodNumber>;
|
|
107
|
+
linked_parking_areas: z.ZodArray<z.ZodObject<{
|
|
108
|
+
parking_area_id: z.ZodNumber;
|
|
109
|
+
parking_area_name: z.ZodNullable<z.ZodString>;
|
|
110
|
+
}, z.core.$strip>>;
|
|
111
|
+
is_active: z.ZodBoolean;
|
|
112
|
+
created_at: z.ZodString;
|
|
113
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
114
|
+
}, z.core.$strip>;
|
|
115
|
+
}, z.core.$strip>;
|
|
116
|
+
export declare const updateAccessParamsSchema: z.ZodObject<{
|
|
117
|
+
accessId: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
118
|
+
}, z.core.$strip>;
|
|
119
|
+
export declare const updateAccessBodySchema: z.ZodObject<{
|
|
120
|
+
name: z.ZodOptional<z.ZodString>;
|
|
121
|
+
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
122
|
+
type: z.ZodLiteral<"LineString">;
|
|
123
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
124
|
+
}, z.core.$strip>>>;
|
|
125
|
+
width_meters: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
126
|
+
height_meters: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
127
|
+
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
+
}, z.core.$strip>;
|
|
129
|
+
export declare const updateAccessDataSchema: z.ZodObject<{
|
|
130
|
+
name: z.ZodString;
|
|
131
|
+
created_at: z.ZodString;
|
|
132
|
+
updated_at: z.ZodString;
|
|
133
|
+
event_id: z.ZodNumber;
|
|
134
|
+
is_active: z.ZodBoolean;
|
|
135
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
136
|
+
type: z.ZodLiteral<"LineString">;
|
|
137
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
138
|
+
}, z.core.$strip>>;
|
|
139
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
140
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
141
|
+
width_meters: z.ZodNullable<z.ZodNumber>;
|
|
142
|
+
height_meters: z.ZodNullable<z.ZodNumber>;
|
|
143
|
+
linked_parking_areas: z.ZodArray<z.ZodObject<{
|
|
144
|
+
parking_area_id: z.ZodNumber;
|
|
145
|
+
parking_area_name: z.ZodNullable<z.ZodString>;
|
|
146
|
+
}, z.core.$strip>>;
|
|
147
|
+
access_id: z.ZodNumber;
|
|
148
|
+
}, z.core.$strip>;
|
|
149
|
+
export declare const updateAccessResponseSchema: z.ZodObject<{
|
|
150
|
+
success: z.ZodBoolean;
|
|
151
|
+
message: z.ZodString;
|
|
152
|
+
data: z.ZodObject<{
|
|
153
|
+
name: z.ZodString;
|
|
154
|
+
created_at: z.ZodString;
|
|
155
|
+
updated_at: z.ZodString;
|
|
156
|
+
event_id: z.ZodNumber;
|
|
157
|
+
is_active: z.ZodBoolean;
|
|
158
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
159
|
+
type: z.ZodLiteral<"LineString">;
|
|
160
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
161
|
+
}, z.core.$strip>>;
|
|
162
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
163
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
164
|
+
width_meters: z.ZodNullable<z.ZodNumber>;
|
|
165
|
+
height_meters: z.ZodNullable<z.ZodNumber>;
|
|
166
|
+
linked_parking_areas: z.ZodArray<z.ZodObject<{
|
|
167
|
+
parking_area_id: z.ZodNumber;
|
|
168
|
+
parking_area_name: z.ZodNullable<z.ZodString>;
|
|
169
|
+
}, z.core.$strip>>;
|
|
170
|
+
access_id: z.ZodNumber;
|
|
171
|
+
}, z.core.$strip>;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
export declare const deleteAccessParamsSchema: z.ZodObject<{
|
|
174
|
+
accessId: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
175
|
+
}, z.core.$strip>;
|
|
176
|
+
export declare const deleteAccessDataSchema: z.ZodObject<{
|
|
177
|
+
access_id: z.ZodNumber;
|
|
178
|
+
deleted_at: z.ZodString;
|
|
179
|
+
}, z.core.$strip>;
|
|
180
|
+
export declare const deleteAccessResponseSchema: z.ZodObject<{
|
|
181
|
+
success: z.ZodBoolean;
|
|
182
|
+
message: z.ZodString;
|
|
183
|
+
data: z.ZodObject<{
|
|
184
|
+
access_id: z.ZodNumber;
|
|
185
|
+
deleted_at: z.ZodString;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
}, z.core.$strip>;
|
|
188
|
+
export declare const linkAccessAreasParamsSchema: z.ZodObject<{
|
|
189
|
+
accessId: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
export declare const linkAccessAreasBodySchema: z.ZodObject<{
|
|
192
|
+
parking_area_ids: z.ZodArray<z.ZodNumber>;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
export declare const linkAccessAreasDataSchema: z.ZodObject<{
|
|
195
|
+
access_id: z.ZodNumber;
|
|
196
|
+
linked_count: z.ZodNumber;
|
|
197
|
+
linked_parking_areas: z.ZodArray<z.ZodObject<{
|
|
198
|
+
parking_area_id: z.ZodNumber;
|
|
199
|
+
parking_area_name: z.ZodNullable<z.ZodString>;
|
|
200
|
+
}, z.core.$strip>>;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
export declare const linkAccessAreasResponseSchema: z.ZodObject<{
|
|
203
|
+
success: z.ZodBoolean;
|
|
204
|
+
message: z.ZodString;
|
|
205
|
+
data: z.ZodObject<{
|
|
206
|
+
access_id: z.ZodNumber;
|
|
207
|
+
linked_count: z.ZodNumber;
|
|
208
|
+
linked_parking_areas: z.ZodArray<z.ZodObject<{
|
|
209
|
+
parking_area_id: z.ZodNumber;
|
|
210
|
+
parking_area_name: z.ZodNullable<z.ZodString>;
|
|
211
|
+
}, z.core.$strip>>;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
}, z.core.$strip>;
|
|
214
|
+
export declare const unlinkAccessAreaParamsSchema: z.ZodObject<{
|
|
215
|
+
accessId: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
216
|
+
areaId: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
export declare const unlinkAccessAreaDataSchema: z.ZodObject<{
|
|
219
|
+
access_id: z.ZodNumber;
|
|
220
|
+
parking_area_id: z.ZodNumber;
|
|
221
|
+
unlinked_at: z.ZodString;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
export declare const unlinkAccessAreaResponseSchema: z.ZodObject<{
|
|
224
|
+
success: z.ZodBoolean;
|
|
225
|
+
message: z.ZodString;
|
|
226
|
+
data: z.ZodObject<{
|
|
227
|
+
access_id: z.ZodNumber;
|
|
228
|
+
parking_area_id: z.ZodNumber;
|
|
229
|
+
unlinked_at: z.ZodString;
|
|
230
|
+
}, z.core.$strip>;
|
|
231
|
+
}, z.core.$strip>;
|
|
232
|
+
export declare const getAccessesDataSchema: z.ZodObject<{
|
|
233
|
+
event_id: z.ZodNumber;
|
|
234
|
+
accesses: z.ZodArray<z.ZodObject<{
|
|
235
|
+
id: z.ZodNumber;
|
|
236
|
+
event_id: z.ZodNumber;
|
|
237
|
+
name: z.ZodString;
|
|
238
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
239
|
+
type: z.ZodLiteral<"LineString">;
|
|
240
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
241
|
+
}, z.core.$strip>>;
|
|
242
|
+
width_meters: z.ZodNullable<z.ZodNumber>;
|
|
243
|
+
height_meters: z.ZodNullable<z.ZodNumber>;
|
|
244
|
+
is_active: z.ZodBoolean;
|
|
245
|
+
created_at: z.ZodString;
|
|
246
|
+
updated_at: z.ZodString;
|
|
247
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
248
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
249
|
+
linked_parking_areas: z.ZodArray<z.ZodObject<{
|
|
250
|
+
parking_area_id: z.ZodNumber;
|
|
251
|
+
parking_area_name: z.ZodNullable<z.ZodString>;
|
|
252
|
+
}, z.core.$strip>>;
|
|
253
|
+
}, z.core.$strip>>;
|
|
254
|
+
total_count: z.ZodNumber;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
export declare const getAccessesResponseSchema: z.ZodObject<{
|
|
257
|
+
success: z.ZodBoolean;
|
|
258
|
+
data: z.ZodObject<{
|
|
259
|
+
event_id: z.ZodNumber;
|
|
260
|
+
accesses: z.ZodArray<z.ZodObject<{
|
|
261
|
+
id: z.ZodNumber;
|
|
262
|
+
event_id: z.ZodNumber;
|
|
263
|
+
name: z.ZodString;
|
|
264
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
265
|
+
type: z.ZodLiteral<"LineString">;
|
|
266
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
267
|
+
}, z.core.$strip>>;
|
|
268
|
+
width_meters: z.ZodNullable<z.ZodNumber>;
|
|
269
|
+
height_meters: z.ZodNullable<z.ZodNumber>;
|
|
270
|
+
is_active: z.ZodBoolean;
|
|
271
|
+
created_at: z.ZodString;
|
|
272
|
+
updated_at: z.ZodString;
|
|
273
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
274
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
275
|
+
linked_parking_areas: z.ZodArray<z.ZodObject<{
|
|
276
|
+
parking_area_id: z.ZodNumber;
|
|
277
|
+
parking_area_name: z.ZodNullable<z.ZodString>;
|
|
278
|
+
}, z.core.$strip>>;
|
|
279
|
+
}, z.core.$strip>>;
|
|
280
|
+
total_count: z.ZodNumber;
|
|
281
|
+
}, z.core.$strip>;
|
|
282
|
+
}, z.core.$strip>;
|
|
283
|
+
export declare const getAccessDetailResponseSchema: z.ZodObject<{
|
|
284
|
+
success: z.ZodBoolean;
|
|
285
|
+
data: z.ZodObject<{
|
|
286
|
+
id: z.ZodNumber;
|
|
287
|
+
event_id: z.ZodNumber;
|
|
288
|
+
name: z.ZodString;
|
|
289
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
290
|
+
type: z.ZodLiteral<"LineString">;
|
|
291
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
292
|
+
}, z.core.$strip>>;
|
|
293
|
+
width_meters: z.ZodNullable<z.ZodNumber>;
|
|
294
|
+
height_meters: z.ZodNullable<z.ZodNumber>;
|
|
295
|
+
is_active: z.ZodBoolean;
|
|
296
|
+
created_at: z.ZodString;
|
|
297
|
+
updated_at: z.ZodString;
|
|
298
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
299
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
300
|
+
linked_parking_areas: z.ZodArray<z.ZodObject<{
|
|
301
|
+
parking_area_id: z.ZodNumber;
|
|
302
|
+
parking_area_name: z.ZodNullable<z.ZodString>;
|
|
303
|
+
}, z.core.$strip>>;
|
|
304
|
+
}, z.core.$strip>;
|
|
305
|
+
}, z.core.$strip>;
|
|
306
|
+
export declare const bulkUpsertAccessesBodySchema: z.ZodObject<{
|
|
307
|
+
event_id: z.ZodNumber;
|
|
308
|
+
accesses: z.ZodArray<z.ZodObject<{
|
|
309
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
310
|
+
name: z.ZodString;
|
|
311
|
+
geometry: z.ZodOptional<z.ZodObject<{
|
|
312
|
+
type: z.ZodLiteral<"LineString">;
|
|
313
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
314
|
+
}, z.core.$strip>>;
|
|
315
|
+
width_meters: z.ZodOptional<z.ZodNumber>;
|
|
316
|
+
height_meters: z.ZodOptional<z.ZodNumber>;
|
|
317
|
+
linked_parking_area_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
318
|
+
}, z.core.$strip>>;
|
|
319
|
+
}, z.core.$strip>;
|
|
320
|
+
export declare const bulkUpsertAccessesDataSchema: z.ZodObject<{
|
|
321
|
+
event_id: z.ZodNumber;
|
|
322
|
+
total_upserted: z.ZodNumber;
|
|
323
|
+
upserted_accesses: z.ZodArray<z.ZodObject<{
|
|
324
|
+
id: z.ZodNumber;
|
|
325
|
+
event_id: z.ZodNumber;
|
|
326
|
+
name: z.ZodString;
|
|
327
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
328
|
+
type: z.ZodLiteral<"LineString">;
|
|
329
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
330
|
+
}, z.core.$strip>>;
|
|
331
|
+
width_meters: z.ZodNullable<z.ZodNumber>;
|
|
332
|
+
height_meters: z.ZodNullable<z.ZodNumber>;
|
|
333
|
+
is_active: z.ZodBoolean;
|
|
334
|
+
created_at: z.ZodString;
|
|
335
|
+
updated_at: z.ZodString;
|
|
336
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
337
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
338
|
+
linked_parking_areas: z.ZodArray<z.ZodObject<{
|
|
339
|
+
parking_area_id: z.ZodNumber;
|
|
340
|
+
parking_area_name: z.ZodNullable<z.ZodString>;
|
|
341
|
+
}, z.core.$strip>>;
|
|
342
|
+
}, z.core.$strip>>;
|
|
343
|
+
}, z.core.$strip>;
|
|
344
|
+
export declare const bulkUpsertAccessesResponseSchema: z.ZodObject<{
|
|
345
|
+
success: z.ZodBoolean;
|
|
346
|
+
message: z.ZodString;
|
|
347
|
+
data: z.ZodObject<{
|
|
348
|
+
event_id: z.ZodNumber;
|
|
349
|
+
total_upserted: z.ZodNumber;
|
|
350
|
+
upserted_accesses: z.ZodArray<z.ZodObject<{
|
|
351
|
+
id: z.ZodNumber;
|
|
352
|
+
event_id: z.ZodNumber;
|
|
353
|
+
name: z.ZodString;
|
|
354
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
355
|
+
type: z.ZodLiteral<"LineString">;
|
|
356
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
357
|
+
}, z.core.$strip>>;
|
|
358
|
+
width_meters: z.ZodNullable<z.ZodNumber>;
|
|
359
|
+
height_meters: z.ZodNullable<z.ZodNumber>;
|
|
360
|
+
is_active: z.ZodBoolean;
|
|
361
|
+
created_at: z.ZodString;
|
|
362
|
+
updated_at: z.ZodString;
|
|
363
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
364
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
365
|
+
linked_parking_areas: z.ZodArray<z.ZodObject<{
|
|
366
|
+
parking_area_id: z.ZodNumber;
|
|
367
|
+
parking_area_name: z.ZodNullable<z.ZodString>;
|
|
368
|
+
}, z.core.$strip>>;
|
|
369
|
+
}, z.core.$strip>>;
|
|
370
|
+
}, z.core.$strip>;
|
|
371
|
+
}, z.core.$strip>;
|
|
372
|
+
export type AccessPoint = z.infer<typeof accessPointSchema>;
|
|
373
|
+
export type GeoJsonLineString = z.infer<typeof geoJsonLineStringSchema>;
|
|
374
|
+
export type ParkingAreaAccessItem = z.infer<typeof parkingAreaAccessItemSchema>;
|
|
375
|
+
export type ParkingAreaAccessWithLinks = z.infer<typeof parkingAreaAccessWithLinksSchema>;
|
|
376
|
+
export type GetAccessesByEventIdParams = z.infer<typeof getAccessesByEventIdParamsSchema>;
|
|
377
|
+
export type GetAccessByIdParams = z.infer<typeof getAccessByIdParamsSchema>;
|
|
378
|
+
export type CreateAccessBody = z.infer<typeof createAccessBodySchema>;
|
|
379
|
+
export type CreateAccessData = z.infer<typeof createAccessDataSchema>;
|
|
380
|
+
export type CreateAccessResponse = z.infer<typeof createAccessResponseSchema>;
|
|
381
|
+
export type UpdateAccessParams = z.infer<typeof updateAccessParamsSchema>;
|
|
382
|
+
export type UpdateAccessBody = z.infer<typeof updateAccessBodySchema>;
|
|
383
|
+
export type UpdateAccessData = z.infer<typeof updateAccessDataSchema>;
|
|
384
|
+
export type UpdateAccessResponse = z.infer<typeof updateAccessResponseSchema>;
|
|
385
|
+
export type DeleteAccessParams = z.infer<typeof deleteAccessParamsSchema>;
|
|
386
|
+
export type DeleteAccessData = z.infer<typeof deleteAccessDataSchema>;
|
|
387
|
+
export type DeleteAccessResponse = z.infer<typeof deleteAccessResponseSchema>;
|
|
388
|
+
export type LinkAccessAreasParams = z.infer<typeof linkAccessAreasParamsSchema>;
|
|
389
|
+
export type LinkAccessAreasBody = z.infer<typeof linkAccessAreasBodySchema>;
|
|
390
|
+
export type LinkAccessAreasData = z.infer<typeof linkAccessAreasDataSchema>;
|
|
391
|
+
export type LinkAccessAreasResponse = z.infer<typeof linkAccessAreasResponseSchema>;
|
|
392
|
+
export type UnlinkAccessAreaParams = z.infer<typeof unlinkAccessAreaParamsSchema>;
|
|
393
|
+
export type UnlinkAccessAreaData = z.infer<typeof unlinkAccessAreaDataSchema>;
|
|
394
|
+
export type UnlinkAccessAreaResponse = z.infer<typeof unlinkAccessAreaResponseSchema>;
|
|
395
|
+
export type GetAccessesData = z.infer<typeof getAccessesDataSchema>;
|
|
396
|
+
export type GetAccessesResponse = z.infer<typeof getAccessesResponseSchema>;
|
|
397
|
+
export type GetAccessDetailResponse = z.infer<typeof getAccessDetailResponseSchema>;
|
|
398
|
+
export type BulkUpsertAccessesBody = z.infer<typeof bulkUpsertAccessesBodySchema>;
|
|
399
|
+
export type BulkUpsertAccessesData = z.infer<typeof bulkUpsertAccessesDataSchema>;
|
|
400
|
+
export type BulkUpsertAccessesResponse = z.infer<typeof bulkUpsertAccessesResponseSchema>;
|