hububb-saas-shared 1.0.19 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,8 +31,8 @@ export declare const BookingResponseSchema: import("zod").ZodObject<{
31
31
  address: string | null;
32
32
  country: string | null;
33
33
  language: string | null;
34
- city: string | null;
35
34
  phone: string | null;
35
+ city: string | null;
36
36
  company: string | null;
37
37
  mail: string;
38
38
  surname: string;
@@ -45,8 +45,8 @@ export declare const BookingResponseSchema: import("zod").ZodObject<{
45
45
  address: string | null;
46
46
  country: string | null;
47
47
  language: string | null;
48
- city: string | null;
49
48
  phone: string | null;
49
+ city: string | null;
50
50
  company: string | null;
51
51
  mail: string;
52
52
  surname: string;
@@ -421,8 +421,8 @@ export declare const BookingResponseSchema: import("zod").ZodObject<{
421
421
  address: string | null;
422
422
  country: string | null;
423
423
  language: string | null;
424
- city: string | null;
425
424
  phone: string | null;
425
+ city: string | null;
426
426
  company: string | null;
427
427
  mail: string;
428
428
  surname: string;
@@ -526,8 +526,8 @@ export declare const BookingResponseSchema: import("zod").ZodObject<{
526
526
  address: string | null;
527
527
  country: string | null;
528
528
  language: string | null;
529
- city: string | null;
530
529
  phone: string | null;
530
+ city: string | null;
531
531
  company: string | null;
532
532
  mail: string;
533
533
  surname: string;
@@ -635,8 +635,8 @@ export declare const BookingResponseSchema: import("zod").ZodObject<{
635
635
  address: string | null;
636
636
  country: string | null;
637
637
  language: string | null;
638
- city: string | null;
639
638
  phone: string | null;
639
+ city: string | null;
640
640
  company: string | null;
641
641
  mail: string;
642
642
  surname: string;
@@ -744,8 +744,8 @@ export declare const BookingResponseSchema: import("zod").ZodObject<{
744
744
  address: string | null;
745
745
  country: string | null;
746
746
  language: string | null;
747
- city: string | null;
748
747
  phone: string | null;
748
+ city: string | null;
749
749
  company: string | null;
750
750
  mail: string;
751
751
  surname: string;
@@ -855,8 +855,8 @@ export declare const BookingResponseSchema: import("zod").ZodObject<{
855
855
  address: string | null;
856
856
  country: string | null;
857
857
  language: string | null;
858
- city: string | null;
859
858
  phone: string | null;
859
+ city: string | null;
860
860
  company: string | null;
861
861
  mail: string;
862
862
  surname: string;
@@ -966,8 +966,8 @@ export declare const BookingResponseSchema: import("zod").ZodObject<{
966
966
  address: string | null;
967
967
  country: string | null;
968
968
  language: string | null;
969
- city: string | null;
970
969
  phone: string | null;
970
+ city: string | null;
971
971
  company: string | null;
972
972
  mail: string;
973
973
  surname: string;
@@ -10,6 +10,10 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
10
10
  createdAt: import("zod").ZodDate;
11
11
  updatedAt: import("zod").ZodDate;
12
12
  tierId: import("zod").ZodNumber;
13
+ firstName: import("zod").ZodString;
14
+ lastName: import("zod").ZodString;
15
+ phone: import("zod").ZodString;
16
+ isOnboardingCompleted: import("zod").ZodBoolean;
13
17
  }, "strip", import("zod").ZodTypeAny, {
14
18
  name: string;
15
19
  id: string;
@@ -17,6 +21,10 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
17
21
  createdAt: Date;
18
22
  updatedAt: Date;
19
23
  tierId: number;
24
+ firstName: string;
25
+ lastName: string;
26
+ phone: string;
27
+ isOnboardingCompleted: boolean;
20
28
  }, {
21
29
  name: string;
22
30
  id: string;
@@ -24,6 +32,10 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
24
32
  createdAt: Date;
25
33
  updatedAt: Date;
26
34
  tierId: number;
35
+ firstName: string;
36
+ lastName: string;
37
+ phone: string;
38
+ isOnboardingCompleted: boolean;
27
39
  }>>;
28
40
  contentType: import("zod").ZodString;
29
41
  body: import("zod").ZodString;
@@ -49,6 +61,10 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
49
61
  createdAt: Date;
50
62
  updatedAt: Date;
51
63
  tierId: number;
64
+ firstName: string;
65
+ lastName: string;
66
+ phone: string;
67
+ isOnboardingCompleted: boolean;
52
68
  } | undefined;
53
69
  lastSeen?: import("@firebase/firestore-types").Timestamp | undefined;
54
70
  externalMessageId?: string | undefined;
@@ -69,6 +85,10 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
69
85
  createdAt: Date;
70
86
  updatedAt: Date;
71
87
  tierId: number;
88
+ firstName: string;
89
+ lastName: string;
90
+ phone: string;
91
+ isOnboardingCompleted: boolean;
72
92
  } | undefined;
73
93
  lastSeen?: import("@firebase/firestore-types").Timestamp | undefined;
74
94
  externalMessageId?: string | undefined;
@@ -89,6 +109,10 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
89
109
  createdAt: import("zod").ZodDate;
90
110
  updatedAt: import("zod").ZodDate;
91
111
  tierId: import("zod").ZodNumber;
112
+ firstName: import("zod").ZodString;
113
+ lastName: import("zod").ZodString;
114
+ phone: import("zod").ZodString;
115
+ isOnboardingCompleted: import("zod").ZodBoolean;
92
116
  }, "strip", import("zod").ZodTypeAny, {
93
117
  name: string;
94
118
  id: string;
@@ -96,6 +120,10 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
96
120
  createdAt: Date;
97
121
  updatedAt: Date;
98
122
  tierId: number;
123
+ firstName: string;
124
+ lastName: string;
125
+ phone: string;
126
+ isOnboardingCompleted: boolean;
99
127
  }, {
100
128
  name: string;
101
129
  id: string;
@@ -103,6 +131,10 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
103
131
  createdAt: Date;
104
132
  updatedAt: Date;
105
133
  tierId: number;
134
+ firstName: string;
135
+ lastName: string;
136
+ phone: string;
137
+ isOnboardingCompleted: boolean;
106
138
  }>>;
107
139
  contentType: import("zod").ZodString;
108
140
  body: import("zod").ZodString;
@@ -128,6 +160,10 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
128
160
  createdAt: Date;
129
161
  updatedAt: Date;
130
162
  tierId: number;
163
+ firstName: string;
164
+ lastName: string;
165
+ phone: string;
166
+ isOnboardingCompleted: boolean;
131
167
  } | undefined;
132
168
  lastSeen?: import("@firebase/firestore-types").Timestamp | undefined;
133
169
  externalMessageId?: string | undefined;
@@ -148,6 +184,10 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
148
184
  createdAt: Date;
149
185
  updatedAt: Date;
150
186
  tierId: number;
187
+ firstName: string;
188
+ lastName: string;
189
+ phone: string;
190
+ isOnboardingCompleted: boolean;
151
191
  } | undefined;
152
192
  lastSeen?: import("@firebase/firestore-types").Timestamp | undefined;
153
193
  externalMessageId?: string | undefined;
@@ -160,6 +200,10 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
160
200
  createdAt: import("zod").ZodDate;
161
201
  updatedAt: import("zod").ZodDate;
162
202
  tierId: import("zod").ZodNumber;
203
+ firstName: import("zod").ZodString;
204
+ lastName: import("zod").ZodString;
205
+ phone: import("zod").ZodString;
206
+ isOnboardingCompleted: import("zod").ZodBoolean;
163
207
  }, "strip", import("zod").ZodTypeAny, {
164
208
  name: string;
165
209
  id: string;
@@ -167,6 +211,10 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
167
211
  createdAt: Date;
168
212
  updatedAt: Date;
169
213
  tierId: number;
214
+ firstName: string;
215
+ lastName: string;
216
+ phone: string;
217
+ isOnboardingCompleted: boolean;
170
218
  }, {
171
219
  name: string;
172
220
  id: string;
@@ -174,6 +222,10 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
174
222
  createdAt: Date;
175
223
  updatedAt: Date;
176
224
  tierId: number;
225
+ firstName: string;
226
+ lastName: string;
227
+ phone: string;
228
+ isOnboardingCompleted: boolean;
177
229
  }>, "many">>;
178
230
  type: import("zod").ZodUnion<[import("zod").ZodLiteral<"ONE_TO_ONE">, import("zod").ZodLiteral<"GROUP">]>;
179
231
  source: import("zod").ZodOptional<import("zod").ZodString>;
@@ -184,6 +236,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
184
236
  isImportant: import("zod").ZodOptional<import("zod").ZodBoolean>;
185
237
  needsAttention: import("zod").ZodArray<import("zod").ZodString, "many">;
186
238
  needsAttentionMap: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>;
239
+ propertyId: import("zod").ZodOptional<import("zod").ZodString>;
187
240
  }, "strip", import("zod").ZodTypeAny, {
188
241
  type: "ONE_TO_ONE" | "GROUP";
189
242
  createdAt: import("@firebase/firestore-types").Timestamp;
@@ -195,6 +248,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
195
248
  id?: string | undefined;
196
249
  source?: string | undefined;
197
250
  title?: string | undefined;
251
+ propertyId?: string | undefined;
198
252
  lastMessage?: {
199
253
  id: string;
200
254
  body: string;
@@ -212,6 +266,10 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
212
266
  createdAt: Date;
213
267
  updatedAt: Date;
214
268
  tierId: number;
269
+ firstName: string;
270
+ lastName: string;
271
+ phone: string;
272
+ isOnboardingCompleted: boolean;
215
273
  } | undefined;
216
274
  lastSeen?: import("@firebase/firestore-types").Timestamp | undefined;
217
275
  externalMessageId?: string | undefined;
@@ -223,6 +281,10 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
223
281
  createdAt: Date;
224
282
  updatedAt: Date;
225
283
  tierId: number;
284
+ firstName: string;
285
+ lastName: string;
286
+ phone: string;
287
+ isOnboardingCompleted: boolean;
226
288
  }[] | undefined;
