@venulog/phasing-engine-schemas 0.13.0-alpha.6 → 0.13.0-alpha.7

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.
@@ -115,6 +115,9 @@ export declare const parkingBookingSchema: z.ZodObject<{
115
115
  parking_schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
116
116
  time_zone: z.ZodString;
117
117
  is_custom_slot: z.ZodBoolean;
118
+ is_fast_track_access: z.ZodBoolean;
119
+ license_plate_image_url: z.ZodNullable<z.ZodString>;
120
+ applicant_badge_image_url: z.ZodNullable<z.ZodString>;
118
121
  }, z.core.$strip>;
119
122
  export declare const eventBookingsDataSchema: z.ZodObject<{
120
123
  event_id: z.ZodNumber;
@@ -158,6 +161,9 @@ export declare const eventBookingsDataSchema: z.ZodObject<{
158
161
  parking_schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
159
162
  time_zone: z.ZodString;
160
163
  is_custom_slot: z.ZodBoolean;
164
+ is_fast_track_access: z.ZodBoolean;
165
+ license_plate_image_url: z.ZodNullable<z.ZodString>;
166
+ applicant_badge_image_url: z.ZodNullable<z.ZodString>;
161
167
  }, z.core.$strip>>;
162
168
  total_count: z.ZodNumber;
163
169
  }, z.core.$strip>;
@@ -205,6 +211,9 @@ export declare const eventBookingsResponseSchema: z.ZodObject<{
205
211
  parking_schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
206
212
  time_zone: z.ZodString;
207
213
  is_custom_slot: z.ZodBoolean;
214
+ is_fast_track_access: z.ZodBoolean;
215
+ license_plate_image_url: z.ZodNullable<z.ZodString>;
216
+ applicant_badge_image_url: z.ZodNullable<z.ZodString>;
208
217
  }, z.core.$strip>>;
209
218
  total_count: z.ZodNumber;
210
219
  }, z.core.$strip>;
@@ -966,8 +975,8 @@ export declare const updateBookingTimeResponseSchema: z.ZodObject<{
966
975
  export declare const createFastTrackBookingBodySchema: z.ZodObject<{
967
976
  phone_number: z.ZodString;
968
977
  event_id: z.ZodNumber;
969
- license_plate_image_url: z.ZodOptional<z.ZodURL>;
970
- applicant_badge_image_url: z.ZodOptional<z.ZodURL>;
978
+ license_plate_image_url: z.ZodURL;
979
+ applicant_badge_image_url: z.ZodURL;
971
980
  }, z.core.$strip>;
972
981
  export declare const createFastTrackBookingDataSchema: z.ZodObject<{
973
982
  id: z.ZodNumber;
@@ -184,7 +184,10 @@ export const parkingBookingSchema = z.object({
184
184
  door: z.string(),
185
185
  parking_schedule_type: z.enum(ParkingAreaScheduleType),
186
186
  time_zone: z.string(),
187
- is_custom_slot: z.boolean()
187
+ is_custom_slot: z.boolean(),
188
+ is_fast_track_access: z.boolean(),
189
+ license_plate_image_url: z.string().nullable(),
190
+ applicant_badge_image_url: z.string().nullable()
188
191
  });
189
192
  export const eventBookingsDataSchema = z
190
193
  .object({
@@ -990,11 +993,11 @@ export const createFastTrackBookingBodySchema = z
990
993
  description: 'ID of the event for the fast-track booking',
991
994
  example: 1
992
995
  }),
993
- license_plate_image_url: z.url().optional().openapi({
996
+ license_plate_image_url: z.url().openapi({
994
997
  description: 'URL of the license plate image (optional)',
995
998
  example: 'https://example.com/plates/abc123.jpg'
996
999
  }),
997
- applicant_badge_image_url: z.url().optional().openapi({
1000
+ applicant_badge_image_url: z.url().openapi({
998
1001
  description: 'URL of the applicant badge image (optional)',
999
1002
  example: 'https://example.com/badges/applicant456.jpg'
1000
1003
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venulog/phasing-engine-schemas",
3
- "version": "0.13.0-alpha.6",
3
+ "version": "0.13.0-alpha.7",
4
4
  "description": "Shared schemas and types for Phasing Engine API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",