@venulog/phasing-engine-schemas 0.7.2-alpha.0 → 0.7.3-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 +12 -12
- package/dist/parkingBooking.js +1 -1
- package/package.json +2 -2
package/dist/parkingBooking.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ export declare const parkingBookingSchema: z.ZodObject<{
|
|
|
78
78
|
}, z.core.$strip>>;
|
|
79
79
|
}, z.core.$strip>;
|
|
80
80
|
export declare const companyDetailsSchema: z.ZodObject<{
|
|
81
|
-
hall: z.ZodString
|
|
81
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
82
82
|
stand_number: z.ZodString;
|
|
83
83
|
company_name: z.ZodString;
|
|
84
84
|
business: z.ZodString;
|
|
@@ -273,7 +273,7 @@ export declare const bookingDetailsDataSchema: z.ZodObject<{
|
|
|
273
273
|
end_time: z.ZodString;
|
|
274
274
|
company_role: z.ZodNullable<z.ZodString>;
|
|
275
275
|
company: z.ZodObject<{
|
|
276
|
-
hall: z.ZodString
|
|
276
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
277
277
|
stand_number: z.ZodString;
|
|
278
278
|
company_name: z.ZodString;
|
|
279
279
|
business: z.ZodString;
|
|
@@ -313,7 +313,7 @@ export declare const bookingDetailsDataSchema: z.ZodObject<{
|
|
|
313
313
|
export declare const createParkingBookingBodySchema: z.ZodObject<{
|
|
314
314
|
parking_area_schedule_id: z.ZodNumber;
|
|
315
315
|
company: z.ZodObject<{
|
|
316
|
-
hall: z.ZodString
|
|
316
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
317
317
|
stand_number: z.ZodString;
|
|
318
318
|
company_name: z.ZodString;
|
|
319
319
|
business: z.ZodString;
|
|
@@ -341,7 +341,7 @@ export declare const createParkingBookingDataSchema: z.ZodObject<{
|
|
|
341
341
|
status: z.ZodString;
|
|
342
342
|
company_role: z.ZodString;
|
|
343
343
|
company: z.ZodObject<{
|
|
344
|
-
hall: z.ZodString
|
|
344
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
345
345
|
stand_number: z.ZodString;
|
|
346
346
|
company_name: z.ZodString;
|
|
347
347
|
business: z.ZodString;
|
|
@@ -374,7 +374,7 @@ export declare const createParkingBookingResponseSchema: z.ZodObject<{
|
|
|
374
374
|
status: z.ZodString;
|
|
375
375
|
company_role: z.ZodString;
|
|
376
376
|
company: z.ZodObject<{
|
|
377
|
-
hall: z.ZodString
|
|
377
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
378
378
|
stand_number: z.ZodString;
|
|
379
379
|
company_name: z.ZodString;
|
|
380
380
|
business: z.ZodString;
|
|
@@ -401,7 +401,7 @@ export declare const createParkingBookingResponseSchema: z.ZodObject<{
|
|
|
401
401
|
}, z.core.$strip>;
|
|
402
402
|
export declare const updateParkingBookingBodySchema: z.ZodObject<{
|
|
403
403
|
company: z.ZodOptional<z.ZodObject<{
|
|
404
|
-
hall: z.ZodString
|
|
404
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
405
405
|
stand_number: z.ZodString;
|
|
406
406
|
company_name: z.ZodString;
|
|
407
407
|
business: z.ZodString;
|
|
@@ -425,7 +425,7 @@ export declare const updateParkingBookingDataSchema: z.ZodObject<{
|
|
|
425
425
|
booking_id: z.ZodNumber;
|
|
426
426
|
qr_token: z.ZodString;
|
|
427
427
|
company: z.ZodNullable<z.ZodObject<{
|
|
428
|
-
hall: z.ZodString
|
|
428
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
429
429
|
stand_number: z.ZodString;
|
|
430
430
|
company_name: z.ZodString;
|
|
431
431
|
business: z.ZodString;
|
|
@@ -453,7 +453,7 @@ export declare const updateParkingBookingResponseSchema: z.ZodObject<{
|
|
|
453
453
|
booking_id: z.ZodNumber;
|
|
454
454
|
qr_token: z.ZodString;
|
|
455
455
|
company: z.ZodNullable<z.ZodObject<{
|
|
456
|
-
hall: z.ZodString
|
|
456
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
457
457
|
stand_number: z.ZodString;
|
|
458
458
|
company_name: z.ZodString;
|
|
459
459
|
business: z.ZodString;
|
|
@@ -563,7 +563,7 @@ export declare const parkingBookingDetailsDataSchema: z.ZodObject<{
|
|
|
563
563
|
end_time: z.ZodString;
|
|
564
564
|
company_role: z.ZodNullable<z.ZodString>;
|
|
565
565
|
company: z.ZodObject<{
|
|
566
|
-
hall: z.ZodString
|
|
566
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
567
567
|
stand_number: z.ZodString;
|
|
568
568
|
company_name: z.ZodString;
|
|
569
569
|
business: z.ZodString;
|
|
@@ -618,7 +618,7 @@ export declare const getParkingBookingDetailsResponseSchema: z.ZodObject<{
|
|
|
618
618
|
end_time: z.ZodString;
|
|
619
619
|
company_role: z.ZodNullable<z.ZodString>;
|
|
620
620
|
company: z.ZodObject<{
|
|
621
|
-
hall: z.ZodString
|
|
621
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
622
622
|
stand_number: z.ZodString;
|
|
623
623
|
company_name: z.ZodString;
|
|
624
624
|
business: z.ZodString;
|
|
@@ -677,7 +677,7 @@ export declare const getParkingBookingDetailsByTokenResponseSchema: z.ZodObject<
|
|
|
677
677
|
end_time: z.ZodString;
|
|
678
678
|
company_role: z.ZodNullable<z.ZodString>;
|
|
679
679
|
company: z.ZodObject<{
|
|
680
|
-
hall: z.ZodString
|
|
680
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
681
681
|
stand_number: z.ZodString;
|
|
682
682
|
company_name: z.ZodString;
|
|
683
683
|
business: z.ZodString;
|
|
@@ -730,7 +730,7 @@ export declare const getParkingBookingDetailsByQrResponseSchema: z.ZodObject<{
|
|
|
730
730
|
end_time: z.ZodString;
|
|
731
731
|
company_role: z.ZodNullable<z.ZodString>;
|
|
732
732
|
company: z.ZodObject<{
|
|
733
|
-
hall: z.ZodString
|
|
733
|
+
hall: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
734
734
|
stand_number: z.ZodString;
|
|
735
735
|
company_name: z.ZodString;
|
|
736
736
|
business: z.ZodString;
|
package/dist/parkingBooking.js
CHANGED
|
@@ -106,7 +106,7 @@ export const parkingBookingSchema = z.object({
|
|
|
106
106
|
});
|
|
107
107
|
export const companyDetailsSchema = z
|
|
108
108
|
.object({
|
|
109
|
-
hall: z.string().
|
|
109
|
+
hall: z.string().optional().nullable().openapi({
|
|
110
110
|
description: 'Hall location',
|
|
111
111
|
example: 'Hall 1'
|
|
112
112
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@venulog/phasing-engine-schemas",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3-alpha.0",
|
|
4
4
|
"description": "Shared schemas and types for Phasing Engine API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "npm run clean && tsc",
|
|
51
51
|
"dev": "tsc --watch",
|
|
52
|
-
"clean": "
|
|
52
|
+
"clean": "rm -rf dist",
|
|
53
53
|
"prepublishOnly": "npm run build"
|
|
54
54
|
},
|
|
55
55
|
"keywords": [
|