hububb-models 1.0.65 → 1.0.66

Sign up to get free protection for your applications and to get access to all the features.
@@ -74,10 +74,19 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
74
74
  channelCode: import("zod").ZodString;
75
75
  primaryGuest: import("zod").ZodObject<{
76
76
  lastName: import("zod").ZodString;
77
+ firstName: import("zod").ZodOptional<import("zod").ZodString>;
78
+ email: import("zod").ZodOptional<import("zod").ZodString>;
79
+ phone: import("zod").ZodOptional<import("zod").ZodString>;
77
80
  }, "strip", import("zod").ZodTypeAny, {
78
81
  lastName: string;
82
+ email?: string | undefined;
83
+ firstName?: string | undefined;
84
+ phone?: string | undefined;
79
85
  }, {
80
86
  lastName: string;
87
+ email?: string | undefined;
88
+ firstName?: string | undefined;
89
+ phone?: string | undefined;
81
90
  }>;
82
91
  guaranteeType: import("zod").ZodString;
83
92
  cancellationFee: import("zod").ZodOptional<import("zod").ZodObject<{
@@ -279,6 +288,9 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
279
288
  channelCode: string;
280
289
  primaryGuest: {
281
290
  lastName: string;
291
+ email?: string | undefined;
292
+ firstName?: string | undefined;
293
+ phone?: string | undefined;
282
294
  };
283
295
  guaranteeType: string;
284
296
  balance: {
@@ -362,6 +374,9 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
362
374
  channelCode: string;
363
375
  primaryGuest: {
364
376
  lastName: string;
377
+ email?: string | undefined;
378
+ firstName?: string | undefined;
379
+ phone?: string | undefined;
365
380
  };
366
381
  guaranteeType: string;
367
382
  balance: {
@@ -49,6 +49,9 @@ const taxDetailSchema = (0, zod_1.object)({
49
49
  });
50
50
  const guestSchema = (0, zod_1.object)({
51
51
  lastName: (0, zod_1.string)(),
52
+ firstName: (0, zod_1.string)().optional(),
53
+ email: (0, zod_1.string)().optional(),
54
+ phone: (0, zod_1.string)().optional(),
52
55
  });
53
56
  const payableAmountSchema = (0, zod_1.object)({
54
57
  guest: amountSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.65",
3
+ "version": "1.0.66",
4
4
  "description": "Models for Hububb application",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",