227
289
  externalThreadId?: string | undefined;
228
290
  externalSource?: string | undefined;
@@ -238,6 +300,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
238
300
  id?: string | undefined;
239
301
  source?: string | undefined;
240
302
  title?: string | undefined;
303
+ propertyId?: string | undefined;
241
304
  lastMessage?: {
242
305
  id: string;
243
306
  body: string;
@@ -255,6 +318,10 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
255
318
  createdAt: Date;
256
319
  updatedAt: Date;
257
320
  tierId: number;
321
+ firstName: string;
322
+ lastName: string;
323
+ phone: string;
324
+ isOnboardingCompleted: boolean;
258
325
  } | undefined;
259
326
  lastSeen?: import("@firebase/firestore-types").Timestamp | undefined;
260
327
  externalMessageId?: string | undefined;
@@ -266,6 +333,10 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
266
333
  createdAt: Date;
267
334
  updatedAt: Date;
268
335
  tierId: number;
336
+ firstName: string;
337
+ lastName: string;
338
+ phone: string;
339
+ isOnboardingCompleted: boolean;
269
340
  }[] | undefined;
270
341
  externalThreadId?: string | undefined;
271
342
  externalSource?: string | undefined;
@@ -35,4 +35,5 @@ exports.ChatThreadSchema = (0, zod_1.object)({
35
35
  isImportant: (0, zod_1.optional)((0, zod_1.boolean)()),
36
36
  needsAttention: (0, zod_1.array)((0, zod_1.string)()),
37
37
  needsAttentionMap: (0, zod_1.record)((0, zod_1.string)(), (0, zod_1.boolean)()),
38
+ propertyId: (0, zod_1.optional)((0, zod_1.string)()),
38
39
  });
