@venulog/phasing-engine-schemas 0.7.1 → 0.7.2-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/parkingBooking.d.ts +4 -0
- package/dist/parkingBooking.js +9 -1
- package/package.json +75 -75
package/dist/parkingBooking.d.ts
CHANGED
|
@@ -603,6 +603,8 @@ export declare const parkingBookingDetailsDataSchema: z.ZodObject<{
|
|
|
603
603
|
}, z.core.$strip>>;
|
|
604
604
|
created_at: z.ZodString;
|
|
605
605
|
updated_at: z.ZodString;
|
|
606
|
+
entry_scanned_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
607
|
+
exit_scanned_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
606
608
|
}, z.core.$strip>;
|
|
607
609
|
export declare const getParkingBookingDetailsResponseSchema: z.ZodObject<{
|
|
608
610
|
success: z.ZodBoolean;
|
|
@@ -656,6 +658,8 @@ export declare const getParkingBookingDetailsResponseSchema: z.ZodObject<{
|
|
|
656
658
|
}, z.core.$strip>>;
|
|
657
659
|
created_at: z.ZodString;
|
|
658
660
|
updated_at: z.ZodString;
|
|
661
|
+
entry_scanned_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
662
|
+
exit_scanned_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
659
663
|
}, z.core.$strip>;
|
|
660
664
|
}, z.core.$strip>;
|
|
661
665
|
export declare const getParkingBookingDetailsByTokenBodySchema: z.ZodObject<{
|
package/dist/parkingBooking.js
CHANGED
|
@@ -102,7 +102,7 @@ export const parkingBookingSchema = z.object({
|
|
|
102
102
|
entry_scanned_at: z.string().nullable(),
|
|
103
103
|
exit_scanned_at: z.string().nullable(),
|
|
104
104
|
// Include the schedule details
|
|
105
|
-
parking_area_schedule: parkingAreaScheduleSchema.optional()
|
|
105
|
+
parking_area_schedule: parkingAreaScheduleSchema.optional(),
|
|
106
106
|
});
|
|
107
107
|
export const companyDetailsSchema = z
|
|
108
108
|
.object({
|
|
@@ -723,6 +723,14 @@ export const parkingBookingDetailsDataSchema = z
|
|
|
723
723
|
updated_at: z.string().openapi({
|
|
724
724
|
description: 'Timestamp when booking was last updated',
|
|
725
725
|
example: '2025-12-05T10:30:00.000Z'
|
|
726
|
+
}),
|
|
727
|
+
entry_scanned_at: z.string().nullable().optional().openapi({
|
|
728
|
+
description: 'Timestamp when entry was scanned',
|
|
729
|
+
example: '2025-12-15T08:05:00.000Z'
|
|
730
|
+
}),
|
|
731
|
+
exit_scanned_at: z.string().nullable().optional().openapi({
|
|
732
|
+
description: 'Timestamp when exit was scanned',
|
|
733
|
+
example: '2025-12-15T08:25:00.000Z'
|
|
726
734
|
})
|
|
727
735
|
})
|
|
728
736
|
.openapi('ParkingBookingDetailsData');
|
package/package.json
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@venulog/phasing-engine-schemas",
|
|
3
|
-
"version": "0.7.
|
|
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
|
-
"./enums": {
|
|
38
|
-
"types": "./dist/enums/index.d.ts",
|
|
39
|
-
"import": "./dist/enums/index.js"
|
|
40
|
-
},
|
|
41
|
-
"./accessToken": {
|
|
42
|
-
"types": "./dist/accessToken.d.ts",
|
|
43
|
-
"import": "./dist/accessToken.js"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"files": [
|
|
47
|
-
"dist"
|
|
48
|
-
],
|
|
49
|
-
"scripts": {
|
|
50
|
-
"build": "npm run clean && tsc",
|
|
51
|
-
"dev": "tsc --watch",
|
|
52
|
-
"clean": "
|
|
53
|
-
"prepublishOnly": "npm run build"
|
|
54
|
-
},
|
|
55
|
-
"keywords": [
|
|
56
|
-
"schemas",
|
|
57
|
-
"validation",
|
|
58
|
-
"types",
|
|
59
|
-
"zod",
|
|
60
|
-
"phasing-engine"
|
|
61
|
-
],
|
|
62
|
-
"license": "MIT",
|
|
63
|
-
"dependencies": {
|
|
64
|
-
"@asteasolutions/zod-to-openapi": "^8.1.0",
|
|
65
|
-
"zod": "^4.1.13"
|
|
66
|
-
},
|
|
67
|
-
"devDependencies": {
|
|
68
|
-
"typescript": "^5.6.3"
|
|
69
|
-
},
|
|
70
|
-
"repository": {
|
|
71
|
-
"type": "git",
|
|
72
|
-
"url": "git+https://github.com/manaty/phasing_engine.git",
|
|
73
|
-
"directory": "packages/phasing-schemas"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@venulog/phasing-engine-schemas",
|
|
3
|
+
"version": "0.7.2-alpha.0",
|
|
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
|
+
"./enums": {
|
|
38
|
+
"types": "./dist/enums/index.d.ts",
|
|
39
|
+
"import": "./dist/enums/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./accessToken": {
|
|
42
|
+
"types": "./dist/accessToken.d.ts",
|
|
43
|
+
"import": "./dist/accessToken.js"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"files": [
|
|
47
|
+
"dist"
|
|
48
|
+
],
|
|
49
|
+
"scripts": {
|
|
50
|
+
"build": "npm run clean && tsc",
|
|
51
|
+
"dev": "tsc --watch",
|
|
52
|
+
"clean": "rimraf dist",
|
|
53
|
+
"prepublishOnly": "npm run build"
|
|
54
|
+
},
|
|
55
|
+
"keywords": [
|
|
56
|
+
"schemas",
|
|
57
|
+
"validation",
|
|
58
|
+
"types",
|
|
59
|
+
"zod",
|
|
60
|
+
"phasing-engine"
|
|
61
|
+
],
|
|
62
|
+
"license": "MIT",
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"@asteasolutions/zod-to-openapi": "^8.1.0",
|
|
65
|
+
"zod": "^4.1.13"
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"typescript": "^5.6.3"
|
|
69
|
+
},
|
|
70
|
+
"repository": {
|
|
71
|
+
"type": "git",
|
|
72
|
+
"url": "git+https://github.com/manaty/phasing_engine.git",
|
|
73
|
+
"directory": "packages/phasing-schemas"
|
|
74
|
+
}
|
|
75
|
+
}
|