hububb-models 1.0.78 → 1.0.79
Sign up to get free protection for your applications and to get access to all the features.
@@ -13,13 +13,13 @@ export declare const ChannexMessageThreadSchema: import("zod").ZodObject<{
|
|
13
13
|
sender: import("zod").ZodString;
|
14
14
|
}, "strip", import("zod").ZodTypeAny, {
|
15
15
|
message: string;
|
16
|
-
inserted_at: string;
|
17
16
|
attachments: string[];
|
17
|
+
inserted_at: string;
|
18
18
|
sender: string;
|
19
19
|
}, {
|
20
20
|
message: string;
|
21
|
-
inserted_at: string;
|
22
21
|
attachments: string[];
|
22
|
+
inserted_at: string;
|
23
23
|
sender: string;
|
24
24
|
}>>;
|
25
25
|
last_message_received_at: import("zod").ZodString;
|
@@ -35,8 +35,8 @@ export declare const ChannexMessageThreadSchema: import("zod").ZodObject<{
|
|
35
35
|
updated_at: string;
|
36
36
|
last_message?: {
|
37
37
|
message: string;
|
38
|
-
inserted_at: string;
|
39
38
|
attachments: string[];
|
39
|
+
inserted_at: string;
|
40
40
|
sender: string;
|
41
41
|
} | undefined;
|
42
42
|
}, {
|
@@ -49,8 +49,8 @@ export declare const ChannexMessageThreadSchema: import("zod").ZodObject<{
|
|
49
49
|
updated_at: string;
|
50
50
|
last_message?: {
|
51
51
|
message: string;
|
52
|
-
inserted_at: string;
|
53
52
|
attachments: string[];
|
53
|
+
inserted_at: string;
|
54
54
|
sender: string;
|
55
55
|
} | undefined;
|
56
56
|
}>;
|
@@ -173,8 +173,8 @@ export declare const ChannexMessageThreadSchema: import("zod").ZodObject<{
|
|
173
173
|
updated_at: string;
|
174
174
|
last_message?: {
|
175
175
|
message: string;
|
176
|
-
inserted_at: string;
|
177
176
|
attachments: string[];
|
177
|
+
inserted_at: string;
|
178
178
|
sender: string;
|
179
179
|
} | undefined;
|
180
180
|
};
|
@@ -211,8 +211,8 @@ export declare const ChannexMessageThreadSchema: import("zod").ZodObject<{
|
|
211
211
|
updated_at: string;
|
212
212
|
last_message?: {
|
213
213
|
message: string;
|
214
|
-
inserted_at: string;
|
215
214
|
attachments: string[];
|
215
|
+
inserted_at: string;
|
216
216
|
sender: string;
|
217
217
|
} | undefined;
|
218
218
|
};
|
@@ -255,9 +255,9 @@ export declare const WebhookChannexMessageSchema: import("zod").ZodObject<{
|
|
255
255
|
}, "strip", import("zod").ZodTypeAny, {
|
256
256
|
message: string;
|
257
257
|
id: string;
|
258
|
+
attachments: string[];
|
258
259
|
property_id: string;
|
259
260
|
booking_id: string;
|
260
|
-
attachments: string[];
|
261
261
|
sender: string;
|
262
262
|
message_thread_id: string;
|
263
263
|
live_feed_event_id: string;
|
@@ -266,9 +266,9 @@ export declare const WebhookChannexMessageSchema: import("zod").ZodObject<{
|
|
266
266
|
}, {
|
267
267
|
message: string;
|
268
268
|
id: string;
|
269
|
+
attachments: string[];
|
269
270
|
property_id: string;
|
270
271
|
booking_id: string;
|
271
|
-
attachments: string[];
|
272
272
|
sender: string;
|
273
273
|
message_thread_id: string;
|
274
274
|
live_feed_event_id: string;
|
@@ -281,9 +281,9 @@ export declare const WebhookChannexMessageSchema: import("zod").ZodObject<{
|
|
281
281
|
payload: {
|
282
282
|
message: string;
|
283
283
|
id: string;
|
284
|
+
attachments: string[];
|
284
285
|
property_id: string;
|
285
286
|
booking_id: string;
|
286
|
-
attachments: string[];
|
287
287
|
sender: string;
|
288
288
|
message_thread_id: string;
|
289
289
|
live_feed_event_id: string;
|
@@ -298,9 +298,9 @@ export declare const WebhookChannexMessageSchema: import("zod").ZodObject<{
|
|
298
298
|
payload: {
|
299
299
|
message: string;
|
300
300
|
id: string;
|
301
|
+
attachments: string[];
|
301
302
|
property_id: string;
|
302
303
|
booking_id: string;
|
303
|
-
attachments: string[];
|
304
304
|
sender: string;
|
305
305
|
message_thread_id: string;
|
306
306
|
live_feed_event_id: string;
|
package/dist/schemas/thread.d.ts
CHANGED
@@ -157,6 +157,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
157
157
|
lastSeen: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
|
158
158
|
source: import("zod").ZodOptional<import("zod").ZodString>;
|
159
159
|
externalMessageId: import("zod").ZodOptional<import("zod").ZodString>;
|
160
|
+
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
160
161
|
}, "strip", import("zod").ZodTypeAny, {
|
161
162
|
id: string;
|
162
163
|
body: string;
|
@@ -198,6 +199,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
198
199
|
} | undefined;
|
199
200
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
200
201
|
externalMessageId?: string | undefined;
|
202
|
+
attachments?: string[] | undefined;
|
201
203
|
}, {
|
202
204
|
id: string;
|
203
205
|
body: string;
|
@@ -239,6 +241,7 @@ export declare const ChatMessageSchema: import("zod").ZodObject<{
|
|
239
241
|
} | undefined;
|
240
242
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
241
243
|
externalMessageId?: string | undefined;
|
244
|
+
attachments?: string[] | undefined;
|
242
245
|
}>;
|
243
246
|
export declare const ChatThreadSchema: import("zod").ZodObject<{
|
244
247
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -403,6 +406,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
403
406
|
lastSeen: import("zod").ZodOptional<import("zod").ZodType<FirebaseFirestore.Timestamp, import("zod").ZodTypeDef, FirebaseFirestore.Timestamp>>;
|
404
407
|
source: import("zod").ZodOptional<import("zod").ZodString>;
|
405
408
|
externalMessageId: import("zod").ZodOptional<import("zod").ZodString>;
|
409
|
+
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
406
410
|
}, "strip", import("zod").ZodTypeAny, {
|
407
411
|
id: string;
|
408
412
|
body: string;
|
@@ -444,6 +448,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
444
448
|
} | undefined;
|
445
449
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
446
450
|
externalMessageId?: string | undefined;
|
451
|
+
attachments?: string[] | undefined;
|
447
452
|
}, {
|
448
453
|
id: string;
|
449
454
|
body: string;
|
@@ -485,6 +490,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
485
490
|
} | undefined;
|
486
491
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
487
492
|
externalMessageId?: string | undefined;
|
493
|
+
attachments?: string[] | undefined;
|
488
494
|
}>>;
|
489
495
|
participantIds: import("zod").ZodArray<import("zod").ZodString, "many">;
|
490
496
|
participants: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
@@ -689,6 +695,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
689
695
|
} | undefined;
|
690
696
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
691
697
|
externalMessageId?: string | undefined;
|
698
|
+
attachments?: string[] | undefined;
|
692
699
|
} | undefined;
|
693
700
|
participants?: {
|
694
701
|
id: string;
|
@@ -771,6 +778,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
771
778
|
} | undefined;
|
772
779
|
lastSeen?: FirebaseFirestore.Timestamp | undefined;
|
773
780
|
externalMessageId?: string | undefined;
|
781
|
+
attachments?: string[] | undefined;
|
774
782
|
} | undefined;
|
775
783
|
participants?: {
|
776
784
|
id: string;
|
package/dist/schemas/thread.js
CHANGED
@@ -17,6 +17,7 @@ exports.ChatMessageSchema = (0, zod_1.object)({
|
|
17
17
|
lastSeen: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
|
18
18
|
source: (0, zod_1.optional)((0, zod_1.string)()),
|
19
19
|
externalMessageId: (0, zod_1.optional)((0, zod_1.string)()),
|
20
|
+
attachments: (0, zod_1.optional)((0, zod_1.array)((0, zod_1.string)())),
|
20
21
|
});
|
21
22
|
exports.ChatThreadSchema = (0, zod_1.object)({
|
22
23
|
id: (0, zod_1.optional)((0, zod_1.string)()),
|