@trii/types 2.10.241 → 2.10.243
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.
|
@@ -47,11 +47,17 @@ export interface IMessage {
|
|
|
47
47
|
poll?: MessagePoll;
|
|
48
48
|
reactions?: MessageReaction[];
|
|
49
49
|
messageReference?: MessageReference;
|
|
50
|
+
comment?: CommentData;
|
|
50
51
|
isLoaded: boolean;
|
|
51
52
|
deleted: boolean;
|
|
52
53
|
updatedAt?: Date;
|
|
53
54
|
updatedBy?: UserInfo;
|
|
54
55
|
}
|
|
56
|
+
export interface CommentData {
|
|
57
|
+
userId: string;
|
|
58
|
+
text: string;
|
|
59
|
+
timestamp: Date;
|
|
60
|
+
}
|
|
55
61
|
export interface MessageContactData {
|
|
56
62
|
address?: string;
|
|
57
63
|
name?: string;
|
|
@@ -19,7 +19,7 @@ export interface IBusiness {
|
|
|
19
19
|
name: string;
|
|
20
20
|
imageUrl: string;
|
|
21
21
|
owner?: string;
|
|
22
|
-
|
|
22
|
+
membersId: string[];
|
|
23
23
|
phone: string;
|
|
24
24
|
phones: IContactAddress[];
|
|
25
25
|
email: string;
|
|
@@ -48,7 +48,7 @@ export interface IContact {
|
|
|
48
48
|
birthDate?: Date | null;
|
|
49
49
|
owner?: string;
|
|
50
50
|
listId?: string | '';
|
|
51
|
-
|
|
51
|
+
businessId?: string;
|
|
52
52
|
phone: string;
|
|
53
53
|
phones: IContactAddress[];
|
|
54
54
|
email: string;
|