@venulog/phasing-engine-schemas 0.4.3 → 0.5.0-alpha.1
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/enums/index.d.ts +0 -1
- package/dist/enums/index.js +0 -1
- package/dist/index.d.ts +1 -3
- package/dist/index.js +1 -3
- package/dist/parkingArea.d.ts +69 -0
- package/dist/parkingArea.js +153 -0
- package/dist/parkingBooking.d.ts +798 -0
- package/dist/parkingBooking.js +734 -0
- package/package.json +75 -79
- package/dist/enums/phaseSlotScheduleType.d.ts +0 -4
- package/dist/enums/phaseSlotScheduleType.js +0 -5
- package/dist/phaseBooking.d.ts +0 -1346
- package/dist/phaseBooking.js +0 -1369
- package/dist/phaseSlot.d.ts +0 -139
- package/dist/phaseSlot.js +0 -276
|
@@ -0,0 +1,798 @@
|
|
|
1
|
+
import { BookingStatus } from './enums/bookingStatus.js';
|
|
2
|
+
import { z } from './zod.js';
|
|
3
|
+
export declare const geometrySchema: z.ZodNullable<z.ZodObject<{
|
|
4
|
+
type: z.ZodEnum<{
|
|
5
|
+
Point: "Point";
|
|
6
|
+
Polygon: "Polygon";
|
|
7
|
+
MultiPolygon: "MultiPolygon";
|
|
8
|
+
LineString: "LineString";
|
|
9
|
+
MultiLineString: "MultiLineString";
|
|
10
|
+
MultiPoint: "MultiPoint";
|
|
11
|
+
}>;
|
|
12
|
+
coordinates: z.ZodArray<z.ZodUnknown>;
|
|
13
|
+
crs: z.ZodOptional<z.ZodObject<{
|
|
14
|
+
type: z.ZodLiteral<"name">;
|
|
15
|
+
properties: z.ZodObject<{
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
export declare const getEventBookingsQuerySchema: z.ZodObject<{
|
|
21
|
+
event_code: z.ZodString;
|
|
22
|
+
seller_id: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
23
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
24
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
25
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26
|
+
column: z.ZodString;
|
|
27
|
+
direction: z.ZodEnum<{
|
|
28
|
+
asc: "asc";
|
|
29
|
+
desc: "desc";
|
|
30
|
+
}>;
|
|
31
|
+
}, z.core.$strip>>>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
export declare const closeEventParamsSchema: z.ZodObject<{
|
|
34
|
+
eventId: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
export declare const closeEventBodySchema: z.ZodObject<{
|
|
37
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
export declare const parkingBookingSchema: z.ZodObject<{
|
|
40
|
+
id: z.ZodNumber;
|
|
41
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
42
|
+
status: z.ZodEnum<typeof BookingStatus>;
|
|
43
|
+
is_active: z.ZodBoolean;
|
|
44
|
+
created_at: z.ZodString;
|
|
45
|
+
updated_at: z.ZodString;
|
|
46
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
47
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
48
|
+
booking_date: z.ZodNullable<z.ZodString>;
|
|
49
|
+
start_time: z.ZodNullable<z.ZodString>;
|
|
50
|
+
end_time: z.ZodNullable<z.ZodString>;
|
|
51
|
+
company_role: z.ZodNullable<z.ZodString>;
|
|
52
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
53
|
+
vehicle: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
54
|
+
parking_area_schedule: z.ZodOptional<z.ZodObject<{
|
|
55
|
+
id: z.ZodNumber;
|
|
56
|
+
date: z.ZodString;
|
|
57
|
+
start_time: z.ZodString;
|
|
58
|
+
end_time: z.ZodString;
|
|
59
|
+
duration: z.ZodNumber;
|
|
60
|
+
parking_area_id: z.ZodNumber;
|
|
61
|
+
parking_area_schedule_type: z.ZodEnum<{
|
|
62
|
+
assembly: import("./index.js").ParkingAreaScheduleType.ASSEMBLY;
|
|
63
|
+
dismantling: import("./index.js").ParkingAreaScheduleType.DISMANTLING;
|
|
64
|
+
}>;
|
|
65
|
+
company_roles: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
66
|
+
vehicle_types: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
67
|
+
PL: import("./enums/vehicleType.js").VehicleType.PL;
|
|
68
|
+
VUL: import("./enums/vehicleType.js").VehicleType.VUL;
|
|
69
|
+
VL: import("./enums/vehicleType.js").VehicleType.VL;
|
|
70
|
+
}>>>;
|
|
71
|
+
created_at: z.ZodString;
|
|
72
|
+
updated_at: z.ZodString;
|
|
73
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
74
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
75
|
+
}, z.core.$strip>>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
export declare const companyDetailsSchema: z.ZodObject<{
|
|
78
|
+
hall: z.ZodString;
|
|
79
|
+
stand_number: z.ZodString;
|
|
80
|
+
company_name: z.ZodString;
|
|
81
|
+
business: z.ZodString;
|
|
82
|
+
departure_city: z.ZodString;
|
|
83
|
+
contact_name: z.ZodString;
|
|
84
|
+
email: z.ZodEmail;
|
|
85
|
+
phone: z.ZodString;
|
|
86
|
+
driver_name: z.ZodString;
|
|
87
|
+
driver_phone: z.ZodString;
|
|
88
|
+
transport_company: z.ZodString;
|
|
89
|
+
}, z.core.$strip>;
|
|
90
|
+
export declare const vehicleDetailsSchema: z.ZodObject<{
|
|
91
|
+
vehicle_type: z.ZodString;
|
|
92
|
+
unloading_method: z.ZodString;
|
|
93
|
+
license_plate: z.ZodString;
|
|
94
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
export declare const eventBookingsDataSchema: z.ZodObject<{
|
|
97
|
+
event_id: z.ZodNumber;
|
|
98
|
+
event_code: z.ZodString;
|
|
99
|
+
event_name: z.ZodString;
|
|
100
|
+
bookings: z.ZodArray<z.ZodObject<{
|
|
101
|
+
id: z.ZodNumber;
|
|
102
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
103
|
+
status: z.ZodEnum<typeof BookingStatus>;
|
|
104
|
+
is_active: z.ZodBoolean;
|
|
105
|
+
created_at: z.ZodString;
|
|
106
|
+
updated_at: z.ZodString;
|
|
107
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
108
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
109
|
+
booking_date: z.ZodNullable<z.ZodString>;
|
|
110
|
+
start_time: z.ZodNullable<z.ZodString>;
|
|
111
|
+
end_time: z.ZodNullable<z.ZodString>;
|
|
112
|
+
company_role: z.ZodNullable<z.ZodString>;
|
|
113
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
114
|
+
vehicle: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
115
|
+
parking_area_schedule: z.ZodOptional<z.ZodObject<{
|
|
116
|
+
id: z.ZodNumber;
|
|
117
|
+
date: z.ZodString;
|
|
118
|
+
start_time: z.ZodString;
|
|
119
|
+
end_time: z.ZodString;
|
|
120
|
+
duration: z.ZodNumber;
|
|
121
|
+
parking_area_id: z.ZodNumber;
|
|
122
|
+
parking_area_schedule_type: z.ZodEnum<{
|
|
123
|
+
assembly: import("./index.js").ParkingAreaScheduleType.ASSEMBLY;
|
|
124
|
+
dismantling: import("./index.js").ParkingAreaScheduleType.DISMANTLING;
|
|
125
|
+
}>;
|
|
126
|
+
company_roles: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
127
|
+
vehicle_types: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
128
|
+
PL: import("./enums/vehicleType.js").VehicleType.PL;
|
|
129
|
+
VUL: import("./enums/vehicleType.js").VehicleType.VUL;
|
|
130
|
+
VL: import("./enums/vehicleType.js").VehicleType.VL;
|
|
131
|
+
}>>>;
|
|
132
|
+
created_at: z.ZodString;
|
|
133
|
+
updated_at: z.ZodString;
|
|
134
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
135
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
136
|
+
}, z.core.$strip>>;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
total_count: z.ZodNumber;
|
|
139
|
+
}, z.core.$strip>;
|
|
140
|
+
export declare const eventBookingsResponseSchema: z.ZodObject<{
|
|
141
|
+
success: z.ZodBoolean;
|
|
142
|
+
data: z.ZodObject<{
|
|
143
|
+
event_id: z.ZodNumber;
|
|
144
|
+
event_code: z.ZodString;
|
|
145
|
+
event_name: z.ZodString;
|
|
146
|
+
bookings: z.ZodArray<z.ZodObject<{
|
|
147
|
+
id: z.ZodNumber;
|
|
148
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
149
|
+
status: z.ZodEnum<typeof BookingStatus>;
|
|
150
|
+
is_active: z.ZodBoolean;
|
|
151
|
+
created_at: z.ZodString;
|
|
152
|
+
updated_at: z.ZodString;
|
|
153
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
154
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
155
|
+
booking_date: z.ZodNullable<z.ZodString>;
|
|
156
|
+
start_time: z.ZodNullable<z.ZodString>;
|
|
157
|
+
end_time: z.ZodNullable<z.ZodString>;
|
|
158
|
+
company_role: z.ZodNullable<z.ZodString>;
|
|
159
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
160
|
+
vehicle: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
161
|
+
parking_area_schedule: z.ZodOptional<z.ZodObject<{
|
|
162
|
+
id: z.ZodNumber;
|
|
163
|
+
date: z.ZodString;
|
|
164
|
+
start_time: z.ZodString;
|
|
165
|
+
end_time: z.ZodString;
|
|
166
|
+
duration: z.ZodNumber;
|
|
167
|
+
parking_area_id: z.ZodNumber;
|
|
168
|
+
parking_area_schedule_type: z.ZodEnum<{
|
|
169
|
+
assembly: import("./index.js").ParkingAreaScheduleType.ASSEMBLY;
|
|
170
|
+
dismantling: import("./index.js").ParkingAreaScheduleType.DISMANTLING;
|
|
171
|
+
}>;
|
|
172
|
+
company_roles: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
173
|
+
vehicle_types: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
174
|
+
PL: import("./enums/vehicleType.js").VehicleType.PL;
|
|
175
|
+
VUL: import("./enums/vehicleType.js").VehicleType.VUL;
|
|
176
|
+
VL: import("./enums/vehicleType.js").VehicleType.VL;
|
|
177
|
+
}>>>;
|
|
178
|
+
created_at: z.ZodString;
|
|
179
|
+
updated_at: z.ZodString;
|
|
180
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
181
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
182
|
+
}, z.core.$strip>>;
|
|
183
|
+
}, z.core.$strip>>;
|
|
184
|
+
total_count: z.ZodNumber;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
export declare const closeEventDataSchema: z.ZodObject<{
|
|
188
|
+
event_id: z.ZodNumber;
|
|
189
|
+
event_code: z.ZodNullable<z.ZodString>;
|
|
190
|
+
event_name: z.ZodString;
|
|
191
|
+
is_active: z.ZodBoolean;
|
|
192
|
+
close_at: z.ZodString;
|
|
193
|
+
close_by: z.ZodNullable<z.ZodString>;
|
|
194
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
195
|
+
}, z.core.$strip>;
|
|
196
|
+
export declare const closeEventResponseSchema: z.ZodObject<{
|
|
197
|
+
success: z.ZodBoolean;
|
|
198
|
+
message: z.ZodString;
|
|
199
|
+
data: z.ZodObject<{
|
|
200
|
+
event_id: z.ZodNumber;
|
|
201
|
+
event_code: z.ZodNullable<z.ZodString>;
|
|
202
|
+
event_name: z.ZodString;
|
|
203
|
+
is_active: z.ZodBoolean;
|
|
204
|
+
close_at: z.ZodString;
|
|
205
|
+
close_by: z.ZodNullable<z.ZodString>;
|
|
206
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
207
|
+
}, z.core.$strip>;
|
|
208
|
+
}, z.core.$strip>;
|
|
209
|
+
export declare const confirmAccessDataSchema: z.ZodObject<{
|
|
210
|
+
bookingId: z.ZodCoercedNumber<unknown>;
|
|
211
|
+
}, z.core.$strip>;
|
|
212
|
+
export declare const confirmAccessResponseSchema: z.ZodObject<{
|
|
213
|
+
success: z.ZodBoolean;
|
|
214
|
+
message: z.ZodString;
|
|
215
|
+
data: z.ZodObject<{
|
|
216
|
+
booking_id: z.ZodNumber;
|
|
217
|
+
scanned_at: z.ZodString;
|
|
218
|
+
}, z.core.$strip>;
|
|
219
|
+
}, z.core.$strip>;
|
|
220
|
+
export declare const checkSlotAvailabilityBodySchema: z.ZodObject<{
|
|
221
|
+
schedule_id: z.ZodNumber;
|
|
222
|
+
date: z.ZodString;
|
|
223
|
+
start_time: z.ZodString;
|
|
224
|
+
company_role: z.ZodString;
|
|
225
|
+
}, z.core.$strip>;
|
|
226
|
+
export declare const checkSlotAvailabilityDataSchema: z.ZodObject<{
|
|
227
|
+
schedule_id: z.ZodNumber;
|
|
228
|
+
date: z.ZodString;
|
|
229
|
+
start_time: z.ZodString;
|
|
230
|
+
is_available: z.ZodBoolean;
|
|
231
|
+
max_capacity: z.ZodNumber;
|
|
232
|
+
current_bookings: z.ZodNumber;
|
|
233
|
+
confirmed_bookings: z.ZodNumber;
|
|
234
|
+
available_capacity: z.ZodNumber;
|
|
235
|
+
}, z.core.$strip>;
|
|
236
|
+
export declare const checkSlotAvailabilityResponseSchema: z.ZodObject<{
|
|
237
|
+
success: z.ZodBoolean;
|
|
238
|
+
data: z.ZodObject<{
|
|
239
|
+
schedule_id: z.ZodNumber;
|
|
240
|
+
date: z.ZodString;
|
|
241
|
+
start_time: z.ZodString;
|
|
242
|
+
is_available: z.ZodBoolean;
|
|
243
|
+
max_capacity: z.ZodNumber;
|
|
244
|
+
current_bookings: z.ZodNumber;
|
|
245
|
+
confirmed_bookings: z.ZodNumber;
|
|
246
|
+
available_capacity: z.ZodNumber;
|
|
247
|
+
}, z.core.$strip>;
|
|
248
|
+
}, z.core.$strip>;
|
|
249
|
+
export declare const bookingDetailsDataSchema: z.ZodObject<{
|
|
250
|
+
qr_token: z.ZodNullable<z.ZodString>;
|
|
251
|
+
id: z.ZodNumber;
|
|
252
|
+
booking_id: z.ZodNumber;
|
|
253
|
+
status: z.ZodString;
|
|
254
|
+
booking_date: z.ZodString;
|
|
255
|
+
start_time: z.ZodString;
|
|
256
|
+
end_time: z.ZodString;
|
|
257
|
+
company_role: z.ZodNullable<z.ZodString>;
|
|
258
|
+
company: z.ZodObject<{
|
|
259
|
+
hall: z.ZodString;
|
|
260
|
+
stand_number: z.ZodString;
|
|
261
|
+
company_name: z.ZodString;
|
|
262
|
+
business: z.ZodString;
|
|
263
|
+
departure_city: z.ZodString;
|
|
264
|
+
contact_name: z.ZodString;
|
|
265
|
+
email: z.ZodEmail;
|
|
266
|
+
phone: z.ZodString;
|
|
267
|
+
driver_name: z.ZodString;
|
|
268
|
+
driver_phone: z.ZodString;
|
|
269
|
+
transport_company: z.ZodString;
|
|
270
|
+
}, z.core.$strip>;
|
|
271
|
+
vehicle: z.ZodObject<{
|
|
272
|
+
vehicle_type: z.ZodString;
|
|
273
|
+
unloading_method: z.ZodString;
|
|
274
|
+
license_plate: z.ZodString;
|
|
275
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
276
|
+
}, z.core.$strip>;
|
|
277
|
+
event_id: z.ZodNumber;
|
|
278
|
+
event_name: z.ZodString;
|
|
279
|
+
event_code: z.ZodString;
|
|
280
|
+
venue_id: z.ZodNullable<z.ZodNumber>;
|
|
281
|
+
venue_name: z.ZodNullable<z.ZodString>;
|
|
282
|
+
request_type: z.ZodString;
|
|
283
|
+
duration: z.ZodNumber;
|
|
284
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
285
|
+
banner: z.ZodNullable<z.ZodObject<{
|
|
286
|
+
url: z.ZodURL;
|
|
287
|
+
name: z.ZodOptional<z.ZodString>;
|
|
288
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
289
|
+
bucket: z.ZodOptional<z.ZodString>;
|
|
290
|
+
type: z.ZodOptional<z.ZodString>;
|
|
291
|
+
path: z.ZodOptional<z.ZodString>;
|
|
292
|
+
}, z.core.$strip>>;
|
|
293
|
+
created_at: z.ZodString;
|
|
294
|
+
updated_at: z.ZodString;
|
|
295
|
+
}, z.core.$strip>;
|
|
296
|
+
export declare const createParkingBookingBodySchema: z.ZodObject<{
|
|
297
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
298
|
+
company: z.ZodObject<{
|
|
299
|
+
hall: z.ZodString;
|
|
300
|
+
stand_number: z.ZodString;
|
|
301
|
+
company_name: z.ZodString;
|
|
302
|
+
business: z.ZodString;
|
|
303
|
+
departure_city: z.ZodString;
|
|
304
|
+
contact_name: z.ZodString;
|
|
305
|
+
email: z.ZodEmail;
|
|
306
|
+
phone: z.ZodString;
|
|
307
|
+
driver_name: z.ZodString;
|
|
308
|
+
driver_phone: z.ZodString;
|
|
309
|
+
transport_company: z.ZodString;
|
|
310
|
+
}, z.core.$strip>;
|
|
311
|
+
company_role: z.ZodString;
|
|
312
|
+
vehicle: z.ZodObject<{
|
|
313
|
+
vehicle_type: z.ZodString;
|
|
314
|
+
unloading_method: z.ZodString;
|
|
315
|
+
license_plate: z.ZodString;
|
|
316
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
317
|
+
}, z.core.$strip>;
|
|
318
|
+
vehicle_type: z.ZodEnum<{
|
|
319
|
+
PL: "PL";
|
|
320
|
+
VUL: "VUL";
|
|
321
|
+
VL: "VL";
|
|
322
|
+
}>;
|
|
323
|
+
booking_date: z.ZodString;
|
|
324
|
+
start_time: z.ZodString;
|
|
325
|
+
end_time: z.ZodString;
|
|
326
|
+
}, z.core.$strip>;
|
|
327
|
+
export declare const createParkingBookingDataSchema: z.ZodObject<{
|
|
328
|
+
id: z.ZodNumber;
|
|
329
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
330
|
+
status: z.ZodString;
|
|
331
|
+
company_role: z.ZodString;
|
|
332
|
+
company: z.ZodObject<{
|
|
333
|
+
hall: z.ZodString;
|
|
334
|
+
stand_number: z.ZodString;
|
|
335
|
+
company_name: z.ZodString;
|
|
336
|
+
business: z.ZodString;
|
|
337
|
+
departure_city: z.ZodString;
|
|
338
|
+
contact_name: z.ZodString;
|
|
339
|
+
email: z.ZodEmail;
|
|
340
|
+
phone: z.ZodString;
|
|
341
|
+
driver_name: z.ZodString;
|
|
342
|
+
driver_phone: z.ZodString;
|
|
343
|
+
transport_company: z.ZodString;
|
|
344
|
+
}, z.core.$strip>;
|
|
345
|
+
vehicle: z.ZodObject<{
|
|
346
|
+
vehicle_type: z.ZodString;
|
|
347
|
+
unloading_method: z.ZodString;
|
|
348
|
+
license_plate: z.ZodString;
|
|
349
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
350
|
+
}, z.core.$strip>;
|
|
351
|
+
vehicle_type: z.ZodString;
|
|
352
|
+
booking_date: z.ZodString;
|
|
353
|
+
start_time: z.ZodString;
|
|
354
|
+
end_time: z.ZodString;
|
|
355
|
+
created_at: z.ZodString;
|
|
356
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
357
|
+
}, z.core.$strip>;
|
|
358
|
+
export declare const createParkingBookingResponseSchema: z.ZodObject<{
|
|
359
|
+
success: z.ZodBoolean;
|
|
360
|
+
message: z.ZodString;
|
|
361
|
+
data: z.ZodObject<{
|
|
362
|
+
id: z.ZodNumber;
|
|
363
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
364
|
+
status: z.ZodString;
|
|
365
|
+
company_role: z.ZodString;
|
|
366
|
+
company: z.ZodObject<{
|
|
367
|
+
hall: z.ZodString;
|
|
368
|
+
stand_number: z.ZodString;
|
|
369
|
+
company_name: z.ZodString;
|
|
370
|
+
business: z.ZodString;
|
|
371
|
+
departure_city: z.ZodString;
|
|
372
|
+
contact_name: z.ZodString;
|
|
373
|
+
email: z.ZodEmail;
|
|
374
|
+
phone: z.ZodString;
|
|
375
|
+
driver_name: z.ZodString;
|
|
376
|
+
driver_phone: z.ZodString;
|
|
377
|
+
transport_company: z.ZodString;
|
|
378
|
+
}, z.core.$strip>;
|
|
379
|
+
vehicle: z.ZodObject<{
|
|
380
|
+
vehicle_type: z.ZodString;
|
|
381
|
+
unloading_method: z.ZodString;
|
|
382
|
+
license_plate: z.ZodString;
|
|
383
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
384
|
+
}, z.core.$strip>;
|
|
385
|
+
vehicle_type: z.ZodString;
|
|
386
|
+
booking_date: z.ZodString;
|
|
387
|
+
start_time: z.ZodString;
|
|
388
|
+
end_time: z.ZodString;
|
|
389
|
+
created_at: z.ZodString;
|
|
390
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
391
|
+
}, z.core.$strip>;
|
|
392
|
+
}, z.core.$strip>;
|
|
393
|
+
export declare const updateParkingBookingBodySchema: z.ZodObject<{
|
|
394
|
+
company: z.ZodOptional<z.ZodObject<{
|
|
395
|
+
hall: z.ZodString;
|
|
396
|
+
stand_number: z.ZodString;
|
|
397
|
+
company_name: z.ZodString;
|
|
398
|
+
business: z.ZodString;
|
|
399
|
+
departure_city: z.ZodString;
|
|
400
|
+
contact_name: z.ZodString;
|
|
401
|
+
email: z.ZodEmail;
|
|
402
|
+
phone: z.ZodString;
|
|
403
|
+
driver_name: z.ZodString;
|
|
404
|
+
driver_phone: z.ZodString;
|
|
405
|
+
transport_company: z.ZodString;
|
|
406
|
+
}, z.core.$strip>>;
|
|
407
|
+
vehicle: z.ZodOptional<z.ZodObject<{
|
|
408
|
+
vehicle_type: z.ZodString;
|
|
409
|
+
unloading_method: z.ZodString;
|
|
410
|
+
license_plate: z.ZodString;
|
|
411
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
412
|
+
}, z.core.$strip>>;
|
|
413
|
+
access_token: z.ZodString;
|
|
414
|
+
}, z.core.$strip>;
|
|
415
|
+
export declare const updateParkingBookingDataSchema: z.ZodObject<{
|
|
416
|
+
booking_id: z.ZodNumber;
|
|
417
|
+
qr_token: z.ZodString;
|
|
418
|
+
company: z.ZodNullable<z.ZodObject<{
|
|
419
|
+
hall: z.ZodString;
|
|
420
|
+
stand_number: z.ZodString;
|
|
421
|
+
company_name: z.ZodString;
|
|
422
|
+
business: z.ZodString;
|
|
423
|
+
departure_city: z.ZodString;
|
|
424
|
+
contact_name: z.ZodString;
|
|
425
|
+
email: z.ZodEmail;
|
|
426
|
+
phone: z.ZodString;
|
|
427
|
+
driver_name: z.ZodString;
|
|
428
|
+
driver_phone: z.ZodString;
|
|
429
|
+
transport_company: z.ZodString;
|
|
430
|
+
}, z.core.$strip>>;
|
|
431
|
+
vehicle: z.ZodNullable<z.ZodObject<{
|
|
432
|
+
vehicle_type: z.ZodString;
|
|
433
|
+
unloading_method: z.ZodString;
|
|
434
|
+
license_plate: z.ZodString;
|
|
435
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
436
|
+
}, z.core.$strip>>;
|
|
437
|
+
updated_at: z.ZodString;
|
|
438
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
439
|
+
}, z.core.$strip>;
|
|
440
|
+
export declare const updateParkingBookingResponseSchema: z.ZodObject<{
|
|
441
|
+
success: z.ZodBoolean;
|
|
442
|
+
message: z.ZodString;
|
|
443
|
+
data: z.ZodObject<{
|
|
444
|
+
booking_id: z.ZodNumber;
|
|
445
|
+
qr_token: z.ZodString;
|
|
446
|
+
company: z.ZodNullable<z.ZodObject<{
|
|
447
|
+
hall: z.ZodString;
|
|
448
|
+
stand_number: z.ZodString;
|
|
449
|
+
company_name: z.ZodString;
|
|
450
|
+
business: z.ZodString;
|
|
451
|
+
departure_city: z.ZodString;
|
|
452
|
+
contact_name: z.ZodString;
|
|
453
|
+
email: z.ZodEmail;
|
|
454
|
+
phone: z.ZodString;
|
|
455
|
+
driver_name: z.ZodString;
|
|
456
|
+
driver_phone: z.ZodString;
|
|
457
|
+
transport_company: z.ZodString;
|
|
458
|
+
}, z.core.$strip>>;
|
|
459
|
+
vehicle: z.ZodNullable<z.ZodObject<{
|
|
460
|
+
vehicle_type: z.ZodString;
|
|
461
|
+
unloading_method: z.ZodString;
|
|
462
|
+
license_plate: z.ZodString;
|
|
463
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
464
|
+
}, z.core.$strip>>;
|
|
465
|
+
updated_at: z.ZodString;
|
|
466
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
467
|
+
}, z.core.$strip>;
|
|
468
|
+
}, z.core.$strip>;
|
|
469
|
+
export declare const confirmBookingParamsSchema: z.ZodObject<{
|
|
470
|
+
bookingId: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
471
|
+
}, z.core.$strip>;
|
|
472
|
+
export declare const confirmBookingDataSchema: z.ZodObject<{
|
|
473
|
+
success: z.ZodBoolean;
|
|
474
|
+
message: z.ZodString;
|
|
475
|
+
data: z.ZodObject<{
|
|
476
|
+
id: z.ZodNumber;
|
|
477
|
+
status: z.ZodString;
|
|
478
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
479
|
+
updated_at: z.ZodString;
|
|
480
|
+
updated_by: z.ZodString;
|
|
481
|
+
}, z.core.$strip>;
|
|
482
|
+
}, z.core.$strip>;
|
|
483
|
+
export declare const confirmBookingResponseSchema: z.ZodObject<{
|
|
484
|
+
success: z.ZodBoolean;
|
|
485
|
+
message: z.ZodString;
|
|
486
|
+
data: z.ZodObject<{
|
|
487
|
+
success: z.ZodBoolean;
|
|
488
|
+
message: z.ZodString;
|
|
489
|
+
data: z.ZodObject<{
|
|
490
|
+
id: z.ZodNumber;
|
|
491
|
+
status: z.ZodString;
|
|
492
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
493
|
+
updated_at: z.ZodString;
|
|
494
|
+
updated_by: z.ZodString;
|
|
495
|
+
}, z.core.$strip>;
|
|
496
|
+
}, z.core.$strip>;
|
|
497
|
+
}, z.core.$strip>;
|
|
498
|
+
export declare const refuseBookingParamsSchema: z.ZodObject<{
|
|
499
|
+
bookingId: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
500
|
+
}, z.core.$strip>;
|
|
501
|
+
export declare const refuseBookingDataSchema: z.ZodObject<{
|
|
502
|
+
success: z.ZodBoolean;
|
|
503
|
+
message: z.ZodString;
|
|
504
|
+
data: z.ZodObject<{
|
|
505
|
+
id: z.ZodNumber;
|
|
506
|
+
status: z.ZodString;
|
|
507
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
508
|
+
updated_at: z.ZodString;
|
|
509
|
+
updated_by: z.ZodString;
|
|
510
|
+
}, z.core.$strip>;
|
|
511
|
+
}, z.core.$strip>;
|
|
512
|
+
export declare const refuseBookingResponseSchema: z.ZodObject<{
|
|
513
|
+
success: z.ZodBoolean;
|
|
514
|
+
message: z.ZodString;
|
|
515
|
+
data: z.ZodObject<{
|
|
516
|
+
success: z.ZodBoolean;
|
|
517
|
+
message: z.ZodString;
|
|
518
|
+
data: z.ZodObject<{
|
|
519
|
+
id: z.ZodNumber;
|
|
520
|
+
status: z.ZodString;
|
|
521
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
522
|
+
updated_at: z.ZodString;
|
|
523
|
+
updated_by: z.ZodString;
|
|
524
|
+
}, z.core.$strip>;
|
|
525
|
+
}, z.core.$strip>;
|
|
526
|
+
}, z.core.$strip>;
|
|
527
|
+
export declare const parkingBookingWithRelationsSchema: z.ZodObject<{
|
|
528
|
+
id: z.ZodNumber;
|
|
529
|
+
status: z.ZodString;
|
|
530
|
+
qr_token: z.ZodNullable<z.ZodString>;
|
|
531
|
+
booking_date: z.ZodString;
|
|
532
|
+
start_time: z.ZodString;
|
|
533
|
+
end_time: z.ZodString;
|
|
534
|
+
company_role: z.ZodNullable<z.ZodString>;
|
|
535
|
+
company: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
536
|
+
vehicle: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
537
|
+
is_active: z.ZodBoolean;
|
|
538
|
+
created_at: z.ZodString;
|
|
539
|
+
updated_at: z.ZodString;
|
|
540
|
+
parking_area_schedules: z.ZodObject<{
|
|
541
|
+
id: z.ZodNumber;
|
|
542
|
+
parking_area_schedule_type: z.ZodString;
|
|
543
|
+
parking_areas: z.ZodObject<{
|
|
544
|
+
id: z.ZodNumber;
|
|
545
|
+
events: z.ZodObject<{
|
|
546
|
+
id: z.ZodNumber;
|
|
547
|
+
name: z.ZodString;
|
|
548
|
+
code: z.ZodString;
|
|
549
|
+
venue_id: z.ZodNullable<z.ZodNumber>;
|
|
550
|
+
banner: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
551
|
+
venues: z.ZodNullable<z.ZodObject<{
|
|
552
|
+
id: z.ZodNumber;
|
|
553
|
+
name: z.ZodString;
|
|
554
|
+
}, z.core.$strip>>;
|
|
555
|
+
}, z.core.$strip>;
|
|
556
|
+
}, z.core.$strip>;
|
|
557
|
+
}, z.core.$strip>;
|
|
558
|
+
}, z.core.$strip>;
|
|
559
|
+
export declare const getParkingBookingDetailsParamsSchema: z.ZodObject<{
|
|
560
|
+
bookingId: z.ZodCoercedNumber<unknown>;
|
|
561
|
+
}, z.core.$strip>;
|
|
562
|
+
export declare const parkingBookingDetailsDataSchema: z.ZodObject<{
|
|
563
|
+
qr_token: z.ZodNullable<z.ZodString>;
|
|
564
|
+
id: z.ZodNumber;
|
|
565
|
+
booking_id: z.ZodNumber;
|
|
566
|
+
status: z.ZodString;
|
|
567
|
+
booking_date: z.ZodString;
|
|
568
|
+
start_time: z.ZodString;
|
|
569
|
+
end_time: z.ZodString;
|
|
570
|
+
company_role: z.ZodNullable<z.ZodString>;
|
|
571
|
+
company: z.ZodObject<{
|
|
572
|
+
hall: z.ZodString;
|
|
573
|
+
stand_number: z.ZodString;
|
|
574
|
+
company_name: z.ZodString;
|
|
575
|
+
business: z.ZodString;
|
|
576
|
+
departure_city: z.ZodString;
|
|
577
|
+
contact_name: z.ZodString;
|
|
578
|
+
email: z.ZodEmail;
|
|
579
|
+
phone: z.ZodString;
|
|
580
|
+
driver_name: z.ZodString;
|
|
581
|
+
driver_phone: z.ZodString;
|
|
582
|
+
transport_company: z.ZodString;
|
|
583
|
+
}, z.core.$strip>;
|
|
584
|
+
vehicle: z.ZodObject<{
|
|
585
|
+
vehicle_type: z.ZodString;
|
|
586
|
+
unloading_method: z.ZodString;
|
|
587
|
+
license_plate: z.ZodString;
|
|
588
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
589
|
+
}, z.core.$strip>;
|
|
590
|
+
event_id: z.ZodNumber;
|
|
591
|
+
event_name: z.ZodString;
|
|
592
|
+
event_code: z.ZodString;
|
|
593
|
+
venue_id: z.ZodNullable<z.ZodNumber>;
|
|
594
|
+
venue_name: z.ZodNullable<z.ZodString>;
|
|
595
|
+
request_type: z.ZodString;
|
|
596
|
+
duration: z.ZodNumber;
|
|
597
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
598
|
+
banner: z.ZodNullable<z.ZodObject<{
|
|
599
|
+
url: z.ZodURL;
|
|
600
|
+
name: z.ZodOptional<z.ZodString>;
|
|
601
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
602
|
+
bucket: z.ZodOptional<z.ZodString>;
|
|
603
|
+
type: z.ZodOptional<z.ZodString>;
|
|
604
|
+
path: z.ZodOptional<z.ZodString>;
|
|
605
|
+
}, z.core.$strip>>;
|
|
606
|
+
created_at: z.ZodString;
|
|
607
|
+
updated_at: z.ZodString;
|
|
608
|
+
}, z.core.$strip>;
|
|
609
|
+
export declare const getParkingBookingDetailsResponseSchema: z.ZodObject<{
|
|
610
|
+
success: z.ZodBoolean;
|
|
611
|
+
data: z.ZodObject<{
|
|
612
|
+
qr_token: z.ZodNullable<z.ZodString>;
|
|
613
|
+
id: z.ZodNumber;
|
|
614
|
+
booking_id: z.ZodNumber;
|
|
615
|
+
status: z.ZodString;
|
|
616
|
+
booking_date: z.ZodString;
|
|
617
|
+
start_time: z.ZodString;
|
|
618
|
+
end_time: z.ZodString;
|
|
619
|
+
company_role: z.ZodNullable<z.ZodString>;
|
|
620
|
+
company: z.ZodObject<{
|
|
621
|
+
hall: z.ZodString;
|
|
622
|
+
stand_number: z.ZodString;
|
|
623
|
+
company_name: z.ZodString;
|
|
624
|
+
business: z.ZodString;
|
|
625
|
+
departure_city: z.ZodString;
|
|
626
|
+
contact_name: z.ZodString;
|
|
627
|
+
email: z.ZodEmail;
|
|
628
|
+
phone: z.ZodString;
|
|
629
|
+
driver_name: z.ZodString;
|
|
630
|
+
driver_phone: z.ZodString;
|
|
631
|
+
transport_company: z.ZodString;
|
|
632
|
+
}, z.core.$strip>;
|
|
633
|
+
vehicle: z.ZodObject<{
|
|
634
|
+
vehicle_type: z.ZodString;
|
|
635
|
+
unloading_method: z.ZodString;
|
|
636
|
+
license_plate: z.ZodString;
|
|
637
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
638
|
+
}, z.core.$strip>;
|
|
639
|
+
event_id: z.ZodNumber;
|
|
640
|
+
event_name: z.ZodString;
|
|
641
|
+
event_code: z.ZodString;
|
|
642
|
+
venue_id: z.ZodNullable<z.ZodNumber>;
|
|
643
|
+
venue_name: z.ZodNullable<z.ZodString>;
|
|
644
|
+
request_type: z.ZodString;
|
|
645
|
+
duration: z.ZodNumber;
|
|
646
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
647
|
+
banner: z.ZodNullable<z.ZodObject<{
|
|
648
|
+
url: z.ZodURL;
|
|
649
|
+
name: z.ZodOptional<z.ZodString>;
|
|
650
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
651
|
+
bucket: z.ZodOptional<z.ZodString>;
|
|
652
|
+
type: z.ZodOptional<z.ZodString>;
|
|
653
|
+
path: z.ZodOptional<z.ZodString>;
|
|
654
|
+
}, z.core.$strip>>;
|
|
655
|
+
created_at: z.ZodString;
|
|
656
|
+
updated_at: z.ZodString;
|
|
657
|
+
}, z.core.$strip>;
|
|
658
|
+
}, z.core.$strip>;
|
|
659
|
+
export declare const getParkingBookingDetailsByTokenBodySchema: z.ZodObject<{
|
|
660
|
+
access_token: z.ZodString;
|
|
661
|
+
}, z.core.$strip>;
|
|
662
|
+
export declare const getParkingBookingDetailsByTokenResponseSchema: z.ZodObject<{
|
|
663
|
+
success: z.ZodBoolean;
|
|
664
|
+
data: z.ZodObject<{
|
|
665
|
+
qr_token: z.ZodNullable<z.ZodString>;
|
|
666
|
+
id: z.ZodNumber;
|
|
667
|
+
booking_id: z.ZodNumber;
|
|
668
|
+
status: z.ZodString;
|
|
669
|
+
booking_date: z.ZodString;
|
|
670
|
+
start_time: z.ZodString;
|
|
671
|
+
end_time: z.ZodString;
|
|
672
|
+
company_role: z.ZodNullable<z.ZodString>;
|
|
673
|
+
company: z.ZodObject<{
|
|
674
|
+
hall: z.ZodString;
|
|
675
|
+
stand_number: z.ZodString;
|
|
676
|
+
company_name: z.ZodString;
|
|
677
|
+
business: z.ZodString;
|
|
678
|
+
departure_city: z.ZodString;
|
|
679
|
+
contact_name: z.ZodString;
|
|
680
|
+
email: z.ZodEmail;
|
|
681
|
+
phone: z.ZodString;
|
|
682
|
+
driver_name: z.ZodString;
|
|
683
|
+
driver_phone: z.ZodString;
|
|
684
|
+
transport_company: z.ZodString;
|
|
685
|
+
}, z.core.$strip>;
|
|
686
|
+
vehicle: z.ZodObject<{
|
|
687
|
+
vehicle_type: z.ZodString;
|
|
688
|
+
unloading_method: z.ZodString;
|
|
689
|
+
license_plate: z.ZodString;
|
|
690
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
691
|
+
}, z.core.$strip>;
|
|
692
|
+
event_id: z.ZodNumber;
|
|
693
|
+
event_name: z.ZodString;
|
|
694
|
+
event_code: z.ZodString;
|
|
695
|
+
venue_id: z.ZodNullable<z.ZodNumber>;
|
|
696
|
+
venue_name: z.ZodNullable<z.ZodString>;
|
|
697
|
+
request_type: z.ZodString;
|
|
698
|
+
duration: z.ZodNumber;
|
|
699
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
700
|
+
banner: z.ZodNullable<z.ZodObject<{
|
|
701
|
+
url: z.ZodURL;
|
|
702
|
+
name: z.ZodOptional<z.ZodString>;
|
|
703
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
704
|
+
bucket: z.ZodOptional<z.ZodString>;
|
|
705
|
+
type: z.ZodOptional<z.ZodString>;
|
|
706
|
+
path: z.ZodOptional<z.ZodString>;
|
|
707
|
+
}, z.core.$strip>>;
|
|
708
|
+
created_at: z.ZodString;
|
|
709
|
+
updated_at: z.ZodString;
|
|
710
|
+
}, z.core.$strip>;
|
|
711
|
+
}, z.core.$strip>;
|
|
712
|
+
export declare const getParkingBookingDetailsByQrBodySchema: z.ZodObject<{
|
|
713
|
+
qr_token: z.ZodString;
|
|
714
|
+
}, z.core.$strip>;
|
|
715
|
+
export declare const getParkingBookingDetailsByQrResponseSchema: z.ZodObject<{
|
|
716
|
+
success: z.ZodBoolean;
|
|
717
|
+
data: z.ZodObject<{
|
|
718
|
+
qr_token: z.ZodNullable<z.ZodString>;
|
|
719
|
+
id: z.ZodNumber;
|
|
720
|
+
booking_id: z.ZodNumber;
|
|
721
|
+
status: z.ZodString;
|
|
722
|
+
booking_date: z.ZodString;
|
|
723
|
+
start_time: z.ZodString;
|
|
724
|
+
end_time: z.ZodString;
|
|
725
|
+
company_role: z.ZodNullable<z.ZodString>;
|
|
726
|
+
company: z.ZodObject<{
|
|
727
|
+
hall: z.ZodString;
|
|
728
|
+
stand_number: z.ZodString;
|
|
729
|
+
company_name: z.ZodString;
|
|
730
|
+
business: z.ZodString;
|
|
731
|
+
departure_city: z.ZodString;
|
|
732
|
+
contact_name: z.ZodString;
|
|
733
|
+
email: z.ZodEmail;
|
|
734
|
+
phone: z.ZodString;
|
|
735
|
+
driver_name: z.ZodString;
|
|
736
|
+
driver_phone: z.ZodString;
|
|
737
|
+
transport_company: z.ZodString;
|
|
738
|
+
}, z.core.$strip>;
|
|
739
|
+
vehicle: z.ZodObject<{
|
|
740
|
+
vehicle_type: z.ZodString;
|
|
741
|
+
unloading_method: z.ZodString;
|
|
742
|
+
license_plate: z.ZodString;
|
|
743
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
744
|
+
}, z.core.$strip>;
|
|
745
|
+
event_id: z.ZodNumber;
|
|
746
|
+
event_name: z.ZodString;
|
|
747
|
+
event_code: z.ZodString;
|
|
748
|
+
venue_id: z.ZodNullable<z.ZodNumber>;
|
|
749
|
+
venue_name: z.ZodNullable<z.ZodString>;
|
|
750
|
+
request_type: z.ZodString;
|
|
751
|
+
duration: z.ZodNumber;
|
|
752
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
753
|
+
banner: z.ZodNullable<z.ZodObject<{
|
|
754
|
+
url: z.ZodURL;
|
|
755
|
+
name: z.ZodOptional<z.ZodString>;
|
|
756
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
757
|
+
bucket: z.ZodOptional<z.ZodString>;
|
|
758
|
+
type: z.ZodOptional<z.ZodString>;
|
|
759
|
+
path: z.ZodOptional<z.ZodString>;
|
|
760
|
+
}, z.core.$strip>>;
|
|
761
|
+
created_at: z.ZodString;
|
|
762
|
+
updated_at: z.ZodString;
|
|
763
|
+
}, z.core.$strip>;
|
|
764
|
+
}, z.core.$strip>;
|
|
765
|
+
export type Geometry = z.infer<typeof geometrySchema>;
|
|
766
|
+
export type ParkingBooking = z.infer<typeof parkingBookingSchema>;
|
|
767
|
+
export type CompanyDetails = z.infer<typeof companyDetailsSchema>;
|
|
768
|
+
export type VehicleDetails = z.infer<typeof vehicleDetailsSchema>;
|
|
769
|
+
export type EventBookingsData = z.infer<typeof eventBookingsDataSchema>;
|
|
770
|
+
export type CheckSlotAvailabilityBody = z.infer<typeof checkSlotAvailabilityBodySchema>;
|
|
771
|
+
export type CheckSlotAvailabilityData = z.infer<typeof checkSlotAvailabilityDataSchema>;
|
|
772
|
+
export type CheckSlotAvailabilityResponse = z.infer<typeof checkSlotAvailabilityResponseSchema>;
|
|
773
|
+
export type ParkingBookingDetailsData = z.infer<typeof parkingBookingDetailsDataSchema>;
|
|
774
|
+
export type UpdateParkingBookingBody = z.infer<typeof updateParkingBookingBodySchema>;
|
|
775
|
+
export type UpdateParkingBookingData = z.infer<typeof updateParkingBookingDataSchema>;
|
|
776
|
+
export type GetEventBookingsQuery = z.infer<typeof getEventBookingsQuerySchema>;
|
|
777
|
+
export type CloseEventParams = z.infer<typeof closeEventParamsSchema>;
|
|
778
|
+
export type CloseEventBody = z.infer<typeof closeEventBodySchema>;
|
|
779
|
+
export type CloseEventData = z.infer<typeof closeEventDataSchema>;
|
|
780
|
+
export type CloseEventResponse = z.infer<typeof closeEventResponseSchema>;
|
|
781
|
+
export type EventBookingsResponse = z.infer<typeof eventBookingsResponseSchema>;
|
|
782
|
+
export type ConfirmBookingParams = z.infer<typeof confirmBookingParamsSchema>;
|
|
783
|
+
export type ConfirmBookingResponse = z.infer<typeof confirmBookingResponseSchema>;
|
|
784
|
+
export type CreateBookingBody = z.infer<typeof createParkingBookingBodySchema>;
|
|
785
|
+
export type CreateBookingData = z.infer<typeof createParkingBookingDataSchema>;
|
|
786
|
+
export type CreateBookingResponse = z.infer<typeof createParkingBookingResponseSchema>;
|
|
787
|
+
export type RefuseBookingParams = z.infer<typeof refuseBookingParamsSchema>;
|
|
788
|
+
export type RefuseBookingData = z.infer<typeof refuseBookingDataSchema>;
|
|
789
|
+
export type RefuseBookingResponse = z.infer<typeof refuseBookingResponseSchema>;
|
|
790
|
+
export type GetBookingDetailsParams = z.infer<typeof getParkingBookingDetailsParamsSchema>;
|
|
791
|
+
export type GetBookingDetailsData = z.infer<typeof parkingBookingDetailsDataSchema>;
|
|
792
|
+
export type GetBookingDetailsResponse = z.infer<typeof getParkingBookingDetailsResponseSchema>;
|
|
793
|
+
export type GetBookingDetailsByTokenBody = z.infer<typeof getParkingBookingDetailsByTokenBodySchema>;
|
|
794
|
+
export type GetBookingDetailsByTokenData = z.infer<typeof bookingDetailsDataSchema>;
|
|
795
|
+
export type GetBookingDetailsByTokenResponse = z.infer<typeof getParkingBookingDetailsByTokenResponseSchema>;
|
|
796
|
+
export type GetBookingDetailsByQrBody = z.infer<typeof getParkingBookingDetailsByQrBodySchema>;
|
|
797
|
+
export type GetBookingDetailsByQrData = z.infer<typeof bookingDetailsDataSchema>;
|
|
798
|
+
export type GetBookingDetailsByQrResponse = z.infer<typeof getParkingBookingDetailsByQrResponseSchema>;
|