@venulog/phasing-engine-schemas 0.8.1 → 0.8.2

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.
@@ -495,9 +495,12 @@ export declare const parkingBookingWithRelationsSchema: z.ZodObject<{
495
495
  code: z.ZodString;
496
496
  venue_id: z.ZodNullable<z.ZodNumber>;
497
497
  banner: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
498
+ latitude: z.ZodNullable<z.ZodString>;
499
+ longitude: z.ZodNullable<z.ZodString>;
498
500
  venues: z.ZodNullable<z.ZodObject<{
499
501
  id: z.ZodNumber;
500
502
  name: z.ZodString;
503
+ address: z.ZodString;
501
504
  }, z.core.$strip>>;
502
505
  }, z.core.$strip>;
503
506
  parking_spot: z.ZodString;
@@ -541,8 +544,11 @@ export declare const parkingBookingDetailsDataSchema: z.ZodObject<{
541
544
  event_id: z.ZodNumber;
542
545
  event_name: z.ZodString;
543
546
  event_code: z.ZodString;
547
+ event_gps_latitude: z.ZodString;
548
+ event_gps_longitude: z.ZodString;
544
549
  venue_id: z.ZodNullable<z.ZodNumber>;
545
550
  venue_name: z.ZodNullable<z.ZodString>;
551
+ venue_address: z.ZodNullable<z.ZodString>;
546
552
  request_type: z.ZodString;
547
553
  duration: z.ZodNumber;
548
554
  banner: z.ZodNullable<z.ZodObject<{
@@ -595,8 +601,11 @@ export declare const getParkingBookingDetailsResponseSchema: z.ZodObject<{
595
601
  event_id: z.ZodNumber;
596
602
  event_name: z.ZodString;
597
603
  event_code: z.ZodString;
604
+ event_gps_latitude: z.ZodString;
605
+ event_gps_longitude: z.ZodString;
598
606
  venue_id: z.ZodNullable<z.ZodNumber>;
599
607
  venue_name: z.ZodNullable<z.ZodString>;
608
+ venue_address: z.ZodNullable<z.ZodString>;
600
609
  request_type: z.ZodString;
601
610
  duration: z.ZodNumber;
602
611
  banner: z.ZodNullable<z.ZodObject<{
@@ -465,10 +465,13 @@ export const parkingBookingWithRelationsSchema = z
465
465
  code: z.string(),
466
466
  venue_id: z.number().nullable(),
467
467
  banner: z.record(z.string(), z.unknown()).nullable(),
468
+ latitude: z.string().nullable(),
469
+ longitude: z.string().nullable(),
468
470
  venues: z
469
471
  .object({
470
472
  id: z.number(),
471
- name: z.string()
473
+ name: z.string(),
474
+ address: z.string()
472
475
  })
473
476
  .nullable()
474
477
  }),
@@ -542,6 +545,14 @@ export const parkingBookingDetailsDataSchema = z
542
545
  description: 'Code of the event',
543
546
  example: 'PFW2025'
544
547
  }),
548
+ event_gps_latitude: z.string().openapi({
549
+ description: 'GPS latitude of the event',
550
+ example: '48.123123'
551
+ }),
552
+ event_gps_longitude: z.string().openapi({
553
+ description: 'GPS longitude of the event',
554
+ example: '2.123123'
555
+ }),
545
556
  venue_id: z.number().nullable().openapi({
546
557
  description: 'ID of the venue',
547
558
  example: 1
@@ -550,6 +561,10 @@ export const parkingBookingDetailsDataSchema = z
550
561
  description: 'Name of the venue',
551
562
  example: 'Paris Expo Porte de Versailles'
552
563
  }),
564
+ venue_address: z.string().nullable().openapi({
565
+ description: 'Address of the venue',
566
+ example: '1 Pl. de la Prte de Versailles, 75015 Paris, France'
567
+ }),
553
568
  request_type: z.string().openapi({
554
569
  description: 'Type of parking area schedule (assembly/dismantling)',
555
570
  example: 'assembly'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venulog/phasing-engine-schemas",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Shared schemas and types for Phasing Engine API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",