hububb-models 1.0.118 → 1.0.120
Sign up to get free protection for your applications and to get access to all the features.
@@ -408,6 +408,9 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
408
408
|
isMandatory: boolean;
|
409
409
|
}[];
|
410
410
|
}>, "many">;
|
411
|
+
checkInTime: import("zod").ZodOptional<import("zod").ZodString>;
|
412
|
+
checkOutTime: import("zod").ZodOptional<import("zod").ZodString>;
|
413
|
+
cancellationTime: import("zod").ZodOptional<import("zod").ZodString>;
|
411
414
|
}, "strip", import("zod").ZodTypeAny, {
|
412
415
|
id: string;
|
413
416
|
status: string;
|
@@ -528,6 +531,9 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
528
531
|
};
|
529
532
|
} | undefined;
|
530
533
|
externalCode?: string | undefined;
|
534
|
+
checkInTime?: string | undefined;
|
535
|
+
checkOutTime?: string | undefined;
|
536
|
+
cancellationTime?: string | undefined;
|
531
537
|
}, {
|
532
538
|
id: string;
|
533
539
|
status: string;
|
@@ -648,5 +654,8 @@ declare const apaleoReservationSchema: import("zod").ZodObject<{
|
|
648
654
|
};
|
649
655
|
} | undefined;
|
650
656
|
externalCode?: string | undefined;
|
657
|
+
checkInTime?: string | undefined;
|
658
|
+
checkOutTime?: string | undefined;
|
659
|
+
cancellationTime?: string | undefined;
|
651
660
|
}>;
|
652
661
|
export { apaleoReservationSchema };
|
@@ -113,5 +113,8 @@ const apaleoReservationSchema = (0, zod_1.object)({
|
|
113
113
|
payableAmount: payableAmountSchema,
|
114
114
|
externalCode: (0, zod_1.string)().optional(),
|
115
115
|
services: (0, zod_1.array)(serviceSchema),
|
116
|
+
checkInTime: (0, zod_1.string)().optional(),
|
117
|
+
checkOutTime: (0, zod_1.string)().optional(),
|
118
|
+
cancellationTime: (0, zod_1.string)().optional(), // ISO date string
|
116
119
|
});
|
117
120
|
exports.apaleoReservationSchema = apaleoReservationSchema;
|
@@ -82,6 +82,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
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
84
|
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
85
|
+
integrationSource: import("zod").ZodOptional<import("zod").ZodString>;
|
85
86
|
}, "strip", import("zod").ZodTypeAny, {
|
86
87
|
id: string;
|
87
88
|
source?: string | undefined;
|
@@ -126,6 +127,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
126
127
|
checkedOutMark?: import("@firebase/firestore-types").Timestamp | undefined;
|
127
128
|
channexThreadId?: string | undefined;
|
128
129
|
notes?: string | undefined;
|
130
|
+
integrationSource?: string | undefined;
|
129
131
|
}, {
|
130
132
|
id: string;
|
131
133
|
source?: string | undefined;
|
@@ -170,6 +172,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
170
172
|
checkedOutMark?: import("@firebase/firestore-types").Timestamp | undefined;
|
171
173
|
channexThreadId?: string | undefined;
|
172
174
|
notes?: string | undefined;
|
175
|
+
integrationSource?: string | undefined;
|
173
176
|
}>;
|
174
177
|
export declare const reservationCreateSchema: import("zod").ZodObject<{
|
175
178
|
booker: import("zod").ZodObject<{
|
@@ -50,6 +50,7 @@ exports.ReservationSchema = (0, zod_1.object)({
|
|
50
50
|
checkedOutMark: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
|
51
51
|
channexThreadId: (0, zod_1.optional)((0, zod_1.string)()),
|
52
52
|
notes: (0, zod_1.optional)((0, zod_1.string)()),
|
53
|
+
integrationSource: (0, zod_1.optional)((0, zod_1.string)()),
|
53
54
|
});
|
54
55
|
const bookerSchema = (0, zod_1.object)({
|
55
56
|
firstName: (0, zod_1.string)().min(1, "First name is required"),
|