hububb-models 1.0.112 → 1.0.114
Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
14
14
|
email: import("zod").ZodOptional<import("zod").ZodString>;
|
15
15
|
ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
16
16
|
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
17
|
+
avatarUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
17
18
|
}, "strip", import("zod").ZodTypeAny, {
|
18
19
|
id?: string | undefined;
|
19
20
|
email?: string | undefined;
|
@@ -21,6 +22,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
21
22
|
fullName?: string | undefined;
|
22
23
|
externalId?: string | undefined;
|
23
24
|
ids?: string[] | undefined;
|
25
|
+
avatarUrl?: string | undefined;
|
24
26
|
}, {
|
25
27
|
id?: string | undefined;
|
26
28
|
email?: string | undefined;
|
@@ -28,6 +30,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
28
30
|
fullName?: string | undefined;
|
29
31
|
externalId?: string | undefined;
|
30
32
|
ids?: string[] | undefined;
|
33
|
+
avatarUrl?: string | undefined;
|
31
34
|
}>>;
|
32
35
|
listing: import("zod").ZodOptional<import("zod").ZodObject<{
|
33
36
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -75,6 +78,8 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
75
78
|
adults: import("zod").ZodOptional<import("zod").ZodNumber>;
|
76
79
|
children: import("zod").ZodOptional<import("zod").ZodNumber>;
|
77
80
|
inboxId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
81
|
+
checkedInMark: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").Timestamp>>;
|
82
|
+
checkedOutMark: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").Timestamp>>;
|
78
83
|
}, "strip", import("zod").ZodTypeAny, {
|
79
84
|
id: string;
|
80
85
|
source?: string | undefined;
|
@@ -100,6 +105,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
100
105
|
fullName?: string | undefined;
|
101
106
|
externalId?: string | undefined;
|
102
107
|
ids?: string[] | undefined;
|
108
|
+
avatarUrl?: string | undefined;
|
103
109
|
} | undefined;
|
104
110
|
klevio?: {
|
105
111
|
keyId?: string | undefined;
|
@@ -114,6 +120,8 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
114
120
|
guests?: number | undefined;
|
115
121
|
adults?: number | undefined;
|
116
122
|
inboxId?: number | undefined;
|
123
|
+
checkedInMark?: import("@firebase/firestore-types").Timestamp | undefined;
|
124
|
+
checkedOutMark?: import("@firebase/firestore-types").Timestamp | undefined;
|
117
125
|
}, {
|
118
126
|
id: string;
|
119
127
|
source?: string | undefined;
|
@@ -139,6 +147,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
139
147
|
fullName?: string | undefined;
|
140
148
|
externalId?: string | undefined;
|
141
149
|
ids?: string[] | undefined;
|
150
|
+
avatarUrl?: string | undefined;
|
142
151
|
} | undefined;
|
143
152
|
klevio?: {
|
144
153
|
keyId?: string | undefined;
|
@@ -153,6 +162,8 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
153
162
|
guests?: number | undefined;
|
154
163
|
adults?: number | undefined;
|
155
164
|
inboxId?: number | undefined;
|
165
|
+
checkedInMark?: import("@firebase/firestore-types").Timestamp | undefined;
|
166
|
+
checkedOutMark?: import("@firebase/firestore-types").Timestamp | undefined;
|
156
167
|
}>;
|
157
168
|
export declare const reservationCreateSchema: import("zod").ZodObject<{
|
158
169
|
booker: import("zod").ZodObject<{
|
@@ -10,6 +10,7 @@ const GuestSchema = (0, zod_1.object)({
|
|
10
10
|
email: (0, zod_1.optional)((0, zod_1.string)()),
|
11
11
|
ids: (0, zod_1.optional)((0, zod_1.array)((0, zod_1.string)())),
|
12
12
|
phone: (0, zod_1.optional)((0, zod_1.string)()),
|
13
|
+
avatarUrl: (0, zod_1.optional)((0, zod_1.string)()),
|
13
14
|
});
|
14
15
|
const ListingSchema = (0, zod_1.object)({
|
15
16
|
id: (0, zod_1.optional)((0, zod_1.string)()),
|
@@ -45,6 +46,8 @@ exports.ReservationSchema = (0, zod_1.object)({
|
|
45
46
|
adults: (0, zod_1.optional)((0, zod_1.number)()),
|
46
47
|
children: (0, zod_1.optional)((0, zod_1.number)()),
|
47
48
|
inboxId: (0, zod_1.optional)((0, zod_1.number)()),
|
49
|
+
checkedInMark: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
|
50
|
+
checkedOutMark: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
|
48
51
|
});
|
49
52
|
const bookerSchema = (0, zod_1.object)({
|
50
53
|
firstName: (0, zod_1.string)().min(1, "First name is required"),
|