hububb-models 1.0.108 → 1.0.109

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.108",
3
+ "version": "1.0.109",
4
4
  "description": "Models for Hububb application",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",