@venulog/phasing-engine-schemas 0.13.3-alpha.0 → 0.13.3-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.
- package/dist/parkingBooking.d.ts +3 -1
- package/dist/parkingBooking.js +6 -2
- package/package.json +103 -103
package/dist/parkingBooking.d.ts
CHANGED
|
@@ -551,7 +551,6 @@ export declare const parkingBookingWithRelationsSchema: z.ZodObject<{
|
|
|
551
551
|
}, z.core.$strip>>;
|
|
552
552
|
}, z.core.$strip>;
|
|
553
553
|
parking_spot: z.ZodString;
|
|
554
|
-
door: z.ZodString;
|
|
555
554
|
parking_schedule_type: z.ZodNullable<z.ZodEnum<typeof ParkingAreaScheduleType>>;
|
|
556
555
|
slot_key: z.ZodNullable<z.ZodString>;
|
|
557
556
|
entry_scanned_at: z.ZodNullable<z.ZodString>;
|
|
@@ -978,6 +977,7 @@ export declare const createFastTrackBookingBodySchema: z.ZodObject<{
|
|
|
978
977
|
event_id: z.ZodNumber;
|
|
979
978
|
license_plate_image_url: z.ZodURL;
|
|
980
979
|
applicant_badge_image_url: z.ZodURL;
|
|
980
|
+
category: z.ZodString;
|
|
981
981
|
}, z.core.$strip>;
|
|
982
982
|
export declare const createFastTrackBookingDataSchema: z.ZodObject<{
|
|
983
983
|
id: z.ZodNumber;
|
|
@@ -1007,6 +1007,7 @@ export declare const createFastTrackBookingDataSchema: z.ZodObject<{
|
|
|
1007
1007
|
created_by: z.ZodNullable<z.ZodString>;
|
|
1008
1008
|
parking_schedule_type: z.ZodNullable<z.ZodEnum<typeof ParkingAreaScheduleType>>;
|
|
1009
1009
|
door: z.ZodString;
|
|
1010
|
+
category: z.ZodString;
|
|
1010
1011
|
}, z.core.$strip>;
|
|
1011
1012
|
export declare const createFastTrackBookingResponseSchema: z.ZodObject<{
|
|
1012
1013
|
success: z.ZodBoolean;
|
|
@@ -1039,6 +1040,7 @@ export declare const createFastTrackBookingResponseSchema: z.ZodObject<{
|
|
|
1039
1040
|
created_by: z.ZodNullable<z.ZodString>;
|
|
1040
1041
|
parking_schedule_type: z.ZodNullable<z.ZodEnum<typeof ParkingAreaScheduleType>>;
|
|
1041
1042
|
door: z.ZodString;
|
|
1043
|
+
category: z.ZodString;
|
|
1042
1044
|
}, z.core.$strip>;
|
|
1043
1045
|
}, z.core.$strip>;
|
|
1044
1046
|
export type Geometry = z.infer<typeof geometrySchema>;
|
package/dist/parkingBooking.js
CHANGED
|
@@ -528,7 +528,6 @@ export const parkingBookingWithRelationsSchema = z
|
|
|
528
528
|
.nullable()
|
|
529
529
|
}),
|
|
530
530
|
parking_spot: z.string(),
|
|
531
|
-
door: z.string(),
|
|
532
531
|
parking_schedule_type: z.enum(ParkingAreaScheduleType).nullable(),
|
|
533
532
|
slot_key: z.string().nullable(),
|
|
534
533
|
entry_scanned_at: z.string().nullable(),
|
|
@@ -1001,6 +1000,10 @@ export const createFastTrackBookingBodySchema = z
|
|
|
1001
1000
|
applicant_badge_image_url: z.url().openapi({
|
|
1002
1001
|
description: 'URL of the applicant badge image (optional)',
|
|
1003
1002
|
example: 'https://example.com/badges/applicant456.jpg'
|
|
1003
|
+
}),
|
|
1004
|
+
category: z.string().min(1, 'Category is required').openapi({
|
|
1005
|
+
description: 'Category of the fast-track booking',
|
|
1006
|
+
example: 'PRESTATAIRES'
|
|
1004
1007
|
})
|
|
1005
1008
|
})
|
|
1006
1009
|
.openapi('CreateFastTrackBookingBody');
|
|
@@ -1020,7 +1023,8 @@ export const createFastTrackBookingDataSchema = z
|
|
|
1020
1023
|
created_at: z.string(),
|
|
1021
1024
|
created_by: z.string().nullable(),
|
|
1022
1025
|
parking_schedule_type: z.enum(ParkingAreaScheduleType).nullable(),
|
|
1023
|
-
door: z.string()
|
|
1026
|
+
door: z.string(),
|
|
1027
|
+
category: z.string()
|
|
1024
1028
|
})
|
|
1025
1029
|
.openapi('CreateFastTrackBookingData');
|
|
1026
1030
|
export const createFastTrackBookingResponseSchema = createMessageDataResponseSchema(createFastTrackBookingDataSchema, 'CreateFastTrackBookingResponse', 'Fast-track parking booking created successfully', 'Details of the created fast-track booking');
|
package/package.json
CHANGED
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@venulog/phasing-engine-schemas",
|
|
3
|
-
"version": "0.13.3-alpha.
|
|
4
|
-
"description": "Shared schemas and types for Phasing Engine API",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./auth": {
|
|
14
|
-
"types": "./dist/auth.d.ts",
|
|
15
|
-
"import": "./dist/auth.js"
|
|
16
|
-
},
|
|
17
|
-
"./common": {
|
|
18
|
-
"types": "./dist/common.d.ts",
|
|
19
|
-
"import": "./dist/common.js"
|
|
20
|
-
},
|
|
21
|
-
"./pagination": {
|
|
22
|
-
"types": "./dist/pagination.d.ts",
|
|
23
|
-
"import": "./dist/pagination.js"
|
|
24
|
-
},
|
|
25
|
-
"./parkingBooking": {
|
|
26
|
-
"types": "./dist/parkingBooking.d.ts",
|
|
27
|
-
"import": "./dist/parkingBooking.js"
|
|
28
|
-
},
|
|
29
|
-
"./event": {
|
|
30
|
-
"types": "./dist/event.d.ts",
|
|
31
|
-
"import": "./dist/event.js"
|
|
32
|
-
},
|
|
33
|
-
"./parkingArea": {
|
|
34
|
-
"types": "./dist/parkingArea.d.ts",
|
|
35
|
-
"import": "./dist/parkingArea.js"
|
|
36
|
-
},
|
|
37
|
-
"./parkingAreaLayer": {
|
|
38
|
-
"types": "./dist/parkingAreaLayer.d.ts",
|
|
39
|
-
"import": "./dist/parkingAreaLayer.js"
|
|
40
|
-
},
|
|
41
|
-
"./parkingAreaAccess": {
|
|
42
|
-
"types": "./dist/parkingAreaAccess.d.ts",
|
|
43
|
-
"import": "./dist/parkingAreaAccess.js"
|
|
44
|
-
},
|
|
45
|
-
"./enums": {
|
|
46
|
-
"types": "./dist/enums/index.d.ts",
|
|
47
|
-
"import": "./dist/enums/index.js"
|
|
48
|
-
},
|
|
49
|
-
"./accessToken": {
|
|
50
|
-
"types": "./dist/accessToken.d.ts",
|
|
51
|
-
"import": "./dist/accessToken.js"
|
|
52
|
-
},
|
|
53
|
-
"./vehiclePosition": {
|
|
54
|
-
"types": "./dist/vehiclePosition.d.ts",
|
|
55
|
-
"import": "./dist/vehiclePosition.js"
|
|
56
|
-
},
|
|
57
|
-
"./camera": {
|
|
58
|
-
"types": "./dist/camera.d.ts",
|
|
59
|
-
"import": "./dist/camera.js"
|
|
60
|
-
},
|
|
61
|
-
"./simulation": {
|
|
62
|
-
"types": "./dist/simulation.d.ts",
|
|
63
|
-
"import": "./dist/simulation.js"
|
|
64
|
-
},
|
|
65
|
-
"./exhibitor": {
|
|
66
|
-
"types": "./dist/exhibitor.d.ts",
|
|
67
|
-
"import": "./dist/exhibitor.js"
|
|
68
|
-
},
|
|
69
|
-
"./eventSitePlanCalibration": {
|
|
70
|
-
"types": "./dist/eventSitePlanCalibration.d.ts",
|
|
71
|
-
"import": "./dist/eventSitePlanCalibration.js"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"files": [
|
|
75
|
-
"dist"
|
|
76
|
-
],
|
|
77
|
-
"scripts": {
|
|
78
|
-
"build": "npm run clean && tsc",
|
|
79
|
-
"dev": "tsc --watch",
|
|
80
|
-
"clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
|
|
81
|
-
"prepublishOnly": "npm run build"
|
|
82
|
-
},
|
|
83
|
-
"keywords": [
|
|
84
|
-
"schemas",
|
|
85
|
-
"validation",
|
|
86
|
-
"types",
|
|
87
|
-
"zod",
|
|
88
|
-
"phasing-engine"
|
|
89
|
-
],
|
|
90
|
-
"license": "MIT",
|
|
91
|
-
"dependencies": {
|
|
92
|
-
"@asteasolutions/zod-to-openapi": "^8.1.0",
|
|
93
|
-
"zod": "^4.1.13"
|
|
94
|
-
},
|
|
95
|
-
"devDependencies": {
|
|
96
|
-
"typescript": "^5.6.3"
|
|
97
|
-
},
|
|
98
|
-
"repository": {
|
|
99
|
-
"type": "git",
|
|
100
|
-
"url": "git+https://github.com/manaty/phasing_engine.git",
|
|
101
|
-
"directory": "packages/phasing-schemas"
|
|
102
|
-
}
|
|
103
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@venulog/phasing-engine-schemas",
|
|
3
|
+
"version": "0.13.3-alpha.1",
|
|
4
|
+
"description": "Shared schemas and types for Phasing Engine API",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./auth": {
|
|
14
|
+
"types": "./dist/auth.d.ts",
|
|
15
|
+
"import": "./dist/auth.js"
|
|
16
|
+
},
|
|
17
|
+
"./common": {
|
|
18
|
+
"types": "./dist/common.d.ts",
|
|
19
|
+
"import": "./dist/common.js"
|
|
20
|
+
},
|
|
21
|
+
"./pagination": {
|
|
22
|
+
"types": "./dist/pagination.d.ts",
|
|
23
|
+
"import": "./dist/pagination.js"
|
|
24
|
+
},
|
|
25
|
+
"./parkingBooking": {
|
|
26
|
+
"types": "./dist/parkingBooking.d.ts",
|
|
27
|
+
"import": "./dist/parkingBooking.js"
|
|
28
|
+
},
|
|
29
|
+
"./event": {
|
|
30
|
+
"types": "./dist/event.d.ts",
|
|
31
|
+
"import": "./dist/event.js"
|
|
32
|
+
},
|
|
33
|
+
"./parkingArea": {
|
|
34
|
+
"types": "./dist/parkingArea.d.ts",
|
|
35
|
+
"import": "./dist/parkingArea.js"
|
|
36
|
+
},
|
|
37
|
+
"./parkingAreaLayer": {
|
|
38
|
+
"types": "./dist/parkingAreaLayer.d.ts",
|
|
39
|
+
"import": "./dist/parkingAreaLayer.js"
|
|
40
|
+
},
|
|
41
|
+
"./parkingAreaAccess": {
|
|
42
|
+
"types": "./dist/parkingAreaAccess.d.ts",
|
|
43
|
+
"import": "./dist/parkingAreaAccess.js"
|
|
44
|
+
},
|
|
45
|
+
"./enums": {
|
|
46
|
+
"types": "./dist/enums/index.d.ts",
|
|
47
|
+
"import": "./dist/enums/index.js"
|
|
48
|
+
},
|
|
49
|
+
"./accessToken": {
|
|
50
|
+
"types": "./dist/accessToken.d.ts",
|
|
51
|
+
"import": "./dist/accessToken.js"
|
|
52
|
+
},
|
|
53
|
+
"./vehiclePosition": {
|
|
54
|
+
"types": "./dist/vehiclePosition.d.ts",
|
|
55
|
+
"import": "./dist/vehiclePosition.js"
|
|
56
|
+
},
|
|
57
|
+
"./camera": {
|
|
58
|
+
"types": "./dist/camera.d.ts",
|
|
59
|
+
"import": "./dist/camera.js"
|
|
60
|
+
},
|
|
61
|
+
"./simulation": {
|
|
62
|
+
"types": "./dist/simulation.d.ts",
|
|
63
|
+
"import": "./dist/simulation.js"
|
|
64
|
+
},
|
|
65
|
+
"./exhibitor": {
|
|
66
|
+
"types": "./dist/exhibitor.d.ts",
|
|
67
|
+
"import": "./dist/exhibitor.js"
|
|
68
|
+
},
|
|
69
|
+
"./eventSitePlanCalibration": {
|
|
70
|
+
"types": "./dist/eventSitePlanCalibration.d.ts",
|
|
71
|
+
"import": "./dist/eventSitePlanCalibration.js"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"files": [
|
|
75
|
+
"dist"
|
|
76
|
+
],
|
|
77
|
+
"scripts": {
|
|
78
|
+
"build": "npm run clean && tsc",
|
|
79
|
+
"dev": "tsc --watch",
|
|
80
|
+
"clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
|
|
81
|
+
"prepublishOnly": "npm run build"
|
|
82
|
+
},
|
|
83
|
+
"keywords": [
|
|
84
|
+
"schemas",
|
|
85
|
+
"validation",
|
|
86
|
+
"types",
|
|
87
|
+
"zod",
|
|
88
|
+
"phasing-engine"
|
|
89
|
+
],
|
|
90
|
+
"license": "MIT",
|
|
91
|
+
"dependencies": {
|
|
92
|
+
"@asteasolutions/zod-to-openapi": "^8.1.0",
|
|
93
|
+
"zod": "^4.1.13"
|
|
94
|
+
},
|
|
95
|
+
"devDependencies": {
|
|
96
|
+
"typescript": "^5.6.3"
|
|
97
|
+
},
|
|
98
|
+
"repository": {
|
|
99
|
+
"type": "git",
|
|
100
|
+
"url": "git+https://github.com/manaty/phasing_engine.git",
|
|
101
|
+
"directory": "packages/phasing-schemas"
|
|
102
|
+
}
|
|
103
|
+
}
|