import { makeConstantFactory } from '../../utils/constantsHelper' const makeConstant = makeConstantFactory('conversations') export const FETCH_CONVERSATIONS = makeConstant('FETCH_CONVERSATIONS') export const FETCH_CONVERSATIONS_PENDING = makeConstant('FETCH_CONVERSATIONS_PENDING') export const FETCH_CONVERSATIONS_SUCCESS = makeConstant('FETCH_CONVERSATIONS_SUCCESS') export const FETCH_CONVERSATIONS_FAILED = makeConstant('FETCH_CONVERSATIONS_FAILED') export const FETCH_CONVERSATIONS_FROM_INBOX = makeConstant('FETCH_CONVERSATIONS_FROM_INBOX') export const FETCH_CONVERSATIONS_FROM_INBOX_PENDING = makeConstant('FETCH_CONVERSATIONS_FROM_INBOX_PENDING') export const FETCH_CONVERSATIONS_FROM_INBOX_SUCCESS = makeConstant('FETCH_CONVERSATIONS_FROM_INBOX_SUCCESS') export const FETCH_CONVERSATIONS_FROM_INBOX_FAILED = makeConstant('FETCH_CONVERSATIONS_FROM_INBOX_FAILED') export const FETCH_MESSAGES_FOR_CONVERSATION = makeConstant('FETCH_MESSAGES_FOR_CONVERSATION') export const FETCH_MESSAGES_FOR_CONVERSATION_PENDING = makeConstant('FETCH_MESSAGES_FOR_CONVERSATION_PENDING') export const FETCH_MESSAGES_FOR_CONVERSATION_SUCCESS = makeConstant('FETCH_MESSAGES_FOR_CONVERSATION_SUCCESS') export const FETCH_MESSAGES_FOR_CONVERSATION_FAILED = makeConstant('FETCH_MESSAGES_FOR_CONVERSATION_FAILED') export const STORE_PARTICIPANT_IDS = makeConstant('STORE_PARTICIPANT_IDS') export const PARTICIPANT_CHANGE = makeConstant('PARTICIPANT_CHANGE') export const NEW_CONVERSATION = makeConstant('NEW_CONVERSATION') export const NEW_MESSAGE_IN_CONVERSATION = makeConstant('NEW_MESSAGE_IN_CONVERSATION') export const UPDATE_CONVERSATION = makeConstant('UPDATE_CONVERSATION') export const DELETE_MESSAGES_BY_CONVERSATION_ID = makeConstant('DELETE_MESSAGES_BY_CONVERSATION_ID') export const DELETE_CONVERSATION = makeConstant('DELETE_CONVERSATION') export const RECIEVE_READ_RECEIPT = makeConstant('RECIEVE_READ_RECEIPT') export const TOGGLE_CONVERSATION_ICON = makeConstant('TOGGLE_CONVERSATION_ICON') export const RESET_CONVERSATIONS = makeConstant('RESET_CONVERSATIONS')