@venulog/phasing-engine-schemas 0.10.0-alpha.0 → 0.10.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/parkingArea.js
CHANGED
|
@@ -880,7 +880,7 @@ export const getAvailableSlotsBodyV2Schema = z
|
|
|
880
880
|
pm_token: z.string().optional().openapi({
|
|
881
881
|
description: 'Optional Planning Manager token for authentication',
|
|
882
882
|
example: 'pm_abcdef123456'
|
|
883
|
-
})
|
|
883
|
+
})
|
|
884
884
|
})
|
|
885
885
|
.openapi('GetAvailableSlotsBodyV2');
|
|
886
886
|
export const availableTimeSlotV2Schema = z
|
package/dist/parkingBooking.d.ts
CHANGED
|
@@ -288,6 +288,7 @@ export declare const createParkingBookingBodySchema: z.ZodObject<{
|
|
|
288
288
|
event_id: z.ZodNumber;
|
|
289
289
|
slot_key: z.ZodString;
|
|
290
290
|
parking_schedule_type: z.ZodEnum<typeof ParkingAreaScheduleType>;
|
|
291
|
+
pm_token: z.ZodOptional<z.ZodString>;
|
|
291
292
|
}, z.core.$strip>;
|
|
292
293
|
export declare const createParkingBookingDataSchema: z.ZodObject<{
|
|
293
294
|
id: z.ZodNumber;
|
|
@@ -494,8 +495,8 @@ export declare const parkingBookingWithRelationsSchema: z.ZodObject<{
|
|
|
494
495
|
id: z.ZodNumber;
|
|
495
496
|
name: z.ZodString;
|
|
496
497
|
code: z.ZodString;
|
|
497
|
-
start_date: z.ZodString
|
|
498
|
-
end_date: z.ZodString
|
|
498
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
499
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
499
500
|
venue_id: z.ZodNullable<z.ZodNumber>;
|
|
500
501
|
banner: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
501
502
|
latitude: z.ZodNullable<z.ZodNumber>;
|
package/dist/parkingBooking.js
CHANGED
|
@@ -312,6 +312,10 @@ 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
|
+
}),
|
|
316
|
+
pm_token: z.string().optional().openapi({
|
|
317
|
+
description: 'Planning management token for additional validation',
|
|
318
|
+
example: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...'
|
|
315
319
|
})
|
|
316
320
|
})
|
|
317
321
|
.openapi('CreateParkingBookingBody');
|
|
@@ -465,8 +469,8 @@ export const parkingBookingWithRelationsSchema = z
|
|
|
465
469
|
id: z.number(),
|
|
466
470
|
name: z.string(),
|
|
467
471
|
code: z.string(),
|
|
468
|
-
start_date: z.string(),
|
|
469
|
-
end_date: z.string(),
|
|
472
|
+
start_date: z.string().optional(),
|
|
473
|
+
end_date: z.string().optional(),
|
|
470
474
|
venue_id: z.number().nullable(),
|
|
471
475
|
banner: z.record(z.string(), z.unknown()).nullable(),
|
|
472
476
|
latitude: z.number().nullable(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@venulog/phasing-engine-schemas",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.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": "
|
|
72
|
+
"clean": "rm -rf dist",
|
|
73
73
|
"prepublishOnly": "npm run build"
|
|
74
74
|
},
|
|
75
75
|
"keywords": [
|