@venulog/phasing-engine-schemas 0.4.0-alpha.0 → 0.4.0-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/phaseBooking.d.ts +6 -6
- package/dist/phaseBooking.js +5 -5
- package/package.json +1 -1
package/dist/phaseBooking.d.ts
CHANGED
|
@@ -392,7 +392,7 @@ export declare const updatePhaseBookingBodySchema: z.ZodObject<{
|
|
|
392
392
|
}, z.core.$strip>;
|
|
393
393
|
export declare const updatePhaseBookingDataSchema: z.ZodObject<{
|
|
394
394
|
booking_id: z.ZodNumber;
|
|
395
|
-
|
|
395
|
+
qr_token: z.ZodString;
|
|
396
396
|
company: z.ZodNullable<z.ZodObject<{
|
|
397
397
|
hall: z.ZodString;
|
|
398
398
|
stand_number: z.ZodString;
|
|
@@ -420,7 +420,7 @@ export declare const updatePhaseBookingResponseSchema: z.ZodObject<{
|
|
|
420
420
|
message: z.ZodString;
|
|
421
421
|
data: z.ZodObject<{
|
|
422
422
|
booking_id: z.ZodNumber;
|
|
423
|
-
|
|
423
|
+
qr_token: z.ZodString;
|
|
424
424
|
company: z.ZodNullable<z.ZodObject<{
|
|
425
425
|
hall: z.ZodString;
|
|
426
426
|
stand_number: z.ZodString;
|
|
@@ -852,7 +852,7 @@ export declare const getBookingDetailsParamsSchema: z.ZodObject<{
|
|
|
852
852
|
bookingId: z.ZodCoercedNumber<unknown>;
|
|
853
853
|
}, z.core.$strip>;
|
|
854
854
|
export declare const bookingDetailsDataSchema: z.ZodObject<{
|
|
855
|
-
|
|
855
|
+
qr_token: z.ZodNullable<z.ZodString>;
|
|
856
856
|
booking_id: z.ZodNumber;
|
|
857
857
|
status: z.ZodString;
|
|
858
858
|
booking_date: z.ZodString;
|
|
@@ -900,7 +900,7 @@ export declare const bookingDetailsDataSchema: z.ZodObject<{
|
|
|
900
900
|
export declare const getBookingDetailsResponseSchema: z.ZodObject<{
|
|
901
901
|
success: z.ZodBoolean;
|
|
902
902
|
data: z.ZodObject<{
|
|
903
|
-
|
|
903
|
+
qr_token: z.ZodNullable<z.ZodString>;
|
|
904
904
|
booking_id: z.ZodNumber;
|
|
905
905
|
status: z.ZodString;
|
|
906
906
|
booking_date: z.ZodString;
|
|
@@ -955,7 +955,7 @@ export declare const getBookingDetailsByTokenBodySchema: z.ZodObject<{
|
|
|
955
955
|
export declare const getBookingDetailsByTokenResponseSchema: z.ZodObject<{
|
|
956
956
|
success: z.ZodBoolean;
|
|
957
957
|
data: z.ZodObject<{
|
|
958
|
-
|
|
958
|
+
qr_token: z.ZodNullable<z.ZodString>;
|
|
959
959
|
booking_id: z.ZodNumber;
|
|
960
960
|
status: z.ZodString;
|
|
961
961
|
booking_date: z.ZodString;
|
|
@@ -1009,7 +1009,7 @@ export type UpdatePhaseBookingResponse = z.infer<typeof updatePhaseBookingRespon
|
|
|
1009
1009
|
export declare const bookingWithRelationsSchema: z.ZodObject<{
|
|
1010
1010
|
id: z.ZodNumber;
|
|
1011
1011
|
status: z.ZodString;
|
|
1012
|
-
|
|
1012
|
+
qr_token: z.ZodNullable<z.ZodString>;
|
|
1013
1013
|
booking_date: z.ZodString;
|
|
1014
1014
|
start_time: z.ZodString;
|
|
1015
1015
|
end_time: z.ZodString;
|
package/dist/phaseBooking.js
CHANGED
|
@@ -468,8 +468,8 @@ export const updatePhaseBookingDataSchema = z
|
|
|
468
468
|
description: 'ID of the updated booking',
|
|
469
469
|
example: 1
|
|
470
470
|
}),
|
|
471
|
-
|
|
472
|
-
description: 'New regenerated
|
|
471
|
+
qr_token: z.string().openapi({
|
|
472
|
+
description: 'New regenerated QR token',
|
|
473
473
|
example: 'ACCESS_1a2b3c4d5e6f7g8h_eyJib29raW5nSWQiOjF9'
|
|
474
474
|
}),
|
|
475
475
|
company: companyDetailsSchema.nullable().openapi({
|
|
@@ -962,8 +962,8 @@ export const getBookingDetailsParamsSchema = z
|
|
|
962
962
|
.openapi('GetBookingDetailsParams');
|
|
963
963
|
export const bookingDetailsDataSchema = z
|
|
964
964
|
.object({
|
|
965
|
-
|
|
966
|
-
description: '
|
|
965
|
+
qr_token: z.string().nullable().openapi({
|
|
966
|
+
description: 'QR token for verification',
|
|
967
967
|
example: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
|
|
968
968
|
}),
|
|
969
969
|
booking_id: z.number().openapi({
|
|
@@ -1066,7 +1066,7 @@ export const bookingWithRelationsSchema = z
|
|
|
1066
1066
|
.object({
|
|
1067
1067
|
id: z.number(),
|
|
1068
1068
|
status: z.string(),
|
|
1069
|
-
|
|
1069
|
+
qr_token: z.string().nullable(),
|
|
1070
1070
|
booking_date: z.string(),
|
|
1071
1071
|
start_time: z.string(),
|
|
1072
1072
|
end_time: z.string(),
|