hububb-models 1.0.94 → 1.0.96
Sign up to get free protection for your applications and to get access to all the features.
@@ -13,16 +13,19 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
13
13
|
fullName: import("zod").ZodOptional<import("zod").ZodString>;
|
14
14
|
email: import("zod").ZodOptional<import("zod").ZodString>;
|
15
15
|
ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
16
|
+
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
16
17
|
}, "strip", import("zod").ZodTypeAny, {
|
17
18
|
id?: string | undefined;
|
18
19
|
email?: string | undefined;
|
19
20
|
fullName?: string | undefined;
|
21
|
+
phone?: string | undefined;
|
20
22
|
externalId?: string | undefined;
|
21
23
|
ids?: string[] | undefined;
|
22
24
|
}, {
|
23
25
|
id?: string | undefined;
|
24
26
|
email?: string | undefined;
|
25
27
|
fullName?: string | undefined;
|
28
|
+
phone?: string | undefined;
|
26
29
|
externalId?: string | undefined;
|
27
30
|
ids?: string[] | undefined;
|
28
31
|
}>>;
|
@@ -94,6 +97,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
94
97
|
id?: string | undefined;
|
95
98
|
email?: string | undefined;
|
96
99
|
fullName?: string | undefined;
|
100
|
+
phone?: string | undefined;
|
97
101
|
externalId?: string | undefined;
|
98
102
|
ids?: string[] | undefined;
|
99
103
|
} | undefined;
|
@@ -132,6 +136,7 @@ export declare const ReservationSchema: import("zod").ZodObject<{
|
|
132
136
|
id?: string | undefined;
|
133
137
|
email?: string | undefined;
|
134
138
|
fullName?: string | undefined;
|
139
|
+
phone?: string | undefined;
|
135
140
|
externalId?: string | undefined;
|
136
141
|
ids?: string[] | undefined;
|
137
142
|
} | undefined;
|
@@ -9,6 +9,7 @@ const GuestSchema = (0, zod_1.object)({
|
|
9
9
|
fullName: (0, zod_1.optional)((0, zod_1.string)()),
|
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
|
+
phone: (0, zod_1.optional)((0, zod_1.string)()),
|
12
13
|
});
|
13
14
|
const ListingSchema = (0, zod_1.object)({
|
14
15
|
id: (0, zod_1.optional)((0, zod_1.string)()),
|
package/dist/schemas/thread.d.ts
CHANGED
@@ -93,6 +93,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
93
93
|
klevioId: import("zod").ZodOptional<import("zod").ZodString>;
|
94
94
|
favorites: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
95
95
|
createdAt: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
|
96
|
+
roles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
96
97
|
}, "strip", import("zod").ZodTypeAny, {
|
97
98
|
id: string;
|
98
99
|
email: string;
|
@@ -123,6 +124,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
123
124
|
klevioId?: string | undefined;
|
124
125
|
favorites?: string[] | undefined;
|
125
126
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
127
|
+
roles?: Record<string, boolean> | undefined;
|
126
128
|
}, {
|
127
129
|
id: string;
|
128
130
|
email: string;
|
@@ -153,6 +155,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
153
155
|
klevioId?: string | undefined;
|
154
156
|
favorites?: string[] | undefined;
|
155
157
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
158
|
+
roles?: Record<string, boolean> | undefined;
|
156
159
|
}>>;
|
157
160
|
contentType: import("zod").ZodString;
|
158
161
|
body: import("zod").ZodString;
|
@@ -200,6 +203,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
200
203
|
klevioId?: string | undefined;
|
201
204
|
favorites?: string[] | undefined;
|
202
205
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
206
|
+
roles?: Record<string, boolean> | undefined;
|
203
207
|
} | undefined;
|
204
208
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
205
209
|
externalMessageId?: string | undefined;
|
@@ -243,6 +247,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
243
247
|
klevioId?: string | undefined;
|
244
248
|
favorites?: string[] | undefined;
|
245
249
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
250
|
+
roles?: Record<string, boolean> | undefined;
|
246
251
|
} | undefined;
|
247
252
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
248
253
|
externalMessageId?: string | undefined;
|
@@ -347,6 +352,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
347
352
|
klevioId: import("zod").ZodOptional<import("zod").ZodString>;
|
348
353
|
favorites: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
349
354
|
createdAt: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
|
355
|
+
roles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
350
356
|
}, "strip", import("zod").ZodTypeAny, {
|
351
357
|
id: string;
|
352
358
|
email: string;
|
@@ -377,6 +383,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
377
383
|
klevioId?: string | undefined;
|
378
384
|
favorites?: string[] | undefined;
|
379
385
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
386
|
+
roles?: Record<string, boolean> | undefined;
|
380
387
|
}, {
|
381
388
|
id: string;
|
382
389
|
email: string;
|
@@ -407,6 +414,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
407
414
|
klevioId?: string | undefined;
|
408
415
|
favorites?: string[] | undefined;
|
409
416
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
417
|
+
roles?: Record<string, boolean> | undefined;
|
410
418
|
}>>;
|
411
419
|
contentType: import("zod").ZodString;
|
412
420
|
body: import("zod").ZodString;
|
@@ -454,6 +462,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
454
462
|
klevioId?: string | undefined;
|
455
463
|
favorites?: string[] | undefined;
|
456
464
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
465
|
+
roles?: Record<string, boolean> | undefined;
|
457
466
|
} | undefined;
|
458
467
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
459
468
|
externalMessageId?: string | undefined;
|
@@ -497,6 +506,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
497
506
|
klevioId?: string | undefined;
|
498
507
|
favorites?: string[] | undefined;
|
499
508
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
509
|
+
roles?: Record<string, boolean> | undefined;
|
500
510
|
} | undefined;
|
501
511
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
502
512
|
externalMessageId?: string | undefined;
|
@@ -593,6 +603,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
593
603
|
klevioId: import("zod").ZodOptional<import("zod").ZodString>;
|
594
604
|
favorites: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
595
605
|
createdAt: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
|
606
|
+
roles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
596
607
|
}, "strip", import("zod").ZodTypeAny, {
|
597
608
|
id: string;
|
598
609
|
email: string;
|
@@ -623,6 +634,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
623
634
|
klevioId?: string | undefined;
|
624
635
|
favorites?: string[] | undefined;
|
625
636
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
637
|
+
roles?: Record<string, boolean> | undefined;
|
626
638
|
}, {
|
627
639
|
id: string;
|
628
640
|
email: string;
|
@@ -653,6 +665,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
653
665
|
klevioId?: string | undefined;
|
654
666
|
favorites?: string[] | undefined;
|
655
667
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
668
|
+
roles?: Record<string, boolean> | undefined;
|
656
669
|
}>, "many">>;
|
657
670
|
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"ONE_TO_ONE">, import("zod").ZodLiteral<"GROUP">]>;
|
658
671
|
source: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -706,6 +719,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
706
719
|
klevioId?: string | undefined;
|
707
720
|
favorites?: string[] | undefined;
|
708
721
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
722
|
+
roles?: Record<string, boolean> | undefined;
|
709
723
|
} | undefined;
|
710
724
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
711
725
|
externalMessageId?: string | undefined;
|
@@ -741,6 +755,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
741
755
|
klevioId?: string | undefined;
|
742
756
|
favorites?: string[] | undefined;
|
743
757
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
758
|
+
roles?: Record<string, boolean> | undefined;
|
744
759
|
}[] | undefined;
|
745
760
|
externalThreadId?: string | undefined;
|
746
761
|
externalSource?: string | undefined;
|
@@ -791,6 +806,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
791
806
|
klevioId?: string | undefined;
|
792
807
|
favorites?: string[] | undefined;
|
793
808
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
809
|
+
roles?: Record<string, boolean> | undefined;
|
794
810
|
} | undefined;
|
795
811
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
796
812
|
externalMessageId?: string | undefined;
|
@@ -826,6 +842,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
826
842
|
klevioId?: string | undefined;
|
827
843
|
favorites?: string[] | undefined;
|
828
844
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
845
|
+
roles?: Record<string, boolean> | undefined;
|
829
846
|
}[] | undefined;
|
830
847
|
externalThreadId?: string | undefined;
|
831
848
|
externalSource?: string | undefined;
|
package/dist/schemas/user.d.ts
CHANGED
@@ -88,6 +88,7 @@ export declare const UserSchema: import("zod").ZodObject<{
|
|
88
88
|
klevioId: import("zod").ZodOptional<import("zod").ZodString>;
|
89
89
|
favorites: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
90
90
|
createdAt: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
|
91
|
+
roles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
91
92
|
}, "strip", import("zod").ZodTypeAny, {
|
92
93
|
id: string;
|
93
94
|
email: string;
|
@@ -118,6 +119,7 @@ export declare const UserSchema: import("zod").ZodObject<{
|
|
118
119
|
klevioId?: string | undefined;
|
119
120
|
favorites?: string[] | undefined;
|
120
121
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
122
|
+
roles?: Record<string, boolean> | undefined;
|
121
123
|
}, {
|
122
124
|
id: string;
|
123
125
|
email: string;
|
@@ -148,4 +150,5 @@ export declare const UserSchema: import("zod").ZodObject<{
|
|
148
150
|
klevioId?: string | undefined;
|
149
151
|
favorites?: string[] | undefined;
|
150
152
|
createdAt?: FirebaseFirestore.Timestamp | undefined;
|
153
|
+
roles?: Record<string, boolean> | undefined;
|
151
154
|
}>;
|
package/dist/schemas/user.js
CHANGED
@@ -41,4 +41,5 @@ exports.UserSchema = (0, zod_1.object)({
|
|
41
41
|
klevioId: (0, zod_1.optional)((0, zod_1.string)()),
|
42
42
|
favorites: (0, zod_1.optional)((0, zod_1.array)((0, zod_1.string)())),
|
43
43
|
createdAt: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
|
44
|
+
roles: (0, zod_1.optional)((0, zod_1.record)((0, zod_1.string)(), (0, zod_1.boolean)())),
|
44
45
|
});
|