hububb-models 1.0.113 → 1.0.115
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>;
|
@@ -77,6 +80,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
77
80
|
inboxId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
78
81
|
checkedInMark: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").Timestamp>>;
|
79
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>;
|
80
84
|
}, "strip", import("zod").ZodTypeAny, {
|
81
85
|
id: string;
|
82
86
|
source?: string | undefined;
|
@@ -102,6 +106,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
102
106
|
fullName?: string | undefined;
|
103
107
|
externalId?: string | undefined;
|
104
108
|
ids?: string[] | undefined;
|
109
|
+
avatarUrl?: string | undefined;
|
105
110
|
} | undefined;
|
106
111
|
klevio?: {
|
107
112
|
keyId?: string | undefined;
|
@@ -118,6 +123,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
118
123
|
inboxId?: number | undefined;
|
119
124
|
checkedInMark?: import("@firebase/firestore-types").Timestamp | undefined;
|
120
125
|
checkedOutMark?: import("@firebase/firestore-types").Timestamp | undefined;
|
126
|
+
channexThreadId?: string | undefined;
|
121
127
|
}, {
|
122
128
|
id: string;
|
123
129
|
source?: string | undefined;
|
@@ -143,6 +149,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
143
149
|
fullName?: string | undefined;
|
144
150
|
externalId?: string | undefined;
|
145
151
|
ids?: string[] | undefined;
|
152
|
+
avatarUrl?: string | undefined;
|
146
153
|
} | undefined;
|
147
154
|
klevio?: {
|
148
155
|
keyId?: string | undefined;
|
@@ -159,6 +166,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
159
166
|
inboxId?: number | undefined;
|
160
167
|
checkedInMark?: import("@firebase/firestore-types").Timestamp | undefined;
|
161
168
|
checkedOutMark?: import("@firebase/firestore-types").Timestamp | undefined;
|
169
|
+
channexThreadId?: string | undefined;
|
162
170
|
}>;
|
163
171
|
export declare const reservationCreateSchema: import("zod").ZodObject<{
|
164
172
|
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)()),
|
@@ -47,6 +48,7 @@ exports.ReservationSchema = (0, zod_1.object)({
|
|
47
48
|
inboxId: (0, zod_1.optional)((0, zod_1.number)()),
|
48
49
|
checkedInMark: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
|
49
50
|
checkedOutMark: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
|
51
|
+
channexThreadId: (0, zod_1.optional)((0, zod_1.string)()),
|
50
52
|
});
|
51
53
|
const bookerSchema = (0, zod_1.object)({
|
52
54
|
firstName: (0, zod_1.string)().min(1, "First name is required"),
|