@venulog/phasing-engine-schemas 0.12.0-alpha.1 → 0.12.0-alpha.3
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/parkingBooking.d.ts +9 -12
- package/dist/parkingBooking.js +2 -4
- package/package.json +1 -1
package/dist/parkingBooking.d.ts
CHANGED
|
@@ -400,7 +400,7 @@ export declare const updateParkingBookingBodySchema: z.ZodObject<{
|
|
|
400
400
|
export declare const updateParkingBookingDataSchema: z.ZodObject<{
|
|
401
401
|
booking_id: z.ZodNumber;
|
|
402
402
|
qr_token: z.ZodString;
|
|
403
|
-
company: z.
|
|
403
|
+
company: z.ZodObject<{
|
|
404
404
|
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
405
405
|
stand_number: z.ZodOptional<z.ZodString>;
|
|
406
406
|
company_name: z.ZodString;
|
|
@@ -412,13 +412,13 @@ export declare const updateParkingBookingDataSchema: z.ZodObject<{
|
|
|
412
412
|
driver_name: z.ZodString;
|
|
413
413
|
driver_phone: z.ZodString;
|
|
414
414
|
transport_company: z.ZodOptional<z.ZodString>;
|
|
415
|
-
}, z.core.$strip
|
|
416
|
-
vehicle: z.
|
|
415
|
+
}, z.core.$strip>;
|
|
416
|
+
vehicle: z.ZodObject<{
|
|
417
417
|
vehicle_type: z.ZodEnum<typeof import("./index.js").VehicleType>;
|
|
418
418
|
unloading_method: z.ZodOptional<z.ZodEnum<typeof UnloadingType>>;
|
|
419
419
|
license_plate: z.ZodString;
|
|
420
420
|
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
421
|
-
}, z.core.$strip
|
|
421
|
+
}, z.core.$strip>;
|
|
422
422
|
updated_at: z.ZodString;
|
|
423
423
|
updated_by: z.ZodNullable<z.ZodString>;
|
|
424
424
|
}, z.core.$strip>;
|
|
@@ -428,7 +428,7 @@ export declare const updateParkingBookingResponseSchema: z.ZodObject<{
|
|
|
428
428
|
data: z.ZodObject<{
|
|
429
429
|
booking_id: z.ZodNumber;
|
|
430
430
|
qr_token: z.ZodString;
|
|
431
|
-
company: z.
|
|
431
|
+
company: z.ZodObject<{
|
|
432
432
|
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
433
433
|
stand_number: z.ZodOptional<z.ZodString>;
|
|
434
434
|
company_name: z.ZodString;
|
|
@@ -440,13 +440,13 @@ export declare const updateParkingBookingResponseSchema: z.ZodObject<{
|
|
|
440
440
|
driver_name: z.ZodString;
|
|
441
441
|
driver_phone: z.ZodString;
|
|
442
442
|
transport_company: z.ZodOptional<z.ZodString>;
|
|
443
|
-
}, z.core.$strip
|
|
444
|
-
vehicle: z.
|
|
443
|
+
}, z.core.$strip>;
|
|
444
|
+
vehicle: z.ZodObject<{
|
|
445
445
|
vehicle_type: z.ZodEnum<typeof import("./index.js").VehicleType>;
|
|
446
446
|
unloading_method: z.ZodOptional<z.ZodEnum<typeof UnloadingType>>;
|
|
447
447
|
license_plate: z.ZodString;
|
|
448
448
|
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
449
|
-
}, z.core.$strip
|
|
449
|
+
}, z.core.$strip>;
|
|
450
450
|
updated_at: z.ZodString;
|
|
451
451
|
updated_by: z.ZodNullable<z.ZodString>;
|
|
452
452
|
}, z.core.$strip>;
|
|
@@ -457,7 +457,6 @@ export declare const confirmBookingParamsSchema: z.ZodObject<{
|
|
|
457
457
|
export declare const confirmBookingDataSchema: z.ZodObject<{
|
|
458
458
|
id: z.ZodNumber;
|
|
459
459
|
status: z.ZodString;
|
|
460
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
461
460
|
updated_at: z.ZodString;
|
|
462
461
|
updated_by: z.ZodString;
|
|
463
462
|
}, z.core.$strip>;
|
|
@@ -467,7 +466,6 @@ export declare const confirmBookingResponseSchema: z.ZodObject<{
|
|
|
467
466
|
data: z.ZodObject<{
|
|
468
467
|
id: z.ZodNumber;
|
|
469
468
|
status: z.ZodString;
|
|
470
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
471
469
|
updated_at: z.ZodString;
|
|
472
470
|
updated_by: z.ZodString;
|
|
473
471
|
}, z.core.$strip>;
|
|
@@ -478,7 +476,6 @@ export declare const refuseBookingParamsSchema: z.ZodObject<{
|
|
|
478
476
|
export declare const refuseBookingDataSchema: z.ZodObject<{
|
|
479
477
|
id: z.ZodNumber;
|
|
480
478
|
status: z.ZodString;
|
|
481
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
482
479
|
updated_at: z.ZodString;
|
|
483
480
|
updated_by: z.ZodString;
|
|
484
481
|
}, z.core.$strip>;
|
|
@@ -488,7 +485,6 @@ export declare const refuseBookingResponseSchema: z.ZodObject<{
|
|
|
488
485
|
data: z.ZodObject<{
|
|
489
486
|
id: z.ZodNumber;
|
|
490
487
|
status: z.ZodString;
|
|
491
|
-
parking_area_schedule_id: z.ZodNumber;
|
|
492
488
|
updated_at: z.ZodString;
|
|
493
489
|
updated_by: z.ZodString;
|
|
494
490
|
}, z.core.$strip>;
|
|
@@ -778,3 +774,4 @@ export type UpdateBookingTimeParams = z.infer<typeof updateBookingTimeParamsSche
|
|
|
778
774
|
export type UpdateBookingTimeBody = z.infer<typeof updateBookingTimeBodySchema>;
|
|
779
775
|
export type UpdateBookingTimeData = z.infer<typeof updateBookingTimeDataSchema>;
|
|
780
776
|
export type UpdateBookingTimeResponse = z.infer<typeof updateBookingTimeResponseSchema>;
|
|
777
|
+
export type UpdateParkingBookingResponse = z.infer<typeof updateParkingBookingResponseSchema>;
|
package/dist/parkingBooking.js
CHANGED
|
@@ -402,10 +402,10 @@ export const updateParkingBookingDataSchema = z
|
|
|
402
402
|
description: 'New regenerated QR token',
|
|
403
403
|
example: 'ACCESS_1a2b3c4d5e6f7g8h_eyJib29raW5nSWQiOjF9'
|
|
404
404
|
}),
|
|
405
|
-
company: companyDetailsSchema.
|
|
405
|
+
company: companyDetailsSchema.openapi({
|
|
406
406
|
description: 'Updated company details'
|
|
407
407
|
}),
|
|
408
|
-
vehicle: vehicleDetailsSchema.
|
|
408
|
+
vehicle: vehicleDetailsSchema.openapi({
|
|
409
409
|
description: 'Updated vehicle details'
|
|
410
410
|
}),
|
|
411
411
|
updated_at: z.string().openapi({
|
|
@@ -442,7 +442,6 @@ export const confirmBookingDataSchema = z
|
|
|
442
442
|
.object({
|
|
443
443
|
id: z.number(),
|
|
444
444
|
status: z.string(),
|
|
445
|
-
parking_area_schedule_id: z.number(),
|
|
446
445
|
updated_at: z.string(),
|
|
447
446
|
updated_by: z.string()
|
|
448
447
|
})
|
|
@@ -471,7 +470,6 @@ export const refuseBookingDataSchema = z
|
|
|
471
470
|
.object({
|
|
472
471
|
id: z.number(),
|
|
473
472
|
status: z.string(),
|
|
474
|
-
parking_area_schedule_id: z.number(),
|
|
475
473
|
updated_at: z.string(),
|
|
476
474
|
updated_by: z.string()
|
|
477
475
|
})
|