@venulog/phasing-engine-schemas 0.7.6 → 0.8.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/parkingArea.d.ts +45 -17
- package/dist/parkingArea.js +100 -27
- package/dist/parkingBooking.d.ts +136 -288
- package/dist/parkingBooking.js +78 -224
- package/package.json +1 -1
package/dist/parkingBooking.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { BookingStatus } from './enums/bookingStatus.js';
|
|
2
2
|
import { z } from './zod.js';
|
|
3
|
+
import { availableTimeSlotV2Schema } from './parkingArea.js';
|
|
3
4
|
import { UnloadingType } from './enums/unloadingType.js';
|
|
5
|
+
import { ParkingAreaScheduleType } from './enums/parkingAreaScheduleType.js';
|
|
4
6
|
export declare const geometrySchema: z.ZodNullable<z.ZodObject<{
|
|
5
7
|
type: z.ZodEnum<{
|
|
6
8
|
Point: "Point";
|
|
@@ -37,46 +39,6 @@ export declare const closeEventParamsSchema: z.ZodObject<{
|
|
|
37
39
|
export declare const closeEventBodySchema: z.ZodObject<{
|
|
38
40
|
reason: z.ZodOptional<z.ZodString>;
|
|
39
41
|
}, z.core.$strip>;
|
|
40
|
-
export declare const parkingBookingSchema: z.ZodObject<{
|
|
41
|
-
id: z.ZodNumber;
|
|
42
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
43
|
-
status: z.ZodEnum<typeof BookingStatus>;
|
|
44
|
-
is_active: z.ZodBoolean;
|
|
45
|
-
created_at: z.ZodString;
|
|
46
|
-
updated_at: z.ZodString;
|
|
47
|
-
created_by: z.ZodNullable<z.ZodString>;
|
|
48
|
-
updated_by: z.ZodNullable<z.ZodString>;
|
|
49
|
-
booking_date: z.ZodNullable<z.ZodString>;
|
|
50
|
-
start_time: z.ZodNullable<z.ZodString>;
|
|
51
|
-
end_time: z.ZodNullable<z.ZodString>;
|
|
52
|
-
company_role: z.ZodNullable<z.ZodString>;
|
|
53
|
-
company: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
54
|
-
vehicle: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
55
|
-
entry_scanned_at: z.ZodNullable<z.ZodString>;
|
|
56
|
-
exit_scanned_at: z.ZodNullable<z.ZodString>;
|
|
57
|
-
parking_area_schedule: z.ZodOptional<z.ZodObject<{
|
|
58
|
-
id: z.ZodNumber;
|
|
59
|
-
date: z.ZodString;
|
|
60
|
-
start_time: z.ZodString;
|
|
61
|
-
end_time: z.ZodString;
|
|
62
|
-
duration: z.ZodNumber;
|
|
63
|
-
parking_area_id: z.ZodNumber;
|
|
64
|
-
parking_area_schedule_type: z.ZodEnum<{
|
|
65
|
-
assembly: import("./index.js").ParkingAreaScheduleType.ASSEMBLY;
|
|
66
|
-
dismantling: import("./index.js").ParkingAreaScheduleType.DISMANTLING;
|
|
67
|
-
}>;
|
|
68
|
-
company_roles: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
69
|
-
vehicle_types: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
70
|
-
PL: import("./index.js").VehicleType.PL;
|
|
71
|
-
VUL: import("./index.js").VehicleType.VUL;
|
|
72
|
-
VL: import("./index.js").VehicleType.VL;
|
|
73
|
-
}>>>;
|
|
74
|
-
created_at: z.ZodString;
|
|
75
|
-
updated_at: z.ZodString;
|
|
76
|
-
created_by: z.ZodNullable<z.ZodString>;
|
|
77
|
-
updated_by: z.ZodNullable<z.ZodString>;
|
|
78
|
-
}, z.core.$strip>>;
|
|
79
|
-
}, z.core.$strip>;
|
|
80
42
|
export declare const companyDetailsSchema: z.ZodObject<{
|
|
81
43
|
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
82
44
|
stand_number: z.ZodString;
|
|
@@ -96,6 +58,44 @@ export declare const vehicleDetailsSchema: z.ZodObject<{
|
|
|
96
58
|
license_plate: z.ZodString;
|
|
97
59
|
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
98
60
|
}, z.core.$strip>;
|
|
61
|
+
export declare const parkingBookingSchema: z.ZodObject<{
|
|
62
|
+
id: z.ZodNumber;
|
|
63
|
+
parking_area_schedule_id: z.ZodNumber;
|
|
64
|
+
status: z.ZodEnum<typeof BookingStatus>;
|
|
65
|
+
is_active: z.ZodBoolean;
|
|
66
|
+
created_at: z.ZodString;
|
|
67
|
+
updated_at: z.ZodString;
|
|
68
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
69
|
+
updated_by: z.ZodNullable<z.ZodString>;
|
|
70
|
+
booking_date: z.ZodNullable<z.ZodString>;
|
|
71
|
+
start_time: z.ZodNullable<z.ZodString>;
|
|
72
|
+
end_time: z.ZodNullable<z.ZodString>;
|
|
73
|
+
company_role: z.ZodNullable<z.ZodString>;
|
|
74
|
+
company: z.ZodObject<{
|
|
75
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
76
|
+
stand_number: z.ZodString;
|
|
77
|
+
company_name: z.ZodString;
|
|
78
|
+
business: z.ZodString;
|
|
79
|
+
departure_city: z.ZodString;
|
|
80
|
+
contact_name: z.ZodString;
|
|
81
|
+
email: z.ZodEmail;
|
|
82
|
+
phone: z.ZodString;
|
|
83
|
+
driver_name: z.ZodString;
|
|
84
|
+
driver_phone: z.ZodString;
|
|
85
|
+
transport_company: z.ZodString;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
vehicle: z.ZodObject<{
|
|
88
|
+
vehicle_type: z.ZodEnum<typeof import("./index.js").VehicleType>;
|
|
89
|
+
unloading_method: z.ZodEnum<typeof UnloadingType>;
|
|
90
|
+
license_plate: z.ZodString;
|
|
91
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
92
|
+
}, z.core.$strip>;
|
|
93
|
+
entry_scanned_at: z.ZodNullable<z.ZodString>;
|
|
94
|
+
exit_scanned_at: z.ZodNullable<z.ZodString>;
|
|
95
|
+
parking_spot: z.ZodString;
|
|
96
|
+
door: z.ZodString;
|
|
97
|
+
parking_schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
99
|
export declare const eventBookingsDataSchema: z.ZodObject<{
|
|
100
100
|
event_id: z.ZodNumber;
|
|
101
101
|
event_code: z.ZodString;
|
|
@@ -113,32 +113,30 @@ export declare const eventBookingsDataSchema: z.ZodObject<{
|
|
|
113
113
|
start_time: z.ZodNullable<z.ZodString>;
|
|
114
114
|
end_time: z.ZodNullable<z.ZodString>;
|
|
115
115
|
company_role: z.ZodNullable<z.ZodString>;
|
|
116
|
-
company: z.
|
|
117
|
-
|
|
116
|
+
company: z.ZodObject<{
|
|
117
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
118
|
+
stand_number: z.ZodString;
|
|
119
|
+
company_name: z.ZodString;
|
|
120
|
+
business: z.ZodString;
|
|
121
|
+
departure_city: z.ZodString;
|
|
122
|
+
contact_name: z.ZodString;
|
|
123
|
+
email: z.ZodEmail;
|
|
124
|
+
phone: z.ZodString;
|
|
125
|
+
driver_name: z.ZodString;
|
|
126
|
+
driver_phone: z.ZodString;
|
|
127
|
+
transport_company: z.ZodString;
|
|
128
|
+
}, z.core.$strip>;
|
|
129
|
+
vehicle: z.ZodObject<{
|
|
130
|
+
vehicle_type: z.ZodEnum<typeof import("./index.js").VehicleType>;
|
|
131
|
+
unloading_method: z.ZodEnum<typeof UnloadingType>;
|
|
132
|
+
license_plate: z.ZodString;
|
|
133
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
134
|
+
}, z.core.$strip>;
|
|
118
135
|
entry_scanned_at: z.ZodNullable<z.ZodString>;
|
|
119
136
|
exit_scanned_at: z.ZodNullable<z.ZodString>;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
start_time: z.ZodString;
|
|
124
|
-
end_time: z.ZodString;
|
|
125
|
-
duration: z.ZodNumber;
|
|
126
|
-
parking_area_id: z.ZodNumber;
|
|
127
|
-
parking_area_schedule_type: z.ZodEnum<{
|
|
128
|
-
assembly: import("./index.js").ParkingAreaScheduleType.ASSEMBLY;
|
|
129
|
-
dismantling: import("./index.js").ParkingAreaScheduleType.DISMANTLING;
|
|
130
|
-
}>;
|
|
131
|
-
company_roles: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
132
|
-
vehicle_types: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
133
|
-
PL: import("./index.js").VehicleType.PL;
|
|
134
|
-
VUL: import("./index.js").VehicleType.VUL;
|
|
135
|
-
VL: import("./index.js").VehicleType.VL;
|
|
136
|
-
}>>>;
|
|
137
|
-
created_at: z.ZodString;
|
|
138
|
-
updated_at: z.ZodString;
|
|
139
|
-
created_by: z.ZodNullable<z.ZodString>;
|
|
140
|
-
updated_by: z.ZodNullable<z.ZodString>;
|
|
141
|
-
}, z.core.$strip>>;
|
|
137
|
+
parking_spot: z.ZodString;
|
|
138
|
+
door: z.ZodString;
|
|
139
|
+
parking_schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
|
|
142
140
|
}, z.core.$strip>>;
|
|
143
141
|
total_count: z.ZodNumber;
|
|
144
142
|
}, z.core.$strip>;
|
|
@@ -161,32 +159,30 @@ export declare const eventBookingsResponseSchema: z.ZodObject<{
|
|
|
161
159
|
start_time: z.ZodNullable<z.ZodString>;
|
|
162
160
|
end_time: z.ZodNullable<z.ZodString>;
|
|
163
161
|
company_role: z.ZodNullable<z.ZodString>;
|
|
164
|
-
company: z.
|
|
165
|
-
|
|
162
|
+
company: z.ZodObject<{
|
|
163
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
164
|
+
stand_number: z.ZodString;
|
|
165
|
+
company_name: z.ZodString;
|
|
166
|
+
business: z.ZodString;
|
|
167
|
+
departure_city: z.ZodString;
|
|
168
|
+
contact_name: z.ZodString;
|
|
169
|
+
email: z.ZodEmail;
|
|
170
|
+
phone: z.ZodString;
|
|
171
|
+
driver_name: z.ZodString;
|
|
172
|
+
driver_phone: z.ZodString;
|
|
173
|
+
transport_company: z.ZodString;
|
|
174
|
+
}, z.core.$strip>;
|
|
175
|
+
vehicle: z.ZodObject<{
|
|
176
|
+
vehicle_type: z.ZodEnum<typeof import("./index.js").VehicleType>;
|
|
177
|
+
unloading_method: z.ZodEnum<typeof UnloadingType>;
|
|
178
|
+
license_plate: z.ZodString;
|
|
179
|
+
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
180
|
+
}, z.core.$strip>;
|
|
166
181
|
entry_scanned_at: z.ZodNullable<z.ZodString>;
|
|
167
182
|
exit_scanned_at: z.ZodNullable<z.ZodString>;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
start_time: z.ZodString;
|
|
172
|
-
end_time: z.ZodString;
|
|
173
|
-
duration: z.ZodNumber;
|
|
174
|
-
parking_area_id: z.ZodNumber;
|
|
175
|
-
parking_area_schedule_type: z.ZodEnum<{
|
|
176
|
-
assembly: import("./index.js").ParkingAreaScheduleType.ASSEMBLY;
|
|
177
|
-
dismantling: import("./index.js").ParkingAreaScheduleType.DISMANTLING;
|
|
178
|
-
}>;
|
|
179
|
-
company_roles: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
180
|
-
vehicle_types: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
181
|
-
PL: import("./index.js").VehicleType.PL;
|
|
182
|
-
VUL: import("./index.js").VehicleType.VUL;
|
|
183
|
-
VL: import("./index.js").VehicleType.VL;
|
|
184
|
-
}>>>;
|
|
185
|
-
created_at: z.ZodString;
|
|
186
|
-
updated_at: z.ZodString;
|
|
187
|
-
created_by: z.ZodNullable<z.ZodString>;
|
|
188
|
-
updated_by: z.ZodNullable<z.ZodString>;
|
|
189
|
-
}, z.core.$strip>>;
|
|
183
|
+
parking_spot: z.ZodString;
|
|
184
|
+
door: z.ZodString;
|
|
185
|
+
parking_schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
|
|
190
186
|
}, z.core.$strip>>;
|
|
191
187
|
total_count: z.ZodNumber;
|
|
192
188
|
}, z.core.$strip>;
|
|
@@ -236,83 +232,37 @@ export declare const confirmAccessResponseSchema: z.ZodObject<{
|
|
|
236
232
|
}, z.core.$strip>;
|
|
237
233
|
}, z.core.$strip>;
|
|
238
234
|
export declare const checkSlotAvailabilityBodySchema: z.ZodObject<{
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
date: z.ZodString;
|
|
247
|
-
start_time: z.ZodString;
|
|
248
|
-
is_available: z.ZodBoolean;
|
|
249
|
-
max_capacity: z.ZodNumber;
|
|
250
|
-
current_bookings: z.ZodNumber;
|
|
251
|
-
confirmed_bookings: z.ZodNumber;
|
|
252
|
-
available_capacity: z.ZodNumber;
|
|
235
|
+
slot_key: z.ZodString;
|
|
236
|
+
event_id: z.ZodNumber;
|
|
237
|
+
year: z.ZodNumber;
|
|
238
|
+
month: z.ZodNumber;
|
|
239
|
+
company_name: z.ZodString;
|
|
240
|
+
vehicle_type: z.ZodEnum<typeof import("./index.js").VehicleType>;
|
|
241
|
+
schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
|
|
253
242
|
}, z.core.$strip>;
|
|
254
243
|
export declare const checkSlotAvailabilityResponseSchema: z.ZodObject<{
|
|
255
244
|
success: z.ZodBoolean;
|
|
256
245
|
data: z.ZodObject<{
|
|
257
|
-
schedule_id: z.ZodNumber;
|
|
258
246
|
date: z.ZodString;
|
|
259
247
|
start_time: z.ZodString;
|
|
260
|
-
|
|
248
|
+
end_time: z.ZodString;
|
|
249
|
+
duration: z.ZodNumber;
|
|
250
|
+
schedule_type: z.ZodEnum<{
|
|
251
|
+
assembly: "assembly";
|
|
252
|
+
dismantling: "dismantling";
|
|
253
|
+
}>;
|
|
261
254
|
max_capacity: z.ZodNumber;
|
|
262
255
|
current_bookings: z.ZodNumber;
|
|
263
256
|
confirmed_bookings: z.ZodNumber;
|
|
264
257
|
available_capacity: z.ZodNumber;
|
|
258
|
+
is_available: z.ZodBoolean;
|
|
259
|
+
door: z.ZodString;
|
|
260
|
+
parking_spot: z.ZodString;
|
|
261
|
+
entity_name: z.ZodString;
|
|
262
|
+
slot_key: z.ZodString;
|
|
265
263
|
}, z.core.$strip>;
|
|
266
264
|
}, z.core.$strip>;
|
|
267
|
-
export declare const bookingDetailsDataSchema: z.ZodObject<{
|
|
268
|
-
qr_token: z.ZodNullable<z.ZodString>;
|
|
269
|
-
id: z.ZodNumber;
|
|
270
|
-
booking_id: z.ZodNumber;
|
|
271
|
-
status: z.ZodString;
|
|
272
|
-
booking_date: z.ZodString;
|
|
273
|
-
start_time: z.ZodString;
|
|
274
|
-
end_time: z.ZodString;
|
|
275
|
-
company_role: z.ZodNullable<z.ZodString>;
|
|
276
|
-
company: z.ZodObject<{
|
|
277
|
-
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
278
|
-
stand_number: z.ZodString;
|
|
279
|
-
company_name: z.ZodString;
|
|
280
|
-
business: z.ZodString;
|
|
281
|
-
departure_city: z.ZodString;
|
|
282
|
-
contact_name: z.ZodString;
|
|
283
|
-
email: z.ZodEmail;
|
|
284
|
-
phone: z.ZodString;
|
|
285
|
-
driver_name: z.ZodString;
|
|
286
|
-
driver_phone: z.ZodString;
|
|
287
|
-
transport_company: z.ZodString;
|
|
288
|
-
}, z.core.$strip>;
|
|
289
|
-
vehicle: z.ZodObject<{
|
|
290
|
-
vehicle_type: z.ZodEnum<typeof import("./index.js").VehicleType>;
|
|
291
|
-
unloading_method: z.ZodEnum<typeof UnloadingType>;
|
|
292
|
-
license_plate: z.ZodString;
|
|
293
|
-
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
294
|
-
}, z.core.$strip>;
|
|
295
|
-
event_id: z.ZodNumber;
|
|
296
|
-
event_name: z.ZodString;
|
|
297
|
-
event_code: z.ZodString;
|
|
298
|
-
venue_id: z.ZodNullable<z.ZodNumber>;
|
|
299
|
-
venue_name: z.ZodNullable<z.ZodString>;
|
|
300
|
-
request_type: z.ZodString;
|
|
301
|
-
duration: z.ZodNumber;
|
|
302
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
303
|
-
banner: z.ZodNullable<z.ZodObject<{
|
|
304
|
-
url: z.ZodURL;
|
|
305
|
-
name: z.ZodOptional<z.ZodString>;
|
|
306
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
307
|
-
bucket: z.ZodOptional<z.ZodString>;
|
|
308
|
-
type: z.ZodOptional<z.ZodString>;
|
|
309
|
-
path: z.ZodOptional<z.ZodString>;
|
|
310
|
-
}, z.core.$strip>>;
|
|
311
|
-
created_at: z.ZodString;
|
|
312
|
-
updated_at: z.ZodString;
|
|
313
|
-
}, z.core.$strip>;
|
|
314
265
|
export declare const createParkingBookingBodySchema: z.ZodObject<{
|
|
315
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
316
266
|
company: z.ZodObject<{
|
|
317
267
|
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
318
268
|
stand_number: z.ZodString;
|
|
@@ -334,11 +284,12 @@ export declare const createParkingBookingBodySchema: z.ZodObject<{
|
|
|
334
284
|
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
335
285
|
}, z.core.$strip>;
|
|
336
286
|
booking_date: z.ZodString;
|
|
337
|
-
|
|
287
|
+
event_id: z.ZodNumber;
|
|
288
|
+
slot_key: z.ZodString;
|
|
289
|
+
parking_schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
|
|
338
290
|
}, z.core.$strip>;
|
|
339
291
|
export declare const createParkingBookingDataSchema: z.ZodObject<{
|
|
340
292
|
id: z.ZodNumber;
|
|
341
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
342
293
|
status: z.ZodString;
|
|
343
294
|
company_role: z.ZodString;
|
|
344
295
|
company: z.ZodObject<{
|
|
@@ -363,6 +314,10 @@ export declare const createParkingBookingDataSchema: z.ZodObject<{
|
|
|
363
314
|
booking_date: z.ZodString;
|
|
364
315
|
start_time: z.ZodString;
|
|
365
316
|
end_time: z.ZodString;
|
|
317
|
+
event_id: z.ZodNumber;
|
|
318
|
+
door: z.ZodString;
|
|
319
|
+
parking_spot: z.ZodString;
|
|
320
|
+
parking_schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
|
|
366
321
|
created_at: z.ZodString;
|
|
367
322
|
created_by: z.ZodNullable<z.ZodString>;
|
|
368
323
|
}, z.core.$strip>;
|
|
@@ -371,7 +326,6 @@ export declare const createParkingBookingResponseSchema: z.ZodObject<{
|
|
|
371
326
|
message: z.ZodString;
|
|
372
327
|
data: z.ZodObject<{
|
|
373
328
|
id: z.ZodNumber;
|
|
374
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
375
329
|
status: z.ZodString;
|
|
376
330
|
company_role: z.ZodString;
|
|
377
331
|
company: z.ZodObject<{
|
|
@@ -396,6 +350,10 @@ export declare const createParkingBookingResponseSchema: z.ZodObject<{
|
|
|
396
350
|
booking_date: z.ZodString;
|
|
397
351
|
start_time: z.ZodString;
|
|
398
352
|
end_time: z.ZodString;
|
|
353
|
+
event_id: z.ZodNumber;
|
|
354
|
+
door: z.ZodString;
|
|
355
|
+
parking_spot: z.ZodString;
|
|
356
|
+
parking_schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
|
|
399
357
|
created_at: z.ZodString;
|
|
400
358
|
created_by: z.ZodNullable<z.ZodString>;
|
|
401
359
|
}, z.core.$strip>;
|
|
@@ -531,25 +489,23 @@ export declare const parkingBookingWithRelationsSchema: z.ZodObject<{
|
|
|
531
489
|
is_active: z.ZodBoolean;
|
|
532
490
|
created_at: z.ZodString;
|
|
533
491
|
updated_at: z.ZodString;
|
|
534
|
-
|
|
492
|
+
events: z.ZodObject<{
|
|
535
493
|
id: z.ZodNumber;
|
|
536
|
-
|
|
537
|
-
|
|
494
|
+
name: z.ZodString;
|
|
495
|
+
code: z.ZodString;
|
|
496
|
+
venue_id: z.ZodNullable<z.ZodNumber>;
|
|
497
|
+
banner: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
498
|
+
venues: z.ZodNullable<z.ZodObject<{
|
|
538
499
|
id: z.ZodNumber;
|
|
539
500
|
name: z.ZodString;
|
|
540
|
-
|
|
541
|
-
id: z.ZodNumber;
|
|
542
|
-
name: z.ZodString;
|
|
543
|
-
code: z.ZodString;
|
|
544
|
-
venue_id: z.ZodNullable<z.ZodNumber>;
|
|
545
|
-
banner: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
546
|
-
venues: z.ZodNullable<z.ZodObject<{
|
|
547
|
-
id: z.ZodNumber;
|
|
548
|
-
name: z.ZodString;
|
|
549
|
-
}, z.core.$strip>>;
|
|
550
|
-
}, z.core.$strip>;
|
|
551
|
-
}, z.core.$strip>;
|
|
501
|
+
}, z.core.$strip>>;
|
|
552
502
|
}, z.core.$strip>;
|
|
503
|
+
parking_spot: z.ZodString;
|
|
504
|
+
door: z.ZodString;
|
|
505
|
+
parking_schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
|
|
506
|
+
slot_key: z.ZodString;
|
|
507
|
+
entry_scanned_at: z.ZodNullable<z.ZodString>;
|
|
508
|
+
exit_scanned_at: z.ZodNullable<z.ZodString>;
|
|
553
509
|
}, z.core.$strip>;
|
|
554
510
|
export declare const getParkingBookingDetailsParamsSchema: z.ZodObject<{
|
|
555
511
|
bookingId: z.ZodCoercedNumber<unknown>;
|
|
@@ -589,11 +545,6 @@ export declare const parkingBookingDetailsDataSchema: z.ZodObject<{
|
|
|
589
545
|
venue_name: z.ZodNullable<z.ZodString>;
|
|
590
546
|
request_type: z.ZodString;
|
|
591
547
|
duration: z.ZodNumber;
|
|
592
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
593
|
-
parking_area: z.ZodObject<{
|
|
594
|
-
id: z.ZodNumber;
|
|
595
|
-
name: z.ZodString;
|
|
596
|
-
}, z.core.$strip>;
|
|
597
548
|
banner: z.ZodNullable<z.ZodObject<{
|
|
598
549
|
url: z.ZodURL;
|
|
599
550
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -606,6 +557,10 @@ export declare const parkingBookingDetailsDataSchema: z.ZodObject<{
|
|
|
606
557
|
updated_at: z.ZodString;
|
|
607
558
|
entry_scanned_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
608
559
|
exit_scanned_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
560
|
+
slot_key: z.ZodString;
|
|
561
|
+
parking_spot: z.ZodString;
|
|
562
|
+
door: z.ZodString;
|
|
563
|
+
parking_schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
|
|
609
564
|
}, z.core.$strip>;
|
|
610
565
|
export declare const getParkingBookingDetailsResponseSchema: z.ZodObject<{
|
|
611
566
|
success: z.ZodBoolean;
|
|
@@ -644,11 +599,6 @@ export declare const getParkingBookingDetailsResponseSchema: z.ZodObject<{
|
|
|
644
599
|
venue_name: z.ZodNullable<z.ZodString>;
|
|
645
600
|
request_type: z.ZodString;
|
|
646
601
|
duration: z.ZodNumber;
|
|
647
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
648
|
-
parking_area: z.ZodObject<{
|
|
649
|
-
id: z.ZodNumber;
|
|
650
|
-
name: z.ZodString;
|
|
651
|
-
}, z.core.$strip>;
|
|
652
602
|
banner: z.ZodNullable<z.ZodObject<{
|
|
653
603
|
url: z.ZodURL;
|
|
654
604
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -661,114 +611,18 @@ export declare const getParkingBookingDetailsResponseSchema: z.ZodObject<{
|
|
|
661
611
|
updated_at: z.ZodString;
|
|
662
612
|
entry_scanned_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
663
613
|
exit_scanned_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
614
|
+
slot_key: z.ZodString;
|
|
615
|
+
parking_spot: z.ZodString;
|
|
616
|
+
door: z.ZodString;
|
|
617
|
+
parking_schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
|
|
664
618
|
}, z.core.$strip>;
|
|
665
619
|
}, z.core.$strip>;
|
|
666
620
|
export declare const getParkingBookingDetailsByTokenBodySchema: z.ZodObject<{
|
|
667
621
|
access_token: z.ZodString;
|
|
668
622
|
}, z.core.$strip>;
|
|
669
|
-
export declare const getParkingBookingDetailsByTokenResponseSchema: z.ZodObject<{
|
|
670
|
-
success: z.ZodBoolean;
|
|
671
|
-
data: z.ZodObject<{
|
|
672
|
-
qr_token: z.ZodNullable<z.ZodString>;
|
|
673
|
-
id: z.ZodNumber;
|
|
674
|
-
booking_id: z.ZodNumber;
|
|
675
|
-
status: z.ZodString;
|
|
676
|
-
booking_date: z.ZodString;
|
|
677
|
-
start_time: z.ZodString;
|
|
678
|
-
end_time: z.ZodString;
|
|
679
|
-
company_role: z.ZodNullable<z.ZodString>;
|
|
680
|
-
company: z.ZodObject<{
|
|
681
|
-
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
682
|
-
stand_number: z.ZodString;
|
|
683
|
-
company_name: z.ZodString;
|
|
684
|
-
business: z.ZodString;
|
|
685
|
-
departure_city: z.ZodString;
|
|
686
|
-
contact_name: z.ZodString;
|
|
687
|
-
email: z.ZodEmail;
|
|
688
|
-
phone: z.ZodString;
|
|
689
|
-
driver_name: z.ZodString;
|
|
690
|
-
driver_phone: z.ZodString;
|
|
691
|
-
transport_company: z.ZodString;
|
|
692
|
-
}, z.core.$strip>;
|
|
693
|
-
vehicle: z.ZodObject<{
|
|
694
|
-
vehicle_type: z.ZodEnum<typeof import("./index.js").VehicleType>;
|
|
695
|
-
unloading_method: z.ZodEnum<typeof UnloadingType>;
|
|
696
|
-
license_plate: z.ZodString;
|
|
697
|
-
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
698
|
-
}, z.core.$strip>;
|
|
699
|
-
event_id: z.ZodNumber;
|
|
700
|
-
event_name: z.ZodString;
|
|
701
|
-
event_code: z.ZodString;
|
|
702
|
-
venue_id: z.ZodNullable<z.ZodNumber>;
|
|
703
|
-
venue_name: z.ZodNullable<z.ZodString>;
|
|
704
|
-
request_type: z.ZodString;
|
|
705
|
-
duration: z.ZodNumber;
|
|
706
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
707
|
-
banner: z.ZodNullable<z.ZodObject<{
|
|
708
|
-
url: z.ZodURL;
|
|
709
|
-
name: z.ZodOptional<z.ZodString>;
|
|
710
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
711
|
-
bucket: z.ZodOptional<z.ZodString>;
|
|
712
|
-
type: z.ZodOptional<z.ZodString>;
|
|
713
|
-
path: z.ZodOptional<z.ZodString>;
|
|
714
|
-
}, z.core.$strip>>;
|
|
715
|
-
created_at: z.ZodString;
|
|
716
|
-
updated_at: z.ZodString;
|
|
717
|
-
}, z.core.$strip>;
|
|
718
|
-
}, z.core.$strip>;
|
|
719
623
|
export declare const getParkingBookingDetailsByQrBodySchema: z.ZodObject<{
|
|
720
624
|
qr_token: z.ZodString;
|
|
721
625
|
}, z.core.$strip>;
|
|
722
|
-
export declare const getParkingBookingDetailsByQrResponseSchema: z.ZodObject<{
|
|
723
|
-
success: z.ZodBoolean;
|
|
724
|
-
data: z.ZodObject<{
|
|
725
|
-
qr_token: z.ZodNullable<z.ZodString>;
|
|
726
|
-
id: z.ZodNumber;
|
|
727
|
-
booking_id: z.ZodNumber;
|
|
728
|
-
status: z.ZodString;
|
|
729
|
-
booking_date: z.ZodString;
|
|
730
|
-
start_time: z.ZodString;
|
|
731
|
-
end_time: z.ZodString;
|
|
732
|
-
company_role: z.ZodNullable<z.ZodString>;
|
|
733
|
-
company: z.ZodObject<{
|
|
734
|
-
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
735
|
-
stand_number: z.ZodString;
|
|
736
|
-
company_name: z.ZodString;
|
|
737
|
-
business: z.ZodString;
|
|
738
|
-
departure_city: z.ZodString;
|
|
739
|
-
contact_name: z.ZodString;
|
|
740
|
-
email: z.ZodEmail;
|
|
741
|
-
phone: z.ZodString;
|
|
742
|
-
driver_name: z.ZodString;
|
|
743
|
-
driver_phone: z.ZodString;
|
|
744
|
-
transport_company: z.ZodString;
|
|
745
|
-
}, z.core.$strip>;
|
|
746
|
-
vehicle: z.ZodObject<{
|
|
747
|
-
vehicle_type: z.ZodEnum<typeof import("./index.js").VehicleType>;
|
|
748
|
-
unloading_method: z.ZodEnum<typeof UnloadingType>;
|
|
749
|
-
license_plate: z.ZodString;
|
|
750
|
-
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
751
|
-
}, z.core.$strip>;
|
|
752
|
-
event_id: z.ZodNumber;
|
|
753
|
-
event_name: z.ZodString;
|
|
754
|
-
event_code: z.ZodString;
|
|
755
|
-
venue_id: z.ZodNullable<z.ZodNumber>;
|
|
756
|
-
venue_name: z.ZodNullable<z.ZodString>;
|
|
757
|
-
request_type: z.ZodString;
|
|
758
|
-
duration: z.ZodNumber;
|
|
759
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
760
|
-
banner: z.ZodNullable<z.ZodObject<{
|
|
761
|
-
url: z.ZodURL;
|
|
762
|
-
name: z.ZodOptional<z.ZodString>;
|
|
763
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
764
|
-
bucket: z.ZodOptional<z.ZodString>;
|
|
765
|
-
type: z.ZodOptional<z.ZodString>;
|
|
766
|
-
path: z.ZodOptional<z.ZodString>;
|
|
767
|
-
}, z.core.$strip>>;
|
|
768
|
-
created_at: z.ZodString;
|
|
769
|
-
updated_at: z.ZodString;
|
|
770
|
-
}, z.core.$strip>;
|
|
771
|
-
}, z.core.$strip>;
|
|
772
626
|
export declare const exportBookingDataSchema: z.ZodObject<{
|
|
773
627
|
booking_id: z.ZodNumber;
|
|
774
628
|
event_id: z.ZodNumber;
|
|
@@ -823,11 +677,10 @@ export declare const updateBookingTimeParamsSchema: z.ZodObject<{
|
|
|
823
677
|
export declare const updateBookingTimeBodySchema: z.ZodObject<{
|
|
824
678
|
booking_date: z.ZodString;
|
|
825
679
|
start_time: z.ZodString;
|
|
826
|
-
|
|
680
|
+
slot_key: z.ZodString;
|
|
827
681
|
}, z.core.$strip>;
|
|
828
682
|
export declare const updateBookingTimeDataSchema: z.ZodObject<{
|
|
829
683
|
booking_id: z.ZodNumber;
|
|
830
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
831
684
|
booking_date: z.ZodString;
|
|
832
685
|
start_time: z.ZodString;
|
|
833
686
|
end_time: z.ZodString;
|
|
@@ -839,7 +692,6 @@ export declare const updateBookingTimeResponseSchema: z.ZodObject<{
|
|
|
839
692
|
message: z.ZodString;
|
|
840
693
|
data: z.ZodObject<{
|
|
841
694
|
booking_id: z.ZodNumber;
|
|
842
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
843
695
|
booking_date: z.ZodString;
|
|
844
696
|
start_time: z.ZodString;
|
|
845
697
|
end_time: z.ZodString;
|
|
@@ -853,7 +705,7 @@ export type CompanyDetails = z.infer<typeof companyDetailsSchema>;
|
|
|
853
705
|
export type VehicleDetails = z.infer<typeof vehicleDetailsSchema>;
|
|
854
706
|
export type EventBookingsData = z.infer<typeof eventBookingsDataSchema>;
|
|
855
707
|
export type CheckSlotAvailabilityBody = z.infer<typeof checkSlotAvailabilityBodySchema>;
|
|
856
|
-
export type CheckSlotAvailabilityData = z.infer<typeof
|
|
708
|
+
export type CheckSlotAvailabilityData = z.infer<typeof availableTimeSlotV2Schema>;
|
|
857
709
|
export type CheckSlotAvailabilityResponse = z.infer<typeof checkSlotAvailabilityResponseSchema>;
|
|
858
710
|
export type ParkingBookingDetailsData = z.infer<typeof parkingBookingDetailsDataSchema>;
|
|
859
711
|
export type UpdateParkingBookingBody = z.infer<typeof updateParkingBookingBodySchema>;
|
|
@@ -877,11 +729,7 @@ export type GetBookingDetailsParams = z.infer<typeof getParkingBookingDetailsPar
|
|
|
877
729
|
export type GetBookingDetailsData = z.infer<typeof parkingBookingDetailsDataSchema>;
|
|
878
730
|
export type GetBookingDetailsResponse = z.infer<typeof getParkingBookingDetailsResponseSchema>;
|
|
879
731
|
export type GetBookingDetailsByTokenBody = z.infer<typeof getParkingBookingDetailsByTokenBodySchema>;
|
|
880
|
-
export type GetBookingDetailsByTokenData = z.infer<typeof bookingDetailsDataSchema>;
|
|
881
|
-
export type GetBookingDetailsByTokenResponse = z.infer<typeof getParkingBookingDetailsByTokenResponseSchema>;
|
|
882
732
|
export type GetBookingDetailsByQrBody = z.infer<typeof getParkingBookingDetailsByQrBodySchema>;
|
|
883
|
-
export type GetBookingDetailsByQrData = z.infer<typeof bookingDetailsDataSchema>;
|
|
884
|
-
export type GetBookingDetailsByQrResponse = z.infer<typeof getParkingBookingDetailsByQrResponseSchema>;
|
|
885
733
|
export type ConfirmBookingData = z.infer<typeof confirmBookingDataSchema>;
|
|
886
734
|
export type ConfirmBookingDataResponse = z.infer<typeof confirmBookingResponseSchema>;
|
|
887
735
|
export type ExportBookingData = z.infer<typeof exportBookingDataSchema>;
|