hububb-models 1.0.90 → 1.0.91

Sign up to get free protection for your applications and to get access to all the features.
@@ -528,6 +528,7 @@ export declare const paymentCreateSchema: import("zod").ZodObject<{
528
528
  }>, "many">>;
529
529
  amount: import("zod").ZodNumber;
530
530
  ratePlanId: import("zod").ZodString;
531
+ userId: import("zod").ZodString;
531
532
  }, "strip", import("zod").ZodTypeAny, {
532
533
  ratePlanId: string;
533
534
  amount: number;
@@ -551,6 +552,7 @@ export declare const paymentCreateSchema: import("zod").ZodObject<{
551
552
  arrival: string;
552
553
  departure: string;
553
554
  };
555
+ userId: string;
554
556
  services?: {
555
557
  serviceId: string;
556
558
  count?: number | undefined;
@@ -582,6 +584,7 @@ export declare const paymentCreateSchema: import("zod").ZodObject<{
582
584
  arrival: string;
583
585
  departure: string;
584
586
  };
587
+ userId: string;
585
588
  services?: {
586
589
  serviceId: string;
587
590
  count?: number | undefined;
@@ -111,4 +111,5 @@ exports.paymentCreateSchema = (0, zod_1.object)({
111
111
  })).optional(),
112
112
  amount: (0, zod_1.number)().positive("Amount must be a positive number"),
113
113
  ratePlanId: (0, zod_1.string)().min(1, "Rate Plan ID is required"),
114
+ userId: (0, zod_1.string)().min(1, "User ID is required"),
114
115
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.90",
3
+ "version": "1.0.91",
4
4
  "description": "Models for Hububb application",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",