{"version":3,"sources":["store/actions/reports.js","store/ducks/bots.js","store/ducks/items.js","store/ducks/auth.js","store/ducks/preview-bot.jsx","store/ducks/common.js","store/ducks/companies.js","store/ducks/users.js","store/ducks/permissions.js","store/ducks/intelligence.js","store/ducks/connectors.js","store/ducks/filter.js","store/ducks/debounce.js","store/ducks/reports.js","store/ducks/facebook-messenger.js","store/ducks/variables.js","store/ducks/plans.js","store/ducks/tags.js","store/ducks/notifications.js","store/ducks/template-bot.js","store/ducks/new-bot.js","store/ducks/bot-creator.js","store/ducks/triggers.js","store/ducks/voice-bots.js","store/ducks/voice-bots-tts.js","store/ducks/page-config.js","store/ducks/iaReports.js","store/ducks/reCaptcha.js","store/ducks/register-from.js","store/ducks/rd-station.js","store/ducks/index.js","store/sagas/items.js","services/api.reports.js","store/sagas/bots.js","services/api.ia.js","store/sagas/intelligence.js","store/sagas/connectors.js","store/sagas/filter.js","store/sagas/reports.js","store/sagas/template-bot.js","store/sagas/facebook-messenger.js","store/sagas/new-bot.js","store/sagas/iaReports.js","util/delay.js","store/sagas/preview-bot.js","store/sagas/auth.js","store/sagas/companies.js","store/sagas/users.js","store/sagas/permissions.js","store/sagas/debounce.js","store/sagas/variables.js","store/sagas/plans.js","store/sagas/tags.js","store/sagas/notifications.js","store/sagas/voice-bots.js","store/sagas/voice-bots-tts.js","store/sagas/triggers.js","store/sagas/register-from.js","store/sagas/rd-station.js","store/sagas/index.js","store/index.js","util/utils.js","store/actions/index.js","store/actions/auth.js","store/actions/reCaptcha.js","store/actions/items.js","store/actions/voice-bots.js","store/actions/companies.js","store/actions/template-bot.js","assets/css/styles.css","store/actions/connectors.js","i18n.js","config/reactotron.js","components/Footer/index.js","app.js","index.js","store/actions/users.js","store/actions/triggers.js","store/actions/voice-bots-tts.js","store/actions/debounce.js","store/actions/variables.js","store/actions/tags.js","util/validation-type.js","store/actions/plans.js","store/actions/rd-station.js","store/actions/iaReports.js","services/api.js","store/actions/new-bot.js","store/actions/facebook-messenger.js","store/actions/filter.js","store/actions/notifications.js","store/actions/common.js","store/actions/preview-bot.js","store/actions/bot-creator.js","store/actions/permissions.js","store/actions/register-from.js","routes/history.js","store/actions/bots.js","store/actions/page-config.js","store/actions/intelligence.js"],"names":["ReportsTypes","GET_CLIENTS_REPORTS","GET_CLIENTS_REPORTS_SUCCESS","GET_CLIENTS_REPORTS_GRAPHIC","GET_CLIENTS_REPORTS_GRAPHIC_SUCCESS","GET_SESSIONS_REPORTS","GET_SESSIONS_REPORTS_SUCCESS","GET_SESSIONS_REPORTS_GRAPHIC","GET_SESSIONS_REPORTS_GRAPHIC_SUCCESS","GET_ATTENDANCE_TIME_REPORTS","GET_ATTENDANCE_TIME_REPORTS_SUCCESS","GET_ATTENDANCE_TIME_REPORTS_GRAPHIC","GET_ATTENDANCE_TIME_REPORTS_GRAPHIC_SUCCESS","GET_AMOUNT_MESSAGE_CHANNEL_REPORTS","GET_AMOUNT_MESSAGE_CHANNEL_REPORTS_SUCCESS","GET_TOTAL_MESSAGE_CHANNEL_REPORTS","GET_TOTAL_MESSAGE_CHANNEL_REPORTS_SUCCESS","GET_BOT_MESSAGES","GET_BOT_MESSAGES_SUCCESS","GET_BOT_MESSAGES_AVG","GET_BOT_MESSAGES_AVG_SUCCESS","GET_ORG_BOTS_COUNT","GET_ORG_BOTS_COUNT_SUCCESS","GET_ORG_BOTS_GRAPHIC","GET_ORG_BOTS_GRAPHIC_SUCCESS","GET_ORG_TOTAL_MESSAGES","GET_ORG_TOTAL_MESSAGES_SUCCESS","GET_ORG_TOTAL_MESSAGES_GRAPHIC","GET_ORG_TOTAL_MESSAGES_GRAPHIC_SUCCESS","GET_ORG_TOTAL_SESSIONS","GET_ORG_TOTAL_SESSIONS_SUCCESS","GET_ORG_TOTAL_SESSIONS_GRAPHIC","GET_ORG_TOTAL_SESSIONS_GRAPHIC_SUCCESS","GET_ORG_TOTAL_USERS","GET_ORG_TOTAL_USERS_SUCCESS","GET_ORG_TOTAL_USERS_GRAPHIC","GET_ORG_TOTAL_USERS_GRAPHIC_SUCCESS","GET_ORG_LIST_USERS","GET_ORG_LIST_USERS_SUCCESS","GET_ORG_MESSAGES_BY_CHANNEL","GET_ORG_MESSAGES_BY_CHANNEL_SUCCESS","GET_ORG_MESSAGES_BY_CHANNEL_GRAPHIC","GET_ORG_MESSAGES_BY_CHANNEL_GRAPHIC_SUCCESS","GET_ORG_USERS_BOTS","GET_ORG_USERS_BOTS_SUCCESS","GET_ORG_USERS_BOTS_AVERAGE","GET_ORG_USERS_BOTS_AVERAGE_SUCCESS","CREATE_DASHBOARD_REPORT","CREATE_DASHBOARD_REPORT_SUCCESS","GET_DASHBOARD_REPORT","GET_DASHBOARD_REPORT_SUCCESS","UPDATE_DASHBOARD_REPORT","UPDATE_DASHBOARD_REPORT_SUCCESS","GET_COMPANY_MESSAGES_PER_BOT","GET_COMPANY_MESSAGES_PER_BOT_SUCCESS","GET_SESSION_ATTENDANCE_TIME_REPORTS","GET_SESSION_ATTENDANCE_TIME_REPORTS_SUCCESS","GET_BOT_SESSION_TAGS","GET_BOT_SESSION_TAGS_SUCCESS","GET_BOT_CUSTOM_REPORTS","GET_BOT_CUSTOM_REPORTS_SUCCESS","CREATE_BOT_CUSTOM_REPORT","CREATE_BOT_CUSTOM_REPORT_SUCCESS","GET_ERROR_LOGS_REQUEST","GET_ERROR_LOGS_SUCCESS","getClientsReports","botId","token","filters","type","payload","getClientsGraphicReports","getBotMessagesByChannel","getBotTotalMessagesByChannel","getBotMessages","getBotMessagesWithAvg","getBotSessions","getBotSessionsGraphic","getAttendanceTime","getSessionAttendanceTime","getBotAttendanceTimeGraphic","getCompanyBotsCount","orgId","getCompanyBotsGraphic","date","timezone","getCompanyTotalMessageCount","getCompanyTotalMessagesGraphic","getCompanyTotalSessionsCount","getCompanyTotalSessionsGraphic","getCompanyTotalUsersCount","getCompanyTotalUsersGraphic","getCompanyListUsers","getCompanyMessagesByChannel","getCompanyMessagesByChannelGraphic","getCompanyUsersBotsTotal","getCompanyUsersBotsAverage","createDashboardReport","body","getDashboardReport","userId","updateDashboardReport","getCompanyMessagesPerBot","getBotSessionTags","getBotCustomReports","createBotCustomReport","getErrorLogs","INITIAL_STATE","list","bot","history","sessions","docs","page","pages","total","messages","dashboardFilter","queueAttendance","botCollectDataCount","botCollectDataCsvBuffer","templatesBot","items","state","action","BotsTypes","LIST_BOTS_REQUEST","LIST_BOTS_SUCCESS","NEW_BOT_REQUEST","NEW_BOT_SUCCESS","REMOVE_BOT_REQUEST","REMOVE_BOT_SUCCESS","filter","_id","HISTORY_BOT_MESSAGE_SUCCESS","CLEAR_HISTORY_BOT_MESSAGE","HISTORY_BOT_FILTER_SESSIONS_SUCCESS","HISTORY_BOT_FILTER_SESSIONS_SEARCH_SUCCESS","CLEAR_HISTORY_BOT_FILTER_SESSIONS","HISTORY_BOT_FILTER_DASHBOARD_SUCCESS","EDIT_TITLE_BOT_REQUEST","EDIT_TITLE_BOT_SUCCESS","RETRIEVE_BOT_REQUEST","RETRIEVE_BOT_SUCCESS","SAVE_VIEW_POSITION_BOT","viewPosition","PUBLISH_WIDGET_HTML_SUCCESS","console","log","blob","b64toBlob","data","saveAs","e","SAVE_WIDGET_HTML","SAVE_WIDGET_HTML_SUCCESS","callback","SAVE_ROOT_ITEM","SAVE_ROOT_ITEM_SUCCESS","ItemsTypes","LIST_ITEMS_SUCCESS","UPDATE_BOT_SUCCESS","BOT_UPDATE_DATE","lastUpdate","SET_QUEUE_ATTENDANCE","UPDATE_BOT_STATUS","UPDATE_BOT_IA_STATUS","iaStatus","BOT_COLLECT_DATA_COUNT_SUCCESS","BOT_COLLECT_DATA_COUNT_RESET_SUCCESS","BOT_COLLECT_DATA_CSV_RESET_SUCCESS","UPDATE_GENERAL_BOT_INFO_SUCCESS","UPDATE_VOICE_BOT_SUCCESS","CLONE_VOICE_BOT_SUCCESS","newBot","RETRIEVE_ZENDESK_TICKET_SETTINGS","settings","RETRIEVE_GLPI_SETTINGS","RETRIEVE_JIRA_SETTINGS","RETRIEVE_ATTENDANCE_HOUR_SETTINGS","PUBLISH_BOT_SUCCESS","versions","isActive","RETRIEVE_ATTEDANCE_HOUR_SETTINGS","SAVE_QUICK_ACCESS_SETTINGS_SUCCESS","quickAccess","COUNT_STATUS_CREATOR_NO_SAVE_SUCCESS","countUpdatesNoPublish","COUNT_STATUS_CREATOR_NO_SAVE_REMOVE_SUCCESS","loading","currentItem","currentPath","contextMenuOption","showRightMenu","currentSelectedItem","currentClickItem","httpHeaders","variables","itemsToRemove","connectorsToRemove","activeIaOnItems","currentFlow","title","id","allItems","selectedMenuOption","getListItems","getVariables","itemIndex","newList","CREATE_ITEM_REQUEST","CREATE_ITEM_SUCCESS","UPDATE_SELECTED_ITEM","undefined","UPDATE_ITEM_IN_LIST_STATE","updatedItem","item","newItemList","map","_item","REMOVE_ITEM_IN_LIST_STATE","removeItem","REMOVE_ITEM_REQUEST","REMOVE_VOICE_ITEM_REQUEST","CLONE_ITEM_REQUEST","REMOVE_ITEM_SUCCESS","LIST_ITEMS_REQUEST","variable","push","rootItem","positionOnScreen","root","itemsCopy","i","find","ii","SET_CURRENT_ITEM","SET_CURRENT_PATH","SET_SELECTED_MENU_OPTION","EDIT_ITEM","newVariables","findIndex","l","currentList","uploading","EDIT_URL_ITEM_REQUEST","itemid","upload_progress","EDIT_ITEM_UPLOAD_PROGRESS","progress","EDIT_FILE_ITEM_REQUEST","REMOVE_FILE_ITEM_REQUEST","ITEM_CHANGE_CURRENT_FLOW","LIST_ALL_ITEMS_SUCCESS","UPDATE_ALL_ITEMS","isRemove","newItemId","newAllItems","getItem","index","indexOf","RESET_ITEMS","initialState","isLoggedIn","localStorage","API_TOKEN","lastNotice","resendConfirmationEmail","authStatus","actions","AUTH_LOGIN","AUTH_LOGOUT","AUTH_NOTICE","notice","AUTH_RESEND_EMAIL_CONFIRMATION_SUCCESS","inicialStateTfa","active","dataURL","message","error","tfaStatus","TFA_SETUP_SUCCESS","TFA_ACTIVE_SUCCESS","TFA_DISABLE_SUCCESS","TFA_VERIFY_SUCCESS","combineReducers","PreviewBotTypes","previewBotInitialState","Object","freeze","visible","firstTest","finished","states","botState","botPreviousState","lastState","previewBot","currentState","findNextState","next","botNextState","isFinished","captureAnswer","previewSendUserMessage","value","previewResetMessages","previewOpen","previewDispose","previewStart","previewSetStateMachine","previewSendBotPrepareNextMessage","previewSendBotTyppingStop","newMessages","from","previewSendBotTypping","when","Date","previewSendBotMessage","previewState","assign","nextBotState","description","length","randomIndex","Math","floor","random","descriptionError","checkVariable","substring","_var","replace","checkError","ancestorItem","children","validationType","ValidationType","Any","userMessages","msg","reg","RegExp","ValidationTypeExp","ValidationTypeExpFlags","test","handleError","nextState","errors","option","parseInt","isNaN","maxTries","errorMessageFinal","errorMessage","commonStatus","commonActions","LOADING","LOADING_START","LOADING_FINISH","CompanyTypes","GET_COMPANIES_REQUEST","CREATE_COMPANY_REQUEST","UPDATE_COMPANY_REQUEST","UPDATE_SELECTED_COMPANY_REQUEST","GET_ORGANIZATIONS","UserTypes","CREATE_USER","UPDATE_USER","SELECT_ORGANIZATION","SELECT_COMPANY_ORGANIZATION","UPDATE_BOT_REQUEST","GET_COMPANIES_REQUEST_SUCCESS","CREATE_COMPANY_REQUEST_SUCCESS","UPDATE_COMPANY_REQUEST_SUCCESS","UPDATE_SELECTED_COMPANY_SUCCESS","GET_ORGANIZATIONS_SUCCESS","CREATE_USER_SUCCESS","UPDATE_USER_SUCCESS","SELECT_ORGANIZATION_SUCCESS","SELECT_COMPANY_ORGANIZATION_SUCCESS","company","companies","getCompaniesCompleted","companyEditing","organizations","getOrganizationsCompleted","historyActions","totalPages","companiesState","RESET_REDUX_COMPANIES","GET_COMPANY_REQUEST_SUCCESS","SET_PLAN_COMPANY_SUCCESS","CANCEL_COMPANY_EDITING","START_COMPANY_EDITING","GET_HISTORY_ACTIONS_SUCCESS","errorLogs","users","userEditing","signedUser","signedUserIsRoot","usersState","GET_ME_SUCCESS","authActions","claim","user","isRoot","name","GET_USERS_SUCCESS","UPDATE_SIGNED_USER_STATE","permissions","getPermissionsCompleted","permissionsState","PermissionTypes","GET_PERMISSIONS_SUCCESS","ia","intents","entity","entities","samples","samplesAll","curation","conditions","editCondition","aprimoramentos","platform","iaInfo","filterCuration","intelligence","IaTypes","IA_PLATFORM_SUCCESS","IA_CREATE_WIT_SUCCESS","wit","plataform","IA_CREATE_LUIS_SUCCESS","luis","IA_CREATE_BOTERIA_SUCCESS","boteria","CURATION_BOT_LIST_MESSAGES_SUCCESS","CURATION_BOT_IGNORE_MESSAGE_SUCCESS","CURATION_BOT_ACCEPT_MESSAGE_SUCCESS","IA_LIST_ENTITIES_SUCCESS","IA_LIST_ENTITY_SUCCESS","IA_LIST_ALL_SAMPLES_SUCCESS","IA_LIST_SAMPLES_INTENT_SUCCESS","intent","IA_LIST_INTENTS_SUCCESS","IA_CREATE_INTENTS_SUCCESS","IA_DELETE_INTENTS_SUCCESS","IA_SAVE_SAMPLE_SUCCESS","sample_result","IA_CREATE_CONDITIONS_SUCCESS","IA_DELETE_CONDITIONS_SUCCESS","condition","IA_UPDATE_CONDITIONS_SUCCESS","IA_LIST_CONDITIONS_SUCCESS","IA_SET_EDIT_CONDITION","CURATION_BOT_SET_APRIMORAMENTOS","CURATION_BOT_APRIMORAMENTOS_DELETE","aprimoramento","CURATION_BOT_APRIMORAMENTOS_CLEAR","IA_PLATFORM_INFO_SUCCESS","IA_PLATFORM_INFO_ERROR","IA_UPDATE_FILTER_CURATION","IA_PREVIEW_SUCCESS","iaPreviewResult","allConnectors","connectors","ConnectorsTypes","GET_CONNECTORS_SUCCESS","LIST_ALL_CONNECTORS_SUCCESS","CREATE_CONNECTOR_SUCCESS","DELETE_CONNECTOR_SUCCESS","connector","startDate","setDate","getDate","endDate","vlSelect","dateFilter","tags","nameTags","channels","FilterTypes","LIST_FILTER_INFO","FILTER_RELATORIO_INFO","time","debounce","DebounceTypes","ADD_ITEM_DEBOUNCE","CLEAR_DEBOUNCE","SET_TIME","EXECUTE_DEBOUNCE","DELETE_ITEM_DEBOUNCE","elem","botClients","botClientsGraphic","botMessagesByChannel","botTotalMessagesByChannel","botMessages","botMessagesWithAvg","botSessions","botSessionsGraphic","attendanceTime","botAttendanceTimeGraphic","sessionAttandanceTime","orgBotsNumber","orgBotsNumberGraphic","orgBotsTotalMessages","orgBotsTotalMessagesGraphic","orgBotsTotalSessions","orgBotsTotalSessionsGraphic","orgBotsTotalUsers","orgBotsTotalUsersGraphic","orgListUsers","orgBotsTotalMessageByChannel","orgBotsTotalMessageByChannelGraphic","orgUsersBotsTotal","orgUsersBotsAverage","companyMessagesPerBot","dashboardReport","botSessionTags","botCustomReports","limit","reports","facebookAuth","userID","accessToken","expiresIn","picture","height","width","url","selectedFacebookPage","facebookMessenger","facebookMessengerTypes","SET_FB_AUTH_STATE_SUCCESS","SET_FB_SELECTED_PAGE_SUCCESS","global","variablesState","VariableTypes","CREATE_SUCCESS","LIST_SUCCESS","EDIT_SUCCESS","REMOVE_SUCCESS","historyCompanyPlan","alerts","planConsumption","plans","PlanTypes","GET_PLANS_REQUEST_SUCCESS","GET_HISTORY_COMPANY_PLAN_REQUEST_SUCCESS","PUT_ALERTS_SUCCESS","GET_PLAN_CONSUMPTION_SUCCESS","tagsState","TagTypes","notifications","totalCount","NotificationTypes","UPDATE_STATUS_SUCCESS","templateBotData","newBotTemplateBot","allTemplateBots","lastDeletedTemplates","templateBot","TemplateBotTypes","CREATE_TEMPLATE_BOT_SUCCESS","UPDATE_TEMPLATE_BOT_SUCCESS","EMPTY_TEMPLATE_BOT_SUCCESS","GET_TEMPLATE_BOT_SUCCESS","GET_ALL_TEMPLATE_BOTS_SUCCESS","GET_TEMPLATE_BOT_BY_ID_SUCCESS","SET_TEMPLATE_BOT_DATA_SUCCESS","DELETE_TEMPLATE_BOT_SUCCESS","UPDATE_TEMPLATE_BOT_DETAILS_SUCCESS","currentTemplateBotTesting","isOpen","currentTemplateBotSelected","newBotTypes","SET_NEW_BOT_CURRENT_TEMPLATE_BOT_TESTING_SUCCESS","SET_NEW_BOT_TEMPLATE_BOT_SELECTED_SUCCESS","PUSH_TO_CREATE_BOT","connectorsOnError","itemsOnError","resetFlowPath","botCreator","BotCreatorTypes","CHANGE_CONNECTORS_ON_ERROR","SET_ITEMS_ON_ERROR","RESET_FLOW_PATH","REMOVE_ITEMS_ON_ERROR","updateItemsOnError","RESET_BOT_CREATOR","triggers","receivedValues","activator","inactivityTime","square","maxTimeWithoutResponse","TriggerTypes","LOAD","LOAD_SUCCESS","CHANGE_ACTIVATOR","triggerActivatorIndex","trigger","triggerId","splice","triggerSquare","CHANGE_ACTION","findActionTrigger","REMOVE_TRIGGER","findTriggerToRemove","UPDATE_MESSAGE","findMessageTrigger","ADD_TRIGGER_WORD","findTriggerWordIndex","word","REMOVE_WORD","findRemoveWordIndex","wordArray","UPDATE_INACTIVITY_TIME","findInactivityTimeIndex","UPDATE_TIME_WITHOUT_RESPONSE","UPDATE_SQUARE","findIndexToUpdateSquare","squareId","CREATE_EMPTY_TRIGGER","baseState","version","projects","grammars","statusList","voices","voicebotInstances","voicebotVariables","webApiList","voiceBotState","VoiceBotsTypes","FETCH_PROJECTS_SUCCESS","FETCH_GRAMMARS_SUCCESS","FETCH_STATUS_SUCCESS","status","FETCH_VOICES_SUCCESS","FETCH_VOICES_FAILIURE","FETCH_VOICEBOT_INSTANCES_SUCCESS","instances","FETCH_VOICEBOT_INSTANCES_FAILIURE","CREATE_VOICEBOT_INSTANCE_SUCCESS","updatedInstanceArray","instance","UPDATE_VOICEBOT_INSTANCE_SUCCESS","updatedInstance","updatedInstances","FETCH_VARIABLES_SUCCESS","FETCH_WEB_API_SUCCESS","generatedTts","loadingGenerateTts","voiceBotAudios","audioUrl","voiceBotsTtsState","VoiceBotsTtsTypes","UPLOAD_AUDIOS_SUCCESS","audios","DELETE_AUDIO_SUCCESS","upadedAudios","audio","FETCH_AUDIOS_SUCCESS","GENERATE_TTS_REQUEST","GENERATE_TTS_SUCCESS","GENERATE_TTS_FAILED","SET_TTS_AUDIO_URL","subPage","configPage","ConfigPageTypes","SET_MENU_PAGE_SUCCESS","SET_SUB_MENU_PAGE_SUCCESS","notUnderstoodReports","useOfIntentions","performanceOfIntentions","iaReports","IaReportTypes","GET_NOT_UNDERSTOOD_INTENTIONS_SUCCESS","GET_USE_OF_INTENTIONS_SUCCESS","GET_PERFORMANCE_OF_INTENTIONS_SUCCESS","reCaptchaValue","resetRef","disabled","reCaptcha","SET_RECAPTCHA","DISABLE_RECAPTCHA","RESET_RECAPTCHA","registers","registerFromState","registerFromTypes","GET_REGISTERS_SUCCESS","fields","authData","rdStationState","RdStationTypes","GET_FIELDS_SUCCESS","GENERATE_ACCESS_TOKEN_SUCCESS","RESET_AUTH_DATA","router","connectRouter","toastr","toastrReducer","bots","auth","common","voiceBot","voiceBotTts","rdStation","registerFrom","create","createVoiceItem","removeVoiceItem","cloneVoiceItem","editItem","cloneItem","listSubflow","getAllItems","editCardImage","editItemFile","removeItemFile","editItemUrl","botid","rootId","Types","ObjectId","toString","subflowFor","itemTypesNoDebounce","itemTypesMedia","includes","put","DebounceCreators","addItemDebounce","fork","api","post","call","ItemsCreators","createItemSuccess","orphan","fromRoot","ConnectorsCreators","createConnectorRequest","to","updateAllItems","response","customMsg","newItem","updateItemInListState","menuOptionDescription","fromMenuOption","createVoiceConnectorRequest","voiceSettings","idIvrStepFlow","nmIvrResult","removeItemInListState","removeItemSuccess","delete","targetWidth","idIvrStep","responseNewItem","JSON","parse","stringify","menuItems","menuItem","isVoiceItem","startsWith","get","listItemsSuccess","itemId","file","cardId","formData","FormData","append","headers","progressEvent","percentage","round","loaded","onUploadProgress","parsedData","split","thumbnailUrl","fileUrl","currentTarget","progressData","parsed","responseType","onDownloadProgress","process","authorization","axios","defaults","baseURL","AxiosWithInterceptors","AxiosFile","addAxiosInterceptor","interceptors","use","Promise","reject","getBot","historyMessage","filterSessions","filterDashboard","editBotTitle","updateBot","updateBotStatus","updateBotGeneralInformation","openNewBotPage","newVoiceBot","updateVoiceBot","removeBot","removeVoiceBot","cloneVoiceBot","creatorBot","saveBotViewPosition","publishHtmlWidget","saveWidgetHtml","saveRootItem","updateBotHumanAttendance","updateZendeskTicketSettings","updateGlpiSettings","updateBotQuickAccess","updatePublishBotQuickAccess","updateJiraSettings","updateAttendanceHoursSettings","getBotQueueHumanAttendance","updateBotIaStatus","getBotCollectDataCount","getBotCollectDataCsv","resetBotCollectCount","publishBot","publishVoiceBot","changeStagingArea","countStatusCreatorNoSave","countStatusCreatorNoSaveRemove","platforms","findL","element","currentTokenIa","sessionId","count","start","end","busc","endpoint","encodeURIComponent","success","showToast","showLoading","apiUrl","newPayload","keys","forEach","key","newBotData","deleted","isTemplate","BotsCreators","newBotSuccess","avatarFile","restData","jsonData","removeBotSuccess","cloneVoiceBotSuccess","creatorBotSuccess","listBotsSuccess","widgetHtml","editItemRequest","listItemsRequest","client_name","service","service_name","apiKey","api_key","serviceKey","service_ObjectId","apiReports","showSensitivityData","now","getMonth","getFullYear","hour","getHours","getMinutes","start_date","end_date","isToActive","store","dispatch","timeout","chosenVersion","getConnectorsSuccess","moment","createDate","format","getState","window","location","reload","AxiosWithoutInterceptors","createLuis","listLuis","createWit","listWit","createBoteria","createSamples","listAllSamples","deleteSamples","createIntents","listIAIntents","deleteIntents","listIAEntities","listEntity","createEntities","deleteEntities","deleteEntitiesObj","deleteEntitiesSyn","listSamplesIntent","listCurationMessages","ignoreCurationMessage","acceptCurationMessage","saveIASample","getConditions","updateCondition","createCondition","deleteCondition","saveAprimoramentos","getIaInfo","trainLuis","iaPreview","apiIa","credentials","language","iaEnabled","IA_LIST_WIT_SUCCESS","sentence","text","Error","query","processed","result","sample","options","objects","synonyms","tries","publishSuccess","warning","createConnector","createVoiceConnector","deleteConnector","getConnectors","getConnectorsSubflow","getAllConnectors","createConnectorsSuccess","deleteConnectorSuccess","getAllConnectorsSuccess","infoStateFilter","relatorioFilterInfo","LIST_FILTER_INFO_SUCCESS","FILTER_RELATORIO_INFO_SUCCESS","getSessionsGraphicReports","getBotQuantityMessagesData","getBotQuantityAndAverageMessageData","getCompanyTotalMessagesCount","getCompanyUsersBots","onRequestError","onPeriodInvalid","isInvalid","isAfter","addEndpointParameters","clientsTotalEndpoint","clientsTotal","clientsAverage","average","clientsGraphicEndpoint","sessionsTotalEndpoint","sessionsTotal","sessionsGraphicEndpoint","attendanceTimeAverageEndpoint","attendanceTimeGraphicTotalEndpoint","parameters","botMessageEndpoint","userMessageEndpoint","totalMessageEndpoint","chatAverageMessageEndpoint","quantityMessageByChannelEndpoint","botTotalMessageByChannelEndpoint","orgBotsCountEndpoint","orgBotsGraphicEndpoint","orgTotalMessagesCountEndpoint","orgTotalMessagesGraphicEndpoint","orgTotalMessagesUserGraphicEndpoint","orgTotalSessionsCountEndpoint","orgTotalSessionsGraphicEndpoint","orgTotalUsersCountEndpoint","orgTotalUsersGraphicEndpoint","orgListUsersCountEndpoint","orgTotalMessagesByChannelEndpoint","orgUsersBotsAverageEndpoint","orgUsersBotsTotalEndpoint","dashboardToken","createDashboardReportEndpoint","updateDashboardReportEndpoint","getDashboardReportEndpoint","companyMessagePerBotParams","botCustomReportEndpoint","sentData","params","queryString","skipNull","arrayFormat","createTemplateBot","updateTemplateBotDetails","updateTemplateBot","emptyTemplateBot","setTemplateBotData","getTemplateBot","getAllTemplatesBot","getTemplateBotById","deleteTemplateBot","deletedTemplatesIds","setFacebookAuthState","setFacebookSelectedPage","setCurrentTemplateBotTesting","setCurrentTemplateBotSelected","pushToCreateBot","_","isEmpty","getNotUnderstoodIntentions","getUseOfIntentions","getPerformanceOfIntentions","loadError","getNotUnderstoodIntentionsSuccess","IaReportAction","getUseOfIntentionsSuccess","getPerformanceOfIntentionsSuccess","delay","ms","resolve","setTimeout","saveMessage","saveFileMessage","startBot","resetBot","prepareNextMessage","sendBotMessage","closeBot","select","botMessage","previewSendUserMessageFileProgress","force","waitAnswer","endState","typing","max","timeTypping","logout","login","tfaSetup","tfaActive","tfaDisable","tfaVerify","resendEmailConfirmation","CompanyActions","resetCompanies","AUTH_SET_TOKEN","setToken","setItem","Axios","UserActions","me","email","getCompany","changePlan","createAdditionalMessage","createNewPlan","updatePlan","getCompanies","createCompany","updateCompany","updateSelectedCompany","getOrganizations","createOrganization","removeOrganization","getHistoryActions","updateOrganization","companyId","searchTerm","newSignedUserState","selectedCompany","updateSignedUserState","queryUrl","join","organizationId","updateData","successMessage","getUsers","createUser","updateUser","selectOrganization","selectCompanyOrganization","GET_USERS","selectedOrganization","getPermissions","updatePermission","filtro","organizationIds","codeUser","UPDATE_PERMISSION_SUCCESS","executeDebounce","executeFunction","ADD_ITEM","addItem","UPDATE_ITEM","updateItem","REMOVE_ITEM","CLONE_ITEM","ADD_CONNECTOR","addConnector","REMOVE_CONNECTOR","removeConnector","command","updateBotDate","args","edit","remove","setModalOpened","findVariableIndex","updatedBotVariables","updatedVariables","botVariables","getPlans","getHistoryCompanyPlan","editAlert","getPlanConsumption","alertsA","isFreemium","isReport","values","newTags","findTagIndex","tag","updatedBotTags","updatedTags","botTags","updateStatus","oldNotifications","formattedNotifications","notification","timeDistance","formatDistance","parseISO","dateCreation","addSuffix","locale","pt","allNotifications","updatedNotifications","read","fetchProjects","fetchGrammars","fetchStatus","fetchVoices","fetchVoicebotInstances","createVoicebotInstance","updateVoicebotInstance","fetchVoicebotVariables","fetchVoicebotWebApiList","commonLoadingStart","fetchProjectsSuccess","commonLoadingFinish","fetchGrammarsSuccess","fetchStatusSuccess","fetchVoicesSuccess","fetchVoicesFailiure","fetchVoicebotInstancesSuccess","fetchVoicebotInstancesFailiure","createVoicebotInstanceSuccess","updateVoicebotInstanceSuccess","fetchVoicebotVariablesSuccess","fetchVoicebotWebApiSuccess","uploadAudios","deleteAudio","fetchAudios","generateTts","files","idProject","idIvrVoice","Blob","blobUrl","URL","createObjectURL","load","save","TriggerActions","loadSucces","getRegisters","getRegistersSuccess","onCodeExpires","generateAccessToken","deleteAccessToken","getFields","baseUrl","RD_STATION_APP","dev","clientId","partnersUrl","homolog","prod","currentRdStationApp","toLocaleLowerCase","rdStationInfos","authUrl","organization","rdStationLogin","open","code","expiredCode","rootSaga","all","takeLatest","AUTH_RESEND_EMAIL_CONFIRMATION","TFA_SETUP","TFA_ACTIVE","TFA_DISABLE","TFA_VERIFY","FETCH_PROJECTS","voiceBotsSagas","FETCH_GRAMMARS","FETCH_STATUS","FETCH_VOICES","FETCH_VOICEBOT_INSTANCES","CREATE_VOICEBOT_INSTANCE","UPDATE_VOICEBOT_INSTANCE","FETCH_VARIABLES_REQUEST","FETCH_WEB_API_REQUEST","UPLOAD_AUDIOS_REQUEST","voiceBotsTtsSagas","DELETE_AUDIO_REQUEST","FETCH_AUDIOS_REQUEST","LIST","variablesSaga","CREATE","EDIT","REMOVE","GET_PLANS_REQUEST","plansSagas","GET_HISTORY_COMPANY_PLAN_REQUEST","PUT_ALERTS","GET_PLAN_CONSUMPTION","tagsSaga","notificationSagas","UPDATE_STATUS","CREATE_TEMPLATE_BOT","UPDATE_TEMPLATE_BOT","UPDATE_TEMPLATE_BOT_DETAILS","GET_TEMPLATE_BOT","GET_TEMPLATE_BOT_BY_ID","GET_ALL_TEMPLATE_BOTS","EMPTY_TEMPLATE_BOT","SET_TEMPLATE_BOT_DATA","DELETE_TEMPLATE_BOT","SET_NEW_BOT_CURRENT_TEMPLATE_BOT_TESTING","SET_NEW_BOT_TEMPLATE_BOT_SELECTED","SET_FB_AUTH_STATE","SET_FB_SELECTED_PAGE","previewBotSaga","previewSendUserMessageFile","NEW_VOICE_BOT_REQUEST","UPDATE_VOICE_BOT_REQUEST","REMOVE_VOICE_BOT_REQUEST","CLONE_VOICE_BOT_REQUEST","CREATOR_BOT_REQUEST","takeEvery","PUBLISH_WIDGET_HTML","HISTORY_BOT_MESSAGE","HISTORY_BOT_FILTER_SESSIONS","HISTORY_BOT_FILTER_DASHBOARD","UPDATE_BOT_HUMAN_ATTENDANCE_REQUEST","UPDATE_ZENDESK_TICKET_SETTINGS","UPDATE_GLPI_SETTINGS","UPDATE_JIRA_SETTINGS","UPDATE_ATTENDANCE_HOUR_SETTINGS","SAVE_QUICK_ACCESS_SETTINGS","SAVE_PUBLISH_QUICK_ACCESS_SETTINGS","GET_QUEUE_ATTENDANCE","BOT_COLLECT_DATA_COUNT","BOT_COLLECT_DATA_CSV","BOT_COLLECT_DATA_COUNT_RESET","OPEN_NEW_BOT_PAGE","UPDATE_GENERAL_BOT_INFO","PUBLISH_BOT","PUBLISH_VOICE_BOT","CHANGE_STAGING_AREA","COUNT_STATUS_CREATOR_NO_SAVE","COUNT_STATUS_CREATOR_NO_SAVE_REMOVE","CURATION_BOT_LIST_MESSAGES","CURATION_BOT_ACCEPT_MESSAGE","CURATION_BOT_IGNORE_MESSAGE","IA_LIST_LUIS","IA_LIST_WIT","IA_LIST_ENTITIES","IA_LIST_ENTITY","IA_LIST_INTENTS","IA_LIST_ALL_SAMPLES","IA_LIST_SAMPLES_INTENT","IA_SAVE_SAMPLE","IA_CREATE_LUIS","IA_CREATE_WIT","IA_CREATE_BOTERIA","IA_CREATE_INTENTS","IA_CREATE_ENTITIES","IA_DELETE_INTENTS","IA_CREATE_CONDITIONS","IA_LIST_CONDITIONS","IA_UPDATE_CONDITIONS","IA_DELETE_CONDITIONS","IA_DELETE_SAMPLES","IA_DELETE_ENTITIES","IA_DELETE_ENTITIES_OBJ","IA_DELETE_ENTITIES_SYN","IA_PLATFORM_INFO","IA_TRAIN_LUIS","IA_CREATE_SAMPLES","CURATION_BOT_SAVE_APRIMORAMENTOS","IA_PREVIEW","createItem","CREATE_VOICE_ITEM_REQUEST","CLONE_VOICE_ITEM_REQUEST","listItems","LIST_SUBFLOW_ITEMS_REQUEST","LIST_ALL_ITEMS_REQUEST","EDIT_CARD_IMAGE_REQUEST","CREATE_CONNECTOR_REQUEST","CREATE_VOICE_CONNECTOR_REQUEST","GET_CONNECTORS_REQUEST","GET_CONNECTORS_SUBFLOW_REQUEST","LIST_ALL_CONNECTORS_REQUEST","DELETE_CONNECTOR_REQUEST","SET_PLAN_COMPANY","companiesSaga","POST_NEW_PLAN","POST_ADDITIONAL_MESSAGE","UPDATE_PLAN_COMPANY","GET_COMPANY_REQUEST","CREATE_ORGANIZATION","REMOVE_OGANIZATION","GET_HISTORY_ACTIONS_REQUEST","UPDATE_ORGANIZATION_REQUEST","usersSaga","GET_ME","GET_PERMISSIONS","permissionsSaga","UPDATE_PERMISSION","debounceSagas","triggerSagas","SAVE_BOT_TRIGGERS","GET_NOT_UNDERSTOOD_INTENTIONS","iaReportsSagas","GET_USE_OF_INTENTIONS","GET_PERFORMANCE_OF_INTENTIONS","GET_REGISTERS_REQUEST","registerFromSagas","GET_FIELDS_REQUEST","rdStationSagas","RD_STATION_LOGIN","GENERATE_ACCESS_TOKEN_REQUEST","REMOVE_ACCESS_TOKEN_REQUEST","middlewares","sagaMonitor","sagaMiddleware","createSagaMiddleware","composeEnhancers","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","compose","composer","applyMiddleware","routerMiddleware","createStore","rootReducer","run","b64Data","contentType","sliceSize","byteCharacters","atob","byteArrays","offset","slice","byteNumbers","Array","charCodeAt","byteArray","Uint8Array","stopPropagation","cancelBubble","generateSecretToken","maxDigits","abs","isEmail","str","Email","isHost","Url","isPassa","formatBytes","bytes","decimals","parseBytes","parseFloat","k","dm","sizes","pow","toFixed","previewBotActions","itemsActions","botsActions","IaActions","companyActions","userActions","permissionActions","connectionActions","filterActions","debounceActions","reportsActions","variablesActions","facebookMessengerActions","tagsActions","notificationActions","templateBotActions","newBotActions","botCreatorActions","triggerActions","voiceBotsActions","voiceBotsTtsActions","iaReportsActions","recaptchaActions","registerFromActions","rdStationActions","notices","tfaToken","successResendEmailConfirmation","recapchaTypes","getRecaptcha","disableRecaptcha","resetCaptcha","CHANGE_ITEM_ANCESTOR_REQUEST","ITEM_REMOVE_NOTIFICATION_SHOW","ITEM_REMOVE_NOTIFICATION_REVERT","ITEM_REMOVE_NOTIFICATION_DISMISS","ITEM_CONNECTOR_REMOVE_NOTIFICATION_SHOW","ITEM_CONNECTOR_REMOVE_NOTIFICATION_REVERT","createItemRequest","createVoiceItemRequest","removeVoiceItemRequest","cloneVoiceItemRequest","updateSelectedItem","removeItemRequest","cloneItemRequest","setCurrentItem","setCurrentPath","setSelectedMenuOption","editItemFileRequest","removeItemFileRequest","editCardImageRequest","editItemUploadProgress","editItemUrlRequest","itemRemoveNotificationShow","itemRemoveNotificationRevert","itemRemoveNotificationDismiss","itemConnectorRemoveNotificationShow","itemConnectorRemoveNotificationRevert","changeCurrentFlow","getSubflowItems","resetItems","fetchVoicebotWebApi","CREATE_ORGANIZATION_SUCCESS","REMOVE_OGANIZATION_SUCCESS","POST_NEW_PLAN_SUCCESS","POST_ADDITIONAL_MESSAGE_SUCCESS","setCompany","cancelCompanyEditing","startCompanyEditing","template","deleteConnectorRequest","getConnectorsRequest","getConnectorsSubflowRequest","resourcePt","require","resourceEn","resources","translation","en","i18n","initReactI18next","init","lng","keySeparator","interpolation","escapeValue","Footer","props","useState","showFooter","Routes","lazy","App","useLayoutEffect","pathname","ReactDOM","render","document","getElementById","userIsRoot","changeActivator","deleteTrigger","changeAction","addTriggerWord","updateMessage","removeWord","updateInactivityTime","updateTimeWithoutResponse","updateSquare","saveBotTriggers","createEmptyTrigger","objectId","generateTtsRequest","generateTtsSuccess","generateTtsFailed","setTtsAudioUrl","fetchAudiosRequest","fetchAudiosSuccess","uploadAudiosRequest","uploadAudiosSuccess","deleteAudioRequest","deleteAudioSuccess","UPDATE_ITEM_DEBOUNCE","deleteItemDebounce","updateItemDebounce","clearDebounce","setTimeDebounce","VariableActions","TagActions","Cellphone","Number","RegularExpression","CPF","CNPJ","Localization","ValidationTypeName","ValidationTypeIcon","PlanActions","generateAccessTokenSuccess","getFieldsSuccess","customFields","resetAuthData","newCurrentTemplateBot","newTemplateBot","setAuthState","newAuthState","setSelectedFacebookPage","newSelectedFacebookPage","FilterCreators","NotificationActions","setLoading","previewNextStatePreview","sendUserMessage","sendUserFileMessage","openPreviewBot","startTest","setStateMachine","resetMessages","nextStatePreview","changeConnectorsOnError","setItemsOnError","removeItemsOnError","resetBotCreator","PermissionActions","createBrowserHistory","CREATOR_BOT_SUCCESS","CHANNELS_BOT_REQUEST","BOT_COLLECT_DATA_CSV_RESET","LIST_TEMPLATES_BOT","LIST_TEMPLATES_BOT_SUCCESS","editBotTitleRequest","editBotTitleSuccess","updateBotRequest","updateWhatsappCallbacks","creatorBotRequest","infoMessages","clearHistoryMessage","infoSession","searchFilterSessions","clearFilterSessions","infoDashboard","newBotRequest","newVoiceBotRequest","updateVoiceBotRequest","removeBotRequest","removeVoiceBotRequest","cloneVoiceBotRequest","listBotsRequest","retrieveBotRequest","retrieveBotSuccess","channelsBotRequest","publishBotWidgetHtmlRequest","publishBotWidgetHtmlSuccess","saveBotWidgetHtmlRequest","saveBotWidgetHtmlSuccess","saveBotRootItem","botUpdateDate","updateBotHumanAttendanceRequest","getQueueAttendance","resetBotCollectDataCount","updateBotQuickAccessState","SET_MENU_PAGE","SET_SUB_MENU_PAGE","setPageConfig","setSubPageConfig","IA_CREATE_ENTITIES_SUCCESS","IA_CREATE_SAMPLES_SUCCESS","IA_LIST_LUIS_SUCCESS","IA_DELETE_ENTITIES_SUCCESS","IA_DELETE_ENTITIES_OBJ_SUCCESS","IA_DELETE_ENTITIES_SYN_SUCCESS","IA_DELETE_SAMPLES_SUCCESS","IA_PLATFORM","IaCreators","reference","object","synonym","listConditions","setEditCondition","setAprimoramentos","deleteAprimoramento","clearAprimoramentos","updateFilterCuration","newFilter"],"mappings":";;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,GAAMA,aAAY,CAAG,CAC1BC,mBAAmB,CAAE,yBADK,CAE1BC,2BAA2B,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A,cAAF,CAAkB8gB,OAAO,CAAPA,OAAlB,CAFuC,CAA9B,EA9JI,CAmKxBf,SAAS,CAAE,mBAACp2B,KAAD,QAAY,CACrBE,IAAI,CAAEwW,OAAO,CAACq4B,gBADO,CAErB5uC,OAAO,CAAE,CAAEH,KAAK,CAALA,KAAF,CAFY,CAAZ,EAnKa,CAwKxB2iD,oBAAoB,CAAE,8BAACC,SAAD,QAAgB,CACpC1iD,IAAI,CAAEwW,OAAO,CAACkC,yBADsB,CAEpCzY,OAAO,CAAEyiD,SAF2B,CAAhB,EAxKE,CA6KxBvsB,SAAS,CAAE,mBAACr2B,KAAD,QAAY,CACrBE,IAAI,CAAEwW,OAAO,CAACs4B,aADO,CAErB7uC,OAAO,CAAE,CAAEH,KAAK,CAALA,KAAF,CAFY,CAAZ,EA7Ka,CAkLxBs2B,SAAS,CAAE,4BAAGt2B,MAAH,MAAGA,KAAH,CAAUmN,OAAV,MAAUA,OAAV,OAAyB,CAClCjN,IAAI,CAAEwW,OAAO,CAACy4B,UADoB,CAElChvC,OAAO,CAAE,CAAEH,KAAK,CAALA,KAAF,CAASmN,OAAO,CAAPA,OAAT,CAFyB,CAAzB,EAlLa,CAAnB,C","file":"static/js/main.b27b6613.chunk.js","sourcesContent":["export const ReportsTypes = {\n GET_CLIENTS_REPORTS: 'bot/GET_CLIENTS_REPORTS',\n GET_CLIENTS_REPORTS_SUCCESS: 'bot/GET_CLIENTS_REPORTS_SUCCESS',\n GET_CLIENTS_REPORTS_GRAPHIC: 'bot/GET_CLIENTS_REPORTS_GRAPHIC',\n GET_CLIENTS_REPORTS_GRAPHIC_SUCCESS:\n 'bot/GET_CLIENTS_REPORTS_GRAPHIC_SUCCESS',\n GET_SESSIONS_REPORTS: 'bot/GET_SESSIONS_REPORTS',\n GET_SESSIONS_REPORTS_SUCCESS: 'bot/GET_SESSIONS_REPORTS_SUCCESS',\n GET_SESSIONS_REPORTS_GRAPHIC: 'bot/GET_SESSIONS_REPORTS_GRAPHIC',\n GET_SESSIONS_REPORTS_GRAPHIC_SUCCESS:\n 'bot/GET_SESSIONS_REPORTS_GRAPHIC_SUCCESS',\n GET_ATTENDANCE_TIME_REPORTS: 'bot/GET_ATTENDANCE_TIME_REPORTS',\n GET_ATTENDANCE_TIME_REPORTS_SUCCESS:\n 'bot/GET_ATTENDANCE_TIME_REPORTS_SUCCESS',\n GET_ATTENDANCE_TIME_REPORTS_GRAPHIC:\n 'bot/GET_ATTENDANCE_TIME_REPORTS_GRAPHIC',\n GET_ATTENDANCE_TIME_REPORTS_GRAPHIC_SUCCESS:\n 'bot/GET_ATTENDANCE_TIME_REPORTS_GRAPHIC_SUCCESS',\n GET_AMOUNT_MESSAGE_CHANNEL_REPORTS: 'bot/GET_AMOUNT_MESSAGE_CHANNEL_REPORTS',\n GET_AMOUNT_MESSAGE_CHANNEL_REPORTS_SUCCESS:\n 'bot/GET_AMOUNT_MESSAGE_CHANNEL_REPORTS_SUCCESS',\n GET_TOTAL_MESSAGE_CHANNEL_REPORTS: 'bot/GET_TOTAL_MESSAGE_CHANNEL_REPORTS',\n GET_TOTAL_MESSAGE_CHANNEL_REPORTS_SUCCESS:\n 'bot/GET_TOTAL_MESSAGE_CHANNEL_REPORTS_SUCCESS',\n GET_BOT_MESSAGES: 'bot/GET_BOT_MESSAGES',\n GET_BOT_MESSAGES_SUCCESS: 'bot/GET_BOT_MESSAGES_SUCCESS',\n GET_BOT_MESSAGES_AVG: 'bot/GET_BOT_MESSAGES_AVG',\n GET_BOT_MESSAGES_AVG_SUCCESS: 'bot/GET_BOT_MESSAGES_AVG_SUCCESS',\n GET_ORG_BOTS_COUNT: 'bot/GET_ORG_BOTS_COUNT',\n GET_ORG_BOTS_COUNT_SUCCESS: 'bot/GET_ORG_BOTS_COUNT_SUCCESS',\n GET_ORG_BOTS_GRAPHIC: 'bot/GET_ORG_BOTS_GRAPHIC',\n GET_ORG_BOTS_GRAPHIC_SUCCESS: 'bot/GET_ORG_BOTS_GRAPHIC_SUCCESS',\n GET_ORG_TOTAL_MESSAGES: 'bot/GET_ORG_TOTAL_MESSAGES',\n GET_ORG_TOTAL_MESSAGES_SUCCESS: 'bot/GET_ORG_TOTAL_MESSAGES_SUCCESS',\n GET_ORG_TOTAL_MESSAGES_GRAPHIC: 'bot/GET_ORG_TOTAL_MESSAGES_GRAPHIC',\n GET_ORG_TOTAL_MESSAGES_GRAPHIC_SUCCESS:\n 'bot/GET_ORG_TOTAL_MESSAGES_GRAPHIC_SUCCESS',\n GET_ORG_TOTAL_SESSIONS: 'bot/GET_ORG_TOTAL_SESSIONS',\n GET_ORG_TOTAL_SESSIONS_SUCCESS: 'bot/GET_ORG_TOTAL_SESSIONS_SUCCESS',\n GET_ORG_TOTAL_SESSIONS_GRAPHIC: 'bot/GET_ORG_TOTAL_SESSIONS_GRAPHIC',\n GET_ORG_TOTAL_SESSIONS_GRAPHIC_SUCCESS:\n 'bot/GET_ORG_TOTAL_SESSIONS_GRAPHIC_SUCCESS',\n GET_ORG_TOTAL_USERS: 'bot/GET_ORG_TOTAL_USERS',\n GET_ORG_TOTAL_USERS_SUCCESS: 'bot/GET_ORG_TOTAL_USERS_SUCCESS',\n GET_ORG_TOTAL_USERS_GRAPHIC: 'bot/GET_ORG_TOTAL_USERS_GRAPHIC',\n GET_ORG_TOTAL_USERS_GRAPHIC_SUCCESS:\n 'bot/GET_ORG_TOTAL_USERS_GRAPHIC_SUCCESS',\n GET_ORG_LIST_USERS: 'bot/GET_ORG_LIST_USERS',\n GET_ORG_LIST_USERS_SUCCESS: 'bot/GET_ORG_LIST_USERS_SUCCESS',\n GET_ORG_MESSAGES_BY_CHANNEL: 'bot/GET_ORG_MESSAGES_BY_CHANNEL',\n GET_ORG_MESSAGES_BY_CHANNEL_SUCCESS:\n 'bot/GET_ORG_MESSAGES_BY_CHANNEL_SUCCESS',\n GET_ORG_MESSAGES_BY_CHANNEL_GRAPHIC:\n 'bot/GET_ORG_MESSAGES_BY_CHANNEL_GRAPHIC',\n GET_ORG_MESSAGES_BY_CHANNEL_GRAPHIC_SUCCESS:\n 'bot/GET_ORG_MESSAGES_BY_CHANNEL_GRAPHIC_SUCCESS',\n GET_ORG_USERS_BOTS: 'bot/GET_ORG_USERS_BOTS',\n GET_ORG_USERS_BOTS_SUCCESS: 'bot/GET_ORG_USERS_BOTS_SUCCESS',\n GET_ORG_USERS_BOTS_AVERAGE: 'bot/GET_ORG_USERS_BOTS_AVERAGE',\n GET_ORG_USERS_BOTS_AVERAGE_SUCCESS: 'bot/GET_ORG_USERS_BOTS_AVERAGE_SUCCESS',\n CREATE_DASHBOARD_REPORT: 'CREATE_DASHBOARD_REPORT',\n CREATE_DASHBOARD_REPORT_SUCCESS: 'CREATE_DASHBOARD_REPORT_SUCCESS',\n GET_DASHBOARD_REPORT: 'GET_DASHBOARD_REPORT',\n GET_DASHBOARD_REPORT_SUCCESS: 'GET_DASHBOARD_REPORT_SUCCESS',\n UPDATE_DASHBOARD_REPORT: 'UPDATE_DASHBOARD_REPORT',\n UPDATE_DASHBOARD_REPORT_SUCCESS: 'UPDATE_DASHBOARD_REPORT_SUCCESS',\n GET_COMPANY_MESSAGES_PER_BOT: 'GET_COMPANY_MESSAGES_PER_BOT',\n GET_COMPANY_MESSAGES_PER_BOT_SUCCESS: 'GET_COMPANY_MESSAGES_PER_BOT_SUCCESS',\n GET_SESSION_ATTENDANCE_TIME_REPORTS:\n 'bot/GET_SESSION_ATTENDANCE_TIME_REPORTS',\n GET_SESSION_ATTENDANCE_TIME_REPORTS_SUCCESS:\n 'bot/GET_SESSION_ATTENDANCE_TIME_REPORTS_SUCESS',\n GET_BOT_SESSION_TAGS: 'bot/GET_BOT_SESSION_TAGS',\n GET_BOT_SESSION_TAGS_SUCCESS: 'bot/GET_BOT_SESSION_TAGS_SUCCESS',\n GET_BOT_CUSTOM_REPORTS: 'bot/GET_BOT_CUSTOM_REPORTS',\n GET_BOT_CUSTOM_REPORTS_SUCCESS: 'bot/GET_BOT_CUSTOM_REPORTS_SUCCESS',\n CREATE_BOT_CUSTOM_REPORT: 'bot/CREATE_BOT_CUSTOM_REPORT',\n CREATE_BOT_CUSTOM_REPORT_SUCCESS: 'bot/CREATE_BOT_CUSTOM_REPORT_SUCCESS',\n GET_ERROR_LOGS_REQUEST: 'bot/GET_ERROR_LOGS_REQUEST',\n GET_ERROR_LOGS_SUCCESS: 'bot/GET_ERROR_LOGS_SUCCESS',\n};\n\nexport const getClientsReports = (botId, token, filters) => ({\n type: ReportsTypes.GET_CLIENTS_REPORTS,\n payload: { botId, token, filters },\n});\n\nexport const getClientsGraphicReports = (botId, token, filters) => ({\n type: ReportsTypes.GET_CLIENTS_REPORTS_GRAPHIC,\n payload: { botId, token, filters },\n});\n\nexport const getBotMessagesByChannel = (botId, token, filters) => ({\n type: ReportsTypes.GET_AMOUNT_MESSAGE_CHANNEL_REPORTS,\n payload: { botId, token, filters },\n});\n\nexport const getBotTotalMessagesByChannel = (botId, token, filters) => ({\n type: ReportsTypes.GET_TOTAL_MESSAGE_CHANNEL_REPORTS,\n payload: { botId, token, filters },\n});\n\nexport const getBotMessages = (botId, token, filters) => ({\n type: ReportsTypes.GET_BOT_MESSAGES,\n payload: { botId, token, filters },\n});\n\nexport const getBotMessagesWithAvg = (botId, token, filters) => ({\n type: ReportsTypes.GET_BOT_MESSAGES_AVG,\n payload: { botId, token, filters },\n});\n\nexport const getBotSessions = (botId, token, filters) => ({\n type: ReportsTypes.GET_SESSIONS_REPORTS,\n payload: { botId, token, filters },\n});\n\nexport const getBotSessionsGraphic = (botId, token, filters) => ({\n type: ReportsTypes.GET_SESSIONS_REPORTS_GRAPHIC,\n payload: { botId, token, filters },\n});\n\nexport const getAttendanceTime = (botId, token, filters) => ({\n type: ReportsTypes.GET_ATTENDANCE_TIME_REPORTS,\n payload: { botId, token, filters },\n});\n\nexport const getSessionAttendanceTime = (botId, token, filters) => ({\n type: ReportsTypes.GET_SESSION_ATTENDANCE_TIME_REPORTS,\n payload: { botId, token, filters },\n});\n\nexport const getBotAttendanceTimeGraphic = (botId, token, filters) => ({\n type: ReportsTypes.GET_ATTENDANCE_TIME_REPORTS_GRAPHIC,\n payload: { botId, token, filters },\n});\n\nexport const getCompanyBotsCount = (orgId, token) => ({\n type: ReportsTypes.GET_ORG_BOTS_COUNT,\n payload: { orgId, token },\n});\n\nexport const getCompanyBotsGraphic = (orgId, token, date, timezone) => ({\n type: ReportsTypes.GET_ORG_BOTS_GRAPHIC,\n payload: { orgId, token, date, timezone },\n});\n\nexport const getCompanyTotalMessageCount = (orgId, token, date, timezone) => ({\n type: ReportsTypes.GET_ORG_TOTAL_MESSAGES,\n payload: { orgId, token, date, timezone },\n});\n\nexport const getCompanyTotalMessagesGraphic = (\n orgId,\n token,\n date,\n timezone\n) => ({\n type: ReportsTypes.GET_ORG_TOTAL_MESSAGES_GRAPHIC,\n payload: { orgId, token, date, timezone },\n});\n\nexport const getCompanyTotalSessionsCount = (orgId, token, date, timezone) => ({\n type: ReportsTypes.GET_ORG_TOTAL_SESSIONS,\n payload: { orgId, token, date, timezone },\n});\n\nexport const getCompanyTotalSessionsGraphic = (\n orgId,\n token,\n date,\n timezone\n) => ({\n type: ReportsTypes.GET_ORG_TOTAL_SESSIONS_GRAPHIC,\n payload: { orgId, token, date, timezone },\n});\n\nexport const getCompanyTotalUsersCount = (orgId, token) => ({\n type: ReportsTypes.GET_ORG_TOTAL_USERS,\n payload: { orgId, token },\n});\n\nexport const getCompanyTotalUsersGraphic = (orgId, token, date, timezone) => ({\n type: ReportsTypes.GET_ORG_TOTAL_USERS_GRAPHIC,\n payload: { orgId, token, date, timezone },\n});\n\nexport const getCompanyListUsers = (orgId, token) => ({\n type: ReportsTypes.GET_ORG_LIST_USERS,\n payload: { orgId, token },\n});\n\nexport const getCompanyMessagesByChannel = (orgId, token, date, timezone) => ({\n type: ReportsTypes.GET_ORG_MESSAGES_BY_CHANNEL,\n payload: { orgId, token, date, timezone },\n});\n\nexport const getCompanyMessagesByChannelGraphic = (\n orgId,\n token,\n date,\n timezone\n) => ({\n type: ReportsTypes.GET_ORG_MESSAGES_BY_CHANNEL_GRAPHIC,\n payload: { orgId, token, date, timezone },\n});\n\nexport const getCompanyUsersBotsTotal = (orgId, token) => ({\n type: ReportsTypes.GET_ORG_USERS_BOTS,\n payload: { orgId, token },\n});\n\nexport const getCompanyUsersBotsAverage = (orgId, token) => ({\n type: ReportsTypes.GET_ORG_USERS_BOTS_AVERAGE,\n payload: { orgId, token },\n});\n\nexport const createDashboardReport = (body) => ({\n type: ReportsTypes.CREATE_DASHBOARD_REPORT,\n payload: body,\n});\n\nexport const getDashboardReport = (userId, type, token) => ({\n type: ReportsTypes.GET_DASHBOARD_REPORT,\n payload: { userId, type, token },\n});\n\nexport const updateDashboardReport = (body) => ({\n type: ReportsTypes.UPDATE_DASHBOARD_REPORT,\n payload: body,\n});\n\nexport const getCompanyMessagesPerBot = (payload) => ({\n type: ReportsTypes.GET_COMPANY_MESSAGES_PER_BOT,\n payload,\n});\n\nexport const getBotSessionTags = (payload) => ({\n type: ReportsTypes.GET_BOT_SESSION_TAGS,\n payload,\n});\n\nexport const getBotCustomReports = (botId, token) => ({\n type: ReportsTypes.GET_BOT_CUSTOM_REPORTS,\n payload: { botId, token },\n});\n\nexport const createBotCustomReport = (payload) => ({\n type: ReportsTypes.CREATE_BOT_CUSTOM_REPORT,\n payload,\n});\n\nexport const getErrorLogs = (payload) => ({\n type: ReportsTypes.GET_ERROR_LOGS_REQUEST,\n payload,\n});\n","import { saveAs } from 'file-saver';\nimport { BotsTypes } from '../actions/bots';\nimport { b64toBlob } from '../../util/utils';\nimport { ItemsTypes } from '../actions/items';\n\nconst INITIAL_STATE = {\n list: null,\n bot: {},\n history: [],\n sessions: {\n docs: [],\n page: 0,\n pages: 1,\n total: 0,\n },\n messages: {\n docs: [],\n page: 0,\n pages: 1,\n total: 0,\n },\n dashboardFilter: [],\n queueAttendance: [],\n botCollectDataCount: [],\n botCollectDataCsvBuffer: null,\n templatesBot: [],\n};\n\nexport default function items(state = INITIAL_STATE, action) {\n switch (action.type) {\n case BotsTypes.LIST_BOTS_REQUEST:\n return { ...state };\n case BotsTypes.LIST_BOTS_SUCCESS:\n return {\n ...state,\n list: action.payload,\n };\n case BotsTypes.NEW_BOT_REQUEST:\n return { ...state };\n case BotsTypes.NEW_BOT_SUCCESS:\n return { ...state };\n case BotsTypes.REMOVE_BOT_REQUEST:\n return { ...state };\n case BotsTypes.REMOVE_BOT_SUCCESS:\n return {\n ...state,\n list: state.list.filter((bot) => bot._id !== action.payload),\n };\n case BotsTypes.HISTORY_BOT_MESSAGE_SUCCESS:\n return {\n ...state,\n messages: {\n ...state.messages,\n ...action.payload,\n docs: [...state.messages.docs, ...action.payload.docs],\n },\n };\n case BotsTypes.CLEAR_HISTORY_BOT_MESSAGE:\n return {\n ...state,\n messages: {\n docs: [],\n page: 0,\n pages: 1,\n total: 0,\n },\n };\n case BotsTypes.HISTORY_BOT_FILTER_SESSIONS_SUCCESS:\n return {\n ...state,\n sessions: {\n ...state.sessions,\n ...action.payload,\n docs: [...state.sessions.docs, ...action.payload.docs],\n },\n };\n case BotsTypes.HISTORY_BOT_FILTER_SESSIONS_SEARCH_SUCCESS:\n return {\n ...state,\n sessions: {\n ...action.payload,\n docs: action.payload.docs,\n },\n };\n case BotsTypes.CLEAR_HISTORY_BOT_FILTER_SESSIONS:\n return {\n ...state,\n sessions: { docs: [], page: 0, pages: 1, total: 0 },\n };\n case BotsTypes.HISTORY_BOT_FILTER_DASHBOARD_SUCCESS:\n return {\n ...state,\n dashboardFilter: action.payload,\n };\n case BotsTypes.EDIT_TITLE_BOT_REQUEST:\n return { ...state };\n case BotsTypes.EDIT_TITLE_BOT_SUCCESS:\n return {\n ...state,\n bot: action.payload,\n };\n case BotsTypes.RETRIEVE_BOT_REQUEST:\n return { ...state };\n case BotsTypes.RETRIEVE_BOT_SUCCESS:\n return { ...state, bot: action.payload };\n case BotsTypes.SAVE_VIEW_POSITION_BOT:\n return {\n ...state,\n bot: { ...state.bot, viewPosition: action.payload.viewPosition },\n };\n case BotsTypes.PUBLISH_WIDGET_HTML_SUCCESS: {\n console.log('PUBLISH_WIDGET_HTML_SUCCESS', action.payload);\n try {\n const blob = b64toBlob(action.payload.data, 'application/zip');\n // console.log('blob', blob)\n saveAs(blob, `${action.payload.botId}.zip`);\n } catch (e) {\n console.log(e);\n }\n return { ...state };\n }\n case BotsTypes.SAVE_WIDGET_HTML:\n return { ...state };\n case BotsTypes.SAVE_WIDGET_HTML_SUCCESS: {\n const { payload } = action;\n payload.callback();\n console.log('SAVE_WIDGET_HTML_SUCCESS', payload.data);\n return { ...state, bot: payload.data };\n }\n case BotsTypes.SAVE_ROOT_ITEM: {\n return { ...state };\n }\n case BotsTypes.SAVE_ROOT_ITEM_SUCCESS: {\n const { payload } = action;\n return { ...state, bot: payload };\n }\n case ItemsTypes.LIST_ITEMS_SUCCESS: {\n // TODO - Isso está correto?\n const { payload } = action;\n\n return { ...state, bot: payload.bot };\n }\n case BotsTypes.UPDATE_BOT_SUCCESS: {\n const { payload } = action;\n return { ...state, bot: payload };\n }\n\n case BotsTypes.BOT_UPDATE_DATE: {\n const { payload } = action;\n return { ...state, bot: { ...state.bot, lastUpdate: payload } };\n }\n\n case BotsTypes.SET_QUEUE_ATTENDANCE: {\n const { payload } = action;\n return { ...state, queueAttendance: payload };\n }\n\n case BotsTypes.UPDATE_BOT_STATUS: {\n const { payload } = action;\n return { ...state, bot: { ...state.bot, ...payload.data } };\n }\n\n case BotsTypes.UPDATE_BOT_IA_STATUS: {\n const { payload } = action;\n return {\n ...state,\n bot: { ...state.bot, iaStatus: payload.iaStatus },\n };\n }\n\n case BotsTypes.BOT_COLLECT_DATA_COUNT_SUCCESS: {\n return { ...state, botCollectDataCount: action.payload };\n }\n\n case BotsTypes.BOT_COLLECT_DATA_COUNT_RESET_SUCCESS: {\n return { ...state, botCollectDataCount: [] };\n }\n\n case BotsTypes.BOT_COLLECT_DATA_CSV_RESET_SUCCESS: {\n return { ...state, botCollectDataCsvBuffer: action.payload };\n }\n\n case BotsTypes.UPDATE_GENERAL_BOT_INFO_SUCCESS: {\n return { ...state, bot: action.payload };\n }\n\n case BotsTypes.UPDATE_VOICE_BOT_SUCCESS: {\n return { ...state, bot: action.payload };\n }\n\n case BotsTypes.CLONE_VOICE_BOT_SUCCESS: {\n const newBot = action.payload.bot;\n return { ...state, list: [...state.list, newBot] };\n }\n\n case BotsTypes.RETRIEVE_ZENDESK_TICKET_SETTINGS: {\n const { payload } = action;\n return {\n ...state,\n bot: { ...state.bot, settings: payload.settings },\n };\n }\n\n case BotsTypes.RETRIEVE_GLPI_SETTINGS: {\n const { payload } = action;\n return {\n ...state,\n bot: { ...state.bot, settings: payload.settings },\n };\n }\n\n case BotsTypes.RETRIEVE_JIRA_SETTINGS: {\n const { payload } = action;\n return {\n ...state,\n bot: { ...state.bot, settings: payload.settings },\n };\n }\n\n case BotsTypes.RETRIEVE_ATTENDANCE_HOUR_SETTINGS: {\n const { payload } = action;\n return {\n ...state,\n bot: { ...state.bot, settings: payload.settings },\n };\n }\n\n case BotsTypes.PUBLISH_BOT_SUCCESS: {\n const { payload } = action;\n\n return {\n ...state,\n bot: {\n ...state.bot,\n versions: payload.versions,\n isActive: payload.isActive,\n },\n };\n }\n\n case BotsTypes.RETRIEVE_ATTEDANCE_HOUR_SETTINGS: {\n const { payload } = action;\n return {\n ...state,\n bot: { ...state.bot, settings: payload.settings },\n };\n }\n\n case BotsTypes.SAVE_QUICK_ACCESS_SETTINGS_SUCCESS: {\n const { payload } = action;\n return {\n ...state,\n bot: {\n ...state.bot,\n quickAccess: payload,\n },\n };\n }\n\n case BotsTypes.COUNT_STATUS_CREATOR_NO_SAVE_SUCCESS: {\n const { payload } = action;\n return {\n ...state,\n bot: {\n ...state.bot,\n countUpdatesNoPublish: payload,\n },\n };\n }\n case BotsTypes.COUNT_STATUS_CREATOR_NO_SAVE_REMOVE_SUCCESS: {\n const { payload } = action;\n return {\n ...state,\n bot: {\n ...state.bot,\n countUpdatesNoPublish: payload,\n },\n };\n }\n\n default:\n return state;\n }\n}\n","import { ItemsTypes } from '../actions/items';\n\n/* Reducer */\n\nconst INITIAL_STATE = {\n loading: false,\n list: [],\n currentItem: null,\n currentPath: null,\n contextMenuOption: null,\n showRightMenu: false,\n currentSelectedItem: null,\n currentClickItem: null,\n httpHeaders: [],\n variables: [],\n itemsToRemove: [],\n connectorsToRemove: [],\n activeIaOnItems: true,\n currentFlow: { title: '', id: '' },\n allItems: [],\n selectedMenuOption: null,\n};\n\nexport function getListItems(state) {\n return state.items.list;\n}\n\nexport function getVariables(state) {\n return state.items.variables;\n}\n\nexport default function items(state = INITIAL_STATE, action) {\n let itemIndex = -1;\n let newList = [];\n\n switch (action.type) {\n case ItemsTypes.CREATE_ITEM_REQUEST:\n return { ...state, loading: true };\n case ItemsTypes.CREATE_ITEM_SUCCESS:\n return {\n ...state,\n list: [...state.list, action.payload],\n showRightMenu: true,\n currentItem: action.payload,\n currentSelectedItem: action.payload,\n currentClickItem: action.payload._id,\n loading: false,\n };\n case ItemsTypes.UPDATE_SELECTED_ITEM:\n return {\n ...state,\n showRightMenu: action.payload !== undefined && action.payload !== null,\n currentSelectedItem: action.payload,\n currentClickItem: action.payload ? action.payload._id : '',\n };\n case ItemsTypes.UPDATE_ITEM_IN_LIST_STATE: {\n const updatedItem = action.payload.item;\n const newItemList = state.list.map((_item) =>\n _item._id === updatedItem._id ? updatedItem : _item\n );\n\n return {\n ...state,\n list: newItemList,\n };\n }\n case ItemsTypes.REMOVE_ITEM_IN_LIST_STATE: {\n const removeItem = action.payload.item;\n const newItemList = state.list.filter(\n (_item) => _item._id !== removeItem._id\n );\n\n return {\n ...state,\n list: newItemList,\n };\n }\n case ItemsTypes.REMOVE_ITEM_REQUEST:\n case ItemsTypes.REMOVE_VOICE_ITEM_REQUEST:\n return { ...state, loading: true, showRightMenu: false };\n case ItemsTypes.CLONE_ITEM_REQUEST:\n return { ...state, loading: true };\n case ItemsTypes.REMOVE_ITEM_SUCCESS:\n return {\n ...state,\n list: state.list.filter((item) => item._id !== action.payload),\n loading: false,\n };\n case ItemsTypes.LIST_ITEMS_REQUEST:\n return { ...state, loading: true };\n case ItemsTypes.LIST_ITEMS_SUCCESS: {\n const variables = [];\n for (const item of action.payload.items) {\n if (item.variable) {\n variables.push({ id: item._id, variable: item.variable });\n }\n }\n\n if (action.payload.bot && action.payload.bot.rootItem) {\n action.payload.items.push({\n positionOnScreen: [500, 50],\n root: true,\n _id: 'builder__root',\n title: 'Ponto inicial',\n });\n }\n\n const itemsCopy = [...action.payload.items].filter(\n (i) => state.itemsToRemove.find((ii) => ii._id === i._id) === undefined\n );\n\n return {\n ...state,\n list: itemsCopy,\n loading: false,\n showRightMenu: false,\n variables,\n };\n }\n case ItemsTypes.SET_CURRENT_ITEM:\n return {\n ...state,\n currentItem: { ...action.payload },\n currentPath: null,\n };\n case ItemsTypes.SET_CURRENT_PATH:\n return {\n ...state,\n currentItem: null,\n currentPath: action.payload,\n showRightMenu: action.payload !== undefined && action.payload !== null,\n };\n case ItemsTypes.SET_SELECTED_MENU_OPTION:\n return {\n ...state,\n selectedMenuOption: action.payload,\n };\n case ItemsTypes.EDIT_ITEM: {\n let newVariables = [...state.variables];\n if (action.payload.variable) {\n newVariables = newVariables.filter((i) => i.id !== action.payload._id);\n newVariables.push({\n id: action.payload._id,\n variable: action.payload._id,\n });\n }\n itemIndex = state.list.findIndex((l) => l._id === action.payload._id);\n\n const currentList = state.list;\n\n if (itemIndex >= 0) {\n if (currentList[itemIndex]) {\n currentList[itemIndex].uploading = false;\n }\n currentList[itemIndex] = action.payload;\n }\n\n return {\n ...state,\n loading: true,\n list: currentList,\n variables: newVariables,\n currentItem: action.payload,\n };\n }\n case ItemsTypes.EDIT_URL_ITEM_REQUEST:\n itemIndex = state.list.findIndex((l) => l._id === action.payload.itemid);\n newList = [...state.list];\n\n if (itemIndex >= 0) {\n newList[itemIndex].uploading = true;\n newList[itemIndex].upload_progress = 0;\n }\n\n return {\n ...state,\n loading: true,\n list: newList,\n };\n case ItemsTypes.EDIT_ITEM_UPLOAD_PROGRESS:\n itemIndex = state.list.findIndex(\n (l) => l._id === action.payload.item._id\n );\n newList = [...state.list];\n console.log(itemIndex, action.progress);\n if (itemIndex >= 0) {\n newList[itemIndex].upload_progress = action.progress;\n }\n\n return {\n ...state,\n loading: true,\n list: newList,\n };\n case ItemsTypes.EDIT_FILE_ITEM_REQUEST:\n itemIndex = state.list.findIndex((l) => l._id === action.payload._id);\n newList = [...state.list];\n\n if (itemIndex >= 0) {\n newList[itemIndex].uploading = true;\n newList[itemIndex].upload_progress = 0;\n }\n\n return {\n ...state,\n loading: true,\n list: newList,\n };\n\n case ItemsTypes.REMOVE_FILE_ITEM_REQUEST:\n itemIndex = state.list.findIndex((l) => l._id === action.payload._id);\n newList = [...state.list];\n\n if (itemIndex >= 0) {\n newList[itemIndex].uploading = false;\n newList[itemIndex].upload_progress = 100;\n }\n\n return {\n ...state,\n loading: false,\n list: newList,\n };\n\n case ItemsTypes.ITEM_CHANGE_CURRENT_FLOW:\n return { ...state, currentFlow: action.payload };\n case ItemsTypes.LIST_ALL_ITEMS_SUCCESS:\n return { ...state, allItems: action.payload };\n case ItemsTypes.UPDATE_ALL_ITEMS: {\n const { allItems } = state;\n const { item, isRemove } = action.payload;\n const { _id: newItemId } = item;\n const newAllItems = [...allItems];\n\n if (!isRemove) {\n const getItem = newAllItems.find(({ _id }) => _id === newItemId);\n if (!getItem) {\n newAllItems.push(item);\n } else {\n const index = newAllItems.indexOf(getItem);\n newAllItems[index] = { ...item };\n }\n return { ...state, allItems: newAllItems };\n }\n\n return {\n ...state,\n allItems: newAllItems.filter(({ _id }) => _id !== newItemId),\n };\n }\n\n case ItemsTypes.RESET_ITEMS:\n return { ...INITIAL_STATE };\n default:\n return state;\n }\n}\n","import { combineReducers } from 'redux';\nimport actions from '../actions';\nimport { API_TOKEN } from '../../services/api';\n\nconst initialState = {\n isLoggedIn: localStorage.getItem(API_TOKEN) !== null,\n lastNotice: '',\n resendConfirmationEmail: null,\n};\n\nexport const authStatus = (state = initialState, action) => {\n switch (action.type) {\n case actions.AUTH_LOGIN:\n return {\n ...state,\n isLoggedIn: true,\n };\n case actions.AUTH_LOGOUT:\n return {\n ...state,\n isLoggedIn: false,\n };\n case actions.AUTH_NOTICE:\n return {\n ...state,\n isLoggedIn: true,\n lastNotice: action.payload.notice,\n };\n case actions.AUTH_RESEND_EMAIL_CONFIRMATION_SUCCESS:\n console.log(action.payload);\n return { ...state, resendConfirmationEmail: action.payload };\n default:\n return state;\n }\n};\nconst inicialStateTfa = {\n active: false,\n dataURL: '',\n message: '',\n error: '',\n};\n\nexport const tfaStatus = (state = inicialStateTfa, action) => {\n switch (action.type) {\n case actions.TFA_SETUP_SUCCESS:\n return {\n ...state,\n dataURL: action.payload.dataURL,\n };\n case actions.TFA_ACTIVE_SUCCESS:\n return {\n ...state,\n message: action.payload?.message || '',\n error: action.payload?.error || '',\n };\n case actions.TFA_DISABLE_SUCCESS:\n return {\n ...state,\n message: action.payload?.message,\n };\n case actions.TFA_VERIFY_SUCCESS:\n return {\n ...state,\n token: action.payload?.token,\n };\n default:\n return state;\n }\n};\n\nexport default combineReducers({\n authStatus,\n tfaStatus,\n});\n","import actions from '../actions'\nimport {ValidationType, ValidationTypeExp, ValidationTypeExpFlags} from '../../util/validation-type'\n\nconst {PreviewBotTypes} = actions\n\nconst previewBotInitialState = Object.freeze({\n messages: [],\n visible: false,\n firstTest: true,\n finished: false,\n // currentState: 0,\n states: [],\n botState: undefined,\n botPreviousState: undefined,\n variables: []\n})\n\nexport function lastState(state) {\n // const { currentState, states } = state.previewBot;\n //\n // let oldState = currentState;\n //\n // if (currentState > 0) {\n // oldState = currentState - 1;\n // }\n //\n // return { ...states[oldState] };\n return state.previewBot.botPreviousState\n}\n\nexport function currentState(state) {\n return state.previewBot.botState\n}\n\nexport function findNextState(state) {\n const next = botNextState(state.previewBot.states, state.previewBot.messages, state.previewBot.botState, false)\n return next\n}\n\nexport function isFinished(state) {\n return state.previewBot.finished\n}\n\nexport function captureAnswer(state) {\n const { /*currentState, states,*/ botState} = state.previewBot\n return botState && botState.captureAnswer\n}\n\nconst previewBot = (state = previewBotInitialState, action) => {\n // eslint-disable-next-line no-unused-vars\n // console.log('previewBot', action.type)\n const {states, messages, botState} = state\n switch (action.type) {\n case PreviewBotTypes.previewSendUserMessage: {\n // console.log('previewSendUserMessage', action.payload)\n let newVariables = [...state.variables]\n if (botState.variable) {\n newVariables = newVariables.filter(i => i.id !== botState._id)\n newVariables.push({id: botState._id, variable: botState.variable, value: action.payload.message.body})\n }\n return {\n ...state,\n messages: [...state.messages, action.payload],\n variables: newVariables\n }\n }\n case PreviewBotTypes.previewResetMessages:\n return {\n ...state,\n messages: [],\n // currentState: 0,\n botState: undefined,\n botPreviousState: undefined,\n finished: false,\n }\n case PreviewBotTypes.previewOpen:\n return {\n ...state,\n visible: true\n }\n case PreviewBotTypes.previewDispose:\n return {\n ...state,\n visible: false,\n firstTest: true,\n }\n case PreviewBotTypes.previewStart:\n return {\n ...state,\n firstTest: false,\n }\n case PreviewBotTypes.previewSetStateMachine: {\n // if (action.payload.states) {\n // for (let st of action.payload.states) {\n // st.descriptionError = undefined\n // st.errors = 0\n // }\n // }\n return {\n ...state,\n // states: [...action.payload.states],\n // variables: [...action.payload.variables]\n }\n }\n case PreviewBotTypes.previewSendBotPrepareNextMessage: {\n return {\n ...state\n }\n }\n case PreviewBotTypes.previewSendBotTyppingStop: {\n let newMessages = [...state.messages]\n newMessages = newMessages.filter(i => i.from !== 'BOT_TYPPING')\n return {\n ...state,\n messages: newMessages,\n }\n }\n // case PreviewBotTypes.previewNextStatePreview:\n // console.log('previewNextStatePreview', states)\n // if (states.length > currentState + 1) {\n // return {\n // ...state,\n // currentState: state.currentState + 1\n // };\n // }\n // return {\n // ...state,\n // finished: true,\n // };\n // return {\n // ...state\n // }\n case PreviewBotTypes.previewSendBotTypping:\n return {\n ...state,\n messages: [\n ...state.messages,\n {\n from: 'BOT_TYPPING',\n message: {when: new Date(), body: '...', state: undefined}\n }\n ],\n }\n case PreviewBotTypes.previewSendBotMessage: {\n if (state.finished) {\n return state\n }\n\n const previewState = botState ? Object.assign({}, botState) : undefined\n\n const nextBotState = botNextState(states, messages, botState)\n if (!nextBotState) {\n return {\n ...state,\n finished: true\n }\n }\n\n let body = nextBotState.description && nextBotState.description.length > 0 ? nextBotState.description[0] : ''\n if (nextBotState.description && nextBotState.description.length > 1) {\n const randomIndex = Math.floor(Math.random() * nextBotState.description.length)\n body = nextBotState.description[randomIndex]\n }\n if (nextBotState && nextBotState.descriptionError) {\n body = nextBotState.descriptionError\n }\n\n body = checkVariable(state.variables, body)\n\n const newMessages = [...state.messages]\n\n newMessages.push({\n from: 'BOT',\n message: {when: new Date(), body: body, state: nextBotState}\n })\n\n return {\n ...state,\n // botPreviousState: previewState,\n // botState: nextBotState,\n // messages: newMessages,\n }\n }\n default:\n return state\n }\n}\n\nconst checkVariable = (variables, body) => {\n while (body.indexOf('{') >= 0 && body.indexOf('}') >= 0) {\n const variable = body.substring(body.indexOf('{') + 1, body.indexOf('}'))\n const _var = variables.find(i => i.variable === variable)\n if (_var) {\n body = body.replace(`{${variable}}`, _var.value)\n }\n }\n return body\n}\n\nconst botNextState = (states, messages, botState, checkError = true) => {\n // console.log('botState', botState)\n // console.log('messages', messages)\n if (!botState) {\n return states.filter(state => typeof state.ancestorItem === 'undefined')[0]\n } else {\n if (botState.children.length === 0) {\n return null\n } else if (botState.children.length === 1 || botState.type !== 'Menu') {\n if (botState.captureAnswer) {\n if (botState.validationType > ValidationType.Any) {\n const userMessages = messages.filter(msg => msg.from === 'USER')\n if (userMessages.length > 0) {\n const reg = new RegExp(ValidationTypeExp[botState.validationType], ValidationTypeExpFlags[botState.validationType])\n // const exp = ValidationTypeExp[botState.validationType]\n // const flags = ValidationTypeExpFlags[botState.validationType]\n const msg = userMessages[userMessages.length - 1].message.body\n if (checkError && !reg.test(msg)) {\n // console.log('Erro')\n return handleError(botState)\n // } else {\n // if (checkError) {\n // console.log('Sem erro')\n // }\n }\n }\n }\n }\n const nextState = states.find(state => state._id === botState.children[0])\n if (checkError) {\n nextState.errors = 0\n nextState.descriptionError = undefined\n // console.log('>>> proximo estado: ', nextState)\n }\n return nextState\n } else {\n // It's Menu!\n const userMessages = messages.filter(msg => msg.from === 'USER')\n if (userMessages.length > 0) {\n // console.log('userMessages', userMessages)\n const option = parseInt(userMessages[userMessages.length - 1].message.body)\n // console.log('option', option)\n if (isNaN(option)) {\n return botState\n } else {\n if (option - 1 < 0 || option - 1 >= botState.children.length) {\n return handleError(botState)\n } else {\n return states.find(state => state._id === botState.children[option - 1])\n }\n }\n } else {\n return null\n }\n }\n }\n}\n\nconst handleError = (botState) => {\n if (botState.errors) {\n botState.errors++\n } else {\n botState.errors = 1\n }\n if (botState.maxTries) {\n if (botState.errors) {\n if (botState.errors >= botState.maxTries) {\n botState.descriptionError = botState.errorMessageFinal\n } else {\n if (botState.errorMessage) {\n botState.descriptionError = botState.errorMessage\n }\n }\n }\n } else {\n if (botState.errorMessage) {\n botState.descriptionError = botState.errorMessage\n }\n }\n console.log('handleError, errors: ', botState.errors, ' maxTries: ', botState.maxTries)\n return botState\n}\n\n\nexport default previewBot\n","import { combineReducers } from 'redux';\nimport actions from '../actions';\n\nconst initialState = {\n loading: false,\n};\n\nexport const commonStatus = (state = initialState, action) => {\n switch (action.type) {\n case actions.commonActions.LOADING:\n return {\n ...state,\n loading: action.payload.loading,\n };\n case actions.commonActions.LOADING_START:\n return { ...state, loading: true };\n case actions.commonActions.LOADING_FINISH:\n return { ...state, loading: false };\n // case actions.ItemsTypes.LIST_ITEMS_REQUEST:\n case actions.CompanyTypes.GET_COMPANIES_REQUEST:\n case actions.CompanyTypes.CREATE_COMPANY_REQUEST:\n case actions.CompanyTypes.UPDATE_COMPANY_REQUEST:\n case actions.CompanyTypes.UPDATE_SELECTED_COMPANY_REQUEST:\n case actions.CompanyTypes.GET_ORGANIZATIONS:\n case actions.BotsTypes.LIST_BOTS_REQUEST:\n case actions.UserTypes.CREATE_USER:\n case actions.UserTypes.UPDATE_USER:\n case actions.UserTypes.SELECT_ORGANIZATION:\n return { ...state, loading: true };\n case actions.UserTypes.SELECT_COMPANY_ORGANIZATION:\n return { ...state, loading: true };\n case actions.BotsTypes.UPDATE_BOT_REQUEST:\n return { ...state, loading: false };\n case actions.CompanyTypes.GET_COMPANIES_REQUEST_SUCCESS:\n case actions.CompanyTypes.CREATE_COMPANY_REQUEST_SUCCESS:\n case actions.CompanyTypes.UPDATE_COMPANY_REQUEST_SUCCESS:\n case actions.CompanyTypes.UPDATE_SELECTED_COMPANY_SUCCESS:\n case actions.CompanyTypes.GET_ORGANIZATIONS_SUCCESS:\n case actions.BotsTypes.RETRIEVE_BOT_SUCCESS:\n case actions.BotsTypes.LIST_BOTS_SUCCESS:\n case actions.ItemsTypes.LIST_ITEMS_SUCCESS:\n case actions.BotsTypes.UPDATE_BOT_SUCCESS:\n case actions.UserTypes.CREATE_USER_SUCCESS:\n case actions.UserTypes.UPDATE_USER_SUCCESS:\n case actions.UserTypes.SELECT_ORGANIZATION_SUCCESS:\n return { ...state, loading: false };\n case actions.UserTypes.SELECT_COMPANY_ORGANIZATION_SUCCESS:\n return { ...state, loading: false };\n default:\n return state;\n }\n};\n\nexport default combineReducers({\n commonStatus,\n});\n","import actions from '../actions';\n\nconst initialState = {\n company: {},\n companies: [],\n getCompaniesCompleted: false,\n companyEditing: undefined,\n organizations: [],\n getOrganizationsCompleted: false,\n historyActions: {\n docs: [],\n page: 1,\n totalPages: 0,\n },\n};\n\nexport const companiesState = (state = initialState, action) => {\n switch (action.type) {\n case actions.CompanyTypes.RESET_REDUX_COMPANIES: {\n state = initialState;\n return state;\n }\n case actions.CompanyTypes.GET_COMPANY_REQUEST_SUCCESS:\n return {\n ...state,\n company: action.payload,\n companies: state.companies.map((company) =>\n company._id !== action.payload._id ? company : action.payload\n ),\n };\n case actions.CompanyTypes.SET_PLAN_COMPANY_SUCCESS:\n return {\n ...state,\n company: action.payload.company,\n };\n case actions.CompanyTypes.GET_COMPANIES_REQUEST_SUCCESS:\n return {\n ...state,\n companies: [...action.payload],\n getCompaniesCompleted: true,\n };\n case actions.CompanyTypes.CREATE_COMPANY_REQUEST_SUCCESS:\n return {\n ...state,\n companyEditing: { ...action.payload },\n };\n case actions.CompanyTypes.UPDATE_SELECTED_COMPANY_SUCCESS:\n return {\n ...state,\n company: action.payload,\n };\n case actions.CompanyTypes.UPDATE_COMPANY_REQUEST_SUCCESS:\n case actions.CompanyTypes.CANCEL_COMPANY_EDITING:\n return {\n ...state,\n companyEditing: undefined,\n };\n case actions.CompanyTypes.START_COMPANY_EDITING:\n return {\n ...state,\n companyEditing: { ...action.payload },\n };\n case actions.CompanyTypes.GET_ORGANIZATIONS_SUCCESS:\n return {\n ...state,\n organizations: [...action.payload],\n getOrganizationsCompleted: true,\n };\n case actions.CompanyTypes.GET_HISTORY_ACTIONS_SUCCESS:\n return {\n ...state,\n historyActions: { ...action.payload },\n };\n case actions.CompanyTypes.GET_ERROR_LOGS_SUCCESS:\n return {\n ...state,\n errorLogs: action.payload,\n };\n default:\n return state;\n }\n};\n\nexport default companiesState;\n","import actions from '../actions';\n\nconst initialState = {\n users: [],\n userEditing: undefined,\n signedUser: undefined,\n signedUserIsRoot: false,\n};\n\nexport default function usersState(state = initialState, action) {\n switch (action.type) {\n case actions.UserTypes.GET_ME_SUCCESS:\n case actions.authActions.AUTH_LOGIN: {\n const { claim } = action.payload.user;\n const isRoot = claim.find((e) => e.name === 'Root');\n return {\n ...state,\n signedUser: { ...action.payload.user },\n signedUserIsRoot: isRoot?.name === 'Root',\n };\n }\n case actions.UserTypes.GET_USERS_SUCCESS:\n return {\n ...state,\n users: [...action.payload],\n };\n case actions.UserTypes.CREATE_USER_SUCCESS:\n return {\n ...state,\n };\n case actions.UserTypes.UPDATE_USER_SUCCESS:\n return {\n ...state,\n };\n\n case actions.UserTypes.UPDATE_SIGNED_USER_STATE:\n return {\n ...state,\n signedUser: { ...action.payload.user },\n };\n\n case actions.UserTypes.SELECT_ORGANIZATION_SUCCESS:\n return {\n ...state,\n signedUser: { ...action.payload.user },\n };\n\n case actions.UserTypes.SELECT_COMPANY_ORGANIZATION_SUCCESS:\n return {\n ...state,\n signedUser: { ...action.payload.user },\n };\n default:\n return {\n ...state,\n };\n }\n}\n","import actions from '../actions';\n\nconst initialState = {\n permissions: [],\n getPermissionsCompleted: false,\n};\n\nexport default function permissionsState(state = initialState, action) {\n switch (action.type) {\n case actions.PermissionTypes.GET_PERMISSIONS_SUCCESS:\n return {\n ...state,\n permissions: [...action.payload],\n getPermissionsCompleted: true,\n };\n default:\n return {\n ...state,\n };\n }\n}\n","import { IaTypes } from '../actions/intelligence';\n\n/* Reducer */\n\nconst INITIAL_STATE = {\n ia: {},\n intents: [],\n entity: [],\n entities: [],\n samples: [],\n samplesAll: [],\n curation: {},\n conditions: [],\n editCondition: {},\n aprimoramentos: [],\n platform: '',\n iaInfo: {},\n filterCuration: {},\n};\n\nexport default function intelligence(state = INITIAL_STATE, action) {\n switch (action.type) {\n case IaTypes.IA_PLATFORM_SUCCESS:\n return {\n ...state,\n platform: action.payload,\n };\n case IaTypes.IA_CREATE_WIT_SUCCESS:\n return {\n ...state,\n ia: { ...state.ia, wit: action.payload },\n plataform: 'wit',\n };\n case IaTypes.IA_CREATE_LUIS_SUCCESS:\n return {\n ...state,\n ia: { ...state.ia, luis: action.payload },\n plataform: 'luis',\n };\n case IaTypes.IA_CREATE_BOTERIA_SUCCESS:\n return {\n ...state,\n ia: { ...state.ia, boteria: action.payload },\n plataform: 'boteria',\n };\n case IaTypes.CURATION_BOT_LIST_MESSAGES_SUCCESS:\n return {\n ...state,\n curation: { ...state.curation, messages: action.payload },\n };\n case IaTypes.CURATION_BOT_IGNORE_MESSAGE_SUCCESS:\n return {\n ...state,\n curation: {\n ...state.curation,\n messages: state.curation.messages.filter(\n (message) => message._id !== action.payload._id\n ),\n },\n };\n case IaTypes.CURATION_BOT_ACCEPT_MESSAGE_SUCCESS:\n return {\n ...state,\n curation: {\n ...state.curation,\n messages: state.curation.messages.filter(\n (message) => message._id !== action.payload._id\n ),\n },\n };\n case IaTypes.IA_LIST_ENTITIES_SUCCESS:\n return {\n ...state,\n entities: action.payload,\n };\n case IaTypes.IA_LIST_ENTITY_SUCCESS:\n return {\n ...state,\n entity: action.payload,\n };\n\n case IaTypes.IA_LIST_ALL_SAMPLES_SUCCESS:\n return {\n ...state,\n samples: action.payload,\n };\n\n case IaTypes.IA_LIST_SAMPLES_INTENT_SUCCESS:\n return {\n ...state,\n samplesAll: action.payload.intent,\n };\n\n case IaTypes.IA_LIST_INTENTS_SUCCESS:\n return {\n ...state,\n intents: action.payload,\n };\n case IaTypes.IA_CREATE_INTENTS_SUCCESS:\n return {\n ...state,\n intents: [...state.intents, action.payload],\n };\n case IaTypes.IA_DELETE_INTENTS_SUCCESS:\n return {\n ...state,\n intents: [...state.intents, action.payload],\n };\n case IaTypes.IA_SAVE_SAMPLE_SUCCESS:\n return {\n ...state,\n ia: { ...state.ia, sample_result: action.payload },\n };\n case IaTypes.IA_CREATE_CONDITIONS_SUCCESS:\n return {\n ...state,\n conditions: [...state.conditions, action.payload],\n };\n case IaTypes.IA_DELETE_CONDITIONS_SUCCESS:\n return {\n ...state,\n conditions: state.conditions.filter(\n (condition) => condition._id !== action.payload\n ),\n };\n case IaTypes.IA_UPDATE_CONDITIONS_SUCCESS:\n return {\n ...state,\n conditions: state.conditions.map((condition) =>\n condition._id === action.payload._id\n ? { ...condition, ...action.payload }\n : condition\n ),\n };\n case IaTypes.IA_LIST_CONDITIONS_SUCCESS:\n return {\n ...state,\n conditions: action.payload,\n };\n case IaTypes.IA_SET_EDIT_CONDITION:\n return {\n ...state,\n editCondition: action.payload,\n };\n case IaTypes.CURATION_BOT_SET_APRIMORAMENTOS:\n return {\n ...state,\n aprimoramentos: [...state.aprimoramentos, action.payload],\n };\n case IaTypes.CURATION_BOT_APRIMORAMENTOS_DELETE:\n return {\n ...state,\n aprimoramentos: state.aprimoramentos.filter(\n (aprimoramento) => aprimoramento !== action.payload\n ),\n };\n case IaTypes.CURATION_BOT_APRIMORAMENTOS_CLEAR:\n return {\n ...state,\n aprimoramentos: [],\n };\n case IaTypes.IA_PLATFORM_INFO_SUCCESS:\n return {\n ...state,\n iaInfo: action.payload,\n };\n case IaTypes.IA_PLATFORM_INFO_ERROR:\n return {\n ...state,\n iaInfo: {},\n };\n case IaTypes.IA_UPDATE_FILTER_CURATION:\n return {\n ...state,\n filterCuration: action.payload,\n };\n case IaTypes.IA_PREVIEW_SUCCESS:\n return {\n ...state,\n iaPreviewResult: action.payload,\n };\n default:\n return state;\n }\n}\n","import { ConnectorsTypes } from '../actions/connectors';\n\n/* Reducer */\n\nconst INITIAL_STATE = {\n list: [],\n allConnectors: [],\n};\n\nexport default function connectors(state = INITIAL_STATE, action) {\n switch (action.type) {\n case ConnectorsTypes.GET_CONNECTORS_SUCCESS:\n return { ...state, list: action.payload };\n\n case ConnectorsTypes.LIST_ALL_CONNECTORS_SUCCESS:\n return { ...state, allConnectors: action.payload };\n\n case ConnectorsTypes.CREATE_CONNECTOR_SUCCESS:\n return { ...state, list: [...state.list, action.payload] };\n\n case ConnectorsTypes.DELETE_CONNECTOR_SUCCESS:\n return {\n ...state,\n list: state.list.filter(\n (connector) => connector._id !== action.payload.id\n ),\n };\n\n default:\n return state;\n }\n}\n","import { FilterTypes } from '../../store/actions/filter';\n\n/* Reducer */\n\nconst INITIAL_STATE = {\n startDate: new Date(\n new Date().setDate(new Date().getDate() - 1)\n ),\n endDate: new Date(),\n vlSelect: '',\n dateFilter: new Date(),\n tags: [],\n nameTags: [],\n channels: [],\n variables: [],\n};\n\nexport default function filter(state = INITIAL_STATE, action) {\n switch (action.type) {\n case FilterTypes.LIST_FILTER_INFO:\n return {\n ...state,\n startDate: action.payload.startDate,\n endDate: action.payload.endDate,\n vlSelect: action.payload.vlSelect,\n tags: action.payload.tags,\n nameTags: action.payload.nameTags,\n channels: action.payload.channels,\n variables: action.payload.variables,\n };\n case FilterTypes.FILTER_RELATORIO_INFO:\n return {\n ...state,\n dateFilter: action.payload.dateFilter,\n };\n default:\n return state;\n }\n}\n","import { DebounceTypes } from '../actions/debounce';\n\n/* Reducer */\nconst INITIAL_STATE = {\n list: [],\n time: 3,\n};\n\nexport default function debounce(state = INITIAL_STATE, action) {\n const { payload, type } = action;\n\n switch (type) {\n case DebounceTypes.ADD_ITEM_DEBOUNCE:\n if (\n payload.type === 'UPDATE_ITEM' &&\n state.list.find(\n (item) =>\n item.payload._id === payload.payload._id &&\n item.type === payload.type\n )\n ) {\n return {\n ...state,\n list: state.list.map((item) =>\n item.payload._id === payload.payload._id &&\n item.type === payload.type\n ? payload\n : item\n ),\n };\n }\n return { ...state, list: [...state.list, payload] };\n\n case DebounceTypes.CLEAR_DEBOUNCE:\n return { ...state, list: [] };\n\n case DebounceTypes.SET_TIME:\n return { ...state, time: payload };\n\n case DebounceTypes.EXECUTE_DEBOUNCE:\n return state;\n\n case DebounceTypes.DELETE_ITEM_DEBOUNCE:\n return { ...state, list: state.list.filter((elem) => elem !== payload) };\n\n default:\n return state;\n }\n}\n","import { ReportsTypes } from '../actions/reports';\n\n/* Reducer */\n\nconst INITIAL_STATE = {\n botClients: [],\n botClientsGraphic: [],\n botMessagesByChannel: [],\n botTotalMessagesByChannel: [],\n botMessages: [],\n botMessagesWithAvg: [],\n botSessions: [],\n botSessionsGraphic: [],\n attendanceTime: {},\n botAttendanceTimeGraphic: [],\n sessionAttandanceTime: {},\n orgBotsNumber: [],\n orgBotsNumberGraphic: [],\n orgBotsTotalMessages: [],\n orgBotsTotalMessagesGraphic: [],\n orgBotsTotalSessions: [],\n orgBotsTotalSessionsGraphic: [],\n orgBotsTotalUsers: [],\n orgBotsTotalUsersGraphic: [],\n orgListUsers: [],\n orgBotsTotalMessageByChannel: [],\n orgBotsTotalMessageByChannelGraphic: [],\n orgUsersBotsTotal: [],\n orgUsersBotsAverage: [],\n companyMessagesPerBot: [],\n dashboardReport: {},\n botSessionTags: [],\n botCustomReports: [],\n errorLogs: {\n docs: [],\n page: 1,\n totalPages: 1,\n limit: 20,\n },\n};\n\nexport default function reports(state = INITIAL_STATE, action) {\n switch (action.type) {\n case ReportsTypes.GET_CLIENTS_REPORTS_SUCCESS:\n return { ...state, botClients: action.payload };\n case ReportsTypes.GET_CLIENTS_REPORTS_GRAPHIC_SUCCESS:\n return { ...state, botClientsGraphic: action.payload };\n case ReportsTypes.GET_SESSIONS_REPORTS_SUCCESS:\n return { ...state, botSessions: action.payload };\n case ReportsTypes.GET_SESSIONS_REPORTS_GRAPHIC_SUCCESS:\n return { ...state, botSessionsGraphic: action.payload };\n case ReportsTypes.GET_SESSION_ATTENDANCE_TIME_REPORTS_SUCCESS:\n return { ...state, sessionAttandanceTime: action.payload };\n case ReportsTypes.GET_ATTENDANCE_TIME_REPORTS_SUCCESS:\n return { ...state, attendanceTime: action.payload };\n case ReportsTypes.GET_ATTENDANCE_TIME_REPORTS_GRAPHIC_SUCCESS:\n return { ...state, botAttendanceTimeGraphic: action.payload };\n case ReportsTypes.GET_AMOUNT_MESSAGE_CHANNEL_REPORTS_SUCCESS:\n return { ...state, botMessagesByChannel: action.payload };\n case ReportsTypes.GET_TOTAL_MESSAGE_CHANNEL_REPORTS_SUCCESS:\n return { ...state, botTotalMessagesByChannel: action.payload };\n case ReportsTypes.GET_BOT_MESSAGES_SUCCESS:\n return { ...state, botMessages: action.payload };\n case ReportsTypes.GET_BOT_MESSAGES_AVG_SUCCESS:\n return { ...state, botMessagesWithAvg: action.payload };\n case ReportsTypes.GET_ORG_BOTS_COUNT_SUCCESS:\n return { ...state, orgBotsNumber: action.payload };\n case ReportsTypes.GET_ORG_BOTS_GRAPHIC_SUCCESS:\n return { ...state, orgBotsNumberGraphic: action.payload };\n case ReportsTypes.GET_ORG_TOTAL_MESSAGES_SUCCESS:\n return { ...state, orgBotsTotalMessages: action.payload };\n case ReportsTypes.GET_ORG_TOTAL_MESSAGES_GRAPHIC_SUCCESS:\n return { ...state, orgBotsTotalMessagesGraphic: action.payload };\n case ReportsTypes.GET_ORG_TOTAL_SESSIONS_SUCCESS:\n return { ...state, orgBotsTotalSessions: action.payload };\n case ReportsTypes.GET_ORG_TOTAL_SESSIONS_GRAPHIC_SUCCESS:\n return { ...state, orgBotsTotalSessionsGraphic: action.payload };\n case ReportsTypes.GET_ORG_TOTAL_USERS_SUCCESS:\n return { ...state, orgBotsTotalUsers: action.payload };\n case ReportsTypes.GET_ORG_TOTAL_USERS_GRAPHIC_SUCCESS:\n return { ...state, orgBotsTotalUsersGraphic: action.payload };\n case ReportsTypes.GET_ORG_LIST_USERS_SUCCESS:\n return { ...state, orgListUsers: action.payload };\n case ReportsTypes.GET_ORG_MESSAGES_BY_CHANNEL_SUCCESS:\n return { ...state, orgBotsTotalMessageByChannel: action.payload };\n case ReportsTypes.GET_ORG_MESSAGES_BY_CHANNEL_GRAPHIC_SUCCESS:\n return { ...state, orgBotsTotalMessageByChannelGraphic: action.payload };\n case ReportsTypes.GET_ORG_USERS_BOTS_SUCCESS:\n return { ...state, orgUsersBotsTotal: action.payload };\n case ReportsTypes.GET_ORG_USERS_BOTS_AVERAGE_SUCCESS:\n return { ...state, orgUsersBotsAverage: action.payload };\n case ReportsTypes.CREATE_DASHBOARD_REPORT_SUCCESS:\n case ReportsTypes.UPDATE_DASHBOARD_REPORT_SUCCESS:\n case ReportsTypes.GET_DASHBOARD_REPORT_SUCCESS:\n return { ...state, dashboardReport: action.payload };\n case ReportsTypes.GET_COMPANY_MESSAGES_PER_BOT_SUCCESS:\n return { ...state, companyMessagesPerBot: action.payload };\n case ReportsTypes.GET_BOT_SESSION_TAGS_SUCCESS:\n return { ...state, botSessionTags: action.payload };\n case ReportsTypes.GET_BOT_CUSTOM_REPORTS_SUCCESS:\n return { ...state, botCustomReports: action.payload };\n case ReportsTypes.GET_ERROR_LOGS_SUCCESS:\n return {\n ...state,\n errorLogs: action.payload,\n };\n default:\n return state;\n }\n}\n","import { facebookMessengerTypes } from '../actions/facebook-messenger';\n\nconst INITIAL_STATE = {\n facebookAuth: {\n id: '',\n userID: '',\n accessToken: '',\n name: '',\n expiresIn: 0,\n picture: {\n data: {\n height: 0,\n width: 0,\n url: '',\n },\n },\n },\n selectedFacebookPage: {},\n};\n\nexport default function facebookMessenger(state = INITIAL_STATE, action) {\n switch (action.type) {\n case facebookMessengerTypes.SET_FB_AUTH_STATE_SUCCESS:\n return { ...state, facebookAuth: action.payload };\n case facebookMessengerTypes.SET_FB_SELECTED_PAGE_SUCCESS:\n return { ...state, selectedFacebookPage: action.payload };\n default:\n return state;\n }\n}\n","import { combineReducers } from 'redux';\nimport { VariableTypes } from '../actions/variables';\n\nconst initialState = {\n variables: { bot: [], global: [] },\n};\n\nexport const variablesState = (state = initialState, action) => {\n switch (action.type) {\n case VariableTypes.CREATE_SUCCESS:\n return {\n ...state,\n variables: action.payload,\n };\n\n case VariableTypes.LIST_SUCCESS:\n return {\n ...state,\n variables: action.payload,\n };\n\n case VariableTypes.EDIT_SUCCESS:\n return {\n ...state,\n variables: action.payload,\n };\n\n case VariableTypes.REMOVE_SUCCESS:\n return {\n ...state,\n variables: action.payload,\n };\n default:\n return state;\n }\n};\n\nexport default combineReducers({\n variablesState,\n});\n","import { PlanTypes } from '../actions/plans';\n\n/* Reducer */\n\nconst INITIAL_STATE = {\n list: [],\n historyCompanyPlan: [],\n alerts: {},\n planConsumption: {},\n};\n\nexport default function plans(state = INITIAL_STATE, action) {\n switch (action.type) {\n case PlanTypes.GET_PLANS_REQUEST_SUCCESS:\n return { ...state, list: action.payload };\n case PlanTypes.GET_HISTORY_COMPANY_PLAN_REQUEST_SUCCESS:\n return { ...state, historyCompanyPlan: action.payload };\n case PlanTypes.PUT_ALERTS_SUCCESS:\n return { ...state, alerts: action.payload };\n case PlanTypes.GET_PLAN_CONSUMPTION_SUCCESS:\n return { ...state, planConsumption: action.payload };\n default:\n return state;\n }\n}\n","import { combineReducers } from 'redux';\nimport { TagTypes } from '../actions/tags';\n\nconst initialState = {\n tags: { bot: [], global: [] },\n};\n\nexport const tagsState = (state = initialState, action) => {\n switch (action.type) {\n case TagTypes.CREATE_SUCCESS:\n return {\n ...state,\n tags: action.payload,\n };\n\n case TagTypes.LIST_SUCCESS:\n return {\n ...state,\n tags: action.payload,\n };\n\n case TagTypes.EDIT_SUCCESS:\n return {\n ...state,\n tags: action.payload,\n };\n\n case TagTypes.REMOVE_SUCCESS:\n return {\n ...state,\n tags: action.payload,\n };\n default:\n return state;\n }\n};\n\nexport default combineReducers({\n tagsState,\n});\n","import { combineReducers } from 'redux';\nimport { NotificationTypes } from '../actions/notifications';\n\nconst initialState = {\n notifications: { data: [], totalCount: null, totalPages: null, page: 0 },\n};\n\nexport const state = (state = initialState, action) => {\n switch (action.type) {\n case NotificationTypes.LIST_SUCCESS:\n return {\n ...state,\n notifications: action.payload,\n };\n\n case NotificationTypes.UPDATE_STATUS_SUCCESS:\n return {\n ...state,\n notifications: action.payload,\n };\n\n default:\n return state;\n }\n};\n\nexport default combineReducers({\n state,\n});\n","import { TemplateBotTypes } from '../actions/template-bot';\n\nconst INITIAL_STATE = {\n templateBotData: {},\n newBotTemplateBot: {},\n allTemplateBots: [],\n lastDeletedTemplates: [],\n};\n\nexport default function templateBot(state = INITIAL_STATE, action) {\n switch (action.type) {\n case TemplateBotTypes.CREATE_TEMPLATE_BOT_SUCCESS: {\n return { ...state, templateBotData: action.payload };\n }\n case TemplateBotTypes.UPDATE_TEMPLATE_BOT_SUCCESS: {\n return { ...state };\n }\n case TemplateBotTypes.EMPTY_TEMPLATE_BOT_SUCCESS: {\n return { ...state, templateBotData: {} };\n }\n case TemplateBotTypes.GET_TEMPLATE_BOT_SUCCESS: {\n return { ...state, templateBotData: action.payload };\n }\n case TemplateBotTypes.GET_ALL_TEMPLATE_BOTS_SUCCESS: {\n return { ...state, allTemplateBots: action.payload };\n }\n case TemplateBotTypes.GET_TEMPLATE_BOT_BY_ID_SUCCESS: {\n return { ...state, newBotTemplateBot: action.payload };\n }\n case TemplateBotTypes.SET_TEMPLATE_BOT_DATA_SUCCESS: {\n return { ...state, templateBotData: action.payload };\n }\n case TemplateBotTypes.DELETE_TEMPLATE_BOT_SUCCESS: {\n return { ...state };\n }\n case TemplateBotTypes.UPDATE_TEMPLATE_BOT_DETAILS_SUCCESS: {\n return { ...state };\n }\n\n default: {\n return state;\n }\n }\n}\n","import { newBotTypes } from '../actions/new-bot';\n\nconst INITIAL_STATE = {\n currentTemplateBotTesting: {\n title: '',\n botId: '',\n isOpen: false,\n },\n currentTemplateBotSelected: {},\n};\n\nexport default function newBot(state = INITIAL_STATE, action) {\n switch (action.type) {\n case newBotTypes.SET_NEW_BOT_CURRENT_TEMPLATE_BOT_TESTING_SUCCESS:\n return { ...state, currentTemplateBotTesting: action.payload };\n case newBotTypes.SET_NEW_BOT_TEMPLATE_BOT_SELECTED_SUCCESS:\n return { ...state, currentTemplateBotSelected: action.payload };\n case newBotTypes.PUSH_TO_CREATE_BOT:\n return { ...state };\n default:\n return state;\n }\n}\n","import { BotCreatorTypes } from '../actions/bot-creator';\n\nconst INITIAL_STATE = {\n connectorsOnError: [],\n itemsOnError: [],\n resetFlowPath: false,\n};\n\nexport default function botCreator(state = INITIAL_STATE, action) {\n switch (action.type) {\n case BotCreatorTypes.CHANGE_CONNECTORS_ON_ERROR: {\n return { ...state, connectorsOnError: action.payload };\n }\n case BotCreatorTypes.SET_ITEMS_ON_ERROR: {\n return { ...state, itemsOnError: action.payload };\n }\n case BotCreatorTypes.RESET_FLOW_PATH: {\n return { ...state, resetFlowPath: action.payload };\n }\n\n case BotCreatorTypes.REMOVE_ITEMS_ON_ERROR: {\n const { id } = action.payload;\n\n const updateItemsOnError = state.itemsOnError.filter(\n (item) => item._id !== id\n );\n\n return { ...state, itemsOnError: updateItemsOnError };\n }\n\n case BotCreatorTypes.RESET_BOT_CREATOR: {\n return { ...state, itemsOnError: [], connectorsOnError: [] };\n }\n\n default: {\n return state;\n }\n }\n}\n","/* eslint-disable no-param-reassign */\nimport { TriggerTypes } from '../actions/triggers';\n\nconst INITIAL_STATE = {\n triggers: [\n {\n _id: '',\n receivedValues: [],\n activator: '',\n inactivityTime: '',\n action: '',\n message: '',\n square: '',\n },\n ],\n maxTimeWithoutResponse: '',\n};\n\nexport default function triggers(state = INITIAL_STATE, action) {\n switch (action.type) {\n case TriggerTypes.LOAD:\n return { ...state };\n\n case TriggerTypes.LOAD_SUCCESS:\n return {\n ...state,\n triggers: action.payload.triggers,\n maxTimeWithoutResponse: action.payload.maxTimeWithoutResponse,\n };\n\n case TriggerTypes.CHANGE_ACTIVATOR:\n const triggerActivatorIndex = state.triggers.findIndex(\n (trigger) => trigger._id === action.payload.triggerId\n );\n\n state.triggers.splice(triggerActivatorIndex, 1, {\n ...state.triggers[triggerActivatorIndex],\n activator: action.payload.activator,\n });\n\n return { ...state };\n\n case TriggerTypes.triggerSquare:\n const findIndex = state.triggers.findIndex(\n (trigger) => trigger._id === action.payload.triggerId\n );\n\n state.triggers.splice(findIndex, 1);\n\n return { ...state };\n\n case TriggerTypes.CHANGE_ACTION:\n const findActionTrigger = state.triggers.findIndex(\n (trigger) => trigger._id === action.payload.triggerId\n );\n\n state.triggers.splice(findActionTrigger, 1, {\n ...state.triggers[findActionTrigger],\n action: action.payload.action,\n });\n\n return { ...state };\n\n case TriggerTypes.REMOVE_TRIGGER:\n const findTriggerToRemove = state.triggers.findIndex(\n (trigger) => trigger._id === action.payload.triggerId\n );\n\n state.triggers.splice(findTriggerToRemove, 1);\n\n return { ...state };\n\n case TriggerTypes.UPDATE_MESSAGE:\n const findMessageTrigger = state.triggers.findIndex(\n (trigger) => trigger._id === action.payload.triggerId\n );\n\n state.triggers.splice(findMessageTrigger, 1, {\n ...state.triggers[findMessageTrigger],\n message: action.payload.message,\n });\n\n return { ...state };\n\n case TriggerTypes.ADD_TRIGGER_WORD:\n const findTriggerWordIndex = state.triggers.findIndex(\n (trigger) => trigger._id === action.payload.triggerId\n );\n\n state.triggers[findTriggerWordIndex].receivedValues.push(\n action.payload.word\n );\n\n return { ...state };\n\n case TriggerTypes.REMOVE_WORD:\n const findRemoveWordIndex = state.triggers.findIndex(\n (trigger) => trigger._id === action.payload.triggerId\n );\n\n // eslint-disable-next-line no-param-reassign\n state.triggers[findRemoveWordIndex].receivedValues =\n action.payload.wordArray;\n\n return { ...state };\n\n case TriggerTypes.UPDATE_INACTIVITY_TIME:\n const findInactivityTimeIndex = state.triggers.findIndex(\n (trigger) => trigger._id === action.payload.triggerId\n );\n\n state.triggers.splice(findInactivityTimeIndex, 1, {\n ...state.triggers[findInactivityTimeIndex],\n inactivityTime: action.payload.time,\n });\n\n return { ...state };\n\n case TriggerTypes.UPDATE_TIME_WITHOUT_RESPONSE:\n state.maxTimeWithoutResponse = action.payload.time;\n\n return { ...state };\n\n case TriggerTypes.UPDATE_SQUARE:\n const findIndexToUpdateSquare = state.triggers.findIndex(\n (trigger) => trigger._id === action.payload.triggerId\n );\n\n state.triggers.splice(findIndexToUpdateSquare, 1, {\n ...state.triggers[findIndexToUpdateSquare],\n square: action.payload.squareId,\n });\n\n return { ...state };\n\n case TriggerTypes.CREATE_EMPTY_TRIGGER:\n const baseState = {\n _id: action.payload._id,\n receivedValues: action.payload.receivedValues,\n inactivityTime: action.payload.inactivityTime,\n activator: action.payload.activator,\n action: action.payload.action,\n message: action.payload.message,\n square: action.payload.square,\n version: action.payload.version,\n };\n state.triggers.push(baseState);\n return { ...state };\n\n default:\n return state;\n }\n}\n","import { VoiceBotsTypes } from '../actions/voice-bots';\n\nconst initialState = {\n projects: [],\n grammars: [],\n statusList: [],\n voices: [],\n voicebotInstances: [],\n voicebotVariables: [],\n webApiList: [],\n};\n\nexport default function voiceBotState(state = initialState, action) {\n switch (action.type) {\n case VoiceBotsTypes.FETCH_PROJECTS_SUCCESS:\n return {\n ...state,\n projects: action.payload.projects,\n };\n\n case VoiceBotsTypes.FETCH_GRAMMARS_SUCCESS:\n return {\n ...state,\n grammars: action.payload.grammars,\n };\n\n case VoiceBotsTypes.FETCH_STATUS_SUCCESS:\n return {\n ...state,\n statusList: action.payload.status,\n };\n\n case VoiceBotsTypes.FETCH_VOICES_SUCCESS:\n return {\n ...state,\n voices: action.payload.voices,\n };\n case VoiceBotsTypes.FETCH_VOICES_FAILIURE:\n return {\n ...state,\n voices: [],\n };\n\n case VoiceBotsTypes.FETCH_VOICEBOT_INSTANCES_SUCCESS:\n return {\n ...state,\n voicebotInstances: action.payload.instances,\n };\n case VoiceBotsTypes.FETCH_VOICEBOT_INSTANCES_FAILIURE:\n return {\n ...state,\n voicebotInstances: [],\n };\n\n case VoiceBotsTypes.CREATE_VOICEBOT_INSTANCE_SUCCESS: {\n const updatedInstanceArray = [\n ...state.voicebotInstances,\n action.payload.instance,\n ];\n\n return {\n ...state,\n voicebotInstances: updatedInstanceArray,\n };\n }\n case VoiceBotsTypes.UPDATE_VOICEBOT_INSTANCE_SUCCESS: {\n const updatedInstance = action.payload.instance;\n\n const updatedInstances = state.voicebotInstances.map((instance) =>\n instance._id === updatedInstance._id ? updatedInstance : instance\n );\n\n return {\n ...state,\n voicebotInstances: updatedInstances,\n };\n }\n\n case VoiceBotsTypes.FETCH_VARIABLES_SUCCESS:\n return {\n ...state,\n voicebotVariables: action.payload.variables,\n };\n\n case VoiceBotsTypes.FETCH_WEB_API_SUCCESS:\n return {\n ...state,\n webApiList: action.payload.webApiList,\n };\n\n default:\n return {\n ...state,\n };\n }\n}\n","import { VoiceBotsTtsTypes } from '../actions/voice-bots-tts';\n\nconst initialState = {\n generatedTts: null,\n loadingGenerateTts: false,\n voiceBotAudios: [],\n audioUrl: null,\n};\n\nexport default function voiceBotsTtsState(state = initialState, action) {\n switch (action.type) {\n case VoiceBotsTtsTypes.UPLOAD_AUDIOS_SUCCESS:\n return {\n ...state,\n voiceBotAudios: [...state.voiceBotAudios, ...action.payload.audios],\n };\n\n case VoiceBotsTtsTypes.DELETE_AUDIO_SUCCESS: {\n const upadedAudios = state.voiceBotAudios.filter(\n (audio) => audio._id !== action.payload._id\n );\n\n return {\n ...state,\n voiceBotAudios: upadedAudios,\n };\n }\n\n case VoiceBotsTtsTypes.FETCH_AUDIOS_SUCCESS:\n return {\n ...state,\n voiceBotAudios: action.payload.audios,\n };\n\n case VoiceBotsTtsTypes.GENERATE_TTS_REQUEST:\n return {\n ...state,\n loadingGenerateTts: true,\n };\n case VoiceBotsTtsTypes.GENERATE_TTS_SUCCESS:\n return {\n ...state,\n loadingGenerateTts: false,\n audioUrl: action.payload.audioUrl,\n };\n case VoiceBotsTtsTypes.GENERATE_TTS_FAILED:\n return {\n ...state,\n loadingGenerateTts: false,\n };\n case VoiceBotsTtsTypes.SET_TTS_AUDIO_URL:\n return {\n ...state,\n audioUrl: action.payload.url,\n };\n\n default:\n return {\n ...state,\n };\n }\n}\n","import { ConfigPageTypes } from '../actions/page-config';\r\n\r\nconst INITIAL_STATE = {\r\n page: 'bot',\r\n subPage: 'openingHours',\r\n};\r\n\r\nexport default function configPage(state = INITIAL_STATE, action) {\r\n switch (action.type) {\r\n case ConfigPageTypes.SET_MENU_PAGE_SUCCESS: {\r\n return { ...state, page: action.payload };\r\n }\r\n case ConfigPageTypes.SET_SUB_MENU_PAGE_SUCCESS: {\r\n return { ...state, subPage: action.payload };\r\n }\r\n\r\n default: {\r\n return state;\r\n }\r\n }\r\n}\r\n","/* eslint-disable no-param-reassign */\nimport { IaReportTypes } from '../actions/iaReports';\n\nconst INITIAL_STATE = {\n notUnderstoodReports: [],\n useOfIntentions: [],\n performanceOfIntentions: [],\n};\n\nexport default function iaReports(state = INITIAL_STATE, action) {\n switch (action.type) {\n case IaReportTypes.GET_NOT_UNDERSTOOD_INTENTIONS_SUCCESS:\n return { ...state, notUnderstoodReports: action.payload };\n\n case IaReportTypes.GET_USE_OF_INTENTIONS_SUCCESS:\n return { ...state, useOfIntentions: action.payload };\n\n case IaReportTypes.GET_PERFORMANCE_OF_INTENTIONS_SUCCESS:\n return { ...state, performanceOfIntentions: action.payload };\n\n default:\n return { ...state };\n }\n}\n","import { combineReducers } from 'redux';\nimport actions from '../actions';\n\nconst initialState = {\n reCaptchaValue: '',\n resetRef: false,\n disabled: true,\n};\n\nexport const reCaptcha = (state = initialState, action) => {\n switch (action.type) {\n case actions.SET_RECAPTCHA:\n return {\n ...state,\n reCaptchaValue: action.payload.reCaptchaValue,\n };\n case actions.DISABLE_RECAPTCHA:\n return {\n ...state,\n disabled: action.payload.disabled,\n };\n case actions.RESET_RECAPTCHA:\n return {\n ...state,\n resetRef: action.payload.resetRef,\n };\n default:\n return state;\n }\n};\n\nexport default combineReducers({\n reCaptcha,\n});\n","import { registerFromTypes } from '../actions/register-from';\n\nconst initialState = {\n registers: [],\n};\n\nexport default function registerFromState(state = initialState, action) {\n switch (action.type) {\n case registerFromTypes.GET_REGISTERS_SUCCESS:\n return { ...state, registers: action.payload };\n default:\n return {\n ...state,\n };\n }\n}\n","import { RdStationTypes } from '../actions/rd-station';\n\nconst initialState = {\n fields: [],\n authData: {},\n};\n\nexport default function rdStationState(state = initialState, action) {\n switch (action.type) {\n case RdStationTypes.GET_FIELDS_SUCCESS:\n return { ...state, fields: action.payload };\n case RdStationTypes.GENERATE_ACCESS_TOKEN_SUCCESS:\n return { ...state, authData: action.payload };\n case RdStationTypes.RESET_AUTH_DATA:\n return { ...state, authData: null };\n default:\n return { ...state };\n }\n}\n","import { combineReducers } from 'redux';\nimport { reducer as toastrReducer } from 'react-redux-toastr';\nimport { connectRouter } from 'connected-react-router';\nimport bots from './bots';\nimport items from './items';\nimport auth from './auth';\nimport previewBot from './preview-bot';\nimport common from './common';\nimport companies from './companies';\nimport users from './users';\nimport permissions from './permissions';\nimport intelligence from './intelligence';\nimport connectors from './connectors';\nimport filter from './filter';\nimport debounce from './debounce';\nimport reports from './reports';\nimport facebookMessenger from './facebook-messenger';\nimport variables from './variables';\nimport plans from './plans';\nimport tags from './tags';\nimport notifications from './notifications';\nimport templateBot from './template-bot';\nimport newBot from './new-bot';\nimport botCreator from './bot-creator';\nimport triggers from './triggers';\nimport voiceBot from './voice-bots';\nimport voiceBotTts from './voice-bots-tts';\nimport configPage from './page-config';\nimport iaReports from './iaReports';\nimport reCaptcha from './reCaptcha';\nimport registerFrom from './register-from';\nimport rdStation from './rd-station';\n\nexport default (history) =>\n combineReducers({\n router: connectRouter(history),\n toastr: toastrReducer,\n bots,\n previewBot,\n items,\n auth,\n intelligence,\n common,\n companies,\n users,\n permissions,\n connectors,\n filter,\n debounce,\n reports,\n variables,\n facebookMessenger,\n plans,\n tags,\n notifications,\n templateBot,\n newBot,\n botCreator,\n triggers,\n voiceBot,\n voiceBotTts,\n configPage,\n iaReports,\n reCaptcha,\n rdStation,\n registerFrom,\n });\n","import { call, put, fork } from 'redux-saga/effects';\nimport { Types } from 'mongoose';\nimport { toastr } from 'react-redux-toastr';\nimport { commonActions } from '../actions/common';\n\nimport api from '../../services/api';\n\nimport { ItemsTypes, ItemsCreators } from '../actions/items';\nimport { ConnectorsCreators } from '../actions/connectors';\nimport { DebounceCreators } from '../actions/debounce';\n\nexport function* create(action) {\n try {\n const { botid, rootId } = action.payload;\n const item = {\n _id: Types.ObjectId().toString(),\n botId: botid,\n ...action.payload.item,\n };\n const { option } = item;\n delete item.option;\n\n if (rootId && rootId !== botid) {\n item.subflowFor = rootId;\n }\n\n const itemTypesNoDebounce = [\n 'Collect',\n 'Human',\n 'Image',\n 'Document',\n 'Video',\n 'Audio',\n 'ZendeskCreateRequest',\n 'ZendeskListRequests',\n 'ZendeskShowRequest',\n 'ZendeskListComments',\n 'ZendeskInsertComment',\n 'ZendeskAttachFile',\n 'ZendeskUpdateStatusRequest',\n 'JiraCreateIssue',\n 'JiraListIssues',\n 'JiraShowIssue',\n 'JiraListProjects',\n 'JiraListStatus',\n 'JiraListRequestypes',\n 'JiraListPriorities',\n 'JiraListComments',\n 'JiraInsertComment',\n 'JiraAttachFile',\n 'JiraUpdateStatusIssue',\n 'RdStationInput',\n 'RdStationSubmitLead',\n 'GlpiCreateRequest',\n 'GlpiListRequests',\n 'GlpiShowRequest',\n 'GlpiListComments',\n 'GlpiInsertComment',\n 'GlpiAttachFile',\n 'GlpiUpdateStatusRequest',\n 'GlpiListGroups',\n ];\n const itemTypesMedia = ['Image', 'Document', 'Video', 'Audio'];\n if (!itemTypesNoDebounce.includes(item.type)) {\n yield put(\n DebounceCreators.addItemDebounce({ type: 'ADD_ITEM', payload: item })\n );\n } else if (itemTypesMedia.includes(item.type)) {\n yield fork(api.post, `/v1/bots/${botid}/items`, item);\n } else {\n yield call(api.post, `/v1/bots/${botid}/items`, item);\n }\n yield put(ItemsCreators.createItemSuccess(item));\n\n // Verifica se o item adicionado possuí alguma ligação caso contrario ele n cria um conector para ele\n if (!option.orphan) {\n if (option.fromRoot) {\n yield put(\n ConnectorsCreators.createConnectorRequest({\n from: rootId !== botid ? rootId : botid,\n to: item._id,\n botId: botid,\n subflowFor: rootId !== botid ? rootId : null,\n })\n );\n } else {\n yield put(\n ConnectorsCreators.createConnectorRequest({\n from: option.from._id,\n to: item._id,\n botId: botid,\n subflowFor: rootId !== botid ? rootId : null,\n })\n );\n }\n }\n\n yield put(ItemsCreators.updateAllItems({ item, isRemove: false }));\n } catch (error) {\n if (\n error &&\n error.response &&\n error.response.data &&\n error.response.data.customMsg\n ) {\n toastr.error('Ops', error.response.data.message);\n } else {\n toastr.error(\n 'Ops',\n 'Algo de errado aconteceu ao criar um novo item para o bot.'\n );\n }\n }\n}\n\nexport function* createVoiceItem(action) {\n const { botid } = action.payload;\n\n const item = {\n _id: Types.ObjectId().toString(),\n botId: botid,\n ...action.payload.item,\n };\n try {\n const { option } = item;\n delete item.option;\n\n yield put(ItemsCreators.createItemSuccess(item));\n\n const response = yield call(\n api.post,\n `/v1/voice-bots/${botid}/items`,\n item\n );\n\n const newItem = response.data;\n\n yield put(ItemsCreators.updateItemInListState({ item: newItem }));\n\n // Verifica se o item adicionado possuí alguma ligação caso contrario ele n cria um conector para ele\n if (!option.orphan) {\n if (option.fromRoot) {\n yield put(\n ConnectorsCreators.createConnectorRequest({\n from: botid,\n to: item._id,\n botId: botid,\n })\n );\n } else {\n const menuOptionDescription = option?.from?.description;\n const fromMenuOption =\n typeof menuOptionDescription === 'string'\n ? menuOptionDescription\n : '';\n yield put(\n ConnectorsCreators.createVoiceConnectorRequest({\n from: option.from._id,\n to: item._id,\n botId: botid,\n voiceSettings: {\n idIvrStepFlow: -1,\n nmIvrResult: fromMenuOption,\n },\n })\n );\n }\n }\n\n yield put(ItemsCreators.updateAllItems({ item: newItem, isRemove: false }));\n } catch (error) {\n yield put(ItemsCreators.removeItemInListState({ item }));\n const errorMessage =\n error?.response?.data?.message ||\n 'Algo de errado aconteceu ao criar um novo item para o bot.';\n\n toastr.error('Ops', errorMessage);\n }\n}\n\nexport function* removeVoiceItem(action) {\n try {\n const { _id } = action.payload.item;\n\n yield put(ItemsCreators.removeItemSuccess(_id));\n yield call(api.delete, `/v1/voice-bots/items/${_id}`);\n } catch (error) {\n toastr.error('Ops', 'Algo de errado aconteceu ao remover o Item.');\n }\n}\n\nexport function* cloneVoiceItem(action) {\n const { item, targetWidth } = action.payload;\n try {\n const newItem = {\n ...item,\n _id: Types.ObjectId().toString(),\n positionOnScreen: [\n item.positionOnScreen[0] + targetWidth,\n item.positionOnScreen[1],\n ],\n voiceSettings: { ...item.voiceSettings, idIvrStep: -1 },\n };\n\n yield put(ItemsCreators.createItemSuccess(newItem));\n const responseNewItem = yield call(\n api.post,\n `/v1/voice-bots/${item?.botId}/items`,\n newItem\n );\n\n yield put(\n ItemsCreators.updateItemInListState({ item: responseNewItem.data })\n );\n } catch (error) {\n toastr.error('Ops', 'Algo de errado aconteceu ao duplicar o Item.');\n }\n}\n\nexport function* editItem(action) {\n try {\n yield put(\n DebounceCreators.addItemDebounce({\n type: 'UPDATE_ITEM',\n payload: action.payload,\n })\n );\n yield put(\n ItemsCreators.updateAllItems({ item: action.payload, isRemove: false })\n );\n } catch (error) {\n toastr.error('Ops', 'Algo de errado aconteceu ao editar o item.');\n }\n}\n\nexport function* removeItem(action) {\n try {\n yield put(\n DebounceCreators.addItemDebounce({\n type: 'REMOVE_ITEM',\n payload: action.payload,\n })\n );\n yield put(ItemsCreators.removeItemSuccess(action.payload._id));\n yield put(\n ItemsCreators.updateAllItems({ item: action.payload, isRemove: true })\n );\n } catch (error) {\n toastr.error('Ops', 'Algo de errado aconteceu ao remover o Item.');\n }\n}\n\nexport function* cloneItem(action) {\n const { item, targetWidth } = action.payload;\n try {\n const newItem = JSON.parse(JSON.stringify(item));\n if (newItem.type === 'Menu' || newItem.type === 'MenuAI') {\n newItem.menuItems = newItem.menuItems.map((menuItem) => {\n return { ...menuItem, _id: Types.ObjectId().toString() };\n });\n }\n\n const isVoiceItem = newItem?.type?.startsWith('Voice');\n if (isVoiceItem) {\n newItem.voiceSettings = { ...newItem.voiceSettings, idIvrStep: -1 };\n }\n\n newItem._id = Types.ObjectId().toString();\n newItem.positionOnScreen = [\n item.positionOnScreen[0] + targetWidth,\n item.positionOnScreen[1],\n ];\n\n yield put(\n DebounceCreators.addItemDebounce({ type: 'CLONE_ITEM', payload: newItem })\n );\n yield put(ItemsCreators.createItemSuccess(newItem));\n } catch (error) {\n toastr.error('Ops', 'Algo de errado aconteceu ao duplicar o Item.');\n }\n}\n\nexport function* list(action) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n const { data } = yield call(api.get, `/v1/bots/${action.payload}/items`);\n yield put(ItemsCreators.listItemsSuccess(data));\n } catch (error) {\n toastr.error('Ops', 'Não foi possível listar os items desse Bot.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* listSubflow(action) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n const { botId, itemId } = action.payload;\n const url = `/v1/bots/${botId}/items-subflow/${itemId}`;\n const { data } = yield call(api.get, url);\n yield put(ItemsCreators.listItemsSuccess(data));\n } catch (error) {\n console.log(error);\n toastr.error('Ops', 'Não foi possível listar os items desse grupo.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* getAllItems(action) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n const { botId } = action.payload;\n const url = `/v1/bots/${botId}/all-items`;\n const { data } = yield call(api.get, url);\n yield put({ type: ItemsTypes.LIST_ALL_ITEMS_SUCCESS, payload: data });\n } catch (error) {\n console.log(error);\n toastr.error('Ops', 'Não foi possível listar os items desse grupo.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* editCardImage(action) {\n try {\n const { file, item, cardId } = action.payload;\n const { botId, _id: itemId } = item;\n\n const formData = new FormData();\n formData.append('file', file);\n\n const response = yield call(\n api.put,\n `/v1/bots/${botId}/items/${itemId}/cards/${cardId}/upload-image`,\n formData,\n {\n headers: {\n 'Content-Type': 'multipart/form-data',\n },\n }\n );\n\n const updatedItem = response.data;\n\n yield put({ type: ItemsTypes.EDIT_ITEM, payload: updatedItem });\n } catch (err) {\n toastr.error(\n 'Ops',\n 'Algo de errado aconteceu ao realizar o upload para o servidor.'\n );\n console.log(`sagas.items.editCardImage: ${err}`);\n }\n}\n\nexport function* editItemFile(action) {\n action.payload.item.uploading = true;\n action.payload.item.upload_progress = 0;\n\n try {\n const formData = new FormData();\n formData.append('file', action.payload.file);\n\n const { data } = yield call(\n api.put,\n `/v1/bots/${action.payload.botId}/items/${action.payload.itemid}/upload`,\n formData,\n {\n headers: {\n 'Content-Type': 'multipart/form-data',\n },\n onUploadProgress: yield (progressEvent) => {\n const percentage = Math.round(\n (progressEvent.loaded * 100) / progressEvent.total\n );\n action.payload.item.upload_progress = percentage;\n\n put({\n type: ItemsTypes.EDIT_ITEM_UPLOAD_PROGRESS,\n payload: { item: action.payload.item, progress: percentage },\n });\n },\n }\n );\n let parsedData = null;\n if (typeof data === 'string') {\n parsedData = JSON.parse(data.split('|')[0]);\n } else {\n parsedData = data;\n }\n action.payload.item.thumbnailUrl = parsedData.thumbnailUrl;\n action.payload.item.fileUrl = parsedData.fileUrl;\n if (data.error) {\n if (data.message) {\n toastr.error('Ops', `${data.message}`);\n } else {\n toastr.error(\n 'Ops',\n 'Algo de errado aconteceu ao realizar o upload para o servidor.'\n );\n }\n } else {\n yield put({ type: ItemsTypes.EDIT_ITEM, payload: action.payload.item });\n }\n } catch (error) {\n toastr.error(\n 'Ops',\n 'Algo de errado aconteceu ao editar o arquivo do item.'\n );\n } finally {\n action.payload.item.uploading = false;\n }\n}\n\nexport function* removeItemFile(action) {\n action.payload.item.uploading = true;\n action.payload.item.upload_progress = 0;\n\n try {\n const { data } = yield call(\n api.put,\n `/v1/bots/${action.payload.botId}/items/${action.payload.itemid}/remove`,\n {},\n {\n headers: {\n 'Content-Type': 'application/json',\n },\n onUploadProgress: yield (progressEvent) => {\n const percentage = Math.round(\n (progressEvent.loaded * 100) / progressEvent.total\n );\n action.payload.item.upload_progress = percentage;\n\n put({\n type: ItemsTypes.EDIT_ITEM_UPLOAD_PROGRESS,\n payload: { item: action.payload.item, progress: percentage },\n });\n },\n }\n );\n let parsedData = null;\n if (typeof data === 'string') {\n parsedData = JSON.parse(data.split('|')[0]);\n } else {\n parsedData = data;\n }\n action.payload.item.thumbnailUrl = parsedData.thumbnailUrl;\n action.payload.item.fileUrl = parsedData.fileUrl;\n if (data.error) {\n toastr.error(\n 'Ops',\n 'Algo de errado aconteceu ao tentar remover arquivo.'\n );\n } else {\n yield put({ type: ItemsTypes.EDIT_ITEM, payload: action.payload.item });\n }\n } catch (error) {\n toastr.error(\n 'Ops',\n 'Algo de errado aconteceu ao editar o arquivo do item.'\n );\n } finally {\n action.payload.item.uploading = false;\n }\n}\n\nexport function* editItemUrl(action) {\n action.payload.item.uploading = true;\n action.payload.item.upload_progress = 0;\n\n try {\n yield call(\n api.put,\n `/v1/bots/${action.payload.botId}/items/${action.payload.itemid}/download`,\n { url: action.payload.url },\n {\n responseType: 'stream',\n onDownloadProgress: yield (progressEvent) => {\n const progress = progressEvent.currentTarget.response.split('|');\n if (progress) {\n const progressData = progress[progress.length - 2];\n\n if (!progressData) {\n return;\n }\n\n if (!isNaN(progressData)) {\n action.payload.item.upload_progress = progressData;\n } else if (JSON.parse(progressData)) {\n const parsed = JSON.parse(progressData);\n\n action.payload.item.uploading = false;\n action.payload.item.upload_progress = 100;\n action.payload.item.fileUrl = parsed.fileUrl;\n action.payload.item.thumbnailUrl = parsed.thumbnailUrl;\n action.payload.item = parsed;\n\n put({ type: ItemsTypes.EDIT_ITEM, payload: action.payload.item });\n }\n put({\n type: ItemsTypes.EDIT_ITEM_UPLOAD_PROGRESS,\n payload: {\n item: action.payload.item,\n progress: action.payload.item.upload_progress,\n },\n });\n }\n },\n }\n );\n yield put({ type: ItemsTypes.EDIT_ITEM, payload: action.payload.item });\n } catch (error) {\n toastr.error(\n 'Ops',\n 'Algo de errado aconteceu ao editar a URL da imagem do item.'\n );\n } finally {\n action.payload.item.uploading = false;\n }\n}\n","import axios from 'axios';\n\nexport const API_TOKEN = 'API_TOKEN';\n\nconst url = process.env.REACT_APP_API_URL || 'http://localhost:3333';\n\nconst headers = {\n common: { authorization: `Bearer ${localStorage.getItem(API_TOKEN)}` },\n};\n\naxios.defaults.baseURL = `${url}/api/v1/dashboard/`;\n\nexport const AxiosWithInterceptors = axios.create({ headers });\n\nexport const AxiosFile = axios.create({ headers, responseType: 'arraybuffer' });\n\nconst addAxiosInterceptor = (api) => {\n api.interceptors.response.use(\n (response) => response,\n (error) => {\n console.log('error.response.status: ', error.response.status);\n // if (error.response.status === 401) {\n // localStorage.removeItem(API_TOKEN);\n // window.location.reload();\n // }\n return Promise.reject(error);\n }\n );\n};\n\naddAxiosInterceptor(AxiosWithInterceptors);\naddAxiosInterceptor(AxiosFile);\n\nexport default AxiosWithInterceptors;\n","import moment from 'moment';\nimport { call, put } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\nimport { push } from 'connected-react-router';\n\nimport store from '..';\nimport { BotsTypes, BotsCreators } from '../actions/bots';\nimport { IaTypes } from '../actions/intelligence';\n\nimport { commonActions } from '../actions/common';\nimport api from '../../services/api';\nimport apiReports, { AxiosFile } from '../../services/api.reports';\n\nimport { ItemsCreators } from '../actions/items';\nimport { ConnectorsCreators } from '../actions/connectors';\n\nexport function* getBot(action) {\n const { payload } = action;\n\n try {\n const { data } = yield call(api.get, `/v1/bots/${payload}`);\n\n yield put({ type: BotsTypes.RETRIEVE_BOT_SUCCESS, payload: data });\n\n if (data.ia && data.ia.platforms && data.ia.platforms.length > 0) {\n const findL = data.ia.platforms.find(\n (element) => element.token === data.currentTokenIa\n );\n if (findL) {\n yield put({\n type: IaTypes.IA_PLATFORM_SUCCESS,\n payload: findL.platform,\n });\n }\n }\n } catch (error) {\n toastr.error('Ops', 'Falha na requisição de informações do bot');\n }\n}\n\nexport function* historyMessage(action) {\n const { payload } = action;\n const { botid, sessionId, count, page, pages } = payload;\n\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n if (page === pages) {\n return;\n }\n\n if (page === 0) {\n yield put({\n type: BotsTypes.CLEAR_HISTORY_BOT_MESSAGE,\n });\n }\n\n const { data } = yield call(\n api.get,\n `/v1/bots/messages/?bot=${botid}&session=${sessionId}&index=${\n page + 1\n }&count=${count}`\n );\n\n yield put({\n type: BotsTypes.HISTORY_BOT_MESSAGE_SUCCESS,\n payload: data.messages,\n });\n } catch (error) {\n toastr.error('Ops', 'Não foi possível acessar o historico de mensagem.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* filterSessions(action) {\n const { payload } = action;\n const {\n botid,\n start,\n end,\n count,\n busc,\n page,\n pages,\n tags,\n channels,\n variables,\n timezone,\n } = payload;\n\n try {\n if (page === pages) {\n return;\n }\n\n if (page === 0) {\n yield put({\n type: BotsTypes.CLEAR_HISTORY_BOT_FILTER_SESSIONS,\n });\n }\n\n let endpoint = `/v1/bots/sessions?bot=${botid}`;\n endpoint += `&start=${start}`;\n endpoint += `&end=${end}`;\n endpoint += `&index=${page + 1}`;\n endpoint += `&count=${count}`;\n endpoint += `&timezone=${timezone}`;\n\n if (tags.length !== 0) {\n endpoint += `&tags=${encodeURIComponent(JSON.stringify(tags))}`;\n }\n\n if (channels.length !== 0) {\n endpoint += `&channels=${encodeURIComponent(JSON.stringify(channels))}`;\n }\n\n if (variables.length !== 0) {\n endpoint += `&variables=${encodeURIComponent(JSON.stringify(variables))}`;\n }\n\n const { data } = yield call(api.get, endpoint);\n\n if (busc === true && data.sessions.docs.length > 0) {\n toastr.success('Filtro', 'Busca feita com sucesso!');\n yield put({\n type: BotsTypes.HISTORY_BOT_FILTER_SESSIONS_SEARCH_SUCCESS,\n payload: data.sessions,\n });\n } else if (data.sessions.docs.length > 0) {\n yield put({\n type: BotsTypes.HISTORY_BOT_FILTER_SESSIONS_SUCCESS,\n payload: data.sessions,\n });\n } else if (data.sessions.docs.length <= 0) {\n toastr.success('Filtro', 'Não há mais sessões para esta data');\n }\n } catch (error) {\n console.log('Saga Error:', error);\n toastr.error('Ops', 'Não foi possível acessar o historico de mensagem.');\n }\n}\n\nexport function* filterDashboard(action) {\n const { payload } = action;\n const { botid, start, end, busc, timezone } = payload;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { data } = yield call(\n api.get,\n `/v1/bots/dashboard?bot=${botid}&start=${start}&end=${end}&timezone=${timezone}`\n );\n\n yield put({\n type: BotsTypes.HISTORY_BOT_FILTER_DASHBOARD_SUCCESS,\n payload: data,\n });\n\n if (busc === true) {\n toastr.success('Filtro', 'Busca feita com sucesso!');\n }\n } catch (error) {\n toastr.error('Ops', 'Não foi possível acessar o historico de mensagem.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* editBotTitle(action) {\n try {\n const { data } = yield call(api.put, `/v1/bots/${action.payload.botid}`, {\n title: action.payload.title,\n });\n\n yield put({ type: BotsTypes.EDIT_TITLE_BOT_SUCCESS, payload: data });\n\n if (action.payload.showToast) {\n toastr.success('Atualização', 'Atualização do título efetuada');\n }\n } catch (error) {\n console.log(error, 'EROORR');\n toastr.error('Ops', 'Algo de errado aconteceu ao editar o titulo do Bot.');\n }\n}\n\nexport function* updateBot(action) {\n try {\n if (action.payload.showLoading) {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n }\n\n const apiUrl = `/v1/bots/update/${action.payload.botid}`;\n\n const { data } = yield call(api.put, apiUrl, action.payload.data);\n\n yield put({ type: BotsTypes.UPDATE_BOT_SUCCESS, payload: data });\n\n if (action.payload.showToast) {\n toastr.success(\n 'Atualização',\n 'Atualizações feitas no bot foram salvas com sucesso!'\n );\n }\n } catch (error) {\n toastr.error('Ops', 'Algo de errado aconteceu atualizando o Bot.');\n } finally {\n if (action.payload.showLoading) {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n }\n}\n\nexport function* updateBotStatus(action) {\n try {\n yield call(\n api.put,\n `/v1/bots/update/${action.payload.botId}`,\n action.payload.data\n );\n } catch (err) {\n toastr.error('Ops', 'Algo de errado aconteceu atualizando o Bot.');\n }\n}\n\nexport function* updateBotGeneralInformation(action) {\n try {\n const { botId, ...newPayload } = action.payload;\n const formData = new FormData();\n Object.keys(newPayload).forEach((key) => {\n formData.append(key, newPayload[key]);\n });\n const url = `/v1/bots/update-general/${botId}`;\n const { data } = yield call(api.put, url, formData);\n\n yield put({\n type: BotsTypes.UPDATE_GENERAL_BOT_INFO_SUCCESS,\n payload: { ...data },\n });\n\n toastr.success('Sucesso', 'Informações do bot atualizadas!');\n } catch (error) {\n toastr.error('Ops', 'Algo de errado ao atualizar o Bot.');\n }\n}\n\nexport function* openNewBotPage() {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n yield put(push(`/novo-bot`));\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* newBot(action) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n const newBotData = {\n ...action.payload,\n description: 'Construção',\n deleted: false,\n isTemplate: false,\n };\n const formData = new FormData();\n Object.keys(newBotData).forEach((key) => {\n formData.append(key, newBotData[key]);\n });\n const { data } = yield call(api.post, '/v1/bots', formData);\n\n yield put({ type: BotsTypes.RETRIEVE_BOT_SUCCESS, payload: data });\n yield put(BotsCreators.newBotSuccess());\n yield put(push(`/bots/${data._id}/overview`));\n\n console.log('', 'Bot criado com sucesso!');\n } catch (error) {\n toastr.error('Ops', 'Algo de errado ao criar o Bot.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* newVoiceBot(action) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const newBotData = { ...action.payload };\n\n const formData = new FormData();\n Object.keys(newBotData).forEach((key) => {\n formData.append(key, newBotData[key]);\n });\n\n const { data } = yield call(api.post, '/v1/voice-bots', formData);\n\n if (data?._id) {\n yield put(push(`/bots/${data._id}/criador`));\n }\n\n console.log('Voicebot criado com sucesso!');\n } catch (error) {\n toastr.error('Ops', 'Algo de errado ao criar o Voicebot.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* updateVoiceBot(action) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { _id, avatarFile, ...restData } = action.payload;\n\n const jsonData = JSON.stringify(restData);\n const formData = new FormData();\n formData.append('jsonData', jsonData);\n\n if (avatarFile) {\n formData.append('avatarFile', avatarFile);\n }\n\n const { data } = yield call(api.put, `/v1/voice-bots/${_id}`, formData);\n\n yield put({\n type: BotsTypes.UPDATE_VOICE_BOT_SUCCESS,\n payload: { ...data },\n });\n\n console.log('Voicebot atualizado com sucesso!');\n } catch (error) {\n toastr.error('Ops', 'Algo de errado ao criar o Voicebot.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* removeBot(action) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n yield call(api.delete, `/v1/bots/${action.payload}`);\n\n yield put(BotsCreators.removeBotSuccess(action.payload));\n\n toastr.success('', 'Bot removido com sucesso!');\n } catch (error) {\n toastr.error('Ops', 'Algo de errado aconteceu ao remover o Bot.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* removeVoiceBot(action) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const botId = action.payload;\n\n yield call(api.delete, `/v1/voice-bots/${botId}`);\n\n yield put(BotsCreators.removeBotSuccess(botId));\n\n toastr.success('', 'Voicebot removido com sucesso!');\n } catch (error) {\n toastr.error('Ops', 'Algo de errado aconteceu ao remover o Voicebot.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* cloneVoiceBot({ payload }) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { botId, title, callback } = payload;\n\n const response = yield call(api.post, `/v1/voice-bots/${botId}/clone`, {\n title,\n });\n\n yield put(BotsCreators.cloneVoiceBotSuccess(response.data));\n toastr.success('', 'Voicebot clonado com sucesso!');\n\n if (callback) {\n callback(true);\n }\n } catch (error) {\n toastr.error('Ops', 'Algo de errado aconteceu ao clonar o Voicebot.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* creatorBot(action) {\n try {\n const { data } = yield call(api.get, `/v1/bots/${action.payload}`);\n\n if (data.ia && data.ia.platforms && data.ia.platforms.length > 0) {\n const findL = data.ia.platforms.find(\n (element) => element.token === data.currentTokenIa\n );\n if (findL) {\n yield put({\n type: IaTypes.IA_PLATFORM_SUCCESS,\n payload: findL.platform,\n });\n }\n }\n\n yield put({ type: BotsTypes.RETRIEVE_BOT_SUCCESS, payload: data });\n yield put(BotsCreators.creatorBotSuccess(data));\n\n yield put(push(`/bots/${action.payload}/overview`));\n } catch (error) {\n toastr.error('Ops', 'Não foi possível acessar o Bot.');\n }\n}\n\nexport function* list() {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { data } = yield call(api.get, '/v1/bots');\n yield put(BotsCreators.listBotsSuccess(data));\n } catch (error) {\n console.log(error);\n toastr.error('Ops', 'A sessão expirou.');\n yield put(push('/auth'));\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* saveBotViewPosition(action) {\n try {\n yield call(api.put, `/v1/bots/${action.payload.botid}`, {\n viewPosition: action.payload.viewPosition,\n });\n // console.log('', 'Posição de zoom e pan gravado com sucesso!');\n } catch (error) {\n toastr.error(\n 'Ops',\n 'Algo de errado aconteceu ao salvar a posição da tela / estado do zoom.'\n );\n }\n}\n\nexport function* publishHtmlWidget(action) {\n const { payload } = action;\n try {\n const { data } = yield call(\n api.post,\n `/v1/bots/${payload.botid}/widget-html`,\n payload\n );\n yield put({\n type: BotsTypes.PUBLISH_WIDGET_HTML_SUCCESS,\n payload: { botId: payload.botid, data: data.data },\n });\n } catch (error) {\n toastr.error('Ops', 'Falha na publicação do widget');\n }\n}\n\nexport function* saveWidgetHtml(action) {\n const { payload } = action;\n try {\n const { data } = yield call(\n api.put,\n `/v1/bots/${payload.botid}/widget-html-save`,\n { widgetHtml: payload.widgetHtml }\n );\n // console.log('data', data)\n yield put({\n type: BotsTypes.SAVE_WIDGET_HTML_SUCCESS,\n payload: { botId: payload.botid, data, callback: payload.callback },\n });\n } catch (error) {\n toastr.error('Ops', 'Falha na publicação do widget');\n }\n}\n\nexport function* saveRootItem(action) {\n const { payload } = action;\n try {\n const { data } = yield call(\n api.put,\n `/v1/bots/${payload.botid}/root-item-save`,\n { rootItem: payload.itemid }\n );\n yield put({ type: BotsTypes.SAVE_ROOT_ITEM_SUCCESS, payload: data.bot });\n\n if (data.item) {\n yield put(\n ItemsCreators.editItemRequest(data.bot._id, data.item._id, {\n ...data.item,\n ancestorItem: data.bot._id,\n })\n );\n }\n\n yield put(ItemsCreators.listItemsRequest(action.payload.botid));\n } catch (error) {\n console.log(error);\n toastr.error('Ops', 'Falha na atualização do item raiz');\n }\n}\n\nexport function* updateBotHumanAttendance(action) {\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { data } = yield call(\n api.post,\n `/v1/bots/${payload.id}/humanAttendence`,\n { ...payload }\n );\n\n yield put({ type: BotsTypes.RETRIEVE_BOT_SUCCESS, payload: data });\n\n toastr.success('Atendimento Humano', 'Endpoints salvos com sucesso');\n } catch (error) {\n if (error.response.status === 404) toastr.error('Ops', error.response.data);\n else toastr.error('Ops', 'Falha ao salvar key do atendimento');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* updateZendeskTicketSettings(action) {\n const { botId, settings } = action;\n\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { data } = yield call(\n api.post,\n `/v1/bots/zendes-ticket-settings/${botId}`,\n { settings }\n );\n\n toastr.success('zendesk tickets', 'Configurações salvas com sucesso');\n\n yield put({\n type: BotsTypes.RETRIEVE_ZENDESK_TICKET_SETTINGS,\n payload: data,\n });\n } catch (error) {\n if (error.response.status === 404) toastr.error('Ops', error.response.data);\n else toastr.error('Ops', 'Falha ao salvar configurações');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* updateGlpiSettings(action) {\n const { botId, settings } = action;\n\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { data } = yield call(\n api.post,\n `/v1/bots/glpi-settings/${botId}`,\n settings\n );\n\n toastr.success('GLPi Settings', 'Configurações salvas com sucesso');\n\n yield put({\n type: BotsTypes.RETRIEVE_GLPI_SETTINGS,\n payload: data,\n });\n } catch (error) {\n if (error.response.status === 404) toastr.error('Ops', error.response.data);\n else toastr.error('Ops', 'Falha ao salvar configurações');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* updateBotQuickAccess(action) {\n const { botId, settings } = action;\n\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { data } = yield call(\n api.post,\n `/v1/bots/quick-access-settings/${botId}`,\n { settings }\n );\n\n toastr.success('quick access', 'Configurações salvas com sucesso');\n\n yield put({\n type: BotsTypes.SAVE_QUICK_ACCESS_SETTINGS_SUCCESS,\n payload: data,\n });\n } catch (error) {\n toastr.error('Ops', 'Falha ao salvar configurações');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* updatePublishBotQuickAccess(action) {\n const { botId, settings } = action;\n\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { data } = yield call(\n api.post,\n `/v1/bots/quick-access-settings/${botId}`,\n { settings }\n );\n\n yield call(api.post, `/v1/bots/${botId}/publish`);\n\n yield put({\n type: BotsTypes.SAVE_QUICK_ACCESS_SETTINGS_SUCCESS,\n payload: data,\n });\n\n toastr.success(\n 'quick access',\n 'Configurações salvas e publicadas com sucesso'\n );\n } catch (error) {\n toastr.error('Ops', 'Falha ao salvar e publicar configurações');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* updateJiraSettings(action) {\n const { botId, settings } = action;\n\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { data } = yield call(api.post, `/v1/bots/jira-settings/${botId}`, {\n settings,\n });\n\n toastr.success('Jira tickets', 'Configurações salvas com sucesso');\n\n yield put({\n type: BotsTypes.RETRIEVE_JIRA_SETTINGS,\n payload: data,\n });\n } catch (error) {\n if (error.response.status === 404) toastr.error('Ops', error.response.data);\n else toastr.error('Ops', 'Falha ao salvar configurações');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* updateAttendanceHoursSettings(action) {\n const { botId, settings } = action;\n\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { data } = yield call(\n api.post,\n `/v1/bots/timezone-settings/${botId}`,\n {\n settings,\n }\n );\n\n yield put({\n type: BotsTypes.RETRIEVE_ATTENDANCE_HOUR_SETTINGS,\n payload: data,\n });\n toastr.success('Sucesso', 'Horário de atendimento salvo');\n } catch (error) {\n if (error.response.status === 404) toastr.error('Ops', error.response.data);\n else toastr.error('Ops', 'Falha ao salvar configurações');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* getBotQueueHumanAttendance(action) {\n const { payload } = action;\n const { botId, loading } = payload;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading } });\n const { data } = yield call(api.get, `/v1/bots/${botId}/humanAttendence`);\n\n yield put({\n type: BotsTypes.SET_QUEUE_ATTENDANCE,\n payload: data.map((elem) => {\n return {\n _id: elem._id,\n name: elem.client_name,\n service: elem.service_name,\n apiKey: elem.api_key,\n serviceKey: elem.service_ObjectId,\n };\n }),\n });\n } catch (error) {\n yield put({ type: BotsTypes.SET_QUEUE_ATTENDANCE, payload: [] });\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* updateBotIaStatus(action) {\n const { payload } = action;\n\n try {\n yield call(api.put, `/v1/bots/${payload.botId}/ia/update`, {\n iaStatus: payload.iaStatus,\n });\n toastr.success('Bot atualizado com sucesso');\n } catch (error) {\n console.log(error);\n }\n}\n\n/**\n * Get bot collect data count value\n * @param {Object} action action from redux\n */\nexport function* getBotCollectDataCount({ payload }) {\n try {\n const { botId, token, startDate, endDate } = payload;\n const url = `/collect-data-count?bot_id=${botId}&token=${token}&start_date=${startDate}&end_date=${endDate}`;\n\n const { data } = yield call(apiReports.get, url);\n\n yield put({\n type: BotsTypes.BOT_COLLECT_DATA_COUNT_SUCCESS,\n payload: data,\n });\n } catch (error) {\n toastr.error('Erro', 'Ocorreu um erro inesperado');\n console.log(error);\n }\n}\n\n/**\n * Get bot collect data value in a .csv file and save the last api cal status\n * @param {Object} action action from redux\n */\nexport function* getBotCollectDataCsv({ payload }) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n const { botId, token, showSensitivityData, startDate, endDate } = payload;\n const url = `/v1/report/variable/generate?bot=${botId}&token=${token}`;\n const now = new Date();\n const date = `${now.getDate()}/${now.getMonth() + 1}/${now.getFullYear()}`;\n const hour = `${now.getHours()}_${now.getMinutes()}`;\n const name = `Dados_coletados_${date}_${hour}`;\n\n yield call(api.post, url, {\n name,\n bot: botId,\n showSensitivityData,\n start_date: startDate,\n end_date: endDate,\n });\n\n toastr.success(\n 'Sucesso',\n `Relatório criado com sucesso. Download em \"Análise → Relatório Customizado\"`\n );\n } catch (error) {\n toastr.error('Erro', 'Ocorreu um erro inesperado');\n console.log(error);\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* resetBotCollectCount(action) {\n yield put({\n type: BotsTypes.BOT_COLLECT_DATA_COUNT_RESET_SUCCESS,\n payload: [],\n });\n}\n\nexport function* publishBot(action) {\n const { botId, isToActive } = action;\n\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { data } = yield call(api.post, `/v1/bots/${botId}/publish`, {\n isActive: isToActive,\n });\n\n store.dispatch(BotsCreators.countStatusCreatorNoSaveRemove(botId));\n\n toastr.success('Sucesso', 'A publicação foi realizada com sucesso!!');\n\n yield put({ type: BotsTypes.PUBLISH_BOT_SUCCESS, payload: data });\n } catch (error) {\n toastr.error('Ops', 'Não foi possível publicar essa versão do seu Bot');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* publishVoiceBot(action) {\n const { botId } = action;\n\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { data } = yield call(\n api.post,\n `/v1/voice-bots/${botId}/publish`,\n {},\n { timeout: 50000 }\n );\n\n store.dispatch(BotsCreators.countStatusCreatorNoSaveRemove());\n\n toastr.success('Sucesso', 'A publicação foi realizada com sucesso!!');\n\n yield put({ type: BotsTypes.PUBLISH_BOT_SUCCESS, payload: data });\n } catch (error) {\n toastr.error('Ops', 'Não foi possível publicar essa versão do seu Bot');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* changeStagingArea(action) {\n const { botId, chosenVersion } = action;\n\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { data } = yield call(api.put, `/v1/bots/${botId}/stagingArea`, {\n version: chosenVersion.id,\n });\n\n yield put(ConnectorsCreators.getConnectorsSuccess(data.connectors));\n yield put(ItemsCreators.listItemsSuccess(data));\n store.dispatch(BotsCreators.countStatusCreatorNoSaveRemove());\n\n toastr.success(\n 'Sucesso',\n `Você está acessando a versão publicada em ${moment(\n chosenVersion.createDate\n ).format('DD/MM/YYYY - HH:mm')}`\n );\n } catch (error) {\n toastr.error('Ops', 'Não foi possível abrir a versão escolhida');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* countStatusCreatorNoSave() {\n try {\n yield put({\n type: BotsTypes.COUNT_STATUS_CREATOR_NO_SAVE_SUCCESS,\n payload: store.getState().bots.bot?.countUpdatesNoPublish + 1,\n });\n } catch (error) {\n toastr.error('Ops', error.message);\n }\n}\n\nexport function* countStatusCreatorNoSaveRemove() {\n try {\n // const { data } = yield call(api.get, `/v1/bots/${botId}`);\n yield put({\n type: BotsTypes.COUNT_STATUS_CREATOR_NO_SAVE_REMOVE_SUCCESS,\n payload: 0,\n });\n } catch (error) {\n toastr.error('Ops', error.message);\n }\n}\n","import axios from 'axios';\n\nexport const API_TOKEN = 'API_TOKEN';\n\nconst url = process.env.REACT_APP_API_IA_URL || 'http://localhost:3002';\n\naxios.defaults.baseURL = `${url}/api`;\n\nexport const AxiosWithInterceptors = axios.create({\n headers: { common: { authorization: `Bearer ${localStorage.getItem(API_TOKEN)}` } },\n});\n\n\nAxiosWithInterceptors.interceptors.response.use(response => response, (error) => {\n // console.log('error.response.status: ', error.response.status)\n if (error.response.status === 401) {\n localStorage.removeItem(API_TOKEN);\n window.location.reload()\n }\n return Promise.reject(error);\n});\n\n\nexport const AxiosWithoutInterceptors = axios.create();\n\nexport default AxiosWithInterceptors;\n","import { call, put, fork } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\nimport { IaTypes } from '../actions/intelligence';\nimport { BotsTypes } from '../actions/bots';\nimport { commonActions } from '../actions/common';\n\nimport api from '../../services/api';\nimport apiIa from '../../services/api.ia';\n\nexport function* createLuis(action) {\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n const luis = yield call(api.get, `/v1/bots/${payload.botid}`);\n\n const findL = luis.data.ia.platforms.find(element => element.platform === payload.platform)\n\n if (!findL) {\n const { data } = yield call(apiIa.post, `/v1/ia/application/create`, {\n name: payload.botid,\n platform: payload.platform,\n credentials: payload.credentials,\n language: payload.language\n });\n\n yield put({ type: IaTypes.IA_CREATE_LUIS_SUCCESS, payload: data });\n yield put({ type: IaTypes.IA_PLATFORM_SUCCESS, payload: payload.platform });\n\n const response = yield call(api.put, `/v1/bots/update/${payload.botid}`, {\n currentTokenIa: data.token,\n ia: {\n platforms: [{\n token: data.token,\n platform: 'luis',\n isActive: true,\n }\n ]\n }\n });\n \n yield put({ type: BotsTypes.UPDATE_BOT_SUCCESS, payload: response.data });\n yield put({ type: IaTypes.IA_PLATFORM_SUCCESS, payload: payload.platform });\n\n toastr.success('Plataforma', 'Plataforma \"Luis\" criada com sucesso');\n } else {\n\n const response = yield call(api.put, `/v1/bots/update/${payload.botid}`, \n luis.data.currentTokenIa === findL.token ?\n {iaEnabled: false} :\n {currentTokenIa: findL.token}\n );\n yield put({ type: BotsTypes.UPDATE_BOT_SUCCESS, payload: response.data });\n yield put({ type: IaTypes.IA_PLATFORM_SUCCESS, payload: findL.platform });\n \n if (luis.data.currentTokenIa === findL.token) {\n toastr.success('Plataforma', 'Plataforma \"Luis\" Desativada');\n } else {\n toastr.success('Plataforma', 'Plataforma \"Luis\" Ativada');\n }\n }\n\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Algo deu errado');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\n\nexport function* listLuis(action) {\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n const { data } = yield call(apiIa.post, `/v1/ia/application/get`, { ...payload });\n yield put({ type: IaTypes.IA_LIST_WIT_SUCCESS, payload: data });\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Algo deu errado');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* createWit(action) {\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n const wit = yield call(api.get, `/v1/bots/${payload.botid}`);\n\n const findL = wit.data.ia.platforms.find(element => element.platform === payload.platform)\n\n if (!findL) {\n const { data } = yield call(apiIa.post, `/v1/ia/application/create`, {\n name: payload.botid,\n platform: payload.platform,\n credentials: payload.credentials,\n language: payload.language\n });\n\n yield put({ type: IaTypes.IA_CREATE_WIT_SUCCESS, payload: data });\n yield put({ type: IaTypes.IA_PLATFORM_SUCCESS, payload: payload.platform });\n\n const response = yield call(api.put, `/v1/bots/update/${payload.botid}`, {\n currentTokenIa: data.token,\n ia: {\n platforms: [{\n token: data.token,\n platform: 'wit',\n isActive: true,\n }\n ]\n }\n });\n yield put({ type: BotsTypes.UPDATE_BOT_SUCCESS, payload: response.data });\n yield put({ type: IaTypes.IA_PLATFORM_SUCCESS, payload: payload.platform });\n toastr.success('Plataforma', 'Plataforma \"Wit\" criada com sucesso');\n } else {\n const response = yield call(api.put, `/v1/bots/update/${payload.botid}`, \n wit.data.currentTokenIa === findL.token ? \n {iaEnabled: false} :\n {currentTokenIa: findL.token}\n );\n yield put({ type: BotsTypes.UPDATE_BOT_SUCCESS, payload: response.data });\n yield put({ type: IaTypes.IA_PLATFORM_SUCCESS, payload: findL.platform });\n\n if (wit.data.currentTokenIa === findL.token) {\n toastr.success('Plataforma', 'Plataforma \"Wit\" Desativada');\n } else {\n toastr.success('Plataforma', 'Plataforma \"Wit\" Ativada');\n }\n }\n\n } catch (error) {\n console.error(error.response)\n toastr.error('Ops', 'Algo deu errado');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* listWit(action) {\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n const { data } = yield call(apiIa.post, `/v1/ia/application/get`, { ...payload });\n\n yield put({ type: IaTypes.IA_LIST_WIT_SUCCESS, payload: data });\n\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Algo deu errado');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\n\nexport function* createBoteria(action) {\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n const boteria = yield call(api.get, `/v1/bots/${payload.botid}`);\n\n const findL = boteria.data.ia.platforms.find(element => element.platform === payload.platform)\n if (!findL) {\n const { data } = yield call(apiIa.post, `/v1/ia/application/create`, {\n name: payload.botid,\n platform: 'wit',\n credentials: payload.credentials\n });\n\n yield put({ type: IaTypes.IA_CREATE_BOTERIA_SUCCESS, payload: data });\n yield put({ type: IaTypes.IA_PLATFORM_SUCCESS, payload: 'boteria' });\n\n const response = yield call(api.put, `/v1/bots/update/${payload.botid}`, {\n currentTokenIa: data.token,\n ia: {\n platforms: [{\n token: data.token,\n platform: 'boteria',\n isActive: true,\n }\n ]\n }\n });\n\n yield put({ type: BotsTypes.UPDATE_BOT_SUCCESS, payload: response.data });\n yield put({ type: IaTypes.IA_PLATFORM_SUCCESS, payload: 'boteria' });\n\n toastr.success('Plataforma', 'Plataforma \"Boteria\" criada com sucesso');\n } else {\n const response = yield call(api.put, `/v1/bots/update/${payload.botid}`, \n boteria.data.currentTokenIa === findL.token ? \n {iaEnabled: false} :\n {currentTokenIa: findL.token}\n );\n yield put({ type: BotsTypes.UPDATE_BOT_SUCCESS, payload: response.data });\n yield put({ type: IaTypes.IA_PLATFORM_SUCCESS, payload: findL.platform });\n\n if (boteria.data.currentTokenIa === findL.token) {\n toastr.success('Plataforma', 'Plataforma \"Boteria\" Desativada');\n } else {\n toastr.success('Plataforma', 'Plataforma \"Boteria\" Ativada');\n }\n }\n } catch (error) {\n console.error(error.response)\n toastr.error('Ops', 'Algo deu errado');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\n\n\nexport function* createSamples(action) {\n\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n console.log(payload)\n yield call(apiIa.post, `/v1/ia/sample/upsert`, { ...payload });\n\n const { data } = yield call(apiIa.post, `v1/ia/sample/summary`, { token: payload.token, type: 'intent' });\n yield put({ type: IaTypes.IA_LIST_ALL_SAMPLES_SUCCESS, payload: data });\n toastr.success('Frase de exemplo', 'Frases criada com sucesso');\n\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Algo deu errado');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* listAllSamples(action) {\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n const { data } = yield call(apiIa.post, `v1/ia/sample/summary`, { ...payload });\n yield put({ type: IaTypes.IA_LIST_ALL_SAMPLES_SUCCESS, payload: data });\n\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Não foi possível listar as intenções.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* deleteSamples(action) {\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n yield call(apiIa.post, `/v1/ia/sample/delete`, { ...payload });\n\n const { data } = yield call(apiIa.post, `v1/ia/sample/summary`, { token: payload.token, type: 'intent' });\n yield put({ type: IaTypes.IA_LIST_ALL_SAMPLES_SUCCESS, payload: data });\n\n toastr.success('Inteções', 'Frase de exemplo excluída com sucesso');\n\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Não foi possível deletar as as frases.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* createIntents(action) {\n const { payload } = action;\n\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n yield call(apiIa.post, `/v1/ia/intent/insert`, { ...payload });\n\n if (payload.sentence.length >= 1) {\n for (let i = 0; i < payload.sentence.length; i++) {\n yield call(apiIa.post, `/v1/ia/sample/upsert`, {\n token: payload.token,\n sentence: payload.sentence[i].text,\n intents: [{ name: payload.name }]\n });\n }\n }\n\n const response = yield call(apiIa.post, `/v1/ia/intent/get`, { token: payload.token });\n yield put({ type: IaTypes.IA_LIST_INTENTS_SUCCESS, payload: response.data });\n\n const { data } = yield call(apiIa.post, `v1/ia/sample/summary`, { token: payload.token, type: \"intent\" });\n yield put({ type: IaTypes.IA_LIST_ALL_SAMPLES_SUCCESS, payload: data });\n\n toastr.success('Intenções', 'Intenção criada com sucesso');\n\n } catch (error) {\n console.log(error.response)\n toastr.error('Ops', 'Não foi possível criar as intenções.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* listIAIntents(action) {\n const { payload } = action;\n try {\n // if (!payload.ia) throw new Error(\"Invalid or missing params\");\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n const { data } = yield call(apiIa.post, `v1/ia/intent/get`, { ...payload });\n yield put({ type: IaTypes.IA_LIST_INTENTS_SUCCESS, payload: data });\n\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Não foi possível listar as intenções.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* deleteIntents(action) {\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n yield call(apiIa.post, `/v1/ia/intent/delete`, { ...payload });\n\n\n const { data } = yield call(apiIa.post, `/v1/ia/intent/get`, { token: payload.token });\n yield put({ type: IaTypes.IA_LIST_INTENTS_SUCCESS, payload: data });\n\n const response = yield call(apiIa.post, `v1/ia/sample/summary`, { token: payload.token, type: 'intent' });\n yield put({ type: IaTypes.IA_LIST_ALL_SAMPLES_SUCCESS, payload: response.data });\n\n toastr.success('Inteções', 'Intenção excluída com sucesso');\n\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Não foi possível deletar as intenções.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\n\nexport function* listIAEntities(action) {\n\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n const { data } = yield call(apiIa.post, `/v1/ia/entity/get`, { ...payload });\n yield put({ type: IaTypes.IA_LIST_ENTITIES_SUCCESS, payload: data });\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Não foi possível listar as Entidades.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\n\nexport function* listEntity(action) {\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n const { data } = yield call(apiIa.post, `/v1/ia/entity/get`, { ...payload });\n yield put({ type: IaTypes.IA_LIST_ENTITY_SUCCESS, payload: data });\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Não foi possível listar as Entidades.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* createEntities(action) {\n \n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n yield call(apiIa.post, `/v1/ia/entity/upsert`, { ...payload });\n\n const { data } = yield call(apiIa.post, `/v1/ia/entity/get`, { token: payload.token });\n yield put({ type: IaTypes.IA_LIST_ENTITIES_SUCCESS, payload: data });\n\n const response = yield call(apiIa.post, `/v1/ia/entity/get`, { token: payload.token, name: payload.name });\n yield put({ type: IaTypes.IA_LIST_ENTITY_SUCCESS, payload: response.data });\n\n toastr.success('Entidade', 'Entidade criada com sucesso');\n\n } catch (error) {\n console.log(error.response)\n toastr.error('Ops', 'Não foi possível criar as intenções.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* deleteEntities(action) {\n \n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n yield call(apiIa.post, `/v1/ia/entity/delete`, { ...payload });\n\n const { data } = yield call(apiIa.post, `/v1/ia/entity/get`, { token: payload.token });\n yield put({ type: IaTypes.IA_LIST_ENTITIES_SUCCESS, payload: data });\n\n toastr.success('Entidade', 'Entidade deletada com sucesso');\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Não foi possível deletar a Entidades.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\nexport function* deleteEntitiesObj(action) {\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n yield call(apiIa.post, `/v1/ia/entity/object/delete`, { ...payload });\n\n const { data } = yield call(apiIa.post, `/v1/ia/entity/get`, { token: payload.token });\n yield put({ type: IaTypes.IA_LIST_ENTITIES_SUCCESS, payload: data });\n\n toastr.success('Entidade', 'Objeto deletado com sucesso');\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Não foi possível deletar a Entidades.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\nexport function* deleteEntitiesSyn(action) {\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n yield call(apiIa.post, `/v1/ia/entity/object/synonym/delete`, { ...payload });\n\n const { data } = yield call(apiIa.post, `/v1/ia/entity/get`, { token: payload.token, name: payload.name });\n yield put({ type: IaTypes.IA_LIST_ENTITY_SUCCESS, payload: data });\n\n toastr.success('Entidade', 'Sinonimo deletado com sucesso');\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Não foi possível deletar a Entidades.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* listSamplesIntent(action) {\n\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n const { data } = yield call(apiIa.post, `/v1/ia/sample/show`, { ...payload });\n yield put({ type: IaTypes.IA_LIST_SAMPLES_INTENT_SUCCESS, payload: data[0] });\n\n } catch (error) {\n console.error(error)\n toastr.error('Ops', 'Não foi possível listar as intenções.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* listCurationMessages(action) {\n\n const { payload } = action;\n\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n if (!(payload.bot && payload.count)) throw new Error(\"Invalid or missing params\");\n\n let url = `/v1/bots/curation/?bot=${payload.bot}&count=${payload.count}`;\n if (payload.query) url += `&query=${payload.query}`;\n if (payload.processed) url += `&processed=true`;\n if (payload.status) url += `&status=${payload.status}`;\n if (payload.start_date) url += `&start_date=${payload.start_date}`;\n if (payload.end_date) url += `&end_date=${payload.end_date}`;\n\n const { data } = yield call(api.get, url);\n yield put({ type: IaTypes.CURATION_BOT_LIST_MESSAGES_SUCCESS, payload: data.messages });\n\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Não foi possível listar as mensagens da curadoria.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* ignoreCurationMessage(action) {\n const { payload } = action;\n try {\n\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n if (!(payload.bot && payload.message)) throw new Error(\"Invalid or missing params\");\n\n const url = `/v1/bots/curation/ignore/?bot=${payload.bot}&message=${payload.message}`;\n\n yield call(api.get, url);\n\n toastr.success('Curadoria', 'Mensagem ignorada com sucesso!');\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Não foi possível ignorar esta mensagem da curadoria.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n\n }\n}\n\nexport function* acceptCurationMessage(action) {\n const { payload } = action;\n try {\n\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n if (!(payload.bot && payload.message)) throw new Error(\"Invalid or missing params\");\n\n const url = `/v1/bots/curation/accept/?bot=${payload.bot}&message=${payload.message}`;\n\n const { data } = yield call(api.get, url);\n yield put({ type: IaTypes.CURATION_BOT_ACCEPT_MESSAGE_SUCCESS, payload: data.result });\n\n toastr.success('Curadoria', 'Mensagem aceita com sucesso!');\n } catch (error) {\n console.log(error.response)\n toastr.error('Ops', 'Não foi possível salvar esta mensagem.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\n\nexport function* saveIASample(action) {\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n if (!(payload.ia && payload.sample)) {\n throw new Error(\"Invalid or missing params\");\n }\n\n const { data } = yield call(apiIa.post, `/v1/bots/ia/sample`, payload);\n yield put({ type: IaTypes.IA_SAVE_SAMPLE_SUCCESS, payload: data.result });\n\n } catch (error) {\n console.log(error)\n toastr.error('Ops', 'Não foi possível inserir o exemplo.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n\n }\n}\n\nexport function* getConditions(action) {\n const { payload } = action;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n const { data } = yield call(api.post, '/v1/conditions/fetch?key=kgjdhURyashsJKSkd2kkd98Yf7', { botId: payload });\n yield put({ type: IaTypes.IA_LIST_CONDITIONS_SUCCESS, payload: JSON.parse(data) })\n } catch (error) {\n console.error(error)\n toastr.error('Ops', 'Não foi possível buscar Condições para o bot');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n\n }\n}\n\nexport function* updateCondition(action) {\n const { payload } = action\n try {\n\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n const { data } = yield fork(api.put, `/v1/conditions/${payload._id}?key=kgjdhURyashsJKSkd2kkd98Yf7`, { ...payload })\n\n toastr.success('Sucesso', 'Condição editada!');\n\n yield put({ type: IaTypes.IA_UPDATE_CONDITIONS_SUCCESS, payload: { ...payload } })\n } catch (error) {\n console.error(error)\n toastr.error('Ops', 'Não foi possível atualizar a condição do bot');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n\n }\n}\n\nexport function* createCondition(action) {\n const { payload } = action\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n\n const { data } = yield call(api.post, `/v1/conditions?key=kgjdhURyashsJKSkd2kkd98Yf7`, { ...payload })\n\n yield put({ type: IaTypes.IA_CREATE_CONDITIONS_SUCCESS, payload: data })\n\n toastr.success('Sucesso', 'Condição criada');\n\n } catch (error) {\n console.log(error.response)\n toastr.error('Ops', 'Não foi possível criar uma condição para o bot');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n\n }\n}\n\nexport function* deleteCondition(action) {\n const { payload } = action\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n const { data } = yield call(api.delete, `/v1/conditions/${payload}?key=kgjdhURyashsJKSkd2kkd98Yf7`)\n\n yield put({ type: IaTypes.IA_DELETE_CONDITIONS_SUCCESS, payload })\n toastr.success('Sucesso', 'Condição deletada');\n } catch (error) {\n console.log(error.response)\n toastr.error('Ops', 'Não foi possível deletar a condição');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* saveAprimoramentos(action) {\n const { aprimoramentos, options } = action.payload\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n for(let i = 0; i < aprimoramentos.length; ++i) {\n const { payload, type } = aprimoramentos[i]\n switch(type) {\n case 'ADD_SAMPLE_INTENT': \n yield call(apiIa.post, `/v1/ia/sample/upsert`, {\n token: payload.token,\n sentence: payload.text,\n intents: [{ name: payload.name }]\n });\n break;\n \n case 'ADD_SAMPLE_ENTITY':\n yield call(apiIa.post, `/v1/ia/entity/upsert`, { token: payload.token, name: payload.name, objects: [ { name: payload.text, synonyms: [payload.text] } ] } );\n break;\n\n case 'ADD_INTENT':\n yield call(apiIa.post, `/v1/ia/intent/insert`, { ...payload });\n yield call(apiIa.post, `/v1/ia/sample/upsert`, {\n token: payload.token,\n sentence: payload.text,\n intents: [{ name: payload.name }]\n });\n break;\n\n case 'ADD_ENTITY':\n yield call(apiIa.post, `/v1/ia/entity/upsert`, { token: payload.token, name: payload.name, objects: [ { name: payload.text, synonyms: [payload.text] } ] } );\n break;\n \n default:\n break;\n }\n }\n\n const { data } = yield call(api.get, `/v1/bots/curation/accept/?bot=${options.bot}&message=${options.message}`);\n yield put({ type: IaTypes.CURATION_BOT_ACCEPT_MESSAGE_SUCCESS, payload: data.result });\n\n toastr.success('Sucesso', 'Aprimoramento Concluído');\n } catch (err) {\n console.error(err.response)\n toastr.error('Ops!', 'Erro ao aprimorar');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n yield options.callback()\n }\n\n}\n\nexport function* getIaInfo(action) {\n const { payload } = action;\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n try {\n const { data } = yield call(apiIa.post, `/v1/ia/application/info`, { ...payload });\n yield put({ type: IaTypes.IA_PLATFORM_INFO_SUCCESS, payload: data });\n } catch (error) {\n console.log(error)\n yield put({ type: IaTypes.IA_PLATFORM_INFO_ERROR });\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* trainLuis(action) {\n const { payload } = action;\n let maxTries = 10\n let tries = 0;\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } })\n\n let result = yield call(apiIa.post, '/v1/ia/application/train', { token: payload.token });\n console.log(JSON.stringify(result))\n\n if (result.status === 200) {\n toastr.success('Plataforma', 'Treinamento efetuado com sucesso');\n let publishSuccess = false;\n \n while (!publishSuccess && tries <= maxTries) {\n console.log('aqui - ', tries)\n try {\n let result = yield call(apiIa.post, '/v1/ia/application/publish', { token: payload.token });\n \n publishSuccess = result.status === 200\n \n if (publishSuccess) {\n toastr.success('Plataforma', 'IA publicada com sucesso');\n }\n } catch(error) {\n \n }\n\n tries += 1;\n }\n\n if (!publishSuccess) {\n toastr.warning('Plataforma', 'IA nao pode ser publicada, tente novamente em alguns minutos.');\n }\n }\n const { data } = yield call(apiIa.post, `/v1/ia/application/info`, { ...payload });\n yield put({ type: IaTypes.IA_PLATFORM_INFO_SUCCESS, payload: data });\n } catch (error) {\n toastr.error('Ops', 'Algo deu errado');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } })\n }\n}\n\nexport function* iaPreview(action) {\n const { payload } = action;\n const { token, message } = payload;\n\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n try {\n const { data } = yield call(apiIa.post, '/v1/ia/process/message', {\n token,\n message,\n });\n yield put({ type: IaTypes.IA_PREVIEW_SUCCESS, payload: { data, message } });\n } catch (error) {\n toastr.error('Ops', 'Algo deu errado');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n","import { call, put, fork } from 'redux-saga/effects';\nimport { Types } from 'mongoose';\nimport { commonActions } from '../../store/actions/common';\n\nimport { toastr } from 'react-redux-toastr';\n\nimport api from '../../services/api';\n\nimport { ConnectorsCreators } from '../actions/connectors';\nimport { DebounceCreators } from '../actions/debounce';\n\nexport function* createConnector(action) {\n try {\n const { from, to, botId, subflowFor } = action.payload;\n const connector = {\n _id: Types.ObjectId().toString(),\n from,\n to,\n botId,\n ...(subflowFor && { subflowFor }),\n };\n yield put(\n DebounceCreators.addItemDebounce({\n type: 'ADD_CONNECTOR',\n payload: connector,\n })\n );\n yield put(ConnectorsCreators.createConnectorsSuccess(connector));\n } catch (err) {\n toastr.error('Ops', 'Algo de errado aconteceu ao criar um novo conector.');\n }\n}\n\nexport function* createVoiceConnector(action) {\n try {\n const { from, to, botId, voiceSettings } = action.payload;\n const connector = {\n _id: Types.ObjectId().toString(),\n from,\n to,\n botId,\n ...(voiceSettings && { voiceSettings }),\n };\n\n yield put(ConnectorsCreators.createConnectorsSuccess(connector));\n\n yield call(api.post, `/v1/voice-bots/${botId}/connectors`, connector);\n } catch (err) {\n toastr.error('Ops', 'Algo de errado aconteceu ao criar um novo conector.');\n }\n}\n\nexport function* deleteConnector(action) {\n try {\n const { id, botId } = action.payload;\n yield put(\n DebounceCreators.addItemDebounce({\n type: 'REMOVE_CONNECTOR',\n payload: { id, botId },\n })\n );\n yield put(ConnectorsCreators.deleteConnectorSuccess(id, botId));\n } catch (err) {\n toastr.error('Ops', 'Algo de errado aconteceu ao criar um novo conector.');\n }\n}\n\nexport function* getConnectors(action) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const response = yield call(\n api.get,\n `/v1/bots/${action.payload.botId}/connectors`\n );\n const { connectors } = response.data;\n yield put(ConnectorsCreators.getConnectorsSuccess(connectors));\n } catch (err) {\n toastr.error('Ops', 'Algo de errado aconteceu ao buscar os conectores.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* getConnectorsSubflow(action) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n const { botId, itemId } = action.payload;\n const url = `/v1/bots/${botId}/connectors-subflow/${itemId}`;\n\n const response = yield call(api.get, url);\n const { connectors } = response.data;\n yield put(ConnectorsCreators.getConnectorsSuccess(connectors));\n } catch (err) {\n toastr.error('Ops', 'Algo de errado aconteceu ao buscar os conectores.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* getAllConnectors(action) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n const { botId } = action.payload;\n const url = `/v1/bots/${botId}/all-connectors`;\n\n const { data } = yield call(api.get, url);\n yield put(ConnectorsCreators.getAllConnectorsSuccess(data));\n } catch (err) {\n toastr.error('Ops', 'Algo de errado aconteceu ao buscar os conectores.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n","import { put } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\nimport { FilterTypes } from '../actions/filter';\n\nexport function* infoStateFilter(action) {\n const { payload } = action;\n try {\n yield put({ type: FilterTypes.LIST_FILTER_INFO_SUCCESS, payload });\n } catch (error) {\n console.log(error);\n toastr.error('Ops', 'Algo deu errado');\n }\n}\n\nexport function* relatorioFilterInfo(action) {\n const { payload } = action;\n try {\n yield put({\n type: FilterTypes.FILTER_RELATORIO_INFO_SUCCESS,\n payload,\n });\n } catch (error) {\n console.log(error);\n toastr.error('Ops', 'Algo deu errado');\n }\n}\n","import moment from 'moment';\nimport queryString from 'query-string';\nimport { call, put } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\n\nimport { commonActions } from '../actions/common';\nimport apiReports from '../../services/api.reports';\nimport api from '../../services/api';\nimport { ReportsTypes } from '../actions/reports';\n\n/**\n * Display the error received from the catch on request.\n * @param {*} error\n */\nconst onRequestError = (error) => {\n toastr.error('Erro', 'Ocorreu um erro inesperado');\n};\n\nconst onPeriodInvalid = (startDate, endDate) => {\n const isInvalid = moment(startDate).isAfter(endDate);\n if (isInvalid) {\n toastr.error(\n 'Error',\n 'A data inicial deve ser anterior a data final do período.'\n );\n }\n return isInvalid;\n};\n\nconst addEndpointParameters = (\n startDate,\n endDate,\n botId,\n token,\n tags = [],\n channels = [],\n variables = [],\n timezone\n) => {\n let endpoint = `?bot=${botId}&token=${token}`;\n endpoint += `&start_date=${startDate}`;\n endpoint += `&end_date=${endDate}`;\n endpoint += `&timezone=${timezone}`;\n if (tags.length !== 0) {\n endpoint += `&tags=${encodeURIComponent(JSON.stringify(tags))}`;\n }\n\n if (channels.length !== 0) {\n endpoint += `&channels=${encodeURIComponent(JSON.stringify(channels))}`;\n }\n\n if (variables.length !== 0) {\n endpoint += `&variables=${encodeURIComponent(JSON.stringify(variables))}`;\n }\n\n return endpoint;\n};\n\n/**\n * Get bot total of users used and the average\n * @param {*} action\n */\nexport function* getClientsReports(action) {\n const { botId, token, filters } = action.payload;\n const { startDate, endDate, tags, channels, variables, timezone } = filters;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const clientsTotalEndpoint = `/bots/clients/count${addEndpointParameters(\n startDate,\n endDate,\n botId,\n token,\n tags,\n channels,\n variables,\n timezone\n )}`;\n\n const [clientsTotal, clientsAverage] = yield [\n yield call(apiReports.get, clientsTotalEndpoint),\n // yield call(apiReports.get, clientsAverageEndpoint),\n ];\n yield put({\n type: ReportsTypes.GET_CLIENTS_REPORTS_SUCCESS,\n payload: { total: clientsTotal.data, average: [] },\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get bot total of users filter by period for the graphic\n * @param {*} action\n */\nexport function* getClientsGraphicReports(action) {\n const { botId, token, filters } = action.payload;\n const { startDate, endDate, tags, channels, variables, timezone } = filters;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const clientsGraphicEndpoint = `/bots/clients${addEndpointParameters(\n startDate,\n endDate,\n botId,\n token,\n tags,\n channels,\n variables,\n timezone\n )}`;\n\n const { data } = yield call(apiReports.get, clientsGraphicEndpoint);\n yield put({\n type: ReportsTypes.GET_CLIENTS_REPORTS_GRAPHIC_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get bot total of sessions used and the average\n * @param {*} action\n */\nexport function* getBotSessions(action) {\n const { botId, token, filters } = action.payload;\n const { startDate, endDate, tags, channels, variables, timezone } = filters;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const sessionsTotalEndpoint = `/bots/sessions/count${addEndpointParameters(\n startDate,\n endDate,\n botId,\n token,\n tags,\n channels,\n variables,\n timezone\n )}`;\n\n const [sessionsTotal] = yield [\n yield call(apiReports.get, sessionsTotalEndpoint),\n ];\n yield put({\n type: ReportsTypes.GET_SESSIONS_REPORTS_SUCCESS,\n payload: { total: sessionsTotal.data, average: [] },\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\nexport function* getSessionsGraphicReports(action) {\n const { botId, token, filters } = action.payload;\n const { startDate, endDate, tags, channels, variables, timezone } = filters;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const sessionsGraphicEndpoint = `/bots/sessions${addEndpointParameters(\n startDate,\n endDate,\n botId,\n token,\n tags,\n channels,\n variables,\n timezone\n )}`;\n\n const { data } = yield call(apiReports.get, sessionsGraphicEndpoint);\n yield put({\n type: ReportsTypes.GET_SESSIONS_REPORTS_GRAPHIC_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get bot attendance time and waiting time\n * @param {*} action\n */\nexport function* getAttendanceTime(action) {\n const { botId, token, filters } = action.payload;\n const { startDate, endDate, tags, channels, variables, timezone } = filters;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const attendanceTimeAverageEndpoint = `/bots/sessions/duration/average${addEndpointParameters(\n startDate,\n endDate,\n botId,\n token,\n tags,\n channels,\n variables,\n timezone\n )}`;\n\n const { data } = yield call(apiReports.get, attendanceTimeAverageEndpoint);\n\n yield put({\n type: ReportsTypes.GET_ATTENDANCE_TIME_REPORTS_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n toastr.error('Ops!', 'Erro ao aprimorar');\n }\n}\n\nexport function* getSessionAttendanceTime(action) {\n const { botId, token, filters } = action.payload;\n const { startDate, endDate, tags, channels, variables, timezone } = filters;\n\n try {\n const sessionsGraphicEndpoint = `bots/sessions/stats${addEndpointParameters(\n startDate,\n endDate,\n botId,\n token,\n tags,\n channels,\n variables,\n timezone\n )}`;\n\n const { data } = yield call(apiReports.get, sessionsGraphicEndpoint);\n yield put({\n type: ReportsTypes.GET_SESSION_ATTENDANCE_TIME_REPORTS_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get bot attendance time data for graphic\n * @param {*} action\n */\nexport function* getBotAttendanceTimeGraphic(action) {\n const { botId, token, filters } = action.payload;\n const { startDate, endDate, tags, channels, variables, timezone } = filters;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const attendanceTimeGraphicTotalEndpoint = `/bots/sessions/duration${addEndpointParameters(\n startDate,\n endDate,\n botId,\n token,\n tags,\n channels,\n variables,\n timezone\n )}`;\n\n const { data } = yield call(\n apiReports.get,\n attendanceTimeGraphicTotalEndpoint\n );\n\n yield put({\n type: ReportsTypes.GET_ATTENDANCE_TIME_REPORTS_GRAPHIC_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get bot (and user) quantity of messages in a period\n * @param {*} action\n */\nexport function* getBotQuantityMessagesData(action) {\n const { botId, token, filters } = action.payload;\n const { startDate, endDate, tags, channels, variables, timezone } = filters;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const parameters = addEndpointParameters(\n startDate,\n endDate,\n botId,\n token,\n tags,\n channels,\n variables,\n timezone\n );\n const botMessageEndpoint = `/bots/messages${parameters}`;\n const userMessageEndpoint = `/bots/messages/user${parameters}`;\n\n const [bot, user] = yield [\n yield call(apiReports.get, botMessageEndpoint),\n yield call(apiReports.get, userMessageEndpoint),\n ];\n\n yield put({\n type: ReportsTypes.GET_BOT_MESSAGES_SUCCESS,\n payload: { bot: bot.data, user: user.data },\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get bot (and user) quantity of messages in a period\n * @param {*} action\n */\nexport function* getBotQuantityAndAverageMessageData(action) {\n const { botId, token, filters } = action.payload;\n const { startDate, endDate, tags, channels, variables, timezone } = filters;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const parameters = addEndpointParameters(\n startDate,\n endDate,\n botId,\n token,\n tags,\n channels,\n variables,\n timezone\n );\n const botMessageEndpoint = `/bots/messages${parameters}`;\n const totalMessageEndpoint = `/bots/messages/count${parameters}`;\n const userMessageEndpoint = `/bots/messages/user${parameters}`;\n const chatAverageMessageEndpoint = `/bots/messages/average-by-session${parameters}`;\n\n const [bot, total, user, average] = yield [\n yield call(apiReports.get, botMessageEndpoint),\n yield call(apiReports.get, totalMessageEndpoint),\n yield call(apiReports.get, userMessageEndpoint),\n yield call(apiReports.get, chatAverageMessageEndpoint),\n ];\n\n yield put({\n type: ReportsTypes.GET_BOT_MESSAGES_AVG_SUCCESS,\n payload: {\n bot: bot.data,\n total: total.data,\n user: user.data,\n average: average.data,\n },\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get bot total messages on each channel used (graphic)\n * @param {*} action\n */\nexport function* getBotMessagesByChannel(action) {\n const { botId, token, filters } = action.payload;\n const { startDate, endDate, tags, channels, variables, timezone } = filters;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const quantityMessageByChannelEndpoint = `/bots/messages/by-channel${addEndpointParameters(\n startDate,\n endDate,\n botId,\n token,\n tags,\n channels,\n variables,\n timezone\n )}`;\n const { data } = yield call(\n apiReports.get,\n quantityMessageByChannelEndpoint\n );\n yield put({\n type: ReportsTypes.GET_AMOUNT_MESSAGE_CHANNEL_REPORTS_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get bot total messages on each channel used (absolute)\n * @param {*} action\n */\nexport function* getBotTotalMessagesByChannel(action) {\n const { botId, token, filters } = action.payload;\n const { startDate, endDate, tags, channels, variables, timezone } = filters;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const botTotalMessageByChannelEndpoint = `/bots/messages/total-by-channel${addEndpointParameters(\n startDate,\n endDate,\n botId,\n token,\n tags,\n channels,\n variables,\n timezone\n )}`;\n const { data } = yield call(\n apiReports.get,\n botTotalMessageByChannelEndpoint\n );\n yield put({\n type: ReportsTypes.GET_TOTAL_MESSAGE_CHANNEL_REPORTS_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get total of bots in this company (org)\n * @param {*} action\n */\nexport function* getCompanyBotsCount(action) {\n const { orgId, token } = action.payload;\n\n try {\n const orgBotsCountEndpoint = `/company/bots/count?company=${orgId}&token=${token}`;\n const { data } = yield call(apiReports.get, orgBotsCountEndpoint);\n yield put({\n type: ReportsTypes.GET_ORG_BOTS_COUNT_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get bots in this company (org) for the period\n * @param {*} action\n */\nexport function* getCompanyBotsGraphic(action) {\n const { orgId, token, date, timezone } = action.payload;\n const { startDate, endDate } = date;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const orgBotsGraphicEndpoint = `/company/bots?company=${orgId}&token=${token}&start_date=${startDate}&end_date=${endDate}&timezone=${timezone}`;\n const { data } = yield call(apiReports.get, orgBotsGraphicEndpoint);\n yield put({\n type: ReportsTypes.GET_ORG_BOTS_GRAPHIC_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get total of messages in this company (org)\n * @param {*} action\n */\nexport function* getCompanyTotalMessagesCount(action) {\n const { orgId, token, date, timezone } = action.payload;\n const { startDate, endDate } = date;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const orgTotalMessagesCountEndpoint = `/company/messages/count?company=${orgId}&token=${token}&start_date=${startDate}&end_date=${endDate}&timezone=${timezone}`;\n const { data } = yield call(apiReports.get, orgTotalMessagesCountEndpoint);\n yield put({\n type: ReportsTypes.GET_ORG_TOTAL_MESSAGES_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get total messages in this company (org) for the period\n * @param {*} action\n */\nexport function* getCompanyTotalMessagesGraphic(action) {\n const { orgId, token, date, timezone } = action.payload;\n const { startDate, endDate } = date;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const orgTotalMessagesGraphicEndpoint = `/company/messages?company=${orgId}&token=${token}&start_date=${startDate}&end_date=${endDate}&timezone=${timezone}`;\n const orgTotalMessagesUserGraphicEndpoint = `/company/messages/user?company=${orgId}&token=${token}&start_date=${startDate}&end_date=${endDate}&timezone=${timezone}`;\n\n const [total, user] = yield [\n yield call(apiReports.get, orgTotalMessagesGraphicEndpoint),\n yield call(apiReports.get, orgTotalMessagesUserGraphicEndpoint),\n ];\n yield put({\n type: ReportsTypes.GET_ORG_TOTAL_MESSAGES_GRAPHIC_SUCCESS,\n payload: { total: total.data, user: user.data },\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get total of sessions in this company (org)\n * @param {*} action\n */\nexport function* getCompanyTotalSessionsCount(action) {\n const { orgId, token, date, timezone } = action.payload;\n const { startDate, endDate } = date;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const orgTotalSessionsCountEndpoint = `/company/sessions/count?company=${orgId}&token=${token}&start_date=${startDate}&end_date=${endDate}&timezone=${timezone}`;\n const { data } = yield call(apiReports.get, orgTotalSessionsCountEndpoint);\n yield put({\n type: ReportsTypes.GET_ORG_TOTAL_SESSIONS_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get total sessions in this company (org) for the period\n * @param {*} action\n */\nexport function* getCompanyTotalSessionsGraphic(action) {\n const { orgId, token, date, timezone } = action.payload;\n const { startDate, endDate } = date;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const orgTotalSessionsGraphicEndpoint = `/company/sessions?company=${orgId}&token=${token}&start_date=${startDate}&end_date=${endDate}&timezone=${timezone}`;\n\n const { data } = yield call(\n apiReports.get,\n orgTotalSessionsGraphicEndpoint\n );\n\n yield put({\n type: ReportsTypes.GET_ORG_TOTAL_SESSIONS_GRAPHIC_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get total of users in this company (org)\n * @param {*} action\n */\nexport function* getCompanyTotalUsersCount(action) {\n const { orgId, token } = action.payload;\n\n try {\n const orgTotalUsersCountEndpoint = `/company/users/count?company=${orgId}&token=${token}`;\n const { data } = yield call(apiReports.get, orgTotalUsersCountEndpoint);\n yield put({\n type: ReportsTypes.GET_ORG_TOTAL_USERS_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get total users in this company (org) for the period\n * @param {*} action\n */\nexport function* getCompanyTotalUsersGraphic(action) {\n const { orgId, token, date, timezone } = action.payload;\n const { startDate, endDate } = date;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const orgTotalUsersGraphicEndpoint = `/company/users?company=${orgId}&token=${token}&start_date=${startDate}&end_date=${endDate}&timezone=${timezone}`;\n\n const [total] = yield [\n yield call(apiReports.get, orgTotalUsersGraphicEndpoint),\n ];\n yield put({\n type: ReportsTypes.GET_ORG_TOTAL_USERS_GRAPHIC_SUCCESS,\n payload: total.data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get list of users in this company (org)\n * @param {*} action\n */\nexport function* getCompanyListUsers(action) {\n const { orgId, token } = action.payload;\n\n try {\n const orgListUsersCountEndpoint = `/company/users/detailed?company=${orgId}&token=${token}`;\n const { data } = yield call(apiReports.get, orgListUsersCountEndpoint);\n yield put({\n type: ReportsTypes.GET_ORG_LIST_USERS_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get total messages by channel per bot in this company (org)\n * @param {*} action\n */\nexport function* getCompanyMessagesByChannel(action) {\n const { orgId, token, date, timezone } = action.payload;\n const { startDate, endDate } = date;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const orgTotalMessagesByChannelEndpoint = `/company/messages/by-channel/count?company=${orgId}&token=${token}&start_date=${startDate}&end_date=${endDate}&timezone=${timezone}`;\n const { data } = yield call(\n apiReports.get,\n orgTotalMessagesByChannelEndpoint\n );\n yield put({\n type: ReportsTypes.GET_ORG_MESSAGES_BY_CHANNEL_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get total messages by channel per bot in this company (org) for the graphic\n * @param {*} action\n */\nexport function* getCompanyMessagesByChannelGraphic(action) {\n const { orgId, token, date, timezone } = action.payload;\n const { startDate, endDate } = date;\n const isInvalid = onPeriodInvalid(startDate, endDate);\n\n if (isInvalid) {\n return;\n }\n\n try {\n const orgTotalMessagesByChannelEndpoint = `/company/messages/by-channel?company=${orgId}&token=${token}&start_date=${startDate}&end_date=${endDate}&timezone=${timezone}`;\n const { data } = yield call(\n apiReports.get,\n orgTotalMessagesByChannelEndpoint\n );\n yield put({\n type: ReportsTypes.GET_ORG_MESSAGES_BY_CHANNEL_GRAPHIC_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get users bots average in this company (org)\n * @param {*} action\n */\nexport function* getCompanyUsersBotsAverage(action) {\n const { orgId, token } = action.payload;\n\n try {\n const orgUsersBotsAverageEndpoint = `/company/users/bots/avg?company=${orgId}&token=${token}`;\n const { data } = yield call(apiReports.get, orgUsersBotsAverageEndpoint);\n yield put({\n type: ReportsTypes.GET_ORG_USERS_BOTS_AVERAGE_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get users bots total in this company (org)\n * @param {*} action\n */\nexport function* getCompanyUsersBots(action) {\n const { orgId, token } = action.payload;\n\n try {\n const orgUsersBotsTotalEndpoint = `/company/users/bots?company=${orgId}&token=${token}`;\n const { data } = yield call(apiReports.get, orgUsersBotsTotalEndpoint);\n yield put({\n type: ReportsTypes.GET_ORG_USERS_BOTS_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Create dashboard report for the current user and report type\n * @param {*} action\n */\nexport function* createDashboardReport(action) {\n const { dashboardToken } = action.payload;\n\n try {\n const createDashboardReportEndpoint = `?token=${dashboardToken}`;\n const { data } = yield call(\n apiReports.post,\n createDashboardReportEndpoint,\n { ...action.payload }\n );\n\n toastr.success('Sucesso', 'Dashboard salva com sucesso.');\n yield put({\n type: ReportsTypes.CREATE_DASHBOARD_REPORT_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Update dashboard report for the current user and report type\n * @param {*} action\n */\nexport function* updateDashboardReport(action) {\n const { dashboardToken, _id } = action.payload;\n\n try {\n const updateDashboardReportEndpoint = `/${_id}?token=${dashboardToken}`;\n const { data } = yield call(apiReports.put, updateDashboardReportEndpoint, {\n ...action.payload,\n });\n\n toastr.success('Sucesso', 'Dashboard salva com sucesso.');\n yield put({\n type: ReportsTypes.UPDATE_DASHBOARD_REPORT_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get dashboard report for the current user and report type\n * @param {*} action\n */\nexport function* getDashboardReport(action) {\n const { userId, type, token } = action.payload;\n\n try {\n const getDashboardReportEndpoint = `?user_id=${userId}&type=${type}&token=${token}`;\n const { data } = yield call(apiReports.get, getDashboardReportEndpoint);\n yield put({\n type: ReportsTypes.GET_DASHBOARD_REPORT_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\nexport function* getCompanyMessagesPerBot(action) {\n const { company, token, start_date, end_date } = action.payload;\n\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const companyMessagePerBotParams = `?token=${token}&company=${company}&start_date=${start_date}&end_date=${end_date}`;\n\n const { data } = yield call(\n apiReports.get,\n `/company/messages/bots/count${companyMessagePerBotParams}`\n );\n yield put({\n type: ReportsTypes.GET_COMPANY_MESSAGES_PER_BOT_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\n/**\n * Get bot sessions with tags on the period asked\n *\n * @param {object} action object with the data for this action\n */\nexport function* getBotSessionTags(action) {\n const {\n botId,\n token,\n startDate,\n endDate,\n nameTags,\n channels,\n variables,\n timezone,\n } = action.payload;\n\n try {\n const url = `/tags${addEndpointParameters(\n startDate,\n endDate,\n botId,\n token,\n nameTags,\n channels,\n variables,\n timezone\n )}`;\n\n const { data } = yield call(apiReports.get, url);\n\n yield put({\n type: ReportsTypes.GET_BOT_SESSION_TAGS_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\n/**\n * Get the total of bot reports created and their respective status\n * @param {*} action\n */\nexport function* getBotCustomReports(action) {\n const { botId, token } = action.payload;\n\n try {\n const botCustomReportEndpoint = `/v1/report/check?bot=${botId}&token=${token}`;\n\n const { data } = yield call(api.get, botCustomReportEndpoint);\n\n yield put({\n type: ReportsTypes.GET_BOT_CUSTOM_REPORTS_SUCCESS,\n payload: data,\n });\n } catch (error) {\n onRequestError(error);\n }\n}\n\nexport function* createBotCustomReport(action) {\n const { token, type, ...sentData } = action.payload;\n\n try {\n const url = `/v1/report/${type}/generate?token=${token}`;\n\n const { data } = yield call(api.post, url, sentData);\n\n if (data?.message === 'Report intent created successfully') {\n toastr.success('Sucesso', 'Relatório customizado criado');\n yield put({\n type: ReportsTypes.GET_BOT_CUSTOM_REPORTS,\n payload: { botId: sentData.bot, token },\n });\n\n getBotCustomReports({ botId: sentData.bot, token });\n }\n } catch (error) {\n onRequestError(error);\n }\n}\n\nexport function* getErrorLogs(action) {\n try {\n const params = queryString.stringify(action.payload, {\n skipNull: true,\n arrayFormat: 'comma',\n });\n\n const { data } = yield call(api.get, `/v1/bots/item-log?${params}`);\n\n yield put({\n type: ReportsTypes.GET_ERROR_LOGS_SUCCESS,\n payload: data,\n });\n toastr.success('Sucesso', 'Operação realizada com sucesso');\n } catch (error) {\n onRequestError(error);\n }\n}\n","import { call, put } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\n\nimport api from '../../services/api';\nimport { TemplateBotTypes } from '../actions/template-bot';\n\n/**\n * Create new template bot linked with the current bot viewed\n *\n * @param {*} action\n */\nexport function* createTemplateBot(action) {\n const { payload } = action;\n\n try {\n const url = `/v1/template-bot`;\n const formData = new FormData();\n Object.keys(payload).forEach((key) => {\n formData.append(key, payload[key]);\n });\n const { data } = yield call(api.post, url, formData);\n\n yield put({\n type: TemplateBotTypes.CREATE_TEMPLATE_BOT_SUCCESS,\n payload: { ...data },\n });\n toastr.success('Sucesso', 'Template do bot criado!');\n } catch (error) {\n toastr.error('Ops', 'Falha ao criar um template apartir do bot!');\n }\n}\n\n/**\n * Update the information for the template bot from current bot viewed\n *\n * @param {*} action\n */\nexport function* updateTemplateBotDetails(action) {\n const { payload } = action;\n\n try {\n const url = `/v1/template-bot/${payload._id}`;\n const formData = new FormData();\n Object.keys(payload).forEach((key) => {\n formData.append(key, payload[key]);\n });\n const { data } = yield call(api.put, url, formData);\n\n yield put({\n type: TemplateBotTypes.UPDATE_TEMPLATE_BOT_DETAILS_SUCCESS,\n payload: { ...data },\n });\n toastr.success('Sucesso', 'Template do bot atualizado!');\n } catch (error) {\n toastr.error('Ops', 'Falha ao atualizar um template apartir do bot!');\n }\n}\n\n/**\n * Update the template bot flow with the current bot viewed\n *\n * @param {*} action\n */\nexport function* updateTemplateBot(action) {\n const { payload } = action;\n\n try {\n const url = `/v1/template-bot`;\n const formData = new FormData();\n Object.keys(payload).forEach((key) => {\n formData.append(key, payload[key]);\n });\n const { data } = yield call(api.put, url, formData);\n\n yield put({\n type: TemplateBotTypes.UPDATE_TEMPLATE_BOT_SUCCESS,\n payload: { ...data },\n });\n toastr.success('Sucesso', 'Template do bot atualizado!');\n } catch (error) {\n toastr.error('Ops', 'Falha ao atualizar um template apartir do bot!');\n }\n}\n\n/**\n * Empty template bot data\n *\n * @param {*} action\n */\nexport function* emptyTemplateBot(action) {\n yield put({\n type: TemplateBotTypes.EMPTY_TEMPLATE_BOT_SUCCESS,\n payload: {},\n });\n}\n\n/**\n * set template bot data\n *\n * @param {*} action\n */\nexport function* setTemplateBotData(action) {\n yield put({\n type: TemplateBotTypes.SET_TEMPLATE_BOT_DATA_SUCCESS,\n payload: action.payload,\n });\n}\n\n/**\n * Get template bot from current bot viewed\n *\n * @param {*} action\n */\nexport function* getTemplateBot(action) {\n const { payload } = action;\n\n try {\n const url = `/v1/template-bot/${payload.botId}`;\n const { data } = yield call(api.get, url);\n\n yield put({\n type: TemplateBotTypes.GET_TEMPLATE_BOT_SUCCESS,\n payload: { ...data },\n });\n } catch (error) {\n toastr.error('Ops', 'Falha ao buscar um template apartir do bot!');\n }\n}\n\n/**\n * Get all templates bot available and published for use\n *\n */\nexport function* getAllTemplatesBot() {\n try {\n const url = `/v1/template-bot/list/all`;\n const { data } = yield call(api.get, url);\n\n yield put({\n type: TemplateBotTypes.GET_ALL_TEMPLATE_BOTS_SUCCESS,\n payload: data,\n });\n } catch (error) {\n toastr.error('Ops', 'Não foi possível listar os templates de bot!');\n }\n}\n\n/**\n * Get template bot with the id passed\n *\n * @param {*} action\n */\nexport function* getTemplateBotById(action) {\n const { payload } = action;\n\n try {\n const url = `/v1/template-bot/template/${payload.id}`;\n const { data } = yield call(api.get, url);\n\n yield put({\n type: TemplateBotTypes.GET_TEMPLATE_BOT_BY_ID_SUCCESS,\n payload: { ...data },\n });\n } catch (error) {\n toastr.error('Ops', 'Falha ao buscar um template pelo id!');\n }\n}\n\n/**\n * Delete template bot with the id passed\n *\n * @param {*} action\n */\nexport function* deleteTemplateBot(action) {\n const { payload } = action;\n const { deletedTemplatesIds } = payload;\n const url = `/v1/template-bot/`;\n const body = { deletedTemplatesIds };\n try {\n if (deletedTemplatesIds.length > 0) {\n const { data } = yield call(api.delete, url, { data: { ...body } });\n\n yield put({\n type: TemplateBotTypes.DELETE_TEMPLATE_BOT_SUCCESS,\n payload: { ...data },\n });\n toastr.success('Sucesso', 'Templates deletados!');\n }\n } catch (error) {\n toastr.error('Ops', 'Falha ao deletar o template!');\n }\n}\n","import { put } from 'redux-saga/effects';\n\nimport { facebookMessengerTypes } from '../actions/facebook-messenger';\n\n/**\n * Set the new facebook auth state\n * @param {Object} action\n */\nexport function* setFacebookAuthState(action) {\n yield put({\n type: facebookMessengerTypes.SET_FB_AUTH_STATE_SUCCESS,\n payload: { ...action.payload },\n });\n}\n\n/**\n * Set the new facebook selected page state\n * @param {Object} action\n */\nexport function* setFacebookSelectedPage(action) {\n yield put({\n type: facebookMessengerTypes.SET_FB_SELECTED_PAGE_SUCCESS,\n payload: { ...action.payload },\n });\n}\n","import { put } from 'redux-saga/effects';\nimport { push } from 'connected-react-router';\nimport _ from 'lodash';\n\n// import { commonActions } from '../actions/common';\nimport { newBotTypes } from '../actions/new-bot';\n\n/**\n * Set the new current template bot that will be tested on preview\n * @param {Object} action\n */\nexport function* setCurrentTemplateBotTesting(action) {\n yield put({\n type: newBotTypes.SET_NEW_BOT_CURRENT_TEMPLATE_BOT_TESTING_SUCCESS,\n payload: { ...action.payload },\n });\n}\n\n/**\n * Set the new current template bot selected for create a bot from\n * @param {Object} action\n */\nexport function* setCurrentTemplateBotSelected(action) {\n try {\n yield put({\n type: newBotTypes.SET_NEW_BOT_TEMPLATE_BOT_SELECTED_SUCCESS,\n payload: { ...action.payload },\n });\n } finally {\n if (!_.isEmpty(action.payload)) {\n const url = `/novo-bot/criacao/${action.payload._id}`;\n yield put(push(url));\n }\n }\n\n // try {\n // yield put({ type: commonActions.LOADING, payload: { loading: true } });\n // } finally {\n // yield put({ type: commonActions.LOADING, payload: { loading: false } });\n // }\n}\n\nexport function* pushToCreateBot() {\n yield put(push('/novo-bot/criacao'));\n}\n","import { call, put } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\n\nimport api from '../../services/api.reports';\nimport { IaReportAction } from '../actions/iaReports';\n\nconst loadError = () => {\n toastr.error('Erro', 'Erro ao carregar os relatorios');\n};\n\nconst addEndpointParameters = ({\n startDate,\n endDate,\n botId,\n tags,\n channels,\n variables,\n timezone\n}) => {\n let endpoint = `${botId}?start_date=${startDate}&end_date=${endDate}`;\n\n if (tags.length !== 0) {\n endpoint += `&tags=${encodeURIComponent(JSON.stringify(tags))}`;\n }\n\n if (channels.length !== 0) {\n endpoint += `&channels=${encodeURIComponent(JSON.stringify(channels))}`;\n }\n\n if (variables.length !== 0) {\n endpoint += `&variables=${encodeURIComponent(JSON.stringify(variables))}`;\n }\n\n if (timezone.length !== 0) {\n endpoint += `&timezone=${encodeURIComponent(JSON.stringify(timezone))}`;\n }\n\n return endpoint;\n};\n\nexport function* getNotUnderstoodIntentions(action) {\n try {\n const { payload } = action;\n const { getNotUnderstoodIntentionsSuccess } = IaReportAction;\n const url = `ia/not-understood/${addEndpointParameters(payload)}`;\n const response = yield call(api.get, url);\n\n yield put(getNotUnderstoodIntentionsSuccess(response.data));\n } catch (error) {\n loadError();\n }\n}\n\nexport function* getUseOfIntentions(action) {\n try {\n const { payload } = action;\n const { getUseOfIntentionsSuccess } = IaReportAction;\n const url = `/ia/total-usage/${addEndpointParameters(payload)}`;\n const response = yield call(api.get, url);\n\n yield put(getUseOfIntentionsSuccess(response.data));\n } catch (error) {\n loadError();\n }\n}\n\nexport function* getPerformanceOfIntentions(action) {\n try {\n const { payload } = action;\n const { getPerformanceOfIntentionsSuccess } = IaReportAction;\n const url = `/ia/intention-performance/${addEndpointParameters(payload)}`;\n const response = yield call(api.get, url);\n\n yield put(getPerformanceOfIntentionsSuccess(response.data));\n } catch (error) {\n loadError();\n }\n}\n","export const delay = (ms) => new Promise(resolve => setTimeout(resolve, ms));\n","import {call, put, select} from 'redux-saga/effects'\n\nimport api from '../../services/api'\nimport actions from '../actions'\nimport {delay} from '../../util/delay'\nimport {isFinished, captureAnswer, lastState, currentState, findNextState} from '../ducks/preview-bot'\nimport {getListItems, getVariables} from '../ducks/items'\nimport {toastr} from 'react-redux-toastr'\n\nconst {PreviewBotTypes} = actions\n\nexport function* saveMessage(action) {\n const item = yield select(lastState)\n\n try {\n const payload = {\n botMessage: {\n ...action.payload.message,\n item: item.itemId,\n bot: item.botId\n },\n }\n yield call(api.post, '/v1/bots/messages', payload)\n } catch (error) {\n console.log('saveMessage error', error)\n }\n yield call(prepareNextMessage, true)\n}\n\nexport function* saveFileMessage(action) {\n const item = yield select(currentState)\n console.log('saveFileMessage >>>>> ', item)\n\n try {\n const formData = new FormData()\n formData.append('file', action.payload.file)\n formData.append('from', action.payload.from)\n formData.append('when', action.payload.message.when)\n formData.append('body', action.payload.message.body)\n\n const {data} = yield call(\n api.put,\n `/v1/bots/${item.botId}/messages/${item._id}/upload`,\n formData,\n {\n headers: {\n 'Content-Type': 'multipart/form-data',\n },\n onUploadProgress: yield progressEvent => {\n const percentage = Math.round((progressEvent.loaded * 100) / progressEvent.total);\n\n put({\n type: PreviewBotTypes.previewSendUserMessageFileProgress,\n payload: {item: item, progress: percentage}\n });\n }\n }\n );\n\n if (data.error) {\n toastr.error('Ops', 'Algo de errado aconteceu ao realizar o upload para o servidor.');\n } else {\n console.log('', 'Arquivo do usuário enviado com sucesso!');\n yield call(prepareNextMessage, true)\n }\n } catch (error) {\n toastr.error('Ops', 'Algo de errado aconteceu ao editar o arquivo do item.');\n }\n\n}\n\nexport function* startBot() {\n yield put({type: PreviewBotTypes.previewResetMessages})\n}\n\nexport function* resetBot() {\n const states = yield select(getListItems)\n const variables = yield select(getVariables)\n\n yield put({type: PreviewBotTypes.previewSetStateMachine, payload: {states, variables}})\n yield call(prepareNextMessage)\n}\n\nexport function* nextState() {\n yield call(prepareNextMessage)\n}\n\nfunction* prepareNextMessage(force) {\n const waitAnswer = yield select(captureAnswer)\n const endState = yield select(isFinished)\n const next = yield select(findNextState)\n // console.log(`waitAnswer: ${waitAnswer}, endState: ${endState}, hasNext: ${next !== null && next !== undefined}`)\n // console.log('prepareNextMessage: ', next)\n if (!(waitAnswer || endState) || force) {\n if (next) {\n yield delay(500)\n yield put({type: PreviewBotTypes.previewSendBotTypping})\n const typing = Math.max(100, next && next.timeTypping ? next.timeTypping * 1000 : 1000)\n // console.log('typing', typing)\n yield delay(typing)\n yield put({type: PreviewBotTypes.previewSendBotTyppingStop})\n yield delay(100)\n }\n yield put({type: PreviewBotTypes.previewSendBotMessage})\n }\n}\n\nexport function* sendBotMessage() {\n yield put({type: PreviewBotTypes.previewSendBotMessage})\n}\n\n\nexport function* closeBot() {\n yield put({type: PreviewBotTypes.previewResetMessages})\n}\n\n// Isso não faz sentido. Só funcionaria para um fluxo linear.\n// const orderStates = (states) => {\n// const filteredStates = states.filter(state => { return !state.orphan } );\n// const firstState = filteredStates.filter(state => typeof state.ancestorItem === \"undefined\")[0];\n// const orderedStates = [];\n//\n// let currentState = firstState;\n//\n// if (currentState) {\n// do {\n// orderedStates.push(currentState);\n// const firstChildrenId = currentState.children ? currentState.children[0] : null;\n//\n// currentState = filteredStates.filter(state => state._id === firstChildrenId)[0];\n// } while(currentState);\n// }\n//\n// console.log('orderStates', orderedStates)\n//\n// return orderedStates;\n// };\n","import { call, put } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\n\nimport store from '..';\n\nimport Axios, { API_TOKEN } from '../../services/api';\nimport actions from '../actions';\nimport api from '../../services/api';\n\nexport function* logout() {\n localStorage.removeItem(API_TOKEN);\n localStorage.removeItem('isSelectOrg');\n\n store.dispatch(actions.CompanyActions.resetCompanies());\n yield put({ type: actions.logout });\n}\n\nexport function* login({ payload }) {\n yield put({ type: actions.authActions.AUTH_SET_TOKEN, payload });\n}\n\nexport function* notice({ payload }) {\n yield call(api.put, `/v1/users/${payload?.user?.signedUser?._id}`, {\n ...payload?.user?.signedUser,\n lastNotice: payload.notice,\n });\n}\n\nexport function setToken({ payload }) {\n const { token } = payload;\n localStorage.setItem(API_TOKEN, token);\n Axios.defaults.headers.common.authorization = `Bearer ${token}`;\n}\n\n// autenticação de dois fatores\n\nexport function* tfaSetup() {\n try {\n const { data } = yield call(api.post, 'v1/auth/tfa/setup');\n yield put({ type: actions.authActions.TFA_SETUP_SUCCESS, payload: data });\n } catch (e) {\n yield put({\n type: actions.authActions.TFA_SETUP_SUCCESS,\n payload: {\n error: e.message,\n },\n });\n }\n}\n\nexport function* tfaActive({ payload }) {\n try {\n const { token } = payload;\n\n const { data } = yield call(api.post, 'v1/auth/tfa/active', {\n token,\n });\n yield put({\n type: actions.authActions.TFA_ACTIVE_SUCCESS,\n payload: { ...data, error: '' },\n });\n store.dispatch(actions.UserActions.me());\n toastr.success('Sucesso', 'Autenticação de dois fatores ligada.');\n } catch (e) {\n yield put({\n type: actions.authActions.TFA_ACTIVE_SUCCESS,\n payload: {\n error: e.message,\n },\n });\n }\n}\n\nexport function* tfaDisable() {\n try {\n const { data } = yield call(api.post, 'v1/auth/tfa/disable');\n yield put({ type: actions.authActions.TFA_DISABLE_SUCCESS, payload: data });\n\n store.dispatch(actions.UserActions.me());\n toastr.success('Sucesso', 'Autenticação de dois fatores desligada.');\n } catch (e) {\n toastr.error('Erro', 'Ocorreu um erro ao desativar.');\n\n yield put({\n type: actions.authActions.TFA_DISABLE_SUCCESS,\n payload: { error: e.message },\n });\n }\n}\n\nexport function* tfaVerify({ payload }) {\n yield put({\n type: actions.authActions.TFA_VERIFY_SUCCESS,\n payload,\n });\n}\n\nexport function* resendEmailConfirmation({ payload }) {\n try {\n const { email } = payload;\n const { data } = yield call(\n api.get,\n `v1/auth/resend-email-confirmation?email=${email}`\n );\n\n yield put({\n type: actions.AUTH_RESEND_EMAIL_CONFIRMATION_SUCCESS,\n payload: data,\n });\n\n toastr.success('Sucesso', 'Email de confirmação reenviado com sucesso.');\n } catch (error) {\n toastr.error('Erro', 'Ocorreu ao reenviar o email de confirmação.');\n }\n}\n","import queryString from 'query-string';\nimport { call, put, select } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\n\nimport history from '../../routes/history';\nimport { commonActions } from '../actions/common';\nimport api from '../../services/api';\nimport { CompanyTypes } from '../actions/companies';\nimport { UserActions } from '../actions/users';\n\nexport function* getCompany(action) {\n try {\n const { payload } = action;\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { data } = yield call(api.get, `v1/companies/${payload.companyId}`);\n\n yield put({\n type: CompanyTypes.GET_COMPANY_REQUEST_SUCCESS,\n payload: data,\n });\n } catch (e) {\n console.error(e);\n toastr.error('Erro', 'Ocorreu um erro ao buscar a empresa');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* changePlan(action) {\n try {\n const { payload } = action;\n\n const { data } = yield call(api.post, `v1/companies/updatePlan`, payload);\n yield put({\n type: CompanyTypes.SET_PLAN_COMPANY_SUCCESS,\n payload: data,\n });\n toastr.success('Sucesso!', 'Plano modificado');\n } catch (e) {\n console.error(e);\n if (e?.response?.data) {\n toastr.error('Erro', e.response.data.message);\n } else {\n toastr.error('Erro', 'Ocorreu um erro ao trocar de plano');\n }\n }\n}\n\nexport function* createAdditionalMessage(action) {\n const { payload } = action;\n try {\n const { data } = yield call(\n api.post,\n `v1/companies/addAdditionalMessage`,\n payload\n );\n\n yield put({\n type: CompanyTypes.SET_PLAN_COMPANY_SUCCESS,\n payload: data,\n });\n\n toastr.success('Sucesso', 'Mensagem adicional salva com sucesso');\n } catch (e) {\n console.error(e);\n toastr.error('Erro', 'Ocorreu um erro ao atualizar o alerta');\n }\n}\n\nexport function* createNewPlan(action) {\n const { payload } = action;\n try {\n const { data } = yield call(\n api.post,\n `v1/companies/createNewPlan`,\n payload\n );\n\n yield put({\n type: CompanyTypes.SET_PLAN_COMPANY_SUCCESS,\n payload: data,\n });\n toastr.success('Sucesso!', 'Plano modificado');\n } catch (e) {\n console.error(e);\n toastr.error('Erro', 'Ocorreu um erro ao atualizar o alerta');\n }\n}\n\nexport function* updatePlan(action) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { payload } = action;\n\n const { data } = yield call(api.post, `v1/companies/updatePlan`, payload);\n\n yield put({\n type: CompanyTypes.GET_COMPANY_REQUEST_SUCCESS,\n payload: data,\n });\n } catch (e) {\n console.error(e);\n if (e?.response?.data) {\n toastr.error('Erro', e.response.data.message);\n } else {\n toastr.error('Erro', 'Ocorreu um erro ao modificar o plano');\n }\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* getCompanies(action) {\n try {\n const params =\n action && action.payload && action.payload.searchTerm\n ? `?term=${action.payload.searchTerm}`\n : '';\n const { data } = yield call(api.get, `v1/companies${params}`);\n yield put({\n type: CompanyTypes.GET_COMPANIES_REQUEST_SUCCESS,\n payload: data,\n });\n } catch (e) {\n console.log('getCompanies erro: ', e);\n toastr.error('Erro', 'Ocorreu um erro obtendo as empresas.');\n }\n}\n\nexport function* createCompany(action) {\n try {\n const { data } = yield call(api.post, `v1/companies`, action.payload);\n yield put({\n type: CompanyTypes.CREATE_COMPANY_REQUEST_SUCCESS,\n payload: data,\n });\n yield put({ type: CompanyTypes.GET_COMPANIES_REQUEST });\n } catch (e) {\n console.log('createCompany erro: ', e);\n toastr.error('Erro', 'Ocorreu um erro criando uma empresa.');\n }\n}\n\nexport function* updateCompany(action) {\n try {\n const { data } = yield call(\n api.put,\n `v1/companies/${action.payload._id}`,\n action.payload\n );\n yield put({\n type: CompanyTypes.UPDATE_COMPANY_REQUEST_SUCCESS,\n payload: data,\n });\n yield put({ type: CompanyTypes.GET_COMPANIES_REQUEST });\n toastr.success('Sucesso', 'Dados atualizados!');\n } catch (e) {\n console.log('updateCompany erro: ', e);\n toastr.error('Erro', 'Ocorreu um erro atualizando uma empresa.');\n }\n}\n\nexport function* updateSelectedCompany(action) {\n try {\n const { data } = yield call(\n api.put,\n `v1/companies/${action.payload._id}`,\n action.payload\n );\n\n const signedUser = yield select((state) => state.users.signedUser);\n const newSignedUserState = { ...signedUser, selectedCompany: data };\n\n yield put({\n type: CompanyTypes.UPDATE_SELECTED_COMPANY_SUCCESS,\n payload: data,\n });\n\n yield put(UserActions.updateSignedUserState(newSignedUserState));\n\n toastr.success('Sucesso', 'Dados atualizados!');\n } catch (e) {\n console.log('updateSelectedCompany erro: ', e);\n toastr.error('Erro', 'Ocorreu um erro atualizando uma empresa.');\n }\n}\n\nexport function* getOrganizations(action) {\n try {\n const params = queryString.stringify(action.payload, {\n skipNull: true,\n });\n\n const url = `v1/companies/organization?${params}`;\n\n const { data } = yield call(api.get, url);\n\n yield put({ type: CompanyTypes.GET_ORGANIZATIONS_SUCCESS, payload: data });\n } catch (e) {\n console.log('getOrganizations erro: ', e);\n toastr.error('Erro', 'Ocorreu um erro obtendo as organizações.');\n }\n}\n\nexport function* createOrganization(action) {\n try {\n yield call(api.post, `v1/companies/organization`, action.payload);\n yield put({ type: CompanyTypes.GET_ORGANIZATIONS });\n } catch (e) {\n console.log('createOrganization erro: ', e);\n toastr.error('Erro', 'Ocorreu um erro criando organização.');\n }\n}\n\nexport function* removeOrganization(action) {\n try {\n yield call(api.delete, `/v1/organizations/delete/${action.payload}`);\n yield put({ type: CompanyTypes.GET_ORGANIZATIONS });\n toastr.success('Sucesso', 'Organização excluida com sucesso.');\n } catch (e) {\n console.log('createOrganization erro: ', e);\n toastr.error('Erro', 'Você não pode excluir uma empresa com bots ativos.');\n }\n}\n\nexport function* getHistoryActions(action) {\n const { companyId, ...parameters } = action.payload;\n\n try {\n const queryUrl = Object.keys(parameters)\n .map(\n (key) =>\n `${encodeURIComponent(key)}=${encodeURIComponent(parameters[key])}`\n )\n .join('&');\n\n const { data } = yield call(\n api.get,\n `/v1/companies/historyActions/${companyId}${\n !queryUrl ? '' : `?${queryUrl}`\n }`\n );\n\n yield put({\n type: CompanyTypes.GET_HISTORY_ACTIONS_SUCCESS,\n payload: data,\n });\n toastr.success('Sucesso', 'Operação realizada com sucesso');\n } catch (e) {\n console.log(e);\n toastr.error('Erro', 'Não foi possível recuperar dados da auditoria');\n }\n}\n\nexport function* updateOrganization({ payload }) {\n const {\n companyId,\n organizationId,\n updateData,\n successMessage,\n errorMessage,\n } = payload;\n\n try {\n const { data } = yield call(\n api.put,\n `v1/companies/organization/${organizationId}`,\n updateData\n );\n\n yield put({\n type: CompanyTypes.GET_ORGANIZATIONS,\n payload: { companyId },\n });\n toastr.success('Sucesso', successMessage || '');\n history.push('/home');\n } catch (error) {\n console.log(error);\n toastr.error('Erro', errorMessage || '');\n }\n}\n","import { call, put } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\n\nimport { UserTypes } from '../actions/users';\nimport { commonActions } from '../actions/common';\nimport history from '../../routes/history';\nimport api, { API_TOKEN } from '../../services/api';\n\nexport function* me() {\n try {\n const { data } = yield call(api.get, `v1/users/me`);\n\n yield put({ type: UserTypes.GET_ME_SUCCESS, payload: { user: data } });\n } catch (e) {\n console.log('me erro: ', e);\n toastr.error('Erro', 'Ocorreu um erro obtendo os dados do usuário.');\n }\n}\n\nexport function* getUsers(action) {\n try {\n const params =\n action && action.payload && action.payload.searchTerm\n ? `?term=${action.payload.searchTerm}`\n : '';\n\n const { data } = yield call(api.get, `v1/users${params}`);\n\n yield put({ type: UserTypes.GET_USERS_SUCCESS, payload: data });\n } catch (e) {\n console.log('getUsers erro: ', e);\n toastr.error('Erro', 'Ocorreu um erro obtendo os usuários.');\n }\n}\n\nexport function* createUser(action) {\n try {\n const { data } = yield call(api.post, `/v1/admins/create`, action.payload);\n yield put({ type: UserTypes.CREATE_USER_SUCCESS, payload: data });\n yield put({ type: UserTypes.GET_USERS });\n\n toastr.success('Sucesso', 'Usuário criado com sucesso');\n } catch (e) {\n console.log('createUser erro: ', e);\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* updateUser(action) {\n const { payload } = action;\n try {\n const { data } = yield call(api.put, `v1/users/update/${payload._id}`, {\n ...payload,\n });\n toastr.success('Sucesso', 'Usuário atualizado com sucesso.');\n yield put({ type: UserTypes.UPDATE_USER_SUCCESS, payload: data });\n } catch (e) {\n console.log('createCompany erro: ', e);\n toastr.error('Erro', 'Ocorreu um erro atualizando usuário.');\n } finally {\n history.push('/home');\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* selectOrganization(action) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n const { data } = yield call(\n api.put,\n `v1/users/select-organization`,\n action.payload\n );\n\n const { _id } = data;\n\n const response = yield call(api.post, `v1/users/token/refresh/${_id}`);\n\n const { token } = response.data;\n\n localStorage.setItem(API_TOKEN, token);\n api.defaults.headers.common.authorization = `Bearer ${token}`;\n\n yield put({\n type: UserTypes.SELECT_ORGANIZATION_SUCCESS,\n payload: { user: data },\n });\n\n // toastr.success('Sucesso', 'Troca de setores efetuada');\n } catch (e) {\n console.log('selectOrganization erro: ', e);\n toastr.error('Erro', 'Ocorreu um erro selecionando organização.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* selectCompanyOrganization(action) {\n try {\n const { selectedCompany, selectedOrganization } = action.payload;\n\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n\n const { data } = yield call(\n api.put,\n `v1/users/select-company-organization`,\n action.payload\n );\n\n if (selectedCompany && selectedOrganization) {\n const { _id } = data;\n\n const response = yield call(api.post, `v1/users/token/refresh/${_id}`);\n\n const { token } = response.data;\n\n localStorage.setItem(API_TOKEN, token);\n api.defaults.headers.common.authorization = `Bearer ${token}`;\n }\n\n yield put({\n type: UserTypes.SELECT_COMPANY_ORGANIZATION_SUCCESS,\n payload: { user: data },\n });\n } catch (e) {\n toastr.error('Erro', 'Ocorreu um erro selecionando a empresa.');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n","/* eslint-disable import/no-cycle */\nimport { call, put } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\n\nimport store from '..';\nimport api from '../../services/api';\nimport { UserTypes, UserActions } from '../actions/users';\nimport { PermissionTypes } from '../actions/permissions';\n\nexport function* getPermissions() {\n try {\n const { data } = yield call(api.get, `/v1/profiles/list`);\n\n const filtro = data.filter((element) => element.name !== 'Root');\n\n yield put({\n type: PermissionTypes.GET_PERMISSIONS_SUCCESS,\n payload: filtro,\n });\n } catch (e) {\n console.log('getUsers erro: ', e);\n toastr.error('Erro', 'Ocorreu um erro obtendo as permissões.');\n }\n}\n\nexport function* updatePermission(action) {\n const { payload } = action;\n try {\n const { _id, claim, organizationIds, codeUser, companyId } = payload;\n\n yield call(api.put, `/v1/admins/update/${_id}`, {\n _id,\n claim,\n organizations: organizationIds,\n codeUser,\n companyId,\n });\n\n yield put({ type: PermissionTypes.UPDATE_PERMISSION_SUCCESS });\n store.dispatch(UserActions.getUsers());\n\n toastr.success('Sucesso', 'Usuário atualizado com sucesso.');\n } catch (e) {\n console.log('updatePermission erro: ', e);\n toastr.error('Erro', 'Ocorreu um erro atualizando usuário.');\n }\n}\n","import { call, put } from 'redux-saga/effects';\nimport store from '..';\n\nimport { BotsTypes, BotsCreators } from '../actions/bots';\nimport { DebounceTypes } from '../actions/debounce';\n\nimport api from '../../services/api';\n\nconst executeFunction = {\n ADD_ITEM: addItem,\n UPDATE_ITEM: updateItem,\n REMOVE_ITEM: removeItem,\n CLONE_ITEM: cloneItem,\n ADD_CONNECTOR: addConnector,\n REMOVE_CONNECTOR: removeConnector,\n};\n\nexport function* executeDebounce(action) {\n const { payload } = action;\n\n for (let i = 0; i < payload.length; ++i) {\n const command = payload[i];\n yield call(executeFunction[command.type], command);\n yield put({\n type: DebounceTypes.DELETE_ITEM_DEBOUNCE,\n payload: payload[i],\n });\n // Atualiza a data em que o bot foi atualizado em seu criador\n if (i === payload.length - 1) {\n store.dispatch(BotsCreators.countStatusCreatorNoSave());\n\n yield updateBotDate(new Date(), command.payload.botId);\n yield put({ type: BotsTypes.BOT_UPDATE_DATE, payload: new Date() });\n }\n }\n}\n\nasync function updateBotDate(date, botId) {\n await api.put(`/v1/bots/update/${botId}`, { lastUpdate: date });\n}\n\nasync function addItem(args) {\n const { payload } = args;\n await api.post(`/v1/bots/${payload.botId}/items`, payload);\n}\n\nasync function updateItem(args) {\n const { payload } = args;\n await api.put(`/v1/bots/${payload.botId}/items/${payload._id}`, payload);\n}\n\nasync function removeItem(args) {\n const { payload } = args;\n await api.delete(`/v1/bots/${payload.botId}/items/${payload._id}`);\n}\n\nasync function cloneItem(args) {\n const { payload } = args;\n await api.post(`/v1/bots/${payload.botId}/items`, payload);\n}\n\nasync function addConnector(args) {\n const { payload } = args;\n await api.post(`/v1/bots/${payload.botId}/connectors`, payload);\n}\n\nasync function removeConnector(args) {\n const { payload } = args;\n await api.delete(`/v1/bots/${payload.botId}/connectors/${payload.id}`);\n}\n","import { call, put, select } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\n\nimport { VariableTypes } from '../actions/variables';\nimport api from '../../services/api';\n\nexport function* list({ payload }) {\n try {\n const { botId } = payload;\n\n const response = yield call(api.get, `/v1/bots/variable/${botId}`);\n\n yield put({\n type: VariableTypes.LIST_SUCCESS,\n payload: response.data,\n });\n } catch (err) {\n toastr.error('Erro', 'Ocorreu um erro ao listar as variáveis.');\n }\n}\n\nexport function* create({ payload }) {\n try {\n const { setModalOpened, ...data } = payload;\n\n const response = yield call(api.post, '/v1/bots/variable', data);\n\n const { variables } = yield select(\n (state) => state.variables.variablesState\n );\n\n const newVariables = {\n bot: [...variables.bot, response.data],\n global: variables.global,\n };\n\n yield put({\n type: VariableTypes.CREATE_SUCCESS,\n payload: newVariables,\n });\n\n if (setModalOpened) {\n setModalOpened('');\n }\n toastr.success('Sucesso', 'A variável foi armazenada');\n } catch (err) {\n toastr.error(\n 'Erro',\n (err.response && err.response.data.message) ||\n 'Ocorreu um erro ao criar a variável.'\n );\n }\n}\n\nexport function* edit({ payload }) {\n try {\n const { setModalOpened, _id, ...data } = payload;\n\n const response = yield call(api.put, `/v1/bots/variable/${_id}`, data);\n\n const { variables } = yield select(\n (state) => state.variables.variablesState\n );\n\n const findVariableIndex = variables.bot.findIndex(\n (variable) => variable._id === _id\n );\n\n const updatedBotVariables = variables.bot;\n updatedBotVariables[findVariableIndex] = response.data;\n\n const updatedVariables = {\n bot: updatedBotVariables,\n global: variables.global,\n };\n\n yield put({\n type: VariableTypes.EDIT_SUCCESS,\n payload: updatedVariables,\n });\n\n setModalOpened('');\n } catch (err) {\n toastr.error(\n 'Erro',\n (err.response && err.response.data.message) ||\n 'Ocorreu um erro ao atualizar a variável.'\n );\n }\n}\n\nexport function* remove({ payload }) {\n try {\n const { id } = payload;\n\n yield call(api.delete, `/v1/bots/variable/${id}`);\n\n const { variables } = yield select(\n (state) => state.variables.variablesState\n );\n\n const botVariables = variables.bot.filter(\n (variable) => variable._id !== id\n );\n\n const updatedVariables = {\n bot: botVariables,\n global: variables.global,\n };\n\n yield put({\n type: VariableTypes.REMOVE_SUCCESS,\n payload: updatedVariables,\n });\n } catch (err) {\n toastr.error('Erro', 'Ocorreu um erro ao deletar a variável.');\n }\n}\n","import { call, put } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\nimport api from '../../services/api';\nimport { PlanTypes } from '../actions/plans';\n\nexport function* getPlans() {\n try {\n const { data } = yield call(api.get, `v1/plans`);\n\n yield put({\n type: PlanTypes.GET_PLANS_REQUEST_SUCCESS,\n payload: data,\n });\n } catch (e) {\n console.error(e);\n toastr.error('Erro', 'Ocorreu um erro ao buscar os planos');\n }\n}\n\nexport function* getHistoryCompanyPlan(action) {\n const { payload } = action;\n const { companyId } = payload;\n try {\n const { data } = yield call(api.get, `v1/plans/history/${companyId}`);\n yield put({\n type: PlanTypes.GET_HISTORY_COMPANY_PLAN_REQUEST_SUCCESS,\n payload: data,\n });\n } catch (e) {\n console.error(e);\n toastr.error('Erro', 'Ocorreu um erro ao buscar o histórico do plano');\n }\n}\n\nexport function* editAlert(action) {\n const { payload } = action;\n const { companyId, alertsA } = payload;\n try {\n const { data } = yield call(\n api.put,\n `/v1/companies/plans/alerts/${companyId}`,\n {\n alerts: alertsA,\n }\n );\n yield put({\n type: PlanTypes.PUT_ALERTS_SUCCESS,\n payload: data,\n });\n toastr.success('Sucesso', 'O alerta foi salvo com sucesso');\n } catch (e) {\n toastr.error('Erro', 'Ocorreu um erro ao atualizar o alerta');\n }\n}\n\nexport function* getPlanConsumption({ payload }) {\n try {\n const params = {\n company: payload.companyId,\n date: payload.date,\n timezone: payload.timezone,\n isFreemium: payload.isFreemium || false,\n isReport: payload.isReport || false,\n };\n\n const { data } = yield call(\n api.get,\n `/v1/companies/plans/consumption/bots`,\n { params }\n );\n yield put({\n type: PlanTypes.GET_PLAN_CONSUMPTION_SUCCESS,\n payload: data,\n });\n } catch (e) {\n toastr.error('Erro', 'Ocorreu um erro ao obter os dados de consumo!');\n }\n}\n","import { call, put, select } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\n\nimport { TagTypes } from '../actions/tags';\nimport api from '../../services/api';\n\nexport function* list({ payload }) {\n try {\n const { botId } = payload;\n\n const response = yield call(api.get, `/v1/bots/tag/${botId}`);\n\n yield put({\n type: TagTypes.LIST_SUCCESS,\n payload: response.data,\n });\n } catch (err) {\n toastr.error('Erro', 'Ocorreu um erro ao listar as tags.');\n }\n}\n\nexport function* create({ payload }) {\n try {\n const { setModalOpened, values } = payload;\n\n const response = yield call(api.post, '/v1/bots/tag', values);\n\n const { tags } = yield select((state) => state.tags.tagsState);\n\n const newTags = {\n bot: [...tags.bot, ...response.data],\n global: tags.global,\n };\n\n yield put({\n type: TagTypes.CREATE_SUCCESS,\n payload: newTags,\n });\n\n if (setModalOpened) {\n setModalOpened('');\n }\n } catch (err) {\n toastr.error(\n 'Erro',\n (err.response && err.response.data.message) ||\n 'Ocorreu um erro ao criar a tag.'\n );\n }\n}\n\nexport function* edit({ payload }) {\n try {\n const { setModalOpened, id, ...data } = payload;\n\n const response = yield call(api.put, `/v1/bots/tag/${id}`, data);\n\n const { tags } = yield select((state) => state.tags.tagsState);\n\n const findTagIndex = tags.bot.findIndex((tag) => tag._id === id);\n\n const updatedBotTags = tags.bot;\n updatedBotTags[findTagIndex] = response.data;\n\n const updatedTags = {\n bot: updatedBotTags,\n global: tags.global,\n };\n\n yield put({\n type: TagTypes.EDIT_SUCCESS,\n payload: updatedTags,\n });\n\n setModalOpened('');\n } catch (err) {\n toastr.error(\n 'Erro',\n (err.response && err.response.data.message) ||\n 'Ocorreu um erro ao atualizar a tag.'\n );\n }\n}\n\nexport function* remove({ payload }) {\n try {\n const { id } = payload;\n\n yield call(api.delete, `/v1/bots/tag/${id}`);\n\n const { tags } = yield select((state) => state.tags.tagsState);\n\n const botTags = tags.bot.filter((tag) => tag._id !== id);\n\n const updatedTags = {\n bot: botTags,\n global: tags.global,\n };\n\n yield put({\n type: TagTypes.REMOVE_SUCCESS,\n payload: updatedTags,\n });\n } catch (err) {\n toastr.error('Erro', 'Ocorreu um erro ao deletar a tag.');\n }\n}\n","import { call, put, select } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\nimport { parseISO, formatDistance } from 'date-fns';\nimport pt from 'date-fns/locale/pt';\n\nimport { NotificationTypes } from '../actions/notifications';\nimport api from '../../services/api';\n\nexport function* list({ payload }) {\n try {\n const { companyId, page } = payload;\n\n const { notifications: oldNotifications } = yield select(\n (state) => state.notifications.state\n );\n\n if (page <= oldNotifications.page) return;\n\n const response = yield call(\n api.get,\n `/v1/notifications/list/${companyId}?page=${page}`\n );\n\n const { notifications, totalCount, totalPages } = response.data;\n\n const formattedNotifications = notifications.map((notification) => {\n return {\n ...notification,\n timeDistance: formatDistance(\n parseISO(notification.dateCreation),\n new Date(),\n {\n addSuffix: true,\n locale: pt,\n }\n ),\n };\n });\n\n const allNotifications = {\n data: [...oldNotifications.data, ...formattedNotifications],\n page,\n totalCount,\n totalPages,\n };\n\n yield put({\n type: NotificationTypes.LIST_SUCCESS,\n payload: allNotifications,\n });\n } catch (err) {\n toastr.error('Erro', 'Ocorreu um erro ao listar as notificações.');\n }\n}\n\nexport function* updateStatus({ payload }) {\n try {\n const { id } = payload;\n\n yield call(api.put, `/v1/notifications/update/${id}`);\n\n const { notifications } = yield select(\n (state) => state.notifications.state\n );\n\n const updatedNotifications = notifications.data.map((notification) =>\n notification._id === id\n ? {\n ...notification,\n read: true,\n }\n : notification\n );\n\n yield put({\n type: NotificationTypes.UPDATE_STATUS_SUCCESS,\n payload: { ...notifications, data: updatedNotifications },\n });\n } catch (err) {\n toastr.error(\n 'Erro',\n (err.response && err.response.data.message) ||\n 'Ocorreu um erro ao atualizar a notificação.'\n );\n }\n}\n","import { call, put } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\n\nimport api from '../../services/api';\nimport {\n fetchProjectsSuccess,\n fetchGrammarsSuccess,\n fetchStatusSuccess,\n fetchVoicesSuccess,\n fetchVoicesFailiure,\n fetchVoicebotInstancesSuccess,\n fetchVoicebotInstancesFailiure,\n createVoicebotInstanceSuccess,\n updateVoicebotInstanceSuccess,\n fetchVoicebotVariablesSuccess,\n fetchVoicebotWebApiSuccess,\n} from '../actions/voice-bots';\n\nimport { commonLoadingStart, commonLoadingFinish } from '../actions/common';\n\nexport function* fetchProjects({ payload }) {\n try {\n yield put(commonLoadingStart());\n\n const { params } = payload;\n\n const { data } = yield call(api.get, `/v1/voice-bots/projects`, {\n params,\n timeout: 30000,\n });\n\n yield put(fetchProjectsSuccess({ projects: data }));\n } catch (e) {\n console.error(e);\n toastr.error('Erro', 'Ocorreu um erro ao buscar os projetos');\n } finally {\n yield put(commonLoadingFinish());\n }\n}\n\nexport function* fetchGrammars({ payload }) {\n try {\n const { params } = payload;\n\n const { data } = yield call(api.get, `/v1/voice-bots/grammars`, {\n params,\n timeout: 30000,\n });\n\n yield put(fetchGrammarsSuccess({ grammars: data }));\n } catch (e) {\n console.error(e);\n toastr.error('Erro', 'Ocorreu um erro ao buscar as gramáticas');\n }\n}\n\nexport function* fetchStatus({ payload }) {\n try {\n const { params } = payload;\n\n const { data } = yield call(api.get, `/v1/voice-bots/status`, {\n params,\n timeout: 30000,\n });\n\n yield put(fetchStatusSuccess({ status: data }));\n } catch (e) {\n console.error(e);\n toastr.error('Erro', 'Ocorreu um erro ao buscar os status');\n }\n}\n\nexport function* fetchVoices({ payload }) {\n try {\n yield put(commonLoadingStart());\n\n const { params } = payload;\n\n const { data } = yield call(api.get, `/v1/voice-bots/voices`, {\n params,\n timeout: 30000,\n });\n\n yield put(fetchVoicesSuccess({ voices: data }));\n } catch (e) {\n yield put(fetchVoicesFailiure());\n toastr.error('Erro', 'Ocorreu um erro ao buscar a lista de vozes');\n } finally {\n yield put(commonLoadingFinish());\n }\n}\n\nexport function* fetchVoicebotInstances({ payload }) {\n try {\n yield put(commonLoadingStart());\n\n const { organizationId } = payload;\n\n const { data } = yield call(api.get, `/v1/voice-bots/instance`, {\n params: { organizationId },\n timeout: 30000,\n });\n\n yield put(fetchVoicebotInstancesSuccess({ instances: data }));\n } catch (e) {\n yield put(fetchVoicebotInstancesFailiure());\n toastr.error('Erro', 'Ocorreu um erro ao buscar as instâncias');\n } finally {\n yield put(commonLoadingFinish());\n }\n}\n\nexport function* createVoicebotInstance({ payload }) {\n try {\n yield put(commonLoadingStart());\n\n const { instance, callback } = payload;\n\n const { data } = yield call(api.post, `/v1/voice-bots/instance`, instance);\n\n yield put(createVoicebotInstanceSuccess(data));\n\n if (callback) {\n callback();\n }\n } catch (err) {\n const errorMessage = err.response?.data?.message;\n toastr.error(\n 'Erro',\n errorMessage || 'Ocorreu um erro ao criar a instância'\n );\n } finally {\n yield put(commonLoadingFinish());\n }\n}\n\nexport function* updateVoicebotInstance({ payload }) {\n try {\n yield put(commonLoadingStart());\n\n const { instance, callback } = payload;\n\n const { data } = yield call(\n api.put,\n `/v1/voice-bots/instance/${instance?._id}`,\n instance\n );\n\n yield put(updateVoicebotInstanceSuccess(data));\n\n if (callback) {\n callback();\n }\n } catch (err) {\n const errorMessage = err.response?.data?.message;\n toastr.error(\n 'Erro',\n errorMessage || 'Ocorreu um erro ao atualizar a instância'\n );\n } finally {\n yield put(commonLoadingFinish());\n }\n}\n\nexport function* fetchVoicebotVariables({ payload }) {\n try {\n yield put(commonLoadingStart());\n\n const { params } = payload;\n\n const { data } = yield call(api.get, `/v1/voice-bots/variables`, {\n params,\n timeout: 30000,\n });\n\n yield put(fetchVoicebotVariablesSuccess({ variables: data }));\n } catch (e) {\n toastr.error('Erro', 'Ocorreu um erro ao buscar as variáveis');\n } finally {\n yield put(commonLoadingFinish());\n }\n}\n\nexport function* fetchVoicebotWebApiList({ payload }) {\n try {\n yield put(commonLoadingStart());\n\n const { params } = payload;\n\n const { data } = yield call(api.get, `/v1/voice-bots/web-api`, {\n params,\n timeout: 30000,\n });\n\n yield put(fetchVoicebotWebApiSuccess({ webApiList: data }));\n } catch (e) {\n toastr.error('Erro', 'Ocorreu um erro ao buscar as webservices');\n } finally {\n yield put(commonLoadingFinish());\n }\n}\n","import { call, put } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\n\nimport api from '../../services/api';\nimport * as actions from '../actions/voice-bots-tts';\n\nimport { commonLoadingStart, commonLoadingFinish } from '../actions/common';\n\nexport function* uploadAudios({ payload }) {\n const { files, botId } = payload;\n\n try {\n yield put(commonLoadingStart());\n\n const formData = new FormData();\n files.forEach((file, index) => {\n formData.append(index, file);\n });\n\n const response = yield call(\n api.post,\n `/v1/voice-bots/tts/file/${botId}`,\n formData,\n { timeout: 60000 }\n );\n\n const { success, error } = response.data;\n\n if (error?.length > 0) {\n const message = error.length > 1 ? 'arquivos' : 'arquivo';\n toastr.warning(\n 'Aviso',\n `Tivemos um problema no upload de ${error.length} ${message}`\n );\n }\n\n yield put(actions.uploadAudiosSuccess({ audios: success }));\n } catch (e) {\n const errorMessage =\n e.response.data?.message || 'Ocorreu um erro ao fazer o upload';\n toastr.error('Erro', errorMessage);\n } finally {\n yield put(commonLoadingFinish());\n }\n}\n\nexport function* deleteAudio({ payload }) {\n try {\n const { _id } = payload;\n\n yield call(api.delete, `/v1/voice-bots/tts/file/${_id}`);\n\n yield put(actions.deleteAudioSuccess({ _id }));\n } catch (e) {\n toastr.error('Erro', 'Ocorreu um erro ao excluir o arquivo');\n }\n}\n\nexport function* fetchAudios({ payload }) {\n try {\n const { botId } = payload;\n\n const { data } = yield call(api.get, `/v1/voice-bots/tts/${botId}`, {\n timeout: 30000,\n });\n\n yield put(actions.fetchAudiosSuccess({ audios: data }));\n } catch (e) {\n toastr.error('Erro', 'Ocorreu um erro ao listar os audios');\n }\n}\n\nexport function* generateTts({ payload }) {\n try {\n const { text, idProject, idIvrVoice } = payload;\n\n const { data } = yield call(\n api.post,\n `/v1/voice-bots/tts/generate`,\n {\n text,\n idProject,\n idIvrVoice,\n },\n { responseType: 'arraybuffer', timeout: 50000 }\n );\n\n const blob = new Blob([data], { type: 'audio/wav' });\n const blobUrl = URL.createObjectURL(blob);\n\n yield put(actions.generateTtsSuccess({ audioUrl: blobUrl }));\n } catch (e) {\n toastr.error('Erro', 'Ocorreu um erro ao gerar o TTS');\n yield put(actions.generateTtsFailed());\n }\n}\n","import { call, put } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\n\nimport api from '../../services/api';\nimport { TriggerActions } from '../actions/triggers';\n\nexport function* load(action) {\n const { payload } = action;\n try {\n const response = yield call(\n api.get,\n `/v1/bots/escape/list/${payload.botId}`\n );\n yield put(TriggerActions.loadSucces(response.data));\n } catch (error) {\n toastr.error('Não foi possivel carregar seus gatilhos de rota de fuga');\n }\n}\n\nexport function* save(action) {\n const { payload } = action;\n\n try {\n yield call(api.put, `/v1/bots/escape/update/${payload.botId}`, {\n triggers: payload.triggers,\n maxTimeWithoutResponse: payload.maxTimeWithoutResponse,\n });\n toastr.success('Sucesso', 'Seu bot foi salvo');\n } catch (error) {\n toastr.error('Não foi possivel salvar o seu bot');\n }\n}\n","import { call, put } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\n\nimport { AxiosWithoutInterceptors as api } from '../../services/api';\nimport { getRegistersSuccess } from '../actions/register-from';\nimport { commonLoadingStart, commonLoadingFinish } from '../actions/common';\n\nexport function* getRegisters(action) {\n try {\n yield put(commonLoadingStart());\n\n const { data } = yield call(api.get, '/v1/register-from');\n\n yield put(getRegistersSuccess(data));\n } catch (error) {\n console.error(error);\n toastr.error('Erro', 'Ocorreu um erro ao buscar os projetos');\n } finally {\n yield put(commonLoadingFinish());\n }\n}\n","import { call, put } from 'redux-saga/effects';\nimport { toastr } from 'react-redux-toastr';\n\nimport api from '../../services/api';\nimport { RdStationTypes } from '../actions/rd-station';\nimport { CompanyTypes } from '../actions/companies';\n\nimport { commonActions } from '../actions/common';\n\nconst baseUrl = 'https://api.rd.services';\n\nconst RD_STATION_APP = {\n dev: {\n clientId: 'bd2a1408-0251-46be-8392-a4f54d5b17eb',\n partnersUrl: 'https://6ccb-45-160-89-222.ngrok.io/partner/rd/code',\n },\n homolog: {\n clientId: 'afccc1c9-1cdb-459a-b340-7adf7c71e540',\n partnersUrl: 'https://api.partners.xlab.work/partner/rd/code',\n },\n prod: {\n clientId: 'ebb385db-d304-4337-ae12-7bb72e50fbb8',\n partnersUrl: 'https://api.partners.code7.com/partner/rd/code',\n },\n};\n\nconst currentRdStationApp =\n RD_STATION_APP[process.env.REACT_APP_RD_STATION.toLocaleLowerCase()];\n\nconst rdStationInfos = {\n partnersUrl: currentRdStationApp.partnersUrl,\n authUrl: `${baseUrl}/auth/dialog`,\n clientId: currentRdStationApp.clientId,\n};\n\nexport function* onCodeExpires(error) {\n const { companyId } = error?.response?.data?.organization;\n\n yield put({\n type: CompanyTypes.GET_ORGANIZATIONS,\n payload: { companyId },\n });\n toastr.warning(\n 'Aviso',\n 'A sessão da integração com RD Station expirou, por favor fazer login novamente'\n );\n}\n\nexport function rdStationLogin({ payload }) {\n try {\n const { authUrl, clientId, partnersUrl } = rdStationInfos;\n // const callbackUrl = encodeURIComponent(partnersUrl);\n const url = `${authUrl}?client_id=${clientId}&redirect_uri=${partnersUrl}`;\n\n window.open(url, '_blank');\n } catch (error) {\n console.error(error);\n toastr.error('Erro', 'Falha ao tentar fazer login');\n }\n}\n\nexport function* generateAccessToken({ payload }) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n const { botId, code } = payload;\n const url = `v1/bots/${botId}/rd-station/auth`;\n\n const { data } = yield call(api.post, url, { code });\n\n yield put({\n type: RdStationTypes.GENERATE_ACCESS_TOKEN_SUCCESS,\n payload: data,\n });\n toastr.success('Sucesso', 'Novo access token criado');\n } catch (error) {\n console.error(error);\n if (error?.response?.data?.expiredCode) {\n yield onCodeExpires(error);\n } else {\n toastr.error('Erro', 'Falha ao gerar um novo access token');\n }\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* deleteAccessToken({ payload }) {\n try {\n yield put({ type: commonActions.LOADING, payload: { loading: true } });\n const { botId } = payload;\n const url = `v1/bots/${botId}/rd-station/auth`;\n\n yield call(api.delete, url);\n\n yield put({\n type: RdStationTypes.GENERATE_ACCESS_TOKEN_SUCCESS,\n payload: null,\n });\n toastr.success('Sucesso', 'Access Token removido');\n } catch (error) {\n console.error(error);\n toastr.error('Erro', 'Falha ao remover um access token');\n } finally {\n yield put({ type: commonActions.LOADING, payload: { loading: false } });\n }\n}\n\nexport function* getFields({ payload }) {\n try {\n const { botId } = payload;\n const url = `v1/bots/${botId}/rd-station/fields`;\n const { data } = yield call(api.get, url);\n\n yield put({\n type: RdStationTypes.GET_FIELDS_SUCCESS,\n payload: data,\n });\n } catch (error) {\n console.error(error);\n if (error?.response?.data?.expiredCode) {\n yield onCodeExpires(error);\n } else {\n toastr.error('Erro', 'Falha ao buscar pelos campos customizados');\n }\n }\n}\n","/* eslint-disable import/no-cycle */\nimport { all, takeLatest, takeEvery } from 'redux-saga/effects';\n\nimport { ConnectorsTypes } from '../actions/connectors';\nimport { DebounceTypes } from '../actions/debounce';\nimport { PlanTypes } from '../actions/plans';\nimport {\n create as createItem,\n createVoiceItem,\n removeVoiceItem,\n cloneVoiceItem,\n list as listItems,\n listSubflow,\n getAllItems,\n removeItem,\n cloneItem,\n editItem,\n editItemFile,\n editItemUrl,\n editCardImage,\n removeItemFile,\n} from './items';\n\nimport {\n editBotTitle,\n list,\n newBot,\n newVoiceBot,\n updateVoiceBot,\n removeBot,\n removeVoiceBot,\n cloneVoiceBot,\n creatorBot,\n getBot,\n saveBotViewPosition,\n publishHtmlWidget,\n saveWidgetHtml,\n updateBot,\n historyMessage,\n filterSessions,\n filterDashboard,\n updateBotHumanAttendance,\n getBotQueueHumanAttendance,\n updateBotStatus,\n updateBotIaStatus,\n getBotCollectDataCount,\n getBotCollectDataCsv,\n resetBotCollectCount,\n openNewBotPage,\n updateBotGeneralInformation,\n updateZendeskTicketSettings,\n updateGlpiSettings,\n updateBotQuickAccess,\n updatePublishBotQuickAccess,\n updateJiraSettings,\n updateAttendanceHoursSettings,\n publishBot,\n publishVoiceBot,\n changeStagingArea,\n countStatusCreatorNoSave,\n countStatusCreatorNoSaveRemove,\n} from './bots';\n\nimport {\n listCurationMessages,\n acceptCurationMessage,\n ignoreCurationMessage,\n listWit,\n listLuis,\n listIAEntities,\n listEntity,\n listIAIntents,\n listAllSamples,\n listSamplesIntent,\n createWit,\n createLuis,\n saveIASample,\n createIntents,\n deleteIntents,\n createCondition,\n updateCondition,\n getConditions,\n deleteCondition,\n createSamples,\n deleteSamples,\n createBoteria,\n createEntities,\n deleteEntities,\n deleteEntitiesObj,\n deleteEntitiesSyn,\n saveAprimoramentos,\n getIaInfo,\n trainLuis,\n iaPreview,\n} from './intelligence';\n\nimport {\n getConnectors,\n deleteConnector,\n createConnector,\n createVoiceConnector,\n getConnectorsSubflow,\n getAllConnectors,\n} from './connectors';\n\nimport { infoStateFilter, relatorioFilterInfo } from './filter';\n\nimport {\n getClientsReports,\n getClientsGraphicReports,\n getBotSessions,\n getAttendanceTime,\n getSessionAttendanceTime,\n getBotAttendanceTimeGraphic,\n getSessionsGraphicReports,\n getBotMessagesByChannel,\n getBotTotalMessagesByChannel,\n getBotQuantityMessagesData,\n getBotQuantityAndAverageMessageData,\n getCompanyBotsCount,\n getCompanyBotsGraphic,\n getCompanyTotalMessagesCount,\n getCompanyTotalMessagesGraphic,\n getCompanyTotalSessionsCount,\n getCompanyTotalSessionsGraphic,\n getCompanyTotalUsersCount,\n getCompanyTotalUsersGraphic,\n getCompanyListUsers,\n getCompanyMessagesByChannel,\n getCompanyMessagesByChannelGraphic,\n getCompanyUsersBots,\n getCompanyUsersBotsAverage,\n createDashboardReport,\n updateDashboardReport,\n getDashboardReport,\n getCompanyMessagesPerBot,\n getBotSessionTags,\n getBotCustomReports,\n createBotCustomReport,\n getErrorLogs,\n} from './reports';\n\nimport {\n createTemplateBot,\n updateTemplateBot,\n updateTemplateBotDetails,\n emptyTemplateBot,\n getTemplateBot,\n getTemplateBotById,\n getAllTemplatesBot,\n setTemplateBotData,\n deleteTemplateBot,\n} from './template-bot';\n\nimport {\n setFacebookAuthState,\n setFacebookSelectedPage,\n} from './facebook-messenger';\n\nimport {\n setCurrentTemplateBotTesting,\n setCurrentTemplateBotSelected,\n pushToCreateBot,\n} from './new-bot';\n\nimport * as iaReportsSagas from './iaReports';\nimport { IaReportTypes } from '../actions/iaReports';\n\nimport * as previewBotSaga from './preview-bot';\nimport { BotsTypes } from '../actions/bots';\nimport { PreviewBotTypes } from '../actions/preview-bot';\nimport { ItemsTypes } from '../actions/items';\nimport { FilterTypes } from '../actions/filter';\nimport { IaTypes } from '../actions/intelligence';\nimport { ReportsTypes } from '../actions/reports';\n\nimport actions from '../actions';\nimport {\n login,\n logout,\n setToken,\n notice,\n tfaSetup,\n tfaActive,\n tfaDisable,\n tfaVerify,\n resendEmailConfirmation,\n} from './auth';\n\nimport { CompanyTypes } from '../actions/companies';\nimport * as companiesSaga from './companies';\nimport { UserTypes } from '../actions/users';\nimport * as usersSaga from './users';\nimport { PermissionTypes } from '../actions/permissions';\nimport * as permissionsSaga from './permissions';\nimport * as debounceSagas from './debounce';\n\nimport * as variablesSaga from './variables';\nimport { VariableTypes } from '../actions/variables';\n\nimport { facebookMessengerTypes } from '../actions/facebook-messenger';\nimport * as plansSagas from './plans';\nimport * as tagsSaga from './tags';\nimport { TagTypes } from '../actions/tags';\n\nimport * as notificationSagas from './notifications';\nimport { NotificationTypes } from '../actions/notifications';\n\nimport * as voiceBotsSagas from './voice-bots';\nimport { VoiceBotsTypes } from '../actions/voice-bots';\n\nimport * as voiceBotsTtsSagas from './voice-bots-tts';\nimport { VoiceBotsTtsTypes } from '../actions/voice-bots-tts';\n\nimport { TemplateBotTypes } from '../actions/template-bot';\nimport { newBotTypes } from '../actions/new-bot';\n\nimport * as triggerSagas from './triggers';\nimport { TriggerTypes } from '../actions/triggers';\n// import { ConfigPageTypes } from '../actions/page-config';\n// const { PreviewBotTypes } = actions;\n\nimport * as registerFromSagas from './register-from';\nimport { registerFromTypes } from '../actions/register-from';\n\nimport * as rdStationSagas from './rd-station';\nimport { RdStationTypes } from '../actions/rd-station';\n\nexport default function* rootSaga() {\n yield all([\n takeLatest(actions.AUTH_LOGIN, login),\n takeLatest(actions.AUTH_LOGOUT, logout),\n takeLatest(actions.AUTH_SET_TOKEN, setToken),\n takeLatest(actions.AUTH_NOTICE, notice),\n takeLatest(actions.AUTH_RESEND_EMAIL_CONFIRMATION, resendEmailConfirmation),\n\n // autenticação de dois fatores\n takeLatest(actions.TFA_SETUP, tfaSetup),\n takeLatest(actions.TFA_ACTIVE, tfaActive),\n takeLatest(actions.TFA_DISABLE, tfaDisable),\n takeLatest(actions.TFA_VERIFY, tfaVerify),\n ]);\n\n yield all([\n takeLatest(FilterTypes.LIST_FILTER_INFO, infoStateFilter),\n takeLatest(FilterTypes.FILTER_RELATORIO_INFO, relatorioFilterInfo),\n ]);\n\n yield all([\n takeLatest(VoiceBotsTypes.FETCH_PROJECTS, voiceBotsSagas.fetchProjects),\n takeLatest(VoiceBotsTypes.FETCH_GRAMMARS, voiceBotsSagas.fetchGrammars),\n takeLatest(VoiceBotsTypes.FETCH_STATUS, voiceBotsSagas.fetchStatus),\n takeLatest(VoiceBotsTypes.FETCH_VOICES, voiceBotsSagas.fetchVoices),\n takeLatest(\n VoiceBotsTypes.FETCH_VOICEBOT_INSTANCES,\n voiceBotsSagas.fetchVoicebotInstances\n ),\n takeLatest(\n VoiceBotsTypes.CREATE_VOICEBOT_INSTANCE,\n voiceBotsSagas.createVoicebotInstance\n ),\n takeLatest(\n VoiceBotsTypes.UPDATE_VOICEBOT_INSTANCE,\n voiceBotsSagas.updateVoicebotInstance\n ),\n takeLatest(\n VoiceBotsTypes.FETCH_VARIABLES_REQUEST,\n voiceBotsSagas.fetchVoicebotVariables\n ),\n takeLatest(\n VoiceBotsTypes.FETCH_WEB_API_REQUEST,\n voiceBotsSagas.fetchVoicebotWebApiList\n ),\n ]);\n\n yield all([\n takeLatest(\n VoiceBotsTtsTypes.UPLOAD_AUDIOS_REQUEST,\n voiceBotsTtsSagas.uploadAudios\n ),\n takeLatest(\n VoiceBotsTtsTypes.DELETE_AUDIO_REQUEST,\n voiceBotsTtsSagas.deleteAudio\n ),\n takeLatest(\n VoiceBotsTtsTypes.FETCH_AUDIOS_REQUEST,\n voiceBotsTtsSagas.fetchAudios\n ),\n takeLatest(\n VoiceBotsTtsTypes.GENERATE_TTS_REQUEST,\n voiceBotsTtsSagas.generateTts\n ),\n ]);\n\n yield all([\n takeLatest(VariableTypes.LIST, variablesSaga.list),\n takeLatest(VariableTypes.CREATE, variablesSaga.create),\n takeLatest(VariableTypes.EDIT, variablesSaga.edit),\n takeLatest(VariableTypes.REMOVE, variablesSaga.remove),\n ]);\n\n // -----------PLANOS---------\n yield all([takeLatest(PlanTypes.GET_PLANS_REQUEST, plansSagas.getPlans)]);\n yield all([\n takeLatest(\n PlanTypes.GET_HISTORY_COMPANY_PLAN_REQUEST,\n plansSagas.getHistoryCompanyPlan\n ),\n ]);\n yield all([takeLatest(PlanTypes.PUT_ALERTS, plansSagas.editAlert)]);\n yield all([\n takeLatest(PlanTypes.GET_PLAN_CONSUMPTION, plansSagas.getPlanConsumption),\n ]);\n\n // -----------TAGS---------\n yield all([\n takeLatest(TagTypes.LIST, tagsSaga.list),\n takeLatest(TagTypes.CREATE, tagsSaga.create),\n takeLatest(TagTypes.EDIT, tagsSaga.edit),\n takeLatest(TagTypes.REMOVE, tagsSaga.remove),\n ]);\n\n yield all([\n takeLatest(NotificationTypes.LIST, notificationSagas.list),\n takeLatest(NotificationTypes.UPDATE_STATUS, notificationSagas.updateStatus),\n ]);\n\n // -----------TEMPLATE BOT--------\n yield all([\n takeLatest(TemplateBotTypes.CREATE_TEMPLATE_BOT, createTemplateBot),\n takeLatest(TemplateBotTypes.UPDATE_TEMPLATE_BOT, updateTemplateBot),\n takeLatest(\n TemplateBotTypes.UPDATE_TEMPLATE_BOT_DETAILS,\n updateTemplateBotDetails\n ),\n takeLatest(TemplateBotTypes.GET_TEMPLATE_BOT, getTemplateBot),\n takeLatest(TemplateBotTypes.GET_TEMPLATE_BOT_BY_ID, getTemplateBotById),\n takeLatest(TemplateBotTypes.GET_ALL_TEMPLATE_BOTS, getAllTemplatesBot),\n takeLatest(TemplateBotTypes.EMPTY_TEMPLATE_BOT, emptyTemplateBot),\n takeLatest(TemplateBotTypes.SET_TEMPLATE_BOT_DATA, setTemplateBotData),\n takeLatest(TemplateBotTypes.DELETE_TEMPLATE_BOT, deleteTemplateBot),\n ]);\n\n // -----------NEW BOT--------\n yield all([\n takeLatest(\n newBotTypes.SET_NEW_BOT_CURRENT_TEMPLATE_BOT_TESTING,\n setCurrentTemplateBotTesting\n ),\n takeLatest(\n newBotTypes.SET_NEW_BOT_TEMPLATE_BOT_SELECTED,\n setCurrentTemplateBotSelected\n ),\n takeLatest(newBotTypes.PUSH_TO_CREATE_BOT, pushToCreateBot),\n ]);\n\n // -----------RELATORIOS---------\n\n yield all([\n takeLatest(ReportsTypes.GET_CLIENTS_REPORTS, getClientsReports),\n takeLatest(\n ReportsTypes.GET_CLIENTS_REPORTS_GRAPHIC,\n getClientsGraphicReports\n ),\n takeLatest(ReportsTypes.GET_SESSIONS_REPORTS, getBotSessions),\n takeLatest(\n ReportsTypes.GET_SESSIONS_REPORTS_GRAPHIC,\n getSessionsGraphicReports\n ),\n takeLatest(ReportsTypes.GET_ATTENDANCE_TIME_REPORTS, getAttendanceTime),\n takeLatest(\n ReportsTypes.GET_SESSION_ATTENDANCE_TIME_REPORTS,\n getSessionAttendanceTime\n ),\n takeLatest(\n ReportsTypes.GET_ATTENDANCE_TIME_REPORTS_GRAPHIC,\n getBotAttendanceTimeGraphic\n ),\n takeLatest(\n ReportsTypes.GET_AMOUNT_MESSAGE_CHANNEL_REPORTS,\n getBotMessagesByChannel\n ),\n takeLatest(\n ReportsTypes.GET_TOTAL_MESSAGE_CHANNEL_REPORTS,\n getBotTotalMessagesByChannel\n ),\n takeLatest(ReportsTypes.GET_BOT_MESSAGES, getBotQuantityMessagesData),\n takeLatest(\n ReportsTypes.GET_BOT_MESSAGES_AVG,\n getBotQuantityAndAverageMessageData\n ),\n takeLatest(ReportsTypes.GET_ORG_BOTS_COUNT, getCompanyBotsCount),\n takeLatest(ReportsTypes.GET_ORG_BOTS_GRAPHIC, getCompanyBotsGraphic),\n takeLatest(\n ReportsTypes.GET_ORG_TOTAL_MESSAGES,\n getCompanyTotalMessagesCount\n ),\n takeLatest(\n ReportsTypes.GET_ORG_TOTAL_MESSAGES_GRAPHIC,\n getCompanyTotalMessagesGraphic\n ),\n takeLatest(\n ReportsTypes.GET_ORG_TOTAL_SESSIONS,\n getCompanyTotalSessionsCount\n ),\n takeLatest(\n ReportsTypes.GET_ORG_TOTAL_SESSIONS_GRAPHIC,\n getCompanyTotalSessionsGraphic\n ),\n takeLatest(ReportsTypes.GET_ORG_TOTAL_USERS, getCompanyTotalUsersCount),\n takeLatest(\n ReportsTypes.GET_ORG_TOTAL_USERS_GRAPHIC,\n getCompanyTotalUsersGraphic\n ),\n takeLatest(ReportsTypes.GET_ORG_LIST_USERS, getCompanyListUsers),\n takeLatest(\n ReportsTypes.GET_ORG_MESSAGES_BY_CHANNEL,\n getCompanyMessagesByChannel\n ),\n takeLatest(\n ReportsTypes.GET_ORG_MESSAGES_BY_CHANNEL_GRAPHIC,\n getCompanyMessagesByChannelGraphic\n ),\n takeLatest(ReportsTypes.GET_ORG_USERS_BOTS, getCompanyUsersBots),\n takeLatest(\n ReportsTypes.GET_ORG_USERS_BOTS_AVERAGE,\n getCompanyUsersBotsAverage\n ),\n takeLatest(ReportsTypes.CREATE_DASHBOARD_REPORT, createDashboardReport),\n takeLatest(ReportsTypes.UPDATE_DASHBOARD_REPORT, updateDashboardReport),\n takeLatest(ReportsTypes.GET_DASHBOARD_REPORT, getDashboardReport),\n takeLatest(\n ReportsTypes.GET_COMPANY_MESSAGES_PER_BOT,\n getCompanyMessagesPerBot\n ),\n takeLatest(ReportsTypes.GET_BOT_SESSION_TAGS, getBotSessionTags),\n\n takeLatest(ReportsTypes.GET_BOT_CUSTOM_REPORTS, getBotCustomReports),\n takeLatest(ReportsTypes.CREATE_BOT_CUSTOM_REPORT, createBotCustomReport),\n takeLatest(ReportsTypes.GET_ERROR_LOGS_REQUEST, getErrorLogs),\n ]);\n\n // ----------------\n\n yield all([\n takeLatest(facebookMessengerTypes.SET_FB_AUTH_STATE, setFacebookAuthState),\n takeLatest(\n facebookMessengerTypes.SET_FB_SELECTED_PAGE,\n setFacebookSelectedPage\n ),\n ]);\n\n yield all([\n takeLatest(PreviewBotTypes.previewDispose, previewBotSaga.closeBot),\n takeLatest(\n PreviewBotTypes.previewSendUserMessage,\n previewBotSaga.saveMessage\n ),\n takeLatest(\n PreviewBotTypes.previewSendUserMessageFile,\n previewBotSaga.saveFileMessage\n ),\n takeLatest(PreviewBotTypes.previewStart, previewBotSaga.startBot),\n takeLatest(PreviewBotTypes.previewResetMessages, previewBotSaga.resetBot),\n takeLatest(PreviewBotTypes.previewSendBotMessage, previewBotSaga.nextState),\n ]);\n\n yield all([\n takeLatest(BotsTypes.EDIT_TITLE_BOT_REQUEST, editBotTitle),\n takeLatest(BotsTypes.LIST_BOTS_REQUEST, list),\n takeLatest(BotsTypes.NEW_BOT_REQUEST, newBot),\n takeLatest(BotsTypes.NEW_VOICE_BOT_REQUEST, newVoiceBot),\n takeLatest(BotsTypes.UPDATE_VOICE_BOT_REQUEST, updateVoiceBot),\n takeLatest(BotsTypes.REMOVE_BOT_REQUEST, removeBot),\n takeLatest(BotsTypes.REMOVE_VOICE_BOT_REQUEST, removeVoiceBot),\n takeLatest(BotsTypes.CLONE_VOICE_BOT_REQUEST, cloneVoiceBot),\n takeLatest(BotsTypes.CREATOR_BOT_REQUEST, creatorBot),\n takeEvery(BotsTypes.RETRIEVE_BOT_REQUEST, getBot),\n takeEvery(BotsTypes.SAVE_VIEW_POSITION_BOT, saveBotViewPosition),\n takeEvery(BotsTypes.PUBLISH_WIDGET_HTML, publishHtmlWidget),\n takeEvery(BotsTypes.SAVE_WIDGET_HTML, saveWidgetHtml),\n takeEvery(BotsTypes.UPDATE_BOT_REQUEST, updateBot),\n takeEvery(BotsTypes.HISTORY_BOT_MESSAGE, historyMessage),\n takeEvery(BotsTypes.HISTORY_BOT_FILTER_SESSIONS, filterSessions),\n takeEvery(BotsTypes.HISTORY_BOT_FILTER_DASHBOARD, filterDashboard),\n takeEvery(\n BotsTypes.UPDATE_BOT_HUMAN_ATTENDANCE_REQUEST,\n updateBotHumanAttendance\n ),\n takeEvery(\n BotsTypes.UPDATE_ZENDESK_TICKET_SETTINGS,\n updateZendeskTicketSettings\n ),\n takeEvery(BotsTypes.UPDATE_GLPI_SETTINGS, updateGlpiSettings),\n takeEvery(BotsTypes.UPDATE_JIRA_SETTINGS, updateJiraSettings),\n takeEvery(\n BotsTypes.UPDATE_ATTENDANCE_HOUR_SETTINGS,\n updateAttendanceHoursSettings\n ),\n takeEvery(BotsTypes.SAVE_QUICK_ACCESS_SETTINGS, updateBotQuickAccess),\n takeEvery(\n BotsTypes.SAVE_PUBLISH_QUICK_ACCESS_SETTINGS,\n updatePublishBotQuickAccess\n ),\n takeLatest(BotsTypes.GET_QUEUE_ATTENDANCE, getBotQueueHumanAttendance),\n takeEvery(BotsTypes.UPDATE_BOT_STATUS, updateBotStatus),\n takeLatest(BotsTypes.UPDATE_BOT_IA_STATUS, updateBotIaStatus),\n takeLatest(BotsTypes.BOT_COLLECT_DATA_COUNT, getBotCollectDataCount),\n takeLatest(BotsTypes.BOT_COLLECT_DATA_CSV, getBotCollectDataCsv),\n takeLatest(BotsTypes.BOT_COLLECT_DATA_COUNT_RESET, resetBotCollectCount),\n takeLatest(BotsTypes.OPEN_NEW_BOT_PAGE, openNewBotPage),\n takeEvery(BotsTypes.UPDATE_GENERAL_BOT_INFO, updateBotGeneralInformation),\n takeEvery(BotsTypes.PUBLISH_BOT, publishBot),\n takeEvery(BotsTypes.PUBLISH_VOICE_BOT, publishVoiceBot),\n takeEvery(BotsTypes.CHANGE_STAGING_AREA, changeStagingArea),\n\n takeEvery(BotsTypes.COUNT_STATUS_CREATOR_NO_SAVE, countStatusCreatorNoSave),\n takeEvery(\n BotsTypes.COUNT_STATUS_CREATOR_NO_SAVE_REMOVE,\n countStatusCreatorNoSaveRemove\n ),\n\n // INTELIGENCIA ARTIFICIAL\n takeLatest(IaTypes.CURATION_BOT_LIST_MESSAGES, listCurationMessages),\n takeEvery(IaTypes.CURATION_BOT_ACCEPT_MESSAGE, acceptCurationMessage),\n takeEvery(IaTypes.CURATION_BOT_IGNORE_MESSAGE, ignoreCurationMessage),\n takeLatest(IaTypes.IA_LIST_LUIS, listLuis),\n takeLatest(IaTypes.IA_LIST_WIT, listWit),\n takeLatest(IaTypes.IA_LIST_ENTITIES, listIAEntities),\n takeLatest(IaTypes.IA_LIST_ENTITY, listEntity),\n takeLatest(IaTypes.IA_LIST_INTENTS, listIAIntents),\n takeLatest(IaTypes.IA_LIST_ALL_SAMPLES, listAllSamples),\n takeLatest(IaTypes.IA_LIST_SAMPLES_INTENT, listSamplesIntent),\n takeEvery(IaTypes.IA_SAVE_SAMPLE, saveIASample),\n takeLatest(IaTypes.IA_CREATE_LUIS, createLuis),\n takeLatest(IaTypes.IA_CREATE_WIT, createWit),\n takeLatest(IaTypes.IA_CREATE_BOTERIA, createBoteria),\n takeLatest(IaTypes.IA_CREATE_INTENTS, createIntents),\n takeLatest(IaTypes.IA_CREATE_ENTITIES, createEntities),\n takeLatest(IaTypes.IA_DELETE_INTENTS, deleteIntents),\n takeLatest(IaTypes.IA_CREATE_CONDITIONS, createCondition),\n takeLatest(IaTypes.IA_LIST_CONDITIONS, getConditions),\n takeLatest(IaTypes.IA_UPDATE_CONDITIONS, updateCondition),\n takeLatest(IaTypes.IA_DELETE_CONDITIONS, deleteCondition),\n takeEvery(IaTypes.IA_DELETE_SAMPLES, deleteSamples),\n takeEvery(IaTypes.IA_DELETE_ENTITIES, deleteEntities),\n takeEvery(IaTypes.IA_DELETE_ENTITIES_OBJ, deleteEntitiesObj),\n takeEvery(IaTypes.IA_DELETE_ENTITIES_SYN, deleteEntitiesSyn),\n takeEvery(IaTypes.IA_PLATFORM_INFO, getIaInfo),\n takeEvery(IaTypes.IA_TRAIN_LUIS, trainLuis),\n takeEvery(IaTypes.IA_CREATE_SAMPLES, createSamples),\n takeEvery(IaTypes.CURATION_BOT_SAVE_APRIMORAMENTOS, saveAprimoramentos),\n takeEvery(IaTypes.IA_PREVIEW, iaPreview),\n ]);\n\n yield all([\n takeEvery(ItemsTypes.CREATE_ITEM_REQUEST, createItem),\n takeEvery(ItemsTypes.CREATE_VOICE_ITEM_REQUEST, createVoiceItem),\n takeEvery(ItemsTypes.REMOVE_VOICE_ITEM_REQUEST, removeVoiceItem),\n takeEvery(ItemsTypes.CLONE_VOICE_ITEM_REQUEST, cloneVoiceItem),\n takeLatest(ItemsTypes.LIST_ITEMS_REQUEST, listItems),\n takeLatest(ItemsTypes.LIST_SUBFLOW_ITEMS_REQUEST, listSubflow),\n takeLatest(ItemsTypes.LIST_ALL_ITEMS_REQUEST, getAllItems),\n takeEvery(ItemsTypes.EDIT_ITEM, editItem),\n takeEvery(ItemsTypes.REMOVE_ITEM_REQUEST, removeItem),\n takeEvery(ItemsTypes.CLONE_ITEM_REQUEST, cloneItem),\n takeEvery(ItemsTypes.EDIT_FILE_ITEM_REQUEST, editItemFile),\n takeEvery(ItemsTypes.REMOVE_FILE_ITEM_REQUEST, removeItemFile),\n takeEvery(ItemsTypes.EDIT_URL_ITEM_REQUEST, editItemUrl),\n takeEvery(ItemsTypes.EDIT_CARD_IMAGE_REQUEST, editCardImage),\n ]);\n\n yield all([\n takeEvery(ConnectorsTypes.CREATE_CONNECTOR_REQUEST, createConnector),\n takeEvery(\n ConnectorsTypes.CREATE_VOICE_CONNECTOR_REQUEST,\n createVoiceConnector\n ),\n takeLatest(ConnectorsTypes.GET_CONNECTORS_REQUEST, getConnectors),\n takeLatest(\n ConnectorsTypes.GET_CONNECTORS_SUBFLOW_REQUEST,\n getConnectorsSubflow\n ),\n takeLatest(ConnectorsTypes.LIST_ALL_CONNECTORS_REQUEST, getAllConnectors),\n takeEvery(ConnectorsTypes.DELETE_CONNECTOR_REQUEST, deleteConnector),\n ]);\n\n yield all([\n takeLatest(CompanyTypes.SET_PLAN_COMPANY, companiesSaga.changePlan),\n takeLatest(PlanTypes.POST_NEW_PLAN, companiesSaga.createNewPlan),\n takeLatest(\n CompanyTypes.POST_ADDITIONAL_MESSAGE,\n companiesSaga.createAdditionalMessage\n ),\n takeLatest(CompanyTypes.UPDATE_PLAN_COMPANY, companiesSaga.updatePlan),\n takeLatest(CompanyTypes.GET_COMPANY_REQUEST, companiesSaga.getCompany),\n takeLatest(CompanyTypes.GET_COMPANIES_REQUEST, companiesSaga.getCompanies),\n takeLatest(\n CompanyTypes.CREATE_COMPANY_REQUEST,\n companiesSaga.createCompany\n ),\n takeLatest(\n CompanyTypes.UPDATE_SELECTED_COMPANY_REQUEST,\n companiesSaga.updateSelectedCompany\n ),\n takeLatest(\n CompanyTypes.UPDATE_COMPANY_REQUEST,\n companiesSaga.updateCompany\n ),\n takeLatest(CompanyTypes.GET_ORGANIZATIONS, companiesSaga.getOrganizations),\n takeLatest(\n CompanyTypes.CREATE_ORGANIZATION,\n companiesSaga.createOrganization\n ),\n takeLatest(\n CompanyTypes.REMOVE_OGANIZATION,\n companiesSaga.removeOrganization\n ),\n takeLatest(\n CompanyTypes.GET_HISTORY_ACTIONS_REQUEST,\n companiesSaga.getHistoryActions\n ),\n takeLatest(\n CompanyTypes.UPDATE_ORGANIZATION_REQUEST,\n companiesSaga.updateOrganization\n ),\n ]);\n\n yield all([\n takeLatest(UserTypes.GET_USERS, usersSaga.getUsers),\n takeLatest(UserTypes.CREATE_USER, usersSaga.createUser),\n takeLatest(UserTypes.UPDATE_USER, usersSaga.updateUser),\n takeLatest(UserTypes.GET_ME, usersSaga.me),\n takeLatest(UserTypes.SELECT_ORGANIZATION, usersSaga.selectOrganization),\n takeLatest(\n UserTypes.SELECT_COMPANY_ORGANIZATION,\n usersSaga.selectCompanyOrganization\n ),\n ]);\n\n yield all([\n takeLatest(PermissionTypes.GET_PERMISSIONS, permissionsSaga.getPermissions),\n takeLatest(\n PermissionTypes.UPDATE_PERMISSION,\n permissionsSaga.updatePermission\n ),\n ]);\n\n yield all([\n takeLatest(DebounceTypes.EXECUTE_DEBOUNCE, debounceSagas.executeDebounce),\n ]);\n\n yield all([\n takeLatest(TriggerTypes.LOAD, triggerSagas.load),\n takeLatest(TriggerTypes.SAVE_BOT_TRIGGERS, triggerSagas.save),\n ]);\n\n yield all([\n takeLatest(\n IaReportTypes.GET_NOT_UNDERSTOOD_INTENTIONS,\n iaReportsSagas.getNotUnderstoodIntentions\n ),\n takeLatest(\n IaReportTypes.GET_USE_OF_INTENTIONS,\n iaReportsSagas.getUseOfIntentions\n ),\n takeLatest(\n IaReportTypes.GET_PERFORMANCE_OF_INTENTIONS,\n iaReportsSagas.getPerformanceOfIntentions\n ),\n ]);\n\n yield all([\n takeLatest(\n registerFromTypes.GET_REGISTERS_REQUEST,\n registerFromSagas.getRegisters\n ),\n ]);\n\n yield all([\n takeLatest(RdStationTypes.GET_FIELDS_REQUEST, rdStationSagas.getFields),\n takeLatest(RdStationTypes.RD_STATION_LOGIN, rdStationSagas.rdStationLogin),\n takeLatest(\n RdStationTypes.GENERATE_ACCESS_TOKEN_REQUEST,\n rdStationSagas.generateAccessToken\n ),\n takeLatest(\n RdStationTypes.REMOVE_ACCESS_TOKEN_REQUEST,\n rdStationSagas.deleteAccessToken\n ),\n ]);\n}\n","import { createStore, compose, applyMiddleware } from 'redux';\nimport createSagaMiddleware from 'redux-saga';\nimport { routerMiddleware } from 'connected-react-router';\n\nimport history from '../routes/history';\nimport rootReducer from './ducks';\nimport rootSaga from './sagas';\n\nconst middlewares = [];\n\nconst sagaMonitor =\n process.env.NODE_ENV === 'development'\n ? console.tron.createSagaMonitor()\n : null;\n\nconst sagaMiddleware = createSagaMiddleware({ sagaMonitor });\nmiddlewares.push(sagaMiddleware);\n\nconst composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;\n\nconst composer =\n process.env.NODE_ENV === 'development'\n ? composeEnhancers(\n applyMiddleware(...middlewares, routerMiddleware(history)),\n console.tron.createEnhancer()\n )\n : applyMiddleware(...middlewares, routerMiddleware(history));\n\nconst store = createStore(rootReducer(history), composer);\n\nsagaMiddleware.run(rootSaga);\n\nexport default store;\n","import * as random from 'random-int';\nimport {\n ValidationType,\n ValidationTypeExp,\n ValidationTypeExpFlags,\n} from './validation-type';\n\nexport const b64toBlob = (b64Data, contentType = '', sliceSize = 512) => {\n b64Data = b64Data\n .replace('data:application/pdf;base64,', '')\n .replace('data:application/zip;base64,', '');\n const byteCharacters = atob(b64Data);\n const byteArrays = [];\n\n for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {\n const slice = byteCharacters.slice(offset, offset + sliceSize);\n\n const byteNumbers = new Array(slice.length);\n for (let i = 0; i < slice.length; i++) {\n byteNumbers[i] = slice.charCodeAt(i);\n }\n\n const byteArray = new Uint8Array(byteNumbers);\n byteArrays.push(byteArray);\n }\n\n return new Blob(byteArrays, { type: contentType });\n};\n\nexport const stopPropagation = (e) => {\n // console.log('stopPropagation')\n if (e) {\n if (e.stopPropagation) {\n e.stopPropagation(); // W3C model\n } else {\n e.cancelBubble = true; // IE model\n }\n }\n};\n\nexport const generateSecretToken = (maxDigits = 6) => {\n if (maxDigits === 0) {\n maxDigits = 1;\n }\n\n let token = '';\n\n for (let i = 0; i < maxDigits; i++) {\n token += Math.abs(random(-9, 9));\n }\n\n return token;\n};\n\nexport const isEmail = (str) => {\n const reg = new RegExp(\n ValidationTypeExp[ValidationType.Email],\n ValidationTypeExpFlags[ValidationType.Email]\n );\n return reg.test(str);\n};\n\nexport const isHost = (str) => {\n const reg = new RegExp(\n ValidationTypeExp[ValidationType.Url],\n ValidationTypeExpFlags[ValidationType.Url]\n );\n return reg.test(str);\n};\n\nexport const isPassa = (str) => {\n const reg = new RegExp(\n ValidationTypeExp[ValidationType.Any],\n ValidationTypeExpFlags[ValidationType.Any]\n );\n return reg.test(str);\n};\n\nexport function formatBytes(bytes, decimals = 2) {\n\n const parseBytes = parseFloat(bytes);\n if (parseBytes === 0) return '0 Bytes';\n\n const k = 1024;\n const dm = decimals < 0 ? 0 : decimals;\n const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];\n\n const i = Math.floor(Math.log(parseBytes) / Math.log(k));\n\n return parseFloat((parseBytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i];\n}\n\n// export const inputOnlyText = (input: any, callback: (value: string) => void) => {\n// input.keyup(function(e) {\n// // a-z => allow all lowercase alphabets\n// // A-Z => allow all uppercase alphabets\n// const regex = /^[a-zA-Z\\u00C0-\\u00FF ]+$/\n// if (regex.test(this.value) !== true) {\n// // You can replace the invalid characters by:\n// this.value = this.value.replace(/[^a-zA-Z\\u00C0-\\u00FF ]+/, '');\n// callback(this.value)\n// }\n// })\n// }\n","import * as authActions from './auth';\nimport * as commonActions from './common';\nimport * as previewBotActions from './preview-bot';\nimport * as itemsActions from './items';\nimport * as botsActions from './bots';\nimport * as companyActions from './companies';\nimport * as userActions from './users';\nimport * as IaActions from './intelligence';\nimport * as permissionActions from './permissions';\nimport * as connectionActions from './connectors';\nimport * as filterActions from './filter';\nimport * as debounceActions from './debounce';\nimport * as reportsActions from './reports';\nimport * as facebookMessengerActions from './facebook-messenger';\nimport * as variablesActions from './variables';\nimport * as tagsActions from './tags';\nimport * as notificationActions from './notifications';\nimport * as templateBotActions from './template-bot';\nimport * as newBotActions from './new-bot';\nimport * as botCreatorActions from './bot-creator';\nimport * as triggerActions from './triggers';\nimport * as voiceBotsActions from './voice-bots';\nimport * as voiceBotsTtsActions from './voice-bots-tts';\nimport * as configPage from './page-config';\nimport * as iaReportsActions from './iaReports';\nimport * as recaptchaActions from './reCaptcha';\nimport * as registerFromActions from './register-from';\nimport * as rdStationActions from './rd-station';\n\nexport default {\n ...authActions,\n ...commonActions,\n ...previewBotActions,\n ...itemsActions,\n ...botsActions,\n ...IaActions,\n ...companyActions,\n ...userActions,\n ...permissionActions,\n ...connectionActions,\n ...filterActions,\n ...debounceActions,\n ...reportsActions,\n ...variablesActions,\n ...facebookMessengerActions,\n ...tagsActions,\n ...notificationActions,\n ...templateBotActions,\n ...newBotActions,\n ...botCreatorActions,\n ...triggerActions,\n ...voiceBotsActions,\n ...voiceBotsTtsActions,\n ...configPage,\n ...iaReportsActions,\n ...recaptchaActions,\n ...registerFromActions,\n ...rdStationActions,\n};\n","export const AUTH_LOGOUT = 'auth/AUTH_LOGOUT';\nexport const AUTH_LOGIN = 'auth/AUTH_LOGIN';\nexport const AUTH_SET_TOKEN = 'auth/SET_TOKEN';\nexport const AUTH_NOTICE = 'auth/AUTH_NOTICE';\nexport const AUTH_RESEND_EMAIL_CONFIRMATION =\n 'auth/AUTH_RESEND_EMAIL_CONFIRMATION';\nexport const AUTH_RESEND_EMAIL_CONFIRMATION_SUCCESS =\n 'auth/AUTH_RESEND_EMAIL_CONFIRMATION_SUCCESS';\n\n// autenticação de dois fatores\nexport const TFA_SETUP = 'auth/TFA_SETUP';\nexport const TFA_SETUP_SUCCESS = 'auth/TFA_SETUP_SUCCESS';\nexport const TFA_ACTIVE = 'auth/TFA_ACTIVE';\nexport const TFA_ACTIVE_SUCCESS = 'auth/TFA_ACTIVE_SUCCESS';\nexport const TFA_DISABLE = 'auth/TFA_DISABLE';\nexport const TFA_DISABLE_SUCCESS = 'auth/TFA_DISABLE_SUCCESS';\nexport const TFA_VERIFY = 'auth/TFA_VERIFY';\nexport const TFA_VERIFY_SUCCESS = 'auth/TFA_VERIFY_SUCCESS';\n\nexport const authActions = {\n AUTH_LOGIN,\n AUTH_LOGOUT,\n AUTH_NOTICE,\n AUTH_SET_TOKEN,\n AUTH_RESEND_EMAIL_CONFIRMATION,\n\n // autenticação de dois fatores\n TFA_SETUP,\n TFA_SETUP_SUCCESS,\n TFA_ACTIVE,\n TFA_ACTIVE_SUCCESS,\n TFA_DISABLE,\n TFA_DISABLE_SUCCESS,\n TFA_VERIFY,\n TFA_VERIFY_SUCCESS,\n};\n\nexport const logout = () => ({\n type: AUTH_LOGOUT,\n});\n\nexport const login = (token, user) => ({\n type: AUTH_LOGIN,\n payload: {\n token,\n user,\n },\n});\n\n// lastNotice\nexport const notice = (user, notices) => ({\n type: AUTH_NOTICE,\n payload: {\n user,\n notice: notices,\n },\n});\n\nexport const setToken = () => ({ type: AUTH_SET_TOKEN });\n\n// autenticação de dois fatores\nexport const tfaSetup = () => ({ type: TFA_SETUP });\n\nexport const tfaActive = (token) => ({\n type: TFA_ACTIVE,\n payload: {\n token,\n },\n});\n\nexport const tfaDisable = () => ({ type: TFA_DISABLE });\n\nexport const tfaVerify = (userId, tfaToken) => ({\n type: TFA_VERIFY,\n payload: {\n userId,\n tfaToken,\n },\n});\n\nexport const resendEmailConfirmation = (email) => ({\n type: AUTH_RESEND_EMAIL_CONFIRMATION,\n payload: { email },\n});\n\nexport const successResendEmailConfirmation = (data) => ({\n type: AUTH_RESEND_EMAIL_CONFIRMATION_SUCCESS,\n payload: data,\n});\n","export const SET_RECAPTCHA = 'recaptcha/SET_RECAPTCHA';\nexport const DISABLE_RECAPTCHA = 'recaptcha/DISABLE_RECAPTCHA';\nexport const RESET_RECAPTCHA = 'recaptcha/RESET_RECAPTCHA';\n\nexport const recapchaTypes = {\n SET_RECAPTCHA,\n DISABLE_RECAPTCHA,\n RESET_RECAPTCHA,\n};\n\nexport const recaptchaActions = {\n getRecaptcha: (payload) => ({\n type: recapchaTypes.SET_RECAPTCHA,\n payload: {\n reCaptchaValue: payload,\n },\n }),\n\n disableRecaptcha: (payload) => ({\n type: recapchaTypes.DISABLE_RECAPTCHA,\n payload: {\n disabled: payload,\n },\n }),\n\n resetCaptcha: (payload) => ({\n type: recapchaTypes.RESET_RECAPTCHA,\n payload: {\n resetRef: payload,\n },\n }),\n};\n","export const ItemsTypes = {\n CREATE_ITEM_REQUEST: 'items/CREATE_ITEM_REQUEST',\n CREATE_VOICE_ITEM_REQUEST: 'items/CREATE_VOICE_ITEM_REQUEST',\n REMOVE_VOICE_ITEM_REQUEST: 'items/REMOVE_VOICE_ITEM_REQUEST',\n CLONE_VOICE_ITEM_REQUEST: 'items/CLONE_VOICE_ITEM_REQUEST',\n UPDATE_ITEM_IN_LIST_STATE: 'items/UPDATE_ITEM_IN_LIST_STATE',\n REMOVE_ITEM_IN_LIST_STATE: 'items/REMOVE_ITEM_IN_LIST_STATE',\n CHANGE_ITEM_ANCESTOR_REQUEST: 'items/CHANGE_ITEM_ANCESTOR_REQUEST',\n UPDATE_SELECTED_ITEM: 'items/UPDATE_SELECTED_ITEM',\n CREATE_ITEM_SUCCESS: 'items/CREATE_ITEM_SUCCESS',\n EDIT_ITEM: 'items/EDIT_ITEM',\n LIST_ITEMS_REQUEST: 'items/LIST_ITEMS_REQUEST',\n LIST_ITEMS_SUCCESS: 'items/LIST_ITEMS_SUCCESS',\n REMOVE_ITEM_REQUEST: 'items/REMOVE_ITEM_REQUEST',\n CLONE_ITEM_REQUEST: 'items/CLONE_ITEM_REQUEST',\n REMOVE_ITEM_SUCCESS: 'items/REMOVE_ITEM_SUCCESS',\n SET_CURRENT_ITEM: 'items/SET_CURRENT_ITEM',\n SET_CURRENT_PATH: 'items/SET_CURRENT_PATH',\n SET_SELECTED_MENU_OPTION: 'items/SET_SELECTED_MENU_OPTION',\n EDIT_FILE_ITEM_REQUEST: 'items/EDIT_FILE_ITEM_REQUEST',\n REMOVE_FILE_ITEM_REQUEST: 'items/REMOVE_FILE_ITEM_REQUEST',\n EDIT_CARD_IMAGE_REQUEST: 'items/EDIT_CARD_IMAGE_REQUEST',\n EDIT_ITEM_UPLOAD_PROGRESS: 'items/EDIT_ITEM_UPLOAD_PROGRESS',\n EDIT_URL_ITEM_REQUEST: 'items/EDIT_URL_ITEM_REQUEST',\n ITEM_REMOVE_NOTIFICATION_SHOW: 'items/ITEM_REMOVE_NOTIFICATION_SHOW',\n ITEM_REMOVE_NOTIFICATION_REVERT: 'items/ITEM_REMOVE_NOTIFICATION_REVERT',\n ITEM_REMOVE_NOTIFICATION_DISMISS: 'items/ITEM_REMOVE_NOTIFICATION_DISMISS',\n ITEM_CONNECTOR_REMOVE_NOTIFICATION_SHOW:\n 'items/ITEM_REMOVE_CONNECTOR_NOTIFICATION_SHOW',\n ITEM_CONNECTOR_REMOVE_NOTIFICATION_REVERT:\n 'items/ITEM_CONNECTOR_REMOVE_NOTIFICATION_REVERT',\n ITEM_CHANGE_CURRENT_FLOW: 'items/ITEM_CHANGE_CURRENT_FLOW',\n LIST_SUBFLOW_ITEMS_REQUEST: 'items/LIST_SUBFLOW_ITEMS_REQUEST',\n LIST_ALL_ITEMS_REQUEST: 'items/LIST_ALL_ITEMS_REQUEST',\n LIST_ALL_ITEMS_SUCCESS: 'items/LIST_ALL_ITEMS_SUCCESS',\n UPDATE_ALL_ITEMS: 'items/UPDATE_ALL_ITEMS',\n RESET_ITEMS: 'items/RESET_ITEMS',\n};\n\n/* Actions */\n\nexport const ItemsCreators = {\n createItemRequest: (botid, item, rootId) => ({\n type: ItemsTypes.CREATE_ITEM_REQUEST,\n payload: {\n botid,\n item,\n rootId,\n },\n }),\n\n createVoiceItemRequest: ({ botid, item }) => ({\n type: ItemsTypes.CREATE_VOICE_ITEM_REQUEST,\n payload: {\n botid,\n item,\n },\n }),\n\n removeVoiceItemRequest: (item) => ({\n type: ItemsTypes.REMOVE_VOICE_ITEM_REQUEST,\n payload: { item },\n }),\n\n cloneVoiceItemRequest: (item, targetWidth) => ({\n type: ItemsTypes.CLONE_VOICE_ITEM_REQUEST,\n payload: { item, targetWidth },\n }),\n\n updateItemInListState: ({ item }) => ({\n type: ItemsTypes.UPDATE_ITEM_IN_LIST_STATE,\n payload: { item },\n }),\n\n removeItemInListState: ({ item }) => ({\n type: ItemsTypes.REMOVE_ITEM_IN_LIST_STATE,\n payload: { item },\n }),\n\n createItemSuccess: (item) => ({\n type: ItemsTypes.CREATE_ITEM_SUCCESS,\n payload: item,\n }),\n\n updateSelectedItem: (item) => ({\n type: ItemsTypes.UPDATE_SELECTED_ITEM,\n payload: item,\n }),\n\n removeItemRequest: (item) => ({\n type: ItemsTypes.REMOVE_ITEM_REQUEST,\n payload: item,\n }),\n\n cloneItemRequest: (item, targetWidth) => ({\n type: ItemsTypes.CLONE_ITEM_REQUEST,\n payload: { item, targetWidth },\n }),\n\n removeItemSuccess: (itemid) => ({\n type: ItemsTypes.REMOVE_ITEM_SUCCESS,\n payload: itemid,\n }),\n\n editItem: (payload) => ({\n type: ItemsTypes.EDIT_ITEM,\n payload,\n }),\n\n listItemsRequest: (botId) => ({\n type: ItemsTypes.LIST_ITEMS_REQUEST,\n payload: botId,\n }),\n\n listItemsSuccess: (items) => ({\n type: ItemsTypes.LIST_ITEMS_SUCCESS,\n payload: items,\n }),\n\n setCurrentItem: (item) => ({\n type: ItemsTypes.SET_CURRENT_ITEM,\n payload: item,\n }),\n\n setCurrentPath: (item) => ({\n type: ItemsTypes.SET_CURRENT_PATH,\n payload: item,\n }),\n\n setSelectedMenuOption: (payload) => ({\n type: ItemsTypes.SET_SELECTED_MENU_OPTION,\n payload,\n }),\n\n editItemFileRequest: (botId, itemid, file, item) => ({\n type: ItemsTypes.EDIT_FILE_ITEM_REQUEST,\n payload: {\n botId,\n itemid,\n file,\n item,\n },\n }),\n\n removeItemFileRequest: (botId, itemid, item) => ({\n type: ItemsTypes.REMOVE_FILE_ITEM_REQUEST,\n payload: {\n botId,\n itemid,\n item,\n },\n }),\n\n editCardImageRequest: ({ file, item, cardId }) => ({\n type: ItemsTypes.EDIT_CARD_IMAGE_REQUEST,\n payload: { file, item, cardId },\n }),\n\n editItemUploadProgress: (item, progress) => ({\n type: ItemsTypes.EDIT_ITEM_UPLOAD_PROGRESS,\n payload: {\n item,\n progress,\n },\n }),\n\n editItemUrlRequest: (botId, itemid, url, item) => ({\n type: ItemsTypes.EDIT_URL_ITEM_REQUEST,\n payload: {\n botId,\n itemid,\n url,\n item,\n },\n }),\n\n itemRemoveNotificationShow: (payload) => ({\n type: ItemsTypes.ITEM_REMOVE_NOTIFICATION_SHOW,\n payload,\n }),\n itemRemoveNotificationRevert: (payload) => ({\n type: ItemsTypes.ITEM_REMOVE_NOTIFICATION_REVERT,\n payload,\n }),\n itemRemoveNotificationDismiss: (payload) => ({\n type: ItemsTypes.ITEM_REMOVE_NOTIFICATION_DISMISS,\n payload,\n }),\n itemConnectorRemoveNotificationShow: (payload) => ({\n type: ItemsTypes.ITEM_CONNECTOR_REMOVE_NOTIFICATION_SHOW,\n payload,\n }),\n itemConnectorRemoveNotificationRevert: (payload) => ({\n type: ItemsTypes.ITEM_CONNECTOR_REMOVE_NOTIFICATION_REVERT,\n payload,\n }),\n\n changeCurrentFlow: (payload) => ({\n type: ItemsTypes.ITEM_CHANGE_CURRENT_FLOW,\n payload,\n }),\n\n getSubflowItems: (payload) => ({\n type: ItemsTypes.LIST_SUBFLOW_ITEMS_REQUEST,\n payload,\n }),\n\n getAllItems: (payload) => ({\n type: ItemsTypes.LIST_ALL_ITEMS_REQUEST,\n payload,\n }),\n\n updateAllItems: (payload) => ({\n type: ItemsTypes.UPDATE_ALL_ITEMS,\n payload,\n }),\n\n resetItems: () => ({\n type: ItemsTypes.RESET_ITEMS,\n }),\n};\n","export const VoiceBotsTypes = {\n FETCH_PROJECTS: 'voice-bots/FETCH_PROJECTS',\n FETCH_PROJECTS_SUCCESS: 'voice-bots/FETCH_PROJECTS_SUCCESS',\n FETCH_GRAMMARS: 'voice-bots/FETCH_GRAMMARS',\n FETCH_GRAMMARS_SUCCESS: 'voice-bots/FETCH_GRAMMARS_SUCCESS',\n FETCH_STATUS: 'voice-bots/FETCH_STATUS',\n FETCH_STATUS_SUCCESS: 'voice-bots/FETCH_STATUS_SUCCESS',\n FETCH_VOICES: 'voice-bots/FETCH_VOICES',\n FETCH_VOICES_SUCCESS: 'voice-bots/FETCH_VOICES_SUCCESS',\n FETCH_VOICES_FAILIURE: 'voice-bots/FETCH_VOICES_FAILIURE',\n FETCH_VOICEBOT_INSTANCES: 'voice-bots/FETCH_VOICEBOT_INSTANCES',\n FETCH_VOICEBOT_INSTANCES_SUCCESS:\n 'voice-bots/FETCH_VOICEBOT_INSTANCES_SUCCESS',\n FETCH_VOICEBOT_INSTANCES_FAILIURE:\n 'voice-bots/FETCH_VOICEBOT_INSTANCES_FAILIURE',\n CREATE_VOICEBOT_INSTANCE: 'voice-bots/CREATE_VOICEBOT_INSTANCE',\n CREATE_VOICEBOT_INSTANCE_SUCCESS:\n 'voice-bots/CREATE_VOICEBOT_INSTANCE_SUCCESS',\n UPDATE_VOICEBOT_INSTANCE: 'voice-bots/UPDATE_VOICEBOT_INSTANCE',\n UPDATE_VOICEBOT_INSTANCE_SUCCESS:\n 'voice-bots/UPDATE_VOICEBOT_INSTANCE_SUCCESS',\n FETCH_VARIABLES_REQUEST: 'voice-bots/FETCH_VARIABLES_REQUEST',\n FETCH_VARIABLES_SUCCESS: 'voice-bots/FETCH_VARIABLES_SUCCESS',\n FETCH_WEB_API_REQUEST: 'voice-bots/FETCH_WEB_API_REQUEST',\n FETCH_WEB_API_SUCCESS: 'voice-bots/FETCH_WEB_API_SUCCESS',\n};\n\nexport const fetchProjects = ({ params }) => ({\n type: VoiceBotsTypes.FETCH_PROJECTS,\n payload: { params },\n});\nexport const fetchProjectsSuccess = ({ projects }) => ({\n type: VoiceBotsTypes.FETCH_PROJECTS_SUCCESS,\n payload: { projects },\n});\n\nexport const fetchGrammars = ({ params }) => ({\n type: VoiceBotsTypes.FETCH_GRAMMARS,\n payload: { params },\n});\nexport const fetchGrammarsSuccess = ({ grammars }) => ({\n type: VoiceBotsTypes.FETCH_GRAMMARS_SUCCESS,\n payload: { grammars },\n});\n\nexport const fetchStatus = ({ params }) => ({\n type: VoiceBotsTypes.FETCH_STATUS,\n payload: { params },\n});\nexport const fetchStatusSuccess = ({ status }) => ({\n type: VoiceBotsTypes.FETCH_STATUS_SUCCESS,\n payload: { status },\n});\n\nexport const fetchVoices = ({ params }) => ({\n type: VoiceBotsTypes.FETCH_VOICES,\n payload: { params },\n});\nexport const fetchVoicesSuccess = ({ voices }) => ({\n type: VoiceBotsTypes.FETCH_VOICES_SUCCESS,\n payload: { voices },\n});\nexport const fetchVoicesFailiure = () => ({\n type: VoiceBotsTypes.FETCH_VOICES_FAILIURE,\n});\n\nexport const fetchVoicebotInstances = ({ organizationId }) => ({\n type: VoiceBotsTypes.FETCH_VOICEBOT_INSTANCES,\n payload: { organizationId },\n});\nexport const fetchVoicebotInstancesSuccess = ({ instances }) => ({\n type: VoiceBotsTypes.FETCH_VOICEBOT_INSTANCES_SUCCESS,\n payload: { instances },\n});\nexport const fetchVoicebotInstancesFailiure = () => ({\n type: VoiceBotsTypes.FETCH_VOICEBOT_INSTANCES_FAILIURE,\n});\n\nexport const createVoicebotInstance = (instance, callback) => ({\n type: VoiceBotsTypes.CREATE_VOICEBOT_INSTANCE,\n payload: { instance, callback },\n});\nexport const createVoicebotInstanceSuccess = (instance) => ({\n type: VoiceBotsTypes.CREATE_VOICEBOT_INSTANCE_SUCCESS,\n payload: { instance },\n});\n\nexport const updateVoicebotInstance = (instance, callback) => ({\n type: VoiceBotsTypes.UPDATE_VOICEBOT_INSTANCE,\n payload: { instance, callback },\n});\nexport const updateVoicebotInstanceSuccess = (instance) => ({\n type: VoiceBotsTypes.UPDATE_VOICEBOT_INSTANCE_SUCCESS,\n payload: { instance },\n});\n\nexport const fetchVoicebotVariables = ({ params }) => ({\n type: VoiceBotsTypes.FETCH_VARIABLES_REQUEST,\n payload: { params },\n});\nexport const fetchVoicebotVariablesSuccess = ({ variables }) => ({\n type: VoiceBotsTypes.FETCH_VARIABLES_SUCCESS,\n payload: { variables },\n});\n\nexport const fetchVoicebotWebApi = ({ params }) => ({\n type: VoiceBotsTypes.FETCH_WEB_API_REQUEST,\n payload: { params },\n});\nexport const fetchVoicebotWebApiSuccess = ({ webApiList }) => ({\n type: VoiceBotsTypes.FETCH_WEB_API_SUCCESS,\n payload: { webApiList },\n});\n","export const CompanyTypes = {\n GET_COMPANY_REQUEST: 'company/GET_COMPANY_REQUEST',\n GET_COMPANY_REQUEST_SUCCESS: 'company/GET_COMPANY_REQUEST_SUCCESS',\n GET_COMPANIES_REQUEST: 'company/GET_COMPANIES_REQUEST',\n GET_COMPANIES_REQUEST_SUCCESS: 'company/GET_COMPANIES_REQUEST_SUCCESS',\n CREATE_COMPANY_REQUEST: 'company/CREATE_COMPANY_REQUEST',\n CREATE_COMPANY_REQUEST_SUCCESS: 'company/CREATE_COMPANY_REQUEST_SUCCESS',\n UPDATE_SELECTED_COMPANY_REQUEST: 'company/UPDATE_SELECTED_COMPANY_REQUEST',\n UPDATE_SELECTED_COMPANY_SUCCESS: 'company/UPDATE_SELECTED_COMPANY_SUCCESS',\n UPDATE_COMPANY_REQUEST: 'company/UPDATE_COMPANY_REQUEST',\n UPDATE_COMPANY_REQUEST_SUCCESS: 'company/UPDATE_COMPANY_REQUEST_SUCCESS',\n CANCEL_COMPANY_EDITING: 'company/CANCEL_COMPANY_EDITING',\n START_COMPANY_EDITING: 'company/START_COMPANY_EDITING',\n CREATE_ORGANIZATION: 'company/CREATE_ORGANIZATION',\n CREATE_ORGANIZATION_SUCCESS: 'company/CREATE_ORGANIZATION_SUCCESS',\n REMOVE_OGANIZATION: 'company/REMOVE_OGANIZATION',\n REMOVE_OGANIZATION_SUCCESS: 'company/REMOVE_OGANIZATION_SUCCESS',\n GET_ORGANIZATIONS: 'company/GET_ORGANIZATIONS',\n GET_ORGANIZATIONS_SUCCESS: 'company/GET_ORGANIZATIONS_SUCCESS',\n SET_PLAN_COMPANY: 'company/SET_PLAN_COMPANY',\n SET_PLAN_COMPANY_SUCCESS: 'company/SET_PLAN_COMPANY_SUCCESS',\n UPDATE_PLAN_COMPANY: 'company/UPDATE_PLAN_COMPANY',\n POST_NEW_PLAN: 'plan/POST_NEW_PLAN',\n POST_NEW_PLAN_SUCCESS: 'plan/POST_NEW_PLAN_SUCCESS',\n POST_ADDITIONAL_MESSAGE: 'company/POST_ADDITIONAL_MESSAGE',\n POST_ADDITIONAL_MESSAGE_SUCCESS: 'company/POST_ADDITIONAL_MESSAGE_SUCCESS',\n GET_HISTORY_ACTIONS_REQUEST: 'company/GET_HISTORY_ACTIONS_REQUEST',\n GET_HISTORY_ACTIONS_SUCCESS: 'company/GET_HISTORY_ACTIONS_SUCCESS',\n RESET_REDUX_COMPANIES: 'company/RESET_REDUX_COMPANIES',\n UPDATE_ORGANIZATION_REQUEST: 'company/UPDATE_ORGANIZATION_REQUEST',\n};\n\nexport const CompanyActions = {\n resetCompanies: () => ({\n type: CompanyTypes.RESET_REDUX_COMPANIES,\n }),\n\n setCompany: (payload) => ({\n type: CompanyTypes.GET_COMPANY_REQUEST_SUCCESS,\n payload,\n }),\n\n createNewPlan: (payload) => ({\n type: CompanyTypes.POST_NEW_PLAN,\n payload,\n }),\n\n getCompany: (payload) => ({\n type: CompanyTypes.GET_COMPANY_REQUEST,\n payload,\n }),\n\n getCompanies: (searchTerm = undefined) => ({\n type: CompanyTypes.GET_COMPANIES_REQUEST,\n payload: {\n searchTerm,\n },\n }),\n\n createAdditionalMessage: (payload) => ({\n type: CompanyTypes.POST_ADDITIONAL_MESSAGE,\n payload,\n }),\n\n createCompany: (data) => ({\n type: CompanyTypes.CREATE_COMPANY_REQUEST,\n payload: data,\n }),\n\n updateSelectedCompany: (data) => ({\n type: CompanyTypes.UPDATE_SELECTED_COMPANY_REQUEST,\n payload: data,\n }),\n\n updateCompany: (data) => ({\n type: CompanyTypes.UPDATE_COMPANY_REQUEST,\n payload: data,\n }),\n\n cancelCompanyEditing: () => ({\n type: CompanyTypes.CANCEL_COMPANY_EDITING,\n }),\n\n startCompanyEditing: (company) => ({\n type: CompanyTypes.START_COMPANY_EDITING,\n payload: company,\n }),\n\n createOrganization: (data) => ({\n type: CompanyTypes.CREATE_ORGANIZATION,\n payload: data,\n }),\n\n updateOrganization: (payload) => ({\n type: CompanyTypes.UPDATE_ORGANIZATION_REQUEST,\n payload,\n }),\n\n removeOrganization: (organization) => ({\n type: CompanyTypes.REMOVE_OGANIZATION,\n payload: organization,\n }),\n\n getOrganizations: (data) => ({\n type: CompanyTypes.GET_ORGANIZATIONS,\n payload: data,\n }),\n\n changePlan: (payload) => ({\n type: CompanyTypes.SET_PLAN_COMPANY,\n payload,\n }),\n\n updatePlan: (payload) => ({\n type: CompanyTypes.UPDATE_PLAN_COMPANY,\n payload,\n }),\n\n getHistoryActions: (payload) => ({\n type: CompanyTypes.GET_HISTORY_ACTIONS_REQUEST,\n payload,\n }),\n};\n","export const TemplateBotTypes = {\n CREATE_TEMPLATE_BOT: 'template-bot/CREATE_TEMPLATE_BOT',\n CREATE_TEMPLATE_BOT_SUCCESS: 'template-bot/CREATE_TEMPLATE_BOT_SUCCESS',\n UPDATE_TEMPLATE_BOT: 'template-bot/UPDATE_TEMPLATE_BOT',\n UPDATE_TEMPLATE_BOT_SUCCESS: 'template-bot/UPDATE_TEMPLATE_BOT_SUCCESS',\n UPDATE_TEMPLATE_BOT_DETAILS: 'template-bot/UPDATE_TEMPLATE_BOT_DETAILS',\n UPDATE_TEMPLATE_BOT_DETAILS_SUCCESS:\n 'template-bot/UPDATE_TEMPLATE_BOT_DETAILS_SUCCESS',\n GET_TEMPLATE_BOT: 'template-bot/GET_TEMPLATE_BOT',\n GET_TEMPLATE_BOT_SUCCESS: 'template-bot/GET_TEMPLATE_BOT_SUCCESS',\n GET_ALL_TEMPLATE_BOTS: 'template-bot/GET_ALL_TEMPLATE_BOTS',\n GET_ALL_TEMPLATE_BOTS_SUCCESS: 'template-bot/GET_ALL_TEMPLATE_BOTS_SUCCESS',\n GET_TEMPLATE_BOT_BY_ID: 'template-bot/GET_TEMPLATE_BOT_BY_ID',\n GET_TEMPLATE_BOT_BY_ID_SUCCESS: 'template-bot/GET_TEMPLATE_BOT_BY_ID_SUCCESS',\n EMPTY_TEMPLATE_BOT: 'template-bot/EMPTY_TEMPLATE_BOT',\n EMPTY_TEMPLATE_BOT_SUCCESS: 'template-bot/EMPTY_TEMPLATE_BOT_SUCCESS',\n SET_TEMPLATE_BOT_DATA: 'template-bot/SET_TEMPLATE_BOT_DATA',\n SET_TEMPLATE_BOT_DATA_SUCCESS: 'template-bot/SET_TEMPLATE_BOT_DATA_SUCCESS',\n DELETE_TEMPLATE_BOT: 'template-bot/DELETE_TEMPLATE_BOT',\n DELETE_TEMPLATE_BOT_SUCCESS: 'template-bot/DELETE_TEMPLATE_BOT_SUCCESS',\n};\n\nexport const createTemplateBot = (payload) => ({\n type: TemplateBotTypes.CREATE_TEMPLATE_BOT,\n payload,\n});\n\nexport const updateTemplateBot = (payload) => ({\n type: TemplateBotTypes.UPDATE_TEMPLATE_BOT,\n payload,\n});\n\nexport const updateTemplateBotDetails = (payload) => ({\n type: TemplateBotTypes.UPDATE_TEMPLATE_BOT_DETAILS,\n payload,\n});\n\nexport const emptyTemplateBot = (payload) => ({\n type: TemplateBotTypes.EMPTY_TEMPLATE_BOT,\n payload,\n});\n\nexport const getTemplateBot = (botId) => ({\n type: TemplateBotTypes.GET_TEMPLATE_BOT,\n payload: { botId },\n});\n\nexport const getTemplateBotById = (id) => ({\n type: TemplateBotTypes.GET_TEMPLATE_BOT_BY_ID,\n payload: { id },\n});\n\nexport const setTemplateBotData = (template) => ({\n type: TemplateBotTypes.SET_TEMPLATE_BOT_DATA,\n payload: template,\n});\n\nexport const getAllTemplatesBot = () => ({\n type: TemplateBotTypes.GET_ALL_TEMPLATE_BOTS,\n payload: {},\n});\n\nexport const deleteTemplateBot = (deletedTemplatesIds) => ({\n type: TemplateBotTypes.DELETE_TEMPLATE_BOT,\n payload: { deletedTemplatesIds },\n});\n","// extracted by mini-css-extract-plugin","export const ConnectorsTypes = {\n CREATE_CONNECTOR_REQUEST: 'connectors/CREATE_CONNECTOR_REQUEST',\n CREATE_VOICE_CONNECTOR_REQUEST: 'connectors/CREATE_VOICE_CONNECTOR_REQUEST',\n CREATE_CONNECTOR_SUCCESS: 'connectors/CREATE_CONNECTOR_SUCCESS',\n DELETE_CONNECTOR_REQUEST: 'connectors/DELETE_CONNECTOR_REQUEST',\n DELETE_CONNECTOR_SUCCESS: 'connectors/DELETE_CONNECTOR_SUCCESS',\n GET_CONNECTORS_REQUEST: 'connectors/GET_CONNECTORS_REQUEST',\n GET_CONNECTORS_SUCCESS: 'connectors/GET_CONNECTORS_SUCCESS',\n GET_CONNECTORS_SUBFLOW_REQUEST: 'connectors/GET_CONNECTORS_SUBFLOW_REQUEST',\n LIST_ALL_CONNECTORS_REQUEST: 'connectors/LIST_ALL_CONNECTORS_REQUEST',\n LIST_ALL_CONNECTORS_SUCCESS: 'connectors/LIST_ALL_CONNECTORS_SUCCESS',\n};\n\nexport const ConnectorsCreators = {\n createConnectorRequest: ({ from, to, botId, subflowFor }) => ({\n type: ConnectorsTypes.CREATE_CONNECTOR_REQUEST,\n payload: { from, to, botId, subflowFor },\n }),\n\n createVoiceConnectorRequest: ({ from, to, botId, voiceSettings }) => ({\n type: ConnectorsTypes.CREATE_VOICE_CONNECTOR_REQUEST,\n payload: { from, to, botId, voiceSettings },\n }),\n\n deleteConnectorRequest: (id, botId) => ({\n type: ConnectorsTypes.DELETE_CONNECTOR_REQUEST,\n payload: { id, botId },\n }),\n\n getConnectorsRequest: (botId) => ({\n type: ConnectorsTypes.GET_CONNECTORS_REQUEST,\n payload: { botId },\n }),\n\n getConnectorsSubflowRequest: (botId, itemId) => ({\n type: ConnectorsTypes.GET_CONNECTORS_SUBFLOW_REQUEST,\n payload: { botId, itemId },\n }),\n\n getAllConnectors: (payload) => ({\n type: ConnectorsTypes.LIST_ALL_CONNECTORS_REQUEST,\n payload,\n }),\n\n getAllConnectorsSuccess: (payload) => ({\n type: ConnectorsTypes.LIST_ALL_CONNECTORS_SUCCESS,\n payload,\n }),\n\n getConnectorsSuccess: (connectors) => ({\n type: ConnectorsTypes.GET_CONNECTORS_SUCCESS,\n payload: connectors,\n }),\n\n createConnectorsSuccess: (connector) => ({\n type: ConnectorsTypes.CREATE_CONNECTOR_SUCCESS,\n payload: connector,\n }),\n\n deleteConnectorSuccess: (id, botId) => ({\n type: ConnectorsTypes.DELETE_CONNECTOR_SUCCESS,\n payload: { id, botId },\n }),\n};\n","import i18n from 'i18next'\nimport {initReactI18next} from 'react-i18next'\n\nconst resourcePt = require('./i18n/pt/resource.json')\nconst resourceEn = require('./i18n/en/resource.json')\n\n// the translations\n// (tip move them in a JSON file and import them)\nconst resources = {\n pt: {\n translation: resourcePt\n },\n en: {\n translation: resourceEn\n }\n}\n\ni18n\n .use(initReactI18next) // passes i18n down to react-i18next\n .init({\n resources,\n lng: 'pt',\n\n keySeparator: false, // we do not use keys in form messages.welcome\n\n interpolation: {\n escapeValue: false // react already safes from xss\n }\n })\n\nexport default i18n\n","import Reactotron from 'reactotron-react-js';\r\nimport { reactotronRedux } from 'reactotron-redux';\r\nimport sagaPlugin from 'reactotron-redux-saga';\r\n\r\nif (process.env.NODE_ENV === 'development') {\r\n const tron = Reactotron.configure()\r\n .use(reactotronRedux())\r\n .use(sagaPlugin())\r\n .connect();\r\n\r\n tron.clear();\r\n\r\n console.tron = tron;\r\n}\r\n","import React, {useState} from 'react';\n// import {withRouter} from 'react-router-dom'\n\nconst Footer = props => {\n // console.log('Location: ', props.location.pathname)\n const [showFooter] = useState(false)\n return showFooter && \n};\n\nexport default Footer;\n","import React, { useLayoutEffect, lazy, Suspense } from 'react';\nimport './config/reactotron';\n\nimport './assets/css/styles.css';\nimport 'react-redux-toastr/lib/css/react-redux-toastr.min.css';\n\nimport { Provider } from 'react-redux';\nimport { BrowserRouter } from 'react-router-dom';\nimport ReduxToastr from 'react-redux-toastr';\n\nimport store from './store';\nimport Footer from './components/Footer';\n\nconst Routes = lazy(() => import('./routes'));\n\nconst App = () => {\n useLayoutEffect(() => {\n if (window.location.pathname?.includes('webchat')) return null;\n\n if (process.env.REACT_APP_ENVIRONMENT === 'PROD') {\n return window.location.replace('https://new.boteria.com.br/');\n }\n if (process.env.REACT_APP_ENVIRONMENT === 'TEST') {\n return window.location.replace('https://new.hmlbots.digitalcontact.cloud/');\n }\n return null;\n }, []);\n\n return (\n \n \n \n {' '}\n \n \n\n \n \n \n \n );\n};\n\nexport default App;\n","// eslint-disable-next-line no-unused-vars\n// import $ from 'jquery';\nimport 'popper.js';\nimport 'bootstrap';\nimport 'bootstrap/dist/css/bootstrap.min.css';\nimport 'typeface-roboto';\n\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport './i18n';\nimport App from './app';\n\nReactDOM.render(, document.getElementById('root'));\n","export const UserTypes = {\n GET_USERS: 'user/GET_USERS',\n GET_USERS_SUCCESS: 'user/GET_USERS_SUCCESS',\n CREATE_USER: 'user/CREATE_USER',\n CREATE_USER_SUCCESS: 'user/CREATE_USER_SUCCESS',\n UPDATE_SIGNED_USER_STATE: 'user/UPDATE_SIGNED_USER_STATE',\n UPDATE_USER: 'user/UPDATE_USER',\n UPDATE_USER_SUCCESS: 'user/UPDATE_USER_SUCCESS',\n GET_ME: 'user/GET_ME',\n GET_ME_SUCCESS: 'user/GET_ME_SUCCESS',\n SELECT_ORGANIZATION: 'user/SELECT_ORGANIZATION',\n SELECT_ORGANIZATION_SUCCESS: 'user/SELECT_ORGANIZATION_SUCCESS',\n SELECT_COMPANY_ORGANIZATION: 'user/SELECT_COMPANY_ORGANIZATION',\n SELECT_COMPANY_ORGANIZATION_SUCCESS:\n 'user/SELECT_COMPANY_ORGANIZATION_SUCCESS',\n};\n\nexport const UserActions = {\n getUsers: (searchTerm = undefined) => ({\n type: UserTypes.GET_USERS,\n payload: {\n searchTerm,\n },\n }),\n\n createUser: (data) => ({\n type: UserTypes.CREATE_USER,\n payload: data,\n }),\n\n updateUser: (data) => ({\n type: UserTypes.UPDATE_USER,\n payload: data,\n }),\n\n updateSignedUserState: (user) => ({\n type: UserTypes.UPDATE_SIGNED_USER_STATE,\n payload: { user },\n }),\n\n me: () => ({\n type: UserTypes.GET_ME,\n }),\n\n selectOrganization: (organizationId) => ({\n type: UserTypes.SELECT_ORGANIZATION,\n payload: {\n selectedOrganization: organizationId,\n },\n }),\n\n selectCompanyOrganization: (companyId, organizationId, userIsRoot) => ({\n type: UserTypes.SELECT_COMPANY_ORGANIZATION,\n payload: {\n selectedCompany: companyId,\n selectedOrganization: organizationId,\n userIsRoot,\n },\n }),\n};\n","export const TriggerTypes = {\n LOAD: '@triggers/LOAD',\n LOAD_SUCCESS: '@triggers/LOAD_SUCCESS',\n CHANGE_ACTIVATOR: '@triggers/CHANGE_ACTIVATOR',\n REMOVE_TRIGGER: '@triggers/REMOVE_TRIGGER',\n CHANGE_ACTION: '@triggers/CHANGE_ACTION',\n ADD_TRIGGER_WORD: '@triggers/ADD_TRIGGER_WORD',\n UPDATE_MESSAGE: '@triggers/UPDATE_MESSAGE',\n REMOVE_WORD: '@triggers/REMOVE_WORD',\n UPDATE_INACTIVITY_TIME: '@triggers/UPDATE_INACTIVITY_TIME',\n UPDATE_TIME_WITHOUT_RESPONSE: '@triggers/UPDATE_TIME_WITHOUT_RESPONSE',\n UPDATE_SQUARE: '@triggers/UPDATE_SQUARE',\n SAVE_BOT_TRIGGERS: '@triggers/SAVE_BOT_TRIGGERS',\n CREATE_EMPTY_TRIGGER: '@triggers/CREATE_EMPTY_TRIGGER',\n};\n\nexport const TriggerActions = {\n load: (botId) => ({\n type: TriggerTypes.LOAD,\n payload: { botId },\n }),\n\n loadSucces: (payload) => ({\n type: TriggerTypes.LOAD_SUCCESS,\n payload,\n }),\n\n changeActivator: (triggerId, activator) => ({\n type: TriggerTypes.CHANGE_ACTIVATOR,\n payload: { triggerId, activator },\n }),\n\n deleteTrigger: (triggerId) => ({\n type: TriggerTypes.REMOVE_TRIGGER,\n payload: { triggerId },\n }),\n\n changeAction: (triggerId, action) => ({\n type: TriggerTypes.CHANGE_ACTION,\n payload: { triggerId, action },\n }),\n\n addTriggerWord: (triggerId, word) => ({\n type: TriggerTypes.ADD_TRIGGER_WORD,\n payload: { triggerId, word },\n }),\n\n updateMessage: (triggerId, message) => ({\n type: TriggerTypes.UPDATE_MESSAGE,\n payload: { triggerId, message },\n }),\n\n removeWord: (triggerId, wordArray) => ({\n type: TriggerTypes.REMOVE_WORD,\n payload: { triggerId, wordArray },\n }),\n\n updateInactivityTime: (triggerId, time) => ({\n type: TriggerTypes.UPDATE_INACTIVITY_TIME,\n payload: { triggerId, time },\n }),\n\n updateTimeWithoutResponse: (time) => ({\n type: TriggerTypes.UPDATE_TIME_WITHOUT_RESPONSE,\n payload: { time },\n }),\n\n updateSquare: (triggerId, squareId) => ({\n type: TriggerTypes.UPDATE_SQUARE,\n payload: { triggerId, squareId },\n }),\n\n saveBotTriggers: (botId, triggers, maxTimeWithoutResponse) => ({\n type: TriggerTypes.SAVE_BOT_TRIGGERS,\n payload: { botId, triggers, maxTimeWithoutResponse },\n }),\n\n createEmptyTrigger: (objectId) => ({\n type: TriggerTypes.CREATE_EMPTY_TRIGGER,\n payload: {\n _id: objectId,\n receivedValues: [],\n inactivityTime: '',\n activator: '',\n action: 'message',\n message: '',\n square: '',\n version: 0,\n },\n }),\n};\n","export const VoiceBotsTtsTypes = {\n GENERATE_TTS_REQUEST: 'voice-bots-tts/GENERATE_TTS_REQUEST',\n GENERATE_TTS_SUCCESS: 'voice-bots-tts/GENERATE_TTS_SUCCESS',\n GENERATE_TTS_FAILED: 'voice-bots-tts/GENERATE_TTS_FAILED',\n SET_TTS_AUDIO_URL: 'voice-bots-tts/SET_TTS_AUDIO_URL',\n\n FETCH_AUDIOS_REQUEST: 'voice-bots-tts/FETCH_AUDIOS_REQUEST',\n FETCH_AUDIOS_SUCCESS: 'voice-bots-tts/FETCH_AUDIOS_SUCCESS',\n\n UPLOAD_AUDIOS_REQUEST: 'voice-bots-tts/UPLOAD_AUDIOS_REQUEST',\n UPLOAD_AUDIOS_SUCCESS: 'voice-bots-tts/UPLOAD_AUDIOS_SUCCESS',\n\n DELETE_AUDIO_REQUEST: 'voice-bots-tts/DELETE_AUDIO_REQUEST',\n DELETE_AUDIO_SUCCESS: 'voice-bots-tts/DELETE_AUDIO_SUCCESS',\n};\n\nexport const generateTtsRequest = ({ text, idProject, idIvrVoice }) => ({\n type: VoiceBotsTtsTypes.GENERATE_TTS_REQUEST,\n payload: { text, idProject, idIvrVoice },\n});\nexport const generateTtsSuccess = ({ audioUrl }) => ({\n type: VoiceBotsTtsTypes.GENERATE_TTS_SUCCESS,\n payload: { audioUrl },\n});\nexport const generateTtsFailed = () => ({\n type: VoiceBotsTtsTypes.GENERATE_TTS_FAILED,\n});\n\nexport const setTtsAudioUrl = (url) => ({\n type: VoiceBotsTtsTypes.SET_TTS_AUDIO_URL,\n payload: { url },\n});\n\nexport const fetchAudiosRequest = ({ botId }) => ({\n type: VoiceBotsTtsTypes.FETCH_AUDIOS_REQUEST,\n payload: { botId },\n});\nexport const fetchAudiosSuccess = ({ audios }) => ({\n type: VoiceBotsTtsTypes.FETCH_AUDIOS_SUCCESS,\n payload: { audios },\n});\n\nexport const uploadAudiosRequest = (payload) => ({\n type: VoiceBotsTtsTypes.UPLOAD_AUDIOS_REQUEST,\n payload,\n});\nexport const uploadAudiosSuccess = ({ audios }) => ({\n type: VoiceBotsTtsTypes.UPLOAD_AUDIOS_SUCCESS,\n payload: { audios },\n});\n\nexport const deleteAudioRequest = ({ _id }) => ({\n type: VoiceBotsTtsTypes.DELETE_AUDIO_REQUEST,\n payload: { _id },\n});\nexport const deleteAudioSuccess = ({ _id }) => ({\n type: VoiceBotsTtsTypes.DELETE_AUDIO_SUCCESS,\n payload: { _id },\n});\n","export const DebounceTypes = {\n ADD_ITEM_DEBOUNCE: 'debounce/ADD_ITEM_DEBOUNCE',\n DELETE_ITEM_DEBOUNCE: 'debounce/DELETE_ITEM_DEBOUNCE',\n UPDATE_ITEM_DEBOUNCE: 'debounce/UPDATE_ITEM_DEBOUNCE',\n EXECUTE_DEBOUNCE: 'debounce/EXECUTE_DEBOUNCE',\n CLEAR_DEBOUNCE: 'debounce/CLEAR_DEBOUNCE',\n SET_TIME: 'debounce/SET_TIME_DEBOUNCE',\n};\n\nexport const DebounceCreators = {\n addItemDebounce: (payload) => ({\n type: DebounceTypes.ADD_ITEM_DEBOUNCE,\n payload,\n }),\n\n deleteItemDebounce: (payload) => ({\n type: DebounceTypes.DELETE_ITEM_DEBOUNCE,\n payload,\n }),\n\n updateItemDebounce: (payload) => ({\n type: DebounceTypes.UPDATE_ITEM_DEBOUNCE,\n payload,\n }),\n\n executeDebounce: (payload) => ({\n type: DebounceTypes.EXECUTE_DEBOUNCE,\n payload,\n }),\n\n clearDebounce: () => ({\n type: DebounceTypes.CLEAR_DEBOUNCE,\n }),\n\n setTimeDebounce: (payload) => ({\n type: DebounceTypes.SET_TIME,\n payload,\n }),\n};\n","export const VariableTypes = {\n LIST: 'variable/LIST',\n LIST_SUCCESS: 'variable/LIST_SUCCESS',\n CREATE: 'variable/CREATE',\n CREATE_SUCCESS: 'variable/CREATE_SUCCESS',\n EDIT: 'variable/EDIT',\n EDIT_SUCCESS: 'variable/EDIT_SUCCESS',\n REMOVE: 'variable/REMOVE',\n REMOVE_SUCCESS: 'variable/REMOVE_SUCCESS',\n};\n\nexport const VariableActions = {\n list: ({ botId }) => {\n return {\n type: VariableTypes.LIST,\n payload: { botId },\n };\n },\n\n create: (data) => {\n return {\n type: VariableTypes.CREATE,\n payload: data,\n };\n },\n\n edit: (data) => {\n return {\n type: VariableTypes.EDIT,\n payload: data,\n };\n },\n\n remove: ({ id }) => {\n return {\n type: VariableTypes.REMOVE,\n payload: { id },\n };\n },\n};\n","export const TagTypes = {\n LIST: 'tags/LIST',\n LIST_SUCCESS: 'tags/LIST_SUCCESS',\n CREATE: 'tags/CREATE',\n CREATE_SUCCESS: 'tags/CREATE_SUCCESS',\n EDIT: 'tags/EDIT',\n EDIT_SUCCESS: 'tags/EDIT_SUCCESS',\n REMOVE: 'tags/REMOVE',\n REMOVE_SUCCESS: 'tags/REMOVE_SUCCESS',\n};\n\nexport const TagActions = {\n list: ({ botId }) => {\n return {\n type: TagTypes.LIST,\n payload: { botId },\n };\n },\n\n create: (data) => {\n return {\n type: TagTypes.CREATE,\n payload: data,\n };\n },\n\n edit: (data) => {\n return {\n type: TagTypes.EDIT,\n payload: data,\n };\n },\n\n remove: ({ id }) => {\n return {\n type: TagTypes.REMOVE,\n payload: { id },\n };\n },\n};\n","export const ValidationType = {\n Any: 0,\n Email: 1,\n Date: 2,\n Cellphone: 3,\n Url: 4,\n Number: 5,\n RegularExpression: 6,\n CPF: 7,\n CNPJ: 8,\n Localization: 9,\n};\n\nexport const ValidationTypeName = [\n 'Qualquer Coisa',\n 'Email',\n 'Data',\n 'Telefone',\n 'Url',\n 'Número',\n 'Expressão Regular',\n 'CPF',\n 'CNPJ',\n 'Localização',\n];\n\nexport const ValidationTypeIcon = [\n 'qualquer_coisa',\n 'email',\n 'data',\n 'celular',\n 'url',\n 'numero',\n 'expressao',\n 'cpf',\n 'cnpj',\n 'localizacao',\n];\n\nexport const ValidationTypeExp = [\n '',\n '^[^\\\\s@]+@[^\\\\s@]+\\\\.[^\\\\s@]+$', // flags 'i'\n '^(0?[1-9]|[12][0-9]|3[01])[\\\\/\\\\-](0?[1-9]|1[012])[\\\\/\\\\-]\\\\d{4}$', // flags 'i'\n '^[\\\\+]?[(]?[0-9]{2,3}[)]?[-\\\\s\\\\.]?[0-9]{3,5}[-\\\\s\\\\.]?[0-9]{4,6}$', // flags 'im'\n '(http(s)?:\\\\/\\\\/.)?(www\\\\.)?[-a-zA-Z0-9@:%._\\\\+~#=]{2,256}\\\\.[a-z]{2,6}\\\\b([-a-zA-Z0-9@:%_\\\\+.~#?&//=]*)', // flags 'g'\n '^\\\\d*$', // flags 'i'\n undefined,\n undefined,\n undefined,\n];\n\nexport const ValidationTypeExpFlags = ['', 'i', 'i', 'im', 'g', 'i', 'i'];\n","export const PlanTypes = {\n GET_PLANS_REQUEST: 'plan/GET_PLANS_REQUEST',\n GET_PLANS_REQUEST_SUCCESS: 'plan/GET_PLANS_REQUEST_SUCCESS',\n GET_HISTORY_COMPANY_PLAN_REQUEST: 'plan/GET_HISTORY_COMPANY_PLAN_REQUEST',\n GET_HISTORY_COMPANY_PLAN_REQUEST_SUCCESS:\n 'plan/GET_HISTORY_COMPANY_PLAN_REQUEST_SUCCESS',\n PUT_ALERTS: 'plan/PUT_ALERTS',\n PUT_ALERTS_SUCCESS: 'plan/PUT_ALERTS_SUCCESS',\n POST_ADDITIONAL_MESSAGE: 'plan/POST_ADDITIONAL_MESSAGE',\n POST_ADDITIONAL_MESSAGE_SUCCESS: 'plan/POST_ADDITIONAL_MESSAGE_SUCCESS',\n POST_NEW_PLAN: 'plan/POST_NEW_PLAN',\n POST_NEW_PLAN_SUCCESS: 'plan/POST_NEW_PLAN_SUCCESS',\n\n GET_PLAN_CONSUMPTION: 'plan/GET_PLAN_CONSUMPTION',\n GET_PLAN_CONSUMPTION_SUCCESS: 'plan/GET_PLAN_CONSUMPTION_SUCCESS',\n};\n\nexport const PlanActions = {\n getPlans: () => ({\n type: PlanTypes.GET_PLANS_REQUEST,\n }),\n\n getHistoryCompanyPlan: (payload) => ({\n type: PlanTypes.GET_HISTORY_COMPANY_PLAN_REQUEST,\n payload,\n }),\n\n editAlert: (payload) => ({\n type: PlanTypes.PUT_ALERTS,\n payload,\n }),\n\n getPlanConsumption: (payload) => ({\n type: PlanTypes.GET_PLAN_CONSUMPTION,\n payload,\n }),\n};\n","export const RdStationTypes = {\n GET_FIELDS_REQUEST: 'rd-station/GET_FIELDS_REQUEST',\n GET_FIELDS_SUCCESS: 'rd-station/GET_FIELDS_SUCCESS',\n RD_STATION_LOGIN: 'rd-station/RD_STATION_LOGIN',\n GENERATE_ACCESS_TOKEN_REQUEST: 'rd-station/GENERATE_ACCESS_TOKEN_REQUEST',\n GENERATE_ACCESS_TOKEN_SUCCESS: 'rd-station/GENERATE_ACCESS_TOKEN_SUCCESS',\n REMOVE_ACCESS_TOKEN_REQUEST: 'rd-station/REMOVE_ACCESS_TOKEN_REQUEST',\n RESET_AUTH_DATA: 'rd-station/RESET_AUTH_DATA',\n};\n\nexport const rdStationLogin = () => ({\n type: RdStationTypes.RD_STATION_LOGIN,\n payload: null,\n});\n\nexport const generateAccessToken = (payload) => ({\n type: RdStationTypes.GENERATE_ACCESS_TOKEN_REQUEST,\n payload,\n});\n\nexport const generateAccessTokenSuccess = (payload) => ({\n type: RdStationTypes.GENERATE_ACCESS_TOKEN_REQUEST,\n payload,\n});\n\nexport const deleteAccessToken = (payload) => ({\n type: RdStationTypes.REMOVE_ACCESS_TOKEN_REQUEST,\n payload,\n});\n\nexport const getFields = (params) => ({\n type: RdStationTypes.GET_FIELDS_REQUEST,\n payload: { ...params },\n});\n\nexport const getFieldsSuccess = (customFields) => ({\n type: RdStationTypes.GET_FIELDS_SUCCESS,\n payload: customFields,\n});\n\nexport const resetAuthData = () => ({\n type: RdStationTypes.RESET_AUTH_DATA,\n payload: null,\n});\n","export const IaReportTypes = {\n GET_NOT_UNDERSTOOD_INTENTIONS: 'iaReports/GET_NOT_UNDERSTOOD_INTENTIONS',\n GET_NOT_UNDERSTOOD_INTENTIONS_SUCCESS:\n 'iaReports/GET_NOT_UNDERSTOOD_INTENTIONS_SUCCESS',\n GET_USE_OF_INTENTIONS: 'iaReports/GET_USE_OF_INTENTIONS',\n GET_USE_OF_INTENTIONS_SUCCESS: 'iaReports/GET_USE_OF_INTENTIONS_SUCCESS',\n GET_PERFORMANCE_OF_INTENTIONS: 'iaReports/GET_PERFORMANCE_OF_INTENTIONS',\n GET_PERFORMANCE_OF_INTENTIONS_SUCCESS:\n 'iaReports/GET_PERFORMANCE_OF_INTENTIONS_SUCCESS',\n};\n\nexport const IaReportAction = {\n getNotUnderstoodIntentions: (payload) => ({\n type: IaReportTypes.GET_NOT_UNDERSTOOD_INTENTIONS,\n payload,\n }),\n\n getNotUnderstoodIntentionsSuccess: (payload) => ({\n type: IaReportTypes.GET_NOT_UNDERSTOOD_INTENTIONS_SUCCESS,\n payload,\n }),\n\n getUseOfIntentions: (payload) => ({\n type: IaReportTypes.GET_USE_OF_INTENTIONS,\n payload,\n }),\n\n getUseOfIntentionsSuccess: (payload) => ({\n type: IaReportTypes.GET_USE_OF_INTENTIONS_SUCCESS,\n payload,\n }),\n\n getPerformanceOfIntentions: (payload) => ({\n type: IaReportTypes.GET_PERFORMANCE_OF_INTENTIONS,\n payload,\n }),\n\n getPerformanceOfIntentionsSuccess: (payload) => ({\n type: IaReportTypes.GET_PERFORMANCE_OF_INTENTIONS_SUCCESS,\n payload,\n }),\n};\n","import axios from 'axios';\n\nexport const API_TOKEN = 'API_TOKEN';\n\nconst url = process.env.REACT_APP_API_URL || 'http://localhost:3333';\n\naxios.defaults.baseURL = `${url}/api`;\n\nexport const AxiosWithInterceptors = axios.create({\n timeout: 10000,\n headers: {\n common: { authorization: `Bearer ${localStorage.getItem(API_TOKEN)}` },\n 'Access-Control-Allow-Origin': '*',\n 'Access-Control-Allow-Methods': 'GET,PUT,POST,DELETE,PATCH,OPTIONS',\n 'Access-Control-Allow-Headers':\n 'Origin, X-Requested-With, Content-Type, Accept',\n },\n});\n\nAxiosWithInterceptors.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error?.response?.status === 401) {\n localStorage.removeItem(API_TOKEN);\n window.location.reload();\n }\n return Promise.reject(error);\n }\n);\n\nexport const AxiosWithoutInterceptors = axios.create();\n\nexport default AxiosWithInterceptors;\n","export const newBotTypes = {\n SET_NEW_BOT_CURRENT_TEMPLATE_BOT_TESTING:\n 'bot/SET_NEW_BOT_CURRENT_TEMPLATE_BOT_TESTING',\n SET_NEW_BOT_CURRENT_TEMPLATE_BOT_TESTING_SUCCESS:\n 'bot/SET_NEW_BOT_CURRENT_TEMPLATE_BOT_TESTING_SUCCESS',\n SET_NEW_BOT_TEMPLATE_BOT_SELECTED: 'bot/SET_NEW_BOT_TEMPLATE_BOT_SELECTED',\n SET_NEW_BOT_TEMPLATE_BOT_SELECTED_SUCCESS:\n 'bot/SET_NEW_BOT_TEMPLATE_BOT_SELECTED_SUCCESS',\n PUSH_TO_CREATE_BOT: 'bot/PUSH_TO_CREATE_BOT',\n};\n\nexport const setCurrentTemplateBotTesting = (newCurrentTemplateBot) => ({\n type: newBotTypes.SET_NEW_BOT_CURRENT_TEMPLATE_BOT_TESTING,\n payload: { ...newCurrentTemplateBot },\n});\n\nexport const setCurrentTemplateBotSelected = (newTemplateBot) => ({\n type: newBotTypes.SET_NEW_BOT_TEMPLATE_BOT_SELECTED,\n payload: { ...newTemplateBot },\n});\n\nexport const pushToCreateBot = () => ({\n type: newBotTypes.PUSH_TO_CREATE_BOT,\n payload: {},\n});\n","export const facebookMessengerTypes = {\n SET_FB_AUTH_STATE: 'SET_FB_AUTH_STATE',\n SET_FB_AUTH_STATE_SUCCESS: 'SET_FB_AUTH_STATE_SUCCESS',\n SET_FB_SELECTED_PAGE: 'SET_FB_SELECTED_PAGE',\n SET_FB_SELECTED_PAGE_SUCCESS: 'SET_FB_SELECTED_PAGE_SUCCESS',\n};\n\nexport const setAuthState = (newAuthState) => ({\n type: facebookMessengerTypes.SET_FB_AUTH_STATE,\n payload: { ...newAuthState },\n});\n\nexport const setSelectedFacebookPage = (newSelectedFacebookPage) => ({\n type: facebookMessengerTypes.SET_FB_SELECTED_PAGE,\n payload: { ...newSelectedFacebookPage },\n});\n","export const FilterTypes = {\n LIST_FILTER_INFO: 'bot/LIST_FILTER_INFO',\n LIST_FILTER_INFO_SUCCESS: 'bot/LIST_FILTER_INFO_SUCCESS',\n FILTER_RELATORIO_INFO: 'bot/FILTER_RELATORIO_INFO',\n FILTER_RELATORIO_INFO_SUCCESS: 'bot/FILTER_RELATORIO_INFO_SUCCESS',\n};\n\nexport const FilterCreators = {\n infoStateFilter: (\n startDate,\n endDate,\n vlSelect,\n tags,\n nameTags,\n channels,\n variables\n ) => ({\n type: FilterTypes.LIST_FILTER_INFO,\n payload: {\n startDate,\n endDate,\n vlSelect,\n tags,\n nameTags,\n channels,\n variables,\n },\n }),\n\n relatorioFilterInfo: (dateFilter) => ({\n type: FilterTypes.FILTER_RELATORIO_INFO,\n payload: {\n dateFilter,\n },\n }),\n};\n","export const NotificationTypes = {\n LIST: 'notification/LIST',\n LIST_SUCCESS: 'notification/LIST_SUCCESS',\n UPDATE_STATUS: 'notification/UPDATE_STATUS',\n UPDATE_STATUS_SUCCESS: 'notification/UPDATE_STATUS_SUCCESS',\n};\n\nexport const NotificationActions = {\n list: ({ companyId, page }) => {\n return {\n type: NotificationTypes.LIST,\n payload: { companyId, page },\n };\n },\n\n updateStatus: ({ id }) => {\n return {\n type: NotificationTypes.UPDATE_STATUS,\n payload: { id },\n };\n },\n};\n","export const commonActions = {\n LOADING: 'common/LOADING',\n LOADING_START: 'common/LOADING_START',\n LOADING_FINISH: 'common/LOADING_FINISH',\n};\n\nexport const setLoading = (loading) => ({\n type: commonActions.LOADING,\n payload: {\n loading,\n },\n});\n\nexport const commonLoadingStart = () => ({\n type: commonActions.LOADING_START,\n});\nexport const commonLoadingFinish = () => ({\n type: commonActions.LOADING_FINISH,\n});\n","export const PreviewBotTypes = Object.freeze({\n previewSendUserMessage: 'bot/PREVIEW_SEND_NEW_MESSAGE',\n previewSendUserMessageFile: 'bot/PREVIEW_SEND_NEW_MESSAGE_FILE',\n previewSendUserMessageFileProgress: 'bot/PREVIEW_SEND_NEW_MESSAGE_FILE_PROGRESS',\n previewSendBotMessage: 'bot/PREVIEW_SEND_BOT_MESSAGE',\n previewSendBotTypping: 'bot/PREVIEW_SEND_BOT_TYPPING',\n previewSendBotPrepareNextMessage: 'bot/previewSendBotPrepareNextMessage',\n previewSendBotTyppingStop: 'bot/PREVIEW_SEND_BOT_TYPPING_STOP',\n previewResetMessages: 'bot/PREVIEW_RESET_MESSAGES',\n previewSetStateMachine: 'bot/PREVIEW_SET_STATE_MACHINE',\n previewOpen: 'bot/PREVIEW_OPEN',\n previewDispose: 'bot/PREVIEW_DISPOSE',\n previewStart: 'bot/PREVIEW_START',\n previewNextStatePreview: 'bot/PREVIEW_NEXT_STATE',\n});\n\nexport const previewBot = {\n sendUserMessage: (from, message) => ({\n type: '',\n // type: PreviewBotTypes.previewSendUserMessage,\n payload: { from, message }\n }),\n\n sendUserFileMessage: (from, file, message) => ({\n type: '',\n // type: PreviewBotTypes.previewSendUserMessageFile,\n payload: { from, file, message }\n }),\n\n sendBotMessage: () => ({\n type: '',\n // type: PreviewBotTypes.previewSendBotMessage,\n payload: null\n }),\n openPreviewBot: () => ({\n // type: '',\n type: PreviewBotTypes.previewOpen,\n payload: null,\n }),\n closeBot: () => ({\n // type: '',\n type: PreviewBotTypes.previewDispose,\n payload: null,\n }),\n startTest: (items) => ({\n // type: '',\n type: PreviewBotTypes.previewStart,\n payload: items,\n }),\n setStateMachine: (items) => ({\n // type: '',\n type: PreviewBotTypes.previewStart,\n payload: items,\n }),\n resetMessages: () => ({\n type: '',\n // type: PreviewBotTypes.previewResetMessages,\n payload: null\n }),\n nextStatePreview: () => ({\n type: '',\n // type: PreviewBotTypes.previewNextStatePreview,\n payload: null,\n }),\n};\n","export const BotCreatorTypes = {\n CHANGE_CONNECTORS_ON_ERROR: 'bot-creator/CHANGE_CONNECTORS_ON_ERROR',\n SET_ITEMS_ON_ERROR: 'bot-creator/SET_ITEMS_ON_ERROR',\n REMOVE_ITEMS_ON_ERROR: 'bot-creator/REMOVE_ITEMS_ON_ERROR',\n RESET_BOT_CREATOR: 'bot-creator/RESET_BOT_CREATOR',\n RESET_FLOW_PATH: 'bot-creator/RESET_FLOW_PATH',\n};\n\nexport const changeConnectorsOnError = (payload) => ({\n type: BotCreatorTypes.CHANGE_CONNECTORS_ON_ERROR,\n payload,\n});\n\nexport const setItemsOnError = (payload) => ({\n type: BotCreatorTypes.SET_ITEMS_ON_ERROR,\n payload,\n});\n\nexport const removeItemsOnError = (id) => ({\n type: BotCreatorTypes.REMOVE_ITEMS_ON_ERROR,\n payload: { id },\n});\n\nexport const resetBotCreator = () => ({\n type: BotCreatorTypes.RESET_BOT_CREATOR,\n});\n\nexport const resetFlowPath = (data) => ({\n type: BotCreatorTypes.RESET_FLOW_PATH,\n payload: data,\n});\n","export const PermissionTypes = {\n GET_PERMISSIONS: 'permission/GET_PERMISSIONS',\n GET_PERMISSIONS_SUCCESS: 'permission/GET_PERMISSIONS_SUCCESS',\n UPDATE_PERMISSION: 'permission/UPDATE_PERMISSION',\n UPDATE_PERMISSION_SUCCESS: 'permission/UPDATE_PERMISSION_SUCCESS'\n}\n\nexport const PermissionActions = {\n\n getPermissions: () => ({\n type: PermissionTypes.GET_PERMISSIONS\n }),\n\n updatePermission: (data) => ({\n type: PermissionTypes.UPDATE_PERMISSION,\n payload: data,\n }),\n\n}\n","export const registerFromTypes = {\n GET_REGISTERS_REQUEST: 'registerFrom/GET_REGISTERS_REQUEST',\n GET_REGISTERS_SUCCESS: 'registerFrom/GET_REGISTERS_SUCCESS',\n};\n\nexport const getRegisters = () => ({\n type: registerFromTypes.GET_REGISTERS_REQUEST,\n payload: null,\n});\n\nexport const getRegistersSuccess = (registers) => ({\n type: registerFromTypes.GET_REGISTERS_SUCCESS,\n payload: registers,\n});\n","import { createBrowserHistory } from 'history';\n\nconst history = createBrowserHistory();\n\nexport default history;\n","export const BotsTypes = {\n RETRIEVE_BOT_REQUEST: 'bot/RETRIEVE_BOT_REQUEST',\n RETRIEVE_BOT_SUCCESS: 'bot/RETRIEVE_BOT_SUCCESS',\n LIST_BOTS_REQUEST: 'bot/LIST_BOTS_REQUEST',\n LIST_BOTS_SUCCESS: 'bot/LIST_BOTS_SUCCESS',\n NEW_BOT_REQUEST: 'bot/NEW_BOT_REQUEST',\n NEW_BOT_SUCCESS: 'bot/NEW_BOT_SUCCESS',\n NEW_VOICE_BOT_REQUEST: 'bot/NEW_VOICE_BOT_REQUEST',\n REMOVE_BOT_REQUEST: 'bot/REMOVE_BOT_REQUEST',\n REMOVE_VOICE_BOT_REQUEST: 'bot/REMOVE_VOICE_BOT_REQUEST',\n REMOVE_BOT_SUCCESS: 'bot/REMOVE_BOT_SUCCESS',\n CLONE_VOICE_BOT_REQUEST: 'bot/CLONE_VOICE_BOT_REQUEST',\n CLONE_VOICE_BOT_SUCCESS: 'bot/CLONE_VOICE_BOT_SUCCESS',\n CREATOR_BOT_REQUEST: 'bot/CREATOR_BOT_REQUEST',\n CREATOR_BOT_SUCCESS: 'bot/CREATOR_BOT_SUCCESS',\n EDIT_TITLE_BOT_REQUEST: 'bot/EDIT_TITLE_BOT_REQUEST',\n EDIT_TITLE_BOT_SUCCESS: 'bot/EDIT_TITLE_BOT_SUCCESS',\n CHANNELS_BOT_REQUEST: 'bot/CHANNELS_BOT_REQUEST',\n SAVE_VIEW_POSITION_BOT: 'bot/SAVE_VIEW_POSITION_BOT',\n PUBLISH_WIDGET_HTML: 'bot/PUBLISH_WIDGET_HTML',\n PUBLISH_WIDGET_HTML_SUCCESS: 'bot/PUBLISH_WIDGET_HTML_SUCCESS',\n SAVE_WIDGET_HTML: 'bot/SAVE_WIDGET_HTML',\n SAVE_WIDGET_HTML_SUCCESS: 'bot/SAVE_WIDGET_HTML_SUCCESS',\n SAVE_ROOT_ITEM: 'bot/SAVE_ROOT_ITEM',\n SAVE_ROOT_ITEM_SUCCESS: 'bot/SAVE_ROOT_ITEM_SUCCESS',\n UPDATE_BOT_REQUEST: 'bot/UPDATE_BOT_REQUEST',\n UPDATE_BOT_SUCCESS: 'bot/UPDATE_BOT_SUCCESS',\n UPDATE_VOICE_BOT_REQUEST: 'bot/UPDATE_VOICE_BOT_REQUEST',\n UPDATE_VOICE_BOT_SUCCESS: 'bot/UPDATE_VOICE_BOT_SUCCESS',\n HISTORY_BOT_MESSAGE: 'bot/HISTORY_BOT_MESSAGE',\n HISTORY_BOT_MESSAGE_SUCCESS: 'bot/HISTORY_BOT_MESSAGE_SUCCESS',\n CLEAR_HISTORY_BOT_MESSAGE: 'bot/CLEAR_HISTORY_BOT_MESSAGE',\n CLEAR_HISTORY_BOT_FILTER_SESSIONS: 'bot/CLEAR_HISTORY_BOT_FILTER_SESSIONS',\n HISTORY_BOT_FILTER_SESSIONS: 'bot/HISTORY_BOT_FILTER_SESSIONS',\n HISTORY_BOT_FILTER_SESSIONS_SUCCESS:\n 'bot/HISTORY_BOT_FILTER_SESSIONS_SUCCESS',\n HISTORY_BOT_FILTER_DASHBOARD: 'bot/HISTORY_BOT_FILTER_DASHBOARD',\n HISTORY_BOT_FILTER_DASHBOARD_SUCCESS:\n 'bot/HISTORY_BOT_FILTER_DASHBOARD_SUCCESS',\n HISTORY_BOT_FILTER_SESSIONS_SEARCH_SUCCESS:\n 'bot/HISTORY_BOT_FILTER_SESSIONS_SEARCH_SUCCESS',\n BOT_UPDATE_DATE: 'bot/BOT_UPDATE_DATE',\n UPDATE_BOT_HUMAN_ATTENDANCE_REQUEST:\n 'bot/UPDATE_BOT_HUMAN_ATTENDENCE_REQUEST',\n GET_QUEUE_ATTENDANCE: 'bot/GET_QUEUE_ATTENDANCE',\n SET_QUEUE_ATTENDANCE: 'bot/SET_QUEUE_ATTENDANCE',\n UPDATE_BOT_STATUS: 'bot/UPDATE_BOT_STATUS',\n UPDATE_BOT_IA_STATUS: 'bot/UPDATE_BOT_IA_STATUS',\n BOT_COLLECT_DATA_COUNT: 'bot/BOT_COLLECT_DATA_COUNT',\n BOT_COLLECT_DATA_COUNT_SUCCESS: 'bot/BOT_COLLECT_DATA_COUNT_SUCCESS',\n BOT_COLLECT_DATA_CSV: 'bot/BOT_COLLECT_DATA_CSV',\n BOT_COLLECT_DATA_CSV_RESET: 'bot/BOT_COLLECT_DATA_CSV_RESET',\n BOT_COLLECT_DATA_CSV_RESET_SUCCESS: 'bot/BOT_COLLECT_DATA_CSV_RESET_SUCCESS',\n BOT_COLLECT_DATA_COUNT_RESET: 'bot/BOT_COLLECT_DATA_COUNT_RESET',\n BOT_COLLECT_DATA_COUNT_RESET_SUCCESS:\n 'bot/BOT_COLLECT_DATA_COUNT_RESET_SUCCESS',\n OPEN_NEW_BOT_PAGE: 'bot/OPEN_NEW_BOT_PAGE',\n LIST_TEMPLATES_BOT: 'bot/LIST_TEMPLATES_BOT',\n LIST_TEMPLATES_BOT_SUCCESS: 'bot/LIST_TEMPLATES_BOT_SUCCESS',\n UPDATE_GENERAL_BOT_INFO: 'bot/UPDATE_GENERAL_BOT_INFO',\n UPDATE_GENERAL_BOT_INFO_SUCCESS: 'bot/UPDATE_GENERAL_BOT_INFO_SUCCESS',\n UPDATE_ZENDESK_TICKET_SETTINGS: 'bot/UPDATE_ZENDESK_TICKET_SETTINGS',\n RETRIEVE_ZENDESK_TICKET_SETTINGS: 'bot/RETRIEVE_ZENDESK_TICKET_SETTINGS',\n UPDATE_JIRA_SETTINGS: 'bot/UPDATE_JIRA_SETTINGS',\n RETRIEVE_JIRA_SETTINGS: 'bot/RETRIEVE_JIRA_SETTINGS',\n UPDATE_GLPI_SETTINGS: 'bot/UPDATE_GLPI_SETTINGS',\n RETRIEVE_GLPI_SETTINGS: 'bot/RETRIEVE_GLPI_SETTINGS',\n UPDATE_ATTENDANCE_HOUR_SETTINGS: 'bot/UPDATE_ATTENDANCE_HOUR_SETTINGS',\n RETRIEVE_ATTENDANCE_HOUR_SETTINGS: 'bot/RETRIEVE_ATTENDANCE_HOUR_SETTINGS',\n PUBLISH_BOT: 'bot/PUBLISH_BOT',\n PUBLISH_BOT_SUCCESS: 'bot/PUBLISH_BOT_SUCCESS',\n PUBLISH_VOICE_BOT: 'bot/PUBLISH_VOICE_BOT',\n CHANGE_STAGING_AREA: 'bot/CHANGE_STAGING_AREA',\n SAVE_QUICK_ACCESS_SETTINGS: 'bot/SAVE_QUICK_ACCESS_SETTINGS',\n SAVE_QUICK_ACCESS_SETTINGS_SUCCESS: 'bot/SAVE_QUICK_ACCESS_SETTINGS_SUCCESS',\n SAVE_PUBLISH_QUICK_ACCESS_SETTINGS: 'bot/SAVE_PUBLISH_QUICK_ACCESS_SETTINGS',\n COUNT_STATUS_CREATOR_NO_SAVE: 'bot/COUNT_STATUS_CREATOR_NO_SAVE',\n COUNT_STATUS_CREATOR_NO_SAVE_SUCCESS:\n 'bot/COUNT_STATUS_CREATOR_NO_SAVE_SUCCESS',\n COUNT_STATUS_CREATOR_NO_SAVE_REMOVE:\n 'bot/COUNT_STATUS_CREATOR_NO_SAVE_REMOVE',\n COUNT_STATUS_CREATOR_NO_SAVE_REMOVE_SUCCESS:\n 'bot/COUNT_STATUS_CREATOR_NO_SAVE_REMOVE_SUCCESS',\n};\n\n/* Actions */\n\nexport const BotsCreators = {\n editBotTitleRequest: (botid, title) => ({\n type: BotsTypes.EDIT_TITLE_BOT_REQUEST,\n payload: {\n botid,\n title,\n showToast: true,\n },\n }),\n\n editBotTitleSuccess: (bot) => ({\n type: BotsTypes.EDIT_TITLE_BOT_SUCCESS,\n payload: bot,\n }),\n\n updateBotRequest: (\n botid,\n data,\n showToast = true,\n showLoading = false,\n updateWhatsappCallbacks = false\n ) => ({\n type: BotsTypes.UPDATE_BOT_REQUEST,\n payload: {\n botid,\n data,\n updateWhatsappCallbacks,\n showToast,\n showLoading,\n },\n }),\n\n creatorBotRequest: (botid) => ({\n type: BotsTypes.CREATOR_BOT_REQUEST,\n payload: botid,\n }),\n\n historyMessage: (infoMessages) => ({\n type: BotsTypes.HISTORY_BOT_MESSAGE,\n payload: infoMessages,\n }),\n\n clearHistoryMessage: () => ({\n type: BotsTypes.CLEAR_HISTORY_BOT_MESSAGE,\n }),\n\n filterSessions: (infoSession) => ({\n type: BotsTypes.HISTORY_BOT_FILTER_SESSIONS,\n payload: infoSession,\n }),\n\n searchFilterSessions: (sessions) => ({\n type: BotsTypes.HISTORY_BOT_FILTER_SESSIONS_SEARCH_SUCCESS,\n payload: sessions,\n }),\n\n clearFilterSessions: () => ({\n type: BotsTypes.CLEAR_HISTORY_BOT_FILTER_SESSIONS,\n }),\n\n filterDashboard: (infoDashboard) => ({\n type: BotsTypes.HISTORY_BOT_FILTER_DASHBOARD,\n payload: infoDashboard,\n }),\n\n // historySessions: botid => ({\n // type: BotsTypes.HISTORY_BOT_SESSIONS,\n // payload: botid,\n // }),\n\n creatorBotSuccess: (bot) => ({\n type: BotsTypes.CREATOR_BOT_SUCCESS,\n payload: bot,\n }),\n\n openNewBotPage: () => ({\n type: BotsTypes.OPEN_NEW_BOT_PAGE,\n payload: {},\n }),\n\n newBotRequest: (data) => ({\n type: BotsTypes.NEW_BOT_REQUEST,\n payload: { ...data },\n }),\n\n newBotSuccess: () => ({\n type: BotsTypes.NEW_BOT_SUCCESS,\n payload: null,\n }),\n\n newVoiceBotRequest: (data) => ({\n type: BotsTypes.NEW_VOICE_BOT_REQUEST,\n payload: { ...data },\n }),\n\n updateVoiceBotRequest: (data) => ({\n type: BotsTypes.UPDATE_VOICE_BOT_REQUEST,\n payload: { ...data },\n }),\n\n removeBotRequest: (botid) => ({\n type: BotsTypes.REMOVE_BOT_REQUEST,\n payload: botid,\n }),\n\n removeVoiceBotRequest: (botid) => ({\n type: BotsTypes.REMOVE_VOICE_BOT_REQUEST,\n payload: botid,\n }),\n\n cloneVoiceBotRequest: ({ botId, title }, callback) => ({\n type: BotsTypes.CLONE_VOICE_BOT_REQUEST,\n payload: { botId, title, callback },\n }),\n\n cloneVoiceBotSuccess: (bot) => ({\n type: BotsTypes.CLONE_VOICE_BOT_SUCCESS,\n payload: { bot },\n }),\n\n removeBotSuccess: (botid) => ({\n type: BotsTypes.REMOVE_BOT_SUCCESS,\n payload: botid,\n }),\n\n listBotsRequest: () => ({\n type: BotsTypes.LIST_BOTS_REQUEST,\n payload: null,\n }),\n\n listBotsSuccess: (bots) => ({\n type: BotsTypes.LIST_BOTS_SUCCESS,\n payload: bots,\n }),\n\n retrieveBotRequest: (botId) => ({\n type: BotsTypes.RETRIEVE_BOT_REQUEST,\n payload: botId,\n }),\n\n retrieveBotSuccess: (bot) => ({\n type: BotsTypes.RETRIEVE_BOT_SUCCESS,\n payload: bot,\n }),\n\n channelsBotRequest: (bot) => ({\n type: BotsTypes.CHANNELS_BOT_REQUEST,\n payload: bot,\n }),\n\n saveBotViewPosition: (botid, viewPosition) => ({\n type: BotsTypes.SAVE_VIEW_POSITION_BOT,\n payload: {\n botid,\n viewPosition,\n },\n }),\n\n publishBotWidgetHtmlRequest: (data) => ({\n type: BotsTypes.PUBLISH_WIDGET_HTML,\n payload: data,\n }),\n\n publishBotWidgetHtmlSuccess: (data) => ({\n type: BotsTypes.PUBLISH_WIDGET_HTML_SUCCESS,\n payload: data,\n }),\n\n saveBotWidgetHtmlRequest: (data) => ({\n type: BotsTypes.SAVE_WIDGET_HTML,\n payload: data,\n }),\n\n saveBotWidgetHtmlSuccess: (data) => ({\n type: BotsTypes.SAVE_WIDGET_HTML_SUCCESS,\n payload: data,\n }),\n\n saveBotRootItem: (itemid, botid) => ({\n type: BotsTypes.SAVE_ROOT_ITEM,\n payload: {\n botid,\n itemid,\n },\n }),\n\n botUpdateDate: (date) => ({\n type: BotsTypes.BOT_UPDATE_DATE,\n payload: date,\n }),\n\n updateBotHumanAttendanceRequest: (id, data) => ({\n type: BotsTypes.UPDATE_BOT_HUMAN_ATTENDANCE_REQUEST,\n payload: { id, data },\n }),\n\n getQueueAttendance: (params) => ({\n type: BotsTypes.GET_QUEUE_ATTENDANCE,\n payload: params,\n }),\n\n updateBotStatus: (botId, description, isActive) => ({\n type: BotsTypes.UPDATE_BOT_STATUS,\n payload: {\n botId,\n data: {\n description,\n isActive,\n },\n },\n }),\n updateBotIaStatus: (botId, iaStatus) => ({\n type: BotsTypes.UPDATE_BOT_IA_STATUS,\n payload: {\n botId,\n iaStatus,\n },\n }),\n\n getBotCollectDataCount: (botId, token, { startDate, endDate }) => ({\n type: BotsTypes.BOT_COLLECT_DATA_COUNT,\n payload: { botId, token, startDate, endDate },\n }),\n\n getBotCollectDataCsv: (\n botId,\n token,\n showSensitivityData,\n { startDate, endDate }\n ) => ({\n type: BotsTypes.BOT_COLLECT_DATA_CSV,\n payload: { botId, token, showSensitivityData, startDate, endDate },\n }),\n\n resetBotCollectDataCount: () => ({\n type: BotsTypes.BOT_COLLECT_DATA_COUNT_RESET,\n payload: {},\n }),\n\n updateBotGeneralInformation: (payload) => ({\n type: BotsTypes.UPDATE_GENERAL_BOT_INFO,\n payload,\n }),\n\n updateZendeskTicketSettings: (botId, data) => ({\n type: BotsTypes.UPDATE_ZENDESK_TICKET_SETTINGS,\n botId,\n settings: data,\n }),\n\n updateGlpiSettings: (botId, data) => ({\n type: BotsTypes.UPDATE_GLPI_SETTINGS,\n botId,\n settings: data,\n }),\n\n updateBotQuickAccess: (botId, data) => ({\n type: BotsTypes.SAVE_QUICK_ACCESS_SETTINGS,\n botId,\n settings: data,\n }),\n\n updateBotQuickAccessState: (payload) => ({\n type: BotsTypes.SAVE_QUICK_ACCESS_SETTINGS_SUCCESS,\n payload,\n }),\n\n updatePublishBotQuickAccess: (botId, data) => ({\n type: BotsTypes.SAVE_PUBLISH_QUICK_ACCESS_SETTINGS,\n botId,\n settings: data,\n }),\n\n updateJiraSettings: (botId, data) => ({\n type: BotsTypes.UPDATE_JIRA_SETTINGS,\n botId,\n settings: data,\n }),\n\n updateAttendanceHoursSettings: (botId, data) => ({\n type: BotsTypes.UPDATE_ATTENDANCE_HOUR_SETTINGS,\n botId,\n settings: data,\n }),\n\n publishBot: (botId, isToActive) => ({\n type: BotsTypes.PUBLISH_BOT,\n botId,\n isToActive,\n }),\n\n publishVoiceBot: (botId) => ({\n type: BotsTypes.PUBLISH_VOICE_BOT,\n botId,\n }),\n\n changeStagingArea: (botId, chosenVersion) => ({\n type: BotsTypes.CHANGE_STAGING_AREA,\n botId,\n chosenVersion,\n }),\n\n countStatusCreatorNoSave: (payload) => ({\n type: BotsTypes.COUNT_STATUS_CREATOR_NO_SAVE,\n payload,\n }),\n countStatusCreatorNoSaveRemove: (payload) => ({\n type: BotsTypes.COUNT_STATUS_CREATOR_NO_SAVE_REMOVE,\n payload,\n }),\n};\n","export const ConfigPageTypes = {\r\n SET_MENU_PAGE: 'page-config/SET_MENU_PAGE',\r\n SET_MENU_PAGE_SUCCESS:\r\n 'bot-creator/SET_MENU_PAGE_SUCCESS',\r\n SET_SUB_MENU_PAGE: 'bot-creator/SET_SUB_MENU_PAGE',\r\n SET_SUB_MENU_PAGE_SUCCESS:\r\n 'bot-creator/SET_SUB_MENU_PAGE_SUCCESS',\r\n };\r\n \r\n export const setPageConfig = (payload) => ({\r\n type: ConfigPageTypes.SET_MENU_PAGE,\r\n payload,\r\n });\r\n \r\n export const setSubPageConfig = (payload) => ({\r\n type: ConfigPageTypes.SET_SUB_MENU_PAGE,\r\n payload,\r\n });\r\n ","export const IaTypes = {\n IA_CREATE_WIT: 'intel/IA_CREATE_WIT',\n IA_CREATE_WIT_SUCCESS: 'intel/IA_CREATE_WIT_SUCCESS',\n IA_CREATE_LUIS: 'intel/IA_CREATE_LUIS',\n IA_CREATE_LUIS_SUCCESS: 'intel/IA_CREATE_LUIS_SUCCESS',\n IA_CREATE_ENTITIES: 'intel/IA_CREATE_ENTITIES',\n IA_CREATE_ENTITIES_SUCCESS: 'intel/IA_CREATE_ENTITIES_SUCCESS',\n IA_CREATE_INTENTS: 'intel/IA_CREATE_INTENTS',\n IA_CREATE_INTENTS_SUCCESS: 'intel/IA_CREATE_INTENTS_SUCCESS',\n IA_CREATE_SAMPLES: 'intel/IA_CREATE_SAMPLES',\n IA_CREATE_SAMPLES_SUCCESS: 'intel/IA_CREATE_SAMPLES_SUCCESS',\n IA_CREATE_BOTERIA: 'intel/IA_CREATE_BOTERIA',\n IA_CREATE_BOTERIA_SUCCESS: 'intel/IA_CREATE_BOTERIA_SUCCESS',\n IA_CREATE_CONDITIONS: 'intel/IA_CREATE_CONDITIONS',\n IA_CREATE_CONDITIONS_SUCCESS: 'intel/IA_CREATE_CONDITIONS_SUCCESS',\n IA_LIST_LUIS: 'intel/IA_LIST_LUIS',\n IA_LIST_LUIS_SUCCESS: 'intel/IA_LIST_LUIS_SUCCESS',\n IA_LIST_WIT: 'intel/IA_LIST_WIT',\n IA_LIST_WIT_SUCCESS: 'intel/IA_LIST_WIT_SUCCESS',\n IA_LIST_ENTITIES: 'intel/IA_LIST_ENTITIES',\n IA_LIST_ENTITIES_SUCCESS: 'intel/IA_LIST_ENTITIES_SUCCESS',\n IA_LIST_ENTITY: 'intel/IA_LIST_ENTITY',\n IA_LIST_ENTITY_SUCCESS: 'intel/IA_LIST_ENTITY_SUCCESS',\n IA_LIST_INTENTS: 'intel/IA_LIST_INTENTS',\n IA_LIST_INTENTS_SUCCESS: 'intel/IA_LIST_INTENTS_SUCCESS',\n IA_LIST_ALL_SAMPLES: 'intel/IA_LIST_ALL_SAMPLES',\n IA_LIST_ALL_SAMPLES_SUCCESS: 'intel/IA_LIST_ALL_SAMPLES_SUCCESS',\n IA_LIST_SAMPLES_INTENT: 'intel/IA_LIST_SAMPLES_INTENT',\n IA_LIST_SAMPLES_INTENT_SUCCESS: 'intel/IA_LIST_SAMPLES_INTENT_SUCCESS',\n IA_LIST_CONDITIONS: 'intel/IA_LIST_CONDITIONS',\n IA_LIST_CONDITIONS_SUCCESS: 'intel/IA_LIST_CONDITIONS_SUCCESS',\n IA_DELETE_ENTITIES: 'intel/IA_DELETE_ENTITIES',\n IA_DELETE_ENTITIES_SUCCESS: 'intel/IA_DELETE_ENTITIES_SUCCESS',\n IA_DELETE_ENTITIES_OBJ: 'intel/IA_DELETE_ENTITIES_OBJ',\n IA_DELETE_ENTITIES_OBJ_SUCCESS: 'intel/IA_DELETE_ENTITIES_OBJ_SUCCESS',\n IA_DELETE_ENTITIES_SYN: 'intel/IA_DELETE_ENTITIES_SYN',\n IA_DELETE_ENTITIES_SYN_SUCCESS: 'intel/IA_DELETE_ENTITIES_SYN_SUCCESS',\n IA_DELETE_INTENTS: 'intel/IA_DELETE_INTENTS',\n IA_DELETE_INTENTS_SUCCESS: 'intel/IA_DELETE_INTENTS_SUCCESS',\n IA_DELETE_SAMPLES: 'intel/IA_DELETE_SAMPLES',\n IA_DELETE_SAMPLES_SUCCESS: 'intel/IA_DELETE_SAMPLES_SUCCESS',\n IA_DELETE_CONDITIONS: 'intel/IA_DELETE_CONDITIONS',\n IA_DELETE_CONDITIONS_SUCCESS: 'intel/IA_DELETE_CONDITIONS_SUCCESS',\n IA_SET_EDIT_CONDITION: 'intel/IA_SET_EDIT_CONDITION',\n IA_UPDATE_CONDITIONS: 'intel/IA_UPDATE_CONDITIONS',\n IA_UPDATE_CONDITIONS_SUCCESS: 'intel/IA_UPDATE_CONDITIONS_SUCCESS',\n IA_SAVE_SAMPLE: 'intel/IA_SAVE_SAMPLE',\n IA_SAVE_SAMPLE_SUCCESS: 'intel/IA_SAVE_SAMPLE_SUCCESS',\n CURATION_BOT_LIST_MESSAGES: 'intel/CURATION_BOT_LIST_MESSAGES',\n CURATION_BOT_LIST_MESSAGES_SUCCESS:\n 'intel/CURATION_BOT_LIST_MESSAGES_SUCCESS',\n CURATION_BOT_ACCEPT_MESSAGE: 'intel/CURATION_BOT_ACCEPT_MESSAGE',\n CURATION_BOT_ACCEPT_MESSAGE_SUCCESS:\n 'intel/CURATION_BOT_ACCEPT_MESSAGE_SUCCESS',\n CURATION_BOT_IGNORE_MESSAGE: 'intel/CURATION_BOT_IGNORE_MESSAGE',\n CURATION_BOT_IGNORE_MESSAGE_SUCCESS:\n 'intel/CURATION_BOT_IGNORE_MESSAGE_SUCCESS',\n CURATION_BOT_SAVE_APRIMORAMENTOS: 'intel/CURATION_BOT_SAVE_APRIMORAMENTOS',\n CURATION_BOT_SET_APRIMORAMENTOS: 'intel/CURATION_BOT_SET_APRIMORAMENTOS',\n CURATION_BOT_APRIMORAMENTOS_DELETE:\n 'intel/CURATION_BOT_APRIMORAMENTOS_DELETE',\n CURATION_BOT_APRIMORAMENTOS_CLEAR: 'intel/CURATION_BOT_APRIMORAMENTOS_CLEAR',\n IA_PLATFORM: 'intel/IA_PLATFORM',\n IA_PLATFORM_SUCCESS: 'intel/IA_PLATFORM_SUCCESS',\n IA_PLATFORM_INFO: 'intel/IA_PLATFORM_INFO',\n IA_PLATFORM_INFO_SUCCESS: 'intel/IA_PLATFORM_INFO_SUCCESS',\n IA_PLATFORM_INFO_ERROR: 'intel/IA_PLATFORM_INFO_ERROR',\n IA_UPDATE_FILTER_CURATION: 'intel/IA_UPDATE_FILTER_CURATION',\n IA_TRAIN_LUIS: 'intel/IA_TRAIN_LUIS',\n IA_PREVIEW: 'intel/IA_PREVIEW',\n IA_PREVIEW_SUCCESS: 'intel/IA_PREVIEW_SUCCESS',\n};\n\nexport const IaCreators = {\n createBoteria: (platform, credentials, botid) => ({\n type: IaTypes.IA_CREATE_BOTERIA,\n payload: { platform, credentials, botid },\n }),\n\n createWit: (platform, credentials, botid, language) => ({\n type: IaTypes.IA_CREATE_WIT,\n payload: { platform, credentials, botid, language },\n }),\n\n listWit: (token) => ({\n type: IaTypes.IA_LIST_WIT,\n payload: { token },\n }),\n\n createLuis: (platform, credentials, botid, language) => ({\n type: IaTypes.IA_CREATE_LUIS,\n payload: { platform, credentials, botid, language },\n }),\n\n listLuis: (token) => ({\n type: IaTypes.IA_LIST_LUIS,\n payload: { token },\n }),\n\n listCurationMessages: (\n bot,\n count,\n query,\n processed,\n status = 'none',\n start_date = '',\n end_date = ''\n ) => ({\n type: IaTypes.CURATION_BOT_LIST_MESSAGES,\n payload: { bot, count, query, processed, status, start_date, end_date },\n }),\n\n ignoreCurationMessage: (bot, message) => ({\n type: IaTypes.CURATION_BOT_IGNORE_MESSAGE,\n payload: { bot, message },\n }),\n\n acceptCurationMessage: (bot, message) => ({\n type: IaTypes.CURATION_BOT_ACCEPT_MESSAGE,\n payload: { bot, message },\n }),\n\n listIAEntities: (token) => ({\n type: IaTypes.IA_LIST_ENTITIES,\n payload: { token },\n }),\n\n listEntity: (token, name) => ({\n type: IaTypes.IA_LIST_ENTITY,\n payload: { token, name },\n }),\n\n createEntities: (token, name, objects, reference) => ({\n type: IaTypes.IA_CREATE_ENTITIES,\n payload: { token, name, objects, reference },\n }),\n\n deleteEntities: (token, name, reference) => ({\n type: IaTypes.IA_DELETE_ENTITIES,\n payload: { token, name, reference },\n }),\n\n deleteEntitiesObj: (token, name, object, reference, index) => ({\n type: IaTypes.IA_DELETE_ENTITIES_OBJ,\n payload: { token, name, object, reference, index },\n }),\n\n deleteEntitiesSyn: (token, name, object, synonym, reference) => ({\n type: IaTypes.IA_DELETE_ENTITIES_SYN,\n payload: { token, name, object, synonym, reference },\n }),\n\n createSamples: (token, sentence, intents) => ({\n type: IaTypes.IA_CREATE_SAMPLES,\n payload: { token, sentence, intents },\n }),\n\n createIntents: (token, name, sentence) => ({\n type: IaTypes.IA_CREATE_INTENTS,\n payload: { token, name, sentence },\n }),\n\n listIAIntents: (token) => ({\n type: IaTypes.IA_LIST_INTENTS,\n payload: { token },\n }),\n\n deleteIntents: (token, name) => ({\n type: IaTypes.IA_DELETE_INTENTS,\n payload: { token, name },\n }),\n\n listSamplesIntent: (token, type, value) => ({\n type: IaTypes.IA_LIST_SAMPLES_INTENT,\n payload: { token, type, value },\n }),\n\n listAllSamples: (token, type) => ({\n type: IaTypes.IA_LIST_ALL_SAMPLES,\n payload: { token, type },\n }),\n\n saveIASample: (ia, sample) => ({\n type: IaTypes.IA_SAVE_SAMPLE,\n payload: { ia, sample },\n }),\n\n deleteSamples: (name, token, type, sentence) => ({\n type: IaTypes.IA_DELETE_SAMPLES,\n payload: { name, token, type, sentence },\n }),\n\n listConditions: (botId) => ({\n type: IaTypes.IA_LIST_CONDITIONS,\n payload: botId,\n }),\n\n createCondition: (payload) => ({\n type: IaTypes.IA_CREATE_CONDITIONS,\n payload,\n }),\n\n updateCondition: (payload) => ({\n type: IaTypes.IA_UPDATE_CONDITIONS,\n payload,\n }),\n\n deleteCondition: (_id) => ({\n type: IaTypes.IA_DELETE_CONDITIONS,\n payload: _id,\n }),\n\n setEditCondition: (condition) => ({\n type: IaTypes.IA_SET_EDIT_CONDITION,\n payload: condition,\n }),\n\n setAprimoramentos: (aprimoramento) => ({\n type: IaTypes.CURATION_BOT_SET_APRIMORAMENTOS,\n payload: aprimoramento,\n }),\n\n deleteAprimoramento: (aprimoramento) => ({\n type: IaTypes.CURATION_BOT_APRIMORAMENTOS_DELETE,\n payload: aprimoramento,\n }),\n\n clearAprimoramentos: () => ({\n type: IaTypes.CURATION_BOT_APRIMORAMENTOS_CLEAR,\n }),\n\n saveAprimoramentos: (aprimoramentos, options) => ({\n type: IaTypes.CURATION_BOT_SAVE_APRIMORAMENTOS,\n payload: { aprimoramentos, options },\n }),\n\n getIaInfo: (token) => ({\n type: IaTypes.IA_PLATFORM_INFO,\n payload: { token },\n }),\n\n updateFilterCuration: (newFilter) => ({\n type: IaTypes.IA_UPDATE_FILTER_CURATION,\n payload: newFilter,\n }),\n\n trainLuis: (token) => ({\n type: IaTypes.IA_TRAIN_LUIS,\n payload: { token },\n }),\n\n iaPreview: ({ token, message }) => ({\n type: IaTypes.IA_PREVIEW,\n payload: { token, message },\n }),\n};\n"],"sourceRoot":""}