@@ -5,6 +5,10 @@ export declare const userSchema: import("zod").ZodObject<{
5
5
  createdAt: import("zod").ZodDate;
6
6
  updatedAt: import("zod").ZodDate;
7
7
  tierId: import("zod").ZodNumber;
8
+ firstName: import("zod").ZodString;
9
+ lastName: import("zod").ZodString;
10
+ phone: import("zod").ZodString;
11
+ isOnboardingCompleted: import("zod").ZodBoolean;
8
12
  }, "strip", import("zod").ZodTypeAny, {
9
13
  name: string;
10
14
  id: string;
@@ -12,6 +16,10 @@ export declare const userSchema: import("zod").ZodObject<{
12
16
  createdAt: Date;
13
17
  updatedAt: Date;
14
18
  tierId: number;
19
+ firstName: string;
20
+ lastName: string;
21
+ phone: string;
22
+ isOnboardingCompleted: boolean;
15
23
  }, {
16
24
  name: string;
17
25
  id: string;
@@ -19,4 +27,8 @@ export declare const userSchema: import("zod").ZodObject<{
19
27
  createdAt: Date;
20
28
  updatedAt: Date;
21
29
  tierId: number;
30
+ firstName: string;
31
+ lastName: string;
32
+ phone: string;
33
+ isOnboardingCompleted: boolean;
22
34
  }>;
@@ -9,4 +9,8 @@ exports.userSchema = (0, zod_1.object)({
9
9
  createdAt: (0, zod_1.date)(),
10
10
  updatedAt: (0, zod_1.date)(),
11
11
  tierId: (0, zod_1.number)(),
12
+ firstName: (0, zod_1.string)(),
13
+ lastName: (0, zod_1.string)(),
14
+ phone: (0, zod_1.string)(),
15
+ isOnboardingCompleted: (0, zod_1.boolean)(),
12
16
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "hububb-saas-shared",
4
- "version": "1.0.19",
4
+ "version": "1.0.21",
5
5
  "description": "This is a shared package for the hububb saas project",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",