hububb-models 1.0.108 → 1.0.109
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.
@@ -534,7 +534,9 @@ export declare const paymentCreateSchema: import("zod").ZodObject<{
|
|
534
534
|
amount: import("zod").ZodNumber;
|
535
535
|
ratePlanId: import("zod").ZodString;
|
536
536
|
userId: import("zod").ZodString;
|
537
|
+
propertyId: import("zod").ZodString;
|
537
538
|
}, "strip", import("zod").ZodTypeAny, {
|
539
|
+
propertyId: string;
|
538
540
|
ratePlanId: string;
|
539
541
|
amount: number;
|
540
542
|
booker: {
|
@@ -567,6 +569,7 @@ export declare const paymentCreateSchema: import("zod").ZodObject<{
|
|
567
569
|
count?: number | undefined;
|
568
570
|
}[] | undefined;
|
569
571
|
}, {
|
572
|
+
propertyId: string;
|
570
573
|
ratePlanId: string;
|
571
574
|
amount: number;
|
572
575
|
booker: {
|
@@ -113,4 +113,5 @@ exports.paymentCreateSchema = (0, zod_1.object)({
|
|
113
113
|
amount: (0, zod_1.number)().positive("Amount must be a positive number"),
|
114
114
|
ratePlanId: (0, zod_1.string)().min(1, "Rate Plan ID is required"),
|
115
115
|
userId: (0, zod_1.string)().min(1, "User ID is required"),
|
116
|
+
propertyId: (0, zod_1.string)().min(1, "Property ID is required"),
|
116
117
|
});
|