@venulog/phasing-engine-schemas 0.9.1 → 0.10.0-alpha.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.
@@ -637,6 +637,7 @@ export declare const getAvailableSlotsBodyV2Schema: z.ZodObject<{
637
637
  company_name: z.ZodString;
638
638
  vehicle_type: z.ZodEnum<typeof VehicleType>;
639
639
  schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
640
+ pm_token: z.ZodOptional<z.ZodString>;
640
641
  }, z.core.$strip>;
641
642
  export declare const availableTimeSlotV2Schema: z.ZodObject<{
642
643
  date: z.ZodString;
@@ -876,7 +876,11 @@ export const getAvailableSlotsBodyV2Schema = z
876
876
  schedule_type: z.enum(ParkingAreaScheduleType).openapi({
877
877
  description: 'Filter by schedule type',
878
878
  example: 'assembly'
879
- })
879
+ }),
880
+ pm_token: z.string().optional().openapi({
881
+ description: 'Optional Planning Manager token for authentication',
882
+ example: 'pm_abcdef123456'
883
+ }),
880
884
  })
881
885
  .openapi('GetAvailableSlotsBodyV2');
882
886
  export const availableTimeSlotV2Schema = z
@@ -239,6 +239,7 @@ export declare const checkSlotAvailabilityBodySchema: z.ZodObject<{
239
239
  company_name: z.ZodString;
240
240
  vehicle_type: z.ZodEnum<typeof import("./index.js").VehicleType>;
241
241
  schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
242
+ pm_token: z.ZodOptional<z.ZodString>;
242
243
  }, z.core.$strip>;
243
244
  export declare const checkSlotAvailabilityResponseSchema: z.ZodObject<{
244
245
  success: z.ZodBoolean;
@@ -287,6 +288,7 @@ export declare const createParkingBookingBodySchema: z.ZodObject<{
287
288
  event_id: z.ZodNumber;
288
289
  slot_key: z.ZodString;
289
290
  parking_schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
291
+ pm_token: z.ZodOptional<z.ZodString>;
290
292
  }, z.core.$strip>;
291
293
  export declare const createParkingBookingDataSchema: z.ZodObject<{
292
294
  id: z.ZodNumber;
@@ -312,7 +312,11 @@ export const createParkingBookingBodySchema = z
312
312
  parking_schedule_type: z.enum(ParkingAreaScheduleType).openapi({
313
313
  description: 'Type of parking area schedule',
314
314
  example: 'assembly'
315
- })
315
+ }),
316
+ pm_token: z.string().optional().openapi({
317
+ description: 'Planning management token for additional validation',
318
+ example: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...'
319
+ }),
316
320
  })
317
321
  .openapi('CreateParkingBookingBody');
318
322
  // Response schema
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venulog/phasing-engine-schemas",
3
- "version": "0.9.1",
3
+ "version": "0.10.0-alpha.1",
4
4
  "description": "Shared schemas and types for Phasing Engine API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -69,7 +69,7 @@
69
69
  "scripts": {
70
70
  "build": "npm run clean && tsc",
71
71
  "dev": "tsc --watch",
72
- "clean": "rm -rf dist",
72
+ "clean": "rimraf dist",
73
73
  "prepublishOnly": "npm run build"
74
74
  },
75
75
  "keywords": [