@venulog/phasing-engine-schemas 0.10.1 → 0.10.2

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.
@@ -639,6 +639,9 @@ export declare const getParkingBookingDetailsByTokenBodySchema: z.ZodObject<{
639
639
  }, z.core.$strip>;
640
640
  export declare const getParkingBookingDetailsByQrBodySchema: z.ZodObject<{
641
641
  qr_token: z.ZodString;
642
+ scanner_latitude: z.ZodOptional<z.ZodNumber>;
643
+ scanner_longitude: z.ZodOptional<z.ZodNumber>;
644
+ scanner_accuracy: z.ZodOptional<z.ZodNumber>;
642
645
  }, z.core.$strip>;
643
646
  export declare const exportBookingDataSchema: z.ZodObject<{
644
647
  booking_id: z.ZodNumber;
@@ -651,6 +651,18 @@ export const getParkingBookingDetailsByQrBodySchema = z
651
651
  qr_token: z.string().min(1, 'QR token is required').openapi({
652
652
  description: 'QR token from confirmed booking',
653
653
  example: 'ACCESS_1a2b3c4d5e6f7g8h_eyJib29raW5nSWQiOjEyM30%3D'
654
+ }),
655
+ scanner_latitude: z.number().optional().openapi({
656
+ description: 'GPS latitude of scanner',
657
+ example: '48.12312312'
658
+ }),
659
+ scanner_longitude: z.number().optional().openapi({
660
+ description: 'GPS longitude of scanner',
661
+ example: '2.12312312'
662
+ }),
663
+ scanner_accuracy: z.number().optional().openapi({
664
+ description: 'Scanner accuracy',
665
+ example: '90'
654
666
  })
655
667
  })
656
668
  .openapi('GetBookingDetailsByQrBody');
package/package.json CHANGED
@@ -1,95 +1,95 @@
1
- {
2
- "name": "@venulog/phasing-engine-schemas",
3
- "version": "0.10.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
- }
1
+ {
2
+ "name": "@venulog/phasing-engine-schemas",
3
+ "version": "0.10.2",
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
+ }