@venulog/phasing-engine-schemas 0.9.1 → 0.10.0-alpha.0
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/parkingArea.d.ts +1 -0
- package/dist/parkingArea.js +5 -1
- package/dist/parkingBooking.d.ts +1 -0
- package/package.json +2 -2
package/dist/parkingArea.d.ts
CHANGED
|
@@ -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;
|
package/dist/parkingArea.js
CHANGED
|
@@ -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
|
package/dist/parkingBooking.d.ts
CHANGED
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@venulog/phasing-engine-schemas",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0-alpha.0",
|
|
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": "
|
|
72
|
+
"clean": "rimraf dist",
|
|
73
73
|
"prepublishOnly": "npm run build"
|
|
74
74
|
},
|
|
75
75
|
"keywords": [
|