hububb-models 1.0.114 → 1.0.116

Sign up to get free protection for your applications and to get access to all the features.
@@ -262,10 +262,10 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
262
262
  ota_reservation_code: string;
263
263
  raw_message: string;
264
264
  revision_id: string;
265
+ notes?: string | null | undefined;
265
266
  agent?: string | null | undefined;
266
267
  arrival_hour?: string | null | undefined;
267
268
  guarantee?: {} | null | undefined;
268
- notes?: string | null | undefined;
269
269
  secondary_ota?: string | null | undefined;
270
270
  }, {
271
271
  id: string;
@@ -339,10 +339,10 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
339
339
  ota_reservation_code: string;
340
340
  raw_message: string;
341
341
  revision_id: string;
342
+ notes?: string | null | undefined;
342
343
  agent?: string | null | undefined;
343
344
  arrival_hour?: string | null | undefined;
344
345
  guarantee?: {} | null | undefined;
345
- notes?: string | null | undefined;
346
346
  secondary_ota?: string | null | undefined;
347
347
  }>;
348
348
  }, "strip", import("zod").ZodTypeAny, {
@@ -420,10 +420,10 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
420
420
  ota_reservation_code: string;
421
421
  raw_message: string;
422
422
  revision_id: string;
423
+ notes?: string | null | undefined;
423
424
  agent?: string | null | undefined;
424
425
  arrival_hour?: string | null | undefined;
425
426
  guarantee?: {} | null | undefined;
426
- notes?: string | null | undefined;
427
427
  secondary_ota?: string | null | undefined;
428
428
  };
429
429
  }, {
@@ -501,10 +501,10 @@ export declare const ChannexBookingSchema: import("zod").ZodObject<{
501
501
  ota_reservation_code: string;
502
502
  raw_message: string;
503
503
  revision_id: string;
504
+ notes?: string | null | undefined;
504
505
  agent?: string | null | undefined;
505
506
  arrival_hour?: string | null | undefined;
506
507
  guarantee?: {} | null | undefined;
507
- notes?: string | null | undefined;
508
508
  secondary_ota?: string | null | undefined;
509
509
  };
510
510
  }>;
@@ -80,6 +80,8 @@ export declare const ReservationSchema: import("zod").ZodObject<{
80
80
  inboxId: import("zod").ZodOptional<import("zod").ZodNumber>;
81
81
  checkedInMark: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").Timestamp>>;
82
82
  checkedOutMark: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").Timestamp>>;
83
+ channexThreadId: import("zod").ZodOptional<import("zod").ZodString>;
84
+ notes: import("zod").ZodOptional<import("zod").ZodString>;
83
85
  }, "strip", import("zod").ZodTypeAny, {
84
86
  id: string;
85
87
  source?: string | undefined;
@@ -122,6 +124,8 @@ export declare const ReservationSchema: import("zod").ZodObject<{
122
124
  inboxId?: number | undefined;
123
125
  checkedInMark?: import("@firebase/firestore-types").Timestamp | undefined;
124
126
  checkedOutMark?: import("@firebase/firestore-types").Timestamp | undefined;
127
+ channexThreadId?: string | undefined;
128
+ notes?: string | undefined;
125
129
  }, {
126
130
  id: string;
127
131
  source?: string | undefined;
@@ -164,6 +168,8 @@ export declare const ReservationSchema: import("zod").ZodObject<{
164
168
  inboxId?: number | undefined;
165
169
  checkedInMark?: import("@firebase/firestore-types").Timestamp | undefined;
166
170
  checkedOutMark?: import("@firebase/firestore-types").Timestamp | undefined;
171
+ channexThreadId?: string | undefined;
172
+ notes?: string | undefined;
167
173
  }>;
168
174
  export declare const reservationCreateSchema: import("zod").ZodObject<{
169
175
  booker: import("zod").ZodObject<{
@@ -48,6 +48,8 @@ exports.ReservationSchema = (0, zod_1.object)({
48
48
  inboxId: (0, zod_1.optional)((0, zod_1.number)()),
49
49
  checkedInMark: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
50
50
  checkedOutMark: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
51
+ channexThreadId: (0, zod_1.optional)((0, zod_1.string)()),
52
+ notes: (0, zod_1.optional)((0, zod_1.string)()),
51
53
  });
52
54
  const bookerSchema = (0, zod_1.object)({
53
55
  firstName: (0, zod_1.string)().min(1, "First name is required"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.114",
3
+ "version": "1.0.116",
4
4
  "description": "Models for Hububb application",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",