91b9168fae
* Add automation modal * Fix the v-model for automations * Actions and Condition dropdowns for automations * Fix merge conflicts * Handle event change and confirmation * Appends new action * Removes actions * Automation api integration * Api integration for creating automations * Registers vuex module to the global store * Automations table * Updarted labels and actions * Integrate automation api * Fixes the mutation error - removed the data key wrapper * Fixed the automation condition models to work with respective event types * Remove temporary fixes added to the api request * Displa timestamp and automation status values * Added the clone buton * Removed uncessary helper method * Specs for automations * Handle WIP code * Remove the payload wrap * Fix the action query payload * Removed unnecessary files * Disabled Automations routes * Ability to delete automations * Fix specs * Fixed merge conflicts Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com> Co-authored-by: fayazara <fayazara@gmail.com> Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
73 lines
2.3 KiB
JavaScript
Executable file
73 lines
2.3 KiB
JavaScript
Executable file
import Vue from 'vue';
|
|
import Vuex from 'vuex';
|
|
|
|
import accounts from './modules/accounts';
|
|
import agents from './modules/agents';
|
|
import auth from './modules/auth';
|
|
import campaigns from './modules/campaigns';
|
|
import cannedResponse from './modules/cannedResponse';
|
|
import contactConversations from './modules/contactConversations';
|
|
import contactLabels from './modules/contactLabels';
|
|
import contactNotes from './modules/contactNotes';
|
|
import contacts from './modules/contacts';
|
|
import conversationLabels from './modules/conversationLabels';
|
|
import conversationMetadata from './modules/conversationMetadata';
|
|
import conversationPage from './modules/conversationPage';
|
|
import conversations from './modules/conversations';
|
|
import conversationSearch from './modules/conversationSearch';
|
|
import conversationStats from './modules/conversationStats';
|
|
import conversationTypingStatus from './modules/conversationTypingStatus';
|
|
import csat from './modules/csat';
|
|
import globalConfig from 'shared/store/globalConfig';
|
|
import inboxAssignableAgents from './modules/inboxAssignableAgents';
|
|
import inboxes from './modules/inboxes';
|
|
import inboxMembers from './modules/inboxMembers';
|
|
import integrations from './modules/integrations';
|
|
import labels from './modules/labels';
|
|
import notifications from './modules/notifications';
|
|
import reports from './modules/reports';
|
|
import teamMembers from './modules/teamMembers';
|
|
import teams from './modules/teams';
|
|
import userNotificationSettings from './modules/userNotificationSettings';
|
|
import webhooks from './modules/webhooks';
|
|
import attributes from './modules/attributes';
|
|
import automations from './modules/automations';
|
|
import customViews from './modules/customViews';
|
|
|
|
Vue.use(Vuex);
|
|
export default new Vuex.Store({
|
|
modules: {
|
|
accounts,
|
|
agents,
|
|
auth,
|
|
campaigns,
|
|
cannedResponse,
|
|
contactConversations,
|
|
contactLabels,
|
|
contactNotes,
|
|
contacts,
|
|
conversationLabels,
|
|
conversationMetadata,
|
|
conversationPage,
|
|
conversations,
|
|
conversationSearch,
|
|
conversationStats,
|
|
conversationTypingStatus,
|
|
csat,
|
|
globalConfig,
|
|
inboxAssignableAgents,
|
|
inboxes,
|
|
inboxMembers,
|
|
integrations,
|
|
labels,
|
|
notifications,
|
|
reports,
|
|
teamMembers,
|
|
teams,
|
|
userNotificationSettings,
|
|
webhooks,
|
|
attributes,
|
|
automations,
|
|
customViews,
|
|
},
|
|
});
|