2019-08-14 09:48:44 +00:00
|
|
|
import Vue from 'vue';
|
|
|
|
import Vuex from 'vuex';
|
|
|
|
|
2019-12-21 17:24:35 +00:00
|
|
|
import agents from './modules/agents';
|
2019-08-14 09:48:44 +00:00
|
|
|
import auth from './modules/auth';
|
2019-12-21 17:24:35 +00:00
|
|
|
import billing from './modules/billing';
|
2019-08-14 09:48:44 +00:00
|
|
|
import cannedResponse from './modules/cannedResponse';
|
2019-12-21 17:24:35 +00:00
|
|
|
import Channel from './modules/channels';
|
2020-01-01 17:00:43 +00:00
|
|
|
import contacts from './modules/contacts';
|
2020-01-13 05:47:03 +00:00
|
|
|
import contactConversations from './modules/contactConversations';
|
2020-01-01 17:00:43 +00:00
|
|
|
import conversationMetadata from './modules/conversationMetadata';
|
2020-01-21 13:12:44 +00:00
|
|
|
import conversationLabels from './modules/conversationLabels';
|
2019-12-21 17:24:35 +00:00
|
|
|
import conversations from './modules/conversations';
|
2019-12-28 16:26:42 +00:00
|
|
|
import inboxes from './modules/inboxes';
|
|
|
|
import inboxMembers from './modules/inboxMembers';
|
2019-08-14 09:48:44 +00:00
|
|
|
import reports from './modules/reports';
|
|
|
|
|
|
|
|
Vue.use(Vuex);
|
|
|
|
export default new Vuex.Store({
|
|
|
|
modules: {
|
2019-12-21 17:24:35 +00:00
|
|
|
agents,
|
2019-08-14 09:48:44 +00:00
|
|
|
auth,
|
2019-12-21 17:24:35 +00:00
|
|
|
billing,
|
2019-08-14 09:48:44 +00:00
|
|
|
cannedResponse,
|
2019-12-21 17:24:35 +00:00
|
|
|
Channel,
|
2020-01-01 17:00:43 +00:00
|
|
|
contacts,
|
2020-01-13 05:47:03 +00:00
|
|
|
contactConversations,
|
2020-01-21 13:12:44 +00:00
|
|
|
conversationLabels,
|
2020-01-01 17:00:43 +00:00
|
|
|
conversationMetadata,
|
2019-12-21 17:24:35 +00:00
|
|
|
conversations,
|
2019-12-28 16:26:42 +00:00
|
|
|
inboxes,
|
|
|
|
inboxMembers,
|
2019-08-14 09:48:44 +00:00
|
|
|
reports,
|
|
|
|
},
|
|
|
|
});
|