@venulog/phasing-engine-schemas 0.13.3 → 0.13.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
CHANGED
|
@@ -978,6 +978,7 @@ export declare const createFastTrackBookingBodySchema: z.ZodObject<{
|
|
|
978
978
|
event_id: z.ZodNumber;
|
|
979
979
|
license_plate_image_url: z.ZodURL;
|
|
980
980
|
applicant_badge_image_url: z.ZodURL;
|
|
981
|
+
category: z.ZodString;
|
|
981
982
|
}, z.core.$strip>;
|
|
982
983
|
export declare const createFastTrackBookingDataSchema: z.ZodObject<{
|
|
983
984
|
id: z.ZodNumber;
|
|
@@ -1007,6 +1008,7 @@ export declare const createFastTrackBookingDataSchema: z.ZodObject<{
|
|
|
1007
1008
|
created_by: z.ZodNullable<z.ZodString>;
|
|
1008
1009
|
parking_schedule_type: z.ZodNullable<z.ZodEnum<typeof ParkingAreaScheduleType>>;
|
|
1009
1010
|
door: z.ZodString;
|
|
1011
|
+
category: z.ZodString;
|
|
1010
1012
|
}, z.core.$strip>;
|
|
1011
1013
|
export declare const createFastTrackBookingResponseSchema: z.ZodObject<{
|
|
1012
1014
|
success: z.ZodBoolean;
|
|
@@ -1039,6 +1041,7 @@ export declare const createFastTrackBookingResponseSchema: z.ZodObject<{
|
|
|
1039
1041
|
created_by: z.ZodNullable<z.ZodString>;
|
|
1040
1042
|
parking_schedule_type: z.ZodNullable<z.ZodEnum<typeof ParkingAreaScheduleType>>;
|
|
1041
1043
|
door: z.ZodString;
|
|
1044
|
+
category: z.ZodString;
|
|
1042
1045
|
}, z.core.$strip>;
|
|
1043
1046
|
}, z.core.$strip>;
|
|
1044
1047
|
export type Geometry = z.infer<typeof geometrySchema>;
|
package/dist/parkingBooking.js
CHANGED
|
@@ -1002,6 +1002,10 @@ export const createFastTrackBookingBodySchema = z
|
|
|
1002
1002
|
applicant_badge_image_url: z.url().openapi({
|
|
1003
1003
|
description: 'URL of the applicant badge image (optional)',
|
|
1004
1004
|
example: 'https://example.com/badges/applicant456.jpg'
|
|
1005
|
+
}),
|
|
1006
|
+
category: z.string().min(1, 'Category is required').openapi({
|
|
1007
|
+
description: 'Category of the fast-track booking',
|
|
1008
|
+
example: 'PRESTATAIRES'
|
|
1005
1009
|
})
|
|
1006
1010
|
})
|
|
1007
1011
|
.openapi('CreateFastTrackBookingBody');
|
|
@@ -1021,7 +1025,8 @@ export const createFastTrackBookingDataSchema = z
|
|
|
1021
1025
|
created_at: z.string(),
|
|
1022
1026
|
created_by: z.string().nullable(),
|
|
1023
1027
|
parking_schedule_type: z.enum(ParkingAreaScheduleType).nullable(),
|
|
1024
|
-
door: z.string()
|
|
1028
|
+
door: z.string(),
|
|
1029
|
+
category: z.string()
|
|
1025
1030
|
})
|
|
1026
1031
|
.openapi('CreateFastTrackBookingData');
|
|
1027
1032
|
export const createFastTrackBookingResponseSchema = createMessageDataResponseSchema(createFastTrackBookingDataSchema, 'CreateFastTrackBookingResponse', 'Fast-track parking booking created successfully', 'Details of the created fast-track booking');
|