hububb-models 1.0.115 → 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
|
}>;
|
@@ -81,6 +81,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
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
83
|
channexThreadId: import("zod").ZodOptional<import("zod").ZodString>;
|
84
|
+
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
84
85
|
}, "strip", import("zod").ZodTypeAny, {
|
85
86
|
id: string;
|
86
87
|
source?: string | undefined;
|
@@ -124,6 +125,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
124
125
|
checkedInMark?: import("@firebase/firestore-types").Timestamp | undefined;
|
125
126
|
checkedOutMark?: import("@firebase/firestore-types").Timestamp | undefined;
|
126
127
|
channexThreadId?: string | undefined;
|
128
|
+
notes?: string | undefined;
|
127
129
|
}, {
|
128
130
|
id: string;
|
129
131
|
source?: string | undefined;
|
@@ -167,6 +169,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
167
169
|
checkedInMark?: import("@firebase/firestore-types").Timestamp | undefined;
|
168
170
|
checkedOutMark?: import("@firebase/firestore-types").Timestamp | undefined;
|
169
171
|
channexThreadId?: string | undefined;
|
172
|
+
notes?: string | undefined;
|
170
173
|
}>;
|
171
174
|
export declare const reservationCreateSchema: import("zod").ZodObject<{
|
172
175
|
booker: import("zod").ZodObject<{
|
@@ -49,6 +49,7 @@ exports.ReservationSchema = (0, zod_1.object)({
|
|
49
49
|
checkedInMark: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
|
50
50
|
checkedOutMark: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
|
51
51
|
channexThreadId: (0, zod_1.optional)((0, zod_1.string)()),
|
52
|
+
notes: (0, zod_1.optional)((0, zod_1.string)()),
|
52
53
|
});
|
53
54
|
const bookerSchema = (0, zod_1.object)({
|
54
55
|
firstName: (0, zod_1.string)().min(1, "First name is required"),
|