@venulog/phasing-engine-schemas 0.9.0 → 0.9.1

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/event.d.ts CHANGED
@@ -13,6 +13,8 @@ export declare const eventInfoResponseSchema: z.ZodObject<{
13
13
  event_id: z.ZodNumber;
14
14
  event_code: z.ZodString;
15
15
  event_name: z.ZodString;
16
+ event_start_date: z.ZodString;
17
+ event_end_date: z.ZodString;
16
18
  venue_name: z.ZodString;
17
19
  available_periods: z.ZodArray<z.ZodObject<{
18
20
  month: z.ZodNumber;
package/dist/event.js CHANGED
@@ -32,6 +32,14 @@ export const eventInfoResponseSchema = z
32
32
  .string()
33
33
  .describe('The name of the event')
34
34
  .openapi({ example: 'Convention of Events and Conferences 2025' }),
35
+ event_start_date: z
36
+ .string()
37
+ .describe('The start date of the event')
38
+ .openapi({ example: '2025-07-01' }),
39
+ event_end_date: z
40
+ .string()
41
+ .describe('The end date of the event')
42
+ .openapi({ example: '2025-07-06' }),
35
43
  venue_name: z
36
44
  .string()
37
45
  .describe('The name of the venue where the event takes place')
@@ -493,6 +493,8 @@ export declare const parkingBookingWithRelationsSchema: z.ZodObject<{
493
493
  id: z.ZodNumber;
494
494
  name: z.ZodString;
495
495
  code: z.ZodString;
496
+ start_date: z.ZodString;
497
+ end_date: z.ZodString;
496
498
  venue_id: z.ZodNullable<z.ZodNumber>;
497
499
  banner: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
498
500
  latitude: z.ZodNullable<z.ZodNumber>;
@@ -546,6 +548,8 @@ export declare const parkingBookingDetailsDataSchema: z.ZodObject<{
546
548
  event_code: z.ZodString;
547
549
  event_gps_latitude: z.ZodNullable<z.ZodNumber>;
548
550
  event_gps_longitude: z.ZodNullable<z.ZodNumber>;
551
+ event_start_date: z.ZodString;
552
+ event_end_date: z.ZodString;
549
553
  venue_id: z.ZodNullable<z.ZodNumber>;
550
554
  venue_name: z.ZodNullable<z.ZodString>;
551
555
  venue_address: z.ZodNullable<z.ZodString>;
@@ -603,6 +607,8 @@ export declare const getParkingBookingDetailsResponseSchema: z.ZodObject<{
603
607
  event_code: z.ZodString;
604
608
  event_gps_latitude: z.ZodNullable<z.ZodNumber>;
605
609
  event_gps_longitude: z.ZodNullable<z.ZodNumber>;
610
+ event_start_date: z.ZodString;
611
+ event_end_date: z.ZodString;
606
612
  venue_id: z.ZodNullable<z.ZodNumber>;
607
613
  venue_name: z.ZodNullable<z.ZodString>;
608
614
  venue_address: z.ZodNullable<z.ZodString>;
@@ -465,6 +465,8 @@ export const parkingBookingWithRelationsSchema = z
465
465
  id: z.number(),
466
466
  name: z.string(),
467
467
  code: z.string(),
468
+ start_date: z.string(),
469
+ end_date: z.string(),
468
470
  venue_id: z.number().nullable(),
469
471
  banner: z.record(z.string(), z.unknown()).nullable(),
470
472
  latitude: z.number().nullable(),
@@ -555,6 +557,14 @@ export const parkingBookingDetailsDataSchema = z
555
557
  description: 'GPS longitude of the event',
556
558
  example: 2.123123
557
559
  }),
560
+ event_start_date: z
561
+ .string()
562
+ .describe('The start date of the event')
563
+ .openapi({ example: '2025-07-01' }),
564
+ event_end_date: z
565
+ .string()
566
+ .describe('The end date of the event')
567
+ .openapi({ example: '2025-07-06' }),
558
568
  venue_id: z.number().nullable().openapi({
559
569
  description: 'ID of the venue',
560
570
  example: 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venulog/phasing-engine-schemas",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Shared schemas and types for Phasing Engine API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",