@venulog/phasing-engine-schemas 0.12.0-alpha.2 → 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.
@@ -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.ZodNullable<z.ZodObject<{
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.ZodNullable<z.ZodObject<{
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.ZodNullable<z.ZodObject<{
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.ZodNullable<z.ZodObject<{
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>;
@@ -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.nullable().openapi({
405
+ company: companyDetailsSchema.openapi({
406
406
  description: 'Updated company details'
407
407
  }),
408
- vehicle: vehicleDetailsSchema.nullable().openapi({
408
+ vehicle: vehicleDetailsSchema.openapi({
409
409
  description: 'Updated vehicle details'
410
410
  }),
411
411
  updated_at: z.string().openapi({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venulog/phasing-engine-schemas",
3
- "version": "0.12.0-alpha.2",
3
+ "version": "0.12.0-alpha.3",
4
4
  "description": "Shared schemas and types for Phasing Engine API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",