@venulog/phasing-engine-schemas 0.12.0-alpha.2 → 0.12.0-alpha.4
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 +10 -8
- package/dist/parkingBooking.js +4 -3
- 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,15 +412,16 @@ 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
|
+
status: z.ZodString;
|
|
424
425
|
}, z.core.$strip>;
|
|
425
426
|
export declare const updateParkingBookingResponseSchema: z.ZodObject<{
|
|
426
427
|
success: z.ZodBoolean;
|
|
@@ -428,7 +429,7 @@ export declare const updateParkingBookingResponseSchema: z.ZodObject<{
|
|
|
428
429
|
data: z.ZodObject<{
|
|
429
430
|
booking_id: z.ZodNumber;
|
|
430
431
|
qr_token: z.ZodString;
|
|
431
|
-
company: z.
|
|
432
|
+
company: z.ZodObject<{
|
|
432
433
|
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
433
434
|
stand_number: z.ZodOptional<z.ZodString>;
|
|
434
435
|
company_name: z.ZodString;
|
|
@@ -440,15 +441,16 @@ export declare const updateParkingBookingResponseSchema: z.ZodObject<{
|
|
|
440
441
|
driver_name: z.ZodString;
|
|
441
442
|
driver_phone: z.ZodString;
|
|
442
443
|
transport_company: z.ZodOptional<z.ZodString>;
|
|
443
|
-
}, z.core.$strip
|
|
444
|
-
vehicle: z.
|
|
444
|
+
}, z.core.$strip>;
|
|
445
|
+
vehicle: z.ZodObject<{
|
|
445
446
|
vehicle_type: z.ZodEnum<typeof import("./index.js").VehicleType>;
|
|
446
447
|
unloading_method: z.ZodOptional<z.ZodEnum<typeof UnloadingType>>;
|
|
447
448
|
license_plate: z.ZodString;
|
|
448
449
|
trailer_registration: z.ZodOptional<z.ZodString>;
|
|
449
|
-
}, z.core.$strip
|
|
450
|
+
}, z.core.$strip>;
|
|
450
451
|
updated_at: z.ZodString;
|
|
451
452
|
updated_by: z.ZodNullable<z.ZodString>;
|
|
453
|
+
status: z.ZodString;
|
|
452
454
|
}, z.core.$strip>;
|
|
453
455
|
}, z.core.$strip>;
|
|
454
456
|
export declare const confirmBookingParamsSchema: z.ZodObject<{
|
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({
|
|
@@ -415,7 +415,8 @@ export const updateParkingBookingDataSchema = z
|
|
|
415
415
|
updated_by: z.string().nullable().openapi({
|
|
416
416
|
description: 'ID of the user who updated the booking',
|
|
417
417
|
example: 'user-123'
|
|
418
|
-
})
|
|
418
|
+
}),
|
|
419
|
+
status: z.string()
|
|
419
420
|
})
|
|
420
421
|
.openapi('UpdateParkingBookingData');
|
|
421
422
|
export const updateParkingBookingResponseSchema = createMessageDataResponseSchema(updateParkingBookingDataSchema, 'UpdateParkingBookingResponse', 'Parking booking updated successfully', 'Details of the updated booking');
|