2019-08-14 09:48:44 +00:00
|
|
|
import Vue from 'vue';
|
|
|
|
import Vuex from 'vuex';
|
|
|
|
|
2020-05-11 20:01:40 +00:00
|
|
|
import accounts from './modules/accounts';
|
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';
|
|
|
|
import cannedResponse from './modules/cannedResponse';
|
2020-01-13 05:47:03 +00:00
|
|
|
import contactConversations from './modules/contactConversations';
|
2020-03-01 12:17:08 +00:00
|
|
|
import contacts from './modules/contacts';
|
2021-01-24 19:29:44 +00:00
|
|
|
import notifications from './modules/notifications';
|
2020-01-21 13:12:44 +00:00
|
|
|
import conversationLabels from './modules/conversationLabels';
|
2020-02-26 15:45:01 +00:00
|
|
|
import conversationMetadata from './modules/conversationMetadata';
|
|
|
|
import conversationPage from './modules/conversationPage';
|
2019-12-21 17:24:35 +00:00
|
|
|
import conversations from './modules/conversations';
|
2020-11-07 20:16:45 +00:00
|
|
|
import conversationSearch from './modules/conversationSearch';
|
2020-06-14 08:37:52 +00:00
|
|
|
import conversationStats from './modules/conversationStats';
|
2020-05-11 20:01:40 +00:00
|
|
|
import conversationTypingStatus from './modules/conversationTypingStatus';
|
|
|
|
import globalConfig from 'shared/store/globalConfig';
|
2019-12-28 16:26:42 +00:00
|
|
|
import inboxes from './modules/inboxes';
|
|
|
|
import inboxMembers from './modules/inboxMembers';
|
2021-04-22 17:47:29 +00:00
|
|
|
import inboxAssignableAgents from './modules/inboxAssignableAgents';
|
2020-06-22 07:49:26 +00:00
|
|
|
import integrations from './modules/integrations';
|
2020-06-25 15:34:03 +00:00
|
|
|
import labels from './modules/labels';
|
2019-08-14 09:48:44 +00:00
|
|
|
import reports from './modules/reports';
|
2020-03-01 12:17:08 +00:00
|
|
|
import userNotificationSettings from './modules/userNotificationSettings';
|
2020-02-29 12:13:49 +00:00
|
|
|
import webhooks from './modules/webhooks';
|
2021-02-04 07:49:59 +00:00
|
|
|
import teams from './modules/teams';
|
|
|
|
import teamMembers from './modules/teamMembers';
|
2021-05-04 09:38:41 +00:00
|
|
|
import campaigns from './modules/campaigns';
|
2019-08-14 09:48:44 +00:00
|
|
|
|
|
|
|
Vue.use(Vuex);
|
|
|
|
export default new Vuex.Store({
|
|
|
|
modules: {
|
2020-05-04 17:37:56 +00:00
|
|
|
accounts,
|
2019-12-21 17:24:35 +00:00
|
|
|
agents,
|
2019-08-14 09:48:44 +00:00
|
|
|
auth,
|
|
|
|
cannedResponse,
|
2020-01-13 05:47:03 +00:00
|
|
|
contactConversations,
|
2020-05-04 17:37:56 +00:00
|
|
|
contacts,
|
2021-01-24 19:29:44 +00:00
|
|
|
notifications,
|
2020-01-21 13:12:44 +00:00
|
|
|
conversationLabels,
|
2020-01-01 17:00:43 +00:00
|
|
|
conversationMetadata,
|
2020-02-26 15:45:01 +00:00
|
|
|
conversationPage,
|
2019-12-21 17:24:35 +00:00
|
|
|
conversations,
|
2020-11-07 20:16:45 +00:00
|
|
|
conversationSearch,
|
2020-06-25 15:34:03 +00:00
|
|
|
conversationStats,
|
2020-05-04 17:37:56 +00:00
|
|
|
conversationTypingStatus,
|
2020-05-11 20:01:40 +00:00
|
|
|
globalConfig,
|
2019-12-28 16:26:42 +00:00
|
|
|
inboxes,
|
|
|
|
inboxMembers,
|
2021-04-22 17:47:29 +00:00
|
|
|
inboxAssignableAgents,
|
2020-06-22 07:49:26 +00:00
|
|
|
integrations,
|
2020-06-25 15:34:03 +00:00
|
|
|
labels,
|
2019-08-14 09:48:44 +00:00
|
|
|
reports,
|
2020-03-01 12:17:08 +00:00
|
|
|
userNotificationSettings,
|
2020-02-29 12:13:49 +00:00
|
|
|
webhooks,
|
2021-02-04 07:49:59 +00:00
|
|
|
teams,
|
|
|
|
teamMembers,
|
2021-05-04 09:38:41 +00:00
|
|
|
campaigns,
|
2019-08-14 09:48:44 +00:00
|
|
|
},
|
|
|
|
});
|