@trii/types 2.10.213 → 2.10.215
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.
|
@@ -35,8 +35,8 @@ export interface IMessage {
|
|
|
35
35
|
ticket?: MessageTicket;
|
|
36
36
|
email?: MessageEmail;
|
|
37
37
|
buttons?: [];
|
|
38
|
-
reactions?: [];
|
|
39
|
-
messageReference
|
|
38
|
+
reactions?: MessageReaction[];
|
|
39
|
+
messageReference?: MessageReference;
|
|
40
40
|
isLoaded: boolean;
|
|
41
41
|
deleted: boolean;
|
|
42
42
|
updatedAt?: Date;
|
|
@@ -142,6 +142,10 @@ export interface MessageReference {
|
|
|
142
142
|
messageId: string;
|
|
143
143
|
channelId: string;
|
|
144
144
|
}
|
|
145
|
+
export interface MessageReaction {
|
|
146
|
+
reaction: 'react' | 'unreact';
|
|
147
|
+
emoji: string;
|
|
148
|
+
}
|
|
145
149
|
export interface MessageEmail {
|
|
146
150
|
/**Remitente del correo */
|
|
147
151
|
from: string;
|
|
@@ -22,5 +22,5 @@ export var ConversationSatus;
|
|
|
22
22
|
(function (ConversationSatus) {
|
|
23
23
|
ConversationSatus[ConversationSatus["NEW"] = 1] = "NEW";
|
|
24
24
|
ConversationSatus[ConversationSatus["ACTIVE"] = 2] = "ACTIVE";
|
|
25
|
-
ConversationSatus[ConversationSatus["FINALIZED"] =
|
|
25
|
+
ConversationSatus[ConversationSatus["FINALIZED"] = 3] = "FINALIZED";
|
|
26
26
|
})(ConversationSatus || (ConversationSatus = {}));
|