-
Notifications
You must be signed in to change notification settings - Fork 110
/
Copy pathmessageConstants.js
51 lines (46 loc) · 2.31 KB
/
messageConstants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
module.exports = {
CHAT_MESSAGE_STATUS : {
FAILED : -100,
SENDING : 0,
SENT : 100, //saved into sender timeline
DELIVERED : 150, //delivered to recipient timeline
RECEIVED : 200, //received from the recipient client
RETURN_RECEIPT: 250, //return receipt from the recipient client
SEEN : 300 //seen
},
CHANNEL_TYPE : {
GROUP : "group",
DIRECT : "direct",
},
MESSAGE_TYPE : {
TEXT : "text",
IMAGE : "image",
FRAME: "frame"
},
LABELS : {
EN : {
// JOIN_OPERATOR_MESSAGE : "We are putting you in touch with an operator..",
NO_AVAILABLE_OPERATOR_MESSAGE : "Hello, no operators are available at the moment. Please leave a chat message, we will reply to you soon.",
// TOUCHING_OPERATOR: "We are putting you in touch with an operator. Please wait..",
TOUCHING_OPERATOR: "A new support request has been assigned to you"
// THANKS_MESSAGE: "Thank you for using our support system",
// REOPEN_MESSAGE : "Chat re-opened"
},
IT : {
// JOIN_OPERATOR_MESSAGE : "La stiamo mettendo in contatto con un operatore. Attenda...",
NO_AVAILABLE_OPERATOR_MESSAGE : "Salve al momento non è disponibile alcun operatore. Lasci un messaggio in chat, la contatteremo presto.",
TOUCHING_OPERATOR: "Una nuova richiesta di supporto è stata assegnata a te"
// TOUCHING_OPERATOR :"La stiamo mettendo in contatto con un operatore. Attenda...",
// THANKS_MESSAGE: "Grazie per aver utilizzato il nostro sistema di supporto",
// REOPEN_MESSAGE : "Chat riaperta"
},
"IT-IT" : {
// JOIN_OPERATOR_MESSAGE : "La stiamo mettendo in contatto con un operatore. Attenda...",
NO_AVAILABLE_OPERATOR_MESSAGE : "Salve al momento non è disponibile alcun operatore. Lasci un messaggio in chat, la contatteremo presto.",
TOUCHING_OPERATOR: "Una nuova richiesta di supporto è stata assegnata a te"
// TOUCHING_OPERATOR :"La stiamo mettendo in contatto con un operatore. Attenda...",
// THANKS_MESSAGE: "Grazie per aver utilizzato il nostro sistema di supporto",
// REOPEN_MESSAGE : "Chat riaperta"
}
}
}