hububb-models 1.0.80 → 1.0.81

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.
@@ -166,7 +166,7 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
166
166
  lastName: string;
167
167
  phone: string;
168
168
  }>;
169
- reservations: import("zod").ZodObject<{
169
+ reservation: import("zod").ZodObject<{
170
170
  arrival: import("zod").ZodString;
171
171
  departure: import("zod").ZodString;
172
172
  adults: import("zod").ZodNumber;
@@ -228,7 +228,7 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
228
228
  lastName: string;
229
229
  phone: string;
230
230
  };
231
- reservations: {
231
+ reservation: {
232
232
  adults: number;
233
233
  arrival: string;
234
234
  departure: string;
@@ -252,7 +252,7 @@ export declare const reservationCreateSchema: import("zod").ZodObject<{
252
252
  lastName: string;
253
253
  phone: string;
254
254
  };
255
- reservations: {
255
+ reservation: {
256
256
  adults: number;
257
257
  arrival: string;
258
258
  departure: string;
@@ -72,6 +72,6 @@ const reservationSchema = (0, zod_1.object)({
72
72
  });
73
73
  exports.reservationCreateSchema = (0, zod_1.object)({
74
74
  booker: bookerSchema,
75
- reservations: reservationSchema,
75
+ reservation: reservationSchema,
76
76
  transactionReference: (0, zod_1.string)().min(1, "Transaction reference is required"),
77
77
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.80",
3
+ "version": "1.0.81",
4
4
  "description": "Models for Hububb application",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",