Chatwoot/app/javascript/shared/constants/messages.js

48 lines
722 B
JavaScript
Raw Normal View History

export const MESSAGE_STATUS = {
FAILED: 'failed',
SENT: 'sent',
PROGRESS: 'progress',
};
export const MESSAGE_TYPE = {
INCOMING: 0,
OUTGOING: 1,
ACTIVITY: 2,
TEMPLATE: 3,
};
// Size in mega bytes
export const MAXIMUM_FILE_UPLOAD_SIZE = 40;
export const CSAT_RATINGS = [
{
key: 'disappointed',
emoji: '😞',
value: 1,
2021-07-14 04:50:06 +00:00
color: '#FDAD2A',
},
{
key: 'expressionless',
emoji: '😑',
value: 2,
2021-07-14 04:50:06 +00:00
color: '#FFC532',
},
{
key: 'neutral',
emoji: '😐',
value: 3,
2021-07-14 04:50:06 +00:00
color: '#FCEC56',
},
{
key: 'grinning',
emoji: '😀',
value: 4,
2021-07-14 04:50:06 +00:00
color: '#6FD86F',
},
{
key: 'smiling',
emoji: '😍',
value: 5,
2021-07-14 04:50:06 +00:00
color: '#44CE4B',
},
];