hububb-models 1.0.81 → 1.0.82
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.
@@ -221,7 +221,9 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
|
|
221
221
|
};
|
222
222
|
}>;
|
223
223
|
transactionReference: import("zod").ZodString;
|
224
|
+
amount: import("zod").ZodNumber;
|
224
225
|
}, "strip", import("zod").ZodTypeAny, {
|
226
|
+
amount: number;
|
225
227
|
booker: {
|
226
228
|
email: string;
|
227
229
|
firstName: string;
|
@@ -246,6 +248,7 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
|
|
246
248
|
};
|
247
249
|
transactionReference: string;
|
248
250
|
}, {
|
251
|
+
amount: number;
|
249
252
|
booker: {
|
250
253
|
email: string;
|
251
254
|
firstName: string;
|
@@ -74,4 +74,5 @@ exports.reservationCreateSchema = (0, zod_1.object)({
|
|
74
74
|
booker: bookerSchema,
|
75
75
|
reservation: reservationSchema,
|
76
76
|
transactionReference: (0, zod_1.string)().min(1, "Transaction reference is required"),
|
77
|
+
amount: (0, zod_1.number)().positive("Amount must be a positive number"),
|
77
78
|
});
|