@venulog/phasing-engine-schemas 0.9.0-alpha.2 → 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 +2 -0
- package/dist/event.js +8 -0
- package/dist/parkingBooking.d.ts +6 -0
- package/dist/parkingBooking.js +10 -0
- package/package.json +95 -95
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')
|
package/dist/parkingBooking.d.ts
CHANGED
|
@@ -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>;
|
package/dist/parkingBooking.js
CHANGED
|
@@ -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,95 +1,95 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@venulog/phasing-engine-schemas",
|
|
3
|
-
"version": "0.9.
|
|
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
|
-
},
|
|
66
|
-
"files": [
|
|
67
|
-
"dist"
|
|
68
|
-
],
|
|
69
|
-
"scripts": {
|
|
70
|
-
"build": "npm run clean && tsc",
|
|
71
|
-
"dev": "tsc --watch",
|
|
72
|
-
"clean": "rm -rf dist",
|
|
73
|
-
"prepublishOnly": "npm run build"
|
|
74
|
-
},
|
|
75
|
-
"keywords": [
|
|
76
|
-
"schemas",
|
|
77
|
-
"validation",
|
|
78
|
-
"types",
|
|
79
|
-
"zod",
|
|
80
|
-
"phasing-engine"
|
|
81
|
-
],
|
|
82
|
-
"license": "MIT",
|
|
83
|
-
"dependencies": {
|
|
84
|
-
"@asteasolutions/zod-to-openapi": "^8.1.0",
|
|
85
|
-
"zod": "^4.1.13"
|
|
86
|
-
},
|
|
87
|
-
"devDependencies": {
|
|
88
|
-
"typescript": "^5.6.3"
|
|
89
|
-
},
|
|
90
|
-
"repository": {
|
|
91
|
-
"type": "git",
|
|
92
|
-
"url": "git+https://github.com/manaty/phasing_engine.git",
|
|
93
|
-
"directory": "packages/phasing-schemas"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@venulog/phasing-engine-schemas",
|
|
3
|
+
"version": "0.9.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
|
+
},
|
|
66
|
+
"files": [
|
|
67
|
+
"dist"
|
|
68
|
+
],
|
|
69
|
+
"scripts": {
|
|
70
|
+
"build": "npm run clean && tsc",
|
|
71
|
+
"dev": "tsc --watch",
|
|
72
|
+
"clean": "rm -rf dist",
|
|
73
|
+
"prepublishOnly": "npm run build"
|
|
74
|
+
},
|
|
75
|
+
"keywords": [
|
|
76
|
+
"schemas",
|
|
77
|
+
"validation",
|
|
78
|
+
"types",
|
|
79
|
+
"zod",
|
|
80
|
+
"phasing-engine"
|
|
81
|
+
],
|
|
82
|
+
"license": "MIT",
|
|
83
|
+
"dependencies": {
|
|
84
|
+
"@asteasolutions/zod-to-openapi": "^8.1.0",
|
|
85
|
+
"zod": "^4.1.13"
|
|
86
|
+
},
|
|
87
|
+
"devDependencies": {
|
|
88
|
+
"typescript": "^5.6.3"
|
|
89
|
+
},
|
|
90
|
+
"repository": {
|
|
91
|
+
"type": "git",
|
|
92
|
+
"url": "git+https://github.com/manaty/phasing_engine.git",
|
|
93
|
+
"directory": "packages/phasing-schemas"
|
|
94
|
+
}
|
|
95
|
+
}
|