From: Andrea Amorese
Date: Mon, 28 Feb 2022 08:22:39 +0000 (+0100)
Subject: Built motion from commit bad4c5a9.|2.6.3
X-Git-Url: http://repos.xcallymotion.com/base//%22angular-material.themes.css/%22?a=commitdiff_plain;h=ced35e608881cb879f99a91c36ed09a997ed168b;p=motion2.git
Built motion from commit bad4c5a9.|2.6.3
---
diff --git a/apidoc/api_project.js b/apidoc/api_project.js
index a1e96ed..d2833cc 100644
--- a/apidoc/api_project.js
+++ b/apidoc/api_project.js
@@ -17,7 +17,7 @@ define({
"apidoc": "0.3.0",
"generator": {
"name": "apidoc",
- "time": "2022-02-23T09:24:29.707Z",
+ "time": "2022-02-28T08:09:04.431Z",
"url": "http://apidocjs.com",
"version": "0.24.0"
}
diff --git a/apidoc/api_project.json b/apidoc/api_project.json
index 9d0eb61..718595a 100644
--- a/apidoc/api_project.json
+++ b/apidoc/api_project.json
@@ -17,7 +17,7 @@
"apidoc": "0.3.0",
"generator": {
"name": "apidoc",
- "time": "2022-02-23T09:24:29.707Z",
+ "time": "2022-02-28T08:09:04.431Z",
"url": "http://apidocjs.com",
"version": "0.24.0"
}
diff --git a/public/app/forgot/i18n/pt-BR.json b/public/app/forgot/i18n/pt-BR.json
index caa1d08..f024ec7 100644
--- a/public/app/forgot/i18n/pt-BR.json
+++ b/public/app/forgot/i18n/pt-BR.json
@@ -2,7 +2,7 @@
"FORGOTPASSWORD": {
"TITLE": "Recupere sua senha",
"EMAIL_ADRESS": "Endereço de e-mail",
- "SEND_RESET_LINK": "ENVIAR LINK PARA RESET",
+ "SEND_RESET_LINK": "Enviar link para reset",
"GO_BACK": "Volte para o login",
"LINK_SENT": "Link enviado",
"LINNK_SENT_MESSAGE": "Um e-mail contendo um link para redefinir sua senha foi enviado para o seu endereço!",
diff --git a/public/app/login/i18n/pt-BR.json b/public/app/login/i18n/pt-BR.json
index bffb47d..d9f974d 100644
--- a/public/app/login/i18n/pt-BR.json
+++ b/public/app/login/i18n/pt-BR.json
@@ -10,7 +10,7 @@
"REMEMBER_ME": "Lembrar-me",
"FORGOT_PASSWORD": "Esqueceu a senha?",
"LOG_IN": "Entrar",
- "OR": "OU",
+ "OR": "Ou",
"WITH_GOOGLE": "Logar com o Google",
"WITH_FACEBOOK": "Logar com o Facebook",
"DONT_HAVE_ACCOUNT": "Não tem conta?",
diff --git a/public/app/main/apps/analytics/i18n/de.json b/public/app/main/apps/analytics/i18n/de.json
index f771c4b..e6b577a 100644
--- a/public/app/main/apps/analytics/i18n/de.json
+++ b/public/app/main/apps/analytics/i18n/de.json
@@ -1,20 +1,20 @@
{
"ANALYTICS": {
"NAME": "Name",
- "ANALYTICS": "Reporting",
- "METRICS": "Eigene Kennzahlen",
- "ID": "ID",
+ "ANALYTICS": "Analytics",
+ "METRICS": "Kennzahlen",
+ "ID": "Id",
"TABLE": "Tabelle",
"DESCRIPTION": "Beschreibung",
"SEARCH_FOR_ANYONE": "Suche",
- "METRIC": "MYSQL-Ausdruck. Beispiel: DATE(queuecallerjoinat)",
+ "METRIC": "Metrik",
"ERRORS": {
- "NAME_REQUIRED": "Name erforderlich",
- "METRIC_REQUIRED": "Metrik erforderlich",
- "COLUMN_REQUIRED": "Spalte erforderlich",
- "VALUE_REQUIRED": "Wert erforderlich",
- "CUSTOM_METRIC_REQUIRED": "Benutzerdef. Metrik erforderlich",
- "ALIAS_REQUIRED": "Alias erforderlich"
+ "NAME_REQUIRED": "Pflichtfeld",
+ "METRIC_REQUIRED": "Pflichtfeld",
+ "COLUMN_REQUIRED": "Pflichtfeld",
+ "VALUE_REQUIRED": "Pflichtfeld",
+ "CUSTOM_METRIC_REQUIRED": "Pflichtfeld",
+ "ALIAS_REQUIRED": "Pflichtfeld"
},
"NEW_METRIC": "Neue Metrik",
"ADD_METRIC": "Metrik hinzufügen",
@@ -22,11 +22,11 @@
"DELETE_METRIC": "Metrik löschen",
"SAVE": "Speichern",
"BACK": "Zurück",
- "SELECTED": "Ausgewählt",
+ "SELECTED": "Ausgewählte",
"SELECT_ALL": "Alles auswählen",
"SELECT_NONE": "Nichts auswählen",
"TYPE": "Typ",
- "EXTRACTEDREPORTS": "Ausgeführte Berichte",
+ "EXTRACTEDREPORTS": "Extrahierte Berichte",
"DATE_RANGE_FROM": "Datum von",
"DATE_RANGE_TO": "Datum bis",
"GENERATED_AT": "Generiert am",
@@ -38,7 +38,7 @@
"NEW_REPORT": "Neuer Bericht",
"ADD_REPORT": "Bericht hinzufügen",
"COPY_REPORT": "Bericht kopieren",
- "PREVIEW_REPORT": "Vorschau Bericht",
+ "PREVIEW_REPORT": "Berichtvorschau",
"RUN_REPORT": "Bericht ausführen",
"DOWNLOAD_JSON_REPORT": "Bericht exportieren JSON",
"EDIT_REPORT": "Bericht bearbeiten",
@@ -50,7 +50,7 @@
"ERROR": "Fehler",
"QUERY_ERROR": "Abfragefehler",
"MESSAGE": "Nachricht",
- "CLOSE": "SchlieÃen",
+ "CLOSE": "Schliessen",
"FORMAT": "Format",
"SETTINGS": "Einstellungen",
"GENERAL": "Allgemein",
@@ -61,7 +61,7 @@
"COLUMN": "Spalte",
"VALUE": "Wert",
"PREVIEW": "Vorschau",
- "LIMITED_RESULT": "Ansicht begrenzt",
+ "LIMITED_RESULT": "Ergebins begrenzt",
"NO_DATA": "Keine Daten",
"CONDITIONS": "Bedingungen",
"ALIAS": "Alias",
@@ -75,9 +75,9 @@
"NO_METRIC_FOUND": "Keine Metrik gefunden",
"NO_AVAILABLE_INFO": "keine Informationen verfügbar",
"CUSTOM_METRIC": "Benutzerdefinierte Metrik",
- "DELETE_EXTRACTEDREPORT": "Bericht löschen",
- "EDIT_EXTRACTEDREPORT": "Bericht bearbeiten",
- "DOWNLOAD_EXTRACTEDREPORT": "Bericht herunterladen",
+ "DELETE_EXTRACTEDREPORT": "Extrahierte Berichte löschen",
+ "EDIT_EXTRACTEDREPORT": "Extrahierte Berichte bearbeiten",
+ "DOWNLOAD_EXTRACTEDREPORT": "Extrahierte Berichte herunterladen",
"PAGE": "Seite",
"ROWSPERPAGE": "Zeilen pro Seite",
"OF": "von",
diff --git a/public/app/main/apps/analytics/i18n/nl.json b/public/app/main/apps/analytics/i18n/nl.json
index 784ce48..c214138 100644
--- a/public/app/main/apps/analytics/i18n/nl.json
+++ b/public/app/main/apps/analytics/i18n/nl.json
@@ -1,56 +1,56 @@
{
"ANALYTICS": {
"NAME": "Naam",
- "ANALYTICS": "Analyses",
- "METRICS": "Statistieken",
+ "ANALYTICS": "Analytics",
+ "METRICS": "Metrieken",
"ID": "Id",
"TABLE": "Tabel",
"DESCRIPTION": "Beschrijving",
- "SEARCH_FOR_ANYONE": "Zoeken",
- "METRIC": "Statistiek",
+ "SEARCH_FOR_ANYONE": "Zoeken voor iedereen",
+ "METRIC": "Metrisch",
"ERRORS": {
- "NAME_REQUIRED": "Verplicht veld",
- "METRIC_REQUIRED": "Verplicht veld",
- "COLUMN_REQUIRED": "Verplicht veld",
- "VALUE_REQUIRED": "Verplicht veld",
- "CUSTOM_METRIC_REQUIRED": "Verplicht veld",
- "ALIAS_REQUIRED": "Verplicht veld"
+ "NAME_REQUIRED": "De naam is verplicht",
+ "METRIC_REQUIRED": "De metrische is vereist",
+ "COLUMN_REQUIRED": "De kolom is vereist",
+ "VALUE_REQUIRED": "De waarde is vereist",
+ "CUSTOM_METRIC_REQUIRED": "De aangepaste metrisch is vereist",
+ "ALIAS_REQUIRED": "De alias is vereist"
},
- "NEW_METRIC": "Nieuwe Statistiek",
- "ADD_METRIC": "Statistiek Toevoegen",
- "EDIT_METRIC": "Statistiek Bewerken",
- "DELETE_METRIC": "Statistiek Verwijderen",
+ "NEW_METRIC": "Nieuwe metrisch",
+ "ADD_METRIC": "Voeg metrisch",
+ "EDIT_METRIC": "Edit metrisch",
+ "DELETE_METRIC": "Verwijder metrisch",
"SAVE": "Opslaan",
"BACK": "Terug",
"SELECTED": "Geselecteerd",
- "SELECT_ALL": "Selecteer Alles",
- "SELECT_NONE": "Selecteer Geen",
+ "SELECT_ALL": "Alles selecteren",
+ "SELECT_NONE": "Selecteer None (Geen).",
"TYPE": "Type",
- "EXTRACTEDREPORTS": "Resultaten",
+ "EXTRACTEDREPORTS": "Uitgepakte rapporten",
"DATE_RANGE_FROM": "Datumbereik Van",
"DATE_RANGE_TO": "Datumbereik Tot",
- "GENERATED_AT": "Gegenereerd Op",
+ "GENERATED_AT": "Gegenereerd.",
"STATUS": "Status",
- "OUTPUT": "Resultaat",
+ "OUTPUT": "Uitgang",
"REPORTS": "Rapporten",
"SEARCH_FOR_FOLDER": "Zoeken naar map",
- "CREATED_AT": "Gegenereerd Op",
- "NEW_REPORT": "Nieuw Rapport",
- "ADD_REPORT": "Rapport Toevoegen",
- "COPY_REPORT": "Raport Kopiëren",
- "PREVIEW_REPORT": "Voorbeeldrapport",
- "RUN_REPORT": "Rapport Genereren",
- "DOWNLOAD_JSON_REPORT": "Rapportgegevens Exporteren JSON",
- "EDIT_REPORT": "Rapport Bewerken",
- "DELETE_REPORT": "Rapport Verwijderen",
- "CREATE": "Map Nanmaken",
- "RENAME": "Map Hernoemen",
- "REMOVE": "Map Verwijderen",
- "SELECT_NODE": "Map Selecteren",
+ "CREATED_AT": "Gemaakt op",
+ "NEW_REPORT": "Nieuw rapport",
+ "ADD_REPORT": "Rapport toevoegen",
+ "COPY_REPORT": "Kopie rapport",
+ "PREVIEW_REPORT": "Voorbeeldrapport.",
+ "RUN_REPORT": "Rapport uitvoeren",
+ "DOWNLOAD_JSON_REPORT": "Rapportgegevens exporteren JSON",
+ "EDIT_REPORT": "Rapport bewerken",
+ "DELETE_REPORT": "Rapport verwijderen",
+ "CREATE": "Map maken",
+ "RENAME": "Naam van map wijzigen",
+ "REMOVE": "Map verwijderen",
+ "SELECT_NODE": "Map selecteren",
"ERROR": "Fout",
"QUERY_ERROR": "Query fout",
"MESSAGE": "Bericht",
- "CLOSE": "Sluiten",
+ "CLOSE": "Dicht",
"FORMAT": "Formaat",
"SETTINGS": "Instellingen",
"GENERAL": "Algemeen",
@@ -62,22 +62,22 @@
"VALUE": "Waarde",
"PREVIEW": "Afdrukvoorbeeld",
"LIMITED_RESULT": "*Beperkte resultaten",
- "NO_DATA": "Geen resultaten gevonden",
+ "NO_DATA": "Geen gegevens resultaten",
"CONDITIONS": "Voorwaarden",
"ALIAS": "Alias",
"FUNCTION": "Functie",
- "GROUP_BY": "Groeperen Op",
- "ORDER_BY": "Sorteren op Op",
+ "GROUP_BY": "Groeperen op",
+ "ORDER_BY": "Order By",
"ADD_REPORTFIELD": "Veld toevoegen",
- "EDIT_REPORTFIELD": "Invoerveld Bewerken",
- "DELETE_REPORTFIELD": "Veld Verwijderen",
- "METRIC_NAME": "Statistiek",
- "NO_METRIC_FOUND": "Geen statistieken gevonden",
+ "EDIT_REPORTFIELD": "Invoerveld",
+ "DELETE_REPORTFIELD": "Veld wissen",
+ "METRIC_NAME": "Metrisch",
+ "NO_METRIC_FOUND": "Geen metrische gevonden",
"NO_AVAILABLE_INFO": "Geen beschikbare informatie",
- "CUSTOM_METRIC": "Aangepaste Statistiek",
- "DELETE_EXTRACTEDREPORT": "Rapport Verwijderen",
- "EDIT_EXTRACTEDREPORT": "Rapport Bewerken",
- "DOWNLOAD_EXTRACTEDREPORT": "Rapport Downloaden",
+ "CUSTOM_METRIC": "Aangepaste metrisch",
+ "DELETE_EXTRACTEDREPORT": "Verwijder geëxtraheerd verslag",
+ "EDIT_EXTRACTEDREPORT": "Edit geëxtraheerd verslag",
+ "DOWNLOAD_EXTRACTEDREPORT": "Download geëxtraheerd verslag",
"PAGE": "Pagina",
"ROWSPERPAGE": "Rijen per pagina",
"OF": "Van",
diff --git a/public/app/main/apps/analytics/i18n/pt-BR.json b/public/app/main/apps/analytics/i18n/pt-BR.json
index 1128309..c1efa84 100644
--- a/public/app/main/apps/analytics/i18n/pt-BR.json
+++ b/public/app/main/apps/analytics/i18n/pt-BR.json
@@ -41,8 +41,8 @@
"NEW_REPORT": "Novo relatório",
"ADD_REPORT": "Adicionar relatório",
"COPY_REPORT": "Copiar relatório",
- "PREVIEW_REPORT": "Pré-visualizar relatório",
- "RUN_REPORT": "Gerar relatório",
+ "PREVIEW_REPORT": "Pré-visualização do relatório",
+ "RUN_REPORT": "Executar relatório",
"DOWNLOAD_JSON_REPORT": "Exportar relatório JSON",
"EDIT_REPORT": "Editar relatório",
"DELETE_REPORT": "Excluir relatório",
@@ -64,7 +64,7 @@
"COLUMN": "Coluna",
"VALUE": "Valor",
"PREVIEW": "Visualizar",
- "LIMITED_RESULT": "Resultados limitados",
+ "LIMITED_RESULT": "* Resultados limitados",
"NO_DATA": "Nenhum resultado de dados",
"CONDITIONS": "Condições",
"ALIAS": "Alias",
@@ -84,6 +84,6 @@
"PAGE": "Página",
"ROWSPERPAGE": "Linhas por página",
"OF": "do",
- "WEB_REPORT": "Relatório da web"
+ "WEB_REPORT": "Relatório web"
}
}
diff --git a/public/app/main/apps/callysquare/i18n/de.json b/public/app/main/apps/callysquare/i18n/de.json
index e40e468..43d5be6 100644
--- a/public/app/main/apps/callysquare/i18n/de.json
+++ b/public/app/main/apps/callysquare/i18n/de.json
@@ -1,20 +1,20 @@
{
"CALLYSQUARE": {
- "ACCOUNT_ID": "Konto",
- "ADDUSER_PROJECTS": "Benutzer zum Projekt hinzufügen",
+ "ACCOUNT_ID": "Account",
+ "ADDUSER_PROJECTS": "Benutzer zu dem Projekt hinzufügen",
"ADD_ODBC": "ODBC hinzufügen",
"ADD_PROJECT": "Projekt hinzufügen",
- "ADD_VARIABLE": "Variabel hinzufügen",
+ "ADD_VARIABLE": "Variable hinzufügen",
"AGENTS": "Agenten",
- "AGI": "Skript",
+ "AGI": "AGI",
"ALL_USERS": "Alle Benutzer",
"ANSWER": "Antwort",
"APIKEY": "API-Schlüssel",
"APPID": "App-ID",
- "APPLICATION": "Anwendung",
- "APPSECRET": "App-Secret",
- "ARGS": "Argumente",
- "ATTACHMENT_NAME": "Anhangsname",
+ "APPLICATION": "Application",
+ "APPSECRET": "App Geheimnis",
+ "ARGS": "Arguments",
+ "ATTACHMENT_NAME": "Name des Anhangs",
"ATTACHMENT_PATH": "Anhangspfad",
"ATTACHMENT_TYPE": "Anhangstyp",
"AUDIO": "Audio",
@@ -22,10 +22,10 @@
"AWSLEX": "Amazon Lex",
"AWSPOLLY": "AWS Polly",
"AWS_ACCESS_KEY_ID": "Zugangsschlüssel-ID",
- "AWS_BOT_NAME": "BOT-Name",
- "AWS_LEX_REGION": "Lex-Region",
- "AWS_POLLY_REGION": "Polly-Region",
- "AWS_POLLY_VOICE": "Polly-Sprache",
+ "AWS_BOT_NAME": "Bot-Name",
+ "AWS_LEX_REGION": "Region",
+ "AWS_POLLY_REGION": "Region",
+ "AWS_POLLY_VOICE": "Sprache",
"AWS_SECRET_ACCESS_KEY": "Geheimer Zugangsschlüssel",
"AWS_TEXT_TYPE": "Texttyp",
"BACK": "Zurück",
@@ -34,13 +34,13 @@
"BODY": "Body",
"CALLBACK": "Rückruf",
"CALLBACK_PRIORITY": "Priorität",
- "CALLYSQUARE": "Callflow-Editor",
+ "CALLYSQUARE": "Cally Square",
"CC": "CC",
"CHOOSE_ATTACHMENT": "Anhang wählen",
"CLOSE": "SchlieÃen",
- "COMMAND": "Eingabe",
- "COMPUTEDVARIABLES": "Skriptpfad für berechnete Variabeln",
- "CONDITION": "Bedingung",
+ "COMMAND": "Befehlen",
+ "COMPUTEDVARIABLES": "Skriptpfad für berechnete Variablen",
+ "CONDITION": "Voraussetzung",
"CONTEXT": "Kontext",
"COPY": "Kopieren",
"COPY_PROJECT": "Projekt kopieren",
@@ -61,7 +61,7 @@
"DIGIT": "Maximale Ziffern",
"DIGITS": "Ziffern",
"DOWNLOAD_SQUARERECORDING": "Aufnahme hochladen",
- "DROP_TO_UPLOAD": "HIER ABLEGEN ZUM UPLOADEN",
+ "DROP_TO_UPLOAD": "ABLEGEN ZUM UPLOADEN",
"DROP_TO_UPLOAD_MESSAGE": "Sie können hier auch Dateien hochladen. Nur XML- max.5 MB",
"DSN": "DSN",
"EDIT": "Bearbeiten",
@@ -71,20 +71,20 @@
"EDIT_XML": "XML bearbeiten",
"END": "Ende",
"ERRORS": {
- "DSN_REQUIRED": "DSN erforderlich",
- "FIELD_REQUIRED": "Feld erforderlich",
- "NAME_REQUIRED": "Name erforderlich",
- "PROJECT_REQUIRED": "Projekt erforderlich",
- "URL_REQUIRED": "URL erforderlich"
+ "DSN_REQUIRED": "Pflichtfeld",
+ "FIELD_REQUIRED": "Pflichtfeld",
+ "NAME_REQUIRED": "Pflichtfeld",
+ "PROJECT_REQUIRED": "Pflichtfeld",
+ "URL_REQUIRED": "Pflichtfeld"
},
"ESCAPE_DIGITS": "Escape Digits",
"EXTEN": "Erweitern",
- "EXTENSION": "Nebenstelle/Ziel",
+ "EXTENSION": "Erweiterung",
"EXT_DIAL": "Wählen extern",
- "FILE": "Datei",
+ "FILE": "Dateiname",
"FILENAME": "Dateiname",
- "FILE_ID": "Datei ID",
- "FINALLY": "Am Ende",
+ "FILE_ID": "Audio",
+ "FINALLY": "Schliesslich",
"FINDBY": "Suchen nach",
"GETDIGITS": "Ziffern erhalten",
"GETSECRETDIGITS": "Geheime Ziffern erhalten",
@@ -133,7 +133,7 @@
"LUMENVOXTTS": "Lumenvox Text-To-Speech",
"MACRO": "Macro",
"MAILBOX": "Mailbox",
- "MATH": "Mathematik",
+ "MATH": "Math",
"MAXDIGIT": "Maximum Ziffern",
"MENU": "Menü",
"METHOD": "Methode",
@@ -163,11 +163,11 @@
"OPERATION": "Operation",
"OPTIONS": "Optionen",
"OPTS": "Optionen",
- "OUTPUT": "Ausgabe",
+ "OUTPUT": "Ausgang",
"PAGE": "Seite",
"PASSWORD": "Passwort",
"PAUSE": "Pause",
- "PAUSE_ID": "Pausen ID",
+ "PAUSE_ID": "Pause ID",
"PERMISSIONADD_PROJECTS": "Benutzer zu dem Projekt hinzufügen",
"PHONE": "Telefon",
"PLAYBACK": "Wiedergabe",
@@ -175,22 +175,22 @@
"PRIORITY": "Priorität",
"PROJECT": "Projekt",
"PROJECTS": "Projekte",
- "PROJECT_ID": "Projekt ID",
- "QUERY": "Query",
+ "PROJECT_ID": "Projekt",
+ "QUERY": "Abfrage",
"QUEUE": "Warteschlange",
- "QUEUE_ID": "Warteschlangen ID",
- "RAWBODY": "Textkörper",
+ "QUEUE_ID": "Warteschlange ID",
+ "RAWBODY": "Body",
"RAWHEADERS": "Ãberschriften",
- "RECORD": "Aufzeichnung",
- "RECORDINGFORMAT": "Aufzeichnungsformat",
+ "RECORD": "Aufnahme",
+ "RECORDINGFORMAT": "Aufnahme Format",
"RESPONSE": "Antwort Timeout",
"RESTAPI": "Rest API",
- "RETRY": "Wiederholen",
+ "RETRY": "Wiederholungen",
"ROWSPERPAGE": "Zeilen pro Seite",
"SAVE": "Speichern",
- "SAYDIGITS": "Ziffern sagen",
- "SAYNUMBER": "Nummer sagen",
- "SAYPHONETIC": "Phonetische Ansage",
+ "SAYDIGITS": "Say Digits",
+ "SAYNUMBER": "Say number",
+ "SAYPHONETIC": "Say Phonetics",
"SEARCH_FOR_ANYONE": "Suchen",
"SELECTED": "Ausgewählt",
"SELECTED_USERS": "Ausgewählte Benutzer",
@@ -204,27 +204,27 @@
"SESTEKTTS": "Sestek TTS",
"SET": "Set",
"SIP_ID": "SIP",
- "SMS_ACCOUNT_ID": "ID Konto für SMS",
+ "SMS_ACCOUNT_ID": "Konto",
"SMS_TEXT": "Text",
- "SPEED": "Geschwindigkeit",
- "SQUARERECORDINGS": "Aufzeichnungen",
- "SSMLGENDER": "Geschlecht Stimme",
+ "SPEED": "Speed",
+ "SQUARERECORDINGS": "Aufnahmen",
+ "SSMLGENDER": "Geschlecht",
"START": "Start",
"SUBJECT": "Betreff",
"SUBPROJECT": "Sub-Projekt",
"SYSTEM": "System",
"TELEPHONES": "Telefone",
- "TEMPLATE_ID": "Vorlagen ID",
+ "TEMPLATE_ID": "Vorlage",
"TEST_ODBC": "Test ODBC",
"TEXT": "Text",
"TILDEASR": "Tilde ASR",
"TIMEOUT": "Timeout",
- "TO": "An",
+ "TO": "To",
"TRUNK_NAME": "Trunk",
"TTS": "Google Text-To-Speech",
"UNIQUEID": "Eindeutige ID",
"UNPAUSE": "Pause beenden",
- "UPDATE_DESCRIPTION": "Beschreibung aktualisieren",
+ "UPDATE_DESCRIPTION": "Update Beschreibung",
"UPDATE_INFO": "Info aktualisieren",
"URI": "URI",
"URL": "URL",
@@ -238,7 +238,7 @@
"DIALOGFLOWV2": "DialogflowV2",
"DIALOGFLOWV2_LANGUAGE": "Sprache",
"DIALOGFLOWV2_PROJECT_ID": "Projekt-ID",
- "PRIVATE_KEY": "Privater Schlüssel",
+ "PRIVATE_KEY": "Privat Schlüssel",
"DIALTIMEZONE": "Zeitzone wählen"
}
}
diff --git a/public/app/main/apps/callysquare/i18n/nl.json b/public/app/main/apps/callysquare/i18n/nl.json
index dbe19f3..0f1fe4e 100644
--- a/public/app/main/apps/callysquare/i18n/nl.json
+++ b/public/app/main/apps/callysquare/i18n/nl.json
@@ -2,203 +2,203 @@
"CALLYSQUARE": {
"ACCOUNT_ID": "Account",
"ADDUSER_PROJECTS": "Gebruikers toevoegen aan project",
- "ADD_ODBC": "ODBC Toevoegen",
- "ADD_PROJECT": "Project Toevoegen",
- "ADD_VARIABLE": "Variabele Toevoegen",
+ "ADD_ODBC": "Voeg ODBC",
+ "ADD_PROJECT": "Voeg Project",
+ "ADD_VARIABLE": "Variabele toevoegen",
"AGENTS": "Agenten",
"AGI": "AGI",
"ALL_USERS": "Alle gebruikers",
- "ANSWER": "Antwoorden",
- "APIKEY": "API key",
+ "ANSWER": "Answer",
+ "APIKEY": "API sleutel",
"APPID": "App ID",
- "APPLICATION": "Applicatie",
- "APPSECRET": "App secret",
+ "APPLICATION": "Application",
+ "APPSECRET": "App geheim",
"ARGS": "Arguments",
"ATTACHMENT_NAME": "Bijlagenaam",
- "ATTACHMENT_PATH": "Bijlage pad",
- "ATTACHMENT_TYPE": "Type bijlage",
+ "ATTACHMENT_PATH": "Attachment pad",
+ "ATTACHMENT_TYPE": "Type aansluiting",
"AUDIO": "Audio",
"AUDIOENCODING": "Audiocodering",
"AWSLEX": "Amazon Lex",
- "AWSPOLLY": "Amazon Polly",
- "AWS_ACCESS_KEY_ID": "Access key ID",
+ "AWSPOLLY": "AWS Polly",
+ "AWS_ACCESS_KEY_ID": "Toegangstoets ID",
"AWS_BOT_NAME": "Botnaam",
"AWS_LEX_REGION": "Regio",
"AWS_POLLY_REGION": "Regio",
"AWS_POLLY_VOICE": "Spraak",
- "AWS_SECRET_ACCESS_KEY": "Access key",
- "AWS_TEXT_TYPE": "Soort bericht",
+ "AWS_SECRET_ACCESS_KEY": "Geheime sleutel",
+ "AWS_TEXT_TYPE": "Bericht soort",
"BACK": "Terug",
"BCC": "BCC",
"BEEP": "Beep",
- "BODY": "Inhoud",
- "CALLBACK": "Terugbellen",
+ "BODY": "Lichaam",
+ "CALLBACK": "Callback",
"CALLBACK_PRIORITY": "Prioriteit",
- "CALLYSQUARE": "Cally Square",
+ "CALLYSQUARE": "Schrijfsnelheid Square",
"CC": "CC",
- "CHOOSE_ATTACHMENT": "Kies een bijlage",
- "CLOSE": "Sluiten",
- "COMMAND": "Commando",
+ "CHOOSE_ATTACHMENT": "Kies voorzetstuk",
+ "CLOSE": "Dicht",
+ "COMMAND": "Command",
"COMPUTEDVARIABLES": "Scriptpad voor berekende variabelen",
- "CONDITION": "Voorwaarde",
+ "CONDITION": "Condition",
"CONTEXT": "Context",
"COPY": "Kopiëren",
- "COPY_PROJECT": "Project Kopiëren",
- "CREATED_AT": "Gemaakt Op",
- "CUSTOM_ACTION": "Aangepaste Actie",
- "CUSTOM_ACTION_DATA": "Aangepaste Actiegegevens",
- "CUSTOM_APP": "Aangepaste Applicatie",
+ "COPY_PROJECT": "Kopieer Project",
+ "CREATED_AT": "Gemaakt op",
+ "CUSTOM_ACTION": "Aangepaste actie",
+ "CUSTOM_ACTION_DATA": "Aangepaste actiegegevens",
+ "CUSTOM_APP": "Custom Application",
"DATABASE": "Database",
- "DELAY": "Vertraging",
+ "DELAY": "Delay",
"DELETE": "Verwijderen",
- "DELETE_ODBC": "ODBC Verwijderen",
- "DELETE_PROJECT": "Project Verwijderen",
- "DELETE_SQUARERECORDING": "Opname Verwijderen",
+ "DELETE_ODBC": "Verwijderen van ODBC",
+ "DELETE_PROJECT": "Project verwijderen",
+ "DELETE_SQUARERECORDING": "Wis vierkant opnemen",
"DESCRIPTION": "Beschrijving",
- "DIAL": "Bel",
- "DIALOGFLOW": "Dialoogstroom",
+ "DIAL": "Dial",
+ "DIALOGFLOW": "Dialogflow",
"DIALOGFLOW_LANGUAGE": "Taal",
- "DIGIT": "Maximaal aantal cijfers",
- "DIGITS": "Cijfers",
- "DOWNLOAD_SQUARERECORDING": "Opnames Downloaden",
- "DROP_TO_UPLOAD": "Bestanden slepen om te uploaden",
- "DROP_TO_UPLOAD_MESSAGE": "U kunt ook bestanden hiernaartoe slepen om ze te uploaden. Alleen XML - Max. 5MB",
+ "DIGIT": "Max Digits",
+ "DIGITS": "Digits",
+ "DOWNLOAD_SQUARERECORDING": "Download vierkante opnemen",
+ "DROP_TO_UPLOAD": "DROP om te uploaden",
+ "DROP_TO_UPLOAD_MESSAGE": "U kunt ook bestanden hier neer te uploaden. Alleen XML - Max. 5MB",
"DSN": "DSN",
- "EDIT": "Bewerken",
- "EDIT_ODBC": "ODBC Bewerken",
- "EDIT_PROJECT": "Project Bewerken",
- "EDIT_SQUARERECORDING": "Opnames Bewerken",
- "EDIT_XML": "XML aanpassen",
- "END": "Einde",
+ "EDIT": "Edit",
+ "EDIT_ODBC": "Edit ODBC",
+ "EDIT_PROJECT": "Edit Project",
+ "EDIT_SQUARERECORDING": "Edit plein opnemen",
+ "EDIT_XML": "Edit XML",
+ "END": "End",
"ERRORS": {
- "DSN_REQUIRED": "Verplicht veld",
- "FIELD_REQUIRED": "Verplicht veld",
- "NAME_REQUIRED": "Verplicht veld",
- "PROJECT_REQUIRED": "Verplicht veld",
+ "DSN_REQUIRED": "Het DSN is vereist",
+ "FIELD_REQUIRED": "Het is een verplicht veld",
+ "NAME_REQUIRED": "De naam is verplicht",
+ "PROJECT_REQUIRED": "Het project is vereist",
"URL_REQUIRED": "Verplicht veld"
},
- "ESCAPE_DIGITS": "Escape cijfers",
+ "ESCAPE_DIGITS": "Escape Digits",
"EXTEN": "Uitbreiding",
- "EXTENSION": "Extensie",
- "EXT_DIAL": "Bellen naar extern",
- "FILE": "Bestand",
+ "EXTENSION": "Extension",
+ "EXT_DIAL": "External Dial",
+ "FILE": "Filename",
"FILENAME": "Bestandsnaam",
"FILE_ID": "Audio",
- "FINALLY": "Ten slotte",
+ "FINALLY": "Finally",
"FINDBY": "Zoek naar",
- "GETDIGITS": "Cijfers opvragen",
- "GETSECRETDIGITS": "Geheime cijfers opvragen",
- "GOAL": "Doel",
- "GOALNAME": "Doelnaam",
+ "GETDIGITS": "Get Digits",
+ "GETSECRETDIGITS": "Get Secret Digits",
+ "GOAL": "Goal",
+ "GOALNAME": "Goal Name",
"GOOGLEASR": "GoogleASR",
"GOOGLE_ASR_LANGUAGE": "Taal",
"GOOGLE_CLOUD_TTS": "Google Cloud TTS",
- "GOOGLE_CLOUD_TTS_TEXT_TYPE": "Soort bericht",
- "GOOGLE_TTS_LANGUAGE": "Taal",
+ "GOOGLE_CLOUD_TTS_TEXT_TYPE": "Bericht soort",
+ "GOOGLE_TTS_LANGUAGE": "Language",
"GOSUB": "GoSub",
"GOTOC": "GoTo",
"GOTOIF": "GoToIf",
"GOTOIFTIME": "GoToIfTime",
"GO_TO_PROJECTS": "Ga naar projecten",
"GRAMMAR": "Grammatica",
- "HANGUP": "Ophangen",
+ "HANGUP": "Hangup",
"HEADERS": "Kopteksten",
"HELP": {
- "BCC": "U kunt meerdere adressen toevoegen door ze te scheiden met een komma (bijvoorbeeld John.doe@xcally.com, jane.miller@xcally.com)",
- "CC": "U kunt meerdere adressen toevoegen door ze te scheiden met een komma (bijvoorbeeld John.doe@xcally.com, jane.miller@xcally.com)",
+ "BCC": "U kunt meerdere adressen met een komma (bijvoorbeeld John.doe@xcally.com, jane.miller@xcally.com)",
+ "CC": "U kunt meerdere adressen met een komma (bijvoorbeeld John.doe@xcally.com, jane.miller@xcally.com)",
"DSN": "Voorbeeld: DRIVER=MySQL;SERVER=127.0.0.1;uid=xcall;pwd=wachtwoord;DATABASE=motion",
"MAILBOX": "Mailbox@context",
"MAX_TEXT_TTS": "Het maximale aantal ondersteunde tekens is 200",
- "TO": "U kunt meerdere adressen toevoegen door ze te scheiden met een komma (bijvoorbeeld John.doe@xcally.com, jane.miller@xcally.com)"
+ "TO": "U kunt meerdere adressen met een komma (bijvoorbeeld John.doe@xcally.com, jane.miller@xcally.com)"
},
- "HIDDENDIGITSNUM": "Verborgen Cijfer Nummer",
- "HIDDENDIGITSPOS": "Verborgen Cijfer Positie",
- "ID": "ID",
+ "HIDDENDIGITSNUM": "Hiddden Digits Number",
+ "HIDDENDIGITSPOS": "Hidden Digits Position",
+ "ID": "Id",
"IMPORT": "Importeren",
- "IMPORT_XML": "Importeer XML",
+ "IMPORT_XML": "Import XML",
"INTERVAL_ID": "Interval",
- "INTKEY": "Toets voor onderbreken",
+ "INTKEY": "Interrupt Key",
"ISPEECHASR": "ISpeech ASR",
"ISPEECHTTS": "ISpeech Text-To-Speech",
- "ISPEECH_ASR_LANGUAGE": "Taal",
- "ISPEECH_TTS_LANGUAGE": "Taal",
- "KEY": "Sleutel",
+ "ISPEECH_ASR_LANGUAGE": "Language",
+ "ISPEECH_TTS_LANGUAGE": "Language",
+ "KEY": "Key",
"LABEL": "Label",
"LANGUAGECODE": "Taalcode",
- "LASTNAME": "Achternaam",
- "LIST_ID": "Lijst",
- "LOGIN": "Inloggen",
+ "LASTNAME": "Last Name",
+ "LIST_ID": "List",
+ "LOGIN": "Log in",
"LOGOUT": "Uitloggen",
"LUMENVOXASR": "Lumenvox ASR",
"LUMENVOXTTS": "Lumenvox Text-To-Speech",
"MACRO": "Macro",
"MAILBOX": "Mailbox",
- "MATH": "Wiskundefuncties",
- "MAXDIGIT": "Maximaal aantal cijfers",
+ "MATH": "Math",
+ "MAXDIGIT": "Maximum Digits",
"MENU": "Menu",
"METHOD": "Methode",
- "MINDIGIT": "Minimaal aantal cijfers",
+ "MINDIGIT": "Minimum Digits",
"MODEL": "Model",
"MRCPRECOG": "MRCPRecog",
"MRCPSYNTH": "MRCPSynth",
"NAME": "Naam",
"NDAACTIVITY_TYPE": "Soort activiteit",
- "NDAGENERATE_AUDIO": "Audiobestand genereren",
+ "NDAGENERATE_AUDIO": "Genereer audiobestand",
"NDASSISTANT_URL": "NDASSISTANT URL",
"NDAUTH_URL": "NDAUTH-URL",
- "NEW": "Nieuw",
- "NEW_ODBC": "Nieuwe ODBC Verbinding",
- "NEW_PROJECT": "Nieuw Project",
- "NEW_VARIABLE": "Nieuwe Variabele",
+ "NEW": "Nieuwe",
+ "NEW_ODBC": "Nieuwe ODBC verbinding",
+ "NEW_PROJECT": "Nieuw project",
+ "NEW_VARIABLE": "Nieuwe variabele",
"NOOP": "NoOp",
"NOTES": "Aantekeningen",
"NO_AVAILABLE_INFO": "Geen beschikbare informatie",
- "NUMBER": "Nummer",
+ "NUMBER": "Number",
"ODBC": "ODBC",
- "ODBC_ID": "ODBC Verbinding",
+ "ODBC_ID": "ODBC Connection",
"OF": "Van",
"OPEN": "Open",
"OPEN_NEW_WINDOW": "Open in een nieuw venster",
- "OPEN_PROJECT": "Project Openen",
- "OPERATION": "Operatie",
- "OPTIONS": "Opties",
- "OPTS": "Opties",
- "OUTPUT": "Resultaat",
+ "OPEN_PROJECT": "Project openen",
+ "OPERATION": "Operation",
+ "OPTIONS": "Options",
+ "OPTS": "Options",
+ "OUTPUT": "Output",
"PAGE": "Pagina",
"PASSWORD": "Wachtwoord",
"PAUSE": "Pauze",
- "PAUSE_ID": "Soort pauze",
+ "PAUSE_ID": "Pauzeer type",
"PERMISSIONADD_PROJECTS": "Gebruikers toevoegen aan project",
"PHONE": "Telefoon",
- "PLAYBACK": "Afspelen",
- "POSITION": "Positie",
- "PRIORITY": "Prioriteit",
+ "PLAYBACK": "Playback",
+ "POSITION": "Position",
+ "PRIORITY": "Priority",
"PROJECT": "Project",
"PROJECTS": "Projecten",
"PROJECT_ID": "Project",
"QUERY": "Query",
"QUEUE": "Queue",
"QUEUE_ID": "Queue",
- "RAWBODY": "Inhoud",
+ "RAWBODY": "Lichaam",
"RAWHEADERS": "Kopteksten",
- "RECORD": "Opname",
- "RECORDINGFORMAT": "Opnameformaat",
- "RESPONSE": "Reactie Timeout",
+ "RECORD": "Record",
+ "RECORDINGFORMAT": "Recording Format",
+ "RESPONSE": "Response Timeout",
"RESTAPI": "Rest API",
- "RETRY": "Pogingen",
+ "RETRY": "Retries",
"ROWSPERPAGE": "Rijen per pagina",
"SAVE": "Opslaan",
- "SAYDIGITS": "Cijfers uitspreken",
- "SAYNUMBER": "Nummer uitspreken",
- "SAYPHONETIC": "Fonetisch uitspreken",
- "SEARCH_FOR_ANYONE": "Zoeken",
+ "SAYDIGITS": "Say Digits",
+ "SAYNUMBER": "Say number",
+ "SAYPHONETIC": "Say Phonetics",
+ "SEARCH_FOR_ANYONE": "Zoeken voor iedereen",
"SELECTED": "Geselecteerd",
- "SELECTED_USERS": "Geselecteerde Gebruikers",
- "SELECT_ALL": "Selecteer Alles ",
- "SELECT_NONE": "Selecteer Geen.",
+ "SELECTED_USERS": "Geselecteerde gebruikers",
+ "SELECT_ALL": "Alles selecteren",
+ "SELECT_NONE": "Selecteer None (Geen).",
"SENDFAX": "Fax verzenden",
- "SENDMAIL": "Mail verzenden",
- "SENDSMS": "SMS verzenden",
+ "SENDMAIL": "Send Mail",
+ "SENDSMS": "Send SMS",
"SESTEKASR": "Sestek ASR",
"SESTEKNDA": "Sestek NDA",
"SESTEKTTS": "Sestek TTS",
@@ -207,38 +207,38 @@
"SMS_ACCOUNT_ID": "Account",
"SMS_TEXT": "Text",
"SPEED": "Speed",
- "SQUARERECORDINGS": "Opnames",
+ "SQUARERECORDINGS": "Vierkante opnamen",
"SSMLGENDER": "Geslacht",
"START": "Start",
- "SUBJECT": "Onderwerp",
+ "SUBJECT": "Subject",
"SUBPROJECT": "Sub Project",
- "SYSTEM": "Systeem",
+ "SYSTEM": "System",
"TELEPHONES": "Telefoons",
- "TEMPLATE_ID": "Sjabloon",
+ "TEMPLATE_ID": "Template",
"TEST_ODBC": "Test ODBC",
"TEXT": "Text",
"TILDEASR": "Tilde ASR",
"TIMEOUT": "Timeout",
- "TO": "Naar",
+ "TO": "To",
"TRUNK_NAME": "Trunk",
"TTS": "Google Text-To-Speech",
"UNIQUEID": "Unieke ID",
"UNPAUSE": "Einde pauze",
"UPDATE_DESCRIPTION": "Beschrijving van update",
- "UPDATE_INFO": "Gegevens Bijwerken",
+ "UPDATE_INFO": "Gegevens bijwerken",
"URI": "URI",
"URL": "URL",
"USERNAME": "Gebruikersnaam",
"USERS": "Gebruikers",
- "VARIABLE_ID": "Variabele",
- "VARIABLE_VALUE": "Waarde",
+ "VARIABLE_ID": "Variable",
+ "VARIABLE_VALUE": "Value",
"VOICEMAIL": "Voicemail",
- "VSWITCH": "Variabele schakelaar",
+ "VSWITCH": "Variable Switch",
"CLIENT_EMAIL": "E-mail van de klant",
"DIALOGFLOWV2": "DialogflowV2",
"DIALOGFLOWV2_LANGUAGE": "Taal",
"DIALOGFLOWV2_PROJECT_ID": "Project-ID",
- "PRIVATE_KEY": "Geheime sleutel",
+ "PRIVATE_KEY": "Prive sleutel",
"DIALTIMEZONE": "Kies tijdzone"
}
}
diff --git a/public/app/main/apps/callysquare/i18n/pt-BR.json b/public/app/main/apps/callysquare/i18n/pt-BR.json
index 97801f3..42dd4c2 100644
--- a/public/app/main/apps/callysquare/i18n/pt-BR.json
+++ b/public/app/main/apps/callysquare/i18n/pt-BR.json
@@ -12,21 +12,21 @@
"APIKEY": "Chave API",
"APPID": "ID do aplicativo",
"APPLICATION": "Aplicação",
- "APPSECRET": "App Senha",
+ "APPSECRET": "App Secret",
"ARGS": "Argumentos",
"ATTACHMENT_NAME": "Nome do anexo",
"ATTACHMENT_PATH": "Caminho de anexos",
"ATTACHMENT_TYPE": "Tipo de anexo",
- "AUDIO": "Audio",
+ "AUDIO": "Ãudio",
"AUDIOENCODING": "Codificação de áudio",
"AWSLEX": "AWS Lex",
"AWSPOLLY": "AWS Polly",
- "AWS_ACCESS_KEY_ID": "Access Key ID",
+ "AWS_ACCESS_KEY_ID": "Access key ID",
"AWS_BOT_NAME": "Nome BOT",
"AWS_LEX_REGION": "Região",
"AWS_POLLY_REGION": "Região",
"AWS_POLLY_VOICE": "Voz",
- "AWS_SECRET_ACCESS_KEY": "Secret Access Key",
+ "AWS_SECRET_ACCESS_KEY": "AWS Secret Access Key",
"AWS_TEXT_TYPE": "Tipo de texto",
"BACK": "Voltar",
"BCC": "BCC",
@@ -45,11 +45,11 @@
"COPY": "Copiar",
"COPY_PROJECT": "Copiar projeto",
"CREATED_AT": "Criado em",
- "CUSTOM_ACTION": "Ação Personalizada",
+ "CUSTOM_ACTION": "Ação personalizada",
"CUSTOM_ACTION_DATA": "Dados de ação personalizada",
- "CUSTOM_APP": "Aplicativo Personalizado",
+ "CUSTOM_APP": "Aplicativo personalizado",
"DATABASE": "Base de dados",
- "DELAY": "delay [min]",
+ "DELAY": "Delay [min]",
"DELETE": "Excluir",
"DELETE_ODBC": "Deletar ODBC",
"DELETE_PROJECT": "Deletar projeto",
@@ -58,10 +58,10 @@
"DIAL": "Discar",
"DIALOGFLOW": "Dialogflow",
"DIALOGFLOW_LANGUAGE": "Idioma",
- "DIGIT": "DÃgito",
+ "DIGIT": "Max dÃgitos",
"DIGITS": "DÃgitos",
"DOWNLOAD_SQUARERECORDING": "Download gravação",
- "DROP_TO_UPLOAD": "Soltar para UPLOAD",
+ "DROP_TO_UPLOAD": "Soltar para upload",
"DROP_TO_UPLOAD_MESSAGE": "Você também pode soltar arquivos aqui para fazer o upload. Apenas XML - Máx. 5MB",
"DSN": "DSN",
"EDIT": "Editar",
@@ -77,13 +77,13 @@
"PROJECT_REQUIRED": "Campo obrigatório",
"URL_REQUIRED": "Campo obrigatório"
},
- "ESCAPE_DIGITS": "DÃgitos de Escape",
+ "ESCAPE_DIGITS": "DÃgitos de escape",
"EXTEN": "Exten",
"EXTENSION": "Extensão",
- "EXT_DIAL": "Discagem Externa",
+ "EXT_DIAL": "Discagem externa",
"FILE": "Nome do arquivo",
"FILENAME": "Nome do arquivo",
- "FILE_ID": "Ãudio",
+ "FILE_ID": "Audio",
"FINALLY": "Finalmente",
"FINDBY": "Encontrar por",
"GETDIGITS": "Obter dÃgitos",
@@ -117,9 +117,9 @@
"IMPORT": "Importar",
"IMPORT_XML": "Importar XML",
"INTERVAL_ID": "Intervalo",
- "INTKEY": "Interrupt Key",
+ "INTKEY": "Interrupt key",
"ISPEECHASR": "iSpeech ASR",
- "ISPEECHTTS": "iSpeech Text-To-Speech",
+ "ISPEECHTTS": "iSpeech TTS",
"ISPEECH_ASR_LANGUAGE": "Idioma",
"ISPEECH_TTS_LANGUAGE": "Idioma",
"KEY": "Key",
@@ -188,8 +188,8 @@
"RETRY": "Repetições",
"ROWSPERPAGE": "Linhas por página",
"SAVE": "Salvar",
- "SAYDIGITS": "Falar Digitos",
- "SAYNUMBER": "Falar número",
+ "SAYDIGITS": "Say Digits",
+ "SAYNUMBER": "Say number",
"SAYPHONETIC": "Say Phonetics",
"SEARCH_FOR_ANYONE": "Procurar",
"SELECTED": "Selecionado",
@@ -202,7 +202,7 @@
"SESTEKASR": "Sestek ASR",
"SESTEKNDA": "Sestek NDA",
"SESTEKTTS": "Sestek TTS",
- "SET": "Aplicar",
+ "SET": "Set",
"SIP_ID": "SIP",
"SMS_ACCOUNT_ID": "Conta",
"SMS_TEXT": "Texto",
@@ -225,7 +225,7 @@
"UNIQUEID": "Unique ID",
"UNPAUSE": "Fim da Pausa",
"UPDATE_DESCRIPTION": "Atualizar descrição",
- "UPDATE_INFO": "Atualizar informação",
+ "UPDATE_INFO": "Informação de atualização",
"URI": "URI",
"URL": "URL",
"USERNAME": "Nome de usuário",
@@ -233,7 +233,7 @@
"VARIABLE_ID": "Variável",
"VARIABLE_VALUE": "Valor",
"VOICEMAIL": "Correio de voz",
- "VSWITCH": "Variable Switch",
+ "VSWITCH": "Variable switch",
"CLIENT_EMAIL": "Email do cliente",
"DIALOGFLOWV2": "DialogflowV2",
"DIALOGFLOWV2_LANGUAGE": "LÃngua",
diff --git a/public/app/main/apps/chat/i18n/de.json b/public/app/main/apps/chat/i18n/de.json
index 112cad3..9fd2be8 100644
--- a/public/app/main/apps/chat/i18n/de.json
+++ b/public/app/main/apps/chat/i18n/de.json
@@ -2,149 +2,149 @@
"CHAT": {
"AMAZONLEX": "Amazon Lex",
"TEXT": "Text",
- "TIMES": "Anzeigehäufigkeit automatische Antwort",
+ "TIMES": "Anzahl der Zeiten pro Interaktion",
"EDIT_AUTOREPLY": "Automatische Antwort bearbeiten",
"AUTOREPLY": "Automatische Antwort",
"NEW_CHATDISPOSITION": "Neue Chat-Qualifizierung",
- "ENABLECUSTOMERATTACHMENT": "Kunde darf Anhänge im Chat hochladen",
- "OFFLINE_CHAT_BUTTON": "Text auf dem Button zum Hinterlassen einer Nachricht, wenn Chat offline",
- "OFFLINESTATUS": "Verhalten - Chat ist offline (AuÃerhalb Geschäftszeiten)",
+ "ENABLECUSTOMERATTACHMENT": "Kundenanhänge aktivieren",
+ "OFFLINE_CHAT_BUTTON": "Button Chat offline",
+ "OFFLINESTATUS": "Offline Status",
"NAME": "Name",
"CHATQUEUES": "Chat-Warteschlangen",
"SEARCH_FOR_ANYONE": "Suche",
- "STRATEGY": "Verteilungsstrategie an freie Agenten",
- "AGENT_TIMEOUT": "Klingelzeit (in Sekunden), bevor Weiterleitung an den nächsten Agenten erfolgt",
+ "STRATEGY": "Strategie",
+ "AGENT_TIMEOUT": "Agent Timeout",
"DESCRIPTION": "Beschreibung",
- "KEY": "Kurzname",
+ "KEY": "Schlüssel",
"ALIAS": "Alias-Name",
- "VARIABLE": "Variabel",
- "INTERVAL": "Zeitplanung",
- "EDIT_CLOSE": "Interaktion schlieÃen und Qualifizierung hinzufügen",
+ "VARIABLE": "Variable",
+ "INTERVAL": "Intervall",
+ "EDIT_CLOSE": "Bearbeitung abschlieÃen",
"TIMEZONE": "Zeitzone",
"MESSAGE": "Nachricht",
- "ADVANCED": "Skript und Zeitplanung",
- "FORWARDTRANSCRIPT": "Kunde kann Chatverlauf per E-Mail anfordern",
- "FORWARDTRANSCRIPTMESSAGE": "Einleitungstext für die automatische E-Mail",
- "SKIPMESSAGEBUTTON": "Text auf dem Button zum Ãberspringen der Bewertung/Feedback nach einem Chat",
+ "ADVANCED": "Erweitert",
+ "FORWARDTRANSCRIPT": "Transkript weiterleiten",
+ "FORWARDTRANSCRIPTMESSAGE": "Transkript-Nachricht weiterleiten",
+ "SKIPMESSAGEBUTTON": "Nachrichtenbutton überspringen",
"EDIT_MESSAGE": "Nachricht bearbeiten",
- "CONDITION_AGREEMENT": "Chatbedingungen zustimmen",
+ "CONDITION_AGREEMENT": "Konditionelle Vereinbarung",
"NONE": "Nichts",
"PRIORITY": "Priorität",
- "ONLINESTATUS": "Verhalten - Chat ist online",
- "UNMANAGEDSTATUS": "Verhalten - Chat ist nicht verfügbar",
- "AUTOCLOSE": "Automatisches Abweisen, wenn kein Agent verfügbar",
- "ENABLEUNMANAGEDNOTE": "Automatische Nachricht, wenn Chat nicht verfügbar",
- "UNMANAGEDMESSAGE": "Hier Nachricht für den Kunden eingeben, wenn der Chat nicht verfügbar ist",
- "SKIPUNMANAGED": "Text auf dem Button zum Beenden des Chats ohne Hinterlassen einer Nachricht",
- "SENDUNMANAGED": "Text auf dem Button zum Beenden des Chats mit Hinterlassen einer Nachricht",
+ "ONLINESTATUS": "Online Status",
+ "UNMANAGEDSTATUS": "Status nicht bearbeitet",
+ "AUTOCLOSE": "Automatisches SchlieÃen aktivieren",
+ "ENABLEUNMANAGEDNOTE": "Unbearbeitete Nachricht aktivieren",
+ "UNMANAGEDMESSAGE": "Unbearbeitete Nachricht",
+ "SKIPUNMANAGED": "Nachricht überspringen",
+ "SENDUNMANAGED": "Nachricht senden",
"WEBSITESCRIPT": "Webseiten-Skript",
"DELETE_OFFLINEMESSAGE": "Löschen",
- "OFFLINEMESSAGES": "Offline-Nachrichten",
- "FORWARD_OFFLINE": "Offline-Nachrichten per E-Mail weiterleiten (extern)",
+ "OFFLINEMESSAGES": "Offline Nachrichten",
+ "FORWARD_OFFLINE": "Offline weiterleiten",
"SHOW_OFFLINEMESSAGE": "Anzeigen",
- "FORWARD_OFFLINE_ADDRESS": "Empfängeradresse eingeben",
- "CLOSINGFORM": "Verhalten bei Chatende",
- "ENABLERATING": "Bewertung ermöglichen",
+ "FORWARD_OFFLINE_ADDRESS": "Offline-Adresse weiterleiten",
+ "CLOSINGFORM": "Formular schlieÃen",
+ "ENABLERATING": "Bewertung aktivieren",
"ENABLECUSTOMERWRITING": "Kunde kann schreiben, bevor Chat akzeptiert wird",
- "ENABLEFEEDBACK": "Feedback ermöglichen",
+ "ENABLEFEEDBACK": "Feedback aktivieren",
"RATINGTYPE": "Bewertungstyp",
- "CLOSINGMESSAGE": "Nachricht bei Chatende",
- "CLOSINGMESSAGEBUTTON": "Text auf dem Button zum Beenden des Chats",
- "RATINGSTARSNUMBER": "Anzahl der Bewertungssterne (1-5)",
- "EDIT_GOTOIF": "Bedingung bearbeiten und Priorität zuweisen",
+ "CLOSINGMESSAGE": "Abschluss Nachricht",
+ "CLOSINGMESSAGEBUTTON": "Button für Abschluss Nachricht",
+ "RATINGSTARSNUMBER": "Anzahl der Bewertungssterne",
+ "EDIT_GOTOIF": "GotoIf bearbeiten",
"CONDITION": "Bedingung",
- "TRUEPRIORITY": "Priorität, wenn erfüllt (true)",
- "FALSEPRIORITY": "Priorität, wenn nicht erfüllt (false)",
+ "TRUEPRIORITY": "Wahre Priorität",
+ "FALSEPRIORITY": "Falsche Priorität",
"VALUE": "Wert",
"WEBSITEALIAS": "Website-Alias",
"ERRORS": {
- "TEXT_REQUIRED": "Text erforderlich",
- "SENDUNMANAGED_REQUIRED": "Text erforderlich",
- "SENDUNMANAGED_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "SKIPUNMANAGED_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "UNMANAGEDMESSAGE_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "WEBSITEALIAS_MAX_LENGTH": "Name darf nicht länger als {{max}} Zeichen sein",
- "AGENT_REQUIRED": "Agent erforderlich",
- "QUEUE_REQUIRED": "Warteschlange erforderlich",
- "CONDITION_REQUIRED": "Bedingung (Variabel oder Wert) erforderlich",
- "PRIORITY_REQUIRED": "Priorität erforderlich",
- "TRUEPRIORITY_REQUIRED": "Priorität bei zutreffender Bedingung erforderlich",
- "FALSEPRIORITY_REQUIRED": "Priorität bei nicht zutreffender Bedingung erforderlich",
- "NAME_REQUIRED": "Name erforderlich",
- "LIST_REQUIRED": "Liste erforderlich",
- "AGENT_TIMEOUT_REQUIRED": "Zeitüberschreitung Agent erforderlich",
- "MOTIONADDRESS_REQUIRED": "Adresse erforderlich",
- "DISPOSITION_REQUIRED": "Qualifizierung erforderlich",
- "MOTIONADDRESS_MUST_VALID_URL": "URL Format ungültig",
- "EMAIL_MUST_BE_VALID": "E-Mail Format ungültig",
- "ADDRESS_REQUIRED": "Adresse erforderlich",
- "ADDRESS_MUST_VALID_URL": "URL Format ungültig",
- "ENQUIRY_FORWARDING_ADDRESS_REQUIRED": "E-Mail Adresse erforderlich",
- "ACCEPTURL_MUST_VALID_URL": "URL Format ungültig",
- "TIMEOUT_REQUIRED": "Zeitüberschreitung erforderlich",
- "REJECTURL_MUST_VALID_URL": "URL Format ungültig",
- "CLOSEURL_MUST_VALID_URL": "URL Format ungültig",
- "PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Priorität muss gröÃer oder gleich sein als",
- "TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Priorität bei Bedingung erfüllt muss gröÃer oder gleich sein als",
- "FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Priorität bei Bedingung nicht erfüllt muss gröÃer oder gleich sein als",
- "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss gröÃer oder gleich sein als",
- "POLLING_INTERVAL_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Aktualisierungsintervall muss gröÃer oder gleich sein als",
- "WAITINGMESSAGE_REQUIRED": "Wartenachricht erforderlich",
- "WAITINGTITLE_REQUIRED": "Titel während Warten erforderlich",
- "KEY_MAX_LENGTH": "Wert darf nicht länger als {{max}} Zeichen sein",
- "KEY_REQUIRED": "Eingabe erforderlich",
- "WAITINGMESSAGE_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "WAITINGTITLE_MAX_LENGTH": "Titel darf nicht länger als {{max}} Zeichen sein",
- "RATINGSTARSNUMBER_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Anzahl muss gröÃer oder gleich sein als",
- "HEADER_OFFLINE_MAX_LENGTH": "Titel darf nicht länger als {{max}} Zeichen sein",
- "OFFLINE_CHAT_BUTTON_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "CLOSINGQUESTION_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "TEXT_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "VALUE_REQUIRED": "Wert erforderlich",
- "OFFLINEMESSAGESUBJECT_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "OFFLINEMESSAGEBODY_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "PLACEHOLDERMESSAGE_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "NOTETITLE_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "FORMSUBMITSUCCESSMESSAGE_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "FORMSUBMITFAILUREMESSAGE_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "FONTSIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "SchriftgröÃe muss gröÃer oder gleich sein als",
- "FONTSIZE_REQUIRED": "SchriftgröÃe erforderlich",
- "COMMAND_REQUIRED": "Eingabe erforderlich",
+ "TEXT_REQUIRED": "Pflichtfeld",
+ "SENDUNMANAGED_REQUIRED": "Pflichtfeld",
+ "SENDUNMANAGED_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "SKIPUNMANAGED_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "UNMANAGEDMESSAGE_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "WEBSITEALIAS_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "AGENT_REQUIRED": "Pflichtfeld",
+ "QUEUE_REQUIRED": "Pflichtfeld",
+ "CONDITION_REQUIRED": "Pflichtfeld",
+ "PRIORITY_REQUIRED": "Pflichtfeld",
+ "TRUEPRIORITY_REQUIRED": "Pflichtfeld",
+ "FALSEPRIORITY_REQUIRED": "Pflichtfeld",
+ "NAME_REQUIRED": "Pflichtfeld",
+ "LIST_REQUIRED": "Pflichtfeld",
+ "AGENT_TIMEOUT_REQUIRED": "Pflichtfeld",
+ "MOTIONADDRESS_REQUIRED": "Pflichtfeld",
+ "DISPOSITION_REQUIRED": "Pflichtfeld",
+ "MOTIONADDRESS_MUST_VALID_URL": "Falsches Format",
+ "EMAIL_MUST_BE_VALID": "Falsches Format",
+ "ADDRESS_REQUIRED": "Pflichtfeld",
+ "ADDRESS_MUST_VALID_URL": "Falsches Format",
+ "ENQUIRY_FORWARDING_ADDRESS_REQUIRED": "Pflichtfeld",
+ "ACCEPTURL_MUST_VALID_URL": "Falsches Format",
+ "TIMEOUT_REQUIRED": "Pflichtfeld",
+ "REJECTURL_MUST_VALID_URL": "Falsches Format",
+ "CLOSEURL_MUST_VALID_URL": "Falsches Format",
+ "PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
+ "TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
+ "FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
+ "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
+ "POLLING_INTERVAL_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
+ "WAITINGMESSAGE_REQUIRED": "Pflichtfeld",
+ "WAITINGTITLE_REQUIRED": "Pflichtfeld",
+ "KEY_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "KEY_REQUIRED": "Pflichtfeld",
+ "WAITINGMESSAGE_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "WAITINGTITLE_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "RATINGSTARSNUMBER_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
+ "HEADER_OFFLINE_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "OFFLINE_CHAT_BUTTON_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "CLOSINGQUESTION_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "TEXT_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "VALUE_REQUIRED": "Pflichtfeld",
+ "OFFLINEMESSAGESUBJECT_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "OFFLINEMESSAGEBODY_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "PLACEHOLDERMESSAGE_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "NOTETITLE_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "FORMSUBMITSUCCESSMESSAGE_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "FORMSUBMITFAILUREMESSAGE_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "FONTSIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
+ "FONTSIZE_REQUIRED": "Pflichtfeld",
+ "COMMAND_REQUIRED": "Pflichtfeld",
"AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
- "NAME_MUST_VALID_PATTERN": "Ungültiges Format Name",
- "TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung Agent muss kleiner oder gleich sein als",
- "AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung Agent muss kleiner oder gleich sein als",
+ "NAME_MUST_VALID_PATTERN": "Falsches Format",
+ "TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
+ "AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
"WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
"WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wert muss kleiner oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_REQUIRED": "Auf zugewiesenen Agenten warten erforderlich",
+ "WAITFORTHEASSIGNEDAGENT_REQUIRED": "Pflichtfeld",
"VERTICALPOSITION_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
"VERTICALPOSITION_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wert muss kleiner oder gleich sein als",
- "VERTICALPOSITION_REQUIRED": "Eingabe erforderlich",
- "CUSTOMERALIAS_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "TAG_REQUIRED": "Eingabe erforderlich",
- "MESSAGEFONTSIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "SchriftgröÃe muss gröÃer oder gleich sein als",
- "MESSAGEFONTSIZE_MUST_BE_LESS_THAN_OR_EQUAL_TO": "SchriftgröÃe muss kleiner oder gleich sein als",
- "MESSAGEFONTSIZE_REQUIRED": "SchriftgröÃe erforderlich",
- "AGENTALIAS_REQUIRED": "Agenten-Alias erforderlich",
- "AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss gröÃer oder gleich sein als",
- "AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss kleiner oder gleich sein als",
- "AGENTTRANSFERTIMEOUT_REQUIRED": "Zeitüberschreitung erforderlich",
- "CUSTOMERALIAS_REQUIRED": "Kunden-Alias erforderlich",
- "QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss gröÃer oder gleich sein als",
- "QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss kleiner oder gleich sein als",
- "QUEUETRANSFERTIMEOUT_REQUIRED": "Zeitüberschreitung erforderlich",
- "SYSTEMALIAS_MAX_LENGTH": "Name darf nicht länger als {{max}} Zeichen sein",
- "SYSTEMALIAS_REQUIRED": "System-Alias erforderlich",
- "ACCESSKEYID_REQUIRED": "ZugangsID erforderlich",
- "BOTNAME_REQUIRED": "Name des BOT-Assistenten erforderlich",
- "SECRETACCESSKEY_REQUIRED": "Eingabe erforderlich",
- "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "PausenID während Qualifizierung erforderlich",
- "VIDAOOAPIKEY_REQUIRED": "Vidaoo API-Zugang erforderlich",
- "CLIENTEMAIL_REQUIRED": "E-Mail des Kunden erforderlich",
- "PRIVATEKEY_REQUIRED": "Privater Schlüssel erforderlich",
- "PROJECTID_REQUIRED": "Projekt-ID erforderlich",
- "VIDAOOTOPIC_REQUIRED": "Vidaoo-Thema erforderlich",
- "EMAIL_ACCOUNT_REQUIRED": "E-Mail erforderlich"
+ "VERTICALPOSITION_REQUIRED": "Pflichtfeld",
+ "CUSTOMERALIAS_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "TAG_REQUIRED": "Pflichtfeld",
+ "MESSAGEFONTSIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
+ "MESSAGEFONTSIZE_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wert muss kleiner oder gleich sein als",
+ "MESSAGEFONTSIZE_REQUIRED": "Pflichtfeld",
+ "AGENTALIAS_REQUIRED": "Pflichtfeld",
+ "AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
+ "AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wert muss kleiner oder gleich sein als",
+ "AGENTTRANSFERTIMEOUT_REQUIRED": "Pflichtfeld",
+ "CUSTOMERALIAS_REQUIRED": "Pflichtfeld",
+ "QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
+ "QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wert muss kleiner oder gleich sein als",
+ "QUEUETRANSFERTIMEOUT_REQUIRED": "Pflichtfeld",
+ "SYSTEMALIAS_MAX_LENGTH": "Wert darf eine maximale Länge haben von {{max}} ",
+ "SYSTEMALIAS_REQUIRED": "Pflichtfeld",
+ "ACCESSKEYID_REQUIRED": "Pflichtfeld",
+ "BOTNAME_REQUIRED": "Pflichtfeld",
+ "SECRETACCESSKEY_REQUIRED": "Pflichtfeld",
+ "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "Pflichtfeld",
+ "VIDAOOAPIKEY_REQUIRED": "Pflichtfeld",
+ "CLIENTEMAIL_REQUIRED": "Pflichtfeld",
+ "PRIVATEKEY_REQUIRED": "Pflichtfeld",
+ "PROJECTID_REQUIRED": "Pflichtfeld",
+ "VIDAOOTOPIC_REQUIRED": "Pflichtfeld",
+ "EMAIL_ACCOUNT_REQUIRED": "Pflichtfeld"
},
"CM_FIELD": "Kontaktmanager-Feld",
"CHATPROACTIVEACTIONS": "Proaktive Anfragen",
@@ -155,25 +155,25 @@
"NO_CHATPROACTIVEACTION_AVAILABLE": "Keine proaktiven Anfragen verfügbar",
"NO_OFFLINEMESSAGE_AVAILABLE": "Keine Offline-Nachrichten verfügbar",
"MOUSEOVER": "Mouse-Over",
- "TIMEOUT": "Zeitüberschreitung",
+ "TIMEOUT": "Timeout",
"TYPE": "Typ",
- "SELECTOR": "Auswahl/Bereich",
+ "SELECTOR": "Selektion",
"AGENT": "Agent",
- "GOTO": "GeheZu (GoTo)",
- "GOTOIF": "GeheZuWenn (GoToIf)",
- "NOOP": "Log erstellen (NoOp)",
+ "GOTO": "Goto",
+ "GOTOIF": "GotoIf",
+ "NOOP": "Noop",
"QUEUE": "Warteschlange",
- "BUILDER": "Formularerstellung",
+ "BUILDER": "Builder",
"PREVIEW": "Vorschau",
"EDIT_AGENT": "Agenten bearbeiten",
"EDIT_QUEUE": "Warteschlange bearbeiten",
- "EDIT_GOTO": "GeheZu bearbeiten",
- "EDIT_GOTOIf": "GeheZuWenn bearbeiten",
- "EDIT_NOOP": "Log-Erstellung bearbeiten",
+ "EDIT_GOTO": "Goto bearbeiten",
+ "EDIT_GOTOIf": "GotoIf bearbeiten",
+ "EDIT_NOOP": "Noop bearbeiten",
"ADD_CHATQUEUE": "Chat-Warteschlange hinzufügen",
"EDIT_CHATQUEUE": "Chat-Warteschlange bearbeiten",
"DELETE_CHATQUEUE": "Chat-Warteschlange löschen",
- "SETTINGS": "Allg. Einstellungen",
+ "SETTINGS": "Einstellungen",
"SAVE": "Speichern",
"SCRIPT": "Skript",
"TOKEN": "Token",
@@ -185,7 +185,7 @@
"EDIT_CHATWEBSITE": "Chat-Webseite bearbeiten",
"DELETE_CHATWEBSITE": "Chat-Webseite löschen",
"LIST": "Liste",
- "SNIPPET": "Chat-Widget",
+ "SNIPPET": "Snippet",
"FORMS": "Formulare",
"UP": "Nach Oben",
"DOWN": "Nach Unten",
@@ -193,9 +193,9 @@
"PROACTIVEACTIONS": "Proaktive Anfragen",
"DISPOSITIONS": "Qualifizierungen",
"WEBHOOKS": "WebHooks",
- "ACTIONS": "Routing",
+ "ACTIONS": "Aktionen",
"FIDELITY": "Treue",
- "APPEARANCE": "Darstellung Widget",
+ "APPEARANCE": "Darstellung",
"MAINCOLOR": "Hauptfarbe",
"FOCUSCOLOR": "Fokusfarbe",
"BUTTONCOLOR": "Buttonfarbe",
@@ -204,79 +204,79 @@
"DEFAULT": "Standard",
"WHITELABEL": "White Label",
"LOGO": "Logo",
- "DOWNLOADTRANSCRIPT": "Kunde darf Chatverlauf herunterladen (.csv-Datei)",
- "ENQUIRY_ENABLE": "Anfrage ermöglichen",
+ "DOWNLOADTRANSCRIPT": "Transkript herunterladen",
+ "ENQUIRY_ENABLE": "Anfrage aktivieren",
"ENQUIRY_FORWARDING": "Weiterleitung von Anfragen",
- "ENQUIRY_FORWARDING_ADDRESS": "Weiterleitungsadresse für Anfragen",
+ "ENQUIRY_FORWARDING_ADDRESS": "Anfrage-Weiterleitungsadresse",
"LABELS": "Labels",
- "HEADER_ONLINE": "Kopfzeile auf Widget, wenn Chat geöffnet",
- "ONLINE_MESSAGE": "Nachricht wenn online",
- "NAME_TITLE": "Titel",
- "USERNAME_PLACEHOLDER": "Nutzernamen",
+ "HEADER_ONLINE": "Online-Kopfzeile",
+ "ONLINE_MESSAGE": "Online Nachricht",
+ "NAME_TITLE": "Name Titel",
+ "USERNAME_PLACEHOLDER": "Platzhalter für Nutzernamen",
"EMAIL_TITLE": "E-Mail Titel",
- "EMAIL_PLACEHOLDER": "E-Mail Adresse",
- "START_CHAT_BUTTON": "Text auf dem Button zum Starten des Chats",
- "AGENTS_BUSY": "Alle Agenten besetzt",
- "HEADER_OFFLINE": "Kopfzeile auf Widget, wenn Chat nicht geöffnet",
- "OFFLINE_MESSAGE": "Nachricht wenn offline",
- "MESSAGE_TITLE": "Titel der Nachricht",
- "ENQUIRY_MESSAGE_PLACEHOLDER": "Nachricht",
- "ENQUIRY_BUTTON": "Text auf dem Button zum Starten der Anfrage",
- "RATING_MESSAGE": "Nachricht zur Bewertung",
- "RATING_SEND": "Bewertung absenden",
- "RATING_SKIP": "Bewertung überspringen",
- "ONLINE": "Formularbuilder online",
- "OFFLINE": "Formularbuilder offline",
- "PROACTIVE": "Proaktive Anfrage",
+ "EMAIL_PLACEHOLDER": "Platzhalter für E-Mail Adresse",
+ "START_CHAT_BUTTON": "'Chat starten' Button",
+ "AGENTS_BUSY": "Agenten besetzt",
+ "HEADER_OFFLINE": "Offline-Kopfzeile",
+ "OFFLINE_MESSAGE": "Offline Nachricht",
+ "MESSAGE_TITLE": "Nachricht Titel",
+ "ENQUIRY_MESSAGE_PLACEHOLDER": "Platzhalter für Nachrichteneingabe",
+ "ENQUIRY_BUTTON": "Anfrage-Button",
+ "RATING_MESSAGE": "Bewertungsnachricht",
+ "RATING_SEND": "Button Bewertung senden",
+ "RATING_SKIP": "Button Bewertung überspringen",
+ "ONLINE": "Online",
+ "OFFLINE": "Offline",
+ "PROACTIVE": "Proaktiv",
"ACCEPT": "Akzeptieren",
"ACCEPTMETHOD": "Methode akzeptieren",
"ACCEPTURL": "URL akzeptieren",
"REJECT": "Ablehnen",
"REJECTMETHOD": "Methode ablehnen",
"REJECTURL": "URL ablehnen",
- "CLOSE": "SchlieÃen und Qualifizieren",
+ "CLOSE": "SchlieÃen",
"CLOSEMETHOD": "Methode schlieÃen",
"CLOSEURL": "URL schlieÃen",
"EMBEDDING": "Einbetten",
"GENERAL": "Allgemein",
- "SELECTED": "Ausgewählt",
+ "SELECTED": "Ausgewählte",
"SELECT_ALL": "Alles auswählen",
"SELECT_NONE": "Nichts auswählen",
"BACK": "Zurück",
"HELP": {
"MAPKEY": "Das folgende Feld aus dem Kontaktmanager:",
- "FROMKEY": "wird in dem Chat-Widget wie folgt zugeordnet:",
+ "FROMKEY": "wird in dem Chat-Snippet wie folgt zugeordnet:",
"TOKEN": "Automatisch generierter Token zur Verwendung im Skript",
"COPYSCRIPTTOCLIPBOARD": "Kopieren Sie den Skripttext und fügen Sie ihn in Ihre Website ein",
- "FORWARD_OFFLINE": "Sie können mehrere durch Kommas getrennte Adressen hinzufügen (z. B. john.doe@test.com, jane.miller@test.com)",
+ "FORWARD_OFFLINE": "Sie können mehrere durch Kommas getrennte Adressen hinzufügen (z. B. john.doe@xcally.com, jane.miller@xcally.com)",
"MOTIONADDRESS": "Das Feld muss das folgende Format haben: âªprotocol>://[:]. Beispiel: https://X.Y.Z.W",
"MOTIONPROXY": "Das Feld muss das folgende Format haben: âªProtocol>:// âªIP-Adresse>: âªport>]. Beispiel: https://X.Y.Z.W",
- "NAME": "Nur Zahlen, Buchstaben und Sonderzeichen (._) werden unterstützt",
+ "NAME": "Nur Zahlen, Buchstaben und Sonderzeichen (._) werden unterstützt.",
"LIST": "Liste für die Zuordnung aus dem Kontaktmanager",
- "KEY": "Der Kurzname der Chat-Webseite (max. 5 Zeichen), welcher im Agententab bei eingehender Interaktion angezeigt wird",
- "INTEVAL": "Wählen Sie hier aus einem in den Werkzeugen definiertem Zeitintervall aus",
+ "KEY": "Website-Kurzname (5 Zeichen), der auf der Registerkarte \"Agent\" angezeigt wird",
+ "INTEVAL": "Wählen aus der Liste der verfügbaren Intervalle",
"TIMEZONE": "Zeitzone auswählen (Standard = lokale Zeitzone)",
"ENABLERATING": "Bewertung nach Chat durch Kunden aktivieren",
"ENABLEFEEDBACK": "Feedback nach Chat durch Kunden aktivieren (Max. 150 Zeichen)",
- "FORWARDTRANSCRIPT": "Dem Kunden anbieten, den Chatverlauf nach Abschluss per E-Mail zu versenden",
- "AUTOCLOSE": "Trennt die Verbindung zum Chat, wenn innerhalb der Ãffnungszeiten kein Agent verfügbar ist. Der Kunde kann optional eine Nachricht hinterlassen",
+ "FORWARDTRANSCRIPT": "Chatprotokoll nach Abschluss per E-Mail senden",
+ "AUTOCLOSE": "Aktivieren Sie diese Option, wenn Chat-Sitzungen als nicht bearbeitet geschlossen werden sollen, sofern kein Agent verfügbar ist.",
"ENABLEUNMANAGEDNOTE": "Automatische Nachricht an den Kunden, wenn alle Agenten besetzt sind und somit der Chat nicht verfügbar ist",
- "ENABLECUSTOMERWRITING": "Legt fest, ob der Kunde bereits im Chat schreiben kann, bevor ein Agent den Chat entgegen nimmt. Hinweis: Hierdurch werden keine Chats in den Status \"unbearbeitet\" gesetzt",
- "INTERVAL": "Zeitintervall auswählen",
- "HIDEWHENOFFLINE": "Blendet das Widget aus, wenn der Chat offline ist",
- "AGENTIDENTIFIER": "Agentenkennung innerhalb der Chat-Sitzung im Widget",
+ "ENABLECUSTOMERWRITING": "Legt fest, ob der Kunde bereits im Chat schreiben kann, bevor ein Agent den Chat entgegen nimmmt. Hinweis: Dadurch kein Status \"unbearbeitet\"",
+ "INTERVAL": "Bitte aus der Liste wählen",
+ "HIDEWHENOFFLINE": "Snippet ausblenden, wenn offline",
+ "AGENTIDENTIFIER": "Agentenkennung innerhalb der Chat-Sitzung im Snippet",
"WEBSITEALIAS": "Ein Präfix, mit dem der Agentenname (Präfix + Agenten-ID) erstellt wird, der dem Webbesucher während der Chat-Sitzung angezeigt wird",
"VERTICALPOSITION": "Prozentualer Abstand in Prozent vom oberen Bildschirmrand",
- "WELCOMEMESSAGE": "Automatische BegrüÃungsnachricht. Leer lassen, um keine automatische Nachricht zu senden",
+ "WELCOMEMESSAGE": "Leer lassen, um keine Nachricht zu senden",
"MANDATORYDISPOSITION": "Qualifizierung erforderlich",
"MANDATORYDISPOSITIONPAUSEID": "PausenID bei erforderlicher Qualifizierung"
},
"ADDRESS": "Adresse",
- "ONLINESTATE": "Status Online",
- "OFFLINESTATE": "Status Offline",
- "RATINGSTATE": "Status Bewertung",
+ "ONLINESTATE": "Online Status",
+ "OFFLINESTATE": "Offline Status",
+ "RATINGSTATE": "Bewertungsstatus",
"ENQUIRY": "Anfrage",
- "OFFLINETEMPLATE": "Vorlage wenn offline",
+ "OFFLINETEMPLATE": "Offline Vorlage",
"CHATDISPOSITIONS": "Chat-Qualifizierungen",
"NO_CHATDISPOSITION_AVAILABLE": "Keine Qualifizierung verfügbar",
"ADD_CHATDISPOSITION": "Qualifizierung hinzufügen",
@@ -319,13 +319,13 @@
"NOTES": "Notizen",
"NO_INTERACTION_AVAILABLE": "Keine Interaktionen verfügbar",
"SELECTED_WEBSITE": "Ausgewählte Webseite",
- "GOTOP": "Priorität setzen (GoToP)",
- "EDIT_GOTOP": "GoToP bearbeiten",
+ "GOTOP": "Gotop",
+ "EDIT_GOTOP": "Gotop bearbeiten",
"SELECT_WEBSITE": "Webseite auswählen",
"INFO": "Info",
- "OFFLINEMESSAGES_CHATWEBSITE": "Direkt zu Offline-Nachrichten",
- "WAITINGTITLE": "Kopfzeile während auf einen freien Agenten gewartet wird",
- "WAITINGMESSAGE": "Nachricht während Warten",
+ "OFFLINEMESSAGES_CHATWEBSITE": "Zu Offline-Nachrichten gehen",
+ "WAITINGTITLE": "Titel während Warten",
+ "WAITINGMESSAGE": "Wartenachricht",
"RATING": "Bewertung",
"NO_RATINGVALUE": "Keine Bewertung",
"AGENTSADD_QUEUE": "Agenten zur Chat-Warteschlange hinzufügen",
@@ -344,8 +344,8 @@
"AGENTS": "Agenten",
"FULLNAME": "Vollständiger Name",
"INTERNAL": "Intern",
- "PHONE_STATE": "Status Nebenstelle",
- "PHONE_STATUS": "Status SIP",
+ "PHONE_STATE": "Telefonstatus",
+ "PHONE_STATUS": "Telefonstatus",
"LOGOUT": "Abmelden",
"UNPAUSE": "Pause beenden",
"AGENTADD_QUEUE": "Agenten zur Chat-Warteschlange hinzufügen",
@@ -358,56 +358,56 @@
"IN_USE": "In Verwendung",
"VOICE": "Anrufe",
"NO_AGENT_ONLINE": "Kein Agent Online",
- "GOTOREALTIME_CHATQUEUE": "Direkt zur Echtzeit-Warteschlange",
+ "GOTOREALTIME_CHATQUEUE": "Zur Echtzeit-Warteschlange für Chat gehen",
"PARTIALPAUSE": "Teilpause",
"BUSY": "Besetzt",
"TIMER": "Timer",
- "IDLE": "Leerlauf",
+ "IDLE": "Inaktiv",
"CAPACITY": "Kapazität",
"TAGS": "Tags",
"SHOWAGENTAVATAR": "Persönlichen Agenten-Avatar anzeigen",
"AGENTAVATAR": "Agenten-Avatar",
- "SPYINTERACTION": "Chat anzeigen",
- "INTERACTIONS_CHATWEBSITE": "Direkt zu Interaktionen",
+ "SPYINTERACTION": "Mitlesen",
+ "INTERACTIONS_CHATWEBSITE": "Zu den Interaktionen gehen",
"REFRESH_INTERACTIONS": "Interaktionen aktualisieren",
- "CLOSINGQUESTION": "Frage beim Beenden des Chats",
+ "CLOSINGQUESTION": "Abschlussfrage",
"WEBSCRIPT": "Webskript",
"NO_CHATCANNEDANSWER_AVAILABLE": "Keine Textvorlagen verfügbar",
"NEW_CHATCANNEDANSWER": "Neue Textvorlage",
"ADD_CHATCANNEDANSWER": "Textvorlage hinzufügen",
"EDIT_CHATCANNEDANSWER": "Textvorlage bearbeiten",
"DELETE_CHATCANNEDANSWER": "Textvorlage löschen",
- "OFFLINEMESSAGESUBJECT": "Betreff der Nachricht für Offline-Interaktionen",
- "OFFLINEMESSAGEBODY": "Text der Nachricht für Offline-Interaktionen",
- "FORMSUBMITSUCCESSMESSAGE": "Nachricht, wenn Formular erfolgreich versendet",
- "FORMSUBMITFAILUREMESSAGE": "Nachricht bei Fehlern im Formular",
- "PLACEHOLDERMESSAGE": "Nachricht",
- "NOTETITLE": "Text für Nachrichtenbereich",
+ "OFFLINEMESSAGESUBJECT": "Betreff der Nachricht bei Offline",
+ "OFFLINEMESSAGEBODY": "Test der Nachricht bei Offline",
+ "FORMSUBMITSUCCESSMESSAGE": "Meldung Formular erfolgreich gesendet",
+ "FORMSUBMITFAILUREMESSAGE": "Meldung Fehler beim Senden des Formulars",
+ "PLACEHOLDERMESSAGE": "Nachricht für Platzhalter",
+ "NOTETITLE": "Titel der Notiz",
"DELETE_INTERACTION": "Interaktion löschen",
"FONTSIZE": "SchriftgröÃe",
"TEXTCOLOR": "Textfarbe",
"COMMAND": "Eingabe",
"EDIT_SYSTEM": "System bearbeiten",
"SYSTEM": "System",
- "NOTIFICATION": "Benachrichtigung für Agenten",
+ "NOTIFICATION": "Benachrichtigung",
"NOTIFICATIONSHAKE": "Schütteln",
- "NOTIFICATIONSOUND": "Sound abspielen",
+ "NOTIFICATIONSOUND": "Klingeln",
"NOTIFICATIONTEMPLATE": "Vorlage",
"HIDEWHENOFFLINE": "Ausblenden, wenn offline",
"INSERT_MESSAGE_HERE": "Nachricht hier eingeben",
- "AGENTALIAS": "Agenten-Alias",
+ "AGENTALIAS": "Agent Alias",
"AGENTFULLNAME": "Vollständiger Name des Agenten",
- "AGENTIDENTIFIER": "Identifikation Agent",
- "WAITFORTHEASSIGNEDAGENT": "Zeit (in Sekunden), wie lange ein aktiver Chat bei einem Agenten verbleibt, wenn sich dieser abmeldet",
- "ALIGNMENT": "Ausrichtung Widget",
- "BOTTOM_RIGHT": "Unten Rechts",
- "LEFT": "Linker Bildschirmrand",
- "RIGHT": "Linker Bildschirmrand",
+ "AGENTIDENTIFIER": "Identifikator",
+ "WAITFORTHEASSIGNEDAGENT": "Warten auf den zugewiesenen Mitarbeiter",
+ "ALIGNMENT": "Ausrichtung",
+ "BOTTOM_RIGHT": "Unten rechts",
+ "LEFT": "Links",
+ "RIGHT": "Richtig",
"VERTICALALIGNMENT": "Vertikale Ausrichtung",
"POSITION": "Position",
"VERTICALPOSITION": "Vertikale Position",
- "SNIPPETSWIPEOUT": "Widget ausklappen",
- "ALTERNATE": "Abwechselnd",
+ "SNIPPETSWIPEOUT": "Snippet ausschieben",
+ "ALTERNATE": "Wechseln",
"CENTERED": "Zentriert",
"CUSTOMERAVATAR": "Kunden-Avatar",
"DEFAULTTITLE": "Standardtitel",
@@ -419,33 +419,33 @@
"AGENTADD_CHATWEBSITE": "Agenten zur Chat-Website hinzufügen",
"BACKGROUNDCOLOR": "Hintergrundfarbe",
"MESSAGEFONTSIZE": "SchriftgröÃe der Nachricht",
- "AGENTTRANSFER": "Transfer an Agenten erlauben",
- "AGENTTRANSFERTIMEOUT": "Zeitüberschreitung für Agententransfer",
- "DIALOGFLOW": "Google Dialogflow",
+ "AGENTTRANSFER": "Agententransfer",
+ "AGENTTRANSFERTIMEOUT": "Agententransfer-Timeout",
+ "DIALOGFLOW": "Dialogflow",
"EDIT_DIALOGFLOW": "Dialogflow bearbeiten",
"LANGUAGE": "Sprache",
- "QUEUETRANSFER": "Transfer in Warteschlange erlauben",
- "QUEUETRANSFERTIMEOUT": "Zeitüberschreitung für Warteschlangentransfer",
- "SYSTEMALIAS": "System-Alias",
+ "QUEUETRANSFER": "Transfer in Warteschlange",
+ "QUEUETRANSFERTIMEOUT": "Timeout bei der Warteschlangenübertragung",
+ "SYSTEMALIAS": "Systemalias",
"SYSTEMAVATAR": "System-Avatar",
"TRANSFER": "Transfer",
"WELCOMEMESSAGE": "Willkommensnachricht",
- "ENABLECUSTOMERCHECKMARKS": "Bestätigung Nachricht erhalten/gelesen anzeigen",
+ "ENABLECUSTOMERCHECKMARKS": "Bestätigung Nachricht erhalten/gelesen",
"CANNEDANSWERS": "Textvorlagen",
- "CHATCANNEDANSWERS": "Chat-Textbausteine",
+ "CHATCANNEDANSWERS": "Textvorlagen",
"DOWNLOAD_INTERACTION": "Herunterladen",
"LOGIN_TIME": "Zeit angemeldet",
"PAUSE_TIME": "Zeit in Pause",
"ACCESSKEYID": "Zugangsschlüssel-ID",
- "BOTNAME": "Name des BOTs",
+ "BOTNAME": "Botname",
"EDIT_AMAZONLEX": "Amazon Lex bearbeiten",
"LEXREGION": "Region",
"SECRETACCESSKEY": "Geheimer Zugangsschlüssel",
"TEAMS_ASSOCIATION": "Teamzuweisung",
"MANDATORYDISPOSITION": "Qualifizierung erforderlich",
- "MANDATORYDISPOSITIONPAUSEID": "PausenID während Qualifizierung",
- "ENABLESENDBUTTON": "\"Nachricht senden\" Button für Kunden anzeigen (ansonsten Senden nur durch ENTER)",
- "FEEDBACKTITLE": "Text auf dem Button für Feedback",
+ "MANDATORYDISPOSITIONPAUSEID": "PausenID, wenn Qualifizierung erforderlich",
+ "ENABLESENDBUTTON": "Senden-Button aktivieren",
+ "FEEDBACKTITLE": "Feedback-Titel",
"TOOLTIP_SCREENRECORDING_OFF": "Bildschirmaufzeichnung verfügbar",
"TOOLTIP_SCREENRECORDING_ON": "Bildschirmaufzeichnung läuft",
"DOWNLOAD_WITHOUT_ATTACHMENTS": "Herunterladen ohne Anhänge",
@@ -456,13 +456,13 @@
"VIDAOOESCALATION": "Videoanruf starten",
"VIDAOOSESSION": "Videoanruf starten",
"VIDEO": "Video",
- "CLIENTEMAIL": "E-Mail des Kunden",
- "DIALOGFLOWV2": "Google Dialogflow V2",
+ "CLIENTEMAIL": "Kunden-E-Mail",
+ "DIALOGFLOWV2": "Dialogflow V2",
"EDIT_DIALOGFLOWV2": "Dialogflow V2 bearbeiten",
"PRIVATEKEY": "Privater Schlüssel",
"PROJECTID": "Projekt-ID",
- "EMAIL_ACCOUNT": "E-Mail Konto",
- "OPEN_NEW_INTERACTION": "Offline-Nachrichten per E-Mail innerhalb des Systems verwalten",
+ "EMAIL_ACCOUNT": "Email-Konto",
+ "OPEN_NEW_INTERACTION": "Neue Interaktion öffnen",
"SUBJECT": "Betreff",
"ADD_NOTE": "Notiz hinzufügen",
"CANNED_ANSWER_NOT_FOUND": "Keine Textvorlagen gefunden",
@@ -472,12 +472,12 @@
"VIDAOOTOPIC": "Vidaoo-Thema",
"CHANNELID": "Kanal ID",
"EDIT_TVOX": "TVox bearbeiten",
- "MOTIONTITLE": "Motion-Titel",
- "MOTIONURL": "Motion-URL",
- "MOTIONURLONANSWER": "Motion-URLL bei Antwort",
- "MOTIONURLONRING": "Motion-URL bei Klingeln",
+ "MOTIONTITLE": "Bewegungstitel",
+ "MOTIONURL": "Bewegungs-URL",
+ "MOTIONURLONANSWER": "Bewegungs-URL bei Antwort",
+ "MOTIONURLONRING": "Bewegungs-URL auf Ring",
"SERVICEID": "Service-ID",
- "SERVICENAME": "Servicename",
+ "SERVICENAME": "Dienstname",
"TVOX": "TVox",
"TVOXIP": "TVox IP-Adresse",
"TVOXLOGINURL": "TVox-Login-REST-URL",
diff --git a/public/app/main/apps/chat/i18n/nl.json b/public/app/main/apps/chat/i18n/nl.json
index 20f6e0a..d094697 100644
--- a/public/app/main/apps/chat/i18n/nl.json
+++ b/public/app/main/apps/chat/i18n/nl.json
@@ -3,15 +3,15 @@
"AMAZONLEX": "Amazon Lex",
"TEXT": "Tekst",
"TIMES": "Aantal keren per interactie",
- "EDIT_AUTOREPLY": "Automatisch Antwoord Bewerken",
- "AUTOREPLY": "Automatisch Antwoord",
- "NEW_CHATDISPOSITION": "Nieuwe Chat Dispositie",
- "ENABLECUSTOMERATTACHMENT": "Klantbijlage Inschakelen",
+ "EDIT_AUTOREPLY": "Edit automatisch antwoord",
+ "AUTOREPLY": "Automatisch antwoord",
+ "NEW_CHATDISPOSITION": "Nieuwe chat dispositie",
+ "ENABLECUSTOMERATTACHMENT": "Kan een klant voorzetstukken",
"OFFLINE_CHAT_BUTTON": "'Offline Chat' knop",
- "OFFLINESTATUS": "Status Offline",
+ "OFFLINESTATUS": "Status offline",
"NAME": "Naam",
"CHATQUEUES": "Chatwachtrijen",
- "SEARCH_FOR_ANYONE": "Zoeken",
+ "SEARCH_FOR_ANYONE": "Zoeken voor iedereen",
"STRATEGY": "Strategie",
"AGENT_TIMEOUT": "Time-out agent",
"DESCRIPTION": "Beschrijving",
@@ -19,94 +19,94 @@
"ALIAS": "Alias",
"VARIABLE": "Variabele",
"INTERVAL": "Interval",
- "EDIT_CLOSE": "Bewerken Sluiten",
+ "EDIT_CLOSE": "Edit dicht",
"TIMEZONE": "Tijdzone",
"MESSAGE": "Bericht",
"ADVANCED": "Geavanceerd",
- "FORWARDTRANSCRIPT": "Transcriptie doorsturen",
- "FORWARDTRANSCRIPTMESSAGE": "Transcriptie bericht doorsturen",
- "SKIPMESSAGEBUTTON": "Bericht Overslaan Knop",
- "EDIT_MESSAGE": "Bericht Bewerken",
- "CONDITION_AGREEMENT": "Akkoord met de voorwaarden",
+ "FORWARDTRANSCRIPT": "Vooruit transcript",
+ "FORWARDTRANSCRIPTMESSAGE": "Vooruit Transcript bericht",
+ "SKIPMESSAGEBUTTON": "Bericht overslaan knop",
+ "EDIT_MESSAGE": "Bericht wijzigen",
+ "CONDITION_AGREEMENT": "Voorwaarde akkoord",
"NONE": "Geen",
"PRIORITY": "Prioriteit",
- "ONLINESTATUS": "Online Status",
+ "ONLINESTATUS": "Online status",
"UNMANAGEDSTATUS": "Onbeheerde Status",
- "AUTOCLOSE": "Automatisch Sluiten Inschakelen",
- "ENABLEUNMANAGEDNOTE": "Onbeheerd Bericht Inschakelen",
+ "AUTOCLOSE": "Autoclose inschakelen",
+ "ENABLEUNMANAGEDNOTE": "Om onbeheerde bericht",
"UNMANAGEDMESSAGE": "Bericht",
"SKIPUNMANAGED": "Bericht overslaan",
"SENDUNMANAGED": "Bericht verzenden",
"WEBSITESCRIPT": "Website Script",
"DELETE_OFFLINEMESSAGE": "Verwijderen",
"OFFLINEMESSAGES": "Offline berichten",
- "FORWARD_OFFLINE": "Offline doorsturen",
- "SHOW_OFFLINEMESSAGE": "Offline Bericht Weergeven",
- "FORWARD_OFFLINE_ADDRESS": "Offline adresboek doorsturen",
- "CLOSINGFORM": "Formulier Sluiten",
- "ENABLERATING": "Rating Inschakelen",
- "ENABLECUSTOMERWRITING": "Laat de klant schrijven voordat de agent accepteert",
+ "FORWARD_OFFLINE": "Vooruit Offline",
+ "SHOW_OFFLINEMESSAGE": "Toon",
+ "FORWARD_OFFLINE_ADDRESS": "Vooruit Offline adresboek",
+ "CLOSINGFORM": "Formulier sluiten",
+ "ENABLERATING": "Rating inschakelen",
+ "ENABLECUSTOMERWRITING": "Laat de klant tevoren schriftelijk gemachtigde accepteren",
"ENABLEFEEDBACK": "Feedback mogelijk",
- "RATINGTYPE": "Type Rating",
+ "RATINGTYPE": "Waardering Type",
"CLOSINGMESSAGE": "Bericht sluiten",
- "CLOSINGMESSAGEBUTTON": "Knop om het bericht te sluiten",
- "RATINGSTARSNUMBER": "Rating",
- "EDIT_GOTOIF": "GotoIf Bewerken",
+ "CLOSINGMESSAGEBUTTON": "Sluiten Berichtentoets",
+ "RATINGSTARSNUMBER": "Rating Stars nummer",
+ "EDIT_GOTOIF": "GotoIf bewerken",
"CONDITION": "Voorwaarde",
- "TRUEPRIORITY": "Prioriteit",
- "FALSEPRIORITY": "Geen prioriteit",
+ "TRUEPRIORITY": "Echte prioriteit",
+ "FALSEPRIORITY": "False prioriteit",
"VALUE": "Waarde",
"WEBSITEALIAS": "Website Alias",
"ERRORS": {
- "TEXT_REQUIRED": "Verplicht veld",
- "SENDUNMANAGED_REQUIRED": "Verplicht veld",
- "SENDUNMANAGED_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
- "SKIPUNMANAGED_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
- "UNMANAGEDMESSAGE_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
- "WEBSITEALIAS_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
- "AGENT_REQUIRED": "Verplicht veld",
- "QUEUE_REQUIRED": "Verplicht veld",
- "CONDITION_REQUIRED": "Verplicht veld",
- "PRIORITY_REQUIRED": "Verplicht veld",
- "TRUEPRIORITY_REQUIRED": "Verplicht veld",
- "FALSEPRIORITY_REQUIRED": "Verplicht veld",
- "NAME_REQUIRED": "Verplicht veld",
- "LIST_REQUIRED": "Verplicht veld",
- "AGENT_TIMEOUT_REQUIRED": "Verplicht veld",
- "MOTIONADDRESS_REQUIRED": "Verplicht veld",
- "DISPOSITION_REQUIRED": "Verplicht veld",
- "MOTIONADDRESS_MUST_VALID_URL": "Ongeldig formaat",
- "EMAIL_MUST_BE_VALID": "Verplicht veld",
- "ADDRESS_REQUIRED": "Verplicht veld",
- "ADDRESS_MUST_VALID_URL": "Ongeldig formaat",
- "ENQUIRY_FORWARDING_ADDRESS_REQUIRED": "Verplicht veld",
- "ACCEPTURL_MUST_VALID_URL": "Ongeldig formaat",
- "TIMEOUT_REQUIRED": "Verplicht veld",
- "REJECTURL_MUST_VALID_URL": "Ongeldig formaat",
- "CLOSEURL_MUST_VALID_URL": "Ongeldig formaat",
- "PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "De waarde moet groter zijn dan of gelijk aan",
- "TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "De waarde moet groter zijn dan of gelijk aan",
- "FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "De waarde moet groter zijn dan of gelijk aan",
- "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "De waarde moet groter zijn dan of gelijk aann",
- "POLLING_INTERVAL_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "De waarde moet groter zijn dan of gelijk aan",
- "WAITINGMESSAGE_REQUIRED": "Verplicht veld",
- "WAITINGTITLE_REQUIRED": "Verplicht veld",
- "KEY_MAX_LENGTH": "Verplicht veld",
- "KEY_REQUIRED": "Verplicht veld",
- "WAITINGMESSAGE_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
- "WAITINGTITLE_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
- "RATINGSTARSNUMBER_MUST_BE_LESS_THAN_OR_EQUAL_TO": "De waarde moet kleiner zijn dan of gelijk aan",
- "HEADER_OFFLINE_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
- "OFFLINE_CHAT_BUTTON_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
- "CLOSINGQUESTION_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
- "TEXT_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
+ "TEXT_REQUIRED": "De tekst is vereist",
+ "SENDUNMANAGED_REQUIRED": "Het is een verplicht veld",
+ "SENDUNMANAGED_MAX_LENGTH": "Het gebied moet een maximale lengte van {{max.}}",
+ "SKIPUNMANAGED_MAX_LENGTH": "Het gebied moet een maximale lengte van {{max.}}",
+ "UNMANAGEDMESSAGE_MAX_LENGTH": "Het gebied moet een maximale lengte van {{max.}}",
+ "WEBSITEALIAS_MAX_LENGTH": "Alias moet hebben een maximale lengte van {{max.}}",
+ "AGENT_REQUIRED": "De Agent is vereist",
+ "QUEUE_REQUIRED": "De wachtrij is vereist",
+ "CONDITION_REQUIRED": "De conditie is vereist",
+ "PRIORITY_REQUIRED": "De prioriteit is vereist.",
+ "TRUEPRIORITY_REQUIRED": "De prioriteit is vereist.",
+ "FALSEPRIORITY_REQUIRED": "De prioriteit is vereist.",
+ "NAME_REQUIRED": "De naam is verplicht",
+ "LIST_REQUIRED": "De lijst is vereist",
+ "AGENT_TIMEOUT_REQUIRED": "De Agent Timeout is vereist",
+ "MOTIONADDRESS_REQUIRED": "De Motion Adres is vereist.",
+ "DISPOSITION_REQUIRED": "De Dispositie is vereist",
+ "MOTIONADDRESS_MUST_VALID_URL": "De Motion adres moet worden geschreven in een geldige indeling",
+ "EMAIL_MUST_BE_VALID": "E-mail moet een geldig e-mailadres in.",
+ "ADDRESS_REQUIRED": "Het adres is vereist.",
+ "ADDRESS_MUST_VALID_URL": "Het adres moet worden geschreven in een geldige indeling",
+ "ENQUIRY_FORWARDING_ADDRESS_REQUIRED": "Het onderzoek Doorstuuradres is vereist",
+ "ACCEPTURL_MUST_VALID_URL": "Accepteer URL moet worden geschreven in een geldige indeling",
+ "TIMEOUT_REQUIRED": "De timeout is vereist",
+ "REJECTURL_MUST_VALID_URL": "De afwijzing URL moet worden geschreven in een geldige indeling",
+ "CLOSEURL_MUST_VALID_URL": "De nauwe URL moet worden geschreven in een geldige indeling",
+ "PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "De prioriteit moet groter zijn dan of gelijk aan",
+ "TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "De echte prioriteit moet groter zijn dan of gelijk aan",
+ "FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "De valse prioriteit moet groter zijn dan of gelijk aan",
+ "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "De time-out moet groter zijn dan of gelijk aan",
+ "POLLING_INTERVAL_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "De polling moet groter zijn dan of gelijk aan",
+ "WAITINGMESSAGE_REQUIRED": "De Wachtmelding is vereist",
+ "WAITINGTITLE_REQUIRED": "De wachtende Titel is vereist",
+ "KEY_MAX_LENGTH": "Sleutel moet een lengte gelijk aan {{max.}}",
+ "KEY_REQUIRED": "De sleutel is vereist",
+ "WAITINGMESSAGE_MAX_LENGTH": "De Wachtmelding moet beschikken over een maximale lengte van {{max.}}",
+ "WAITINGTITLE_MAX_LENGTH": "De wachtende titel moeten een maximale lengte van {{max.}}",
+ "RATINGSTARSNUMBER_MUST_BE_LESS_THAN_OR_EQUAL_TO": "De Rating Stars nummer moet kleiner dan of gelijk aan",
+ "HEADER_OFFLINE_MAX_LENGTH": "De waarde moet hebben een maximale lengte van {{max.}}",
+ "OFFLINE_CHAT_BUTTON_MAX_LENGTH": "De waarde moet hebben een maximale lengte van {{max.}}",
+ "CLOSINGQUESTION_MAX_LENGTH": "De waarde moet hebben een maximale lengte van {{max.}}",
+ "TEXT_MAX_LENGTH": "De waarde moet een maximale lengte hebben die gelijk is aan {{max}}",
"VALUE_REQUIRED": "Verplicht veld",
- "OFFLINEMESSAGESUBJECT_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
- "OFFLINEMESSAGEBODY_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
- "PLACEHOLDERMESSAGE_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
- "NOTETITLE_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
- "FORMSUBMITSUCCESSMESSAGE_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
- "FORMSUBMITFAILUREMESSAGE_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
+ "OFFLINEMESSAGESUBJECT_MAX_LENGTH": "De waarde moet een maximale lengte hebben die gelijk is aan {{max}}",
+ "OFFLINEMESSAGEBODY_MAX_LENGTH": "De waarde moet een maximale lengte hebben die gelijk is aan {{max}}",
+ "PLACEHOLDERMESSAGE_MAX_LENGTH": "De waarde moet een maximale lengte hebben die gelijk is aan {{max}}",
+ "NOTETITLE_MAX_LENGTH": "De waarde moet een maximale lengte hebben die gelijk is aan {{max}}",
+ "FORMSUBMITSUCCESSMESSAGE_MAX_LENGTH": "De waarde moet een maximale lengte hebben die gelijk is aan {{max}}",
+ "FORMSUBMITFAILUREMESSAGE_MAX_LENGTH": "De waarde moet een maximale lengte hebben die gelijk is aan {{max}}",
"FONTSIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "De waarde moet groter zijn dan of gelijk aan",
"FONTSIZE_REQUIRED": "Verplicht veld",
"COMMAND_REQUIRED": "Verplicht veld",
@@ -120,7 +120,7 @@
"VERTICALPOSITION_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "De waarde moet groter zijn dan of gelijk aan",
"VERTICALPOSITION_MUST_BE_LESS_THAN_OR_EQUAL_TO": "De waarde moet kleiner zijn dan of gelijk aan",
"VERTICALPOSITION_REQUIRED": "Verplicht veld",
- "CUSTOMERALIAS_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
+ "CUSTOMERALIAS_MAX_LENGTH": "De waarde moet een maximale lengte hebben die gelijk is aan {{max}}",
"TAG_REQUIRED": "Verplicht veld",
"MESSAGEFONTSIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "De waarde moet groter zijn dan of gelijk aan",
"MESSAGEFONTSIZE_MUST_BE_LESS_THAN_OR_EQUAL_TO": "De waarde moet kleiner zijn dan of gelijk aan",
@@ -133,7 +133,7 @@
"QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "De waarde moet groter zijn dan of gelijk aan",
"QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "De waarde moet kleiner zijn dan of gelijk aan",
"QUEUETRANSFERTIMEOUT_REQUIRED": "Verplicht veld",
- "SYSTEMALIAS_MAX_LENGTH": "De waarde mag maximaal {{max.}} karakters lang zijn",
+ "SYSTEMALIAS_MAX_LENGTH": "De waarde moet een maximale lengte hebben die gelijk is aan {{max}}",
"SYSTEMALIAS_REQUIRED": "Verplicht veld",
"ACCESSKEYID_REQUIRED": "Verplicht veld",
"BOTNAME_REQUIRED": "Verplicht veld",
@@ -147,13 +147,13 @@
"EMAIL_ACCOUNT_REQUIRED": "Verplicht veld"
},
"CM_FIELD": "Contact Manager veld",
- "CHATPROACTIVEACTIONS": "Proactieve Acties",
- "NEW_CHATPROACTIVEACTION": "Nieuwe Proactieve Actie",
- "EDIT_CHATPROACTIVEACTION": "Proactieve Actie Bewerken",
- "DELETE_CHATPROACTIVEACTION": "Proactieve Actie Verwijderen",
- "ADD_CHATPROACTIVEACTION": "Proactieve Actie Toevoegen",
+ "CHATPROACTIVEACTIONS": "Proactieve acties",
+ "NEW_CHATPROACTIVEACTION": "Nieuwe proactieve actie",
+ "EDIT_CHATPROACTIVEACTION": "Edit Pro-actief optreden",
+ "DELETE_CHATPROACTIVEACTION": "Verwijder proactief optreden",
+ "ADD_CHATPROACTIVEACTION": "Voeg proactief optreden",
"NO_CHATPROACTIVEACTION_AVAILABLE": "Geen proactieve acties beschikbaar.",
- "NO_OFFLINEMESSAGE_AVAILABLE": "Geen offline berichten beschikbaar.",
+ "NO_OFFLINEMESSAGE_AVAILABLE": "Geen Offline berichten beschikbaar.",
"MOUSEOVER": "Muis Over",
"TIMEOUT": "Timeout",
"TYPE": "Type",
@@ -165,14 +165,14 @@
"QUEUE": "Wachtrij",
"BUILDER": "Builder",
"PREVIEW": "Afdrukvoorbeeld",
- "EDIT_AGENT": "Agent Bewerken",
- "EDIT_QUEUE": "Wachtrij Bewerken",
- "EDIT_GOTO": "Ga naar Bewerken",
- "EDIT_GOTOIf": "GotoIf Bewerken",
- "EDIT_NOOP": "Noop Bewerken",
- "ADD_CHATQUEUE": "Chat Wachtrij Toevoegen",
- "EDIT_CHATQUEUE": "Chat Wachtrij Bewerken",
- "DELETE_CHATQUEUE": "Chat wachtrij Verwijderen",
+ "EDIT_AGENT": "Edit Agent",
+ "EDIT_QUEUE": "Wachtrij bewerken",
+ "EDIT_GOTO": "Ga naar bewerken",
+ "EDIT_GOTOIf": "GotoIf bewerken",
+ "EDIT_NOOP": "Noop bewerken",
+ "ADD_CHATQUEUE": "Voeg wachtrij voor chatten",
+ "EDIT_CHATQUEUE": "Edit wachtrij voor chatten",
+ "DELETE_CHATQUEUE": "Verwijder Chat wachtrij",
"SETTINGS": "Instellingen",
"SAVE": "Opslaan",
"SCRIPT": "Script",
@@ -181,9 +181,9 @@
"CHATWEBSITES": "Chat websites",
"MOTIONADDRESS": "Motion adres",
"MOTIONPROXY": "Proxy of Motion domein",
- "ADD_CHATWEBSITE": "Chat Website Toevoegen",
- "EDIT_CHATWEBSITE": "Chat Website Bewerken",
- "DELETE_CHATWEBSITE": "Chat Website verwijderen",
+ "ADD_CHATWEBSITE": "Voeg Chat Website",
+ "EDIT_CHATWEBSITE": "Edit Chat Website",
+ "DELETE_CHATWEBSITE": "Verwijder Chat Website",
"LIST": "Lijst",
"SNIPPET": "Snapshot",
"FORMS": "Formulieren",
@@ -199,93 +199,93 @@
"MAINCOLOR": "Hoofdkleur",
"FOCUSCOLOR": "Focuskleur",
"BUTTONCOLOR": "Kleur",
- "HEADERSHAPE": "Koptekst opmaak",
+ "HEADERSHAPE": "Vorm van het maaibord",
"ANIMATION": "Animatie",
"DEFAULT": "Standaard",
"WHITELABEL": "White Label",
"LOGO": "Logo",
- "DOWNLOADTRANSCRIPT": "Transcriptie downloaden",
- "ENQUIRY_ENABLE": "Navragen inschakelen",
- "ENQUIRY_FORWARDING": "Navraag doorsturen",
- "ENQUIRY_FORWARDING_ADDRESS": "Doorstuuradres voor navraag",
+ "DOWNLOADTRANSCRIPT": "Download transcript",
+ "ENQUIRY_ENABLE": "Onderzoek inschakelen",
+ "ENQUIRY_FORWARDING": "Onderzoek doorsturen",
+ "ENQUIRY_FORWARDING_ADDRESS": "Onderzoek Doorstuuradres",
"LABELS": "Labels",
- "HEADER_ONLINE": "Online koptekst",
+ "HEADER_ONLINE": "Online voorzetstuk",
"ONLINE_MESSAGE": "Online bericht",
- "NAME_TITLE": "Naam Label",
- "USERNAME_PLACEHOLDER": "Gebruikersnaam Placeholder",
- "EMAIL_TITLE": "E-mail label",
- "EMAIL_PLACEHOLDER": "E-mail Placeholder",
+ "NAME_TITLE": "Naam Input Label",
+ "USERNAME_PLACEHOLDER": "Gebruikersnaam Input Placeholder",
+ "EMAIL_TITLE": "E-mail input label",
+ "EMAIL_PLACEHOLDER": "E-mail Input Placeholder",
"START_CHAT_BUTTON": "'Start Chat' knop",
- "AGENTS_BUSY": "Agent zijn drukbezet bericht",
- "HEADER_OFFLINE": "Offline koptekst",
+ "AGENTS_BUSY": "Drukbezette Agents bericht",
+ "HEADER_OFFLINE": "Offline voorzetstuk",
"OFFLINE_MESSAGE": "Offline berichten",
"MESSAGE_TITLE": "Bericht Label",
- "ENQUIRY_MESSAGE_PLACEHOLDER": "Navraag bericht Placeholder",
- "ENQUIRY_BUTTON": "Navraag knoptekst",
- "RATING_MESSAGE": "Rating Bericht",
- "RATING_SEND": "Rating Verzendknop Tekst",
- "RATING_SKIP": "Rating Overslaan Knoptekst",
+ "ENQUIRY_MESSAGE_PLACEHOLDER": "Onderzoek bericht Input Placeholder",
+ "ENQUIRY_BUTTON": "Onderzoek knop tekst",
+ "RATING_MESSAGE": "Waardering bericht",
+ "RATING_SEND": "Rating Verzendknop tekst",
+ "RATING_SKIP": "Rating Skip knop tekst",
"ONLINE": "Online",
"OFFLINE": "Offline",
"PROACTIVE": "Proactief",
"ACCEPT": "Accepteren",
- "ACCEPTMETHOD": "Methode accepteren",
+ "ACCEPTMETHOD": "Accepteren methode",
"ACCEPTURL": "URL accepteren",
"REJECT": "Afwijzen",
"REJECTMETHOD": "Methode afwijzen",
"REJECTURL": "URL afwijzen",
"CLOSE": "Dicht",
- "CLOSEMETHOD": "Methode sluiten",
- "CLOSEURL": "URL sluiten",
+ "CLOSEMETHOD": "Sluit methode",
+ "CLOSEURL": "Sluit URL",
"EMBEDDING": "Insluiten",
"GENERAL": "Algemeen",
"SELECTED": "Geselecteerd",
- "SELECT_ALL": "Selecteer Alles",
- "SELECT_NONE": "Selecteer Geen",
+ "SELECT_ALL": "Alles selecteren",
+ "SELECT_NONE": "Selecteer None (Geen).",
"BACK": "Terug",
"HELP": {
- "MAPKEY": "Het volgende Motion Contact Manager veld:",
- "FROMKEY": "zal worden toegewezen aan uw Motion Chat snippet als:",
+ "MAPKEY": "De volgende motie Contact Manager veld:",
+ "FROMKEY": "Wordt toegewezen die u in uw ontwerpresolutie Chat fragment zoals:",
"TOKEN": "Website Motion Token",
"COPYSCRIPTTOCLIPBOARD": "Kopieer en plak dit script in uw website",
- "FORWARD_OFFLINE": "U kunt meerdere adressen toevoegen door ze te scheiden met een komma (bijvoorbeeld John.doe@xcally.com, jane.miller@xcally.com)",
- "MOTIONADDRESS": "Gebruik de volgende notatie: ://[:]. Voorbeeld: https://X.Y.Z.W",
- "MOTIONPROXY": "Gebruik volgende notatie: ://[:]. Voorbeeld: https://X.Y.Z.W",
+ "FORWARD_OFFLINE": "U kunt meerdere adressen met een komma (bijvoorbeeld John.doe@xcally.com, jane.miller@xcally.com)",
+ "MOTIONADDRESS": "Voer in de volgende notatie: ://[:]. Voorbeeld: https://X.Y.Z.W",
+ "MOTIONPROXY": "Voer in de volgende notatie: ://[:]. Voorbeeld: https://X.Y.Z.W",
"NAME": "Alleen cijfers, letters en speciale tekens (_) worden ondersteund",
- "LIST": "Contact Manager lijst wordt gebruikt om contactpersonen te koppelen",
- "KEY": "De korte naam (5 tekens) van de Website die wordt weergegeven op het Agent tabblad",
- "INTEVAL": "Moet worden geselecteerd uit de lijst van beschikbare intervallen",
+ "LIST": "Contact Manager lijst gebruikt om contactpersonen koppelen",
+ "KEY": "Website korte naam (5 tekens) weergegeven op het tabblad Agent",
+ "INTEVAL": "Die moeten worden gekozen uit de lijst van beschikbare intervallen",
"TIMEZONE": "Selecteer één optie in de lijst (standaard=local timezone)",
- "ENABLERATING": "Inschakelen als u wilt dat de website bezoeker een Rating kan achterlaten",
- "ENABLEFEEDBACK": "Inschakelen als u wilt dat de website bezoeker feedback kan achterlaten (maximaal 150 tekens)",
- "FORWARDTRANSCRIPT": "Inschakelen als u wilt dat de website bezoeker wordt gevraagd om de een transcriptie van de chat te ontvangen via e-mail",
- "AUTOCLOSE": "Inschakelen als u dat wilt chatsessies worden gesloten als Onbeheerd indien er geen agent beschikbaar is. Meer informatie over: https://wiki.xcallymotion.com/display/XMV/Chat Websites#ChatWebsites-Snippet",
- "ENABLEUNMANAGEDNOTE": "Inschakelen als u wilt dat de bezoeker een bericht ontvangt wanneer alle agenten bezet zijn en de chat onbeheerd is",
- "ENABLECUSTOMERWRITING": "Inschakelen als u wilt dat de chat begint zonder te wachten op een beschikbare agent (let op: wanneer ingeschakeld, zullen chats nooit onbeheerd zijn). Meer informatie vindt u op: https://wiki.xcallymotion.com/display/XMV/Chat Websites#ChatWebsites-Snippet",
+ "ENABLERATING": "Het inschakelen als u wilt dat de website bezoeker kan de interactie op het einde",
+ "ENABLEFEEDBACK": "Het inschakelen als u wilt dat de website bezoeker kan een terugkoppeling (maximaal 150 tekens) aan het einde",
+ "FORWARDTRANSCRIPT": "Het inschakelen als u wilt dat de website bezoeker wordt gevraagd een Transcript voor chatten via mail",
+ "AUTOCLOSE": "Inschakelen als u dat wilt chatsessies worden gesloten als onbeheerde indien er geen agent beschikbaar is. Meer informatie over: https://wiki.xcallymotion.com/display/XMV/Chat Websites#ChatWebsites-Snippet",
+ "ENABLEUNMANAGEDNOTE": "Het inschakelen als u wilt dat de bezoeker een bericht wanneer alle agenten bezig zijn en de chat gets onbeheerde",
+ "ENABLECUSTOMERWRITING": "Het inschakelen als u wilt dat de chat begint zonder te wachten op een beschikbare agent (let op: als u, uw chats nooit onbeheerd). Meer informatie vindt u op: https://wiki.xcallymotion.com/display/XMV/Chat Websites#ChatWebsites-Snippet",
"INTERVAL": "Selecteer één optie in de lijst",
- "HIDEWHENOFFLINE": "Verbergt de Chat snippet wanneer deze offline is",
- "AGENTIDENTIFIER": "Vertegenwoordigt de agent-ID in de chatsessie in de Chat snippet",
- "WEBSITEALIAS": "Een prefix voor het samenstellen van de agentnaam (prefix + Agentnummer) zichtbaar voor de web bezoeker tijdens de chatsessie",
+ "HIDEWHENOFFLINE": "Verbergt het fragment wanneer het offline is",
+ "AGENTIDENTIFIER": "Vertegenwoordigt de agent-ID in de chatsessie in het fragment",
+ "WEBSITEALIAS": "Een voorvoegsel gebruikt om samen de agentnaam (voorvoegsel Agentnummer) afgebeeld op het web bezoeker tijdens de chatsessie",
"VERTICALPOSITION": "Vertegenwoordigt de afstand in percentage vanaf de bovenkant",
- "WELCOMEMESSAGE": "Leeglaten als u geen welkomstbericht wilt verzenden",
- "MANDATORYDISPOSITION": "Verplichte Dispositie",
+ "WELCOMEMESSAGE": "Laat leeg als u geen welkomstbericht wilt verzenden",
+ "MANDATORYDISPOSITION": "Verplichte regeling",
"MANDATORYDISPOSITIONPAUSEID": "Pauze om te gebruiken als verplichte dispositie is ingeschakeld"
},
"ADDRESS": "Adres",
- "ONLINESTATE": "Online status",
- "OFFLINESTATE": "Offline status",
- "RATINGSTATE": "Waarding status",
- "ENQUIRY": "Navraag",
- "OFFLINETEMPLATE": "Offline sjabloon",
- "CHATDISPOSITIONS": "Chat Disposities",
- "NO_CHATDISPOSITION_AVAILABLE": "Geen disposities beschikbaar voor chat",
- "ADD_CHATDISPOSITION": "Chat dispositie Toevoegen",
+ "ONLINESTATE": "De status Online (Actief)",
+ "OFFLINESTATE": "Offline staat",
+ "RATINGSTATE": "Rating staat",
+ "ENQUIRY": "Onderzoek",
+ "OFFLINETEMPLATE": "Offline Template",
+ "CHATDISPOSITIONS": "Chat dispositieven",
+ "NO_CHATDISPOSITION_AVAILABLE": "No Chat Dispositieven beschikbaar",
+ "ADD_CHATDISPOSITION": "Voeg Chat dispositie",
"DELETE": "Verwijderen",
- "EDIT_CHATDISPOSITION": "Chat dispositie Bewerken",
- "DELETE_CHATDISPOSITION": "Chat dispositie Verwijderen",
+ "EDIT_CHATDISPOSITION": "Edit Chat dispositie",
+ "DELETE_CHATDISPOSITION": "Verwijder Chat dispositie",
"CHAT": "Chat",
"ID": "Id",
- "NEW_CHATQUEUE": "Nieuwe chat wachtrij",
+ "NEW_CHATQUEUE": "Nieuwe wachtrij voor chatten",
"NEW_CHATWEBSITE": "Nieuwe Chat Website",
"ROUNDED": "Afgerond",
"SQUARED": "Kwadraat",
@@ -309,8 +309,8 @@
"SELECT_STATUS": "Selecteer een status",
"FILTER": "Filter",
"FILTERS": "Filters",
- "TEAMADD_CHATQUEUE": "Team aan chat wachtrij Toevoegen",
- "AGENTADD_CHATQUEUE": "Agent aan chat wachtrij Toevoegen",
+ "TEAMADD_CHATQUEUE": "Toevoegen aan wachtrij voor chatten",
+ "AGENTADD_CHATQUEUE": "Voeg Agent naar wachtrij voor chatten",
"ALL_AGENTS": "Alle gebruikers zijn agenten",
"SELECTED_AGENTS": "Geselecteerde agenten",
"CLOSEDAT": "Gesloten",
@@ -318,17 +318,17 @@
"CREATEDAT": "Gemaakt op",
"NOTES": "Aantekeningen",
"NO_INTERACTION_AVAILABLE": "Geen interacties beschikbaar",
- "SELECTED_WEBSITE": "Selecteer een website",
+ "SELECTED_WEBSITE": "Kies een website",
"GOTOP": "Gotop",
- "EDIT_GOTOP": "Gotop Bewerken",
- "SELECT_WEBSITE": "Selecteer een website",
+ "EDIT_GOTOP": "Gotop bewerken",
+ "SELECT_WEBSITE": "Kies een website",
"INFO": "Info",
"OFFLINEMESSAGES_CHATWEBSITE": "Ga naar offline-meldingen",
- "WAITINGTITLE": "Wachtmelding titel",
+ "WAITINGTITLE": "Waiting titel",
"WAITINGMESSAGE": "Wachtmelding",
- "RATING": "Rating",
- "NO_RATINGVALUE": "Geen Rating",
- "AGENTSADD_QUEUE": "Agent aan chat wachtrij toevoegen",
+ "RATING": "Waardering",
+ "NO_RATINGVALUE": "Geen waardering",
+ "AGENTSADD_QUEUE": "Voeg Agent naar wachtrij voor chatten",
"QUEUES": "Wachtrijen",
"LOGGED_IN": "Aangemeld",
"PAUSED": "Gepauzeerd",
@@ -348,10 +348,10 @@
"PHONE_STATUS": "Telefoonstatus",
"LOGOUT": "Afmelden",
"UNPAUSE": "Einde pauze",
- "AGENTADD_QUEUE": "Agent toevoegen aan chat wachtrij",
+ "AGENTADD_QUEUE": "Voeg Agent naar wachtrij voor chatten",
"DEFAULT_PAUSE": "Standaardinstellingen voor pauze",
"UNKNOWN": "Onbekend",
- "UNREGISTERED": "Niet geregistreerd",
+ "UNREGISTERED": "Unregistered",
"UNAVAILABLE": "Niet beschikbaar",
"NOT_INUSE": "Niet in gebruik",
"REACHABLE": "Bereikbaar",
@@ -359,35 +359,35 @@
"VOICE": "Spraak",
"NO_AGENT_ONLINE": "Geen Agent Online",
"GOTOREALTIME_CHATQUEUE": "Ga naar Realtime wachtrij voor chatten",
- "PARTIALPAUSE": "Tijdelijk onderbreken",
+ "PARTIALPAUSE": "Gedeeltelijk onderbreken",
"BUSY": "Bezet",
"TIMER": "Timer",
- "IDLE": "Idle",
+ "IDLE": "Stationair toerental",
"CAPACITY": "Capaciteit",
"TAGS": "Tags",
- "SHOWAGENTAVATAR": "Agent Avatar Weergeven",
+ "SHOWAGENTAVATAR": "Persoonlijke agent avatar",
"AGENTAVATAR": "Agent Avatar",
"SPYINTERACTION": "Spy",
"INTERACTIONS_CHATWEBSITE": "Ga naar interacties",
- "REFRESH_INTERACTIONS": "Interacties Vernieuwen",
- "CLOSINGQUESTION": "Vraag Sluiten",
+ "REFRESH_INTERACTIONS": "Interacties vernieuwen",
+ "CLOSINGQUESTION": "Sluiten vraag",
"WEBSCRIPT": "Web Script",
- "NO_CHATCANNEDANSWER_AVAILABLE": "Geen standaard antwoorden beschikbaar",
- "NEW_CHATCANNEDANSWER": "Nieuw Standaard Antwoord",
- "ADD_CHATCANNEDANSWER": "Standaard Antwoord Toevoegen",
- "EDIT_CHATCANNEDANSWER": "Standaard Antwoord Bewerken",
- "DELETE_CHATCANNEDANSWER": "Standaard Antwoord Verwijderen",
- "OFFLINEMESSAGESUBJECT": "Onderwerp",
- "OFFLINEMESSAGEBODY": "Inhoud",
- "FORMSUBMITSUCCESSMESSAGE": "Formulier verzenden succesbericht",
+ "NO_CHATCANNEDANSWER_AVAILABLE": "Geen ingeblikte antwoorden beschikbaar",
+ "NEW_CHATCANNEDANSWER": "Nieuw ingebouwd antwoord",
+ "ADD_CHATCANNEDANSWER": "Voeg ingebed antwoord toe",
+ "EDIT_CHATCANNEDANSWER": "Bewerk",
+ "DELETE_CHATCANNEDANSWER": "Verwijder",
+ "OFFLINEMESSAGESUBJECT": "Bericht Onderwerp",
+ "OFFLINEMESSAGEBODY": "Bericht lichaam",
+ "FORMSUBMITSUCCESSMESSAGE": "Formulier verzendingssuccesbericht",
"FORMSUBMITFAILUREMESSAGE": "Formulier verzenden mislukt bericht",
- "PLACEHOLDERMESSAGE": "Placeholder bericht",
- "NOTETITLE": "Notitie Titel",
- "DELETE_INTERACTION": "Interactie Verwijderen",
+ "PLACEHOLDERMESSAGE": "Plaatsaanduiding voor berichten",
+ "NOTETITLE": "De titel van Note",
+ "DELETE_INTERACTION": "Interactie verwijderen",
"FONTSIZE": "Lettertypegrootte",
"TEXTCOLOR": "Tekst kleur",
"COMMAND": "Opdracht",
- "EDIT_SYSTEM": "Systeem Bewerken",
+ "EDIT_SYSTEM": "Systeem bewerken",
"SYSTEM": "Systeem",
"NOTIFICATION": "Kennisgeving",
"NOTIFICATIONSHAKE": "Schudden",
@@ -396,10 +396,10 @@
"HIDEWHENOFFLINE": "Verbergen",
"INSERT_MESSAGE_HERE": "Voer hier uw sms-bericht in",
"AGENTALIAS": "Agent Alias",
- "AGENTFULLNAME": "Agent volledige naam",
+ "AGENTFULLNAME": "Agent Volledige naam",
"AGENTIDENTIFIER": "Identifier",
"WAITFORTHEASSIGNEDAGENT": "Wacht op de toegewezen agent",
- "ALIGNMENT": "Uitlijning",
+ "ALIGNMENT": "opstelling",
"BOTTOM_RIGHT": "Rechts onder",
"LEFT": "Links",
"RIGHT": "Rechts",
@@ -411,45 +411,45 @@
"CENTERED": "centered",
"CUSTOMERAVATAR": "Avatar klant",
"DEFAULTTITLE": "Standaard titel",
- "MESSAGESALIGNMENT": "Bericht Uitlijning",
- "SHOWCUSTOMERAVATAR": "Klantavatar Weergeven",
+ "MESSAGESALIGNMENT": "Berichten Afstemming",
+ "SHOWCUSTOMERAVATAR": "Toon klantavatar",
"EDIT_TAG": "Bewerk label",
"TAG": "Label",
"CUSTOMERALIAS": "Klantalias",
- "AGENTADD_CHATWEBSITE": "Agent aan chatwebsite Toevoegen",
+ "AGENTADD_CHATWEBSITE": "Agent toevoegen aan chatwebsite",
"BACKGROUNDCOLOR": "Achtergrond kleur",
"MESSAGEFONTSIZE": "Grootte van berichtlettertype",
"AGENTTRANSFER": "Agent Transfer",
"AGENTTRANSFERTIMEOUT": "Agent Transfer Timeout",
"DIALOGFLOW": "Dialogflow",
- "EDIT_DIALOGFLOW": "Dialogflow Bewerken",
+ "EDIT_DIALOGFLOW": "Bewerk Dialogflow",
"LANGUAGE": "Taal",
- "QUEUETRANSFER": "Wachtrij Overdracht",
- "QUEUETRANSFERTIMEOUT": "Wachtrij Overdracht Timeout",
+ "QUEUETRANSFER": "Wachtrijoverdracht",
+ "QUEUETRANSFERTIMEOUT": "Wachtrij Transfer Timeout",
"SYSTEMALIAS": "Systeemalias",
"SYSTEMAVATAR": "Systeemavatar",
"TRANSFER": "Overdracht",
- "WELCOMEMESSAGE": "Welkomstbericht",
- "ENABLECUSTOMERCHECKMARKS": "Afgeleverd/gelezen door klant melding inschakelen",
- "CANNEDANSWERS": "Standaard Antwoorden",
- "CHATCANNEDANSWERS": "Standaard Antwoorden",
- "DOWNLOAD_INTERACTION": "Interactie Downloaden",
+ "WELCOMEMESSAGE": "Welkoms bericht",
+ "ENABLECUSTOMERCHECKMARKS": "Schakel door klant geleverde / gelezen meldingen in",
+ "CANNEDANSWERS": "Ingeblikte antwoorden",
+ "CHATCANNEDANSWERS": "Ingeblikte antwoorden",
+ "DOWNLOAD_INTERACTION": "Download",
"LOGIN_TIME": "Aanmeldtijd",
"PAUSE_TIME": "Pauzetijd",
"ACCESSKEYID": "Toegang Key ID",
"BOTNAME": "Botnaam",
"EDIT_AMAZONLEX": "Bewerk Amazon Lex",
"LEXREGION": "Regio",
- "SECRETACCESSKEY": "Geheime Sleutel",
+ "SECRETACCESSKEY": "Geheime toegangssleutel",
"TEAMS_ASSOCIATION": "Teams Association",
"MANDATORYDISPOSITION": "Verplichte regeling",
"MANDATORYDISPOSITIONPAUSEID": "Pauze om te gebruiken als verplichte dispositie is ingeschakeld",
- "ENABLESENDBUTTON": "Verzendknop Inschakelen",
+ "ENABLESENDBUTTON": "Schakel de verzendknop in",
"FEEDBACKTITLE": "Feedbacktitel",
"TOOLTIP_SCREENRECORDING_OFF": "Schermopname beschikbaar",
"TOOLTIP_SCREENRECORDING_ON": "Schermopname bezig",
- "DOWNLOAD_WITHOUT_ATTACHMENTS": "Zonder bijlagen Downloaden",
- "DOWNLOAD_WITH_ATTACHMENTS": "Met bijlagen Downloaden",
+ "DOWNLOAD_WITHOUT_ATTACHMENTS": "Download zonder bijlagen",
+ "DOWNLOAD_WITH_ATTACHMENTS": "Download met bijlagen",
"LASTMESSAGE": "Laatste bericht",
"VIDAOO": "Vidaoo",
"VIDAOOAPIKEY": "Vidaoo Api-sleutel",
@@ -458,21 +458,21 @@
"VIDEO": "Video",
"CLIENTEMAIL": "E-mail van de klant",
"DIALOGFLOWV2": "Dialogflow V2",
- "EDIT_DIALOGFLOWV2": "Dialogflow V2 Bewerken",
- "PRIVATEKEY": "Privé-sleutel",
+ "EDIT_DIALOGFLOWV2": "Bewerk Dialogflow V2",
+ "PRIVATEKEY": "Prive sleutel",
"PROJECTID": "Project-ID",
"EMAIL_ACCOUNT": "Email account",
- "OPEN_NEW_INTERACTION": "Nieuwe interactie Openen",
+ "OPEN_NEW_INTERACTION": "Open nieuwe interactie",
"SUBJECT": "Onderwerpen",
- "ADD_NOTE": "Notitie Toevoegen",
+ "ADD_NOTE": "Notitie toevoegen",
"CANNED_ANSWER_NOT_FOUND": "Er zijn geen standaardantwoorden gevonden",
"NOTE": "Opmerking",
"VIDAOOMETADATA": "Vidaoo-metagegevens",
"VIDAOONOTE": "Vidaoo Opmerking",
"VIDAOOTOPIC": "Vidaoo-onderwerp",
"CHANNELID": "Kanaal Nr",
- "EDIT_TVOX": "TVox Bewerken",
- "MOTIONTITLE": "Titel",
+ "EDIT_TVOX": "TVox bewerken",
+ "MOTIONTITLE": "Bewegingstitel",
"MOTIONURL": "Bewegings-URL",
"MOTIONURLONANSWER": "Bewegings-URL bij antwoord",
"MOTIONURLONRING": "Bewegings-URL op bel",
diff --git a/public/app/main/apps/chat/i18n/pt-BR.json b/public/app/main/apps/chat/i18n/pt-BR.json
index 8a05182..ffaddae 100644
--- a/public/app/main/apps/chat/i18n/pt-BR.json
+++ b/public/app/main/apps/chat/i18n/pt-BR.json
@@ -5,7 +5,7 @@
"ACCESSKEYID": "Access Key ID",
"SECRETACCESSKEY": "Secret Access Key",
"LEXREGION": "Região",
- "BOTNAME": "Nome do bot",
+ "BOTNAME": "Nome do BOT",
"LOGIN_TIME": "Tempo de login",
"PAUSE_TIME": "Tempo de pausa",
"DOWNLOAD_INTERACTION": "Download",
@@ -13,7 +13,7 @@
"TRANSFER": "Transferir",
"QUEUETRANSFER": "Transferência de fila",
"QUEUETRANSFERTIMEOUT": "Tempo limite de transferência da fila",
- "AGENTTRANSFER": "Transferência de Agente",
+ "AGENTTRANSFER": "Transferência de agente",
"AGENTTRANSFERTIMEOUT": "Tempo limite de transferência do agente",
"SYSTEMAVATAR": "Avatar do sistema",
"SYSTEMALIAS": "Apelido do sistema",
@@ -24,13 +24,13 @@
"BACKGROUNDCOLOR": "Cor de fundo",
"MESSAGEFONTSIZE": "Tamanho da fonte da mensagem",
"TAG": "Tag",
- "EDIT_TAG": "Editar Tag",
+ "EDIT_TAG": "Editar tag",
"CUSTOMERALIAS": "Apelido ââdo cliente",
"SNIPPETSWIPEOUT": "Snippet deslize para fora",
"CUSTOMERAVATAR": "Avatar do cliente",
"SHOWCUSTOMERAVATAR": "Mostrar avatar do cliente",
- "DEFAULTTITLE": "TÃtulo Padrão",
- "MESSAGESALIGNMENT": "Alinhamento de Mensagens",
+ "DEFAULTTITLE": "TÃtulo padrão",
+ "MESSAGESALIGNMENT": "Alinhamento de mensagens",
"ALTERNATE": "Alternar",
"CENTERED": "Centralizado",
"POSITION": "Posição",
@@ -43,8 +43,8 @@
"WAITFORTHEASSIGNEDAGENT": "Aguarde o agente atribuÃdo",
"AGENTIDENTIFIER": "Identificador",
"WEBSITEALIAS": "Nome do site",
- "AGENTALIAS": "Nome do Agente",
- "AGENTFULLNAME": "Nome Completo do Agente",
+ "AGENTALIAS": "Nome do agente",
+ "AGENTFULLNAME": "Nome completo do agente",
"INSERT_MESSAGE_HERE": "Insira sua mensagem de texto aqui",
"HIDEWHENOFFLINE": "Ocultar",
"NOTIFICATION": "Notificação",
@@ -52,11 +52,11 @@
"NOTIFICATIONSHAKE": "Vibrar",
"NOTIFICATIONTEMPLATE": "Modelo",
"SYSTEM": "Sistema",
- "EDIT_SYSTEM": "Editar Sistema",
+ "EDIT_SYSTEM": "Editar sistema",
"COMMAND": "Comando",
"TEXTCOLOR": "Cor do texto",
"FONTSIZE": "Tamanho da fonte",
- "WEBSCRIPT": "Web Script",
+ "WEBSCRIPT": "Web script",
"CANNEDANSWERS": "Modelo de resposta",
"CHATCANNEDANSWERS": "Modelo de resposta",
"NO_CHATCANNEDANSWER_AVAILABLE": "Não há respostas prontas disponÃveis",
@@ -77,10 +77,10 @@
"SPYINTERACTION": "Spy",
"NO_AGENT_ONLINE": "Nenhum agente online",
"GOTOREALTIME_CHATQUEUE": "Ir para a fila de chat em tempo real",
- "PARTIALPAUSE": "Pausa Parcial",
+ "PARTIALPAUSE": "Pausa parcial",
"BUSY": "Ocupado",
"TIMER": "Cronômetro",
- "IDLE": "Ocioso",
+ "IDLE": "DisponÃvel",
"CAPACITY": "Capacidade",
"AGENTSADD_QUEUE": "Adicionar agente à fila de chat",
"QUEUES": "Filas",
@@ -122,15 +122,15 @@
"ALIAS": "Alias",
"VARIABLE": "Variável",
"INTERVAL": "Intervalo",
- "EDIT_CLOSE": "Editar Fechar",
+ "EDIT_CLOSE": "Editar encerramento",
"TIMEZONE": "Fuso horário",
"MESSAGE": "Messagem",
"ADVANCED": "Avançado",
- "FORWARDTRANSCRIPT": "Encaminhar Transcrição",
- "FORWARDTRANSCRIPTMESSAGE": "Mensagem de Transcrição Direta",
+ "FORWARDTRANSCRIPT": "Encaminhar transcrição",
+ "FORWARDTRANSCRIPTMESSAGE": "Mensagem de transcrição direta",
"SKIPMESSAGEBUTTON": "Ignorar botão de mensagem",
"EDIT_MESSAGE": "Editar mensagem",
- "CONDITION_AGREEMENT": "Contrato de Condição",
+ "CONDITION_AGREEMENT": "Contrato de condição",
"NONE": "Nenhum",
"PRIORITY": "Prioridade",
"ONLINESTATUS": "Status online",
@@ -140,43 +140,43 @@
"UNMANAGEDMESSAGE": "Messagem",
"SKIPUNMANAGED": "Pular Mensagem",
"SENDUNMANAGED": "Enviar mensagem",
- "WEBSITESCRIPT": "Website Script",
+ "WEBSITESCRIPT": "Website script",
"DELETE_OFFLINEMESSAGE": "Excluir",
- "OFFLINEMESSAGES": "Mensagens Offline",
- "FORWARD_OFFLINE": "Encaminhar off-line",
+ "OFFLINEMESSAGES": "Mensagens offline",
+ "FORWARD_OFFLINE": "Encaminhar offline",
"SHOW_OFFLINEMESSAGE": "Mostrar",
"FORWARD_OFFLINE_ADDRESS": "Endereço offline de encaminhamento",
- "CLOSINGFORM": "Formulário de Fechamento",
- "ENABLERATING": "Ativar Classificação",
+ "CLOSINGFORM": "Formulário de encerramento",
+ "ENABLERATING": "Ativar classificação",
"ENABLECUSTOMERWRITING": "Permitir que o cliente escreva antes de aceitar o agente",
"ENABLEFEEDBACK": "Ativar feedback",
- "RATINGTYPE": "Tipo de Avaliação",
- "CLOSINGMESSAGE": "Mensagem de Encerramento",
+ "RATINGTYPE": "Tipo de avaliação",
+ "CLOSINGMESSAGE": "Mensagem de encerramento",
"CLOSINGMESSAGEBUTTON": "Fechando o botão da mensagem",
"RATINGSTARSNUMBER": "Número de estrelas de avaliação",
"EDIT_GOTOIF": "Editar GotoIf",
"CONDITION": "Condição",
"TRUEPRIORITY": "Verdadeira prioridade",
- "FALSEPRIORITY": "Falsa Prioridade",
+ "FALSEPRIORITY": "Falsa prioridade",
"VALUE": "Valor",
"ERRORS": {
- "BOTNAME_REQUIRED": "Campo Obrigatório",
- "SECRETACCESSKEY_REQUIRED": "Campo Obrigatório",
- "ACCESSKEYID_REQUIRED": "Campo Obrigatório",
+ "BOTNAME_REQUIRED": "Campo obrigatório",
+ "SECRETACCESSKEY_REQUIRED": "Campo obrigatório",
+ "ACCESSKEYID_REQUIRED": "Campo obrigatório",
"QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "O valor deve ser menor ou igual a",
"QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
- "QUEUETRANSFERTIMEOUT_REQUIRED": "Campo Obrigatório",
+ "QUEUETRANSFERTIMEOUT_REQUIRED": "Campo obrigatório",
"AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "O valor deve ser menor ou igual a",
"AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
- "AGENTTRANSFERTIMEOUT_REQUIRED": "Campo Obrigatório",
- "CUSTOMERALIAS_REQUIRED": "Campo Obrigatório",
- "AGENTALIAS_REQUIRED": "Campo Obrigatório",
- "SYSTEMALIAS_REQUIRED": "Campo Obrigatório",
+ "AGENTTRANSFERTIMEOUT_REQUIRED": "Campo obrigatório",
+ "CUSTOMERALIAS_REQUIRED": "Campo obrigatório",
+ "AGENTALIAS_REQUIRED": "Campo obrigatório",
+ "SYSTEMALIAS_REQUIRED": "Campo obrigatório",
"MESSAGEFONTSIZE_MUST_BE_LESS_THAN_OR_EQUAL_TO": "O valor deve ser menor ou igual a",
"MESSAGEFONTSIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
- "MESSAGEFONTSIZE_REQUIRED": "Campo Obrigatório",
- "TAG_REQUIRED": "Campo Obrigatório",
- "VERTICALPOSITION_REQUIRED": "Campo Obrigatório",
+ "MESSAGEFONTSIZE_REQUIRED": "Campo obrigatório",
+ "TAG_REQUIRED": "Campo obrigatório",
+ "VERTICALPOSITION_REQUIRED": "Campo obrigatório",
"VERTICALPOSITION_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
"VERTICALPOSITION_MUST_BE_LESS_THAN_OR_EQUAL_TO": "O valor deve ser menor ou igual a",
"WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "O valor deve ser menor ou igual a",
@@ -186,11 +186,11 @@
"TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "O valor deve ser menor ou igual a",
"AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
"NAME_MUST_VALID_PATTERN": "Formato incorreto",
- "COMMAND_REQUIRED": "Campo Obrigatório",
+ "COMMAND_REQUIRED": "Campo obrigatório",
"FONTSIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
- "FONTSIZE_REQUIRED": "Campo Obrigatório",
+ "FONTSIZE_REQUIRED": "Campo obrigatório",
"TEXT_MAX_LENGTH": "O valor deve ter um tamanho máximo igual a {{max}}",
- "VALUE_REQUIRED": "Campo Obrigatório",
+ "VALUE_REQUIRED": "Campo obrigatório",
"CUSTOMERALIAS_MAX_LENGTH": "O valor deve ter um tamanho máximo igual a {{max}}",
"SYSTEMALIAS_MAX_LENGTH": "O valor deve ter um tamanho máximo igual a {{max}}",
"OFFLINEMESSAGESUBJECT_MAX_LENGTH": "O valor deve ter um tamanho máximo igual a {{max}}",
@@ -202,30 +202,30 @@
"CLOSINGQUESTION_MAX_LENGTH": "O valor deve ter um tamanho máximo igual a {{max}}",
"HEADER_OFFLINE_MAX_LENGTH": "O valor deve ter um tamanho máximo igual a {{max}}",
"OFFLINE_CHAT_BUTTON_MAX_LENGTH": "O valor deve ter um tamanho máximo igual a {{max}}",
- "TEXT_REQUIRED": "Campo Obrigatório",
- "SENDUNMANAGED_REQUIRED": "Campo Obrigatório",
+ "TEXT_REQUIRED": "Campo obrigatório",
+ "SENDUNMANAGED_REQUIRED": "Campo obrigatório",
"SENDUNMANAGED_MAX_LENGTH": "O valor deve ter um tamanho máximo igual a {{max}}",
"SKIPUNMANAGED_MAX_LENGTH": "O valor deve ter um tamanho máximo igual a {{max}}",
"UNMANAGEDMESSAGE_MAX_LENGTH": "O valor deve ter um tamanho máximo igual a {{max}}",
"WEBSITEALIAS_MAX_LENGTH": "O valor deve ter um tamanho máximo igual a {{max}}",
- "AGENT_REQUIRED": "Campo Obrigatório",
- "QUEUE_REQUIRED": "Campo Obrigatório",
- "CONDITION_REQUIRED": "Campo Obrigatório",
- "PRIORITY_REQUIRED": "Campo Obrigatório",
- "TRUEPRIORITY_REQUIRED": "Campo Obrigatório",
- "FALSEPRIORITY_REQUIRED": "Campo Obrigatório",
- "NAME_REQUIRED": "Campo Obrigatório",
- "LIST_REQUIRED": "Campo Obrigatório",
- "AGENT_TIMEOUT_REQUIRED": "Campo Obrigatório",
- "MOTIONADDRESS_REQUIRED": "Campo Obrigatório",
- "DISPOSITION_REQUIRED": "Campo Obrigatório",
+ "AGENT_REQUIRED": "Campo obrigatório",
+ "QUEUE_REQUIRED": "Campo obrigatório",
+ "CONDITION_REQUIRED": "Campo obrigatório",
+ "PRIORITY_REQUIRED": "Campo obrigatório",
+ "TRUEPRIORITY_REQUIRED": "Campo obrigatório",
+ "FALSEPRIORITY_REQUIRED": "Campo obrigatório",
+ "NAME_REQUIRED": "Campo obrigatório",
+ "LIST_REQUIRED": "Campo obrigatório",
+ "AGENT_TIMEOUT_REQUIRED": "Campo obrigatório",
+ "MOTIONADDRESS_REQUIRED": "Campo obrigatório",
+ "DISPOSITION_REQUIRED": "Campo obrigatório",
"MOTIONADDRESS_MUST_VALID_URL": "Formato incorreto",
"EMAIL_MUST_BE_VALID": "Formato incorreto",
- "ADDRESS_REQUIRED": "Campo Obrigatório",
+ "ADDRESS_REQUIRED": "Campo obrigatório",
"ADDRESS_MUST_VALID_URL": "Formato incorreto",
- "ENQUIRY_FORWARDING_ADDRESS_REQUIRED": "Campo Obrigatório",
+ "ENQUIRY_FORWARDING_ADDRESS_REQUIRED": "Campo obrigatório",
"ACCEPTURL_MUST_VALID_URL": "Formato incorreto",
- "TIMEOUT_REQUIRED": "Campo Obrigatório",
+ "TIMEOUT_REQUIRED": "Campo obrigatório",
"REJECTURL_MUST_VALID_URL": "Formato incorreto",
"CLOSEURL_MUST_VALID_URL": "Formato incorreto",
"PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
@@ -233,30 +233,30 @@
"FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
"TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
"POLLING_INTERVAL_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
- "WAITINGMESSAGE_REQUIRED": "Campo Obrigatório",
- "WAITINGTITLE_REQUIRED": "Campo Obrigatório",
+ "WAITINGMESSAGE_REQUIRED": "Campo obrigatório",
+ "WAITINGTITLE_REQUIRED": "Campo obrigatório",
"KEY_MAX_LENGTH": "O valor deve ter um tamanho máximo igual a {{max}}",
- "KEY_REQUIRED": "Campo Obrigatório",
+ "KEY_REQUIRED": "Campo obrigatório",
"WAITINGMESSAGE_MAX_LENGTH": "O valor deve ter um tamanho máximo igual a {{max}}",
"WAITINGTITLE_MAX_LENGTH": "O valor deve ter um tamanho máximo igual a {{max}}",
"RATINGSTARSNUMBER_MUST_BE_LESS_THAN_OR_EQUAL_TO": "O valor deve ser menor ou igual a",
"MANDATORYDISPOSITIONPAUSEID_REQUIRED": "Campo obrigatório",
- "VIDAOOAPIKEY_REQUIRED": "Campo Obrigatório",
- "CLIENTEMAIL_REQUIRED": "Campo Obrigatório",
- "PRIVATEKEY_REQUIRED": "Campo Obrigatório",
- "PROJECTID_REQUIRED": "Campo Obrigatório",
- "VIDAOOTOPIC_REQUIRED": "Campo Obrigatório",
+ "VIDAOOAPIKEY_REQUIRED": "Campo obrigatório",
+ "CLIENTEMAIL_REQUIRED": "Campo obrigatório",
+ "PRIVATEKEY_REQUIRED": "Campo obrigatório",
+ "PROJECTID_REQUIRED": "Campo obrigatório",
+ "VIDAOOTOPIC_REQUIRED": "Campo obrigatório",
"EMAIL_ACCOUNT_REQUIRED": "Campo obrigatório"
},
- "CM_FIELD": "Contact Manager Field",
+ "CM_FIELD": "Campo Contact Manager",
"CHATPROACTIVEACTIONS": "Ações proativas",
"NEW_CHATPROACTIVEACTION": "Nova ação proativa",
"EDIT_CHATPROACTIVEACTION": "Editar ação proativa",
"DELETE_CHATPROACTIVEACTION": "Excluir ação proativa",
"ADD_CHATPROACTIVEACTION": "Adicionar ação proativa",
"NO_CHATPROACTIVEACTION_AVAILABLE": "Nenhuma ação proativa disponÃvel",
- "NO_OFFLINEMESSAGE_AVAILABLE": "Nenhuma mensagem off-line disponÃvel",
- "MOUSEOVER": "Mouse Over",
+ "NO_OFFLINEMESSAGE_AVAILABLE": "Nenhuma mensagem offline disponÃvel",
+ "MOUSEOVER": "Mouse over",
"TIMEOUT": "Tempo esgotado",
"TYPE": "Tipo",
"SELECTOR": "Seletor",
@@ -298,35 +298,35 @@
"ACTIONS": "Ações",
"FIDELITY": "Fidelidade",
"APPEARANCE": "Aparência",
- "MAINCOLOR": "Cor Principal",
+ "MAINCOLOR": "Cor principal",
"FOCUSCOLOR": "Cor de foco",
- "BUTTONCOLOR": "Cor do botao",
+ "BUTTONCOLOR": "Cor do botão",
"HEADERSHAPE": "Forma de cabeçalho",
"ANIMATION": "Animação",
"DEFAULT": "Padrão",
"WHITELABEL": "White Label",
"LOGO": "Logo",
- "DOWNLOADTRANSCRIPT": "Download Transcrição",
+ "DOWNLOADTRANSCRIPT": "Download transcrição",
"ENQUIRY_ENABLE": "Enquiry Enable",
"ENQUIRY_FORWARDING": "Enquiry Forwarding",
"ENQUIRY_FORWARDING_ADDRESS": "Enquiry Forwarding Address",
"LABELS": "Labels",
- "HEADER_ONLINE": "Cabeçalho on-line",
- "ONLINE_MESSAGE": "Mensagem Online",
+ "HEADER_ONLINE": "Cabeçalho online",
+ "ONLINE_MESSAGE": "Mensagem online",
"NAME_TITLE": "Nome da etiqueta de entrada",
"USERNAME_PLACEHOLDER": "Local de entrada de nome de usuário",
"EMAIL_TITLE": "Etiqueta de entrada de e-mail",
"EMAIL_PLACEHOLDER": "Espaço reservado para entrada de e-mail",
"START_CHAT_BUTTON": "Botão 'Iniciar chat'",
- "AGENTS_BUSY": "Mensagem de Agentes Ocupados",
- "HEADER_OFFLINE": "Cabeçalho Offline",
- "OFFLINE_MESSAGE": "Mensagem Offline",
- "MESSAGE_TITLE": "Rótulo de Mensagem",
+ "AGENTS_BUSY": "Mensagem de agentes ocupados",
+ "HEADER_OFFLINE": "Cabeçalho offline",
+ "OFFLINE_MESSAGE": "Mensagem offline",
+ "MESSAGE_TITLE": "TÃtulo de Mensagem",
"ENQUIRY_MESSAGE_PLACEHOLDER": "Espaço reservado para entrada de mensagem de consulta",
"ENQUIRY_BUTTON": "Texto do botão de consulta",
- "RATING_MESSAGE": "Mensagem de Avaliação",
+ "RATING_MESSAGE": "Mensagem de avaliação",
"RATING_SEND": "Texto do botão de envio de classificação",
- "RATING_SKIP": "Texto do botão Ignorar classificação",
+ "RATING_SKIP": "Texto do botão ignorar classificação",
"ONLINE": "Online",
"OFFLINE": "Offline",
"PROACTIVE": "Proativo",
@@ -334,10 +334,10 @@
"ACCEPTMETHOD": "Aceitar Metodo",
"ACCEPTURL": "Aceitar URL",
"REJECT": "Rejeitar",
- "REJECTMETHOD": "Rejeitar Metodo",
+ "REJECTMETHOD": "Rejeitar método",
"REJECTURL": "Rejeitar URL",
"CLOSE": "Fechar",
- "CLOSEMETHOD": "Fechar Metodo",
+ "CLOSEMETHOD": "Fechar método",
"CLOSEURL": "Fechar URL",
"EMBEDDING": "Incorporação",
"GENERAL": "Geral",
@@ -367,7 +367,7 @@
"MOTIONADDRESS": "O campo deve ter o seguinte formato: : // [: ]. Exemplo: https: //X.Y.Z.W",
"MOTIONPROXY": "O campo deve ter o seguinte formato: : // [: ]. Exemplo: https: //X.Y.Z.W",
"NAME": "Somente números, letras e caracteres especÃficos (._) são suportados",
- "LIST": "Lista do Gerenciador de contatos usada para associar os contatos",
+ "LIST": "Lista do Gerenciar Contatos",
"INTERVAL": "Selecione um da lista",
"WELCOMEMESSAGE": "Deixe em branco se não quiser enviar nenhuma mensagem de boas-vindas",
"MANDATORYDISPOSITION": "Disposição obrigatória",
@@ -375,11 +375,11 @@
},
"ADDRESS": "Endereço",
"ONLINESTATE": "Status online",
- "OFFLINESTATE": "Status Offline",
- "RATINGSTATE": "Status de Avaliação",
+ "OFFLINESTATE": "Status offline",
+ "RATINGSTATE": "Status de avaliação",
"ENQUIRY": "Enquiry",
- "OFFLINETEMPLATE": "Modelo Offline",
- "CHATDISPOSITIONS": "Disposições de Chat",
+ "OFFLINETEMPLATE": "Modelo offline",
+ "CHATDISPOSITIONS": "Disposições de chat",
"NO_CHATDISPOSITION_AVAILABLE": "Nenhuma disposição de chat disponÃvel",
"ADD_CHATDISPOSITION": "Adicionar disposição de chat",
"DELETE": "Excluir",
@@ -392,8 +392,8 @@
"SQUARED": "Squared",
"NO_AVAILABLE_INFO": "Nenhuma informação disponÃvel",
"ALL_TEAMS": "Todas as equipes",
- "SELECTED_TEAMS": "Equipes Selecionadas",
- "PAGE": "Pagina",
+ "SELECTED_TEAMS": "Equipes selecionadas",
+ "PAGE": "Página",
"ROWSPERPAGE": "Linhas por página",
"OF": "of",
"CONTACT": "Contato",
@@ -413,7 +413,7 @@
"TEAMADD_CHATQUEUE": "Adicionar equipe à fila de chat",
"AGENTADD_CHATQUEUE": "Adicionar agente à fila de chat",
"ALL_AGENTS": "Todos os agentes",
- "SELECTED_AGENTS": "Agentes Selecionados",
+ "SELECTED_AGENTS": "Agentes selecionados",
"CLOSEDAT": "Fechado em",
"DISPOSITION": "Disposição",
"CREATEDAT": "Criado em",
@@ -425,11 +425,11 @@
"SELECT_WEBSITE": "Selecione um site",
"INFO": "Info",
"OFFLINEMESSAGES_CHATWEBSITE": "Ir para mensagens off-line",
- "WAITINGTITLE": "Esperando TÃtulo",
+ "WAITINGTITLE": "Esperando tÃtulo",
"WAITINGMESSAGE": "Mensagem de espera",
"RATING": "Avaliação",
"NO_RATINGVALUE": "Sem avaliação",
- "DEFAULT_PAUSE": "Pausa Padrão",
+ "DEFAULT_PAUSE": "Pausa padrão",
"UNKNOWN": "Desconhecido",
"UNREGISTERED": "Não registrado",
"UNAVAILABLE": "IndisponÃvel",
@@ -444,15 +444,15 @@
"TEAMS_ASSOCIATION": "Associação de equipes",
"MANDATORYDISPOSITION": "Disposição obrigatória",
"MANDATORYDISPOSITIONPAUSEID": "Pausar para usar se a disposição obrigatória estiver ativada",
- "ENABLESENDBUTTON": "Ativar botão Enviar",
- "FEEDBACKTITLE": "TÃtulo do Feedback",
+ "ENABLESENDBUTTON": "Ativar botão enviar",
+ "FEEDBACKTITLE": "TÃtulo do feedback",
"TOOLTIP_SCREENRECORDING_OFF": "Gravação de tela disponÃvel",
"TOOLTIP_SCREENRECORDING_ON": "Gravação de tela em andamento",
"DOWNLOAD_WITHOUT_ATTACHMENTS": "Download sem anexos",
"DOWNLOAD_WITH_ATTACHMENTS": "Download com anexos",
"LASTMESSAGE": "Ãltima mensagem",
"VIDAOO": "Vidaoo",
- "VIDAOOAPIKEY": "Vidaoo Api Key",
+ "VIDAOOAPIKEY": "Vidaoo API Key",
"VIDAOOESCALATION": "Iniciar videochamada",
"VIDAOOSESSION": "Iniciar videochamada",
"VIDEO": "VÃdeo",
@@ -472,12 +472,12 @@
"VIDAOOTOPIC": "Tema Vidaoo",
"CHANNELID": "ID do canal",
"EDIT_TVOX": "Editar TVox",
- "MOTIONTITLE": "TÃtulo de Movimento",
- "MOTIONURL": "URL de movimento",
- "MOTIONURLONANSWER": "URL de movimento na resposta",
- "MOTIONURLONRING": "URL de movimento no anel",
+ "MOTIONTITLE": "TÃtulo Motion",
+ "MOTIONURL": "URL Motion",
+ "MOTIONURLONANSWER": "Motion URL answer",
+ "MOTIONURLONRING": "Motion URL ring",
"SERVICEID": "ID de serviço",
- "SERVICENAME": "Nome do Serviço",
+ "SERVICENAME": "Nome do serviço",
"TVOX": "TVox",
"TVOXIP": "Endereço IP da TVox",
"TVOXLOGINURL": "URL REST de login da TVox",
diff --git a/public/app/main/apps/contactmanager/i18n/de.json b/public/app/main/apps/contactmanager/i18n/de.json
index c3d27cc..dc22557 100644
--- a/public/app/main/apps/contactmanager/i18n/de.json
+++ b/public/app/main/apps/contactmanager/i18n/de.json
@@ -1,6 +1,6 @@
{
"CONTACTMANAGER": {
- "VOICEQUEUEID": "ID Anruf-Warteschlange",
+ "VOICEQUEUEID": "ID Warteschlange für Sprachanrufe",
"CAMPAIGNID": "Kampagnen-ID",
"STATE": "Status",
"NAME": "Name",
@@ -9,36 +9,36 @@
"STATUS": "Status",
"STARTTIME": "Startzeit",
"ENDTIME": "Endzeit",
- "MOTION_BULL": "Outbound-Dialer",
- "HOPPER": "Kontakte in Ausführung",
- "FINAL": "Kontakte abgeschlossen",
- "HISTORY": "Kontaktverlauf",
+ "MOTION_BULL": "Motion Bull",
+ "HOPPER": "Hopper",
+ "FINAL": "Hopper final",
+ "HISTORY": "Hopper historisch",
"SCHEDULEDAT": "Geplant am",
"SEARCH_FOR_ANYONE": "Suche",
"EDIT_LIST": "Liste bearbeiten",
- "EDIT_HOPPER": "Kontakte in Ausführung bearbeiten",
+ "EDIT_HOPPER": "Hopper bearbeiten",
"DELETE_LIST": "Liste löschen",
- "DELETE_HOPPER": "Kontakte in Ausführung löschen",
- "RELOAD": "Neu Laden",
- "NO_COMPANIES": "Keine Unternehmen vorhanden",
+ "DELETE_HOPPER": "Hopper löschen",
+ "RELOAD": "Neu laden",
+ "NO_COMPANIES": "Kein Unternehmen",
"NO_AVAILABLE_ITEMS": "Keine Einträge verfügbar",
"ADD": "Hinzufügen",
"ERRORS": {
- "NAME_REQUIRED": "Nachname erforderlich",
- "FIRSTNAME_REQUIRED": "Vorname erforderlich",
- "PHONE_REQUIRED": "Telefonnummer erforderlich",
- "ALIAS_REQUIRED": "Alias erforderlich",
- "VALUE_REQUIRED": "Wert erforderlich",
- "EMAIL_MUST_VALID": "Ungültiges Format E-Mail",
+ "NAME_REQUIRED": "Name ist erforderlich",
+ "FIRSTNAME_REQUIRED": "Vorname ist erforderlich",
+ "PHONE_REQUIRED": "Telefonnummer ist erforderlich",
+ "ALIAS_REQUIRED": "Alias ist erforderlich",
+ "VALUE_REQUIRED": "Wert ist erforderlich",
+ "EMAIL_MUST_VALID": "Falsches Format",
"PHONEBAR_API": "Statusprüfung für die MotionBar und des Remote-Switches für den Agenten",
- "ACTIONTYPE_REQUIRED": "Aktionstyp erforderlich",
- "CLICKTOACTION_REQUIRED": "Aktion bei Klick erforderlich"
+ "ACTIONTYPE_REQUIRED": "Pflichtfeld",
+ "CLICKTOACTION_REQUIRED": "Pflichtfeld"
},
"DESCRIPTION": "Beschreibung",
"DISPOSITION": "Qualifizierung",
"DISPOSITIONS": "Qualifizierungen",
- "VOICEDISPOSITIONS": "Anruf-Qualifizierungen",
- "NEW_VOICEDISPOSITION": "Neue Qualifizierung",
+ "VOICEDISPOSITIONS": "Anrufqualifizierungen",
+ "NEW_VOICEDISPOSITION": "Neue Anrufqualifizierung",
"CUSTOM_FIELDS": "Benutzerdefinierte Felder",
"ADD_LIST": "Liste hinzufügen",
"BACK": "Zurück",
@@ -64,8 +64,8 @@
"DELETE_CONTACT": "Kontakt löschen",
"CREATED_AT": "Erstellt am",
"SAVE": "Speichern",
- "DETAIL": "Details",
- "PERSONAL_INFO": "Persönliche Informationen",
+ "DETAIL": "Detail",
+ "PERSONAL_INFO": "Persönliche Infos",
"MOBILE": "Mobiltelefon",
"FAX": "Fax",
"TAGS": "Tags",
@@ -84,7 +84,7 @@
"CUSTOMFIELDS": "Benutzerdefinierte Felder",
"NO_CUSTOMFIELD_AVAILABLE": "Keine benutzerdefinierten Felder verfügbar",
"ADD_TAG": "Tag hinzufügen",
- "NO_TAG": "Keine Tags vorhanden",
+ "NO_TAG": "Keine Tags",
"ALIAS": "Alias",
"TYPE": "Typ",
"VALUE": "Wert",
@@ -112,7 +112,7 @@
"POSTAL_CODE": "Postleitzahl",
"SHIPMENTADDRESS": "Lieferadresse",
"COPY_CONTACT": "Kontakt kopieren",
- "GOTOCONTACTS_LIST": "Zur Kontaktliste gehen",
+ "GOTOCONTACTS_LIST": "Kontakte anzeigen",
"GOTOCONTACTS_COMPANY": "Kontakte anzeigen",
"ADD_AGENT_TO_LIST": "Agenten zur Liste hinzufügen",
"AGENTADD_LIST": "Agenten zur Liste hinzufügen",
@@ -120,7 +120,7 @@
"NONE": "Nichts",
"FULLNAME": "Vollständiger Name",
"CHECK_DUPLICATES": "auf Duplikate prüfen",
- "DUPLICATES": "Duplikate prüfen",
+ "DUPLICATES": "Duplikate",
"UPLOAD_CSV": "Hochladen von CSV-Datei",
"TAG": "Tag",
"UPLOAD": "Hochladen",
@@ -152,14 +152,14 @@
"PAGE": "Seite",
"ROWSPERPAGE": "Zeilen pro Seite",
"OF": "von",
- "SOCIAL": "Social Media",
+ "SOCIAL": "Social",
"ROW": "Reihe",
"EXPORT_ERRORS": "Fehler-Log exportieren",
"UPLOAD_COMPLETED": "Hochladen abgeschlossen",
- "STOP": "Anhalten",
+ "STOP": "Stopp",
"SELECT_FILE": "Datei auswählen",
"IMPORT_CONTACTS": "Kontakte importieren",
- "MOTIONDIALER": "Outbound-Dialer",
+ "MOTIONDIALER": "Motion Bull",
"PREFIX": "Vorwahl wählen",
"PRIORITY": "Priorität",
"USERID": "Agent-ID abrufen",
diff --git a/public/app/main/apps/contactmanager/i18n/nl.json b/public/app/main/apps/contactmanager/i18n/nl.json
index caf032b..6a8b39d 100644
--- a/public/app/main/apps/contactmanager/i18n/nl.json
+++ b/public/app/main/apps/contactmanager/i18n/nl.json
@@ -11,57 +11,57 @@
"ENDTIME": "Eindtijd",
"MOTION_BULL": "Motion Bull",
"HOPPER": "Trechter",
- "FINAL": "Trechter def.",
- "HISTORY": "Trechter Geschiedenis",
+ "FINAL": "Hopper def.",
+ "HISTORY": "Hopper Geschiedenis",
"SCHEDULEDAT": "Gepland op",
- "SEARCH_FOR_ANYONE": "Zoeken",
- "EDIT_LIST": "Lijst bewerken Bewerken",
- "EDIT_HOPPER": "Trechter",
- "DELETE_LIST": "Lijst Verwijderen",
- "DELETE_HOPPER": "Trechter Verwijderen",
- "RELOAD": "Herladen",
+ "SEARCH_FOR_ANYONE": "Zoeken voor iedereen",
+ "EDIT_LIST": "Edit List (Lijst bewerken",
+ "EDIT_HOPPER": "Edit Hopper",
+ "DELETE_LIST": "Lijst wissen",
+ "DELETE_HOPPER": "Hopper verwijderen",
+ "RELOAD": "Reload",
"NO_COMPANIES": "Geen enkele onderneming",
"NO_AVAILABLE_ITEMS": "Geen beschikbare items",
"ADD": "Toevoegen",
"ERRORS": {
- "NAME_REQUIRED": "Verplicht veld",
- "FIRSTNAME_REQUIRED": "Verplicht veld",
- "PHONE_REQUIRED": "Verplicht veld",
- "ALIAS_REQUIRED": "Verplicht veld",
- "VALUE_REQUIRED": "Verplicht veld",
- "EMAIL_MUST_VALID": "Ongeldig formaat",
+ "NAME_REQUIRED": "De naam is verplicht",
+ "FIRSTNAME_REQUIRED": "De Voornaam is verplicht",
+ "PHONE_REQUIRED": "Het telefoonnummer is verplicht",
+ "ALIAS_REQUIRED": "De alias is vereist",
+ "VALUE_REQUIRED": "De waarde is vereist",
+ "EMAIL_MUST_VALID": "Het e-mailadres moet worden geschreven in een geldige indeling",
"PHONEBAR_API": "Controleer of de MotionBar draait en dat de afstandsbediening voor de agent is ingeschakeld",
"ACTIONTYPE_REQUIRED": "Verplicht veld",
"CLICKTOACTION_REQUIRED": "Verplicht veld"
},
"DESCRIPTION": "Beschrijving",
- "DISPOSITION": "Dispositie",
- "DISPOSITIONS": "Disposities",
- "VOICEDISPOSITIONS": "Spraak disposities",
- "NEW_VOICEDISPOSITION": "Nieuw spraak dispositie",
- "CUSTOM_FIELDS": "Aangepaste Velden",
- "ADD_LIST": "Lijst Toevoegen",
+ "DISPOSITION": "Afvoeren",
+ "DISPOSITIONS": "Dispositions",
+ "VOICEDISPOSITIONS": "Voice dispositieven",
+ "NEW_VOICEDISPOSITION": "Nieuw spraakbericht dispositie",
+ "CUSTOM_FIELDS": "Aangepaste velden",
+ "ADD_LIST": "Lijst toevoegen",
"BACK": "Terug",
"SELECTED": "Geselecteerd",
- "SELECT_ALL": "Selecteer Alles",
- "SELECT_NONE": "Selecteer Geen",
+ "SELECT_ALL": "Alles selecteren",
+ "SELECT_NONE": "Selecteer None (Geen).",
"COMPANIES": "Bedrijven",
- "EDIT_COMPANY": "Bedrijf Bewerken",
- "DELETE_COMPANY": "Bedrijf Verwijderen",
+ "EDIT_COMPANY": "Bedrijf wijzigen",
+ "DELETE_COMPANY": "Bedrijf verwijderen",
"PHONE": "Telefoon",
"EMAIL": "E-mail",
- "ADD_COMPANY": "Bedrijf Toevoegen",
+ "ADD_COMPANY": "Bedrijf toevoegen",
"CONTACTS": "Contactpersonen",
- "NEW_LIST": "Nieuwe Lijst",
+ "NEW_LIST": "Nieuwe lijst",
"FIRSTNAME": "Voornaam",
"LASTNAME": "Achternaam",
"LIST": "Lijst",
"COMPANY": "Bedrijf",
- "ADD_CONTACT": "Contactpersoon Toevoegen",
- "EDIT_CONTACT": "Contactpersoon Bewerken",
+ "ADD_CONTACT": "Contactpersoon toevoegen",
+ "EDIT_CONTACT": "Contactpersoon bewerken",
"MERGE_CONTACT": "Merge Contact",
"DUPLICATE_CONTACT": "Dubbele contactpersoon",
- "DELETE_CONTACT": "Contactpersoon Verwijderen",
+ "DELETE_CONTACT": "Contactpersoon verwijderen",
"CREATED_AT": "Gemaakt op",
"SAVE": "Opslaan",
"DETAIL": "Detail",
@@ -76,34 +76,34 @@
"STREET": "Straat",
"POSTALCODE": "Postcode",
"DELETE": "Verwijderen",
- "DELETE_ALL": "Alles Verwijderen",
+ "DELETE_ALL": "Alles verwijderen",
"CONTACTMANAGER": "Contact Manager",
"ID": "Id",
"SETTINGS": "Instellingen",
"GENERAL": "Algemeen",
- "CUSTOMFIELDS": "Aangepaste Velden",
+ "CUSTOMFIELDS": "Aangepaste velden",
"NO_CUSTOMFIELD_AVAILABLE": "Geen aangepaste velden",
- "ADD_TAG": "Tag Toevoegen",
+ "ADD_TAG": "Tag toevoegen",
"NO_TAG": "Geen Tags",
"ALIAS": "Alias",
"TYPE": "Type",
"VALUE": "Waarde",
- "ADD_CUSTOMFIELD": "Aangepast veld Toevoegen",
- "EDIT_CUSTOMFIELD": "Aangepaste veld Bewerken",
- "DELETE_CUSTOMFIELD": "Aangepaste veld Bewerken",
+ "ADD_CUSTOMFIELD": "Aangepast veld toevoegen",
+ "EDIT_CUSTOMFIELD": "Bewerk aangepaste veld",
+ "DELETE_CUSTOMFIELD": "Verwijder aangepaste veld",
"NEW_COMPANY": "Nieuwe onderneming",
"NEW_CONTACT": "Nieuwe contactpersoon",
"NEW_TAG": "Nieuwe Tag",
- "UPLOAD_CONTACTS": "Contact uploadeden",
- "FINISH": "Voltooid",
+ "UPLOAD_CONTACTS": "Upload Contact",
+ "FINISH": "Afwerking",
"SUCCESS": "Succes",
"FAILURE": "Defect",
"ALL_CONTACTS": "Alle contactpersonen",
"NEW_CUSTOMFIELD": "Nieuwe aangepaste veld",
- "NO_VOICEDISPOSITION_AVAILABLE": "Geen spraakmemo disposities beschikbaar",
- "ADD_VOICEDISPOSITION": "Spraak dispositie Toevoegen",
- "EDIT_VOICEDISPOSITION": "Spraak dispositie Bewerken",
- "DELETE_VOICEDISPOSITION": "Spraak dispositie Verwijderen",
+ "NO_VOICEDISPOSITION_AVAILABLE": "Geen spraakmemo dispositieven beschikbaar",
+ "ADD_VOICEDISPOSITION": "Voeg spraak dispositie",
+ "EDIT_VOICEDISPOSITION": "Edit Voice dispositie",
+ "DELETE_VOICEDISPOSITION": "Alle spraakberichten dispositie",
"VAT": "Btw",
"COMPANYID": "Bedrijf ID",
"WEBSITE": "Website",
@@ -130,14 +130,14 @@
"DATEOFBIRTH": "Geboortedatum",
"NOTES": "Aantekeningen",
"EXPORTCSVCONTACTS_LIST": "Exporteren naar CSV",
- "GOTO_LIST": "Contactpersonen Weergeven",
- "GOTO_COMPANY": "Contactpersonen Weergeven",
+ "GOTO_LIST": "Contactpersonen weergeven",
+ "GOTO_COMPANY": "Contactpersonen weergeven",
"REQUIRED": "Vereist",
- "GLOBALCUSTOMFIELDS": "Aangepaste Velden",
- "NEW_GLOBALCUSTOMFIELD": "Nieuw aangepast veld",
- "ADD_GLOBALCUSTOMFIELD": "Aangepast veld Toevoegen",
- "EDIT_GLOBALCUSTOMFIELD": "Aangepaste veld Bewerken",
- "DELETE_GLOBALCUSTOMFIELD": "Aangepaste veld Verwijderen",
+ "GLOBALCUSTOMFIELDS": "Wereldwijde Aangepaste velden",
+ "NEW_GLOBALCUSTOMFIELD": "Nieuwe aangepaste velden",
+ "ADD_GLOBALCUSTOMFIELD": "Aangepast veld toevoegen",
+ "EDIT_GLOBALCUSTOMFIELD": "Bewerk aangepaste veld",
+ "DELETE_GLOBALCUSTOMFIELD": "Verwijder aangepaste veld",
"JSCRIPTY": "Jscripty",
"SESSIONS": "Sessies",
"AGENT": "Agent",
@@ -147,7 +147,7 @@
"SELECT_TAGS": "Selecteer één of meer tags",
"HELP": {
"PHONEBAR_API": "Om klik-en-bel een telefoonnummer en controleert u of de afstandsbediening is ingeschakeld voor de agent",
- "PHONEBAR_API_MESSAGE": "Als u click-to-call wilt inschakelen, voegt u een telefoonnummer in en vinkt u het bedienen op afstand aan om de agent in te schakelen"
+ "PHONEBAR_API_MESSAGE": "Als u click-to-call wilt inschakelen, voegt u een telefoonnummer in en vinkt u de afstandsbedieningsschakelaar aan om de agent in te schakelen"
},
"PAGE": "Pagina",
"ROWSPERPAGE": "Rijen per pagina",
@@ -166,9 +166,9 @@
"CUSTOMER_JOURNEY": "Customer Journey",
"SELECT_TAG": "Selecteer tags",
"ALL": "Allemaal",
- "BILLINGINFORMATION": "Facturatie gegevens",
+ "BILLINGINFORMATION": "facturatie gegevens",
"COMPANY_FISCAL_TYPE": "Bedrijf Fiscaal Type",
- "CREATE": "Aanmaken",
+ "CREATE": "creëren",
"EUROPE": "Europa",
"EXPIREDAY": "Vervaldagen",
"FLATDISCOUNT": "Bedrijfskorting",
diff --git a/public/app/main/apps/contactmanager/i18n/pt-BR.json b/public/app/main/apps/contactmanager/i18n/pt-BR.json
index ad3aafe..c7f8a2f 100644
--- a/public/app/main/apps/contactmanager/i18n/pt-BR.json
+++ b/public/app/main/apps/contactmanager/i18n/pt-BR.json
@@ -1,25 +1,25 @@
{
"CONTACTMANAGER": {
"SELECT_TAG": "Selecione tags",
- "CUSTOMER_JOURNEY": "Jornada do Cliente",
+ "CUSTOMER_JOURNEY": "Jornada do cliente",
"USERID": "Lembrar ID do agente",
"PRIORITY": "Prioridade",
"MOTIONDIALER": "Motion Bull",
"IMPORT_CONTACTS": "Importar contatos",
"PREFIX": "Prefixo de discagem",
- "VOICEQUEUEID": "ID da Fila de Voz",
+ "VOICEQUEUEID": "ID da fila de voz",
"CAMPAIGNID": "ID da campanha",
"STATE": "Estado",
"NAME": "Nome",
"LISTS": "Listas",
- "UNIQUEID": "ID unico",
+ "UNIQUEID": "ID único",
"STATUS": "Status",
"STARTTIME": "InÃcio",
"ENDTIME": "Fim",
"MOTION_BULL": "Motion Bull",
"HOPPER": "Funil",
"FINAL": "Final do funil",
- "HISTORY": "Histórico do funil",
+ "HISTORY": "História do funil",
"SCHEDULEDAT": "Agendado em",
"SEARCH_FOR_ANYONE": "Procurar",
"EDIT_LIST": "Editar lista",
@@ -42,16 +42,16 @@
"CLICKTOACTION_REQUIRED": "Campo obrigatório"
},
"DESCRIPTION": "Descrição",
- "DISPOSITION": "Descrição",
- "DISPOSITIONS": "Descrição",
+ "DISPOSITION": "Disposição",
+ "DISPOSITIONS": "Disposições",
"VOICEDISPOSITIONS": "Disposições de voz",
"NEW_VOICEDISPOSITION": "Nova disposição de voz",
- "CUSTOM_FIELDS": "Campos personalizados",
+ "CUSTOM_FIELDS": "Os campos personalizados",
"ADD_LIST": "Adicionar lista",
"BACK": "Voltar",
"SELECTED": "Selecionado",
"SELECT_ALL": "Selecionar todos",
- "SELECT_NONE": "Selecionar Nenhum",
+ "SELECT_NONE": "Selecionar nenhum",
"COMPANIES": "Empresas",
"EDIT_COMPANY": "Editar empresa",
"DELETE_COMPANY": "Excluir empresa",
@@ -59,8 +59,8 @@
"EMAIL": "Email",
"ADD_COMPANY": "Adicionar empresa",
"CONTACTS": "Contatos",
- "NEW_LIST": "Nova Lista",
- "FIRSTNAME": "Primeiro Nome",
+ "NEW_LIST": "Nova lista",
+ "FIRSTNAME": "Primeiro nome",
"LASTNAME": "Sobrenome",
"LIST": "Lista",
"COMPANY": "Empresa",
@@ -72,7 +72,7 @@
"CREATED_AT": "Criado em",
"SAVE": "Salvar",
"DETAIL": "Detalhes",
- "PERSONAL_INFO": "Informação Pessoal",
+ "PERSONAL_INFO": "Informação pessoal",
"MOBILE": "Celular",
"FAX": "Fax",
"TAGS": "Tags",
@@ -84,40 +84,40 @@
"POSTALCODE": "CEP",
"DELETE": "Excluir",
"DELETE_ALL": "Excluir tudo",
- "CONTACTMANAGER": "Gestão de contatos",
+ "CONTACTMANAGER": "Gerenciar contatos",
"ID": "Id",
"SETTINGS": "Configurações",
"GENERAL": "Geral",
"CUSTOMFIELDS": "Campos personalizados",
"NO_CUSTOMFIELD_AVAILABLE": "Nenhum campo personalizado disponÃvel",
"ADD_TAG": "Adicionar tag",
- "NO_TAG": "Sem Tags",
+ "NO_TAG": "Sem tags",
"ALIAS": "Apelido",
"TYPE": "Tipo",
"VALUE": "Valor",
"ADD_CUSTOMFIELD": "Adicionar campo personalizado",
"EDIT_CUSTOMFIELD": "Editar campo personalizado",
"DELETE_CUSTOMFIELD": "Excluir campo personalizado",
- "NEW_COMPANY": "Nova Empresa",
- "NEW_CONTACT": "Novo Contato",
- "NEW_TAG": "Nova Tag",
+ "NEW_COMPANY": "Nova empresa",
+ "NEW_CONTACT": "Novo contato",
+ "NEW_TAG": "Nova tag",
"UPLOAD_CONTACTS": "Atualizar contatos",
"FINISH": "Terminar",
"SUCCESS": "Sucesso",
"FAILURE": "Falha",
- "ALL_CONTACTS": "Todos os Contatos",
+ "ALL_CONTACTS": "Todos os contatos",
"NEW_CUSTOMFIELD": "Novo campo personalizado",
"NO_VOICEDISPOSITION_AVAILABLE": "Nenhuma disposição de voz disponÃvel",
"ADD_VOICEDISPOSITION": "Adicionar disposição de voz",
"EDIT_VOICEDISPOSITION": "Editar disposição de voz",
"DELETE_VOICEDISPOSITION": "Excluir disposição de voz",
"VAT": "VAT",
- "COMPANYID": "ID Empresa",
+ "COMPANYID": "ID empresa",
"WEBSITE": "Website",
"EMAIL_DOMAIN": "DomÃnio de email",
"ADDRESS": "Endereço",
"POSTAL_CODE": "CEP",
- "SHIPMENTADDRESS": "Endereço de Envio",
+ "SHIPMENTADDRESS": "Endereço de envio",
"COPY_CONTACT": "Copiar contato",
"GOTOCONTACTS_LIST": "Mostrar contatos",
"GOTOCONTACTS_COMPANY": "Mostrar contatos",
@@ -125,14 +125,14 @@
"AGENTADD_LIST": "Adicionar agentes à lista",
"NO_AVAILABLE_INFO": "Nenhuma informação disponÃvel",
"NONE": "Nenhum",
- "FULLNAME": "Nome COmpleto",
+ "FULLNAME": "Nome completo",
"CHECK_DUPLICATES": "Verificar duplicados",
"DUPLICATES": "Duplicatas",
"UPLOAD_CSV": "Envio CSV",
"TAG": "Tag",
"UPLOAD": "Envio",
"ALL_AGENTS": "Todos os agentes",
- "SELECTED_AGENTS": "Agentes Selecionados",
+ "SELECTED_AGENTS": "Agentes selecionados",
"DATE_OF_BIRTH": "Data de nascimento",
"DATEOFBIRTH": "Data de nascimento",
"NOTES": "Notas",
@@ -140,11 +140,11 @@
"GOTO_LIST": "Mostrar contatos",
"GOTO_COMPANY": "Mostrar contatos",
"REQUIRED": "Requeridos",
- "GLOBALCUSTOMFIELDS": "Campos personalizados",
- "NEW_GLOBALCUSTOMFIELD": "Novos campos personalizados",
- "ADD_GLOBALCUSTOMFIELD": "Adicionar campo personalizado",
- "EDIT_GLOBALCUSTOMFIELD": "Editar campo personalizado",
- "DELETE_GLOBALCUSTOMFIELD": "Excluir campo personalizado",
+ "GLOBALCUSTOMFIELDS": "Campos personalizados globais",
+ "NEW_GLOBALCUSTOMFIELD": "Novo campo personalizado global",
+ "ADD_GLOBALCUSTOMFIELD": "Adicionar campo personalizado global",
+ "EDIT_GLOBALCUSTOMFIELD": "Editar campo personalizado global",
+ "DELETE_GLOBALCUSTOMFIELD": "Excluir campo personalizado global",
"JSCRIPTY": "Jscripty",
"SESSIONS": "Sessões",
"AGENT": "Agente",
@@ -168,19 +168,19 @@
"ALL": "Tudo",
"BILLINGINFORMATION": "Informações de pagamento",
"COMPANY_FISCAL_TYPE": "Tipo fiscal da empresa",
- "CREATE": "Criado",
+ "CREATE": "Crio",
"EUROPE": "Europa",
- "EXPIREDAY": "Dias para vencimento",
+ "EXPIREDAY": "Dias de vencimento",
"FLATDISCOUNT": "Desconto da empresa",
- "INVOICEARTICLE": "Artigos de Direito",
- "ISOCODE": "Código ISO",
+ "INVOICEARTICLE": "Artigos de fatura",
+ "ISOCODE": "Código nacional ISO",
"PAYMENTMETHOD": "Forma de pagamento",
"PIVA": "Número de IVA",
"RELATIONSHIP": "Relacionamento ...",
"RELATIONSHIPCOMPANY": "Â ... com",
"SDICODE": "Código SDI",
"SOCIAL_CAPITAL": "Capital social",
- "VATNUMBER_CF": "Código fiscal / IVA",
+ "VATNUMBER_CF": "Código VAT / IVA",
"RECALLME": "Lembre-me",
"ACTIONTYPE": "Tipo de acão",
"CLICKTOACTION": "Clique para ação",
diff --git a/public/app/main/apps/dashboards/i18n/de.json b/public/app/main/apps/dashboards/i18n/de.json
index a193596..6015548 100644
--- a/public/app/main/apps/dashboards/i18n/de.json
+++ b/public/app/main/apps/dashboards/i18n/de.json
@@ -11,36 +11,36 @@
"SUBJECT": "Betreff",
"REFERER": "Referer",
"ACCOUNT": "Konto",
- "WEBSITE": "Webseite",
+ "WEBSITE": "Website",
"AGENT": "Agent",
"CREATED_AT": "Erstellt am",
"CLOSED_AT": "Geschlossen am",
"DISPOSITION": "Qualifizierung",
"CONTACT": "Kontakt",
"INTERACTION": "Interaktion",
- "BROWSER_NAME": "Name Browser",
- "BROWSER_VERSION": "Version Broweer",
- "OS_NAME": "Name Betriebssystem",
- "OS_VERSION": "Version Betriebssystem",
+ "BROWSER_NAME": "Browser Name",
+ "BROWSER_VERSION": "Browser Version",
+ "OS_NAME": "Betriebssystem Name",
+ "OS_VERSION": "Betriebssystem Version",
"DEVICE_MODEL": "Gerätemodell",
"DEVICE_VENDOR": "Gerätehersteller",
"DEVICE_TYPE": "Gerätetyp",
- "RECALLME": "Pers. Wiedervorlage",
- "DROP_RATE": "Drop-Rate",
- "DROPPED": "Abgebrochen (Drop)",
- "DROPPED_TEXT": "Anzahl vom System aufgelegt",
- "DETAIL": "Details",
- "MOTION_BULL": "Outbound Dialer",
+ "RECALLME": "Rückruf anfordern",
+ "DROP_RATE": "Abbruchrate Anrufe",
+ "DROPPED": "Abgebrochen",
+ "DROPPED_TEXT": "Abgebrochene Anrufe innerhalb der Warteschlange",
+ "DETAIL": "Detail",
+ "MOTION_BULL": "Motion Bull",
"LIMITED": "Limitiert",
"LIMITED_TEXT": "IVR-Kampagnen Anrufe getätigt/limitiert",
"DASHBOARDS": "Dashboards",
"RECORDINGS": "Aufzeichnungen",
- "TODAY_MOTION_BULL_STATS": "Tagesstatistiken - ausgehende Warteschlangen",
- "ORIGINATED": "Angewählt",
- "ORIGINATED_TEXT": "Anzahl angewählter Anrufe",
+ "TODAY_MOTION_BULL_STATS": "Tagesstatistiken Warteschlangen",
+ "ORIGINATED": "Gewählt",
+ "ORIGINATED_TEXT": "Anrufe aus der Warteschlange gewählt",
"UPDATE": "Aktualisieren",
"MORE": "Mehr",
- "MOTIONDIALER": "Outbound Dialer",
+ "MOTIONDIALER": "Motion Dialer",
"DISPOSE": "Qualifizieren",
"QUEUES": "Warteschlangen",
"DIALER_CALL": "Dialer-Anruf",
@@ -58,8 +58,8 @@
"PERSONAL_INFO": "Persönliche Infos",
"SOLD": "Verkauft",
"SPECIAL": "Speziell",
- "BLACKLIST": "Schwarze Liste",
- "RESCHEDULE": "Allg. Wiedervorlage",
+ "BLACKLIST": "Blacklist",
+ "RESCHEDULE": "erneut Planen",
"FIRSTNAME": "Vorname",
"LASTNAME": "Nachname",
"MOBILE": "Mobilnummer",
@@ -73,16 +73,16 @@
"CUSTOM_FIELDS": "Benutzerdefinierte Felder",
"GENERAL": "Allgemein",
"VOICE": "Sprachanrufe",
- "TODAY_IVR_CAMPAIGNS_STATS": "Tagesstatistiken - IVR-Kampagnen",
+ "TODAY_IVR_CAMPAIGNS_STATS": "IVR-Tagesstatistiken",
"TODAY_INBOUND_STATS": "Tagesstatistiken - eingehende Warteschlangen",
"TODAY_OUTBOUND_STATS": "Tagesstatistiken - ausgehende Warteschlangen",
- "WAITING": "Wartend",
+ "WAITING": "Anrufe in Warteschlange",
"TALKING": "Im Gespräch",
"INBOUND_ANSWERED": "Angenommen eingehend",
"OUTBOUND_ANSWERED": "Angenommen ausgehend",
"ABANDONED": "Abgebrochen",
"TOTAL_OFFERED": "Gesamt angeboten",
- "AVG_HOLD_TIME": "DS. Wartezeit",
+ "AVG_HOLD_TIME": "Durchschnittliche Wartezeit",
"INBOUND_ANSWER_RATE": "Antwortrate eingehend",
"OUTBOUND_ANSWER_RATE": "Antwortrate ausgehend",
"ABANDON_RATE": "Abbruchrate",
@@ -91,51 +91,51 @@
"TOT_DURATION": "Gesamtdauer",
"AVG_DURATION": "Durchschnittliche Dauer",
"HELP": {
- "ORIGINATEDLIMITED": "Ãbersicht zu automatischen Outbound-Kampagnen per IVR. Anzahl Anrufe gewählt zu Anzahl Anrufe unvollständig (keine freien Leitungen, keine Agenten, etc.)",
- "DROPPED": "Gesamtzahl der vom System aufgelegten Anrufe, weil zum Zeitpunkt der Verbindung kein Agent frei war (Drop-Call)",
- "DROP_RATE": "Abbruchrate der vom System aufgelegten Anrufe (Drop-Calls) im Vergleich zu allen Anrufen ",
- "WAITING": "Gesamtzahl aller wartenden Interaktionen in der Warteschlange",
- "OUTBOUND_ANSWERED": "Gesamtzahl aller ausgehenden Anrufe, welche von der Gegenstelle beantwortet wurden",
- "ABANDONED": "Gesamtzahl der Chats, welche vom Kunden nicht beendet wurden",
- "TOTAL_OFFERED": "Gesamtanzahl aller angebotenen Interaktionen. (Je nach Kanal Summe aus \"Geöffnet\", \"Bearbeitet\", \"Ausgelaufen\" und \"nicht Bearbeitet\")",
+ "ORIGINATEDLIMITED": "IVR Kampagnen gewählt/limitiert",
+ "DROPPED": "Gesamtzahl abgebrochener Anrufe innerhalb der Warteschlange",
+ "DROP_RATE": "Abbruchrate aller Anrufe in der Warteschlange",
+ "WAITING": "Gesamtzahl der wartenden Anrufe aus der Warteschlange",
+ "OUTBOUND_ANSWERED": "Gesamtzahl der angenommenen ausgehenden Anrufe",
+ "ABANDONED": "Gesamtzahl der abgebrochenen Anrufe innerhalb der Warteschlange",
+ "TOTAL_OFFERED": "Gesamtzahl der angebotenen Anrufe in der Warteschlange (angenommen + abgebrochen + nicht bearbeitet in der letzten Warteschlange des Callflows). Hinweis: Anrufe innerhalb der IVR werden nicht berücksichtigt.",
"AVG_HOLD_TIME": "Durchschnittliche Wartezeit einer Interaktion bis zur Beantwortung durch einen Agenten.",
- "OUTBOUND_ANSWER_RATE": "Rate aller ausgehenden Anrufe mit Antwort der Gegenstelle im Vergleich zu allen ausgehenden Anrufen",
- "ABANDON_RATE": "Rate aller eingehenden Anrufe, bei denen der Kunde aufgelegt hat, bevor mit einem Agenten gesprochen wurde im Vergleich zu allen eingehenden Anrufen",
- "UNMANAGED": "Gesamtzahl aller Chats, welche vom Kunden abgebrochen wurden, bevor ein Agent verfügbar war.",
- "TOTAL": "Gesamtzahl aller ausgehenden Anrufe, welche von Agenten gewählt wurden",
- "TOT_DURATION": "esamtdauer aller ausgehenden Anrufe, welche von Agenten gewählt wurden",
- "AVG_DURATION": "Durchschnittliche Dauer aller ausgehenden Anrufe",
- "ORIGINATED": "Gesamtzahl aller Wählversuche für ausgehende Anrufe. Beinhaltet auch Systemergebnisse wie z.B. \"Besetzt\", Anrufbeantworter\", etc.",
- "ABANDONED_RATE": "Rate aller eingehenden Chats, welche vor der Verbindung mit einem Agenten vom Kunden abgebrochen wurden im Vergleich zu allen eingehenden Chats",
- "AVG_MANAGED_TIME": "Die durchschnittliche Zeit welche ein Agent für die Bearbeitung eines Chats benötigt hat. (Klingeln beim Agenten + Bearbeitung des Chats + Nacharbeit)",
- "MANAGED": "Gesamtzahl der durch einen Agenten bearbeiteten Interaktionen. (Status: geschlossen)",
- "MANAGED_RATE": "Rate aller bearbeiteten Interaktionen (Status: geschlossen) im Vergleich zu allen eingehenden Interaktionen",
- "OPENED": "Gesamtanzahl aller derzeit geöffneten Interaktionen",
- "UNMANAGED_RATE": "Rate der heutigen Interaktionen, welche noch nicht bearbeitet wurden im Vergleich zu allen eingegangenen Interaktionen",
- "VOICE_ABANDONED": "Gesamtzahl aller in der Warteschlange abgebrochenen Anrufe im Vergleich zu allen eingehenden Anrufen. Hinweis: Anrufe, die wegen voreingestellter Zeitüberschreitung und \"Betreten der Warteschlange, obwohl keine Agenten angemeldet waren\" abgebrochen sind, werden nicht berücksichtigt.",
- "VOICE_ANSWERED": "Gesamtanzahl aller eingehenden Anrufe, welche durch einen Agenten entgegengenommen wurden",
- "VOICE_ANSWER_RATE": "Rate aller durch einen Agenten beantworteten Anrufe im Vergleich zu allen eingehenden Anrufen",
- "VOICE_AVG_HOLD_TIME": "Durchschnittliche Wartezeit in der Warteschlange bis zur Beantwortung des Anrufes durch einen Agenten",
- "VOICE_AVG_TALK_TIME": "Durchschnittliche Gesprächszeit für alle eingehenden Anrufe",
- "VOICE_TALKING": "Gesamtzahl der aktiven Gespräche über alle eingehenden Warteschlangen",
- "VOICE_TOTAL_OFFERED": "Gesamtzahl aller angebotenen Anrufe (\"Abgeschlossen\", \"Verloren\" und \"nicht Bearbeitet\"). Hinweis: Anrufe, welche bereits in der IVR abgebrochen sind, werden nicht berücksichtigt.",
- "VOICE_UNMANAGED": "Gesamtzahl aller nicht bearbeiteten Anrufe, welche durch die Systemeinstellungen abgebrochen wurden. (Bsp: Zeitüberschreitung innerhalb der Warteschlange; Ãberlauf in eine andere Warteschlange; Betreten oder Verbleiben in der Warteschlange, wenn keine Agenten mehr angemeldet sind.)",
- "VOICE_WAITING": "Gesamtzahl der aktuell wartenden Anrufe über alle eingehenden Warteschlangen",
+ "OUTBOUND_ANSWER_RATE": "Rate aller angenommenen ausgehenden Anrufe",
+ "ABANDON_RATE": "Rate aller abgebrochener Anrufe innerhalb der Warteschlange",
+ "UNMANAGED": "Gesamtzahl der nicht bearbeiteten Anrufe für alle Warteschlangen. Enthält die Anrufe, die durch Timeout, Joinempty, Leavewhenempty und Exitwithkey abgebrochen wurden (siehe Asterisk-Dokumentation für weitere Informationen).",
+ "TOTAL": "Gesamtzahl der ausgehenden Anrufe",
+ "TOT_DURATION": "Gesamtdauer aller ausgehenden Anrufe",
+ "AVG_DURATION": "Durchschnittliche Dauer aller angenommenen ausgehenden Anrufe",
+ "ORIGINATED": "Gesamtzahl der in den Warteschlangen-Kampagnen gewählten Anrufe",
+ "ABANDONED_RATE": "Rate aller abgebrochenen Interaktionen",
+ "AVG_MANAGED_TIME": "Durchschnittliche Bearbeitungszeit einer Interaktion",
+ "MANAGED": "Gesamtzahl der abgeschlossenen Interaktionen",
+ "MANAGED_RATE": "Rate aller bearbeiteten Anrufe",
+ "OPENED": "Gesamtzahl der aktiven Interaktionen",
+ "UNMANAGED_RATE": "Rate aller unbearbeiteten Interaktionen",
+ "VOICE_ABANDONED": "Gesamtzahl der abgebrochenen Anrufe in der Warteschlange unter Berücksichtigung aller vorhandenen Warteschlangen. Hinweis: Anrufe, die wegen Timeout und joinempty abgebrochen wurden, werden nicht berücksichtigt.",
+ "VOICE_ANSWERED": "Gesamtzahl der abgeschlossenen Anrufe für alle vorhandenen Warteschlangen",
+ "VOICE_ANSWER_RATE": "Antwortrate aller Anrufe in der Warteschlange",
+ "VOICE_AVG_HOLD_TIME": "Durchschnittliche Wartezeit bis zur Beantwortung durch einen Agenten für alle vorhandenen Warteschlangen",
+ "VOICE_AVG_TALK_TIME": "Durchschnittliche Gesprächszeit für alle Anrufe aus der Warteschlange ",
+ "VOICE_TALKING": "Gesamtzahl der aktiven Anrufe für alle vorhandenen Warteschlangen",
+ "VOICE_TOTAL_OFFERED": "Gesamtzahl der Anrufe der Warteschlangen (angenommen + abgebrochen + nicht bearbeitet in der letzten Warteschlange des Callflows). Hinweis: Anrufe innerhalb der IVR werden nicht berücksichtigt.",
+ "VOICE_UNMANAGED": "Gesamtzahl der nicht bearbeiteten Anrufe für alle vorhandenen Warteschlangen. Enthält die Anrufe, die durch Timeout, Joinempty, Leavewhenempty und Exitwithkey abgebrochen wurden (siehe Asterisk-Dokumentation für weitere Informationen).",
+ "VOICE_WAITING": "Gesamtanzahl der aktuell wartenden Anrufe für alle vorhandenen Warteschlangen",
"MANDATORY_DISPOSITION_ENABLED": "Kontaktqualifizierung erforderlich",
- "EXACT_MATCH_FILTER": "Genaue Ãbereinstimmung der Suchbegriffe",
- "LIKE_FILTER": "Variable Ãbereinstimmung der Suchbegriffe"
+ "EXACT_MATCH_FILTER": "Suche nach einer genauen Ãbereinstimmung der Suchbegriffe",
+ "LIKE_FILTER": "Suche nach variablen Ãbereinstimmungen der Suchbegriffe"
},
"ERRORS": {
- "FIRSTNAME_REQUIRED": "Vorname erforderlich",
- "PHONE_REQUIRED": "Telefonnummer erforderlich",
- "DISPOSITION_REQUIRED": "Qualifizierung erforderlich",
- "AGENT_REQUIRED": "Agent erforderlich",
- "QUEUE_REQUIRED": "Warteschlange erforderlich",
- "CAMPAIGN_REQUIRED": "Kampagne erforderlich",
- "FAILED_INITIALIZATION": "Fehler während Initialisierung"
+ "FIRSTNAME_REQUIRED": "Der erste Name ist erforderlich",
+ "PHONE_REQUIRED": "Die Telefonnummer ist erforderlich",
+ "DISPOSITION_REQUIRED": "Pflichtfeld",
+ "AGENT_REQUIRED": "Pflichtfeld",
+ "QUEUE_REQUIRED": "Pflichtfeld",
+ "CAMPAIGN_REQUIRED": "Pflichtfeld",
+ "FAILED_INITIALIZATION": "Fehler während der Initialisierung"
},
- "NO_AVAILABLE_INFO": "Keine Informationen vorhanden",
- "WELCOME_TO_MOTION": "Willkommen!",
+ "NO_AVAILABLE_INFO": "Keine Information vorhanden",
+ "WELCOME_TO_MOTION": "Willkommen zu Motion",
"WELCOME_MESSAGE": "Verwenden Sie die linke Seitenleiste, um durch die verfügbaren Abschnitte zu navigieren",
"ADD": "Hinzufügen",
"CONTACTMANAGER": "Kontaktmanager",
@@ -147,16 +147,16 @@
"NEW_CONTACT": "Neuer Kontakt",
"PHONE": "Telefon",
"SAVE": "Speichern",
- "INBOUND_WAITING_CALLS": "Liste der wartenden Anrufe",
- "CONTACTS": "Globale Kontakte",
- "MYCONTACTS": "Von mir bearbeitete Kontakte",
+ "INBOUND_WAITING_CALLS": "Wartende Anrufe (Eingehend)",
+ "CONTACTS": "Kontakte",
+ "MYCONTACTS": "Meine Kontakte",
"ADD_CONTACT": "Kontakt hinzufügen",
"RELOAD": "Neu Laden",
"WAITING_TEXT": "Wartende Interaktionen",
"TALKING_TEXT": "Aktive Anrufe",
"INBOUND_ANSWERED_TEXT": "Angenommene Anrufe",
- "ABANDONED_TEXT": "Gesamt abgebrochene Interaktionen",
- "DROP_RATE_TEXT": "Rate vom System aufgelegt",
+ "ABANDONED_TEXT": "Abgebrochene Anrufe",
+ "DROP_RATE_TEXT": "Abbruchrate",
"TOTAL_OFFERED_TEXT": "Gesamt angebotene Interaktionen",
"AVG_HOLD_TIME_TEXT": "Durchschnittliche Wartezeit",
"AVG_TALK_TIME_TEXT": "Durchschnittliche Gesprächszeit",
@@ -165,12 +165,12 @@
"TOTAL_TEXT": "Gesamt ausgehende Anrufe",
"OUTBOUND_ANSWERED_TEXT": "Beantwortete Anrufe (Ausgehend) ",
"TOT_DURATION_TEXT": "Gesamtdauer ausgehender Anrufe ",
- "AVG_DURATION_TEXT": "Durchschnittl. Dauer (Ausgehend)",
- "OUTBOUND_ANSWER_RATE_TEXT": "Antwortrate ausgehende Anrufe",
+ "AVG_DURATION_TEXT": "Durchschnittliche Dauer ausgehender Anrufe",
+ "OUTBOUND_ANSWER_RATE_TEXT": "Rate angenommener ausgehender Anrufe",
"PAGE": "Seite",
"ROWSPERPAGE": "Zeilen pro Seite",
"OF": "von",
- "REPLY_PLACEHOLDER": "Text eingeben und Senden mit Eingabetaste",
+ "REPLY_PLACEHOLDER": "Text eingeben und ENTER drücken zum Senden",
"CONTACT_INFO": "Kontaktinformationen",
"CLOSE_AND_DISPOSE": "SchlieÃen und Qualifizieren",
"DISPOSITIONS": "Qualifizierungen",
@@ -179,10 +179,10 @@
"REJECT": "Ablehnen",
"CLOSED": "Geschlossen",
"INFO": "Information",
- "NOTE": "Anmerkung",
+ "NOTE": "Hinweis",
"ACCEPT_ELSEWHERE": "Von anderem Teilnehmer angenommen",
"ATTENTION": "Achtung",
- "SOCIAL": "Social-Media",
+ "SOCIAL": "Sozial",
"NO_JSCRIPTY_PROJECTS_AVAILABLE": "Keine Jscripty-Projekte verfügbar",
"OPENED": "Geöffnet",
"FILTER": "Filter",
@@ -193,7 +193,7 @@
"INTERACTIONS": "Interaktionen",
"STARTEDAT": "Begonnen am",
"STATUS": "Status",
- "OPEN": "Offen",
+ "OPEN": "Ãffnen",
"SHOW": "Anzeigen",
"ME": "ICH",
"NOT_ASSIGNED": "Nicht zugewiesen",
@@ -213,13 +213,13 @@
"HIDE_DETAILS": "Details ausblenden",
"EXTERNAL_URL": "Externer Link",
"SET_AS": "Festlegen als",
- "PENDING": "Warten auf Rückmeldung",
+ "PENDING": "Ausstehend",
"CANNED_ANSWER_NOT_FOUND": "Keine Textbausteine gefunden",
"CANNED_ANSWER_SEARCH": "Hier nach einem Textbaustein suchen",
"NO_MAIL_ACCOUNTS_AVAILABLE": "Keine E-Mail-Konten verfügbar",
"NO_FAX_ACCOUNTS_AVAILABLE": "Keine Fax-Konten verfügbar",
"NO_SMS_ACCOUNTS_AVAILABLE": "Keine SMS-Konten verfügbar",
- "FILTER_VOICE_QUEUES": "Warteschlangen filtern",
+ "FILTER_VOICE_QUEUES": "Anrufwarteschlangen filtern",
"LOADING_INTERACTION": "Interaktion wird geladen",
"JANUARY": "Januar",
"FEBRUARY": "Februar",
@@ -251,71 +251,71 @@
"YESTERDAY": "Gestern",
"TODAY": "Heute",
"SELECT_DATE": "Datum auswählen",
- "SELECT_DATE_RANGE": "Datumsbereich wählen",
- "CLEAR": "Zurücksetzen",
- "CALL_NUMBER": "Nummer Anrufen",
- "TRANSFER_NUMBER": "Transfer an Nummer",
+ "SELECT_DATE_RANGE": "Wählen Sie einen Datumsbereich",
+ "CLEAR": "Löschen",
+ "CALL_NUMBER": "Anrufen",
+ "TRANSFER_NUMBER": "Transfer",
"CALL_SAVED": "Anruf erfolgreich gespeichert",
"CALL_DISPOSED": "Anruf erfolgreich qualifiziert",
- "CHANNEL_WAITING_TEXT": "Liste der wartenden Interaktionen",
+ "CHANNEL_WAITING_TEXT": "Wartende Interaktionen",
"CHANNEL_QUEUE": "Warteschlange",
- "CHANNEL_FROM": "Von",
+ "CHANNEL_FROM": "von",
"MARK_AS_UNREAD": "Als ungelesen markieren",
"SELECT_AGENT": "Agenten auswählen",
"READ": "Gelesen",
"SELECT_READ_UNREAD": "Wählen ob Lesen/Ungelesen",
"SELECT_SUBSTATUS": "Zwischenstatus auswählen",
"UNREAD": "Ungelesen",
- "ABANDONAT": "Abgebrochen am",
+ "ABANDONAT": "Abgebrochen",
"ABANDONEDQUEUECALLS": "Abgebrochene Anrufe",
"FREE": "Frei",
"LASTASSIGNEDTO": "Zuletzt zugewiesen an",
"QUEUE": "Warteschlange",
- "QUEUECALLEREXITAT": "Warteschlange verlassen am",
+ "QUEUECALLEREXITAT": "Abgebrochen",
"QUEUECALLEREXITREASON": "Grund",
"RESERVED": "Reserviert",
"SELECT_CAMPAIGN": "Warteschlange auswählen",
"ASSIGNTO": "Zuweisen",
- "CLICKRELOAD": "Sie haben neue verpasste Anrufe. Bitte Seite neu Laden.",
+ "CLICKRELOAD": "Verpasste Anrufe! Bitte Seite erneut laden",
"NOTAVAILABLE": "Nicht verfügbar",
"CURRENTLY_IN_USE_BY": "Derzeit verwendet von",
"CUSTOMER_JOURNEY": "Kundenhistorie",
"NO_DATA_AVAILABLE": "Keine Daten verfügbar",
"AGENTS": "Agenten",
"TRANSFER": "Transfer",
- "NO_DISPOSITION_SET": "Keine Qualifizierung ausgewählt",
- "ABANDONED_RATE": "Abbruchrate Chat",
- "ABANDONED_RATE_TEXT": "Abgebrochene Chats",
- "AVG_MANAGED_TIME": "DS. Bearbeitungszeit",
- "AVG_MANAGED_TIME_TEXT": "Durchschnittliche Bearbeitungszeit",
+ "NO_DISPOSITION_SET": "Keine Qualifizierungen definiert",
+ "ABANDONED_RATE": "Abbruchrate",
+ "ABANDONED_RATE_TEXT": "Rate der abgebrochenen Anrufe innerhalb der Warteschlange",
+ "AVG_MANAGED_TIME": "Durchschnittliche Bearbeitungszeit",
+ "AVG_MANAGED_TIME_TEXT": "Durchschnittliche Bearbeitungszeit aller Interkationen",
"MANAGED": "Bearbeitet",
"MANAGED_RATE": "Bearbeitungsrate",
- "MANAGED_RATE_TEXT": "Rate bearbeitete Interaktionen",
- "MANAGED_TEXT": "Ges. Interaktionen bearbeitet",
- "OPENED_TEXT": "Ges. Interaktionen geöffnet",
- "TODAY_INTERACTIONS_STATS": "Tagesstatistiken - weitere Kanäle",
+ "MANAGED_RATE_TEXT": "Rate der bearbeiteten Interaktionen",
+ "MANAGED_TEXT": "Interaktionen bearbeitet",
+ "OPENED_TEXT": "Interaktionen geöffnet",
+ "TODAY_INTERACTIONS_STATS": "Interaktionen Tagesstatistiken",
"UNMANAGED_RATE": "Rate nicht Bearbeitet",
- "UNMANAGED_RATE_TEXT": "Rate nicht bearbeitete Interaktionen",
- "VOICE_ABANDONED": "Gesamt Abgebrochen",
- "VOICE_ABANDONED_TEXT": "Gesamt abgebrochene Anrufe",
+ "UNMANAGED_RATE_TEXT": "Rate der nicht bearbeiteten Interaktionen in der Warteschlange",
+ "VOICE_ABANDONED": "Abgebrochen",
+ "VOICE_ABANDONED_TEXT": "Abgebrochene Anrufe innerhalb der Warteschlange",
"VOICE_ABANDON_RATE": "Abbruchrate",
- "VOICE_ABANDON_RATE_TEXT": "Rate abgebrochene Anrufe",
- "VOICE_ANSWERED": "Gesamt Angenommen",
- "VOICE_ANSWERED_TEXT": "Gesamt angenommene Anrufe",
+ "VOICE_ABANDON_RATE_TEXT": "Rate der abgebrochenen Anrufe innerhalb der Warteschlange",
+ "VOICE_ANSWERED": "Angenommen",
+ "VOICE_ANSWERED_TEXT": "Angenommene Anrufe in der Warteschlange",
"VOICE_ANSWER_RATE": "Antwortrate",
- "VOICE_ANSWER_RATE_TEXT": "Rate angenommener Anrufe",
- "VOICE_AVG_HOLD_TIME": "DS. Wartezeit",
- "VOICE_AVG_HOLD_TIME_TEXT": "DS. Wartezeit (Eingehend)",
- "VOICE_AVG_TALK_TIME": "DS. Gesprächszeit",
- "VOICE_AVG_TALK_TIME_TEXT": "Durchschnittl. Gesprächszeit",
- "VOICE_TALKING": "Derzeit im Gespräch",
- "VOICE_TALKING_TEXT": "Gesamt aktive Anrufe",
+ "VOICE_ANSWER_RATE_TEXT": "Rate angenommener Anrufe in der Warteschlange",
+ "VOICE_AVG_HOLD_TIME": "Durchschnittliche Wartezeit",
+ "VOICE_AVG_HOLD_TIME_TEXT": "Durchschnittliche Wartezeit aller Sprachanrufe",
+ "VOICE_AVG_TALK_TIME": "Durchschnittliche Gesprächszeit",
+ "VOICE_AVG_TALK_TIME_TEXT": "Durchschnittliche Gesprächszeit aller Anrufe nach der Warteschleife",
+ "VOICE_TALKING": "IM GESPRÃCH",
+ "VOICE_TALKING_TEXT": "Aktive Anrufe in der Warteschlange",
"VOICE_TOTAL_OFFERED": "Gesamt angeboten",
- "VOICE_TOTAL_OFFERED_TEXT": "Gesamt angebotene Anrufe (Eingehend)",
+ "VOICE_TOTAL_OFFERED_TEXT": "Gesamtzahl der angebotenen Anrufe in der Warteschlange",
"VOICE_UNMANAGED": "Nicht bearbeitet",
- "VOICE_UNMANAGED_TEXT": "Ges. nicht bearbeitete Anrufe",
+ "VOICE_UNMANAGED_TEXT": "Nicht bearbeitete Anrufe in der Warteschlange",
"VOICE_WAITING": "Wartende Anrufe",
- "VOICE_WAITING_TEXT": "Gesamt wartende Anrufe",
+ "VOICE_WAITING_TEXT": "Wartende Anrufe in der Warteschlange",
"DOWNLOAD": "Herunterladen",
"SCHEDULED_CALLS": "Geplante Anrufe",
"PRIVATE": "Persönlich",
@@ -325,14 +325,14 @@
"INTERACTION_CLOSED": "Interaktion erfolgreich geschlossen",
"INTERACTION_CLOSED_DISPOSED": "Interaktion erfolgreich geschlossen und qualifiziert",
"INTERACTION_DISPOSED": "Interaktion erfolgreich qualifiziert",
- "ASSIGNED_TO_OTHERS": "Einem anderen Nutzer zugewiesen",
+ "ASSIGNED_TO_OTHERS": "An Andere zugewiesen",
"SELECT_ALL": "Alles auswählen",
- "CHAT_INTERACTIONS": "Interaktionen per Chat",
- "FAX_INTERACTIONS": "Interaktionen per Fax",
+ "CHAT_INTERACTIONS": "Chat-Interaktionen",
+ "FAX_INTERACTIONS": "Fax-Interaktionen",
"ID": "ID",
- "MAIL_INTERACTIONS": "Interaktionen per E-Mail",
- "OPENCHANNEL_INTERACTIONS": "Interaktionen über den offenen Kanal",
- "SMS_INTERACTIONS": "Interaktionen per SMS",
+ "MAIL_INTERACTIONS": "E-Mail-Interaktionen",
+ "OPENCHANNEL_INTERACTIONS": "Offener-Kanal-Interaktionen",
+ "SMS_INTERACTIONS": "SMS-Interaktionen",
"CANCEL": "Abbrechen",
"DRAFT": "Entwurf speichern",
"DRAFT_SAVE_WARNING_MESSAGE": "Für diese Interaktion ist bereits ein Entwurf gespeichert. Möchten Sie diesen überschreiben?",
@@ -346,9 +346,9 @@
"ADD_PRODUCTPRICELIST": "PRODUKT HINZUFÃGEN",
"AGENTFULLNAME": "Agent",
"ALL_COMPANIES": "Alle Unternehmen",
- "ALL_PRODUCTS": "Alle Produkte",
- "ALL_STATUS": "Alle Status",
- "ALL_STEP": "Alle Schritte",
+ "ALL_PRODUCTS": "Alles",
+ "ALL_STATUS": "Alles",
+ "ALL_STEP": "Alles",
"ALL_WORKFLOW": "Alle Arbeitsabläufe",
"ATTENDACELASTINVOICE": "Letzte Rechnung",
"ATTENDACENEXTINVOICE": "Nächste Rechnung",
@@ -362,7 +362,7 @@
"COMPANYCITY": "Stadt",
"COMPANYCOUNTRY": "Land",
"COMPANYDESC": "Beschreibung",
- "COMPANYEMAIL": "E-Mail",
+ "COMPANYEMAIL": "Email",
"COMPANYFAX": "Fax",
"COMPANYNAME": "Unternehmen",
"COMPANYNATION": "Staat",
@@ -387,7 +387,7 @@
"DOSSIER_INFO": "Information",
"ENDDATE": "Ablaufdatum",
"FROM": "von",
- "GRAPHINVOICES": "Diagramm der Rechnung",
+ "GRAPHINVOICES": "Diagramm der Rechnungsemission",
"INASSET": "Kapital",
"INVOICE": "RECHNUNG",
"INVOICEDETAILS": "RECHNUNGS-DETAILS",
@@ -415,13 +415,13 @@
"NEXTINVOICE": "Nächste Rechnung",
"NOTES": "Notizen",
"NO_PRODUCTINVOICE_AVAILABLE": "Kein Produkt verfügbar",
- "NO_PRODUCTPRICELIST_AVAILABLE": "Keine Preislisten verfügbar",
- "NO_PRODUCTPROFORMA_AVAILABLE": "Keine Pro-Forma verfügbar",
+ "NO_PRODUCTPRICELIST_AVAILABLE": "Keine Daten verfügbar",
+ "NO_PRODUCTPROFORMA_AVAILABLE": "Keine Daten verfügbar",
"NUMBER": "Nummer",
"OPENDATE": "Ãffnungsdatum",
"ORDER": "Bestellung",
"ORDERCLIENTCODE": "Kundennummer",
- "ORDERID": "Bestellnummer",
+ "ORDERID": "Bestellung ID ",
"ORDERNOTES": "Notizen",
"ORDERSTATUS": "Status",
"ORDER_INFO": "Bestellung",
@@ -500,12 +500,12 @@
"SELECT_WORKFLOWSTEPS": "Arbeitsablaufstatus auswählen",
"STARTDATE": "Rechnungsdatum",
"STATE": "Status",
- "STEP": "Schritt",
+ "STEP": "Stufe",
"SUBSCRIPTIONDETAIL": "Detail",
"SUBSCRIPTIONNAME": "Abonnement",
"SUBSCRIPTIONS": "KUNDENPLAN",
"TAX": "MwSt",
- "TO": "auf",
+ "TO": "Zu",
"TOTALPAYMENTS": "Gesamtzahlungen",
"UPDATED_AT": "Geändert am",
"UPDATE_PRODUCT": "Produkt aktualisieren",
@@ -522,7 +522,7 @@
"ENDING_DATE": "Enddatum",
"ENDING_VALUE": "Endwert",
"ENDS_WITH": "endet mit",
- "EQUALS": "ist gleich",
+ "EQUALS": "gleich",
"IS_AMONG": "ist unter",
"IS_BETWEEN": "ist zwischen",
"IS_GREATER_THAN": "ist gröÃer als",
@@ -548,7 +548,7 @@
"SELECT_QUEUE": "Warteschlange auswählen",
"VIDAOOSESSION": "Videoanruf starten",
"WHATSAPP": "WhatsApp Connector",
- "WHATSAPP_INTERACTIONS": "Interaktionen per WhatsApp",
+ "WHATSAPP_INTERACTIONS": "WhatsApp-Interaktionen",
"LAST_UPDATED": "Zuletzt aktualisiert",
"MATCHING_FIELD": "Ãbereinstimmendes Feld",
"MULTIPLE_CONTACTS_FOUND": "Mehrere Kontakte für Nummer gefunden",
@@ -556,15 +556,15 @@
"SELECT_CONTACT": "Kontakt auswählen",
"WHICH_ONE_TO_USE": "Welcher Eintrag soll verwendet werden?",
"NO_WHATSAPP_ACCOUNTS_AVAILABLE": "Kein WhatsApp-Konto verfügbar",
- "SECOND_LEVEL_DISPOSITION": "Qualifizierung Ebene 2",
- "THIRD_LEVEL_DISPOSITION": "Qualifizierung Ebene 3",
+ "SECOND_LEVEL_DISPOSITION": "Qualifizierung der zweiten Ebene",
+ "THIRD_LEVEL_DISPOSITION": "Qualifizierung der dritten Ebene",
"LICENSE_EXPIRE_REMAINING_DAYS": "Ihre Lizenz läuft bald ab! Bitte wenden Sie sich an Ihren Administrator",
- "CREATEDAT": "Erstellt am",
+ "CREATEDAT": "Hergestellt in",
"ELAPSED_ANSWERED": "Verstrichene Zeit seit dem Start des Anrufs",
"ELAPSED_DISPOSED": "Verstrichene Zeit seit Beendigung des Anrufs",
"LOST_CONNECTION": "Probleme mit der Netzwerkkonnektivität. Bitte Internetverbindung prüfen.",
"NO_RESULTS_AVAILABLE": "Keine Ergebnisse verfügbar",
- "AVAILABLE": "Verfügbar",
+ "AVAILABLE": "Erhältlich",
"CONFIRM": "Bestätigen Sie",
"FILTERS": "Filter",
"FILTER_CHAT_WEBSITES": "Chat-Websites filtern",
diff --git a/public/app/main/apps/dashboards/i18n/nl.json b/public/app/main/apps/dashboards/i18n/nl.json
index d0a7ac7..55e3cf9 100644
--- a/public/app/main/apps/dashboards/i18n/nl.json
+++ b/public/app/main/apps/dashboards/i18n/nl.json
@@ -2,48 +2,48 @@
"DASHBOARDS": {
"HOME": "Home",
"CHAT": "Chat",
- "MAIL": "E-mail",
+ "MAIL": "Email",
"SMS": "Sms",
- "OPENCHANNEL": "Open Kanaal",
+ "OPENCHANNEL": "Open Channel",
"FAX": "Fax",
- "RATING": "Rating",
+ "RATING": "Waardering",
"FEEDBACK": "Feedback",
"SUBJECT": "Onderwerp",
- "REFERER": "Referentie",
+ "REFERER": "Referer",
"ACCOUNT": "Account",
"WEBSITE": "Website",
"AGENT": "Agent",
"CREATED_AT": "Gemaakt op",
"CLOSED_AT": "Gesloten",
- "DISPOSITION": "Dispositie",
+ "DISPOSITION": "Afvoeren",
"CONTACT": "Neem contact op met",
"INTERACTION": "Interactie",
"BROWSER_NAME": "Browsernaam",
"BROWSER_VERSION": "Browserversie",
"OS_NAME": "Naam besturingssysteem",
"OS_VERSION": "Versie van besturingssysteem",
- "DEVICE_MODEL": "Apparaat model",
+ "DEVICE_MODEL": "Apparaatmodel",
"DEVICE_VENDOR": "Apparaat",
- "DEVICE_TYPE": "Apparaat type",
- "RECALLME": "Bel mij terug",
- "DROP_RATE": "Wegvalpercentage",
+ "DEVICE_TYPE": "Apparaattype",
+ "RECALLME": "Recall Me",
+ "DROP_RATE": "Daalsnelheid",
"DROPPED": "Weggevallen",
- "DROPPED_TEXT": "Weggevallen wachtrij oproepen",
+ "DROPPED_TEXT": "Verbrede Wachtrij oproepen",
"DETAIL": "Detail",
"MOTION_BULL": "Motion Bull",
"LIMITED": "Beperkt",
- "LIMITED_TEXT": "Afkomst/limiet gesprekken afkomstig uit IVR-Campagnes",
+ "LIMITED_TEXT": "Campagnes afkomstige gesprekken/Limited",
"DASHBOARDS": "Dashboards",
"RECORDINGS": "Opnamen",
- "TODAY_MOTION_BULL_STATS": "De Motion Bull stats. van vandaag",
+ "TODAY_MOTION_BULL_STATS": "Vandaag Motion Bull Stats",
"ORIGINATED": "Oorsprong",
- "ORIGINATED_TEXT": "Gesprekken afkomstig uit wachtrij",
+ "ORIGINATED_TEXT": "Wachtrij afkomstige gesprekken",
"UPDATE": "Update",
"MORE": "Meer",
"MOTIONDIALER": "Motion Bull",
- "DISPOSE": "Opruimen",
+ "DISPOSE": "Afvoeren",
"QUEUES": "Wachtrijen",
- "DIALER_CALL": "Dialer",
+ "DIALER_CALL": "Oproepen beller",
"ELAPSED_TIME": "Verstreken tijd",
"EDIT": "Bewerken",
"MERGE": "Samenvoegen",
@@ -72,62 +72,62 @@
"POSTALCODE": "Postcode",
"CUSTOM_FIELDS": "Aangepaste velden",
"GENERAL": "Algemeen",
- "VOICE": "Telefonie",
- "TODAY_IVR_CAMPAIGNS_STATS": "IVR-campagne Statistieken Van vandaag",
- "TODAY_INBOUND_STATS": "Inkomende Statistieken (Wachtrij) Van Vandaag",
- "TODAY_OUTBOUND_STATS": "Uitgaande Statistieken Van Vandaag ",
- "WAITING": "Wachtend",
- "TALKING": "In gesprek",
+ "VOICE": "Spraak",
+ "TODAY_IVR_CAMPAIGNS_STATS": "Vandaag Ivr campagnes Stats",
+ "TODAY_INBOUND_STATS": "Vandaag Inbound Stats",
+ "TODAY_OUTBOUND_STATS": "Vandaag Outbound Stats",
+ "WAITING": "Wachten",
+ "TALKING": "Spreken",
"INBOUND_ANSWERED": "Beantwoord",
"OUTBOUND_ANSWERED": "Beantwoord",
"ABANDONED": "Verlaten",
- "TOTAL_OFFERED": "Tot. aangeboden",
- "AVG_HOLD_TIME": "Gem. wachttijd",
- "INBOUND_ANSWER_RATE": "Antwoordpercentage",
- "OUTBOUND_ANSWER_RATE": "Antwoordpercentage",
- "ABANDON_RATE": "Verlatingspercentage",
- "UNMANAGED": "Onbeheerd",
+ "TOTAL_OFFERED": "Totaal beschikbaar",
+ "AVG_HOLD_TIME": "Gemiddelde wachttijd",
+ "INBOUND_ANSWER_RATE": "Antwoord tarief",
+ "OUTBOUND_ANSWER_RATE": "Antwoord tarief",
+ "ABANDON_RATE": "Snelheid verlaten",
+ "UNMANAGED": "Onbeheerde",
"TOTAL": "Totaal",
"TOT_DURATION": "Totale duur",
"AVG_DURATION": "Gemiddelde duur",
"HELP": {
"ORIGINATEDLIMITED": "Campagnes afkomstige gesprekken/Limited",
- "DROPPED": "Het totale aantal weggevallen wachtrij oproepen, gezien alle gemaakte wachtrijen.",
- "DROP_RATE": "Het wegvalpercentage van wachtrij oproepen",
- "WAITING": "Het totale aantal wachtrij oproepen, gezien alle gemaakte wachtrijen",
+ "DROPPED": "Het totale aantal daalde wachtrij oproepen, gezien alle gemaakte wachtrijen.",
+ "DROP_RATE": "Om de terugvalsnelheid van de wachtrij oproepen",
+ "WAITING": "Het totale aantal Wachtrij oproepen, gezien alle gemaakte wachtrijen",
"OUTBOUND_ANSWERED": "Het totale aantal voltooide uitgaande gesprekken",
- "ABANDONED": "Het totale aantal verlaten wachtrij oproepen, gezien alle gemaakte wachtrijen. Oproepen die worden verlaten voor time-out en joinempty worden niet meegeteld bij deze waarde",
- "TOTAL_OFFERED": "Het totale aantal aangeboden wachtrij oproepen (voltooide + verlaten). Gesprekken die eindigde in de IVR en niet in de wachtrij komen, worden niet meegeteld bij deze waarde",
- "AVG_HOLD_TIME": "De gemiddelde wachttijd van de wachtrij, gemiddelde wachttijd van het gesprek voor het door een agent wordt beantwoord, gezien alle wachtrijen",
- "OUTBOUND_ANSWER_RATE": "Het antwoordpercentage van van alle uitgaande oproepen",
- "ABANDON_RATE": "Het verlatingspercentage van alle wachtrij oproepen",
+ "ABANDONED": "Het totale aantal verlaten oproepen wachtrij, gezien alle gemaakte wachtrijen. Merk op dat de oproepen die worden verlaten voor time-out en joinempty worden niet meegeteld bij deze waarde",
+ "TOTAL_OFFERED": "Het totale aantal oproepen wachtrij (voltooide verlaten). Merk op dat de gesprekken die eindigde in de IVR, zonder dat u in de wachtrij, worden niet meegeteld bij deze waarde",
+ "AVG_HOLD_TIME": "De gemiddelde wachtrij wachttijd, zijnde de gemiddelde tijd van het gesprek te wachten voor een agent wordt beantwoord, gezien alle wachtrijen",
+ "OUTBOUND_ANSWER_RATE": "Het antwoord van alle uitgaande oproepen",
+ "ABANDON_RATE": "De Snelheid verlaten van alle Oproepen wachtrij",
"UNMANAGED": "Het totale aantal onbeheerde wachtrij oproepen, gezien alle gemaakte wachtrijen. Het bevat de oproepen die worden verlaten voor time-out, joinempty, leavewhenempty en exitwithkey",
"TOTAL": "Het totale aantal uitgaande gesprekken",
"TOT_DURATION": "De totale duur van alle uitgaande oproepen",
"AVG_DURATION": "De gemiddelde duur van alle uitgaande oproepen",
- "ORIGINATED": "Het totale aantal gesprekken uit de wachtrij",
- "ABANDONED_RATE": "De verlatingsperentage van alle interacties",
- "AVG_MANAGED_TIME": "De gemiddelde interactie tijd, de gemiddelde tijd doorgebracht tijdens een gesprek",
+ "ORIGINATED": "Het totale aantal gesprekken dat uit de wachtrij campagnes",
+ "ABANDONED_RATE": "De vertrekfrequentie van alle interacties",
+ "AVG_MANAGED_TIME": "De gemiddelde interactie Beheerde tijd, namelijk de gemiddelde tijd doorgebracht tijdens een gesprek",
"MANAGED": "Het totale aantal voltooide interacties",
- "MANAGED_RATE": "De beheerde afhandelingssnelheid van alle interacties",
+ "MANAGED_RATE": "De beheerde snelheid van alle interacties",
"OPENED": "Het totale aantal actieve interacties",
- "UNMANAGED_RATE": "De onbeheerde afhandelingssnelheid van alle interacties",
- "VOICE_ABANDONED": "Het totale aantal verlaten wachtrij oproepen, rekening houdend met alle bestaande wachtrijen. Oproepen die worden verlaten wegens time-out en joinempty niet worden overwogen",
- "VOICE_ANSWERED": "Het totale aantal voltooide wachtrij oproepen, voor alle bestaande wachtrijen",
- "VOICE_ANSWER_RATE": "Het antwoordpercentage van alle wachtrij oproepen",
- "VOICE_AVG_HOLD_TIME": "De gemiddelde wachttijd voor wachtrij oproepen, de gemiddelde besteden tijd bij het wachten op een agent, voor alle bestaande wachtrijen",
- "VOICE_AVG_TALK_TIME": "De gemiddelde gespreksduur van wachtrij oproepen, namelijk de gemiddelde tijd die tijdens het gesprek is doorgebracht, voor alle bestaande wachtrijen",
- "VOICE_TALKING": "Het totale aantal actieve wachtrij oproepen voor alle bestaande wachtrijen",
- "VOICE_TOTAL_OFFERED": "Het totale aantal wachtrijgesprekken (voltooid + verlaten). Oproepen die binnenkomen in een IVR en niet uitkomen in een wachtrij, niet zullen worden beschouwd",
- "VOICE_UNMANAGED": "Het totale aantal onbeheerde wachtrij oproepen, voor alle bestaande wachtrijen. Het bevat de oproepen die worden verlaten wegens time-out, joinempty, leavewhenempty en exitwithkey (zie asterisk-document voor meer informatie)",
- "VOICE_WAITING": "Het totale aantal wachtende wachtrij oproepen, voor alle bestaande wachtrijen",
+ "UNMANAGED_RATE": "De onbeheerde snelheid van alle interacties",
+ "VOICE_ABANDONED": "Het totale aantal verlaten wachtrij-oproepen, rekening houdend met alle bestaande wachtrijen. Merk op dat de oproepen die worden verlaten wegens time-out en joinempty niet worden overwogen",
+ "VOICE_ANSWERED": "Het totale aantal voltooide wachtrij-oproepen, voor alle bestaande wachtrijen",
+ "VOICE_ANSWER_RATE": "Het antwoordpercentage van alle wachtrijsoproepen",
+ "VOICE_AVG_HOLD_TIME": "De wachttijd van de gemiddelde wachtrij, namelijk de gemiddelde tijd besteed aan het wachten op een agent om te antwoorden, voor alle bestaande wachtrijen",
+ "VOICE_AVG_TALK_TIME": "De gemiddelde wachttijd voor de wachtrij, namelijk de gemiddelde tijd die tijdens het gesprek is doorgebracht, voor alle bestaande wachtrijen",
+ "VOICE_TALKING": "Het totale aantal actieve wachtrij-oproepen voor alle bestaande wachtrijen",
+ "VOICE_TOTAL_OFFERED": "Het totale aantal wachtrijgesprekken (voltooid + verlaten). Merk op dat de oproepen die binnenkomen in een IVR en niet in een wachtrij, niet zullen worden beschouwd",
+ "VOICE_UNMANAGED": "Het totale aantal onbeheerde wachtrij-oproepen, voor alle bestaande wachtrijen. Het bevat de oproepen die worden verlaten wegens time-out, joinempty, leavewanneerempty en exitwithkey (zie asterisk-document voor meer informatie)",
+ "VOICE_WAITING": "Het totale aantal wachtende wachtrij-oproepen, voor alle bestaande wachtrijen",
"MANDATORY_DISPOSITION_ENABLED": "Verplichte plaatsing ingeschakeld voor dit account",
"EXACT_MATCH_FILTER": "Zoek naar een exacte overeenkomst",
"LIKE_FILTER": "Zoek naar het opgegeven patroon"
},
"ERRORS": {
- "FIRSTNAME_REQUIRED": "Verplicht veld",
- "PHONE_REQUIRED": "Verplicht veld",
+ "FIRSTNAME_REQUIRED": "De Voornaam is verplicht",
+ "PHONE_REQUIRED": "Het telefoonnummer is verplicht",
"DISPOSITION_REQUIRED": "Verplicht veld",
"AGENT_REQUIRED": "Verplicht veld",
"QUEUE_REQUIRED": "Verplicht veld",
@@ -140,27 +140,27 @@
"ADD": "Toevoegen",
"CONTACTMANAGER": "Contact Manager",
"DASHBOARD": "Dashboard",
- "EDIT_CONTACT": "Contactpersoon Bewerken",
+ "EDIT_CONTACT": "Contactpersoon bewerken",
"EMAIL": "E-mail",
- "FULLNAME": "Volledige naam",
+ "FULLNAME": "Fullname",
"LIST": "Lijst",
- "NEW_CONTACT": "Nieuw contactpersoon",
+ "NEW_CONTACT": "Nieuwe contactpersoon",
"PHONE": "Telefoon",
"SAVE": "Opslaan",
- "INBOUND_WAITING_CALLS": "Inkomende oproepen in wachtstand",
+ "INBOUND_WAITING_CALLS": "Inkomende gesprekken in wachtstand",
"CONTACTS": "Contactpersonen",
"MYCONTACTS": "Mijn contactpersonen",
- "ADD_CONTACT": "Contactpersoon Toevoegen",
- "RELOAD": "Herladen",
+ "ADD_CONTACT": "Contactpersoon toevoegen",
+ "RELOAD": "Reload",
"WAITING_TEXT": "Wachtrij oproepen",
"TALKING_TEXT": "Actieve Wachtrij oproepen",
- "INBOUND_ANSWERED_TEXT": "Beantwoorde wachtrij oproepen",
+ "INBOUND_ANSWERED_TEXT": "Beantwoord oproepen wachtrij",
"ABANDONED_TEXT": "Wachtrij verlaten oproepen",
- "DROP_RATE_TEXT": "Oproepen wachtrij wegvalsnelheid",
+ "DROP_RATE_TEXT": "Oproepen wachtrij daalsnelheid",
"TOTAL_OFFERED_TEXT": "Totale gesprekken",
"AVG_HOLD_TIME_TEXT": "Wachtrij gesprekken - Gem. tijd in wacht",
"AVG_TALK_TIME_TEXT": "Wachtrij Spreektijd gesprekken",
- "INBOUND_ANSWER_RATE_TEXT": "Antwoordpercentage wachtrij oproepen",
+ "INBOUND_ANSWER_RATE_TEXT": "Wachtrij oproepen beantwoorden tarief",
"UNMANAGED_TEXT": "Onbeheerde Wachtrij oproepen",
"TOTAL_TEXT": "Totaal uitgaande gesprekken",
"OUTBOUND_ANSWERED_TEXT": "Uitgaande beantwoorde gesprekken",
@@ -172,8 +172,8 @@
"OF": "Van",
"REPLY_PLACEHOLDER": "Typ en druk op enter om een bericht te verzenden.",
"CONTACT_INFO": "Contact Info",
- "CLOSE_AND_DISPOSE": "Afronden",
- "DISPOSITIONS": "Disposities",
+ "CLOSE_AND_DISPOSE": "Dicht en afvoeren",
+ "DISPOSITIONS": "Dispositions",
"CLOSE_WITHOUT_DISPOSE": "Sluiten zonder lever",
"ACCEPT": "Accepteren",
"REJECT": "Afwijzen",
@@ -187,14 +187,14 @@
"OPENED": "Open",
"FILTER": "Filter",
"SELECT_STATUS": "Selecteer Status.",
- "SELECT_ACCOUNT": "Selecteren Account",
- "SELECT_WEBSITE": "Selecteer Website",
+ "SELECT_ACCOUNT": "Account selecteren",
+ "SELECT_WEBSITE": "Selecteer website",
"ALL": "Alle",
"INTERACTIONS": "Interacties",
"STARTEDAT": "Gestart op",
"STATUS": "Status",
"OPEN": "Open",
- "SHOW": "Weergeven",
+ "SHOW": "Toon",
"ME": "Me",
"NOT_ASSIGNED": "Niet toegewezen",
"UNKNOWN": "Onbekend",
@@ -202,44 +202,44 @@
"LAST_MESSAGE": "Laatste bericht",
"USER": "Gebruiker",
"TAGS": "Tags",
- "SELECT_TAG": "Selecteer Label",
+ "SELECT_TAG": "Selecteer label",
"TYPE": "Type",
"SOURCE": "Bron",
"DESTINATION": "Bestemming",
"CALLERID": "Beller-ID",
"END_AT": "Eindigt op",
"DURATION": "Duur",
- "SHOW_DETAILS": "Details Weergeven",
- "HIDE_DETAILS": "Details Verbergen",
+ "SHOW_DETAILS": "Details weergeven",
+ "HIDE_DETAILS": "Details verbergen",
"EXTERNAL_URL": "Externe link",
"SET_AS": "Instellen als",
"PENDING": "In afwachting",
- "CANNED_ANSWER_NOT_FOUND": "Geen standaard antwoorden gevonden",
- "CANNED_ANSWER_SEARCH": "Voer een tekst in om te zoeken in een standaard antwoord",
+ "CANNED_ANSWER_NOT_FOUND": "Geen ingeblikte antwoorden gevonden",
+ "CANNED_ANSWER_SEARCH": "Voer een tekst te zoeken in een ingeblikt antwoord",
"NO_MAIL_ACCOUNTS_AVAILABLE": "Geen e-mailaccounts beschikbaar",
"NO_FAX_ACCOUNTS_AVAILABLE": "Geen Fax rekeningen beschikbaar",
"NO_SMS_ACCOUNTS_AVAILABLE": "Geen SMS Accounts beschikbaar",
- "FILTER_VOICE_QUEUES": "Filter voice wachtrijen",
+ "FILTER_VOICE_QUEUES": "Filter Voice Wachtrijen",
"LOADING_INTERACTION": "We laden de interactie ...",
- "JANUARY": "Januari",
- "FEBRUARY": "Februari",
- "MARCH": "Maart",
- "APRIL": "April",
- "MAY": "Mei",
- "JUNE": "Juni",
- "JULY": "Juli",
- "AUGUST": "Augustus",
- "SEPTEMBER": "September",
- "OCTOBER": "Oktober",
- "NOVEMBER": "November",
- "DECEMBER": "December",
- "MON": "Ma",
- "TUE": "Di",
- "WED": "Wo",
- "THU": "Do",
- "FRI": "Vr",
+ "JANUARY": "januari-",
+ "FEBRUARY": "februari",
+ "MARCH": "maart",
+ "APRIL": "april",
+ "MAY": "mei",
+ "JUNE": "juni-",
+ "JULY": "juli-",
+ "AUGUST": "augustus",
+ "SEPTEMBER": "september",
+ "OCTOBER": "oktober",
+ "NOVEMBER": "november",
+ "DECEMBER": "december",
+ "MON": "ma",
+ "TUE": "Din",
+ "WED": "trouwen",
+ "THU": "Don",
+ "FRI": "vr",
"SAT": "Za",
- "SUN": "Zo",
+ "SUN": "Zon",
"DELETE": "Verwijder",
"LAST_3_DAYS": "Laatste 3 dagen",
"LAST_YEAR": "Afgelopen jaar",
@@ -251,19 +251,19 @@
"YESTERDAY": "Gisteren",
"TODAY": "Vandaag",
"SELECT_DATE": "Selecteer Startdatum",
- "SELECT_DATE_RANGE": "Selecteer Datumbereik",
- "CLEAR": "Leegmaken",
- "CALL_NUMBER": "Telefoonnummer",
- "TRANSFER_NUMBER": "Overdrachtsnummer",
- "CALL_SAVED": "Gesprek correct opgeslagen",
- "CALL_DISPOSED": "Gesprec correct afgesloten",
- "CHANNEL_WAITING_TEXT": "Wachtende interacties",
+ "SELECT_DATE_RANGE": "Selecteer datumbereik",
+ "CLEAR": "Duidelijk",
+ "CALL_NUMBER": "telefoontje",
+ "TRANSFER_NUMBER": "Overdracht",
+ "CALL_SAVED": "Bel correct opgeslagen",
+ "CALL_DISPOSED": "Roep op de juiste manier",
+ "CHANNEL_WAITING_TEXT": "Waiting Queue Interactions",
"CHANNEL_QUEUE": "Wachtrij",
"CHANNEL_FROM": "Van",
- "MARK_AS_UNREAD": "Markeren als Ongelezen",
+ "MARK_AS_UNREAD": "markeren als ongelezen",
"SELECT_AGENT": "Selecteer Agent",
"READ": "Lezen",
- "SELECT_READ_UNREAD": "Selecteer gelezen / ongelezen",
+ "SELECT_READ_UNREAD": "Selecteer Lezen / ongelezen",
"SELECT_SUBSTATUS": "Selecteer Substatus",
"UNREAD": "Ongelezen",
"ABANDONAT": "Verlaten",
@@ -271,17 +271,17 @@
"FREE": "Gratis",
"LASTASSIGNEDTO": "Laatst toegewezen aan",
"QUEUE": "Wachtrij",
- "QUEUECALLEREXITAT": "Beller heeft wachtrij verlaten om",
+ "QUEUECALLEREXITAT": "Liet vallen",
"QUEUECALLEREXITREASON": "Reden",
"RESERVED": "Gereserveerd",
- "SELECT_CAMPAIGN": "Selecteer een Wachtrij",
+ "SELECT_CAMPAIGN": "Selecteer een wachtrij",
"ASSIGNTO": "Toewijzen",
- "CLICKRELOAD": "Nieuwe verlaten oproepenu0021 Herladen alstublieft",
+ "CLICKRELOAD": "Nieuwe achtergelaten oproepen! Herladen alstublieft",
"NOTAVAILABLE": "Niet beschikbaar",
"CURRENTLY_IN_USE_BY": "Momenteel in gebruik door",
"CUSTOMER_JOURNEY": "Customer Journey",
"NO_DATA_AVAILABLE": "Geen gegevens beschikbaar",
- "AGENTS": "Agenten",
+ "AGENTS": "agenten",
"TRANSFER": "Overdracht",
"NO_DISPOSITION_SET": "Geen dispositie ingesteld",
"ABANDONED_RATE": "Verlaten tarief",
@@ -326,25 +326,25 @@
"INTERACTION_CLOSED_DISPOSED": "Interactie correct gesloten en weggegooid",
"INTERACTION_DISPOSED": "Interactie correct verwijderd",
"ASSIGNED_TO_OTHERS": "Toegewezen aan anderen",
- "SELECT_ALL": "Selecteer Alles",
+ "SELECT_ALL": "Selecteer alles",
"CHAT_INTERACTIONS": "Chat interacties",
"FAX_INTERACTIONS": "Fax interacties",
"ID": "ID",
"MAIL_INTERACTIONS": "E-mail interacties",
"OPENCHANNEL_INTERACTIONS": "Open kanaal interacties",
"SMS_INTERACTIONS": "SMS-interacties",
- "CANCEL": "Annuleren",
+ "CANCEL": "annuleren",
"DRAFT": "Droogte",
"DRAFT_SAVE_WARNING_MESSAGE": "Er is al een concept opgeslagen voor deze interactie. Weet je zeker dat je het wilt overschrijven?",
"DRAFT_SAVE_WARNING_TITLE": "Bestaand concept overschrijven?",
- "OVERWRITE": "Overschrijven",
+ "OVERWRITE": "overschrijven",
"SAVE_AS_DRAFT": "Opslaan als concept",
"UNTITLED": "Ongetiteld",
- "UPDATE_DRAFT": "Concept Bijwerken",
+ "UPDATE_DRAFT": "Concept bijwerken",
"NO_AVAILABLE_INTERACTION": "Geen beschikbare interactie",
"ACCOUNTINGDOC": "boekhouding",
- "ADD_PRODUCTPRICELIST": "Product Toevoegen",
- "AGENTFULLNAME": "Agent",
+ "ADD_PRODUCTPRICELIST": "PRODUCT TOEVOEGEN",
+ "AGENTFULLNAME": "Middel",
"ALL_COMPANIES": "Alle bedrijven",
"ALL_PRODUCTS": "Allemaal",
"ALL_STATUS": "Allemaal",
@@ -375,7 +375,7 @@
"CREDITNOTE": "KREDIET NOTA",
"CREDITNOTEDETAILS": "Detail creditnota",
"CREDITNOTE_INFO": "Credit Note",
- "DELETE_PRODUCT": "Product Verwijderen",
+ "DELETE_PRODUCT": "Product verwijderen",
"DEPOSIT": "STORTING",
"DETAILS": "Details",
"DISCOUNT": "Korting",
@@ -489,26 +489,26 @@
"REQUESTNAME": "Verzoek naam",
"REQUESTNOTES": "Verzoek om opmerkingen",
"REQUEST_INFO": "Verzoek",
- "SELECT_COMPANY": "Selecteer Bedrijf",
- "SELECT_PERIOD": "Selecteer Bereik",
+ "SELECT_COMPANY": "Selecteer bedrijf",
+ "SELECT_PERIOD": "Selecteer bereik",
"SELECT_PERIOD_CREATION": "Selecteer Aanmaakdatum",
"SELECT_PERIOD_EXPIRE": "Selecteer Vervaldatum",
- "SELECT_PERIOD_START": "Selecteer een Datum",
- "SELECT_PRODUCT": "Selecteer Product",
- "SELECT_PRODUCTTYPE": "Selecteer Type",
- "SELECT_WORKFLOW": "Selecteer Workflow",
- "SELECT_WORKFLOWSTEPS": "Selecteer Workflow stappen",
+ "SELECT_PERIOD_START": "Selecteer een datum",
+ "SELECT_PRODUCT": "Selecteer product",
+ "SELECT_PRODUCTTYPE": "Selecteer type",
+ "SELECT_WORKFLOW": "Selecteer workflow",
+ "SELECT_WORKFLOWSTEPS": "Selecteer Werkstroomstatus",
"STARTDATE": "Factuur datum",
"STATE": "Staat",
"STEP": "Stap",
"SUBSCRIPTIONDETAIL": "Detail",
"SUBSCRIPTIONNAME": "Abonnement",
- "SUBSCRIPTIONS": "Abonnementen",
+ "SUBSCRIPTIONS": "KLANTenschema",
"TAX": "Belasting",
"TO": "Naar",
"TOTALPAYMENTS": "Totaal betalingen",
"UPDATED_AT": "Gewijzigd op",
- "UPDATE_PRODUCT": "Product Bijwerken",
+ "UPDATE_PRODUCT": "Product bijwerken",
"WORKFLOW": "Selecteer workflow",
"YEARS": "jaren",
"CUSTOMER_IP": "Oorspronkelijk IP-adres",
@@ -533,9 +533,9 @@
"IS_NOT_EQUAL": "Is niet gelijk aan",
"MEET_ALL_CONDITIONS": "Voldoe aan alle voorwaarden",
"MEET_ANY_CONDITIONS": "Voldoe aan minstens één voorwaarde",
- "NEW_CONDITION": "nieuwe voorwaarden",
- "SELECT_FIELD": "Selecteer Veld",
- "SELECT_OPERATOR": "Selecteer Operator",
+ "NEW_CONDITION": "nieuwe conditie",
+ "SELECT_FIELD": "Selecteer veld",
+ "SELECT_OPERATOR": "Selecteer operator",
"STARTING_DATE": "Begin datum",
"STARTING_VALUE": "Startwaarde",
"STARTS_WITH": "Begint met",
@@ -545,7 +545,7 @@
"CHOOSE": "Kiezen",
"DOWNLOAD_WITHOUT_ATTACHMENTS": "Download zonder bijlagen",
"DOWNLOAD_WITH_ATTACHMENTS": "Download met bijlagen",
- "SELECT_QUEUE": "Selecteer een Wachtrij",
+ "SELECT_QUEUE": "Selecteer een wachtrij",
"VIDAOOSESSION": "Start videogesprek",
"WHATSAPP": "WhatsApp-aansluiting",
"WHATSAPP_INTERACTIONS": "WhatsApp Connector-interacties",
@@ -553,20 +553,20 @@
"MATCHING_FIELD": "Overeenkomend veld",
"MULTIPLE_CONTACTS_FOUND": "Meerdere contacten gevonden voor nummer",
"SELECT": "Selecteer",
- "SELECT_CONTACT": "Selecteer Contact",
+ "SELECT_CONTACT": "Selecteer contact",
"WHICH_ONE_TO_USE": "Welke wil je gebruiken?",
"NO_WHATSAPP_ACCOUNTS_AVAILABLE": "Geen Whatsapp-account beschikbaar",
"SECOND_LEVEL_DISPOSITION": "Tweede niveau dispositie",
"THIRD_LEVEL_DISPOSITION": "Dispositie op het derde niveau",
- "LICENSE_EXPIRE_REMAINING_DAYS": "Uw licentie verloopt bijnau0021 Neem contact op met uw beheerder",
+ "LICENSE_EXPIRE_REMAINING_DAYS": "Uw licentie verloopt bijna! Neem contact op met uw beheerder",
"CREATEDAT": "Gemaakt bij",
"ELAPSED_ANSWERED": "Verstreken tijd sinds het gesprek is gestart",
"ELAPSED_DISPOSED": "Verstreken tijd sinds het gesprek is beëindigd",
"LOST_CONNECTION": "Problemen met netwerkconnectiviteit ervaren. Controleer uw internetverbinding.",
"NO_RESULTS_AVAILABLE": "Geen resultaten beschikbaar",
- "AUTOCLOSE": "Het contacttabblad automatisch sluiten na verwijdering",
+ "AUTOCLOSE": "Sluit het contacttabblad automatisch na verwijdering",
"AGENT_PRESENCE": "Aanwezigheid van agent",
- "SELECT_TEAM": "Selecteer Team",
+ "SELECT_TEAM": "Selecteer team",
"AVAILABLE": "Beschikbaar",
"CONFIRM": "Bevestigen",
"FILTERS": "Filters",
diff --git a/public/app/main/apps/fax/i18n/de.json b/public/app/main/apps/fax/i18n/de.json
index d1303ac..e63ae66 100644
--- a/public/app/main/apps/fax/i18n/de.json
+++ b/public/app/main/apps/fax/i18n/de.json
@@ -1,88 +1,88 @@
{
"FAX": {
- "TEAMADD_FAXQUEUE": "Team zur Warteschlange hinzufügen",
- "AGENTADD_FAXQUEUE": "Agenten zur Warteschlange hinzufügen",
+ "TEAMADD_FAXQUEUE": "Team zur Faxwarteschlange hinzufügen",
+ "AGENTADD_FAXQUEUE": "Agent Fax Warteschlange hinzufügen",
"NAME": "Name",
- "FAXQUEUES": "Fax-Warteschlangen",
- "SEARCH_FOR_ANYONE": "Suche",
+ "FAXQUEUES": "Fax Warteschlangen",
+ "SEARCH_FOR_ANYONE": "Suche für Jedermann",
"ERRORS": {
- "NAME_REQUIRED": "Name erforderlich",
- "AGENT_TIMEOUT_REQUIRED": "Zeitüberschreitung Agent erforderlich",
- "MOTIONADDRESS_REQUIRED": "Adresse erforderlich",
- "MOTIONADDRESS_MUST_VALID_URL": "Ungültiges Format Adresse",
- "LOCALSTATIONID_REQUIRED": "Lokale Nebenstelle erforderlich",
- "MODEM_REQUIRED": "Modem/Fax-Adapter erforderlich",
- "GATEWAY_REQUIRED": "Gateway erforderlich",
- "FAXDETECT_REQUIRED": "FAX-Erkennung erforderlich",
- "T38TIMEOUT_REQUIRED": "T.38-Timeout erforderlich",
- "TIMEOUT_REQUIRED": "Zeitüberschreitung erforderlich",
- "HEADERINFO_REQUIRED": "Kopfzeile erforderlich",
- "TRUNK_REQUIRED": "Trunk erforderlich",
- "LIST_REQUIRED": "Liste erforderlich",
- "KEY_MAX_LENGTH": "Wert darf nicht länger als {{max}} Zeichen sein",
- "KEY_REQUIRED": "Schlüssel erforderlich",
- "AGENT_REQUIRED": "Agent erforderlich",
- "QUEUE_REQUIRED": "Warteschlange erforderlich",
- "TRUEPRIORITY_REQUIRED": "Priorität bei zutreffender Bedingung erforderlich",
- "FALSEPRIORITY_REQUIRED": "Priorität bei nicht zutreffender Bedingung erforderlich",
- "CONDITION_REQUIRED": "Bedingung erforderlich",
- "PRIORITY_REQUIRED": "Priorität erforderlich",
- "DISPOSITION_REQUIRED": "Qualifizierung erforderlich",
- "PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Priorität muss gröÃer oder gleich sein als",
- "TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Priorität bei Bedingung erfüllt muss gröÃer oder gleich sein als",
- "FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Priorität bei Bedingung nicht erfüllt muss gröÃer oder gleich sein als",
- "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss gröÃer oder gleich sein als",
- "TEXT_MAX_LENGTH": "Wert darf nicht länger als {{max}} Zeichen sein",
- "TEXT_REQUIRED": "Text erforderlich",
- "VALUE_REQUIRED": "Wert erforderlich",
- "COMMAND_REQUIRED": "Eingabe erforderlich",
- "AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
- "NAME_MUST_VALID_PATTERN": "Ungültiges Format Name",
- "TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss kleiner oder gleich sein als",
- "AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung Agent muss kleiner oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wert muss kleiner oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_REQUIRED": "Auf zugewiesenen Agenten warten erforderlich",
- "TAG_REQUIRED": "Tag erforderlich",
- "AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss gröÃer oder gleich sein als",
- "AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss kleiner oder gleich sein als",
- "AGENTTRANSFERTIMEOUT_REQUIRED": "Zeitüberschreitung Agententransfer erforderlich",
- "QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss gröÃer oder gleich sein als",
- "QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss kleiner oder gleich sein als",
- "QUEUETRANSFERTIMEOUT_REQUIRED": "Zeitüberschreitung Warteschlangentransfer erforderlich",
- "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "PausenID während Qualifizierung erforderlich"
+ "NAME_REQUIRED": "Der Name ist erforderlich",
+ "AGENT_TIMEOUT_REQUIRED": "Der Agent Timeout ist erforderlich",
+ "MOTIONADDRESS_REQUIRED": "Die Adresse ist erforderlich",
+ "MOTIONADDRESS_MUST_VALID_URL": "Die Adresse muss in einem gültigen Format",
+ "LOCALSTATIONID_REQUIRED": "Die lokale Station-ID ist erforderlich",
+ "MODEM_REQUIRED": "Das Modem erforderlich.",
+ "GATEWAY_REQUIRED": "Das Gateway ist erforderlich",
+ "FAXDETECT_REQUIRED": "Die FAX Erkennung erforderlich ist",
+ "T38TIMEOUT_REQUIRED": "Die T.38-Timeout ist erforderlich",
+ "TIMEOUT_REQUIRED": "Der Timeout ist erforderlich",
+ "HEADERINFO_REQUIRED": "Die Information in der Kopfzeile sind erforderlich",
+ "TRUNK_REQUIRED": "Der Stamm ist erforderlich",
+ "LIST_REQUIRED": "Die Liste ist erforderlich",
+ "KEY_MAX_LENGTH": "Schlüssel muss eine maximale Länge von {{max}}",
+ "KEY_REQUIRED": "Der Schlüssel ist erforderlich",
+ "AGENT_REQUIRED": "Pflichtfeld",
+ "QUEUE_REQUIRED": "Pflichtfeld",
+ "TRUEPRIORITY_REQUIRED": "Pflichtfeld",
+ "FALSEPRIORITY_REQUIRED": "Pflichtfeld",
+ "CONDITION_REQUIRED": "Pflichtfeld",
+ "PRIORITY_REQUIRED": "Pflichtfeld",
+ "DISPOSITION_REQUIRED": "Pflichtfeld",
+ "PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer als oder gleich",
+ "TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer als oder gleich",
+ "FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer als oder gleich",
+ "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer als oder gleich",
+ "TEXT_MAX_LENGTH": "Der Wert muss eine maximale Länge von {{max}} haben",
+ "TEXT_REQUIRED": "Pflichtfeld",
+ "VALUE_REQUIRED": "Pflichtfeld",
+ "COMMAND_REQUIRED": "Pflichtfeld",
+ "AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "NAME_MUST_VALID_PATTERN": "Falsches Format",
+ "TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "WAITFORTHEASSIGNEDAGENT_REQUIRED": "Pflichtfeld",
+ "TAG_REQUIRED": "Pflichtfeld",
+ "AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "AGENTTRANSFERTIMEOUT_REQUIRED": "Pflichtfeld",
+ "QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "QUEUETRANSFERTIMEOUT_REQUIRED": "Pflichtfeld",
+ "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "Sie sollten einen Pausenstatus angeben, wenn Sie eine Zwangsdisposition haben"
},
- "STRATEGY": "Verteilungsstrategie",
- "AGENT_TIMEOUT": "Zeitüberschreitung Agent",
+ "STRATEGY": "Strategie",
+ "AGENT_TIMEOUT": "Agent Timeout",
"DESCRIPTION": "Beschreibung",
- "ADD_FAXQUEUE": "Fax-Warteschlange hinzufügen",
- "EDIT_FAXQUEUE": "Fax-Warteschlange bearbeiten",
- "DELETE_FAXQUEUE": "Fax-Warteschlange löschen",
+ "ADD_FAXQUEUE": "Warteschlange hinzufügen Fax",
+ "EDIT_FAXQUEUE": "Bearbeiten Fax Warteschlange",
+ "DELETE_FAXQUEUE": "Fax Löschen der Warteschlange",
"CREATED_AT": "Erstellt am",
"SAVE": "Speichern",
"SETTINGS": "Einstellungen",
"GENERAL": "Allgemein",
- "FAXACCOUNTS": "Fax-Konten",
+ "FAXACCOUNTS": "Fax Konten",
"MOTIONADDRESS": "Motion Adresse",
- "ADD_FAXACCOUNT": "Fax-Konto hinzufügen",
- "EDIT_FAXACCOUNT": "Fax-Konto bearbeiten",
- "DELETE_FAXACCOUNT": "Fax-Konto löschen",
- "DISPOSITIONS": "Bedingungen",
+ "ADD_FAXACCOUNT": "Fax Konto hinzufügen",
+ "EDIT_FAXACCOUNT": "Fax Konto bearbeiten",
+ "DELETE_FAXACCOUNT": "Fax Konto löschen.",
+ "DISPOSITIONS": "Bestimmungen",
"WEBHOOKS": "WebHooks",
- "ACTIONS": "Routing",
+ "ACTIONS": "Aktionen",
"LIST": "Liste",
"FIDELITY": "Treue",
"ACCEPT": "Akzeptieren",
- "ACCEPTMETHOD": "Methode akzeptieren",
+ "ACCEPTMETHOD": "Die Methode",
"ACCEPTURL": "URL akzeptieren",
"REJECT": "Ablehnen",
"REJECTMETHOD": "Methode ablehnen",
"REJECTURL": "URL ablehnen",
- "CLOSE": "SchlieÃen und Qualifizieren",
- "CLOSEMETHOD": "Methode schlieÃen",
- "CLOSEURL": "URL schlieÃen",
- "TRUNK": "SIP-Trunk",
- "LOCALSTATIONID": "ID lokale Nebenstelle",
+ "CLOSE": "In der Nähe",
+ "CLOSEMETHOD": "In der Nähe Methode",
+ "CLOSEURL": "Der URL",
+ "TRUNK": "Amtsleitung",
+ "LOCALSTATIONID": "Lokale Station Identifier",
"HELP": {
"LOCALSTATIONID": "Lokale Station Identifier (Telefonnummer).",
"HEADERINFO": "Ausgehende Faxkopfzeile.",
@@ -94,10 +94,10 @@
"MINRATE": "Minimale Ãbertragungsrate eingestellt, bevor das Getriebe. Mögliche Werte sind: 2400, 4800, 7200, 9600, 12000 oder 14400.",
"MAXRATE": "Maximale Ãbertragungsrate eingestellt, bevor das Getriebe. Mögliche Werte sind: 2400, 4800, 7200, 9600, 12000 oder 14400.",
"NAME": "Nur Zahlen, Buchstaben und Sonderzeichen (._) werden unterstützt.",
- "MANDATORYDISPOSITION": "Qualifizierung erforderlich",
- "MANDATORYDISPOSITIONPAUSEID": "Pausenstatus während der Qualifizierung"
+ "MANDATORYDISPOSITION": "Zwingende Disposition",
+ "MANDATORYDISPOSITIONPAUSEID": "Status für Zwangsdisposition anhalten"
},
- "ADVANCED": "Erweitert",
+ "ADVANCED": "Erweiterte",
"ECM": "ECM",
"MINRATE": "Min. Geschwindigkeit",
"MAXRATE": "Max. Geschwindigkeit",
@@ -105,157 +105,157 @@
"GATEWAY": "Gateway",
"FAXDETECT": "Fax Erkennung",
"T38TIMEOUT": "T.38-Timeout",
- "SIP": "SIP",
+ "SIP": "Technologie",
"HEADERINFO": "Header-info",
- "SELECTED": "Ausgewählt",
- "SELECT_ALL": "Alles auswählen",
- "SELECT_NONE": "Nichts auswählen",
+ "SELECTED": "Ausgewählte",
+ "SELECT_ALL": "Alle auswählen",
+ "SELECT_NONE": "Wählen Sie \"Keine\"",
"BACK": "Zurück",
"FAX": "Fax",
- "ID": "ID",
- "TIMEOUT": "Zeitüberschreitung",
- "FAXDISPOSITIONS": "Qualifizierung",
- "NO_FAXDISPOSITION_AVAILABLE": "Keine Qualifizierung verfügbar",
- "NEW_FAXDISPOSITION": "Neue Qualifizierung",
- "ADD_FAXDISPOSITION": "Qualifizierung hinzufügen",
- "EDIT_FAXDISPOSITION": "Qualifizierung bearbeiten",
- "DELETE_FAXDISPOSITION": "Qualifizierung löschen",
+ "ID": "Id",
+ "TIMEOUT": "Timeout",
+ "FAXDISPOSITIONS": "Fax Disposition",
+ "NO_FAXDISPOSITION_AVAILABLE": "Kein Fax Dispositionen verfügbar",
+ "NEW_FAXDISPOSITION": "Neue Fax Disposition",
+ "ADD_FAXDISPOSITION": "Fax Disposition hinzufügen",
+ "EDIT_FAXDISPOSITION": "Fax Disposition bearbeiten",
+ "DELETE_FAXDISPOSITION": "Fax Disposition löschen",
"NEW_FAXQUEUE": "Neue Warteschlange",
- "NEW_FAXACCOUNT": "Neues Fax-Konto",
- "NO_AVAILABLE_INFO": "Keine Informationen verfügbar",
- "ALL_TEAMS": "Alle Teams",
+ "NEW_FAXACCOUNT": "Neue Fax Konto",
+ "NO_AVAILABLE_INFO": "Keine verfügbaren Info",
+ "ALL_TEAMS": "Alle Mannschaften",
"SELECTED_TEAMS": "Ausgewählte Teams",
"PAGE": "Seite",
"ROWSPERPAGE": "Zeilen pro Seite",
- "OF": "von",
+ "OF": "Von",
"DELETE": "Löschen",
"KEY": "Schlüssel",
"ALL_AGENTS": "Alle Agenten",
"SELECTED_AGENTS": "Ausgewählte Agenten",
"FILTER": "Filter",
"SELECT_STATUS": "Status auswählen",
- "ALL": "Alles",
+ "ALL": "Alle",
"CLOSED": "Geschlossen",
- "OPENED": "Offen",
+ "OPENED": "Geöffnet",
"SELECT_ACCOUNT": "Konto auswählen",
- "INTERACTIONS": "Interaktionen",
+ "INTERACTIONS": "Wechselwirkungen",
"CONTACT": "Kontakt",
"STARTEDAT": "Gestartet am",
"STATUS": "Status",
"ACCOUNT": "Konto",
- "GOTO_FAXACCOUNT": "Direkt zur Echtzeit-Warteschlange",
+ "GOTO_FAXACCOUNT": "In Echtzeit, Faxgerät",
"ACCOUNTS": "Konten",
- "GOTOREALTIME_FAXACCOUNT": "Direkt zur Echtzeitansicht Fax-Konten",
+ "GOTOREALTIME_FAXACCOUNT": "In Echtzeit, Faxgerät",
"TRUNK_STATUS": "Trunk Status",
- "TRUNKS": "SIP-Trunks",
+ "TRUNKS": "Amtsleitungen",
"REGISTRY": "Registrierung",
- "NO_REGISTRY": "Nicht registriert",
+ "NO_REGISTRY": "Keine Registry",
"PAUSE": "Pause",
- "INFO": "Informationen",
- "FULLNAME": "Vollständiger Name",
- "INTERNAL": "Intern",
- "PHONE_STATE": "Statis Nebenstelle",
- "PHONE_STATUS": "SIP-Status Nebenstelle",
+ "INFO": "Info",
+ "FULLNAME": "Fullname",
+ "INTERNAL": "Interne",
+ "PHONE_STATE": "Telefonstatus",
+ "PHONE_STATUS": "Telefonstatus",
"LOGOUT": "An-/Abmelden",
- "DEFAULT_PAUSE": "Standardpause",
- "AGENTADD_QUEUE": "Agent zur Warteschlange hinzufügen",
- "AGENTSADD_QUEUE": "Agenten zur Warteschlange hinzufügen",
- "UNPAUSE": "Pause abbrechen",
+ "DEFAULT_PAUSE": "Standard Pause",
+ "AGENTADD_QUEUE": "Agent Fax Warteschlange hinzufügen",
+ "AGENTSADD_QUEUE": "Agenten zu Fax Warteschlange hinzufügen",
+ "UNPAUSE": "Pause",
"AGENTS": "Agenten",
"QUEUES": "Warteschlangen",
"LOGGED_IN": "Angemeldet",
- "PAUSED": "in Pause",
+ "PAUSED": "Angehalten",
"READY": "Bereit",
"WAITING": "Warten",
"PRIORITY": "Priorität",
- "CONDITION": "Bedingung",
- "TRUEPRIORITY": "Priorität, wenn erfüllt (true)",
- "FALSEPRIORITY": "Priorität, wenn nicht erfüllt (false)",
+ "CONDITION": "Zustand",
+ "TRUEPRIORITY": "Wahre Priorität",
+ "FALSEPRIORITY": "Falsche Priorität",
"VALUE": "Wert",
- "EDIT_AGENT": "Agenten bearbeiten",
- "EDIT_GOTO": "\"GeheZu\" bearbeiten",
- "EDIT_NOOP": "Log-Erstellung bearbeiten",
- "EDIT_GOTOP": "GoToP bearbeiten",
- "EDIT_GOTOIF": "Bedingung bearbeiten und Priorität zuweisen",
- "EDIT_QUEUE": "Warteschlange bearbeiten",
- "EDIT_CLOSE": "Verhalten bei SchlieÃen bearbeiten",
+ "EDIT_AGENT": "Agent bearbeiten",
+ "EDIT_GOTO": "Bearbeiten Gehe zu",
+ "EDIT_NOOP": "Bearbeiten Noop",
+ "EDIT_GOTOP": "GotoP bearbeiten",
+ "EDIT_GOTOIF": "Bearbeiten GotoIf",
+ "EDIT_QUEUE": "Fax Warteschlange bearbeiten",
+ "EDIT_CLOSE": "Bearbeiten SchlieÃen",
"QUEUE": "Warteschlange",
- "GOTOIF": "GeheZuWenn (GoToIf)",
- "GOTOP": "Priorität zuweisen (GoToP)",
- "NOOP": "Log erstellen (NoOp)",
+ "GOTOIF": "GotoIf",
+ "GOTOP": "GotoP",
+ "NOOP": "Noop",
"AGENT": "Agent",
- "NOTES": "Anmerkungen",
- "CLOSEDAT": "Geschlossen am",
- "DISPOSITION": "Qualifizierung",
+ "NOTES": "Hinweise",
+ "CLOSEDAT": "Geschlossen",
+ "DISPOSITION": "Disposition",
"REALTIME": "Echtzeit",
"UNKNOWN": "Unbekannt",
- "UNREGISTERED": "Nicht registriert",
+ "UNREGISTERED": "Unregistrierte",
"UNAVAILABLE": "Nicht verfügbar",
- "NOT_INUSE": "Nicht in Verwendung",
+ "NOT_INUSE": "Nicht in Gebrauch",
"REACHABLE": "Erreichbar",
- "IN_USE": "In Verwendung",
- "VOICE": "Anrufe",
+ "IN_USE": "Im Einsatz",
+ "VOICE": "Voice",
"CHAT": "Chat",
"MAIL": "E-Mail",
"SMS": "SMS",
"OPENCHANNEL": "Offener Kanal",
"NO_AGENT_ONLINE": "Kein Agent Online",
- "GOTOREALTIME_FAXQUEUE": "Zur Echtzeitansicht Warteschlange",
- "EDIT_TRUNK": "Trunk bearbeiten",
+ "GOTOREALTIME_FAXQUEUE": "In Echtzeit Fax Warteschlange",
+ "EDIT_TRUNK": "Bearbeiten Trunk",
"REGISTERED": "Registriert",
- "EDIT_ACCOUNT": "Fax-Konto bearbeiten",
- "PARTIALPAUSE": "Teilpause",
+ "EDIT_ACCOUNT": "Fax Konto bearbeiten",
+ "PARTIALPAUSE": "Teilweise Pause",
"BUSY": "Besetzt",
"TIMER": "Timer",
"IDLE": "Leerlauf",
"CAPACITY": "Kapazität",
- "TOTAL": "Gesamt",
- "IN": "Eingehend",
- "OUT": "Ausgehend",
- "NO_INTERACTION_AVAILABLE": "Keine Interaktionen verfügbar",
+ "TOTAL": "Insgesamt",
+ "IN": "In",
+ "OUT": "Aus",
+ "NO_INTERACTION_AVAILABLE": "Es sind keine Wechselwirkungen zur Verfügung",
"TAGS": "Tags",
"REPLY": "Antwort",
"SEND": "Senden",
- "TO": "An",
+ "TO": "Zu",
"FROM": "Von",
- "INTERACTIONS_FAXACCOUNT": "Direkt zu den Interaktionen",
- "REFRESH_INTERACTIONS": "Interaktionen aktualisieren",
- "NO_FAXCANNEDANSWER_AVAILABLE": "Keine Textvorlagen verfügbar",
- "NEW_FAXCANNEDANSWER": "Neue Textvorlage",
- "ADD_FAXCANNEDANSWER": "Textvorlage hinzufügen",
- "EDIT_CHATCANNEDANSWER": "Textvorlage bearbeiten",
- "DELETE_CHATCANNEDANSWER": "Textvorlage löschen",
- "SPYINTERACTION": "Anzeigen",
+ "INTERACTIONS_FAXACCOUNT": "Zu Wechselwirkungen gehen",
+ "REFRESH_INTERACTIONS": "Aktualisieren Interaktionen",
+ "NO_FAXCANNEDANSWER_AVAILABLE": "Keine vordefinierten Antworten verfügbar",
+ "NEW_FAXCANNEDANSWER": "Neue vordefinierte Antwort",
+ "ADD_FAXCANNEDANSWER": "Vordefinierte Antwort hinzufügen",
+ "EDIT_CHATCANNEDANSWER": "Vordefinierte Antwort bearbeiten",
+ "DELETE_CHATCANNEDANSWER": "Vordefinierte Antwort löschen",
+ "SPYINTERACTION": "Spion",
"DELETE_INTERACTION": "Interaktion löschen",
- "COMMAND": "Eingabe",
+ "COMMAND": "Befehl",
"EDIT_SYSTEM": "System bearbeiten",
"SYSTEM": "System",
- "VARIABLE": "Variabel",
+ "VARIABLE": "Variable",
"NOTIFICATION": "Benachrichtigung",
- "NOTIFICATIONSHAKE": "Schütteln",
- "NOTIFICATIONSOUND": "Sound abspielen",
+ "NOTIFICATIONSHAKE": "Shake",
+ "NOTIFICATIONSOUND": "Klingen",
"NOTIFICATIONTEMPLATE": "Vorlage",
- "WAITFORTHEASSIGNEDAGENT": "Auf zugewiesenen Agenten warten",
+ "WAITFORTHEASSIGNEDAGENT": "Warte auf den zugewiesenen Agenten",
"EDIT_TAG": "Tag bearbeiten",
- "TAG": "Tag",
- "AGENTADD_FAXACCOUNT": "Agenten zum Fax-Konto hinzufügen",
- "AGENTTRANSFER": "Transfer an Agenten erlauben",
+ "TAG": "Etikett",
+ "AGENTADD_FAXACCOUNT": "Fügen Sie dem Faxkonto einen Agenten hinzu",
+ "AGENTTRANSFER": "Agent Transfer",
"AGENTTRANSFERTIMEOUT": "Zeitüberschreitung für Agententransfer",
- "QUEUETRANSFER": "Transfer in Warteschlange erlauben",
- "QUEUETRANSFERTIMEOUT": "Zeitüberschreitung für Warteschlangentransfer",
+ "QUEUETRANSFER": "Warteschlangenübertragung",
+ "QUEUETRANSFERTIMEOUT": "Warteschlangenübertragungs-Timeout",
"TRANSFER": "Transfer",
- "CANNEDANSWERS": "Textvorlagen",
- "DOWNLOAD_INTERACTION": "Interaktion herunterladen",
- "FAXCANNEDANSWERS": "Textvorlagen für Fax",
- "LOGIN_TIME": "Zeit angemeldet",
- "PAUSE_TIME": "Zeit in Pause",
- "TEAMS_ASSOCIATION": "Teamzuweisung",
- "MANDATORYDISPOSITION": "Qualifizierung erforderlich",
- "MANDATORYDISPOSITIONPAUSEID": "PausenID während Qualifizierung",
- "TOOLTIP_SCREENRECORDING_OFF": "Bildschiemaufzeichnung verfügbar",
- "TOOLTIP_SCREENRECORDING_ON": "Bildschirmaufzeichnung läuft",
- "DOWNLOAD_WITHOUT_ATTACHMENTS": "Herunterladen ohne Anhänge",
- "DOWNLOAD_WITH_ATTACHMENTS": "Herunterladen inkl. Anhänge",
+ "CANNEDANSWERS": "Vordefinierte Antworten",
+ "DOWNLOAD_INTERACTION": "Herunterladen",
+ "FAXCANNEDANSWERS": "Vordefinierte Antworten",
+ "LOGIN_TIME": "Login-Zeit",
+ "PAUSE_TIME": "Pausenzeit",
+ "TEAMS_ASSOCIATION": "Vereinigung der Mannschaften",
+ "MANDATORYDISPOSITION": "Zwingende Disposition",
+ "MANDATORYDISPOSITIONPAUSEID": "Status pausieren, wenn die Disposition obligatorisch ist",
+ "TOOLTIP_SCREENRECORDING_OFF": "Bildschirmaufnahme verfügbar",
+ "TOOLTIP_SCREENRECORDING_ON": "Bildschirmaufnahme läuft",
+ "DOWNLOAD_WITHOUT_ATTACHMENTS": "Download ohne Anhänge",
+ "DOWNLOAD_WITH_ATTACHMENTS": "Mit Anhängen herunterladen",
"LASTMESSAGE": "Letzte Nachricht"
}
}
diff --git a/public/app/main/apps/fax/i18n/nl.json b/public/app/main/apps/fax/i18n/nl.json
index 5eed611..1bff537 100644
--- a/public/app/main/apps/fax/i18n/nl.json
+++ b/public/app/main/apps/fax/i18n/nl.json
@@ -1,26 +1,26 @@
{
"FAX": {
- "TEAMADD_FAXQUEUE": "Team aan Fax wachtrij Toevoegen",
- "AGENTADD_FAXQUEUE": "Agent aan Fax wachtrij Toevoegen",
+ "TEAMADD_FAXQUEUE": "Voeg Team Fax wachtrij",
+ "AGENTADD_FAXQUEUE": "Voeg Agent Fax wachtrij",
"NAME": "Naam",
"FAXQUEUES": "Faxwachtrijen",
- "SEARCH_FOR_ANYONE": "Zoeken",
+ "SEARCH_FOR_ANYONE": "Zoeken voor iedereen",
"ERRORS": {
- "NAME_REQUIRED": "Verplicht veld",
- "AGENT_TIMEOUT_REQUIRED": "Verplicht veld",
- "MOTIONADDRESS_REQUIRED": "Verplicht veld",
- "MOTIONADDRESS_MUST_VALID_URL": "Verplicht veld",
- "LOCALSTATIONID_REQUIRED": "Verplicht veld",
- "MODEM_REQUIRED": "Verplicht veld",
- "GATEWAY_REQUIRED": "Verplicht veld",
- "FAXDETECT_REQUIRED": "Verplicht veld",
- "T38TIMEOUT_REQUIRED": "Verplicht veld",
- "TIMEOUT_REQUIRED": "Verplicht veld",
- "HEADERINFO_REQUIRED": "Verplicht veld",
- "TRUNK_REQUIRED": "Verplicht veld",
- "LIST_REQUIRED": "Verplicht veld",
+ "NAME_REQUIRED": "De naam is verplicht",
+ "AGENT_TIMEOUT_REQUIRED": "De Agent Timeout is vereist",
+ "MOTIONADDRESS_REQUIRED": "De Motion Adres is vereist.",
+ "MOTIONADDRESS_MUST_VALID_URL": "De Motion adres moet worden geschreven in een geldige indeling",
+ "LOCALSTATIONID_REQUIRED": "Het lokale station-id is vereist",
+ "MODEM_REQUIRED": "De modem vereist.",
+ "GATEWAY_REQUIRED": "De gateway is vereist",
+ "FAXDETECT_REQUIRED": "De Fax detectie is vereist",
+ "T38TIMEOUT_REQUIRED": "Het T.38 Timeout is vereist",
+ "TIMEOUT_REQUIRED": "De timeout is vereist",
+ "HEADERINFO_REQUIRED": "De header info zijn vereist",
+ "TRUNK_REQUIRED": "De kofferruimte is vereist",
+ "LIST_REQUIRED": "De lijst is vereist",
"KEY_MAX_LENGTH": "Sleutel moet een lengte gelijk aan {{max.}}",
- "KEY_REQUIRED": "Verplicht veld",
+ "KEY_REQUIRED": "De sleutel is vereist",
"AGENT_REQUIRED": "Verplicht veld",
"QUEUE_REQUIRED": "Verplicht veld",
"TRUEPRIORITY_REQUIRED": "Verplicht veld",
@@ -53,35 +53,35 @@
"MANDATORYDISPOSITIONPAUSEID_REQUIRED": "U moet een pauzestatus opgeven wanneer u zich in een verplichte opstelling bevindt"
},
"STRATEGY": "Strategie",
- "AGENT_TIMEOUT": "Time-out Agent",
+ "AGENT_TIMEOUT": "Time-out agent",
"DESCRIPTION": "Beschrijving",
- "ADD_FAXQUEUE": "Fax Wachtrij Toevoegen",
- "EDIT_FAXQUEUE": "Fax Wachtrij Bewerken",
- "DELETE_FAXQUEUE": "Fax Wachtrij Verwijderen",
+ "ADD_FAXQUEUE": "Voeg Fax wachtrij",
+ "EDIT_FAXQUEUE": "Edit Fax wachtrij",
+ "DELETE_FAXQUEUE": "Verwijder Fax wachtrij",
"CREATED_AT": "Gemaakt op",
"SAVE": "Opslaan",
"SETTINGS": "Instellingen",
"GENERAL": "Algemeen",
"FAXACCOUNTS": "Fax Accounts",
- "MOTIONADDRESS": "Motion Adres",
- "ADD_FAXACCOUNT": "Fax Account Toevoegen",
- "EDIT_FAXACCOUNT": "Fax Account Bewerken",
- "DELETE_FAXACCOUNT": "Fax Account Verwijderen",
+ "MOTIONADDRESS": "Motion adres",
+ "ADD_FAXACCOUNT": "Voeg Fax Account",
+ "EDIT_FAXACCOUNT": "Edit Fax Account",
+ "DELETE_FAXACCOUNT": "Verwijder Fax Account",
"DISPOSITIONS": "Dispositions",
"WEBHOOKS": "WebHooks",
"ACTIONS": "Acties",
"LIST": "Lijst",
"FIDELITY": "Hifi-geluid",
"ACCEPT": "Accepteren",
- "ACCEPTMETHOD": "Mehode Accepteren",
- "ACCEPTURL": "URL Sccepteren",
+ "ACCEPTMETHOD": "Accepteren methode",
+ "ACCEPTURL": "URL accepteren",
"REJECT": "Afwijzen",
"REJECTMETHOD": "Methode afwijzen",
"REJECTURL": "URL afwijzen",
"CLOSE": "Dicht",
- "CLOSEMETHOD": "Methode Sluiten",
- "CLOSEURL": "URL Sluiten",
- "TRUNK": "Trunk",
+ "CLOSEMETHOD": "Sluit methode",
+ "CLOSEURL": "Sluit URL",
+ "TRUNK": "Transmissielijn",
"LOCALSTATIONID": "Lokaal station Identifier",
"HELP": {
"LOCALSTATIONID": "Lokaal station Identifier (telefoonnummer).",
@@ -91,11 +91,11 @@
"FAXDETECT": "Fax inschakelen detectie met optionele timeout in seconden (ja/t38/CNG/[out]/NO).",
"T38TIMEOUT": "De time-out wordt gebruikt voor T.38 onderhandeling. De minimumwaarde is 1000.",
"ECM": "Fout Connection Mode (ECM).",
- "MINRATE": "Min overdrachtssnelheid instellen. Mogelijke waarden zijn: 2400, 4800, 7200, 9600, 12000 of 14400.",
+ "MINRATE": "Min overdrachtssnelheid instellen voordat de versnellingsbak. Mogelijke waarden zijn: 2400, 4800, 7200, 9600, 12000 of 14400.",
"MAXRATE": "Maximale overdrachtsnelheid ingesteld voor verzending. Mogelijke waarden zijn: 2400, 4800, 7200, 9600, 12000 of 14400.",
"NAME": "Alleen cijfers, letters en speciale tekens (_) worden ondersteund",
"MANDATORYDISPOSITION": "Verplichte regeling",
- "MANDATORYDISPOSITIONPAUSEID": "Pauzestatus voor verplichte Dispositie"
+ "MANDATORYDISPOSITIONPAUSEID": "Pauzestatus voor verplichte dispositie"
},
"ADVANCED": "Geavanceerd",
"ECM": "ECM",
@@ -108,36 +108,36 @@
"SIP": "Technologie",
"HEADERINFO": "Header Info",
"SELECTED": "Geselecteerd",
- "SELECT_ALL": "Selecteer Alles",
- "SELECT_NONE": "Selecteer Geen",
+ "SELECT_ALL": "Alles selecteren",
+ "SELECT_NONE": "Selecteer None (Geen).",
"BACK": "Terug",
"FAX": "Fax",
"ID": "Id",
"TIMEOUT": "Timeout",
- "FAXDISPOSITIONS": "Fax Disposities",
- "NO_FAXDISPOSITION_AVAILABLE": "Geen Fax Disposities beschikbaar",
- "NEW_FAXDISPOSITION": "Nieuwe Fax Dispositie",
+ "FAXDISPOSITIONS": "Fax dispositieven",
+ "NO_FAXDISPOSITION_AVAILABLE": "Geen Fax Dispositieven beschikbaar",
+ "NEW_FAXDISPOSITION": "Nieuwe fax dispositie",
"ADD_FAXDISPOSITION": "Voeg Fax dispositie",
- "EDIT_FAXDISPOSITION": "Edit Fax Dispositie",
- "DELETE_FAXDISPOSITION": "Verwijder Fax Dispositie",
- "NEW_FAXQUEUE": "Nieuwe Fax Wachtrij",
- "NEW_FAXACCOUNT": "Nieuw Fax Account",
+ "EDIT_FAXDISPOSITION": "Edit Fax dispositie",
+ "DELETE_FAXDISPOSITION": "Verwijder Fax dispositie",
+ "NEW_FAXQUEUE": "Nieuwe fax wachtrij",
+ "NEW_FAXACCOUNT": "Nieuwe fax Account",
"NO_AVAILABLE_INFO": "Geen beschikbare informatie",
- "ALL_TEAMS": "Alle Teams",
- "SELECTED_TEAMS": "Geselecteerde Teams",
+ "ALL_TEAMS": "Alle teams",
+ "SELECTED_TEAMS": "Geselecteerde teams",
"PAGE": "Pagina",
"ROWSPERPAGE": "Rijen per pagina",
"OF": "Van",
"DELETE": "Verwijderen",
"KEY": "Sleutel",
"ALL_AGENTS": "Alle gebruikers zijn agenten",
- "SELECTED_AGENTS": "Geselecteerde Agenten",
+ "SELECTED_AGENTS": "Geselecteerde agenten",
"FILTER": "Filter",
"SELECT_STATUS": "Selecteer Status.",
"ALL": "Alle",
"CLOSED": "Gesloten",
"OPENED": "Geopend",
- "SELECT_ACCOUNT": "Selecteer Account",
+ "SELECT_ACCOUNT": "Account selecteren",
"INTERACTIONS": "Interacties",
"CONTACT": "Neem contact op met",
"STARTEDAT": "Gestart op",
@@ -172,13 +172,13 @@
"TRUEPRIORITY": "Echte prioriteit",
"FALSEPRIORITY": "False prioriteit",
"VALUE": "Waarde",
- "EDIT_AGENT": "Agent Bewerken",
- "EDIT_GOTO": "Ga naar Bewerken",
+ "EDIT_AGENT": "Edit Agent",
+ "EDIT_GOTO": "Ga naar bewerken",
"EDIT_NOOP": "Noop bewerken",
"EDIT_GOTOP": "GotoP bewerken",
"EDIT_GOTOIF": "GotoIf bewerken",
- "EDIT_QUEUE": "Fax wachtrij Bewerken",
- "EDIT_CLOSE": "Bewerken Sluiten",
+ "EDIT_QUEUE": "Edit Fax wachtrij",
+ "EDIT_CLOSE": "Edit dicht",
"QUEUE": "Wachtrij",
"GOTOIF": "GotoIf",
"GOTOP": "GotoP",
@@ -189,12 +189,12 @@
"DISPOSITION": "Afvoeren",
"REALTIME": "Realtime",
"UNKNOWN": "Onbekend",
- "UNREGISTERED": "Niet geregistreerd",
+ "UNREGISTERED": "Unregistered",
"UNAVAILABLE": "Niet beschikbaar",
"NOT_INUSE": "Niet in gebruik",
"REACHABLE": "Bereikbaar",
"IN_USE": "In gebruik",
- "VOICE": "Telefonie",
+ "VOICE": "Spraak",
"CHAT": "Chat",
"MAIL": "Mail",
"SMS": "SMS",
@@ -222,13 +222,13 @@
"REFRESH_INTERACTIONS": "Interacties vernieuwen",
"NO_FAXCANNEDANSWER_AVAILABLE": "Geen ingeblikte antwoorden beschikbaar",
"NEW_FAXCANNEDANSWER": "Nieuw ingebouwd antwoord",
- "ADD_FAXCANNEDANSWER": "Standaard antwoord Toevoegen",
- "EDIT_CHATCANNEDANSWER": "Standaard antwoord bewerken",
- "DELETE_CHATCANNEDANSWER": "Standaard antwoord verwijderen",
+ "ADD_FAXCANNEDANSWER": "Voeg ingebed antwoord toe",
+ "EDIT_CHATCANNEDANSWER": "Ingebouwd antwoord bewerken",
+ "DELETE_CHATCANNEDANSWER": "Ingebouwd antwoord verwijderen",
"SPYINTERACTION": "Spion",
- "DELETE_INTERACTION": "Interactie Verwijderen",
+ "DELETE_INTERACTION": "Interactie verwijderen",
"COMMAND": "Opdracht",
- "EDIT_SYSTEM": "Systeem Bewerken",
+ "EDIT_SYSTEM": "Systeem bewerken",
"SYSTEM": "Systeem",
"VARIABLE": "veranderlijk",
"NOTIFICATION": "Kennisgeving",
@@ -236,17 +236,17 @@
"NOTIFICATIONSOUND": "Geluid",
"NOTIFICATIONTEMPLATE": "Sjabloon",
"WAITFORTHEASSIGNEDAGENT": "Wacht op de toegewezen agent",
- "EDIT_TAG": "Label Bewerken",
+ "EDIT_TAG": "Bewerk label",
"TAG": "Label",
- "AGENTADD_FAXACCOUNT": "Agent aan faxaccount Toevoegen",
+ "AGENTADD_FAXACCOUNT": "Agent toevoegen aan faxaccount",
"AGENTTRANSFER": "Agent Transfer",
"AGENTTRANSFERTIMEOUT": "Agent Transfer Timeout",
"QUEUETRANSFER": "Wachtrijoverdracht",
"QUEUETRANSFERTIMEOUT": "Wachtrij Transfer Timeout",
"TRANSFER": "Overdracht",
- "CANNEDANSWERS": "Standaard antwoorden",
+ "CANNEDANSWERS": "Ingeblikte antwoorden",
"DOWNLOAD_INTERACTION": "Download",
- "FAXCANNEDANSWERS": "Standaard antwoorden",
+ "FAXCANNEDANSWERS": "Ingeblikte antwoorden",
"LOGIN_TIME": "Aanmeldtijd",
"PAUSE_TIME": "Pauzetijd",
"TEAMS_ASSOCIATION": "Teams Association",
diff --git a/public/app/main/apps/fax/i18n/pt-BR.json b/public/app/main/apps/fax/i18n/pt-BR.json
index 3b562c6..0b91115 100644
--- a/public/app/main/apps/fax/i18n/pt-BR.json
+++ b/public/app/main/apps/fax/i18n/pt-BR.json
@@ -41,7 +41,7 @@
"PARTIALPAUSE": "Pausa Parcial",
"BUSY": "Ocupado",
"TIMER": "Tempo",
- "IDLE": "Ocioso",
+ "IDLE": "DisponÃvel",
"CAPACITY": "Capacidade",
"GOTO_FAXACCOUNT": "Ir para fax em tempo real",
"ACCOUNTS": "Contas",
diff --git a/public/app/main/apps/help/i18n/pt-BR.json b/public/app/main/apps/help/i18n/pt-BR.json
index 3f58330..86fc6e0 100644
--- a/public/app/main/apps/help/i18n/pt-BR.json
+++ b/public/app/main/apps/help/i18n/pt-BR.json
@@ -1,8 +1,8 @@
{
"HELP": {
"ABOUT": "Sobre",
- "CONTACT_US": "Contate-Nos",
+ "CONTACT_US": "Fale conosco",
"HELP": "Ajuda",
- "USEFUL_LINKS": "Links Ãteis"
+ "USEFUL_LINKS": "Links úteis"
}
}
diff --git a/public/app/main/apps/integrations/i18n/nl.json b/public/app/main/apps/integrations/i18n/nl.json
index f907009..387af87 100644
--- a/public/app/main/apps/integrations/i18n/nl.json
+++ b/public/app/main/apps/integrations/i18n/nl.json
@@ -8,42 +8,42 @@
"URI": "URL",
"BACK": "Terug",
"SELECTED": "Geselecteerd",
- "SELECT_ALL": "Selecteer Alles",
- "SELECT_NONE": "Selecteer Geen",
- "EDIT_ZENDESKACCOUNT": "Zendesk Account Bewerken",
- "DELETE_ZENDESKACCOUNT": "Zendesk Account Verwijderen",
- "NEW_ZENDESKACCOUNT": "Nieuw Zendesk Account",
+ "SELECT_ALL": "Alles selecteren",
+ "SELECT_NONE": "Selecteer None (Geen).",
+ "EDIT_ZENDESKACCOUNT": "Edit Zendesk Account",
+ "DELETE_ZENDESKACCOUNT": "Verwijder Zendesk Account",
+ "NEW_ZENDESKACCOUNT": "Nieuwe Zendesk Account",
"AUTHTYPE": "Authentication Type (Verificatietype)",
"PASSWORD": "Wachtwoord",
- "CONFIRM_PASSWORD": "Wachtwoord Bevestigen",
+ "CONFIRM_PASSWORD": "Wachtwoord bevestigen",
"TOKEN": "Token",
- "MOTIONPROXYADDRESS": "Motion of Proxy IP Adres",
+ "MOTIONPROXYADDRESS": "Beweging of Proxy IP Adres",
"DESCRIPTION": "Beschrijving",
- "ADD_ZENDESKACCOUNT": "Zendesk Account Toevoegen",
+ "ADD_ZENDESKACCOUNT": "Voeg Zendesk Account",
"ERRORS": {
- "NAME_REQUIRED": "Verplicht veld",
- "USERNAME_REQUIRED": "Verplicht veld",
- "URI_REQUIRED": "Verplicht veld",
+ "NAME_REQUIRED": "De naam is verplicht",
+ "USERNAME_REQUIRED": "De gebruikersnaam is vereist",
+ "URI_REQUIRED": "De URL is vereist",
"URI_MUST_VALID_URL": "De URL (Uniform Resource Identifier) moet worden geschreven in een geldige indeling",
- "PASSWORD_REQUIRED": "Verplicht veld",
- "CONFIRM_NOT_MATCH": "De wachtwoorden komen niet overeen",
+ "PASSWORD_REQUIRED": "Het wachtwoord is vereist",
+ "CONFIRM_NOT_MATCH": "De wachtwoorden Don' t match",
"TOKEN_REQUIRED": "Het token is vereist",
"MOTIONPROXYADDRESS_MUST_VALID_URL": "Het adres moet worden geschreven in een geldige indeling",
"CLIENTID_REQUIRED": "De klant-ID is vereist.",
"CLIENTSECRET_REQUIRED": "De Cliënt geheim is vereist",
"SECURITYTOKEN_REQUIRED": "De Security token is vereist",
- "APIKEY_REQUIRED": "Verplicht veld",
- "CONTENT_REQUIRED": "Verplicht veld",
- "VARIABLENAME_REQUIRED": "Verplicht veld",
- "KEY_REQUIRED": "Verplicht veld",
- "TYPE_REQUIRED": "Verplicht veld",
- "VALUE_REQUIRED": "Verplicht veld",
- "FIELD_REQUIRED": "Verplicht veld",
- "CONSUMERKEY_REQUIRED": "Verplicht veld",
- "CONSUMERSECRET_REQUIRED": "Verplicht veld",
- "TOKENSECRET_REQUIRED": "Verplicht veld",
- "HOST_REQUIRED": "Verplicht veld",
- "AUTHTOKEN_REQUIRED": "Verplicht veld",
+ "APIKEY_REQUIRED": "De API Key nodig",
+ "CONTENT_REQUIRED": "De inhoud is vereist",
+ "VARIABLENAME_REQUIRED": "De variabele is vereist",
+ "KEY_REQUIRED": "De sleutel is vereist",
+ "TYPE_REQUIRED": "Het type is vereist",
+ "VALUE_REQUIRED": "De waarde is vereist",
+ "FIELD_REQUIRED": "Het is een verplicht veld",
+ "CONSUMERKEY_REQUIRED": "De consument sleutel is vereist",
+ "CONSUMERSECRET_REQUIRED": "De consument geheim is vereist",
+ "TOKENSECRET_REQUIRED": "Het token geheim is vereist",
+ "HOST_REQUIRED": "De host is vereist",
+ "AUTHTOKEN_REQUIRED": "De exporteur Token is vereist",
"ACCESS_KEY_REQUIRED": "Verplicht veld",
"VTIGER_USER_NAME_REQUIRED": "Verplicht veld",
"TENANTID_REQUIRED": "Verplicht veld",
@@ -74,70 +74,70 @@
"GENERAL": "Algemeen",
"CREATED_AT": "Gemaakt op",
"SAVE": "Opslaan",
- "NO_ZENDESKCONFIGURATION_AVAILABLE": "Geen Zendesk configuraties beschikbaar",
+ "NO_ZENDESKCONFIGURATION_AVAILABLE": "Nee Zendesk configuraties beschikbaar",
"NEW_ZENDESKCONFIGURATION": "Nieuwe Zendesk configuratie",
- "ADD_ZENDESKCONFIGURATION": "Zendesk configuratie Toevoegen",
- "EDIT_ZENDESKCONFIGURATION": "Zendesk configuratie Bewerken",
- "DELETE_ZENDESKCONFIGURATION": "Zendesk configuratie Verwijderen",
+ "ADD_ZENDESKCONFIGURATION": "Voeg Zendesk configuratie",
+ "EDIT_ZENDESKCONFIGURATION": "Edit Zendesk configuratie",
+ "DELETE_ZENDESKCONFIGURATION": "Verwijder Zendesk configuratie",
"NO_SALESFORCECONFIGURATION_AVAILABLE": "Geen Salesforce-configuraties beschikbaar",
"NEW_SALESFORCECONFIGURATION": "Nieuwe Salesforce-configuratie",
- "ADD_SALESFORCECONFIGURATION": "Salesforce-configuratie Toevoegen",
- "EDIT_SALESFORCECONFIGURATION": "Salesforce-configuratie Bewerken",
- "DELETE_SALESFORCECONFIGURATION": "Salesforce-configuratie Verwijderen",
- "NO_SUGARCRMCONFIGURATION_AVAILABLE": "Geen SugarCRM configuraties beschikbaar",
+ "ADD_SALESFORCECONFIGURATION": "Voeg Salesforce-configuratie",
+ "EDIT_SALESFORCECONFIGURATION": "Edit Salesforce-configuratie",
+ "DELETE_SALESFORCECONFIGURATION": "Verwijder Salesforce-configuratie",
+ "NO_SUGARCRMCONFIGURATION_AVAILABLE": "Nee SugarCRM configuraties beschikbaar",
"NEW_SUGARCRMCONFIGURATION": "Nieuwe SugarCRM Configuratie",
- "ADD_SUGARCRMCONFIGURATION": "SugarCRM Configuratie Toevoegen",
- "EDIT_SUGARCRMCONFIGURATION": "SugarCRM Configuratie Bewerken",
- "DELETE_SUGARCRMCONFIGURATION": "SugarCRM Configuratie Verwijderen",
- "NO_FRESHDESKCONFIGURATION_AVAILABLE": "Geen Freshdesk configuraties beschikbaar",
+ "ADD_SUGARCRMCONFIGURATION": "Voeg SugarCRM Configuratie",
+ "EDIT_SUGARCRMCONFIGURATION": "Edit SugarCRM Configuratie",
+ "DELETE_SUGARCRMCONFIGURATION": "Verwijder SugarCRM Configuratie",
+ "NO_FRESHDESKCONFIGURATION_AVAILABLE": "Nee Freshdesk configuraties beschikbaar",
"NEW_FRESHDESKCONFIGURATION": "Nieuwe Freshdesk configuratie",
- "ADD_FRESHDESKCONFIGURATION": "Freshdesk configuratie Toevoegen",
- "EDIT_FRESHDESKCONFIGURATION": "Freshdesk configuratie Bewerken",
- "DELETE_FRESHDESKCONFIGURATION": "Freshdesk configuratie Verwijderen",
+ "ADD_FRESHDESKCONFIGURATION": "Voeg Freshdesk configuratie",
+ "EDIT_FRESHDESKCONFIGURATION": "Edit Freshdesk configuratie",
+ "DELETE_FRESHDESKCONFIGURATION": "Verwijder Freshdesk configuratie",
"SALESFORCEACCOUNTS": "Salesforce-accounts",
- "EDIT_SALESFORCEACCOUNT": "Salesforce-account Bewerken",
- "DELETE_SALESFORCEACCOUNT": "Salesforce-account Verwijderen",
- "NEW_SALESFORCEACCOUNT": "Nieuw Salesforce-account",
- "ADD_SALESFORCEACCOUNT": "Salesforce-account Toevoegen",
+ "EDIT_SALESFORCEACCOUNT": "Edit Salesforce-account",
+ "DELETE_SALESFORCEACCOUNT": "Verwijder Salesforce-account",
+ "NEW_SALESFORCEACCOUNT": "Nieuwe Salesforce-account",
+ "ADD_SALESFORCEACCOUNT": "Voeg Salesforce-account",
"CLIENTID": "Klantnr.",
"CLIENTSECRET": "Opdrachtgever geheim",
"SECURITYTOKEN": "Beveiligingstoken",
"SEARCH_FOR_ANYONE": "Zoeken voor iedereen",
"APIKEY": "Api-sleutel",
"FRESHDESKACCOUNTS": "Freshdesk Accounts",
- "EDIT_FRESHDESKACCOUNT": "Freshdesk Account Bewerken",
- "DELETE_FRESHDESKACCOUNT": "Freshdesk Account Verwijderen",
- "NEW_FRESHDESKACCOUNT": "Nieuw Freshdesk Account",
- "ADD_FRESHDESKACCOUNT": "Freshdesk Account Toevoegen",
+ "EDIT_FRESHDESKACCOUNT": "Edit Freshdesk Account",
+ "DELETE_FRESHDESKACCOUNT": "Verwijder Freshdesk Account",
+ "NEW_FRESHDESKACCOUNT": "Nieuwe Freshdesk Account",
+ "ADD_FRESHDESKACCOUNT": "Voeg Freshdesk Account",
"SUGARCRMACCOUNTS": "SugarCRM Accounts",
- "EDIT_SUGARCRMACCOUNT": "SugarCRM Account Bewerken",
- "DELETE_SUGARCRMACCOUNT": "SugarCRM Account Verwijderen",
- "NEW_SUGARCRMACCOUNT": "Nieuw SugarCRM Account",
- "ADD_SUGARCRMACCOUNT": "SugarCRM Account Toevoegen",
+ "EDIT_SUGARCRMACCOUNT": "Edit SugarCRM Account",
+ "DELETE_SUGARCRMACCOUNT": "Verwijder SugarCRM Account",
+ "NEW_SUGARCRMACCOUNT": "Nieuwe SugarCRM Account",
+ "ADD_SUGARCRMACCOUNT": "Voeg SugarCRM Account",
"CONFIGURATIONS": "Configuraties",
"NO_CONFIGURATION_AVAILABLE": "Geen configuraties beschikbaar",
"NEW_CONFIGURATION": "Nieuwe configuratie",
- "ADD_CONFIGURATION": "Dialoogvenster Configuratie Toevoegen",
- "EDIT_CONFIGURATION": "Configuratie Bewerken",
- "DELETE_CONFIGURATION": "Configuratie Verwijderen",
+ "ADD_CONFIGURATION": "Dialoogvenster Configuratie toevoegen",
+ "EDIT_CONFIGURATION": "Configuratie bewerken",
+ "DELETE_CONFIGURATION": "Configuratie verwijderen",
"SUBJECTS": "Onderwerpen",
"DESCRIPTIONS": "Beschrijvingen",
"FIELDS": "Velden",
"TAGS": "Tags",
"TYPE": "Type",
"CONTENT": "Inhoud",
- "EDIT_SUBJECT": "Onderwerp Bewerken",
- "DELETE_SUBJECT": "Onderwerp Verwijderen",
+ "EDIT_SUBJECT": "Onderwerp bewerken",
+ "DELETE_SUBJECT": "Onderwerp verwijderen",
"NEW_SUBJECT": "Nieuw onderwerp",
- "ADD_SUBJECT": "Onderwerp Toevoegen",
- "EDIT_DESCRIPTION": "Beschrijving Bewerken",
- "DELETE_DESCRIPTION": "Beschrijving Verwijderen",
+ "ADD_SUBJECT": "Onderwerp toevoegen",
+ "EDIT_DESCRIPTION": "Edit description (beschrijving bewerken)",
+ "DELETE_DESCRIPTION": "Beschrijving verwijderen",
"NEW_DESCRIPTION": "Nieuwe beschrijving",
- "ADD_DESCRIPTION": "Beschrijving Toevoegen",
- "EDIT_FIELD": "Invoerveld Bewerken",
- "DELETE_FIELD": "Veld Verwijderen",
+ "ADD_DESCRIPTION": "Voeg de beschrijving",
+ "EDIT_FIELD": "Invoerveld",
+ "DELETE_FIELD": "Veld wissen",
"NEW_FIELD": "Nieuw veld",
- "ADD_FIELD": "Veld Toevoegen",
+ "ADD_FIELD": "Veld toevoegen",
"ADD": "Toevoegen",
"VOICE": "Spraak",
"MAIL": "Mail",
@@ -159,28 +159,28 @@
"INTEGRATION_TAB": "Tabblad integratie",
"NEW_TAB": "Nieuw tabblad",
"DESKACCOUNTS": "Bureau Accounts",
- "EDIT_DESKACCOUNT": "Desk Account Bewerken",
+ "EDIT_DESKACCOUNT": "Edit Desk Account",
"TEST_DESKACCOUNT": "Test Desk Account",
- "DELETE_DESKACCOUNT": "Desk Account Verwijderen",
+ "DELETE_DESKACCOUNT": "Verwijder Desk Account",
"CONSUMERKEY": "Toets voor consumenten",
"CONSUMERSECRET": "Consument geheim",
"TOKENSECRET": "Token geheim",
- "ADD_DESKACCOUNT": "Desk Account Toevoegen",
- "NEW_DESKACCOUNT": "Nieuw Desk Account",
- "ADD_DESKCONFIGURATION": "Desk-configuratie Toevoegen",
+ "ADD_DESKACCOUNT": "Voeg Desk Account",
+ "NEW_DESKACCOUNT": "Nieuwe Desk Account",
+ "ADD_DESKCONFIGURATION": "Voeg Desk-configuratie",
"NEW_DESKCONFIGURATION": "Nieuwe Desk-configuratie",
- "DELETE_DESKCONFIGURATION": "Desk-configuratie Verwijderen",
+ "DELETE_DESKCONFIGURATION": "Verwijder Desk-configuratie",
"ZOHOACCOUNTS": "Zoho Accounts",
- "EDIT_ZOHOACCOUNT": "Zoho Account Bewerken",
+ "EDIT_ZOHOACCOUNT": "Edit Zoho Account",
"TEST_ZOHOACCOUNT": "Test Zoho Account",
- "DELETE_ZOHOACCOUNT": "Zoho Account Verwijderen",
- "ADD_ZOHOACCOUNT": "Zoho Account Toevoegen",
- "NEW_ZOHOACCOUNT": "Nieuw Zoho Account",
- "ADD_ZOHOCONFIGURATION": "Zoho configuratie Toevoegen",
+ "DELETE_ZOHOACCOUNT": "Verwijder Zoho Account",
+ "ADD_ZOHOACCOUNT": "Voeg Zoho Account",
+ "NEW_ZOHOACCOUNT": "Nieuwe Zoho Account",
+ "ADD_ZOHOCONFIGURATION": "Voeg Zoho configuratie",
"NEW_ZOHOCONFIGURATION": "Nieuwe Zoho configuratie",
"AUTHTOKEN": "Autorisatie Token",
"HOST": "Host",
- "DELETE_ZOHOCONFIGURATION": "Zoho configuratie Verwijderen",
+ "DELETE_ZOHOCONFIGURATION": "Verwijder Zoho configuratie",
"PAGE": "Pagina",
"ROWSPERPAGE": "Rijen per pagina",
"OF": "Van",
@@ -188,38 +188,38 @@
"MODULE_SEARCH": "Module zoeken",
"MODULE_CREATE": "Module aanmaken",
"ACCESS_KEY": "vTiger Toegangssleutel",
- "ADD_VTIGERACCOUNT": "vTiger-account Toevoegen",
- "ADD_VTIGERCONFIGURATION": "vTiger-configuratie Toevoegen",
- "DELETE_VTIGERACCOUNT": "vTiger Account Verwijderen",
- "DELETE_VTIGERCONFIGURATION": "vTiger-configuratie Verwijderen",
- "EDIT_VTIGERACCOUNT": "vTiger-account Bewerken",
+ "ADD_VTIGERACCOUNT": "Voeg een nieuw vTiger-account toe",
+ "ADD_VTIGERCONFIGURATION": "Voeg vTiger-configuratie toe",
+ "DELETE_VTIGERACCOUNT": "Verwijder vTiger Account",
+ "DELETE_VTIGERCONFIGURATION": "Verwijder vTiger-configuratie",
+ "EDIT_VTIGERACCOUNT": "Bewerk vTiger-account",
"MODULE_NAME": "vTiger Module naam",
"NEW_VTIGERACCOUNT": "Nieuw vTiger-account",
- "NEW_VTIGERCONFIGURATION": "Nieuwe vTiger-configuratie",
+ "NEW_VTIGERCONFIGURATION": "Maak vTiger-configuratie",
"TEST_VTIGERACCOUNT": "Test vTiger-account",
"VTIGERACCOUNTS": "vTiger-accounts",
"VTIGER_USER_NAME": "vTiger-gebruikersnaam",
- "ADD_DYNAMICS365ACCOUNT": "Dynamics365-account Toevoegen",
- "ADD_DYNAMICS365CONFIGURATION": "Dynamics365-configuratie Toevoegen",
+ "ADD_DYNAMICS365ACCOUNT": "Voeg een nieuw Dynamics365-account toe",
+ "ADD_DYNAMICS365CONFIGURATION": "Dynamics365-configuratie toevoegen",
"CASE": "Geval",
- "DELETE_DYNAMICS365ACCOUNT": "Dynamics365-account Verwijderen",
- "DELETE_DYNAMICS365CONFIGURATION": "Dynamics365-configuratie Verwijderen",
+ "DELETE_DYNAMICS365ACCOUNT": "Dynamics365-account verwijderen",
+ "DELETE_DYNAMICS365CONFIGURATION": "Dynamics365-configuratie verwijderen",
"DYNAMICS365ACCOUNTS": "Dynamics365-accounts",
- "EDIT_DYNAMICS365ACCOUNT": "Dynamics365-account Bewerken",
+ "EDIT_DYNAMICS365ACCOUNT": "Dynamics365-account bewerken",
"NEW_DYNAMICS365ACCOUNT": "Nieuw Dynamics365-account",
- "NEW_DYNAMICS365CONFIGURATION": "Nieuwe Dynamics365-configuratie",
+ "NEW_DYNAMICS365CONFIGURATION": "Maak een Dynamics365-configuratie",
"PHONECALL": "Telefoongesprek",
"TENANTID": "Huurder-ID",
"TEST_DYNAMICS365ACCOUNT": "Test Dynamics365-account",
"TICKETTYPE": "Tickettype",
- "ADD_SERVICENOWACCOUNT": "Nieuw ServiceNow-account Toevoegen",
- "ADD_SERVICENOWCONFIGURATION": "ServiceNow-configuratie Toevoegen",
- "DELETE_SERVICENOWACCOUNT": "ServiceNow-account Verwijderen",
- "DELETE_SERVICENOWCONFIGURATION": "ServiceNow-configuratie Verwijderen",
- "EDIT_SERVICENOWACCOUNT": "ServiceNow-account Bewerken",
+ "ADD_SERVICENOWACCOUNT": "Nieuw ServiceNow-account toevoegen",
+ "ADD_SERVICENOWCONFIGURATION": "ServiceNow-configuratie toevoegen",
+ "DELETE_SERVICENOWACCOUNT": "ServiceNow-account verwijderen",
+ "DELETE_SERVICENOWCONFIGURATION": "ServiceNow-configuratie verwijderen",
+ "EDIT_SERVICENOWACCOUNT": "ServiceNow-account bewerken",
"EMAIL": "E-mail",
"NEW_SERVICENOWACCOUNT": "Nieuw ServiceNow-account",
- "NEW_SERVICENOWCONFIGURATION": "Nieuw ServiceNow-configuratie",
+ "NEW_SERVICENOWCONFIGURATION": "Maak ServiceNow-configuratie",
"SERVICENOWACCOUNTS": "ServiceNow Accounts",
"TEST_SERVICENOWACCOUNT": "Test ServiceNow Account",
"TASK": "Taak",
@@ -229,12 +229,12 @@
"CONTACTS": "Contact",
"LEADS": "Lood",
"MODULECREATE": "Module maken",
- "ADD_FRESHSALESACCOUNT": "Freshsales-account Toevoegen",
- "ADD_FRESHSALESCONFIGURATION": "Freshsales-configuratie Toevoegen",
- "DELETE_FRESHSALESACCOUNT": "Freshsales-account Verwijderen",
- "DELETE_FRESHSALESCONFIGURATION": "Freshsales Configuration Verwijderen",
- "EDIT_FRESHSALESACCOUNT": "Freshsales-account Bewerken",
- "EDIT_FRESHSALESCONFIGURATION": "Freshsales-configuratie Bewerken",
+ "ADD_FRESHSALESACCOUNT": "Voeg Freshsales-account toe",
+ "ADD_FRESHSALESCONFIGURATION": "Voeg Freshsales-configuratie toe",
+ "DELETE_FRESHSALESACCOUNT": "Freshsales-account verwijderen",
+ "DELETE_FRESHSALESCONFIGURATION": "Verwijder Freshsales Configuration",
+ "EDIT_FRESHSALESACCOUNT": "Bewerk Freshsales-account",
+ "EDIT_FRESHSALESCONFIGURATION": "Bewerk Freshsales-configuratie",
"FRESHSALESACCOUNTS": "Freshsales Accounts",
"NEW_FRESHSALESACCOUNT": "Nieuw Freshsales-account",
"NEW_FRESHSALESCONFIGURATION": "Nieuwe Freshsales-configuratie",
diff --git a/public/app/main/apps/integrations/i18n/pt-BR.json b/public/app/main/apps/integrations/i18n/pt-BR.json
index 7c99ef6..66c41f9 100644
--- a/public/app/main/apps/integrations/i18n/pt-BR.json
+++ b/public/app/main/apps/integrations/i18n/pt-BR.json
@@ -161,18 +161,18 @@
"TEST_SALESFORCEACCOUNT": "Testar conta do Salesforce",
"INTEGRATION_TAB": "Guia Integração",
"NEW_TAB": "Nova aba",
- "DESKACCOUNTS": "Contas de mesa",
- "EDIT_DESKACCOUNT": "Editar conta de mesa",
- "TEST_DESKACCOUNT": "Conta de teste de mesa",
- "DELETE_DESKACCOUNT": "Excluir conta de mesa",
+ "DESKACCOUNTS": "Contas Desk.com",
+ "EDIT_DESKACCOUNT": "Editar conta Desk.com",
+ "TEST_DESKACCOUNT": "Testar conta Desk.com",
+ "DELETE_DESKACCOUNT": "Excluir conta Desk.com",
"CONSUMERKEY": "Chave do consumidor",
"CONSUMERSECRET": "Consumidor secreto",
"TOKENSECRET": "Segredo do Token",
- "ADD_DESKACCOUNT": "Adicionar conta de mesa",
- "NEW_DESKACCOUNT": "Nova conta de mesa",
- "ADD_DESKCONFIGURATION": "Adicionar configuração de mesa",
- "NEW_DESKCONFIGURATION": "Nova configuração de mesa",
- "DELETE_DESKCONFIGURATION": "Excluir configuração da mesa",
+ "ADD_DESKACCOUNT": "Adicionar conta Desk.com",
+ "NEW_DESKACCOUNT": "Nova conta Desk.com",
+ "ADD_DESKCONFIGURATION": "Adicionar configuração Desk.com",
+ "NEW_DESKCONFIGURATION": "Nova configuração Desk.com",
+ "DELETE_DESKCONFIGURATION": "Excluir configuração Desk.com",
"ZOHOACCOUNTS": "Contas Zoho",
"EDIT_ZOHOACCOUNT": "Editar conta Zoho",
"TEST_ZOHOACCOUNT": "Testar Conta Zoho",
@@ -230,16 +230,16 @@
"LEADS": "Conduzir",
"MODULECREATE": "Criar módulo",
"ADD_FRESHSALESACCOUNT": "Adicionar conta Freshsales",
- "ADD_FRESHSALESCONFIGURATION": "Adicionar configuração de vendas frescas",
+ "ADD_FRESHSALESCONFIGURATION": "Adicionar configuração Freshsales",
"DELETE_FRESHSALESACCOUNT": "Excluir conta Freshsales",
- "DELETE_FRESHSALESCONFIGURATION": "Excluir configuração de vendas recentes",
- "EDIT_FRESHSALESACCOUNT": "Editar conta de vendas frescas",
- "EDIT_FRESHSALESCONFIGURATION": "Editar configuração de vendas frescas",
- "FRESHSALESACCOUNTS": "Contas de vendas frescas",
- "NEW_FRESHSALESACCOUNT": "Nova conta de vendas frescas",
- "NEW_FRESHSALESCONFIGURATION": "Nova configuração de vendas frescas",
- "NO_FRESHSALESCONFIGURATION_AVAILABLE": "Nenhuma configuração de vendas frescas disponÃvel",
- "TEST_FRESHSALESACCOUNT": "Conta de teste de vendas frescas",
+ "DELETE_FRESHSALESCONFIGURATION": "Excluir configuração Freshsales",
+ "EDIT_FRESHSALESACCOUNT": "Editar conta Freshsales",
+ "EDIT_FRESHSALESCONFIGURATION": "Editar configuração Freshsales",
+ "FRESHSALESACCOUNTS": "Contas Freshsales",
+ "NEW_FRESHSALESACCOUNT": "Nova conta Freshsales",
+ "NEW_FRESHSALESCONFIGURATION": "Nova configuração Freshsales",
+ "NO_FRESHSALESCONFIGURATION_AVAILABLE": "Nenhuma configuração Freshsales disponÃvel",
+ "TEST_FRESHSALESACCOUNT": "Testar conta Freshsales",
"ADDITIONALSEARCHACCOUNT": "Conta de pesquisa adicional",
"ADDITIONALSEARCHCONTACT": "Contato de pesquisa adicional",
"ADDITIONALSEARCHLEAD": "Lead de pesquisa adicional",
diff --git a/public/app/main/apps/jscripty/i18n/de.json b/public/app/main/apps/jscripty/i18n/de.json
index 25c5da4..40b33e8 100644
--- a/public/app/main/apps/jscripty/i18n/de.json
+++ b/public/app/main/apps/jscripty/i18n/de.json
@@ -1,17 +1,17 @@
{
"JSCRIPTY": {
"NAME": "Name",
- "SEARCH_FOR_ANYONE": "Suche",
+ "SEARCH_FOR_ANYONE": "Suche für Jedermann",
"BACK": "Zurück",
- "SELECTED": "Ausgewählt",
- "SELECT_ALL": "Alles auswählen",
- "SELECT_NONE": "Nichts auswählen",
+ "SELECTED": "Ausgewählte",
+ "SELECT_ALL": "Alle auswählen",
+ "SELECT_NONE": "Wählen Sie \"Keine\"",
"DESCRIPTION": "Beschreibung",
"ERRORS": {
- "NAME_REQUIRED": "Name erforderlich",
- "PROJECT_REQUIRED": "Projekt erforderlich",
- "FIELD_REQUIRED": "Feld erforderlich",
- "NAME_MUST_VALID_PATTERN": "Ungültiges Format Name"
+ "NAME_REQUIRED": "Der Name ist erforderlich",
+ "PROJECT_REQUIRED": "Das Projekt ist erforderlich",
+ "FIELD_REQUIRED": "Das Feld ist erforderlich.",
+ "NAME_MUST_VALID_PATTERN": "Der Name muss in einem gültigen Format geschrieben werden"
},
"SAVE": "Speichern",
"PROJECTS": "Projekte",
@@ -19,7 +19,7 @@
"EDIT_PROJECT": "Projekt bearbeiten",
"DELETE_PROJECT": "Projekt löschen",
"JSCRIPTY": "Jscripty",
- "ID": "ID",
+ "ID": "Id",
"PROJECT": "Projekt",
"CREATED_AT": "Erstellt am",
"NEW_PROJECT": "Neues Projekt",
@@ -31,198 +31,198 @@
"OPEN_CONTACT": "Kontakt öffnen",
"HELP": {
"NAME": "Nur Zahlen, Buchstaben und Sonderzeichen (._) werden unterstützt.",
- "ENABLEUNCOMPLETESAVE": "Speichert die Eingaben, auch wenn Formular noch nicht abgeschlossen",
- "SENDUNPAUSEONSUBMIT": "Agentenpause nach Absenden des Formulars beenden"
+ "ENABLEUNCOMPLETESAVE": "Die dem Bedienplatz-Sitzung zu speichern, auch wenn die Umfrage ist noch nicht abgeschlossen",
+ "SENDUNPAUSEONSUBMIT": "Beenden Sie am Ende der Umfrage automatisch die Pause des Agenten"
},
"PAGE": "Seite",
"ROWSPERPAGE": "Zeilen pro Seite",
- "OF": "von",
- "JSCRIPTYSESSIONS": "Script-Sitzungen",
+ "OF": "Von",
+ "JSCRIPTYSESSIONS": "Projektsitzungen",
"SESSIONS": "Sitzungen",
"STARTTIME": "Startzeit",
"ENDTIME": "Endzeit",
"MEMBERNAME": "Mitgliedsname",
- "CALLERIDNUM": "Telefonnummer des Anrufers",
+ "CALLERIDNUM": "Rufnummer des Anrufers",
"NO_SESSION_AVAILABLE": "Keine Sitzungen verfügbar",
- "SESSION_RESULTS": "Ergebnisse",
- "SHOW_QUESTIONS_SESSION": "Ergebnisse anzeigen",
+ "SESSION_RESULTS": "Sitzung Ergebnisse",
+ "SHOW_QUESTIONS_SESSION": "Sitzung Ergebnisse anzeigen",
"ANSWERS": "Antworten",
"NO_RESULTS_AVAILABLE": "Keine Ergebnisse verfügbar",
- "TOTAL": "Gesamt",
+ "TOTAL": "Insgesamt",
"ANSWER": "Antwort",
- "EXPORT_TO_CSV": "In CSV-Datei exportieren",
+ "EXPORT_TO_CSV": "Export in CSV",
"NO_ANSWERS_AVAILABLE": "Keine Antworten vorhanden",
- "DELETE_SESSION": "Sitzung löschen",
+ "DELETE_SESSION": "Session löschen",
"RESET_SESSION": "Sitzung neu starten",
"YES": "Ja",
- "NO": "Nein",
- "DO_YOU_WANT_TO_RESET_SESSION": "Sitzung wirklich zurücksetzen?",
+ "NO": "Keine",
+ "DO_YOU_WANT_TO_RESET_SESSION": "Möchten Sie die Sitzung zurücksetzen?",
"ALL_SURVEY_DATA_WILL_BE_LOST": "Alle Antworten auf die Umfragen gehen verloren!",
- "ENABLEUNCOMPLETESAVE": "Speichern wenn unvollständig",
+ "ENABLEUNCOMPLETESAVE": "Aktivieren Sie unvollständig speichern",
"SUBMIT": "Senden",
"PROJECT_NOT_AVAILABLE": "Projekt ist nicht verfügbar. Bitte wenden Sie sich an den Administrator",
- "COMPLETE": "Abgeschlossen",
- "CLONE_PROJECT": "Projekt duplizieren",
- "SESSIONS_PROJECT": "Direkt zu den Sitzungen gehen",
- "SENDUNPAUSEONSUBMIT": "Agentenpause nach Absenden beenden"
+ "COMPLETE": "Komplette",
+ "CLONE_PROJECT": "Klonprojekt",
+ "SESSIONS_PROJECT": "Gehe zu den Sitzungen",
+ "SENDUNPAUSEONSUBMIT": "Agent beim Senden abschalten"
},
"mwForm": {
"form": {
- "name": "Titel",
- "name.placeholder": "Titel hier eingeben",
- "description": "Beschreibung"
+ "name": "Title",
+ "name.placeholder": "Form title",
+ "description": "Description"
},
"buttons": {
- "addPage": "Seite hinzufügen",
- "moveDown": "Nach Unten bewegen",
- "moveUp": "Nach Oben bewegen",
- "removePage": "Seite löschen",
- "remove": "Löschen",
- "addElement": "Element hinzufügen",
- "questionReady": "Bereit",
- "next": "Weiter",
- "back": "Zurück",
- "submit": "Ãbermitteln",
- "begin": "Start",
- "fold": "Einklappen",
- "unfold": "Ausklappen",
- "edit": "Anpassen",
- "clone": "Duplizieren",
- "view": "Ansicht"
+ "addPage": "Add page",
+ "moveDown": "Move down",
+ "moveUp": "Move up",
+ "removePage": "Remove page",
+ "remove": "Remove",
+ "addElement": "Add element",
+ "questionReady": "Ready",
+ "next": "Next",
+ "back": "Back",
+ "submit": "Submit",
+ "begin": "Begin",
+ "fold": "Fold",
+ "unfold": "Unfold",
+ "edit": "Edit",
+ "clone": "Clone",
+ "view": "View"
},
"page": {
"tab": {
- "heading": "Seite {{page}} von {{allPages}}"
+ "heading": "Page {{page}} of {{allPages}}"
},
"elements": {
- "empty": "Leere Seite"
+ "empty": "Empty page"
},
- "pageWithNameCheckbox": "Benannt",
- "name": "Seitenname"
+ "pageWithNameCheckbox": "named",
+ "name": "Page name"
},
"pageFlow": {
- "afterPage": "Nächste Seite {{page}}:",
- "afterQuestionAnswer": "Seitenwechsel basierend auf Antwort",
- "goToPage": "Gehe zu Seite {{page.number}}",
- "goToNextPage": "Zur nächsten Seite",
- "submitForm": "Formular übermitteln"
+ "afterPage": "After page {{page}}:",
+ "afterQuestionAnswer": "Go to page based on answer",
+ "goToPage": "Go to page {{page.number}}",
+ "goToNextPage": "Continue to next page",
+ "submitForm": "Submit form"
},
"elements": {
- "question": "Frage",
- "image": "Bild",
- "paragraph": "Paragraf"
+ "question": "Question",
+ "image": "Image",
+ "paragraph": "Paragraph"
},
"question": {
"types": {
"text": {
- "name": "Kurztext"
+ "name": "Short text"
},
"textarea": {
- "name": "Langer Text"
+ "name": "Long text"
},
"radio": {
- "name": "Radio-Button"
+ "name": "Radio"
},
"select": {
- "name": "Auswahl"
+ "name": "Select"
},
"checkbox": {
- "name": "Checkboxen"
+ "name": "Checkboxes"
},
"grid": {
- "name": "Raster"
+ "name": "Grid"
},
"priority": {
- "name": "Priorität"
+ "name": "Priority"
},
"division": {
- "name": "Abteilung"
+ "name": "Division"
},
"number": {
- "name": "Nummer"
+ "name": "Number"
},
"date": {
- "name": "Datum"
+ "name": "Date"
},
"datetime": {
- "name": "Zeitstempel"
+ "name": "Datetime"
},
"time": {
- "name": "Zeit"
+ "name": "Time"
},
"email": {
- "name": "E-Mail"
+ "name": "Email"
},
"range": {
- "name": "Bereich"
+ "name": "Range"
},
"url": {
"name": "URL"
}
},
- "text": "Fragetext",
- "type": "Fragetyp",
- "required": "Erforderlich",
+ "text": "Question text",
+ "type": "Question type",
+ "required": "Required",
"preview": {
- "text": "Kurztext",
- "textarea": "Langer Text",
- "otherAnswer": "Weitere"
+ "text": "Short answer text",
+ "textarea": "Long answer text",
+ "otherAnswer": "Other"
},
"division": {
- "quantity": "Anzahl",
- "unit": "Einheit",
- "assignedSumLabel": "Label Zugewiesen",
- "fromRequiredLabel": "Label Absender erforderlich"
+ "quantity": "Quantity",
+ "unit": "Unit label",
+ "assignedSumLabel": "Assigned",
+ "fromRequiredLabel": "from required"
},
"priority": {
- "sorted": "Sortiert",
- "available": "Verfügbar",
- "clickToAddItem": "Klicken, um Element hinzuzufügen"
+ "sorted": "Sorted",
+ "available": "Available",
+ "clickToAddItem": "Click to add item"
},
"grid": {
- "cellInputType": "Eingabetyp",
+ "cellInputType": "Cell input type",
"cellInputTypes": {
- "radio": "Radio-Button",
+ "radio": "Radio",
"checkbox": "Checkbox",
"text": "Text",
- "number": "Checkbox",
- "date": "Datum",
- "time": "Zeit"
+ "number": "Number",
+ "date": "Date",
+ "time": "Time"
},
- "rowLabel": "Zeile {{row}}",
- "clickToAddRow": "Klicken, um Zeile hinzuzufügen",
- "columnLabel": "Spalte {{col}}",
- "clickToAddColumn": "Klicken, um Spalte hinzuzufügen"
+ "rowLabel": "Row {{row}}",
+ "clickToAddRow": "Click to add row",
+ "columnLabel": "Column {{col}}",
+ "clickToAddColumn": "Click to add column"
},
"range": {
- "from": "Bereich von",
- "to": "bis"
+ "from": "Range from",
+ "to": "to"
},
"number": {
"min": "Min",
"max": "Max"
},
- "orLabel": "oder ",
- "otherLabel": "Weitere: ",
- "userAnswer": "Antwort Nutzer",
+ "orLabel": "or ",
+ "otherLabel": "Other: ",
+ "userAnswer": "User answer",
"buttons": {
- "addOption": "Klicken, um Option hinzuzufügen",
- "addOther": "Weitere hinzufügen"
+ "addOption": "Click to add option",
+ "addOther": "Add 'Other'"
}
},
"image": {
- "selectImageButton": "Bild auswählen",
- "caption": "Screenshot einfügen"
+ "selectImageButton": "Select image",
+ "caption": "Image caption"
},
"paragraph": {
- "placeholder": "Text für Paragrafen eingeben"
+ "placeholder": "Enter paragraph text"
},
"confirmationPage": {
- "title": "Bestätigungsseite",
- "customMessage": "Nachricht erfolgreiche Ãbermittlung",
- "defaultMessage": "Ihre Eingaben wurden gespeichert",
- "errorMessage": "Fehler beim Speichern Ihrer Eingaben",
- "pendingMessage": "Ihre Eingaben werden gespeichert"
+ "title": "Confirmation page",
+ "customMessage": "Custom confirmation message",
+ "defaultMessage": "Your response has been saved",
+ "errorMessage": "Error! Your response has not been saved",
+ "pendingMessage": "Your response is being saved."
}
}
}
diff --git a/public/app/main/apps/jscripty/i18n/pt-BR.json b/public/app/main/apps/jscripty/i18n/pt-BR.json
index a39d9fd..1aa6dcf 100644
--- a/public/app/main/apps/jscripty/i18n/pt-BR.json
+++ b/public/app/main/apps/jscripty/i18n/pt-BR.json
@@ -1,6 +1,6 @@
{
"JSCRIPTY": {
- "CLONE_PROJECT": "Projeto Clone",
+ "CLONE_PROJECT": "Clonar projeto",
"NAME": "Nome",
"SEARCH_FOR_ANYONE": "Procurar",
"BACK": "Voltar",
@@ -16,17 +16,17 @@
},
"SAVE": "Salvar",
"PROJECTS": "Projetos",
- "ADD_PROJECT": "Adicionar Projeto",
- "EDIT_PROJECT": "Editar Projeto",
- "DELETE_PROJECT": "Excluir Projeto",
+ "ADD_PROJECT": "Adicionar projeto",
+ "EDIT_PROJECT": "Editar projeto",
+ "DELETE_PROJECT": "Excluir projeto",
"JSCRIPTY": "Jscripty",
"ID": "Id",
"PROJECT": "Projeto",
"CREATED_AT": "Criado em",
- "NEW_PROJECT": "Novo Projeto",
+ "NEW_PROJECT": "Novo projeto",
"EDIT": "Editar",
"SETTINGS": "Configurações",
- "GENERAL": "Feral",
+ "GENERAL": "General",
"BUILDER": "Builder",
"PREVIEW": "Visualizar",
"OPEN_CONTACT": "Contato aberto",
diff --git a/public/app/main/apps/mail/i18n/de.json b/public/app/main/apps/mail/i18n/de.json
index c2b9ea0..e258a20 100644
--- a/public/app/main/apps/mail/i18n/de.json
+++ b/public/app/main/apps/mail/i18n/de.json
@@ -1,197 +1,197 @@
{
"MAIL": {
"TEXT": "Text",
- "TIMES": "Zeitstempel",
- "EDIT_AUTOREPLY": "Automatische Antwort bearbeiten",
+ "TIMES": "Die Anzahl der Zeiten pro Interaktion",
+ "EDIT_AUTOREPLY": "Bearbeiten Sie automatische Antwort",
"AUTOREPLY": "Automatische Antwort",
- "SHOW_AUTOREPLY": "Automatische Antwort anzeigen",
+ "SHOW_AUTOREPLY": "Die automatische Antwort anzeigen",
"SHOW_DETAILS": "Details anzeigen",
"HIDE_DETAILS": "Details ausblenden",
- "TO": "An",
+ "TO": "Zu",
"FROM": "Von",
"DATE": "Datum",
- "CC": "CC",
- "REPLY": "Antworten",
+ "CC": "Cc",
+ "REPLY": "Antwort",
"REPLY_ALL": "Allen antworten",
- "FORWARD": "Weiterleiten",
+ "FORWARD": "Vorwärts",
"SUBJECT": "Betreff",
- "BCC": "BCC",
+ "BCC": "Bcc",
"SEND": "Senden",
"ATTACHMENT": "Anhang",
"ATTACHMENTS": "Anhänge",
"NAME": "Name",
"MAILQUEUES": "E-Mail Warteschlangen",
- "SEARCH_FOR_ANYONE": "Suche",
+ "SEARCH_FOR_ANYONE": "Suche für Jedermann",
"STRATEGY": "Strategie",
"ERRORS": {
- "TEXT_REQUIRED": "Text erforderlich",
- "NAME_REQUIRED": "Name erforderlich",
- "AGENT_TIMEOUT_REQUIRED": "Zeitüberschreitung Agent erforderlich",
- "EMAIL_ADDRESS_REQUIRED": "E-Mail Adresse erforderlich",
- "EMAIL_ADDRESS_MUST_VALID": "Ungültiges Format E-Mail",
- "HOST_REQUIRED": "Host erforderlich",
- "USERNAME_REQUIRED": "Nutzername erforderlich",
- "PORT_REQUIRED": "Port erforderlich",
- "CONNTIMEOUT_REQUIRED": "Zeitüberschreitung Verbindung erforderlich",
- "AUTHTIMEOUT_REQUIRED": "Zeitüberschreitung für Authentifizierung erforderlich",
- "ACCEPTURL_MUST_VALID_URL": "Format ungültig URL",
- "TIMEOUT_REQUIRED": "Zeitüberschreitung erforderlich",
- "REJECTURL_MUST_VALID_URL": "Format Ungültig URL bei Ablehnen",
- "CLOSEURL_MUST_VALID_URL": "Format ungültig URL bei SchlieÃen",
- "AGENT_REQUIRED": "Agent erforderlich",
- "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss gröÃer oder gleich sein als",
- "DISPOSITION_REQUIRED": "Qualifizierung erforderlich",
- "CONDITION_REQUIRED": "Bedingung erforderlich",
- "TRUEPRIORITY_REQUIRED": "Priorität bei \"true\" erforderlich",
- "FALSEPRIORITY_REQUIRED": "Priorität bei \"false\" erforderlich",
- "TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Priorität bei \"true\" muss gröÃer oder gleich sein als",
- "FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Priorität bei \"false\" muss gröÃer oder gleich sein als",
- "PRIORITY_REQUIRED": "Priorität erforderlich",
- "PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Priorität muss gröÃer oder gleich sein als",
- "QUEUE_REQUIRED": "Warteschlange erforderlich",
- "LIST_REQUIRED": "Liste erforderlich",
- "PASSWORD_REQUIRED": "Passwort erforderlich",
- "SERVICE_REQUIRED": "Dienst erforderlich,",
- "IMAP_HOST_REQUIRED": "IMAP-Host erforderlich",
- "IMAP_PORT_REQUIRED": "IMAP-Port erforderlich",
- "SMTP_HOST_REQUIRED": "SMTP-Host erforderlich",
- "SMTP_PORT_REQUIRED": "SMTP-Port erforderlich",
- "CONFIRM_NOT_MATCH": "Die Passwörter stimmen nicht überein",
- "KEY_MAX_LENGTH": "Schlüssel darf eine maximale Länge von {{max}} haben",
- "KEY_REQUIRED": "Schlüssel erforderlich",
- "TEXT_MAX_LENGTH": "Text darf eine maximale Länge von {{max}} haben",
- "VALUE_REQUIRED": "Wert erforderlich",
- "FONT_SIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "SchriftgröÃe muss gröÃer oder gleich sein als",
- "FONT_SIZE_MUST_BE_LESS_THAN_OR_EQUAL_TO": "SchriftgröÃe muss kleiner oder gleich sein als",
- "FONT_SIZE_REQUIRED": "SchriftgröÃe erforderlich",
- "COMMAND_REQUIRED": "Eingabe erforderlich",
- "AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung Agent muss gröÃer oder gleich sein als",
- "NAME_MUST_VALID_PATTERN": "Format ungültig Name",
- "TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss kleiner oder gleich sein als",
- "AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung Agent muss kleiner oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wartezeit Agent muss gröÃer oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wartezeit Agent muss kleiner oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_REQUIRED": "Wartezeit Agent erforderlich",
- "TAG_REQUIRED": "Tag erforderlich",
- "AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung Transfer an Agent muss gröÃer oder gleich sein als",
- "AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung Transfer an Agent muss kleiner oder gleich sein als",
- "AGENTTRANSFERTIMEOUT_REQUIRED": "Zeitüberschreitung Transfer an Agent erforderlich",
- "QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung Transfer an Warteschlange muss gröÃer oder gleich sein als",
- "QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung Transfer an Warteschlange muss kleiner oder gleich sein als",
- "QUEUETRANSFERTIMEOUT_REQUIRED": "Zeitüberschreitung Transfer an Warteschlange erforderlich",
- "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "PausenID bei Qualifizierung erforderlich",
- "REPLY_TYPE_REQUIRED": "Antworttyp erforderlich",
+ "TEXT_REQUIRED": "Das Feld \"Text\" ist erforderlich",
+ "NAME_REQUIRED": "Der Name ist erforderlich",
+ "AGENT_TIMEOUT_REQUIRED": "Der Agent Timeout ist erforderlich",
+ "EMAIL_ADDRESS_REQUIRED": "Die E-Mail-Adresse ist erforderlich",
+ "EMAIL_ADDRESS_MUST_VALID": "Die E-Mail Adresse muss in einem gültigen Format",
+ "HOST_REQUIRED": "Der Host wird benötigt",
+ "USERNAME_REQUIRED": "Der Benutzername ist erforderlich",
+ "PORT_REQUIRED": "Der Port ist erforderlich",
+ "CONNTIMEOUT_REQUIRED": "Timeout der Verbindung ist erforderlich",
+ "AUTHTIMEOUT_REQUIRED": "Das Zeitlimit für die Authentifizierung erforderlich ist",
+ "ACCEPTURL_MUST_VALID_URL": "Die URL muss in einem gültigen Format",
+ "TIMEOUT_REQUIRED": "Der Timeout ist erforderlich",
+ "REJECTURL_MUST_VALID_URL": "Die URL muss in einem gültigen Format",
+ "CLOSEURL_MUST_VALID_URL": "Die URL muss in einem gültigen Format",
+ "AGENT_REQUIRED": "Der Agent ist erforderlich",
+ "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Timeout muss gröÃer als oder gleich",
+ "DISPOSITION_REQUIRED": "Die Disposition ist erforderlich",
+ "CONDITION_REQUIRED": "Der Zustand ist erforderlich",
+ "TRUEPRIORITY_REQUIRED": "Die wahre Priorität ist erforderlich",
+ "FALSEPRIORITY_REQUIRED": "Die falsche Priorität ist erforderlich",
+ "TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die wahre Priorität muss gröÃer als oder gleich",
+ "FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die falsche Priorität muss gröÃer als oder gleich",
+ "PRIORITY_REQUIRED": "Die Priorität ist erforderlich",
+ "PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Priorität muss gröÃer als oder gleich",
+ "QUEUE_REQUIRED": "Die Warteschlange ist erforderlich",
+ "LIST_REQUIRED": "Die Liste ist erforderlich",
+ "PASSWORD_REQUIRED": "Das Kennwort ist erforderlich",
+ "SERVICE_REQUIRED": "Der Dienst ist erforderlich,",
+ "IMAP_HOST_REQUIRED": "Der IMAP-Host wird benötigt",
+ "IMAP_PORT_REQUIRED": "Der IMAP-Anschluss erforderlich",
+ "SMTP_HOST_REQUIRED": "Der SMTP-Host ist erforderlich",
+ "SMTP_PORT_REQUIRED": "Der SMTP-Port ist erforderlich",
+ "CONFIRM_NOT_MATCH": "Die Passwörter nicht übereinstimmen",
+ "KEY_MAX_LENGTH": "Schlüssel muss eine maximale Länge von {{max}}",
+ "KEY_REQUIRED": "Der Schlüssel ist erforderlich",
+ "TEXT_MAX_LENGTH": "Der Wert muss eine maximale Länge von {{max}} haben",
+ "VALUE_REQUIRED": "Pflichtfeld",
+ "FONT_SIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "FONT_SIZE_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "FONT_SIZE_REQUIRED": "Pflichtfeld",
+ "COMMAND_REQUIRED": "Pflichtfeld",
+ "AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "NAME_MUST_VALID_PATTERN": "Falsches Format",
+ "TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "WAITFORTHEASSIGNEDAGENT_REQUIRED": "Pflichtfeld",
+ "TAG_REQUIRED": "Pflichtfeld",
+ "AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "AGENTTRANSFERTIMEOUT_REQUIRED": "Pflichtfeld",
+ "QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "QUEUETRANSFERTIMEOUT_REQUIRED": "Pflichtfeld",
+ "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "Pflichtfeld",
+ "REPLY_TYPE_REQUIRED": "Pflichtfeld",
"FIELD_REQUIRED": "Pflichtfeld"
},
- "AGENT_TIMEOUT": "Zeitüberschreitung Agent",
+ "AGENT_TIMEOUT": "Agent Timeout",
"DESCRIPTION": "Beschreibung",
"ADD_MAILQUEUE": "E-Mail Warteschlange hinzufügen",
"EDIT_MAILQUEUE": "E-Mail Warteschlange bearbeiten",
"DELETE_MAILQUEUE": "E-Mail Warteschlange löschen",
"SETTINGS": "Einstellungen",
- "GENERAL": "Allgemeine Einstellungen",
+ "GENERAL": "Allgemein",
"SAVE": "Speichern",
"MAILACCOUNTS": "E-Mail Konten",
"EMAIL_ADDRESS": "E-Mail Adresse",
"ADD_MAILACCOUNT": "E-Mail Konto hinzufügen",
- "EDIT_MAILACCOUNT": "E-Mail Konto bearbeiten",
- "DELETE_MAILACCOUNT": "E-Mail Konto löschen",
- "DISPOSITIONS": "Qualifizierungen",
+ "EDIT_MAILACCOUNT": "E-Mail-Konto bearbeiten",
+ "DELETE_MAILACCOUNT": "E-Mail-Konten löschen",
+ "DISPOSITIONS": "Bestimmungen",
"WEBHOOKS": "WebHooks",
- "ACTIONS": "Routing",
- "OTHERS": "Weitere",
+ "ACTIONS": "Aktionen",
+ "OTHERS": "Andere",
"LIST": "Liste",
"TEMPLATE": "Vorlage",
"FIDELITY": "Treue",
- "SERVICE": "Dienst",
+ "SERVICE": "Service",
"CREATED_AT": "Erstellt am",
"ACCEPT": "Akzeptieren",
- "ACCEPTMETHOD": "Methode akzeptieren",
+ "ACCEPTMETHOD": "Die Methode",
"ACCEPTURL": "URL akzeptieren",
"REJECT": "Ablehnen",
"REJECTMETHOD": "Methode ablehnen",
"REJECTURL": "URL ablehnen",
- "CLOSE": "SchlieÃen",
- "CLOSEMETHOD": "Methode schlieÃen",
- "CLOSEURL": "URL schlieÃen",
- "WHITELABEL": "WhiteLabel",
- "SIGNATURE": "Signatur",
+ "CLOSE": "In der Nähe",
+ "CLOSEMETHOD": "In der Nähe Methode",
+ "CLOSEURL": "Der URL",
+ "WHITELABEL": "White Label",
+ "SIGNATURE": "Unterschrift",
"IMAP": "IMAP",
"HOST": "Host",
- "USERNAME": "Nutzername",
- "PORT": "Port",
+ "USERNAME": "Benutzername",
+ "PORT": "Hafen",
"MAILBOX": "Mailbox",
"FILTER": "Filter",
- "CONNTIMEOUT": "Zeitüberschreitung Verbindung (Sek)",
- "AUTHTIMEOUT": "Zeitüberschreitung Authentifizierung (Sek)",
+ "CONNTIMEOUT": "Connection Timeout [sek]",
+ "AUTHTIMEOUT": "Authentication Timeout [sek]",
"DELETE": "E-Mails vom Server löschen",
"SSL": "SSL",
"KEEPALIVE": "Keepalive",
- "POLLING": "Abfrageintervall",
+ "POLLING": "Polling",
"SMTP": "SMTP",
- "SELECTED": "Ausgewählt",
- "SELECT_ALL": "Alles auswählen",
- "SELECT_NONE": "Nichts auswählen",
+ "SELECTED": "Ausgewählte",
+ "SELECT_ALL": "Alle auswählen",
+ "SELECT_NONE": "Wählen Sie \"Keine\"",
"BACK": "Zurück",
"MAIL": "E-Mail",
- "ID": "ID",
- "TIMEOUT": "Zeitüberschreitung",
+ "ID": "Id",
+ "TIMEOUT": "Timeout",
"PASSWORD": "Passwort",
- "NO_MAILDISPOSITION_AVAILABLE": "Keine E-Mail Qualifizierung verfügbar",
- "ADD_MAILDISPOSITION": "Qualifizierung hinzufügen",
- "NEW_MAILDISPOSITION": "Neue E-Mail Qualifizierung",
- "EDIT_MAILDISPOSITION": "Qualifizierung bearbeiten",
- "DELETE_MAILDISPOSITION": "Qualifizierung löschen",
- "MAILDISPOSITIONS": "E-Mail Qualifizierungen",
+ "NO_MAILDISPOSITION_AVAILABLE": "Keine E-Mail zur Verfügung Verfügungen",
+ "ADD_MAILDISPOSITION": "E-Mail hinzufügen Disposition",
+ "NEW_MAILDISPOSITION": "Neue E-Mail zur Verfügung",
+ "EDIT_MAILDISPOSITION": "Bearbeiten von E-Mail zur Verfügung",
+ "DELETE_MAILDISPOSITION": "Löschen von E-Mail zur Verfügung",
+ "MAILDISPOSITIONS": "E-Mail Verfügungen",
"NEW_MAILQUEUE": "Neue E-Mail Warteschlange",
- "NEW_MAILACCOUNT": "Neues E-Mail Konto",
- "NO_AVAILABLE_INFO": "Keine Informationen verfügbar",
- "ALL_TEAMS": "Alle Teams",
+ "NEW_MAILACCOUNT": "Neue E-Mail Konto",
+ "NO_AVAILABLE_INFO": "Keine verfügbaren Info",
+ "ALL_TEAMS": "Alle Mannschaften",
"SELECTED_TEAMS": "Ausgewählte Teams",
"HELP": {
"NAME": "Nur Zahlen, Buchstaben und Sonderzeichen (._) werden unterstützt.",
- "USERNAME": "Benutzername für die Authentifizierung",
- "PASSWORD": "Passwort für die Authentifizierung",
- "SECURE": "Bei true wird die Verbindung TLS verwenden, wenn eine Verbindung zum Server aufgebaut wird",
- "FONT_FAMILY": "Standard-Schriften",
+ "USERNAME": "Benutzername für die Authentifizierung verwendet werden",
+ "PASSWORD": "Kennwort für die Authentifizierung verwendet werden",
+ "SECURE": "Bei true wird die Verbindung TLS verwenden, wenn eine Verbindung zu Server",
+ "FONT_FAMILY": "Standardschriftfamilie",
"FONT_SIZE": "Standard SchriftgröÃe",
- "MARK_AS_UNREAD": "Deaktivieren/Aktivieren um die letzte Nachricht einer Interaktion als ungelesen zu markieren",
- "MANDATORYDISPOSITION": "Qualifizierung erforderlich",
- "MANDATORYDISPOSITIONPAUSEID": "PausenID während Qualifizierung",
+ "MARK_AS_UNREAD": "Agent aktivieren / deaktivieren, um die letzte Nachricht einer Interaktion als ungelesen zu markieren",
+ "MANDATORYDISPOSITION": "Zwingende Disposition",
+ "MANDATORYDISPOSITIONPAUSEID": "Anhalten, um zu verwenden, wenn die obligatorische Disposition aktiviert ist",
"CLOUD_PROVIDER": "Für die Authentifizierung verwendeter Cloud-Anbieter"
},
"PAGE": "Seite",
"ROWSPERPAGE": "Zeilen pro Seite",
- "OF": "von",
- "TEAMADD_MAILQUEUE": "Team zur Warteschlange hinzufügen",
- "AGENTADD_MAILQUEUE": "Agenten zur Warteschlange hinzufügen",
+ "OF": "Von",
+ "TEAMADD_MAILQUEUE": "Team Chat Warteschlange hinzufügen",
+ "AGENTADD_MAILQUEUE": "Agent zu Chatten Warteschlange hinzufügen",
"ALL_AGENTS": "Alle Agenten",
"SELECTED_AGENTS": "Ausgewählte Agenten",
"AGENT": "Agent",
- "EDIT_AGENT": "Agenten bearbeiten",
- "EDIT_CLOSE": "Verhalten bei SchlieÃen bearbeiten",
- "DISPOSITION": "Qualifizierung",
- "GOTOIF": "GeheZuWenn (GoToIf)",
- "EDIT_GOTOIF": "Bedingung bearbeiten und Priorität zuweisen",
- "CONDITION": "Bedingung",
- "TRUEPRIORITY": "Priorität, wenn erfüllt (true)",
- "FALSEPRIORITY": "Priorität, wenn nicht erfüllt (false)",
- "GOTOP": "Priorität setzen (GoToP)",
- "EDIT_GOTOP": "GoToP bearbeiten",
+ "EDIT_AGENT": "Agent bearbeiten",
+ "EDIT_CLOSE": "Bearbeiten SchlieÃen",
+ "DISPOSITION": "Disposition",
+ "GOTOIF": "GotoIf",
+ "EDIT_GOTOIF": "Bearbeiten GotoIf",
+ "CONDITION": "Zustand",
+ "TRUEPRIORITY": "Wahre Priorität",
+ "FALSEPRIORITY": "Falsche Priorität",
+ "GOTOP": "GotoP",
+ "EDIT_GOTOP": "GotoP bearbeiten",
"PRIORITY": "Priorität",
- "NOOP": "Log erstellen (NoOp)",
- "EDIT_NOOP": "Log-Erstellung bearbeiten",
+ "NOOP": "Noop",
+ "EDIT_NOOP": "Bearbeiten Noop",
"VALUE": "Wert",
"QUEUE": "Warteschlange",
"EDIT_QUEUE": "Warteschlange bearbeiten",
- "INTERACTIONS": "Interaktionen",
- "STARTEDAT": "Startdatum",
+ "INTERACTIONS": "Wechselwirkungen",
+ "STARTEDAT": "Gestartet am",
"CONTACT": "Kontakt",
- "CLOSEDAT": "Geschlossen am",
- "NOTES": "Anmerkungen",
- "NO_INTERACTION_AVAILABLE": "Keine neuen Interaktionen verfügbar",
+ "CLOSEDAT": "Geschlossen",
+ "NOTES": "Hinweise",
+ "NO_INTERACTION_AVAILABLE": "Es sind keine Wechselwirkungen zur Verfügung",
"ACTIVE": "Aktiv",
- "SECURE": "Sicher",
+ "SECURE": "Sichere",
"AUTHENTICATION": "Authentifizierung",
"SMTP_HOST": "SMTP-Host",
"SMTP_PORT": "SMTP-Port",
@@ -199,129 +199,129 @@
"IMAP_PORT": "IMAP-Port",
"CONFIRM_PASSWORD": "Passwort bestätigen",
"SELECT_STATUS": "Status auswählen",
- "OPENED": "Geöffnet",
+ "OPENED": "Ãffnen",
"CLOSED": "Geschlossen",
"ALL": "Alle",
"SELECT_ACCOUNT": "Konto auswählen",
"STATUS": "Status",
"ACCOUNT": "Konto",
- "OPEN": "Offen",
+ "OPEN": "Ãffnen",
"KEY": "Schlüssel",
"SMTPSERVICE": "SMTP-Dienst",
- "UNPAUSE": "Pause abbrechen",
- "DEFAULT_PAUSE": "Standardpause",
+ "UNPAUSE": "Pause beenden",
+ "DEFAULT_PAUSE": "Standard Pause",
"LOGOUT": "An-/Abmelden",
- "AGENTADD_QUEUE": "Agenten zur Warteschlange hinzufügen",
- "VOICE": "Anrufe",
+ "AGENTADD_QUEUE": "Agent E-Mail Warteschlange hinzufügen",
+ "VOICE": "Voice",
"CHAT": "Chat",
- "SMS": "SMS",
- "OPENCHANNEL": "Offener Kanal",
+ "SMS": "Sms",
+ "OPENCHANNEL": "Channel öffnen",
"FAX": "Fax",
"REALTIME": "Echtzeit",
"AGENTS": "Agenten",
"QUEUES": "Warteschlangen",
"ACCOUNTS": "Konten",
- "FULLNAME": "Vollständiger Name",
- "INTERNAL": "Intern",
- "PHONE_STATE": "Status Nebenstelle",
- "PHONE_STATUS": "SIP-Status Nebenstelle",
+ "FULLNAME": "Voller Name",
+ "INTERNAL": "Interne",
+ "PHONE_STATE": "Telefonstatus",
+ "PHONE_STATUS": "Telefonstatus",
"PAUSE": "Pause",
"LOGGED_IN": "Angemeldet",
"PAUSED": "Angehalten",
"READY": "Bereit",
"WAITING": "Warten",
- "TOTAL": "Gesamt",
- "IN": "Eingehend",
- "OUT": "Ausgehend",
+ "TOTAL": "Insgesamt",
+ "IN": "In",
+ "OUT": "Aus",
"IMAP_STATUS": "IMAP-Status",
"SMTP_STATUS": "SMTP-Status",
"DISABLED": "Deaktiviert",
"CONNECTED": "Verbunden",
- "NEVER_VERIFIED": "Noch nicht verifiziert",
+ "NEVER_VERIFIED": "Nie verifiziert",
"ERROR": "Fehler",
"EDIT_ACCOUNT": "Konto bearbeiten",
- "VERIFY_SMTP": "SMTP-Einstellungen prüfen",
+ "VERIFY_SMTP": "Ãberprüfen Sie die SMTP-",
"VERIFIED": "Ãberprüft",
- "VERIFYSMTP_MAILACCOUNT": "SMTP-Accounteinstellungen prüfen",
- "GOTOREALTIME_MAILACCOUNT": "Direkt zur Echtzeitansicht Konto",
- "GOTO_MAILACCOUNT": "Zum E-Mail Konto gehen",
+ "VERIFYSMTP_MAILACCOUNT": "Ãberprüfen Sie die SMTP-",
+ "GOTOREALTIME_MAILACCOUNT": "In Echtzeit, E-Mail Konto",
+ "GOTO_MAILACCOUNT": "In Echtzeit, E-Mail Konto",
"UNKNOWN": "Unbekannt",
- "UNREGISTERED": "Nicht registriert",
+ "UNREGISTERED": "Unregistrierte",
"UNAVAILABLE": "Nicht verfügbar",
- "NOT_INUSE": "Nicht in Verwendung",
+ "NOT_INUSE": "Nicht in Gebrauch",
"REACHABLE": "Erreichbar",
- "IN_USE": "In Verwendung",
- "AGENTSADD_QUEUE": "Agenten zur Warteschlange hinzufügen",
- "INFO": "Information",
+ "IN_USE": "Im Einsatz",
+ "AGENTSADD_QUEUE": "Agenten zu Warteschlange hinzufügen",
+ "INFO": "Info",
"NO_AGENT_ONLINE": "Kein Agent Online",
- "GOTOREALTIME_MAILQUEUE": "Direkt zur Echtzeit-Warteschlange",
- "PARTIALPAUSE": "Teilpause",
+ "GOTOREALTIME_MAILQUEUE": "In Echtzeit, E-Mail Warteschlange",
+ "PARTIALPAUSE": "Lastschriftzahlung teilweise Pause",
"BUSY": "Besetzt",
"TIMER": "Timer",
"IDLE": "Leerlauf",
"CAPACITY": "Kapazität",
- "SPYINTERACTION": "Anzeigen",
+ "SPYINTERACTION": "Spy",
"ADD_NOTE": "Notiz hinzufügen",
- "NOTE": "Notiz",
+ "NOTE": "Hinweis",
"TAGS": "Tags",
- "INTERACTIONS_MAILACCOUNT": "Direkt zu den Interaktionen",
- "REFRESH_INTERACTIONS": "Interaktionen aktualisieren",
- "PENDING": "Warten auf Rückmeldung",
- "SEND_AS_PENDING": "Senden und auf Rückmeldung warten",
- "SEND_AND_CLOSE": "Senden und schlieÃen",
- "CANNED_ANSWER_NOT_FOUND": "Keine Textvorlagen gefunden",
- "CANNED_ANSWER_SEARCH": "Nach Textvorlagen suchen",
- "NO_MAILCANNEDANSWER_AVAILABLE": "Keine Textvorlagen verfügbar",
- "NEW_MAILCANNEDANSWER": "Neue Textvorlage",
- "ADD_MAILCANNEDANSWER": "Textvorlage hinzufügen",
- "EDIT_MAILCANNEDANSWER": "Textvorlage bearbeiten",
- "DELETE_MAILCANNEDANSWER": "Textvorlage löschen",
+ "INTERACTIONS_MAILACCOUNT": "Zu Wechselwirkungen gehen",
+ "REFRESH_INTERACTIONS": "Aktualisieren Interaktionen",
+ "PENDING": "Ausstehend",
+ "SEND_AS_PENDING": "Senden als Ausstehend",
+ "SEND_AND_CLOSE": "Senden und SchlieÃen",
+ "CANNED_ANSWER_NOT_FOUND": "Es wurden keine vordefinierten Antworten gefunden",
+ "CANNED_ANSWER_SEARCH": "Geben Sie einen Text ein, um eine vordefinierte Antwort zu suchen",
+ "NO_MAILCANNEDANSWER_AVAILABLE": "Keine vordefinierten Antworten verfügbar",
+ "NEW_MAILCANNEDANSWER": "Neue vordefinierte Antowrt",
+ "ADD_MAILCANNEDANSWER": "Vordefinierte Antwort hinzufügen",
+ "EDIT_MAILCANNEDANSWER": "Vordefiierte Antwort bearbeiten",
+ "DELETE_MAILCANNEDANSWER": "Vordefinierte Antwort löschen",
"SHOW_ORIGINAL_MESSAGE": "Ursprüngliche Nachricht anzeigen",
"DELETE_INTERACTION": "Interaktion löschen",
"ACCEPTED": "Akzeptiert",
"FONT_FAMILY": "Schriftfamilie",
"FONT_SIZE": "SchriftgröÃe",
- "MARK_AS_UNREAD": "Als ungelesen markieren",
- "ADD_MAILSUBSTATUS": "Zwischenstatus hinzufügen",
- "DELETE_MAILSUBSTATUS": "Zwischenstatus löschen",
- "EDIT_MAILSUBSTATUS": "Zwischenstatus bearbeiten",
- "MAILSUBSTATUSES": "E-Mail Zwischenstatus",
- "NEW_MAILSUBSTATUS": "Neuer Zwischenstatus",
- "SEND_AS": "Senden als",
- "COMMAND": "Eingabe",
+ "MARK_AS_UNREAD": "als ungelesen markieren",
+ "ADD_MAILSUBSTATUS": "Unterstatus hinzufügen",
+ "DELETE_MAILSUBSTATUS": "Löschen",
+ "EDIT_MAILSUBSTATUS": "Bearbeiten",
+ "MAILSUBSTATUSES": "E-Mail-Unterstatus",
+ "NEW_MAILSUBSTATUS": "Neuer Unterstatus",
+ "SEND_AS": "Senden Als",
+ "COMMAND": "Befehl",
"EDIT_SYSTEM": "System bearbeiten",
"SYSTEM": "System",
- "VARIABLE": "Variabel",
+ "VARIABLE": "Variable",
"NOTIFICATION": "Benachrichtigung",
- "NOTIFICATIONSHAKE": "Schütteln",
- "NOTIFICATIONSOUND": "Sound abspielen",
+ "NOTIFICATIONSHAKE": "Shake",
+ "NOTIFICATIONSOUND": "Klingen",
"NOTIFICATIONTEMPLATE": "Vorlage",
- "WAITFORTHEASSIGNEDAGENT": "Auf zugewiesenen Agenten warten",
+ "WAITFORTHEASSIGNEDAGENT": "Warte auf den zugewiesenen Agenten",
"EDIT_TAG": "Tag bearbeiten",
- "TAG": "Tag",
- "AGENTTRANSFER": "Transfer an Agenten erlauben",
- "AGENTTRANSFERTIMEOUT": "Zeitüberschreitung für Agententransfer",
- "QUEUETRANSFER": "Transfer in Warteschlange erlauben",
- "QUEUETRANSFERTIMEOUT": "Zeitüberschreitung für Warteschlangentransfer",
- "TRANSFER": "Weiterleitung",
- "AGENTADD_MAILACCOUNT": "Agenten zum E-Mail Konto hinzufügen",
+ "TAG": "Etikett",
+ "AGENTTRANSFER": "Agentenübertragung",
+ "AGENTTRANSFERTIMEOUT": "Zeitlimit für Agentenübertragungen",
+ "QUEUETRANSFER": "Warteschlangenübertragung",
+ "QUEUETRANSFERTIMEOUT": "Zeitüberschreitung bei der Warteschlangenübertragung",
+ "TRANSFER": "Transfer",
+ "AGENTADD_MAILACCOUNT": "Fügen Sie dem E-Mail-Konto Agent hinzu",
"YOU_ARE_REGISTERED_AS_A": "Sie sind registriert als",
- "CANNEDANSWERS": "Textvorlagen",
- "DOWNLOAD_INTERACTION": "Interaktion herunterladen",
- "MAILCANNEDANSWERS": "E-Mail Textvorlagen",
- "LOGIN_TIME": "Zeit angemeldet",
- "PAUSE_TIME": "Zeit in Pause",
+ "CANNEDANSWERS": "Vordefinierte Antworten",
+ "DOWNLOAD_INTERACTION": "Herunterladen",
+ "MAILCANNEDANSWERS": "Vordefinierte Antworten",
+ "LOGIN_TIME": "Login-Zeit",
+ "PAUSE_TIME": "Pausenzeit",
"DOWNLOAD": "Herunterladen",
- "DOWNLOAD_WITHOUT_ATTACHMENTS": "Herunterladen ohne Anhänge",
- "DOWNLOAD_WITH_ATTACHMENTS": "Herunterladen inkl. Anhänge",
- "TEAMS_ASSOCIATION": "Teamzuweisung",
- "MANDATORYDISPOSITION": "Qualifizierung erforderlich",
- "MANDATORYDISPOSITIONPAUSEID": "PausenID während Qualifizierung",
- "ADVANCED": "Erweitert",
- "TOOLTIP_SCREENRECORDING_OFF": "Bildschirmaufzeichnung angehalten",
- "TOOLTIP_SCREENRECORDING_ON": "Bildschirmaufzeichnung läuft",
- "DOWNLOAD_WITHOUT_ATTACHMENT": "Herunterladen ohne Anhang",
- "DOWNLOAD_WITH_ATTACHMENT": "Herunterladen inkl. Anhang",
+ "DOWNLOAD_WITHOUT_ATTACHMENTS": "Download ohne Anhänge",
+ "DOWNLOAD_WITH_ATTACHMENTS": "Mit Anhängen herunterladen",
+ "TEAMS_ASSOCIATION": "Vereinigung der Mannschaften",
+ "MANDATORYDISPOSITION": "Zwingende Disposition",
+ "MANDATORYDISPOSITIONPAUSEID": "Pause zur Verwendung, wenn die obligatorische Disposition aktiviert ist",
+ "ADVANCED": "Fortgeschritten",
+ "TOOLTIP_SCREENRECORDING_OFF": "Bildschirmaufnahme verfügbar",
+ "TOOLTIP_SCREENRECORDING_ON": "Bildschirmaufnahme läuft",
+ "DOWNLOAD_WITHOUT_ATTACHMENT": "Ohne Anhang herunterladen",
+ "DOWNLOAD_WITH_ATTACHMENT": "Download mit Anhang",
"LASTMESSAGE": "Letzte Nachricht",
"REPLY_TYPE": "Antworttyp",
"CLOUD_PROVIDER": "Cloud-Anbieter",
diff --git a/public/app/main/apps/mail/i18n/pt-BR.json b/public/app/main/apps/mail/i18n/pt-BR.json
index 702bc58..3c1e70e 100644
--- a/public/app/main/apps/mail/i18n/pt-BR.json
+++ b/public/app/main/apps/mail/i18n/pt-BR.json
@@ -24,9 +24,9 @@
"COMMAND": "Comando",
"VARIABLE": "Variável",
"SEND_AS": "Enviar como",
- "NEW_MAILSUBSTATUS": "Novo substatus",
- "ADD_MAILSUBSTATUS": "Adicionar substatus",
- "MAILSUBSTATUSES": "Substatus do email",
+ "NEW_MAILSUBSTATUS": "Novo Sub Status",
+ "ADD_MAILSUBSTATUS": "Adicionar status de sub",
+ "MAILSUBSTATUSES": "Sub-status do email",
"EDIT_MAILSUBSTATUS": "Editar",
"DELETE_MAILSUBSTATUS": "Excluir",
"FONT_FAMILY": "FamÃlia de fontes",
@@ -43,7 +43,7 @@
"SHOW_ORIGINAL_MESSAGE": "Mostrar mensagem original",
"PENDING": "Pendente",
"SEND_AS_PENDING": "Enviar como pendente",
- "SEND_AND_CLOSE": "Enviar e fechar",
+ "SEND_AND_CLOSE": "Enviar e Fechar",
"CANNED_ANSWER_NOT_FOUND": "Nenhuma resposta predefinida foi encontrada",
"CANNED_ANSWER_SEARCH": "Digite um texto para pesquisar uma resposta automática",
"SPYINTERACTION": "Espião",
@@ -52,10 +52,10 @@
"TAGS": "Tags",
"NO_AGENT_ONLINE": "Nenhum agente online",
"GOTOREALTIME_MAILQUEUE": "Ir para a fila de email em tempo real",
- "PARTIALPAUSE": "Pausa parcial",
+ "PARTIALPAUSE": "Pausa Parcial",
"BUSY": "Ocupado",
"TIMER": "Cronômetro",
- "IDLE": "Ocioso",
+ "IDLE": "DisponÃvel",
"CAPACITY": "Capacidade",
"UNPAUSE": "Fim da Pausa",
"DEFAULT_PAUSE": "Pausa Padrão",
@@ -63,7 +63,7 @@
"AGENTADD_QUEUE": "Adicionar agente à fila de email",
"VOICE": "Voz",
"CHAT": "Chat",
- "SMS": "SMS",
+ "SMS": "Sms",
"OPENCHANNEL": "Open channel",
"FAX": "Fax",
"REALTIME": "Tempo real",
@@ -86,12 +86,12 @@
"SMTP_STATUS": "SMTP Status",
"DISABLED": "Desativado",
"CONNECTED": "Conectado",
- "NEVER_VERIFIED": "Nunca verificado",
+ "NEVER_VERIFIED": "Nunca Verificado",
"ERROR": "Erro",
"EDIT_ACCOUNT": "Editar conta",
- "VERIFY_SMTP": "Verificar SMTP",
+ "VERIFY_SMTP": "Verificar o SMTP",
"VERIFIED": "Verificado",
- "VERIFYSMTP_MAILACCOUNT": "Verificar SMTP",
+ "VERIFYSMTP_MAILACCOUNT": "Verificar o SMTP",
"GOTOREALTIME_MAILACCOUNT": "Ir para a conta de e-mail em tempo real",
"GOTO_MAILACCOUNT": "Ir para a conta de e-mail em tempo real",
"TEXT": "Texto",
@@ -108,7 +108,7 @@
"REPLY": "Resposta",
"REPLY_ALL": "Responder todos",
"FORWARD": "Frente",
- "SUBJECT": "Assunto",
+ "SUBJECT": "Sujeito",
"BCC": "Bcc",
"SEND": "Enviar",
"ATTACHMENT": "Anexo",
@@ -116,7 +116,7 @@
"NAME": "Nome",
"MAILQUEUES": "Fila de Emails",
"SEARCH_FOR_ANYONE": "Procurar",
- "STRATEGY": "Estratégia",
+ "STRATEGY": "Estrategia",
"ERRORS": {
"QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "The value must be less than or equal to",
"QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "The value must be greater than or equal to",
@@ -187,7 +187,7 @@
"SAVE": "Salvar",
"MAILACCOUNTS": "Contas de Email",
"EMAIL_ADDRESS": "Endereço de Email",
- "ADD_MAILACCOUNT": "Adicionar conta de email",
+ "ADD_MAILACCOUNT": "Adicionar conta de Email",
"EDIT_MAILACCOUNT": "Editar conta de Email",
"DELETE_MAILACCOUNT": "Excluir conta de Email",
"DISPOSITIONS": "Disposições",
@@ -203,12 +203,12 @@
"ACCEPTMETHOD": "Aceite o método",
"ACCEPTURL": "Aceitar URL",
"REJECT": "Rejeitar",
- "REJECTMETHOD": "Rejeitar método",
+ "REJECTMETHOD": "Rejeitar Método",
"REJECTURL": "Rejeitar URL",
"CLOSE": "Fechar",
"CLOSEMETHOD": "Fechar Metodo",
"CLOSEURL": "Fechar URL",
- "WHITELABEL": "Campo em branco",
+ "WHITELABEL": "White Label",
"SIGNATURE": "Assinatura",
"IMAP": "IMAP",
"HOST": "Host",
@@ -241,7 +241,7 @@
"NEW_MAILACCOUNT": "Nova conta de email",
"NO_AVAILABLE_INFO": "Nenhuma informação disponÃvel",
"ALL_TEAMS": "Todas as equipes",
- "SELECTED_TEAMS": "Equipes selecionadas",
+ "SELECTED_TEAMS": "Equipes Selecionadas",
"HELP": {
"FONT_FAMILY": "Default Font Family",
"FONT_SIZE": "Default Font Size",
@@ -254,13 +254,13 @@
"MANDATORYDISPOSITIONPAUSEID": "Pausar para usar quando a disposição obrigatória estiver ativada",
"CLOUD_PROVIDER": "Provedor de nuvem usado para autenticação"
},
- "PAGE": "Página",
- "ROWSPERPAGE": "Linhas por página",
+ "PAGE": "Pagina",
+ "ROWSPERPAGE": "Linhas por Página",
"OF": "do",
"TEAMADD_MAILQUEUE": "Adicionar equipe à fila de email",
"AGENTADD_MAILQUEUE": "Adicionar agente à fila de email",
"ALL_AGENTS": "Todos os agentes",
- "SELECTED_AGENTS": "Agentes selecionados",
+ "SELECTED_AGENTS": "Agentes Selecionados",
"AGENT": "Agente",
"EDIT_AGENT": "Editar agente",
"EDIT_CLOSE": "Editar Fechar",
@@ -269,7 +269,7 @@
"EDIT_GOTOIF": "Editar GotoIf",
"CONDITION": "Condição",
"TRUEPRIORITY": "Verdadeira prioridade",
- "FALSEPRIORITY": "Falsa Prioridade",
+ "FALSEPRIORITY": "Falsa prioridade",
"GOTOP": "GotoP",
"EDIT_GOTOP": "Editar GotoP",
"PRIORITY": "Prioridade",
@@ -293,7 +293,7 @@
"IMAP_PORT": "IMAP Port",
"CONFIRM_PASSWORD": "Confirme a Senha",
"SELECT_STATUS": "Selecione o status",
- "OPENED": "Aberto",
+ "OPENED": "Abrir",
"CLOSED": "Fechadas",
"ALL": "Todos",
"SELECT_ACCOUNT": "Selecione uma conta",
@@ -311,12 +311,12 @@
"AGENTSADD_QUEUE": "Adicionar agentes à fila de email",
"INFO": "Info",
"INTERACTIONS_MAILACCOUNT": "Ir para Interações",
- "REFRESH_INTERACTIONS": "Atualizar interações",
+ "REFRESH_INTERACTIONS": "Atualizar Interações",
"DELETE_INTERACTION": "Excluir interação",
"AGENTADD_MAILACCOUNT": "Adicionar agente à conta de email",
"TEAMS_ASSOCIATION": "Associação de equipes",
"MANDATORYDISPOSITION": "Disposição obrigatória",
- "MANDATORYDISPOSITIONPAUSEID": "Pausa obrigatória para disposição",
+ "MANDATORYDISPOSITIONPAUSEID": "Pausar para usar se a disposição obrigatória estiver ativada",
"ADVANCED": "Avançado",
"TOOLTIP_SCREENRECORDING_OFF": "Gravação de tela disponÃvel",
"TOOLTIP_SCREENRECORDING_ON": "Gravação de tela em andamento",
diff --git a/public/app/main/apps/motiondialer/i18n/de.json b/public/app/main/apps/motiondialer/i18n/de.json
index 3c09c82..52050f2 100644
--- a/public/app/main/apps/motiondialer/i18n/de.json
+++ b/public/app/main/apps/motiondialer/i18n/de.json
@@ -1,596 +1,596 @@
{
"MOTIONDIALER": {
- "MOVE_HOPPERFINAL": "Kontakt bewegen zu Abgeschlossen",
+ "MOVE_HOPPERFINAL": "Kontakt wiederherstellen",
"RESTORECONTACTS": "Kontakte wiederherstellen",
- "NO_SUCH_NUMBER": "Gegenstelle nicht gefunden",
- "DIALORDERBYSCHEDULEDAT": "Reihenfolge Wählen nach Planungsdatum",
- "ASC": "Aufsteigend",
- "DESC": "Absteigend",
- "RECALLAGENT": "Agenten erneut anrufen",
- "DIALRECALLINQUEUE": "In der Warteschlange anrufen",
- "DIALRECALLMETIMEOUT": "Zeitlimit Reservierung Anruf [min]",
- "RECALLME": "Wiedervorlage an Agenten",
+ "NO_SUCH_NUMBER": "Keine solche Nummer",
+ "DIALORDERBYSCHEDULEDAT": "Bestellung Durch scheduledat",
+ "ASC": "ASC",
+ "DESC": "DESC",
+ "RECALLAGENT": "Agent abrufen",
+ "DIALRECALLINQUEUE": "In der Warteschlange abrufen",
+ "DIALRECALLMETIMEOUT": "Erinnere mich Timeout [min]",
+ "RECALLME": "Mich erinnern",
"RECALLFAILEDTIMEOUT": "Rückruf fehlgeschlagen",
- "PREVIEW_CAMPAIGN": "Vorschau-Kampagne",
- "PREVIEW_CAMPAIGNS": "Vorschau-Kampagnen",
- "AMD": "Anrufbeantwortererkennung (AMD)",
- "AMDTOTALANALYSISTIME": "Zeit für Analyse AB",
- "AMDACTIVE": "AB-Erkennung aktiv",
- "AMDINITIALSILENCE": "AB-Erkennung Stille bei Aufbau",
- "AMDGREETING": "AB-Erkennung Nachricht",
+ "PREVIEW_CAMPAIGN": "Vorschau Kampagnen",
+ "PREVIEW_CAMPAIGNS": "Vorschau Kampagnen",
+ "AMD": "Sternchen Anrufbeantwortererkennung (AMD)",
+ "AMDTOTALANALYSISTIME": "Insgesamt Analyse Zeit",
+ "AMDACTIVE": "AMD",
+ "AMDINITIALSILENCE": "Erste Stille",
+ "AMDGREETING": "GruÃ",
"AMDAFTERGREETINGSILENCE": "Stille nach BegrüÃung",
- "AMDSILENCETHRESHOLD": "Stille Schwellwert",
- "AMDMINWORDLENGTH": "Min. Wortlänge",
- "AMDBETWEENWORDSSILENCE": "Stille zwischen 2 Worten",
- "AMDMAXIMUMWORDLENGTH": "Max. Wortlänge",
- "AMDMAXIMUMNUMBEROFWORDS": "Maximale Anzahl Wörter",
- "GOTO_QUEUECAMPAIGN": "Direkt zur Warteschlange",
- "GOTOREALTIME_QUEUECAMPAIGN": "Direkt zur Echtzeit-Warteschlange",
- "GOTO_IVRCAMPAIGN": "Direkt zur IVR-Kampagne",
- "GOTOREALTIME_IVRCAMPAIGN": "Direkt zur Echtzeit-Warteschlange (IVR)",
+ "AMDSILENCETHRESHOLD": "Stille Schwellenwert",
+ "AMDMINWORDLENGTH": "Min. Wort Länge",
+ "AMDBETWEENWORDSSILENCE": "Die Stille zwischen den Worten",
+ "AMDMAXIMUMWORDLENGTH": "Maximale Wortlänge",
+ "AMDMAXIMUMNUMBEROFWORDS": "Maximale Anzahl der Wörter",
+ "GOTO_QUEUECAMPAIGN": "In Echtzeit, wenn Warteschlange Kampagnen gehen",
+ "GOTOREALTIME_QUEUECAMPAIGN": "In Echtzeit, wenn Warteschlange Kampagnen gehen",
+ "GOTO_IVRCAMPAIGN": "In Echtzeit, Ivr-Kampagnen gehen",
+ "GOTOREALTIME_IVRCAMPAIGN": "In Echtzeit, Ivr-Kampagnen gehen",
"LOGOUT": "An-/Abmelden",
"EDIT_CAMPAIGN": "Kampagne bearbeiten",
- "LIMITED": "Limitiert",
- "IVR_CAMPAIGNS": "IVR-Kampagnen",
- "MOTIONDIALER": "Outbound-Dialer",
- "QUEUECAMPAIGNS": "Kampagnen",
+ "LIMITED": "Begrenzt",
+ "IVR_CAMPAIGNS": "Ivr-Kampagnen",
+ "MOTIONDIALER": "Motion Bull",
+ "QUEUECAMPAIGNS": "Warteschlange Kampagnen",
"IVRCAMPAIGNS": "IVR-Kampagnen",
"MANAGED": "Verwaltet",
"AVAILABLE_CONTACTS_FINISHED": "Kontakte abgeschlossen",
- "HISTORY": "Verlauf",
- "SCHEDULEDAT": "Geplant am",
- "HOPPERBLACKS": "Schwarze Liste Kontakte in Ausführung",
- "NO_HOPPERBLACK_AVAILABLE": "Keine Einträge vorhanden",
- "HOPPERFINALS": "Kontakte abgeschlossen",
- "NO_HOPPERFINAL_AVAILABLE": "Keine Einträge vorhanden",
- "HOPPERHISTORIES": "Kontaktverlauf",
- "NO_HOPPERHISTORY_AVAILABLE": "Keine Einträge vorhanden",
- "DELETE_HOPPERHISTORY": "Verlauf löschen",
- "DELETE_HOPPERFINAL": "Abgeschlossenen Kontakt löschen",
- "CONTACTID": "KontaktID",
+ "HISTORY": "Geschichte",
+ "SCHEDULEDAT": "Geplant für",
+ "HOPPERBLACKS": "Hopper Blacklist",
+ "NO_HOPPERBLACK_AVAILABLE": "Keine Reihen verfügbar",
+ "HOPPERFINALS": "Hopper Endg.",
+ "NO_HOPPERFINAL_AVAILABLE": "Keine Reihen verfügbar",
+ "HOPPERHISTORIES": "Hopper Geschichte",
+ "NO_HOPPERHISTORY_AVAILABLE": "Keine Reihen verfügbar",
+ "DELETE_HOPPERHISTORY": "Löschen",
+ "DELETE_HOPPERFINAL": "Löschen",
+ "CONTACTID": "Kontakt-ID",
"STARTTIME": "Startzeit",
- "RESPONSETIME": "Antwortzeit",
+ "RESPONSETIME": "Reaktionszeit",
"ENDTIME": "Endzeit",
"STATUS": "Status",
- "HOPPERS": "Kontakte in Ausführung",
- "NO_HOPPER_AVAILABLE": "Keine Informationen verfügbar",
- "EDIT_HOPPER": "Kontakte in Ausführung bearbeiten",
- "DELETE_HOPPER": "Kontakte in Ausführung löschen",
- "FINAL": "Abgeschlossen",
+ "HOPPERS": "Hopper",
+ "NO_HOPPER_AVAILABLE": "Keine Reihen verfügbar",
+ "EDIT_HOPPER": "Bearbeiten Hopper",
+ "DELETE_HOPPER": "Löschen Hopper",
+ "FINAL": "Endg.",
"BLACKLIST": "Schwarze Liste",
"NAME": "Name",
- "VOICEQUEUES": "Anruf-Warteschlangen",
- "SEARCH_FOR_ANYONE": "Suche",
+ "VOICEQUEUES": "Voice Warteschlangen",
+ "SEARCH_FOR_ANYONE": "Suche für Jedermann",
"BACK": "Zurück",
- "SELECTED": "Ausgewählt",
- "SELECT_ALL": "Alles auswählen",
- "SELECT_NONE": "Nichts auswählen",
- "DELETE_VOICEDISPOSITION": "Qualifizierung für Anrufe löschen",
- "EDIT_VOICEDISPOSITION": "Qualifizierung für Anrufe bearbeiten",
- "EDIT_VOICEQUEUE": "Warteschlange bearbeiten",
+ "SELECTED": "Ausgewählte",
+ "SELECT_ALL": "Alle auswählen",
+ "SELECT_NONE": "Wählen Sie \"Keine\"",
+ "DELETE_VOICEDISPOSITION": "Löschen Stimme Disposition",
+ "EDIT_VOICEDISPOSITION": "Edit Voice Disposition",
+ "EDIT_VOICEQUEUE": "Edit Voice Warteschlange",
"DELETE_VOICEQUEUE": "Warteschlange löschen",
- "MOHSOUNDS": "Wartemusik",
+ "MOHSOUNDS": "Moh-Sounds",
"STRATEGY": "Strategie",
"DESCRIPTION": "Beschreibung",
"INTERVAL": "Zeitintervall",
- "ADD_VOICEQUEUE": "Anruf-Warteschlange hinzufügen",
- "NEW_QUEUECAMPAIGN": "Neue Warteschlangen-Kampagne",
+ "ADD_VOICEQUEUE": "Voice Warteschlange hinzufügen",
+ "NEW_QUEUECAMPAIGN": "Neue Warteschlange Kampagne",
"ACTIVE": "Aktiv",
"METHOD": "Methode",
- "POWERLEVEL": "Level Power-Dialing",
- "DROPRATE": "Droprate",
- "AGENTBUSYFACTOR": "Faktor Agent besetzt",
- "PREDICTIVEOPTIMIZATION": "Optimierung Predictive-Dialing",
- "PREDICTIVEOPTIMIZATIONPERCENTAGE": "Prozentsatz Optimierung Predictive-Dialing",
- "PREDICTIVEINTERVAL": "Intervall Predictive-Dialing",
- "ADD_QUEUECAMPAIGN": "Kampagne hinzufügen",
+ "POWERLEVEL": "Leistung",
+ "DROPRATE": "Absenkgeschwindigkeit",
+ "AGENTBUSYFACTOR": "Agent besetzt Faktor",
+ "PREDICTIVEOPTIMIZATION": "Prädiktive Optimierung",
+ "PREDICTIVEOPTIMIZATIONPERCENTAGE": "Prädiktive Optimierung Prozentsatz",
+ "PREDICTIVEINTERVAL": "Predictive Intervall",
+ "ADD_QUEUECAMPAIGN": "Warteschlange hinzufügen Kampagne",
"CAMPAIGN": "Kampagne",
"MAXCONCURRENTCALLS": "Max. Anzahl gleichzeitiger Anrufe",
- "CONCURRENTCALLS": "Anzahl gleichzeitiger Anrufe",
- "ORIGINATE": "Rufaufbau",
- "ORIGINATECALLERIDNAME": "Name Anrufer-ID",
- "ORIGINATECALLERIDNUMBER": "Angezeigte Nummer",
- "ORIGINATETIMEOUT": "Zeitüberschreitung Rufaufbau",
+ "CONCURRENTCALLS": "Max. Anzahl gleichzeitiger Anrufe",
+ "ORIGINATE": "Stammen",
+ "ORIGINATECALLERIDNAME": "Die Anrufer-ID-Namen",
+ "ORIGINATECALLERIDNUMBER": "Anrufer-ID-Nummer",
+ "ORIGINATETIMEOUT": "Stammen Timeout",
"QUEUEOPTIONS": "Warteschlangenoptionen",
- "QUEUETIMEOUT": "Zeitüberschreitung Warteschlange",
- "CALLYSQUAREPROJECT": "Call-Flow Projekt",
- "RETRYANDFREQUENCY": "Automatische Wiedervorlage",
+ "QUEUETIMEOUT": "Warteschlange Timeout",
+ "CALLYSQUAREPROJECT": "Cally Square Projekt",
+ "RETRYANDFREQUENCY": "Wiederholen Sie Einstellungen",
"GLOBAL": "Global",
- "GLOBALMAXRETRY": "Max. Wiederversuche",
- "CONGESTION": "Leitungen belegt",
- "CONGESTIONMAXRETRY": "Max. Wiederversuche bei \"Leitungen belegt\"",
- "CONGESTIONRETRYTIME": "Erneuter Versuch nach (Minuten)",
- "BUSYMAXRETRY": "Max. Wiederversuche bei \"Besetzt\"",
- "BUSYRETRYTIME": "Erneuter Versuch nach (Minuten)",
+ "GLOBALMAXRETRY": "Max. Wiederholungen",
+ "CONGESTION": "Ãberlastung",
+ "CONGESTIONMAXRETRY": "Max. Wiederholungen",
+ "CONGESTIONRETRYTIME": "Wiederholen Zeit [min]",
+ "BUSYMAXRETRY": "Max. Wiederholungen",
+ "BUSYRETRYTIME": "Wiederholen Zeit [min]",
"NOANSWER": "Keine Antwort",
- "NOANSWERMAXRETRY": "Max. Wiederversuche bei \"keine Antwort\"",
- "NOANSWERRETRYTIME": "Erneuter Versuch nach (Minuten)",
- "QUEUE_PARAMS": "Warteschlangen-Parameter",
- "ORIGINATED": "Ursprung",
+ "NOANSWERMAXRETRY": "Max. Wiederholungen",
+ "NOANSWERRETRYTIME": "Wiederholen Zeit [min]",
+ "QUEUE_PARAMS": "Queue Parameter",
+ "ORIGINATED": "Entstanden",
"MESSAGE": "Nachricht",
- "DROPPED": "Vom System aufgelegt (Drop)",
+ "DROPPED": "Zurück",
"CREATED_AT": "Erstellt am",
"LEGEND": {
"CUSTOM_APPLICATION": "(*) - Benutzerdefinierte Anwendung."
},
"ERRORS": {
- "DIALRECALLMETIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröpÃer oder gleich sein als",
- "DIALRECALLMETIMEOUT_REQUIRED": "Zeitüberschreitung Wiederversuch erforderlich",
- "NAME_MUST_VALID_PATTERN": "Ungültiges Format Name",
- "PREFIX_MUST_VALID_PATTERN": "Ungültiges Format Präfix",
- "NAME_REQUIRED": "Name erforderlich",
- "TIMEOUT_REQUIRED": "Zeitüberschreitung erforderlich",
- "PHONENUMBER_REQUIRED": "Telefonnummer erforderlich",
- "CONTEXT_REQUIRED": "Kontext erforderlich",
- "DESTINATIONPATTERN_REQUIRED": "Ziel-Pattern erforderlich",
- "FULLNAME_REQUIRED": "Vollständiger Name erforderlich",
- "EMAIL_REQUUIRED": "E-Mail erforderlich",
- "EMAIL_MUST_VALID": "Ungültiges Format E-Mail",
- "MAILBOX_REQUIRED": "Mailbox erforderlich",
- "PASSWORD_REQUIRED": "Passwort erforderlich",
+ "DIALRECALLMETIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer als oder gleich",
+ "DIALRECALLMETIMEOUT_REQUIRED": "Pflichtfeld",
+ "NAME_MUST_VALID_PATTERN": "Name gültig sein muss eine gültige Muster",
+ "PREFIX_MUST_VALID_PATTERN": "Präfix gültig sein muss eine gültige Muster",
+ "NAME_REQUIRED": "Der Name ist erforderlich",
+ "TIMEOUT_REQUIRED": "Der Timeout ist erforderlich",
+ "PHONENUMBER_REQUIRED": "Die Telefonnummer ist erforderlich",
+ "CONTEXT_REQUIRED": "Der Kontext ist erforderlich",
+ "DESTINATIONPATTERN_REQUIRED": "Das Ziel-pattern ist erforderlich",
+ "FULLNAME_REQUIRED": "Der vollständige Name ist erforderlich",
+ "EMAIL_REQUUIRED": "Die E-Mail ist erforderlich",
+ "EMAIL_MUST_VALID": "Die E-Mail muss ein gültiges Format geschrieben werden",
+ "MAILBOX_REQUIRED": "Die Mailbox muss angegeben werden",
+ "PASSWORD_REQUIRED": "Das Kennwort ist erforderlich",
"CONFIRM_NOT_MATCH": "Die Passwörter stimmen nicht überein.",
- "TIMEZONE_REQUIRED": "Zeitzone erforderlich",
- "PREFIX_REQUIRED": "Präfix erforderlich",
- "OPTIONS_REQUIRED": "Optionen erforderlich",
- "AFTERCALLWORKDURATION_REQUIRED": "Dauer Nacharbeit erforderlich",
- "TECHNOLOGY/RESOURCE_REQUIRED": "Ressource erforderlich",
- "PHONE_REQUIRED": "Telefonnummer erforderlich",
- "VALUE_REQUIRED": "Wert erforderlich",
- "EXTENSION_REQUIRED": "Nebenstelle erforderlich",
- "PRIORITY_REQUIRED": "Priorität erforderlich",
- "GLOBALMAXRETRY_REQUIRED": "Max. Wiederversuche erforderlich",
- "CONGESTIONMAXRETRY_REQUIRED": "Max. Wiederversuche erforderlich",
- "CONGESTIONRETRYTIME_REQUIRED": "Zeit für frühesten Wiederversuch erforderlich",
- "BUSYMAXRETRY_REQUIRED": "Max. Wiederversuche erforderlich",
- "BUSYRETRYTIME_REQUIRED": "Zeit für frühesten Wiederversuch erforderlich",
- "NOANSWERMAXRETRY_REQUIRED": "Max. Wiederversuche erforderlich",
- "NOANSWERRETRYTIME_REQUIRED": "Zeit für frühesten Wiederversuch erforderlich",
- "QUEUETIMEOUT_REQUIRED": "Zeitüberschreitung Warteschlange erforderlich",
- "ORIGINATETIMEOUT_REQUIRED": "Zeitüberschreitung Rufaufbau erforderlich",
- "GLOBALINTERVAL_REQUIRED": "Globale Zeitplanung erforderlich",
- "MAXCONCURRENTCALLS_REQUIRED": "Wert für max. Anzahl gleichzeitiger Anrufe erforderlich",
- "CONCURRENTCALLS_REQUIRED": "Wert für Anzahl gleichzeitiger Anrufe erforderlich",
- "POWERLEVEL_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
- "PREDICTIVEOPTIMIZATIONPERCENTAGE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Optimierung Predictive-Dialing muss gröÃer oder gleich sein als",
- "PREDICTIVEINTERVAL_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Intervall Predictive-Dialing muss gröÃer oder gleich sein als",
- "MAXCONCURRENTCALLS_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Max. Anzahl gleichzeitiger Anrufe muss gröÃer oder gleich sein als",
- "ORIGINATETIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung Rufaufbau muss gröÃer oder gleich sein als",
- "QUEUETIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung Warteschlange muss gröÃer oder gleich sein als",
- "AGENTTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung Agent muss gröÃer oder gleich sein als",
- "RETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wiederversuch muss gröÃer oder gleich sein als",
- "WRAPUPTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Nacharbeitszeit muss gröÃer oder gleich sein als",
- "WEIGHT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Gewichtung muss gröÃer oder gleich sein als",
- "GLOBALMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Globaler Wert für Wiederholungen muss gröÃer oder gleich sein als",
- "CONGESTIONMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Max. Wiederversuche bei Leitungsstau muss gröÃer oder gleich sein als",
- "CONGESTIONRETRYTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeit für Wiederversuche bei Leitungsstau muss gröÃer oder gleich sein als",
- "BUSYMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Max. Anzahl Wiederversuche bei Besetzt muss gröÃer oder gleich sein als",
- "BUSYRETRYTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeit für Wiederversuch bei Besetzt muss gröÃer oder gleich sein als",
- "NOANSWERMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Max. Anzahl Wiederversuche bei keiner Antwort muss gröÃer oder gleich sein als",
- "NOANSWERRETRYTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung bei keiner Antwort muss gröÃer oder gleich sein als",
- "CONCURRENTCALLS_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert gleichzeitige Anrufe muss gröÃer oder gleich sein als",
- "POWERLEVEL_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Level bei Power-Dialing muss kleiner oder gleich sein als",
- "PREDICTIVEOPTIMIZATIONPERCENTAGE_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Prozentsatz Optimierung Predictive-Dialing muss kleiner oder gleich sein als",
- "PREDICTIVEINTERVAL_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Intervall bei Predictive-Dialing muss kleiner oder gleich sein als",
- "MAXCONCURRENTCALLS_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Max. Anzahl gleichzeitiger Anrufe muss kleiner oder gleich sein als",
- "ORIGINATETIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung bei Rufaufbau muss kleiner oder gleich sein als",
- "QUEUETIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung Warteschlange muss kleiner oder gleich sein als",
- "GLOBALMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Max. Anzahl globaler Wiederversuche muss kleiner oder gleich sein als",
- "CONGESTIONMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Max. Wiederversuche bei Leitungsstau muss kleiner oder gleich sein als",
- "CONGESTIONRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung bei Leitungsstau muss kleiner oder gleich sein als",
- "BUSYMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Max. Anzahl Wiederversuche bei Besetzt muss kleiner oder gleich sein als",
- "BUSYRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeit Wiederversuch bei Besetzt muss kleiner oder gleich sein als",
- "NOANSWERMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Max. Anzahl Wiederversuche bei keiner Antwort muss kleiner oder gleich sein als",
- "NOANSWERRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung bei keiner Antwort muss kleiner oder gleich sein als",
- "CONCURRENTCALLS_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Anzahl gleichzeitiger Anrufe muss kleiner oder gleich sein als",
- "EMAIL_REQUIRED": "E-Mail erforderlich",
- "AGENTTIMEOUT_REQUIRED": "Zeitüberschreitung Agent erforderlich",
- "INTERVAL_REQUIRED": "Zeitintervall erforderlich",
- "RANDOMLASTDIGITCALLERIDNUMBER_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zufällige letzte Ziffer muss kleiner oder gleich sein als",
- "RANDOMLASTDIGITCALLERIDNUMBER_REQUIRED": "Zufällige letzte Ziffer erforderlich",
- "CUTDIGIT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Abgeschnittene Nummer muss gröÃer oder gleich sein als",
- "CUTDIGIT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Abgeschnittene Nummer muss kleiner oder gleich sein als",
- "CUTDIGIT_REQUIRED": "Abgeschnittene Nummer erforderlich",
- "RANDOMLASTDIGITCALLERIDNUMBER_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein als",
- "AGENT_REQUIRED": "Agent erforderlich",
- "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "Pausen-ID bei Qualifizierung erforderlich",
- "ABANDONEDMAXRETRY_REQUIRED": "Wert erforderlich",
- "ABANDONEDRETRYTIME_REQUIRED": "Wert erforderlich",
- "AGENTREJECTMAXRETRY_REQUIRED": "Max. Wiederversuche Agent erforderlich",
- "AGENTREJECTRETRYTIME_REQUIRED": "Zeitüberschreitung Agent erforderlich",
- "DROPMAXRETRY_REQUIRED": "Max. Drop-Rate erforderlich",
- "DROPRETRYTIME_REQUIRED": "Zeit für Wiederversuch bei Drop-Call erforderlich",
- "MACHINEMAXRETRY_REQUIRED": "Max. Anzahl Wiederversuche bei Anrufbeantworter erforderlich",
- "MACHINERETRYTIME_REQUIRED": "Zeitüberschreitung bei Anrufbeantworter erforderlich",
- "NOSUCHNUMBERMAXRETRY_REQUIRED": "Max. Anzahl Wiederversuche bei falscher Nummer erforderlich",
- "NOSUCHNUMBERRETRYTIME_REQUIRED": "Zeit nach falscher Nummer erforderlich",
- "CALLYSQUAREPROJECT_REQUIRED": "Call-Flow Projekt erforderlich",
- "TRUNK_REQUIRED": "SIP-Trunk erforderlich",
- "ABANDONEDMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Max. Anzahl Wiederversuche bei Nummer nicht erreicht muss kleiner oder gleich sein als",
- "ABANDONEDRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeit bei Nummer nicht erreicht muss kleiner oder gleich sein als",
- "AGENTREJECTMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Max. Anzahl Wiederversuche bei Ablehnung durch Agenten muss kleiner oder gleich sein als",
- "AGENTREJECTRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeit bei Ablehnung durch Agenten muss kleiner oder gleich sein als",
- "DROPMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Max. Wiederversuche bei Drop-Call muss kleiner oder gleich sein als",
- "DROPRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeit nach Drop-Call muss kleiner oder gleich sein als",
- "MACHINEMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Max. Anzahl Wiederversuche bei Anrufbeantworter muss kleiner oder gleich sein als",
- "MACHINERETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeit bei Anrufbeantworter muss kleiner oder gleich sein als",
- "NOSUCHNUMBERMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Max. Anzahl Wiederversuche bei falscher Nummer muss kleiner oder gleich sein als",
- "NOSUCHNUMBERRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeit bei falscher Nummer muss kleiner oder gleich sein als",
+ "TIMEZONE_REQUIRED": "Die Zeitzone ist erforderlich",
+ "PREFIX_REQUIRED": "Das Präfix ist erforderlich,",
+ "OPTIONS_REQUIRED": "Die Optionen sind Erforderlich",
+ "AFTERCALLWORKDURATION_REQUIRED": "Die Arbeit nach Anruf Dauer ist erforderlich",
+ "TECHNOLOGY/RESOURCE_REQUIRED": "Die Technologie/Ressource ist erforderlich",
+ "PHONE_REQUIRED": "Die Telefonnummer ist erforderlich",
+ "VALUE_REQUIRED": "Der Wert ist erforderlich",
+ "EXTENSION_REQUIRED": "Die Verlängerung ist erforderlich",
+ "PRIORITY_REQUIRED": "Die Priorität ist erforderlich",
+ "GLOBALMAXRETRY_REQUIRED": "Max. Wiederholungen ist erforderlich",
+ "CONGESTIONMAXRETRY_REQUIRED": "Max. Wiederholungen ist erforderlich",
+ "CONGESTIONRETRYTIME_REQUIRED": "Zeit für Wiederholungen ist erforderlich",
+ "BUSYMAXRETRY_REQUIRED": "Max. Wiederholungen ist erforderlich",
+ "BUSYRETRYTIME_REQUIRED": "Zeit für Wiederholungen ist erforderlich",
+ "NOANSWERMAXRETRY_REQUIRED": "Max. Wiederholungen ist erforderlich",
+ "NOANSWERRETRYTIME_REQUIRED": "Zeit für Wiederholungen ist erforderlich",
+ "QUEUETIMEOUT_REQUIRED": "Warteschlange Timeout ist erforderlich",
+ "ORIGINATETIMEOUT_REQUIRED": "Stammen Timeout ist erforderlich",
+ "GLOBALINTERVAL_REQUIRED": "Globale Intervall ist erforderlich",
+ "MAXCONCURRENTCALLS_REQUIRED": "Der Wert für die maximale Anzahl gleichzeitiger Anrufe ist erforderlich",
+ "CONCURRENTCALLS_REQUIRED": "Der Wert für die Anzahl gleichzeitiger Anrufe ist erforderlich",
+ "POWERLEVEL_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Leistung muss gröÃer als oder gleich",
+ "PREDICTIVEOPTIMIZATIONPERCENTAGE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die prädiktive Optimierung Prozentsatz muss gröÃer als oder gleich",
+ "PREDICTIVEINTERVAL_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die prädiktive Intervall muss gröÃer als oder gleich",
+ "MAXCONCURRENTCALLS_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die maximale Anzahl gleichzeitiger Anrufe muss gröÃer als oder gleich",
+ "ORIGINATETIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die stammen Timeout muss gröÃer als oder gleich",
+ "QUEUETIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Warteschlange Timeout muss gröÃer als oder gleich",
+ "AGENTTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Agent Timeout muss gröÃer als oder gleich",
+ "RETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Wiederholung muss gröÃer als oder gleich",
+ "WRAPUPTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Nachlese Zeit muss gröÃer als oder gleich",
+ "WEIGHT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Das Gewicht muss gröÃer als oder gleich",
+ "GLOBALMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die globale Max wiederholen muss gröÃer als oder gleich",
+ "CONGESTIONMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Ãberlastung Max wiederholen muss gröÃer als oder gleich",
+ "CONGESTIONRETRYTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Verkehrsüberlastung erneut Zeit muss gröÃer als oder gleich",
+ "BUSYMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die geschäftige Max wiederholen muss gröÃer als oder gleich",
+ "BUSYRETRYTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die geschäftige Zeit für Wiederholungen muss gröÃer als oder gleich",
+ "NOANSWERMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Antwort Nein Max wiederholen muss gröÃer als oder gleich",
+ "NOANSWERRETRYTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Zeitüberschreitung für keine Antwort Zeit für Wiederholungen muss gröÃer als oder gleich",
+ "CONCURRENTCALLS_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die gleichzeitige Anrufe muss gröÃer als oder gleich",
+ "POWERLEVEL_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die Leistung muss kleiner als oder gleich",
+ "PREDICTIVEOPTIMIZATIONPERCENTAGE_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die prädiktive Optimierung Prozentsatz muss kleiner als oder gleich",
+ "PREDICTIVEINTERVAL_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die prädiktive Intervall muss kleiner als oder gleich",
+ "MAXCONCURRENTCALLS_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die maximale Anzahl gleichzeitiger Anrufe muss kleiner als oder gleich",
+ "ORIGINATETIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die stammen Timeout muss kleiner als oder gleich",
+ "QUEUETIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die Warteschlange Timeout muss kleiner als oder gleich",
+ "GLOBALMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die globale Max wiederholen muss kleiner als oder gleich",
+ "CONGESTIONMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die Ãberlastung Max wiederholen muss kleiner als oder gleich",
+ "CONGESTIONRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die Ãberlastung Zeit für Wiederholungen muss kleiner als oder gleich",
+ "BUSYMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die geschäftige Max wiederholen muss kleiner als oder gleich",
+ "BUSYRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die geschäftige Zeit für Wiederholungen muss kleiner als oder gleich",
+ "NOANSWERMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die Antwort Nein Max wiederholen muss kleiner als oder gleich",
+ "NOANSWERRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die Zeitüberschreitung für keine Antwort Zeit für Wiederholungen muss kleiner als oder gleich",
+ "CONCURRENTCALLS_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die gleichzeitige Anrufe muss kleiner als oder gleich",
+ "EMAIL_REQUIRED": "Pflichtfeld",
+ "AGENTTIMEOUT_REQUIRED": "Pflichtfeld",
+ "INTERVAL_REQUIRED": "Pflichtfeld",
+ "RANDOMLASTDIGITCALLERIDNUMBER_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "RANDOMLASTDIGITCALLERIDNUMBER_REQUIRED": "Pflichtfeld",
+ "CUTDIGIT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "CUTDIGIT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "CUTDIGIT_REQUIRED": "Pflichtfeld",
+ "RANDOMLASTDIGITCALLERIDNUMBER_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "AGENT_REQUIRED": "Pflichtfeld",
+ "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "Pflichtfeld",
+ "ABANDONEDMAXRETRY_REQUIRED": "Pflichtfeld",
+ "ABANDONEDRETRYTIME_REQUIRED": "Pflichtfeld",
+ "AGENTREJECTMAXRETRY_REQUIRED": "Pflichtfeld",
+ "AGENTREJECTRETRYTIME_REQUIRED": "Pflichtfeld",
+ "DROPMAXRETRY_REQUIRED": "Pflichtfeld",
+ "DROPRETRYTIME_REQUIRED": "Pflichtfeld",
+ "MACHINEMAXRETRY_REQUIRED": "Pflichtfeld",
+ "MACHINERETRYTIME_REQUIRED": "Pflichtfeld",
+ "NOSUCHNUMBERMAXRETRY_REQUIRED": "Pflichtfeld",
+ "NOSUCHNUMBERRETRYTIME_REQUIRED": "Pflichtfeld",
+ "CALLYSQUAREPROJECT_REQUIRED": "Pflichtfeld",
+ "TRUNK_REQUIRED": "Pflichtfeld",
+ "ABANDONEDMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "ABANDONEDRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "AGENTREJECTMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "AGENTREJECTRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "DROPMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "DROPRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "MACHINEMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "MACHINERETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "NOSUCHNUMBERMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "NOSUCHNUMBERRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
"CALLADDITIONALPHONEAFTERMIN_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Rufen Sie add.phone nach min. sollte gröÃer oder gleich sein",
"CALLADDITIONALPHONEAFTERMIN_REQUIRED": "Pflichtfeld"
},
"GENERAL": "Allgemein",
- "AGENTTIMEOUT": "Zeitüberschreitung Agent",
+ "AGENTTIMEOUT": "Agent Timeout",
"MAXLENGTH": "Maximale Länge",
"RETRY": "Erneut versuchen",
- "WRAPUPTIME": "Zeit Nacharbeit",
- "WEIGHT": "Gewichtung",
- "JOINWHENEMPTY": "Beitreten, wenn leer",
+ "WRAPUPTIME": "Wrapup Zeit",
+ "WEIGHT": "Gewicht",
+ "JOINWHENEMPTY": "Melden Sie wenn sie leer",
"LEAVEWHENEMPTY": "Verlassen, wenn leer",
"HELP": {
- "DIALORDERBYSCHEDULEDAT": "Reihenfolge Anwahl nach Planung",
- "DIALRECALLINQUEUE": "Anwahl in Warteschlange",
- "DIALRECALLMETIMEOUT": "Zeit (Min) für Reservierung des Anrufes an Agenten",
- "PRIORITY": "Priorität",
- "AMDMAXIMUMWORDLENGTH": "Maximale Wortlänge für die Anrufbeantworter-Erkennung",
- "AMDMINWORDLENGTH": "Minimale Wortlänge für die Anrufbeantworter-Erkennung",
- "AMDSILENCETHRESHOLD": "Sobald die durchschnittliche Lautstärke von Geräuschen diesen Wert (Skala 0 bis 32767) unterschreitet, wird Stille interpretiert",
- "AMDTOTALANALYSISTIME": "Maximale Zeit für eine Erkennung von Anrufbeantworter oder reale Person",
- "AMDAFTERGREETINGSILENCE": "Stille nach der Feststellung einer BegrüÃung. Wenn überschritten, wird der Anruf als \"reale Person\" klassifiziert",
- "AMDGREETING": "Maximale Länge für eine BegrüÃungsnachricht. Wenn überschritten, wird der Anruf als Anrufbeantworter klassifiziert",
- "AMDINITIALSILENCE": "Maximale Stille vor der BegrüÃungsnachricht. Wenn überschritten, wird der Anruf als Anrufbeantworter klassifiziert",
- "AMDACTIVE": "Aktivieren oder Deaktivieren der Anrufbeantworter-Erkennung",
- "AMDBETWEENWORDSSILENCE": "Minimale Dauer der Pause nach einem Wort, bevor ein neues Wort erkannt werden kann",
- "AMDMAXIMUMNUMBEROFWORDS": "Maximale Anzahl der Wörter in der BegrüÃung. Wenn erreicht, wird der Anruf als Anrufbeantworter klassifiziert",
- "CALLYSQUAREPROJECT": "Legen Sie hier einen Call-Flow für den ausgehenden Anruf fest, bevor dieser in die Warteschleife geleitet wird",
- "PREFIX": "Vorwahl (Präfix)",
+ "DIALORDERBYSCHEDULEDAT": "Sie Kontakte von Hopper (absteigend oder aufsteigend).",
+ "DIALRECALLINQUEUE": "Planen Sie für die Agenten in der Warteschlange",
+ "DIALRECALLMETIMEOUT": "Zeitintervall (in Minuten), für die mir der Gültigkeitsdauer",
+ "PRIORITY": "Priorität in der Liste",
+ "AMDMAXIMUMWORDLENGTH": "Zulässige Höchstdauer von einer einzigen Stimme auszusprechen.",
+ "AMDMINWORDLENGTH": "Minimale Dauer eines Voice ein Wort betrachtet zu werden.",
+ "AMDSILENCETHRESHOLD": "Wenn die durchschnittliche Höhe der Lärm in einer Probe, die diesen Wert nicht erreichen, aus einer Skala von 0 bis 32767, dann werden wir es als Stille betrachten",
+ "AMDTOTALANALYSISTIME": "Maximale Zeit für den Algorithmus, ob die Audio stellt ein Mensch oder eine Maschine zu entscheiden erlaubt",
+ "AMDAFTERGREETINGSILENCE": "Stille nach der Feststellung einer BegrüÃung. Wenn die Zeit überschritten wird, dann ist das Ergebnis der Erkennung als Mensch",
+ "AMDGREETING": "Maximale Länge für eine GruÃansage. Wenn die Zeit überschritten wird, dann ist das Ergebnis der Erkennung als Maschine",
+ "AMDINITIALSILENCE": "\"Längstmögliche Stille Dauer, bevor Sie die GruÃansage auf. Wenn die Zeit überschritten wird, dann ist das Ergebnis der Erkennung als Maschine",
+ "AMDACTIVE": "Aktivieren oder Deaktivieren von Anrufbeantwortern Erkennung Versuche",
+ "AMDBETWEENWORDSSILENCE": "Minimale Dauer der Stille nach einem Wort, die Audio, die als neues Wort folgt in Betracht zu ziehen",
+ "AMDMAXIMUMNUMBEROFWORDS": "Maximale Anzahl der Wörter in der BegrüÃung. Wenn es erreicht wird, dann ist das Ergebnis der Erkennung als Maschine",
+ "CALLYSQUAREPROJECT": "Wenn Sie ein IVR-Projekt aus der Liste aus, das Wählsystem den Anruf an den IVR-Dienst, bevor Sie ihn in einer Warteschlange.",
+ "PREFIX": "Vorwahl",
"ACTIVE": "Aktiv",
- "AGENTTIMEOUT": "Definiert die Zeit (in Sekunden), in der die Nebenstelle des Agenten klingelt",
- "MAXLENGTH": "Maximale Anzahl von Anrufen in der Warteschlange (0 = keine Begrenzung)",
- "RETRY": "Definiert wie Lange (Sekunden) auf eine Antwort des Agenten gewartet wird, bevor der Anruf beim nächsten Agenten klingelt",
- "WRAPUPTIME": "Zeit (in Sekunden), in welcher der Agent nach einem Anruf nicht verfügbar ist",
- "WEIGHT": "Gewichtung der Warteschlangen untereinander, sofern die Agenten auf mehr als einer Warteschlange arbeiten",
- "JOINWHENEMPTY": "Definiert, ob ein Anruf in die Warteschleife eintreten kann, wenn keine Agenten verfügbar sind",
- "LEAVEWHENEMPTY": "Trennt den Anruf in der Warteschleife, sofern keine Agenten verfügbar sind",
- "ANNOUNCEFREQUENCY": "Definiert, wie oft dem Anrufer die aktuelle Warteposition und/oder die erwartete Wartezeit angesagt wird. (0 zum Deaktivieren dieser Funktion)",
- "MINANNOUNCEFREQUENCY": "Minimale Ansage der Warteposition/Wartezeit. Nützlich, wenn der Anrufer die Warteposition oft wechselt",
- "PERIODICANNOUNCEFREQUENCY": "Intervall für sich Widerholende Ansagen an den Anrufer",
- "ANNOUNCEPOSITIONLIMIT": "Warteposition wird nur ab dem eingestellten Wert angesagt",
- "AFTERCALLWORKDURATION": "Die Dauer der Nacharbeit nach einem Anruf (Sekunden)",
- "MEMBERDELAY": "Verzögert die Zustellung des Anrufes an den Agenten um den eingestellten Wert (Sekunden)",
- "MUSICONHOLD": "Definiert die Wartemusik innerhalb der Warteschlange",
- "ANNOUNCETOAGENT": "Spielt dem Agenten eine Mitteilung über den Ursprung des Anrufes vor der Annahme",
- "RANDOMPERIODICANNOUNCE": "Bei \"Ja\" werden die definierten Ansagen in einer zufälligen Reihenfolge abgespielt",
- "ANNOUNCEHOLDTIME": "Definiert, ob die geschätzte Wartezeit zusätzlich zur Wartemusik abgespielt wird. (Ja/Nein/nur ein Mal)",
- "ANNOUNCECALLERPOSITION": "Definiert, ob die aktuelle Warteposition des Anrufers angesagt wird. Nein = Niemals; Ja = Immer; Limit = nur wenn innerhalb des Limits für Warteposition; Mehr = wenn überhalb des Limits für Warteposition",
- "REPORTHOLDTIMEAGENT": "Ermöglicht dem Agenten, die Wartezeit des Anrufers zu hören",
- "PERIODICANNOUNCE": "Reihenfolge der Ansagen innerhalb der Warteschlange",
- "HOLDTIMEANNOUNCE": "Wählt die Audiodatei (Hochladen einer Datei im Menü \"Werkzeuge\") für die Ansage der Wartezeit. Bsp: \"Ihre geschätzte Wartezeit beträgt\" Wenn leer, wird keine Ansage abgespielt",
- "YOUARENEXTANNOUNCE": "Wählt die Audiodatei (Hochladen einer Datei im Menü \"Werkzeuge\") für die Ansage der ersten Position in der Warteschlange. Bsp: \"Der nächste freie Mitarbeiter wird Ihren Anruf in Kürze entgegennehmen\" Wenn leer, wird keine Ansage abgespielt",
- "THEREAREANNOUNCE": "Erster Teil der Ansage für die bereits wartenden Anrufe. Bsp: \"Vor Ihnen befinden sich noch..:\"; Wenn leer, wird keine Ansage abgespielt",
- "WAITINGCALLSANNOUNCE": "Zweiter Teil der Ansage für die bereits wartenden Anrufe. Bsp: \"...Anrufe in der Warteschlange\"; Wenn leer, wird keine Ansage abgespielt",
- "ESTIMATEDHOLDTIMEANNOUNCE": "Wählt die Audiodatei (Hochladen einer Datei im Menü \"Werkzeuge\") für die Ansage der geschätzten Wartezeit. Bsp: \"Ihre aktuelle Wartezeit beträgt ca....\" Wenn leer, wird keine Ansage abgespielt",
- "MINUTESANNOUNCE": "Wählt die Audiodatei (Hochladen einer Datei im Menü \"Werkzeuge\") für das Wort \"Minuten\". Wenn leer, wird keine Ansage abgespielt",
- "MINUTEANNOUNCE": "Wählt die Audiodatei (Hochladen einer Datei im Menü \"Werkzeuge\") für das Wort \"Minute\". Wenn leer, wird keine Ansage abgespielt",
- "SECONDSANNOUNCE": "Wählt die Audiodatei (Hochladen einer Datei im Menü \"Werkzeuge\") für das Wort \"Sekunden\". Wenn leer, wird keine Ansage abgespielt",
- "THANKYOUANNOUNCE": "Wählt die Audiodatei (Hochladen einer Datei im Menü \"Werkzeuge\") für eine Ansage zum Dank. Bsp: \"Vielen Dank für Ihre Geduld\" Wenn leer, wird keine Ansage abgespielt",
- "AFTERCALLWORK": "Wenn aktiviert, wird der Agent nach jedem Anruf in eine definierbare Pause zur Nacharbeit gesetzt",
- "AUTOPAUSE": "Legt fest, ob der Agent in eine automatische pause gesetzt wird, sofern dieser den aktuellen Anruf nicht innerhalb der definierten Zeit entgegennimmt. Wenn ja, wird der Agent in allen zugewiesenen Kampagnen auf Pause gesetzt. ",
- "RINGINUSE": "Aktivieren/Deaktivieren der Anrufzustellung wenn der Status der Nebenstelle Besetzt ist",
- "TIMEOUTRESTART": "Wenn ja, wird die Zeitüberschreitung bei Agenten mit \"Besetzt\" oder \"Verbindungsfehler\"-Status übersprungen",
- "MONITORFORMAT": "Definiert das Dateiformat für Gesprächsaufzeichnungen. Wenn leer, findet keine Gesprächsaufzeichnung statt.",
- "CONTEXT": "Ermöglicht einem Anrufer, durch Drücken einer einzelnen Taste, die Warteschlange zu verlassen.",
- "SETINTERFACEVARIABLES": "Wenn aktiviert, können aufgenommene Variabeln vor einem Anruf an den Agenten weitergegeben werden. (Siehe Wiki)",
- "SETQUEUEVARIABLES": "Wenn aktiviert, können aufgenommene Variabeln nach dem Verlassen der Warteschlange an den Agenten weitergegeben werden. (Siehe Wiki)",
- "SETQUEUEENTRYVARIABLES": "Wenn aktiviert, können aufgenommene Variabeln beim Eintreten in die Warteschlange an den Agenten weitergegeben werden. (Siehe Wiki)",
- "RECORDING": "Automatische Gesprächsaufzeichnung Deaktivieren/Aktivieren",
- "VOICEMAIL_CONTEXT": "Kontext für Voicemail",
- "METHOD": "Wählform für Outbound-Dialing",
- "POWERLEVEL": "Anzahl der anzurufenden Kontakte pro verfügbarem Agent",
- "PREDICTIVEOPTIMIZATION": "Faktor zur Optimierung des Predictive-Dialing",
- "PREDICTIVEOPTIMIZATIONPERCENTAGE": "Prozentsatz basierend auf dem eingestellten Optimierungsfaktor",
- "PREDICTIVEINTERVAL": "Zeitintervall (in Minuten) innerhalb dessen die Berechnung der angebotenen (Predictive-) Anrufe stattfindet",
- "MAXCONCURRENTCALLS": "Maximale Anzahl gleichzeitiger Anwahlen für die Outboundkampagne (0 = keine Begrenzung)",
- "CONCURRENTCALLS": "Anzahl gleichzeitiger Anwahlen für die Outboundkampagne",
- "ORIGINATECALLERIDNAME": "Name (ID) des ausgehenden Anrufes",
- "ORIGINATECALLERIDNUMBER": "Angezeigte Nummer des ausgehenden Anrufes",
- "ORIGINATETIMEOUT": "Zeit (in Sekunden) für die Entgegennahme eines ausgehenden Anrufes. Nach Ablauf der Zeit wird der Anruf als \"keine Antwort\" klassifiziert",
- "QUEUETIMEOUT": "Zeit (in Sekunden) in welcher ein ausgehender Anruf in der Warteschleife gehalten wird, bevor das System auflegt (Drop-Call). Min: 1 Sek - Max: 999 Sek",
- "GLOBALMAXRETRY": "Maximale Anzahl an Anrufversuchen, bevor der Kontakt verworfen wird",
- "CONGESTIONMAXRETRY": "Maximale Anzahl an Anrufversuchen, bevor der Kontakt verworfen wird. (Sofern der Anruf in einen Leitungsstau führt)",
- "CONGESTIONRETRYTIME": "Zeit (in Minuten), bevor ein Anruf resultierend aus Leitungsstau erneut gewählt wird.",
- "NOANSWERMAXRETRY": "Maximale Anzahl Wiederversuche bei keiner Antwort",
- "NOANSWERRETRYTIME": "Min. Zeit (in Minuten), für einen Wiederversuch nach Ergebnis \"keine Antwort\"",
- "GLOBALINTERVAL": "Globales Zeitintervall, in welchem der Dialer ausgehende Anrufe tätigt. ",
+ "AGENTTIMEOUT": "Gibt die Anzahl von Sekunden, die ein Agent Gerät klingeln.",
+ "MAXLENGTH": "Gibt die maximale Anzahl der Anrufer in der Wartezeit in der Warteschlange. Ein Wert von Null bedeutet, dass eine unbegrenzte Anzahl von Anrufern in der Warteschlange erlaubt sind.",
+ "RETRY": "Gibt die Anzahl der Sekunden, bevor das nächste Mitglied in der Warteschlange, wenn der Wert für das Zeitlimit ausgeschöpft ist, während versucht wird, eine Mitglied der Warteschlange, um an den Zahnkranz zu warten.",
+ "WRAPUPTIME": "Die Anzahl der Sekunden, die ein Mitglied in einer Warteschlange nicht mehr verfügbar, nachdem Sie einen Anruf halten.",
+ "WEIGHT": "Legt das Gewicht einer Warteschlange. Eine Warteschlange mit einem höheren Gewicht definiert wird erste Priorität erhalten, wenn die Mitglieder mit mehreren Warteschlangen zugeordnet sind.",
+ "JOINWHENEMPTY": "Steuert, ob ein Anrufer in der Warteschlange hinzugefügt wird, wenn keine Mitglieder vorhanden sind.",
+ "LEAVEWHENEMPTY": "Verwendet, um zu steuern, ob Anrufer aus der Warteschlange gekickt werden, wenn Mitglieder nicht mehr Anrufe verfügbar sind.",
+ "ANNOUNCEFREQUENCY": "Legt fest, wie oft wir die Position des Anrufers und/verkünden sollten oder geschätzte Wartezeit in der Warteschlange. Stellen Sie diesen Wert auf Null zu deaktivieren.",
+ "MINANNOUNCEFREQUENCY": "Gibt die minimale Zeit, die verstreichen muss, bevor wir die Position des Anrufers in der Warteschlange erneut zu verkünden. Dies wird verwendet, wenn der Anrufer häufig ändern kann, wird der Anrufer hören mehrere Updates in einem kurzen Zeitraum zu verhindern.",
+ "PERIODICANNOUNCEFREQUENCY": "Gibt an, wie oft wir in regelmäÃigen Abständen Mitteilungen an den Anrufer machen sollte.",
+ "ANNOUNCEPOSITIONLIMIT": "Wenn Sie definiert haben verkünden - Position als entweder einzuschränken oder mehr.",
+ "AFTERCALLWORKDURATION": "Die Dauer der Pause durch die Option \"Arbeit nach Anruf ausgelöst",
+ "MEMBERDELAY": "Verwendet, wenn es eine Verzögerung, bevor der Anrufer und Warteschlange Mitglied miteinander verbunden werden möchten.",
+ "MUSICONHOLD": "Setzt die Musik klasse von einer bestimmten Warteschlange verwendet werden.",
+ "ANNOUNCETOAGENT": "Für das Spielen eine Ansage, die auf den Agenten, der den Anruf entgegengenommen, in der Regel verwendet, um ihn wissen zu lassen, was der Anrufer Warteschlange kommt.",
+ "RANDOMPERIODICANNOUNCE": "Wenn \"yes\" festgelegt ist, wird die definierte in regelmäÃigen Abständen Mitteilungen in einer zufälligen Reihenfolge wiedergeben.",
+ "ANNOUNCEHOLDTIME": "Legt fest, ob die geschätzte Wartezeit zusammen mit dem in regelmäÃigen Abständen Mitteilungen gespielt werden sollte.",
+ "ANNOUNCECALLERPOSITION": "Legt fest, ob die Position des Anrufers in der Warteschlange zu Ihrem angekündigt werden sollte. Ist Nein eingestellt, wird die Position wird nie bekannt gegeben. Wenn Sie auf \"Ja\" setzen, wird die Position des Anrufers wird immer bekannt gegeben werden. Wenn der Wert eingestellt ist, wird der Anrufer ihre Position in der Warteschlange hört nur, wenn er sich innerhalb der Grenze von verkünden - Position - Grenzwert festgelegt werden. Wenn der Wert auf mehr eingestellt ist, wird der Anrufer ihre Position zu hören, wenn Sie über die Anzahl von verkünden - Position - Grenzwert definiert ist.",
+ "REPORTHOLDTIMEAGENT": "Ermöglicht die Berichterstattung des Anrufers Haltezeit auf die Warteschlange, die vor dem Bridging.",
+ "PERIODICANNOUNCE": "Eine Reihe von in regelmäÃigen Abständen Mitteilungen gespielt zu werden, spielte in der Reihenfolge, in der sie definiert sind.",
+ "HOLDTIMEANNOUNCE": "Wenn nicht angegeben, wird der Standardwert spielen (\"hold\"). Wenn auf einen leeren Wert gesetzt ist, wird die Aufforderung nicht gespielt werden.",
+ "YOUARENEXTANNOUNCE": "Wenn nicht angegeben, wird der Standardwert (\" Jetzt sind Sie in erster Linie\"). Wenn auf einen leeren Wert gesetzt ist, wird die Aufforderung nicht gespielt werden.",
+ "THEREAREANNOUNCE": "Wenn nicht angegeben, wird der Standardwert spielen (\"Es gibt\"). Wenn auf einen leeren Wert gesetzt ist, wird die Aufforderung nicht gespielt werden.",
+ "WAITINGCALLSANNOUNCE": "Wenn nicht angegeben, wird der Standardwert (\"Wartende Anrufe\"). Wenn auf einen leeren Wert gesetzt ist, wird die Aufforderung nicht gespielt werden.",
+ "ESTIMATEDHOLDTIMEANNOUNCE": "Wenn nicht angegeben, wird der Standardwert spielen (\"Das Voraussichtliche Wartezeit\"). Wenn auf einen leeren Wert gesetzt ist, wird die Aufforderung nicht gespielt werden.",
+ "MINUTESANNOUNCE": "Wenn nicht angegeben, wird der Standardwert spielen (\"min\"). Wenn auf einen leeren Wert gesetzt ist, wird die Aufforderung nicht gespielt werden.",
+ "MINUTEANNOUNCE": "Wenn nicht angegeben, wird der Standardwert (\"Minute\"). Wenn auf einen leeren Wert gesetzt ist, wird die Aufforderung nicht gespielt werden.",
+ "SECONDSANNOUNCE": "Wenn nicht angegeben, wird der Standardwert spielen (\"Sekunden\"). Wenn auf einen leeren Wert gesetzt ist, wird die Aufforderung nicht gespielt werden.",
+ "THANKYOUANNOUNCE": "Wenn nicht angegeben, wird der Standardwert spielen (\"Vielen Dank für Ihr Geduld\"). Wenn auf einen leeren Wert gesetzt ist, wird die Aufforderung nicht gespielt werden.",
+ "AFTERCALLWORK": "Wenn aktiv, wird für den Agenten in Pause nach einer abgeschlossenen Anruf in die Warteschlange eingestellt werden.",
+ "AUTOPAUSE": "Aktiviert/deaktiviert das automatische Anhalten der Mitglieder, die es versäumen, um einen Anruf zu beantworten. Wenn aktiv Ursachen dieses Mitglied in allen Warteschlangen er ist Mitglied der angehalten zu werden.",
+ "RINGINUSE": "Verwendet Senden von Anrufen an Mitglieder, deren Status im Einsatz ist zu vermeiden.",
+ "TIMEOUTRESTART": "Wenn die Einstellung Ja lautet, setzt den Timeout für einen Agenten zu beantworten, wenn entweder ein Besetztzeichen oder Staus Status aus dem Kanal empfangen wird.",
+ "MONITORFORMAT": "Gibt das Dateiformat zu verwenden, wenn Sie die Aufnahme. Wenn der Monitor-Format deaktiviert ist, werden die Anrufe nicht aufgezeichnet werden.",
+ "CONTEXT": "Kann ein Anrufer in die Warteschlange verlassen Sie durch Drücken einer einzigen MFV-Ziffer. Wenn ein Kontext angegeben ist und der Anrufer gibt eine Reihe, kann diese Ziffer wird der Versuch unternommen, im Rahmen angegebenen ausgeziffert werden, und Nummernplan Ausführung wird es weiter.",
+ "SETINTERFACEVARIABLES": "Wenn die Einstellung Ja lautet, gerade vor der Anrufer mit einer Warteschlange Mitglied überbrückt werden einige Variablen gesetzt werden (siehe Wiki)",
+ "SETQUEUEVARIABLES": "Wenn die Einstellung Ja lautet, gerade vor der Anrufer mit einer Warteschlange Mitglied überbrückt werden, und kurz vor dem Anrufer die Warteschlange verlassen einige Variablen gesetzt werden (siehe Wiki)",
+ "SETQUEUEENTRYVARIABLES": "Wenn die Einstellung Ja lautet, gerade vor der Anrufer mit einer Warteschlange Mitglied überbrückt werden einige Variablen gesetzt werden (siehe Wiki)",
+ "RECORDING": "Die Anrufaufzeichnung aktivieren",
+ "VOICEMAIL_CONTEXT": "Im Zusammenhang mit der relativen Erweiterung.",
+ "METHOD": "Outbound Dialer Methode.",
+ "POWERLEVEL": "Anzahl der Kontakte, für einen verfügbaren Agenten.",
+ "PREDICTIVEOPTIMIZATION": "Ein Faktor in der vorbestimmten Algorithmus zu optimieren.",
+ "PREDICTIVEOPTIMIZATIONPERCENTAGE": "Prozentsatz, der auf die ausgewählten prädiktive Optimierung Faktor",
+ "PREDICTIVEINTERVAL": "Zeitintervall in Minuten mit prädiktiver Algorithmus berücksichtigt werden Anrufe zu berechnen für die Optimierung der prädiktive Optimierung Faktor zu generieren",
+ "MAXCONCURRENTCALLS": "Die maximale Anzahl gleichzeitiger Anrufe, die vom Outbound Dialer entstanden sein wird.",
+ "CONCURRENTCALLS": "Die maximale Anzahl gleichzeitiger Anrufe, die vom Outbound Dialer für diese Kampagne entstanden sein wird.",
+ "ORIGINATECALLERIDNAME": "Ausgehende Anrufer-ID-Namen",
+ "ORIGINATECALLERIDNUMBER": "Ausgehende Anrufer-ID-Nummer",
+ "ORIGINATETIMEOUT": "Zeit in Sekunden, die ausgehende Anrufe mit Ursprung Verbindung herzustellen. Wenn die Busverbindungen nicht hergestellt ist, wird der Status stammen, wird keine Antwort sein.",
+ "QUEUETIMEOUT": "Zeit (in Sekunden) ein Anruf in der Warteschlange warten, bevor es gelöscht wird (Min 1 und Max. 999)",
+ "GLOBALMAXRETRY": "Maximale Anzahl, wie oft ein Kontakt genannt wird, bevor es geschlossen",
+ "CONGESTIONMAXRETRY": "Maximale Anzahl, wie oft ein Kontakt konnte nicht für Staus Grund genannt wird, bevor es geschlossen",
+ "CONGESTIONRETRYTIME": "Zeit in Minuten, bevor Sie es erneut versuchen einen Kontakt für Staus Grund fehlgeschlagen zu erreichen.",
+ "NOANSWERMAXRETRY": "Maximale Anzahl, wie oft ein Kontakt konnte nicht für Keine Antwort Grund genannt wird, bevor es geschlossen",
+ "NOANSWERRETRYTIME": "Zeit in Minuten, bevor Sie es erneut versuchen einen Kontakt für Keine Antwort Reason zu erreichen.",
+ "GLOBALINTERVAL": "Globale Zeit, in der sich der Dialer erlaubt ist, Kontakte zu nennen. Bitte achten Sie, wenn Sie dieses Feld nicht ändern. Wir sind nicht verantwortlich oder haftbar für die Nichteinhaltung mit Autodialer Gesetze und Bestimmungen einzuhalten.",
"NAME": "Nur Zahlen, Buchstaben und Sonderzeichen (._) werden unterstützt.",
- "TIMEOUT": "Anzahl Sekunden in denen ein Anruf bei einem Agenten klingelt, bevor der nächste Agent angefragt wird",
- "CALLYSQUAREPROJECTPREVIEW": "Call-Flow wird vor der Zustellung an einen Agenten verwendet (Outbound-IVR)",
- "CALLYSQUAREPROJECTPREVIEW2": "Call-Flow für den Transfer, wenn Anrufer aufgelegt hat oder nicht erreichbar ist",
- "RUNIFHANGUPAGENT": "Call-Flow auch dann starten, wenn der Agent aufgelegt hat",
- "CALLYSQUAREPROJECT2": "Call-Flow zur Weiterleitung des Anrufes nach der Warteschlange - Definiert durch Zeitüberschreitung",
- "RANDOMLASTDIGITCALLERIDNUMBER": "Wenn der Wert gröÃer als 0, werden die jeweils letzten Ziffern der ausgehenden Nummer zufällig generiert. (Hinweis: es dürfen nur real existierende und registrierte Nummern verwendet werden)",
- "BUSYMAXRETRY": "Maximale Anzahl Wiederversuche bei \"Besetzt\" oder \"Fehlgeschlagen\"",
- "BUSYRETRYTIME": "Zeit (in Minuten), für Wiederversuch bei \"Besetzt\" oder \"Fehlgeschlagen\"",
- "MANDATORYDISPOSITIONPAUSEID": "Agentenstatus während der Qualifizierung eines Kontaktes",
- "PREDICTIVEMAXTHRESHOLD": "Sofern der Prozentsatz der freien Agenten innerhalb des definierten Zeitraumes höher als der vorhergesagte Zeitraum ist, findet eine neue Kalkulation statt.",
- "PREDICTIVEMINTHRESHOLD": "Sofern der Prozentsatz der freien Agenten innerhalb des definierten Zeitraumes niedriger als der vorhergesagte Zeitraum ist, findet eine neue Kalkulation statt.",
- "ABANDONEDMAXRETRY": "Maximale Anzahl Wiederversuche bei \"Verlassen\"",
- "ABANDONEDRETRYTIME": "Zeit (in Minuten), für Wiederversuch bei \"Verlassen\"",
- "AGENTREJECTMAXRETRY": "Maximale Anzahl Wiederversuche, sofern der Anruf von einem Agenten abgelehnt wurde",
- "AGENTREJECTRETRYTIME": "Zeit (in Minuten), vor einem Wiederversuch, wenn der Anruf von einem Agenten abgelehnt wurde",
- "DROPMAXRETRY": "Maximale Anzahl Wiederversuche, beim Auflegen des System (Drop-Call)",
- "DROPRETRYTIME": "Zeit (in Minuten), vor einem Wiederversuch beim Auflegen des Systems (Drop-Call)",
- "MACHINEMAXRETRY": "Maximale Anzahl Wiederversuche wenn ein Anrufbeantworter erkannt wurde",
- "MACHINERETRYTIME": "Zeit (in Minuten), vor einem Wiederversuch wenn ein Anrufbeantworter erkannt wurde",
- "NOSUCHNUMBERETRYTIME": "Zeit (in Minuten), vor einem Wiederversuch bei \"Nummer falsch\" ",
- "NOSUCHNUMBERMAXRETRY": "Maximale Anzahl Wiederversuche bei \"Nummer falsch\"",
- "NOSUCHNUMBERRETRYTIME": "Zeit (in Minuten), vor einem Wiederversuch bei \"Nummer falsch\" ",
+ "TIMEOUT": "Gibt die Anzahl von Sekunden an, die ein Gerät klingeln.",
+ "CALLYSQUAREPROJECTPREVIEW": "Wenn Sie ein IVR-Projekt auswählen, leitet der Dialer den Anruf an das IVR weiter, wenn ein Agent antwortet (das IVR wird an den Agenten weitergeleitet).",
+ "CALLYSQUAREPROJECTPREVIEW2": "Wenn Sie ein IVR-Projekt auswählen, leitet der Dialer den Anruf an das IVR weiter, wenn ein Client aufgelegt oder nicht erreichbar ist (das IVR wird an den Agenten weitergeleitet).",
+ "RUNIFHANGUPAGENT": "Führen Sie Cally Square Project nach, auch wenn der Agent den Anruf auflegt",
+ "CALLYSQUAREPROJECT2": "Wenn Sie ein IVR-Projekt auswählen, leitet der Dialer den Anruf nach der Warteschlange an das IVR weiter. (Wenn die Warteschlange nach einer Zeitüberschreitung endet)",
+ "RANDOMLASTDIGITCALLERIDNUMBER": "Wenn es gröÃer als 0 ist, erzeugt es die letzten Nummern zufällig aus der Nummer der abgehenden Anrufer-ID",
+ "BUSYMAXRETRY": "Maximale Anzahl, wie oft ein Kontakt angerufen wird, bevor er als geschlossen betrachtet wird, wenn der Anruf wegen Besetzt fehlschlägt",
+ "BUSYRETRYTIME": "Zeit in Minuten, bevor erneut versucht wird, einen fehlgeschlagenen Kontakt anzurufen, weil er beschäftigt ist",
+ "MANDATORYDISPOSITIONPAUSEID": "Pausenstatus, der während der Zwangsdisposition festgelegt werden soll",
+ "PREDICTIVEMAXTHRESHOLD": "Wenn der Prozentsatz der im Zeitfenster verfügbaren Agenten im Vergleich zu den zum Zeitpunkt der Vorhersage verfügbaren Agenten den konfigurierten Maximalwert überschreitet, berechnet die Vorhersage die Vorhersage neu.",
+ "PREDICTIVEMINTHRESHOLD": "Wenn der Prozentsatz der im Zeitfenster verfügbaren Agenten im Vergleich zu den zum Zeitpunkt der Vorhersage verfügbaren Agenten den konfigurierten Mindestgrenzwert überschreitet, berechnet die Vorhersage die Vorhersage neu.",
+ "ABANDONEDMAXRETRY": "Maximale Häufigkeit, mit der ein Kontakt angerufen wird, bevor er als geschlossen betrachtet wird, wenn der Anruf zum Abbrechen fehlgeschlagen ist",
+ "ABANDONEDRETRYTIME": "Zeit in Minuten, bevor versucht wird, einen fehlgeschlagenen Kontakt aufgrund eines Abbruchs erneut anzurufen",
+ "AGENTREJECTMAXRETRY": "Maximale Häufigkeit, mit der ein Kontakt angerufen wird, bevor er als geschlossen betrachtet wird, wenn der Anruf für die Ablehnung des Agenten fehlgeschlagen ist",
+ "AGENTREJECTRETRYTIME": "Zeit in Minuten, bevor versucht wird, einen fehlgeschlagenen Kontakt aufgrund einer Ablehnung des Agenten erneut anzurufen",
+ "DROPMAXRETRY": "Maximale Häufigkeit, mit der ein Kontakt angerufen wird, bevor er als geschlossen betrachtet wird, wenn der Anruf nicht beendet werden konnte",
+ "DROPRETRYTIME": "Zeit in Minuten, bevor versucht wird, einen fehlgeschlagenen Kontakt aufgrund eines Verbindungsabbruchs erneut anzurufen",
+ "MACHINEMAXRETRY": "Maximale Häufigkeit, mit der ein Kontakt angerufen wird, bevor er als geschlossen betrachtet wird, wenn der Anruf für die Maschine fehlgeschlagen ist",
+ "MACHINERETRYTIME": "Zeit in Minuten, bevor versucht wird, einen fehlgeschlagenen Kontakt aufgrund der Maschine erneut anzurufen",
+ "NOSUCHNUMBERETRYTIME": "Zeit in Minuten, bevor versucht wird, einen fehlgeschlagenen Kontakt erneut anzurufen, da keine solche Nummer vorhanden ist",
+ "NOSUCHNUMBERMAXRETRY": "Maximale Häufigkeit, mit der ein Kontakt angerufen wird, bevor er als geschlossen betrachtet wird, wenn der Anruf für keine solche Nummer fehlgeschlagen ist",
+ "NOSUCHNUMBERRETRYTIME": "Zeit in Minuten, bevor versucht wird, einen fehlgeschlagenen Kontakt erneut anzurufen, da keine solche Nummer vorhanden ist",
"PREVIEW_AUTO_RECALL_ME": "Wenn aktiviert, generiert das System automatisch die Wiederanrufe für den Agent automatisch. Wenn deaktiviert, müssen diese Anrufe manuell geplant werden",
"PREVIEW_RECALL_ME_REMINDER": "Wenn aktiviert, sendet das System n Minuten (entsprechend dem in den allgemeinen Einstellungen eingestellten Zeitintervall) eine Benachrichtigung an den Agenten, bevor die Rückrufnachricht generiert wird",
"TIMEZONE": "Zeitzone angeben"
},
- "MUSICONHOLD": "Wartemusik",
- "ANNOUNCETOAGENT": "Ansagenachricht für Agenten",
- "ANNOUNCEMENTS": "Ansagen",
- "ADVANCEDPREVIEW": "Erweitert",
- "ADVANCED": "Erweiterte Einstellungen",
- "ADVANCE": "Erweitert",
- "ANNOUNCEFREQUENCY": "Ansagefrequenz",
- "MINANNOUNCEFREQUENCY": "Min. Frequenz Ansage",
- "PERIODICANNOUNCEFREQUENCY": "Frequenz wiederkehrende Ansagen",
- "RANDOMPERIODICANNOUNCE": "Zufälliges Abspielen der Ansagen",
- "ANNOUNCEHOLDTIME": "Wartezeit ansagen",
- "ANNOUNCECALLERPOSITION": "Warteposition ansagen",
- "ANNOUNCEPOSITIONLIMIT": "Limit für Ansage Warteposition",
- "REPORTHOLDTIMEAGENT": "Wartezeit dem Agenten ansagen",
- "PERIODICANNOUNCE": "Wiederkehrende Ansagen",
- "HOLDTIMEANNOUNCE": "Audiodatei für Ansage Wartezeit",
- "YOUARENEXTANNOUNCE": "Audiodatei für Ansage der ersten Position",
- "THEREAREANNOUNCE": "1. Teil Audiodatei für Ansage der bereits wartenden Anrufer",
- "WAITINGCALLSANNOUNCE": "2. Teil Audiodatei für Ansage der bereits wartenden Anrufer",
- "ESTIMATEDHOLDTIMEANNOUNCE": "Audiodatei für die Information zur geschätzten Wartezeit",
- "MINUTESANNOUNCE": "Audiodatei für die Ansage \"Minuten\"",
- "MINUTEANNOUNCE": "Audiodatei für die Ansage \"Minute\" ",
- "SECONDSANNOUNCE": "Audiodatei für die Ansage \"Sekunden\"",
- "THANKYOUANNOUNCE": "Audiodatei für die Ansage mit Dank für Geduld",
- "AUTOPAUSE": "Automatische Pause bei keiner Antwort",
- "AFTERCALLWORK": "Nacharbeit",
- "AFTERCALLWORKDURATION": "Dauer Nacharbeit",
- "RINGINUSE": "Klingeln bei Besetzt",
- "MEMBERDELAY": "Anrufsverzögerung",
- "TIMEOUTRESTART": "Zeitüberschreitung neu Starten",
- "MONITORFORMAT": "Format für Gesprächsaufzeichnungen",
- "SETINTERFACEVARIABLES": "Interface Variabeln definieren",
- "SETQUEUEVARIABLES": "Warteschlangenvariabeln definieren",
- "SETQUEUEENTRYVARIABLES": "Variabeln bei Eintritt definieren",
- "CONTEXT": "Kontext Austritt aus Warteschlange",
+ "MUSICONHOLD": "Musik auf Halten",
+ "ANNOUNCETOAGENT": "Verkünden auf Agenten",
+ "ANNOUNCEMENTS": "Ankündigungen",
+ "ADVANCEDPREVIEW": "Erweiterte",
+ "ADVANCED": "Erweiterte",
+ "ADVANCE": "Erweiterte",
+ "ANNOUNCEFREQUENCY": "Frequenz ankündigen",
+ "MINANNOUNCEFREQUENCY": "Minimale verkünden Frequenz",
+ "PERIODICANNOUNCEFREQUENCY": "Periodische verkünden Frequenz",
+ "RANDOMPERIODICANNOUNCE": "Random Periodische verkünden",
+ "ANNOUNCEHOLDTIME": "Verkünden. Haltezeit",
+ "ANNOUNCECALLERPOSITION": "Verkünden Anrufer Position",
+ "ANNOUNCEPOSITIONLIMIT": "Verkünden Position Limit",
+ "REPORTHOLDTIMEAGENT": "Bericht Bedienplatz Haltezeit",
+ "PERIODICANNOUNCE": "Periodische verkünden",
+ "HOLDTIMEANNOUNCE": "Hold Zeit verkünden",
+ "YOUARENEXTANNOUNCE": "\"Sie sind weiter' verkünden",
+ "THEREAREANNOUNCE": "'Es gibt' verkünden",
+ "WAITINGCALLSANNOUNCE": "Wartende Anrufe verkünden",
+ "ESTIMATEDHOLDTIMEANNOUNCE": "Halten Sie die geschätzte Zeit verkünden",
+ "MINUTESANNOUNCE": "Minuten ankündigen",
+ "MINUTEANNOUNCE": "Minute verkünden",
+ "SECONDSANNOUNCE": "Sekunden verkünden",
+ "THANKYOUANNOUNCE": "\"Danke\" ankündigen",
+ "AUTOPAUSE": "Auto Pause",
+ "AFTERCALLWORK": "Arbeit nach Anruf",
+ "AFTERCALLWORKDURATION": "Arbeit nach Anruf Dauer",
+ "RINGINUSE": "Ring im Einsatz",
+ "MEMBERDELAY": "Die Verzögerung",
+ "TIMEOUTRESTART": "Timeout neu starten",
+ "MONITORFORMAT": "Aufzeichnungsformat",
+ "SETINTERFACEVARIABLES": "Set Interface Variablen",
+ "SETQUEUEVARIABLES": "Stellen Variablen",
+ "SETQUEUEENTRYVARIABLES": "Stellen ENTRY-Variablen",
+ "CONTEXT": "Kontext",
"SAVE": "Speichern",
"SETTINGS": "Einstellungen",
- "INBOUNDROUTES": "Eingehende Routen",
+ "INBOUNDROUTES": "Ankommende Routen",
"PHONENUMBER": "Telefonnummer",
- "ADD_INBOUNDROUTE": "Eingehende Route hinzufügen",
- "EDIT_INBOUNDROUTE": "Eingehende Route bearbeiten",
- "DELETE_INBOUNDROUTE": "Eingehende Route löschen",
- "ACTIONS": "Routing",
- "OUTBOUNDROUTES": "Ausgehende Routen",
- "DESTINATIONPATTERN": "Ziel-Pattern",
- "ADD_OUTBOUNDROUTE": "Ausgehende Route hinzufügen",
- "EDIT_OUTBOUNDROUTE": "Ausgehende Route bearbeiten",
- "DELETE_OUTBOUNDROUTE": "Ausgehende Route löschen",
- "CUTDIGITS": "Ziffern abschneiden",
- "RECORDING": "Gesprächsaufzeichnung",
+ "ADD_INBOUNDROUTE": "Ankommende Route hinzufügen",
+ "EDIT_INBOUNDROUTE": "Bearbeiten Sie Eingehende Route",
+ "DELETE_INBOUNDROUTE": "Löschen Sie Eingehende Route",
+ "ACTIONS": "Aktionen",
+ "OUTBOUNDROUTES": "Abgehende Routen",
+ "DESTINATIONPATTERN": "Ziel Muster",
+ "ADD_OUTBOUNDROUTE": "Abgehende Route hinzufügen",
+ "EDIT_OUTBOUNDROUTE": "Abgehende Route bearbeiten",
+ "DELETE_OUTBOUNDROUTE": "Abgehende Route löschen",
+ "CUTDIGITS": "Schneiden Sie Ziffern",
+ "RECORDING": "Aufnahme",
"RECORDINGFORMAT": "Aufzeichnungsformat",
"INTERNALROUTES": "Interne Routen",
- "ADD_INTERNALROUTE": "Interne Route hinzufügen",
+ "ADD_INTERNALROUTE": "Fügen Sie interne Route",
"EDIT_INTERNALROUTE": "Interne Route bearbeiten",
"DELETE_INTERNALROUTE": "Interne Route löschen",
"CONTEXTS": "Kontexte",
- "ADD_CONTEXT": "Kontext hinzufügen",
- "EDIT_CONTEXT": "Kontext bearbeiten",
- "DELETE_CONTEXT": "Kontext löschen",
+ "ADD_CONTEXT": "Rahmen hinzufügen",
+ "EDIT_CONTEXT": "Bearbeiten Kontext",
+ "DELETE_CONTEXT": "Löschen von Rahmen",
"VOICEMAILS": "Voicemails",
"ADD_VOICEMAIL": "Voicemail hinzufügen",
- "EDIT_VOICEMAIL": "Voicemail bearbeiten",
+ "EDIT_VOICEMAIL": "Bearbeiten von Voicemail",
"DELETE_VOICEMAIL": "Voicemail löschen",
- "FULLNAME": "Vollständiger Name",
+ "FULLNAME": "Voller Name",
"EMAIL": "E-Mail",
"MAILBOX": "Mailbox",
- "PASSWORD": "Passwort",
+ "PASSWORD": "Kennwort",
"CONFIRM_PASSWORD": "Passwort bestätigen",
"TIMEZONE": "Zeitzone",
- "ATTACH": "Voicemail als E-Mail-Anhang senden",
- "ENVELOPE": "Zeit und Datum ansagen",
+ "ATTACH": "Befestigen",
+ "ENVELOPE": "Umschlag",
"DELETE": "Löschen",
- "EMAILBODY": "E-Mail Text",
+ "EMAILBODY": "E-Mail-Text",
"EMAILSUBJECT": "E-Mail Betreff",
- "MAXSECONDS": "Max. Dauer (Sekunden) Voicemail",
- "MAXMESSAGES": "Max. Nachrichten pro Mailbox",
+ "MAXSECONDS": "Max Sekunden",
+ "MAXMESSAGES": "Max. Nachrichten",
"MESSAGES": "Nachrichten",
"SORT": "Sortieren",
- "ADD_MUSICONHOLD": "Wartemusik hinzufügen",
- "MUSICONHOLDS": "Wartemusik",
- "EDIT_MUSICONHOLD": "Wartemusik bearbeiten",
- "DELETE_MUSICONHOLD": "Wartemusik löschen",
- "DIRECTORY": "Lokales Verzeichnis",
+ "ADD_MUSICONHOLD": "Musik auf Halten",
+ "MUSICONHOLDS": "Musik auf Halten",
+ "EDIT_MUSICONHOLD": "Bearbeiten Musik auf Halten",
+ "DELETE_MUSICONHOLD": "Löschen Sie Musik auf Halten",
+ "DIRECTORY": "Verzeichnis",
"AUDIOFILES": "Audiodateien",
- "RECORDINGS": "Aufzeichnungen",
- "CHANSPY": "Listen-In (Chanspy)",
+ "RECORDINGS": "Aufnahmen",
+ "CHANSPY": "ChanSpy",
"PREFIX": "Präfix",
"OPTIONS": "Optionen",
- "AUTH": "Authentifizierung",
- "ADD_CHANSPY": "Listen-In hinzufügen",
- "EDIT_CHANSPY": "Listen-In bearbeiten",
- "DELETE_CHANSPY": "Listen-In löschen",
+ "AUTH": "Auth",
+ "ADD_CHANSPY": "Chanspy hinzufügen",
+ "EDIT_CHANSPY": "Bearbeiten ChanSpy",
+ "DELETE_CHANSPY": "Löschen ChanSpy",
"AGENTS": "Agenten",
"TELEPHONES": "Telefone",
"QUEUES": "Warteschlangen",
- "QUEUE_CALLS": "Anrufe in Warteschlange",
- "QUEUE_PARAMETERS": "Warteschlangen-Parameter",
+ "QUEUE_CALLS": "Anrufe aus der Warteschlange",
+ "QUEUE_PARAMETERS": "Queue Parameter",
"ABANDONED_CALLS": "Abgebrochene Anrufe",
"OUTBOUND_CALLS": "Ausgehende Anrufe",
- "AGI": "Skript",
+ "AGI": "AGI",
"DIAL": "Wählen",
- "INTERNALDIAL": "Intern wählen",
- "EXTERNALDIAL": "Extern wählen",
- "RINGGROUP": "Rufgruppe zuweisen",
+ "INTERNALDIAL": "Interne Wahl",
+ "EXTERNALDIAL": "Externes Wählen",
+ "RINGGROUP": "Ring Gruppe",
"PLAYBACK": "Wiedergabe",
"QUEUE": "Warteschlange",
- "SET": "Einstellen (Set)",
+ "SET": "Einstellen",
"VOICEMAIL": "Voicemail",
"GOTO": "Gehe zu",
"HANGUP": "Auflegen",
- "CUSTOM": "Benutzerdefiniert",
- "PROJECT": "Call-Flow Projekt",
- "TECHNOLOGY/RESOURCE": "Technologie / Ressource (z.B.: SIP/1003)",
+ "CUSTOM": "Benutzerdefinierte",
+ "PROJECT": "Cally-Square Projekt",
+ "TECHNOLOGY/RESOURCE": "Technologie / Ressource",
"URL": "URL",
- "EDIT_APP": "Anwendung bearbeiten",
- "EDIT_INTERVAL": "Zeitintervall bearbeiten",
+ "EDIT_APP": "Bearbeiten Anwendung",
+ "EDIT_INTERVAL": "Bearbeiten Intervall",
"DELETE_APP": "Anwendung löschen",
- "INTERVALS": "Zeitintervalle",
+ "INTERVALS": "Intervalle",
"USER": "Benutzer",
- "TRUNK": "SIP-Trunk",
+ "TRUNK": "Amtsleitung",
"PHONE": "Telefon",
"AUDIO_FILES": "Audiodateien",
- "ANNOUNCE_OVERRIDES": "Ansage überschreiben",
+ "ANNOUNCE_OVERRIDES": "Verkünden überschreibt",
"MACRO": "Makro",
"GOSUB": "GoSub",
"RULE": "Regel",
"POSITION": "Position",
"ANSWER": "Antwort",
"VALUE": "Wert",
- "MAILBOX@CONTEXT": "Mailbox@Context",
- "EXTENSION": "Nebenstelle",
+ "MAILBOX@CONTEXT": "Mailbox @ Rahmen",
+ "EXTENSION": "Erweiterung",
"PRIORITY": "Priorität",
- "HANGUP_CAUSE": "Auflegegrund",
- "OUTBOUNDDIAL": "Ausgehend wählen",
+ "HANGUP_CAUSE": "Auflegen verursachen",
+ "OUTBOUNDDIAL": "Für ausgehende Anrufe wählen",
"CALLER_ID": "Anrufer-ID",
"NO_MESSAGE_AVAILABLE": "Keine Meldungen vorhanden",
"NO_SOUND_AVAILABLE": "Kein Ton verfügbar",
- "VOICERECORDINGS": "Sprachaufzeichnungen",
- "CHANSPIES": "Listen-Ins",
- "VOICE": "Anrufe",
+ "VOICERECORDINGS": "Sprachaufnahmen",
+ "CHANSPIES": "ChanSpy",
+ "VOICE": "Voice",
"REALTIME": "Echtzeit",
- "ID": "ID",
+ "ID": "Id",
"VOICEMAIL_CONTEXT": "Kontext",
"NO_MOHSOUND_AVAILABLE": "Keine Wartemusik verfügbar",
"FILE": "Datei",
- "ADD_MOHSOUND": "Wartemusik hinzufügen",
- "DOWNLOAD_MOHSOUND": "Wartemusik herunterladen",
- "DELETE_MOHSOUND": "Wartemusik löschen",
+ "ADD_MOHSOUND": "Musik hinzufügen Auf Klang",
+ "DOWNLOAD_MOHSOUND": "Download Music On Hold Sound",
+ "DELETE_MOHSOUND": "Löschen Sie Musik auf Halten Sound",
"UNIQUEID": "Eindeutige ID",
"AGENT": "Agent",
"TYPE": "Typ",
"RATING": "Bewertung",
"AUDIO": "Audio",
"DATE": "Datum",
- "NEW_VOICEQUEUE": "Neue Anruf-Warteschlange",
+ "NEW_VOICEQUEUE": "Neue Stimme Warteschlange",
"NEW_INBOUNDROUTE": "Neue eingehende Route",
"NEW_OUTBOUNDROUTE": "Neue ausgehende Route",
"NEW_INTERNALROUTE": "Neue interne Route",
- "NEW_CONTEXT": "Neuer Kontext",
+ "NEW_CONTEXT": "Neuen Kontext",
"NEW_VOICEMAIL": "Neue Voicemail",
- "NEW_MUSICONHOLD": "Neue Wartemusik",
- "NEW_CHANSPY": "Neues Listen-In",
- "PENALTY": "Verzögerung",
- "ADD_TEAM_TO_VOICEQUEUE": "Team zu Warteschlange hinzufügen",
- "ADD_AGENT_TO_VOICEQUEUE": "Agenten zu Warteschlange hinzufügen",
+ "NEW_MUSICONHOLD": "Neue Musik auf Halten",
+ "NEW_CHANSPY": "Neue ChanSpy",
+ "PENALTY": "Strafe",
+ "ADD_TEAM_TO_VOICEQUEUE": "Team Voice Warteschlange hinzufügen",
+ "ADD_AGENT_TO_VOICEQUEUE": "Agent Voice Warteschlange hinzufügen",
"EDIT_DIAL": "Kurzwahl bearbeiten",
- "EDIT_AGI": "Skript bearbeiten",
+ "EDIT_AGI": "Bearbeiten AGI",
"EDIT_INTERNALDIAL": "Interne Kurzwahl bearbeiten",
"EDIT_EXTERNALDIAL": "Externe Kurzwahl bearbeiten",
- "EDIT_RINGGROUP": "Rufgruppe bearbeiten",
- "EDIT_PLAYBACK": "Wiedergabe bearbeiten",
+ "EDIT_RINGGROUP": "Gruppe bearbeiten",
+ "EDIT_PLAYBACK": "Bearbeiten Wiedergabe",
"EDIT_QUEUE": "Warteschlange bearbeiten",
"EDIT_SET": "Bearbeiten",
- "EDIT_GOTO": "\"Gehe-zu\" bearbeiten",
- "EDIT_HANGUP": "Auflegen bearbeiten",
- "EDIT_CUSTOM": "Benutzerdef. Einstellungen bearbeiten",
+ "EDIT_GOTO": "Bearbeiten Gehe zu",
+ "EDIT_HANGUP": "Bearbeiten auflegen",
+ "EDIT_CUSTOM": "Bearbeiten Benutzerdefinierte",
"DURATION": "Dauer",
"RECEIVED_AT": "Eingegangen am",
"YES": "Ja",
- "NO": "Nein",
- "HANGUPCAUSE_1": "1 = Nummer nicht zugewiesen",
- "HANGUPCAUSE_16": "16 = Beenden durch Nutzer",
- "HANGUPCAUSE_17": "17 = Besetzt",
- "HANGUPCAUSE_18": "18 = Keine Antwort (Nebenstelle nicht verbunden)",
- "HANGUPCAUSE_21": "21 = Anruf abgelehnt",
- "HANGUPCAUSE_22": "22 = Nummer geändert",
- "HANGUPCAUSE_27": "27 = Ziel auÃer Funktion",
+ "NO": "Keine",
+ "HANGUPCAUSE_1": "1 = Nicht zugewiesene Nummer",
+ "HANGUPCAUSE_16": "16=Normail Anruf löschen",
+ "HANGUPCAUSE_17": "17 = Benutzer besetzt",
+ "HANGUPCAUSE_18": "18 = Kein Benutzer reagiert (Telefon Gerät nicht angeschlossen)",
+ "HANGUPCAUSE_21": "21 = Anruf abgewiesen",
+ "HANGUPCAUSE_22": "22 = Anzahl geändert",
+ "HANGUPCAUSE_27": "27 = Ziel nicht in Ordnung",
"HANGUPCAUSE_38": "38 = Netzwerk nicht in der richtigen Reihenfolge",
"HANGUPCAUSE_41": "41 = Temporärer Ausfall",
- "RANDOM": "Zufall",
+ "RANDOM": "Random",
"ALPHABETICAL": "Alphabetisch",
"NO_APPS_AVAILABLE": "Keine Anwendungen verfügbar",
- "DOWNLOAD_VOICERECORDING": "Sprachaufzeichnung herunterladen",
- "DELETE_VOICERECORDING": "Sprachaufzeichnung löschen",
- "INTERNAL": "Intern",
- "PHONE_STATE": "Status Nebenstelle",
- "PHONE_STATUS": "SIP-Status Nebenstelle",
+ "DOWNLOAD_VOICERECORDING": "Download Voice Recording",
+ "DELETE_VOICERECORDING": "Löschen Sprachaufzeichnung",
+ "INTERNAL": "Interne",
+ "PHONE_STATE": "Telefonstatus",
+ "PHONE_STATUS": "Telefonstatus",
"REGISTERED": "Registriert",
- "UNREGISTERED": "Nicht registriert",
- "LAGGED": "Verzögert",
+ "UNREGISTERED": "Unregistrierte",
+ "LAGGED": "Zurück",
"REACHABLE": "Erreichbar",
"UNREACHABLE": "Nicht erreichbar",
"UNKNOWN": "Unbekannt",
- "NOT_INUSE": "Nicht in Verwendung",
- "INUSE": "In Verwendung",
+ "NOT_INUSE": "Nicht in Gebrauch",
+ "INUSE": "Im Einsatz",
"BUSY": "Besetzt",
"INVALID": "Ungültig",
"UNAVAILABLE": "Nicht verfügbar",
"RINGING": "Klingeln",
- "ONHOLD": "Halten",
- "RING": "Klingeln",
- "UP": "Status",
- "INFO": "Information",
- "TRUNKS": "SIP-Trunks",
+ "ONHOLD": "Auf Halten",
+ "RING": "Ring",
+ "UP": "Bis",
+ "INFO": "Info",
+ "TRUNKS": "Amtsleitungen",
"REGISTRY": "Registrierung",
- "NO_REGISTRY": "Keine Registrierung",
+ "NO_REGISTRY": "Keine registry",
"LOGGED_IN": "Angemeldet",
"PAUSED": "Angehalten",
- "DISPOSITION": "Qualifizierung",
+ "DISPOSITION": "Disposition",
"WAITING": "Warten",
- "TALKING": "Im Gespräch",
- "DID": "DID",
+ "TALKING": "Sprechen",
+ "DID": "Haben",
"CALLER": "Anrufer",
- "TOTAL": "Gesamt",
+ "TOTAL": "Insgesamt",
"ANSWERED": "Beantwortet",
"ABANDONED": "Abgebrochen",
- "UNMANAGED": "Nicht verwaltet",
+ "UNMANAGED": "Nicht verwaltete",
"REDIRECT_TO_NUMBER": "Umleitung zu einer Nummer",
- "REDIRECT_TO_AGENT": "Umleiten zu einem Agenten",
+ "REDIRECT_TO_AGENT": "Umleiten zu: Ein Agent",
"CLOSING": "SchlieÃen",
- "AVG_HOLD_TIME": "Durchschnittl. Wartezeit",
- "AVG_DURATION": "Durchschnittl. Dauer",
- "AVG_BILLABLE": "Durchschnittl. fakturierbar",
+ "AVG_HOLD_TIME": "Durchschnittl. Warteschleifenzeit",
+ "AVG_DURATION": "Av-Dauer",
+ "AVG_BILLABLE": "Avg Fakturierbaren",
"SOURCE": "Quelle",
"DESTINATION": "Ziel",
"REJECTED": "Abgelehnt",
"FAILED": "Fehlgeschlagen",
- "CALLED": "Angerufen",
+ "CALLED": "Aufgerufen",
"CONNECTED": "Verbunden",
"NO_RATING": "Keine Bewertung",
- "EDIT_VOICERECORDING": "Sprachaufzeichnung bearbeiten/bewerten",
+ "EDIT_VOICERECORDING": "Edit Voice Recording",
"APPLICATION_NAME": "Name der Anwendung",
"ARGUMENTS": "Argumente",
"EDIT_QUEUECAMPAIGN": "Kampagne bearbeiten",
"LISTADD_QUEUECAMPAIGN": "Liste hinzufügen",
- "BLACKLISTADD_QUEUECAMPAIGN": "Schwarze Liste hinzufügen",
- "TEAMADD_QUEUECAMPAIGN": "Team hinzufügen",
+ "BLACKLISTADD_QUEUECAMPAIGN": "Blacklist hinzufügen",
+ "TEAMADD_QUEUECAMPAIGN": "Gruppe hinzufügen",
"AGENTADD_QUEUECAMPAIGN": "Agent hinzufügen",
"DELETE_QUEUECAMPAIGN": "Kampagne löschen",
- "DELETE_IVRCAMPAIGN": "IVR-Kampagne löschen",
+ "DELETE_IVRCAMPAIGN": "Kampagne löschen",
"EDIT_IVRCAMPAIGN": "Kampagne bearbeiten",
"NEW_IVRCAMPAIGN": "Neue IVR-Kampagne",
- "ADD_IVRCAMPAIGN": "IVR-Kampagne hinzufügen",
+ "ADD_IVRCAMPAIGN": "Hinzufügen IVR-Kampagne",
"LISTADD_IVRCAMPAIGN": "Liste hinzufügen",
- "BLACKLISTADD_IVRCAMPAIGN": "Schwarze Liste hinzufügen",
- "ENABLED": "Aktiv",
+ "BLACKLISTADD_IVRCAMPAIGN": "Blacklist hinzufügen",
+ "ENABLED": "Aktiviert",
"READY": "Bereit",
"PAUSE": "Pause",
- "UNPAUSE": "Pause abbrechen",
- "DEFAULT_PAUSE": "Standardpause",
- "AGENTADD_QUEUE": "Agent zur Warteschlange hinzufügen",
- "AGENTSADD_QUEUE": "Agenten zur Warteschlange hinzufügen",
- "ALL_TEAMS": "Alle Teams",
+ "UNPAUSE": "Pause",
+ "DEFAULT_PAUSE": "Standard Pause",
+ "AGENTADD_QUEUE": "Kampagne hinzufügen Agent in der Warteschlange",
+ "AGENTSADD_QUEUE": "Agents hinzufügen Kampagne in die Warteschlange",
+ "ALL_TEAMS": "Alle Mannschaften",
"SELECTED_TEAMS": "Ausgewählte Teams",
"ALL_LISTS": "Alle Listen",
"SELECTED_LISTS": "Ausgewählte Listen",
@@ -599,100 +599,100 @@
"WAITING_FOR_AGENT": "Warten auf Agenten",
"TOTAL_OFFERED": "Insgesamt",
"RUNNING": "Ausgeführt",
- "TRUNK_IS_NOT_REACHABLE": "SIP-Trunk nicht erreichbar",
- "AGENTS_NOT_LOGGED": "Keine Agenten angemeldet",
+ "TRUNK_IS_NOT_REACHABLE": "Trunk ist nicht erreichbar.",
+ "AGENTS_NOT_LOGGED": "Agent nicht angemeldet",
"NOT_ACTIVE": "Nicht Aktiv",
- "IS_DISACTIVED": "Deaktiviert",
- "BACKUPTRUNK": "Backup SIP-Trunk",
- "GLOBALINTERVAL": "Globales Intervall",
- "RESCHEDULED_CONTACTS": "Erneut geplante Kontakte",
- "INTERVAL_IS_OVERTIME": "Intervall auÃerhalb der Begrenzung",
- "GLOBAL_INTERVAL_IS_OVERTIME": "Globales Intervall auÃerhalb der Begrenzung",
+ "IS_DISACTIVED": "Ist Disactived",
+ "BACKUPTRUNK": "Backup Trunk",
+ "GLOBALINTERVAL": "Globale Intervall",
+ "RESCHEDULED_CONTACTS": "Neu geplanten Kontakte",
+ "INTERVAL_IS_OVERTIME": "Intervall ist Ãberstunden",
+ "GLOBAL_INTERVAL_IS_OVERTIME": "Aus Intervall (Global)",
"INTERVAL_IS_NULL": "Intervall ist Null",
- "TIMEZONE_UNKNOW": "Zeitzone unbekannt",
+ "TIMEZONE_UNKNOW": "Zeitzone Unknow",
"INTERVAL_IS_EMPTY": "Intervall ist leer",
- "TOTAL_MANAGED": "Insgesamt bearbeitet",
- "OPEN": "Offen",
- "FRESH": "Neu",
+ "TOTAL_MANAGED": "Insgesamt verwaltet",
+ "OPEN": "Ãffnen",
+ "FRESH": "Frische",
"CLOSED": "Geschlossen",
"ALWAYS": "Immer",
- "NEVER": "Niemals",
+ "NEVER": "Nie",
"ONLY_IF_OPEN": "Nur wenn offen",
- "CHECKDUPLICATE": "Auf Duplikate prüfen",
+ "CHECKDUPLICATE": "Duplizieren",
"PAGE": "Seite",
"ROWSPERPAGE": "Zeilen pro Seite",
- "OF": "von",
- "TIMEOUT": "Zeitüberschreitung",
+ "OF": "Von",
+ "TIMEOUT": "Timeout",
"CHAT": "Chat",
"MAIL": "E-Mail",
"SMS": "SMS",
"OPENCHANNEL": "Offener Kanal",
"FAX": "Fax",
"NO_AGENT_ONLINE": "Kein Agent Online",
- "PARTIALPAUSE": "Teilpause",
+ "PARTIALPAUSE": "Lastschriftzahlung teilweise Pause",
"ALL": "Alle",
"IDLE": "Leerlauf",
"TIMER": "Timer",
- "NO_AVAILABLE_INFO": "Keine Informationen verfügbar",
- "CALLYSQUAREPROJECTPREVIEW": "Call-Flow bei Vorschau ",
- "CALLYSQUAREPROJECTPREVIEW2": "Call-Flow nach Vorschau",
- "RUNIFHANGUPAGENT": "Ausführen, nachdem Agent aufgelegt hat",
- "CALLYSQUAREPROJECT2": "Call-Flow nach Warteschlange",
+ "NO_AVAILABLE_INFO": "Keine verfügbaren Informationen",
+ "CALLYSQUAREPROJECTPREVIEW": "Cally Square Projektvorschau",
+ "CALLYSQUAREPROJECTPREVIEW2": "Cally Square Projekt nach Vorschau",
+ "RUNIFHANGUPAGENT": "Führen Sie Cally Square Project nach, auch wenn der Agent den Anruf auflegt",
+ "CALLYSQUAREPROJECT2": "Cally Square Projekt nach der Warteschlange",
"RESET": "Zurücksetzen",
- "RESETLIST": "Liste zurücksetzen",
- "RESETLIST_IVRCAMPAIGN": "Listen IVR-Kampagne zurücksetzen ",
- "RESETLIST_QUEUECAMPAIGN": "Listen Kampagne zurücksetzen",
- "SELECTALL": "Alles auswählen",
- "UNSELECTALL": "Nichts auswählen",
+ "RESETLIST": "Listen zurücksetzen",
+ "RESETLIST_IVRCAMPAIGN": "Listen zurücksetzen",
+ "RESETLIST_QUEUECAMPAIGN": "Listen zurücksetzen",
+ "SELECTALL": "Wählen Sie Alle",
+ "UNSELECTALL": "Alles wiederufen",
"HOPPERWIDGET": "Zusammenfassung",
- "ABANDONEDCALLS": "Abgebrochene Anrufe",
- "CLONE_QUEUECAMPAIGN": "Kampagne duplizieren",
- "CLONE_IVRCAMPAIGN": "IVR-Kampagne duplizieren",
- "RANDOMLASTDIGITCALLERIDNUMBER": "Zufällige letzte Ziffer ausgehende Nummer",
- "CUTDIGIT": "Ziffern abschneiden",
- "LOGIN_TIME": "Zeit angemeldet",
- "PAUSE_TIME": "Zeit in Pause",
+ "ABANDONEDCALLS": "Verlassene Warteschlangenanrufe",
+ "CLONE_QUEUECAMPAIGN": "Warteschlangen-Kampagne klonen",
+ "CLONE_IVRCAMPAIGN": "Kampagne klonen",
+ "RANDOMLASTDIGITCALLERIDNUMBER": "Zufällige ausgehende Anrufer-ID-Nummer",
+ "CUTDIGIT": "Ziffern ausschneiden",
+ "LOGIN_TIME": "Login-Zeit",
+ "PAUSE_TIME": "Pausenzeit",
"RECALLINQUEUE": "Rückruf in der Warteschlange",
"REFRESH_SCHEDULED_CALLS": "Geplante Anrufe aktualisieren",
"SCHEDULED_CALLS": "Geplante Anrufe",
- "SELECT_CAMPAIGN": "Kampagne auswählen",
+ "SELECT_CAMPAIGN": "Wählen Sie Kampagne",
"SELECT_DATE": "Datum auswählen",
- "SELECT_TYPE": "Typ auswählen",
- "TEAMS_ASSOCIATION": "Teamzuweisung",
- "ANSWERING_MACHINE": "Anrufbeantworter",
- "MANDATORYDISPOSITION": "Qualifizierung erforderlich",
- "MANDATORYDISPOSITIONPAUSEID": "Pause während Qualifizierung",
+ "SELECT_TYPE": "Art auswählen",
+ "TEAMS_ASSOCIATION": "Vereinigung der Mannschaften",
+ "ANSWERING_MACHINE": "Antwortmaschine",
+ "MANDATORYDISPOSITION": "Zwingende Disposition",
+ "MANDATORYDISPOSITIONPAUSEID": "Status der obligatorischen Dispositionspause",
"ANSWERED_CALLS": "Beantwortete Anrufe",
"AVG_TALK_TIME": "Durchschnittliche Gesprächszeit",
"CURRENT_INTERVAL": "Aktuelles Intervall",
"DATA_COLLECTION_IN_PROGRESSIVE": "Datenerfassung in Progressive",
- "ONE_CALL_EVERY": "Ein Anruf pro Teilnehmer",
- "PREDICTIVEMAXTHRESHOLD": "Max Schwellwert für Predictive (%)",
- "PREDICTIVEMINTHRESHOLD": "Min Schwellwert für Predictive (%)",
- "PREDICTIVE_IS_NOT_RUNNING": "Predictive-Dialing nicht aktiv",
- "PREDICTIVE_IS_RUNNING": "Predictive-Dialing aktiv",
+ "ONE_CALL_EVERY": "Ein Anruf für jeden",
+ "PREDICTIVEMAXTHRESHOLD": "Voraussagender maximaler Schwellenwert [%]",
+ "PREDICTIVEMINTHRESHOLD": "Predictive Min Threshold [%]",
+ "PREDICTIVE_IS_NOT_RUNNING": "Predictive läuft nicht",
+ "PREDICTIVE_IS_RUNNING": "Predictive läuft",
"PREVIOUS_INTERVAL": "Vorheriges Intervall",
- "SHOW_PREDICTIVE_QUEUE_CAMPAIGN_INFO": "Informationen bei Vorschau zeigen",
- "THRESHOLDS": "Schwellwerte",
- "TOTAL_CALLS": "Anrufe gesamt",
- "ABANDONEDMAXRETRY": "Max. Wiederversuche bei \"Abandon\"",
- "ABANDONEDRETRYTIME": "Frühester Wiederversuch nach (Min)",
- "AGENTREJECT": "Ablehnung durch Agenten",
- "AGENTREJECTMAXRETRY": "Max. Wiederversuche bei \"Ablehnung durch Agenten\"",
- "AGENTREJECTRETRYTIME": "Frühester Wiederversuch nach (Min)",
- "DROP": "Aufgelegt vom System (Drop-Call)",
- "DROPMAXRETRY": "Max Wiederversuche bei Drop-Calls",
- "DROPRETRYTIME": "Frühester Wiederversuch nach (Min)",
- "MACHINE": "Anrufbeantworter",
- "MACHINEMAXRETRY": "Max Wiederversuche bei Anrufbeantworter",
- "MACHINERETRYTIME": "Frühester Wiederversuch nach (Min)",
- "NOSUCHNUMBER": "Gegenstelle nicht gefunden",
- "NOSUCHNUMBERMAXRETRY": "Max Wiederversuche bei Gegenstelle nicht gefunden",
- "NOSUCHNUMBERRETRYTIME": "Frühester Wiederversuch nach (Min)",
- "TOOLTIP_SCREENRECORDING_OFF": "Bildschirmaufzeichnung verfügbar",
- "TOOLTIP_SCREENRECORDING_ON": "Bildschirmaufzeichnung läuft",
- "SECOND_LEVEL_DISPOSITION": "Qualifizierung 2. Ebene",
- "THIRD_LEVEL_DISPOSITION": "Qualifikation 3. Ebene",
+ "SHOW_PREDICTIVE_QUEUE_CAMPAIGN_INFO": "Vorhersage-Info anzeigen",
+ "THRESHOLDS": "Schwellenwerte",
+ "TOTAL_CALLS": "Anrufe insgesamt",
+ "ABANDONEDMAXRETRY": "Max Wiederholungen",
+ "ABANDONEDRETRYTIME": "Wiederholungszeit [min]",
+ "AGENTREJECT": "Agent ablehnen",
+ "AGENTREJECTMAXRETRY": "Max Wiederholungen",
+ "AGENTREJECTRETRYTIME": "Wiederholungszeit [min]",
+ "DROP": "Fallen",
+ "DROPMAXRETRY": "Max Wiederholungen",
+ "DROPRETRYTIME": "Wiederholungszeit [min]",
+ "MACHINE": "Maschine",
+ "MACHINEMAXRETRY": "Max Wiederholungen",
+ "MACHINERETRYTIME": "Wiederholungszeit [min]",
+ "NOSUCHNUMBER": "Keine solche Nummer",
+ "NOSUCHNUMBERMAXRETRY": "Max Wiederholungen",
+ "NOSUCHNUMBERRETRYTIME": "Wiederholungszeit [min]",
+ "TOOLTIP_SCREENRECORDING_OFF": "Bildschirmaufnahme verfügbar",
+ "TOOLTIP_SCREENRECORDING_ON": "Bildschirmaufnahme läuft",
+ "SECOND_LEVEL_DISPOSITION": "Disposition der zweiten Ebene",
+ "THIRD_LEVEL_DISPOSITION": "Disposition der dritten Ebene",
"PREVIEW_AUTO_RECALL_ME": "Rückrufe automatisieren",
"PREVIEW_RECALL_ME_REMINDER": "Recall Me Erinnerung",
"ADDITIONALPHONES": "Zusätzliche Telefone",
diff --git a/public/app/main/apps/motiondialer/i18n/pt-BR.json b/public/app/main/apps/motiondialer/i18n/pt-BR.json
index 6f70beb..b761bec 100644
--- a/public/app/main/apps/motiondialer/i18n/pt-BR.json
+++ b/public/app/main/apps/motiondialer/i18n/pt-BR.json
@@ -23,7 +23,7 @@
"NO_AGENT_ONLINE": "Nenhum agente online",
"PARTIALPAUSE": "Pausa Parcial",
"ALL": "Todos",
- "IDLE": "Ocioso",
+ "IDLE": "DisponÃvel",
"TIMER": "Tempo",
"MOVE_HOPPERFINAL": "Restaurar contato",
"RESTORECONTACTS": "Restaurar Contatos",
diff --git a/public/app/main/apps/openchannel/i18n/de.json b/public/app/main/apps/openchannel/i18n/de.json
index d234e7a..0ef1225 100644
--- a/public/app/main/apps/openchannel/i18n/de.json
+++ b/public/app/main/apps/openchannel/i18n/de.json
@@ -1,271 +1,271 @@
{
"OPENCHANNEL": {
"TEXT": "Text",
- "TIMES": "Zeitstempel",
- "EDIT_AUTOREPLY": "Automatische Antwort bearbeiten",
+ "TIMES": "Die Anzahl der Zeiten pro Interaktion",
+ "EDIT_AUTOREPLY": "Bearbeiten Sie automatische Antwort",
"AUTOREPLY": "Automatische Antwort",
"NAME": "Name",
- "OPENCHANNELQUEUES": "Warteschlangen",
- "SEARCH_FOR_ANYONE": "Suche",
+ "OPENCHANNELQUEUES": "Offener Kanal Warteschlangen",
+ "SEARCH_FOR_ANYONE": "Suche für Jedermann",
"ERRORS": {
- "TEXT_REQUIRED": "Text erforderlich",
- "NAME_REQUIRED": "Name erforderlich",
- "AGENT_TIMEOUT_REQUIRED": "Zeitüberschreitung Agent erforderlich",
- "MOTIONADDRESS_REQUIRED": "Adresse erforderlich",
- "MOTIONADDRESS_MUST_VALID_URL": "Ungültiges Format Adresse",
- "ACCEPTURL_MUST_VALID_URL": "Ungültiges Format URL",
- "TIMEOUT_REQUIRED": "Zeitüberschreitung erforderlich",
- "REJECTURL_MUST_VALID_URL": "Ungültiges Format URL bei Erhalt",
- "CLOSEURL_MUST_VALID_URL": "Ungültiges Format URL bei SchlieÃen",
- "REPLYURI_REQUIRED": "URL bei Antwort erforderlich",
- "REPLYURI_MUST_VALID_URL": "Ungültiges Format URL bei Antwort",
- "PRIORITY_REQUIRED": "Priorität erforderlich",
- "CONDITION_REQUIRED": "Bedingung erforderlich",
- "TRUEPRIORITY_REQUIRED": "Priorität bei zutreffender Bedingung erforderlich",
- "FALSEPRIORITY_REQUIRED": "Priorität bei nicht zutreffender Bedingung erforderlich",
- "AGENT_REQUIRED": "Agent erforderlich",
- "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss gröÃer oder gleich sein als",
- "PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Priorität muss gröÃer oder gleich sein als",
- "TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Priorität bei Bedingung erfüllt muss gröÃer oder gleich sein als",
- "FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Priorität bei Bedingung nicht erfüllt muss gröÃer oder gleich sein als",
- "DISPOSITION_REQUIRED": "Qualifizierung erforderlich",
- "QUEUE_REQUIRED": "Warteschlange erforderlich",
- "KEY_MAX_LENGTH": "Wert darf nicht länger als {{max}} Zeichen sein",
- "TEXT_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "VALUE_REQUIRED": "Wert erforderlich",
- "COMMAND_REQUIRED": "Eingabe erforderlich",
- "LIST_REQUIRED": "Liste erforderlich",
- "KEY_REQUIRED": "Schlüssel erforderlich",
- "AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung Agent muss gröÃer oder gleich sein als",
- "NAME_MUST_VALID_PATTERN": "Ungültiges Format Name",
- "TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss kleiner oder gleich sein als",
- "AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung Agent muss kleiner oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wert muss kleiner oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_REQUIRED": "Auf zugewiesenen Agenten warten erforderlich",
- "TAG_REQUIRED": "Tag erforderlich",
- "AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss gröÃer oder gleich sein als",
- "AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss kleiner oder gleich sein als",
- "AGENTTRANSFERTIMEOUT_REQUIRED": "Zeitüberschreitung Agententransfer erforderlich",
- "QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss gröÃer oder gleich sein als",
- "QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss kleiner oder gleich sein als",
- "QUEUETRANSFERTIMEOUT_REQUIRED": "Zeitüberschreitung Warteschlangentransfer erforderlich",
- "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "PausenID während Qualifizierung erforderlich",
- "ACCESSKEYID_REQUIRED": "Zugangsschlüssel-ID erforderlich",
- "BOTNAME_REQUIRED": "BOT-Name erforderlich",
- "SECRETACCESSKEY_REQUIRED": "Geheimer Schlüssel erforderlich",
- "CLIENTEMAIL_REQUIRED": "Kunden E-Mail erforderlich",
- "PRIVATEKEY_REQUIRED": "Privater Schlüssel erforderlich",
- "PROJECTID_REQUIRED": "ProjektID erforderlich"
+ "TEXT_REQUIRED": "Das Feld \"Text\" ist erforderlich",
+ "NAME_REQUIRED": "Der Name ist erforderlich",
+ "AGENT_TIMEOUT_REQUIRED": "Der Agent Timeout ist erforderlich",
+ "MOTIONADDRESS_REQUIRED": "Die Adresse ist erforderlich",
+ "MOTIONADDRESS_MUST_VALID_URL": "Die Adresse muss in einem gültigen Format",
+ "ACCEPTURL_MUST_VALID_URL": "Die URL muss in einem gültigen Format",
+ "TIMEOUT_REQUIRED": "Der Timeout ist erforderlich",
+ "REJECTURL_MUST_VALID_URL": "Die URL muss in einem gültigen Format",
+ "CLOSEURL_MUST_VALID_URL": "Die URL muss in einem gültigen Format",
+ "REPLYURI_REQUIRED": "Die Antwort URL ist erforderlich",
+ "REPLYURI_MUST_VALID_URL": "Die Antwort URL muss im gültigen Format geschrieben werden",
+ "PRIORITY_REQUIRED": "Die Priorität ist erforderlich",
+ "CONDITION_REQUIRED": "Der Zustand ist erforderlich",
+ "TRUEPRIORITY_REQUIRED": "Die wahre Priorität ist erforderlich",
+ "FALSEPRIORITY_REQUIRED": "Die falsche Priorität ist erforderlich",
+ "AGENT_REQUIRED": "Pflichtfeld",
+ "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer als oder gleich",
+ "PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer als oder gleich",
+ "TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer als oder gleich",
+ "FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer als oder gleich",
+ "DISPOSITION_REQUIRED": "Pflichtfeld",
+ "QUEUE_REQUIRED": "Pflichtfeld",
+ "KEY_MAX_LENGTH": "Schlüssel muss eine maximale Länge von {{max}}",
+ "TEXT_MAX_LENGTH": "Der Wert muss eine maximale Länge von {{max}} haben",
+ "VALUE_REQUIRED": "Pflichtfeld",
+ "COMMAND_REQUIRED": "Pflichtfeld",
+ "LIST_REQUIRED": "Pflichtfeld",
+ "KEY_REQUIRED": "Pflichtfeld",
+ "AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "NAME_MUST_VALID_PATTERN": "Falsches Format",
+ "TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "WAITFORTHEASSIGNEDAGENT_REQUIRED": "Pflichtfeld",
+ "TAG_REQUIRED": "Pflichtfeld",
+ "AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "AGENTTRANSFERTIMEOUT_REQUIRED": "Pflichtfeld",
+ "QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "QUEUETRANSFERTIMEOUT_REQUIRED": "Pflichtfeld",
+ "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "Pflichtfeld",
+ "ACCESSKEYID_REQUIRED": "Zugangsschlüssel-ID ist erforderlich",
+ "BOTNAME_REQUIRED": "Der Bot-Name ist erforderlich",
+ "SECRETACCESSKEY_REQUIRED": "Zugangsschlüssel geheim ist erforderlich",
+ "CLIENTEMAIL_REQUIRED": "Pflichtfeld",
+ "PRIVATEKEY_REQUIRED": "Pflichtfeld",
+ "PROJECTID_REQUIRED": "Pflichtfeld"
},
- "STRATEGY": "Verteilungsstrategie",
+ "STRATEGY": "Strategie",
"AGENT": "Agent",
- "GOTO": "GeheZu (GoTo)",
- "GOTOIF": "GeheZuWenn (GoToIf)",
- "NOOP": "Log erstellen (NoOp)",
+ "GOTO": "Gehe zu",
+ "GOTOIF": "Gotoif",
+ "NOOP": "Noop",
"QUEUE": "Warteschlange",
- "EDIT_AGENT": "Agenten bearbeiten",
- "EDIT_GOTO": "\"GeheZu\" bearbeiten",
- "EDIT_NOOP": "Log-Erstellung bearbeiten",
- "EDIT_GOTOIF": "Bedingung bearbeiten und Priorität zuweisen",
+ "EDIT_AGENT": "Agent bearbeiten",
+ "EDIT_GOTO": "Bearbeiten Gehe zu",
+ "EDIT_NOOP": "Bearbeiten Noop",
+ "EDIT_GOTOIF": "Bearbeiten Gotoif",
"EDIT_QUEUE": "Warteschlange bearbeiten",
- "CONDITION": "Bedingung",
- "TRUEPRIORITY": "Priorität, wenn erfüllt (true)",
- "FALSEPRIORITY": "Priorität, wenn nicht erfüllt (false)",
+ "CONDITION": "Zustand",
+ "TRUEPRIORITY": "Wahre Priorität",
+ "FALSEPRIORITY": "Falsche Priorität",
"VALUE": "Wert",
"PRIORITY": "Priorität",
- "AGENT_TIMEOUT": "Zeitüberschreitung Agent",
+ "AGENT_TIMEOUT": "Agent Timeout",
"DESCRIPTION": "Beschreibung",
- "ADD_OPENCHANNELQUEUE": "Warteschlange hinzufügen",
- "EDIT_OPENCHANNELQUEUE": "Warteschlange bearbeiten",
- "DELETE_OPENCHANNELQUEUE": "Warteschlange löschen",
- "PENALTY": "Verzögerung",
+ "ADD_OPENCHANNELQUEUE": "Fügen Sie im Offenen Kanal Warteschlange",
+ "EDIT_OPENCHANNELQUEUE": "Offener Kanal Warteschlange bearbeiten",
+ "DELETE_OPENCHANNELQUEUE": "Löschen der Warteschlange im Offenen Kanal",
+ "PENALTY": "Strafe",
"TEAMADD_OPENCHANNELQUEUE": "Team zur Warteschlange hinzufügen",
- "AGENTADD_OPENCHANNELQUEUE": "Agenten zur Warteschlange hinzufügen",
+ "AGENTADD_OPENCHANNELQUEUE": "Agent zur Warteschlange hinzufügen",
"ALL_AGENTS": "Alle Agenten",
"SELECTED_AGENTS": "Ausgewählte Agenten",
"CREATED_AT": "Erstellt am",
"SAVE": "Speichern",
"SETTINGS": "Einstellungen",
"GENERAL": "Allgemein",
- "OPENCHANNELACCOUNTS": "Konten offener Kanal",
+ "OPENCHANNELACCOUNTS": "Offener Kanal Konten",
"MOTIONADDRESS": "Motion Adresse",
- "ADD_OPENCHANNELACCOUNT": "Konto offener Kanal hinzufügen",
- "EDIT_OPENCHANNELACCOUNT": "Konto offener Kanal bearbeiten",
- "DELETE_OPENCHANNELACCOUNT": "Konto offener Kanal löschen",
+ "ADD_OPENCHANNELACCOUNT": "Ãffnen Sie den Channel Account hinzufügen",
+ "EDIT_OPENCHANNELACCOUNT": "Ãffnen Sie den Channel Account bearbeiten",
+ "DELETE_OPENCHANNELACCOUNT": "Ãffnen Sie den Channel Account löschen.",
"API": "API",
- "DISPOSITIONS": "Qualifizierungen",
+ "DISPOSITIONS": "Bestimmungen",
"WEBHOOKS": "WebHooks",
- "ACTIONS": "Routing",
+ "ACTIONS": "Aktionen",
"LIST": "Liste",
"FIDELITY": "Treue",
"ACCEPT": "Akzeptieren",
- "ACCEPTMETHOD": "Methode akzeptieren",
+ "ACCEPTMETHOD": "Die Methode",
"ACCEPTURL": "URL akzeptieren",
"REJECT": "Ablehnen",
"REJECTMETHOD": "Methode ablehnen",
"REJECTURL": "URL ablehnen",
- "CLOSE": "SchlieÃen",
- "CLOSEMETHOD": "Methode schlieÃen",
- "CLOSEURL": "URL schlieÃen",
- "SELECTED": "Ausgewählt",
- "SELECT_ALL": "Alles auswählen",
- "SELECT_NONE": "Nichts auswählen",
+ "CLOSE": "In der Nähe",
+ "CLOSEMETHOD": "In der Nähe Methode",
+ "CLOSEURL": "Der URL",
+ "SELECTED": "Ausgewählte",
+ "SELECT_ALL": "Alle auswählen",
+ "SELECT_NONE": "Wählen Sie \"Keine\"",
"BACK": "Zurück",
"OPENCHANNEL": "Offener Kanal",
- "ID": "ID",
- "TIMEOUT": "Zeitüberschreitung",
- "OPENCHANNELDISPOSITIONS": "Qualifizierungen offener Kanal",
- "NO_OPENCHANNELDISPOSITION_AVAILABLE": "Keine Qualifizierungen verfügbar",
- "NEW_OPENCHANNELDISPOSITION": "Neue Qualifizierung",
- "ADD_OPENCHANNELDISPOSITION": "Qualifizierung hinzufügen",
- "EDIT_OPENCHANNELDISPOSITION": "Qualifizierung bearbeiten",
- "DELETE_OPENCHANNELDISPOSITION": "Qualifizierung löschen",
- "NEW_OPENCHANNELQUEUE": "Neue Warteschlange offener Kanal",
- "NEW_OPENCHANNELACCOUNT": "Neues Konto offener Kanal",
- "NO_AVAILABLE_INFO": "Keine Informationen verfügbar",
- "ALL_TEAMS": "Alle Teams",
+ "ID": "Id",
+ "TIMEOUT": "Timeout",
+ "OPENCHANNELDISPOSITIONS": "Offener Kanal Verfügungen",
+ "NO_OPENCHANNELDISPOSITION_AVAILABLE": "Keine offenen Kanal Dispositionen verfügbar",
+ "NEW_OPENCHANNELDISPOSITION": "Neue Offene Kanal inspektion",
+ "ADD_OPENCHANNELDISPOSITION": "Fügen Sie im Offenen Kanal inspektion",
+ "EDIT_OPENCHANNELDISPOSITION": "Bearbeiten Sie im Offenen Kanal inspektion",
+ "DELETE_OPENCHANNELDISPOSITION": "Löschen Sie im Offenen Kanal inspektion",
+ "NEW_OPENCHANNELQUEUE": "Neue Offene Kanal Warteschlange",
+ "NEW_OPENCHANNELACCOUNT": "Neue Open Channel Account",
+ "NO_AVAILABLE_INFO": "Keine verfügbaren Info",
+ "ALL_TEAMS": "Alle Mannschaften",
"SELECTED_TEAMS": "Ausgewählte Teams",
"REPLYURI": "Antwort URL",
- "RECEIVEURI": "URL bei Erhalt",
+ "RECEIVEURI": "Erhalten URL",
"HELP": {
- "RECEIVEURI": "Automatisch generierter API-String, um die Nachrichten über den offenen Kanal zu erhalten (POST-Methode). Zum Kopieren in die Zwischenablage klicken",
- "REPLYURI": "URL des offenen Kanals zum Senden und Empfangen von Nachrichten",
+ "RECEIVEURI": "Dies ist die automatisch generierte API-String müssen Sie die Nachrichten in Ihrem offenen Kanal zu erhalten von der externen Anwendung (POST-Methode verwendet werden muss). Drücken Sie die Zwischenablage, um Sie in die Zwischenablage zu kopieren.",
+ "REPLYURI": "Dies ist die URL der Offene Kanal wird beim Senden oder Beantworten von Nachrichten",
"NAME": "Nur Zahlen, Buchstaben und Sonderzeichen (._) werden unterstützt.",
"LIST": "Contact Manager Liste zu verknüpfen von Kontakten",
"TOKEN": "Fügen Sie diese Eigenschaft als Abfragezeichenfolge in Ihrer Web-Service-URL hinzu. Weitere Informationen finden Sie im Dokument doc aqui um>",
"RECEIVEURI": "Cadeia de caracteres da API gerada automaticamente para ser usada para receber mensagens dentro de seu canal aberto a partir do aplicativo externo (usando o método POST). Clique no botão da área de transferência para copiá-lo",
"REPLYURI": "O URL que o canal aberto irá chamar ao enviar ou responder a uma mensagem. Para obter mais detalhes, consulte o documento aqui um>",
"NAME": "Somente números, letras e caracteres especÃficos (._) são suportados",
- "LIST": "Lista de contatos",
+ "LIST": "Lista de contatos do gerenciador usada para associar contatos",
"MANDATORYDISPOSITION": "Disposição obrigatória",
"MANDATORYDISPOSITIONPAUSEID": "Pausar para usar se a disposição obrigatória estiver ativada",
"WELCOMEMESSAGE": "Esta é a primeira mensagem enviada ao contator"
},
"PAGE": "Página",
- "ROWSPERPAGE": "Linhas por página",
+ "ROWSPERPAGE": "Linhas por Página",
"OF": "do",
"CONTACT": "Contato",
"STARTEDAT": "Começou à s",
@@ -203,9 +203,9 @@
"SELECT_ACCOUNT": "Selecione uma conta",
"GOTOP": "Gotop",
"EDIT_GOTOP": "Editar Gotop",
- "EDIT_CLOSE": "Editar fechamento",
+ "EDIT_CLOSE": "Editar Fechar",
"INFO": "Informação",
- "KEY": "Chave",
+ "KEY": "Key",
"UNKNOWN": "Desconhecido",
"UNREGISTERED": "Não registrado",
"UNAVAILABLE": "IndisponÃvel",
@@ -214,14 +214,14 @@
"IN_USE": "Em uso",
"AGENTS": "Agentes",
"QUEUES": "Filas",
- "FULLNAME": "Nome completo",
+ "FULLNAME": "Nome Completo",
"INTERNAL": "Interno",
"PHONE_STATE": "Estado do telefone",
"PHONE_STATUS": "Status do telefone",
"PAUSE": "Pausa",
"LOGOUT": "Sair",
"AGENTADD_QUEUE": "Adicionar agente à fila de Open Channel",
- "UNPAUSE": "Sair da pausa",
+ "UNPAUSE": "Finalizar Pausa",
"DEFAULT_PAUSE": "Pausa padrão",
"LOGGED_IN": "Logado",
"PAUSED": "Pausado",
@@ -232,28 +232,28 @@
"MAIL": "Email",
"SMS": "SMS",
"FAX": "Fax",
- "AGENTSADD_QUEUE": "Adicionar agentes à fila do Open Channel",
- "INTERACTIONS_OPENCHANNELACCOUNT": "Ir para interações",
- "REFRESH_INTERACTIONS": "Atualizar interações",
+ "AGENTSADD_QUEUE": "Adicionar agentes à fila de Open Channel",
+ "INTERACTIONS_OPENCHANNELACCOUNT": "Ir para Interações",
+ "REFRESH_INTERACTIONS": "Atualizar Interações",
"DELETE_INTERACTION": "Excluir interação",
"AGENTADD_OPENCHANNELACCOUNT": "Adicionar agente à conta do Openchannel",
- "CANNED_ANSWER_SEARCH": "Digite um texto para pesquisar uma resposta pronta",
- "CANNED_ANSWER_NOT_FOUND": "Nenhuma resposta pronta foi encontrada",
+ "CANNED_ANSWER_SEARCH": "Digite um texto para pesquisar uma resposta automática",
+ "CANNED_ANSWER_NOT_FOUND": "Nenhuma resposta automática foi encontrada",
"SEND": "Enviar",
"TO": "Para",
- "MAPKEY": "Mapkey",
+ "MAPKEY": "Map Key",
"TEAMS_ASSOCIATION": "Associação de equipes",
"MANDATORYDISPOSITION": "Disposição obrigatória",
- "MANDATORYDISPOSITIONPAUSEID": "ID de pausa de disposição obrigatória",
- "DIALOGFLOW": "Dialogflow",
- "EDIT_DIALOGFLOW": "Editar configuração do Dialogflow",
+ "MANDATORYDISPOSITIONPAUSEID": "Pausar para usar se a disposição obrigatória estiver ativada",
+ "DIALOGFLOW": "Fluxo de Diálogo",
+ "EDIT_DIALOGFLOW": "Editar configuração do fluxo de diálogo",
"LANGUAGE": "LÃngua",
"WELCOMEMESSAGE": "Mensagem de boas-vindas",
"ACCESSKEYID": "ID da chave de acesso",
"AMAZONLEX": "AmazonLex",
- "BOTNAME": "Nome do BOT",
+ "BOTNAME": "Nome do bot",
"EDIT_AMAZONLEX": "Editar configuração de Lex",
- "LEXREGION": "Região de LEX",
+ "LEXREGION": "Região",
"SECRETACCESSKEY": "Segredo da chave de acesso",
"TOOLTIP_SCREENRECORDING_OFF": "Gravação de tela disponÃvel",
"TOOLTIP_SCREENRECORDING_ON": "Gravação de tela em andamento",
@@ -262,7 +262,7 @@
"LASTMESSAGE": "Ãltima mensagem",
"CLIENTEMAIL": "Email do cliente",
"DIALOGFLOWV2": "Dialogflow V2",
- "EDIT_DIALOGFLOWV2": "Editar DialogflowV2",
+ "EDIT_DIALOGFLOWV2": "Editar Dialogflow V2",
"PRIVATEKEY": "Chave privada",
"PROJECTID": "ID do projeto",
"ADD_NOTE": "Adicionar nota",
diff --git a/public/app/main/apps/settings/i18n/de.json b/public/app/main/apps/settings/i18n/de.json
index 6b076e6..aa643d6 100644
--- a/public/app/main/apps/settings/i18n/de.json
+++ b/public/app/main/apps/settings/i18n/de.json
@@ -1,69 +1,69 @@
{
"SETTINGS": {
- "PREFERRED": "Bevorzugtes Logo",
- "DEFAULT_PREFERRED": "Standard bevorzugtes Logo",
+ "PREFERRED": "Preferred Logo",
+ "DEFAULT_PREFERRED": "Default Preferred Logo",
"MOTIONBAR": "Motionbar",
"WEBRTC": "WebRTC",
"RELOAD": "Neu laden",
- "VERIFY": "Einstellungen testen",
+ "VERIFY": "Ãberprüfen Sie, ob",
"INTERFACE": "Schnittstelle",
"UPDATING": "Aktualisierung",
"REMOTE_VERSION": "Remote-Version",
"NO_NEW_VERSION_AVAILABLE": "Keine neue Version verfügbar",
- "TOP_N_PROCESSES": "Top {{value}} Prozesse",
- "SYSTEM": "System und Server",
- "FILE_SYSTEM": "Dateisystem",
+ "TOP_N_PROCESSES": "Top {{Wert}} Prozesse",
+ "SYSTEM": "System",
+ "FILE_SYSTEM": "File System",
"PROCESSES": "Prozesse",
- "MOUNT_POINT": "Mount",
- "AVG_LOAD": "Durchschnittliche Auslastung",
+ "MOUNT_POINT": "Berg",
+ "AVG_LOAD": "AVG Laden",
"TOTAL": "Gesamt",
- "USED": "in Verwendung",
- "FREE": "Frei",
+ "USED": "Verwendet",
+ "FREE": "Kostenlos",
"NAME": "Name",
"STATE": "Zustand",
"CHAT": "Chat",
"MAIL": "E-Mail",
- "MESSAGING": "SMS",
+ "MESSAGING": "Sms",
"FAX": "Fax",
"OPENCHANNEL": "Offener Kanal",
"AGENTS": "Agenten",
"USERS": "Benutzer",
- "TELEPHONES": "Endgeräte",
+ "TELEPHONES": "Telefone",
"STAFF": "Personal",
- "CHANNELS": "Kanäle",
+ "CHANNELS": "Tv",
"MODULES": "Module",
- "CM": "Kontaktmanager",
+ "CM": "Contacts Manager",
"DIALER": "Dialer",
"JSCRIPTY": "Jscripty",
- "CUSTOM": "WhiteLabel",
- "UPDATE": "Aktualisieren",
+ "CUSTOM": "Anpassung",
+ "UPDATE": "Update",
"OTHERS": "Andere",
"SETTINGS": "Einstellungen",
"GENERAL": "Allgemein",
- "SMTP": "SMTP-Einstellungen",
+ "SMTP": "SMTP",
"NETWORKS": "Netzwerke",
- "UPDATES": "System-Updates",
+ "UPDATES": "Aktuelles",
"LICENSE": "Lizenz",
- "ID": "ID",
- "MIN_INTERNAL": "Min. interne Durchwahl",
- "MIN_MAILBOX": "Min Mailbox-ID",
+ "ID": "Id",
+ "MIN_INTERNAL": "Min. Interne",
+ "MIN_MAILBOX": "Min Mailbox",
"INSTALLED_AT": "Installiert",
- "SEARCH_FOR_ANYONE": "Suche",
- "EDIT_GENERAL": "Bearbeiten Allgemein",
- "SECURE_PASSWORD": "Sicheres Passwort",
+ "SEARCH_FOR_ANYONE": "Suche für Jedermann",
+ "EDIT_GENERAL": "Allgemein bearbeiten",
+ "SECURE_PASSWORD": "Sicheres Kennwort",
"LOGO": "Logo",
- "DEFAULT_LOGO": "Logo für Anwendung",
- "DEFAULT_LOGIN_LOGO": "Logo auf Anmeldebildschirm",
- "WHITELABEL": "WhiteLabel",
+ "DEFAULT_LOGO": "Standard Logo",
+ "DEFAULT_LOGIN_LOGO": "Login Logo",
+ "WHITELABEL": "White Label",
"CREATED_AT": "Erstellt am",
"SAVE": "Speichern",
- "SMTP_SERVICE": "SMTP-Dienst",
+ "SMTP_SERVICE": "Service",
"SMTP_HOST": "SMTP-Host",
"SMTP_USERNAME": "SMTP-Benutzername",
"DESCRIPTION": "Beschreibung",
"SMTP_PASSWORD": "SMTP-Passwort",
"SMTP_PORT": "SMTP-Port",
- "SMTP_SECURE": "Sicheren SMTP verwenden",
+ "SMTP_SECURE": "Sichere",
"TYPE": "Typ",
"ADDRESS": "Adresse",
"NEW_NETWORK": "Neues Netzwerk",
@@ -71,67 +71,67 @@
"HELP": {
"ADDRESS": "Die Adresse des Netzwerks",
"LOCALNETADDRESS": "IP-Adresse/Subnetzmaske",
- "SMTP_SECURE": "TLS für SMTP deaktivieren/aktivieren",
- "SMTP_USERNAME": "Nutzername für die Authentifizierung",
- "SMTP_PASSWORD": "Passwort für die Authentifizierung",
- "EMAILADDRESS": "E-Mail Adresse für die Authentifizierung (Von-Feld)",
+ "SMTP_SECURE": "Bei true wird die Verbindung TLS verwenden, wenn eine Verbindung zu Server",
+ "SMTP_USERNAME": "Benutzername für die Authentifizierung verwendet werden",
+ "SMTP_PASSWORD": "Kennwort für die Authentifizierung verwendet werden",
+ "EMAILADDRESS": "Geben Sie die E-Mail-Adresse der Nachricht (von)",
"SECURITY_SUITE": "Aktiviert das sichere Passwort-Format, das obligatorische Zurücksetzen des Passworts nach der ersten Anmeldung und den Ablauf des Passworts nach 90 Tagen",
- "MOTIONBARREMEMBERME": "Aktivieren/Deaktivieren der Funktion \"Merken\" in MotionPhonebar",
+ "MOTIONBARREMEMBERME": "Aktivieren / Deaktivieren der Funktion \"Merken\" in Motion Phonebar",
"RTLSUPPORT": "Aktiviert die RTL-Unterstützung für Arabisch, Persisch und Hebräisch",
- "DEFAULTSCREENRECORDINGPATH": "Interner Pfad für die Speicherung von Bildschirmaufzeichnungen (leer lassen für den Standardpfad des Videoordners)",
- "LOGINMAILFREQUENCY": "Bitte den E-Mail Dienst nach Ãnderung der Frequenz neu starten",
+ "DEFAULTSCREENRECORDINGPATH": "Geben Sie den Pfad ein, in dem die Bildschirmaufzeichnungsdateien auf dem Agent-Computer gespeichert werden sollen (leer lassen für den Standardpfad für den Videoordner).",
+ "LOGINMAILFREQUENCY": "Bitte denken Sie daran, den EMAIL-Dienst jedes Mal neu zu starten, wenn dieser Parameter geändert wurde",
"PASSWORD": "Passwort",
"USERNAME": "Nutzername",
- "ENFORCE_PASSWORD_HISTORY": "Passwortverlauf prüfen",
- "PASSWORD_HISTORY_LIMIT": "Max. Anzahl der zuletzt verwendeten Passwörter",
- "SEARCH_ON_ENTER_KEY": "Suche nach Drücken der Eingabetaste starten",
- "INTERACTIONS_RELOAD_TIMEOUT": "Zeitintervall in Sekunden, in welchem Interaktionen neu geladen werden (0 = Echtzeitaktualisierung)",
+ "ENFORCE_PASSWORD_HISTORY": "Aktiviert die Validierung anhand zuvor verwendeter Kennwörter",
+ "PASSWORD_HISTORY_LIMIT": "Anzahl der zuletzt zu überprüfenden eindeutigen Kennwörter",
+ "SEARCH_ON_ENTER_KEY": "Beginnen Sie erst mit der Suche, nachdem der Agent die Eingabetaste gedrückt hat",
+ "INTERACTIONS_RELOAD_TIMEOUT": "Zeitintervall in Sekunden, nach dem Interaktionen neu geladen werden (0 = Echtzeitaktualisierung)",
"PRIVACY_POLICY": "Anzahl der Zeichen, die durch ein Sternchen (*) ersetzt werden (0 = alle Zeichen)",
"CLIENT_SECRET": "Das Geheimnis ist nach dem Speichern der Konfiguration nicht mehr sichtbar. Bewahren Sie es sicher auf, wenn Sie es woanders verwenden möchten.",
"LIMIT_TABS": "Maximale Anzahl möglicher geöffneter Interaktionsregisterkarten",
"PREVIEW_RECALLME_REMINDER_INTERVAL": "Zeitintervall in Minuten, vor dem eine Benachrichtigung an den Agenten gesendet wird, die ihn über den durchzuführenden Vorschaurückruf informiert"
},
"ERRORS": {
- "ADDRESS_REQUIRED": "Adresse erforderlich",
- "MIN_INTERNAL_REQUIRED": "Minimale interne Durchwahl erforderlich",
- "MIN_MAILBOX_REQUIRED": "Mailbox erforderlich",
- "NAME_REQUIRED": "Name erforderlich",
- "HEADER_WHITELABEL_REQUIRED": "WhiteLabel erforderlich",
+ "ADDRESS_REQUIRED": "Die Adresse ist erforderlich",
+ "MIN_INTERNAL_REQUIRED": "Die minimale interne ist erforderlich",
+ "MIN_MAILBOX_REQUIRED": "Die Mailbox ist erforderlich",
+ "NAME_REQUIRED": "Der Name ist erforderlich",
+ "HEADER_WHITELABEL_REQUIRED": "Die whitelabel ist erforderlich",
"LOCALNETADDRESS_REQUIRED": "Localnet Adresse erforderlich",
- "LOCALNETADDRESS_MUST_VALID_PATTERN": "Ungültiges Format Localnet Adresse",
- "ADDRESS_MUST_VALID_PATTERN": "Ungültiges Format Adresse",
- "ACCOUNTNAME_REQUIRED": "Kontoname erforderlich",
- "SMTP_USERNAME_REQUIRED": "Benutzername erforderlich",
- "PASSWORD_REQUIRED": "Passwort erforderlich",
- "SMTP_HOST_REQUIRED": "SMTP-Host erforderlich",
- "SMTP_PORT_REQUIRED": "SMTP-Port erforderlich",
- "MIN_INTERNAL_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Min. interne Durchwahl muss gröÃer oder gleich sein als",
- "MIN_MAILBOX_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Min. Mailbox muss gröÃer oder gleich sein als",
- "PAGE_TITLE_REQUIRED": "Seitentitel erforderlich",
- "EMAIL_REQUIRED": "E-Mail erforderlich",
- "PLAN_REQUIRED": "Plan erforderlich",
- "MOTIONBARAUTOUPDATERURL_MUST_VALID_URL": "Ungültiges Format URL",
- "MOTIONBARAUTOUPDATERURL_REQUIRED": "URL MotionBar erforderlich",
- "EMAIL_MUST_VALID": "Ungültiges Format E-Mail",
- "LICENSE_REQUIRED": "Lizenz erforderlich",
- "CHATTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein als",
- "CHATTIMEOUT_REQUIRED": "Zeitüberschreitung Chat erforderlich",
- "ALLOWEDLOGINATTEMPTS_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein als",
- "ALLOWEDLOGINATTEMPTS_REQUIRED": "Max. Anzahl Anmeldeversuche erforderlich",
- "BLOCKDURATION_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein als",
- "BLOCKDURATION_REQUIRED": "Dauer der Sperrung erforderlich",
- "LOGINMAILFREQUENCY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein als",
- "LOGINMAILFREQUENCY_REQUIRED": "Frequenz für Abrufen E-Mail erforderlich",
- "USERNAME_REQUIRED": "Nutzername erforderlich",
- "ACCESSKEY_REQUIRED": "Zugangsschlüssel erforderlich",
- "BUCKET_REQUIRED": "Eingabe erforderlich",
- "LANGUAGE_REQUIRED": "Sprache erforderlich",
- "SECRETACCESSKEY_REQUIRED": "Geheimer Zugangsschlüssel erforderlich",
- "SENTIMENTACCOUNT_REQUIRED": "Konto für Sentimentanalyse erforderlich",
- "SENTIMENTREGION_REQUIRED": "Region für Sentimentanalyse erforderlich",
- "SERVICE_REQUIRED": "Dienst erforderlich",
- "TRANSCRIBEACCOUNT_REQUIRED": "Konto zur Transkribierung erforderlich",
- "TRANSCRIBEREGION_REQUIRED": "Region für Transkribierung erforderlich",
+ "LOCALNETADDRESS_MUST_VALID_PATTERN": "Localnet gültig sein muss eine gültige Muster",
+ "ADDRESS_MUST_VALID_PATTERN": "Adresse muss eine gültige Muster sein",
+ "ACCOUNTNAME_REQUIRED": "Das Konto Name ist erforderlich",
+ "SMTP_USERNAME_REQUIRED": "Der Benutzername ist erforderlich",
+ "PASSWORD_REQUIRED": "Das Kennwort ist erforderlich",
+ "SMTP_HOST_REQUIRED": "Der Host wird benötigt",
+ "SMTP_PORT_REQUIRED": "Der Port ist erforderlich",
+ "MIN_INTERNAL_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Min-internen muss gröÃer als oder gleich",
+ "MIN_MAILBOX_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Min-Mailbox muss gröÃer als oder gleich",
+ "PAGE_TITLE_REQUIRED": "Pflichtfeld",
+ "EMAIL_REQUIRED": "Pflichtfeld",
+ "PLAN_REQUIRED": "Pflichtfeld",
+ "MOTIONBARAUTOUPDATERURL_MUST_VALID_URL": "Falsches Format",
+ "MOTIONBARAUTOUPDATERURL_REQUIRED": "Pflichtfeld",
+ "EMAIL_MUST_VALID": "Falsches Format",
+ "LICENSE_REQUIRED": "Pflichtfeld",
+ "CHATTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "CHATTIMEOUT_REQUIRED": "Pflichtfeld",
+ "ALLOWEDLOGINATTEMPTS_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "ALLOWEDLOGINATTEMPTS_REQUIRED": "Pflichtfeld",
+ "BLOCKDURATION_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "BLOCKDURATION_REQUIRED": "Pflichtfeld",
+ "LOGINMAILFREQUENCY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "LOGINMAILFREQUENCY_REQUIRED": "Pflichtfeld",
+ "USERNAME_REQUIRED": "Pflichtfeld",
+ "ACCESSKEY_REQUIRED": "Pflichtfeld",
+ "BUCKET_REQUIRED": "Pflichtfeld",
+ "LANGUAGE_REQUIRED": "Pflichtfeld",
+ "SECRETACCESSKEY_REQUIRED": "Pflichtfeld",
+ "SENTIMENTACCOUNT_REQUIRED": "Pflichtfeld",
+ "SENTIMENTREGION_REQUIRED": "Pflichtfeld",
+ "SERVICE_REQUIRED": "Pflichtfeld",
+ "TRANSCRIBEACCOUNT_REQUIRED": "Pflichtfeld",
+ "TRANSCRIBEREGION_REQUIRED": "Pflichtfeld",
"FIELD_REQUIRED": "Pflichtfeld",
"PREVIEW_RECALLME_REMINDER_INTERVAL_REQUIRED": "Pflichtfeld",
"WRONG_FORMAT": "Falsches Format",
@@ -140,100 +140,100 @@
"EDIT_NETWORK": "Netzwerk bearbeiten",
"DELETE_NETWORK": "Netzwerk löschen",
"BACK": "Zurück",
- "SELECTED": "Ausgewählt",
- "SELECT_ALL": "Alles auswählen",
- "SELECT_NONE": "Nichts auswählen",
+ "SELECTED": "Ausgewählte",
+ "SELECT_ALL": "Alle auswählen",
+ "SELECT_NONE": "Wählen Sie \"Keine\"",
"EXPIRATION_DATE": "Ablaufdatum",
"REQUEST_LICENSE": "Lizenz anfordern",
"EMAIL": "E-Mail",
"SEND": "Senden",
"PLAN": "Plan",
- "MONTH_TO_MONTH": "Monatlich",
- "MOTION_PROCESS_MANAGEMENT": "Prozessverwaltung",
+ "MONTH_TO_MONTH": "Von Monat zu Monat",
+ "MOTION_PROCESS_MANAGEMENT": "Motion Process Management",
"USEFUL_COMMANDS": "Nützliche Befehle",
"COMMAND": "Befehl",
"PM2_LIST": "Eine Liste aller Prozesse",
"PM2_START": "Starten eines Prozesses durch ID oder Name",
- "PM2_STOP": "Stoppen Sie einen Prozess-ID oder Name, fügen Sie\n\"All\", um alle aktiven Prozesse zu stoppen",
+ "PM2_STOP": "Stoppen Sie einen Prozess-ID oder Name, fügen Sie \"Alle\", um alle aktiven Prozesse",
"PM2_RESTART": "Starten Sie einen Prozess, durch ID oder Name",
"PM2_LOGS": "Alle Protokolle Stream Datei, oder spezifische eines Prozess-ID oder Name",
"PASSWORD": "Passwort",
- "NO_AVAILABLE_INFO": "Keine Informationen verfügbar",
- "STUNADDR": "STUN-Adresse",
+ "NO_AVAILABLE_INFO": "Keine verfügbaren Info",
+ "STUNADDR": "Die STUN-Adresse",
"CHANGELOG": "Changelog",
"CURRENT_VERSION": "Aktuelle Version",
- "CUSTOMIZATIONS": "WhiteLabel",
+ "CUSTOMIZATIONS": "Anpassungen",
"LOCALNETADDRESS": "Localnet Adresse",
"NEW_VERSION": "Neue Version",
"TRIAL_VERSION": "Testversion",
"TOKEN": "Token",
- "NEW_TOKEN_DETECTED": "Neuer Token erkannt",
- "EXPIRATION_GRAY_PERIOD": "Ablauf Testperiode",
- "NEW_TOKEN": "Neuer Token",
+ "NEW_TOKEN_DETECTED": "Neue Token erkannt",
+ "EXPIRATION_GRAY_PERIOD": "Grau Zeitraum Ablauf",
+ "NEW_TOKEN": "Neue Token",
"PRICES": "Preise",
"UPDATE_LICENSE": "Lizenz aktualisieren",
- "LOGOLOGIN": "Login-Logo",
- "EXPIRATION_REASON": "Ablaufgrund",
- "GLOBAL": "Globale Einstellungen",
+ "LOGOLOGIN": "Login Logo",
+ "EXPIRATION_REASON": "Ablauf Grund",
+ "GLOBAL": "Global",
"SMTP_AUTHENTICATION": "Authentifizierung",
- "LICENSE_REQUEST_SENT": "Vielen Dank! Die Lizenz wurde angefragt. Bei Fragen wenden Sie sich bitte an unseren Support.",
- "ACCOUNTNAME": "Kontoname",
- "EMAILADDRESS": "E-Mail Adresse",
- "OLD_TOKEN": "Alter Token",
+ "LICENSE_REQUEST_SENT": "Vielen Dank! Die Lizenzierung Team wird Sie in Ihrem Konto so schnell wie möglich um Ihre Wünsche zu genehmigen: erhalten Sie eine e-Mail, wenn die Ãnderungen wirksam werden. Lesen Sie bitte für weitere Informationen an License@xcally.com.",
+ "ACCOUNTNAME": "Konto Name",
+ "EMAILADDRESS": "E-mail Adresse",
+ "OLD_TOKEN": "Alte Token",
"SEND_EMAIL_TO": "E-Mail senden an",
- "JIRA_ERROR_MESSAGE": "Fehler bei der Anforderung der Lizenz. Bitte kontaktieren Sie unseren Support.",
+ "JIRA_ERROR_MESSAGE": "Fehler während der Lizenz anfordern. Bitte kontaktieren Sie unser Team bei License@xcally.com mit Ihrer Anfrage",
"PAGE": "Seite",
"ROWSPERPAGE": "Zeilen pro Seite",
- "OF": "von",
- "SMTP_SSL": "SMTP verwendet SSL-Verschlüsselung",
+ "OF": "Von",
+ "SMTP_SSL": "SMTP-SSL",
"ENABLED": "Aktiviert",
"DISABLED": "Deaktiviert",
"UNLIMITED_CHANNELS": "Unbegrenzte Anzahl von Kanälen",
- "PAGE_TITLE": "Seitentitel",
- "DEFAULT_PAGE_TITLE": "Standard-Seitentitel",
- "CALLYSQUARE": "CallySquare",
- "DEFAULT_HEADER_WHITELABEL": "WhiteLabel StandardfuÃzeile",
- "HEADER_WHITELABEL": "WhiteLabel FuÃzeile",
- "EXPIRATION_REASON_MESSAGE_CHANGED": "Die eindeutige ID des Systems wurde aufgrund der Ãnderungen aktualisiert. Bitte kontaktieren Sie unseren Support.",
- "CALL_RECORDING_ENCRYPTION": "Verschlüsselung Gesprächsaufzeichnungen",
- "TURNADDR": "TURN-Adresse",
- "TURN_USERNAME": "TURN-Nutzername",
- "TURN_PASSWORD": "TURN-Passwort",
- "PERPETUAL": "Dauerlizenz",
+ "PAGE_TITLE": "Titel der Seite",
+ "DEFAULT_PAGE_TITLE": "Standard Seitentitel",
+ "CALLYSQUARE": "Cally Square",
+ "DEFAULT_HEADER_WHITELABEL": "White Label StandardfuÃzeile",
+ "HEADER_WHITELABEL": "White Label FuÃzeile",
+ "EXPIRATION_REASON_MESSAGE_CHANGED": "Ihre Maschine eindeutige Id wurde aufgrund einer Ãnderung an Ihrem System aktualisiert. Kontakt xCALLY Motion Support Team Ihre alte und Ihre neue uuid zu senden.",
+ "CALL_RECORDING_ENCRYPTION": "Sprachaufnahme-Verschlüsselung",
+ "TURNADDR": "Adresse",
+ "TURN_USERNAME": "TURN Benutzername",
+ "TURN_PASSWORD": "Passwort ändern",
+ "PERPETUAL": "Unaufhörlich",
"SECURITY_SUITE": "Sicherheitssuite",
"ANNUALLY": "Jährlich",
- "MOTIONBARAUTOUPDATER": "Automatisches Updates MotionBar",
- "MOTIONBARAUTOUPDATERURL": "URL für automatische Updates",
- "JAWS": "JAWS",
+ "MOTIONBARAUTOUPDATER": "Automatischer Updater",
+ "MOTIONBARAUTOUPDATERURL": "Automatische Updater-URL",
+ "JAWS": "Jaws",
"ENABLEEMAILPREVIEW": "E-Mail-Vorschau aktivieren",
"REPORT": "Bericht",
- "SPLIT": "Teilen",
- "SPLITSIZECSV": "BerichtgröÃe teilen [CSV-Format]",
- "SPLITSIZEPDF": "BerichtgröÃe teilen [PDF-Format]",
- "SPLITSIZEXLSX": "BerichtgröÃe teilen [XLSX-Format]",
- "AGENTOMNIDESKTOPINTERFACE": "Omnichannel Agentenanwendung",
+ "SPLIT": "Bericht teilen",
+ "SPLITSIZECSV": "BerichtgröÃe teilen [CSV-Datensätze]",
+ "SPLITSIZEPDF": "Split-BerichtsgröÃe [PDF-Datensätze]",
+ "SPLITSIZEXLSX": "Split-BerichtsgröÃe [XLSX-Datensätze]",
+ "AGENTOMNIDESKTOPINTERFACE": "Agent Omni Desktopschnittstelle",
"MESSAGESALIGNMENT": "Nachrichtenausrichtung",
- "ENTER_LICENSE": "Lizenz einfügen",
- "EXPIRATION_CHANGED_ADVISE": "Bitte wenden Sie sich an unseren Support und halten Sie Ihre alte und neue UUID bereit.",
+ "ENTER_LICENSE": "Geben Sie Ihre Lizenz ein",
+ "EXPIRATION_CHANGED_ADVISE": "Wenden Sie sich an das xCALLY Motion License Team und senden Sie Ihre alte und Ihre neue Uuid.",
"EXPIRATION_REASON_MESSAGE_DISABLED": "Ihre Lizenz wurde deaktiviert.",
"UPDATE_LICENSE_MANUALLY": "Möchten Sie Ihre Lizenz manuell aktualisieren?",
"ADDONS": "Add-Ons",
"SESSIONS": "Sitzungen",
- "VIRTUAL": "Chat",
- "VOICE": "Sprachanrufe",
- "CHATTIMEOUT": "Automatisches SchlieÃen Chat nach",
- "MOTIONBARREMEMBERME": "Anmeldedaten merken",
+ "VIRTUAL": "Plaudern",
+ "VOICE": "Stimme",
+ "CHATTIMEOUT": "Chat schlieÃt Interaktionszeitlimit",
+ "MOTIONBARREMEMBERME": "Erinnere dich an mich",
"RTLSUPPORT": "RTL-Unterstützung",
- "DEFAULTSCREENRECORDINGPATH": "Pfad für Bildschirmaufzeichnungen",
- "SCREENRECORDING": "Bildschirmaufzeichnung",
+ "DEFAULTSCREENRECORDINGPATH": "Bildschirmaufzeichnungspfad",
+ "SCREENRECORDING": "Bildschirmaufnahme",
"VIDEO": "Video",
- "BLOCKDURATION": "Dauer automatisches Sperren (Minuten)",
+ "BLOCKDURATION": "Minuten vor dem automatischen Entsperren warten",
"SECURITY": "Sicherheit",
- "ALLOWEDLOGINATTEMPTS": "Zulässige Anmeldeversuche vor dem Sperren des Benutzers/Agenten",
+ "ALLOWEDLOGINATTEMPTS": "Zulässige Anmeldeversuche vor dem Sperren des Benutzers / Agenten",
"DEFAULT_FAVICON": "Standard-Favicon",
"FAVICON": "Favicon",
- "IMAPGENERALSETTINGS": "IMAP-Einstellungen",
- "LOGINMAILFREQUENCY": "Frequenz Mail-Login (Sek.)",
+ "IMAPGENERALSETTINGS": "IMAP",
+ "LOGINMAILFREQUENCY": "Anmelde-Mail-Häufigkeit (Sek.)",
"USERNAME": "Nutzername",
"GOOGLE_SSO_ENABLED": "Google SSO aktiviert",
"SSO": "SSO",
@@ -242,33 +242,33 @@
"AI": "A.I. Werkzeuge",
"AITOOLS": "A.I. Werkzeuge",
"APPZONE": "App Zone",
- "BUCKET": "Korb",
+ "BUCKET": "Eimer",
"DELETE": "Löschen",
"DELETE_CLOUDPROVIDER": "Konto löschen",
"EDIT_CLOUDPROVIDER": "Konto bearbeiten",
"LANGUAGE": "Sprache",
"NEW_CLOUDPROVIDER": "Neues Konto",
"SECRETACCESSKEY": "Geheimer Zugangsschlüssel",
- "SENTIMENTACCOUNT": "Konto für Sentimentanalyse",
- "SENTIMENTANALYSIS": "Sentimentanalyse",
- "SENTIMENTREGION": "Region für Sentimentanalyse",
- "SERVICE": "Dienst",
+ "SENTIMENTACCOUNT": "Sentiment Analysis Account",
+ "SENTIMENTANALYSIS": "Stimmungsanalyse",
+ "SENTIMENTREGION": "Sentiment Analysis Region",
+ "SERVICE": "Bedienung",
"TRANSCRIBE": "Transkribieren",
- "TRANSCRIBEACCOUNT": "Transkription Konto",
- "TRANSCRIBEREGION": "Transkription Region",
+ "TRANSCRIBEACCOUNT": "Konto transkribieren",
+ "TRANSCRIBEREGION": "Region transkribieren",
"WHATSAPP": "WhatsApp Connector",
- "ENFORCE_PASSWORD_HISTORY": "Speichern Passwortverlauf",
- "PASSWORD_HISTORY_LIMIT": "Max gespeicherte Passwörter",
- "SEARCH_ON_ENTER_KEY": "Suche durch Drücken der Eingabetaste starten",
- "CHAT_INTERACTIONS_RELOAD_TIMEOUT": "Zeitlimit für das erneute Laden von Chat-Interaktionen",
+ "ENFORCE_PASSWORD_HISTORY": "Kennwortverlauf erzwingen",
+ "PASSWORD_HISTORY_LIMIT": "Kennwortverlaufslimit",
+ "SEARCH_ON_ENTER_KEY": "Suchen Sie mit der Eingabetaste",
+ "CHAT_INTERACTIONS_RELOAD_TIMEOUT": "Zeitüberschreitung beim erneuten Laden von Chat-Interaktionen",
"MAIL_INTERACTIONS_RELOAD_TIMEOUT": "Zeitlimit für das erneute Laden von E-Mail-Interaktionen",
- "OPENCHANNEL_INTERACTIONS_RELOAD_TIMEOUT": "Zeitlimit für das erneute Laden von Open Channel-Interaktionen",
- "SMS_INTERACTIONS_RELOAD_TIMEOUT": "Zeitlimit für das erneute Laden von SMS-Interaktionen",
- "WHATSAPP_INTERACTIONS_RELOAD_TIMEOUT": "Zeitlimit für das erneute Laden von WhatsApp-Interaktionen ",
- "PRIVACY_POLICY_EMAIL": "Maskierung von E-Mail Adressen",
- "PRIVACY_POLICY_NAME": "Maskierung von Kundennamen",
- "PRIVACY_POLICY_NUMBER": "Maskierung von Nummern",
- "STOP_RECORDING_ON_VOICE_CALL_TRANSFER": "Gesprächsaufzeichnung bei Transfer stoppen",
+ "OPENCHANNEL_INTERACTIONS_RELOAD_TIMEOUT": "Zeitüberschreitung beim erneuten Laden von Open Channel-Interaktionen",
+ "SMS_INTERACTIONS_RELOAD_TIMEOUT": "Zeitüberschreitung beim erneuten Laden von SMS-Interaktionen",
+ "WHATSAPP_INTERACTIONS_RELOAD_TIMEOUT": "WhatsApp Connector-Interaktionen laden das Zeitlimit neu",
+ "PRIVACY_POLICY_EMAIL": "Datenschutzerklärung für E-Mail-Adressen",
+ "PRIVACY_POLICY_NAME": "Datenschutzerklärung für Namen",
+ "PRIVACY_POLICY_NUMBER": "Datenschutzerklärung für Nummern",
+ "STOP_RECORDING_ON_VOICE_CALL_TRANSFER": "Beenden Sie die Aufzeichnung bei Sprachanrufweiterleitung",
"AD_SSO_ENABLED": "Active Directory SSO aktiviert",
"APPLICATION_ID": "Anwendungs-ID",
"AUTHENTICATE": "Authentifizieren",
diff --git a/public/app/main/apps/settings/i18n/pt-BR.json b/public/app/main/apps/settings/i18n/pt-BR.json
index 5ccbf9c..58f29ba 100644
--- a/public/app/main/apps/settings/i18n/pt-BR.json
+++ b/public/app/main/apps/settings/i18n/pt-BR.json
@@ -1,6 +1,6 @@
{
"SETTINGS": {
- "PREFERRED": "Logotipo Preferido",
+ "PREFERRED": "Logotipo preferido",
"DEFAULT_PREFERRED": "Logotipo preferido padrão",
"MOTIONBARREMEMBERME": "Lembre de mim",
"CHATTIMEOUT": "Tempo limite de interação de fechamento de chat",
@@ -27,7 +27,7 @@
"CALLYSQUARE": "Cally Square",
"ENABLED": "Ativado",
"DISABLED": "Desativado",
- "UNLIMITED_CHANNELS": "Canais Ilimitados",
+ "UNLIMITED_CHANNELS": "Canais ilimitados",
"RELOAD": "Recarregar",
"VERIFY": "Verificar",
"INTERFACE": "Interface",
diff --git a/public/app/main/apps/sms/i18n/de.json b/public/app/main/apps/sms/i18n/de.json
index 9a01507..cddbe68 100644
--- a/public/app/main/apps/sms/i18n/de.json
+++ b/public/app/main/apps/sms/i18n/de.json
@@ -3,72 +3,72 @@
"KEY": "Schlüssel",
"NAME": "Name",
"SMSQUEUES": "SMS-Warteschlangen",
- "SEARCH_FOR_ANYONE": "Suche",
- "STRATEGY": "Verteilungsstrategie",
+ "SEARCH_FOR_ANYONE": "Suche für Jedermann",
+ "STRATEGY": "Strategie",
"ERRORS": {
- "KEY_MAX_LENGTH": "Wert darf nicht länger als {{max}} Zeichen sein",
- "KEY_REQUIRED": "Schlüssel erforderlich",
- "NAME_REQUIRED": "Name erforderlich",
- "AGENT_TIMEOUT_REQUIRED": "Zeitüberschreitung Agent erforderlich",
- "PHONE_REQUIRED": "Telefonnummer erforderlich",
- "SID_REQUIRED": "SID erforderlich",
- "TOKEN_REQUIRED": "Token erforderlich",
- "USERNAME_REQUIRED": "Nutzername erforderlich",
- "PASSWORD_REQUIRED": "Passwort erforderlich",
- "MOTIONADDRESS_REQUIRED": "Adresse erforderlich",
- "MOTIONADDRESS_MUST_VALID_URL": "Ungültiges Format Adresse",
- "ACCEPTURL_MUST_VALID_URL": "Ungültiges Format URL",
- "TIMEOUT_REQUIRED": "Zeitüberschreitung erforderlich",
- "REJECTURL_MUST_VALID_URL": "Ungültiges Format URL bei Ablehnen",
- "CLOSEURL_MUST_VALID_URL": "Ungültiges Format URL bei SchlieÃen",
- "TYPE_REQUIRED": "Typ erforderlich",
- "LIST_REQUIRED": "Liste erforderlich",
- "PRIORITY_REQUIRED": "Priorität erforderlich",
- "CONDITION_REQUIRED": "Bedingung erforderlich",
- "TRUEPRIORITY_REQUIRED": "Priorität bei zutreffender Bedingung erforderlich",
- "FALSEPRIORITY_REQUIRED": "Priorität bei nicht zutreffender Bedingung erforderlich",
- "AGENT_REQUIRED": "Agent erforderlich",
- "QUEUE_REQUIRED": "Warteschlange erforderlich",
- "DISPOSITION_REQUIRED": "Qualifizierung erforderlich",
- "ACCOUNTSID_REQUIRED": "Konto-SID erforderlich",
- "AUTHTOKEN_REQUIRED": "Token für Authentifizierung erforderlich",
- "MOTIONPROXY_REQUIRED": "Proxy erforderlich",
- "MOTIONPROXY_MUST_VALID_URL": "Ungültiges Format Proxy",
- "TEXT_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "TEXT_REQUIRED": "Text erforderlich",
- "VALUE_REQUIRED": "Wert erforderlich",
- "SENDERSTRING_MAX_LENGTH": "Wert darf nicht länger als {{max}} Zeichen sein",
- "SENDERSTRING_MUST_VALID_PATTERN": "Ungültiges Format SENDER",
- "METHOD_REQUIRED": "Methode erforderlich",
- "AUTHID_REQUIRED": "AUTH_ID erforderlich",
- "COMMAND_REQUIRED": "Eingabe erforderlich",
- "AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung Agent muss gröÃer oder gleich sein als",
- "NAME_MUST_VALID_PATTERN": "Ungültiges Format Name",
- "TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss kleiner oder gleich sein als",
- "AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung Agent muss kleiner oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wert muss kleiner oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_REQUIRED": "Auf zugewiesenen Agenten warten erforderlich",
- "TAG_REQUIRED": "Tag erforderlich",
- "AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss gröÃer oder gleich sein als",
- "AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss kleiner oder gleich sein als",
- "AGENTTRANSFERTIMEOUT_REQUIRED": "Zeitüberschreitung Agententransfer erforderlich",
- "QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss gröÃer oder gleich sein als",
- "QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss kleiner oder gleich sein als",
- "QUEUETRANSFERTIMEOUT_REQUIRED": "Zeitüberschreitung Warteschlangentransfer erforderlich",
- "APIKEY_REQUIRED": "API-Key erforderlich",
- "BASEURL_REQUIRED": "Base_URL erforderlich",
- "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "PausenID während Qualifizierung erforderlich",
- "ACCESSKEYID_REQUIRED": "Zugangsschlüssel-ID erforderlich",
- "BOTNAME_REQUIRED": "BOTName erforderlich",
- "SECRETACCESSKEY_REQUIRED": "Geheimer Zugangsschlüssen erforderlich",
- "CLIENTEMAIL_REQUIRED": "Kunden E-Mail erforderlich",
- "PRIVATEKEY_REQUIRED": "Privater Schlüssel erforderlich",
- "PROJECTID_REQUIRED": "ProjektID erforderlich",
- "ACCOUNTID_REQUIRED": "AccountID erforderlich",
- "APPLICATIONID_REQUIRED": "AnwendungsID erforderlich"
+ "KEY_MAX_LENGTH": "Schlüssel muss eine maximale Länge von {{max}}",
+ "KEY_REQUIRED": "Schlüssel ist erforderlich",
+ "NAME_REQUIRED": "Der Name ist erforderlich",
+ "AGENT_TIMEOUT_REQUIRED": "Der Agent Timeout ist erforderlich",
+ "PHONE_REQUIRED": "Die Telefonnummer ist erforderlich",
+ "SID_REQUIRED": "Die SID ist erforderlich",
+ "TOKEN_REQUIRED": "Das Token ist erforderlich",
+ "USERNAME_REQUIRED": "Der Benutzername ist erforderlich",
+ "PASSWORD_REQUIRED": "Das Kennwort ist erforderlich",
+ "MOTIONADDRESS_REQUIRED": "Die Adresse ist erforderlich",
+ "MOTIONADDRESS_MUST_VALID_URL": "Die Adresse muss in einem gültigen Format",
+ "ACCEPTURL_MUST_VALID_URL": "Die URL muss in einem gültigen Format",
+ "TIMEOUT_REQUIRED": "Der Timeout ist erforderlich",
+ "REJECTURL_MUST_VALID_URL": "Die URL muss in einem gültigen Format",
+ "CLOSEURL_MUST_VALID_URL": "Die URL muss in einem gültigen Format",
+ "TYPE_REQUIRED": "Der Typ ist erforderlich",
+ "LIST_REQUIRED": "Die Liste ist erforderlich",
+ "PRIORITY_REQUIRED": "Die Priorität ist erforderlich",
+ "CONDITION_REQUIRED": "Der Zustand ist erforderlich",
+ "TRUEPRIORITY_REQUIRED": "Die wahre Priorität ist erforderlich",
+ "FALSEPRIORITY_REQUIRED": "Die falsche Priorität ist erforderlich",
+ "AGENT_REQUIRED": "Der Agent ist erforderlich",
+ "QUEUE_REQUIRED": "Die Warteschlange ist erforderlich",
+ "DISPOSITION_REQUIRED": "Die Disposition ist erforderlich",
+ "ACCOUNTSID_REQUIRED": "Konto SID ist erforderlich",
+ "AUTHTOKEN_REQUIRED": "Auth Token ist erforderlich",
+ "MOTIONPROXY_REQUIRED": "Pflichtfeld",
+ "MOTIONPROXY_MUST_VALID_URL": "Falsches Format",
+ "TEXT_MAX_LENGTH": "Der Wert muss eine maximale Länge von {{max}} haben",
+ "TEXT_REQUIRED": "Pflichtfeld",
+ "VALUE_REQUIRED": "Pflichtfeld",
+ "SENDERSTRING_MAX_LENGTH": "Der Wert muss eine maximale Länge von {{max}} haben",
+ "SENDERSTRING_MUST_VALID_PATTERN": "Falsches Format",
+ "METHOD_REQUIRED": "Pflichtfeld",
+ "AUTHID_REQUIRED": "Pflichtfeld",
+ "COMMAND_REQUIRED": "Pflichtfeld",
+ "AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "NAME_MUST_VALID_PATTERN": "Falsches Format",
+ "TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "WAITFORTHEASSIGNEDAGENT_REQUIRED": "Pflichtfeld",
+ "TAG_REQUIRED": "Pflichtfeld",
+ "AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "AGENTTRANSFERTIMEOUT_REQUIRED": "Pflichtfeld",
+ "QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "QUEUETRANSFERTIMEOUT_REQUIRED": "Pflichtfeld",
+ "APIKEY_REQUIRED": "Pflichtfeld",
+ "BASEURL_REQUIRED": "Pflichtfeld",
+ "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "Pflichtfeld",
+ "ACCESSKEYID_REQUIRED": "Die Zugangsschlüssel-ID ist erforderlich",
+ "BOTNAME_REQUIRED": "Bot Name ist erforderlich",
+ "SECRETACCESSKEY_REQUIRED": "Zugriffsschlüsselgeheimnis ist erforderlich",
+ "CLIENTEMAIL_REQUIRED": "Pflichtfeld",
+ "PRIVATEKEY_REQUIRED": "Pflichtfeld",
+ "PROJECTID_REQUIRED": "Pflichtfeld",
+ "ACCOUNTID_REQUIRED": "Pflichtfeld",
+ "APPLICATIONID_REQUIRED": "Pflichtfeld"
},
- "AGENT_TIMEOUT": "Zeitüberschreitung Agent",
+ "AGENT_TIMEOUT": "Agent Timeout",
"DESCRIPTION": "Beschreibung",
"ADD_SMSQUEUE": "SMS-Warteschlange hinzufügen",
"EDIT_SMSQUEUE": "SMS-Warteschlange bearbeiten",
@@ -83,213 +83,213 @@
"SID": "SID",
"TOKEN": "Token",
"SMSTYPE": "SMS-Typ",
- "USERNAME": "Nutzername",
+ "USERNAME": "Benutzername",
"PASSWORD": "Passwort",
"MOTIONADDRESS": "Motion Adresse",
"ADD_SMSACCOUNT": "SMS-Konto hinzufügen",
"EDIT_SMSACCOUNT": "SMS-Konto bearbeiten",
- "DELETE_SMSACCOUNT": "SMS-Konto löschen",
+ "DELETE_SMSACCOUNT": "SMS-Konto löschen.",
"LIST": "Liste",
"FIDELITY": "Treue",
"API": "API",
- "DISPOSITIONS": "Qualifizierungen",
+ "DISPOSITIONS": "Bestimmungen",
"WEBHOOKS": "WebHooks",
- "ACTIONS": "Routing",
+ "ACTIONS": "Aktionen",
"ACCEPT": "Akzeptieren",
- "ACCEPTMETHOD": "Methode akzeptieren",
+ "ACCEPTMETHOD": "Die Methode",
"ACCEPTURL": "URL akzeptieren",
"REJECT": "Ablehnen",
"REJECTMETHOD": "Methode ablehnen",
"REJECTURL": "URL ablehnen",
- "CLOSE": "SchlieÃen und Qualifizieren",
- "CLOSEMETHOD": "Methode schlieÃen",
- "CLOSEURL": "URL schlieÃen",
- "SELECTED": "Ausgewählt",
- "SELECT_ALL": "Alles auswählen",
- "SELECT_NONE": "Nichts auswählen",
+ "CLOSE": "In der Nähe",
+ "CLOSEMETHOD": "In der Nähe Methode",
+ "CLOSEURL": "Der URL",
+ "SELECTED": "Ausgewählte",
+ "SELECT_ALL": "Alle auswählen",
+ "SELECT_NONE": "Wählen Sie \"Keine\"",
"BACK": "Zurück",
"SMS": "SMS",
- "ID": "ID",
+ "ID": "Id",
"CONFIRM_PASSWORD": "Passwort bestätigen",
- "SMSDISPOSITIONS": "SMS-Qualifizierungen",
- "NO_SMSDISPOSITION_AVAILABLE": "Keine Qualifizierungen vorhanden",
- "NEW_SMSDISPOSITION": "Neue Qualifizierung",
- "ADD_SMSDISPOSITION": "Qualifizierung hinzufügen",
- "EDIT_SMSDISPOSITION": "Qualifizierung bearbeiten",
- "DELETE_SMSDISPOSITION": "Qualifizierung löschen",
+ "SMSDISPOSITIONS": "SMS-Bestimmungen",
+ "NO_SMSDISPOSITION_AVAILABLE": "Keine SMS-Verfügungen zur Verfügung",
+ "NEW_SMSDISPOSITION": "Neue SMS-Disposition",
+ "ADD_SMSDISPOSITION": "SMS-Disposition",
+ "EDIT_SMSDISPOSITION": "Bearbeiten Sie SMS-Disposition",
+ "DELETE_SMSDISPOSITION": "SMS löschen Disposition",
"NEW_SMSQUEUE": "Neue SMS-Warteschlange",
"NEW_SMSACCOUNT": "Neue SMS-Konto",
- "NO_AVAILABLE_INFO": "Keine Informationen verfügbar",
- "ALL_TEAMS": "Alle Teams",
+ "NO_AVAILABLE_INFO": "Keine verfügbaren Info",
+ "ALL_TEAMS": "Alle Mannschaften",
"SELECTED_TEAMS": "Ausgewählte Teams",
"HELP": {
"NAME": "Nur Zahlen, Buchstaben und Sonderzeichen (._) werden unterstützt.",
- "LIST": "Kontaktmanage- Liste zu verknüpfen von Kontakten",
+ "LIST": "Contact Manager Liste zu verknüpfen von Kontakten",
"RECEIVEURL": "Dies ist die automatisch generierte API-String müssen Sie die Nachrichten in Ihrem Konto von Ihrem SMS-Anbieter zu erhalten (POST-Methode verwendet werden muss). Drücken Sie die Zwischenablage, um Sie in die Zwischenablage zu kopieren.",
"MOTIONPROXY": "Das Feld muss das folgende Format haben: ://[:]. Beispiel: https://X.Y.Z.W",
"DELIVERYREPORTURL": "Dies ist die automatisch generierte API-Zeichenfolge, die Sie verwenden müssen, um den Zustellungsbericht gesendeter Nachrichten von Ihrem SMS-Anbieter zu empfangen (die POST-Methode muss verwendet werden): Klicken Sie auf die Zwischenablage, um sie zu kopieren",
- "MANDATORYDISPOSITION": "Qualifizierung erforderlich",
- "MANDATORYDISPOSITIONPAUSEID": "Pausenstatus während der Qualifizierung",
- "WELCOMEMESSAGE": "Erste Nachricht bei neuen Interaktionen"
+ "MANDATORYDISPOSITION": "Zwingende Disposition",
+ "MANDATORYDISPOSITIONPAUSEID": "Anhalten, um zu verwenden, wenn die obligatorische Disposition aktiviert ist",
+ "WELCOMEMESSAGE": "Dies ist die erste Antwortnachricht, die an neue Interaktionen gesendet wird"
},
"PAGE": "Seite",
"ROWSPERPAGE": "Zeilen pro Seite",
- "OF": "von",
+ "OF": "Von",
"TEAMADD_SMSQUEUE": "Team zur Warteschlange hinzufügen",
- "AGENTADD_SMSQUEUE": "Agenten zur Warteschlange hinzufügen",
+ "AGENTADD_SMSQUEUE": "Agent zur Warteschlange hinzufügen",
"ALL_AGENTS": "Alle Agenten",
"SELECTED_AGENTS": "Ausgewählte Agenten",
- "RECEIVEURL": "URL erhalten",
+ "RECEIVEURL": "Erhalten URL",
"INTERACTION": "Interaktion",
- "INTERACTIONS": "Interaktionen",
- "NO_INTERACTION_AVAILABLE": "Keine Interaktionen vorhanden",
+ "INTERACTIONS": "Wechselwirkungen",
+ "NO_INTERACTION_AVAILABLE": "Es sind keine Wechselwirkungen zur Verfügung",
"CONTACT": "Kontakt",
"STARTEDAT": "Gestartet am",
"AGENT": "Agent",
- "CLOSEDAT": "Geschlossen am",
- "DISPOSITION": "Qualifizierung",
- "NOTES": "Anmerkungen",
- "GOTO": "GeheZu (GoTo)",
- "GOTOIF": "GeheZuWenn (GoToIf)",
- "NOOP": "Log erstellen (NoOp)",
+ "CLOSEDAT": "Geschlossen",
+ "DISPOSITION": "Disposition",
+ "NOTES": "Hinweise",
+ "GOTO": "Gehe zu",
+ "GOTOIF": "Gotoif",
+ "NOOP": "Noop",
"QUEUE": "Warteschlange",
- "TIMEOUT": "Zeitüberschreitung",
+ "TIMEOUT": "Timeout",
"VALUE": "Wert",
- "EDIT_AGENT": "Agenten bearbeiten",
- "EDIT_GOTO": "\"GeheZu\" bearbeiten",
- "EDIT_NOOP": "Log-Erstellung bearbeiten",
- "EDIT_GOTOIF": "Bedingung bearbeiten und Priorität zuweisen",
+ "EDIT_AGENT": "Agent bearbeiten",
+ "EDIT_GOTO": "Bearbeiten Gehe zu",
+ "EDIT_NOOP": "Bearbeiten Noop",
+ "EDIT_GOTOIF": "Bearbeiten Gotoif",
"EDIT_QUEUE": "Warteschlange bearbeiten",
- "CONDITION": "Bedingung",
- "TRUEPRIORITY": "Priorität bei zutreffender Bedingung erforderlich",
- "FALSEPRIORITY": "Priorität bei nicht zutreffender Bedingung erforderlich",
+ "CONDITION": "Zustand",
+ "TRUEPRIORITY": "Wahre Priorität",
+ "FALSEPRIORITY": "Falsche Priorität",
"PRIORITY": "Priorität",
- "GOTOP": "Priorität zuweisen (GoToP)",
- "EDIT_GOTOP": "GoToP bearbeiten",
- "EDIT_CLOSE": "Verhalten bei SchlieÃen bearbeiten",
+ "GOTOP": "Gotop",
+ "EDIT_GOTOP": "Gotop bearbeiten",
+ "EDIT_CLOSE": "Bearbeiten SchlieÃen",
"FILTER": "Filter",
- "SELECT_STATUS": "Status wählen",
- "ALL": "Alles",
- "SELECT_ACCOUNT": "Konto wählen",
- "OPENED": "Geöffnet",
+ "SELECT_STATUS": "Wählen Sie einen Status",
+ "ALL": "Alle",
+ "SELECT_ACCOUNT": "Wählen Sie ein Konto",
+ "OPENED": "Ãffnen",
"CLOSED": "Geschlossen",
"STATUS": "Status",
"ACCOUNT": "Konto",
- "OPEN": "Offen",
- "INFO": "Information",
+ "OPEN": "Ãffnen",
+ "INFO": "Info",
"ACCOUNTSID": "Konto SID",
"AUTHTOKEN": "Auth Token",
"PROXY": "Proxy",
- "ADVANCED": "Erweitert",
+ "ADVANCED": "Erweiterte",
"MOTIONPROXY": "Proxy oder Motion Domain",
"REALTIME": "Echtzeit",
"UNKNOWN": "Unbekannt",
- "UNREGISTERED": "Nicht registriert",
+ "UNREGISTERED": "Unregistrierte",
"UNAVAILABLE": "Nicht verfügbar",
- "NOT_INUSE": "Nicht in Verwendung",
+ "NOT_INUSE": "Nicht in Gebrauch",
"REACHABLE": "Erreichbar",
- "IN_USE": "In Verwendung",
+ "IN_USE": "Im Einsatz",
"AGENTS": "Agenten",
"QUEUES": "Warteschlangen",
- "FULLNAME": "Vollständiger Name",
- "INTERNAL": "Intern",
- "PHONE_STATE": "Status Nebenstelle",
- "PHONE_STATUS": "SIP-Status Nebenstelle",
+ "FULLNAME": "Fullname",
+ "INTERNAL": "Interne",
+ "PHONE_STATE": "Telefonstatus",
+ "PHONE_STATUS": "Telefonstatus",
"PAUSE": "Pause",
"LOGOUT": "An-/Abmelden",
- "AGENTADD_QUEUE": "Agenten zur Warteschlange hinzufügen",
- "UNPAUSE": "Pause abbrechen",
- "DEFAULT_PAUSE": "Standardpause",
+ "AGENTADD_QUEUE": "Agent SMS-Warteschlange hinzufügen",
+ "UNPAUSE": "Pause beenden",
+ "DEFAULT_PAUSE": "Standard Pause",
"LOGGED_IN": "Angemeldet",
- "PAUSED": "in Pause",
+ "PAUSED": "Angehalten",
"READY": "Bereit",
"WAITING": "Warten",
- "VOICE": "Anrufe",
+ "VOICE": "Voice",
"CHAT": "Chat",
"MAIL": "E-Mail",
- "OPENCHANNEL": "Offener Kanal",
+ "OPENCHANNEL": "Channel öffnen",
"FAX": "Fax",
- "AGENTSADD_QUEUE": "Agenten zur SMS-Warteschlange hinzufügen",
+ "AGENTSADD_QUEUE": "Agenten zu SMS-Warteschlange hinzufügen",
"NO_AGENT_ONLINE": "Kein Agent Online",
- "GOTOREALTIME_SMSQUEUE": "Direkt zur Echtzeit-Warteschlange",
- "PARTIALPAUSE": "Teilpause",
+ "GOTOREALTIME_SMSQUEUE": "In Echtzeit, SMS-Warteschlange",
+ "PARTIALPAUSE": "Lastschriftzahlung teilweise Pause",
"BUSY": "Besetzt",
"TIMER": "Timer",
"IDLE": "Leerlauf",
"CAPACITY": "Kapazität",
"SEND": "Senden",
- "TO": "An",
+ "TO": "Zu",
"MESSAGE": "Nachricht",
"TAGS": "Tags",
- "INTERACTIONS_SMSACCOUNT": "Zu den Interaktionen gehen",
- "REFRESH_INTERACTIONS": "Interaktionen aktualisieren",
- "CANNED_ANSWER_NOT_FOUND": "Keine Textvorlagen verfügbar",
- "CANNED_ANSWER_SEARCH": "Nach Textvorlagen suchen",
- "NO_SMSDISPOSITIONS_AVAILABLE": "Keine Qualifizierungen verfügbar",
- "NO_SMSCANNEDANSWER_AVAILABLE": "Keine Textvorlagen vorhanden",
- "NEW_SMSCANNEDANSWER": "Neue Textvorlage",
- "ADD_SMSCANNEDANSWER": "Textvorlage hinzufügen",
- "EDIT_SMSCANNEDANSWER": "Textvorlage bearbeiten",
- "DELETE_SMSCANNEDANSWER": "Textvorlage löschen",
- "DELIVERYREPORTURL": "URL bei Erhalt",
+ "INTERACTIONS_SMSACCOUNT": "Zu Wechselwirkungen gehen",
+ "REFRESH_INTERACTIONS": "Aktualisieren Interaktionen",
+ "CANNED_ANSWER_NOT_FOUND": "Es wurden keine vordefinierten Antworten gefunden",
+ "CANNED_ANSWER_SEARCH": "Geben Sie einen Text ein, um eine vordefinerte Antwort zu suchen",
+ "NO_SMSDISPOSITIONS_AVAILABLE": "Keine Sms-Disposition verfügbar",
+ "NO_SMSCANNEDANSWER_AVAILABLE": "Keine vordefinierten Antworten verfügbar",
+ "NEW_SMSCANNEDANSWER": "Neue vordefinierte Antwort",
+ "ADD_SMSCANNEDANSWER": "Vordefinierte Antwort hinzufügen",
+ "EDIT_SMSCANNEDANSWER": "Vordefinierte Antwort bearbeiten",
+ "DELETE_SMSCANNEDANSWER": "Vordefinierte Antwort löschen",
+ "DELIVERYREPORTURL": "Zustellungsbericht-URL",
"DELETE": "Löschen",
- "SENDERSTRING": "Absenderkennung",
+ "SENDERSTRING": "Absenderzeichenfolge",
"DELIVERYREPORT": "Sendebericht",
"METHOD": "Methode",
"ADD_NOTE": "Notiz hinzufügen",
"NOTE": "Hinweis",
- "SPYINTERACTION": "Anzeigen",
+ "SPYINTERACTION": "Spion",
"AUTOREPLY": "Automatische Antwort",
- "EDIT_AUTOREPLY": "Automatische Antwort bearbeiten",
- "TIMES": "Zeiten",
+ "EDIT_AUTOREPLY": "Bearbeiten Sie die automatische Antwort",
+ "TIMES": "Anzahl der Male pro Interaktion",
"TEXT": "Text",
- "INSERT_MESSAGE_HERE": "Nachricht hier einfügen",
+ "INSERT_MESSAGE_HERE": "Fügen Sie hier Ihre Textnachricht ein",
"DELETE_INTERACTION": "Interaktion löschen",
"AUTHID": "Authentifizierungs-ID",
- "COMMAND": "Eingabe",
+ "COMMAND": "Befehl",
"EDIT_SYSTEM": "System bearbeiten",
"SYSTEM": "System",
- "VARIABLE": "Variabel",
+ "VARIABLE": "Variable",
"NOTIFICATION": "Benachrichtigung",
- "NOTIFICATIONSHAKE": "Schütteln",
- "NOTIFICATIONSOUND": "Sound abspielen",
+ "NOTIFICATIONSHAKE": "Shake",
+ "NOTIFICATIONSOUND": "Klingen",
"NOTIFICATIONTEMPLATE": "Vorlage",
- "WAITFORTHEASSIGNEDAGENT": "Auf zugewiesenen Agenten warten",
+ "WAITFORTHEASSIGNEDAGENT": "Warte auf den zugewiesenen Agenten",
"EDIT_TAG": "Tag bearbeiten",
- "TAG": "Tag",
- "AGENTADD_SMSACCOUNT": "Agenten zum SMS-Konto hinzufügen",
- "AGENTTRANSFER": "Transfer an Agenten erlauben",
+ "TAG": "Etikett",
+ "AGENTADD_SMSACCOUNT": "Fügen Sie einen Agenten zum SMS-Konto hinzu",
+ "AGENTTRANSFER": "Agent Transfer",
"AGENTTRANSFERTIMEOUT": "Zeitüberschreitung für Agententransfer",
- "QUEUETRANSFER": "Transfer in Warteschlange erlauben",
- "QUEUETRANSFERTIMEOUT": "Zeitüberschreitung für Warteschlangentransfer",
+ "QUEUETRANSFER": "Warteschlangenübertragung",
+ "QUEUETRANSFERTIMEOUT": "Warteschlangenübertragungs-Timeout",
"TRANSFER": "Transfer",
- "CANNEDANSWERS": "Textvorlagen",
- "DOWNLOAD_INTERACTION": "Interaktion herunterladen",
- "SMSCANNEDANSWERS": "SMS-Textvorlagen",
- "LOGIN_TIME": "Zeit angemeldet",
- "PAUSE_TIME": "Zeit in Pause",
+ "CANNEDANSWERS": "Vordefinierte Antworten",
+ "DOWNLOAD_INTERACTION": "Herunterladen",
+ "SMSCANNEDANSWERS": "Vordefinierte Antworten",
+ "LOGIN_TIME": "Login-Zeit",
+ "PAUSE_TIME": "Pausenzeit",
"APIKEY": "API-Schlüssel",
- "BASEURL": "Base_URL",
- "TEAMS_ASSOCIATION": "Teamzuweisung",
- "MANDATORYDISPOSITION": "Qualifizierung erforderlich",
- "MANDATORYDISPOSITIONPAUSEID": "PausenID während Qualifizierung",
+ "BASEURL": "Basis-URL",
+ "TEAMS_ASSOCIATION": "Vereinigung der Mannschaften",
+ "MANDATORYDISPOSITION": "Zwingende Disposition",
+ "MANDATORYDISPOSITIONPAUSEID": "Anhalten, um zu verwenden, wenn die obligatorische Disposition aktiviert ist",
"ACCESSKEYID": "Zugriffsschlüssel-ID",
"AMAZONLEX": "AmazonLex",
- "BOTNAME": "BOT-Name",
- "DIALOGFLOW": "Google DialogFlow",
- "EDIT_AMAZONLEX": "Lex-Konfiguration bearbeiten",
- "EDIT_DIALOGFLOW": "DialogFlow-Konfiguration bearbeiten",
+ "BOTNAME": "Bot Name",
+ "DIALOGFLOW": "DialogFlow",
+ "EDIT_AMAZONLEX": "Bearbeiten Sie die Lex-Konfiguration",
+ "EDIT_DIALOGFLOW": "Bearbeiten Sie die DialogFlow-Konfiguration",
"LANGUAGE": "Sprache",
- "LEXREGION": "Lex Region",
- "SECRETACCESSKEY": "Geheimer Zugangsschlüssel",
+ "LEXREGION": "Region",
+ "SECRETACCESSKEY": "Zugriffsschlüsselgeheimnis",
"WELCOMEMESSAGE": "Willkommensnachricht",
- "DOWNLOAD_WITHOUT_ATTACHMENT": "Herunterladen ohne Anhänge",
- "DOWNLOAD_WITH_ATTACHMENT": "Herunterladen inkl. Anhänge",
+ "DOWNLOAD_WITHOUT_ATTACHMENT": "Ohne Anhang herunterladen",
+ "DOWNLOAD_WITH_ATTACHMENT": "Download mit Anhang",
"LASTMESSAGE": "Letzte Nachricht",
- "CLIENTEMAIL": "Kunden E-Mail",
+ "CLIENTEMAIL": "Kunden-E-Mail",
"DIALOGFLOWV2": "Dialogflow V2",
"EDIT_DIALOGFLOWV2": "Dialogflow V2 bearbeiten",
- "PRIVATEKEY": "Privater Schlüssel",
+ "PRIVATEKEY": "Privat Schlüssel",
"PROJECTID": "Projekt-ID",
"ACCOUNTID": "Konto-ID",
"APPLICATIONID": "Anwendungs-ID"
diff --git a/public/app/main/apps/sms/i18n/pt-BR.json b/public/app/main/apps/sms/i18n/pt-BR.json
index 6d60e30..bca1c51 100644
--- a/public/app/main/apps/sms/i18n/pt-BR.json
+++ b/public/app/main/apps/sms/i18n/pt-BR.json
@@ -52,12 +52,12 @@
"PARTIALPAUSE": "Pausa parcial",
"BUSY": "Ocupado",
"TIMER": "Tempo",
- "IDLE": "Ocioso",
+ "IDLE": "DisponÃvel",
"CAPACITY": "Capacidade",
"PROXY": "Proxy",
"ADVANCED": "Avançado",
"MOTIONPROXY": "Proxy ou Dominio do Motion",
- "REALTIME": "Tempo Real",
+ "REALTIME": "Tempo real",
"KEY": "Key",
"NAME": "Nome",
"SMSQUEUES": "Filas de SMS",
diff --git a/public/app/main/apps/staff/i18n/de.json b/public/app/main/apps/staff/i18n/de.json
index 163a056..a46e611 100644
--- a/public/app/main/apps/staff/i18n/de.json
+++ b/public/app/main/apps/staff/i18n/de.json
@@ -1,188 +1,188 @@
{
"STAFF": {
- "CONTEXT": "Kontext (Wählplan)",
- "RINGINUSE": "Nebenstelle klingelt auch wenn Nutzer Besetzt",
+ "CONTEXT": "Kontext",
+ "RINGINUSE": "Ring im Einsatz",
"USERS": "Benutzer",
"AGENTS": "Agenten",
- "TOGGLE_SIDENAV": "Navigationsleiste umschalten",
- "SEARCH_FOR_ANYONE": "Suche",
+ "TOGGLE_SIDENAV": "Um sidenav",
+ "SEARCH_FOR_ANYONE": "Suche für Jedermann",
"BACK": "Zurück",
- "MULTI_SELECT_TOGGLE": "Mehrfachauswahl ja/nein",
- "SELECT_ALL": "Alles auswählen",
- "SELECT_NONE": "Nichts auswählen",
- "SELECTED": "Ausgewählt",
+ "MULTI_SELECT_TOGGLE": "Wählen Sie toggle multi",
+ "SELECT_ALL": "Alle auswählen",
+ "SELECT_NONE": "Wählen Sie \"Keine\"",
+ "SELECTED": "Ausgewählte",
"DELETE_SELECTED": "Auswahl löschen",
"EXPORT_SELECTED": "Auswahl exportieren",
"ALL_USERS": "Alle Benutzer",
"ALL_AGENTS": "Alle Agenten",
"SORT": "Sortieren",
"NAME": "Name",
- "FULLNAME": "Vollständiger Name",
+ "FULLNAME": "Voller Name",
"A_TO_Z": "(A bis Z)",
"Z_TO_A": "(Z bis A)",
"MORE": "Mehr",
"DELETE_USER": "Benutzer löschen",
"EDIT_USER": "Benutzer bearbeiten",
- "DELETE_AGENT": "Agenten löschen",
- "EDIT_AGENT": "Agenten bearbeiten",
+ "DELETE_AGENT": "Bedienplatz löschen",
+ "EDIT_AGENT": "Agent bearbeiten",
"DELETE": "Löschen",
"SAVE": "Speichern",
"ADD_USER": "Benutzer hinzufügen",
"ADD_AGENT": "AGENT HINZUFÃGEN",
- "NO_RESULTS": "Keine Ergebnisse",
+ "NO_RESULTS": "Keine Ergebnisse.",
"CLOSE_DIALOG": "Dialog schlieÃen",
- "NAME_REQUIRED": "Name (erforderlich)",
- "USERNAME": "Nutzername",
+ "NAME_REQUIRED": "Name (erforderlich).",
+ "USERNAME": "Benutzername",
"SHOW_ALL_FIELDS": "Alle Felder anzeigen",
"PHONE_NUMBER": "Telefonnummer",
"EMAIL": "E-Mail",
"PASSWORD": "Passwort",
"ERRORS": {
- "FULLNAME_REQUIRED": "Vollständiger Name erforderlich",
- "USERNAME_REQUIRED": "Benutzername erforderlich",
- "EMAIL_REQUIRED": "E-Mail erforderlich",
- "PASSWORD_REQUIRED": "Passwort erforderlich",
- "CONFIRM_NOT_MATCH": "Die Passwörter stimmen nicht überein",
- "EMAIL_MUST_VALID": "E-Mail Format ungültig",
- "ACCOUNTNAME_REQUIRED": "Konto erforderlich",
- "NAME_REQUIRED": "Name erforderlich",
- "HOST_REQUIRED": "Host erforderlich",
- "CHATCAPACITY_REQUIRED": "Kapazität Chat erforderlich",
- "MAILCAPACITY_REQUIRED": "Kapazität E-Msil erforderlich",
- "FAXCAPACITY_REQUIRED": "Kapazität Fax erforderlich",
- "SMSCAPACITY_REQUIRED": "Kapazität SMS erforderlich",
- "OPENCHANNELCAPACITY_REQUIRED": "Kapazität offener Kanal erforderlich",
- "SIPEXPIRES_REQUIRED": "SIP-Ablaufdatum erforderlich",
- "SIPPORT_REQUIRED": "SIP-Port erforderlich",
- "UNCONDITIONALNUMBER_REQUIRED": "Zielrufnummer erforderlich",
- "NOREPLYNUMBER_REQUIRED": "Nummer bei keiner Antwort erforderlich",
- "BUSYNUMBER_REQUIRED": "Nummer bei Besetzt erforderlich",
- "USERNAME_MUST_VALID_PATTERN": "Benutzername ungültig {{regex}}.",
- "REMOTECONTROLPORT_REQUIRED": "Port für Remote erforderlich",
- "CHATCAPACITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Kapazität Chat muss gröÃer oder gleich sein als",
- "MAILCAPACITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Kapazität E-Mail muss gröÃer oder gleich sein als",
- "FAXCAPACITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Kapazität Fax muss gröÃer oder gleich sein als",
- "OPENCHANNELCAPACITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Kapazität offener Kanal muss gröÃer oder gleich sein als",
- "AUTOANSWERDELAY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
- "AUTOANSWERDELAY_REQUIRED": "Verzögerung bei automatischer Antwort erforderlich",
- "MONITOREXTENSION_REQUIRED": "Nebenstelle erforderlich",
+ "FULLNAME_REQUIRED": "Der Fullname ist erforderlich",
+ "USERNAME_REQUIRED": "Der Benutzername ist erforderlich",
+ "EMAIL_REQUIRED": "Die E-Mail ist erforderlich",
+ "PASSWORD_REQUIRED": "Das Kennwort ist erforderlich",
+ "CONFIRM_NOT_MATCH": "Die Kennwörter stimmen nicht überein.",
+ "EMAIL_MUST_VALID": "Die e-Mail muss in einem gültigen Format",
+ "ACCOUNTNAME_REQUIRED": "Der Account ist erforderlich.",
+ "NAME_REQUIRED": "Der Name ist erforderlich",
+ "HOST_REQUIRED": "Der Host wird benötigt",
+ "CHATCAPACITY_REQUIRED": "Die Kapazität ist erforderlich",
+ "MAILCAPACITY_REQUIRED": "Die E-Mail Kapazität erforderlich ist",
+ "FAXCAPACITY_REQUIRED": "Die Kapazität ist erforderlich",
+ "SMSCAPACITY_REQUIRED": "Die SMS-Kapazität erforderlich ist",
+ "OPENCHANNELCAPACITY_REQUIRED": "Der Offene Kanal Kapazität erforderlich ist",
+ "SIPEXPIRES_REQUIRED": "Der SIP-Ablauf ist erforderlich",
+ "SIPPORT_REQUIRED": "Die SIP-Port erforderlich.",
+ "UNCONDITIONALNUMBER_REQUIRED": "Die Zielrufnummer ist erforderlich",
+ "NOREPLYNUMBER_REQUIRED": "Die Nummer ist keine Antwort erforderlich",
+ "BUSYNUMBER_REQUIRED": "Die besetzt ist erforderlich",
+ "USERNAME_MUST_VALID_PATTERN": "Der Benutzername muss gültige {{regex}}.",
+ "REMOTECONTROLPORT_REQUIRED": "Die Fernbedienung Anschluss erforderlich",
+ "CHATCAPACITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Chat Kapazität muss gröÃer als oder gleich",
+ "MAILCAPACITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die E-Mail Kapazität muss gröÃer als oder gleich",
+ "FAXCAPACITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Das Fax Kapazität muss gröÃer als oder gleich",
+ "OPENCHANNELCAPACITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der offene Kanal Kapazität muss gröÃer als oder gleich",
+ "AUTOANSWERDELAY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer als oder gleich",
+ "AUTOANSWERDELAY_REQUIRED": "Pflichtfeld",
+ "MONITOREXTENSION_REQUIRED": "Pflichtfeld",
"ENCRYPTION": "SRTP (Secure Realtime Protocol) Verschlüsselung",
- "DTLSCERTFILE_REQUIRED": "Zertifikat erforderlich",
- "DTLSPRIVATEKEY_REQUIRED": "Privater Schlüssel erforderlich",
- "SECURE_PASSWORD_PATTERN": "Das Passwort muss mindestens 8 Zeichen lang sein und 1 Kleinbuchstaben, 1 GroÃbuchstaben, 1 Zahl und 1 Sonderzeichen enthalten",
- "ALLOWCODECS_REQUIRED": "Erlaubte Codecs erforderlich",
- "CRUDPERMISSIONS_REQUIRED": "Berechtigungen erforderlich",
- "USERPROFILE_REQUIRED": "Nutzerprofil erforderlich",
- "PASSWORD_OLDPASSWORD_MATCH": "Neues und altes Passwort dürfen nicht gleich sein",
- "CONFIRM_REQUIRED": "Bestätigung erforderlich",
- "WHATSAPPCAPACITY_REQUIRED": "Kapazität WhatsApp erforderlich"
+ "DTLSCERTFILE_REQUIRED": "Pflichtfeld",
+ "DTLSPRIVATEKEY_REQUIRED": "Pflichtfeld",
+ "SECURE_PASSWORD_PATTERN": "Das Passwort muss mindestens 8 Zeichen lang sein und 1 Kleinbuchstabe, 1 GroÃbuchstabe, 1 Zahl und 1 Sonderzeichen haben ~! @",
+ "ALLOWCODECS_REQUIRED": "Pflichtfeld",
+ "CRUDPERMISSIONS_REQUIRED": "Pflichtfeld",
+ "USERPROFILE_REQUIRED": "Pflichtfeld",
+ "PASSWORD_OLDPASSWORD_MATCH": "Das neue Passwort muss sich vom vorherigen Passwort unterscheiden",
+ "CONFIRM_REQUIRED": "Pflichtfeld",
+ "WHATSAPPCAPACITY_REQUIRED": "Pflichtfeld"
},
- "ACCOUNT": "Nutzerdaten",
- "VOICE": "Einstellungen Telefonie",
+ "ACCOUNT": "Konto",
+ "VOICE": "Voice",
"CREATED_AT": "Erstellt am",
"ROLE": "Rolle",
- "PERSONAL_INFO": "Persönliche Informationen",
+ "PERSONAL_INFO": "Persönliche Infos",
"DESCRIPTION": "Beschreibung",
- "CHANGE_AVATAR": "Avatar ändern",
+ "CHANGE_AVATAR": "Avatar ändern.",
"GENERAL": "Allgemein",
- "INTERNAL": "Interne Durchwahl",
- "TRANSPORT": "Transport",
- "ALLOWCODECS": "Erlaubte Codecs",
+ "INTERNAL": "Interne",
+ "TRANSPORT": "Verkehr",
+ "ALLOWCODECS": "Codecs erlaubt",
"HELP": {
- "ALLOWCODECS": "Erlaubt Codecs in der Reihenfolge der Auflistung",
- "TRANSPORT": "Festlegen der Standardeinstellungen für das Transportprotokoll. Die Reihenfolge bestimmt den primären Standard.",
- "HOST": "Definiert die Ermittlung des Clients. Wenn sich die Nebenstelle selbst registrieren soll \"dynamic\" anstelle der Host-IP verwenden ",
- "NAT": "Ãndert das Verhaltes des Asterisk-Telefonieservers für Nebenstellen hinter einer Firewall- Sofern eine der per Komma getrennten Optionen 'no', werden alle anderen Einstellungen ignoriert und der Server setzt ein 'nat=no'",
+ "ALLOWCODECS": "Erlaubt Codecs in der Reihenfolge ihrer Präferenz",
+ "TRANSPORT": "Festlegen der Standardeinstellungen für Transporte. Die Reihenfolge bestimmt den primären Standard.",
+ "HOST": "Wie finden Sie die Client-IP oder den Host-Namen. Wenn Sie möchten, dass das Telefon zu registrieren, verwenden Sie das Schlüsselwort Dynamic anstelle von Host-IP.",
+ "NAT": "Ãndert das Verhalten von Sternchen für Clients hinter einer Firewall.Wenn der Komma-getrennten Optionen ist \"Nein\", Asterisk ignoriert alle anderen Einstellungen und die nat=No.",
"SIPEXPIRES": "Standardeinstellung: 160",
"SIPPORT": "Standardeinstellung: 5160",
- "TYPE": "Definiert die Rolle des SIP innerhalb des Telefoniservers. User: eingehende Authentifizierung - Peer: ausgehende Authentifizierung - Friend: beide Varianten",
- "CHATCAPACITY": "Maximale Anzahl an gleichzeitigen Chat-Interaktionen pro Agent. (0 = unbegrenzt)",
- "MAILCAPACITY": "Maximale Anzahl an gleichzeitigen E-Mail-Interaktionen pro Agent. (0 = unbegrenzt)",
- "FAXCAPACITY": "Maximale Anzahl an gleichzeitigen Fax-Interaktionen pro Agent. (0 = unbegrenzt)",
- "SMSCAPACITY": "Maximale Anzahl an gleichzeitigen SMS-Interaktionen pro Agent. (0 = unbegrenzt)",
- "OPENCHANNELCAPACITY": "Maximale Anzahl an gleichzeitigen Interaktionen im offenen Kanal pro Agent. (0 = unbegrenzt)",
- "CALLGROUP": "Rufgruppe",
- "PICKUPGROUP": "Ãbernahmegruppe",
+ "TYPE": "Legt das SIP-Rolle innerhalb der Sternchen. User: Wird verwendet, um die Authentifizierung für eingehende - Peer: für ausgehende Anrufe - Freund: Deckt sowohl die Eigenschaften der oben genannten.",
+ "CHATCAPACITY": "Null bedeutet unbegrenzt.",
+ "MAILCAPACITY": "Null bedeutet unbegrenzt.",
+ "FAXCAPACITY": "Null bedeutet unbegrenzt.",
+ "SMSCAPACITY": "Null bedeutet unbegrenzt.",
+ "OPENCHANNELCAPACITY": "Null bedeutet unbegrenzt.",
+ "CALLGROUP": "Legt der Agent callgroup",
+ "PICKUPGROUP": "Definiert die Gruppen in denen der Agent Anrufe annehmen können",
"USERNAME": "Nur Zahlen, Buchstaben und Sonderzeichen (._) werden unterstützt.",
"ENCRYPTION": "SRTP (Secure Realtime Protocol) Verschlüsselung",
"LAST_PASSWORD_RESET_AT": "Letztes Datum und Uhrzeit, zu der das Passwort geändert wurde. Wenn die Allgemeinen Einstellungen für Secure Suite aktiviert sind, läuft das Passwort nach 90 Tagen ab.",
- "DTLSCERTFILE": "Verknüpfen Sie das gültige TLS-Zertifikat (.crt-Datei). Standardwert: '/etc/pki/tls/certs/motion.crt'.",
- "DTLSPRIVATEKEY": "Verknüpfen Sie den privaten Schlüssel des Zertifikats (.key-Datei). Standardwert: '/etc/pki/tls/private/motion.key'.",
+ "DTLSCERTFILE": "Verknüpfen Sie mit dem gültigen TLS-Zertifikat (.crt-Datei). Standardwert: '/etc/pki/tls/certs/motion.crt'.",
+ "DTLSPRIVATEKEY": "Verknüpfen Sie mit dem privaten Schlüssel des Zertifikats (.key-Datei). Standardwert: '/etc/pki/tls/private/motion.key'.",
"SAVE_PERMISSIONS": "Jeder Abschnitt, der ausstehende Ãnderungen enthält, wird gespeichert",
- "CUSTOM_DASHBOARDS_PERMISSIONS": "Berechtigungen für benutzerdefinierte Dashboards werden im Werkzeuge-Modul verwaltet",
+ "CUSTOM_DASHBOARDS_PERMISSIONS": "Berechtigungen für benutzerdefinierte Dashboards werden im Modul Tools verwaltet",
"APIKEY": "Verwenden Sie die Schaltfläche \"API-Schlüsselmanager\" in der Symbolleiste, um diesen Schlüssel zu verwalten",
- "ENABLEAUTOMATICSCREENRECORDING": "Funktionalität ist nur für Sprachkanäle verfügbar",
- "BLOCKED": "Zugriff auf System ermöglichen/sperren",
- "DISABLED": "Nutzer Aktivieren/Deaktivieren",
- "WHATSAPPCAPACITY": "Maximale Anzahl an gleichzeitigen WhatsApp-Interaktionen pro Agent. 0 für unbegrenzt",
+ "ENABLEAUTOMATICSCREENRECORDING": "Die Funktionalität ist nur für Sprachkanäle verfügbar",
+ "BLOCKED": "Zugriff sperren / entsperren",
+ "DISABLED": "Zum Deaktivieren auswählen / Zum Reaktivieren deaktivieren",
+ "WHATSAPPCAPACITY": "Maximale Anzahl gleichzeitiger Kanalinteraktionen pro Agent (0 = unbegrenzt)",
"MASK_SENSITIVE_DATA": "Maskieren Sie vertrauliche Daten in der gesamten Anwendung (z. B. Telefonnummern und E-Mail-Adressen).",
"WSS_PORT": "Standard: 8089",
"AD_SSO_ENABLED": "Melden Sie sich mit Ihren Active Directory-Anmeldeinformationen an"
},
- "NEW_PASSWORD": "Neues Passwort",
+ "NEW_PASSWORD": "Neues Kennwort",
"CONFIRM_PASSWORD": "Passwort bestätigen",
"CHANGE_PASSWORD": "Passwort ändern",
- "CHANGEPASSWORD_AGENT": "Passwort für Agenten ändern",
- "CHANGEPASSWORD_USER": "Passwort für Nutzer ändern",
- "CHANGEPASSWORD_TELEPHONE": "Passwort für Endgerät ändern",
- "LOGININPAUSE": "Pause nach Anmelden",
+ "CHANGEPASSWORD_AGENT": "Passwort ändern",
+ "CHANGEPASSWORD_USER": "Passwort ändern",
+ "CHANGEPASSWORD_TELEPHONE": "Passwort ändern",
+ "LOGININPAUSE": "Geben Sie Ihren Benutzernamen und Ihr Passwort In der Pause",
"HOST": "Host",
"NAT": "NAT",
- "CHANSPY": "Mithören zulassen",
- "OTHER_CHANNELS": "Parallele Kanäle",
- "CHATCAPACITY": "Kapazität Chat",
- "MAILCAPACITY": "Kapazität E-Mail",
- "FAXCAPACITY": "Kapazität Fax",
- "SMSCAPACITY": "Kapazität SMS",
- "OPENCHANNELCAPACITY": "Kapazität offener Kanal",
+ "CHANSPY": "ChanSpy",
+ "OTHER_CHANNELS": "Andere Kanäle",
+ "CHATCAPACITY": "Chat Kapazität",
+ "MAILCAPACITY": "E-Kapazität",
+ "FAXCAPACITY": "Fax Kapazität",
+ "SMSCAPACITY": "Sms-Kapazität",
+ "OPENCHANNELCAPACITY": "Offener Kanal Kapazität",
"MOTIONBAR": "Motion Bar",
"SETTINGS": "Einstellungen",
- "AUTOANSWER": "Anruf automatisch annehmen",
- "ENABLESETTINGS": "Darf Einstellungen sehen",
+ "AUTOANSWER": "\"Autom. Antwort\"",
+ "ENABLESETTINGS": "Einstellungen aktivieren",
"CALL_FORWARDING": "Anrufweiterleitung",
- "UNCONDITIONAL": "Generelle Anrufweiterleitung",
- "UNCONDITIONALNUMBER": "Nummer für generelle Weiterleitung",
- "NOREPLY": "Bei keiner Antwort",
- "NOREPLYNUMBER": "Nummer Weiterleitung keine Antwort",
- "BUSY": "Bei Besetzt",
- "BUSYNUMBER": "Nummer Weiterleitung Besetzt",
- "REMOTE_CONTROL": "Externe Steuerung (z.B. für Click2Dial)",
- "REMOTECONTROL": "Externe Steuerung erlauben",
- "REMOTECONTROLPORT": "Port für externe Steuerung (Standard: 9888)",
+ "UNCONDITIONAL": "Unbedingte",
+ "UNCONDITIONALNUMBER": "Uneingeschränkte Anzahl",
+ "NOREPLY": "Keine Antwort",
+ "NOREPLYNUMBER": "\"Keine Antwort\"-Nummer",
+ "BUSY": "Besetzt",
+ "BUSYNUMBER": "Nummer besetzt",
+ "REMOTE_CONTROL": "Fernbedienung",
+ "REMOTECONTROL": "Fernbedienung",
+ "REMOTECONTROLPORT": "Fernbedienung",
"SIP": "SIP",
- "SIPEXPIRES": "SIP-Aktualisierungsintervall",
+ "SIPEXPIRES": "SIP läuft [sec]",
"SIPPORT": "SIP-Port",
- "PENALTY": "Verzögerung",
- "ACCOUNTNAME": "Kontoname",
- "ADD_TELEPHONE": "Endgerät hinzufügen",
- "EDIT_TELEPHONE": "Endgerät bearbeiten",
- "DELETE_TELEPHONE": "Endgerät löschen",
+ "PENALTY": "Strafe",
+ "ACCOUNTNAME": "Account Name",
+ "ADD_TELEPHONE": "Telefon hinzufügen",
+ "EDIT_TELEPHONE": "Telefon bearbeiten",
+ "DELETE_TELEPHONE": "Telefon löschen",
"TEAMS": "Teams",
"DELETE_TEAM": "Team löschen",
- "AGENTADD_TEAM": "Agenten zu einem Team hinzufügen",
- "EDIT_TEAM": "Team bearbeiten",
+ "AGENTADD_TEAM": "Hinzufügen von Agenten zu einer Gruppe",
+ "EDIT_TEAM": "Team bearbeiten.",
"TYPE": "Typ",
- "TELEPHONES": "Endgeräte",
- "CALLERID": "Standard angezeigte Nummer (Caller-ID)",
- "ENABLERECORDING": "Darf Aufzeichnung starten/stoppen",
+ "TELEPHONES": "Telefone",
+ "CALLERID": "Die Anrufer-ID",
+ "ENABLERECORDING": "Aktivieren der Aufzeichnung",
"STAFF": "Personal",
- "ID": "ID",
+ "ID": "Id",
"NEW_USER": "Neuer Benutzer",
"NEW_AGENT": "Neuer Agent",
"NEW_TELEPHONE": "Neues Telefon",
"NEW_TEAM": "Neues Team",
"ADD_TEAM": "Team hinzufügen",
- "JOIN_QUEUE": "In Warteschlange beitreten",
- "CAPACITY": "Gleichzeitige Bearbeitung der Kommunikationskanäle",
+ "JOIN_QUEUE": "Melden Sie Warteschlange",
+ "CAPACITY": "Kapazität",
"AUTOINTERNAL": "Interne Nummer automatisch generieren",
- "ADD_AGENT_TO_TEAM": "Agenten zum Team hinzufügen",
- "TEAMADD_AGENT": "Zum Team hinzufügen",
- "NO_AVAILABLE_INFO": "Keine Informationen verfügbar",
+ "ADD_AGENT_TO_TEAM": "Hinzufügen von Agenten zu einer Gruppe",
+ "TEAMADD_AGENT": "Agent zu Gruppe hinzufügen",
+ "NO_AVAILABLE_INFO": "Keine verfügbaren Info",
"PERMISSIONS": "Berechtigungen",
- "ADD_AGENT_TO_QUEUE": "Agenten zur Warteschlange hinzufügen",
+ "ADD_AGENT_TO_QUEUE": "Agent zur Warteschlange hinzufügen",
"ALL_MODULES_AVAILABLE": "Alle Module verfügbar",
- "CALLGROUP": "Anrufgruppe",
- "PICKUPGROUP": "Pick-Up Gruppe",
+ "CALLGROUP": "Gruppenruf",
+ "PICKUPGROUP": "Ãbernahmegruppe",
"ADD_AGENT_TO_QUEUE_CAMPAIGNS": "Agenten hinzufügen - ausgehende Anrufe",
"ADD_AGENT_TO_VOICE_QUEUES": "Agenten hinzufügen - eingehende Anrufe",
"ADD_AGENT_TO_CHAT_QUEUES": "Agenten hinzufügen - Chat-Warteschlangen",
@@ -190,13 +190,13 @@
"ADD_AGENT_TO_SMS_QUEUES": "Agenten hinzufügen - SMS-Warteschlangen",
"ADD_AGENT_TO_OPENCHANNEL_QUEUES": "Agenten hinzufügen - offener Kanal-Warteschlangen",
"ADD_AGENT_TO_FAX_QUEUES": "Agenten hinzufügen - Fax-Warteschlangen",
- "QUEUEADD_USER_VOICE_INBOUND": "Nutzer hinzufügen - eingehende Anrufe",
- "QUEUEADD_USER_CHAT_INBOUND": "Nutzer hinzufügen - eingehende Chats",
- "QUEUEADD_USER_MAIL_INBOUND": "Nutzer hinzufügen - eingehende E-Mails",
- "QUEUEADD_USER_SMS_INBOUND": "Nutzer hinzufügen - eingehende SMS",
- "QUEUEADD_USER_OPENCHANNEL_INBOUND": "Nutzer hinzufügen - eingehender offener Kanal",
- "QUEUEADD_USER_FAX_INBOUND": "Nutzer hinzufügen - eingehende Faxe",
- "ALL_TEAMS": "Alle Teams",
+ "QUEUEADD_USER_VOICE_INBOUND": "Benutzer stimme Warteschlangen hinzufügen",
+ "QUEUEADD_USER_CHAT_INBOUND": "Benutzer zu chatten Warteschlangen hinzufügen",
+ "QUEUEADD_USER_MAIL_INBOUND": "Benutzer Mail Warteschlangen hinzufügen",
+ "QUEUEADD_USER_SMS_INBOUND": "Benutzer von SMS-Warteschlangen hinzufügen",
+ "QUEUEADD_USER_OPENCHANNEL_INBOUND": "Benutzer zum offenen Kanal Warteschlangen hinzufügen",
+ "QUEUEADD_USER_FAX_INBOUND": "Benutzer fax Warteschlangen hinzufügen",
+ "ALL_TEAMS": "Alle Mannschaften",
"SELECTED_TEAMS": "Ausgewählte Teams",
"SELECTED_AGENTS": "Ausgewählte Agenten",
"ALL_QUEUE_CAMPAIGNS": "Alle Warteschlangen - ausgehende Anrufe",
@@ -214,52 +214,52 @@
"ALL_FAX_QUEUES": "Alle Warteschlangen - Fax",
"SELECTED_FAX_QUEUES": "Ausgewählte Warteschlangen - Fax",
"VOICEMAIL": "Voicemail",
- "SHOWWEBCONTROL": "Verbindungstyp",
+ "SHOWWEBCONTROL": "Anzeigen Web Control",
"PAGE": "Seite",
"ROWSPERPAGE": "Zeilen pro Seite",
- "OF": "von",
+ "OF": "Von",
"CALLFORWARDING": "Anrufweiterleitung",
- "DND": "Darf \"Nicht Stören\" Status setzen",
- "UNANSWEREDCALLBADGE": "Unbeantwortete Anrufe im Icon anzeigen",
- "ENABLEDTMFTONE": "Darf DTMF-Töne senden",
- "AUTOANSWERDELAY": "Automatische Antwort nach",
+ "DND": "Während der Pause nicht stören",
+ "UNANSWEREDCALLBADGE": "Zeige unbeantwortete Anruf Abzeichen",
+ "ENABLEDTMFTONE": "Dtmf-Töne aktivieren",
+ "AUTOANSWERDELAY": "Auto Antwortverzögerung",
"ENCRYPTION": "Verschlüsselung",
"CHANNELS": "Kanäle",
"CHAT": "Chat",
- "SMS": "SMS",
+ "SMS": "Sms",
"OPENCHANNEL": "Offener Kanal",
"FAX": "Fax",
- "QUEUEADD_USER_VOICE_OUTBOUND": "Nutzer zu ausgehender Warteschlange hinzufügen",
- "MONITOREXTENSION": "Nebenstelle des Nutzers aufzeichnen",
+ "QUEUEADD_USER_VOICE_OUTBOUND": "Benutzer in Warteschlange Kampagnen hinzufügen",
+ "MONITOREXTENSION": "Anrufe an die Nebenstelle des Benutzers aufzeichnen",
"NO_PASSWORD_CHANGE": "Keine Passwortänderung",
"SECURITY_SUITE": "Sicherheitssuite",
- "LAST_PASSWORD_RESET_AT": "Passwort zuletzt zurückgesetzt am:",
- "SIP_WEBRTC": "SIP/WebRTC",
- "SETTINGS_WEBRTC": "Einstellungen",
+ "LAST_PASSWORD_RESET_AT": "Letzte Passwort zurücksetzen um",
+ "SIP_WEBRTC": "Schluck",
+ "SETTINGS_WEBRTC": "die Einstellungen",
"WEBRTC": "WebRTC",
"DTLSCERTFILE": "TLS-Zertifikat",
- "DTLSPRIVATEKEY": "Privater Schlüssel des TLS-Zertifikats",
- "EDITPERMISSIONS": "Berechtigungen verwalten",
- "READANDEDIT": "Lesen und Bearbeiten",
- "READANDEDITANDDELETE": "Lesen, Bearbeiten und Löschen",
- "GENERAL_PERMISSIONS": "Allgemein",
- "ENABLEMESSENGER": "Internen Messenger aktivieren",
- "OUTBOUNDPROXY": "Outbound-Proxy",
+ "DTLSPRIVATEKEY": "Der private Schlüssel des TLS-Zertifikats",
+ "EDITPERMISSIONS": "Bearbeiten von Berechtigungen",
+ "READANDEDIT": "Lesen, Bearbeiten",
+ "READANDEDITANDDELETE": "Lesen, Bearbeiten, Löschen",
+ "GENERAL_PERMISSIONS": "Allgemeines",
+ "ENABLEMESSENGER": "Aktivieren Sie den internen Messenger",
+ "OUTBOUNDPROXY": "Oubound-Proxy",
"PHONE": "Telefon",
"MOBILE": "Handy, Mobiltelefon",
"ALIAS": "Alias",
"ENABLEJAWSINTEGRATION": "Jaws-Integration aktivieren",
"PREFIXREQUIRED": "Präfix erforderlich",
- "ENABLEVIDEORECORDING": "Videoaufzeichnung aktivieren",
+ "ENABLEVIDEORECORDING": "Aktiviere Videoaufnahme",
"OLD_PASSWORD": "Altes Passwort",
"ALL_CHATQUEUES": "Alle Chat-Warteschlangen",
- "ALL_CHATWEBSITES": "Alle Chat-Webseiten",
- "ALL_FAXACCOUNTS": "Alle Fax-Konten",
- "ALL_FAXQUEUES": "Alle Fax-Warteschlangen",
+ "ALL_CHATWEBSITES": "Alle Chat-Websites",
+ "ALL_FAXACCOUNTS": "Alle Faxkonten",
+ "ALL_FAXQUEUES": "Alle Faxwarteschlangen",
"ALL_MAILACCOUNTS": "Alle E-Mail-Konten",
"ALL_MAILQUEUES": "Alle E-Mail-Warteschlangen",
- "ALL_OPENCHANNELACCOUNTS": "Alle offener Kanal-Konten",
- "ALL_OPENCHANNELQUEUES": "Alle offener Kanal-Warteschlangen",
+ "ALL_OPENCHANNELACCOUNTS": "Alle offenen Channel-Konten",
+ "ALL_OPENCHANNELQUEUES": "Alle offenen Kanalwarteschlangen",
"ALL_PROJECTS": "Alle Cally Square-Projekte",
"ALL_QUEUECAMPAIGNS": "Alle Queue-Kampagnen",
"ALL_SMSACCOUNTS": "Alle SMS-Konten",
@@ -268,33 +268,33 @@
"MANAGE_PERMISSIONS": "Berechtigungen verwalten",
"SELECTED_CHATQUEUES": "Ausgewählte E-Mail-Warteschlangen",
"SELECTED_CHATWEBSITES": "Ausgewählte Chat-Websites",
- "SELECTED_FAXACCOUNTS": "Ausgewählte Fax-Konten",
- "SELECTED_FAXQUEUES": "Ausgewählte Fax-Warteschlangen",
+ "SELECTED_FAXACCOUNTS": "Ausgewählte Faxkonten",
+ "SELECTED_FAXQUEUES": "Ausgewählte Faxwarteschlangen",
"SELECTED_MAILACCOUNTS": "Ausgewählte E-Mail-Konten",
"SELECTED_MAILQUEUES": "Ausgewählte Chat-Warteschlangen",
- "SELECTED_OPENCHANNELACCOUNTS": "Ausgewählte offener Kanal-Konten",
- "SELECTED_OPENCHANNELQUEUES": "Ausgewählte offene Kanal-Warteschlangen",
+ "SELECTED_OPENCHANNELACCOUNTS": "Ausgewählte offene Channel-Konten",
+ "SELECTED_OPENCHANNELQUEUES": "Ausgewählte offene Kanalwarteschlangen",
"SELECTED_PROJECTS": "Ausgewählte Projekte von Cally Square",
"SELECTED_QUEUECAMPAIGNS": "Ausgewählte Queue-Kampagnen",
"SELECTED_SMSACCOUNTS": "Ausgewählte SMS-Konten",
"SELECTED_SMSQUEUES": "Ausgewählte SMS-Warteschlangen",
- "SELECTED_VOICEQUEUES": "Ausgewählte Anruf-Warteschlangen",
+ "SELECTED_VOICEQUEUES": "Ausgewählte Sprachwarteschlangen",
"USERADD_CHATQUEUES": "Chat-Warteschlange zum Benutzer hinzufügen",
"USERADD_CHATWEBSITES": "Chat-Website zum Benutzer hinzufügen",
"USERADD_FAXACCOUNTS": "Faxkonto zum Benutzer hinzufügen",
- "USERADD_FAXQUEUES": "Fax-Warteschlange zum Benutzer hinzufügen",
+ "USERADD_FAXQUEUES": "Faxwarteschlange zum Benutzer hinzufügen",
"USERADD_MAILACCOUNTS": "E-Mail-Konto zum Benutzer hinzufügen",
"USERADD_MAILQUEUES": "E-Mail-Warteschlange zum Benutzer hinzufügen",
- "USERADD_OPENCHANNELACCOUNTS": "Offener Kanal-Konto zum Benutzer hinzufügen",
- "USERADD_OPENCHANNELQUEUES": "Offener Kanal-Warteschlange zum Benutzer hinzufügen",
+ "USERADD_OPENCHANNELACCOUNTS": "Open Channel-Konto zum Benutzer hinzufügen",
+ "USERADD_OPENCHANNELQUEUES": "Open Channel-Warteschlange zum Benutzer hinzufügen",
"USERADD_PROJECTS": "Cally Square-Projekt zum Benutzer hinzufügen",
"USERADD_QUEUECAMPAIGNS": "Queue-Kampagne zum Benutzer hinzufügen",
"USERADD_SMSACCOUNTS": "SMS-Konto zum Benutzer hinzufügen",
"USERADD_SMSQUEUES": "SMS-Warteschlange zum Benutzer hinzufügen",
- "USERADD_VOICEQUEUES": "Anruf-Warteschlange zum Benutzer hinzufügen",
- "HOTDESK": "Wechselnder Arbeitsplatz",
+ "USERADD_VOICEQUEUES": "Sprachwarteschlange zum Benutzer hinzufügen",
+ "HOTDESK": "HeiÃer Schreibtisch",
"ADD_USERPROFILE": "Benutzerprofil hinzufügen",
- "CANCEL": "Abbrechen",
+ "CANCEL": "Stornieren",
"CLONE_USERPROFILE": "Benutzerprofil klonen",
"CLOSE": "SchlieÃen",
"CONFIRM": "Bestätigen",
@@ -308,38 +308,38 @@
"PERMISSIONS_ALL_RESOURCES": "Alle Ressourcen",
"PERMISSIONS_AUTO_ASSOCIATION_INFO": "Ordnen Sie dem Benutzerprofil automatisch alle aktuellen und zukünftigen Ressourcen dieses Abschnitts zu",
"PERMISSIONS_MANAGE": "Verwalten",
- "PERMISSIONS_PLACEHOLDER_SEARCH": "Suche",
+ "PERMISSIONS_PLACEHOLDER_SEARCH": "Suche...",
"PERMISSIONS_SECTION_HIDE": "Abschnitt für den Benutzer ausblenden",
"PERMISSIONS_SECTION_SHOW": "Abschnitt dem Benutzer anzeigen",
"PERMISSIONS_SECTION_TITLE": "{{sectionName}} Berechtigungen",
"PERMISSIONS_SELECTED_RESOURCES": "Ausgewählte Ressourcen",
- "PERMISSIONS_SELECT_REPORT_TYPE": "Berichtstyp wählen",
- "PERMISSIONS_SELECT_SECTION": "Abschnitt auswählen",
- "PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE": "Kein Zugriff auf den ausgewählten Bereich",
+ "PERMISSIONS_SELECT_REPORT_TYPE": "Wählen Sie den Berichtstyp",
+ "PERMISSIONS_SELECT_SECTION": "Wählen Sie einen Abschnitt aus",
+ "PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE": "Sie dürfen nicht auf den ausgewählten Bereich zugreifen",
"PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE": "Unbefugte Handlung",
- "PERMISSIONS_WARNING_CLOSE": "Es wurden Ãnderungen nicht gespeichert. Fortfahren?",
+ "PERMISSIONS_WARNING_CLOSE": "Du hast nicht gespeicherte Ãnderungen. Möchten Sie den Vorgang wirklich ohne Speichern beenden?",
"PERMISSIONS_WARNING_ENABLE_ALL": "Alle {{sectionName}} Unterabschnitte und ihre Ressourcen werden aktiviert. Sind Sie sicher, dass Sie fortfahren möchten?",
- "QUEUES_ASSOCIATION": "{{channel}} Warteschlangen-Zuweisung",
+ "QUEUES_ASSOCIATION": "{{channel}} Queues Association",
"READ_PERMISSION": "Lesen",
"REPORT_TYPE": "Berichtstyp",
"SECTIONS": "Abschnitte",
"SUMMARY": "Zusammenfassung",
- "TEAMS_ASSOCIATION": "Teamzuweisung",
+ "TEAMS_ASSOCIATION": "Vereinigung der Mannschaften",
"USERPROFILE": "Benutzerprofil",
- "USERPROFILES": "Benutzerprofile",
- "PERMISSIONS_UNAUTHORIZED_CREATION_MESSAGE": "Keine Berechtigung zum Erstellen der Ressource",
- "VIDEOSUPPORT": "Videounterstützung aktivieren",
+ "USERPROFILES": "Benutzerprofil",
+ "PERMISSIONS_UNAUTHORIZED_CREATION_MESSAGE": "Sie dürfen die Ressource nicht erstellen",
+ "VIDEOSUPPORT": "Video-Unterstützung",
"APIKEY": "API-Schlüssel",
- "APIKEYMANAGER_USER": "API-Schlüsselverwaltung",
- "GENERATE": "Erneut generieren",
+ "APIKEYMANAGER_USER": "API Key Manager",
+ "GENERATE": "(Regenerieren",
"MANAGE_API_KEY": "API-Schlüsselmanager",
- "REMOVE": "Entfernen",
- "ENABLEAUTOMATICSCREENRECORDING": "Automatische Bildschirmaufzeichnung aktivieren",
- "ENABLESCREENRECORDINGBYAGENT": "Bildschirmaufzeichnung durch Agenten aktivieren",
- "ENABLEVIDEOECORDING": "Videoaufzeichnung aktivieren",
+ "REMOVE": "Löschen",
+ "ENABLEAUTOMATICSCREENRECORDING": "Aktivieren Sie die automatische Bildschirmaufnahme",
+ "ENABLESCREENRECORDINGBYAGENT": "Aktivieren Sie die Bildschirmaufzeichnung nach Agent",
+ "ENABLEVIDEOECORDING": "Videoaufnahme aktivieren",
"BLOCKED": "Gesperrt",
"DISABLED": "Deaktiviert",
- "REGENERATE": "Erneut generieren",
+ "REGENERATE": "Regenerieren",
"ALL_WHATSAPP_QUEUES": "Alle WhatsApp-Warteschlangen",
"ALL_WHATSAPPACCOUNTS": "Alle WhatsApp-Konten",
"ALL_WHATSAPPQUEUES": "Alle Whataspp-Warteschlangen",
@@ -349,45 +349,45 @@
"SELECTED_WHATSAPPACCOUNTS": "Ausgewählte WhatsApp-Konten",
"SELECTED_WHATSAPPQUEUES": "Ausgewählte WhatsApp-Warteschlangen",
"USERADD_WHATSAPPACCOUNTS": "WhatsApp-Konto zum Benutzer hinzufügen",
- "USERADD_WHATSAPPQUEUES": "Whataspp-Warteschlange dem Benutzer hinzufügen",
+ "USERADD_WHATSAPPQUEUES": "Fügen Sie dem Benutzer die Whataspp-Warteschlange hinzu",
"WHATSAPP": "WhatsApp Connector",
- "WHATSAPPCAPACITY": "Kapazität Whatsapp",
- "MASK_SENSITIVE_DATA": "Pers. Kundendaten verbergen",
+ "WHATSAPPCAPACITY": "WhatsApp Connector-Kapazität",
+ "MASK_SENSITIVE_DATA": "Sensitive Daten maskieren",
"WSS_PORT": "WSS-Port",
- "ATTACHMENTS": "Darf Anhänge herunterladen",
- "CALLYSQUARE_RECORDINGS": "Darf Aufzeichnungen aus dem CallFlow herunterladen",
- "CONTACT_MANAGER_LISTS": "Darf Listen aus dem Kontaktmanager herunterladen",
+ "ATTACHMENTS": "Anhänge",
+ "CALLYSQUARE_RECORDINGS": "Cally Square-Aufnahmen",
+ "CONTACT_MANAGER_LISTS": "Kontaktmanagerlisten",
"DOWNLOADS": "Downloads",
"DOWNLOAD_PERMISSIONS": "Download-Berechtigungen",
- "JSCRIPTY_SESSIONS": "Darf Jscripty-Sitzungen herunterladen",
- "OMNICHANNEL_INTERACTIONS": "Darf alle Kanalübergreifenden Interaktionen herunterladen",
- "SCREEN_RECORDINGS": "Darf Bildschirmaufzeichnungen herunterladen",
- "VOICE_RECORDINGS": "Darf Sprachaufzeichnungen herunterladen",
+ "JSCRIPTY_SESSIONS": "Jscripty-Sitzungen",
+ "OMNICHANNEL_INTERACTIONS": "Omnichannel-Interaktionen",
+ "SCREEN_RECORDINGS": "Bildschirmaufnahmen",
+ "VOICE_RECORDINGS": "Sprachaufnahmen",
"IGNORE_AGENT_BREAK_STATUS_FOR_PREVIEW_CALLS": "Darf Outbound-Preview auch während Pause durchführen",
"SELECT_RECALLME_CAMPAIGN": "Darf Auswahl für Outbound-Kampagne treffen",
- "QUEUEADD_AGENT_VOICE_OUTBOUND": "Agenten hinzufügen - ausgehende Anrufe",
- "QUEUEADD_AGENT_VOICE_INBOUND": "Agenten hinzufügen - eingehende Anrufe",
- "QUEUEADD_AGENT_CHAT_INBOUND": "Agenten hinzufügen - Chat-Warteschlangen",
- "QUEUEADD_AGENT_MAIL_INBOUND": "Agenten hinzufügen - E-Mail-Warteschlangen",
- "QUEUEADD_AGENT_SMS_INBOUND": "Agenten hinzufügen - SMS-Warteschlangen",
- "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Agenten hinzufügen - offener Kanal-Warteschlangen",
- "QUEUEADD_AGENT_FAX_INBOUND": "Agenten hinzufügen - Fax-Warteschlangen",
- "ALL_QUEUES_VOICE_OUTBOUND": "Alle Warteschlangen - ausgehende Anrufe",
- "SELECTED_QUEUES_VOICE_OUTBOUND": "Gewählte Warteschlangen - ausgehende Anrufe",
- "ALL_QUEUES_VOICE_INBOUND": "Alle Warteschlangen - eingehende Anrufe",
- "SELECTED_QUEUES_VOICE_INBOUND": "Ausgewählte Warteschlangen - eingehende Anrufe",
- "ALL_QUEUES_CHAT_INBOUND": "Alle Warteschlangen - Chat",
- "SELECTED_QUEUES_CHAT_INBOUND": "Ausgewählte Warteschlangen - Chat",
- "ALL_QUEUES_MAIL_INBOUND": "Alle Warteschlangen - E-Mail",
- "SELECTED_QUEUES_MAIL_INBOUND": "Ausgewählte Warteschlangen - E-Mail",
- "ALL_QUEUES_SMS_INBOUND": "Alle Warteschlangen - SMS",
- "SELECTED_QUEUES_SMS_INBOUND": "Ausgewählte Warteschlangen - SMS",
- "ALL_QUEUES_OPENCHANNEL_INBOUND": "Alle Warteschlangen - offener Kanal",
- "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Ausgewählte Warteschlangen - offener Kanal",
- "ALL_QUEUES_FAX_INBOUND": "Alle Warteschlangen - Fax",
- "SELECTED_QUEUES_FAX_INBOUND": "Ausgewählte Warteschlangen - Fax",
+ "QUEUEADD_AGENT_VOICE_OUTBOUND": "Agent in der Warteschlange Kampagnen hinzufügen",
+ "QUEUEADD_AGENT_VOICE_INBOUND": "Agent Voice Warteschlangen hinzufügen",
+ "QUEUEADD_AGENT_CHAT_INBOUND": "Agent zu chatten Warteschlangen hinzufügen",
+ "QUEUEADD_AGENT_MAIL_INBOUND": "Agent Mail Warteschlangen hinzufügen",
+ "QUEUEADD_AGENT_SMS_INBOUND": "Agent sms-Warteschlangen hinzufügen",
+ "QUEUEADD_AGENT_OPENCHANNEL_INBOUND": "Agent zu offenen Kanal Warteschlangen hinzufügen",
+ "QUEUEADD_AGENT_FAX_INBOUND": "Agent fax Warteschlangen hinzufügen",
+ "ALL_QUEUES_VOICE_OUTBOUND": "Alle Queue Kampagnen",
+ "SELECTED_QUEUES_VOICE_OUTBOUND": "Ausgewählte Warteschlange Kampagnen",
+ "ALL_QUEUES_VOICE_INBOUND": "Alle Warteschlangen",
+ "SELECTED_QUEUES_VOICE_INBOUND": "Ausgewählte Voice Warteschlangen",
+ "ALL_QUEUES_CHAT_INBOUND": "Alle Chat Warteschlangen",
+ "SELECTED_QUEUES_CHAT_INBOUND": "Ausgewählte Chat-warteschlangen",
+ "ALL_QUEUES_MAIL_INBOUND": "Alle E-Mail-Warteschlangen",
+ "SELECTED_QUEUES_MAIL_INBOUND": "Ausgewählte Mail Warteschlangen",
+ "ALL_QUEUES_SMS_INBOUND": "Alle SMS-Warteschlangen",
+ "SELECTED_QUEUES_SMS_INBOUND": "Ausgewählte SMS-Warteschlangen",
+ "ALL_QUEUES_OPENCHANNEL_INBOUND": "Alle offenen Kanal Warteschlangen",
+ "SELECTED_QUEUES_OPENCHANNEL_INBOUND": "Ausgewählten Offenen Kanal Warteschlangen",
+ "ALL_QUEUES_FAX_INBOUND": "Alle Fax Warteschlangen",
+ "SELECTED_QUEUES_FAX_INBOUND": "Ausgewählte Fax Warteschlangen",
"ALL_QUEUES_WHATSAPP_INBOUND": "Alle WhatsApp-Warteschlangen",
- "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Agenten zu WhatsApp-Warteschlangen hinzufügen",
+ "QUEUEADD_AGENT_WHATSAPP_INBOUND": "Agent zu WhatsApp-Warteschlangen hinzufügen",
"SELECTED_QUEUES_WHATSAPP_INBOUND": "Ausgewählte WhatsApp-Warteschlangen",
"AD_SSO_ENABLED": "Active Directory-SSO",
"AUTHENTICATION": "Authentifizierung",
diff --git a/public/app/main/apps/staff/i18n/pt-BR.json b/public/app/main/apps/staff/i18n/pt-BR.json
index 31c8d9c..7bfe301 100644
--- a/public/app/main/apps/staff/i18n/pt-BR.json
+++ b/public/app/main/apps/staff/i18n/pt-BR.json
@@ -2,11 +2,11 @@
"STAFF": {
"HOTDESK": "Hot desk",
"ENABLEVIDEORECORDING": "Ativar gravação de vÃdeo",
- "OLD_PASSWORD": "Senha Antiga",
- "ENABLEJAWSINTEGRATION": "Ativar Integração de Jaws",
+ "OLD_PASSWORD": "Senha antiga",
+ "ENABLEJAWSINTEGRATION": "Ativar integração de Jaws",
"ALIAS": "Alias",
"NO_PASSWORD_CHANGE": "Nenhuma mudança de senha",
- "SECURITY_SUITE": "SuÃte de Segurança",
+ "SECURITY_SUITE": "SuÃte de segurança",
"LAST_PASSWORD_RESET_AT": "Ãltima redefinição de senha em",
"SIP_WEBRTC": "Sip",
"SETTINGS_WEBRTC": "Definições",
@@ -20,7 +20,7 @@
"TOGGLE_SIDENAV": "Toggle sidenav",
"SEARCH_FOR_ANYONE": "Procurar",
"BACK": "Voltar",
- "MULTI_SELECT_TOGGLE": "multi select toggle",
+ "MULTI_SELECT_TOGGLE": "Multi select toggle",
"SELECT_ALL": "Selecionar tudo",
"SELECT_NONE": "Selecione nenhum",
"SELECTED": "Selecionado",
@@ -28,20 +28,20 @@
"EXPORT_SELECTED": "Exportar selecionado",
"ALL_USERS": "Todos os usuários",
"ALL_AGENTS": "Todos os agentes",
- "SORT": "ordenar",
+ "SORT": "Ordenar",
"NAME": "Nome",
- "FULLNAME": "Nome Completo",
+ "FULLNAME": "Nome completo",
"A_TO_Z": "(A a Z)",
"Z_TO_A": "(Z a A)",
"MORE": "Mais",
- "DELETE_USER": "Excluir Usuário",
- "EDIT_USER": "Editar Usuário",
- "DELETE_AGENT": "Excluir Agente",
- "EDIT_AGENT": "Editar Agente",
+ "DELETE_USER": "Excluir usuário",
+ "EDIT_USER": "Editar usuário",
+ "DELETE_AGENT": "Excluir agente",
+ "EDIT_AGENT": "Editar agente",
"DELETE": "Excluir",
"SAVE": "Salvar",
- "ADD_USER": "Adicionar Usuário",
- "ADD_AGENT": "Adicionar Agente",
+ "ADD_USER": "Adicionar usuário",
+ "ADD_AGENT": "Adicionar agente",
"NO_RESULTS": "Nenhum resultado ..",
"CLOSE_DIALOG": "Fechar a caixa de diálogo",
"NAME_REQUIRED": "Nome (obrigatório)",
@@ -146,50 +146,50 @@
"CHATCAPACITY": "Capacidade do Chat",
"MAILCAPACITY": "Capacidade de Email",
"FAXCAPACITY": "Capacidade do Fax",
- "SMSCAPACITY": "Capacidade do Sms",
- "OPENCHANNELCAPACITY": "Capacidade do Open Channel",
+ "SMSCAPACITY": "Capacidade do SMS",
+ "OPENCHANNELCAPACITY": "Capacidade do OpenChannel",
"MOTIONBAR": "Motion Bar",
"SETTINGS": "Definições",
"AUTOANSWER": "Resposta automática",
- "ENABLESETTINGS": "Habilitar Definições",
- "CALL_FORWARDING": "Encaminhamento de Chamadas",
+ "ENABLESETTINGS": "Habilitar configurações",
+ "CALL_FORWARDING": "Encaminhamento de chamadas",
"UNCONDITIONAL": "Incondicional",
- "UNCONDITIONALNUMBER": "Número Incondicional",
+ "UNCONDITIONALNUMBER": "Número incondicional",
"NOREPLY": "Sem resposta",
"NOREPLYNUMBER": "Nenhum número de resposta",
"BUSY": "Ocupado",
- "BUSYNUMBER": "Número Ocupado",
+ "BUSYNUMBER": "Número ocupado",
"REMOTE_CONTROL": "Controle remoto",
"REMOTECONTROL": "Controle remoto",
- "REMOTECONTROLPORT": "Porta de Controle remoto",
+ "REMOTECONTROLPORT": "Porta de controle remoto",
"SIP": "SIP",
"SIPEXPIRES": "SIP Expira [seg]",
"SIPPORT": "Porta SIP",
"PENALTY": "Prioridade",
"ACCOUNTNAME": "Nome da conta",
- "ADD_TELEPHONE": "Adicionar Ramal",
- "EDIT_TELEPHONE": "Editar Ramal",
- "DELETE_TELEPHONE": "Excluir Ramal",
- "TEAMS": "Grupos",
- "DELETE_TEAM": "Excluir Grupo",
- "AGENTADD_TEAM": "Adicionar agentes no grupo",
- "EDIT_TEAM": "Editar Grupo",
+ "ADD_TELEPHONE": "Adicionar Ramal Adm",
+ "EDIT_TELEPHONE": "Editar Ramal Adm",
+ "DELETE_TELEPHONE": "Excluir Ramal Adm",
+ "TEAMS": "Equipes",
+ "DELETE_TEAM": "Excluir Equipe",
+ "AGENTADD_TEAM": "Adicionar agentes na equipe",
+ "EDIT_TEAM": "Editar Equipe",
"TYPE": "Tipo",
- "TELEPHONES": "Ramais",
+ "TELEPHONES": "Ramais Adm",
"CALLERID": "Identificador de chamadas",
"ENABLERECORDING": "Ativar gravação",
- "STAFF": "Equipe",
+ "STAFF": "Colaboradores",
"ID": "Id",
- "NEW_USER": "Novo Usuário",
- "NEW_AGENT": "Novo Agente",
- "NEW_TELEPHONE": "Novo Ramal",
- "NEW_TEAM": "Novo Grupo",
- "ADD_TEAM": "Adicionar Grupo",
+ "NEW_USER": "Novo usuário",
+ "NEW_AGENT": "Novo agente",
+ "NEW_TELEPHONE": "Novo ramal adm",
+ "NEW_TEAM": "Nova equipe",
+ "ADD_TEAM": "Adicionar equipe",
"JOIN_QUEUE": "Junte-se à fila",
"CAPACITY": "Capacidade",
"AUTOINTERNAL": "Auto gerar número interno",
- "ADD_AGENT_TO_TEAM": "Adicionar agente no grupo",
- "TEAMADD_AGENT": "Adicionar agente no grupo",
+ "ADD_AGENT_TO_TEAM": "Adicionar agente na equipe",
+ "TEAMADD_AGENT": "Adicionar agente na equipe",
"NO_AVAILABLE_INFO": "Nenhuma informação disponÃvel",
"PERMISSIONS": "Permissões",
"ADD_AGENT_TO_QUEUE": "Adicionar agente à fila",
@@ -209,8 +209,8 @@
"QUEUEADD_USER_SMS_INBOUND": "Adicionar usuário às filas do SMS",
"QUEUEADD_USER_OPENCHANNEL_INBOUND": "Adicionar usuário para filas do Open Channel",
"QUEUEADD_USER_FAX_INBOUND": "Adicionar usuário às filas de fax",
- "ALL_TEAMS": "Todos os grupos",
- "SELECTED_TEAMS": "Grupos Selecionados",
+ "ALL_TEAMS": "Todas as equipes",
+ "SELECTED_TEAMS": "Equipes Selecionadas",
"SELECTED_AGENTS": "Agentes Selecionados",
"ALL_QUEUE_CAMPAIGNS": "Todas as campanhas de filas",
"SELECTED_QUEUE_CAMPAIGNS": "Campanhas de Filas Selecionadas",
@@ -239,8 +239,8 @@
"ENCRYPTION": "Encriptação",
"CHANNELS": "Canais",
"CHAT": "Chat",
- "SMS": "Sms",
- "OPENCHANNEL": "Open Channel",
+ "SMS": "SMS",
+ "OPENCHANNEL": "OpenChannel",
"FAX": "Fax",
"QUEUEADD_USER_VOICE_OUTBOUND": "Adicionar usuário a campanhas de fila",
"MONITOREXTENSION": "Gravar chamadas para a extensão do usuário",
@@ -252,7 +252,7 @@
"OUTBOUNDPROXY": "Proxy de saÃda",
"PHONE": "Telefone",
"MOBILE": "Celular",
- "PREFIXREQUIRED": "Prefixo Obrigatório",
+ "PREFIXREQUIRED": "Prefixo obrigatório",
"MANAGE_PERMISSIONS": "Gerenciar Permissões",
"USERADD_VOICEQUEUES": "Adicionar fila de voz ao usuário",
"ALL_VOICEQUEUES": "Todas as filas de voz",
@@ -324,14 +324,14 @@
"REPORT_TYPE": "Tipo de relatório",
"SECTIONS": "Seções",
"SUMMARY": "Resumo",
- "TEAMS_ASSOCIATION": "Associação de grupos",
+ "TEAMS_ASSOCIATION": "Associação de equipes",
"USERPROFILE": "Perfil de usuário",
"USERPROFILES": "Perfis de usuário",
"PERMISSIONS_UNAUTHORIZED_CREATION_MESSAGE": "Você não tem permissão para criar o recurso",
"VIDEOSUPPORT": "Suporte de vÃdeo",
"APIKEY": "Chave API",
"APIKEYMANAGER_USER": "Gerenciador de chaves da API",
- "GENERATE": "(Regenerado",
+ "GENERATE": "Generate",
"MANAGE_API_KEY": "Gerenciador de chaves da API",
"REMOVE": "Remover",
"ENABLEAUTOMATICSCREENRECORDING": "Ativar gravação automática de tela",
@@ -339,7 +339,7 @@
"ENABLEVIDEOECORDING": "Ativar gravação de vÃdeo",
"BLOCKED": "Bloqueado",
"DISABLED": "Desativado",
- "REGENERATE": "Regenerado",
+ "REGENERATE": "Regenerate",
"ALL_WHATSAPP_QUEUES": "Todas as filas de WhatsApp",
"ALL_WHATSAPPACCOUNTS": "Todas as contas WhatsApp",
"ALL_WHATSAPPQUEUES": "Todas as filas Whataspp",
@@ -356,13 +356,13 @@
"WSS_PORT": "Porta WSS",
"ATTACHMENTS": "Anexos",
"CALLYSQUARE_RECORDINGS": "Gravações da Cally Square",
- "CONTACT_MANAGER_LISTS": "Listas de gerenciadores de contatos",
- "DOWNLOADS": "Transferências",
+ "CONTACT_MANAGER_LISTS": "Listas de gestão de contatos",
+ "DOWNLOADS": "Downloads",
"DOWNLOAD_PERMISSIONS": "Permissões de download",
"JSCRIPTY_SESSIONS": "Sessões Jscripty",
"OMNICHANNEL_INTERACTIONS": "Interações Omnichannel",
"SCREEN_RECORDINGS": "Gravações de tela",
- "VOICE_RECORDINGS": "Gravações de Voz",
+ "VOICE_RECORDINGS": "Gravações de voz",
"IGNORE_AGENT_BREAK_STATUS_FOR_PREVIEW_CALLS": "Ignorar o status de interrupção do agente para chamadas de visualização",
"SELECT_RECALLME_CAMPAIGN": "Selecione a campanha Recall Me",
"QUEUEADD_AGENT_VOICE_OUTBOUND": "Adicionar agente a campanhas de fila",
diff --git a/public/app/main/apps/tools/i18n/de.json b/public/app/main/apps/tools/i18n/de.json
index 4489cf0..4904d14 100644
--- a/public/app/main/apps/tools/i18n/de.json
+++ b/public/app/main/apps/tools/i18n/de.json
@@ -1,216 +1,216 @@
{
"TOOLS": {
- "BOT": "BOT",
+ "BOT": "Voicebot",
"CALL": "Anruf",
"NAME": "Name",
- "TRUNKS": "SIP-Trunks",
- "SEARCH_FOR_ANYONE": "Suche",
+ "TRUNKS": "Amtsleitungen",
+ "SEARCH_FOR_ANYONE": "Suche für Jedermann",
"ERRORS": {
- "NAME_REQUIRED": "Name erforderlich",
- "HOST_REQUIRED": "Host erforderlich",
- "DEFAULTUSER_REQUIRED": "Standardnutzer erforderlich",
- "CALLERID_REQUIRED": "CallerID erforderlich",
- "KEY_REQUIRED": "Schlüssel erforderlich",
- "CONFIRM_NOT_MATCH": "Die Passwörter stimmen nicht überein",
- "VALIDITYSTART_REQUIRED": "Startzeit erforderlich",
- "VALIDITYEND_REQUIRED": "Endzeit erforderlich",
- "MONTHDAY_REQUIRED": "Monats-Tag erforderlich",
- "HOUR_REQUIRED": "Stunde erforderlich",
- "CONTENT_REQUIRED": "Inhalt erforderlich",
- "URL_REQUIRED": "URL erfoderlich",
- "URL_MUST_VALID_URL": "Ungültiges Format URL",
- "APPLICATION_REQUIRED": "Anwendung erforderlich",
- "ARGUMENTS_REQUIRED": "Bedingungen erforderlich",
- "NAME_MUST_VALID_PATTERN": "Ungültiges Format Name",
- "POLLING_INTERVAL_REQUIRED": "Abfrageintervall erforderlich",
- "TITLE_REQUIRED": "Titel erforderlich",
- "EMAILADDRESS_REQUIRED": "E-Mail Adresse erforderlich",
- "EVENTVARIABLES_REQUIRED": "Variablen erforderlich",
- "TYPE_REQUIRED": "Typ erforderlich",
- "VALUE_REQUIRED": "Wert erforderlich",
- "ACCOUNT_REQUIRED": "Konto erforderlich",
- "FIELD_REQUIRED": "Feld erforderlich",
- "INTEGRATION_REQUIRED": "Integration erforderlich",
- "LIST_REQUIRED": "Liste erforderlich",
- "TEMPLATE_REQUIRED": "Vorlage erforderlich",
- "AUTOCREATECONTACT_REQUIRED": "Kontakterstellung erforderlich",
- "OUTBOUNDROUTE_REQUIRED": "Ausgehende Route erforderlich",
- "QUEUE_REQUIRED": "Warteschlange erforderlich",
- "TIME_RANGE_TO_REQUIRED": "Zeitintervall erforderlich",
- "WEEK_DAYS_TO_REQUIRED": "Wochentage erforderlich",
- "MONTH_DAYS_TO_REQUIRED": "Monats-Tag erforderlich",
- "MONTH_TO_REQUIRED": "Monat erforderlich",
+ "NAME_REQUIRED": "Der Name ist erforderlich",
+ "HOST_REQUIRED": "Der Host wird benötigt",
+ "DEFAULTUSER_REQUIRED": "Der Standardbenutzer ist erforderlich",
+ "CALLERID_REQUIRED": "Die Anrufer-ID ist erforderlich",
+ "KEY_REQUIRED": "Der Schlüssel ist erforderlich",
+ "CONFIRM_NOT_MATCH": "Die Kennwörter nicht übereinstimmen",
+ "VALIDITYSTART_REQUIRED": "Die Startzeit ist erforderlich",
+ "VALIDITYEND_REQUIRED": "Das Ende der Zeit ist erforderlich",
+ "MONTHDAY_REQUIRED": "Tag des Monats ist erforderlich",
+ "HOUR_REQUIRED": "Die Stunde ist erforderlich",
+ "CONTENT_REQUIRED": "Der Inhalt ist erforderlich",
+ "URL_REQUIRED": "Die URL ist erforderlich",
+ "URL_MUST_VALID_URL": "Die URL muss gültig sein",
+ "APPLICATION_REQUIRED": "Die Anwendung ist erforderlich",
+ "ARGUMENTS_REQUIRED": "Die Argumente sind erforderlich",
+ "NAME_MUST_VALID_PATTERN": "Der Name muss in einem gültigen Format geschrieben werden",
+ "POLLING_INTERVAL_REQUIRED": "Das Abfrageintervall ist erforderlich",
+ "TITLE_REQUIRED": "Der Titel ist erforderlich",
+ "EMAILADDRESS_REQUIRED": "Die E-Mail Adresse ist erforderlich",
+ "EVENTVARIABLES_REQUIRED": "Pflichtfeld",
+ "TYPE_REQUIRED": "Pflichtfeld",
+ "VALUE_REQUIRED": "Pflichtfeld",
+ "ACCOUNT_REQUIRED": "Pflichtfeld",
+ "FIELD_REQUIRED": "Pflichtfeld",
+ "INTEGRATION_REQUIRED": "Pflichtfeld",
+ "LIST_REQUIRED": "Pflichtfeld",
+ "TEMPLATE_REQUIRED": "Pflichtfeld",
+ "AUTOCREATECONTACT_REQUIRED": "Pflichtfeld",
+ "OUTBOUNDROUTE_REQUIRED": "Pflichtfeld",
+ "QUEUE_REQUIRED": "Pflichtfeld",
+ "TIME_RANGE_TO_REQUIRED": "Pflichtfeld",
+ "WEEK_DAYS_TO_REQUIRED": "Pflichtfeld",
+ "MONTH_DAYS_TO_REQUIRED": "Pflichtfeld",
+ "MONTH_TO_REQUIRED": "Pflichtfeld",
"TIME_RANGE_FROM_INVALID": "Falsches Format",
"TIME_RANGE_TO_INVALID": "Falsches Format",
"CHANNEL_REQUIRED": "Pflichtfeld",
- "ACTION_REQUIRED": "Aktion erforderlich",
- "CONFIGURATION_REQUIRED": "Konfiguration erforderlich",
- "PROJECT_REQUIRED": "Projekt erforderlich",
- "LOCATION_REQUIRED": "Standort erforderlich",
- "FONTSIZE_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wert muss kleiner oder gleich sein als",
- "FONTSIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
- "FONTSIZE_REQUIRED": "SchriftgröÃe erforderlich",
- "PATH_REQUIRED": "Pfad erforderlich",
- "FORMAT_REQUIRED": "Format erforderlich",
- "REPORT_REQUIRED": "Report erforderlich",
- "REFRESH_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
- "REFRESH_REQUIRED": "Aktualisierungsintervall erforderlich",
- "TITLE_MAX_LENGTH": "Titel darf eine maximale Länge von {{max}} haben",
- "NAME_MAX_LENGTH": "Name darf eine maximale Länge von {{max}} haben",
- "OUTPUT_REQUIRED": "Ausgabeformat erforderlich",
- "REPORTFOLDER_REQUIRED": "Ordner erforderlich",
- "REPORTSUBFOLDER_REQUIRED": "Unterordner erforderlich",
- "REPORTTYPE_REQUIRED": "Reporttyp erforderlich",
- "AGENT_REQUIRED": "Agent erforderlich",
- "INFO_REQUIRED": "Information erforderlich",
- "SCRIPT_REQUIRED": "Skript erforderlich",
- "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
- "TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wert muss kleiner oder gleich sein als",
- "TIMEOUT_REQUIRED": "Timeout erforderlich",
- "AUTOCREATE_FIELD_REQUIRED": "Automatisches Erstellen erforderlich",
+ "ACTION_REQUIRED": "Pflichtfeld",
+ "CONFIGURATION_REQUIRED": "Pflichtfeld",
+ "PROJECT_REQUIRED": "Pflichtfeld",
+ "LOCATION_REQUIRED": "Pflichtfeld",
+ "FONTSIZE_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "FONTSIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "FONTSIZE_REQUIRED": "Pflichtfeld",
+ "PATH_REQUIRED": "Pflichtfeld",
+ "FORMAT_REQUIRED": "Pflichtfeld",
+ "REPORT_REQUIRED": "Pflichtfeld",
+ "REFRESH_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "REFRESH_REQUIRED": "Pflichtfeld",
+ "TITLE_MAX_LENGTH": "Der Wert muss eine maximale Länge von {{max}} haben",
+ "NAME_MAX_LENGTH": "Der Wert muss eine maximale Länge von {{max}} haben",
+ "OUTPUT_REQUIRED": "Pflichtfeld",
+ "REPORTFOLDER_REQUIRED": "Pflichtfeld",
+ "REPORTSUBFOLDER_REQUIRED": "Pflichtfeld",
+ "REPORTTYPE_REQUIRED": "Pflichtfeld",
+ "AGENT_REQUIRED": "Pflichtfeld",
+ "INFO_REQUIRED": "Pflichtfeld",
+ "SCRIPT_REQUIRED": "Pflichtfeld",
+ "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein",
+ "TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "TIMEOUT_REQUIRED": "Pflichtfeld",
+ "AUTOCREATE_FIELD_REQUIRED": "Pflichtfeld",
"IGNOREDIALERCONTACTID_REQUIRED": "KontaktID erforderlich"
},
"HOST": "Host",
- "SECRET": "Secret",
- "DEFAULTUSER": "Standardnutzer",
+ "SECRET": "Geheimnis",
+ "DEFAULTUSER": "Default User",
"DESCRIPTION": "Beschreibung",
- "ADD_TRUNK": "Trunk hinzufügen",
+ "ADD_TRUNK": "Amtsleitung hinzufügen",
"HELP": {
- "SECRET": "Kennwort für die Authentifizierung, wenden Sie sich an den Systemadministrator.",
+ "SECRET": "Kennwort für die Authentifizierung, wenden Sie sich an den Anbieter.",
"HOST": "Die Domäne oder den Hostnamen für den Anbieter.",
- "DEFAULTUSER": "Authentifizierung Benutzername, wenden Sie sich an Ihren Anbieter.",
+ "DEFAULTUSER": "Authentifizierung Benutzernamen, wenden Sie sich an den Anbieter.",
"CALLERID": "Die Anrufer-ID im Format \"name\" .",
- "REGISTRY": "Die SIP-Registry, in der Regel: defaultuser:Secret@host.",
- "FROMDOMAIN": "Legt Standardeinstellungen von:domain in SIP-Nachrichten als SIP-ua (Client).",
- "FROMUSER": "SIP-Nutzereinstellungen. Nur gültig für den Typ=peer.",
- "OUTBOUNDPROXY": "IP-Adresse oder DNS-SRV-Ressourceneintrag. Senden Sie ausgehende Anrufe zu diesem Server, anstelle direkt zum Endgerät. Nur gültig für Typ \"Peer\".",
- "PORT": "Die Nummer des Ports, zu dem Sie eine Verbindung herstellen möchten.",
- "CONTEXT": "Der zu verwendende Kontext für den Trunk",
- "TYPE": "Definiert die SIP-Rolle innerhalb der Anwendung. User: Authentifizierung für eingehende Verbindungen; Peer: für ausgehende Verbindungen - Friend: Beide Eigenschaften werden erfüllt",
- "DTMFMODE": "Sendeart von DTMF-Tönen (Dual-Tone Multi-Frequency): RFC2833: Standardeinstellung, DMTF wird über RTP gesendet (auÃerhalb des Audiostreams) - INBAND DTMF wird innerhalb des Audiostreams gesendet, über die Lautsprecher hörbar. Dadurch höhere CPU-Belastung",
- "NAT": "Ãndert das Verhaltes des Asterisk-Telefonieservers für Nebenstellen hinter einer Firewall- Sofern eine der per Komma getrennten Optionen 'no', werden alle anderen Einstellungen ignoriert und der Server setzt ein 'nat=no'",
- "QUALIFY": "Wenn aktiv, sendet der Telefonieserver in regelmäÃigen Abständen ein Kommando, um die Erreichbarkeit der Gegenstelle zu überwachen",
- "ALLOWCODECS": "Erlaubte Codecs in der Reihenfolge der Auflistung",
- "INSECURE": "Erlaubt unsichere Einstellungen für peer",
- "CALL_LIMIT": "Maximale Anzahl aller gleichzeitigen Anrufe (Ein- und Ausgehend)",
- "DIRECTMEDIA": "Der Asterisk versucht, den RTP-Stream im Standard direkt zwischen dem Anrufer und dem Angerufenen aufzubauen. Manche Geräte (z.B. Firewalls) unterstützen diese Funktion nicht. Daher kann hier eine Umstellung erfolgen.",
- "CALLCOUNTER": "Aktivieren der Anrufzähler für die Geräte",
- "ADD_PHONE_TO_URI": "Fügt im SIP den user=phone zur URL hinzu",
- "TRUST_REMOTE_PARTY_ID": "Soll der URL der anderen Partei vertraut werden?",
- "SEND_REMOTE_PARTY_ID_HEADER": "Soll die ID der anderen Partei gesendet werden?",
- "ENCRYPTION": "Legt fest, ob die Verbindung über SRTP verschlüsselt vorliegt. Sollte das peer kein SRTP unterstützen, werden Anrufe mit dem HANGUPCAUSE=58 beendet.",
+ "REGISTRY": "Die amtsleitung Registry, die von einigen Anbietern, die in der Regel defaultuser:Secret@host.",
+ "FROMDOMAIN": "Legt Standardeinstellungen von:domain in SIP-Nachrichten als SIP-ua (Client). Einige Ziele können die obligatorische Identität Name anstatt nur die IP-Adresse.",
+ "FROMUSER": "Rovider wie ihr sie kennt. Dies ist der Benutzer, um anstelle der Anrufer-ID beim Tätigen von Anrufen zu anderen Peer (SIP-Proxy). Nur gültig für den Typ=peer.",
+ "OUTBOUNDPROXY": "IP-Adresse oder DNS-SRV-Ressourceneintrag name (ausgenommen die _sip._udp-Präfix): SRV Name, den Hostnamen oder die IP-Adresse des ausgehenden SIP-Proxy. Senden Sie ausgehende Signale zu diesem Proxy und nicht direkt an die Geräte. Nur gültig für den Typ=peer.",
+ "PORT": "Die Nummer des Ports, zu dem Sie eine Verbindung herstellen möchten wir auf der anderen Seite.",
+ "CONTEXT": "Die nutzbaren Rahmen für den Trunk.",
+ "TYPE": "Legt das SIP-Rolle innerhalb der Sternchen. User: Wird verwendet, um die Authentifizierung für eingehende - Peer: für ausgehende Anrufe - Freund: Deckt sowohl die Eigenschaften der oben genannten.",
+ "DTMFMODE": "Wie DTMF (Dual-Tone Multi-Frequency): RFC2833: Die Standardeinstellung, die DTMF gesendet mit RTP, aber auÃerhalb der Audio Stream. INBAND DTMF gesendet wird: Die in der Audio Stream des aktuellen Gesprächs, wird über die Lautsprecher hörbar. Erfordert eine hohe CPU-Last. INFO: Diese Methode ist zwar sehr zuverlässig, es ist nicht für alle TK-Anlagen und viele SIP-Trunk.",
+ "NAT": "Ãndert das Verhalten von Sternchen für Clients hinter einer Firewall.Wenn der Komma-getrennten Optionen ist \"Nein\", Asterisk ignoriert alle anderen Einstellungen und die nat=No.",
+ "QUALIFY": "Legt fest, wann die SIP erreichbar ist.",
+ "ALLOWCODECS": "Erlaubt Codecs in der Reihenfolge ihrer Präferenz.",
+ "INSECURE": "Legt fest, wie Verbindungen mit Peer, dass unsichere Einstellungen.",
+ "CALL_LIMIT": "Die Anzahl der eingehenden und abgehenden Anrufe, die zu einer Zeit.",
+ "DIRECTMEDIA": "Sternchen standardmäÃig versucht, die RTP-Stream direkt aus den Anrufer an den Angerufenen. Einige Geräte werden nicht unterstützt wird (vor allem, wenn einer von Ihnen hinter einem NAT-Gerät befindet). Die Standardeinstellung ist Ja. Wenn Sie alle Clients hinter einem NAT-Gerät befindet, oder aus einem anderen Grund nicht möchten, dass Sternchen in der Audiospur, können Sie diese ausschalten.",
+ "CALLCOUNTER": "Aktivieren Sie die Zähler auf Geräte.",
+ "ADD_PHONE_TO_URI": "Legen Sie fest, ob die Provider ';user=Telefon\" an den URL.",
+ "TRUST_REMOTE_PARTY_ID": "Wenn Remote-Party-ID definieren sollte.",
+ "SEND_REMOTE_PARTY_ID_HEADER": "Status",
+ "ENCRYPTION": "Festlegen, ob die Remote-Party-ID gesendet werden soll (standardmäÃig auf Nein).",
"TRANSPORT": "Festlegen der Standardeinstellungen für Transporte. Die Reihenfolge bestimmt den primären Standard.",
- "OTHERFIELDS": "Weitere Felder zum Konfiguration des SIP-Trunks hinzufügen. Standard Asterisk-Format (key=value). Neue Zeile erstellen pro neuem Feld",
- "EMAILADDRESS": "Mehrere Adressen mit Komma getrennt eingeben: (z. b. John.doe@xcally.com, jane.miller@xcally.com)",
+ "OTHERFIELDS": "Weitere Felder hinzufügen, in der Amtsleitungen conf-Dateien. In Sternchen format (key=value), jedes Feld auf einer Zeile.",
+ "EMAILADDRESS": "Sie können mehrere Adressen mit Kommata (z. b. John.doe@xcally.com, jane.miller@xcally.com)",
"NAME": "Nur Zahlen, Buchstaben und Sonderzeichen (._) werden unterstützt.",
- "EVENTVARIABLES": "Fügt die Event-Variablen der URL hinzu",
+ "EVENTVARIABLES": "Wenn aktiviert, Es fügt alle Event Variablen an die Url",
"T38PT_UDPTL": "Es: Ja, Redundanz, maxdatagram = 400",
"EMAILBCCADDRESS": "Fügen Sie eine oder mehrere durch Kommas getrennte Adressen hinzu (z. B. john.doe@xcally.com, jane.miller@xcally.com).",
"EMAILCCADDRESS": "Fügen Sie eine oder mehrere durch Kommas getrennte Adressen hinzu (z. B. john.doe@xcally.com, jane.miller@xcally.com).",
- "BODY": "(RAW-JSON-Format) Wenn nicht ausgefüllt, wird der Standardwert verwendet",
+ "BODY": "Wenn nicht ausgefüllt, wird der Standardwert gesendet",
"INFO": "Titel einfügen",
"SCRIPT": "Skript einfügen",
"SCRIPT_INFO": "Fügen Sie eine Beschreibung für das Skript ein",
"SCRIPT_TYPE": "Geben Sie eine Typologie für das Skript ein (zB curl, bash ...)",
"MANAGED": "Die Gesamtzahl der abgeschlossenen Interaktionen",
"OPENED": "Die Gesamtzahl der aktiven Interaktionen",
- "HEADERS": "Hinweis: Der Header-Abschnitt muss im RAW-JSON-Format {\"key\": \"value\"} vorliegen. Hinweis: Wenn nicht ausgefüllt, wird der Standardwert verwendet",
- "TIMEOUT": "Zeitüberschreitung in Sekunden anfordern. Der Wert muss zwischen 1 und 10 liegen - Standardwert ist 5."
+ "HEADERS": "Hinweis: Der Header-Abschnitt muss im RAW-JSON-Format {\"key\": \"value\"} vorliegen.\nHinweis: Wenn nicht ausgefüllt, wird der Standardwert gesendet",
+ "TIMEOUT": "Zeitüberschreitung in Sekunden anfordern. Der Wert muss zwischen 1 und 10 liegen und der Standardwert ist 5."
},
"EDIT_TRUNK": "Trunk bearbeiten",
- "DELETE_TRUNK": "Trunk löschen",
+ "DELETE_TRUNK": "Löschen Sie Trunk",
"CREATED_AT": "Erstellt am",
"SETTINGS": "Einstellungen",
- "ADVANCED": "Erweitert",
+ "ADVANCED": "Erweiterte",
"OTHER": "Andere",
"ACTIVE": "Aktiv",
"CONTEXT": "Kontext",
- "CALLERID": "Anruferidentifikation (Caller-ID)",
+ "CALLERID": "Die Anrufer-ID",
"TYPE": "Typ",
- "DTMFMODE": "DTMF-Modus",
+ "DTMFMODE": "Mfv-Modus",
"NAT": "NAT",
- "QUALIFY": "Trunk überwachen (SIP-Qualify)",
- "ALLOWCODECS": "Erlaubte Codecs",
+ "QUALIFY": "Qualifizieren",
+ "ALLOWCODECS": "Codecs erlaubt",
"INSECURE": "Unsicher",
"REGISTRY": "Registrierung",
- "DIRECTMEDIA": "Direct Media",
+ "DIRECTMEDIA": "Direkte Medien",
"CALLCOUNTER": "Anrufzähler",
- "FROMDOMAIN": "From Domain",
- "FROMUSER": "From Nutzer",
- "OUTBOUNDPROXY": "Outbound Proxy",
- "ADD_PHONE_TO_URI": "Telefon zur URL hinzufügen",
- "TRUST_REMOTE_PARTY_ID": "Trust Remote Party ID",
- "SEND_REMOTE_PARTY_ID_HEADER": "Remote Party im Header senden",
+ "FROMDOMAIN": "Aus der Domäne",
+ "FROMUSER": "Vom Benutzer",
+ "OUTBOUNDPROXY": "Ausgehender Proxy",
+ "ADD_PHONE_TO_URI": "Telefon hinzufügen, URL",
+ "TRUST_REMOTE_PARTY_ID": "Vertrauen Gegenstelle ID",
+ "SEND_REMOTE_PARTY_ID_HEADER": "Senden einer Partner-ID Header",
"ENCRYPTION": "Verschlüsselung",
- "PORT": "Port",
- "TRANSPORT": "Transport",
+ "PORT": "Hafen",
+ "TRANSPORT": "Verkehr",
"SAVE": "Speichern",
- "VARIABLES": "Variabeln",
- "ADD_VARIABLE": "Variabel hinzufügen",
- "EDIT_VARIABLE": "Variabel bearbeiten",
- "DELETE_VARIABLE": "Variabel löschen",
- "SELECTED": "Ausgewählt",
- "SELECT_ALL": "Alles auswählen",
- "SELECT_NONE": "Nichts auswählen",
+ "VARIABLES": "Variablen",
+ "ADD_VARIABLE": "Variable hinzufügen",
+ "EDIT_VARIABLE": "Variable bearbeiten",
+ "DELETE_VARIABLE": "Variable löschen",
+ "SELECTED": "Ausgewählte",
+ "SELECT_ALL": "Alle auswählen",
+ "SELECT_NONE": "Wählen Sie \"Keine\"",
"TAGS": "Tags",
- "ADD_TAG": "Tag hinzufügen",
- "EDIT_TAG": "Tag bearbeiten",
- "DELETE_TAG": "Tag löschen",
+ "ADD_TAG": "Variable hinzufügen",
+ "EDIT_TAG": "Variable bearbeiten",
+ "DELETE_TAG": "Variable löschen",
"PAUSES": "Pausen",
"ADD_PAUSE": "Pause hinzufügen",
"EDIT_PAUSE": "Pause bearbeiten",
"DELETE_PAUSE": "Pause löschen",
- "ADD_CANNEDANSWER": "Textbaustein hinzufügen",
- "EDIT_CANNEDANSWER": "Textbaustein bearbeiten",
- "DELETE_CANNEDANSWER": "Textbaustein löschen",
+ "ADD_CANNEDANSWER": "Vordefinierte Antwort hinzufügen",
+ "EDIT_CANNEDANSWER": "Vordefinierte Antwort bearbeiten",
+ "DELETE_CANNEDANSWER": "Vordefinierte Antwort löschen",
"KEY": "Schlüssel",
"VALUE": "Wert",
- "SOUNDS": "Audiodateien",
- "EDIT_SOUND": "Audiodatei bearbeiten",
- "DELETE_SOUND": "Audiodatei löschen",
- "FINISH": "Beenden",
- "DROP_TO_UPLOAD": "Hier hineinziehen für Upload",
+ "SOUNDS": "Sounds",
+ "EDIT_SOUND": "Ton bearbeiten",
+ "DELETE_SOUND": "Sound löschen",
+ "FINISH": "Fertig stellen",
+ "DROP_TO_UPLOAD": "Drop hochladen",
"TRIGGERS": "Trigger",
- "EDIT_TRIGGER": "Trigger bearbeiten",
- "DELETE_TRIGGER": "Trigger löschen",
+ "EDIT_TRIGGER": "Auslöser bearbeiten",
+ "DELETE_TRIGGER": "Auslöser löschen",
"ADD_TRIGGER": "Trigger hinzufügen",
"DELETE": "Löschen",
- "AUTOMATIONS": "Automation",
- "EDIT_AUTOMATION": "Automation bearbeiten",
+ "AUTOMATIONS": "Automatisierungen",
+ "EDIT_AUTOMATION": "Bearbeiten einer Automation",
"DELETE_AUTOMATION": "Automation löschen",
"ADD_AUTOMATION": "Automation hinzufügen",
- "INTERVALS": "Zeitintervalle",
+ "INTERVALS": "Intervalle",
"EDIT_INTERVAL": "Intervall bearbeiten",
- "DELETE_INTERVAL": "Intervall löschen",
+ "DELETE_INTERVAL": "Intervall für Löschen.",
"ADD_INTERVAL": "Intervall hinzufügen",
"TOOLS": "Werkzeuge",
- "ID": "ID",
+ "ID": "Id",
"AUDIO": "Audio",
- "DOWNLOAD_SOUND": "Audiodatei herunterladen",
- "UPLOAD_SOUND": "Audiodatei hochladen",
+ "DOWNLOAD_SOUND": "Download Sound",
+ "UPLOAD_SOUND": "Werkzeuge",
"CHANNEL": "Kanal",
- "NEW_TRIGGER": "Neuer Trigger",
+ "NEW_TRIGGER": "Neue Trigger",
"GENERAL": "Allgemein",
- "STATUS": "Trigger aktiv",
+ "STATUS": "Status",
"CONDITIONS&ACTIONS": "Bedingungen und Aktionen",
- "ALLCONDITIONS": "Alle Bedingungen werden erfüllt",
- "ANYCONDITIONS": "Einige Bedingungen werden erfüllt",
- "ACTIONS": "Aktionen",
+ "ALLCONDITIONS": "Alle diese Bedingungen erfüllen:",
+ "ANYCONDITIONS": "Treffen diese Voraussetzungen:",
+ "ACTIONS": "Aktionen:",
"NEW_AUTOMATION": "Neue Automation",
- "TIMEOUT": "Zeitüberschreitung",
+ "TIMEOUT": "Timeout",
"PEERSTATUS": "Peer Status",
- "CALL_LIMIT": "Anrufe limitieren",
- "OTHERFIELDS": "Zusätzliche SIP-Felder",
- "NEW_VARIABLE": "Neue Variabel",
+ "CALL_LIMIT": "Anrufe beschränken",
+ "OTHERFIELDS": "Andere Felder",
+ "NEW_VARIABLE": "Neue Variable",
"NEW_TAG": "Neuer Tag",
"NEW_PAUSE": "Neue Pause",
- "NEW_CANNEDANSWER": "Neue Textvorlage",
+ "NEW_CANNEDANSWER": "Neue vordefinierte Antwort",
"CONFIRM_PASSWORD": "Passwort bestätigen",
- "NEW_TRUNK": "Neuer Trunk",
- "FROM": "von",
- "TO": "an",
- "WEEKDAY": "Wochentag",
- "MONTHDAY": "Monatstag",
+ "NEW_TRUNK": "Neue Leitung",
+ "FROM": "Von",
+ "TO": "Zu",
+ "WEEKDAY": "Woche Tag",
+ "MONTHDAY": "Monat Tag",
"MONTH": "Monat",
"ALWAYS": "Immer",
"MON": "Montag",
@@ -233,24 +233,24 @@
"NOV": "November",
"DEC": "Dezember",
"PASSWORD": "Passwort",
- "CUSTOMDASHBOARDS": "Benutzerdef. Dashboards",
+ "CUSTOMDASHBOARDS": "Benutzerdefinierte Dashboards",
"NEW_CUSTOMDASHBOARD": "Neues benutzerdefiniertes Dashboard",
- "ADD_CUSTOMDASHBOARD": "Benutzerdefiniertes Dashboard hinzufügen",
- "EDIT_CUSTOMDASHBOARD": "Benutzerdefiniertes Dashboard bearbeiten",
- "DELETE_CUSTOMDASHBOARD": "Benutzerdefiniertes Dashboard löschen",
- "SCHEDULER": "Berichtsplanung",
- "NEW_SCHEDULE": "Neue Planung",
- "ADD_SCHEDULE": "Planung hinzufügen",
- "EDIT_SCHEDULE": "Planung bearbeiten",
- "DELETE_SCHEDULE": "Planung löschen",
+ "ADD_CUSTOMDASHBOARD": "Hinzufügen von benutzerdefinierten Dashboard",
+ "EDIT_CUSTOMDASHBOARD": "Benutzerdefinierte Dashboards bearbeiten",
+ "DELETE_CUSTOMDASHBOARD": "Benutzerdefiniertes Dashboard löschen.",
+ "SCHEDULER": "Scheduler",
+ "NEW_SCHEDULE": "Neuer Zeitplan",
+ "ADD_SCHEDULE": "Zeitplan hinzufügen",
+ "EDIT_SCHEDULE": "Zeitplan bearbeiten",
+ "DELETE_SCHEDULE": "Zeitplan löschen",
"SENDMAIL": "E-Mail senden",
"CONFIGURATION": "Konfiguration",
"MAIL": "E-Mail",
"REPORTTYPE": "Berichtstyp",
"REPORT": "Bericht",
- "OUTPUT": "Ausgabeformat",
+ "OUTPUT": "Ausgang",
"EXECUTEON": "Ausführung",
- "REPORTRANGE": "Bereich",
+ "REPORTRANGE": "Berichtsbereich",
"VALIDITYSTART": "Startzeit",
"VALIDITYEND": "Endzeit",
"EXECUTEEVERY": "Alle ausführen",
@@ -261,10 +261,10 @@
"WEEKLY": "Wöchentlich",
"MONTHLY": "Monatlich",
"PREVIOUS_DAY": "Vorheriger Tag",
- "LAST_SEVEN_DAYS": "Letzte 7 Tage",
- "LAST_THIRTY_DAYS": "Letzte 30 Tage",
+ "LAST_SEVEN_DAYS": "Letzte sieben Tage",
+ "LAST_THIRTY_DAYS": "33 verbotenen letzte Tage",
"LAST_MONTH": "Letzter Monat",
- "WEEKDAYS": "Wochentage",
+ "WEEKDAYS": "Woche Tage",
"HOUR": "Stunde",
"DEFAULT": "Standard",
"CSV": "CSV",
@@ -272,7 +272,7 @@
"15MIN": "15 Minuten",
"30MIN": "30 Minuten",
"1H": "1 Stunde",
- "VOICE": "Sprachanrufe",
+ "VOICE": "Voice",
"CHAT": "Chat",
"SMS": "SMS",
"OPENCHANNEL": "Offener Kanal",
@@ -283,8 +283,8 @@
"ADD_TEMPLATE": "Vorlage hinzufügen",
"CONTENT": "Inhalt",
"FIELD": "Feld",
- "NO_ANYCONDITION_AVAILABLE": "Keine Bedingung verfügbar",
- "NO_ALLCONDITION_AVAILABLE": "Keine Bedingung verfügbar",
+ "NO_ANYCONDITION_AVAILABLE": "Keine Bedingungen verfügbar",
+ "NO_ALLCONDITION_AVAILABLE": "Keine Bedingungen verfügbar",
"NO_ACTION_AVAILABLE": "Keine Aktionen verfügbar",
"ACTION": "Aktion",
"EDIT_ANYCONDITION": "Bedingung bearbeiten",
@@ -297,19 +297,19 @@
"ADD_ALLCONDITION": "Bedingung hinzufügen",
"EDIT_ACTION": "Aktion bearbeiten",
"DELETE_ACTION": "Aktion löschen",
- "NEW_ACTION": "Neue Aktion",
+ "NEW_ACTION": "Neue MaÃnahme",
"ADD_ACTION": "Aktion hinzufügen",
"QUEUE": "Warteschlange",
"CALL_STATUS": "Anrufstatus",
- "OUTBOUNDROUTE": "Ausgehende Routen",
- "EQUALS": "ist gleich",
- "NOT_EQUALS": "ist nicht gleich",
- "CONTACT_MANAGER": "Kontaktmanager",
+ "OUTBOUNDROUTE": "Abgehende Routen",
+ "EQUALS": "Ist gleich",
+ "NOT_EQUALS": "Nicht gleich",
+ "CONTACT_MANAGER": "Contacts Manager",
"INTEGRATIONS": "Integrationen",
"MOTIONBAR": "Motion Bar",
"JSCRIPTY": "Jscripty",
- "URL_FORWARD": "URL-Weiterleitung",
- "WEB_POPUP": "Web-Popup",
+ "URL_FORWARD": "URL Weiterleitung",
+ "WEB_POPUP": "Web Popup",
"LIST": "Liste",
"INTEGRATION": "Integration",
"TEMPLATE": "Vorlage",
@@ -318,87 +318,87 @@
"ARGUMENTS": "Argumente",
"NO_APPS_AVAILABLE": "Keine Anwendungen verfügbar",
"NEW_INTERVAL": "Neues Intervall",
- "OPERATOR": "Operator",
+ "OPERATOR": "Betreiber",
"NO_INTERVALS_AVAILABLE": "Keine Intervalle zur Verfügung",
"YES": "Ja",
- "NO": "Nein",
+ "NO": "Keine",
"SUBJECT": "Betreff",
- "NO_AVAILABLE_INFO": "Keine Informationen verfügbar",
+ "NO_AVAILABLE_INFO": "Keine verfügbaren Info",
"BROWSER": "Browser",
"INTERVAL": "Intervall",
- "INFO": "Information",
+ "INFO": "Info",
"TIME_RANGE": "Zeitbereich",
- "WEEK_DAYS": "Wochentage",
- "MONTH_DAYS": "Monatstage",
+ "WEEK_DAYS": "Woche Tage",
+ "MONTH_DAYS": "Monat Tage",
"MONTHS": "Monate",
- "DROP_TO_UPLOAD_MESSAGE": "Dateien hier hinein ziehen zum Hochladen. Unterstütze Formate: .mp3, .wav, .gsm; Max. DateigröÃe: 15 MB",
+ "DROP_TO_UPLOAD_MESSAGE": "Sie können auch Audiodateien hier ablegen\" hochzuladen. Nur MP3-, WAV-, GSM-Max. 15 MB",
"POLLING_INTERVAL": "Abfrageintervall (Sekunden)",
- "DASHBOARD": "Dashboard",
- "NEW_DASHBOARDITEM": "Neues Dashboard-Widget",
+ "DASHBOARD": "Armaturenbrett",
+ "NEW_DASHBOARDITEM": "Neue Dashboard Widget",
"COUNTER": "Zähler",
"IFRAME": "IFrame",
"CLOCK": "Uhr",
- "ADD_DASHBOARDITEM": "Dashboard-Widget hinzufügen",
- "EDIT_WIDGET": "Widget bearbeiten",
- "DELETE_WIDGET": "Widget löschen",
- "FLIP_WIDGET": "Widget drehen",
+ "ADD_DASHBOARDITEM": "Dashboard Widget hinzufügen",
+ "EDIT_WIDGET": "Bearbeiten Widget",
+ "DELETE_WIDGET": "Löschen Widget",
+ "FLIP_WIDGET": "Flip Widget",
"TITLE": "Titel",
"UPDATE": "Aktualisieren",
"LAYOUT": "Layout",
"BACKGROUND_COLOR": "Hintergrundfarbe",
"FOREGROUND_COLOR": "Vordergrundfarbe",
- "FOREGROUND_TITLE_COLOR": "Titelfarbe",
- "THEME": "Design-Thema",
- "LIGHT": "Hell",
+ "FOREGROUND_TITLE_COLOR": "Vordergrund Titel Farbe",
+ "THEME": "Thema",
+ "LIGHT": "Licht",
"DARK": "Dunkel",
"TIMEZONE": "Zeitzone",
- "DIGITAL_FORMAT": "Digitales Datumsformat",
+ "DIGITAL_FORMAT": "Digitale Datum Format",
"TOOLS_QUERY": "Abfrage",
- "SELECT": "Auswählen",
- "WHERE": "where",
+ "SELECT": "Wählen Sie",
+ "WHERE": "Wo",
"BACK": "Zurück",
"PROJECT": "Projekt",
- "GOTOREALTIME_TRUNK": "Direkt zum Echtzeitmonitoring für SIP-Trunks",
- "GOTO_TRUNK": "Direkt zum SIP-Trunk gehen",
- "CRON": "Versand",
+ "GOTOREALTIME_TRUNK": "In Echtzeit, Trunk gehen",
+ "GOTO_TRUNK": "Um die Leitungsbündel gehen",
+ "CRON": "Cron",
"MINUTES": "Minuten",
"HOURLY": "Stündlich",
"YEARLY": "Jährlich",
- "EVERY": "Jede(n)",
+ "EVERY": "Jede",
"MINUTE": "Minute",
- "ON_SECOND": "Zur Sekunde",
- "HOUR_ON_MINUTE": "Stunde zur Minute",
- "AND_SECOND": "und Sekunde",
- "DAY_AT": "Am Tag",
+ "ON_SECOND": "Im 2.",
+ "HOUR_ON_MINUTE": "Stunde Minute",
+ "AND_SECOND": "Und 2.",
+ "DAY_AT": "Tag an",
"START_TIME": "Startzeit",
- "ON_THE": "Am",
- "OF_EVERY": "An jedem",
+ "ON_THE": "Auf der",
+ "OF_EVERY": "Jedes",
"MONTH_AT": "Monat",
- "AT": "um",
+ "AT": "An",
"LAST": "Letzte",
"LASTUNIT": "Einheit",
"MAILACCOUNT": "E-Mail Konto",
- "OF": "von",
- "PAST_THE_HOUR": "Minuten nach voller Stunde",
+ "OF": "Von",
+ "PAST_THE_HOUR": "Nach der vollen Stunde",
"DAY": "Tag",
"WEEK": "Woche",
"YEAR": "Jahr",
- "ON": "Am",
+ "ON": "Auf",
"PAI": "P-Asserted-Identity",
"PAGE": "Seite",
"ROWSPERPAGE": "Zeilen pro Seite",
- "OUTBOUND_ROUTE": "Ausgehende Routen",
- "EVENTVARIABLES": "Event-Variablen",
+ "OUTBOUND_ROUTE": "Abgehende Routen",
+ "EVENTVARIABLES": "Bei Variablen",
"FAX": "Fax",
"INTERACTION": "Interaktion",
"MESSAGE": "Nachricht",
- "T38PT_UDPTL": "Redundanz, maxdatagram = 400",
- "AUTOCREATECONTACT": "Automatische Kontakterstellung",
+ "T38PT_UDPTL": "T38 pt Udptl",
+ "AUTOCREATECONTACT": "Erstellen Sie automatisch",
"COLOR": "Farbe",
- "LOCATION": "Standort",
- "NEW_TAB": "Neuer Tab",
+ "LOCATION": "Lage",
+ "NEW_TAB": "Neue Registerkarte",
"NEW_WINDOW": "Neues Fenster",
- "WINDOWWIDTH": "Fensterbreite (px)",
+ "WINDOWWIDTH": "Fenster Breite (px)",
"WINDOWHEIGHT": "Fensterhöhe (px)",
"EDIT_DASHBOARDITEM": "Dashboard-Widget bearbeiten",
"FONTSIZE": "SchriftgröÃe",
@@ -408,68 +408,68 @@
"FOREGROUND": "Vordergrund",
"NONE": "Keiner",
"TOTAL": "Gesamt",
- "ABANDONED": "Abgebrochen",
+ "ABANDONED": "Verlassen",
"WAITING": "Warten",
- "TALKING": "im Gespräch",
- "ANSWERED": "Beantwortet",
- "UNMANAGED": "Nicht bearbeitet",
+ "TALKING": "Reden",
+ "ANSWERED": "Antwortete",
+ "UNMANAGED": "Nicht verwaltet",
"CUSTOMTYPE": "Benutzerdefiniert [Pfad]",
- "WEBREPORT": "Interner Report",
+ "WEBREPORT": "Webbericht",
"PIECHART": "Kuchendiagramm",
"MULTIBARCHART": "Multibar-Diagramm",
"MOVE_WIDGET": "Widget verschieben",
- "USERADD_CUSTOMDASHBOARD": "Berechtigungen hinzufügen",
- "GOTODASHBOARD_CUSTOMDASHBOARD": "Vorschau Dashboard",
- "GOTO_CUSTOMDASHBOARD": "Vorschau Dashboard",
- "METRIC": "Metrik",
- "FILTERVOICEQUEUES": "Anruf-Warteschlangen filtern",
+ "USERADD_CUSTOMDASHBOARD": "Hinzufügen von Benutzerberechtigungen",
+ "GOTODASHBOARD_CUSTOMDASHBOARD": "Gehe zum Vorschau-Dashboard",
+ "GOTO_CUSTOMDASHBOARD": "Gehe zum Vorschau-Dashboard",
+ "METRIC": "Metrisch",
+ "FILTERVOICEQUEUES": "Voice-Warteschlangen filtern",
"SERIE1": "Serie 1",
"SERIE2": "Serie 2",
"SERIE3": "Serie 3",
- "REFRESH": "Aktualisieren [S]",
+ "REFRESH": "Aktualisieren [s]",
"FORMAT": "Format",
"PATH": "Absoluter Pfad",
"ALL_USERS": "Alle Nutzer",
- "SELECTED_USERS": "Ausgewählte Nutzer",
+ "SELECTED_USERS": "Ausgewählte Benutzer",
"ADD_WIDGET": "Widget hinzufügen",
- "NEXTCONTACT": "Nächster Kontakt",
+ "NEXTCONTACT": "Nächster",
"SENDIFEMPTY": "Senden, wenn leer",
- "CANCEL": "Abbrechen",
+ "CANCEL": "Stornieren",
"UPLOADING": "Hochladen",
- "EMAILBCCADDRESS": "BCC",
- "EMAILCCADDRESS": "CC",
- "RUN_SCHEDULE": "Ausführen",
- "ADD_DISPOSITION": "Qualifizierung hinzufügen",
- "DELETE_DISPOSITION": "Qualifizierung löschen",
- "DISPOSITIONS": "Qualifizierungen",
- "EDIT_DISPOSITION": "Qualifizierung bearbeiten",
- "NEW_DISPOSITION": "Neue Qualifizierung",
- "CLONE_TRUNK": "Trunk klonen",
- "BODY": "Textinhalt",
- "CANNEDANSWERS": "Globale Textbausteine",
+ "EMAILBCCADDRESS": "Bcc",
+ "EMAILCCADDRESS": "Cc",
+ "RUN_SCHEDULE": "Zeitplan ausführen",
+ "ADD_DISPOSITION": "Disposition hinzufügen",
+ "DELETE_DISPOSITION": "Disposition löschen",
+ "DISPOSITIONS": "Dispositionen",
+ "EDIT_DISPOSITION": "Disposition bearbeiten",
+ "NEW_DISPOSITION": "Neue Disposition",
+ "CLONE_TRUNK": "Klon-Trunk",
+ "BODY": "Karosserie",
+ "CANNEDANSWERS": "Vordefinierte Antworten",
"REPORTFOLDER": "Berichtsordner",
- "REPORTSUBFOLDER": "Unterordner",
- "PREVIOUSCONTACT": "Vorheriger Kontakt",
+ "REPORTSUBFOLDER": "Unterordner melden",
+ "PREVIOUSCONTACT": "Bisherige",
"VIDEOSUPPORT": "Video-Unterstützung",
"AGENT": "Agent",
"HEADERS": "Ãberschriften",
"SCRIPT": "Skript",
- "SCRIPT_INFO": "Information",
+ "SCRIPT_INFO": "Info",
"SCRIPT_TYPE": "Art",
"MOTION_TAB": "Neue Registerkarte \"Agent Dashboard\"",
"WHATSAPP": "WhatsApp Connector",
"AUTOCREATE_FIELD": "Feld automatisch erstellen",
- "GLOBALS": "Globale Werte",
+ "GLOBALS": "Globals",
"SEARCH_FIELDS": "Suchfelder",
"STANDARD": "Standard",
"MOTION_BAR": "Motion Bar",
"ALL": "Alle",
- "ALL_DISPOSITIONS": "Alle Qualifizierungen",
- "FIRST_LEVEL_DISPOSITION": "Qualifizierung Ebene 1",
- "LEVEL": "Ebene",
- "SECOND_LEVEL_DISPOSITION": "Qualifizierung Ebene 2",
- "SELECT_LEVEL": "Ebene auswählen",
- "TITLEFONTSIZE": "SchriftgröÃe Titel",
+ "ALL_DISPOSITIONS": "Alle Dispositionen",
+ "FIRST_LEVEL_DISPOSITION": "First Level Disposition",
+ "LEVEL": "Niveau",
+ "SECOND_LEVEL_DISPOSITION": "Disposition der zweiten Ebene",
+ "SELECT_LEVEL": "Wählen Sie eine Ebene",
+ "TITLEFONTSIZE": "SchrifttitelgröÃe",
"ADD_CONTACTITEMTYPE": "Hinzufügen",
"CONTACTITEMTYPE": "Kontaktartikeltypen",
"NEW_CONTACTITEMTYPE": "Neuer Kontaktelementtyp",
diff --git a/public/app/main/apps/tools/i18n/pt-BR.json b/public/app/main/apps/tools/i18n/pt-BR.json
index 89475fd..60b1a08 100644
--- a/public/app/main/apps/tools/i18n/pt-BR.json
+++ b/public/app/main/apps/tools/i18n/pt-BR.json
@@ -1,16 +1,16 @@
{
"TOOLS": {
"BOT": "Voicebot",
- "CLONE_TRUNK": "Clonar Tronco",
+ "CLONE_TRUNK": "Clonar tronco",
"DISPOSITIONS": "Disposições",
- "NEW_DISPOSITION": "Nova Disposição",
- "ADD_DISPOSITION": "Adicionar Disposição",
- "EDIT_DISPOSITION": "Editar Disposição",
- "DELETE_DISPOSITION": "Excluir Disposição",
+ "NEW_DISPOSITION": "Nova disposição",
+ "ADD_DISPOSITION": "Adicionar disposição",
+ "EDIT_DISPOSITION": "Editar disposição",
+ "DELETE_DISPOSITION": "Excluir disposição",
"RUN_SCHEDULE": "Horário de execução",
"SENDIFEMPTY": "Enviar se vazio",
"NEXTCONTACT": "Próximo",
- "OUTBOUND_ROUTE": "Rota de SaÃda",
+ "OUTBOUND_ROUTE": "Rota de saÃda",
"EDIT_DASHBOARDITEM": "Editar widget do painel",
"FONTSIZE": "Tamanho da fonte",
"CLONE_CUSTOMDASHBOARD": "Clonar Dashboard Personalizado",
@@ -41,8 +41,8 @@
"FORMAT": "Formato",
"PATH": "Caminho absoluto",
"ALL_USERS": "Todos os usuários",
- "SELECTED_USERS": "Usuários Selecionados",
- "ADD_WIDGET": "Adicionar Widget",
+ "SELECTED_USERS": "Usuários selecionados",
+ "ADD_WIDGET": "Adicionar widget",
"COLOR": "Cor",
"FAX": "Fax",
"INTERACTION": "Interação",
@@ -164,8 +164,8 @@
"MANAGED": "O número total de interações concluÃdas",
"OPENED": "O número total de interações ativas"
},
- "EDIT_TRUNK": "Editar Tronco",
- "DELETE_TRUNK": "Excluir Tronco",
+ "EDIT_TRUNK": "Editar tronco",
+ "DELETE_TRUNK": "Excluir tronco",
"CREATED_AT": "Criado em",
"SETTINGS": "Definições",
"ADVANCED": "Avançado",
@@ -180,7 +180,7 @@
"ALLOWCODECS": "Codecs permitidos",
"INSECURE": "Inseguro",
"REGISTRY": "Registro",
- "DIRECTMEDIA": "MÃdia Direta",
+ "DIRECTMEDIA": "Direct media",
"CALLCOUNTER": "Contador de chamadas",
"FROMDOMAIN": "Do domÃnio",
"FROMUSER": "Do usuário",
@@ -193,9 +193,9 @@
"TRANSPORT": "Transporte",
"SAVE": "Salvar",
"VARIABLES": "Variáveis",
- "ADD_VARIABLE": "Adicionar Variáveis",
- "EDIT_VARIABLE": "Editar Variáveis",
- "DELETE_VARIABLE": "Excluir Variáveis",
+ "ADD_VARIABLE": "Adicionar variáveis",
+ "EDIT_VARIABLE": "Editar variáveis",
+ "DELETE_VARIABLE": "Excluir variáveis",
"SELECTED": "Selecionado",
"SELECT_ALL": "Selecione todos",
"SELECT_NONE": "Selecione nenhum",
@@ -204,59 +204,59 @@
"EDIT_TAG": "Editar Tag",
"DELETE_TAG": "Excluir Tag",
"PAUSES": "Pausas",
- "ADD_PAUSE": "Adicionar Pausas",
- "EDIT_PAUSE": "Editar Pausas",
- "DELETE_PAUSE": "Excluir Pausas",
- "CANNEDANSWERS": "Respostas Prontas",
- "ADD_CANNEDANSWER": "Adicionar Resposta Pronta",
- "EDIT_CANNEDANSWER": "Editar Resposta Pronta",
- "DELETE_CANNEDANSWER": "Excluir Resposta Pronta",
+ "ADD_PAUSE": "Adicionar pausas",
+ "EDIT_PAUSE": "Editar pausas",
+ "DELETE_PAUSE": "Excluir pausas",
+ "CANNEDANSWERS": "Respostas pré-definidas",
+ "ADD_CANNEDANSWER": "Adicionar resposta pré-definida",
+ "EDIT_CANNEDANSWER": "Editar resposta pré-definida",
+ "DELETE_CANNEDANSWER": "Excluir resposta pré-definida",
"KEY": "Key",
"VALUE": "Valor",
- "SOUNDS": "Sons",
- "EDIT_SOUND": "Editar Som",
- "DELETE_SOUND": " Ecluir Som",
+ "SOUNDS": "Ãudios",
+ "EDIT_SOUND": "Editar áudio",
+ "DELETE_SOUND": " Ecluir áudio",
"CANCEL": "Cancelar",
"FINISH": "Finalizar",
- "DROP_TO_UPLOAD": "Largar para fazer o upload",
+ "DROP_TO_UPLOAD": "Soltar para fazer o upload",
"UPLOADING": "Uploading",
- "TRIGGERS": "Gatilhos",
- "EDIT_TRIGGER": "Editar Gatilhos",
- "DELETE_TRIGGER": "Excluir Gatilhos",
- "ADD_TRIGGER": "Adicionar Gatilhos",
+ "TRIGGERS": "Triggers",
+ "EDIT_TRIGGER": "Editar trigger",
+ "DELETE_TRIGGER": "Excluir trigger",
+ "ADD_TRIGGER": "Adicionar trigger",
"DELETE": "Excluir",
"AUTOMATIONS": "Automações",
- "EDIT_AUTOMATION": "Editar Automações",
- "DELETE_AUTOMATION": "Excluir Automações",
- "ADD_AUTOMATION": "Adicionar Automações",
+ "EDIT_AUTOMATION": "Editar automações",
+ "DELETE_AUTOMATION": "Excluir automações",
+ "ADD_AUTOMATION": "Adicionar automações",
"INTERVALS": "Intervalos",
- "EDIT_INTERVAL": "Editar Intervalo",
- "DELETE_INTERVAL": "Excluir Intervalo",
- "ADD_INTERVAL": "Adicionar Intervalo",
+ "EDIT_INTERVAL": "Editar intervalo",
+ "DELETE_INTERVAL": "Excluir intervalo",
+ "ADD_INTERVAL": "Adicionar intervalo",
"TOOLS": "Ferramentas",
"ID": "Id",
- "AUDIO": "Audio",
- "DOWNLOAD_SOUND": "Download Som",
+ "AUDIO": "Ãudio",
+ "DOWNLOAD_SOUND": "Download áudio",
"UPLOAD_SOUND": "Ferramentas",
"CHANNEL": "Canal",
- "NEW_TRIGGER": "Novo Gatilho",
+ "NEW_TRIGGER": "Nova trigger",
"GENERAL": "Geral",
"STATUS": "Status",
"CONDITIONS&ACTIONS": "Condições e ações",
"ALLCONDITIONS": "Conheça todas estas condições:",
"ANYCONDITIONS": "Conheça qualquer uma destas condições:",
"ACTIONS": "Ações:",
- "NEW_AUTOMATION": "Nova Automação",
+ "NEW_AUTOMATION": "Nova automação",
"TIMEOUT": "Tempo esgotado",
- "PEERSTATUS": "Status de par Status",
+ "PEERSTATUS": "Peer status",
"CALL_LIMIT": "Limite de chamadas",
"OTHERFIELDS": "Outros campos",
- "NEW_VARIABLE": "Nova Variável",
- "NEW_TAG": "Nova Tag",
- "NEW_PAUSE": "Nova Pausa",
- "NEW_CANNEDANSWER": "Nova Resposta Pronta",
- "CONFIRM_PASSWORD": "Confirme a Senha",
- "NEW_TRUNK": "Novo Tronco",
+ "NEW_VARIABLE": "Nova variável",
+ "NEW_TAG": "Nova tag",
+ "NEW_PAUSE": "Nova pausa",
+ "NEW_CANNEDANSWER": "Nova resposta pré-definida",
+ "CONFIRM_PASSWORD": "Confirme a senha",
+ "NEW_TRUNK": "Novo tronco",
"FROM": "De ",
"TO": "Para",
"WEEKDAY": "Dia da semana",
@@ -293,7 +293,7 @@
"ADD_SCHEDULE": "Adicionar Agendador",
"EDIT_SCHEDULE": "Editar Agendador",
"DELETE_SCHEDULE": "Excluir Agendador",
- "SENDMAIL": "Enviar Email",
+ "SENDMAIL": "Enviar email",
"CONFIGURATION": "Configuração",
"MAIL": "Email",
"REPORTTYPE": "Tipo de relatório",
@@ -348,15 +348,15 @@
"NEW_ALLCONDITION": "Nova condição",
"ADD_ALLCONDITION": "Adicionar condição",
"EDIT_ACTION": "Editar Ação",
- "DELETE_ACTION": "Excluir Ação",
- "NEW_ACTION": "Nova Ação",
- "ADD_ACTION": "Adicionar Ação",
+ "DELETE_ACTION": "Excluir ação",
+ "NEW_ACTION": "Nova ação",
+ "ADD_ACTION": "Adicionar ação",
"QUEUE": "Fila",
- "CALL_STATUS": "Status da Chamada",
- "OUTBOUNDROUTE": "Rota de SaÃda",
+ "CALL_STATUS": "Status da chamada",
+ "OUTBOUNDROUTE": "Rota de saÃda",
"EQUALS": "Igual a",
"NOT_EQUALS": "Não é igual a",
- "CONTACT_MANAGER": "Gerente de contatos",
+ "CONTACT_MANAGER": "Gestão Contatos",
"INTEGRATIONS": "Integrações",
"MOTIONBAR": "Motion Bar",
"JSCRIPTY": "Jscripty",
diff --git a/public/app/main/apps/voice/i18n/de.json b/public/app/main/apps/voice/i18n/de.json
index 0339802..832ae56 100644
--- a/public/app/main/apps/voice/i18n/de.json
+++ b/public/app/main/apps/voice/i18n/de.json
@@ -1,408 +1,408 @@
{
"VOICE": {
- "GOTO_VOICEQUEUE": "Zur Anruf-Warteschlange gehen",
- "GOTOREALTIME_VOICEQUEUE": "Direkt zur Echtzeit-Warteschlange",
+ "GOTO_VOICEQUEUE": "Zu Realtime Voice Warteschlangen gehen",
+ "GOTOREALTIME_VOICEQUEUE": "Zu Realtime Voice Warteschlangen gehen",
"NAME": "Name",
"LOGOUT": "An-/Abmelden",
- "VOICEQUEUES": "Warteschlangen",
- "SEARCH_FOR_ANYONE": "Suche",
+ "VOICEQUEUES": "Voice Warteschlangen",
+ "SEARCH_FOR_ANYONE": "Suche für Jedermann",
"BACK": "Zurück",
- "SELECTED": "Ausgewählt",
- "SELECT_ALL": "Alles auswählen",
- "SELECT_NONE": "Nichts auswählen",
- "DELETE_VOICEDISPOSITION": "Qualifizierung löschen",
- "EDIT_VOICEDISPOSITION": "Qualifizierung bearbeiten",
- "EDIT_VOICEQUEUE": "Warteschlange bearbeiten",
+ "SELECTED": "Ausgewählte",
+ "SELECT_ALL": "Alle auswählen",
+ "SELECT_NONE": "Wählen Sie \"Keine\"",
+ "DELETE_VOICEDISPOSITION": "Disposition löschen",
+ "EDIT_VOICEDISPOSITION": "Edit Voice Disposition",
+ "EDIT_VOICEQUEUE": "Edit Voice Warteschlange",
"DELETE_VOICEQUEUE": "Warteschlange löschen",
- "MOHSOUNDS": "Wartemusik",
- "STRATEGY": "Verteilungsstrategie",
+ "MOHSOUNDS": "Die MOH-Sounds",
+ "STRATEGY": "Strategie",
"DESCRIPTION": "Beschreibung",
- "ADD_VOICEQUEUE": "Warteschlangen hinzufügen",
+ "ADD_VOICEQUEUE": "Hinzufügen von Warteschlangen",
"CREATED_AT": "Erstellt am",
- "CANT_PLAY_GSM_AUDIO_FILES": "GMS-Audiodateien können nicht abgespielt werden",
+ "CANT_PLAY_GSM_AUDIO_FILES": "Nicht gsm-Audiodateien",
"APPLICATIONS_LIST": "Liste der Anwendungen",
"LEGEND": {
"CUSTOM_APPLICATION": "(*) - Benutzerdefinierte Anwendung."
},
"ERRORS": {
- "NAME_REQUIRED": "Name erforderlich",
- "APPLICATION_NAME_REQUIRED": "Name der Anwendung erforderlich",
- "TIMEOUT_REQUIRED": "Timeout erforderlich",
- "PHONENUMBER_REQUIRED": "Telefonnummer erforderlich",
- "CONTEXT_REQUIRED": "Kontext erforderlich",
- "DESTINATIONPATTERN_REQUIRED": "Ziel-Pattern erforderlich",
- "FULLNAME_REQUIRED": "Vollständiger Name erforderlich",
- "EMAIL_REQUIRED": "E-Mail erforderlich",
- "EMAIL_MUST_VALID": "Ungültiges Format E-Mail",
- "MAILBOX_REQUIRED": "Mailbox erforderlich",
- "PASSWORD_REQUIRED": "Passwort erforderlich",
- "CONFIRM_NOT_MATCH": "Die Passwörter stimmen nicht überein",
- "TIMEZONE_REQUIRED": "Zeitzone erforderlich",
- "PREFIX_REQUIRED": "Präfix erforderlich",
- "OPTIONS_REQUIRED": "Bedingungen Erforderlich",
- "AFTERCALLWORKDURATION_REQUIRED": "Dauer Nacharbeit erforderlich",
- "TECHNOLOGY/RESOURCE_REQUIRED": "Ressource erforderlich",
- "PHONE_REQUIRED": "Telefonnummer erforderlich",
- "VALUE_REQUIRED": "Wert erforderlich",
- "EXTENSION_REQUIRED": "Nebenstelle erforderlich",
- "PRIORITY_REQUIRED": "Priorität erforderlich",
- "NAME_MUST_VALID_PATTERN": "Ungültiger Name Format",
- "APPLICATION_REQUIRED": "Anwendung erforderlich",
- "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Timeout muss gröÃer oder gleich sein als",
- "MAXLENGTH_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die max. Länge muss gröÃer oder gleich sein als",
- "RETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wiederversuche muss gröÃer oder gleich sein als",
- "WRAPUPTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Nacharbeit Zeit muss gröÃer oder gleich sein als",
- "WEIGHT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Gewichtung muss gröÃer oder gleich sein als",
- "ANNOUNCEFREQUENCY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Frequenz der Ansagen muss gröÃer oder gleich sein als",
- "MINANNOUNCEFREQUENCY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Min. Frequenz der Ansagen muss gröÃer oder gleich sein als",
- "PERIODICANNOUNCEFREQUENCY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wiederholende Frequenz der Ansagen muss gröÃer oder gleich sein als",
- "AFTERCALLWORKDURATION_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Nacharbeit Zeit muss gröÃer oder gleich sein als",
- "MEMBERDELAY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Verzögerung muss gröÃer oder gleich sein als",
- "POSITION_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Position muss gröÃer oder gleich sein als",
- "CUTDIGITS_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Schnitt muss gröÃer oder gleich sein als",
- "MAXSECONDS_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Max. Sekundenmuss gröÃer oder gleich sein als",
- "MAXMESSAGES_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Max. Nachrichten muss gröÃer oder gleich sein als",
- "MAXMESSAGES_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Max. Nachrichten muss kleiner oder gleich sein als",
- "CALLERIDALL_MUST_VALID_PATTERN": "Format ungültig Anrufer-ID (alle)",
- "OUTBOUNDROUTE_REQUIRED": "Ausgehende Route erforderlich",
- "VARIABLE_REQUIRED": "Variabel erforderlich",
- "CALLER_ID_MUST_VALID_PATTERN": "Format ungültig Anrufer-ID",
- "TRUNK_REQUIRED": "SIP-Trunk erforderlich",
- "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "PausenID während Qualifizierung erforderlich",
- "PROJECT_REQUIRED": "Projekt erforderlich",
- "PENALTY_REQUIRED": "Wert für Verzögerung erforderlich"
+ "NAME_REQUIRED": "Der Name ist erforderlich",
+ "APPLICATION_NAME_REQUIRED": "Der Name der Anwendung ist erforderlich",
+ "TIMEOUT_REQUIRED": "Der Timeout ist erforderlich",
+ "PHONENUMBER_REQUIRED": "Die Telefonnummer ist erforderlich",
+ "CONTEXT_REQUIRED": "Der Rahmen ist erforderlich",
+ "DESTINATIONPATTERN_REQUIRED": "Das Ziel-pattern ist erforderlich",
+ "FULLNAME_REQUIRED": "Der vollständige Name ist erforderlich",
+ "EMAIL_REQUIRED": "Die E-Mail ist erforderlich",
+ "EMAIL_MUST_VALID": "Die e-Mail muss in einem gültigen Format",
+ "MAILBOX_REQUIRED": "Die Mailbox ist erforderlich",
+ "PASSWORD_REQUIRED": "Das Kennwort ist erforderlich",
+ "CONFIRM_NOT_MATCH": "Die Kennwörter stimmen nicht überein.",
+ "TIMEZONE_REQUIRED": "Die Zeitzone ist erforderlich",
+ "PREFIX_REQUIRED": "Das Präfix ist erforderlich",
+ "OPTIONS_REQUIRED": "Die Optionen sind Erforderlich",
+ "AFTERCALLWORKDURATION_REQUIRED": "Die Arbeit nach Anruf Dauer ist erforderlich",
+ "TECHNOLOGY/RESOURCE_REQUIRED": "Die Technologie/Ressource erforderlich ist",
+ "PHONE_REQUIRED": "Die Telefonnummer ist erforderlich",
+ "VALUE_REQUIRED": "Der Wert ist erforderlich",
+ "EXTENSION_REQUIRED": "Die Verlängerung ist erforderlich",
+ "PRIORITY_REQUIRED": "Die Priorität ist erforderlich",
+ "NAME_MUST_VALID_PATTERN": "Der Name muss in einem gültigen Format geschrieben werden",
+ "APPLICATION_REQUIRED": "Die Anwendung ist erforderlich",
+ "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Timeout muss gröÃer als oder gleich",
+ "MAXLENGTH_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die max. Länge muss gröÃer als oder gleich",
+ "RETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Wiederholung muss gröÃer als oder gleich",
+ "WRAPUPTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Nachlese Zeit muss gröÃer als oder gleich",
+ "WEIGHT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Das Gewicht muss gröÃer als oder gleich",
+ "ANNOUNCEFREQUENCY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Häufigkeit verkünden muss gröÃer als oder gleich",
+ "MINANNOUNCEFREQUENCY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Min Frequenz ankündigen muss gröÃer als oder gleich",
+ "PERIODICANNOUNCEFREQUENCY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die periodische Frequenz ankündigen muss gröÃer als oder gleich",
+ "AFTERCALLWORKDURATION_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Arbeit nach Anruf Dauer muss gröÃer als oder gleich",
+ "MEMBERDELAY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Verzögerung muss gröÃer als oder gleich",
+ "POSITION_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Position muss gröÃer als oder gleich",
+ "CUTDIGITS_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Den Schnitt stellen muss gröÃer als oder gleich",
+ "MAXSECONDS_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Muss die Max Sekunden gröÃer als oder gleich",
+ "MAXMESSAGES_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Die Max Meldungen muss gröÃer als oder gleich",
+ "MAXMESSAGES_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Die Max Meldungen muss kleiner als oder gleich",
+ "CALLERIDALL_MUST_VALID_PATTERN": "Falsches Format",
+ "OUTBOUNDROUTE_REQUIRED": "Pflichtfeld",
+ "VARIABLE_REQUIRED": "Pflichtfeld",
+ "CALLER_ID_MUST_VALID_PATTERN": "Falsches Format",
+ "TRUNK_REQUIRED": "Pflichtfeld",
+ "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "Pflichtfeld",
+ "PROJECT_REQUIRED": "Pflichtfeld",
+ "PENALTY_REQUIRED": "Sie müssen einen Wert für die Strafe angeben"
},
"GENERAL": "Allgemein",
- "TIMEOUT": "Max. Klingelzeit Nebenstelle",
+ "TIMEOUT": "Timeout",
"MAXLENGTH": "Maximale Länge",
- "RETRY": "Erneut versuchen",
- "WRAPUPTIME": "Nacharbeitszeit",
- "WEIGHT": "Gewichtung",
- "JOINWHENEMPTY": "Beitreten, wenn leer",
- "LEAVEWHENEMPTY": "Verlassen, wenn leer",
+ "RETRY": "Versuchen Sie es erneut",
+ "WRAPUPTIME": "-Zeit",
+ "WEIGHT": "Gewicht",
+ "JOINWHENEMPTY": "Melden Sie wenn sie leer sind",
+ "LEAVEWHENEMPTY": "Wenn sie leer lassen",
"HELP": {
- "TIMEOUT": "Zeitüberschreitung Klingeln (Sekunden)",
- "MAXLENGTH": "Maximaler Anrufer in der Warteschlange. Wenn Wert 0, dann keine Begrenzung.",
- "RETRY": "Definiert wie Lange (Sekunden) auf eine Antwort des Agenten gewartet wird, bevor der Anruf beim nächsten Agenten klingelt",
- "WRAPUPTIME": "Zeit (in Sekunden), in welcher der Agent nach einem Anruf nicht verfügbar ist",
- "WEIGHT": "Gewichtung der Warteschlangen untereinander, sofern die Agenten auf mehr als einer Warteschlange arbeiten",
- "JOINWHENEMPTY": "Definiert, ob ein Anruf in die Warteschleife eintreten kann, wenn keine Agenten verfügbar sind",
- "LEAVEWHENEMPTY": "Trennt den Anruf in der Warteschleife, sofern keine Agenten verfügbar sind",
- "ANNOUNCEFREQUENCY": "Definiert, wie oft dem Anrufer die aktuelle Warteposition und/oder die erwartete Wartezeit angesagt wird. (0 zum Deaktivieren dieser Funktion)",
- "MINANNOUNCEFREQUENCY": "Minimale Ansage der Warteposition/Wartezeit. Nützlich, wenn der Anrufer die Warteposition oft wechselt",
- "PERIODICANNOUNCEFREQUENCY": "Intervall für sich Wiederholende Ansagen an den Anrufer",
- "ANNOUNCEPOSITIONLIMIT": "Warteposition wird nur ab dem eingestellten Wert angesagt",
- "AFTERCALLWORKDURATION": "Die Dauer der Nacharbeit nach einem Anruf (Sekunden)",
- "MEMBERDELAY": "Verzögert die Zustellung des Anrufes an den Agenten um den eingestellten Wert (Sekunden)",
- "MUSICONHOLD": "Definiert die Wartemusik innerhalb der Warteschlange",
- "ANNOUNCETOAGENT": "Spielt dem Agenten eine Mitteilung über den Ursprung des Anrufes vor der Annahme",
- "RANDOMPERIODICANNOUNCE": "Bei \"Ja\" werden die definierten Ansagen in einer zufälligen Reihenfolge abgespielt",
- "ANNOUNCEHOLDTIME": "Definiert, ob die geschätzte Wartezeit zusätzlich zur Wartemusik abgespielt wird. (Ja/Nein/nur ein Mal)",
- "ANNOUNCECALLERPOSITION": "Definiert, ob die aktuelle Warteposition des Anrufers angesagt wird. Nein = Niemals; Ja = Immer; Limit = nur wenn innerhalb des Limits für Warteposition; Mehr = wenn überhalb des Limits für Warteposition",
- "REPORTHOLDTIMEAGENT": "Der Agent bekommt nach dem Annehmen und Verbinden des Anrufes die Wartezeit des Kunden angesagt",
- "PERIODICANNOUNCE": "Reihenfolge der Ansagen innerhalb der Warteschlange",
- "HOLDTIMEANNOUNCE": "Wählt die Audiodatei (Hochladen einer Datei im Menü \"Werkzeuge\") für die Ansage der Wartezeit. Bsp: \"Ihre geschätzte Wartezeit beträgt\" Wenn leer, wird keine Ansage abgespielt",
- "YOUARENEXTANNOUNCE": "Wählt die Audiodatei (Hochladen einer Datei im Menü \"Werkzeuge\") für die Ansage der ersten Position in der Warteschlange. Bsp: \"Der nächste freie Mitarbeiter wird Ihren Anruf in Kürze entgegennehmen\" Wenn leer, wird keine Ansage abgespielt",
- "THEREAREANNOUNCE": "Erster Teil der Ansage für die bereits wartenden Anrufe. Bsp: \"Vor Ihnen befinden sich noch..:\"; Wenn leer, wird keine Ansage abgespielt",
- "WAITINGCALLSANNOUNCE": "Zweiter Teil der Ansage für die bereits wartenden Anrufe. Bsp: \"...Anrufe in der Warteschlange\"; Wenn leer, wird keine Ansage abgespielt",
- "ESTIMATEDHOLDTIMEANNOUNCE": "Wählt die Audiodatei (Hochladen einer Datei im Menü \"Werkzeuge\") für die Ansage der geschätzten Wartezeit. Bsp: \"Ihre aktuelle Wartezeit beträgt ca....\" Wenn leer, wird keine Ansage abgespielt",
- "MINUTESANNOUNCE": "Wählt die Audiodatei (Hochladen einer Datei im Menü \"Werkzeuge\") für das Wort \"Minuten\". Wenn leer, wird keine Ansage abgespielt",
- "MINUTEANNOUNCE": "Wählt die Audiodatei (Hochladen einer Datei im Menü \"Werkzeuge\") für das Wort \"Minute\". Wenn leer, wird keine Ansage abgespielt",
- "SECONDSANNOUNCE": "Wählt die Audiodatei (Hochladen einer Datei im Menü \"Werkzeuge\") für das Wort \"Sekunden\". Wenn leer, wird keine Ansage abgespielt",
- "THANKYOUANNOUNCE": "Wählt die Audiodatei (Hochladen einer Datei im Menü \"Werkzeuge\") für eine Ansage zum Dank. Bsp: \"Vielen Dank für Ihre Geduld\" Wenn leer, wird keine Ansage abgespielt",
- "AFTERCALLWORK": "Wenn aktiviert, wird der Agent nach jedem Anruf in eine zeitlich definierbare Pause zur Nacharbeit gesetzt",
- "AUTOPAUSE": "Legt fest, ob der Agent in eine automatische Pause gesetzt wird, sofern dieser den aktuellen Anruf nicht innerhalb der definierten Zeit entgegennimmt. Wenn ja, wird der Agent in allen zugewiesenen Kampagnen auf Pause gesetzt. ",
- "RINGINUSE": "Aktivieren/Deaktivieren der Anrufzustellung wenn der Status der Nebenstelle Besetzt ist",
- "TIMEOUTRESTART": "Wenn ja, wird die Zeitüberschreitung bei Agenten mit \"Besetzt\" oder \"Verbindungsfehler\"-Status übersprungen",
- "CONTEXT": "Ermöglicht einem Anrufer, durch Drücken einer einzelnen Taste, die Warteschlange zu verlassen.",
- "SETINTERFACEVARIABLES": "Wenn aktiviert, können aufgenommene Variabeln vor einem Anruf an den Agenten weitergegeben werden. (Siehe Wiki)",
- "SETQUEUEVARIABLES": "Wenn aktiviert, können aufgenommene Variabeln nach dem Verlassen der Warteschlange an den Agenten weitergegeben werden. (Siehe Wiki)",
- "SETQUEUEENTRYVARIABLES": "Wenn aktiviert, können aufgenommene Variabeln beim Eintreten in die Warteschlange an den Agenten weitergegeben werden. (Siehe Wiki)",
- "RECORDING": "Automatische Gesprächsaufzeichnung Aktivieren/Deaktivieren",
- "VOICEMAIL_CONTEXT": "Kontext für Voicemail",
+ "TIMEOUT": "Gibt die Anzahl von Sekunden an, die das Gerät.",
+ "MAXLENGTH": "Gibt die maximale Anzahl der Anrufer, die in der Warteschlange. Ein Wert von Null bedeutet, dass eine unbegrenzte Anzahl von Anrufern in der Warteschlange sind erlaubt.",
+ "RETRY": "Gibt die Anzahl der Sekunden, die gewartet wird, bevor das nächste Mitglied in die Warteschlange, wenn der Wert für die Zeitüberschreitung erschöpft ist, während versucht wird, den ein Mitglied der Warteschlange.",
+ "WRAPUPTIME": "Die Anzahl der Sekunden, die ein Mitglied in einer Warteschlange verfügbar, nachdem Sie einen Anruf.",
+ "WEIGHT": "Legt das Gewicht einer Warteschlange. Eine Warteschlange mit einem höheren Gewicht definiert werden erste Priorität, wenn Mitglieder, die mit mehreren Warteschlangen.",
+ "JOINWHENEMPTY": "Steuert, ob ein Anrufer wird zur Warteschlange hinzugefügt werden, wenn keine Mitglieder verfügbar sind.",
+ "LEAVEWHENEMPTY": "Zur Kontrolle, ob die Anrufer aus der Warteschlange, wenn die Mitglieder nicht mehr bereit sind, Anrufe zu beantworten.",
+ "ANNOUNCEFREQUENCY": "Legt fest, wie oft sollten wir den Anrufer ankündigen und/oder geschätzte Wartezeit in der Warteschlange. Setzen Sie diesen Wert auf Null, um die Funktion zu deaktivieren.",
+ "MINANNOUNCEFREQUENCY": "Gibt die minimale Zeit, die verstreichen müssen, bevor wir Ihnen die Anrufer in der Warteschlange wieder. Dieser wird verwendet, wenn der Anrufer die Position kann sich häufig ändern, um zu verhindern, dass der Anrufer hören mehrere Updates in einem kurzen Zeitraum.",
+ "PERIODICANNOUNCEFREQUENCY": "Gibt an, wie oft wir sollten regelmäÃige Ansagen, die dem Anrufer vorgespielt werden.",
+ "ANNOUNCEPOSITIONLIMIT": "Sie kann verwendet werden, wenn Sie definiert haben, verkünden-Position entweder als Begrenzung oder mehr.",
+ "AFTERCALLWORKDURATION": "Die Dauer der Pause durch die Option \"Arbeit nach Anruf",
+ "MEMBERDELAY": "Sie kann verwendet werden, wenn Sie wollen, dass es eine Verzögerung, bevor der Anrufer und Mitglied der Warteschlange, die miteinander verbunden sind.",
+ "MUSICONHOLD": "Setzt die Musik klasse verwendet werden, die von einer bestimmten Warteschlange an.",
+ "ANNOUNCETOAGENT": "Für die Wiedergabe einer Ansage auf den Agenten, der den Anruf entgegengenommen hat, ihn wissen zu lassen, was der Anrufer die Warteschlange aus.",
+ "RANDOMPERIODICANNOUNCE": "Falls auf Ja eingestellt, wird die festgelegte regelmäÃige Mitteilungen in einer zufälligen Reihenfolge.",
+ "ANNOUNCEHOLDTIME": "Legt fest, ob die geschätzte Wartezeit gespielt werden sollte zusammen mit den regelmäÃigen Ankündigungen.",
+ "ANNOUNCECALLERPOSITION": "Legt fest, ob es sich bei dem Anrufer seine Position in der Warteschlange mitgeteilt werden sollten. Wenn die Einstellung Nein lautet, die Position wird nicht bekannt gegeben. Falls auf Ja eingestellt, wird die Position des Anrufers wird immer bekannt gegeben. Wenn der Wert überschritten wird, wird der Anrufer hört ihre Position in der Warteschlange nur, wenn er sich innerhalb der Grenze von AK-Position. Wenn der Wert auf Mehr, hört der Anrufer ihre Position, wenn es über die Zahl von AK-Position.",
+ "REPORTHOLDTIMEAGENT": "Die Berichterstattung über die CLI des Anrufers mit der Zeit in der Warteschleife in der Warteschlange vor.",
+ "PERIODICANNOUNCE": "Eine Reihe von regelmäÃigen Mitteilungen gespielt zu werden, in der Reihenfolge wiedergegeben, in der sie definiert sind.",
+ "HOLDTIMEANNOUNCE": "Wenn nicht definiert, wird die Standardeinstellung (\"Hold\"). Wenn Sie auf einen leeren Wert, wird die Aufforderung werden nicht gespielt.",
+ "YOUARENEXTANNOUNCE": "Wenn nicht definiert, wird die Standardeinstellung (\"Sie sind jetzt in erster Linie\"). Wenn Sie auf einen leeren Wert, wird die Aufforderung werden nicht gespielt.",
+ "THEREAREANNOUNCE": "Wenn nicht definiert, wird die Standardeinstellung (\"Es gibt\"). Wenn Sie auf einen leeren Wert, wird die Aufforderung werden nicht gespielt.",
+ "WAITINGCALLSANNOUNCE": "Wenn nicht definiert, wird die Standardeinstellung (\"Wartende Anrufe\"). Wenn Sie auf einen leeren Wert, wird die Aufforderung werden nicht gespielt.",
+ "ESTIMATEDHOLDTIMEANNOUNCE": "Wenn nicht definiert, wird die Standardeinstellung (\"Die voraussichtliche Wartezeit ist\"). Wenn Sie auf einen leeren Wert, wird die Aufforderung werden nicht gespielt.",
+ "MINUTESANNOUNCE": "Wenn nicht definiert, wird die Standardeinstellung (\"min\"). Wenn Sie auf einen leeren Wert, wird die Aufforderung werden nicht gespielt.",
+ "MINUTEANNOUNCE": "Wenn nicht definiert, wird die Standardeinstellung (\"min\"). Wenn Sie auf einen leeren Wert, wird die Aufforderung werden nicht gespielt.",
+ "SECONDSANNOUNCE": "Wenn nicht definiert, wird die Standardeinstellung (\"Sekunden\"). Wenn Sie auf einen leeren Wert, wird die Aufforderung werden nicht gespielt.",
+ "THANKYOUANNOUNCE": "Wenn nicht definiert, wird die Standardeinstellung (\"Vielen Dank für Ihre Geduld.\"). Wenn Sie auf einen leeren Wert, wird die Aufforderung werden nicht gespielt.",
+ "AFTERCALLWORK": "Wenn der Agent aktiv ist, wird auf eine Pause nach einer abgeschlossenen Anruf in der Warteschlange",
+ "AUTOPAUSE": "Aktiviert/Deaktiviert die automatische Unterbrechung der Mitglieder, die es versäumen, um einen Anruf zu beantworten. Wenn aktiv, wird diese Mitgliedstaaten angehalten zu werden in allen Warteschlangen er Mitglied ist.",
+ "RINGINUSE": "Verwendet werden, um zu vermeiden, Senden von Anrufen an Mitglieder, deren Status im Einsatz ist.",
+ "TIMEOUTRESTART": "Falls auf Ja eingestellt, wird das Timeout für einen Agenten zu beantworten, wenn entweder ein Besetztzeichen oder wird mit dem Status \"Ãberlastung des Kanals.",
+ "CONTEXT": "Ermöglicht einem Anrufer zu beenden, die die Warteschlange durch Drücken einer einzigen Taste MFV-Ziffer. Wenn Sie einen Kontext angegeben ist und der Anrufer gibt eine Zahl, Ziffer wird versuchen, die angepasst werden können, im Rahmen festgelegt, und es wird auch weiterhin die Ausführung Nummernplan.",
+ "SETINTERFACEVARIABLES": "Falls auf Ja eingestellt, kurz vor dem Anrufer, die mit einer Warteschlange, die einige Variablen werden(siehe wiki)",
+ "SETQUEUEVARIABLES": "Falls auf Ja eingestellt, kurz vor dem Anrufer, die mit einer Warteschlange und kurz vor dem Anrufer die Warteschlange verlassen einige Variablen werden(siehe wiki)",
+ "SETQUEUEENTRYVARIABLES": "Falls auf Ja eingestellt, kurz vor dem Anrufer, die mit einer Warteschlange, die einige Variablen werden(siehe wiki)",
+ "RECORDING": "Aktivieren der Aufzeichnung",
+ "VOICEMAIL_CONTEXT": "Im Rahmen der relativen Erweiterung.",
"NAME": "Nur Zahlen, Buchstaben und Sonderzeichen (._) werden unterstützt.",
"CALLERIDALL": "Unterstützte Formate: \"CallerId\" & lt; number & gt;",
"CALLER_ID": "Unterstützte Formate: \"CallerId\" & lt; number & gt;",
- "MANDATORYDISPOSITIONPAUSEID": "Agentenstatus während der Qualifizierung eines Kontaktes",
- "SERVICELEVEL": "Einstellungen für Service-Level (Standard = 0, kein SL). (Anrufe werden innerhalb des Service Level-Zeitrahmens beantwortet)",
- "MONITORFORMAT": "Definiert das Dateiformat für Gesprächsaufzeichnungen. Wenn leer, findet keine Gesprächsaufzeichnung statt.",
+ "MANDATORYDISPOSITIONPAUSEID": "Pausenstatus, der während der Zwangsdisposition festgelegt werden soll",
+ "SERVICELEVEL": "Zweite Einstellungen für Service Level (Standard = 0, kein SL). Wird für Service Level-Statistiken verwendet (Anrufe werden innerhalb des Service Level-Zeitrahmens beantwortet)",
+ "MONITORFORMAT": "Gibt das Format der Aufnahmedatei an. Wenn es auf 'inaktiv' gesetzt ist, werden Anrufe nicht aufgezeichnet",
"SAVE_ROUTES": "Die Einstellungen der Route wurden geändert. Bitte nicht vergessen, zu Speichern."
},
- "MUSICONHOLD": "Wartemusik",
- "ANNOUNCETOAGENT": "Ansagenachricht für Agenten",
- "ANNOUNCEMENTS": "Ansagen",
- "ADVANCED": "Erweitert",
- "ANNOUNCEFREQUENCY": "Ansagefrequenz",
- "MINANNOUNCEFREQUENCY": "Min. Frequenz Ansage",
- "PERIODICANNOUNCEFREQUENCY": "Frequenz wiederkehrende Ansagen",
- "RANDOMPERIODICANNOUNCE": "Zufälliges Abspielen der Ansagen",
- "ANNOUNCEHOLDTIME": "Wartezeit ansagen",
- "ANNOUNCECALLERPOSITION": "Warteposition ansagen",
- "ANNOUNCEPOSITIONLIMIT": "Limit für Ansage Warteposition",
- "REPORTHOLDTIMEAGENT": "Wartezeit dem Agenten ansagen",
- "PERIODICANNOUNCE": "Wiederkehrende Ansagen",
- "HOLDTIMEANNOUNCE": "Audiodatei für Ansage Wartezeit",
- "YOUARENEXTANNOUNCE": "Audiodatei für Ansage der ersten Position",
- "THEREAREANNOUNCE": "1. Teil Audiodatei für Ansage der bereits wartenden Anrufer",
- "WAITINGCALLSANNOUNCE": "2. Teil Audiodatei für Ansage der bereits wartenden Anrufer",
- "ESTIMATEDHOLDTIMEANNOUNCE": "Audiodatei für die Information zur geschätzten Wartezeit",
- "MINUTESANNOUNCE": "Audiodatei für die Ansage \"Minuten\"",
- "MINUTEANNOUNCE": "Audiodatei für die Ansage \"Minute\" ",
- "SECONDSANNOUNCE": "Audiodatei für die Ansage \"Sekunden\"",
- "THANKYOUANNOUNCE": "Audiodatei für die Ansage mit Dank für Geduld",
- "AUTOPAUSE": "Automatische Pause bei keiner Antwort",
- "AFTERCALLWORK": "Nacharbeit",
- "AFTERCALLWORKDURATION": "Dauer Nacharbeit",
- "RINGINUSE": "Klingeln bei Besetzt",
- "MEMBERDELAY": "Anrufsverzögerung",
- "TIMEOUTRESTART": "Zeitüberschreitung neu Starten",
- "MONITORFORMAT": "Format für Gesprächsaufzeichnungen",
- "SETINTERFACEVARIABLES": "Interface Variabeln definieren",
- "SETQUEUEVARIABLES": "Warteschlangenvariabeln definieren",
- "SETQUEUEENTRYVARIABLES": "Variabeln bei Eintritt definieren",
+ "MUSICONHOLD": "Musik auf Halten",
+ "ANNOUNCETOAGENT": "Geben Sie Agent",
+ "ANNOUNCEMENTS": "Ankündigungen",
+ "ADVANCED": "Erweiterte",
+ "ANNOUNCEFREQUENCY": "Frequenz ankündigen",
+ "MINANNOUNCEFREQUENCY": "Minimale Frequenz ankündigen",
+ "PERIODICANNOUNCEFREQUENCY": "Periodische Frequenz ankündigen",
+ "RANDOMPERIODICANNOUNCE": "Random Periodische verkünden",
+ "ANNOUNCEHOLDTIME": "Geben Sie Zeit",
+ "ANNOUNCECALLERPOSITION": "Position des Anrufers bekannt",
+ "ANNOUNCEPOSITIONLIMIT": "Geben Position Limit",
+ "REPORTHOLDTIMEAGENT": "Bericht Agenten",
+ "PERIODICANNOUNCE": "Periodische verkünden",
+ "HOLDTIMEANNOUNCE": "Zeit in der Warteschleife verkünden",
+ "YOUARENEXTANNOUNCE": "\"Sie sind weiter' verkünden",
+ "THEREAREANNOUNCE": "'Es gibt' verkünden",
+ "WAITINGCALLSANNOUNCE": "Wartende Anrufe,",
+ "ESTIMATEDHOLDTIMEANNOUNCE": "Geschätzte Zeit halten,",
+ "MINUTESANNOUNCE": "Minuten ankündigen",
+ "MINUTEANNOUNCE": "Minute verkünden",
+ "SECONDSANNOUNCE": "Sekunden,",
+ "THANKYOUANNOUNCE": "'Vielen Dank' verkünden",
+ "AUTOPAUSE": "Auto Pause",
+ "AFTERCALLWORK": "Arbeit nach Anruf",
+ "AFTERCALLWORKDURATION": "Arbeit nach Anruf Dauer",
+ "RINGINUSE": "Ring in Verwendung",
+ "MEMBERDELAY": "Die Verzögerung",
+ "TIMEOUTRESTART": "Timeout starten",
+ "MONITORFORMAT": "Aufzeichnungsformat",
+ "SETINTERFACEVARIABLES": "Die Interface- Variablen",
+ "SETQUEUEVARIABLES": "Die Warteschlange Variablen",
+ "SETQUEUEENTRYVARIABLES": "Die Warteschlange ENTRY-Variablen",
"VARIABLE": "Variable",
- "CONTEXT": "Kontext Austritt aus Warteschlange",
+ "CONTEXT": "Kontext",
"SAVE": "Speichern",
"SETTINGS": "Einstellungen",
- "INBOUNDROUTES": "Eingehende Routen",
+ "INBOUNDROUTES": "Ankommende Routen",
"PHONENUMBER": "Telefonnummer",
"ADD_INBOUNDROUTE": "Eingehende Route hinzufügen",
- "EDIT_INBOUNDROUTE": "Eingehende Route bearbeiten",
- "DELETE_INBOUNDROUTE": "Eingehende Route löschen",
- "ACTIONS": "Routing",
- "OUTBOUNDROUTES": "Ausgehende Routen",
- "DESTINATIONPATTERN": "Ziel-Pattern",
+ "EDIT_INBOUNDROUTE": "Route für eingehende Anrufe bearbeiten.",
+ "DELETE_INBOUNDROUTE": "Löschen der Route für eingehende Anrufe",
+ "ACTIONS": "Aktionen",
+ "OUTBOUNDROUTES": "Abgehende Routen",
+ "DESTINATIONPATTERN": "Ziel Muster",
"ADD_OUTBOUNDROUTE": "Ausgehende Route hinzufügen",
- "EDIT_OUTBOUNDROUTE": "Ausgehende Route bearbeiten",
- "DELETE_OUTBOUNDROUTE": "Ausgehende Route löschen",
- "CUTDIGITS": "Ziffern abschneiden",
- "RECORDING": "Aufzeichnung",
+ "EDIT_OUTBOUNDROUTE": "Abgehende Route bearbeiten",
+ "DELETE_OUTBOUNDROUTE": "Abgehende Route löschen",
+ "CUTDIGITS": "Die Ziffern",
+ "RECORDING": "Aufnahme",
"RECORDINGFORMAT": "Aufzeichnungsformat",
"INTERNALROUTES": "Interne Routen",
- "ADD_INTERNALROUTE": "Interne Route hinzufügen",
+ "ADD_INTERNALROUTE": "Fügen Sie interne Routen",
"EDIT_INTERNALROUTE": "Interne Route bearbeiten",
- "DELETE_INTERNALROUTE": "Interne Route löschen",
+ "DELETE_INTERNALROUTE": "Interne Routen löschen",
"CONTEXTS": "Kontexte",
- "ADD_CONTEXT": "Kontext hinzufügen",
+ "ADD_CONTEXT": "Rahmen hinzufügen",
"EDIT_CONTEXT": "Kontext bearbeiten",
- "DELETE_CONTEXT": "Kontext löschen",
- "VOICEMAILS": "Voicemails",
- "ADD_VOICEMAIL": "Voicemail hinzufügen",
- "EDIT_VOICEMAIL": "Voicemail bearbeiten",
+ "DELETE_CONTEXT": "Löschen von Rahmen",
+ "VOICEMAILS": "Von Voicemails",
+ "ADD_VOICEMAIL": "Fügen Sie Voicemail",
+ "EDIT_VOICEMAIL": "Bearbeiten von Voicemail",
"DELETE_VOICEMAIL": "Voicemail löschen",
- "FULLNAME": "Vollständiger Name",
+ "FULLNAME": "Voller Name",
"EMAIL": "E-Mail",
"MAILBOX": "Mailbox",
"PASSWORD": "Passwort",
"CONFIRM_PASSWORD": "Passwort bestätigen",
"TIMEZONE": "Zeitzone",
- "ATTACH": "Anhang",
- "ENVELOPE": "Datum und Zeit ansagen",
- "DELETE": "Datei Löschen nach E-Mailversand",
+ "ATTACH": "Befestigen Sie",
+ "ENVELOPE": "Umschlag",
+ "DELETE": "Löschen",
"EMAILBODY": "E-Mail-Text",
- "EMAILSUBJECT": "E-Mail Betreff",
- "MAXSECONDS": "Max. Länge der Nachricht (Sekunden)",
- "MAXMESSAGES": "Max. Nachrichten in Mailbox",
+ "EMAILSUBJECT": "Betreff der E-Mail",
+ "MAXSECONDS": "In Sekunden",
+ "MAXMESSAGES": "Max. Nachrichten",
"MESSAGES": "Nachrichten",
"SORT": "Sortieren",
- "ADD_MUSICONHOLD": "Wartemusik hinzufügen",
- "MUSICONHOLDS": "Wartemusik",
- "EDIT_MUSICONHOLD": "Wartemusik bearbeiten",
- "DELETE_MUSICONHOLD": "Wartemusik löschen",
+ "ADD_MUSICONHOLD": "Hinzufügen von Musik auf Halten",
+ "MUSICONHOLDS": "Musik auf Halten",
+ "EDIT_MUSICONHOLD": "Bearbeiten Musik auf Halten",
+ "DELETE_MUSICONHOLD": "Löschen Sie Musik auf Halten",
"DIRECTORY": "Verzeichnis",
"AUDIOFILES": "Audiodateien",
- "RECORDINGS": "Aufzeichnungen",
- "CHANSPY": "Listen-In (Chanspy)",
+ "RECORDINGS": "Aufnahmen",
+ "CHANSPY": "ChanSpy",
"PREFIX": "Präfix",
"OPTIONS": "Optionen",
- "AUTH": "Authentifizierung",
- "ADD_CHANSPY": "Listen-In hinzufügen",
- "EDIT_CHANSPY": "Listen-In bearbeiten",
- "DELETE_CHANSPY": "Listen-In löschen",
+ "AUTH": "Auth",
+ "ADD_CHANSPY": "Fügen Sie ChanSpy",
+ "EDIT_CHANSPY": "Bearbeiten Sie ChanSpy",
+ "DELETE_CHANSPY": "Löschen Sie ChanSpy",
"AGENTS": "Agenten",
"TELEPHONES": "Telefone",
"QUEUES": "Warteschlangen",
- "QUEUE_CALLS": "Anrufe in Warteschlange",
- "QUEUE_PARAMETERS": "Warteschlangen-Parameter",
+ "QUEUE_CALLS": "Anrufe aus einer Warteschlange",
+ "QUEUE_PARAMETERS": "Queue Parameter",
"ABANDONED_CALLS": "Abgebrochene Anrufe",
"OUTBOUND_CALLS": "Ausgehende Anrufe",
"AGI": "AGI",
- "DIAL": "Wählen",
+ "DIAL": "Kurzwahl",
"CALLYSQUARE": "CallySquare",
- "INTERNALDIAL": "Intern wählen",
- "EXTERNALDIAL": "Extern wählen",
- "RINGGROUP": "Rufgruppe",
+ "INTERNALDIAL": "Interne Wahl",
+ "EXTERNALDIAL": "Externes Wählen",
+ "RINGGROUP": "Ring-Gruppe",
"PLAYBACK": "Wiedergabe",
"QUEUE": "Warteschlange",
- "SET": "Einstellen (Set)",
+ "SET": "Set",
"VOICEMAIL": "Voicemail",
"GOTO": "Gehe zu",
"HANGUP": "Auflegen",
- "CUSTOM": "Benutzerdefiniert",
- "PROJECT": "Call-Flow Projekt",
- "TECHNOLOGY/RESOURCE": "Technologie-/Ressource (Z.B. SIP/1003)",
+ "CUSTOM": "Benutzerdefinierte",
+ "PROJECT": "Cally-Square Projekt",
+ "TECHNOLOGY/RESOURCE": "Technologie-/Ressourcen",
"URL": "URL",
- "EDIT_APP": "Anwendung bearbeiten",
- "EDIT_INTERVAL": "Zeitintervall bearbeiten",
+ "EDIT_APP": "Anwendung bearbeiten.",
+ "EDIT_INTERVAL": "Intervall bearbeiten",
"DELETE_APP": "Anwendung löschen",
- "INTERVALS": "Zeitintervalle",
+ "INTERVALS": "Intervalle",
"USER": "Benutzer",
- "TRUNK": "SIP-Trunk",
+ "TRUNK": "Amtsleitung",
"PHONE": "Telefon",
"AUDIO_FILES": "Audiodateien",
- "ANNOUNCE_OVERRIDES": "Ansage überschreiben",
+ "ANNOUNCE_OVERRIDES": "Ãberschreibt ankündigen",
"MACRO": "Makro",
"GOSUB": "GoSub",
"RULE": "Regel",
"POSITION": "Position",
- "ANSWER": "Antwort vom System",
+ "ANSWER": "Antwort",
"VALUE": "Wert",
"MAILBOX@CONTEXT": "Mailbox@Kontext",
- "EXTENSION": "Nebenstelle",
+ "EXTENSION": "Erweiterung",
"PRIORITY": "Priorität",
- "HANGUP_CAUSE": "Auflegegrund",
- "OUTBOUNDDIAL": "Ausgehend wählen",
- "CALLER_ID": "Anrufer-ID",
+ "HANGUP_CAUSE": "Ursache auflegen",
+ "OUTBOUNDDIAL": "Wählen Sie für abgehende Anrufe",
+ "CALLER_ID": "Die Anrufer-ID",
"NO_MESSAGE_AVAILABLE": "Keine Meldungen vorhanden",
"NO_SOUND_AVAILABLE": "Kein Ton verfügbar",
- "VOICERECORDINGS": "Sprachaufzeichnungen",
- "CHANSPIES": "Listen-Ins",
- "VOICE": "Anrufe",
+ "VOICERECORDINGS": "Sprachaufnahmen",
+ "CHANSPIES": "Chan Spies",
+ "VOICE": "Voice",
"REALTIME": "Echtzeit",
- "ID": "ID",
+ "ID": "Id",
"VOICEMAIL_CONTEXT": "Kontext",
"NO_MOHSOUND_AVAILABLE": "Keine Wartemusik verfügbar",
"FILE": "Datei",
- "ADD_MOHSOUND": "Wartemusik hinzufügen",
- "DOWNLOAD_MOHSOUND": "Wartemusik herunterladen",
- "DELETE_MOHSOUND": "Wartemusik löschen",
+ "ADD_MOHSOUND": "Hinzufügen von Musik auf Halten sound",
+ "DOWNLOAD_MOHSOUND": "Download Music-on-Hold sound",
+ "DELETE_MOHSOUND": "Löschen Sie Music On Hold sound",
"UNIQUEID": "Eindeutige ID",
"AGENT": "Agent",
"TYPE": "Typ",
"RATING": "Bewertung",
"AUDIO": "Audio",
"DATE": "Datum",
- "NEW_VOICEQUEUE": "Neue Anruf-Warteschlange",
- "NEW_INBOUNDROUTE": "Neue eingehende Route",
- "NEW_OUTBOUNDROUTE": "Neue ausgehende Route",
- "NEW_INTERNALROUTE": "Neue interne Route",
- "NEW_CONTEXT": "Neuer Kontext",
+ "NEW_VOICEQUEUE": "Neue Stimme der Warteschlange",
+ "NEW_INBOUNDROUTE": "Neue Route für eingehende Anrufe",
+ "NEW_OUTBOUNDROUTE": "Neue abgehende Route",
+ "NEW_INTERNALROUTE": "Neue interne Routen",
+ "NEW_CONTEXT": "Neue Kontext",
"NEW_VOICEMAIL": "Neue Voicemail",
- "NEW_MUSICONHOLD": "Neue Wartemusik",
- "NEW_CHANSPY": "Neues Listen-In",
- "PENALTY": "Verzögerung",
- "ADD_TEAM_TO_VOICEQUEUE": "Team zur Warteschlange hinzufügen",
- "ADD_AGENT_TO_VOICEQUEUE": "Agenten zur Warteschlange hinzufügen",
- "EDIT_DIAL": "Kurzwahl bearbeiten",
+ "NEW_MUSICONHOLD": "Neue Musik auf Halten",
+ "NEW_CHANSPY": "Neue ChanSpy",
+ "PENALTY": "Strafe",
+ "ADD_TEAM_TO_VOICEQUEUE": "Team hinzufügen, Warteschlange",
+ "ADD_AGENT_TO_VOICEQUEUE": "Hinzufügen von Agenten der Warteschlange an die Mailbox",
+ "EDIT_DIAL": "Wählen Sie Bearbeiten.",
"EDIT_AGI": "AGI bearbeiten",
- "EDIT_INTERNALDIAL": "Interne Kurzwahl bearbeiten",
- "EDIT_EXTERNALDIAL": "Externe Kurzwahl bearbeiten",
- "EDIT_RINGGROUP": "Rufgruppe bearbeiten",
- "EDIT_PLAYBACK": "Wiedergabe bearbeiten",
- "EDIT_QUEUE": "Warteschlange bearbeiten",
- "EDIT_SET": "Set bearbeiten",
- "EDIT_GOTO": "\"Gehe-zu\" bearbeiten",
- "EDIT_HANGUP": "Auflegen bearbeiten",
- "EDIT_CUSTOM": "Benutzerdef. Einstellungen bearbeiten",
+ "EDIT_INTERNALDIAL": "Interne Wahl bearbeiten.",
+ "EDIT_EXTERNALDIAL": "Wählen Sie Externen bearbeiten",
+ "EDIT_RINGGROUP": "Gruppe bearbeiten",
+ "EDIT_PLAYBACK": "Bearbeiten Sie die Wiedergabe",
+ "EDIT_QUEUE": "Bearbeiten von Warteschlangen",
+ "EDIT_SET": "Bearbeiten",
+ "EDIT_GOTO": "Gehe zu bearbeiten.",
+ "EDIT_HANGUP": "Bearbeiten Sie Auflegen",
+ "EDIT_CUSTOM": "Bearbeiten von benutzerdefinierten",
"DURATION": "Dauer",
- "RECEIVED_AT": "Eingegangen am",
+ "RECEIVED_AT": "Empfangen am",
"YES": "Ja",
- "NO": "Nein",
- "HANGUPCAUSE_1": "1 = Nummer nicht zugewiesen",
- "HANGUPCAUSE_16": "16 = Beenden durch Nutzer",
- "HANGUPCAUSE_17": "17 = Besetzt",
- "HANGUPCAUSE_18": "18 = Keine Antwort (Nebenstelle nicht verbunden)",
+ "NO": "Keine",
+ "HANGUPCAUSE_1": "1 = Nicht zugewiesene Nummer",
+ "HANGUPCAUSE_16": "16 = Normail Anruf löschen",
+ "HANGUPCAUSE_17": "17 = Benutzer besetzt",
+ "HANGUPCAUSE_18": "18 = Keine Reaktion (Telefon Gerät nicht verbunden)",
"HANGUPCAUSE_21": "21 = Anruf abgelehnt",
- "HANGUPCAUSE_22": "22 = Nummer geändert",
- "HANGUPCAUSE_27": "27 = Ziel nicht verfügbar",
- "HANGUPCAUSE_38": "38 = Netzwerk nicht verfügbar",
+ "HANGUPCAUSE_22": "22 = Anzahl geändert",
+ "HANGUPCAUSE_27": "27 = Ziel nicht in Ordnung",
+ "HANGUPCAUSE_38": "38 = Netzwerk aus, um",
"HANGUPCAUSE_41": "41 = vorübergehende Störung",
- "RANDOM": "Zufall",
+ "RANDOM": "Random",
"ALPHABETICAL": "Alphabetisch",
"NO_APPS_AVAILABLE": "Keine Anwendungen verfügbar",
- "DOWNLOAD_VOICERECORDING": "Sprachaufzeichnung herunterladen",
- "DELETE_VOICERECORDING": "Sprachaufzeichnung löschen",
- "INTERNAL": "Intern",
- "PHONE_STATE": "Status Nebenstelle",
- "PHONE_STATUS": "SIP-Status Nebenstelle",
- "TRUNK_STATUS": "Status Trunk",
+ "DOWNLOAD_VOICERECORDING": "Download Voice Recording",
+ "DELETE_VOICERECORDING": "Löschen von Voice Recording",
+ "INTERNAL": "Interne",
+ "PHONE_STATE": "Telefonstatus",
+ "PHONE_STATUS": "Telefonstatus",
+ "TRUNK_STATUS": "Trunk Status",
"REGISTERED": "Registriert",
- "UNREGISTERED": "Nicht registriert",
- "LAGGED": "Verzögert",
+ "UNREGISTERED": "Unregistrierte",
+ "LAGGED": "Zurück",
"REACHABLE": "Erreichbar",
"UNREACHABLE": "Nicht erreichbar",
"UNKNOWN": "Unbekannt",
- "NOT_INUSE": "Nicht in Verwendung",
- "INUSE": "In Verwendung",
+ "NOT_INUSE": "Nicht in Gebrauch",
+ "INUSE": "Im Einsatz",
"BUSY": "Besetzt",
"INVALID": "Ungültig",
"UNAVAILABLE": "Nicht verfügbar",
"RINGING": "Klingeln",
- "ONHOLD": "Halten",
- "RING": "Klingeln",
- "UP": "Status",
- "INFO": "Information",
- "TRUNKS": "SIP-Trunks",
+ "ONHOLD": "Auf Halten",
+ "RING": "Ring",
+ "UP": "Bis",
+ "INFO": "Info",
+ "TRUNKS": "Amtsleitungen",
"REGISTRY": "Registrierung",
- "NO_REGISTRY": "Keine Registrierung",
+ "NO_REGISTRY": "Keine registry",
"LOGGED_IN": "Angemeldet",
"PAUSED": "Angehalten",
- "WAITING": "Wartezustand",
- "TALKING": "Im Gespräch",
- "DID": "DID",
+ "WAITING": "Warten",
+ "TALKING": "Sprechen",
+ "DID": "Haben",
"CALLER": "Anrufer",
- "TOTAL": "Gesamt",
+ "TOTAL": "Insgesamt",
"ANSWERED": "Beantwortet",
"ABANDONED": "Abgebrochen",
- "UNMANAGED": "Nicht bearbeitet",
- "AVG_HOLD_TIME": "Durchschnittliche Wartezeit",
- "AVG_DURATION": "Durchschnittliche Dauer",
- "AVG_BILLABLE": "Durchschnittliche abrechenbare Zeit",
- "SOURCE": "Ursprung",
+ "UNMANAGED": "Nicht verwaltete",
+ "AVG_HOLD_TIME": "Durchschnittl. Warteschleifenzeit",
+ "AVG_DURATION": "Av-Dauer",
+ "AVG_BILLABLE": "Avg Fakturierbaren",
+ "SOURCE": "Quelle",
"DESTINATION": "Ziel",
"REJECTED": "Abgelehnt",
"FAILED": "Fehlgeschlagen",
- "CALLED": "Angerufen",
+ "CALLED": "Aufgerufen",
"CONNECTED": "Verbunden",
"NO_RATING": "Keine Bewertung",
- "EDIT_VOICERECORDING": "Sprachaufzeichnung bearbeiten",
+ "EDIT_VOICERECORDING": "Edit Voice Recording",
"APPLICATION_NAME": "Name der Anwendung",
"ARGUMENTS": "Argumente",
- "NO_AVAILABLE_INFO": "Keine Informationen verfügbar",
- "ADD_AGENT_TO_QUEUE": "Agenten zur Warteschlange hinzufügen",
- "DEFAULT_PAUSE": "Standard Pause",
+ "NO_AVAILABLE_INFO": "Keine verfügbaren Info",
+ "ADD_AGENT_TO_QUEUE": "Agent zur Warteschlange hinzufügen",
+ "DEFAULT_PAUSE": "Standard PAUSE",
"PAUSE": "Pause",
- "UNPAUSE": "Fortsetzen",
- "REDIRECT_TO_NUMBER": "Weiterleiten an Nummer",
- "REDIRECT_TO_AGENT": "Weiterleiten an Agenten",
- "AGENTADD_VOICEQUEUE": "Agenten zu Warteschlange hinzufügen",
+ "UNPAUSE": "Pause",
+ "REDIRECT_TO_NUMBER": "Umleiten zu: Anzahl",
+ "REDIRECT_TO_AGENT": "Umleiten zu: Agent",
+ "AGENTADD_VOICEQUEUE": "Hinzufügen von Agenten der Warteschlange an die Mailbox",
"APPLICATION": "Anwendung",
"FILES": "Dateien",
"FORMAT": "Format",
"MODE": "Modus",
"RECORD": "Datensatz",
- "TEAMADD_VOICEQUEUE": "Team zur Warteschlange hinzufügen",
- "NEW_MOHSOUND": "Neue Wartemusik",
- "DOWNLOAD_MESSAGE": "Herunterladen",
+ "TEAMADD_VOICEQUEUE": "Hinzufügen Team voicequeue",
+ "NEW_MOHSOUND": "Neue Musik auf Halten",
+ "DOWNLOAD_MESSAGE": "Download",
"DELETE_MESSAGE": "Löschen",
"QUEUE_PARAMS": "Queue Parameter",
- "TOTAL_OFFERED": "Gesamt",
+ "TOTAL_OFFERED": "Insgesamt",
"READY": "Bereit",
- "AGENTADD_QUEUE": "Agenten zur Warteschlange hinzufügen",
- "AGENTSADD_QUEUE": "Agenten zur Warteschlangen hinzufügen",
- "ALL_TEAMS": "Alle Teams",
+ "AGENTADD_QUEUE": "Agent hinzufügen Warteschlangen zu Voice",
+ "AGENTSADD_QUEUE": "Hinzufügen von Agenten der Warteschlange an die Mailbox",
+ "ALL_TEAMS": "Alle Mannschaften",
"SELECTED_TEAMS": "Ausgewählte Teams",
"ALL_AGENTS": "Alle Agenten",
"SELECTED_AGENTS": "Ausgewählte Agenten",
"CLOSING": "SchlieÃen",
"TAGS": "Tags",
"WAITING_FOR_AGENT": "Warten auf Agenten",
- "EDIT_OUTBOUNDDIAL": "Wählverhalten ausgehend bearbeiten",
- "ACCOUNTNAME": "Kontoname",
+ "EDIT_OUTBOUNDDIAL": "Bearbeiten ausgehenden DFÃ",
+ "ACCOUNTNAME": "Konto Name",
"PAGE": "Seite",
"ROWSPERPAGE": "Zeilen pro Seite",
- "OF": "von",
- "DISPOSITION": "Qualifizierung",
+ "OF": "Von",
+ "DISPOSITION": "Disposition",
"WAITING_FOR_AGENTS": "Warten auf Agenten",
"CHAT": "Chat",
"MAIL": "E-Mail",
@@ -410,72 +410,72 @@
"OPENCHANNEL": "Offener Kanal",
"FAX": "Fax",
"NO_AGENT_ONLINE": "Kein Agent Online",
- "PARTIALPAUSE": "Teilpause",
+ "PARTIALPAUSE": "Teilweise Pause",
"STATUS": "Status",
"TIMER": "Timer",
"ALL": "Alle",
"IDLE": "Leerlauf",
- "EDIT_TRUNK": "Trunk bearbeiten",
+ "EDIT_TRUNK": "Bearbeiten Trunk",
"ACTIVE": "Aktiv",
- "CLEAR": "Leeren",
+ "CLEAR": "klar",
"CALLS": "Anrufe",
- "STARTEDAT": "Startdatum",
- "ENDEDAT": "Enddatum",
- "TAG": "Tag",
- "DETAILS": "Details",
+ "STARTEDAT": "Fing an bei",
+ "ENDEDAT": "Beendet bei",
+ "TAG": "Etikett",
+ "DETAILS": "Einzelheiten",
"BILLABLESECONDS": "Abrechenbare Sekunden",
- "ANSWEREDAT": "Beantwortet am",
- "NOTE": "Notiz",
+ "ANSWEREDAT": "Beantwortet bei",
+ "NOTE": "Hinweis",
"CLOSE": "SchlieÃen",
- "SELECT_DATE": "Startdatum auswählen",
- "SELECT_TYPE": "Typ auswählen",
- "ABANDONEDCALLS": "Abgebrochene Anrufe",
+ "SELECT_DATE": "Wählen Sie Startdatum",
+ "SELECT_TYPE": "Art auswählen",
+ "ABANDONEDCALLS": "Verlassene Warteschlangenanrufe",
"ADD_VOICEPREFIX": "Präfix hinzufügen",
- "AGENTADD_VOICEPREFIX": "Agentenpräfix hinzufügen",
+ "AGENTADD_VOICEPREFIX": "Fügen Sie Agent zu Präfix hinzu",
"DELETE_VOICEPREFIX": "Präfix löschen",
"EDIT_VOICEPREFIX": "Präfix bearbeiten",
"NEW_VOICEPREFIX": "Neues Präfix",
- "VOICEPREFIXES": "Präfixe für Sprachanrufe",
+ "VOICEPREFIXES": "Vorgegebene Präfixe",
"CALLERIDALL": "Anruferidentifikation",
"OUTBOUNDROUTE": "Ausgehende Route",
- "LOGIN_TIME": "Zeit angemeldet",
- "PAUSE_TIME": "Zeit in Pause",
+ "LOGIN_TIME": "Login-Zeit",
+ "PAUSE_TIME": "Pausenzeit",
"DIALER": "Dialer",
- "INBOUND": "Eingehend",
+ "INBOUND": "Eingehende",
"OUTBOUND": "Ausgehend",
- "MANDATORYDISPOSITION": "Qualifikation erforderlich",
- "MANDATORYDISPOSITIONPAUSEID": "PausenID bei erforderlicher Qualifizierung",
- "TEAMS_ASSOCIATION": "Teamzuweisung",
+ "MANDATORYDISPOSITION": "Zwingende Disposition",
+ "MANDATORYDISPOSITIONPAUSEID": "Status der obligatorischen Dispositionspause",
+ "TEAMS_ASSOCIATION": "Vereinigung der Mannschaften",
"CANT_DOWNLOAD_THIS_FILE": "Diese Datei kann nicht heruntergeladen werden",
"FILE_NOT_FOUND": "Datei nicht gefunden",
"SCREENRECORDING": "Bildschirmaufzeichnung verwalten",
- "START_SCREENRECORDING": "Bildschirmaufzeichnung starten",
- "STOP_SCREENRECORDING": "Bildschirmaufzeichnung beenden",
- "TOOLTIP_SCREENRECORDING_OFF": "Bildschirmaufzeichnung verfügbar",
- "TOOLTIP_SCREENRECORDING_ON": "Bildschirmaufzeichnung läuft",
- "WRONG_EXTENSION": "Ungültige Dateiendung",
+ "START_SCREENRECORDING": "Starten Sie die Bildschirmaufnahme",
+ "STOP_SCREENRECORDING": "Beenden Sie die Bildschirmaufnahme",
+ "TOOLTIP_SCREENRECORDING_OFF": "Bildschirmaufnahme verfügbar",
+ "TOOLTIP_SCREENRECORDING_ON": "Bildschirmaufnahme läuft",
+ "WRONG_EXTENSION": "Die Datei weist die falsche Erweiterung auf",
"DOWNLOADTRANSCRIBE_VOICERECORDING": "Transkript herunterladen",
"FAILUREREASON": "Fehlergrund",
- "RUNSENTIMENT_VOICERECORDING": "Starten Sprachaufzeichnung inkl. Sentiment",
- "RUNTRANSCRIBESENTIMENT_VOICERECORDING": "Transkription und Sentinemtaufzeichnung starten",
- "RUNTRANSCRIBE_VOICERECORDING": "Transkription starten",
- "SENTIMENT": "Sentiment",
- "SENTIMENTANALYSIS": "Sentiment-Analyse",
+ "RUNSENTIMENT_VOICERECORDING": "Führen Sie Sentiment",
+ "RUNTRANSCRIBESENTIMENT_VOICERECORDING": "Führen Sie Transcribe & Sentiment aus",
+ "RUNTRANSCRIBE_VOICERECORDING": "Führen Sie Transcribe aus",
+ "SENTIMENT": "Gefühl",
+ "SENTIMENTANALYSIS": "Stimmungsanalyse",
"SENTIMENT_MIXED": "Gemischt",
"SENTIMENT_NEGATIVE": "Negativ",
"SENTIMENT_NEUTRAL": "Neutral",
"SENTIMENT_POSITIVE": "Positiv",
"TEXT": "Text",
"TRANSCRIBE": "Transkribieren",
- "TRANSCRIBESTATUS_COMPLETED": "Transkription abgeschlossen",
- "TRANSCRIBESTATUS_FAILED": "Transkription fehlgeschlagen",
+ "TRANSCRIBESTATUS_COMPLETED": "Abgeschlossen",
+ "TRANSCRIBESTATUS_FAILED": "Gescheitert",
"TRANSCRIBESTATUS_IN_PROGRESS": "In Bearbeitung",
"TRANSCRIBESTATUS_NEW": "Neu",
"TRANSCRIPT": "Transkript",
"TRANSCRIPTANALYSIS": "Transkript & Analyse",
"SERVICELEVEL": "Service Level",
- "SECOND_LEVEL_DISPOSITION": "Qualifizierung 2. Ebene",
- "THIRD_LEVEL_DISPOSITION": "Qualifizierung 3. Ebene",
+ "SECOND_LEVEL_DISPOSITION": "Disposition der zweiten Ebene",
+ "THIRD_LEVEL_DISPOSITION": "Disposition der dritten Ebene",
"TEAMADD_VOICEPREFIX": "Team zum Präfix hinzufügen",
"ALIAS": "Alias",
"MAXCAPACITY": "Max. Kapazität erreicht",
diff --git a/public/app/main/apps/voice/i18n/pt-BR.json b/public/app/main/apps/voice/i18n/pt-BR.json
index 91c94ea..9a6a538 100644
--- a/public/app/main/apps/voice/i18n/pt-BR.json
+++ b/public/app/main/apps/voice/i18n/pt-BR.json
@@ -11,7 +11,7 @@
"TIMER": "Cronômetro",
"ALL": "Todos",
"IDLE": "Ocioso",
- "EDIT_TRUNK": "Editar Tronco",
+ "EDIT_TRUNK": "Editar tronco",
"GOTO_VOICEQUEUE": "Ir para filas de voz em tempo real",
"GOTOREALTIME_VOICEQUEUE": "Ir para filas de voz em tempo real",
"NAME": "Nome",
@@ -262,7 +262,7 @@
"TRUNK": "Tronco",
"PHONE": "Telefone",
"AUDIO_FILES": "Arquivos de áudio",
- "ANNOUNCE_OVERRIDES": "Anunciar Substituto",
+ "ANNOUNCE_OVERRIDES": "Anuncio substituto",
"MACRO": "Macro",
"GOSUB": "GoSub",
"RULE": "Regra",
@@ -332,12 +332,12 @@
"RANDOM": "Aleatória",
"ALPHABETICAL": "Alfabético",
"NO_APPS_AVAILABLE": "Não há aplicativos disponÃveis",
- "DOWNLOAD_VOICERECORDING": "Download Gravação de Voz",
+ "DOWNLOAD_VOICERECORDING": "Download gravação de voz",
"DELETE_VOICERECORDING": "Excluir gravação de voz",
"INTERNAL": "Interno",
"PHONE_STATE": "Estado do telefone",
"PHONE_STATUS": "Status do telefone",
- "TRUNK_STATUS": "Status do Tronco",
+ "TRUNK_STATUS": "Status do tronco",
"REGISTERED": "Registrado",
"UNREGISTERED": "Não registrado",
"LAGGED": "Atrasado",
@@ -352,7 +352,7 @@
"RINGING": "Tocando",
"ONHOLD": "Em espera",
"RING": "Tocar",
- "UP": "Cima",
+ "UP": "Up",
"INFO": "Informação",
"TRUNKS": "Troncos",
"REGISTRY": "Registro",
@@ -378,11 +378,11 @@
"CONNECTED": "Conectado",
"NO_RATING": "Sem avaliação",
"EDIT_VOICERECORDING": "Editar gravação de voz",
- "APPLICATION_NAME": "Nome da Aplicação",
+ "APPLICATION_NAME": "Nome da aplicação",
"ARGUMENTS": "Argumentos",
"NO_AVAILABLE_INFO": "Nenhuma informação disponÃvel",
"ADD_AGENT_TO_QUEUE": "Adicionar agente à fila",
- "DEFAULT_PAUSE": "PAUSA PADRÃO",
+ "DEFAULT_PAUSE": "Pausa Padrão",
"PAUSE": "Pausa",
"UNPAUSE": "Fim Pausa",
"REDIRECT_TO_NUMBER": "Redirecionar para número",
@@ -403,16 +403,16 @@
"AGENTADD_QUEUE": "Adicionar agente à fila de voz",
"AGENTSADD_QUEUE": "Adicionar agentes à fila de voz",
"ALL_TEAMS": "Todas as equipes",
- "SELECTED_TEAMS": "Equipes Selecionadas",
+ "SELECTED_TEAMS": "Equipes selecionadas",
"ALL_AGENTS": "Todos os agentes",
- "SELECTED_AGENTS": "Agentes Selecionados",
+ "SELECTED_AGENTS": "Agentes selecionados",
"CLOSING": "Fechamento",
"TAGS": "Tags",
- "WAITING_FOR_AGENT": "Aguardando Agentes",
+ "WAITING_FOR_AGENT": "Aguardando agentes",
"EDIT_OUTBOUNDDIAL": "Editar discagem de saÃda",
"ACCOUNTNAME": "Nome da conta",
"PAGE": "Página",
- "ROWSPERPAGE": "Linhas por Página",
+ "ROWSPERPAGE": "Linhas por página",
"OF": "do",
"DISPOSITION": "Disposição",
"CHAT": "Chat",
@@ -456,7 +456,7 @@
"WRONG_EXTENSION": "O arquivo apresenta a extensão incorreta",
"DOWNLOADTRANSCRIBE_VOICERECORDING": "Baixar transcrição",
"FAILUREREASON": "Razão da falha",
- "RUNSENTIMENT_VOICERECORDING": "Executar Sentiment",
+ "RUNSENTIMENT_VOICERECORDING": "Executar sentimento",
"RUNTRANSCRIBESENTIMENT_VOICERECORDING": "Executar transcrição e sentimento",
"RUNTRANSCRIBE_VOICERECORDING": "Executar a transcrição",
"SENTIMENT": "Sentimento",
@@ -474,7 +474,7 @@
"TRANSCRIPT": "Transcrição",
"TRANSCRIPTANALYSIS": "Transcrição e Análise",
"SERVICELEVEL": "NÃvel de serviço",
- "SECOND_LEVEL_DISPOSITION": "Disposição de Segundo NÃvel",
+ "SECOND_LEVEL_DISPOSITION": "Disposição de segundo NÃvel",
"THIRD_LEVEL_DISPOSITION": "Disposição de terceiro nÃvel",
"TEAMADD_VOICEPREFIX": "Adicionar equipe ao prefixo",
"ALIAS": "Pseudônimo",
diff --git a/public/app/main/apps/whatsapp/i18n/de.json b/public/app/main/apps/whatsapp/i18n/de.json
index be4500b..978ed15 100644
--- a/public/app/main/apps/whatsapp/i18n/de.json
+++ b/public/app/main/apps/whatsapp/i18n/de.json
@@ -1,245 +1,245 @@
{
"WHATSAPP": {
"ERRORS": {
- "ACCESSKEYID_REQUIRED": "Zugangsschlüssel erforderlich",
- "ACCOUNTSID_REQUIRED": "Konto-ID erforderlich",
- "AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung Transfer muss gröÃer oder gleich sein als",
- "AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung Transfer muss kleiner oder gleich sein als",
- "AGENTTRANSFERTIMEOUT_REQUIRED": "Zeitüberschreitung erforderlich",
- "AGENT_REQUIRED": "Agent erforderlich",
- "AGENT_TIMEOUT_REQUIRED": "Zeitüberschreitung Agent erforderlich",
- "AUTHTOKEN_REQUIRED": "Token für Authentifizierung erforderlich",
- "BOTNAME_REQUIRED": "BOT-Name erforderlich",
- "COMMAND_REQUIRED": "Eingabe erforderlich",
- "CONDITION_REQUIRED": "Bedingung erforderlich",
- "DESCRIPTION_REQUIRED": "Beschreibung erforderlich",
- "DISPOSITION_REQUIRED": "Qualifizierung erforderlich",
- "FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Priorität bei Bedingung nicht erfüllt muss gröÃer oder gleich sein als",
- "FALSEPRIORITY_REQUIRED": "Priorität bei nicht zutreffender Bedingung erforderlich",
- "KEY_MAX_LENGTH": "Wert darf nicht länger als {{max}} Zeichen sein",
- "KEY_REQUIRED": "Schlüssel erforderlich",
- "LANGUAGE_REQUIRED": "Sprache erforderlich",
- "LEXREGION_REQUIRED": "Lex-Region erforderlich",
- "LIST_REQUIRED": "Liste erforderlich",
- "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "PausenID während Qualifizierung erforderlich",
- "NAME_REQUIRED": "Name erforderlich",
- "PHONE_REQUIRED": "Telefonnummer erforderlich",
- "PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
- "PRIORITY_REQUIRED": "Priorität erforderlich",
- "QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung Warteschlangentransfer muss gröÃer oder gleich sein als",
- "QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung Warteschlangentransfer muss kleiner oder gleich sein als",
- "QUEUETRANSFERTIMEOUT_REQUIRED": "Zeitüberschreitung erforderlich",
- "QUEUE_REQUIRED": "Warteschlange erforderlich",
- "SECRETACCESSKEY_REQUIRED": "Geheimer Zugangsschlüssel erforderlich",
- "TAG_REQUIRED": "Tag erforderlich",
- "TEXT_REQUIRED": "Text erforderlich",
- "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss gröÃer oder gleich sein als",
- "TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Zeitüberschreitung muss kleiner oder gleich sein als",
- "TIMEOUT_REQUIRED": "Zeitüberschreitung erforderlich",
- "TIMES_REQUIRED": "Zeiten erforderlich",
- "TOKEN_REQUIRED": "Token erforderlich",
- "TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Priorität bei Bedingung erfüllt muss gröÃer oder gleich sein als",
- "TRUEPRIORITY_REQUIRED": "Priorität bei zutreffender Bedingung erforderlich",
- "TYPE_REQUIRED": "Typ erforderlich",
- "VALUE_REQUIRED": "Wert erforderlich",
- "VARIABLE_REQUIRED": "Variabel erforderlich",
- "WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Wert muss gröÃer oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Wert muss kleiner oder gleich sein als",
- "WAITFORTHEASSIGNEDAGENT_REQUIRED": "Auf zugewiesenen Agenten warten erforderlich",
- "WELCOMEMESSAGE_MAX_LENGTH": "Text darf nicht länger als {{max}} Zeichen sein",
- "WELCOMEMESSAGE_REQUIRED": "Willkommensnachricht erforderlich",
- "CLIENTEMAIL_REQUIRED": "Kunden E-Mail erforderlich",
- "PRIVATEKEY_REQUIRED": "Privater Schlüssel erforderlich",
- "PROJECTID_REQUIRED": "Projekt-ID erforderlich",
+ "ACCESSKEYID_REQUIRED": "Pflichtfeld",
+ "ACCOUNTSID_REQUIRED": "Pflichtfeld",
+ "AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein als",
+ "AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "AGENTTRANSFERTIMEOUT_REQUIRED": "Pflichtfeld",
+ "AGENT_REQUIRED": "Pflichtfeld",
+ "AGENT_TIMEOUT_REQUIRED": "Pflichtfeld",
+ "AUTHTOKEN_REQUIRED": "Pflichtfeld",
+ "BOTNAME_REQUIRED": "Pflichtfeld",
+ "COMMAND_REQUIRED": "Pflichtfeld",
+ "CONDITION_REQUIRED": "Pflichtfeld",
+ "DESCRIPTION_REQUIRED": "Pflichtfeld",
+ "DISPOSITION_REQUIRED": "Pflichtfeld",
+ "FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein als",
+ "FALSEPRIORITY_REQUIRED": "Pflichtfeld",
+ "KEY_MAX_LENGTH": "Der Wert muss eine maximale Länge von {{max}} haben",
+ "KEY_REQUIRED": "Pflichtfeld",
+ "LANGUAGE_REQUIRED": "Pflichtfeld",
+ "LEXREGION_REQUIRED": "Pflichtfeld",
+ "LIST_REQUIRED": "Pflichtfeld",
+ "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "Pflichtfeld",
+ "NAME_REQUIRED": "Pflichtfeld",
+ "PHONE_REQUIRED": "Pflichtfeld",
+ "PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein als",
+ "PRIORITY_REQUIRED": "Pflichtfeld",
+ "QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein als",
+ "QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "QUEUETRANSFERTIMEOUT_REQUIRED": "Pflichtfeld",
+ "QUEUE_REQUIRED": "Pflichtfeld",
+ "SECRETACCESSKEY_REQUIRED": "Pflichtfeld",
+ "TAG_REQUIRED": "Pflichtfeld",
+ "TEXT_REQUIRED": "Pflichtfeld",
+ "TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein als",
+ "TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "TIMEOUT_REQUIRED": "Pflichtfeld",
+ "TIMES_REQUIRED": "Pflichtfeld",
+ "TOKEN_REQUIRED": "Pflichtfeld",
+ "TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein als",
+ "TRUEPRIORITY_REQUIRED": "Pflichtfeld",
+ "TYPE_REQUIRED": "Pflichtfeld",
+ "VALUE_REQUIRED": "Pflichtfeld",
+ "VARIABLE_REQUIRED": "Pflichtfeld",
+ "WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "Der Wert muss gröÃer oder gleich sein als",
+ "WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "Der Wert muss kleiner oder gleich sein",
+ "WAITFORTHEASSIGNEDAGENT_REQUIRED": "Pflichtfeld",
+ "WELCOMEMESSAGE_MAX_LENGTH": "Der Wert muss eine maximale Länge von {{max}} haben",
+ "WELCOMEMESSAGE_REQUIRED": "Pflichtfeld",
+ "CLIENTEMAIL_REQUIRED": "Pflichtfeld",
+ "PRIVATEKEY_REQUIRED": "Pflichtfeld",
+ "PROJECTID_REQUIRED": "Pflichtfeld",
"BASEURL_REQUIRED": "Base_URL erforderlich"
},
"HELP": {
- "LIST": "Liste für die Zuordnung von Kontakten",
- "MANDATORYDISPOSITION": "Qualifizierung erforderlich",
- "MANDATORYDISPOSITIONPAUSEID": "PausenID bei erforderlicher Qualifizierung",
+ "LIST": "Kontaktmanagerliste zum Zuordnen von Kontakten",
+ "MANDATORYDISPOSITION": "Obligatorische Disposition",
+ "MANDATORYDISPOSITIONPAUSEID": "Pause, um zu verwenden, wenn die obligatorische Disposition aktiviert ist",
"MOTIONPROXY": "Das Feld muss das folgende Format haben: : // [: ]. Beispiel: https: //X.Y.Z.W",
- "NAME": "Es werden nur Zahlen, Buchstaben und Sonderzeichen (._) unterstützt",
+ "NAME": "Es werden nur Zahlen, Buchstaben und bestimmte Zeichen (._) unterstützt",
"RECEIVEURL": "Dies ist die automatisch generierte API-Zeichenfolge, die Sie zum Empfangen der Nachrichten in Ihrem Konto von Ihrem WhatsApp Connector-Anbieter verwenden müssen (POST-Methode muss verwendet werden): Klicken Sie auf die Schaltfläche in der Zwischenablage, um sie zu kopieren",
- "WELCOMEMESSAGE": "Erste Nachricht bei eintreffen einer neuen Interaktion"
+ "WELCOMEMESSAGE": "Dies ist die erste Antwortnachricht, die an neue Interaktionen gesendet wird"
},
- "ACCESSKEYID": "Access-Key ID",
- "ACCOUNTSID": "Konto-ID",
- "ACTIONS": "Routing",
+ "ACCESSKEYID": "Zugriffsschlüssel-ID",
+ "ACCOUNTSID": "Konto-SID",
+ "ACTIONS": "Aktionen",
"ADD_NOTE": "Notiz hinzufügen",
- "ADD_WHATSAPPACCOUNT": "WhatsApp-Konto hinzufügen",
- "ADD_WHATSAPPCANNEDANSWER": "WhatsApp Textvorlage hinzufügen",
- "ADD_WHATSAPPDISPOSITION": "WhatsApp Qualifizierung hinzufügen",
+ "ADD_WHATSAPPACCOUNT": "Hinzufügen",
+ "ADD_WHATSAPPCANNEDANSWER": "Vordefinierte Antwort hinzufügen",
+ "ADD_WHATSAPPDISPOSITION": "WhatsApp Disposition hinzufügen",
"ADD_WHATSAPPQUEUE": "WhatsApp-Warteschlange hinzufügen",
- "ADVANCED": "Erweitert",
+ "ADVANCED": "Fortgeschrittene",
"AGENT": "Agent",
- "AGENTADD_QUEUE": "Agenten zur Warteschlange hinzufügen",
- "AGENTADD_WHATSAPPACCOUNT": "Agenten zum WhatsApp-Konto hinzufügen",
- "AGENTADD_WHATSAPPQUEUE": "Agenten zur Warteschlange hinzufügen",
+ "AGENTADD_QUEUE": "Agent zur WhatsApp-Warteschlange hinzufügen",
+ "AGENTADD_WHATSAPPACCOUNT": "Agent zum WhatsApp-Konto hinzufügen",
+ "AGENTADD_WHATSAPPQUEUE": "Agent zur WhatsApp-Warteschlange hinzufügen",
"AGENTS": "Agenten",
- "AGENTSADD_QUEUE": "Agenten zur Warteschlange hinzufügen",
- "AGENTTRANSFER": "Transfer an Agenten erlauben",
- "AGENTTRANSFERTIMEOUT": "Zeitüberschreitung Agententransfer",
- "AGENT_TIMEOUT": "Zeitüberschreitung Agent",
+ "AGENTSADD_QUEUE": "Hinzufügen von Agenten zur WhatsApp-Warteschlange",
+ "AGENTTRANSFER": "Agententransfer",
+ "AGENTTRANSFERTIMEOUT": "Zeitüberschreitung bei der Agentenübertragung",
+ "AGENT_TIMEOUT": "Agent Timeout",
"ALL": "Alles",
"ALL_AGENTS": "Alle Agenten",
"ALL_TEAMS": "Alle Teams",
"AMAZONLEX": "AmazonLex",
- "AUTHTOKEN": "Authentifizierungs-Token",
+ "AUTHTOKEN": "Auth Token",
"AUTOREPLY": "Automatische Antwort",
"BACK": "Zurück",
- "BOTNAME": "BOT-Name",
+ "BOTNAME": "Bot Name",
"BUSY": "Beschäftigt",
- "CANNEDANSWERS": "Textvorlagen",
- "CANNED_ANSWER_NOT_FOUND": "Keine Textvorlagen gefunden",
- "CANNED_ANSWER_SEARCH": "Nach Textvorlagen suchen",
+ "CANNEDANSWERS": "Vordefinierte Antworten",
+ "CANNED_ANSWER_NOT_FOUND": "Es wurden keine vordefinierten Antworten gefunden",
+ "CANNED_ANSWER_SEARCH": "Geben Sie einen Text ein, um eine vordefinierte Antwort zu suchen",
"CAPACITY": "Kapazität",
"CLOSE": "SchlieÃen",
"CLOSED": "Geschlossen",
"CLOSEMETHOD": "Methode schlieÃen",
"CLOSEURL": "URL schlieÃen",
- "COMMAND": "Eingabe",
+ "COMMAND": "Befehl",
"CONDITION": "Bedingung",
"CONTACT": "Kontakt",
- "CREATED_AT": "Erstellt am",
- "DEFAULT_PAUSE": "Standardpause",
+ "CREATED_AT": "Hergestellt in",
+ "DEFAULT_PAUSE": "STANDARD PAUSE",
"DELETE": "Löschen",
"DELETE_INTERACTION": "Interaktion löschen",
"DELETE_SELECTED": "Ausgewählte löschen",
"DELETE_WHATSAPPACCOUNT": "WhatsApp-Konto löschen",
- "DELETE_WHATSAPPCANNEDANSWER": "Textvorlage löschen",
- "DELETE_WHATSAPPDISPOSITION": "Qualifizierung löschen",
+ "DELETE_WHATSAPPCANNEDANSWER": "Vordefinierte Antwort löschen",
+ "DELETE_WHATSAPPDISPOSITION": "WhatsApp-Disposition löschen",
"DELETE_WHATSAPPQUEUE": "WhatsApp-Warteschlange löschen",
"DESCRIPTION": "Beschreibung",
- "DIALOGFLOW": "Google DialogFlow",
- "DISPOSITION": "Qualifizierung",
- "DISPOSITIONS": "Qualifizierungen",
- "DOWNLOAD_INTERACTION": "Interaktion herunterladen",
- "DOWNLOAD_WITHOUT_ATTACHMENTS": "Herunterladen ohne Anhänge",
- "DOWNLOAD_WITH_ATTACHMENTS": "Herunterladen inkl. Anhänge",
- "EDIT_AGENT": "Agenten bearbeiten",
- "EDIT_AMAZONLEX": "Lex-Konfiguration bearbeiten",
+ "DIALOGFLOW": "DialogFlow",
+ "DISPOSITION": "Anordnung",
+ "DISPOSITIONS": "Dispositionen",
+ "DOWNLOAD_INTERACTION": "Herunterladen",
+ "DOWNLOAD_WITHOUT_ATTACHMENTS": "Ohne Anhänge herunterladen",
+ "DOWNLOAD_WITH_ATTACHMENTS": "Mit Anhängen herunterladen",
+ "EDIT_AGENT": "Agent bearbeiten",
+ "EDIT_AMAZONLEX": "Bearbeiten Sie die Lex-Konfiguration",
"EDIT_AUTOREPLY": "Automatische Antwort bearbeiten",
- "EDIT_CLOSE": "Bearbeitung abschlieÃen",
- "EDIT_DIALOGFLOW": "DialogFlow-Konfiguration bearbeiten",
- "EDIT_GOTOIF": "Bedingung bearbeiten und Priorität zuweisen",
- "EDIT_GOTOP": "\"GeheZu\" bearbeiten",
- "EDIT_NOOP": "Log-Erstellung bearbeiten",
+ "EDIT_CLOSE": "Bearbeiten SchlieÃen",
+ "EDIT_DIALOGFLOW": "Bearbeiten Sie die DialogFlow-Konfiguration",
+ "EDIT_GOTOIF": "Bearbeiten Sie Gotoif",
+ "EDIT_GOTOP": "Gotop bearbeiten",
+ "EDIT_NOOP": "Noop bearbeiten",
"EDIT_QUEUE": "Warteschlange bearbeiten",
"EDIT_SYSTEM": "System bearbeiten",
"EDIT_TAG": "Tag bearbeiten",
"EDIT_WHATSAPPACCOUNT": "WhatsApp-Konto bearbeiten",
- "EDIT_WHATSAPPCANNEDANSWER": "Textvorlage bearbeiten",
- "EDIT_WHATSAPPDISPOSITION": "Whatsapp-Qualifizierung bearbeiten",
- "EDIT_WHATSAPPQUEUE": "Whatsapp Warteschlange bearbeiten",
- "FALSEPRIORITY": "Priorität, wenn nicht erfüllt (false)",
- "GENERAL": "Allgemein",
- "GOTOIF": "GeheZuWenn (GoToIf)",
- "GOTOP": "Priorität zuweisen (GoToP)",
- "GOTOREALTIME_WHATSAPPQUEUE": "Direkt zur Echtzeit-Warteschlange",
- "GO_TO_WHATSAPPACCOUNTS": "Direkt zum WhatsApp-Konto",
- "ID": "ID",
+ "EDIT_WHATSAPPCANNEDANSWER": "Vordefinierte Antwort bearbeiten",
+ "EDIT_WHATSAPPDISPOSITION": "WhatsApp-Disposition bearbeiten",
+ "EDIT_WHATSAPPQUEUE": "Bearbeiten Sie die WhatsApp-Warteschlange",
+ "FALSEPRIORITY": "Falsche Priorität",
+ "GENERAL": "Allgemeines",
+ "GOTOIF": "Gotoif",
+ "GOTOP": "Zum Seitenanfang",
+ "GOTOREALTIME_WHATSAPPQUEUE": "Wechseln Sie zur WhatsApp-Warteschlange in Echtzeit",
+ "GO_TO_WHATSAPPACCOUNTS": "Gehe zu Konto",
+ "ID": "Ich würde",
"IDLE": "Leerlauf",
"INSERT_MESSAGE_HERE": "Nachricht hier einfügen",
"INTERACTIONS": "Interaktionen",
- "INTERACTIONS_WHATSAPPACCOUNT": "Zu den Interaktionen gehen",
+ "INTERACTIONS_WHATSAPPACCOUNT": "Gehen Sie zu Interaktionen",
"KEY": "Schlüssel",
"LANGUAGE": "Sprache",
"LASTMESSAGE": "Letzte Nachricht",
- "LEXREGION": "LexRegion",
- "LIST": "Liste",
- "LOGGED_IN": "Angemeldet",
- "LOGIN_TIME": "Zeit angemeldet",
- "LOGOUT": "Abgemeldet",
- "MANDATORYDISPOSITION": "Qualifizierung erforderlich",
- "MANDATORYDISPOSITIONPAUSEID": "PausenID während Qualifizierung",
+ "LEXREGION": "Region",
+ "LIST": "Aufführen",
+ "LOGGED_IN": "Eingeloggt (SIP verbunden)",
+ "LOGIN_TIME": "Anmeldezeit",
+ "LOGOUT": "Ausloggen",
+ "MANDATORYDISPOSITION": "Obligatorische Disposition",
+ "MANDATORYDISPOSITIONPAUSEID": "Pause, um zu verwenden, wenn die obligatorische Disposition aktiviert ist",
"MORE": "Mehr",
- "MOTIONPROXY": "Proxy",
+ "MOTIONPROXY": "Proxy- oder Bewegungsdomäne",
"MULTI_SELECT_TOGGLE": "Mehrfachauswahl umschalten",
"NAME": "Name",
"NEW_WHATSAPPACCOUNT": "Neues WhatsApp-Konto",
- "NEW_WHATSAPPCANNEDANSWER": "Neue WhatsApp-Textvorlage",
- "NEW_WHATSAPPDISPOSITION": "Neue WhatsApp-Qualifizierung",
+ "NEW_WHATSAPPCANNEDANSWER": "Neue vordefinierte WhatsApp-Antwort",
+ "NEW_WHATSAPPDISPOSITION": "Neue WhatsApp-Disposition",
"NEW_WHATSAPPQUEUE": "Neue WhatsApp-Warteschlange",
- "NOOP": "Log erstellen (NoOp)",
- "NOTE": "Anmerkung",
+ "NOOP": "Noop",
+ "NOTE": "Hinweis",
"NOTIFICATION": "Benachrichtigung",
- "NOTIFICATIONSHAKE": "Schütteln",
- "NOTIFICATIONSOUND": "Sound abspielen",
+ "NOTIFICATIONSHAKE": "Shake",
+ "NOTIFICATIONSOUND": "Klang",
"NOTIFICATIONTEMPLATE": "Vorlage",
"NO_AGENT_ONLINE": "Kein Agent online",
- "NO_AVAILABLE_INFO": "Keine Informationen verfügbar",
- "NO_INTERACTION_AVAILABLE": "Keine neuen Interaktionen verfügbar",
- "NO_WHATSAPPCANNEDANSWER_AVAILABLE": "Keine Textvorlagen verfügbar",
- "NO_WHATSAPPDISPOSITION_AVAILABLE": "Keine Qualifizierungen verfügbar",
+ "NO_AVAILABLE_INFO": "Keine verfügbaren Informationen",
+ "NO_INTERACTION_AVAILABLE": "Keine Interaktionen verfügbar",
+ "NO_WHATSAPPCANNEDANSWER_AVAILABLE": "Keine vordefinierten WhatsApp-Antworten verfügbar",
+ "NO_WHATSAPPDISPOSITION_AVAILABLE": "Keine WhatsApp-Dispositionen verfügbar",
"NO_WHATSAPP_ACCOUNTS_AVAILABLE": "Keine WhatsApp-Konten verfügbar",
"OF": "von",
"OPENED": "Geöffnet",
"PAGE": "Seite",
"PARTIALPAUSE": "Teilpause",
"PAUSE": "Pause",
- "PAUSED": "in Pause",
- "PAUSE_TIME": "Zeit in Pause",
+ "PAUSED": "Pause",
+ "PAUSE_TIME": "Pausenzeit",
"PHONE": "Telefon",
"PRIORITY": "Priorität",
"PROXY": "Proxy",
"QUEUE": "Warteschlange",
"QUEUES": "Warteschlangen",
- "QUEUETRANSFER": "Transfer an Warteschlange erlauben",
- "QUEUETRANSFERTIMEOUT": "Zeitüberschreitung für Warteschlangentransfer",
+ "QUEUETRANSFER": "Warteschlangenübertragung",
+ "QUEUETRANSFERTIMEOUT": "Zeitüberschreitung bei der Warteschlangenübertragung",
"READY": "Bereit",
"REALTIME": "Echtzeit",
- "RECEIVEURL": "URL für Erhalt",
+ "RECEIVEURL": "URL erhalten",
"REFRESH_INTERACTIONS": "Interaktionen aktualisieren",
- "REMOTE": "Remote",
+ "REMOTE": "Fernbedienung",
"ROWSPERPAGE": "Zeilen pro Seite",
- "SAVE": "Speichern",
- "SCREENRECORDING": "Bildschirmaufzeichnung",
+ "SAVE": "sparen",
+ "SCREENRECORDING": "Bildschirmaufzeichnung verwalten",
"SEARCH_FOR_ANYONE": "Suche",
- "SECRETACCESSKEY": "Geheimer Schlüssel",
+ "SECRETACCESSKEY": "Zugriffsschlüsselgeheimnis",
"SELECTED": "Ausgewählt",
"SELECTED_AGENTS": "Ausgewählte Agenten",
"SELECTED_TEAMS": "Ausgewählte Teams",
- "SELECT_ALL": "Alles auswählen",
- "SELECT_NONE": "Nichts auswählen",
+ "SELECT_ALL": "Wählen Sie Alle",
+ "SELECT_NONE": "Nichts ausgewählt",
"SEND": "Senden",
- "SETTINGS": "Einstellungen",
- "SPYINTERACTION": "Anzeigen",
- "STARTEDAT": "Startdatum",
- "START_SCREENRECORDING": "Bildschirmaufzeichnung starten",
+ "SETTINGS": "die Einstellungen",
+ "SPYINTERACTION": "Spionage-Interaktion",
+ "STARTEDAT": "Fing an bei",
+ "START_SCREENRECORDING": "Bildschirmaufnahme starten",
"STATUS": "Status",
"STOP_SCREENRECORDING": "Bildschirmaufzeichnung stoppen",
- "STRATEGY": "Verteilungsstrategie",
+ "STRATEGY": "Strategie",
"SYSTEM": "System",
- "TAG": "Tag",
- "TAGS": "Tags",
+ "TAG": "Etikett",
+ "TAGS": "Stichworte",
"TEAMADD_WHATSAPPQUEUE": "Team zur WhatsApp-Warteschlange hinzufügen",
- "TEAMS_ASSOCIATION": "Teamzuweisung",
+ "TEAMS_ASSOCIATION": "Mannschaftsverband",
"TEXT": "Text",
- "TIMEOUT": "Zeitüberschreitung",
+ "TIMEOUT": "Auszeit",
"TIMER": "Timer",
- "TIMES": "Zeiten",
- "TO": "an",
- "TOKEN": "Token",
- "TOOLTIP_SCREENRECORDING_OFF": "Bildschirmaufzeichnung verfügbar",
- "TOOLTIP_SCREENRECORDING_ON": "Bildschirmaufzeichnung läuft",
- "TRANSFER": "Weiterleiten",
- "TRUEPRIORITY": "Priorität, wenn erfüllt (true)",
- "TYPE": "Typ",
- "UNPAUSE": "Pause abbrechen",
+ "TIMES": "Mal",
+ "TO": "Zu",
+ "TOKEN": "Zeichen",
+ "TOOLTIP_SCREENRECORDING_OFF": "Bildschirmaufnahme verfügbar",
+ "TOOLTIP_SCREENRECORDING_ON": "Bildschirmaufnahme läuft",
+ "TRANSFER": "Transfer",
+ "TRUEPRIORITY": "Wahre Priorität",
+ "TYPE": "Art",
+ "UNPAUSE": "Pause beenden",
"VALUE": "Wert",
- "VARIABLE": "Variabel",
- "WAITFORTHEASSIGNEDAGENT": "Auf zugewiesenen Agenten warten",
+ "VARIABLE": "Variable",
+ "WAITFORTHEASSIGNEDAGENT": "Warten Sie auf den zugewiesenen Agenten",
"WAITING": "Warten",
"WELCOMEMESSAGE": "Willkommensnachricht",
"WHATSAPP": "WhatsApp Connector",
"WHATSAPPACCOUNTS": "WhatsApp-Konten",
- "WHATSAPPCANNEDANSWERS": "WhatsApp-Textvorlagen",
- "WHATSAPPDISPOSITIONS": "WhatsApp-Qualifizierungen",
+ "WHATSAPPCANNEDANSWERS": "WhatsApp vordefinierte Antworten",
+ "WHATSAPPDISPOSITIONS": "WhatsApp Dispositionen",
"WHATSAPPQUEUES": "WhatsApp-Warteschlangen",
- "CLIENTEMAIL": "Kunden E-Mail",
+ "CLIENTEMAIL": "Kunden-E-Mail",
"DIALOGFLOWV2": "Dialogflow V2",
"EDIT_DIALOGFLOWV2": "Dialogflow V2 bearbeiten",
- "PRIVATEKEY": "Privater Schlüssel",
+ "PRIVATEKEY": "Privat Schlüssel",
"PROJECTID": "Projekt-ID",
"BASEURL": "Base_URL",
"DELIVERYREPORTURL": "URL für Erhalt"
diff --git a/public/app/main/apps/whatsapp/i18n/pt-BR.json b/public/app/main/apps/whatsapp/i18n/pt-BR.json
index 97549f4..8d833e7 100644
--- a/public/app/main/apps/whatsapp/i18n/pt-BR.json
+++ b/public/app/main/apps/whatsapp/i18n/pt-BR.json
@@ -1,60 +1,60 @@
{
"WHATSAPP": {
"ERRORS": {
- "ACCESSKEYID_REQUIRED": "Campo Obrigatório",
- "ACCOUNTSID_REQUIRED": "Campo Obrigatório",
+ "ACCESSKEYID_REQUIRED": "Campo obrigatório",
+ "ACCOUNTSID_REQUIRED": "Campo obrigatório",
"AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
"AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "O valor deve ser menor ou igual a",
- "AGENTTRANSFERTIMEOUT_REQUIRED": "Campo Obrigatório",
- "AGENT_REQUIRED": "Campo Obrigatório",
- "AGENT_TIMEOUT_REQUIRED": "Campo Obrigatório",
- "AUTHTOKEN_REQUIRED": "Campo Obrigatório",
- "BOTNAME_REQUIRED": "Campo Obrigatório",
- "COMMAND_REQUIRED": "Campo Obrigatório",
- "CONDITION_REQUIRED": "Campo Obrigatório",
- "DESCRIPTION_REQUIRED": "Campo Obrigatório",
- "DISPOSITION_REQUIRED": "Campo Obrigatório",
+ "AGENTTRANSFERTIMEOUT_REQUIRED": "Campo obrigatório",
+ "AGENT_REQUIRED": "Campo obrigatório",
+ "AGENT_TIMEOUT_REQUIRED": "Campo obrigatório",
+ "AUTHTOKEN_REQUIRED": "Campo obrigatório",
+ "BOTNAME_REQUIRED": "Campo obrigatório",
+ "COMMAND_REQUIRED": "Campo obrigatório",
+ "CONDITION_REQUIRED": "Campo obrigatório",
+ "DESCRIPTION_REQUIRED": "Campo obrigatório",
+ "DISPOSITION_REQUIRED": "Campo obrigatório",
"FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
- "FALSEPRIORITY_REQUIRED": "Campo Obrigatório",
+ "FALSEPRIORITY_REQUIRED": "Campo obrigatório",
"KEY_MAX_LENGTH": "O valor deve ter um comprimento máximo igual a {{max}}",
- "KEY_REQUIRED": "Campo Obrigatório",
- "LANGUAGE_REQUIRED": "Campo Mandtório",
- "LEXREGION_REQUIRED": "Campo Obrigatório",
- "LIST_REQUIRED": "Campo Obrigatório",
- "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "Campo Obrigatório",
- "NAME_REQUIRED": "Campo Obrigatório",
- "PHONE_REQUIRED": "Campo Obrigatório",
+ "KEY_REQUIRED": "Campo obrigatório",
+ "LANGUAGE_REQUIRED": "Campo obrigatório",
+ "LEXREGION_REQUIRED": "Campo obrigatório",
+ "LIST_REQUIRED": "Campo obrigatório",
+ "MANDATORYDISPOSITIONPAUSEID_REQUIRED": "Campo obrigatório",
+ "NAME_REQUIRED": "Campo obrigatório",
+ "PHONE_REQUIRED": "Campo obrigatório",
"PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
- "PRIORITY_REQUIRED": "Campo Obrigatório",
+ "PRIORITY_REQUIRED": "Campo obrigatório",
"QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
"QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "O valor deve ser menor ou igual a",
- "QUEUETRANSFERTIMEOUT_REQUIRED": "Campo Obrigatório",
- "QUEUE_REQUIRED": "Campo Obrigatório",
- "SECRETACCESSKEY_REQUIRED": "Campo Obrigatório",
- "TAG_REQUIRED": "Campo Obrigatório",
- "TEXT_REQUIRED": "Campo Obrigatório",
+ "QUEUETRANSFERTIMEOUT_REQUIRED": "Campo obrigatório",
+ "QUEUE_REQUIRED": "Campo obrigatório",
+ "SECRETACCESSKEY_REQUIRED": "Campo obrigatório",
+ "TAG_REQUIRED": "Campo obrigatório",
+ "TEXT_REQUIRED": "Campo obrigatório",
"TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
"TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "O valor deve ser menor ou igual a",
- "TIMEOUT_REQUIRED": "Campo Obrigatório",
- "TIMES_REQUIRED": "Campo Obrigatório",
- "TOKEN_REQUIRED": "Campo Obrigatório",
+ "TIMEOUT_REQUIRED": "Campo obrigatório",
+ "TIMES_REQUIRED": "Campo obrigatório",
+ "TOKEN_REQUIRED": "Campo obrigatório",
"TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
- "TRUEPRIORITY_REQUIRED": "Campo Obrigatório",
- "TYPE_REQUIRED": "Campo Obrigatório",
- "VALUE_REQUIRED": "Campo Obrigatório",
- "VARIABLE_REQUIRED": "Campo Obrigatório",
+ "TRUEPRIORITY_REQUIRED": "Campo obrigatório",
+ "TYPE_REQUIRED": "Campo obrigatório",
+ "VALUE_REQUIRED": "Campo obrigatório",
+ "VARIABLE_REQUIRED": "Campo obrigatório",
"WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO": "O valor deve ser maior ou igual a",
"WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO": "O valor deve ser menor ou igual a",
- "WAITFORTHEASSIGNEDAGENT_REQUIRED": "Campo Obrigatório",
+ "WAITFORTHEASSIGNEDAGENT_REQUIRED": "Campo obrigatório",
"WELCOMEMESSAGE_MAX_LENGTH": "O valor deve ter um comprimento máximo igual a {{max}}",
- "WELCOMEMESSAGE_REQUIRED": "Campo Obrigatório",
- "CLIENTEMAIL_REQUIRED": "Campo Obrigatório",
- "PRIVATEKEY_REQUIRED": "Campo Obrigatório",
- "PROJECTID_REQUIRED": "Campo Obrigatório",
+ "WELCOMEMESSAGE_REQUIRED": "Campo obrigatório",
+ "CLIENTEMAIL_REQUIRED": "Campo obrigatório",
+ "PRIVATEKEY_REQUIRED": "Campo obrigatório",
+ "PROJECTID_REQUIRED": "Campo obrigatório",
"BASEURL_REQUIRED": "Campo Obrigatório"
},
"HELP": {
- "LIST": "Lista do gerenciador de contatos usada para associar contatos",
+ "LIST": "Lista do Gestão de Contatos usada para associar contatos",
"MANDATORYDISPOSITION": "Disposição obrigatória",
"MANDATORYDISPOSITIONPAUSEID": "Faça uma pausa para usar quando a disposição obrigatória estiver habilitada",
"MOTIONPROXY": "O campo deve ter o seguinte formato: : // [: ]. Exemplo: https: //X.Y.Z.W",
@@ -89,19 +89,19 @@
"BACK": "Costas",
"BOTNAME": "Nome do bot",
"BUSY": "Ocupado",
- "CANNEDANSWERS": "Respostas enlatadas",
- "CANNED_ANSWER_NOT_FOUND": "Nenhuma resposta automática foi encontrada",
- "CANNED_ANSWER_SEARCH": "Insira um texto para pesquisar uma resposta automática",
+ "CANNEDANSWERS": "Respostas pré-definidas",
+ "CANNED_ANSWER_NOT_FOUND": "Nenhuma resposta pré-definidas foi encontrada",
+ "CANNED_ANSWER_SEARCH": "Insira um texto para pesquisar uma resposta pré-definidas",
"CAPACITY": "Capacidade",
"CLOSE": "Perto",
"CLOSED": "Fechadas",
"CLOSEMETHOD": "Método Fechar",
"CLOSEURL": "Fechar URL",
"COMMAND": "Comando",
- "CONDITION": "Doença",
+ "CONDITION": "Condição",
"CONTACT": "Contato",
"CREATED_AT": "Criado em",
- "DEFAULT_PAUSE": "PAUSA PADRÃO",
+ "DEFAULT_PAUSE": "Pausa pafrão",
"DELETE": "Excluir",
"DELETE_INTERACTION": "Excluir interação",
"DELETE_SELECTED": "Excluir selecionado",
@@ -113,32 +113,32 @@
"DIALOGFLOW": "DialogFlow",
"DISPOSITION": "Disposição",
"DISPOSITIONS": "Disposições",
- "DOWNLOAD_INTERACTION": "Baixar",
- "DOWNLOAD_WITHOUT_ATTACHMENTS": "Baixar sem anexos",
- "DOWNLOAD_WITH_ATTACHMENTS": "Baixar com anexos",
- "EDIT_AGENT": "Editar Agente",
- "EDIT_AMAZONLEX": "Editar configuração Lex",
+ "DOWNLOAD_INTERACTION": "Download",
+ "DOWNLOAD_WITHOUT_ATTACHMENTS": "Download sem anexos",
+ "DOWNLOAD_WITH_ATTACHMENTS": "Download com anexos",
+ "EDIT_AGENT": "Editar agente",
+ "EDIT_AMAZONLEX": "Editar configuração AmazonLex",
"EDIT_AUTOREPLY": "Editar resposta automática",
- "EDIT_CLOSE": "Editar Fechar",
+ "EDIT_CLOSE": "Editar encerramento",
"EDIT_DIALOGFLOW": "Editar configuração do DialogFlow",
"EDIT_GOTOIF": "Editar Gotoif",
"EDIT_GOTOP": "Editar Gotop",
"EDIT_NOOP": "Editar Noop",
"EDIT_QUEUE": "Editar fila",
- "EDIT_SYSTEM": "Editar Sistema",
- "EDIT_TAG": "Editar etiqueta",
+ "EDIT_SYSTEM": "Editar sistema",
+ "EDIT_TAG": "Editar TAG",
"EDIT_WHATSAPPACCOUNT": "Editar conta WhatsApp",
"EDIT_WHATSAPPCANNEDANSWER": "Editar",
"EDIT_WHATSAPPDISPOSITION": "Editar disposição do WhatsApp",
"EDIT_WHATSAPPQUEUE": "Editar fila de WhatsApp",
- "FALSEPRIORITY": "Falsa Prioridade",
+ "FALSEPRIORITY": "Falsa prioridade",
"GENERAL": "Geral",
"GOTOIF": "Gotoif",
"GOTOP": "Seja o melhor",
"GOTOREALTIME_WHATSAPPQUEUE": "Vá para a fila de WhatsApp em tempo real",
"GO_TO_WHATSAPPACCOUNTS": "Ir para a conta",
- "ID": "Eu iria",
- "IDLE": "Ocioso",
+ "ID": "Id",
+ "IDLE": "DisponÃvel",
"INSERT_MESSAGE_HERE": "Insira a mensagem aqui",
"INTERACTIONS": "Interações",
"INTERACTIONS_WHATSAPPACCOUNT": "Vá para Interações",
@@ -148,16 +148,16 @@
"LEXREGION": "Região",
"LIST": "Lista",
"LOGGED_IN": "Conectado (SIP conectado)",
- "LOGIN_TIME": "Hora de Login",
+ "LOGIN_TIME": "Hora de login",
"LOGOUT": "Sair",
- "MANDATORYDISPOSITION": "Disposição Obrigatória",
+ "MANDATORYDISPOSITION": "Disposição obrigatória",
"MANDATORYDISPOSITIONPAUSEID": "Faça uma pausa para usar quando a disposição obrigatória estiver habilitada",
"MORE": "Mais",
- "MOTIONPROXY": "DomÃnio de proxy ou movimento",
+ "MOTIONPROXY": "Motion Proxy",
"MULTI_SELECT_TOGGLE": "Alternância de seleção múltipla",
"NAME": "Nome",
"NEW_WHATSAPPACCOUNT": "Nova conta WhatsApp",
- "NEW_WHATSAPPCANNEDANSWER": "Nova resposta predeterminada do WhatsApp",
+ "NEW_WHATSAPPCANNEDANSWER": "Nova resposta pré-definidas do WhatsApp",
"NEW_WHATSAPPDISPOSITION": "Nova disposição do WhatsApp",
"NEW_WHATSAPPQUEUE": "Nova fila de WhatsApp",
"NOOP": "Noop",
@@ -197,13 +197,13 @@
"SEARCH_FOR_ANYONE": "Procurar",
"SECRETACCESSKEY": "Chave secreta de acesso",
"SELECTED": "Selecionado",
- "SELECTED_AGENTS": "Agentes Selecionados",
- "SELECTED_TEAMS": "Times Selecionados",
+ "SELECTED_AGENTS": "Agentes selecionados",
+ "SELECTED_TEAMS": "Equipes selecionados",
"SELECT_ALL": "Selecionar tudo",
"SELECT_NONE": "Selecione nenhum",
"SEND": "Enviar",
"SETTINGS": "Configurações",
- "SPYINTERACTION": "Interação de espião",
+ "SPYINTERACTION": "Espionar interação",
"STARTEDAT": "Começou à s",
"START_SCREENRECORDING": "Iniciar gravação de tela",
"STATUS": "Status",
@@ -233,9 +233,9 @@
"WELCOMEMESSAGE": "Mensagem de boas-vindas",
"WHATSAPP": "Conector WhatsApp",
"WHATSAPPACCOUNTS": "Contas WhatsApp",
- "WHATSAPPCANNEDANSWERS": "Respostas predeterminadas do WhatsApp",
- "WHATSAPPDISPOSITIONS": "Dispositivos do WhatsApp",
- "WHATSAPPQUEUES": "WhatsApp Queues",
+ "WHATSAPPCANNEDANSWERS": "Respostas pré-definidas do WhatsApp",
+ "WHATSAPPDISPOSITIONS": "Disposições do WhatsApp",
+ "WHATSAPPQUEUES": "WhatsApp Filas",
"CLIENTEMAIL": "Email do cliente",
"DIALOGFLOWV2": "Dialogflow V2",
"EDIT_DIALOGFLOWV2": "Editar Dialogflow V2",
diff --git a/public/app/quick-panel/i18n/pt-BR.json b/public/app/quick-panel/i18n/pt-BR.json
index 477aad5..c7b067f 100644
--- a/public/app/quick-panel/i18n/pt-BR.json
+++ b/public/app/quick-panel/i18n/pt-BR.json
@@ -35,7 +35,7 @@
"NOVEMBER": "Novembro",
"DECEMBER": "Dezembro",
"CHAT": "CHAT",
- "ACTIVITY": "ATIVIDADE",
+ "ACTIVITY": "Atividade",
"FRIENDS": "Amigos",
"APP_SERVERS": "Servidores de Aplicativos",
"USER_STATS": "EstatÃsticas do usuário",
@@ -43,14 +43,14 @@
"NOTES": "Notas",
"QUICK_SETTINGS": "Configurações rápidas",
"NOTIFICATIONS": "Notificações",
- "CLOUD_SYNC": "Sincronizar Nuvem",
- "RETRO_THRUSTERS": "Retro Propulsores",
+ "CLOUD_SYNC": "Sincronizar nuvem",
+ "RETRO_THRUSTERS": "Retro propulsores",
"RECENT": "Recente",
"START_NEW_CHAT": "Começar novo Chat",
"BACK": "Voltar",
"CALL": "Chamada",
"MORE": "Mais",
- "SEND_MESSAGE": "Enviar Mensagem",
+ "SEND_MESSAGE": "Enviar mensagem",
"REPLY_PLACEHOLDER": "Digite e aperte enter para enviar mensagem",
"CONTACT_XCALLY_MOTION_SUPPORT": "Entre em contato com xCALLY Motion Support",
"EXPIRATION_DATE": "Data de validade",
@@ -67,7 +67,7 @@
"MESSENGER_DISABLED": "A mensagem interna está desativada para este agente!",
"WARNING": "Aviso",
"ERRORS": {
- "NAME_REQUIRED": "Campo Obrigatório"
+ "NAME_REQUIRED": "Campo obrigatório"
}
}
}
diff --git a/public/app/toolbar/i18n/pt-BR.json b/public/app/toolbar/i18n/pt-BR.json
index c33884e..5ce0d41 100644
--- a/public/app/toolbar/i18n/pt-BR.json
+++ b/public/app/toolbar/i18n/pt-BR.json
@@ -22,7 +22,7 @@
"TRANSFER": "Transferir",
"TARGET": "Objetivo",
"CANCEL": "Cancelar",
- "FILENAME": "Nome do Arquivo",
+ "FILENAME": "Nome do arquivo",
"STATUS": "Status",
"ACTIONS": "Ações",
"SPEAKER": "Alto-falante",
@@ -70,10 +70,10 @@
"PERSIAN": "Persa",
"LATVIAN": "Latvian",
"POLISH": "Polonês",
- "LOGIN_TIME": "Hora do Login",
+ "LOGIN_TIME": "Hora do login",
"PAUSE_TIME": "Tempo de pausa",
"PREVIEW": "Visualizar",
- "CONFIRM_PASSWORD": "Confirme a Senha",
+ "CONFIRM_PASSWORD": "Confirme a senha",
"NEW_PASSWORD": "Nova senha",
"OLD_PASSWORD": "Senha antiga",
"SAVE": "Salvar",
diff --git a/server/api/action/action.attributes.js b/server/api/action/action.attributes.js
index 28c6a57..976a746 100644
--- a/server/api/action/action.attributes.js
+++ b/server/api/action/action.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x051a=['TEXT','urlForward[body]','exports','getDataValue','action','STRING','contactManager','integration','motionbar','jscripty','urlForward','browser','script','Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script','contactManager[autoCreate(0=No,1=Yes)],\x20urlForward[URL],\x20script[type],\x20integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20browser[TemplateId,URL]','contactManager[searchFields],\x20script[script],\x20integration[ConfigurationId],\x20motionbar[NULL,eventVariables(0=No,1=Yes),WinAppArguments],\x20browser[NULL,eventVariables(0=No,1=Yes)]','browser[location(0=NewTab,1=NewWindow,2=MotionTab)],\x20contactManager[autoCreateField]'];(function(_0x17406a,_0x1e2320){var _0x1501ff=function(_0x4b075a){while(--_0x4b075a){_0x17406a['push'](_0x17406a['shift']());}};_0x1501ff(++_0x1e2320);}(_0x051a,0x9b));var _0xa051=function(_0x5e011d,_0x5b3ec1){_0x5e011d=_0x5e011d-0x0;var _0x221781=_0x051a[_0x5e011d];return _0x221781;};'use strict';var Sequelize=require('sequelize');module[_0xa051('0x0')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x38f51f){return this[_0xa051('0x1')](_0xa051('0x2'));}},'action':{'type':Sequelize[_0xa051('0x3')],'allowNull':![],'validate':{'isIn':{'args':[[_0xa051('0x4'),_0xa051('0x5'),_0xa051('0x6'),_0xa051('0x7'),_0xa051('0x8'),_0xa051('0x9'),'bot',_0xa051('0xa')]],'msg':_0xa051('0xb')}},'comment':_0xa051('0xb')},'data1':{'type':Sequelize['STRING'](0x1000),'comment':'jscripty[ProjectId],\x20browser[type(0=Popup,1=CTI\x20URL)],\x20contactManager[ListId],\x20urlForward[type(GET,POST,PUT,DELETE)],\x20script[info],\x20integration[intName(desk,dynamics365,freshdesk,freshsales,salesforce,sugarcrm,vtiger,zendesk,zoho)],\x20motionbar[type(0=Popup,1=CTI\x20URL,2=WinApp)]'},'data2':{'type':Sequelize[_0xa051('0x3')](0x1000),'comment':_0xa051('0xc')},'data3':{'type':Sequelize[_0xa051('0x3')](0x1000),'comment':_0xa051('0xd')},'data4':{'type':Sequelize['STRING'](0x1000),'comments':_0xa051('0xe')},'data5':{'type':Sequelize[_0xa051('0x3')](0x1000),'comments':'urlForward[timeout],\x20browser[windowWidth],\x20contactManager[ignoreDialerContactId]'},'data6':{'type':Sequelize[_0xa051('0x3')],'comments':'urlForward[headers],\x20browser[wsindowHeight]'},'data7':{'type':Sequelize[_0xa051('0xf')],'comments':_0xa051('0x10')}};
\ No newline at end of file
+var _0xcd90=['Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script','contactManager[searchFields],\x20script[script],\x20integration[ConfigurationId],\x20motionbar[NULL,eventVariables(0=No,1=Yes),WinAppArguments],\x20browser[NULL,eventVariables(0=No,1=Yes)]','urlForward[timeout],\x20browser[windowWidth],\x20contactManager[ignoreDialerContactId]','urlForward[headers],\x20browser[wsindowHeight]','urlForward[body]','sequelize','exports','VIRTUAL','getDataValue','STRING','integration','motionbar','urlForward','browser','bot'];(function(_0x3f2855,_0x220576){var _0x20c16f=function(_0x38da20){while(--_0x38da20){_0x3f2855['push'](_0x3f2855['shift']());}};_0x20c16f(++_0x220576);}(_0xcd90,0x8c));var _0x0cd9=function(_0x3054be,_0x1bdc8b){_0x3054be=_0x3054be-0x0;var _0x3df150=_0xcd90[_0x3054be];return _0x3df150;};'use strict';var Sequelize=require(_0x0cd9('0x0'));module[_0x0cd9('0x1')]={'name':{'type':Sequelize[_0x0cd9('0x2')],'get':function(_0x5f26c3){return this[_0x0cd9('0x3')]('action');}},'action':{'type':Sequelize[_0x0cd9('0x4')],'allowNull':![],'validate':{'isIn':{'args':[['contactManager',_0x0cd9('0x5'),_0x0cd9('0x6'),'jscripty',_0x0cd9('0x7'),_0x0cd9('0x8'),_0x0cd9('0x9'),'script']],'msg':_0x0cd9('0xa')}},'comment':'Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script'},'data1':{'type':Sequelize['STRING'](0x1000),'comment':'jscripty[ProjectId],\x20browser[type(0=Popup,1=CTI\x20URL)],\x20contactManager[ListId],\x20urlForward[type(GET,POST,PUT,DELETE)],\x20script[info],\x20integration[intName(desk,dynamics365,freshdesk,freshsales,salesforce,sugarcrm,vtiger,zendesk,zoho)],\x20motionbar[type(0=Popup,1=CTI\x20URL,2=WinApp)]'},'data2':{'type':Sequelize['STRING'](0x1000),'comment':'contactManager[autoCreate(0=No,1=Yes)],\x20urlForward[URL],\x20script[type],\x20integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20browser[TemplateId,URL]'},'data3':{'type':Sequelize[_0x0cd9('0x4')](0x1000),'comment':_0x0cd9('0xb')},'data4':{'type':Sequelize[_0x0cd9('0x4')](0x1000),'comments':'browser[location(0=NewTab,1=NewWindow,2=MotionTab)],\x20contactManager[autoCreateField]'},'data5':{'type':Sequelize[_0x0cd9('0x4')](0x1000),'comments':_0x0cd9('0xc')},'data6':{'type':Sequelize['STRING'],'comments':_0x0cd9('0xd')},'data7':{'type':Sequelize['TEXT'],'comments':_0x0cd9('0xe')}};
\ No newline at end of file
diff --git a/server/api/action/action.controller.js b/server/api/action/action.controller.js
index c659367..5615e3e 100644
--- a/server/api/action/action.controller.js
+++ b/server/api/action/action.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xc439=['crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','offset','undefined','limit','count','set','json','apply','save','update','destroy','then','error','name','send','body','find','params','catch','Action','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','util','sox','ejs','fs-extra','lodash','squel'];(function(_0x4fa892,_0x41f525){var _0x2d1e7b=function(_0x5eae1e){while(--_0x5eae1e){_0x4fa892['push'](_0x4fa892['shift']());}};_0x2d1e7b(++_0x41f525);}(_0xc439,0x1b5));var _0x9c43=function(_0x27bcba,_0xf8342){_0x27bcba=_0x27bcba-0x0;var _0x33260b=_0xc439[_0x27bcba];return _0x33260b;};'use strict';var emlformat=require(_0x9c43('0x0'));var rimraf=require(_0x9c43('0x1'));var zipdir=require(_0x9c43('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x9c43('0x3'));var moment=require(_0x9c43('0x4'));var BPromise=require(_0x9c43('0x5'));var Mustache=require(_0x9c43('0x6'));var util=require(_0x9c43('0x7'));var path=require('path');var sox=require(_0x9c43('0x8'));var csv=require('to-csv');var ejs=require(_0x9c43('0x9'));var fs=require('fs');var fs_extra=require(_0x9c43('0xa'));var _=require(_0x9c43('0xb'));var squel=require(_0x9c43('0xc'));var crypto=require(_0x9c43('0xd'));var jsforce=require(_0x9c43('0xe'));var deskjs=require(_0x9c43('0xf'));var toCsv=require(_0x9c43('0x10'));var querystring=require(_0x9c43('0x11'));var Papa=require(_0x9c43('0x12'));var Redis=require(_0x9c43('0x13'));var authService=require(_0x9c43('0x14'));var qs=require(_0x9c43('0x15'));var as=require(_0x9c43('0x16'));var hardwareService=require(_0x9c43('0x17'));var logger=require(_0x9c43('0x18'))('api');var utils=require(_0x9c43('0x19'));var config=require(_0x9c43('0x1a'));var licenseUtil=require(_0x9c43('0x1b'));var db=require(_0x9c43('0x1c'))['db'];function respondWithStatusCode(_0xde4e49,_0x3f05ac){_0x3f05ac=_0x3f05ac||0xcc;return function(_0x394326){if(_0x394326){return _0xde4e49[_0x9c43('0x1d')](_0x3f05ac);}return _0xde4e49['status'](_0x3f05ac)['end']();};}function respondWithResult(_0x14d4ac,_0xed5897){_0xed5897=_0xed5897||0xc8;return function(_0x80d54f){if(_0x80d54f){return _0x14d4ac[_0x9c43('0x1e')](_0xed5897)['json'](_0x80d54f);}};}function respondWithFilteredResult(_0x553dda,_0x4693c2){return function(_0x297e4a){if(_0x297e4a){var _0x5243ec=typeof _0x4693c2[_0x9c43('0x1f')]===_0x9c43('0x20')&&typeof _0x4693c2[_0x9c43('0x21')]===_0x9c43('0x20');var _0x4ca278=_0x297e4a[_0x9c43('0x22')];var _0x336a16=_0x5243ec?0x0:_0x4693c2[_0x9c43('0x1f')];var _0x2fb2c9=_0x5243ec?_0x297e4a[_0x9c43('0x22')]:_0x4693c2[_0x9c43('0x1f')]+_0x4693c2['limit'];var _0x3a371c;if(_0x2fb2c9>=_0x4ca278){_0x2fb2c9=_0x4ca278;_0x3a371c=0xc8;}else{_0x3a371c=0xce;}_0x553dda[_0x9c43('0x1e')](_0x3a371c);return _0x553dda[_0x9c43('0x23')]('Content-Range',_0x336a16+'-'+_0x2fb2c9+'/'+_0x4ca278)[_0x9c43('0x24')](_0x297e4a);}return null;};}function patchUpdates(_0x198459){return function(_0x4bc72f){try{jsonpatch[_0x9c43('0x25')](_0x4bc72f,_0x198459,!![]);}catch(_0x46136e){return BPromise['reject'](_0x46136e);}return _0x4bc72f[_0x9c43('0x26')]();};}function saveUpdates(_0x4fac12,_0x2adb5c){return function(_0x319d02){if(_0x319d02){return _0x319d02[_0x9c43('0x27')](_0x4fac12)['then'](function(_0x1a2d69){return _0x1a2d69;});}return null;};}function removeEntity(_0x554c1d,_0x2f4e58){return function(_0x12eb67){if(_0x12eb67){return _0x12eb67[_0x9c43('0x28')]()[_0x9c43('0x29')](function(){_0x554c1d[_0x9c43('0x1e')](0xcc)['end']();});}};}function handleEntityNotFound(_0x51e861,_0x411068){return function(_0x2a631a){if(!_0x2a631a){_0x51e861[_0x9c43('0x1d')](0x194);}return _0x2a631a;};}function handleError(_0x2d86d7,_0x3d499d){_0x3d499d=_0x3d499d||0x1f4;return function(_0x1e2af0){logger[_0x9c43('0x2a')](_0x1e2af0['stack']);if(_0x1e2af0[_0x9c43('0x2b')]){delete _0x1e2af0['name'];}_0x2d86d7[_0x9c43('0x1e')](_0x3d499d)[_0x9c43('0x2c')](_0x1e2af0);};}exports['update']=function(_0x3588e8,_0xc5d54b){if(_0x3588e8[_0x9c43('0x2d')]['id']){delete _0x3588e8[_0x9c43('0x2d')]['id'];}return db['Action'][_0x9c43('0x2e')]({'where':{'id':_0x3588e8[_0x9c43('0x2f')]['id']}})[_0x9c43('0x29')](handleEntityNotFound(_0xc5d54b,null))['then'](saveUpdates(_0x3588e8[_0x9c43('0x2d')],null))[_0x9c43('0x29')](respondWithResult(_0xc5d54b,null))[_0x9c43('0x30')](handleError(_0xc5d54b,null));};exports[_0x9c43('0x28')]=function(_0x1cf972,_0x4fca3f){return db[_0x9c43('0x31')][_0x9c43('0x2e')]({'where':{'id':_0x1cf972[_0x9c43('0x2f')]['id']}})[_0x9c43('0x29')](handleEntityNotFound(_0x4fca3f,null))[_0x9c43('0x29')](removeEntity(_0x4fca3f,null))['catch'](handleError(_0x4fca3f,null));};
\ No newline at end of file
+var _0xe625=['../../mysqldb','sendStatus','status','end','json','undefined','count','offset','limit','set','Content-Range','apply','save','update','then','destroy','error','name','body','Action','find','params','catch','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','fs-extra','lodash','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../config/license/util'];(function(_0x4f386f,_0x127b74){var _0x35064f=function(_0x17ce9e){while(--_0x17ce9e){_0x4f386f['push'](_0x4f386f['shift']());}};_0x35064f(++_0x127b74);}(_0xe625,0x75));var _0x5e62=function(_0x100da4,_0x253849){_0x100da4=_0x100da4-0x0;var _0x25efb6=_0xe625[_0x100da4];return _0x25efb6;};'use strict';var emlformat=require(_0x5e62('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x5e62('0x1'));var jsonpatch=require(_0x5e62('0x2'));var rp=require(_0x5e62('0x3'));var moment=require(_0x5e62('0x4'));var BPromise=require(_0x5e62('0x5'));var Mustache=require(_0x5e62('0x6'));var util=require(_0x5e62('0x7'));var path=require('path');var sox=require(_0x5e62('0x8'));var csv=require(_0x5e62('0x9'));var ejs=require(_0x5e62('0xa'));var fs=require('fs');var fs_extra=require(_0x5e62('0xb'));var _=require(_0x5e62('0xc'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0x5e62('0xd'));var deskjs=require(_0x5e62('0xe'));var toCsv=require(_0x5e62('0x9'));var querystring=require(_0x5e62('0xf'));var Papa=require(_0x5e62('0x10'));var Redis=require('ioredis');var authService=require(_0x5e62('0x11'));var qs=require(_0x5e62('0x12'));var as=require(_0x5e62('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x5e62('0x14'));var utils=require(_0x5e62('0x15'));var config=require(_0x5e62('0x16'));var licenseUtil=require(_0x5e62('0x17'));var db=require(_0x5e62('0x18'))['db'];function respondWithStatusCode(_0x472fac,_0x1539c6){_0x1539c6=_0x1539c6||0xcc;return function(_0x3c182d){if(_0x3c182d){return _0x472fac[_0x5e62('0x19')](_0x1539c6);}return _0x472fac[_0x5e62('0x1a')](_0x1539c6)[_0x5e62('0x1b')]();};}function respondWithResult(_0x35c9e6,_0x2cc674){_0x2cc674=_0x2cc674||0xc8;return function(_0x5b95de){if(_0x5b95de){return _0x35c9e6[_0x5e62('0x1a')](_0x2cc674)[_0x5e62('0x1c')](_0x5b95de);}};}function respondWithFilteredResult(_0x20bf25,_0x105a7e){return function(_0x298bc0){if(_0x298bc0){var _0x365a06=typeof _0x105a7e['offset']===_0x5e62('0x1d')&&typeof _0x105a7e['limit']===_0x5e62('0x1d');var _0x29502a=_0x298bc0[_0x5e62('0x1e')];var _0x20d1d6=_0x365a06?0x0:_0x105a7e[_0x5e62('0x1f')];var _0x559613=_0x365a06?_0x298bc0[_0x5e62('0x1e')]:_0x105a7e[_0x5e62('0x1f')]+_0x105a7e[_0x5e62('0x20')];var _0x56f42f;if(_0x559613>=_0x29502a){_0x559613=_0x29502a;_0x56f42f=0xc8;}else{_0x56f42f=0xce;}_0x20bf25[_0x5e62('0x1a')](_0x56f42f);return _0x20bf25[_0x5e62('0x21')](_0x5e62('0x22'),_0x20d1d6+'-'+_0x559613+'/'+_0x29502a)[_0x5e62('0x1c')](_0x298bc0);}return null;};}function patchUpdates(_0x563f74){return function(_0x1a9802){try{jsonpatch[_0x5e62('0x23')](_0x1a9802,_0x563f74,!![]);}catch(_0x206dc6){return BPromise['reject'](_0x206dc6);}return _0x1a9802[_0x5e62('0x24')]();};}function saveUpdates(_0x3fdd8a,_0x389107){return function(_0x335051){if(_0x335051){return _0x335051[_0x5e62('0x25')](_0x3fdd8a)[_0x5e62('0x26')](function(_0x139fe1){return _0x139fe1;});}return null;};}function removeEntity(_0x14daf8,_0x4892a7){return function(_0x2edd60){if(_0x2edd60){return _0x2edd60[_0x5e62('0x27')]()[_0x5e62('0x26')](function(){_0x14daf8[_0x5e62('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x52cdec,_0x12b960){return function(_0x3b0d09){if(!_0x3b0d09){_0x52cdec['sendStatus'](0x194);}return _0x3b0d09;};}function handleError(_0x1cae3d,_0xf27aca){_0xf27aca=_0xf27aca||0x1f4;return function(_0x1f99bc){logger[_0x5e62('0x28')](_0x1f99bc['stack']);if(_0x1f99bc[_0x5e62('0x29')]){delete _0x1f99bc[_0x5e62('0x29')];}_0x1cae3d[_0x5e62('0x1a')](_0xf27aca)['send'](_0x1f99bc);};}exports[_0x5e62('0x25')]=function(_0x2870b4,_0x6f0ae4){if(_0x2870b4[_0x5e62('0x2a')]['id']){delete _0x2870b4[_0x5e62('0x2a')]['id'];}return db[_0x5e62('0x2b')][_0x5e62('0x2c')]({'where':{'id':_0x2870b4['params']['id']}})[_0x5e62('0x26')](handleEntityNotFound(_0x6f0ae4,null))[_0x5e62('0x26')](saveUpdates(_0x2870b4[_0x5e62('0x2a')],null))[_0x5e62('0x26')](respondWithResult(_0x6f0ae4,null))['catch'](handleError(_0x6f0ae4,null));};exports[_0x5e62('0x27')]=function(_0x3a6823,_0x597580){return db[_0x5e62('0x2b')]['find']({'where':{'id':_0x3a6823[_0x5e62('0x2d')]['id']}})[_0x5e62('0x26')](handleEntityNotFound(_0x597580,null))[_0x5e62('0x26')](removeEntity(_0x597580,null))[_0x5e62('0x2e')](handleError(_0x597580,null));};
\ No newline at end of file
diff --git a/server/api/action/action.model.js b/server/api/action/action.model.js
index 1c6912f..540b1b7 100644
--- a/server/api/action/action.model.js
+++ b/server/api/action/action.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x112a=['rimraf','../../config/environment','./action.attributes','exports','define','Action','tools_actions','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x54605a,_0x150dae){var _0x36fe83=function(_0x15c6b8){while(--_0x15c6b8){_0x54605a['push'](_0x54605a['shift']());}};_0x36fe83(++_0x150dae);}(_0x112a,0x115));var _0xa112=function(_0x2faa73,_0x29bf59){_0x2faa73=_0x2faa73-0x0;var _0x3e22d5=_0x112a[_0x2faa73];return _0x3e22d5;};'use strict';var _=require(_0xa112('0x0'));var util=require(_0xa112('0x1'));var logger=require(_0xa112('0x2'))(_0xa112('0x3'));var moment=require(_0xa112('0x4'));var BPromise=require(_0xa112('0x5'));var rp=require(_0xa112('0x6'));var fs=require('fs');var path=require(_0xa112('0x7'));var rimraf=require(_0xa112('0x8'));var config=require(_0xa112('0x9'));var attributes=require(_0xa112('0xa'));module[_0xa112('0xb')]=function(_0x41ca4c,_0x350cc4){return _0x41ca4c[_0xa112('0xc')](_0xa112('0xd'),attributes,{'tableName':_0xa112('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0xfde3=['bluebird','request-promise','path','../../config/environment','exports','define','tools_actions','lodash','moment'];(function(_0x120f00,_0x3e9268){var _0x5c3ce3=function(_0x4d0cc1){while(--_0x4d0cc1){_0x120f00['push'](_0x120f00['shift']());}};_0x5c3ce3(++_0x3e9268);}(_0xfde3,0xe8));var _0x3fde=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0xfde3[_0x2c91e9];return _0x13f0ff;};'use strict';var _=require(_0x3fde('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x3fde('0x1'));var BPromise=require(_0x3fde('0x2'));var rp=require(_0x3fde('0x3'));var fs=require('fs');var path=require(_0x3fde('0x4'));var rimraf=require('rimraf');var config=require(_0x3fde('0x5'));var attributes=require('./action.attributes');module[_0x3fde('0x6')]=function(_0xb76889,_0x49ea96){return _0xb76889[_0x3fde('0x7')]('Action',attributes,{'tableName':_0x3fde('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/action/action.rpc.js b/server/api/action/action.rpc.js
index e73d3cd..1073e08 100644
--- a/server/api/action/action.rpc.js
+++ b/server/api/action/action.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x4975=['ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request','info','Action,\x20%s,\x20%s','request\x20sent','debug','Action,\x20%s,\x20%s,\x20%s','stringify','error','message','result','catch','lodash','moment','bluebird','randomstring'];(function(_0x21aec3,_0x5c97e9){var _0x288bbc=function(_0x2283fe){while(--_0x2283fe){_0x21aec3['push'](_0x21aec3['shift']());}};_0x288bbc(++_0x5c97e9);}(_0x4975,0x86));var _0x5497=function(_0x57fe20,_0x4dc510){_0x57fe20=_0x57fe20-0x0;var _0x89342c=_0x4975[_0x57fe20];return _0x89342c;};'use strict';var _=require(_0x5497('0x0'));var util=require('util');var moment=require(_0x5497('0x1'));var BPromise=require(_0x5497('0x2'));var rs=require(_0x5497('0x3'));var fs=require('fs');var Redis=require(_0x5497('0x4'));var db=require(_0x5497('0x5'))['db'];var utils=require(_0x5497('0x6'));var logger=require(_0x5497('0x7'))(_0x5497('0x8'));var config=require(_0x5497('0x9'));var jayson=require(_0x5497('0xa'));var client=jayson['client'][_0x5497('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x4f563d,_0x1d0019,_0x674a2a){return new BPromise(function(_0x368e8b,_0x57f930){return client[_0x5497('0xc')](_0x4f563d,_0x674a2a)['then'](function(_0x1f63d8){logger[_0x5497('0xd')](_0x5497('0xe'),_0x1d0019,_0x5497('0xf'));logger[_0x5497('0x10')](_0x5497('0x11'),_0x1d0019,_0x5497('0xf'),JSON[_0x5497('0x12')](_0x1f63d8));if(_0x1f63d8['error']){if(_0x1f63d8['error']['code']===0x1f4){logger[_0x5497('0x13')](_0x5497('0xe'),_0x1d0019,_0x1f63d8[_0x5497('0x13')][_0x5497('0x14')]);return _0x57f930(_0x1f63d8[_0x5497('0x13')][_0x5497('0x14')]);}logger[_0x5497('0x13')](_0x5497('0xe'),_0x1d0019,_0x1f63d8[_0x5497('0x13')][_0x5497('0x14')]);return _0x368e8b(_0x1f63d8['error'][_0x5497('0x14')]);}else{logger['info'](_0x5497('0xe'),_0x1d0019,_0x5497('0xf'));_0x368e8b(_0x1f63d8[_0x5497('0x15')][_0x5497('0x14')]);}})[_0x5497('0x16')](function(_0x4073e6){logger[_0x5497('0x13')]('Action,\x20%s,\x20%s',_0x1d0019,_0x4073e6);_0x57f930(_0x4073e6);});});}
\ No newline at end of file
+var _0x1cb9=['error','message','result','catch','lodash','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','request','info','Action,\x20%s,\x20%s','request\x20sent','debug','Action,\x20%s,\x20%s,\x20%s','stringify'];(function(_0x376b45,_0x5964fb){var _0x2341b3=function(_0x5a7f01){while(--_0x5a7f01){_0x376b45['push'](_0x376b45['shift']());}};_0x2341b3(++_0x5964fb);}(_0x1cb9,0x14e));var _0x91cb=function(_0x11f37b,_0x2dcf5e){_0x11f37b=_0x11f37b-0x0;var _0x232b1b=_0x1cb9[_0x11f37b];return _0x232b1b;};'use strict';var _=require(_0x91cb('0x0'));var util=require('util');var moment=require(_0x91cb('0x1'));var BPromise=require(_0x91cb('0x2'));var rs=require(_0x91cb('0x3'));var fs=require('fs');var Redis=require(_0x91cb('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x91cb('0x5'));var logger=require(_0x91cb('0x6'))('rpc');var config=require(_0x91cb('0x7'));var jayson=require(_0x91cb('0x8'));var client=jayson[_0x91cb('0x9')][_0x91cb('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x3b9d98,_0x8f8a3b,_0x4c1f56){return new BPromise(function(_0x15c517,_0x5bda2f){return client[_0x91cb('0xb')](_0x3b9d98,_0x4c1f56)['then'](function(_0xa43e7a){logger[_0x91cb('0xc')](_0x91cb('0xd'),_0x8f8a3b,_0x91cb('0xe'));logger[_0x91cb('0xf')](_0x91cb('0x10'),_0x8f8a3b,_0x91cb('0xe'),JSON[_0x91cb('0x11')](_0xa43e7a));if(_0xa43e7a[_0x91cb('0x12')]){if(_0xa43e7a[_0x91cb('0x12')]['code']===0x1f4){logger[_0x91cb('0x12')](_0x91cb('0xd'),_0x8f8a3b,_0xa43e7a['error'][_0x91cb('0x13')]);return _0x5bda2f(_0xa43e7a[_0x91cb('0x12')][_0x91cb('0x13')]);}logger[_0x91cb('0x12')]('Action,\x20%s,\x20%s',_0x8f8a3b,_0xa43e7a['error'][_0x91cb('0x13')]);return _0x15c517(_0xa43e7a[_0x91cb('0x12')]['message']);}else{logger['info'](_0x91cb('0xd'),_0x8f8a3b,_0x91cb('0xe'));_0x15c517(_0xa43e7a[_0x91cb('0x14')]['message']);}})[_0x91cb('0x15')](function(_0x135890){logger['error'](_0x91cb('0xd'),_0x8f8a3b,_0x135890);_0x5bda2f(_0x135890);});});}
\ No newline at end of file
diff --git a/server/api/action/index.js b/server/api/action/index.js
index 6cc7c66..e2c834b 100644
--- a/server/api/action/index.js
+++ b/server/api/action/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x39c7=['../../config/environment','./action.controller','put','isAuthenticated','delete','destroy','exports','util','path','connect-timeout','express','fs-extra','../../components/interaction/service'];(function(_0x287531,_0x5732cf){var _0x5182c6=function(_0x5b1a64){while(--_0x5b1a64){_0x287531['push'](_0x287531['shift']());}};_0x5182c6(++_0x5732cf);}(_0x39c7,0xd7));var _0x739c=function(_0x4c2cf8,_0x1a7904){_0x4c2cf8=_0x4c2cf8-0x0;var _0x2dd086=_0x39c7[_0x4c2cf8];return _0x2dd086;};'use strict';var multer=require('multer');var util=require(_0x739c('0x0'));var path=require(_0x739c('0x1'));var timeout=require(_0x739c('0x2'));var express=require(_0x739c('0x3'));var router=express['Router']();var fs_extra=require(_0x739c('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x739c('0x5'));var config=require(_0x739c('0x6'));var controller=require(_0x739c('0x7'));router[_0x739c('0x8')]('/:id',auth[_0x739c('0x9')](),controller['update']);router[_0x739c('0xa')]('/:id',auth[_0x739c('0x9')](),controller[_0x739c('0xb')]);module[_0x739c('0xc')]=router;
\ No newline at end of file
+var _0x0325=['path','express','Router','fs-extra','../../components/interaction/service','./action.controller','put','isAuthenticated','update','delete','destroy','exports','multer'];(function(_0x15df1e,_0x865adb){var _0x315e3e=function(_0x52c829){while(--_0x52c829){_0x15df1e['push'](_0x15df1e['shift']());}};_0x315e3e(++_0x865adb);}(_0x0325,0xc2));var _0x5032=function(_0x1da56a,_0x55f3e5){_0x1da56a=_0x1da56a-0x0;var _0x2be273=_0x0325[_0x1da56a];return _0x2be273;};'use strict';var multer=require(_0x5032('0x0'));var util=require('util');var path=require(_0x5032('0x1'));var timeout=require('connect-timeout');var express=require(_0x5032('0x2'));var router=express[_0x5032('0x3')]();var fs_extra=require(_0x5032('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x5032('0x5'));var config=require('../../config/environment');var controller=require(_0x5032('0x6'));router[_0x5032('0x7')]('/:id',auth[_0x5032('0x8')](),controller[_0x5032('0x9')]);router[_0x5032('0xa')]('/:id',auth[_0x5032('0x8')](),controller[_0x5032('0xb')]);module[_0x5032('0xc')]=router;
\ No newline at end of file
diff --git a/server/api/analyticCustomReport/analyticCustomReport.attributes.js b/server/api/analyticCustomReport/analyticCustomReport.attributes.js
index 361856e..154a928 100644
--- a/server/api/analyticCustomReport/analyticCustomReport.attributes.js
+++ b/server/api/analyticCustomReport/analyticCustomReport.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x1cb9=['TEXT','sequelize','STRING'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x1cb9,0x14e));var _0x91cb=function(_0x4af71d,_0x39c782){_0x4af71d=_0x4af71d-0x0;var _0x7259c1=_0x1cb9[_0x4af71d];return _0x7259c1;};'use strict';var Sequelize=require(_0x91cb('0x0'));module['exports']={'name':{'type':Sequelize[_0x91cb('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0x91cb('0x1')]},'parent':{'type':Sequelize[_0x91cb('0x1')]},'table':{'type':Sequelize[_0x91cb('0x1')]},'conditions':{'type':Sequelize['TEXT']},'joins':{'type':Sequelize[_0x91cb('0x2')]}};
\ No newline at end of file
+var _0x8958=['TEXT','exports'];(function(_0x47a7d0,_0x4e182d){var _0xb9bd08=function(_0x588ee2){while(--_0x588ee2){_0x47a7d0['push'](_0x47a7d0['shift']());}};_0xb9bd08(++_0x4e182d);}(_0x8958,0x93));var _0x8895=function(_0x1899a2,_0x58aabf){_0x1899a2=_0x1899a2-0x0;var _0x528f1f=_0x8958[_0x1899a2];return _0x528f1f;};'use strict';var Sequelize=require('sequelize');module[_0x8895('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'description':{'type':Sequelize['STRING']},'parent':{'type':Sequelize['STRING']},'table':{'type':Sequelize['STRING']},'conditions':{'type':Sequelize[_0x8895('0x1')]},'joins':{'type':Sequelize['TEXT']}};
\ No newline at end of file
diff --git a/server/api/analyticCustomReport/analyticCustomReport.controller.js b/server/api/analyticCustomReport/analyticCustomReport.controller.js
index 53acf7b..29335a8 100644
--- a/server/api/analyticCustomReport/analyticCustomReport.controller.js
+++ b/server/api/analyticCustomReport/analyticCustomReport.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x395d=['get','CustomReports','end','error','stack','name','send','index','map','AnalyticCustomReport','rawAttributes','fieldName','type','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','pick','where','merge','VIRTUAL','filter','options','includeAll','include','findAll','rows','catch','params','find','create','body','user','Reports','userProfileId','autoAssociation','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','preview','join','right_join','cross_join','COUNT(DISTINCT\x20%s)','MAX(%s)','MIN(%s)','GROUP_CONCAT(%s)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)','SEC_TO_TIME(%s)','DATE(%s)','HOUR(%s)','ROUND(%s)','UNIX_TIMESTAMP(%s)','includes','IS\x20NOT\x20EMPTY','rules','group','field','condition','getFields','Sequelize','ValidationErrorItem','AnalyticMetric','keyBy','select','from','table','MetricId','function','format','replace','groupBy','orderBy','DESC','alias','joins','parentKey','foreignTable','%s.%s\x20=\x20%s.%s','foreignKey','conditions','parse','clone','debug','Limited\x20Query:','toString','sequelize','SELECT','SUM(%s)','AVG(%s)','IS\x20NULL','IS\x20NOT\x20NULL','value','metric','web','fullPath','%s-%s.%s','randomstring','generate','output','csv','cdr','.calldate\x20BETWEEN\x20?\x20AND\x20?','startDate','.createdAt\x20BETWEEN\x20?\x20AND\x20?','endDate','info','Run\x20Query:','child_process','fork','../../components/export/','../../files/reports','savename','countTable','run','left_join','IS\x20EMPTY','Please\x20insert\x20at\x20least\x20one\x20field','QueryTypes','eml-format','rimraf','request-promise','moment','bluebird','mustache','util','path','to-csv','fs-extra','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','../../mysqldb','dbH','sendStatus','status','json','undefined','limit','count','offset','Content-Range','apply','reject','save','destroy','then'];(function(_0x57fa7e,_0xd0b5ce){var _0x320671=function(_0x3392cc){while(--_0x3392cc){_0x57fa7e['push'](_0x57fa7e['shift']());}};_0x320671(++_0xd0b5ce);}(_0x395d,0x1cb));var _0xd395=function(_0x30f142,_0x46d61a){_0x30f142=_0x30f142-0x0;var _0x10fb0f=_0x395d[_0x30f142];return _0x10fb0f;};'use strict';var emlformat=require(_0xd395('0x0'));var rimraf=require(_0xd395('0x1'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0xd395('0x2'));var moment=require(_0xd395('0x3'));var BPromise=require(_0xd395('0x4'));var Mustache=require(_0xd395('0x5'));var util=require(_0xd395('0x6'));var path=require(_0xd395('0x7'));var sox=require('sox');var csv=require(_0xd395('0x8'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0xd395('0x9'));var _=require(_0xd395('0xa'));var squel=require(_0xd395('0xb'));var crypto=require(_0xd395('0xc'));var jsforce=require(_0xd395('0xd'));var deskjs=require(_0xd395('0xe'));var toCsv=require(_0xd395('0x8'));var querystring=require(_0xd395('0xf'));var Papa=require(_0xd395('0x10'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0xd395('0x11'));var as=require(_0xd395('0x12'));var hardwareService=require(_0xd395('0x13'));var logger=require(_0xd395('0x14'))(_0xd395('0x15'));var utils=require('../../config/utils');var config=require(_0xd395('0x16'));var licenseUtil=require(_0xd395('0x17'));var db=require(_0xd395('0x18'))['db'];var dbH=require(_0xd395('0x18'))[_0xd395('0x19')];function respondWithStatusCode(_0x41fa17,_0x15c801){_0x15c801=_0x15c801||0xcc;return function(_0x3ce0c4){if(_0x3ce0c4){return _0x41fa17[_0xd395('0x1a')](_0x15c801);}return _0x41fa17[_0xd395('0x1b')](_0x15c801)['end']();};}function respondWithResult(_0x5170ef,_0x181caa){_0x181caa=_0x181caa||0xc8;return function(_0x58ba6a){if(_0x58ba6a){return _0x5170ef[_0xd395('0x1b')](_0x181caa)[_0xd395('0x1c')](_0x58ba6a);}};}function respondWithFilteredResult(_0x2701dd,_0x2247c9){return function(_0x93ca2b){if(_0x93ca2b){var _0x1da7da=typeof _0x2247c9['offset']===_0xd395('0x1d')&&typeof _0x2247c9[_0xd395('0x1e')]===_0xd395('0x1d');var _0x109cc9=_0x93ca2b[_0xd395('0x1f')];var _0x27481e=_0x1da7da?0x0:_0x2247c9[_0xd395('0x20')];var _0x3f44c2=_0x1da7da?_0x93ca2b['count']:_0x2247c9[_0xd395('0x20')]+_0x2247c9[_0xd395('0x1e')];var _0x2ce431;if(_0x3f44c2>=_0x109cc9){_0x3f44c2=_0x109cc9;_0x2ce431=0xc8;}else{_0x2ce431=0xce;}_0x2701dd[_0xd395('0x1b')](_0x2ce431);return _0x2701dd['set'](_0xd395('0x21'),_0x27481e+'-'+_0x3f44c2+'/'+_0x109cc9)[_0xd395('0x1c')](_0x93ca2b);}return null;};}function patchUpdates(_0x4e7a26){return function(_0x1ee905){try{jsonpatch[_0xd395('0x22')](_0x1ee905,_0x4e7a26,!![]);}catch(_0x5536bd){return BPromise[_0xd395('0x23')](_0x5536bd);}return _0x1ee905[_0xd395('0x24')]();};}function saveUpdates(_0x41867b,_0x3bcd17){return function(_0x530f47){if(_0x530f47){return _0x530f47['update'](_0x41867b)['then'](function(_0xa4a135){return _0xa4a135;});}return null;};}function removeEntity(_0x5ccc4f,_0x5ba558){return function(_0x6c2660){if(_0x6c2660){return _0x6c2660[_0xd395('0x25')]()[_0xd395('0x26')](function(){var _0x20a44d=_0x6c2660[_0xd395('0x27')]({'plain':!![]});var _0x807e71=_0xd395('0x28');return db['UserProfileResource'][_0xd395('0x25')]({'where':{'type':_0x807e71,'resourceId':_0x20a44d['id']}})[_0xd395('0x26')](function(){return _0x6c2660;});})[_0xd395('0x26')](function(){_0x5ccc4f['status'](0xcc)[_0xd395('0x29')]();});}};}function handleEntityNotFound(_0x159e4b,_0x37019f){return function(_0x3b31f1){if(!_0x3b31f1){_0x159e4b['sendStatus'](0x194);}return _0x3b31f1;};}function handleError(_0x5020c2,_0x5bf441){_0x5bf441=_0x5bf441||0x1f4;return function(_0x373a40){logger[_0xd395('0x2a')](_0x373a40[_0xd395('0x2b')]);if(_0x373a40['name']){delete _0x373a40[_0xd395('0x2c')];}_0x5020c2[_0xd395('0x1b')](_0x5bf441)[_0xd395('0x2d')](_0x373a40);};}exports[_0xd395('0x2e')]=function(_0x55f80c,_0x2604c7){var _0x1e84b8={},_0x2bdc80={},_0x22010b={'count':0x0,'rows':[]};var _0x44e4b8=_[_0xd395('0x2f')](db[_0xd395('0x30')][_0xd395('0x31')],function(_0x3ae9b6){return{'name':_0x3ae9b6[_0xd395('0x32')],'type':_0x3ae9b6[_0xd395('0x33')]['key']};});_0x2bdc80[_0xd395('0x34')]=_[_0xd395('0x2f')](_0x44e4b8,_0xd395('0x2c'));_0x2bdc80[_0xd395('0x35')]=_[_0xd395('0x36')](_0x55f80c[_0xd395('0x35')]);_0x2bdc80[_0xd395('0x37')]=_[_0xd395('0x38')](_0x2bdc80[_0xd395('0x34')],_0x2bdc80[_0xd395('0x35')]);_0x1e84b8[_0xd395('0x39')]=_[_0xd395('0x38')](_0x2bdc80[_0xd395('0x34')],qs[_0xd395('0x3a')](_0x55f80c[_0xd395('0x35')][_0xd395('0x3a')]));_0x1e84b8['attributes']=_0x1e84b8[_0xd395('0x39')][_0xd395('0x3b')]?_0x1e84b8['attributes']:_0x2bdc80[_0xd395('0x34')];if(!_0x55f80c[_0xd395('0x35')][_0xd395('0x3c')](_0xd395('0x3d'))){_0x1e84b8[_0xd395('0x1e')]=qs[_0xd395('0x1e')](_0x55f80c[_0xd395('0x35')][_0xd395('0x1e')]);_0x1e84b8[_0xd395('0x20')]=qs[_0xd395('0x20')](_0x55f80c[_0xd395('0x35')][_0xd395('0x20')]);}_0x1e84b8[_0xd395('0x3e')]=qs[_0xd395('0x3f')](_0x55f80c[_0xd395('0x35')][_0xd395('0x3f')]);_0x1e84b8['where']=qs[_0xd395('0x37')](_[_0xd395('0x40')](_0x55f80c[_0xd395('0x35')],_0x2bdc80['filters']),_0x44e4b8);if(_0x55f80c['query']['filter']){_0x1e84b8[_0xd395('0x41')]=_[_0xd395('0x42')](_0x1e84b8[_0xd395('0x41')],{'$or':_[_0xd395('0x2f')](_0x44e4b8,function(_0xf17d2f){if(_0xf17d2f['type']!==_0xd395('0x43')){var _0x39b6c5={};_0x39b6c5[_0xf17d2f[_0xd395('0x2c')]]={'$like':'%'+_0x55f80c['query'][_0xd395('0x44')]+'%'};return _0x39b6c5;}})});}_0x1e84b8=_[_0xd395('0x42')]({},_0x1e84b8,_0x55f80c[_0xd395('0x45')]);var _0xc9965={'where':_0x1e84b8[_0xd395('0x41')]};return db['AnalyticCustomReport']['count'](_0xc9965)['then'](function(_0x15b209){_0x22010b['count']=_0x15b209;if(_0x55f80c[_0xd395('0x35')][_0xd395('0x46')]){_0x1e84b8[_0xd395('0x47')]=[{'all':!![]}];}return db['AnalyticCustomReport'][_0xd395('0x48')](_0x1e84b8);})[_0xd395('0x26')](function(_0x35def0){_0x22010b[_0xd395('0x49')]=_0x35def0;return _0x22010b;})[_0xd395('0x26')](respondWithFilteredResult(_0x2604c7,_0x1e84b8))[_0xd395('0x4a')](handleError(_0x2604c7,null));};exports['show']=function(_0xef83bd,_0xe6d8a9){var _0x2ceda9={'raw':![],'where':{'id':_0xef83bd[_0xd395('0x4b')]['id']}},_0x2afc67={};_0x2afc67[_0xd395('0x34')]=_['keys'](db[_0xd395('0x30')]['rawAttributes']);_0x2afc67['query']=_[_0xd395('0x36')](_0xef83bd[_0xd395('0x35')]);_0x2afc67['filters']=_[_0xd395('0x38')](_0x2afc67[_0xd395('0x34')],_0x2afc67[_0xd395('0x35')]);_0x2ceda9[_0xd395('0x39')]=_[_0xd395('0x38')](_0x2afc67[_0xd395('0x34')],qs[_0xd395('0x3a')](_0xef83bd[_0xd395('0x35')][_0xd395('0x3a')]));_0x2ceda9[_0xd395('0x39')]=_0x2ceda9[_0xd395('0x39')]['length']?_0x2ceda9['attributes']:_0x2afc67[_0xd395('0x34')];if(_0xef83bd[_0xd395('0x35')][_0xd395('0x46')]){_0x2ceda9[_0xd395('0x47')]=[{'all':!![]}];}_0x2ceda9=_['merge']({},_0x2ceda9,_0xef83bd[_0xd395('0x45')]);return db[_0xd395('0x30')][_0xd395('0x4c')](_0x2ceda9)[_0xd395('0x26')](handleEntityNotFound(_0xe6d8a9,null))[_0xd395('0x26')](respondWithResult(_0xe6d8a9,null))[_0xd395('0x4a')](handleError(_0xe6d8a9,null));};exports['create']=function(_0x3cbcb9,_0x45f91c){return db[_0xd395('0x30')][_0xd395('0x4d')](_0x3cbcb9[_0xd395('0x4e')],{})[_0xd395('0x26')](function(_0x24ba2e){var _0x4363e4=_0x3cbcb9[_0xd395('0x4f')]['get']({'plain':!![]});if(!_0x4363e4)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x4363e4['role']===_0xd395('0x4f')){var _0x2414dc=_0x24ba2e[_0xd395('0x27')]({'plain':!![]});var _0x5a199f=_0xd395('0x50');return db['UserProfileSection']['find']({'where':{'name':_0x5a199f,'userProfileId':_0x4363e4[_0xd395('0x51')]},'raw':!![]})[_0xd395('0x26')](function(_0xf2b477){if(_0xf2b477&&_0xf2b477[_0xd395('0x52')]===0x0){return db[_0xd395('0x53')][_0xd395('0x4d')]({'name':_0x2414dc['name'],'resourceId':_0x2414dc['id'],'type':_0xd395('0x28'),'sectionId':_0xf2b477['id']},{})[_0xd395('0x26')](function(){return _0x24ba2e;});}else{return _0x24ba2e;}})[_0xd395('0x4a')](function(_0x163209){logger[_0xd395('0x2a')](_0xd395('0x54'),_0x163209);throw _0x163209;});}return _0x24ba2e;})[_0xd395('0x26')](respondWithResult(_0x45f91c,0xc9))['catch'](handleError(_0x45f91c,null));};exports['update']=function(_0xc9344,_0x1e7922){if(_0xc9344[_0xd395('0x4e')]['id']){delete _0xc9344[_0xd395('0x4e')]['id'];}return db['AnalyticCustomReport'][_0xd395('0x4c')]({'where':{'id':_0xc9344['params']['id']}})['then'](handleEntityNotFound(_0x1e7922,null))[_0xd395('0x26')](saveUpdates(_0xc9344[_0xd395('0x4e')],null))['then'](respondWithResult(_0x1e7922,null))['catch'](handleError(_0x1e7922,null));};exports[_0xd395('0x25')]=function(_0x5eee49,_0x3c71b0){return db[_0xd395('0x30')]['find']({'where':{'id':_0x5eee49['params']['id']}})['then'](handleEntityNotFound(_0x3c71b0,null))[_0xd395('0x26')](removeEntity(_0x3c71b0,null))[_0xd395('0x4a')](handleError(_0x3c71b0,null));};exports[_0xd395('0x55')]=function(_0x2d45e1,_0x3a9840){var _0x436058=0xa;var _0x425580=[_0xd395('0x56'),'left_join',_0xd395('0x57'),_0xd395('0x58')];var _0x546ee1={'SUM':'SUM(%s)','COUNT':'COUNT(%s)','COUNT DISTINCT':_0xd395('0x59'),'MAX':_0xd395('0x5a'),'MIN':_0xd395('0x5b'),'AVG':'AVG(%s)','GROUP_CONCAT':_0xd395('0x5c'),'GROUP_CONCAT ASC':_0xd395('0x5d'),'GROUP_CONCAT DESC':_0xd395('0x5e')};var _0x4578b8={'SEC_TO_TIME':_0xd395('0x5f'),'DATE':_0xd395('0x60'),'HOUR':_0xd395('0x61'),'ROUND':_0xd395('0x62'),'UNIX_TIMESTAMP':_0xd395('0x63')};var _0x384b3f=function(_0x2b3fd6){return!_[_0xd395('0x64')](['IS\x20NULL','IS\x20NOT\x20NULL','IS\x20EMPTY',_0xd395('0x65')],_0x2b3fd6);};var _0xdbdbd8=function(_0x3c818e){if(!_0x3c818e||!_0x3c818e['rules'][_0xd395('0x3b')]){return'';}for(var _0xe006c9='(',_0x34033e=0x0;_0x34033e<_0x3c818e[_0xd395('0x66')][_0xd395('0x3b')];_0x34033e+=0x1){_0x34033e>0x0&&(_0xe006c9+='\x20'+_0x3c818e['operator']+'\x20');_0xe006c9+=_0x3c818e['rules'][_0x34033e]['group']?_0xdbdbd8(_0x3c818e[_0xd395('0x66')][_0x34033e][_0xd395('0x67')]):_0x3c818e[_0xd395('0x66')][_0x34033e][_0xd395('0x68')]+'\x20'+_0x3c818e[_0xd395('0x66')][_0x34033e]['condition']+(_0x384b3f(_0x3c818e[_0xd395('0x66')][_0x34033e][_0xd395('0x69')])?'\x20'+_0x3c818e[_0xd395('0x66')][_0x34033e]['value']:'');}return _0xe006c9+')';};var _0x576311={'where':{'id':_0x2d45e1['params']['id']}},_0x1bda29,_0x28ba72,_0x12b7b5,_0x44de56,_0x1c5f09;_0x576311=_[_0xd395('0x42')]({},_0x576311,_0x2d45e1[_0xd395('0x45')]);return db[_0xd395('0x30')][_0xd395('0x4c')](_0x576311)['then'](function(_0x18df99){if(_0x18df99){_0x1bda29=_0x18df99;return _0x18df99[_0xd395('0x6a')]();}return null;})[_0xd395('0x26')](function(_0x3fe8c5){if(_0x3fe8c5){if(!_0x3fe8c5[_0xd395('0x3b')]){throw new db[(_0xd395('0x6b'))][(_0xd395('0x6c'))]('Please\x20insert\x20at\x20least\x20one\x20field',0x193);}_0x28ba72=_0x3fe8c5;return db[_0xd395('0x6d')][_0xd395('0x48')]({'raw':!![]});}return null;})[_0xd395('0x26')](function(_0x15c032){if(_0x15c032){_0x12b7b5=_[_0xd395('0x6e')](_0x15c032,'id');var _0x3b03f3;var _0x28f5bf=squel[_0xd395('0x6f')]();_0x28f5bf[_0xd395('0x70')](_0x1bda29[_0xd395('0x71')]);for(var _0x572ff3=0x0;_0x572ff3<_0x28ba72[_0xd395('0x3b')];_0x572ff3+=0x1){_0x3b03f3=_0x28ba72[_0x572ff3][_0xd395('0x72')]?_0x12b7b5[_0x28ba72[_0x572ff3]['MetricId']]['metric']:_0x28ba72[_0x572ff3]['field'];_0x3b03f3=_0x28ba72[_0x572ff3][_0xd395('0x73')]?_['replace'](_0x546ee1[_0x28ba72[_0x572ff3][_0xd395('0x73')]],'%s',_0x3b03f3):_0x3b03f3;_0x3b03f3=_0x28ba72[_0x572ff3][_0xd395('0x74')]?_[_0xd395('0x75')](_0x4578b8[_0x28ba72[_0x572ff3][_0xd395('0x74')]],'%s',_0x3b03f3):_0x3b03f3;if(_0x28ba72[_0x572ff3][_0xd395('0x76')]){_0x28f5bf[_0xd395('0x67')](_0x3b03f3);}_0x28ba72[_0x572ff3]['orderBy']&&_0x28f5bf[_0xd395('0x3e')](_0x3b03f3,_0x28ba72[_0x572ff3][_0xd395('0x77')]===_0xd395('0x78')?![]:!![]);_0x28f5bf[_0xd395('0x68')](_0x3b03f3,_0x28ba72[_0x572ff3][_0xd395('0x79')]||_0x3b03f3);}if(_0x1bda29[_0xd395('0x7a')]){_0x1bda29[_0xd395('0x7a')]=JSON['parse'](_0x1bda29[_0xd395('0x7a')]);for(var _0xdd25e4=0x0;_0xdd25e4<_0x1bda29[_0xd395('0x7a')][_0xd395('0x3b')];_0xdd25e4+=0x1){if(_0x1bda29['joins'][_0xdd25e4][_0xd395('0x33')]&&_[_0xd395('0x64')](_0x425580,_0x1bda29[_0xd395('0x7a')][_0xdd25e4][_0xd395('0x33')])&&_0x1bda29[_0xd395('0x7a')][_0xdd25e4][_0xd395('0x7b')]&&_0x1bda29[_0xd395('0x7a')][_0xdd25e4]['foreignTable']&&_0x1bda29[_0xd395('0x7a')][_0xdd25e4]['foreignKey']){_0x28f5bf[_0x1bda29[_0xd395('0x7a')][_0xdd25e4]['type']](_0x1bda29[_0xd395('0x7a')][_0xdd25e4][_0xd395('0x7c')],null,util[_0xd395('0x74')](_0xd395('0x7d'),_0x1bda29['table'],_0x1bda29[_0xd395('0x7a')][_0xdd25e4][_0xd395('0x7b')],_0x1bda29['joins'][_0xdd25e4][_0xd395('0x7c')],_0x1bda29[_0xd395('0x7a')][_0xdd25e4][_0xd395('0x7e')]));}}}if(_0x1bda29[_0xd395('0x7f')]){_0x1bda29[_0xd395('0x7f')]=JSON[_0xd395('0x80')](_0x1bda29[_0xd395('0x7f')]);_0x28f5bf[_0xd395('0x41')](_0xdbdbd8(_0x1bda29[_0xd395('0x7f')][_0xd395('0x67')]));}_0x1c5f09=_0x28f5bf[_0xd395('0x81')]();_0x28f5bf[_0xd395('0x1e')](_0x436058);_0x28f5bf['offset'](0x0);logger[_0xd395('0x82')](_0xd395('0x83'),_0x28f5bf[_0xd395('0x84')]());return dbH[_0xd395('0x85')][_0xd395('0x35')](_0x28f5bf[_0xd395('0x84')](),{'type':dbH[_0xd395('0x85')]['QueryTypes'][_0xd395('0x86')]});}})[_0xd395('0x26')](respondWithResult(_0x3a9840,null))[_0xd395('0x4a')](handleError(_0x3a9840,null));};function runReport(_0x2c7fb9,_0x17d524,_0x3a526b){var _0x514103=_0x17d524[_0xd395('0x2c')];var _0x12125a=0xa;var _0x18a554=[_0xd395('0x56'),'left_join',_0xd395('0x57'),_0xd395('0x58')];var _0x2522d5={'SUM':_0xd395('0x87'),'COUNT':'COUNT(%s)','COUNT DISTINCT':_0xd395('0x59'),'MAX':'MAX(%s)','MIN':'MIN(%s)','AVG':_0xd395('0x88'),'GROUP_CONCAT':_0xd395('0x5c'),'GROUP_CONCAT ASC':_0xd395('0x5d'),'GROUP_CONCAT DESC':_0xd395('0x5e')};var _0x331359={'SEC_TO_TIME':'SEC_TO_TIME(%s)','DATE':'DATE(%s)','HOUR':'HOUR(%s)','ROUND':_0xd395('0x62'),'UNIX_TIMESTAMP':'UNIX_TIMESTAMP(%s)'};var _0x5b4d1b=function(_0x726207){return!_[_0xd395('0x64')]([_0xd395('0x89'),_0xd395('0x8a'),'IS\x20EMPTY',_0xd395('0x65')],_0x726207);};var _0x12fd78=function(_0x3c6366){if(!_0x3c6366||!_0x3c6366['rules'][_0xd395('0x3b')]){return'';}for(var _0x4f2229='(',_0x32c5cc=0x0;_0x32c5cc<_0x3c6366[_0xd395('0x66')]['length'];_0x32c5cc+=0x1){_0x32c5cc>0x0&&(_0x4f2229+='\x20'+_0x3c6366['operator']+'\x20');_0x4f2229+=_0x3c6366['rules'][_0x32c5cc][_0xd395('0x67')]?_0x12fd78(_0x3c6366['rules'][_0x32c5cc]['group']):_0x3c6366[_0xd395('0x66')][_0x32c5cc]['field']+'\x20'+_0x3c6366[_0xd395('0x66')][_0x32c5cc][_0xd395('0x69')]+(_0x5b4d1b(_0x3c6366[_0xd395('0x66')][_0x32c5cc][_0xd395('0x69')])?'\x20'+_0x3c6366[_0xd395('0x66')][_0x32c5cc][_0xd395('0x8b')]:'');}return _0x4f2229+')';};var _0x36a7f8={'where':{'id':_0x2c7fb9['id']}},_0x2ca25e,_0x3668a5,_0x3a66ce,_0xdc4d7a,_0x46d303;_0x36a7f8=_[_0xd395('0x42')]({},_0x36a7f8,_0x3a526b);return db[_0xd395('0x30')][_0xd395('0x4c')](_0x36a7f8)[_0xd395('0x26')](function(_0xf948c2){if(_0xf948c2){_0x2ca25e=_0xf948c2;return _0xf948c2[_0xd395('0x6a')]();}return null;})[_0xd395('0x26')](function(_0x1a17c0){if(_0x1a17c0){if(!_0x1a17c0[_0xd395('0x3b')]){throw new db[(_0xd395('0x6b'))][(_0xd395('0x6c'))]('Please\x20insert\x20at\x20least\x20one\x20field',0x193);}_0x3668a5=_0x1a17c0;return db[_0xd395('0x6d')][_0xd395('0x48')]({'raw':!![]});}return null;})[_0xd395('0x26')](function(_0x142265){if(_0x142265){_0x3a66ce=_[_0xd395('0x6e')](_0x142265,'id');var _0xb71d43;var _0x47bfd7=squel[_0xd395('0x6f')]();_0x47bfd7[_0xd395('0x70')](_0x2ca25e[_0xd395('0x71')]);for(var _0x70c250=0x0;_0x70c250<_0x3668a5[_0xd395('0x3b')];_0x70c250+=0x1){_0xb71d43=_0x3668a5[_0x70c250]['MetricId']?_0x3a66ce[_0x3668a5[_0x70c250][_0xd395('0x72')]][_0xd395('0x8c')]:_0x3668a5[_0x70c250][_0xd395('0x68')];_0xb71d43=_0x3668a5[_0x70c250]['function']?_[_0xd395('0x75')](_0x2522d5[_0x3668a5[_0x70c250][_0xd395('0x73')]],'%s',_0xb71d43):_0xb71d43;_0xb71d43=_0x3668a5[_0x70c250][_0xd395('0x74')]?_['replace'](_0x331359[_0x3668a5[_0x70c250][_0xd395('0x74')]],'%s',_0xb71d43):_0xb71d43;if(_0x3668a5[_0x70c250][_0xd395('0x76')]){_0x47bfd7[_0xd395('0x67')](_0xb71d43);}_0x3668a5[_0x70c250][_0xd395('0x77')]&&_0x47bfd7[_0xd395('0x3e')](_0xb71d43,_0x3668a5[_0x70c250][_0xd395('0x77')]===_0xd395('0x78')?![]:!![]);_0x47bfd7[_0xd395('0x68')](_0xb71d43,_0x3668a5[_0x70c250]['alias']||_0xb71d43);}if(_0x2ca25e[_0xd395('0x7a')]){_0x2ca25e['joins']=JSON['parse'](_0x2ca25e['joins']);for(var _0x9628ed=0x0;_0x9628ed<_0x2ca25e['joins'][_0xd395('0x3b')];_0x9628ed+=0x1){if(_0x2ca25e['joins'][_0x9628ed][_0xd395('0x33')]&&_['includes'](_0x18a554,_0x2ca25e[_0xd395('0x7a')][_0x9628ed]['type'])&&_0x2ca25e[_0xd395('0x7a')][_0x9628ed][_0xd395('0x7b')]&&_0x2ca25e['joins'][_0x9628ed][_0xd395('0x7c')]&&_0x2ca25e[_0xd395('0x7a')][_0x9628ed][_0xd395('0x7e')]){_0x47bfd7[_0x2ca25e[_0xd395('0x7a')][_0x9628ed][_0xd395('0x33')]](_0x2ca25e['joins'][_0x9628ed][_0xd395('0x7c')],null,util['format'](_0xd395('0x7d'),_0x2ca25e[_0xd395('0x71')],_0x2ca25e[_0xd395('0x7a')][_0x9628ed][_0xd395('0x7b')],_0x2ca25e[_0xd395('0x7a')][_0x9628ed][_0xd395('0x7c')],_0x2ca25e[_0xd395('0x7a')][_0x9628ed][_0xd395('0x7e')]));}}}if(_0x2ca25e[_0xd395('0x7f')]){_0x2ca25e[_0xd395('0x7f')]=JSON[_0xd395('0x80')](_0x2ca25e[_0xd395('0x7f')]);_0x47bfd7[_0xd395('0x41')](_0x12fd78(_0x2ca25e[_0xd395('0x7f')]['group']));}_0x46d303=_0x47bfd7[_0xd395('0x81')]();_0x47bfd7[_0xd395('0x1e')](_0x12125a);_0x47bfd7[_0xd395('0x20')](0x0);return;}})['then'](function(){if(_0x17d524['output']===_0xd395('0x8d')){return null;}var _0x22bcf4=_[_0xd395('0x42')](_0x17d524,{'name':_0x17d524[_0xd395('0x8e')]||_0x17d524[_0xd395('0x2c')]||_0x2ca25e['name'],'basename':_0x514103,'savename':util[_0xd395('0x74')](_0xd395('0x8f'),_0x17d524['name']||_0x2ca25e[_0xd395('0x2c')],require(_0xd395('0x90'))[_0xd395('0x91')](0x4),_0x17d524[_0xd395('0x92')]||_0xd395('0x93')),'reportId':_0x2ca25e['id'],'reportType':'custom'});return db['AnalyticExtractedReport']['create'](_0x22bcf4,{'raw':!![]});})[_0xd395('0x26')](function(_0x3d69a4){if(_0x2ca25e['table']===_0xd395('0x94')){_0x46d303[_0xd395('0x41')](_0x2ca25e[_0xd395('0x71')]+_0xd395('0x95'),_0x17d524[_0xd395('0x96')],_0x17d524['endDate']);}else{_0x46d303[_0xd395('0x41')](_0x2ca25e[_0xd395('0x71')]+_0xd395('0x97'),_0x17d524['startDate'],_0x17d524[_0xd395('0x98')]);}if(_0x3d69a4){logger[_0xd395('0x99')](_0xd395('0x9a'),_0x46d303[_0xd395('0x84')]());require(_0xd395('0x9b'))[_0xd395('0x9c')](path[_0xd395('0x56')](__dirname,_0xd395('0x9d'),_0x3d69a4[_0xd395('0x92')]),[_0x3d69a4['id'],_0x46d303['toString'](),path['join'](__dirname,_0xd395('0x9e'),_0x3d69a4[_0xd395('0x9f')]),_0x514103]);return _0x3d69a4;}else{var _0x1d3826=squel[_0xd395('0x6f')]();_0x1d3826[_0xd395('0x70')]('('+_0x46d303[_0xd395('0x84')]()+')',_0xd395('0xa0'));_0x1d3826[_0xd395('0x68')]('COUNT(*)',_0xd395('0x1f'));_0x46d303[_0xd395('0x1e')](_0x17d524['limit']||_0x12125a);_0x46d303[_0xd395('0x20')](_0x17d524['offset']||0x0);return dbH['sequelize']['query'](_0x1d3826[_0xd395('0x84')](),{'type':dbH[_0xd395('0x85')]['QueryTypes'][_0xd395('0x86')]})[_0xd395('0x26')](function(_0x24beee){if(!_0x24beee[_0xd395('0x3b')]){_0xdc4d7a=0x0;}else{_0xdc4d7a=_0x24beee[0x0]['count']||0x0;}return dbH['sequelize'][_0xd395('0x35')](_0x46d303[_0xd395('0x84')](),{'type':dbH[_0xd395('0x85')]['QueryTypes']['SELECT']});})[_0xd395('0x26')](function(_0x44db61){return{'rows':_0x44db61||[],'count':_0xdc4d7a};});}});}exports[_0xd395('0xa1')]=function(_0x51039f,_0x1e8df2){return runReport(_0x51039f['params'],_0x51039f[_0xd395('0x35')],_0x51039f[_0xd395('0x45')])[_0xd395('0x26')](respondWithResult(_0x1e8df2,null))[_0xd395('0x4a')](handleError(_0x1e8df2,null));};exports['runReport']=runReport;exports[_0xd395('0x35')]=function(_0x11860d,_0x18f28f){var _0x400064=0xa;var _0x16b45c=[_0xd395('0x56'),_0xd395('0xa2'),_0xd395('0x57'),_0xd395('0x58')];var _0xed8025={'SUM':'SUM(%s)','COUNT':'COUNT(%s)','COUNT DISTINCT':'COUNT(DISTINCT\x20%s)','MAX':_0xd395('0x5a'),'MIN':_0xd395('0x5b'),'AVG':'AVG(%s)','GROUP_CONCAT':'GROUP_CONCAT(%s)','GROUP_CONCAT ASC':_0xd395('0x5d'),'GROUP_CONCAT DESC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)'};var _0x445761={'SEC_TO_TIME':_0xd395('0x5f'),'DATE':_0xd395('0x60'),'HOUR':_0xd395('0x61'),'ROUND':_0xd395('0x62'),'UNIX_TIMESTAMP':'UNIX_TIMESTAMP(%s)'};var _0x98a5a3=function(_0x4d14b3){return!_[_0xd395('0x64')]([_0xd395('0x89'),'IS\x20NOT\x20NULL',_0xd395('0xa3'),_0xd395('0x65')],_0x4d14b3);};var _0x3eb829=function(_0x43b5ff){if(!_0x43b5ff||!_0x43b5ff[_0xd395('0x66')][_0xd395('0x3b')]){return'';}for(var _0x2a8e7f='(',_0x310965=0x0;_0x310965<_0x43b5ff[_0xd395('0x66')][_0xd395('0x3b')];_0x310965+=0x1){_0x310965>0x0&&(_0x2a8e7f+='\x20'+_0x43b5ff['operator']+'\x20');_0x2a8e7f+=_0x43b5ff[_0xd395('0x66')][_0x310965][_0xd395('0x67')]?_0x3eb829(_0x43b5ff['rules'][_0x310965]['group']):_0x43b5ff['rules'][_0x310965][_0xd395('0x68')]+'\x20'+_0x43b5ff[_0xd395('0x66')][_0x310965][_0xd395('0x69')]+(_0x98a5a3(_0x43b5ff[_0xd395('0x66')][_0x310965]['condition'])?'\x20'+_0x43b5ff['rules'][_0x310965][_0xd395('0x8b')]:'');}return _0x2a8e7f+')';};var _0xc69dbe={'where':{'id':_0x11860d[_0xd395('0x4b')]['id']}},_0x22f8f8,_0x2d1a26,_0x3a432d,_0x365251,_0x59f078;_0xc69dbe=_[_0xd395('0x42')]({},_0xc69dbe,_0x11860d[_0xd395('0x45')]);return db[_0xd395('0x30')][_0xd395('0x4c')](_0xc69dbe)[_0xd395('0x26')](function(_0x59b2b7){if(_0x59b2b7){_0x22f8f8=_0x59b2b7;return _0x59b2b7[_0xd395('0x6a')]();}return null;})[_0xd395('0x26')](function(_0x4c2521){if(_0x4c2521){if(!_0x4c2521[_0xd395('0x3b')]){throw new db[(_0xd395('0x6b'))][(_0xd395('0x6c'))](_0xd395('0xa4'),0x193);}_0x2d1a26=_0x4c2521;return db[_0xd395('0x6d')][_0xd395('0x48')]({'raw':!![]});}return null;})[_0xd395('0x26')](function(_0x2ed95e){if(_0x2ed95e){_0x3a432d=_[_0xd395('0x6e')](_0x2ed95e,'id');var _0x17240d;var _0x42c37e=squel[_0xd395('0x6f')]();_0x42c37e[_0xd395('0x70')](_0x22f8f8['table']);for(var _0xdf808c=0x0;_0xdf808c<_0x2d1a26[_0xd395('0x3b')];_0xdf808c+=0x1){_0x17240d=_0x2d1a26[_0xdf808c]['MetricId']?_0x3a432d[_0x2d1a26[_0xdf808c][_0xd395('0x72')]][_0xd395('0x8c')]:_0x2d1a26[_0xdf808c][_0xd395('0x68')];_0x17240d=_0x2d1a26[_0xdf808c][_0xd395('0x73')]?_[_0xd395('0x75')](_0xed8025[_0x2d1a26[_0xdf808c][_0xd395('0x73')]],'%s',_0x17240d):_0x17240d;_0x17240d=_0x2d1a26[_0xdf808c][_0xd395('0x74')]?_[_0xd395('0x75')](_0x445761[_0x2d1a26[_0xdf808c][_0xd395('0x74')]],'%s',_0x17240d):_0x17240d;if(_0x2d1a26[_0xdf808c][_0xd395('0x76')]){_0x42c37e[_0xd395('0x67')](_0x17240d);}_0x2d1a26[_0xdf808c][_0xd395('0x77')]&&_0x42c37e[_0xd395('0x3e')](_0x17240d,_0x2d1a26[_0xdf808c][_0xd395('0x77')]===_0xd395('0x78')?![]:!![]);_0x42c37e['field'](_0x17240d,_0x2d1a26[_0xdf808c][_0xd395('0x79')]||_0x17240d);}if(_0x22f8f8['joins']){_0x22f8f8[_0xd395('0x7a')]=JSON[_0xd395('0x80')](_0x22f8f8[_0xd395('0x7a')]);for(var _0x36bf6a=0x0;_0x36bf6a<_0x22f8f8[_0xd395('0x7a')][_0xd395('0x3b')];_0x36bf6a+=0x1){if(_0x22f8f8[_0xd395('0x7a')][_0x36bf6a][_0xd395('0x33')]&&_[_0xd395('0x64')](_0x16b45c,_0x22f8f8['joins'][_0x36bf6a][_0xd395('0x33')])&&_0x22f8f8['joins'][_0x36bf6a]['parentKey']&&_0x22f8f8['joins'][_0x36bf6a][_0xd395('0x7c')]&&_0x22f8f8[_0xd395('0x7a')][_0x36bf6a][_0xd395('0x7e')]){_0x42c37e[_0x22f8f8['joins'][_0x36bf6a]['type']](_0x22f8f8['joins'][_0x36bf6a][_0xd395('0x7c')],null,util[_0xd395('0x74')](_0xd395('0x7d'),_0x22f8f8[_0xd395('0x71')],_0x22f8f8[_0xd395('0x7a')][_0x36bf6a]['parentKey'],_0x22f8f8[_0xd395('0x7a')][_0x36bf6a][_0xd395('0x7c')],_0x22f8f8[_0xd395('0x7a')][_0x36bf6a][_0xd395('0x7e')]));}}}if(_0x22f8f8[_0xd395('0x7f')]){_0x22f8f8[_0xd395('0x7f')]=JSON['parse'](_0x22f8f8['conditions']);_0x42c37e[_0xd395('0x41')](_0x3eb829(_0x22f8f8[_0xd395('0x7f')][_0xd395('0x67')]));}_0x59f078=_0x42c37e[_0xd395('0x81')]();_0x42c37e[_0xd395('0x1e')](_0x400064);_0x42c37e[_0xd395('0x20')](0x0);logger[_0xd395('0x82')](_0xd395('0x83'),_0x42c37e[_0xd395('0x84')]());return dbH[_0xd395('0x85')]['query'](_0x42c37e[_0xd395('0x84')](),{'type':dbH[_0xd395('0x85')][_0xd395('0xa5')][_0xd395('0x86')]});}})[_0xd395('0x26')](function(){return{'sql':_0x59f078[_0xd395('0x84')]()};})[_0xd395('0x26')](respondWithResult(_0x18f28f,null))[_0xd395('0x4a')](handleError(_0x18f28f,null));};
\ No newline at end of file
+var _0x63db=['sort','where','pick','filters','filter','VIRTUAL','merge','options','includeAll','include','findAll','catch','show','params','find','create','body','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','Reports','UserProfileSection','userProfileId','autoAssociation','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','preview','right_join','cross_join','COUNT(DISTINCT\x20%s)','MAX(%s)','MIN(%s)','AVG(%s)','GROUP_CONCAT(%s)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)','SEC_TO_TIME(%s)','DATE(%s)','ROUND(%s)','UNIX_TIMESTAMP(%s)','IS\x20NULL','IS\x20NOT\x20NULL','IS\x20EMPTY','IS\x20NOT\x20EMPTY','rules','operator','group','field','condition','getFields','Please\x20insert\x20at\x20least\x20one\x20field','AnalyticMetric','from','table','metric','function','replace','format','groupBy','orderBy','DESC','alias','joins','parse','parentKey','foreignTable','foreignKey','%s.%s\x20=\x20%s.%s','conditions','clone','debug','Limited\x20Query:','toString','QueryTypes','SELECT','join','left_join','COUNT(%s)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','value','Sequelize','ValidationErrorItem','keyBy','MetricId','order','includes','output','web','%s-%s.%s','generate','custom','cdr','.calldate\x20BETWEEN\x20?\x20AND\x20?','startDate','endDate','info','Run\x20Query:','fork','../../components/export/','../../files/reports','savename','select','sequelize','run','runReport','SUM(%s)','HOUR(%s)','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','dbH','sendStatus','status','json','undefined','limit','offset','count','set','Content-Range','apply','reject','save','then','destroy','CustomReports','UserProfileResource','end','stack','name','send','map','AnalyticCustomReport','rawAttributes','fieldName','type','query','keys','intersection','model','fields','attributes','length','hasOwnProperty'];(function(_0x4baae2,_0x487ab6){var _0x1a2285=function(_0x1cea47){while(--_0x1cea47){_0x4baae2['push'](_0x4baae2['shift']());}};_0x1a2285(++_0x487ab6);}(_0x63db,0x117));var _0xb63d=function(_0x44f684,_0x2ec4d2){_0x44f684=_0x44f684-0x0;var _0xa227f9=_0x63db[_0x44f684];return _0xa227f9;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0xb63d('0x0'));var zipdir=require(_0xb63d('0x1'));var jsonpatch=require(_0xb63d('0x2'));var rp=require(_0xb63d('0x3'));var moment=require(_0xb63d('0x4'));var BPromise=require(_0xb63d('0x5'));var Mustache=require(_0xb63d('0x6'));var util=require(_0xb63d('0x7'));var path=require(_0xb63d('0x8'));var sox=require(_0xb63d('0x9'));var csv=require(_0xb63d('0xa'));var ejs=require(_0xb63d('0xb'));var fs=require('fs');var fs_extra=require(_0xb63d('0xc'));var _=require(_0xb63d('0xd'));var squel=require(_0xb63d('0xe'));var crypto=require(_0xb63d('0xf'));var jsforce=require('jsforce');var deskjs=require(_0xb63d('0x10'));var toCsv=require(_0xb63d('0xa'));var querystring=require(_0xb63d('0x11'));var Papa=require(_0xb63d('0x12'));var Redis=require(_0xb63d('0x13'));var authService=require(_0xb63d('0x14'));var qs=require(_0xb63d('0x15'));var as=require(_0xb63d('0x16'));var hardwareService=require(_0xb63d('0x17'));var logger=require(_0xb63d('0x18'))(_0xb63d('0x19'));var utils=require(_0xb63d('0x1a'));var config=require(_0xb63d('0x1b'));var licenseUtil=require(_0xb63d('0x1c'));var db=require('../../mysqldb')['db'];var dbH=require('../../mysqldb')[_0xb63d('0x1d')];function respondWithStatusCode(_0x1f990e,_0x51e301){_0x51e301=_0x51e301||0xcc;return function(_0xd5081){if(_0xd5081){return _0x1f990e[_0xb63d('0x1e')](_0x51e301);}return _0x1f990e['status'](_0x51e301)['end']();};}function respondWithResult(_0x27d8df,_0x1b96fd){_0x1b96fd=_0x1b96fd||0xc8;return function(_0x26d8b4){if(_0x26d8b4){return _0x27d8df[_0xb63d('0x1f')](_0x1b96fd)[_0xb63d('0x20')](_0x26d8b4);}};}function respondWithFilteredResult(_0x4a7b32,_0x30bd42){return function(_0x317bd8){if(_0x317bd8){var _0x1c8da1=typeof _0x30bd42['offset']===_0xb63d('0x21')&&typeof _0x30bd42[_0xb63d('0x22')]===_0xb63d('0x21');var _0x5685f4=_0x317bd8['count'];var _0x22fdbf=_0x1c8da1?0x0:_0x30bd42[_0xb63d('0x23')];var _0x5ff55b=_0x1c8da1?_0x317bd8[_0xb63d('0x24')]:_0x30bd42[_0xb63d('0x23')]+_0x30bd42[_0xb63d('0x22')];var _0x1ea33b;if(_0x5ff55b>=_0x5685f4){_0x5ff55b=_0x5685f4;_0x1ea33b=0xc8;}else{_0x1ea33b=0xce;}_0x4a7b32[_0xb63d('0x1f')](_0x1ea33b);return _0x4a7b32[_0xb63d('0x25')](_0xb63d('0x26'),_0x22fdbf+'-'+_0x5ff55b+'/'+_0x5685f4)[_0xb63d('0x20')](_0x317bd8);}return null;};}function patchUpdates(_0x2fe2ca){return function(_0x2bd7be){try{jsonpatch[_0xb63d('0x27')](_0x2bd7be,_0x2fe2ca,!![]);}catch(_0x27bac8){return BPromise[_0xb63d('0x28')](_0x27bac8);}return _0x2bd7be[_0xb63d('0x29')]();};}function saveUpdates(_0x52eec3,_0x4cbe45){return function(_0x5d23f3){if(_0x5d23f3){return _0x5d23f3['update'](_0x52eec3)[_0xb63d('0x2a')](function(_0x29f7e8){return _0x29f7e8;});}return null;};}function removeEntity(_0x1a8d6e,_0x55ea5f){return function(_0x1a9183){if(_0x1a9183){return _0x1a9183[_0xb63d('0x2b')]()[_0xb63d('0x2a')](function(){var _0x2180de=_0x1a9183['get']({'plain':!![]});var _0x1783bd=_0xb63d('0x2c');return db[_0xb63d('0x2d')][_0xb63d('0x2b')]({'where':{'type':_0x1783bd,'resourceId':_0x2180de['id']}})[_0xb63d('0x2a')](function(){return _0x1a9183;});})['then'](function(){_0x1a8d6e[_0xb63d('0x1f')](0xcc)[_0xb63d('0x2e')]();});}};}function handleEntityNotFound(_0x1eb2d2,_0x31df7b){return function(_0x2b6db2){if(!_0x2b6db2){_0x1eb2d2[_0xb63d('0x1e')](0x194);}return _0x2b6db2;};}function handleError(_0xe47680,_0x234941){_0x234941=_0x234941||0x1f4;return function(_0x24db5d){logger['error'](_0x24db5d[_0xb63d('0x2f')]);if(_0x24db5d[_0xb63d('0x30')]){delete _0x24db5d[_0xb63d('0x30')];}_0xe47680[_0xb63d('0x1f')](_0x234941)[_0xb63d('0x31')](_0x24db5d);};}exports['index']=function(_0x519259,_0x444b5e){var _0x492cd7={},_0x4ac867={},_0x5501ce={'count':0x0,'rows':[]};var _0x34ffbc=_[_0xb63d('0x32')](db[_0xb63d('0x33')][_0xb63d('0x34')],function(_0x4f267f){return{'name':_0x4f267f[_0xb63d('0x35')],'type':_0x4f267f[_0xb63d('0x36')]['key']};});_0x4ac867['model']=_[_0xb63d('0x32')](_0x34ffbc,_0xb63d('0x30'));_0x4ac867[_0xb63d('0x37')]=_[_0xb63d('0x38')](_0x519259[_0xb63d('0x37')]);_0x4ac867['filters']=_[_0xb63d('0x39')](_0x4ac867[_0xb63d('0x3a')],_0x4ac867[_0xb63d('0x37')]);_0x492cd7['attributes']=_['intersection'](_0x4ac867['model'],qs[_0xb63d('0x3b')](_0x519259[_0xb63d('0x37')][_0xb63d('0x3b')]));_0x492cd7[_0xb63d('0x3c')]=_0x492cd7[_0xb63d('0x3c')][_0xb63d('0x3d')]?_0x492cd7[_0xb63d('0x3c')]:_0x4ac867[_0xb63d('0x3a')];if(!_0x519259['query'][_0xb63d('0x3e')]('nolimit')){_0x492cd7['limit']=qs[_0xb63d('0x22')](_0x519259[_0xb63d('0x37')]['limit']);_0x492cd7[_0xb63d('0x23')]=qs[_0xb63d('0x23')](_0x519259[_0xb63d('0x37')]['offset']);}_0x492cd7['order']=qs[_0xb63d('0x3f')](_0x519259[_0xb63d('0x37')]['sort']);_0x492cd7[_0xb63d('0x40')]=qs['filters'](_[_0xb63d('0x41')](_0x519259[_0xb63d('0x37')],_0x4ac867[_0xb63d('0x42')]),_0x34ffbc);if(_0x519259[_0xb63d('0x37')][_0xb63d('0x43')]){_0x492cd7[_0xb63d('0x40')]=_['merge'](_0x492cd7[_0xb63d('0x40')],{'$or':_['map'](_0x34ffbc,function(_0x106833){if(_0x106833['type']!==_0xb63d('0x44')){var _0x22f00e={};_0x22f00e[_0x106833[_0xb63d('0x30')]]={'$like':'%'+_0x519259[_0xb63d('0x37')][_0xb63d('0x43')]+'%'};return _0x22f00e;}})});}_0x492cd7=_[_0xb63d('0x45')]({},_0x492cd7,_0x519259[_0xb63d('0x46')]);var _0x5d0469={'where':_0x492cd7[_0xb63d('0x40')]};return db[_0xb63d('0x33')][_0xb63d('0x24')](_0x5d0469)['then'](function(_0x5acf6e){_0x5501ce[_0xb63d('0x24')]=_0x5acf6e;if(_0x519259[_0xb63d('0x37')][_0xb63d('0x47')]){_0x492cd7[_0xb63d('0x48')]=[{'all':!![]}];}return db[_0xb63d('0x33')][_0xb63d('0x49')](_0x492cd7);})['then'](function(_0xc69b38){_0x5501ce['rows']=_0xc69b38;return _0x5501ce;})['then'](respondWithFilteredResult(_0x444b5e,_0x492cd7))[_0xb63d('0x4a')](handleError(_0x444b5e,null));};exports[_0xb63d('0x4b')]=function(_0x287dcb,_0x56804f){var _0x6a3a42={'raw':![],'where':{'id':_0x287dcb[_0xb63d('0x4c')]['id']}},_0x375656={};_0x375656[_0xb63d('0x3a')]=_[_0xb63d('0x38')](db[_0xb63d('0x33')][_0xb63d('0x34')]);_0x375656[_0xb63d('0x37')]=_[_0xb63d('0x38')](_0x287dcb[_0xb63d('0x37')]);_0x375656[_0xb63d('0x42')]=_['intersection'](_0x375656[_0xb63d('0x3a')],_0x375656[_0xb63d('0x37')]);_0x6a3a42['attributes']=_['intersection'](_0x375656[_0xb63d('0x3a')],qs['fields'](_0x287dcb[_0xb63d('0x37')][_0xb63d('0x3b')]));_0x6a3a42[_0xb63d('0x3c')]=_0x6a3a42[_0xb63d('0x3c')][_0xb63d('0x3d')]?_0x6a3a42[_0xb63d('0x3c')]:_0x375656[_0xb63d('0x3a')];if(_0x287dcb[_0xb63d('0x37')][_0xb63d('0x47')]){_0x6a3a42[_0xb63d('0x48')]=[{'all':!![]}];}_0x6a3a42=_['merge']({},_0x6a3a42,_0x287dcb[_0xb63d('0x46')]);return db['AnalyticCustomReport'][_0xb63d('0x4d')](_0x6a3a42)[_0xb63d('0x2a')](handleEntityNotFound(_0x56804f,null))[_0xb63d('0x2a')](respondWithResult(_0x56804f,null))[_0xb63d('0x4a')](handleError(_0x56804f,null));};exports[_0xb63d('0x4e')]=function(_0x2ebd19,_0x552fb0){return db[_0xb63d('0x33')][_0xb63d('0x4e')](_0x2ebd19[_0xb63d('0x4f')],{})[_0xb63d('0x2a')](function(_0x55c351){var _0x272670=_0x2ebd19['user'][_0xb63d('0x50')]({'plain':!![]});if(!_0x272670)throw new Error(_0xb63d('0x51'));if(_0x272670[_0xb63d('0x52')]===_0xb63d('0x53')){var _0xfb6ea0=_0x55c351[_0xb63d('0x50')]({'plain':!![]});var _0x2914ff=_0xb63d('0x54');return db[_0xb63d('0x55')][_0xb63d('0x4d')]({'where':{'name':_0x2914ff,'userProfileId':_0x272670[_0xb63d('0x56')]},'raw':!![]})['then'](function(_0x3dc04c){if(_0x3dc04c&&_0x3dc04c[_0xb63d('0x57')]===0x0){return db[_0xb63d('0x2d')]['create']({'name':_0xfb6ea0['name'],'resourceId':_0xfb6ea0['id'],'type':_0xb63d('0x2c'),'sectionId':_0x3dc04c['id']},{})[_0xb63d('0x2a')](function(){return _0x55c351;});}else{return _0x55c351;}})[_0xb63d('0x4a')](function(_0x548d68){logger[_0xb63d('0x58')](_0xb63d('0x59'),_0x548d68);throw _0x548d68;});}return _0x55c351;})[_0xb63d('0x2a')](respondWithResult(_0x552fb0,0xc9))[_0xb63d('0x4a')](handleError(_0x552fb0,null));};exports[_0xb63d('0x5a')]=function(_0x5ece8b,_0x2a3252){if(_0x5ece8b[_0xb63d('0x4f')]['id']){delete _0x5ece8b[_0xb63d('0x4f')]['id'];}return db[_0xb63d('0x33')][_0xb63d('0x4d')]({'where':{'id':_0x5ece8b['params']['id']}})[_0xb63d('0x2a')](handleEntityNotFound(_0x2a3252,null))['then'](saveUpdates(_0x5ece8b[_0xb63d('0x4f')],null))['then'](respondWithResult(_0x2a3252,null))[_0xb63d('0x4a')](handleError(_0x2a3252,null));};exports[_0xb63d('0x2b')]=function(_0x2adaac,_0x115bbe){return db['AnalyticCustomReport'][_0xb63d('0x4d')]({'where':{'id':_0x2adaac['params']['id']}})[_0xb63d('0x2a')](handleEntityNotFound(_0x115bbe,null))[_0xb63d('0x2a')](removeEntity(_0x115bbe,null))[_0xb63d('0x4a')](handleError(_0x115bbe,null));};exports[_0xb63d('0x5b')]=function(_0x6afa47,_0x4cf6bc){var _0x2e68a1=0xa;var _0x189e8a=['join','left_join',_0xb63d('0x5c'),_0xb63d('0x5d')];var _0x3c084={'SUM':'SUM(%s)','COUNT':'COUNT(%s)','COUNT DISTINCT':_0xb63d('0x5e'),'MAX':_0xb63d('0x5f'),'MIN':_0xb63d('0x60'),'AVG':_0xb63d('0x61'),'GROUP_CONCAT':_0xb63d('0x62'),'GROUP_CONCAT ASC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT DESC':_0xb63d('0x63')};var _0x4cd8c4={'SEC_TO_TIME':_0xb63d('0x64'),'DATE':_0xb63d('0x65'),'HOUR':'HOUR(%s)','ROUND':_0xb63d('0x66'),'UNIX_TIMESTAMP':_0xb63d('0x67')};var _0x20184e=function(_0x5bc577){return!_['includes']([_0xb63d('0x68'),_0xb63d('0x69'),_0xb63d('0x6a'),_0xb63d('0x6b')],_0x5bc577);};var _0x18ed93=function(_0x1786b0){if(!_0x1786b0||!_0x1786b0[_0xb63d('0x6c')][_0xb63d('0x3d')]){return'';}for(var _0x30f498='(',_0x4a15bb=0x0;_0x4a15bb<_0x1786b0[_0xb63d('0x6c')][_0xb63d('0x3d')];_0x4a15bb+=0x1){_0x4a15bb>0x0&&(_0x30f498+='\x20'+_0x1786b0[_0xb63d('0x6d')]+'\x20');_0x30f498+=_0x1786b0[_0xb63d('0x6c')][_0x4a15bb]['group']?_0x18ed93(_0x1786b0[_0xb63d('0x6c')][_0x4a15bb][_0xb63d('0x6e')]):_0x1786b0[_0xb63d('0x6c')][_0x4a15bb][_0xb63d('0x6f')]+'\x20'+_0x1786b0[_0xb63d('0x6c')][_0x4a15bb][_0xb63d('0x70')]+(_0x20184e(_0x1786b0[_0xb63d('0x6c')][_0x4a15bb]['condition'])?'\x20'+_0x1786b0[_0xb63d('0x6c')][_0x4a15bb]['value']:'');}return _0x30f498+')';};var _0x310f2c={'where':{'id':_0x6afa47[_0xb63d('0x4c')]['id']}},_0x488cfd,_0x4f5de3,_0x1fbb6c,_0x578cac,_0x29ff96;_0x310f2c=_[_0xb63d('0x45')]({},_0x310f2c,_0x6afa47[_0xb63d('0x46')]);return db[_0xb63d('0x33')][_0xb63d('0x4d')](_0x310f2c)['then'](function(_0x34d42f){if(_0x34d42f){_0x488cfd=_0x34d42f;return _0x34d42f[_0xb63d('0x71')]();}return null;})[_0xb63d('0x2a')](function(_0x43d17e){if(_0x43d17e){if(!_0x43d17e['length']){throw new db['Sequelize']['ValidationErrorItem'](_0xb63d('0x72'),0x193);}_0x4f5de3=_0x43d17e;return db[_0xb63d('0x73')][_0xb63d('0x49')]({'raw':!![]});}return null;})[_0xb63d('0x2a')](function(_0x803906){if(_0x803906){_0x1fbb6c=_['keyBy'](_0x803906,'id');var _0x329ad0;var _0x4daa05=squel['select']();_0x4daa05[_0xb63d('0x74')](_0x488cfd[_0xb63d('0x75')]);for(var _0x1d0d10=0x0;_0x1d0d10<_0x4f5de3['length'];_0x1d0d10+=0x1){_0x329ad0=_0x4f5de3[_0x1d0d10]['MetricId']?_0x1fbb6c[_0x4f5de3[_0x1d0d10]['MetricId']][_0xb63d('0x76')]:_0x4f5de3[_0x1d0d10][_0xb63d('0x6f')];_0x329ad0=_0x4f5de3[_0x1d0d10][_0xb63d('0x77')]?_[_0xb63d('0x78')](_0x3c084[_0x4f5de3[_0x1d0d10]['function']],'%s',_0x329ad0):_0x329ad0;_0x329ad0=_0x4f5de3[_0x1d0d10]['format']?_[_0xb63d('0x78')](_0x4cd8c4[_0x4f5de3[_0x1d0d10][_0xb63d('0x79')]],'%s',_0x329ad0):_0x329ad0;if(_0x4f5de3[_0x1d0d10][_0xb63d('0x7a')]){_0x4daa05[_0xb63d('0x6e')](_0x329ad0);}_0x4f5de3[_0x1d0d10][_0xb63d('0x7b')]&&_0x4daa05['order'](_0x329ad0,_0x4f5de3[_0x1d0d10][_0xb63d('0x7b')]===_0xb63d('0x7c')?![]:!![]);_0x4daa05[_0xb63d('0x6f')](_0x329ad0,_0x4f5de3[_0x1d0d10][_0xb63d('0x7d')]||_0x329ad0);}if(_0x488cfd[_0xb63d('0x7e')]){_0x488cfd[_0xb63d('0x7e')]=JSON[_0xb63d('0x7f')](_0x488cfd[_0xb63d('0x7e')]);for(var _0x39487e=0x0;_0x39487e<_0x488cfd[_0xb63d('0x7e')][_0xb63d('0x3d')];_0x39487e+=0x1){if(_0x488cfd['joins'][_0x39487e][_0xb63d('0x36')]&&_['includes'](_0x189e8a,_0x488cfd[_0xb63d('0x7e')][_0x39487e]['type'])&&_0x488cfd[_0xb63d('0x7e')][_0x39487e][_0xb63d('0x80')]&&_0x488cfd['joins'][_0x39487e][_0xb63d('0x81')]&&_0x488cfd[_0xb63d('0x7e')][_0x39487e][_0xb63d('0x82')]){_0x4daa05[_0x488cfd[_0xb63d('0x7e')][_0x39487e][_0xb63d('0x36')]](_0x488cfd[_0xb63d('0x7e')][_0x39487e][_0xb63d('0x81')],null,util[_0xb63d('0x79')](_0xb63d('0x83'),_0x488cfd[_0xb63d('0x75')],_0x488cfd[_0xb63d('0x7e')][_0x39487e]['parentKey'],_0x488cfd[_0xb63d('0x7e')][_0x39487e][_0xb63d('0x81')],_0x488cfd['joins'][_0x39487e][_0xb63d('0x82')]));}}}if(_0x488cfd['conditions']){_0x488cfd[_0xb63d('0x84')]=JSON[_0xb63d('0x7f')](_0x488cfd[_0xb63d('0x84')]);_0x4daa05[_0xb63d('0x40')](_0x18ed93(_0x488cfd[_0xb63d('0x84')]['group']));}_0x29ff96=_0x4daa05[_0xb63d('0x85')]();_0x4daa05[_0xb63d('0x22')](_0x2e68a1);_0x4daa05['offset'](0x0);logger[_0xb63d('0x86')](_0xb63d('0x87'),_0x4daa05[_0xb63d('0x88')]());return dbH['sequelize'][_0xb63d('0x37')](_0x4daa05[_0xb63d('0x88')](),{'type':dbH['sequelize'][_0xb63d('0x89')][_0xb63d('0x8a')]});}})[_0xb63d('0x2a')](respondWithResult(_0x4cf6bc,null))['catch'](handleError(_0x4cf6bc,null));};function runReport(_0x520d47,_0x184956,_0x34144e){var _0x3886a6=_0x184956['name'];var _0x3c3789=0xa;var _0x22eaa5=[_0xb63d('0x8b'),_0xb63d('0x8c'),_0xb63d('0x5c'),_0xb63d('0x5d')];var _0x382693={'SUM':'SUM(%s)','COUNT':_0xb63d('0x8d'),'COUNT DISTINCT':_0xb63d('0x5e'),'MAX':_0xb63d('0x5f'),'MIN':_0xb63d('0x60'),'AVG':_0xb63d('0x61'),'GROUP_CONCAT':_0xb63d('0x62'),'GROUP_CONCAT ASC':_0xb63d('0x8e'),'GROUP_CONCAT DESC':_0xb63d('0x63')};var _0x5c4269={'SEC_TO_TIME':_0xb63d('0x64'),'DATE':_0xb63d('0x65'),'HOUR':'HOUR(%s)','ROUND':_0xb63d('0x66'),'UNIX_TIMESTAMP':_0xb63d('0x67')};var _0x3515bc=function(_0x5ce2e9){return!_['includes']([_0xb63d('0x68'),_0xb63d('0x69'),'IS\x20EMPTY','IS\x20NOT\x20EMPTY'],_0x5ce2e9);};var _0x3d4055=function(_0x3a6d94){if(!_0x3a6d94||!_0x3a6d94['rules'][_0xb63d('0x3d')]){return'';}for(var _0x1cbad8='(',_0x20008a=0x0;_0x20008a<_0x3a6d94[_0xb63d('0x6c')][_0xb63d('0x3d')];_0x20008a+=0x1){_0x20008a>0x0&&(_0x1cbad8+='\x20'+_0x3a6d94[_0xb63d('0x6d')]+'\x20');_0x1cbad8+=_0x3a6d94[_0xb63d('0x6c')][_0x20008a][_0xb63d('0x6e')]?_0x3d4055(_0x3a6d94['rules'][_0x20008a]['group']):_0x3a6d94['rules'][_0x20008a]['field']+'\x20'+_0x3a6d94[_0xb63d('0x6c')][_0x20008a][_0xb63d('0x70')]+(_0x3515bc(_0x3a6d94[_0xb63d('0x6c')][_0x20008a]['condition'])?'\x20'+_0x3a6d94[_0xb63d('0x6c')][_0x20008a][_0xb63d('0x8f')]:'');}return _0x1cbad8+')';};var _0x538161={'where':{'id':_0x520d47['id']}},_0x368839,_0x846fde,_0x10b542,_0x2e2346,_0x39b4da;_0x538161=_[_0xb63d('0x45')]({},_0x538161,_0x34144e);return db['AnalyticCustomReport'][_0xb63d('0x4d')](_0x538161)['then'](function(_0x27967b){if(_0x27967b){_0x368839=_0x27967b;return _0x27967b[_0xb63d('0x71')]();}return null;})['then'](function(_0x50ea78){if(_0x50ea78){if(!_0x50ea78[_0xb63d('0x3d')]){throw new db[(_0xb63d('0x90'))][(_0xb63d('0x91'))](_0xb63d('0x72'),0x193);}_0x846fde=_0x50ea78;return db['AnalyticMetric'][_0xb63d('0x49')]({'raw':!![]});}return null;})['then'](function(_0x163919){if(_0x163919){_0x10b542=_[_0xb63d('0x92')](_0x163919,'id');var _0xed28b1;var _0x826b18=squel['select']();_0x826b18['from'](_0x368839['table']);for(var _0x1fa3b5=0x0;_0x1fa3b5<_0x846fde['length'];_0x1fa3b5+=0x1){_0xed28b1=_0x846fde[_0x1fa3b5][_0xb63d('0x93')]?_0x10b542[_0x846fde[_0x1fa3b5]['MetricId']][_0xb63d('0x76')]:_0x846fde[_0x1fa3b5]['field'];_0xed28b1=_0x846fde[_0x1fa3b5][_0xb63d('0x77')]?_[_0xb63d('0x78')](_0x382693[_0x846fde[_0x1fa3b5][_0xb63d('0x77')]],'%s',_0xed28b1):_0xed28b1;_0xed28b1=_0x846fde[_0x1fa3b5][_0xb63d('0x79')]?_['replace'](_0x5c4269[_0x846fde[_0x1fa3b5][_0xb63d('0x79')]],'%s',_0xed28b1):_0xed28b1;if(_0x846fde[_0x1fa3b5][_0xb63d('0x7a')]){_0x826b18['group'](_0xed28b1);}_0x846fde[_0x1fa3b5]['orderBy']&&_0x826b18[_0xb63d('0x94')](_0xed28b1,_0x846fde[_0x1fa3b5][_0xb63d('0x7b')]===_0xb63d('0x7c')?![]:!![]);_0x826b18['field'](_0xed28b1,_0x846fde[_0x1fa3b5][_0xb63d('0x7d')]||_0xed28b1);}if(_0x368839[_0xb63d('0x7e')]){_0x368839[_0xb63d('0x7e')]=JSON[_0xb63d('0x7f')](_0x368839[_0xb63d('0x7e')]);for(var _0x11bd95=0x0;_0x11bd95<_0x368839[_0xb63d('0x7e')]['length'];_0x11bd95+=0x1){if(_0x368839[_0xb63d('0x7e')][_0x11bd95][_0xb63d('0x36')]&&_[_0xb63d('0x95')](_0x22eaa5,_0x368839[_0xb63d('0x7e')][_0x11bd95]['type'])&&_0x368839[_0xb63d('0x7e')][_0x11bd95][_0xb63d('0x80')]&&_0x368839[_0xb63d('0x7e')][_0x11bd95][_0xb63d('0x81')]&&_0x368839[_0xb63d('0x7e')][_0x11bd95][_0xb63d('0x82')]){_0x826b18[_0x368839[_0xb63d('0x7e')][_0x11bd95]['type']](_0x368839['joins'][_0x11bd95]['foreignTable'],null,util[_0xb63d('0x79')](_0xb63d('0x83'),_0x368839[_0xb63d('0x75')],_0x368839[_0xb63d('0x7e')][_0x11bd95]['parentKey'],_0x368839[_0xb63d('0x7e')][_0x11bd95]['foreignTable'],_0x368839[_0xb63d('0x7e')][_0x11bd95][_0xb63d('0x82')]));}}}if(_0x368839[_0xb63d('0x84')]){_0x368839[_0xb63d('0x84')]=JSON[_0xb63d('0x7f')](_0x368839['conditions']);_0x826b18[_0xb63d('0x40')](_0x3d4055(_0x368839[_0xb63d('0x84')]['group']));}_0x39b4da=_0x826b18[_0xb63d('0x85')]();_0x826b18[_0xb63d('0x22')](_0x3c3789);_0x826b18[_0xb63d('0x23')](0x0);return;}})['then'](function(){if(_0x184956[_0xb63d('0x96')]===_0xb63d('0x97')){return null;}var _0xd23c57=_[_0xb63d('0x45')](_0x184956,{'name':_0x184956['fullPath']||_0x184956[_0xb63d('0x30')]||_0x368839[_0xb63d('0x30')],'basename':_0x3886a6,'savename':util[_0xb63d('0x79')](_0xb63d('0x98'),_0x184956[_0xb63d('0x30')]||_0x368839[_0xb63d('0x30')],require('randomstring')[_0xb63d('0x99')](0x4),_0x184956[_0xb63d('0x96')]||'csv'),'reportId':_0x368839['id'],'reportType':_0xb63d('0x9a')});return db['AnalyticExtractedReport'][_0xb63d('0x4e')](_0xd23c57,{'raw':!![]});})[_0xb63d('0x2a')](function(_0x524236){if(_0x368839[_0xb63d('0x75')]===_0xb63d('0x9b')){_0x39b4da['where'](_0x368839[_0xb63d('0x75')]+_0xb63d('0x9c'),_0x184956[_0xb63d('0x9d')],_0x184956[_0xb63d('0x9e')]);}else{_0x39b4da['where'](_0x368839[_0xb63d('0x75')]+'.createdAt\x20BETWEEN\x20?\x20AND\x20?',_0x184956[_0xb63d('0x9d')],_0x184956[_0xb63d('0x9e')]);}if(_0x524236){logger[_0xb63d('0x9f')](_0xb63d('0xa0'),_0x39b4da[_0xb63d('0x88')]());require('child_process')[_0xb63d('0xa1')](path[_0xb63d('0x8b')](__dirname,_0xb63d('0xa2'),_0x524236[_0xb63d('0x96')]),[_0x524236['id'],_0x39b4da[_0xb63d('0x88')](),path[_0xb63d('0x8b')](__dirname,_0xb63d('0xa3'),_0x524236[_0xb63d('0xa4')]),_0x3886a6]);return _0x524236;}else{var _0x29056c=squel[_0xb63d('0xa5')]();_0x29056c['from']('('+_0x39b4da['toString']()+')','countTable');_0x29056c[_0xb63d('0x6f')]('COUNT(*)',_0xb63d('0x24'));_0x39b4da[_0xb63d('0x22')](_0x184956[_0xb63d('0x22')]||_0x3c3789);_0x39b4da['offset'](_0x184956[_0xb63d('0x23')]||0x0);return dbH[_0xb63d('0xa6')][_0xb63d('0x37')](_0x29056c['toString'](),{'type':dbH[_0xb63d('0xa6')][_0xb63d('0x89')][_0xb63d('0x8a')]})[_0xb63d('0x2a')](function(_0x29153e){if(!_0x29153e['length']){_0x2e2346=0x0;}else{_0x2e2346=_0x29153e[0x0][_0xb63d('0x24')]||0x0;}return dbH[_0xb63d('0xa6')]['query'](_0x39b4da['toString'](),{'type':dbH['sequelize']['QueryTypes'][_0xb63d('0x8a')]});})[_0xb63d('0x2a')](function(_0x47eeac){return{'rows':_0x47eeac||[],'count':_0x2e2346};});}});}exports[_0xb63d('0xa7')]=function(_0x4aca7d,_0x5431ab){return runReport(_0x4aca7d[_0xb63d('0x4c')],_0x4aca7d[_0xb63d('0x37')],_0x4aca7d[_0xb63d('0x46')])['then'](respondWithResult(_0x5431ab,null))[_0xb63d('0x4a')](handleError(_0x5431ab,null));};exports[_0xb63d('0xa8')]=runReport;exports[_0xb63d('0x37')]=function(_0x33b2a8,_0x3d9763){var _0x55c250=0xa;var _0x5be7dc=[_0xb63d('0x8b'),_0xb63d('0x8c'),_0xb63d('0x5c'),_0xb63d('0x5d')];var _0x50e6a8={'SUM':_0xb63d('0xa9'),'COUNT':_0xb63d('0x8d'),'COUNT DISTINCT':_0xb63d('0x5e'),'MAX':'MAX(%s)','MIN':'MIN(%s)','AVG':_0xb63d('0x61'),'GROUP_CONCAT':_0xb63d('0x62'),'GROUP_CONCAT ASC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT DESC':_0xb63d('0x63')};var _0xfe98d2={'SEC_TO_TIME':_0xb63d('0x64'),'DATE':_0xb63d('0x65'),'HOUR':_0xb63d('0xaa'),'ROUND':_0xb63d('0x66'),'UNIX_TIMESTAMP':'UNIX_TIMESTAMP(%s)'};var _0x1d4e66=function(_0x269d90){return!_[_0xb63d('0x95')]([_0xb63d('0x68'),_0xb63d('0x69'),_0xb63d('0x6a'),_0xb63d('0x6b')],_0x269d90);};var _0x57650f=function(_0x43fb94){if(!_0x43fb94||!_0x43fb94[_0xb63d('0x6c')][_0xb63d('0x3d')]){return'';}for(var _0x4348f7='(',_0x797aad=0x0;_0x797aad<_0x43fb94[_0xb63d('0x6c')][_0xb63d('0x3d')];_0x797aad+=0x1){_0x797aad>0x0&&(_0x4348f7+='\x20'+_0x43fb94[_0xb63d('0x6d')]+'\x20');_0x4348f7+=_0x43fb94[_0xb63d('0x6c')][_0x797aad]['group']?_0x57650f(_0x43fb94[_0xb63d('0x6c')][_0x797aad]['group']):_0x43fb94[_0xb63d('0x6c')][_0x797aad][_0xb63d('0x6f')]+'\x20'+_0x43fb94[_0xb63d('0x6c')][_0x797aad]['condition']+(_0x1d4e66(_0x43fb94[_0xb63d('0x6c')][_0x797aad][_0xb63d('0x70')])?'\x20'+_0x43fb94[_0xb63d('0x6c')][_0x797aad][_0xb63d('0x8f')]:'');}return _0x4348f7+')';};var _0x5be160={'where':{'id':_0x33b2a8[_0xb63d('0x4c')]['id']}},_0x280ac4,_0x5e3c44,_0x109b20,_0x93e0ad,_0x1ecd82;_0x5be160=_[_0xb63d('0x45')]({},_0x5be160,_0x33b2a8[_0xb63d('0x46')]);return db[_0xb63d('0x33')][_0xb63d('0x4d')](_0x5be160)[_0xb63d('0x2a')](function(_0x55d16e){if(_0x55d16e){_0x280ac4=_0x55d16e;return _0x55d16e[_0xb63d('0x71')]();}return null;})[_0xb63d('0x2a')](function(_0x46aa6b){if(_0x46aa6b){if(!_0x46aa6b[_0xb63d('0x3d')]){throw new db[(_0xb63d('0x90'))][(_0xb63d('0x91'))](_0xb63d('0x72'),0x193);}_0x5e3c44=_0x46aa6b;return db[_0xb63d('0x73')]['findAll']({'raw':!![]});}return null;})[_0xb63d('0x2a')](function(_0x2d4d1f){if(_0x2d4d1f){_0x109b20=_[_0xb63d('0x92')](_0x2d4d1f,'id');var _0x367fbc;var _0x547c2e=squel['select']();_0x547c2e['from'](_0x280ac4[_0xb63d('0x75')]);for(var _0xa5a753=0x0;_0xa5a753<_0x5e3c44[_0xb63d('0x3d')];_0xa5a753+=0x1){_0x367fbc=_0x5e3c44[_0xa5a753][_0xb63d('0x93')]?_0x109b20[_0x5e3c44[_0xa5a753][_0xb63d('0x93')]]['metric']:_0x5e3c44[_0xa5a753]['field'];_0x367fbc=_0x5e3c44[_0xa5a753]['function']?_['replace'](_0x50e6a8[_0x5e3c44[_0xa5a753][_0xb63d('0x77')]],'%s',_0x367fbc):_0x367fbc;_0x367fbc=_0x5e3c44[_0xa5a753]['format']?_[_0xb63d('0x78')](_0xfe98d2[_0x5e3c44[_0xa5a753][_0xb63d('0x79')]],'%s',_0x367fbc):_0x367fbc;if(_0x5e3c44[_0xa5a753]['groupBy']){_0x547c2e[_0xb63d('0x6e')](_0x367fbc);}_0x5e3c44[_0xa5a753][_0xb63d('0x7b')]&&_0x547c2e[_0xb63d('0x94')](_0x367fbc,_0x5e3c44[_0xa5a753][_0xb63d('0x7b')]===_0xb63d('0x7c')?![]:!![]);_0x547c2e['field'](_0x367fbc,_0x5e3c44[_0xa5a753][_0xb63d('0x7d')]||_0x367fbc);}if(_0x280ac4[_0xb63d('0x7e')]){_0x280ac4[_0xb63d('0x7e')]=JSON['parse'](_0x280ac4[_0xb63d('0x7e')]);for(var _0x1ab2a0=0x0;_0x1ab2a0<_0x280ac4['joins'][_0xb63d('0x3d')];_0x1ab2a0+=0x1){if(_0x280ac4[_0xb63d('0x7e')][_0x1ab2a0][_0xb63d('0x36')]&&_[_0xb63d('0x95')](_0x5be7dc,_0x280ac4[_0xb63d('0x7e')][_0x1ab2a0][_0xb63d('0x36')])&&_0x280ac4[_0xb63d('0x7e')][_0x1ab2a0][_0xb63d('0x80')]&&_0x280ac4['joins'][_0x1ab2a0]['foreignTable']&&_0x280ac4['joins'][_0x1ab2a0][_0xb63d('0x82')]){_0x547c2e[_0x280ac4[_0xb63d('0x7e')][_0x1ab2a0][_0xb63d('0x36')]](_0x280ac4[_0xb63d('0x7e')][_0x1ab2a0][_0xb63d('0x81')],null,util[_0xb63d('0x79')](_0xb63d('0x83'),_0x280ac4[_0xb63d('0x75')],_0x280ac4[_0xb63d('0x7e')][_0x1ab2a0][_0xb63d('0x80')],_0x280ac4[_0xb63d('0x7e')][_0x1ab2a0]['foreignTable'],_0x280ac4[_0xb63d('0x7e')][_0x1ab2a0][_0xb63d('0x82')]));}}}if(_0x280ac4[_0xb63d('0x84')]){_0x280ac4[_0xb63d('0x84')]=JSON[_0xb63d('0x7f')](_0x280ac4[_0xb63d('0x84')]);_0x547c2e[_0xb63d('0x40')](_0x57650f(_0x280ac4[_0xb63d('0x84')][_0xb63d('0x6e')]));}_0x1ecd82=_0x547c2e['clone']();_0x547c2e[_0xb63d('0x22')](_0x55c250);_0x547c2e[_0xb63d('0x23')](0x0);logger[_0xb63d('0x86')]('Limited\x20Query:',_0x547c2e[_0xb63d('0x88')]());return dbH[_0xb63d('0xa6')]['query'](_0x547c2e[_0xb63d('0x88')](),{'type':dbH[_0xb63d('0xa6')]['QueryTypes'][_0xb63d('0x8a')]});}})['then'](function(){return{'sql':_0x1ecd82[_0xb63d('0x88')]()};})['then'](respondWithResult(_0x3d9763,null))[_0xb63d('0x4a')](handleError(_0x3d9763,null));};
\ No newline at end of file
diff --git a/server/api/analyticCustomReport/analyticCustomReport.model.js b/server/api/analyticCustomReport/analyticCustomReport.model.js
index 15f6efd..036c687 100644
--- a/server/api/analyticCustomReport/analyticCustomReport.model.js
+++ b/server/api/analyticCustomReport/analyticCustomReport.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x0f4a=['rimraf','../../config/environment','./analyticCustomReport.attributes','define','AnalyticCustomReport','analytics_custom_reports','lodash','util','../../config/logger','moment','request-promise','path'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x0f4a,0x8a));var _0xa0f4=function(_0x87208d,_0x320514){_0x87208d=_0x87208d-0x0;var _0x40eb1d=_0x0f4a[_0x87208d];return _0x40eb1d;};'use strict';var _=require(_0xa0f4('0x0'));var util=require(_0xa0f4('0x1'));var logger=require(_0xa0f4('0x2'))('api');var moment=require(_0xa0f4('0x3'));var BPromise=require('bluebird');var rp=require(_0xa0f4('0x4'));var fs=require('fs');var path=require(_0xa0f4('0x5'));var rimraf=require(_0xa0f4('0x6'));var config=require(_0xa0f4('0x7'));var attributes=require(_0xa0f4('0x8'));module['exports']=function(_0x4fdda6,_0x535b30){return _0x4fdda6[_0xa0f4('0x9')](_0xa0f4('0xa'),attributes,{'tableName':_0xa0f4('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x3f3d=['request-promise','path','rimraf','./analyticCustomReport.attributes','define','AnalyticCustomReport','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x4cd1d2,_0x2d6009){var _0x28a01e=function(_0x27a701){while(--_0x27a701){_0x4cd1d2['push'](_0x4cd1d2['shift']());}};_0x28a01e(++_0x2d6009);}(_0x3f3d,0x11a));var _0xd3f3=function(_0x56a7dd,_0x3fd9ae){_0x56a7dd=_0x56a7dd-0x0;var _0xc7b980=_0x3f3d[_0x56a7dd];return _0xc7b980;};'use strict';var _=require(_0xd3f3('0x0'));var util=require(_0xd3f3('0x1'));var logger=require(_0xd3f3('0x2'))(_0xd3f3('0x3'));var moment=require(_0xd3f3('0x4'));var BPromise=require(_0xd3f3('0x5'));var rp=require(_0xd3f3('0x6'));var fs=require('fs');var path=require(_0xd3f3('0x7'));var rimraf=require(_0xd3f3('0x8'));var config=require('../../config/environment');var attributes=require(_0xd3f3('0x9'));module['exports']=function(_0x460f85,_0x857212){return _0x460f85[_0xd3f3('0xa')](_0xd3f3('0xb'),attributes,{'tableName':'analytics_custom_reports','paranoid':!![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/analyticCustomReport/analyticCustomReport.rpc.js b/server/api/analyticCustomReport/analyticCustomReport.rpc.js
index c293438..12c10d7 100644
--- a/server/api/analyticCustomReport/analyticCustomReport.rpc.js
+++ b/server/api/analyticCustomReport/analyticCustomReport.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x0f09=['debug','AnalyticCustomReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','lodash','util','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','jayson/promise','client','http','request','then','AnalyticCustomReport,\x20%s,\x20%s','request\x20sent'];(function(_0x4a27e1,_0x98b91){var _0x46a8a3=function(_0x10bf5d){while(--_0x10bf5d){_0x4a27e1['push'](_0x4a27e1['shift']());}};_0x46a8a3(++_0x98b91);}(_0x0f09,0x75));var _0x90f0=function(_0xdea41a,_0x552987){_0xdea41a=_0xdea41a-0x0;var _0x15d0d8=_0x0f09[_0xdea41a];return _0x15d0d8;};'use strict';var _=require(_0x90f0('0x0'));var util=require(_0x90f0('0x1'));var moment=require(_0x90f0('0x2'));var BPromise=require(_0x90f0('0x3'));var rs=require(_0x90f0('0x4'));var fs=require('fs');var Redis=require(_0x90f0('0x5'));var db=require('../../mysqldb')['db'];var utils=require(_0x90f0('0x6'));var logger=require(_0x90f0('0x7'))('rpc');var config=require('../../config/environment');var jayson=require(_0x90f0('0x8'));var client=jayson[_0x90f0('0x9')][_0x90f0('0xa')]({'port':0x232a});function respondWithRpcPromise(_0xdcd9b6,_0xd29ac7,_0x4bc07b){return new BPromise(function(_0x29a9a6,_0x4e14a8){return client[_0x90f0('0xb')](_0xdcd9b6,_0x4bc07b)[_0x90f0('0xc')](function(_0x1ec366){logger['info'](_0x90f0('0xd'),_0xd29ac7,_0x90f0('0xe'));logger[_0x90f0('0xf')](_0x90f0('0x10'),_0xd29ac7,_0x90f0('0xe'),JSON[_0x90f0('0x11')](_0x1ec366));if(_0x1ec366[_0x90f0('0x12')]){if(_0x1ec366[_0x90f0('0x12')][_0x90f0('0x13')]===0x1f4){logger['error'](_0x90f0('0xd'),_0xd29ac7,_0x1ec366[_0x90f0('0x12')][_0x90f0('0x14')]);return _0x4e14a8(_0x1ec366[_0x90f0('0x12')][_0x90f0('0x14')]);}logger[_0x90f0('0x12')](_0x90f0('0xd'),_0xd29ac7,_0x1ec366[_0x90f0('0x12')][_0x90f0('0x14')]);return _0x29a9a6(_0x1ec366[_0x90f0('0x12')][_0x90f0('0x14')]);}else{logger['info'](_0x90f0('0xd'),_0xd29ac7,_0x90f0('0xe'));_0x29a9a6(_0x1ec366[_0x90f0('0x15')][_0x90f0('0x14')]);}})['catch'](function(_0x1e604a){logger[_0x90f0('0x12')](_0x90f0('0xd'),_0xd29ac7,_0x1e604a);_0x4e14a8(_0x1e604a);});});}
\ No newline at end of file
+var _0x2735=['code','message','result','catch','lodash','util','bluebird','../../mysqldb','../../config/utils','jayson/promise','client','then','info','AnalyticCustomReport,\x20%s,\x20%s','AnalyticCustomReport,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error'];(function(_0x236815,_0x2d5f45){var _0x7dc87f=function(_0x472116){while(--_0x472116){_0x236815['push'](_0x236815['shift']());}};_0x7dc87f(++_0x2d5f45);}(_0x2735,0x70));var _0x5273=function(_0x164eca,_0x555e28){_0x164eca=_0x164eca-0x0;var _0x2ce562=_0x2735[_0x164eca];return _0x2ce562;};'use strict';var _=require(_0x5273('0x0'));var util=require(_0x5273('0x1'));var moment=require('moment');var BPromise=require(_0x5273('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x5273('0x3'))['db'];var utils=require(_0x5273('0x4'));var logger=require('../../config/logger')('rpc');var config=require('../../config/environment');var jayson=require(_0x5273('0x5'));var client=jayson[_0x5273('0x6')]['http']({'port':0x232a});function respondWithRpcPromise(_0x444d57,_0x6fb408,_0x5577dd){return new BPromise(function(_0x53fe5c,_0x12df25){return client['request'](_0x444d57,_0x5577dd)[_0x5273('0x7')](function(_0x4d5707){logger[_0x5273('0x8')](_0x5273('0x9'),_0x6fb408,'request\x20sent');logger['debug'](_0x5273('0xa'),_0x6fb408,_0x5273('0xb'),JSON[_0x5273('0xc')](_0x4d5707));if(_0x4d5707[_0x5273('0xd')]){if(_0x4d5707[_0x5273('0xd')][_0x5273('0xe')]===0x1f4){logger[_0x5273('0xd')](_0x5273('0x9'),_0x6fb408,_0x4d5707[_0x5273('0xd')][_0x5273('0xf')]);return _0x12df25(_0x4d5707[_0x5273('0xd')][_0x5273('0xf')]);}logger[_0x5273('0xd')](_0x5273('0x9'),_0x6fb408,_0x4d5707[_0x5273('0xd')][_0x5273('0xf')]);return _0x53fe5c(_0x4d5707[_0x5273('0xd')]['message']);}else{logger[_0x5273('0x8')](_0x5273('0x9'),_0x6fb408,'request\x20sent');_0x53fe5c(_0x4d5707[_0x5273('0x10')][_0x5273('0xf')]);}})[_0x5273('0x11')](function(_0xfee948){logger[_0x5273('0xd')](_0x5273('0x9'),_0x6fb408,_0xfee948);_0x12df25(_0xfee948);});});}
\ No newline at end of file
diff --git a/server/api/analyticCustomReport/index.js b/server/api/analyticCustomReport/index.js
index 37df300..98c2735 100644
--- a/server/api/analyticCustomReport/index.js
+++ b/server/api/analyticCustomReport/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xf66f=['preview','run','/:id/query','query','create','put','update','delete','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','./analyticCustomReport.controller','isAuthenticated','index','get','/:id'];(function(_0x2f1d10,_0x49296b){var _0x23e49b=function(_0x2bf2f9){while(--_0x2bf2f9){_0x2f1d10['push'](_0x2f1d10['shift']());}};_0x23e49b(++_0x49296b);}(_0xf66f,0x148));var _0xff66=function(_0x6b2c5c,_0x3f6949){_0x6b2c5c=_0x6b2c5c-0x0;var _0x18e3ce=_0xf66f[_0x6b2c5c];return _0x18e3ce;};'use strict';var multer=require(_0xff66('0x0'));var util=require(_0xff66('0x1'));var path=require(_0xff66('0x2'));var timeout=require(_0xff66('0x3'));var express=require('express');var router=express[_0xff66('0x4')]();var fs_extra=require(_0xff66('0x5'));var auth=require(_0xff66('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xff66('0x7'));router['get']('/',auth[_0xff66('0x8')](),controller[_0xff66('0x9')]);router[_0xff66('0xa')](_0xff66('0xb'),auth[_0xff66('0x8')](),controller['show']);router['get']('/:id/preview',auth['isAuthenticated'](),controller[_0xff66('0xc')]);router[_0xff66('0xa')]('/:id/run',auth['isAuthenticated'](),controller[_0xff66('0xd')]);router[_0xff66('0xa')](_0xff66('0xe'),auth['isAuthenticated'](),controller[_0xff66('0xf')]);router['post']('/',auth[_0xff66('0x8')](),controller[_0xff66('0x10')]);router[_0xff66('0x11')](_0xff66('0xb'),auth[_0xff66('0x8')](),controller[_0xff66('0x12')]);router[_0xff66('0x13')](_0xff66('0xb'),auth[_0xff66('0x8')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x8d47=['preview','run','/:id/query','query','post','create','put','update','delete','destroy','exports','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','isAuthenticated','show','/:id/preview'];(function(_0x58b6c7,_0x3bf35e){var _0x5f50d0=function(_0x532e10){while(--_0x532e10){_0x58b6c7['push'](_0x58b6c7['shift']());}};_0x5f50d0(++_0x3bf35e);}(_0x8d47,0xcb));var _0x78d4=function(_0x3f1cd1,_0xfe563e){_0x3f1cd1=_0x3f1cd1-0x0;var _0x3af92f=_0x8d47[_0x3f1cd1];return _0x3af92f;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x78d4('0x0'));var timeout=require(_0x78d4('0x1'));var express=require(_0x78d4('0x2'));var router=express['Router']();var fs_extra=require(_0x78d4('0x3'));var auth=require(_0x78d4('0x4'));var interaction=require(_0x78d4('0x5'));var config=require(_0x78d4('0x6'));var controller=require('./analyticCustomReport.controller');router[_0x78d4('0x7')]('/',auth['isAuthenticated'](),controller[_0x78d4('0x8')]);router[_0x78d4('0x7')](_0x78d4('0x9'),auth[_0x78d4('0xa')](),controller[_0x78d4('0xb')]);router[_0x78d4('0x7')](_0x78d4('0xc'),auth[_0x78d4('0xa')](),controller[_0x78d4('0xd')]);router[_0x78d4('0x7')]('/:id/run',auth[_0x78d4('0xa')](),controller[_0x78d4('0xe')]);router[_0x78d4('0x7')](_0x78d4('0xf'),auth['isAuthenticated'](),controller[_0x78d4('0x10')]);router[_0x78d4('0x11')]('/',auth[_0x78d4('0xa')](),controller[_0x78d4('0x12')]);router[_0x78d4('0x13')](_0x78d4('0x9'),auth[_0x78d4('0xa')](),controller[_0x78d4('0x14')]);router[_0x78d4('0x15')]('/:id',auth[_0x78d4('0xa')](),controller[_0x78d4('0x16')]);module[_0x78d4('0x17')]=router;
\ No newline at end of file
diff --git a/server/api/analyticDefaultReport/analyticDefaultReport.attributes.js b/server/api/analyticDefaultReport/analyticDefaultReport.attributes.js
index 8d17144..d713abc 100644
--- a/server/api/analyticDefaultReport/analyticDefaultReport.attributes.js
+++ b/server/api/analyticDefaultReport/analyticDefaultReport.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x33c5=['STRING','TEXT','exports'];(function(_0x3ac5ac,_0x10d990){var _0x9eb744=function(_0x7fe86d){while(--_0x7fe86d){_0x3ac5ac['push'](_0x3ac5ac['shift']());}};_0x9eb744(++_0x10d990);}(_0x33c5,0xe6));var _0x533c=function(_0x4347ec,_0x41c4b8){_0x4347ec=_0x4347ec-0x0;var _0x4c8314=_0x33c5[_0x4347ec];return _0x4c8314;};'use strict';var Sequelize=require('sequelize');module[_0x533c('0x0')]={'name':{'type':Sequelize[_0x533c('0x1')],'allowNull':![]},'description':{'type':Sequelize['STRING']},'parent':{'type':Sequelize[_0x533c('0x1')]},'table':{'type':Sequelize[_0x533c('0x1')]},'conditions':{'type':Sequelize[_0x533c('0x2')]},'joins':{'type':Sequelize[_0x533c('0x2')]}};
\ No newline at end of file
+var _0x1883=['exports','STRING','TEXT','sequelize'];(function(_0x17f6d3,_0x23e961){var _0xc39cb9=function(_0x689c0c){while(--_0x689c0c){_0x17f6d3['push'](_0x17f6d3['shift']());}};_0xc39cb9(++_0x23e961);}(_0x1883,0xab));var _0x3188=function(_0xec5c56,_0x46a233){_0xec5c56=_0xec5c56-0x0;var _0x5a85b5=_0x1883[_0xec5c56];return _0x5a85b5;};'use strict';var Sequelize=require(_0x3188('0x0'));module[_0x3188('0x1')]={'name':{'type':Sequelize[_0x3188('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0x3188('0x2')]},'parent':{'type':Sequelize[_0x3188('0x2')]},'table':{'type':Sequelize[_0x3188('0x2')]},'conditions':{'type':Sequelize[_0x3188('0x3')]},'joins':{'type':Sequelize[_0x3188('0x3')]}};
\ No newline at end of file
diff --git a/server/api/analyticDefaultReport/analyticDefaultReport.controller.js b/server/api/analyticDefaultReport/analyticDefaultReport.controller.js
index 51aa04e..afef0d7 100644
--- a/server/api/analyticDefaultReport/analyticDefaultReport.controller.js
+++ b/server/api/analyticDefaultReport/analyticDefaultReport.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xc6ac=['keyBy','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','fs-extra','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','dbH','status','end','json','offset','undefined','limit','count','set','Content-Range','apply','reject','save','update','then','destroy','DefaultReports','UserProfileResource','stack','send','index','map','AnalyticDefaultReport','rawAttributes','fieldName','type','model','name','query','keys','filters','fields','attributes','nolimit','order','sort','where','pick','merge','VIRTUAL','filter','includeAll','include','findAll','rows','catch','show','params','intersection','length','options','find','create','body','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','userProfileId','autoAssociation','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','preview','left_join','right_join','cross_join','SUM(%s)','MAX(%s)','MIN(%s)','AVG(%s)','GROUP_CONCAT(%s)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)','SEC_TO_TIME(%s)','DATE(%s)','HOUR(%s)','ROUND(%s)','UNIX_TIMESTAMP(%s)','includes','IS\x20NULL','IS\x20NOT\x20NULL','IS\x20EMPTY','rules','operator','field','condition','value','Sequelize','AnalyticMetric','select','from','table','MetricId','replace','format','group','DESC','alias','joins','parse','foreignTable','foreignKey','%s.%s\x20=\x20%s.%s','parentKey','conditions','clone','debug','Limited\x20Query:','sequelize','toString','QueryTypes','SELECT','join','COUNT(%s)','COUNT(DISTINCT\x20%s)','IS\x20NOT\x20EMPTY','ValidationErrorItem','Please\x20insert\x20at\x20least\x20one\x20field','metric','function','groupBy','orderBy','output','web','fullPath','%s-%s.%s','randomstring','generate','default','AnalyticExtractedReport','.calldate\x20BETWEEN\x20?\x20AND\x20?','startDate','.createdAt\x20BETWEEN\x20?\x20AND\x20?','endDate','info','Run\x20Query:','../../components/export/','../../files/reports','savename','countTable','COUNT(*)','run','runReport','getFields'];(function(_0x12d033,_0x25fa2f){var _0x3b4e80=function(_0x46c1f4){while(--_0x46c1f4){_0x12d033['push'](_0x12d033['shift']());}};_0x3b4e80(++_0x25fa2f);}(_0xc6ac,0x15b));var _0xcc6a=function(_0x8f8af3,_0x3b5bce){_0x8f8af3=_0x8f8af3-0x0;var _0x13f698=_0xc6ac[_0x8f8af3];return _0x13f698;};'use strict';var emlformat=require(_0xcc6a('0x0'));var rimraf=require(_0xcc6a('0x1'));var zipdir=require(_0xcc6a('0x2'));var jsonpatch=require(_0xcc6a('0x3'));var rp=require(_0xcc6a('0x4'));var moment=require(_0xcc6a('0x5'));var BPromise=require(_0xcc6a('0x6'));var Mustache=require(_0xcc6a('0x7'));var util=require(_0xcc6a('0x8'));var path=require(_0xcc6a('0x9'));var sox=require(_0xcc6a('0xa'));var csv=require(_0xcc6a('0xb'));var ejs=require(_0xcc6a('0xc'));var fs=require('fs');var fs_extra=require(_0xcc6a('0xd'));var _=require('lodash');var squel=require(_0xcc6a('0xe'));var crypto=require(_0xcc6a('0xf'));var jsforce=require(_0xcc6a('0x10'));var deskjs=require('desk.js');var toCsv=require(_0xcc6a('0xb'));var querystring=require(_0xcc6a('0x11'));var Papa=require(_0xcc6a('0x12'));var Redis=require(_0xcc6a('0x13'));var authService=require(_0xcc6a('0x14'));var qs=require('../../components/parsers/qs');var as=require(_0xcc6a('0x15'));var hardwareService=require(_0xcc6a('0x16'));var logger=require(_0xcc6a('0x17'))('api');var utils=require(_0xcc6a('0x18'));var config=require(_0xcc6a('0x19'));var licenseUtil=require(_0xcc6a('0x1a'));var db=require('../../mysqldb')['db'];var dbH=require('../../mysqldb')[_0xcc6a('0x1b')];function respondWithStatusCode(_0x211444,_0x4300c0){_0x4300c0=_0x4300c0||0xcc;return function(_0x559a0a){if(_0x559a0a){return _0x211444['sendStatus'](_0x4300c0);}return _0x211444[_0xcc6a('0x1c')](_0x4300c0)[_0xcc6a('0x1d')]();};}function respondWithResult(_0x43710d,_0x348af7){_0x348af7=_0x348af7||0xc8;return function(_0x96f9de){if(_0x96f9de){return _0x43710d[_0xcc6a('0x1c')](_0x348af7)[_0xcc6a('0x1e')](_0x96f9de);}};}function respondWithFilteredResult(_0x403b18,_0x56ffb0){return function(_0x4e628f){if(_0x4e628f){var _0x4d021a=typeof _0x56ffb0[_0xcc6a('0x1f')]===_0xcc6a('0x20')&&typeof _0x56ffb0[_0xcc6a('0x21')]===_0xcc6a('0x20');var _0x33079c=_0x4e628f[_0xcc6a('0x22')];var _0x2d9585=_0x4d021a?0x0:_0x56ffb0[_0xcc6a('0x1f')];var _0x374e51=_0x4d021a?_0x4e628f[_0xcc6a('0x22')]:_0x56ffb0[_0xcc6a('0x1f')]+_0x56ffb0['limit'];var _0xfec60f;if(_0x374e51>=_0x33079c){_0x374e51=_0x33079c;_0xfec60f=0xc8;}else{_0xfec60f=0xce;}_0x403b18[_0xcc6a('0x1c')](_0xfec60f);return _0x403b18[_0xcc6a('0x23')](_0xcc6a('0x24'),_0x2d9585+'-'+_0x374e51+'/'+_0x33079c)[_0xcc6a('0x1e')](_0x4e628f);}return null;};}function patchUpdates(_0x30b8ed){return function(_0x36c80f){try{jsonpatch[_0xcc6a('0x25')](_0x36c80f,_0x30b8ed,!![]);}catch(_0x2254a8){return BPromise[_0xcc6a('0x26')](_0x2254a8);}return _0x36c80f[_0xcc6a('0x27')]();};}function saveUpdates(_0x845088,_0x51be9a){return function(_0x41c4c8){if(_0x41c4c8){return _0x41c4c8[_0xcc6a('0x28')](_0x845088)[_0xcc6a('0x29')](function(_0x581aae){return _0x581aae;});}return null;};}function removeEntity(_0x10016a,_0x294486){return function(_0x3a00e5){if(_0x3a00e5){return _0x3a00e5[_0xcc6a('0x2a')]()[_0xcc6a('0x29')](function(){var _0x5fc697=_0x3a00e5['get']({'plain':!![]});var _0x26def8=_0xcc6a('0x2b');return db[_0xcc6a('0x2c')]['destroy']({'where':{'type':_0x26def8,'resourceId':_0x5fc697['id']}})[_0xcc6a('0x29')](function(){return _0x3a00e5;});})[_0xcc6a('0x29')](function(){_0x10016a['status'](0xcc)[_0xcc6a('0x1d')]();});}};}function handleEntityNotFound(_0x8b1b2b,_0x3233d1){return function(_0x473f88){if(!_0x473f88){_0x8b1b2b['sendStatus'](0x194);}return _0x473f88;};}function handleError(_0x194aab,_0x3cf14c){_0x3cf14c=_0x3cf14c||0x1f4;return function(_0x2c6d88){logger['error'](_0x2c6d88[_0xcc6a('0x2d')]);if(_0x2c6d88['name']){delete _0x2c6d88['name'];}_0x194aab[_0xcc6a('0x1c')](_0x3cf14c)[_0xcc6a('0x2e')](_0x2c6d88);};}exports[_0xcc6a('0x2f')]=function(_0x11b481,_0x2b575d){var _0x131138={},_0x4e2de4={},_0x7b2b54={'count':0x0,'rows':[]};var _0x28e3c3=_[_0xcc6a('0x30')](db[_0xcc6a('0x31')][_0xcc6a('0x32')],function(_0x152ebd){return{'name':_0x152ebd[_0xcc6a('0x33')],'type':_0x152ebd[_0xcc6a('0x34')]['key']};});_0x4e2de4[_0xcc6a('0x35')]=_[_0xcc6a('0x30')](_0x28e3c3,_0xcc6a('0x36'));_0x4e2de4[_0xcc6a('0x37')]=_[_0xcc6a('0x38')](_0x11b481[_0xcc6a('0x37')]);_0x4e2de4[_0xcc6a('0x39')]=_['intersection'](_0x4e2de4[_0xcc6a('0x35')],_0x4e2de4['query']);_0x131138['attributes']=_['intersection'](_0x4e2de4[_0xcc6a('0x35')],qs[_0xcc6a('0x3a')](_0x11b481[_0xcc6a('0x37')][_0xcc6a('0x3a')]));_0x131138[_0xcc6a('0x3b')]=_0x131138['attributes']['length']?_0x131138[_0xcc6a('0x3b')]:_0x4e2de4[_0xcc6a('0x35')];if(!_0x11b481[_0xcc6a('0x37')]['hasOwnProperty'](_0xcc6a('0x3c'))){_0x131138[_0xcc6a('0x21')]=qs[_0xcc6a('0x21')](_0x11b481[_0xcc6a('0x37')][_0xcc6a('0x21')]);_0x131138[_0xcc6a('0x1f')]=qs[_0xcc6a('0x1f')](_0x11b481[_0xcc6a('0x37')][_0xcc6a('0x1f')]);}_0x131138[_0xcc6a('0x3d')]=qs[_0xcc6a('0x3e')](_0x11b481[_0xcc6a('0x37')][_0xcc6a('0x3e')]);_0x131138[_0xcc6a('0x3f')]=qs[_0xcc6a('0x39')](_[_0xcc6a('0x40')](_0x11b481[_0xcc6a('0x37')],_0x4e2de4[_0xcc6a('0x39')]),_0x28e3c3);if(_0x11b481['query']['filter']){_0x131138[_0xcc6a('0x3f')]=_[_0xcc6a('0x41')](_0x131138[_0xcc6a('0x3f')],{'$or':_[_0xcc6a('0x30')](_0x28e3c3,function(_0x1e628b){if(_0x1e628b[_0xcc6a('0x34')]!==_0xcc6a('0x42')){var _0x1199f1={};_0x1199f1[_0x1e628b['name']]={'$like':'%'+_0x11b481['query'][_0xcc6a('0x43')]+'%'};return _0x1199f1;}})});}_0x131138=_['merge']({},_0x131138,_0x11b481['options']);var _0x5cf1ba={'where':_0x131138[_0xcc6a('0x3f')]};return db[_0xcc6a('0x31')][_0xcc6a('0x22')](_0x5cf1ba)[_0xcc6a('0x29')](function(_0xe8056f){_0x7b2b54['count']=_0xe8056f;if(_0x11b481[_0xcc6a('0x37')][_0xcc6a('0x44')]){_0x131138[_0xcc6a('0x45')]=[{'all':!![]}];}return db[_0xcc6a('0x31')][_0xcc6a('0x46')](_0x131138);})[_0xcc6a('0x29')](function(_0x54f862){_0x7b2b54[_0xcc6a('0x47')]=_0x54f862;return _0x7b2b54;})[_0xcc6a('0x29')](respondWithFilteredResult(_0x2b575d,_0x131138))[_0xcc6a('0x48')](handleError(_0x2b575d,null));};exports[_0xcc6a('0x49')]=function(_0x494904,_0x1fe723){var _0x4a9cea={'raw':!![],'where':{'id':_0x494904[_0xcc6a('0x4a')]['id']}},_0x351529={};_0x351529[_0xcc6a('0x35')]=_['keys'](db[_0xcc6a('0x31')][_0xcc6a('0x32')]);_0x351529[_0xcc6a('0x37')]=_['keys'](_0x494904['query']);_0x351529[_0xcc6a('0x39')]=_[_0xcc6a('0x4b')](_0x351529[_0xcc6a('0x35')],_0x351529[_0xcc6a('0x37')]);_0x4a9cea[_0xcc6a('0x3b')]=_['intersection'](_0x351529[_0xcc6a('0x35')],qs[_0xcc6a('0x3a')](_0x494904['query'][_0xcc6a('0x3a')]));_0x4a9cea[_0xcc6a('0x3b')]=_0x4a9cea[_0xcc6a('0x3b')][_0xcc6a('0x4c')]?_0x4a9cea[_0xcc6a('0x3b')]:_0x351529[_0xcc6a('0x35')];if(_0x494904['query']['includeAll']){_0x4a9cea['include']=[{'all':!![]}];}_0x4a9cea=_[_0xcc6a('0x41')]({},_0x4a9cea,_0x494904[_0xcc6a('0x4d')]);return db[_0xcc6a('0x31')][_0xcc6a('0x4e')](_0x4a9cea)['then'](handleEntityNotFound(_0x1fe723,null))[_0xcc6a('0x29')](respondWithResult(_0x1fe723,null))['catch'](handleError(_0x1fe723,null));};exports[_0xcc6a('0x4f')]=function(_0x4299ca,_0xcfc540){return db[_0xcc6a('0x31')][_0xcc6a('0x4f')](_0x4299ca[_0xcc6a('0x50')],{})['then'](function(_0x1a3b82){var _0x7288b2=_0x4299ca[_0xcc6a('0x51')][_0xcc6a('0x52')]({'plain':!![]});if(!_0x7288b2)throw new Error(_0xcc6a('0x53'));if(_0x7288b2[_0xcc6a('0x54')]===_0xcc6a('0x51')){var _0x392805=_0x1a3b82[_0xcc6a('0x52')]({'plain':!![]});var _0x30d0ef='Reports';return db[_0xcc6a('0x55')][_0xcc6a('0x4e')]({'where':{'name':_0x30d0ef,'userProfileId':_0x7288b2[_0xcc6a('0x56')]},'raw':!![]})[_0xcc6a('0x29')](function(_0x14f5e5){if(_0x14f5e5&&_0x14f5e5[_0xcc6a('0x57')]===0x0){return db['UserProfileResource']['create']({'name':_0x392805[_0xcc6a('0x36')],'resourceId':_0x392805['id'],'type':'DefaultReports','sectionId':_0x14f5e5['id']},{})[_0xcc6a('0x29')](function(){return _0x1a3b82;});}else{return _0x1a3b82;}})[_0xcc6a('0x48')](function(_0x2b5782){logger[_0xcc6a('0x58')](_0xcc6a('0x59'),_0x2b5782);throw _0x2b5782;});}return _0x1a3b82;})[_0xcc6a('0x29')](respondWithResult(_0xcfc540,0xc9))[_0xcc6a('0x48')](handleError(_0xcfc540,null));};exports[_0xcc6a('0x28')]=function(_0x68b823,_0x27b074){if(_0x68b823[_0xcc6a('0x50')]['id']){delete _0x68b823['body']['id'];}return db[_0xcc6a('0x31')]['find']({'where':{'id':_0x68b823[_0xcc6a('0x4a')]['id']}})[_0xcc6a('0x29')](handleEntityNotFound(_0x27b074,null))[_0xcc6a('0x29')](saveUpdates(_0x68b823['body'],null))[_0xcc6a('0x29')](respondWithResult(_0x27b074,null))['catch'](handleError(_0x27b074,null));};exports[_0xcc6a('0x2a')]=function(_0x5db3b5,_0x3c0b1c){return db[_0xcc6a('0x31')][_0xcc6a('0x4e')]({'where':{'id':_0x5db3b5[_0xcc6a('0x4a')]['id']}})[_0xcc6a('0x29')](handleEntityNotFound(_0x3c0b1c,null))[_0xcc6a('0x29')](removeEntity(_0x3c0b1c,null))[_0xcc6a('0x48')](handleError(_0x3c0b1c,null));};exports[_0xcc6a('0x5a')]=function(_0x506311,_0x14d3ff){var _0x56d512=0xa;var _0x3a6b7e=['join',_0xcc6a('0x5b'),_0xcc6a('0x5c'),_0xcc6a('0x5d')];var _0x586789={'SUM':_0xcc6a('0x5e'),'COUNT':'COUNT(%s)','COUNT DISTINCT':'COUNT(DISTINCT\x20%s)','MAX':_0xcc6a('0x5f'),'MIN':_0xcc6a('0x60'),'AVG':_0xcc6a('0x61'),'GROUP_CONCAT':_0xcc6a('0x62'),'GROUP_CONCAT ASC':_0xcc6a('0x63'),'GROUP_CONCAT DESC':_0xcc6a('0x64')};var _0x389e5f={'SEC_TO_TIME':_0xcc6a('0x65'),'DATE':_0xcc6a('0x66'),'HOUR':_0xcc6a('0x67'),'ROUND':_0xcc6a('0x68'),'UNIX_TIMESTAMP':_0xcc6a('0x69')};var _0x2cc561=function(_0x483aa4){return!_[_0xcc6a('0x6a')]([_0xcc6a('0x6b'),_0xcc6a('0x6c'),_0xcc6a('0x6d'),'IS\x20NOT\x20EMPTY'],_0x483aa4);};var _0x46d93b=function(_0x4ed702){if(!_0x4ed702||!_0x4ed702[_0xcc6a('0x6e')][_0xcc6a('0x4c')]){return'';}for(var _0x20a16b='(',_0x19a578=0x0;_0x19a578<_0x4ed702[_0xcc6a('0x6e')][_0xcc6a('0x4c')];_0x19a578+=0x1){_0x19a578>0x0&&(_0x20a16b+='\x20'+_0x4ed702[_0xcc6a('0x6f')]+'\x20');_0x20a16b+=_0x4ed702[_0xcc6a('0x6e')][_0x19a578]['group']?_0x46d93b(_0x4ed702['rules'][_0x19a578]['group']):_0x4ed702[_0xcc6a('0x6e')][_0x19a578][_0xcc6a('0x70')]+'\x20'+_0x4ed702[_0xcc6a('0x6e')][_0x19a578]['condition']+(_0x2cc561(_0x4ed702[_0xcc6a('0x6e')][_0x19a578][_0xcc6a('0x71')])?'\x20'+_0x4ed702[_0xcc6a('0x6e')][_0x19a578][_0xcc6a('0x72')]:'');}return _0x20a16b+')';};var _0x5e1c69={'where':{'id':_0x506311['params']['id']}},_0x481d25,_0xaec5e8,_0x41527b,_0x4403d3,_0x386a74;_0x5e1c69=_[_0xcc6a('0x41')]({},_0x5e1c69,_0x506311[_0xcc6a('0x4d')]);return db[_0xcc6a('0x31')][_0xcc6a('0x4e')](_0x5e1c69)[_0xcc6a('0x29')](function(_0x55d129){if(_0x55d129){_0x481d25=_0x55d129;return _0x55d129['getFields']();}return null;})[_0xcc6a('0x29')](function(_0xd1a27b){if(_0xd1a27b){if(!_0xd1a27b[_0xcc6a('0x4c')]){throw new db[(_0xcc6a('0x73'))]['ValidationErrorItem']('Please\x20insert\x20at\x20least\x20one\x20field',0x193);}_0xaec5e8=_0xd1a27b;return db[_0xcc6a('0x74')][_0xcc6a('0x46')]({'raw':!![]});}return null;})[_0xcc6a('0x29')](function(_0x421d0b){if(_0x421d0b){_0x41527b=_['keyBy'](_0x421d0b,'id');var _0x4a8863;var _0x58e6b4=squel[_0xcc6a('0x75')]();_0x58e6b4[_0xcc6a('0x76')](_0x481d25[_0xcc6a('0x77')]);for(var _0x729b2=0x0;_0x729b2<_0xaec5e8['length'];_0x729b2+=0x1){_0x4a8863=_0xaec5e8[_0x729b2][_0xcc6a('0x78')]?_0x41527b[_0xaec5e8[_0x729b2][_0xcc6a('0x78')]]['metric']:_0xaec5e8[_0x729b2][_0xcc6a('0x70')];_0x4a8863=_0xaec5e8[_0x729b2]['function']?_[_0xcc6a('0x79')](_0x586789[_0xaec5e8[_0x729b2]['function']],'%s',_0x4a8863):_0x4a8863;_0x4a8863=_0xaec5e8[_0x729b2][_0xcc6a('0x7a')]?_[_0xcc6a('0x79')](_0x389e5f[_0xaec5e8[_0x729b2][_0xcc6a('0x7a')]],'%s',_0x4a8863):_0x4a8863;if(_0xaec5e8[_0x729b2]['groupBy']){_0x58e6b4[_0xcc6a('0x7b')](_0x4a8863);}_0xaec5e8[_0x729b2]['orderBy']&&_0x58e6b4[_0xcc6a('0x3d')](_0x4a8863,_0xaec5e8[_0x729b2]['orderBy']===_0xcc6a('0x7c')?![]:!![]);_0x58e6b4[_0xcc6a('0x70')](_0x4a8863,_0xaec5e8[_0x729b2][_0xcc6a('0x7d')]||_0x4a8863);}if(_0x481d25[_0xcc6a('0x7e')]){_0x481d25[_0xcc6a('0x7e')]=JSON[_0xcc6a('0x7f')](_0x481d25['joins']);for(var _0x18f5dc=0x0;_0x18f5dc<_0x481d25[_0xcc6a('0x7e')][_0xcc6a('0x4c')];_0x18f5dc+=0x1){if(_0x481d25[_0xcc6a('0x7e')][_0x18f5dc][_0xcc6a('0x34')]&&_['includes'](_0x3a6b7e,_0x481d25[_0xcc6a('0x7e')][_0x18f5dc][_0xcc6a('0x34')])&&_0x481d25['joins'][_0x18f5dc]['parentKey']&&_0x481d25[_0xcc6a('0x7e')][_0x18f5dc][_0xcc6a('0x80')]&&_0x481d25[_0xcc6a('0x7e')][_0x18f5dc][_0xcc6a('0x81')]){_0x58e6b4[_0x481d25[_0xcc6a('0x7e')][_0x18f5dc][_0xcc6a('0x34')]](_0x481d25['joins'][_0x18f5dc][_0xcc6a('0x80')],null,util[_0xcc6a('0x7a')](_0xcc6a('0x82'),_0x481d25[_0xcc6a('0x77')],_0x481d25[_0xcc6a('0x7e')][_0x18f5dc][_0xcc6a('0x83')],_0x481d25['joins'][_0x18f5dc]['foreignTable'],_0x481d25[_0xcc6a('0x7e')][_0x18f5dc][_0xcc6a('0x81')]));}}}if(_0x481d25[_0xcc6a('0x84')]){_0x481d25[_0xcc6a('0x84')]=JSON[_0xcc6a('0x7f')](_0x481d25[_0xcc6a('0x84')]);_0x58e6b4[_0xcc6a('0x3f')](_0x46d93b(_0x481d25['conditions'][_0xcc6a('0x7b')]));}_0x386a74=_0x58e6b4[_0xcc6a('0x85')]();_0x58e6b4[_0xcc6a('0x21')](_0x56d512);_0x58e6b4[_0xcc6a('0x1f')](0x0);logger[_0xcc6a('0x86')](_0xcc6a('0x87'),_0x58e6b4['toString']());return dbH[_0xcc6a('0x88')][_0xcc6a('0x37')](_0x58e6b4[_0xcc6a('0x89')](),{'type':dbH['sequelize'][_0xcc6a('0x8a')][_0xcc6a('0x8b')]});}})[_0xcc6a('0x29')](respondWithResult(_0x14d3ff,null))[_0xcc6a('0x48')](handleError(_0x14d3ff,null));};function runReport(_0x2a25df,_0x1f1ff7,_0x565bcd){var _0x45c45f=_0x1f1ff7[_0xcc6a('0x36')];var _0x58cd56=0xa;var _0x1848dd=[_0xcc6a('0x8c'),_0xcc6a('0x5b'),_0xcc6a('0x5c'),_0xcc6a('0x5d')];var _0x5abd5c={'SUM':_0xcc6a('0x5e'),'COUNT':_0xcc6a('0x8d'),'COUNT DISTINCT':_0xcc6a('0x8e'),'MAX':_0xcc6a('0x5f'),'MIN':_0xcc6a('0x60'),'AVG':_0xcc6a('0x61'),'GROUP_CONCAT':'GROUP_CONCAT(%s)','GROUP_CONCAT ASC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT DESC':_0xcc6a('0x64')};var _0x5be65b={'SEC_TO_TIME':_0xcc6a('0x65'),'DATE':_0xcc6a('0x66'),'HOUR':_0xcc6a('0x67'),'ROUND':_0xcc6a('0x68'),'UNIX_TIMESTAMP':_0xcc6a('0x69')};var _0x2b5c15=function(_0x3207b2){return!_[_0xcc6a('0x6a')]([_0xcc6a('0x6b'),_0xcc6a('0x6c'),_0xcc6a('0x6d'),_0xcc6a('0x8f')],_0x3207b2);};var _0x58fdb3=function(_0xb4b2b4){if(!_0xb4b2b4||!_0xb4b2b4[_0xcc6a('0x6e')][_0xcc6a('0x4c')]){return'';}for(var _0x275e15='(',_0x53b419=0x0;_0x53b419<_0xb4b2b4[_0xcc6a('0x6e')]['length'];_0x53b419+=0x1){_0x53b419>0x0&&(_0x275e15+='\x20'+_0xb4b2b4[_0xcc6a('0x6f')]+'\x20');_0x275e15+=_0xb4b2b4[_0xcc6a('0x6e')][_0x53b419][_0xcc6a('0x7b')]?_0x58fdb3(_0xb4b2b4[_0xcc6a('0x6e')][_0x53b419][_0xcc6a('0x7b')]):_0xb4b2b4[_0xcc6a('0x6e')][_0x53b419][_0xcc6a('0x70')]+'\x20'+_0xb4b2b4['rules'][_0x53b419][_0xcc6a('0x71')]+(_0x2b5c15(_0xb4b2b4[_0xcc6a('0x6e')][_0x53b419][_0xcc6a('0x71')])?'\x20'+_0xb4b2b4[_0xcc6a('0x6e')][_0x53b419][_0xcc6a('0x72')]:'');}return _0x275e15+')';};var _0x4473ab={'where':{'id':_0x2a25df['id']}},_0x558e2f,_0x14a957,_0x350766,_0x589bff,_0x5661b5;_0x4473ab=_[_0xcc6a('0x41')]({},_0x4473ab,_0x565bcd);return db[_0xcc6a('0x31')][_0xcc6a('0x4e')](_0x4473ab)[_0xcc6a('0x29')](function(_0x2f0b79){if(_0x2f0b79){_0x558e2f=_0x2f0b79;return _0x2f0b79['getFields']();}return null;})[_0xcc6a('0x29')](function(_0x4a268b){if(_0x4a268b){if(!_0x4a268b[_0xcc6a('0x4c')]){throw new db[(_0xcc6a('0x73'))][(_0xcc6a('0x90'))](_0xcc6a('0x91'),0x193);}_0x14a957=_0x4a268b;return db[_0xcc6a('0x74')][_0xcc6a('0x46')]({'raw':!![]});}return null;})[_0xcc6a('0x29')](function(_0x1f4c4e){if(_0x1f4c4e){_0x350766=_['keyBy'](_0x1f4c4e,'id');var _0x312431;var _0x2a850c=squel[_0xcc6a('0x75')]();_0x2a850c['from'](_0x558e2f[_0xcc6a('0x77')]);for(var _0xd5b9f3=0x0;_0xd5b9f3<_0x14a957[_0xcc6a('0x4c')];_0xd5b9f3+=0x1){_0x312431=_0x14a957[_0xd5b9f3][_0xcc6a('0x78')]?_0x350766[_0x14a957[_0xd5b9f3][_0xcc6a('0x78')]][_0xcc6a('0x92')]:_0x14a957[_0xd5b9f3][_0xcc6a('0x70')];_0x312431=_0x14a957[_0xd5b9f3]['function']?_[_0xcc6a('0x79')](_0x5abd5c[_0x14a957[_0xd5b9f3][_0xcc6a('0x93')]],'%s',_0x312431):_0x312431;_0x312431=_0x14a957[_0xd5b9f3][_0xcc6a('0x7a')]?_[_0xcc6a('0x79')](_0x5be65b[_0x14a957[_0xd5b9f3][_0xcc6a('0x7a')]],'%s',_0x312431):_0x312431;if(_0x14a957[_0xd5b9f3][_0xcc6a('0x94')]){_0x2a850c[_0xcc6a('0x7b')](_0x312431);}_0x14a957[_0xd5b9f3][_0xcc6a('0x95')]&&_0x2a850c['order'](_0x312431,_0x14a957[_0xd5b9f3]['orderBy']===_0xcc6a('0x7c')?![]:!![]);_0x2a850c['field'](_0x312431,_0x14a957[_0xd5b9f3][_0xcc6a('0x7d')]||_0x312431);}if(_0x558e2f[_0xcc6a('0x7e')]){_0x558e2f[_0xcc6a('0x7e')]=JSON[_0xcc6a('0x7f')](_0x558e2f[_0xcc6a('0x7e')]);for(var _0x1f7ee5=0x0;_0x1f7ee5<_0x558e2f[_0xcc6a('0x7e')]['length'];_0x1f7ee5+=0x1){if(_0x558e2f[_0xcc6a('0x7e')][_0x1f7ee5]['type']&&_['includes'](_0x1848dd,_0x558e2f[_0xcc6a('0x7e')][_0x1f7ee5]['type'])&&_0x558e2f[_0xcc6a('0x7e')][_0x1f7ee5][_0xcc6a('0x83')]&&_0x558e2f['joins'][_0x1f7ee5]['foreignTable']&&_0x558e2f[_0xcc6a('0x7e')][_0x1f7ee5]['foreignKey']){_0x2a850c[_0x558e2f[_0xcc6a('0x7e')][_0x1f7ee5][_0xcc6a('0x34')]](_0x558e2f[_0xcc6a('0x7e')][_0x1f7ee5][_0xcc6a('0x80')],null,util[_0xcc6a('0x7a')](_0xcc6a('0x82'),_0x558e2f['table'],_0x558e2f[_0xcc6a('0x7e')][_0x1f7ee5][_0xcc6a('0x83')],_0x558e2f[_0xcc6a('0x7e')][_0x1f7ee5][_0xcc6a('0x80')],_0x558e2f['joins'][_0x1f7ee5][_0xcc6a('0x81')]));}}}if(_0x558e2f[_0xcc6a('0x84')]){_0x558e2f[_0xcc6a('0x84')]=JSON[_0xcc6a('0x7f')](_0x558e2f[_0xcc6a('0x84')]);_0x2a850c[_0xcc6a('0x3f')](_0x58fdb3(_0x558e2f[_0xcc6a('0x84')]['group']));}_0x5661b5=_0x2a850c[_0xcc6a('0x85')]();_0x2a850c[_0xcc6a('0x21')](_0x58cd56);_0x2a850c['offset'](0x0);return;}})[_0xcc6a('0x29')](function(){if(_0x1f1ff7[_0xcc6a('0x96')]===_0xcc6a('0x97')){return null;}var _0x2297ea=_[_0xcc6a('0x41')](_0x1f1ff7,{'name':_0x1f1ff7[_0xcc6a('0x98')]||_0x1f1ff7[_0xcc6a('0x36')]||_0x558e2f[_0xcc6a('0x36')],'basename':_0x45c45f,'savename':util[_0xcc6a('0x7a')](_0xcc6a('0x99'),_0x1f1ff7[_0xcc6a('0x36')]||_0x558e2f[_0xcc6a('0x36')],require(_0xcc6a('0x9a'))[_0xcc6a('0x9b')](0x4),_0x1f1ff7['output']||'csv'),'reportId':_0x558e2f['id'],'reportType':_0xcc6a('0x9c')});return db[_0xcc6a('0x9d')]['create'](_0x2297ea,{'raw':!![]});})[_0xcc6a('0x29')](function(_0x1e74a4){if(_0x558e2f[_0xcc6a('0x77')]==='cdr'){_0x5661b5[_0xcc6a('0x3f')](_0x558e2f['table']+_0xcc6a('0x9e'),_0x1f1ff7[_0xcc6a('0x9f')],_0x1f1ff7['endDate']);}else{_0x5661b5[_0xcc6a('0x3f')](_0x558e2f['table']+_0xcc6a('0xa0'),_0x1f1ff7[_0xcc6a('0x9f')],_0x1f1ff7[_0xcc6a('0xa1')]);}if(_0x1e74a4){logger[_0xcc6a('0xa2')](_0xcc6a('0xa3'),_0x5661b5[_0xcc6a('0x89')]());require('child_process')['fork'](path[_0xcc6a('0x8c')](__dirname,_0xcc6a('0xa4'),_0x1e74a4[_0xcc6a('0x96')]),[_0x1e74a4['id'],_0x5661b5['toString'](),path[_0xcc6a('0x8c')](__dirname,_0xcc6a('0xa5'),_0x1e74a4[_0xcc6a('0xa6')]),_0x45c45f]);return _0x1e74a4;}else{var _0x3b7b43=squel['select']();_0x3b7b43[_0xcc6a('0x76')]('('+_0x5661b5[_0xcc6a('0x89')]()+')',_0xcc6a('0xa7'));_0x3b7b43['field'](_0xcc6a('0xa8'),'count');_0x5661b5[_0xcc6a('0x21')](_0x1f1ff7[_0xcc6a('0x21')]||_0x58cd56);_0x5661b5['offset'](_0x1f1ff7[_0xcc6a('0x1f')]||0x0);return dbH[_0xcc6a('0x88')][_0xcc6a('0x37')](_0x3b7b43[_0xcc6a('0x89')](),{'type':dbH[_0xcc6a('0x88')][_0xcc6a('0x8a')][_0xcc6a('0x8b')]})[_0xcc6a('0x29')](function(_0x25ba57){if(!_0x25ba57[_0xcc6a('0x4c')]){_0x589bff=0x0;}else{_0x589bff=_0x25ba57[0x0][_0xcc6a('0x22')]||0x0;}return dbH['sequelize']['query'](_0x5661b5[_0xcc6a('0x89')](),{'type':dbH['sequelize'][_0xcc6a('0x8a')]['SELECT']});})['then'](function(_0x32ced0){return{'rows':_0x32ced0||[],'count':_0x589bff};});}});}exports[_0xcc6a('0xa9')]=function(_0xc638ae,_0x3367e8){return runReport(_0xc638ae['params'],_0xc638ae[_0xcc6a('0x37')],_0xc638ae['options'])['then'](respondWithResult(_0x3367e8,null))[_0xcc6a('0x48')](handleError(_0x3367e8,null));};exports[_0xcc6a('0xaa')]=runReport;exports[_0xcc6a('0x37')]=function(_0x38d805,_0x3f5f97){var _0x399eb6=0xa;var _0x2ae391=['join',_0xcc6a('0x5b'),_0xcc6a('0x5c'),_0xcc6a('0x5d')];var _0x50b948={'SUM':_0xcc6a('0x5e'),'COUNT':'COUNT(%s)','COUNT DISTINCT':_0xcc6a('0x8e'),'MAX':'MAX(%s)','MIN':'MIN(%s)','AVG':_0xcc6a('0x61'),'GROUP_CONCAT':_0xcc6a('0x62'),'GROUP_CONCAT ASC':_0xcc6a('0x63'),'GROUP_CONCAT DESC':_0xcc6a('0x64')};var _0x1d2ae0={'SEC_TO_TIME':'SEC_TO_TIME(%s)','DATE':'DATE(%s)','HOUR':'HOUR(%s)','ROUND':_0xcc6a('0x68'),'UNIX_TIMESTAMP':_0xcc6a('0x69')};var _0x41d17b=function(_0x1827e6){return!_[_0xcc6a('0x6a')]([_0xcc6a('0x6b'),'IS\x20NOT\x20NULL',_0xcc6a('0x6d'),'IS\x20NOT\x20EMPTY'],_0x1827e6);};var _0xa70fa=function(_0x33ec76){if(!_0x33ec76||!_0x33ec76[_0xcc6a('0x6e')][_0xcc6a('0x4c')]){return'';}for(var _0x30162c='(',_0x48746a=0x0;_0x48746a<_0x33ec76['rules'][_0xcc6a('0x4c')];_0x48746a+=0x1){_0x48746a>0x0&&(_0x30162c+='\x20'+_0x33ec76[_0xcc6a('0x6f')]+'\x20');_0x30162c+=_0x33ec76['rules'][_0x48746a][_0xcc6a('0x7b')]?_0xa70fa(_0x33ec76[_0xcc6a('0x6e')][_0x48746a][_0xcc6a('0x7b')]):_0x33ec76[_0xcc6a('0x6e')][_0x48746a][_0xcc6a('0x70')]+'\x20'+_0x33ec76[_0xcc6a('0x6e')][_0x48746a]['condition']+(_0x41d17b(_0x33ec76[_0xcc6a('0x6e')][_0x48746a][_0xcc6a('0x71')])?'\x20'+_0x33ec76[_0xcc6a('0x6e')][_0x48746a]['value']:'');}return _0x30162c+')';};var _0x54f0e4={'where':{'id':_0x38d805[_0xcc6a('0x4a')]['id']}},_0x559f4f,_0x545b15,_0x17a4e1,_0x5a7da7,_0x434c8b;_0x54f0e4=_['merge']({},_0x54f0e4,_0x38d805[_0xcc6a('0x4d')]);return db['AnalyticDefaultReport'][_0xcc6a('0x4e')](_0x54f0e4)[_0xcc6a('0x29')](function(_0xe9231f){if(_0xe9231f){_0x559f4f=_0xe9231f;return _0xe9231f[_0xcc6a('0xab')]();}return null;})[_0xcc6a('0x29')](function(_0x197961){if(_0x197961){if(!_0x197961[_0xcc6a('0x4c')]){throw new db[(_0xcc6a('0x73'))][(_0xcc6a('0x90'))](_0xcc6a('0x91'),0x193);}_0x545b15=_0x197961;return db[_0xcc6a('0x74')][_0xcc6a('0x46')]({'raw':!![]});}return null;})[_0xcc6a('0x29')](function(_0x171a2a){if(_0x171a2a){_0x17a4e1=_[_0xcc6a('0xac')](_0x171a2a,'id');var _0x13860b;var _0x3b52f7=squel[_0xcc6a('0x75')]();_0x3b52f7[_0xcc6a('0x76')](_0x559f4f[_0xcc6a('0x77')]);for(var _0x319f4a=0x0;_0x319f4a<_0x545b15[_0xcc6a('0x4c')];_0x319f4a+=0x1){_0x13860b=_0x545b15[_0x319f4a]['MetricId']?_0x17a4e1[_0x545b15[_0x319f4a][_0xcc6a('0x78')]][_0xcc6a('0x92')]:_0x545b15[_0x319f4a][_0xcc6a('0x70')];_0x13860b=_0x545b15[_0x319f4a]['function']?_[_0xcc6a('0x79')](_0x50b948[_0x545b15[_0x319f4a][_0xcc6a('0x93')]],'%s',_0x13860b):_0x13860b;_0x13860b=_0x545b15[_0x319f4a]['format']?_[_0xcc6a('0x79')](_0x1d2ae0[_0x545b15[_0x319f4a][_0xcc6a('0x7a')]],'%s',_0x13860b):_0x13860b;if(_0x545b15[_0x319f4a]['groupBy']){_0x3b52f7[_0xcc6a('0x7b')](_0x13860b);}_0x545b15[_0x319f4a][_0xcc6a('0x95')]&&_0x3b52f7[_0xcc6a('0x3d')](_0x13860b,_0x545b15[_0x319f4a][_0xcc6a('0x95')]===_0xcc6a('0x7c')?![]:!![]);_0x3b52f7[_0xcc6a('0x70')](_0x13860b,_0x545b15[_0x319f4a]['alias']||_0x13860b);}if(_0x559f4f['joins']){_0x559f4f[_0xcc6a('0x7e')]=JSON[_0xcc6a('0x7f')](_0x559f4f['joins']);for(var _0x154885=0x0;_0x154885<_0x559f4f['joins'][_0xcc6a('0x4c')];_0x154885+=0x1){if(_0x559f4f['joins'][_0x154885][_0xcc6a('0x34')]&&_[_0xcc6a('0x6a')](_0x2ae391,_0x559f4f[_0xcc6a('0x7e')][_0x154885]['type'])&&_0x559f4f[_0xcc6a('0x7e')][_0x154885][_0xcc6a('0x83')]&&_0x559f4f[_0xcc6a('0x7e')][_0x154885]['foreignTable']&&_0x559f4f['joins'][_0x154885]['foreignKey']){_0x3b52f7[_0x559f4f[_0xcc6a('0x7e')][_0x154885][_0xcc6a('0x34')]](_0x559f4f[_0xcc6a('0x7e')][_0x154885][_0xcc6a('0x80')],null,util[_0xcc6a('0x7a')](_0xcc6a('0x82'),_0x559f4f[_0xcc6a('0x77')],_0x559f4f[_0xcc6a('0x7e')][_0x154885][_0xcc6a('0x83')],_0x559f4f[_0xcc6a('0x7e')][_0x154885][_0xcc6a('0x80')],_0x559f4f[_0xcc6a('0x7e')][_0x154885]['foreignKey']));}}}if(_0x559f4f[_0xcc6a('0x84')]){_0x559f4f[_0xcc6a('0x84')]=JSON[_0xcc6a('0x7f')](_0x559f4f['conditions']);_0x3b52f7[_0xcc6a('0x3f')](_0xa70fa(_0x559f4f[_0xcc6a('0x84')][_0xcc6a('0x7b')]));}_0x434c8b=_0x3b52f7['clone']();_0x3b52f7[_0xcc6a('0x21')](_0x399eb6);_0x3b52f7[_0xcc6a('0x1f')](0x0);logger[_0xcc6a('0x86')](_0xcc6a('0x87'),_0x3b52f7['toString']());return dbH[_0xcc6a('0x88')]['query'](_0x3b52f7['toString'](),{'type':dbH['sequelize'][_0xcc6a('0x8a')]['SELECT']});}})['then'](function(){return{'sql':_0x434c8b[_0xcc6a('0x89')]()};})[_0xcc6a('0x29')](respondWithResult(_0x3f5f97,null))[_0xcc6a('0x48')](handleError(_0x3f5f97,null));};
\ No newline at end of file
+var _0x687b=['util','path','sox','to-csv','ejs','fs-extra','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','../../mysqldb','status','end','json','offset','limit','undefined','count','set','Content-Range','reject','save','update','then','get','DefaultReports','UserProfileResource','destroy','sendStatus','error','name','send','index','map','AnalyticDefaultReport','rawAttributes','fieldName','type','key','model','query','keys','filters','attributes','fields','length','hasOwnProperty','order','sort','where','pick','VIRTUAL','filter','options','findAll','catch','params','intersection','includeAll','include','find','create','body','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','Reports','userProfileId','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','join','left_join','right_join','COUNT(%s)','COUNT(DISTINCT\x20%s)','MAX(%s)','MIN(%s)','AVG(%s)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)','ROUND(%s)','UNIX_TIMESTAMP(%s)','includes','IS\x20NULL','IS\x20NOT\x20NULL','IS\x20EMPTY','IS\x20NOT\x20EMPTY','rules','operator','group','field','condition','value','merge','getFields','Sequelize','Please\x20insert\x20at\x20least\x20one\x20field','AnalyticMetric','keyBy','select','from','table','MetricId','metric','function','replace','format','groupBy','orderBy','alias','joins','parse','foreignTable','foreignKey','conditions','clone','debug','Limited\x20Query:','toString','sequelize','QueryTypes','SUM(%s)','GROUP_CONCAT(%s)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','SEC_TO_TIME(%s)','DATE(%s)','HOUR(%s)','ValidationErrorItem','DESC','parentKey','web','fullPath','%s-%s.%s','output','csv','default','AnalyticExtractedReport','.calldate\x20BETWEEN\x20?\x20AND\x20?','startDate','endDate','.createdAt\x20BETWEEN\x20?\x20AND\x20?','Run\x20Query:','fork','../../components/export/','../../files/reports','savename','countTable','COUNT(*)','SELECT','run','runReport','cross_join','%s.%s\x20=\x20%s.%s','eml-format','rimraf','zip-dir','fast-json-patch','bluebird','mustache'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x687b,0x14a));var _0xb687=function(_0x208749,_0x2b7b66){_0x208749=_0x208749-0x0;var _0x3e0042=_0x687b[_0x208749];return _0x3e0042;};'use strict';var emlformat=require(_0xb687('0x0'));var rimraf=require(_0xb687('0x1'));var zipdir=require(_0xb687('0x2'));var jsonpatch=require(_0xb687('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0xb687('0x4'));var Mustache=require(_0xb687('0x5'));var util=require(_0xb687('0x6'));var path=require(_0xb687('0x7'));var sox=require(_0xb687('0x8'));var csv=require(_0xb687('0x9'));var ejs=require(_0xb687('0xa'));var fs=require('fs');var fs_extra=require(_0xb687('0xb'));var _=require(_0xb687('0xc'));var squel=require(_0xb687('0xd'));var crypto=require('crypto');var jsforce=require(_0xb687('0xe'));var deskjs=require(_0xb687('0xf'));var toCsv=require('to-csv');var querystring=require(_0xb687('0x10'));var Papa=require(_0xb687('0x11'));var Redis=require(_0xb687('0x12'));var authService=require(_0xb687('0x13'));var qs=require(_0xb687('0x14'));var as=require(_0xb687('0x15'));var hardwareService=require(_0xb687('0x16'));var logger=require(_0xb687('0x17'))(_0xb687('0x18'));var utils=require('../../config/utils');var config=require(_0xb687('0x19'));var licenseUtil=require(_0xb687('0x1a'));var db=require(_0xb687('0x1b'))['db'];var dbH=require(_0xb687('0x1b'))['dbH'];function respondWithStatusCode(_0x4c97ed,_0x3e85b3){_0x3e85b3=_0x3e85b3||0xcc;return function(_0x155ebe){if(_0x155ebe){return _0x4c97ed['sendStatus'](_0x3e85b3);}return _0x4c97ed[_0xb687('0x1c')](_0x3e85b3)[_0xb687('0x1d')]();};}function respondWithResult(_0x1f1f35,_0x30d502){_0x30d502=_0x30d502||0xc8;return function(_0x838dd4){if(_0x838dd4){return _0x1f1f35[_0xb687('0x1c')](_0x30d502)[_0xb687('0x1e')](_0x838dd4);}};}function respondWithFilteredResult(_0x141375,_0x263085){return function(_0x2c7a18){if(_0x2c7a18){var _0x25124a=typeof _0x263085[_0xb687('0x1f')]==='undefined'&&typeof _0x263085[_0xb687('0x20')]===_0xb687('0x21');var _0x30d370=_0x2c7a18['count'];var _0x48958d=_0x25124a?0x0:_0x263085[_0xb687('0x1f')];var _0x3a10ef=_0x25124a?_0x2c7a18[_0xb687('0x22')]:_0x263085['offset']+_0x263085[_0xb687('0x20')];var _0x481f1d;if(_0x3a10ef>=_0x30d370){_0x3a10ef=_0x30d370;_0x481f1d=0xc8;}else{_0x481f1d=0xce;}_0x141375[_0xb687('0x1c')](_0x481f1d);return _0x141375[_0xb687('0x23')](_0xb687('0x24'),_0x48958d+'-'+_0x3a10ef+'/'+_0x30d370)[_0xb687('0x1e')](_0x2c7a18);}return null;};}function patchUpdates(_0x49d5a1){return function(_0x3a73d5){try{jsonpatch['apply'](_0x3a73d5,_0x49d5a1,!![]);}catch(_0x335541){return BPromise[_0xb687('0x25')](_0x335541);}return _0x3a73d5[_0xb687('0x26')]();};}function saveUpdates(_0x546fde,_0x1dc06b){return function(_0x491623){if(_0x491623){return _0x491623[_0xb687('0x27')](_0x546fde)[_0xb687('0x28')](function(_0xbf6c58){return _0xbf6c58;});}return null;};}function removeEntity(_0x38866c,_0xf48ba4){return function(_0x2f0a0a){if(_0x2f0a0a){return _0x2f0a0a['destroy']()[_0xb687('0x28')](function(){var _0x129347=_0x2f0a0a[_0xb687('0x29')]({'plain':!![]});var _0x1a0261=_0xb687('0x2a');return db[_0xb687('0x2b')][_0xb687('0x2c')]({'where':{'type':_0x1a0261,'resourceId':_0x129347['id']}})[_0xb687('0x28')](function(){return _0x2f0a0a;});})[_0xb687('0x28')](function(){_0x38866c[_0xb687('0x1c')](0xcc)['end']();});}};}function handleEntityNotFound(_0x3712cf,_0x192966){return function(_0x392721){if(!_0x392721){_0x3712cf[_0xb687('0x2d')](0x194);}return _0x392721;};}function handleError(_0x2e5c8d,_0x173c58){_0x173c58=_0x173c58||0x1f4;return function(_0x4e9a06){logger[_0xb687('0x2e')](_0x4e9a06['stack']);if(_0x4e9a06[_0xb687('0x2f')]){delete _0x4e9a06[_0xb687('0x2f')];}_0x2e5c8d[_0xb687('0x1c')](_0x173c58)[_0xb687('0x30')](_0x4e9a06);};}exports[_0xb687('0x31')]=function(_0x43d20d,_0xf1f0dd){var _0x556815={},_0x3da2be={},_0xe3428f={'count':0x0,'rows':[]};var _0x3c08ab=_[_0xb687('0x32')](db[_0xb687('0x33')][_0xb687('0x34')],function(_0x44be88){return{'name':_0x44be88[_0xb687('0x35')],'type':_0x44be88[_0xb687('0x36')][_0xb687('0x37')]};});_0x3da2be[_0xb687('0x38')]=_['map'](_0x3c08ab,'name');_0x3da2be[_0xb687('0x39')]=_[_0xb687('0x3a')](_0x43d20d[_0xb687('0x39')]);_0x3da2be[_0xb687('0x3b')]=_['intersection'](_0x3da2be['model'],_0x3da2be[_0xb687('0x39')]);_0x556815[_0xb687('0x3c')]=_['intersection'](_0x3da2be[_0xb687('0x38')],qs[_0xb687('0x3d')](_0x43d20d['query'][_0xb687('0x3d')]));_0x556815['attributes']=_0x556815[_0xb687('0x3c')][_0xb687('0x3e')]?_0x556815[_0xb687('0x3c')]:_0x3da2be[_0xb687('0x38')];if(!_0x43d20d[_0xb687('0x39')][_0xb687('0x3f')]('nolimit')){_0x556815[_0xb687('0x20')]=qs[_0xb687('0x20')](_0x43d20d[_0xb687('0x39')][_0xb687('0x20')]);_0x556815['offset']=qs[_0xb687('0x1f')](_0x43d20d[_0xb687('0x39')][_0xb687('0x1f')]);}_0x556815[_0xb687('0x40')]=qs[_0xb687('0x41')](_0x43d20d['query'][_0xb687('0x41')]);_0x556815[_0xb687('0x42')]=qs[_0xb687('0x3b')](_[_0xb687('0x43')](_0x43d20d[_0xb687('0x39')],_0x3da2be[_0xb687('0x3b')]),_0x3c08ab);if(_0x43d20d['query']['filter']){_0x556815[_0xb687('0x42')]=_['merge'](_0x556815[_0xb687('0x42')],{'$or':_[_0xb687('0x32')](_0x3c08ab,function(_0x48d3b1){if(_0x48d3b1[_0xb687('0x36')]!==_0xb687('0x44')){var _0x57776b={};_0x57776b[_0x48d3b1[_0xb687('0x2f')]]={'$like':'%'+_0x43d20d[_0xb687('0x39')][_0xb687('0x45')]+'%'};return _0x57776b;}})});}_0x556815=_['merge']({},_0x556815,_0x43d20d[_0xb687('0x46')]);var _0x9cffb2={'where':_0x556815[_0xb687('0x42')]};return db[_0xb687('0x33')][_0xb687('0x22')](_0x9cffb2)[_0xb687('0x28')](function(_0x21b9ef){_0xe3428f['count']=_0x21b9ef;if(_0x43d20d[_0xb687('0x39')]['includeAll']){_0x556815['include']=[{'all':!![]}];}return db[_0xb687('0x33')][_0xb687('0x47')](_0x556815);})['then'](function(_0x19a21c){_0xe3428f['rows']=_0x19a21c;return _0xe3428f;})[_0xb687('0x28')](respondWithFilteredResult(_0xf1f0dd,_0x556815))[_0xb687('0x48')](handleError(_0xf1f0dd,null));};exports['show']=function(_0x4cb7a0,_0x3a8509){var _0x5d9cb0={'raw':!![],'where':{'id':_0x4cb7a0[_0xb687('0x49')]['id']}},_0x247c67={};_0x247c67[_0xb687('0x38')]=_[_0xb687('0x3a')](db[_0xb687('0x33')][_0xb687('0x34')]);_0x247c67[_0xb687('0x39')]=_[_0xb687('0x3a')](_0x4cb7a0[_0xb687('0x39')]);_0x247c67[_0xb687('0x3b')]=_[_0xb687('0x4a')](_0x247c67[_0xb687('0x38')],_0x247c67['query']);_0x5d9cb0[_0xb687('0x3c')]=_['intersection'](_0x247c67[_0xb687('0x38')],qs[_0xb687('0x3d')](_0x4cb7a0[_0xb687('0x39')][_0xb687('0x3d')]));_0x5d9cb0[_0xb687('0x3c')]=_0x5d9cb0[_0xb687('0x3c')]['length']?_0x5d9cb0['attributes']:_0x247c67[_0xb687('0x38')];if(_0x4cb7a0[_0xb687('0x39')][_0xb687('0x4b')]){_0x5d9cb0[_0xb687('0x4c')]=[{'all':!![]}];}_0x5d9cb0=_['merge']({},_0x5d9cb0,_0x4cb7a0[_0xb687('0x46')]);return db[_0xb687('0x33')][_0xb687('0x4d')](_0x5d9cb0)[_0xb687('0x28')](handleEntityNotFound(_0x3a8509,null))['then'](respondWithResult(_0x3a8509,null))[_0xb687('0x48')](handleError(_0x3a8509,null));};exports[_0xb687('0x4e')]=function(_0x162b19,_0x401b99){return db['AnalyticDefaultReport']['create'](_0x162b19[_0xb687('0x4f')],{})[_0xb687('0x28')](function(_0x42b61a){var _0x508862=_0x162b19['user'][_0xb687('0x29')]({'plain':!![]});if(!_0x508862)throw new Error(_0xb687('0x50'));if(_0x508862[_0xb687('0x51')]===_0xb687('0x52')){var _0x34205d=_0x42b61a[_0xb687('0x29')]({'plain':!![]});var _0x602864=_0xb687('0x53');return db['UserProfileSection'][_0xb687('0x4d')]({'where':{'name':_0x602864,'userProfileId':_0x508862[_0xb687('0x54')]},'raw':!![]})[_0xb687('0x28')](function(_0x4f5784){if(_0x4f5784&&_0x4f5784['autoAssociation']===0x0){return db['UserProfileResource']['create']({'name':_0x34205d[_0xb687('0x2f')],'resourceId':_0x34205d['id'],'type':_0xb687('0x2a'),'sectionId':_0x4f5784['id']},{})[_0xb687('0x28')](function(){return _0x42b61a;});}else{return _0x42b61a;}})[_0xb687('0x48')](function(_0x1ddfd4){logger[_0xb687('0x2e')](_0xb687('0x55'),_0x1ddfd4);throw _0x1ddfd4;});}return _0x42b61a;})[_0xb687('0x28')](respondWithResult(_0x401b99,0xc9))[_0xb687('0x48')](handleError(_0x401b99,null));};exports[_0xb687('0x27')]=function(_0x128264,_0x166900){if(_0x128264[_0xb687('0x4f')]['id']){delete _0x128264[_0xb687('0x4f')]['id'];}return db[_0xb687('0x33')][_0xb687('0x4d')]({'where':{'id':_0x128264[_0xb687('0x49')]['id']}})['then'](handleEntityNotFound(_0x166900,null))['then'](saveUpdates(_0x128264[_0xb687('0x4f')],null))[_0xb687('0x28')](respondWithResult(_0x166900,null))[_0xb687('0x48')](handleError(_0x166900,null));};exports[_0xb687('0x2c')]=function(_0x4e5642,_0xfa8790){return db[_0xb687('0x33')]['find']({'where':{'id':_0x4e5642[_0xb687('0x49')]['id']}})['then'](handleEntityNotFound(_0xfa8790,null))[_0xb687('0x28')](removeEntity(_0xfa8790,null))[_0xb687('0x48')](handleError(_0xfa8790,null));};exports['preview']=function(_0x4fb188,_0x13ad6a){var _0x4ab9c5=0xa;var _0x5ea8fd=[_0xb687('0x56'),_0xb687('0x57'),_0xb687('0x58'),'cross_join'];var _0x25e140={'SUM':'SUM(%s)','COUNT':_0xb687('0x59'),'COUNT DISTINCT':_0xb687('0x5a'),'MAX':_0xb687('0x5b'),'MIN':_0xb687('0x5c'),'AVG':_0xb687('0x5d'),'GROUP_CONCAT':'GROUP_CONCAT(%s)','GROUP_CONCAT ASC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT DESC':_0xb687('0x5e')};var _0x58ec8b={'SEC_TO_TIME':'SEC_TO_TIME(%s)','DATE':'DATE(%s)','HOUR':'HOUR(%s)','ROUND':_0xb687('0x5f'),'UNIX_TIMESTAMP':_0xb687('0x60')};var _0xbc3a94=function(_0x4bc18f){return!_[_0xb687('0x61')]([_0xb687('0x62'),_0xb687('0x63'),_0xb687('0x64'),_0xb687('0x65')],_0x4bc18f);};var _0x17505c=function(_0x132e3a){if(!_0x132e3a||!_0x132e3a['rules']['length']){return'';}for(var _0x2714c6='(',_0x4906df=0x0;_0x4906df<_0x132e3a[_0xb687('0x66')][_0xb687('0x3e')];_0x4906df+=0x1){_0x4906df>0x0&&(_0x2714c6+='\x20'+_0x132e3a[_0xb687('0x67')]+'\x20');_0x2714c6+=_0x132e3a[_0xb687('0x66')][_0x4906df][_0xb687('0x68')]?_0x17505c(_0x132e3a['rules'][_0x4906df][_0xb687('0x68')]):_0x132e3a['rules'][_0x4906df][_0xb687('0x69')]+'\x20'+_0x132e3a[_0xb687('0x66')][_0x4906df][_0xb687('0x6a')]+(_0xbc3a94(_0x132e3a[_0xb687('0x66')][_0x4906df][_0xb687('0x6a')])?'\x20'+_0x132e3a[_0xb687('0x66')][_0x4906df][_0xb687('0x6b')]:'');}return _0x2714c6+')';};var _0x5deb7a={'where':{'id':_0x4fb188['params']['id']}},_0x28a6aa,_0x31ed20,_0x8942b7,_0x36bb4b,_0x258caf;_0x5deb7a=_[_0xb687('0x6c')]({},_0x5deb7a,_0x4fb188[_0xb687('0x46')]);return db[_0xb687('0x33')][_0xb687('0x4d')](_0x5deb7a)[_0xb687('0x28')](function(_0x15ef44){if(_0x15ef44){_0x28a6aa=_0x15ef44;return _0x15ef44[_0xb687('0x6d')]();}return null;})[_0xb687('0x28')](function(_0x177ea4){if(_0x177ea4){if(!_0x177ea4[_0xb687('0x3e')]){throw new db[(_0xb687('0x6e'))]['ValidationErrorItem'](_0xb687('0x6f'),0x193);}_0x31ed20=_0x177ea4;return db[_0xb687('0x70')][_0xb687('0x47')]({'raw':!![]});}return null;})[_0xb687('0x28')](function(_0x505f7a){if(_0x505f7a){_0x8942b7=_[_0xb687('0x71')](_0x505f7a,'id');var _0x1a6075;var _0x53b00a=squel[_0xb687('0x72')]();_0x53b00a[_0xb687('0x73')](_0x28a6aa[_0xb687('0x74')]);for(var _0x5eeb75=0x0;_0x5eeb75<_0x31ed20[_0xb687('0x3e')];_0x5eeb75+=0x1){_0x1a6075=_0x31ed20[_0x5eeb75][_0xb687('0x75')]?_0x8942b7[_0x31ed20[_0x5eeb75]['MetricId']][_0xb687('0x76')]:_0x31ed20[_0x5eeb75][_0xb687('0x69')];_0x1a6075=_0x31ed20[_0x5eeb75][_0xb687('0x77')]?_[_0xb687('0x78')](_0x25e140[_0x31ed20[_0x5eeb75]['function']],'%s',_0x1a6075):_0x1a6075;_0x1a6075=_0x31ed20[_0x5eeb75][_0xb687('0x79')]?_[_0xb687('0x78')](_0x58ec8b[_0x31ed20[_0x5eeb75]['format']],'%s',_0x1a6075):_0x1a6075;if(_0x31ed20[_0x5eeb75][_0xb687('0x7a')]){_0x53b00a[_0xb687('0x68')](_0x1a6075);}_0x31ed20[_0x5eeb75]['orderBy']&&_0x53b00a['order'](_0x1a6075,_0x31ed20[_0x5eeb75][_0xb687('0x7b')]==='DESC'?![]:!![]);_0x53b00a[_0xb687('0x69')](_0x1a6075,_0x31ed20[_0x5eeb75][_0xb687('0x7c')]||_0x1a6075);}if(_0x28a6aa[_0xb687('0x7d')]){_0x28a6aa[_0xb687('0x7d')]=JSON[_0xb687('0x7e')](_0x28a6aa[_0xb687('0x7d')]);for(var _0x229bc4=0x0;_0x229bc4<_0x28a6aa[_0xb687('0x7d')]['length'];_0x229bc4+=0x1){if(_0x28a6aa[_0xb687('0x7d')][_0x229bc4][_0xb687('0x36')]&&_[_0xb687('0x61')](_0x5ea8fd,_0x28a6aa[_0xb687('0x7d')][_0x229bc4][_0xb687('0x36')])&&_0x28a6aa[_0xb687('0x7d')][_0x229bc4]['parentKey']&&_0x28a6aa[_0xb687('0x7d')][_0x229bc4][_0xb687('0x7f')]&&_0x28a6aa['joins'][_0x229bc4][_0xb687('0x80')]){_0x53b00a[_0x28a6aa[_0xb687('0x7d')][_0x229bc4][_0xb687('0x36')]](_0x28a6aa[_0xb687('0x7d')][_0x229bc4]['foreignTable'],null,util[_0xb687('0x79')]('%s.%s\x20=\x20%s.%s',_0x28a6aa['table'],_0x28a6aa[_0xb687('0x7d')][_0x229bc4]['parentKey'],_0x28a6aa['joins'][_0x229bc4][_0xb687('0x7f')],_0x28a6aa['joins'][_0x229bc4][_0xb687('0x80')]));}}}if(_0x28a6aa[_0xb687('0x81')]){_0x28a6aa['conditions']=JSON[_0xb687('0x7e')](_0x28a6aa[_0xb687('0x81')]);_0x53b00a['where'](_0x17505c(_0x28a6aa[_0xb687('0x81')][_0xb687('0x68')]));}_0x258caf=_0x53b00a[_0xb687('0x82')]();_0x53b00a[_0xb687('0x20')](_0x4ab9c5);_0x53b00a[_0xb687('0x1f')](0x0);logger[_0xb687('0x83')](_0xb687('0x84'),_0x53b00a[_0xb687('0x85')]());return dbH[_0xb687('0x86')][_0xb687('0x39')](_0x53b00a[_0xb687('0x85')](),{'type':dbH['sequelize'][_0xb687('0x87')]['SELECT']});}})['then'](respondWithResult(_0x13ad6a,null))[_0xb687('0x48')](handleError(_0x13ad6a,null));};function runReport(_0x29e830,_0x22ebca,_0xfecb8d){var _0x3a7339=_0x22ebca['name'];var _0x59c94b=0xa;var _0x29e27e=[_0xb687('0x56'),_0xb687('0x57'),_0xb687('0x58'),'cross_join'];var _0x448d59={'SUM':_0xb687('0x88'),'COUNT':_0xb687('0x59'),'COUNT DISTINCT':_0xb687('0x5a'),'MAX':_0xb687('0x5b'),'MIN':_0xb687('0x5c'),'AVG':_0xb687('0x5d'),'GROUP_CONCAT':_0xb687('0x89'),'GROUP_CONCAT ASC':_0xb687('0x8a'),'GROUP_CONCAT DESC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)'};var _0x25f5c3={'SEC_TO_TIME':_0xb687('0x8b'),'DATE':_0xb687('0x8c'),'HOUR':_0xb687('0x8d'),'ROUND':_0xb687('0x5f'),'UNIX_TIMESTAMP':'UNIX_TIMESTAMP(%s)'};var _0x1037b1=function(_0x3bf480){return!_['includes']([_0xb687('0x62'),'IS\x20NOT\x20NULL',_0xb687('0x64'),_0xb687('0x65')],_0x3bf480);};var _0x5ec5f6=function(_0x1c683e){if(!_0x1c683e||!_0x1c683e[_0xb687('0x66')]['length']){return'';}for(var _0x231caa='(',_0x3479c5=0x0;_0x3479c5<_0x1c683e[_0xb687('0x66')][_0xb687('0x3e')];_0x3479c5+=0x1){_0x3479c5>0x0&&(_0x231caa+='\x20'+_0x1c683e[_0xb687('0x67')]+'\x20');_0x231caa+=_0x1c683e[_0xb687('0x66')][_0x3479c5]['group']?_0x5ec5f6(_0x1c683e[_0xb687('0x66')][_0x3479c5][_0xb687('0x68')]):_0x1c683e[_0xb687('0x66')][_0x3479c5][_0xb687('0x69')]+'\x20'+_0x1c683e[_0xb687('0x66')][_0x3479c5][_0xb687('0x6a')]+(_0x1037b1(_0x1c683e[_0xb687('0x66')][_0x3479c5][_0xb687('0x6a')])?'\x20'+_0x1c683e[_0xb687('0x66')][_0x3479c5][_0xb687('0x6b')]:'');}return _0x231caa+')';};var _0x290ddf={'where':{'id':_0x29e830['id']}},_0x5ee585,_0x10fb0,_0x5be566,_0x3d98e2,_0x3aa1c8;_0x290ddf=_['merge']({},_0x290ddf,_0xfecb8d);return db['AnalyticDefaultReport'][_0xb687('0x4d')](_0x290ddf)[_0xb687('0x28')](function(_0x3b4acf){if(_0x3b4acf){_0x5ee585=_0x3b4acf;return _0x3b4acf[_0xb687('0x6d')]();}return null;})[_0xb687('0x28')](function(_0x1c3de0){if(_0x1c3de0){if(!_0x1c3de0[_0xb687('0x3e')]){throw new db[(_0xb687('0x6e'))][(_0xb687('0x8e'))](_0xb687('0x6f'),0x193);}_0x10fb0=_0x1c3de0;return db[_0xb687('0x70')][_0xb687('0x47')]({'raw':!![]});}return null;})[_0xb687('0x28')](function(_0x1ea6fd){if(_0x1ea6fd){_0x5be566=_[_0xb687('0x71')](_0x1ea6fd,'id');var _0x3f45b7;var _0x508550=squel['select']();_0x508550[_0xb687('0x73')](_0x5ee585['table']);for(var _0x5f2557=0x0;_0x5f2557<_0x10fb0[_0xb687('0x3e')];_0x5f2557+=0x1){_0x3f45b7=_0x10fb0[_0x5f2557][_0xb687('0x75')]?_0x5be566[_0x10fb0[_0x5f2557]['MetricId']][_0xb687('0x76')]:_0x10fb0[_0x5f2557][_0xb687('0x69')];_0x3f45b7=_0x10fb0[_0x5f2557]['function']?_[_0xb687('0x78')](_0x448d59[_0x10fb0[_0x5f2557][_0xb687('0x77')]],'%s',_0x3f45b7):_0x3f45b7;_0x3f45b7=_0x10fb0[_0x5f2557][_0xb687('0x79')]?_[_0xb687('0x78')](_0x25f5c3[_0x10fb0[_0x5f2557][_0xb687('0x79')]],'%s',_0x3f45b7):_0x3f45b7;if(_0x10fb0[_0x5f2557][_0xb687('0x7a')]){_0x508550[_0xb687('0x68')](_0x3f45b7);}_0x10fb0[_0x5f2557][_0xb687('0x7b')]&&_0x508550[_0xb687('0x40')](_0x3f45b7,_0x10fb0[_0x5f2557]['orderBy']===_0xb687('0x8f')?![]:!![]);_0x508550[_0xb687('0x69')](_0x3f45b7,_0x10fb0[_0x5f2557]['alias']||_0x3f45b7);}if(_0x5ee585[_0xb687('0x7d')]){_0x5ee585['joins']=JSON[_0xb687('0x7e')](_0x5ee585[_0xb687('0x7d')]);for(var _0x59166c=0x0;_0x59166c<_0x5ee585[_0xb687('0x7d')][_0xb687('0x3e')];_0x59166c+=0x1){if(_0x5ee585[_0xb687('0x7d')][_0x59166c][_0xb687('0x36')]&&_[_0xb687('0x61')](_0x29e27e,_0x5ee585[_0xb687('0x7d')][_0x59166c][_0xb687('0x36')])&&_0x5ee585['joins'][_0x59166c]['parentKey']&&_0x5ee585[_0xb687('0x7d')][_0x59166c]['foreignTable']&&_0x5ee585[_0xb687('0x7d')][_0x59166c][_0xb687('0x80')]){_0x508550[_0x5ee585[_0xb687('0x7d')][_0x59166c][_0xb687('0x36')]](_0x5ee585['joins'][_0x59166c][_0xb687('0x7f')],null,util[_0xb687('0x79')]('%s.%s\x20=\x20%s.%s',_0x5ee585[_0xb687('0x74')],_0x5ee585[_0xb687('0x7d')][_0x59166c][_0xb687('0x90')],_0x5ee585[_0xb687('0x7d')][_0x59166c][_0xb687('0x7f')],_0x5ee585[_0xb687('0x7d')][_0x59166c]['foreignKey']));}}}if(_0x5ee585[_0xb687('0x81')]){_0x5ee585[_0xb687('0x81')]=JSON[_0xb687('0x7e')](_0x5ee585[_0xb687('0x81')]);_0x508550[_0xb687('0x42')](_0x5ec5f6(_0x5ee585[_0xb687('0x81')][_0xb687('0x68')]));}_0x3aa1c8=_0x508550[_0xb687('0x82')]();_0x508550[_0xb687('0x20')](_0x59c94b);_0x508550[_0xb687('0x1f')](0x0);return;}})['then'](function(){if(_0x22ebca['output']===_0xb687('0x91')){return null;}var _0x1a7cd8=_[_0xb687('0x6c')](_0x22ebca,{'name':_0x22ebca[_0xb687('0x92')]||_0x22ebca[_0xb687('0x2f')]||_0x5ee585[_0xb687('0x2f')],'basename':_0x3a7339,'savename':util[_0xb687('0x79')](_0xb687('0x93'),_0x22ebca[_0xb687('0x2f')]||_0x5ee585['name'],require('randomstring')['generate'](0x4),_0x22ebca[_0xb687('0x94')]||_0xb687('0x95')),'reportId':_0x5ee585['id'],'reportType':_0xb687('0x96')});return db[_0xb687('0x97')][_0xb687('0x4e')](_0x1a7cd8,{'raw':!![]});})[_0xb687('0x28')](function(_0x473130){if(_0x5ee585[_0xb687('0x74')]==='cdr'){_0x3aa1c8[_0xb687('0x42')](_0x5ee585[_0xb687('0x74')]+_0xb687('0x98'),_0x22ebca[_0xb687('0x99')],_0x22ebca[_0xb687('0x9a')]);}else{_0x3aa1c8[_0xb687('0x42')](_0x5ee585[_0xb687('0x74')]+_0xb687('0x9b'),_0x22ebca['startDate'],_0x22ebca[_0xb687('0x9a')]);}if(_0x473130){logger['info'](_0xb687('0x9c'),_0x3aa1c8[_0xb687('0x85')]());require('child_process')[_0xb687('0x9d')](path[_0xb687('0x56')](__dirname,_0xb687('0x9e'),_0x473130['output']),[_0x473130['id'],_0x3aa1c8[_0xb687('0x85')](),path[_0xb687('0x56')](__dirname,_0xb687('0x9f'),_0x473130[_0xb687('0xa0')]),_0x3a7339]);return _0x473130;}else{var _0x3d4596=squel[_0xb687('0x72')]();_0x3d4596[_0xb687('0x73')]('('+_0x3aa1c8['toString']()+')',_0xb687('0xa1'));_0x3d4596[_0xb687('0x69')](_0xb687('0xa2'),_0xb687('0x22'));_0x3aa1c8[_0xb687('0x20')](_0x22ebca['limit']||_0x59c94b);_0x3aa1c8[_0xb687('0x1f')](_0x22ebca[_0xb687('0x1f')]||0x0);return dbH[_0xb687('0x86')]['query'](_0x3d4596[_0xb687('0x85')](),{'type':dbH['sequelize'][_0xb687('0x87')][_0xb687('0xa3')]})['then'](function(_0x3dbbd6){if(!_0x3dbbd6[_0xb687('0x3e')]){_0x3d98e2=0x0;}else{_0x3d98e2=_0x3dbbd6[0x0][_0xb687('0x22')]||0x0;}return dbH['sequelize'][_0xb687('0x39')](_0x3aa1c8[_0xb687('0x85')](),{'type':dbH[_0xb687('0x86')][_0xb687('0x87')][_0xb687('0xa3')]});})[_0xb687('0x28')](function(_0x15e599){return{'rows':_0x15e599||[],'count':_0x3d98e2};});}});}exports[_0xb687('0xa4')]=function(_0x8f6ba0,_0x568aca){return runReport(_0x8f6ba0[_0xb687('0x49')],_0x8f6ba0[_0xb687('0x39')],_0x8f6ba0[_0xb687('0x46')])['then'](respondWithResult(_0x568aca,null))['catch'](handleError(_0x568aca,null));};exports[_0xb687('0xa5')]=runReport;exports['query']=function(_0x187810,_0x1d21ef){var _0x386d12=0xa;var _0x4dd8f4=['join',_0xb687('0x57'),_0xb687('0x58'),_0xb687('0xa6')];var _0x295795={'SUM':_0xb687('0x88'),'COUNT':'COUNT(%s)','COUNT DISTINCT':_0xb687('0x5a'),'MAX':_0xb687('0x5b'),'MIN':'MIN(%s)','AVG':_0xb687('0x5d'),'GROUP_CONCAT':_0xb687('0x89'),'GROUP_CONCAT ASC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT DESC':_0xb687('0x5e')};var _0xe7056c={'SEC_TO_TIME':'SEC_TO_TIME(%s)','DATE':_0xb687('0x8c'),'HOUR':_0xb687('0x8d'),'ROUND':_0xb687('0x5f'),'UNIX_TIMESTAMP':_0xb687('0x60')};var _0x1b1cf5=function(_0x46283c){return!_[_0xb687('0x61')](['IS\x20NULL',_0xb687('0x63'),'IS\x20EMPTY',_0xb687('0x65')],_0x46283c);};var _0x394ed6=function(_0x875169){if(!_0x875169||!_0x875169[_0xb687('0x66')]['length']){return'';}for(var _0x1ec485='(',_0x55a919=0x0;_0x55a919<_0x875169['rules'][_0xb687('0x3e')];_0x55a919+=0x1){_0x55a919>0x0&&(_0x1ec485+='\x20'+_0x875169[_0xb687('0x67')]+'\x20');_0x1ec485+=_0x875169[_0xb687('0x66')][_0x55a919]['group']?_0x394ed6(_0x875169[_0xb687('0x66')][_0x55a919][_0xb687('0x68')]):_0x875169['rules'][_0x55a919][_0xb687('0x69')]+'\x20'+_0x875169['rules'][_0x55a919][_0xb687('0x6a')]+(_0x1b1cf5(_0x875169[_0xb687('0x66')][_0x55a919]['condition'])?'\x20'+_0x875169[_0xb687('0x66')][_0x55a919]['value']:'');}return _0x1ec485+')';};var _0x2aecd5={'where':{'id':_0x187810[_0xb687('0x49')]['id']}},_0x58955e,_0x488a2a,_0x303738,_0x3904a3,_0x581338;_0x2aecd5=_['merge']({},_0x2aecd5,_0x187810[_0xb687('0x46')]);return db[_0xb687('0x33')][_0xb687('0x4d')](_0x2aecd5)['then'](function(_0xc29834){if(_0xc29834){_0x58955e=_0xc29834;return _0xc29834[_0xb687('0x6d')]();}return null;})[_0xb687('0x28')](function(_0x1f2f2b){if(_0x1f2f2b){if(!_0x1f2f2b[_0xb687('0x3e')]){throw new db[(_0xb687('0x6e'))]['ValidationErrorItem'](_0xb687('0x6f'),0x193);}_0x488a2a=_0x1f2f2b;return db[_0xb687('0x70')][_0xb687('0x47')]({'raw':!![]});}return null;})[_0xb687('0x28')](function(_0x3591e2){if(_0x3591e2){_0x303738=_['keyBy'](_0x3591e2,'id');var _0x4d0c14;var _0x200b55=squel[_0xb687('0x72')]();_0x200b55[_0xb687('0x73')](_0x58955e[_0xb687('0x74')]);for(var _0x33f4de=0x0;_0x33f4de<_0x488a2a[_0xb687('0x3e')];_0x33f4de+=0x1){_0x4d0c14=_0x488a2a[_0x33f4de][_0xb687('0x75')]?_0x303738[_0x488a2a[_0x33f4de]['MetricId']][_0xb687('0x76')]:_0x488a2a[_0x33f4de][_0xb687('0x69')];_0x4d0c14=_0x488a2a[_0x33f4de][_0xb687('0x77')]?_['replace'](_0x295795[_0x488a2a[_0x33f4de][_0xb687('0x77')]],'%s',_0x4d0c14):_0x4d0c14;_0x4d0c14=_0x488a2a[_0x33f4de][_0xb687('0x79')]?_[_0xb687('0x78')](_0xe7056c[_0x488a2a[_0x33f4de]['format']],'%s',_0x4d0c14):_0x4d0c14;if(_0x488a2a[_0x33f4de][_0xb687('0x7a')]){_0x200b55[_0xb687('0x68')](_0x4d0c14);}_0x488a2a[_0x33f4de]['orderBy']&&_0x200b55[_0xb687('0x40')](_0x4d0c14,_0x488a2a[_0x33f4de][_0xb687('0x7b')]===_0xb687('0x8f')?![]:!![]);_0x200b55[_0xb687('0x69')](_0x4d0c14,_0x488a2a[_0x33f4de]['alias']||_0x4d0c14);}if(_0x58955e[_0xb687('0x7d')]){_0x58955e[_0xb687('0x7d')]=JSON[_0xb687('0x7e')](_0x58955e[_0xb687('0x7d')]);for(var _0xcff220=0x0;_0xcff220<_0x58955e['joins'][_0xb687('0x3e')];_0xcff220+=0x1){if(_0x58955e[_0xb687('0x7d')][_0xcff220]['type']&&_[_0xb687('0x61')](_0x4dd8f4,_0x58955e[_0xb687('0x7d')][_0xcff220]['type'])&&_0x58955e[_0xb687('0x7d')][_0xcff220][_0xb687('0x90')]&&_0x58955e[_0xb687('0x7d')][_0xcff220]['foreignTable']&&_0x58955e[_0xb687('0x7d')][_0xcff220][_0xb687('0x80')]){_0x200b55[_0x58955e['joins'][_0xcff220]['type']](_0x58955e['joins'][_0xcff220][_0xb687('0x7f')],null,util['format'](_0xb687('0xa7'),_0x58955e[_0xb687('0x74')],_0x58955e[_0xb687('0x7d')][_0xcff220][_0xb687('0x90')],_0x58955e[_0xb687('0x7d')][_0xcff220]['foreignTable'],_0x58955e['joins'][_0xcff220][_0xb687('0x80')]));}}}if(_0x58955e[_0xb687('0x81')]){_0x58955e[_0xb687('0x81')]=JSON[_0xb687('0x7e')](_0x58955e[_0xb687('0x81')]);_0x200b55[_0xb687('0x42')](_0x394ed6(_0x58955e[_0xb687('0x81')]['group']));}_0x581338=_0x200b55['clone']();_0x200b55['limit'](_0x386d12);_0x200b55[_0xb687('0x1f')](0x0);logger[_0xb687('0x83')](_0xb687('0x84'),_0x200b55['toString']());return dbH['sequelize']['query'](_0x200b55[_0xb687('0x85')](),{'type':dbH['sequelize'][_0xb687('0x87')][_0xb687('0xa3')]});}})[_0xb687('0x28')](function(){return{'sql':_0x581338[_0xb687('0x85')]()};})[_0xb687('0x28')](respondWithResult(_0x1d21ef,null))[_0xb687('0x48')](handleError(_0x1d21ef,null));};
\ No newline at end of file
diff --git a/server/api/analyticDefaultReport/analyticDefaultReport.model.js b/server/api/analyticDefaultReport/analyticDefaultReport.model.js
index 4077dc0..3a6ee70 100644
--- a/server/api/analyticDefaultReport/analyticDefaultReport.model.js
+++ b/server/api/analyticDefaultReport/analyticDefaultReport.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x2838=['moment','bluebird','request-promise','path','../../config/environment','./analyticDefaultReport.attributes','exports','AnalyticDefaultReport','analytics_default_reports','lodash','util'];(function(_0x2e63dd,_0x31651c){var _0x4fded6=function(_0x32d95d){while(--_0x32d95d){_0x2e63dd['push'](_0x2e63dd['shift']());}};_0x4fded6(++_0x31651c);}(_0x2838,0x1a0));var _0x8283=function(_0x55daf2,_0x1b48de){_0x55daf2=_0x55daf2-0x0;var _0x1c8500=_0x2838[_0x55daf2];return _0x1c8500;};'use strict';var _=require(_0x8283('0x0'));var util=require(_0x8283('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x8283('0x2'));var BPromise=require(_0x8283('0x3'));var rp=require(_0x8283('0x4'));var fs=require('fs');var path=require(_0x8283('0x5'));var rimraf=require('rimraf');var config=require(_0x8283('0x6'));var attributes=require(_0x8283('0x7'));module[_0x8283('0x8')]=function(_0x35673a,_0x549f63){return _0x35673a['define'](_0x8283('0x9'),attributes,{'tableName':_0x8283('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x6ee0=['../../config/environment','exports','define','AnalyticDefaultReport','analytics_default_reports','util','../../config/logger','bluebird','request-promise','path','rimraf'];(function(_0x56f133,_0x7a8f87){var _0x64cfd7=function(_0x36a195){while(--_0x36a195){_0x56f133['push'](_0x56f133['shift']());}};_0x64cfd7(++_0x7a8f87);}(_0x6ee0,0x1bd));var _0x06ee=function(_0x1eb23b,_0xd0b6cb){_0x1eb23b=_0x1eb23b-0x0;var _0x2ae0ea=_0x6ee0[_0x1eb23b];return _0x2ae0ea;};'use strict';var _=require('lodash');var util=require(_0x06ee('0x0'));var logger=require(_0x06ee('0x1'))('api');var moment=require('moment');var BPromise=require(_0x06ee('0x2'));var rp=require(_0x06ee('0x3'));var fs=require('fs');var path=require(_0x06ee('0x4'));var rimraf=require(_0x06ee('0x5'));var config=require(_0x06ee('0x6'));var attributes=require('./analyticDefaultReport.attributes');module[_0x06ee('0x7')]=function(_0x53b2bf,_0x16e3ee){return _0x53b2bf[_0x06ee('0x8')](_0x06ee('0x9'),attributes,{'tableName':_0x06ee('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/analyticDefaultReport/analyticDefaultReport.rpc.js b/server/api/analyticDefaultReport/analyticDefaultReport.rpc.js
index 9cc6fe2..24be8fe 100644
--- a/server/api/analyticDefaultReport/analyticDefaultReport.rpc.js
+++ b/server/api/analyticDefaultReport/analyticDefaultReport.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xdf82=['../../config/logger','rpc','client','request','then','info','AnalyticDefaultReport,\x20%s,\x20%s','request\x20sent','debug','stringify','error','message','result','lodash','moment','randomstring','../../mysqldb'];(function(_0x47fd36,_0x41535d){var _0x21a0fc=function(_0x44c07c){while(--_0x44c07c){_0x47fd36['push'](_0x47fd36['shift']());}};_0x21a0fc(++_0x41535d);}(_0xdf82,0x10c));var _0x2df8=function(_0x6f72f9,_0x1730c3){_0x6f72f9=_0x6f72f9-0x0;var _0x448043=_0xdf82[_0x6f72f9];return _0x448043;};'use strict';var _=require(_0x2df8('0x0'));var util=require('util');var moment=require(_0x2df8('0x1'));var BPromise=require('bluebird');var rs=require(_0x2df8('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x2df8('0x3'))['db'];var utils=require('../../config/utils');var logger=require(_0x2df8('0x4'))(_0x2df8('0x5'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0x2df8('0x6')]['http']({'port':0x232a});function respondWithRpcPromise(_0x15fac6,_0x47af21,_0x40f89c){return new BPromise(function(_0x1aa105,_0x223f94){return client[_0x2df8('0x7')](_0x15fac6,_0x40f89c)[_0x2df8('0x8')](function(_0x586433){logger[_0x2df8('0x9')](_0x2df8('0xa'),_0x47af21,_0x2df8('0xb'));logger[_0x2df8('0xc')]('AnalyticDefaultReport,\x20%s,\x20%s,\x20%s',_0x47af21,_0x2df8('0xb'),JSON[_0x2df8('0xd')](_0x586433));if(_0x586433['error']){if(_0x586433['error']['code']===0x1f4){logger[_0x2df8('0xe')]('AnalyticDefaultReport,\x20%s,\x20%s',_0x47af21,_0x586433[_0x2df8('0xe')][_0x2df8('0xf')]);return _0x223f94(_0x586433[_0x2df8('0xe')][_0x2df8('0xf')]);}logger[_0x2df8('0xe')]('AnalyticDefaultReport,\x20%s,\x20%s',_0x47af21,_0x586433[_0x2df8('0xe')][_0x2df8('0xf')]);return _0x1aa105(_0x586433[_0x2df8('0xe')]['message']);}else{logger[_0x2df8('0x9')](_0x2df8('0xa'),_0x47af21,'request\x20sent');_0x1aa105(_0x586433[_0x2df8('0x10')][_0x2df8('0xf')]);}})['catch'](function(_0x27c6c7){logger[_0x2df8('0xe')](_0x2df8('0xa'),_0x47af21,_0x27c6c7);_0x223f94(_0x27c6c7);});});}
\ No newline at end of file
+var _0x98c0=['catch','lodash','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','then','info','AnalyticDefaultReport,\x20%s,\x20%s','debug','AnalyticDefaultReport,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message'];(function(_0x4148de,_0x4c1a10){var _0x4d17a9=function(_0x572bab){while(--_0x572bab){_0x4148de['push'](_0x4148de['shift']());}};_0x4d17a9(++_0x4c1a10);}(_0x98c0,0x1e5));var _0x098c=function(_0x2dfa6a,_0x612821){_0x2dfa6a=_0x2dfa6a-0x0;var _0x1ae0e3=_0x98c0[_0x2dfa6a];return _0x1ae0e3;};'use strict';var _=require(_0x098c('0x0'));var util=require(_0x098c('0x1'));var moment=require('moment');var BPromise=require(_0x098c('0x2'));var rs=require(_0x098c('0x3'));var fs=require('fs');var Redis=require(_0x098c('0x4'));var db=require(_0x098c('0x5'))['db'];var utils=require(_0x098c('0x6'));var logger=require(_0x098c('0x7'))('rpc');var config=require(_0x098c('0x8'));var jayson=require(_0x098c('0x9'));var client=jayson[_0x098c('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x1a37a5,_0x13e1ec,_0x593ea9){return new BPromise(function(_0x540c19,_0x3ac97f){return client['request'](_0x1a37a5,_0x593ea9)[_0x098c('0xb')](function(_0x478751){logger[_0x098c('0xc')](_0x098c('0xd'),_0x13e1ec,'request\x20sent');logger[_0x098c('0xe')](_0x098c('0xf'),_0x13e1ec,_0x098c('0x10'),JSON[_0x098c('0x11')](_0x478751));if(_0x478751['error']){if(_0x478751[_0x098c('0x12')][_0x098c('0x13')]===0x1f4){logger[_0x098c('0x12')](_0x098c('0xd'),_0x13e1ec,_0x478751[_0x098c('0x12')][_0x098c('0x14')]);return _0x3ac97f(_0x478751[_0x098c('0x12')]['message']);}logger[_0x098c('0x12')]('AnalyticDefaultReport,\x20%s,\x20%s',_0x13e1ec,_0x478751['error'][_0x098c('0x14')]);return _0x540c19(_0x478751[_0x098c('0x12')][_0x098c('0x14')]);}else{logger[_0x098c('0xc')]('AnalyticDefaultReport,\x20%s,\x20%s',_0x13e1ec,_0x098c('0x10'));_0x540c19(_0x478751['result'][_0x098c('0x14')]);}})[_0x098c('0x15')](function(_0x5a9467){logger[_0x098c('0x12')]('AnalyticDefaultReport,\x20%s,\x20%s',_0x13e1ec,_0x5a9467);_0x3ac97f(_0x5a9467);});});}
\ No newline at end of file
diff --git a/server/api/analyticDefaultReport/index.js b/server/api/analyticDefaultReport/index.js
index 3a57430..5351860 100644
--- a/server/api/analyticDefaultReport/index.js
+++ b/server/api/analyticDefaultReport/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x2d1b=['/:id/run','run','post','create','update','destroy','exports','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../config/environment','./analyticDefaultReport.controller','get','index','/:id','show','isAuthenticated'];(function(_0x20c346,_0x1b7ded){var _0x7f2a06=function(_0x266824){while(--_0x266824){_0x20c346['push'](_0x20c346['shift']());}};_0x7f2a06(++_0x1b7ded);}(_0x2d1b,0x1bf));var _0xb2d1=function(_0x3ed5a3,_0x40292d){_0x3ed5a3=_0x3ed5a3-0x0;var _0x3123a3=_0x2d1b[_0x3ed5a3];return _0x3123a3;};'use strict';var multer=require(_0xb2d1('0x0'));var util=require(_0xb2d1('0x1'));var path=require(_0xb2d1('0x2'));var timeout=require(_0xb2d1('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xb2d1('0x4'));var auth=require(_0xb2d1('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xb2d1('0x6'));var controller=require(_0xb2d1('0x7'));router[_0xb2d1('0x8')]('/',auth['isAuthenticated'](),controller[_0xb2d1('0x9')]);router[_0xb2d1('0x8')](_0xb2d1('0xa'),auth['isAuthenticated'](),controller[_0xb2d1('0xb')]);router[_0xb2d1('0x8')]('/:id/preview',auth[_0xb2d1('0xc')](),controller['preview']);router[_0xb2d1('0x8')](_0xb2d1('0xd'),auth['isAuthenticated'](),controller[_0xb2d1('0xe')]);router[_0xb2d1('0x8')]('/:id/query',auth['isAuthenticated'](),controller['query']);router[_0xb2d1('0xf')]('/',auth[_0xb2d1('0xc')](),controller[_0xb2d1('0x10')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xb2d1('0x11')]);router['delete'](_0xb2d1('0xa'),auth[_0xb2d1('0xc')](),controller[_0xb2d1('0x12')]);module[_0xb2d1('0x13')]=router;
\ No newline at end of file
+var _0x081c=['run','query','post','create','update','delete','exports','multer','Router','fs-extra','../../components/interaction/service','get','isAuthenticated','index','/:id','show','/:id/preview','preview','/:id/run'];(function(_0x52fc2e,_0x1b9698){var _0x46c064=function(_0x4c1626){while(--_0x4c1626){_0x52fc2e['push'](_0x52fc2e['shift']());}};_0x46c064(++_0x1b9698);}(_0x081c,0xeb));var _0xc081=function(_0x496f2c,_0x333179){_0x496f2c=_0x496f2c-0x0;var _0x242388=_0x081c[_0x496f2c];return _0x242388;};'use strict';var multer=require(_0xc081('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xc081('0x1')]();var fs_extra=require(_0xc081('0x2'));var auth=require('../../components/auth/service');var interaction=require(_0xc081('0x3'));var config=require('../../config/environment');var controller=require('./analyticDefaultReport.controller');router[_0xc081('0x4')]('/',auth[_0xc081('0x5')](),controller[_0xc081('0x6')]);router['get'](_0xc081('0x7'),auth['isAuthenticated'](),controller[_0xc081('0x8')]);router['get'](_0xc081('0x9'),auth[_0xc081('0x5')](),controller[_0xc081('0xa')]);router['get'](_0xc081('0xb'),auth[_0xc081('0x5')](),controller[_0xc081('0xc')]);router[_0xc081('0x4')]('/:id/query',auth[_0xc081('0x5')](),controller[_0xc081('0xd')]);router[_0xc081('0xe')]('/',auth[_0xc081('0x5')](),controller[_0xc081('0xf')]);router['put'](_0xc081('0x7'),auth[_0xc081('0x5')](),controller[_0xc081('0x10')]);router[_0xc081('0x11')](_0xc081('0x7'),auth[_0xc081('0x5')](),controller['destroy']);module[_0xc081('0x12')]=router;
\ No newline at end of file
diff --git a/server/api/analyticExtractedReport/analyticExtractedReport.attributes.js b/server/api/analyticExtractedReport/analyticExtractedReport.attributes.js
index 7095ab4..bfde32d 100644
--- a/server/api/analyticExtractedReport/analyticExtractedReport.attributes.js
+++ b/server/api/analyticExtractedReport/analyticExtractedReport.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xa07e=['csv','pdf','xlsx','DATE','Loading','scheduled','manual','INTEGER','sequelize','exports','STRING','ENUM'];(function(_0x2cb2aa,_0x2469e5){var _0x12fc91=function(_0x2e606f){while(--_0x2e606f){_0x2cb2aa['push'](_0x2cb2aa['shift']());}};_0x12fc91(++_0x2469e5);}(_0xa07e,0xec));var _0xea07=function(_0x4429ce,_0x503467){_0x4429ce=_0x4429ce-0x0;var _0xc5840e=_0xa07e[_0x4429ce];return _0xc5840e;};'use strict';var Sequelize=require(_0xea07('0x0'));var moment=require('moment');module[_0xea07('0x1')]={'name':{'type':Sequelize[_0xea07('0x2')],'allowNull':![]},'basename':{'type':Sequelize[_0xea07('0x2')],'allowNull':![]},'output':{'type':Sequelize[_0xea07('0x3')](_0xea07('0x4'),_0xea07('0x5'),_0xea07('0x6')),'allowNull':![],'defaultValue':_0xea07('0x4')},'savename':{'type':Sequelize[_0xea07('0x2')],'allowNull':![]},'startDate':{'type':Sequelize[_0xea07('0x7')]},'endDate':{'type':Sequelize[_0xea07('0x7')]},'status':{'type':Sequelize[_0xea07('0x2')],'defaultValue':_0xea07('0x8')},'type':{'type':Sequelize[_0xea07('0x3')]('manual',_0xea07('0x9')),'allowNull':![],'defaultValue':_0xea07('0xa')},'reportId':{'type':Sequelize[_0xea07('0xb')](0xb)['UNSIGNED']},'reportType':{'type':Sequelize[_0xea07('0x2')]}};
\ No newline at end of file
+var _0x0870=['ENUM','manual','UNSIGNED','sequelize','moment','exports','STRING','csv','pdf','DATE','Loading'];(function(_0x520138,_0x28b48e){var _0x46b0bf=function(_0x13798e){while(--_0x13798e){_0x520138['push'](_0x520138['shift']());}};_0x46b0bf(++_0x28b48e);}(_0x0870,0xd4));var _0x0087=function(_0x157b9b,_0x5eba5e){_0x157b9b=_0x157b9b-0x0;var _0x32179b=_0x0870[_0x157b9b];return _0x32179b;};'use strict';var Sequelize=require(_0x0087('0x0'));var moment=require(_0x0087('0x1'));module[_0x0087('0x2')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'basename':{'type':Sequelize[_0x0087('0x3')],'allowNull':![]},'output':{'type':Sequelize['ENUM'](_0x0087('0x4'),_0x0087('0x5'),'xlsx'),'allowNull':![],'defaultValue':_0x0087('0x4')},'savename':{'type':Sequelize['STRING'],'allowNull':![]},'startDate':{'type':Sequelize[_0x0087('0x6')]},'endDate':{'type':Sequelize[_0x0087('0x6')]},'status':{'type':Sequelize[_0x0087('0x3')],'defaultValue':_0x0087('0x7')},'type':{'type':Sequelize[_0x0087('0x8')](_0x0087('0x9'),'scheduled'),'allowNull':![],'defaultValue':_0x0087('0x9')},'reportId':{'type':Sequelize['INTEGER'](0xb)[_0x0087('0xa')]},'reportType':{'type':Sequelize[_0x0087('0x3')]}};
\ No newline at end of file
diff --git a/server/api/analyticExtractedReport/analyticExtractedReport.controller.js b/server/api/analyticExtractedReport/analyticExtractedReport.controller.js
index ddefbef..80e1dee 100644
--- a/server/api/analyticExtractedReport/analyticExtractedReport.controller.js
+++ b/server/api/analyticExtractedReport/analyticExtractedReport.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x1483=['querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/license/util','../../mysqldb','end','status','json','offset','undefined','limit','count','set','Content-Range','reject','update','then','destroy','UserProfileResource','sendStatus','stack','name','send','index','map','rawAttributes','fieldName','key','model','query','filters','intersection','fields','attributes','length','order','sort','where','filter','merge','type','VIRTUAL','options','AnalyticExtractedReport','includeAll','include','findAll','rows','catch','show','params','keys','body','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','ExtractedReports','find','userProfileId','autoAssociation','create','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','download','basename','savename','output','join','root','ValidationError','Report\x20not\x20found\x20or\x20empty','exists','%s.%s','toLowerCase','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','fs-extra','lodash','squel','crypto','jsforce','desk.js'];(function(_0x5e15a4,_0x1c6cdd){var _0x53eb0d=function(_0x2a4bb1){while(--_0x2a4bb1){_0x5e15a4['push'](_0x5e15a4['shift']());}};_0x53eb0d(++_0x1c6cdd);}(_0x1483,0x112));var _0x3148=function(_0x4a93bb,_0x495404){_0x4a93bb=_0x4a93bb-0x0;var _0x208468=_0x1483[_0x4a93bb];return _0x208468;};'use strict';var emlformat=require(_0x3148('0x0'));var rimraf=require(_0x3148('0x1'));var zipdir=require(_0x3148('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x3148('0x3'));var moment=require(_0x3148('0x4'));var BPromise=require(_0x3148('0x5'));var Mustache=require(_0x3148('0x6'));var util=require(_0x3148('0x7'));var path=require(_0x3148('0x8'));var sox=require(_0x3148('0x9'));var csv=require(_0x3148('0xa'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x3148('0xb'));var _=require(_0x3148('0xc'));var squel=require(_0x3148('0xd'));var crypto=require(_0x3148('0xe'));var jsforce=require(_0x3148('0xf'));var deskjs=require(_0x3148('0x10'));var toCsv=require('to-csv');var querystring=require(_0x3148('0x11'));var Papa=require(_0x3148('0x12'));var Redis=require(_0x3148('0x13'));var authService=require(_0x3148('0x14'));var qs=require(_0x3148('0x15'));var as=require(_0x3148('0x16'));var hardwareService=require(_0x3148('0x17'));var logger=require('../../config/logger')(_0x3148('0x18'));var utils=require(_0x3148('0x19'));var config=require('../../config/environment');var licenseUtil=require(_0x3148('0x1a'));var db=require(_0x3148('0x1b'))['db'];function respondWithStatusCode(_0x110e55,_0x11e06a){_0x11e06a=_0x11e06a||0xcc;return function(_0x1ce896){if(_0x1ce896){return _0x110e55['sendStatus'](_0x11e06a);}return _0x110e55['status'](_0x11e06a)[_0x3148('0x1c')]();};}function respondWithResult(_0x15dd30,_0x31f833){_0x31f833=_0x31f833||0xc8;return function(_0x1fb2d9){if(_0x1fb2d9){return _0x15dd30[_0x3148('0x1d')](_0x31f833)[_0x3148('0x1e')](_0x1fb2d9);}};}function respondWithFilteredResult(_0x1d5a52,_0x52698a){return function(_0x44926a){if(_0x44926a){var _0x1a0821=typeof _0x52698a[_0x3148('0x1f')]===_0x3148('0x20')&&typeof _0x52698a[_0x3148('0x21')]===_0x3148('0x20');var _0x381fb6=_0x44926a[_0x3148('0x22')];var _0x432acb=_0x1a0821?0x0:_0x52698a[_0x3148('0x1f')];var _0x2e1b67=_0x1a0821?_0x44926a[_0x3148('0x22')]:_0x52698a[_0x3148('0x1f')]+_0x52698a[_0x3148('0x21')];var _0x1ae742;if(_0x2e1b67>=_0x381fb6){_0x2e1b67=_0x381fb6;_0x1ae742=0xc8;}else{_0x1ae742=0xce;}_0x1d5a52[_0x3148('0x1d')](_0x1ae742);return _0x1d5a52[_0x3148('0x23')](_0x3148('0x24'),_0x432acb+'-'+_0x2e1b67+'/'+_0x381fb6)[_0x3148('0x1e')](_0x44926a);}return null;};}function patchUpdates(_0x53da3a){return function(_0x12b610){try{jsonpatch['apply'](_0x12b610,_0x53da3a,!![]);}catch(_0x14acc0){return BPromise[_0x3148('0x25')](_0x14acc0);}return _0x12b610['save']();};}function saveUpdates(_0x4ab90c,_0x3a60cf){return function(_0x2da8f9){if(_0x2da8f9){return _0x2da8f9[_0x3148('0x26')](_0x4ab90c)[_0x3148('0x27')](function(_0x404810){return _0x404810;});}return null;};}function removeEntity(_0x282100,_0x425ccc){return function(_0x319db7){if(_0x319db7){return _0x319db7[_0x3148('0x28')]()[_0x3148('0x27')](function(){var _0x4a4690=_0x319db7['get']({'plain':!![]});var _0x1ef92a='ExtractedReports';return db[_0x3148('0x29')][_0x3148('0x28')]({'where':{'type':_0x1ef92a,'resourceId':_0x4a4690['id']}})[_0x3148('0x27')](function(){return _0x319db7;});})[_0x3148('0x27')](function(){_0x282100['status'](0xcc)[_0x3148('0x1c')]();});}};}function handleEntityNotFound(_0xbcab8b,_0x496a8f){return function(_0x29029b){if(!_0x29029b){_0xbcab8b[_0x3148('0x2a')](0x194);}return _0x29029b;};}function handleError(_0x1463bc,_0x2556f8){_0x2556f8=_0x2556f8||0x1f4;return function(_0x4d2d91){logger['error'](_0x4d2d91[_0x3148('0x2b')]);if(_0x4d2d91[_0x3148('0x2c')]){delete _0x4d2d91[_0x3148('0x2c')];}_0x1463bc['status'](_0x2556f8)[_0x3148('0x2d')](_0x4d2d91);};}exports[_0x3148('0x2e')]=function(_0x103c0a,_0x33f07a){var _0x34b992={},_0x3bb0b7={},_0x984069={'count':0x0,'rows':[]};var _0x19593f=_[_0x3148('0x2f')](db['AnalyticExtractedReport'][_0x3148('0x30')],function(_0x555686){return{'name':_0x555686[_0x3148('0x31')],'type':_0x555686['type'][_0x3148('0x32')]};});_0x3bb0b7[_0x3148('0x33')]=_[_0x3148('0x2f')](_0x19593f,_0x3148('0x2c'));_0x3bb0b7['query']=_['keys'](_0x103c0a[_0x3148('0x34')]);_0x3bb0b7[_0x3148('0x35')]=_[_0x3148('0x36')](_0x3bb0b7[_0x3148('0x33')],_0x3bb0b7['query']);_0x34b992['attributes']=_['intersection'](_0x3bb0b7['model'],qs[_0x3148('0x37')](_0x103c0a[_0x3148('0x34')]['fields']));_0x34b992['attributes']=_0x34b992[_0x3148('0x38')][_0x3148('0x39')]?_0x34b992[_0x3148('0x38')]:_0x3bb0b7[_0x3148('0x33')];if(!_0x103c0a[_0x3148('0x34')]['hasOwnProperty']('nolimit')){_0x34b992[_0x3148('0x21')]=qs['limit'](_0x103c0a['query'][_0x3148('0x21')]);_0x34b992[_0x3148('0x1f')]=qs[_0x3148('0x1f')](_0x103c0a[_0x3148('0x34')]['offset']);}_0x34b992[_0x3148('0x3a')]=qs[_0x3148('0x3b')](_0x103c0a['query'][_0x3148('0x3b')]);_0x34b992[_0x3148('0x3c')]=qs[_0x3148('0x35')](_['pick'](_0x103c0a[_0x3148('0x34')],_0x3bb0b7[_0x3148('0x35')]),_0x19593f);if(_0x103c0a['query'][_0x3148('0x3d')]){_0x34b992[_0x3148('0x3c')]=_[_0x3148('0x3e')](_0x34b992[_0x3148('0x3c')],{'$or':_[_0x3148('0x2f')](_0x19593f,function(_0x3863f6){if(_0x3863f6[_0x3148('0x3f')]!==_0x3148('0x40')){var _0x30ac6f={};_0x30ac6f[_0x3863f6[_0x3148('0x2c')]]={'$like':'%'+_0x103c0a[_0x3148('0x34')]['filter']+'%'};return _0x30ac6f;}})});}_0x34b992=_[_0x3148('0x3e')]({},_0x34b992,_0x103c0a[_0x3148('0x41')]);var _0x33bedc={'where':_0x34b992['where']};return db[_0x3148('0x42')]['count'](_0x33bedc)[_0x3148('0x27')](function(_0x59ccc4){_0x984069['count']=_0x59ccc4;if(_0x103c0a[_0x3148('0x34')][_0x3148('0x43')]){_0x34b992[_0x3148('0x44')]=[{'all':!![]}];}return db[_0x3148('0x42')][_0x3148('0x45')](_0x34b992);})[_0x3148('0x27')](function(_0x351c06){_0x984069[_0x3148('0x46')]=_0x351c06;return _0x984069;})[_0x3148('0x27')](respondWithFilteredResult(_0x33f07a,_0x34b992))[_0x3148('0x47')](handleError(_0x33f07a,null));};exports[_0x3148('0x48')]=function(_0x37328a,_0x7710db){var _0x360700={'raw':!![],'where':{'id':_0x37328a[_0x3148('0x49')]['id']}},_0x294617={};_0x294617[_0x3148('0x33')]=_[_0x3148('0x4a')](db['AnalyticExtractedReport'][_0x3148('0x30')]);_0x294617['query']=_[_0x3148('0x4a')](_0x37328a[_0x3148('0x34')]);_0x294617[_0x3148('0x35')]=_[_0x3148('0x36')](_0x294617[_0x3148('0x33')],_0x294617[_0x3148('0x34')]);_0x360700[_0x3148('0x38')]=_[_0x3148('0x36')](_0x294617['model'],qs[_0x3148('0x37')](_0x37328a[_0x3148('0x34')][_0x3148('0x37')]));_0x360700[_0x3148('0x38')]=_0x360700[_0x3148('0x38')][_0x3148('0x39')]?_0x360700[_0x3148('0x38')]:_0x294617[_0x3148('0x33')];if(_0x37328a[_0x3148('0x34')][_0x3148('0x43')]){_0x360700[_0x3148('0x44')]=[{'all':!![]}];}_0x360700=_[_0x3148('0x3e')]({},_0x360700,_0x37328a[_0x3148('0x41')]);return db['AnalyticExtractedReport']['find'](_0x360700)['then'](handleEntityNotFound(_0x7710db,null))[_0x3148('0x27')](respondWithResult(_0x7710db,null))[_0x3148('0x47')](handleError(_0x7710db,null));};exports['create']=function(_0x166802,_0x327571){return db[_0x3148('0x42')]['create'](_0x166802[_0x3148('0x4b')],{})[_0x3148('0x27')](function(_0x4c7fb7){var _0x38ef01=_0x166802[_0x3148('0x4c')][_0x3148('0x4d')]({'plain':!![]});if(!_0x38ef01)throw new Error(_0x3148('0x4e'));if(_0x38ef01['role']==='user'){var _0x475670=_0x4c7fb7[_0x3148('0x4d')]({'plain':!![]});var _0x3d2775=_0x3148('0x4f');return db['UserProfileSection'][_0x3148('0x50')]({'where':{'name':_0x3d2775,'userProfileId':_0x38ef01[_0x3148('0x51')]},'raw':!![]})['then'](function(_0x3252d0){if(_0x3252d0&&_0x3252d0[_0x3148('0x52')]===0x0){return db['UserProfileResource'][_0x3148('0x53')]({'name':_0x475670[_0x3148('0x2c')],'resourceId':_0x475670['id'],'type':_0x3252d0[_0x3148('0x2c')],'sectionId':_0x3252d0['id']},{})[_0x3148('0x27')](function(){return _0x4c7fb7;});}else{return _0x4c7fb7;}})['catch'](function(_0x1bae66){logger[_0x3148('0x54')](_0x3148('0x55'),_0x1bae66);throw _0x1bae66;});}return _0x4c7fb7;})[_0x3148('0x27')](respondWithResult(_0x327571,0xc9))[_0x3148('0x47')](handleError(_0x327571,null));};exports['update']=function(_0x21f879,_0x3a1114){if(_0x21f879[_0x3148('0x4b')]['id']){delete _0x21f879['body']['id'];}return db['AnalyticExtractedReport'][_0x3148('0x50')]({'where':{'id':_0x21f879['params']['id']}})['then'](handleEntityNotFound(_0x3a1114,null))[_0x3148('0x27')](saveUpdates(_0x21f879[_0x3148('0x4b')],null))[_0x3148('0x27')](respondWithResult(_0x3a1114,null))[_0x3148('0x47')](handleError(_0x3a1114,null));};exports[_0x3148('0x28')]=function(_0x158591,_0x3b5c12){return db['AnalyticExtractedReport'][_0x3148('0x50')]({'where':{'id':_0x158591[_0x3148('0x49')]['id']}})[_0x3148('0x27')](handleEntityNotFound(_0x3b5c12,null))[_0x3148('0x27')](removeEntity(_0x3b5c12,null))[_0x3148('0x47')](handleError(_0x3b5c12,null));};exports[_0x3148('0x56')]=function(_0x38df0d,_0x50fc55,_0x420d6b){return db['AnalyticExtractedReport']['find']({'where':{'id':_0x38df0d['params']['id']},'attributes':[_0x3148('0x2c'),_0x3148('0x57'),_0x3148('0x58'),_0x3148('0x59')],'raw':!![]})[_0x3148('0x27')](handleEntityNotFound(_0x50fc55,null))[_0x3148('0x27')](function(_0x2c5cd7){if(_0x2c5cd7){if(!fs['existsSync'](path[_0x3148('0x5a')](config[_0x3148('0x5b')],'server/files/reports',_0x2c5cd7[_0x3148('0x58')]))){throw new db['Sequelize'][(_0x3148('0x5c'))](_0x3148('0x5d'));}if(_0x38df0d[_0x3148('0x34')][_0x3148('0x5e')]){return _0x50fc55[_0x3148('0x2a')](0xc8);}return _0x50fc55[_0x3148('0x56')](path['join'](config['root'],'server/files/reports',_0x2c5cd7['savename']),util['format'](_0x3148('0x5f'),_0x2c5cd7[_0x3148('0x57')]||_0x2c5cd7[_0x3148('0x2c')],_0x2c5cd7[_0x3148('0x59')][_0x3148('0x60')]()));}})[_0x3148('0x47')](handleError(_0x50fc55,null));};
\ No newline at end of file
+var _0x310a=['Sequelize','ValidationError','Report\x20not\x20found\x20or\x20empty','exists','join','format','%s.%s','toLowerCase','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','to-csv','ejs','fs-extra','lodash','squel','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','json','offset','limit','count','Content-Range','apply','reject','update','destroy','then','get','ExtractedReports','UserProfileResource','end','sendStatus','stack','name','send','index','map','AnalyticExtractedReport','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','where','pick','filter','merge','VIRTUAL','options','includeAll','include','rows','show','params','catch','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','find','userProfileId','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','download','basename','savename','existsSync','root','server/files/reports'];(function(_0x395a89,_0xd62b36){var _0x447f82=function(_0x141ae3){while(--_0x141ae3){_0x395a89['push'](_0x395a89['shift']());}};_0x447f82(++_0xd62b36);}(_0x310a,0x12b));var _0xa310=function(_0x313608,_0x34dfb1){_0x313608=_0x313608-0x0;var _0x339ee0=_0x310a[_0x313608];return _0x339ee0;};'use strict';var emlformat=require(_0xa310('0x0'));var rimraf=require('rimraf');var zipdir=require(_0xa310('0x1'));var jsonpatch=require(_0xa310('0x2'));var rp=require(_0xa310('0x3'));var moment=require(_0xa310('0x4'));var BPromise=require(_0xa310('0x5'));var Mustache=require(_0xa310('0x6'));var util=require(_0xa310('0x7'));var path=require('path');var sox=require('sox');var csv=require(_0xa310('0x8'));var ejs=require(_0xa310('0x9'));var fs=require('fs');var fs_extra=require(_0xa310('0xa'));var _=require(_0xa310('0xb'));var squel=require(_0xa310('0xc'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0xa310('0xd'));var toCsv=require(_0xa310('0x8'));var querystring=require(_0xa310('0xe'));var Papa=require(_0xa310('0xf'));var Redis=require('ioredis');var authService=require(_0xa310('0x10'));var qs=require(_0xa310('0x11'));var as=require(_0xa310('0x12'));var hardwareService=require(_0xa310('0x13'));var logger=require(_0xa310('0x14'))('api');var utils=require(_0xa310('0x15'));var config=require(_0xa310('0x16'));var licenseUtil=require(_0xa310('0x17'));var db=require(_0xa310('0x18'))['db'];function respondWithStatusCode(_0x1e0034,_0x4e1b56){_0x4e1b56=_0x4e1b56||0xcc;return function(_0x32fe6c){if(_0x32fe6c){return _0x1e0034['sendStatus'](_0x4e1b56);}return _0x1e0034[_0xa310('0x19')](_0x4e1b56)['end']();};}function respondWithResult(_0x5e30b1,_0x3aae26){_0x3aae26=_0x3aae26||0xc8;return function(_0x128fb7){if(_0x128fb7){return _0x5e30b1[_0xa310('0x19')](_0x3aae26)[_0xa310('0x1a')](_0x128fb7);}};}function respondWithFilteredResult(_0x44b760,_0x2fb168){return function(_0x494fc6){if(_0x494fc6){var _0x36670f=typeof _0x2fb168[_0xa310('0x1b')]==='undefined'&&typeof _0x2fb168[_0xa310('0x1c')]==='undefined';var _0xfeee54=_0x494fc6[_0xa310('0x1d')];var _0x1e2e19=_0x36670f?0x0:_0x2fb168[_0xa310('0x1b')];var _0x55d62b=_0x36670f?_0x494fc6[_0xa310('0x1d')]:_0x2fb168[_0xa310('0x1b')]+_0x2fb168['limit'];var _0x325194;if(_0x55d62b>=_0xfeee54){_0x55d62b=_0xfeee54;_0x325194=0xc8;}else{_0x325194=0xce;}_0x44b760[_0xa310('0x19')](_0x325194);return _0x44b760['set'](_0xa310('0x1e'),_0x1e2e19+'-'+_0x55d62b+'/'+_0xfeee54)[_0xa310('0x1a')](_0x494fc6);}return null;};}function patchUpdates(_0x318dbd){return function(_0x2e5a04){try{jsonpatch[_0xa310('0x1f')](_0x2e5a04,_0x318dbd,!![]);}catch(_0x35d1a8){return BPromise[_0xa310('0x20')](_0x35d1a8);}return _0x2e5a04['save']();};}function saveUpdates(_0x598e6f,_0x3185c4){return function(_0x58a60b){if(_0x58a60b){return _0x58a60b[_0xa310('0x21')](_0x598e6f)['then'](function(_0x56b48f){return _0x56b48f;});}return null;};}function removeEntity(_0xaeae09,_0x51facc){return function(_0x3b612e){if(_0x3b612e){return _0x3b612e[_0xa310('0x22')]()[_0xa310('0x23')](function(){var _0x553afb=_0x3b612e[_0xa310('0x24')]({'plain':!![]});var _0x37ac17=_0xa310('0x25');return db[_0xa310('0x26')]['destroy']({'where':{'type':_0x37ac17,'resourceId':_0x553afb['id']}})[_0xa310('0x23')](function(){return _0x3b612e;});})['then'](function(){_0xaeae09[_0xa310('0x19')](0xcc)[_0xa310('0x27')]();});}};}function handleEntityNotFound(_0x28b1a1,_0xe164ab){return function(_0x197359){if(!_0x197359){_0x28b1a1[_0xa310('0x28')](0x194);}return _0x197359;};}function handleError(_0x3e1464,_0x5a163e){_0x5a163e=_0x5a163e||0x1f4;return function(_0x35fc74){logger['error'](_0x35fc74[_0xa310('0x29')]);if(_0x35fc74['name']){delete _0x35fc74[_0xa310('0x2a')];}_0x3e1464['status'](_0x5a163e)[_0xa310('0x2b')](_0x35fc74);};}exports[_0xa310('0x2c')]=function(_0x602227,_0x516f35){var _0x4306e2={},_0x97418d={},_0x359684={'count':0x0,'rows':[]};var _0x1812c8=_[_0xa310('0x2d')](db[_0xa310('0x2e')][_0xa310('0x2f')],function(_0x2c2389){return{'name':_0x2c2389[_0xa310('0x30')],'type':_0x2c2389[_0xa310('0x31')][_0xa310('0x32')]};});_0x97418d[_0xa310('0x33')]=_[_0xa310('0x2d')](_0x1812c8,_0xa310('0x2a'));_0x97418d[_0xa310('0x34')]=_[_0xa310('0x35')](_0x602227[_0xa310('0x34')]);_0x97418d[_0xa310('0x36')]=_[_0xa310('0x37')](_0x97418d[_0xa310('0x33')],_0x97418d[_0xa310('0x34')]);_0x4306e2[_0xa310('0x38')]=_[_0xa310('0x37')](_0x97418d[_0xa310('0x33')],qs[_0xa310('0x39')](_0x602227['query'][_0xa310('0x39')]));_0x4306e2[_0xa310('0x38')]=_0x4306e2[_0xa310('0x38')][_0xa310('0x3a')]?_0x4306e2[_0xa310('0x38')]:_0x97418d[_0xa310('0x33')];if(!_0x602227[_0xa310('0x34')][_0xa310('0x3b')](_0xa310('0x3c'))){_0x4306e2[_0xa310('0x1c')]=qs[_0xa310('0x1c')](_0x602227[_0xa310('0x34')][_0xa310('0x1c')]);_0x4306e2[_0xa310('0x1b')]=qs[_0xa310('0x1b')](_0x602227['query'][_0xa310('0x1b')]);}_0x4306e2[_0xa310('0x3d')]=qs['sort'](_0x602227['query']['sort']);_0x4306e2[_0xa310('0x3e')]=qs[_0xa310('0x36')](_[_0xa310('0x3f')](_0x602227[_0xa310('0x34')],_0x97418d['filters']),_0x1812c8);if(_0x602227[_0xa310('0x34')][_0xa310('0x40')]){_0x4306e2[_0xa310('0x3e')]=_[_0xa310('0x41')](_0x4306e2[_0xa310('0x3e')],{'$or':_[_0xa310('0x2d')](_0x1812c8,function(_0x51e4e6){if(_0x51e4e6[_0xa310('0x31')]!==_0xa310('0x42')){var _0xa7416d={};_0xa7416d[_0x51e4e6[_0xa310('0x2a')]]={'$like':'%'+_0x602227[_0xa310('0x34')][_0xa310('0x40')]+'%'};return _0xa7416d;}})});}_0x4306e2=_[_0xa310('0x41')]({},_0x4306e2,_0x602227[_0xa310('0x43')]);var _0x53d1fd={'where':_0x4306e2[_0xa310('0x3e')]};return db[_0xa310('0x2e')]['count'](_0x53d1fd)[_0xa310('0x23')](function(_0x148e85){_0x359684[_0xa310('0x1d')]=_0x148e85;if(_0x602227[_0xa310('0x34')][_0xa310('0x44')]){_0x4306e2[_0xa310('0x45')]=[{'all':!![]}];}return db[_0xa310('0x2e')]['findAll'](_0x4306e2);})[_0xa310('0x23')](function(_0x358317){_0x359684[_0xa310('0x46')]=_0x358317;return _0x359684;})[_0xa310('0x23')](respondWithFilteredResult(_0x516f35,_0x4306e2))['catch'](handleError(_0x516f35,null));};exports[_0xa310('0x47')]=function(_0x22c39b,_0x43f3a7){var _0x3bd127={'raw':!![],'where':{'id':_0x22c39b[_0xa310('0x48')]['id']}},_0x2d1426={};_0x2d1426[_0xa310('0x33')]=_['keys'](db['AnalyticExtractedReport'][_0xa310('0x2f')]);_0x2d1426['query']=_[_0xa310('0x35')](_0x22c39b['query']);_0x2d1426[_0xa310('0x36')]=_['intersection'](_0x2d1426[_0xa310('0x33')],_0x2d1426[_0xa310('0x34')]);_0x3bd127['attributes']=_[_0xa310('0x37')](_0x2d1426[_0xa310('0x33')],qs['fields'](_0x22c39b[_0xa310('0x34')]['fields']));_0x3bd127[_0xa310('0x38')]=_0x3bd127[_0xa310('0x38')]['length']?_0x3bd127[_0xa310('0x38')]:_0x2d1426['model'];if(_0x22c39b[_0xa310('0x34')][_0xa310('0x44')]){_0x3bd127['include']=[{'all':!![]}];}_0x3bd127=_[_0xa310('0x41')]({},_0x3bd127,_0x22c39b[_0xa310('0x43')]);return db[_0xa310('0x2e')]['find'](_0x3bd127)['then'](handleEntityNotFound(_0x43f3a7,null))[_0xa310('0x23')](respondWithResult(_0x43f3a7,null))[_0xa310('0x49')](handleError(_0x43f3a7,null));};exports['create']=function(_0x5196cd,_0x396348){return db[_0xa310('0x2e')][_0xa310('0x4a')](_0x5196cd[_0xa310('0x4b')],{})[_0xa310('0x23')](function(_0x2417fd){var _0x1aa0e9=_0x5196cd[_0xa310('0x4c')][_0xa310('0x24')]({'plain':!![]});if(!_0x1aa0e9)throw new Error(_0xa310('0x4d'));if(_0x1aa0e9[_0xa310('0x4e')]==='user'){var _0x196d8b=_0x2417fd[_0xa310('0x24')]({'plain':!![]});var _0x8f9517='ExtractedReports';return db[_0xa310('0x4f')][_0xa310('0x50')]({'where':{'name':_0x8f9517,'userProfileId':_0x1aa0e9[_0xa310('0x51')]},'raw':!![]})[_0xa310('0x23')](function(_0x5323f6){if(_0x5323f6&&_0x5323f6['autoAssociation']===0x0){return db[_0xa310('0x26')][_0xa310('0x4a')]({'name':_0x196d8b[_0xa310('0x2a')],'resourceId':_0x196d8b['id'],'type':_0x5323f6[_0xa310('0x2a')],'sectionId':_0x5323f6['id']},{})[_0xa310('0x23')](function(){return _0x2417fd;});}else{return _0x2417fd;}})[_0xa310('0x49')](function(_0x54a622){logger['error'](_0xa310('0x52'),_0x54a622);throw _0x54a622;});}return _0x2417fd;})[_0xa310('0x23')](respondWithResult(_0x396348,0xc9))[_0xa310('0x49')](handleError(_0x396348,null));};exports[_0xa310('0x21')]=function(_0x156f29,_0x445782){if(_0x156f29['body']['id']){delete _0x156f29[_0xa310('0x4b')]['id'];}return db[_0xa310('0x2e')]['find']({'where':{'id':_0x156f29['params']['id']}})['then'](handleEntityNotFound(_0x445782,null))[_0xa310('0x23')](saveUpdates(_0x156f29[_0xa310('0x4b')],null))[_0xa310('0x23')](respondWithResult(_0x445782,null))['catch'](handleError(_0x445782,null));};exports[_0xa310('0x22')]=function(_0x8f77ce,_0x5b6cdd){return db[_0xa310('0x2e')][_0xa310('0x50')]({'where':{'id':_0x8f77ce[_0xa310('0x48')]['id']}})[_0xa310('0x23')](handleEntityNotFound(_0x5b6cdd,null))[_0xa310('0x23')](removeEntity(_0x5b6cdd,null))[_0xa310('0x49')](handleError(_0x5b6cdd,null));};exports[_0xa310('0x53')]=function(_0x102e15,_0x337bc5,_0xda0ff8){return db[_0xa310('0x2e')][_0xa310('0x50')]({'where':{'id':_0x102e15['params']['id']},'attributes':[_0xa310('0x2a'),_0xa310('0x54'),_0xa310('0x55'),'output'],'raw':!![]})[_0xa310('0x23')](handleEntityNotFound(_0x337bc5,null))[_0xa310('0x23')](function(_0x990d63){if(_0x990d63){if(!fs[_0xa310('0x56')](path['join'](config[_0xa310('0x57')],_0xa310('0x58'),_0x990d63['savename']))){throw new db[(_0xa310('0x59'))][(_0xa310('0x5a'))](_0xa310('0x5b'));}if(_0x102e15[_0xa310('0x34')][_0xa310('0x5c')]){return _0x337bc5['sendStatus'](0xc8);}return _0x337bc5[_0xa310('0x53')](path[_0xa310('0x5d')](config['root'],_0xa310('0x58'),_0x990d63['savename']),util[_0xa310('0x5e')](_0xa310('0x5f'),_0x990d63[_0xa310('0x54')]||_0x990d63[_0xa310('0x2a')],_0x990d63['output'][_0xa310('0x60')]()));}})[_0xa310('0x49')](handleError(_0x337bc5,null));};
\ No newline at end of file
diff --git a/server/api/analyticExtractedReport/analyticExtractedReport.model.js b/server/api/analyticExtractedReport/analyticExtractedReport.model.js
index 46b2404..b464d68 100644
--- a/server/api/analyticExtractedReport/analyticExtractedReport.model.js
+++ b/server/api/analyticExtractedReport/analyticExtractedReport.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x99a1=['AnalyticExtractedReport','analytics_extracted_reports','lodash','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','exports','define'];(function(_0x484c03,_0x13c1d2){var _0x294127=function(_0x45a834){while(--_0x45a834){_0x484c03['push'](_0x484c03['shift']());}};_0x294127(++_0x13c1d2);}(_0x99a1,0x70));var _0x199a=function(_0x2bdbe8,_0x223822){_0x2bdbe8=_0x2bdbe8-0x0;var _0x341661=_0x99a1[_0x2bdbe8];return _0x341661;};'use strict';var _=require(_0x199a('0x0'));var util=require('util');var logger=require(_0x199a('0x1'))(_0x199a('0x2'));var moment=require(_0x199a('0x3'));var BPromise=require('bluebird');var rp=require(_0x199a('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x199a('0x5'));var config=require(_0x199a('0x6'));var attributes=require('./analyticExtractedReport.attributes');module[_0x199a('0x7')]=function(_0x210deb,_0xd18e21){return _0x210deb[_0x199a('0x8')](_0x199a('0x9'),attributes,{'tableName':_0x199a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0xb299=['../../config/environment','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x1f60f0,_0x9f7cb){var _0x482ebb=function(_0xa34fd1){while(--_0xa34fd1){_0x1f60f0['push'](_0x1f60f0['shift']());}};_0x482ebb(++_0x9f7cb);}(_0xb299,0x1e2));var _0x9b29=function(_0x148da2,_0x1bc31d){_0x148da2=_0x148da2-0x0;var _0x193450=_0xb299[_0x148da2];return _0x193450;};'use strict';var _=require(_0x9b29('0x0'));var util=require(_0x9b29('0x1'));var logger=require(_0x9b29('0x2'))(_0x9b29('0x3'));var moment=require(_0x9b29('0x4'));var BPromise=require(_0x9b29('0x5'));var rp=require(_0x9b29('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9b29('0x7'));var config=require(_0x9b29('0x8'));var attributes=require(_0x9b29('0x9'));module[_0x9b29('0xa')]=function(_0xd04b2c,_0x3c2ca5){return _0xd04b2c[_0x9b29('0xb')](_0x9b29('0xc'),attributes,{'tableName':_0x9b29('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/analyticExtractedReport/analyticExtractedReport.rpc.js b/server/api/analyticExtractedReport/analyticExtractedReport.rpc.js
index bd380a6..98f027d 100644
--- a/server/api/analyticExtractedReport/analyticExtractedReport.rpc.js
+++ b/server/api/analyticExtractedReport/analyticExtractedReport.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xb17e=['../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','client','http','request','then','info','AnalyticExtractedReport,\x20%s,\x20%s','request\x20sent','debug','AnalyticExtractedReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util','moment','randomstring','ioredis'];(function(_0x3a98d0,_0x33540d){var _0x507725=function(_0x3be4ee){while(--_0x3be4ee){_0x3a98d0['push'](_0x3a98d0['shift']());}};_0x507725(++_0x33540d);}(_0xb17e,0xdc));var _0xeb17=function(_0x2c19a6,_0x257d17){_0x2c19a6=_0x2c19a6-0x0;var _0x5e2ab2=_0xb17e[_0x2c19a6];return _0x5e2ab2;};'use strict';var _=require(_0xeb17('0x0'));var util=require(_0xeb17('0x1'));var moment=require(_0xeb17('0x2'));var BPromise=require('bluebird');var rs=require(_0xeb17('0x3'));var fs=require('fs');var Redis=require(_0xeb17('0x4'));var db=require(_0xeb17('0x5'))['db'];var utils=require(_0xeb17('0x6'));var logger=require(_0xeb17('0x7'))(_0xeb17('0x8'));var config=require(_0xeb17('0x9'));var jayson=require('jayson/promise');var client=jayson[_0xeb17('0xa')][_0xeb17('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x70d5c6,_0x2149ce,_0x1d27fe){return new BPromise(function(_0x405a67,_0x1f82f0){return client[_0xeb17('0xc')](_0x70d5c6,_0x1d27fe)[_0xeb17('0xd')](function(_0x5a22a6){logger[_0xeb17('0xe')](_0xeb17('0xf'),_0x2149ce,_0xeb17('0x10'));logger[_0xeb17('0x11')](_0xeb17('0x12'),_0x2149ce,'request\x20sent',JSON[_0xeb17('0x13')](_0x5a22a6));if(_0x5a22a6['error']){if(_0x5a22a6[_0xeb17('0x14')][_0xeb17('0x15')]===0x1f4){logger[_0xeb17('0x14')](_0xeb17('0xf'),_0x2149ce,_0x5a22a6[_0xeb17('0x14')][_0xeb17('0x16')]);return _0x1f82f0(_0x5a22a6[_0xeb17('0x14')][_0xeb17('0x16')]);}logger[_0xeb17('0x14')](_0xeb17('0xf'),_0x2149ce,_0x5a22a6['error'][_0xeb17('0x16')]);return _0x405a67(_0x5a22a6[_0xeb17('0x14')][_0xeb17('0x16')]);}else{logger[_0xeb17('0xe')](_0xeb17('0xf'),_0x2149ce,_0xeb17('0x10'));_0x405a67(_0x5a22a6[_0xeb17('0x17')][_0xeb17('0x16')]);}})[_0xeb17('0x18')](function(_0x2c916b){logger['error'](_0xeb17('0xf'),_0x2149ce,_0x2c916b);_0x1f82f0(_0x2c916b);});});}
\ No newline at end of file
+var _0xbf14=['AnalyticExtractedReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','moment','randomstring','ioredis','../../mysqldb','../../config/logger','../../config/environment','jayson/promise','http','request','info','AnalyticExtractedReport,\x20%s,\x20%s','request\x20sent','debug'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xbf14,0x12d));var _0x4bf1=function(_0x20f28e,_0x32c707){_0x20f28e=_0x20f28e-0x0;var _0x248e1e=_0xbf14[_0x20f28e];return _0x248e1e;};'use strict';var _=require(_0x4bf1('0x0'));var util=require('util');var moment=require(_0x4bf1('0x1'));var BPromise=require('bluebird');var rs=require(_0x4bf1('0x2'));var fs=require('fs');var Redis=require(_0x4bf1('0x3'));var db=require(_0x4bf1('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0x4bf1('0x5'))('rpc');var config=require(_0x4bf1('0x6'));var jayson=require(_0x4bf1('0x7'));var client=jayson['client'][_0x4bf1('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x2a2a9d,_0x2bb1f8,_0x482f42){return new BPromise(function(_0x482e2d,_0x19b122){return client[_0x4bf1('0x9')](_0x2a2a9d,_0x482f42)['then'](function(_0x1edf2b){logger[_0x4bf1('0xa')](_0x4bf1('0xb'),_0x2bb1f8,_0x4bf1('0xc'));logger[_0x4bf1('0xd')](_0x4bf1('0xe'),_0x2bb1f8,_0x4bf1('0xc'),JSON[_0x4bf1('0xf')](_0x1edf2b));if(_0x1edf2b[_0x4bf1('0x10')]){if(_0x1edf2b[_0x4bf1('0x10')][_0x4bf1('0x11')]===0x1f4){logger['error'](_0x4bf1('0xb'),_0x2bb1f8,_0x1edf2b[_0x4bf1('0x10')][_0x4bf1('0x12')]);return _0x19b122(_0x1edf2b[_0x4bf1('0x10')][_0x4bf1('0x12')]);}logger[_0x4bf1('0x10')]('AnalyticExtractedReport,\x20%s,\x20%s',_0x2bb1f8,_0x1edf2b['error'][_0x4bf1('0x12')]);return _0x482e2d(_0x1edf2b[_0x4bf1('0x10')][_0x4bf1('0x12')]);}else{logger[_0x4bf1('0xa')](_0x4bf1('0xb'),_0x2bb1f8,_0x4bf1('0xc'));_0x482e2d(_0x1edf2b[_0x4bf1('0x13')][_0x4bf1('0x12')]);}})[_0x4bf1('0x14')](function(_0x8f22b6){logger[_0x4bf1('0x10')](_0x4bf1('0xb'),_0x2bb1f8,_0x8f22b6);_0x19b122(_0x8f22b6);});});}
\ No newline at end of file
diff --git a/server/api/analyticExtractedReport/index.js b/server/api/analyticExtractedReport/index.js
index dbd840b..16ce091 100644
--- a/server/api/analyticExtractedReport/index.js
+++ b/server/api/analyticExtractedReport/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x8311=['/:id','isAuthenticated','show','/:id/download','create','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./analyticExtractedReport.controller','index','get'];(function(_0xdbc36c,_0x31a0f6){var _0x1ae028=function(_0x400cef){while(--_0x400cef){_0xdbc36c['push'](_0xdbc36c['shift']());}};_0x1ae028(++_0x31a0f6);}(_0x8311,0x198));var _0x1831=function(_0x54ba5b,_0x5b7508){_0x54ba5b=_0x54ba5b-0x0;var _0x5e16ac=_0x8311[_0x54ba5b];return _0x5e16ac;};'use strict';var multer=require(_0x1831('0x0'));var util=require(_0x1831('0x1'));var path=require(_0x1831('0x2'));var timeout=require(_0x1831('0x3'));var express=require(_0x1831('0x4'));var router=express[_0x1831('0x5')]();var fs_extra=require(_0x1831('0x6'));var auth=require(_0x1831('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x1831('0x8'));var controller=require(_0x1831('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0x1831('0xa')]);router[_0x1831('0xb')](_0x1831('0xc'),auth[_0x1831('0xd')](),controller[_0x1831('0xe')]);router[_0x1831('0xb')](_0x1831('0xf'),auth[_0x1831('0xd')](),controller['download']);router['post']('/',auth['isAuthenticated'](),controller[_0x1831('0x10')]);router[_0x1831('0x11')]('/:id',auth[_0x1831('0xd')](),controller[_0x1831('0x12')]);router['delete'](_0x1831('0xc'),auth[_0x1831('0xd')](),controller[_0x1831('0x13')]);module[_0x1831('0x14')]=router;
\ No newline at end of file
+var _0xcdc8=['multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticExtractedReport.controller','get','isAuthenticated','/:id','show','post','create','put','delete','exports'];(function(_0x5ddf69,_0x479036){var _0x4444f8=function(_0x968357){while(--_0x968357){_0x5ddf69['push'](_0x5ddf69['shift']());}};_0x4444f8(++_0x479036);}(_0xcdc8,0x132));var _0x8cdc=function(_0x2cf2e9,_0xd58ea1){_0x2cf2e9=_0x2cf2e9-0x0;var _0xd3670d=_0xcdc8[_0x2cf2e9];return _0xd3670d;};'use strict';var multer=require(_0x8cdc('0x0'));var util=require('util');var path=require(_0x8cdc('0x1'));var timeout=require(_0x8cdc('0x2'));var express=require('express');var router=express[_0x8cdc('0x3')]();var fs_extra=require(_0x8cdc('0x4'));var auth=require(_0x8cdc('0x5'));var interaction=require(_0x8cdc('0x6'));var config=require(_0x8cdc('0x7'));var controller=require(_0x8cdc('0x8'));router[_0x8cdc('0x9')]('/',auth[_0x8cdc('0xa')](),controller['index']);router[_0x8cdc('0x9')](_0x8cdc('0xb'),auth[_0x8cdc('0xa')](),controller[_0x8cdc('0xc')]);router[_0x8cdc('0x9')]('/:id/download',auth[_0x8cdc('0xa')](),controller['download']);router[_0x8cdc('0xd')]('/',auth['isAuthenticated'](),controller[_0x8cdc('0xe')]);router[_0x8cdc('0xf')](_0x8cdc('0xb'),auth[_0x8cdc('0xa')](),controller['update']);router[_0x8cdc('0x10')](_0x8cdc('0xb'),auth[_0x8cdc('0xa')](),controller['destroy']);module[_0x8cdc('0x11')]=router;
\ No newline at end of file
diff --git a/server/api/analyticFieldReport/analyticFieldReport.attributes.js b/server/api/analyticFieldReport/analyticFieldReport.attributes.js
index 046e503..550aed9 100644
--- a/server/api/analyticFieldReport/analyticFieldReport.attributes.js
+++ b/server/api/analyticFieldReport/analyticFieldReport.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xd3a8=['TEXT','STRING','BOOLEAN','sequelize','exports'];(function(_0x2052cc,_0x4f76dc){var _0x58609f=function(_0x28bdc9){while(--_0x28bdc9){_0x2052cc['push'](_0x2052cc['shift']());}};_0x58609f(++_0x4f76dc);}(_0xd3a8,0x1e8));var _0x8d3a=function(_0x1d1779,_0x284147){_0x1d1779=_0x1d1779-0x0;var _0x2377e9=_0xd3a8[_0x1d1779];return _0x2377e9;};'use strict';var Sequelize=require(_0x8d3a('0x0'));module[_0x8d3a('0x1')]={'field':{'type':Sequelize[_0x8d3a('0x2')]},'alias':{'type':Sequelize[_0x8d3a('0x3')]},'function':{'type':Sequelize[_0x8d3a('0x3')]},'format':{'type':Sequelize['STRING']},'groupBy':{'type':Sequelize[_0x8d3a('0x4')],'defaultValue':![]},'orderBy':{'type':Sequelize[_0x8d3a('0x3')]},'custom':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};
\ No newline at end of file
+var _0x33a7=['BOOLEAN','sequelize','exports','STRING'];(function(_0x2c644e,_0x310a75){var _0x7a1a9d=function(_0x494297){while(--_0x494297){_0x2c644e['push'](_0x2c644e['shift']());}};_0x7a1a9d(++_0x310a75);}(_0x33a7,0x1b5));var _0x733a=function(_0x4f027d,_0x3f9587){_0x4f027d=_0x4f027d-0x0;var _0xc46890=_0x33a7[_0x4f027d];return _0xc46890;};'use strict';var Sequelize=require(_0x733a('0x0'));module[_0x733a('0x1')]={'field':{'type':Sequelize['TEXT']},'alias':{'type':Sequelize['STRING']},'function':{'type':Sequelize[_0x733a('0x2')]},'format':{'type':Sequelize[_0x733a('0x2')]},'groupBy':{'type':Sequelize[_0x733a('0x3')],'defaultValue':![]},'orderBy':{'type':Sequelize[_0x733a('0x2')]},'custom':{'type':Sequelize[_0x733a('0x3')],'defaultValue':![]}};
\ No newline at end of file
diff --git a/server/api/analyticFieldReport/analyticFieldReport.controller.js b/server/api/analyticFieldReport/analyticFieldReport.controller.js
index 0310abd..3b85c04 100644
--- a/server/api/analyticFieldReport/analyticFieldReport.controller.js
+++ b/server/api/analyticFieldReport/analyticFieldReport.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xef95=['limit','offset','count','set','Content-Range','save','update','then','error','stack','send','index','map','rawAttributes','fieldName','type','key','model','name','keys','query','filters','attributes','intersection','length','hasOwnProperty','nolimit','sort','pick','filter','where','merge','VIRTUAL','options','includeAll','include','findAll','rows','catch','show','params','AnalyticFieldReport','fields','find','create','body','bulkCreate','destroy','bulkDestroy','ids','addFields','AnalyticCustomReport','findOne','sequelize','CustomReportId','eml-format','zip-dir','request-promise','moment','bluebird','mustache','util','sox','fs-extra','lodash','squel','crypto','jsforce','desk.js','querystring','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','undefined'];(function(_0x2d982d,_0x121028){var _0x4f36b0=function(_0x11f3a9){while(--_0x11f3a9){_0x2d982d['push'](_0x2d982d['shift']());}};_0x4f36b0(++_0x121028);}(_0xef95,0x1d1));var _0x5ef9=function(_0x33b2fe,_0x382e7d){_0x33b2fe=_0x33b2fe-0x0;var _0x4bdf42=_0xef95[_0x33b2fe];return _0x4bdf42;};'use strict';var emlformat=require(_0x5ef9('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x5ef9('0x1'));var jsonpatch=require('fast-json-patch');var rp=require(_0x5ef9('0x2'));var moment=require(_0x5ef9('0x3'));var BPromise=require(_0x5ef9('0x4'));var Mustache=require(_0x5ef9('0x5'));var util=require(_0x5ef9('0x6'));var path=require('path');var sox=require(_0x5ef9('0x7'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x5ef9('0x8'));var _=require(_0x5ef9('0x9'));var squel=require(_0x5ef9('0xa'));var crypto=require(_0x5ef9('0xb'));var jsforce=require(_0x5ef9('0xc'));var deskjs=require(_0x5ef9('0xd'));var toCsv=require('to-csv');var querystring=require(_0x5ef9('0xe'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0x5ef9('0xf'));var qs=require(_0x5ef9('0x10'));var as=require(_0x5ef9('0x11'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x5ef9('0x12'))('api');var utils=require(_0x5ef9('0x13'));var config=require(_0x5ef9('0x14'));var licenseUtil=require('../../config/license/util');var db=require(_0x5ef9('0x15'))['db'];function respondWithStatusCode(_0x399d0a,_0xb0e164){_0xb0e164=_0xb0e164||0xcc;return function(_0x530896){if(_0x530896){return _0x399d0a[_0x5ef9('0x16')](_0xb0e164);}return _0x399d0a[_0x5ef9('0x17')](_0xb0e164)[_0x5ef9('0x18')]();};}function respondWithResult(_0x5afe8b,_0x163198){_0x163198=_0x163198||0xc8;return function(_0x3d898e){if(_0x3d898e){return _0x5afe8b[_0x5ef9('0x17')](_0x163198)[_0x5ef9('0x19')](_0x3d898e);}};}function respondWithFilteredResult(_0x2973b7,_0x57210e){return function(_0x34076a){if(_0x34076a){var _0x25210c=typeof _0x57210e['offset']===_0x5ef9('0x1a')&&typeof _0x57210e[_0x5ef9('0x1b')]===_0x5ef9('0x1a');var _0x4e7d94=_0x34076a['count'];var _0x525fa3=_0x25210c?0x0:_0x57210e[_0x5ef9('0x1c')];var _0x5f458a=_0x25210c?_0x34076a[_0x5ef9('0x1d')]:_0x57210e[_0x5ef9('0x1c')]+_0x57210e[_0x5ef9('0x1b')];var _0x2f02f1;if(_0x5f458a>=_0x4e7d94){_0x5f458a=_0x4e7d94;_0x2f02f1=0xc8;}else{_0x2f02f1=0xce;}_0x2973b7[_0x5ef9('0x17')](_0x2f02f1);return _0x2973b7[_0x5ef9('0x1e')](_0x5ef9('0x1f'),_0x525fa3+'-'+_0x5f458a+'/'+_0x4e7d94)[_0x5ef9('0x19')](_0x34076a);}return null;};}function patchUpdates(_0x2b632b){return function(_0x589737){try{jsonpatch['apply'](_0x589737,_0x2b632b,!![]);}catch(_0x5279e7){return BPromise['reject'](_0x5279e7);}return _0x589737[_0x5ef9('0x20')]();};}function saveUpdates(_0x59d021,_0x2466b7){return function(_0x5707a1){if(_0x5707a1){return _0x5707a1[_0x5ef9('0x21')](_0x59d021)['then'](function(_0xd83db6){return _0xd83db6;});}return null;};}function removeEntity(_0x29e40a,_0x4493df){return function(_0x5162d5){if(_0x5162d5){return _0x5162d5['destroy']()[_0x5ef9('0x22')](function(){_0x29e40a[_0x5ef9('0x17')](0xcc)[_0x5ef9('0x18')]();});}};}function handleEntityNotFound(_0x3b94b3,_0x155727){return function(_0x460fd3){if(!_0x460fd3){_0x3b94b3[_0x5ef9('0x16')](0x194);}return _0x460fd3;};}function handleError(_0x57f7af,_0xe63689){_0xe63689=_0xe63689||0x1f4;return function(_0x316f3d){logger[_0x5ef9('0x23')](_0x316f3d[_0x5ef9('0x24')]);if(_0x316f3d['name']){delete _0x316f3d['name'];}_0x57f7af[_0x5ef9('0x17')](_0xe63689)[_0x5ef9('0x25')](_0x316f3d);};}exports[_0x5ef9('0x26')]=function(_0x11db15,_0x225ae3){var _0x112d9a={},_0x24c862={},_0x2ea469={'count':0x0,'rows':[]};var _0x3fe597=_[_0x5ef9('0x27')](db['AnalyticFieldReport'][_0x5ef9('0x28')],function(_0x3cd75d){return{'name':_0x3cd75d[_0x5ef9('0x29')],'type':_0x3cd75d[_0x5ef9('0x2a')][_0x5ef9('0x2b')]};});_0x24c862[_0x5ef9('0x2c')]=_[_0x5ef9('0x27')](_0x3fe597,_0x5ef9('0x2d'));_0x24c862['query']=_[_0x5ef9('0x2e')](_0x11db15[_0x5ef9('0x2f')]);_0x24c862[_0x5ef9('0x30')]=_['intersection'](_0x24c862['model'],_0x24c862[_0x5ef9('0x2f')]);_0x112d9a[_0x5ef9('0x31')]=_[_0x5ef9('0x32')](_0x24c862[_0x5ef9('0x2c')],qs['fields'](_0x11db15[_0x5ef9('0x2f')]['fields']));_0x112d9a[_0x5ef9('0x31')]=_0x112d9a[_0x5ef9('0x31')][_0x5ef9('0x33')]?_0x112d9a[_0x5ef9('0x31')]:_0x24c862['model'];if(!_0x11db15[_0x5ef9('0x2f')][_0x5ef9('0x34')](_0x5ef9('0x35'))){_0x112d9a[_0x5ef9('0x1b')]=qs['limit'](_0x11db15['query']['limit']);_0x112d9a[_0x5ef9('0x1c')]=qs[_0x5ef9('0x1c')](_0x11db15['query']['offset']);}_0x112d9a['order']=qs[_0x5ef9('0x36')](_0x11db15[_0x5ef9('0x2f')]['sort']);_0x112d9a['where']=qs[_0x5ef9('0x30')](_[_0x5ef9('0x37')](_0x11db15['query'],_0x24c862[_0x5ef9('0x30')]),_0x3fe597);if(_0x11db15['query'][_0x5ef9('0x38')]){_0x112d9a[_0x5ef9('0x39')]=_[_0x5ef9('0x3a')](_0x112d9a['where'],{'$or':_['map'](_0x3fe597,function(_0x22aeaa){if(_0x22aeaa[_0x5ef9('0x2a')]!==_0x5ef9('0x3b')){var _0x57b3d9={};_0x57b3d9[_0x22aeaa[_0x5ef9('0x2d')]]={'$like':'%'+_0x11db15[_0x5ef9('0x2f')][_0x5ef9('0x38')]+'%'};return _0x57b3d9;}})});}_0x112d9a=_[_0x5ef9('0x3a')]({},_0x112d9a,_0x11db15[_0x5ef9('0x3c')]);var _0x2ad4d6={'where':_0x112d9a[_0x5ef9('0x39')]};return db['AnalyticFieldReport'][_0x5ef9('0x1d')](_0x2ad4d6)[_0x5ef9('0x22')](function(_0x3a6dbb){_0x2ea469[_0x5ef9('0x1d')]=_0x3a6dbb;if(_0x11db15['query'][_0x5ef9('0x3d')]){_0x112d9a[_0x5ef9('0x3e')]=[{'all':!![]}];}return db['AnalyticFieldReport'][_0x5ef9('0x3f')](_0x112d9a);})[_0x5ef9('0x22')](function(_0x438672){_0x2ea469[_0x5ef9('0x40')]=_0x438672;return _0x2ea469;})['then'](respondWithFilteredResult(_0x225ae3,_0x112d9a))[_0x5ef9('0x41')](handleError(_0x225ae3,null));};exports[_0x5ef9('0x42')]=function(_0x11b4bb,_0x3666e8){var _0x447341={'raw':![],'where':{'id':_0x11b4bb[_0x5ef9('0x43')]['id']}},_0x5f11c0={};_0x5f11c0[_0x5ef9('0x2c')]=_[_0x5ef9('0x2e')](db[_0x5ef9('0x44')]['rawAttributes']);_0x5f11c0[_0x5ef9('0x2f')]=_[_0x5ef9('0x2e')](_0x11b4bb[_0x5ef9('0x2f')]);_0x5f11c0[_0x5ef9('0x30')]=_[_0x5ef9('0x32')](_0x5f11c0[_0x5ef9('0x2c')],_0x5f11c0[_0x5ef9('0x2f')]);_0x447341[_0x5ef9('0x31')]=_[_0x5ef9('0x32')](_0x5f11c0[_0x5ef9('0x2c')],qs[_0x5ef9('0x45')](_0x11b4bb[_0x5ef9('0x2f')][_0x5ef9('0x45')]));_0x447341[_0x5ef9('0x31')]=_0x447341['attributes'][_0x5ef9('0x33')]?_0x447341[_0x5ef9('0x31')]:_0x5f11c0[_0x5ef9('0x2c')];if(_0x11b4bb[_0x5ef9('0x2f')][_0x5ef9('0x3d')]){_0x447341['include']=[{'all':!![]}];}_0x447341=_['merge']({},_0x447341,_0x11b4bb[_0x5ef9('0x3c')]);return db[_0x5ef9('0x44')][_0x5ef9('0x46')](_0x447341)['then'](handleEntityNotFound(_0x3666e8,null))['then'](respondWithResult(_0x3666e8,null))[_0x5ef9('0x41')](handleError(_0x3666e8,null));};exports[_0x5ef9('0x47')]=function(_0x3a6540,_0x3843d7){return db[_0x5ef9('0x44')]['create'](_0x3a6540[_0x5ef9('0x48')],{})['then'](respondWithResult(_0x3843d7,0xc9))[_0x5ef9('0x41')](handleError(_0x3843d7,null));};exports[_0x5ef9('0x49')]=function(_0x3b4ea3,_0x5b8f57){return db[_0x5ef9('0x44')][_0x5ef9('0x49')](_0x3b4ea3[_0x5ef9('0x48')],{'raw':![],'individualHooks':!![]})['then'](respondWithResult(_0x5b8f57,0xc9))[_0x5ef9('0x41')](handleError(_0x5b8f57,null));};exports[_0x5ef9('0x21')]=function(_0x2d8e48,_0x119d1a){if(_0x2d8e48[_0x5ef9('0x48')]['id']){delete _0x2d8e48[_0x5ef9('0x48')]['id'];}return db[_0x5ef9('0x44')][_0x5ef9('0x46')]({'where':{'id':_0x2d8e48[_0x5ef9('0x43')]['id']}})[_0x5ef9('0x22')](handleEntityNotFound(_0x119d1a,null))[_0x5ef9('0x22')](saveUpdates(_0x2d8e48[_0x5ef9('0x48')],null))[_0x5ef9('0x22')](respondWithResult(_0x119d1a,null))[_0x5ef9('0x41')](handleError(_0x119d1a,null));};exports[_0x5ef9('0x4a')]=function(_0xf5cce9,_0x220e5e){return db[_0x5ef9('0x44')]['find']({'where':{'id':_0xf5cce9[_0x5ef9('0x43')]['id']}})['then'](handleEntityNotFound(_0x220e5e,null))[_0x5ef9('0x22')](removeEntity(_0x220e5e,null))['catch'](handleError(_0x220e5e,null));};exports[_0x5ef9('0x4b')]=function(_0x3b1e5a,_0xdb7b79){return db[_0x5ef9('0x44')]['destroy']({'where':{'id':_0x3b1e5a[_0x5ef9('0x2f')][_0x5ef9('0x4c')]||[]},'raw':![],'individualHooks':!![]})[_0x5ef9('0x22')](respondWithResult(_0xdb7b79,0xcc))[_0x5ef9('0x41')](handleError(_0xdb7b79,null));};exports[_0x5ef9('0x4d')]=function(_0x52a226,_0x38940a,_0x202242){return db[_0x5ef9('0x4e')][_0x5ef9('0x4f')]({'where':{'id':_0x52a226[_0x5ef9('0x43')]['id']}})[_0x5ef9('0x22')](handleEntityNotFound(_0x38940a,null))[_0x5ef9('0x22')](function(_0x5cb521){if(_0x5cb521){return db[_0x5ef9('0x50')]['transaction'](function(_0x3537be){return db[_0x5ef9('0x44')]['destroy']({'where':{'CustomReportId':_0x52a226[_0x5ef9('0x43')]['id']},'transaction':_0x3537be})['then'](function(_0x57952e){var _0x4cb7d7=_['map'](_0x52a226[_0x5ef9('0x48')],function(_0x59d3ad){delete _0x59d3ad['id'];_0x59d3ad[_0x5ef9('0x51')]=_0x52a226[_0x5ef9('0x43')]['id'];return _0x59d3ad;});return db['AnalyticFieldReport']['bulkCreate'](_0x4cb7d7,{'transaction':_0x3537be});});})['then'](function(){return db['AnalyticFieldReport'][_0x5ef9('0x3f')]({'where':{'CustomReportId':_0x52a226[_0x5ef9('0x43')]['id']}});});}})[_0x5ef9('0x22')](respondWithResult(_0x38940a,null))[_0x5ef9('0x41')](handleError(_0x38940a,null));};
\ No newline at end of file
+var _0xd3a5=['querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','sendStatus','status','end','json','offset','undefined','count','Content-Range','apply','reject','save','update','then','error','stack','name','AnalyticFieldReport','rawAttributes','fieldName','type','model','query','keys','filters','intersection','fields','length','attributes','hasOwnProperty','nolimit','limit','order','sort','filter','where','merge','map','VIRTUAL','options','includeAll','include','findAll','rows','catch','show','params','find','create','body','bulkCreate','bulkDestroy','destroy','ids','addFields','AnalyticCustomReport','findOne','sequelize','CustomReportId','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','fs-extra','crypto','jsforce','desk.js'];(function(_0x17c16a,_0x37c4b6){var _0xca44b9=function(_0x135c8d){while(--_0x135c8d){_0x17c16a['push'](_0x17c16a['shift']());}};_0xca44b9(++_0x37c4b6);}(_0xd3a5,0xed));var _0x5d3a=function(_0x5d897d,_0x8f648e){_0x5d897d=_0x5d897d-0x0;var _0x21a626=_0xd3a5[_0x5d897d];return _0x21a626;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x5d3a('0x0'));var zipdir=require('zip-dir');var jsonpatch=require(_0x5d3a('0x1'));var rp=require(_0x5d3a('0x2'));var moment=require(_0x5d3a('0x3'));var BPromise=require(_0x5d3a('0x4'));var Mustache=require(_0x5d3a('0x5'));var util=require(_0x5d3a('0x6'));var path=require(_0x5d3a('0x7'));var sox=require(_0x5d3a('0x8'));var csv=require(_0x5d3a('0x9'));var ejs=require(_0x5d3a('0xa'));var fs=require('fs');var fs_extra=require(_0x5d3a('0xb'));var _=require('lodash');var squel=require('squel');var crypto=require(_0x5d3a('0xc'));var jsforce=require(_0x5d3a('0xd'));var deskjs=require(_0x5d3a('0xe'));var toCsv=require(_0x5d3a('0x9'));var querystring=require(_0x5d3a('0xf'));var Papa=require(_0x5d3a('0x10'));var Redis=require(_0x5d3a('0x11'));var authService=require(_0x5d3a('0x12'));var qs=require('../../components/parsers/qs');var as=require(_0x5d3a('0x13'));var hardwareService=require(_0x5d3a('0x14'));var logger=require(_0x5d3a('0x15'))(_0x5d3a('0x16'));var utils=require(_0x5d3a('0x17'));var config=require(_0x5d3a('0x18'));var licenseUtil=require(_0x5d3a('0x19'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x2c0885,_0x43f16e){_0x43f16e=_0x43f16e||0xcc;return function(_0xbcb9ed){if(_0xbcb9ed){return _0x2c0885[_0x5d3a('0x1a')](_0x43f16e);}return _0x2c0885[_0x5d3a('0x1b')](_0x43f16e)[_0x5d3a('0x1c')]();};}function respondWithResult(_0x2779de,_0x10365a){_0x10365a=_0x10365a||0xc8;return function(_0xb60d82){if(_0xb60d82){return _0x2779de[_0x5d3a('0x1b')](_0x10365a)[_0x5d3a('0x1d')](_0xb60d82);}};}function respondWithFilteredResult(_0x39fa72,_0x401caa){return function(_0x315494){if(_0x315494){var _0x4c64d0=typeof _0x401caa[_0x5d3a('0x1e')]===_0x5d3a('0x1f')&&typeof _0x401caa['limit']===_0x5d3a('0x1f');var _0x2ebd8d=_0x315494['count'];var _0x15edf7=_0x4c64d0?0x0:_0x401caa[_0x5d3a('0x1e')];var _0x27f332=_0x4c64d0?_0x315494[_0x5d3a('0x20')]:_0x401caa[_0x5d3a('0x1e')]+_0x401caa['limit'];var _0x3800d5;if(_0x27f332>=_0x2ebd8d){_0x27f332=_0x2ebd8d;_0x3800d5=0xc8;}else{_0x3800d5=0xce;}_0x39fa72[_0x5d3a('0x1b')](_0x3800d5);return _0x39fa72['set'](_0x5d3a('0x21'),_0x15edf7+'-'+_0x27f332+'/'+_0x2ebd8d)[_0x5d3a('0x1d')](_0x315494);}return null;};}function patchUpdates(_0x3cfa90){return function(_0x5dae67){try{jsonpatch[_0x5d3a('0x22')](_0x5dae67,_0x3cfa90,!![]);}catch(_0x397102){return BPromise[_0x5d3a('0x23')](_0x397102);}return _0x5dae67[_0x5d3a('0x24')]();};}function saveUpdates(_0x145ad3,_0x31155c){return function(_0x5d19b2){if(_0x5d19b2){return _0x5d19b2[_0x5d3a('0x25')](_0x145ad3)[_0x5d3a('0x26')](function(_0x2fc508){return _0x2fc508;});}return null;};}function removeEntity(_0x8970d3,_0xc8e0ab){return function(_0x239bf4){if(_0x239bf4){return _0x239bf4['destroy']()[_0x5d3a('0x26')](function(){_0x8970d3[_0x5d3a('0x1b')](0xcc)['end']();});}};}function handleEntityNotFound(_0x1ed9d4,_0x31a43e){return function(_0xb5de75){if(!_0xb5de75){_0x1ed9d4['sendStatus'](0x194);}return _0xb5de75;};}function handleError(_0x4c0967,_0x22b619){_0x22b619=_0x22b619||0x1f4;return function(_0x5b256c){logger[_0x5d3a('0x27')](_0x5b256c[_0x5d3a('0x28')]);if(_0x5b256c[_0x5d3a('0x29')]){delete _0x5b256c['name'];}_0x4c0967[_0x5d3a('0x1b')](_0x22b619)['send'](_0x5b256c);};}exports['index']=function(_0x509d9f,_0x1e0065){var _0x1d1105={},_0x402a03={},_0x255004={'count':0x0,'rows':[]};var _0x2263c1=_['map'](db[_0x5d3a('0x2a')][_0x5d3a('0x2b')],function(_0x379dd1){return{'name':_0x379dd1[_0x5d3a('0x2c')],'type':_0x379dd1[_0x5d3a('0x2d')]['key']};});_0x402a03[_0x5d3a('0x2e')]=_['map'](_0x2263c1,'name');_0x402a03[_0x5d3a('0x2f')]=_[_0x5d3a('0x30')](_0x509d9f[_0x5d3a('0x2f')]);_0x402a03[_0x5d3a('0x31')]=_[_0x5d3a('0x32')](_0x402a03[_0x5d3a('0x2e')],_0x402a03[_0x5d3a('0x2f')]);_0x1d1105['attributes']=_['intersection'](_0x402a03['model'],qs[_0x5d3a('0x33')](_0x509d9f[_0x5d3a('0x2f')]['fields']));_0x1d1105['attributes']=_0x1d1105['attributes'][_0x5d3a('0x34')]?_0x1d1105[_0x5d3a('0x35')]:_0x402a03['model'];if(!_0x509d9f[_0x5d3a('0x2f')][_0x5d3a('0x36')](_0x5d3a('0x37'))){_0x1d1105[_0x5d3a('0x38')]=qs[_0x5d3a('0x38')](_0x509d9f[_0x5d3a('0x2f')][_0x5d3a('0x38')]);_0x1d1105['offset']=qs['offset'](_0x509d9f[_0x5d3a('0x2f')][_0x5d3a('0x1e')]);}_0x1d1105[_0x5d3a('0x39')]=qs[_0x5d3a('0x3a')](_0x509d9f['query'][_0x5d3a('0x3a')]);_0x1d1105['where']=qs[_0x5d3a('0x31')](_['pick'](_0x509d9f[_0x5d3a('0x2f')],_0x402a03['filters']),_0x2263c1);if(_0x509d9f[_0x5d3a('0x2f')][_0x5d3a('0x3b')]){_0x1d1105[_0x5d3a('0x3c')]=_[_0x5d3a('0x3d')](_0x1d1105[_0x5d3a('0x3c')],{'$or':_[_0x5d3a('0x3e')](_0x2263c1,function(_0x5d89c9){if(_0x5d89c9[_0x5d3a('0x2d')]!==_0x5d3a('0x3f')){var _0x538b9e={};_0x538b9e[_0x5d89c9[_0x5d3a('0x29')]]={'$like':'%'+_0x509d9f['query'][_0x5d3a('0x3b')]+'%'};return _0x538b9e;}})});}_0x1d1105=_['merge']({},_0x1d1105,_0x509d9f[_0x5d3a('0x40')]);var _0x123e59={'where':_0x1d1105['where']};return db['AnalyticFieldReport'][_0x5d3a('0x20')](_0x123e59)[_0x5d3a('0x26')](function(_0x5f339a){_0x255004['count']=_0x5f339a;if(_0x509d9f['query'][_0x5d3a('0x41')]){_0x1d1105[_0x5d3a('0x42')]=[{'all':!![]}];}return db['AnalyticFieldReport'][_0x5d3a('0x43')](_0x1d1105);})[_0x5d3a('0x26')](function(_0x192b51){_0x255004[_0x5d3a('0x44')]=_0x192b51;return _0x255004;})['then'](respondWithFilteredResult(_0x1e0065,_0x1d1105))[_0x5d3a('0x45')](handleError(_0x1e0065,null));};exports[_0x5d3a('0x46')]=function(_0x1d2384,_0x56a55e){var _0x5ea606={'raw':![],'where':{'id':_0x1d2384[_0x5d3a('0x47')]['id']}},_0x147361={};_0x147361[_0x5d3a('0x2e')]=_[_0x5d3a('0x30')](db['AnalyticFieldReport'][_0x5d3a('0x2b')]);_0x147361[_0x5d3a('0x2f')]=_[_0x5d3a('0x30')](_0x1d2384['query']);_0x147361[_0x5d3a('0x31')]=_[_0x5d3a('0x32')](_0x147361[_0x5d3a('0x2e')],_0x147361['query']);_0x5ea606[_0x5d3a('0x35')]=_[_0x5d3a('0x32')](_0x147361[_0x5d3a('0x2e')],qs[_0x5d3a('0x33')](_0x1d2384[_0x5d3a('0x2f')][_0x5d3a('0x33')]));_0x5ea606[_0x5d3a('0x35')]=_0x5ea606['attributes']['length']?_0x5ea606[_0x5d3a('0x35')]:_0x147361['model'];if(_0x1d2384[_0x5d3a('0x2f')][_0x5d3a('0x41')]){_0x5ea606[_0x5d3a('0x42')]=[{'all':!![]}];}_0x5ea606=_[_0x5d3a('0x3d')]({},_0x5ea606,_0x1d2384[_0x5d3a('0x40')]);return db['AnalyticFieldReport'][_0x5d3a('0x48')](_0x5ea606)['then'](handleEntityNotFound(_0x56a55e,null))['then'](respondWithResult(_0x56a55e,null))[_0x5d3a('0x45')](handleError(_0x56a55e,null));};exports[_0x5d3a('0x49')]=function(_0x1c4fc2,_0x155584){return db['AnalyticFieldReport']['create'](_0x1c4fc2[_0x5d3a('0x4a')],{})[_0x5d3a('0x26')](respondWithResult(_0x155584,0xc9))['catch'](handleError(_0x155584,null));};exports['bulkCreate']=function(_0x1cde8a,_0x2941ee){return db['AnalyticFieldReport'][_0x5d3a('0x4b')](_0x1cde8a[_0x5d3a('0x4a')],{'raw':![],'individualHooks':!![]})['then'](respondWithResult(_0x2941ee,0xc9))[_0x5d3a('0x45')](handleError(_0x2941ee,null));};exports[_0x5d3a('0x25')]=function(_0x7ecc22,_0x20c297){if(_0x7ecc22[_0x5d3a('0x4a')]['id']){delete _0x7ecc22[_0x5d3a('0x4a')]['id'];}return db[_0x5d3a('0x2a')][_0x5d3a('0x48')]({'where':{'id':_0x7ecc22[_0x5d3a('0x47')]['id']}})['then'](handleEntityNotFound(_0x20c297,null))['then'](saveUpdates(_0x7ecc22[_0x5d3a('0x4a')],null))[_0x5d3a('0x26')](respondWithResult(_0x20c297,null))[_0x5d3a('0x45')](handleError(_0x20c297,null));};exports['destroy']=function(_0x10bc12,_0x12a2b0){return db[_0x5d3a('0x2a')][_0x5d3a('0x48')]({'where':{'id':_0x10bc12[_0x5d3a('0x47')]['id']}})[_0x5d3a('0x26')](handleEntityNotFound(_0x12a2b0,null))['then'](removeEntity(_0x12a2b0,null))[_0x5d3a('0x45')](handleError(_0x12a2b0,null));};exports[_0x5d3a('0x4c')]=function(_0x5a7693,_0x2c3f72){return db[_0x5d3a('0x2a')][_0x5d3a('0x4d')]({'where':{'id':_0x5a7693[_0x5d3a('0x2f')][_0x5d3a('0x4e')]||[]},'raw':![],'individualHooks':!![]})[_0x5d3a('0x26')](respondWithResult(_0x2c3f72,0xcc))[_0x5d3a('0x45')](handleError(_0x2c3f72,null));};exports[_0x5d3a('0x4f')]=function(_0x312464,_0x518e9a,_0x1fc76a){return db[_0x5d3a('0x50')][_0x5d3a('0x51')]({'where':{'id':_0x312464[_0x5d3a('0x47')]['id']}})[_0x5d3a('0x26')](handleEntityNotFound(_0x518e9a,null))[_0x5d3a('0x26')](function(_0x14b9ac){if(_0x14b9ac){return db[_0x5d3a('0x52')]['transaction'](function(_0x94385){return db[_0x5d3a('0x2a')][_0x5d3a('0x4d')]({'where':{'CustomReportId':_0x312464[_0x5d3a('0x47')]['id']},'transaction':_0x94385})[_0x5d3a('0x26')](function(_0x1158e0){var _0x25af5f=_[_0x5d3a('0x3e')](_0x312464[_0x5d3a('0x4a')],function(_0x478ee9){delete _0x478ee9['id'];_0x478ee9[_0x5d3a('0x53')]=_0x312464[_0x5d3a('0x47')]['id'];return _0x478ee9;});return db[_0x5d3a('0x2a')][_0x5d3a('0x4b')](_0x25af5f,{'transaction':_0x94385});});})[_0x5d3a('0x26')](function(){return db[_0x5d3a('0x2a')]['findAll']({'where':{'CustomReportId':_0x312464[_0x5d3a('0x47')]['id']}});});}})[_0x5d3a('0x26')](respondWithResult(_0x518e9a,null))[_0x5d3a('0x45')](handleError(_0x518e9a,null));};
\ No newline at end of file
diff --git a/server/api/analyticFieldReport/analyticFieldReport.model.js b/server/api/analyticFieldReport/analyticFieldReport.model.js
index e34d003..449e2fb 100644
--- a/server/api/analyticFieldReport/analyticFieldReport.model.js
+++ b/server/api/analyticFieldReport/analyticFieldReport.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x0090=['util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticFieldReport.attributes','exports','define','AnalyticFieldReport','analytics_report_fields','lodash'];(function(_0x4173a1,_0x38017a){var _0x1d56e9=function(_0x35adb6){while(--_0x35adb6){_0x4173a1['push'](_0x4173a1['shift']());}};_0x1d56e9(++_0x38017a);}(_0x0090,0xed));var _0x0009=function(_0x5ee860,_0x16961f){_0x5ee860=_0x5ee860-0x0;var _0x115945=_0x0090[_0x5ee860];return _0x115945;};'use strict';var _=require(_0x0009('0x0'));var util=require(_0x0009('0x1'));var logger=require('../../config/logger')(_0x0009('0x2'));var moment=require(_0x0009('0x3'));var BPromise=require(_0x0009('0x4'));var rp=require(_0x0009('0x5'));var fs=require('fs');var path=require(_0x0009('0x6'));var rimraf=require(_0x0009('0x7'));var config=require(_0x0009('0x8'));var attributes=require(_0x0009('0x9'));module[_0x0009('0xa')]=function(_0x298364,_0x471022){return _0x298364[_0x0009('0xb')](_0x0009('0xc'),attributes,{'tableName':_0x0009('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x7b54=['moment','bluebird','request-promise','path','rimraf','./analyticFieldReport.attributes','define','AnalyticFieldReport','analytics_report_fields','lodash','../../config/logger','api'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x7b54,0x1e9));var _0x47b5=function(_0x50408f,_0x92ffac){_0x50408f=_0x50408f-0x0;var _0xb02957=_0x7b54[_0x50408f];return _0xb02957;};'use strict';var _=require(_0x47b5('0x0'));var util=require('util');var logger=require(_0x47b5('0x1'))(_0x47b5('0x2'));var moment=require(_0x47b5('0x3'));var BPromise=require(_0x47b5('0x4'));var rp=require(_0x47b5('0x5'));var fs=require('fs');var path=require(_0x47b5('0x6'));var rimraf=require(_0x47b5('0x7'));var config=require('../../config/environment');var attributes=require(_0x47b5('0x8'));module['exports']=function(_0x5b9a52,_0x1b23e6){return _0x5b9a52[_0x47b5('0x9')](_0x47b5('0xa'),attributes,{'tableName':_0x47b5('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/analyticFieldReport/analyticFieldReport.rpc.js b/server/api/analyticFieldReport/analyticFieldReport.rpc.js
index d8ee267..77de09f 100644
--- a/server/api/analyticFieldReport/analyticFieldReport.rpc.js
+++ b/server/api/analyticFieldReport/analyticFieldReport.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xd589=['moment','../../mysqldb','../../config/utils','rpc','../../config/environment','client','http','request','AnalyticFieldReport,\x20%s,\x20%s','request\x20sent','debug','AnalyticFieldReport,\x20%s,\x20%s,\x20%s','stringify','error','message','info','catch','lodash','util'];(function(_0x358881,_0x1b748c){var _0x76792d=function(_0x322bb8){while(--_0x322bb8){_0x358881['push'](_0x358881['shift']());}};_0x76792d(++_0x1b748c);}(_0xd589,0x96));var _0x9d58=function(_0x39edf2,_0x341437){_0x39edf2=_0x39edf2-0x0;var _0x257cbb=_0xd589[_0x39edf2];return _0x257cbb;};'use strict';var _=require(_0x9d58('0x0'));var util=require(_0x9d58('0x1'));var moment=require(_0x9d58('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x9d58('0x3'))['db'];var utils=require(_0x9d58('0x4'));var logger=require('../../config/logger')(_0x9d58('0x5'));var config=require(_0x9d58('0x6'));var jayson=require('jayson/promise');var client=jayson[_0x9d58('0x7')][_0x9d58('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x11f83a,_0x298c99,_0x548856){return new BPromise(function(_0x24c47a,_0x46960d){return client[_0x9d58('0x9')](_0x11f83a,_0x548856)['then'](function(_0x9f6671){logger['info'](_0x9d58('0xa'),_0x298c99,_0x9d58('0xb'));logger[_0x9d58('0xc')](_0x9d58('0xd'),_0x298c99,_0x9d58('0xb'),JSON[_0x9d58('0xe')](_0x9f6671));if(_0x9f6671[_0x9d58('0xf')]){if(_0x9f6671[_0x9d58('0xf')]['code']===0x1f4){logger[_0x9d58('0xf')](_0x9d58('0xa'),_0x298c99,_0x9f6671[_0x9d58('0xf')][_0x9d58('0x10')]);return _0x46960d(_0x9f6671[_0x9d58('0xf')][_0x9d58('0x10')]);}logger[_0x9d58('0xf')](_0x9d58('0xa'),_0x298c99,_0x9f6671[_0x9d58('0xf')][_0x9d58('0x10')]);return _0x24c47a(_0x9f6671[_0x9d58('0xf')][_0x9d58('0x10')]);}else{logger[_0x9d58('0x11')]('AnalyticFieldReport,\x20%s,\x20%s',_0x298c99,'request\x20sent');_0x24c47a(_0x9f6671['result']['message']);}})[_0x9d58('0x12')](function(_0x14fb07){logger[_0x9d58('0xf')]('AnalyticFieldReport,\x20%s,\x20%s',_0x298c99,_0x14fb07);_0x46960d(_0x14fb07);});});}
\ No newline at end of file
+var _0x308a=['request\x20sent','result','catch','lodash','util','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/environment','jayson/promise','client','http','then','info','AnalyticFieldReport,\x20%s,\x20%s,\x20%s','stringify','error','code','AnalyticFieldReport,\x20%s,\x20%s','message'];(function(_0x37bbbf,_0x417732){var _0x3880a9=function(_0x3280db){while(--_0x3280db){_0x37bbbf['push'](_0x37bbbf['shift']());}};_0x3880a9(++_0x417732);}(_0x308a,0xab));var _0xa308=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x308a[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xa308('0x0'));var util=require(_0xa308('0x1'));var moment=require('moment');var BPromise=require(_0xa308('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xa308('0x3'));var db=require(_0xa308('0x4'))['db'];var utils=require(_0xa308('0x5'));var logger=require('../../config/logger')('rpc');var config=require(_0xa308('0x6'));var jayson=require(_0xa308('0x7'));var client=jayson[_0xa308('0x8')][_0xa308('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x5179e7,_0x22044f,_0x3dda37){return new BPromise(function(_0x228803,_0x293d53){return client['request'](_0x5179e7,_0x3dda37)[_0xa308('0xa')](function(_0x3e3e25){logger[_0xa308('0xb')]('AnalyticFieldReport,\x20%s,\x20%s',_0x22044f,'request\x20sent');logger['debug'](_0xa308('0xc'),_0x22044f,'request\x20sent',JSON[_0xa308('0xd')](_0x3e3e25));if(_0x3e3e25[_0xa308('0xe')]){if(_0x3e3e25[_0xa308('0xe')][_0xa308('0xf')]===0x1f4){logger[_0xa308('0xe')](_0xa308('0x10'),_0x22044f,_0x3e3e25['error']['message']);return _0x293d53(_0x3e3e25[_0xa308('0xe')][_0xa308('0x11')]);}logger[_0xa308('0xe')](_0xa308('0x10'),_0x22044f,_0x3e3e25[_0xa308('0xe')][_0xa308('0x11')]);return _0x228803(_0x3e3e25[_0xa308('0xe')][_0xa308('0x11')]);}else{logger['info']('AnalyticFieldReport,\x20%s,\x20%s',_0x22044f,_0xa308('0x12'));_0x228803(_0x3e3e25[_0xa308('0x13')][_0xa308('0x11')]);}})[_0xa308('0x14')](function(_0x4df1c4){logger[_0xa308('0xe')](_0xa308('0x10'),_0x22044f,_0x4df1c4);_0x293d53(_0x4df1c4);});});}
\ No newline at end of file
diff --git a/server/api/analyticFieldReport/index.js b/server/api/analyticFieldReport/index.js
index a967351..53d72c7 100644
--- a/server/api/analyticFieldReport/index.js
+++ b/server/api/analyticFieldReport/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xa9e0=['delete','/destroy_many','bulkDestroy','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticFieldReport.controller','get','index','/:id','post','/create_many','isAuthenticated','bulkCreate','/:id/create_many','update'];(function(_0x42753b,_0x40200c){var _0x4029e0=function(_0x50e3fd){while(--_0x50e3fd){_0x42753b['push'](_0x42753b['shift']());}};_0x4029e0(++_0x40200c);}(_0xa9e0,0x123));var _0x0a9e=function(_0x521929,_0x479be5){_0x521929=_0x521929-0x0;var _0x632436=_0xa9e0[_0x521929];return _0x632436;};'use strict';var multer=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var path=require(_0x0a9e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0a9e('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x0a9e('0x4'));var interaction=require(_0x0a9e('0x5'));var config=require(_0x0a9e('0x6'));var controller=require(_0x0a9e('0x7'));router[_0x0a9e('0x8')]('/',auth['isAuthenticated'](),controller[_0x0a9e('0x9')]);router[_0x0a9e('0x8')](_0x0a9e('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x0a9e('0xb')]('/',auth['isAuthenticated'](),controller['create']);router[_0x0a9e('0xb')](_0x0a9e('0xc'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0xe')]);router[_0x0a9e('0xb')](_0x0a9e('0xf'),auth['isAuthenticated'](),controller['addFields']);router['put']('/:id',auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x10')]);router[_0x0a9e('0x11')](_0x0a9e('0x12'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x13')]);router['delete'](_0x0a9e('0xa'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x14')]);module[_0x0a9e('0x15')]=router;
\ No newline at end of file
+var _0xa9e0=['delete','/destroy_many','bulkDestroy','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticFieldReport.controller','get','index','/:id','post','/create_many','isAuthenticated','bulkCreate','/:id/create_many','update'];(function(_0x34c2dd,_0xe0728e){var _0xdf9c13=function(_0x53cc66){while(--_0x53cc66){_0x34c2dd['push'](_0x34c2dd['shift']());}};_0xdf9c13(++_0xe0728e);}(_0xa9e0,0x123));var _0x0a9e=function(_0xa1e3e3,_0x29fe0e){_0xa1e3e3=_0xa1e3e3-0x0;var _0xc980e9=_0xa9e0[_0xa1e3e3];return _0xc980e9;};'use strict';var multer=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var path=require(_0x0a9e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0a9e('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x0a9e('0x4'));var interaction=require(_0x0a9e('0x5'));var config=require(_0x0a9e('0x6'));var controller=require(_0x0a9e('0x7'));router[_0x0a9e('0x8')]('/',auth['isAuthenticated'](),controller[_0x0a9e('0x9')]);router[_0x0a9e('0x8')](_0x0a9e('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x0a9e('0xb')]('/',auth['isAuthenticated'](),controller['create']);router[_0x0a9e('0xb')](_0x0a9e('0xc'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0xe')]);router[_0x0a9e('0xb')](_0x0a9e('0xf'),auth['isAuthenticated'](),controller['addFields']);router['put']('/:id',auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x10')]);router[_0x0a9e('0x11')](_0x0a9e('0x12'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x13')]);router['delete'](_0x0a9e('0xa'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x14')]);module[_0x0a9e('0x15')]=router;
\ No newline at end of file
diff --git a/server/api/analyticMetric/analyticMetric.attributes.js b/server/api/analyticMetric/analyticMetric.attributes.js
index 347c285..0df377b 100644
--- a/server/api/analyticMetric/analyticMetric.attributes.js
+++ b/server/api/analyticMetric/analyticMetric.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xf81a=['exports','STRING','TEXT','sequelize'];(function(_0x3a196b,_0x1a03c4){var _0x192dd8=function(_0x122487){while(--_0x122487){_0x3a196b['push'](_0x3a196b['shift']());}};_0x192dd8(++_0x1a03c4);}(_0xf81a,0x16b));var _0xaf81=function(_0x1e618c,_0x195b49){_0x1e618c=_0x1e618c-0x0;var _0x41dd90=_0xf81a[_0x1e618c];return _0x41dd90;};'use strict';var Sequelize=require(_0xaf81('0x0'));module[_0xaf81('0x1')]={'name':{'type':Sequelize[_0xaf81('0x2')],'allowNull':![],'unique':'name'},'table':{'type':Sequelize[_0xaf81('0x2')]},'metric':{'type':Sequelize[_0xaf81('0x3')]},'description':{'type':Sequelize[_0xaf81('0x2')]}};
\ No newline at end of file
+var _0x7af2=['STRING','name','exports'];(function(_0xe1269d,_0x57b7c3){var _0x261ca1=function(_0x13b234){while(--_0x13b234){_0xe1269d['push'](_0xe1269d['shift']());}};_0x261ca1(++_0x57b7c3);}(_0x7af2,0x119));var _0x27af=function(_0x59db62,_0x463799){_0x59db62=_0x59db62-0x0;var _0x3584fe=_0x7af2[_0x59db62];return _0x3584fe;};'use strict';var Sequelize=require('sequelize');module[_0x27af('0x0')]={'name':{'type':Sequelize[_0x27af('0x1')],'allowNull':![],'unique':_0x27af('0x2')},'table':{'type':Sequelize[_0x27af('0x1')]},'metric':{'type':Sequelize['TEXT']},'description':{'type':Sequelize[_0x27af('0x1')]}};
\ No newline at end of file
diff --git a/server/api/analyticMetric/analyticMetric.controller.js b/server/api/analyticMetric/analyticMetric.controller.js
index 85eac45..c881765 100644
--- a/server/api/analyticMetric/analyticMetric.controller.js
+++ b/server/api/analyticMetric/analyticMetric.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x7fbe=['util','path','sox','to-csv','ejs','fs-extra','lodash','squel','jsforce','desk.js','querystring','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','json','offset','undefined','limit','count','Content-Range','apply','save','update','then','get','UserProfileResource','destroy','end','error','stack','name','send','index','AnalyticMetric','fieldName','type','key','map','query','keys','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','filters','pick','filter','merge','VIRTUAL','options','rows','show','params','create','body','role','user','Metrics','find','autoAssociation','catch','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache'];(function(_0x15cb18,_0x2a60e0){var _0x1fdfc3=function(_0x47f454){while(--_0x47f454){_0x15cb18['push'](_0x15cb18['shift']());}};_0x1fdfc3(++_0x2a60e0);}(_0x7fbe,0x1ec));var _0xe7fb=function(_0x531b1e,_0x301978){_0x531b1e=_0x531b1e-0x0;var _0x1208b6=_0x7fbe[_0x531b1e];return _0x1208b6;};'use strict';var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0xe7fb('0x0'));var jsonpatch=require(_0xe7fb('0x1'));var rp=require(_0xe7fb('0x2'));var moment=require(_0xe7fb('0x3'));var BPromise=require(_0xe7fb('0x4'));var Mustache=require(_0xe7fb('0x5'));var util=require(_0xe7fb('0x6'));var path=require(_0xe7fb('0x7'));var sox=require(_0xe7fb('0x8'));var csv=require(_0xe7fb('0x9'));var ejs=require(_0xe7fb('0xa'));var fs=require('fs');var fs_extra=require(_0xe7fb('0xb'));var _=require(_0xe7fb('0xc'));var squel=require(_0xe7fb('0xd'));var crypto=require('crypto');var jsforce=require(_0xe7fb('0xe'));var deskjs=require(_0xe7fb('0xf'));var toCsv=require(_0xe7fb('0x9'));var querystring=require(_0xe7fb('0x10'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0xe7fb('0x11'));var qs=require(_0xe7fb('0x12'));var as=require(_0xe7fb('0x13'));var hardwareService=require(_0xe7fb('0x14'));var logger=require(_0xe7fb('0x15'))(_0xe7fb('0x16'));var utils=require(_0xe7fb('0x17'));var config=require(_0xe7fb('0x18'));var licenseUtil=require(_0xe7fb('0x19'));var db=require(_0xe7fb('0x1a'))['db'];function respondWithStatusCode(_0x2437d4,_0x188e1d){_0x188e1d=_0x188e1d||0xcc;return function(_0xdf9760){if(_0xdf9760){return _0x2437d4[_0xe7fb('0x1b')](_0x188e1d);}return _0x2437d4[_0xe7fb('0x1c')](_0x188e1d)['end']();};}function respondWithResult(_0x278b75,_0x2225e5){_0x2225e5=_0x2225e5||0xc8;return function(_0x5573ab){if(_0x5573ab){return _0x278b75[_0xe7fb('0x1c')](_0x2225e5)[_0xe7fb('0x1d')](_0x5573ab);}};}function respondWithFilteredResult(_0x482f7d,_0xa76acf){return function(_0x559129){if(_0x559129){var _0x12fff6=typeof _0xa76acf[_0xe7fb('0x1e')]===_0xe7fb('0x1f')&&typeof _0xa76acf[_0xe7fb('0x20')]==='undefined';var _0x892b0f=_0x559129['count'];var _0x293a47=_0x12fff6?0x0:_0xa76acf['offset'];var _0x1e77fd=_0x12fff6?_0x559129[_0xe7fb('0x21')]:_0xa76acf[_0xe7fb('0x1e')]+_0xa76acf[_0xe7fb('0x20')];var _0x5df1a1;if(_0x1e77fd>=_0x892b0f){_0x1e77fd=_0x892b0f;_0x5df1a1=0xc8;}else{_0x5df1a1=0xce;}_0x482f7d[_0xe7fb('0x1c')](_0x5df1a1);return _0x482f7d['set'](_0xe7fb('0x22'),_0x293a47+'-'+_0x1e77fd+'/'+_0x892b0f)['json'](_0x559129);}return null;};}function patchUpdates(_0x15f7a4){return function(_0x4ea664){try{jsonpatch[_0xe7fb('0x23')](_0x4ea664,_0x15f7a4,!![]);}catch(_0x135624){return BPromise['reject'](_0x135624);}return _0x4ea664[_0xe7fb('0x24')]();};}function saveUpdates(_0x4742bd,_0x3ae8f1){return function(_0x4dcb4b){if(_0x4dcb4b){return _0x4dcb4b[_0xe7fb('0x25')](_0x4742bd)[_0xe7fb('0x26')](function(_0x5da3d9){return _0x5da3d9;});}return null;};}function removeEntity(_0x5bea27,_0x52f08b){return function(_0x35e4db){if(_0x35e4db){return _0x35e4db['destroy']()['then'](function(){var _0x4026b1=_0x35e4db[_0xe7fb('0x27')]({'plain':!![]});var _0x2996ae='Metrics';return db[_0xe7fb('0x28')][_0xe7fb('0x29')]({'where':{'type':_0x2996ae,'resourceId':_0x4026b1['id']}})[_0xe7fb('0x26')](function(){return _0x35e4db;});})[_0xe7fb('0x26')](function(){_0x5bea27[_0xe7fb('0x1c')](0xcc)[_0xe7fb('0x2a')]();});}};}function handleEntityNotFound(_0x380130,_0x59e015){return function(_0x5df9f2){if(!_0x5df9f2){_0x380130[_0xe7fb('0x1b')](0x194);}return _0x5df9f2;};}function handleError(_0x3bdee9,_0xead63){_0xead63=_0xead63||0x1f4;return function(_0x4fd290){logger[_0xe7fb('0x2b')](_0x4fd290[_0xe7fb('0x2c')]);if(_0x4fd290[_0xe7fb('0x2d')]){delete _0x4fd290[_0xe7fb('0x2d')];}_0x3bdee9[_0xe7fb('0x1c')](_0xead63)[_0xe7fb('0x2e')](_0x4fd290);};}exports[_0xe7fb('0x2f')]=function(_0x3dd0be,_0x4ce993){var _0x3d1fb5={},_0x1742f3={},_0x29d1ca={'count':0x0,'rows':[]};var _0x547a04=_['map'](db[_0xe7fb('0x30')]['rawAttributes'],function(_0xac56b4){return{'name':_0xac56b4[_0xe7fb('0x31')],'type':_0xac56b4[_0xe7fb('0x32')][_0xe7fb('0x33')]};});_0x1742f3['model']=_[_0xe7fb('0x34')](_0x547a04,_0xe7fb('0x2d'));_0x1742f3[_0xe7fb('0x35')]=_[_0xe7fb('0x36')](_0x3dd0be[_0xe7fb('0x35')]);_0x1742f3['filters']=_[_0xe7fb('0x37')](_0x1742f3[_0xe7fb('0x38')],_0x1742f3[_0xe7fb('0x35')]);_0x3d1fb5[_0xe7fb('0x39')]=_[_0xe7fb('0x37')](_0x1742f3[_0xe7fb('0x38')],qs[_0xe7fb('0x3a')](_0x3dd0be[_0xe7fb('0x35')][_0xe7fb('0x3a')]));_0x3d1fb5['attributes']=_0x3d1fb5[_0xe7fb('0x39')][_0xe7fb('0x3b')]?_0x3d1fb5[_0xe7fb('0x39')]:_0x1742f3['model'];if(!_0x3dd0be[_0xe7fb('0x35')][_0xe7fb('0x3c')](_0xe7fb('0x3d'))){_0x3d1fb5[_0xe7fb('0x20')]=qs[_0xe7fb('0x20')](_0x3dd0be[_0xe7fb('0x35')][_0xe7fb('0x20')]);_0x3d1fb5[_0xe7fb('0x1e')]=qs[_0xe7fb('0x1e')](_0x3dd0be[_0xe7fb('0x35')][_0xe7fb('0x1e')]);}_0x3d1fb5[_0xe7fb('0x3e')]=qs[_0xe7fb('0x3f')](_0x3dd0be[_0xe7fb('0x35')][_0xe7fb('0x3f')]);_0x3d1fb5[_0xe7fb('0x40')]=qs[_0xe7fb('0x41')](_[_0xe7fb('0x42')](_0x3dd0be[_0xe7fb('0x35')],_0x1742f3['filters']),_0x547a04);if(_0x3dd0be[_0xe7fb('0x35')][_0xe7fb('0x43')]){_0x3d1fb5[_0xe7fb('0x40')]=_[_0xe7fb('0x44')](_0x3d1fb5['where'],{'$or':_[_0xe7fb('0x34')](_0x547a04,function(_0x186418){if(_0x186418[_0xe7fb('0x32')]!==_0xe7fb('0x45')){var _0x49fe9d={};_0x49fe9d[_0x186418[_0xe7fb('0x2d')]]={'$like':'%'+_0x3dd0be[_0xe7fb('0x35')][_0xe7fb('0x43')]+'%'};return _0x49fe9d;}})});}_0x3d1fb5=_[_0xe7fb('0x44')]({},_0x3d1fb5,_0x3dd0be[_0xe7fb('0x46')]);var _0xb729fc={'where':_0x3d1fb5['where']};return db[_0xe7fb('0x30')][_0xe7fb('0x21')](_0xb729fc)[_0xe7fb('0x26')](function(_0x4b263d){_0x29d1ca[_0xe7fb('0x21')]=_0x4b263d;if(_0x3dd0be[_0xe7fb('0x35')]['includeAll']){_0x3d1fb5['include']=[{'all':!![]}];}return db['AnalyticMetric']['findAll'](_0x3d1fb5);})['then'](function(_0x900d67){_0x29d1ca[_0xe7fb('0x47')]=_0x900d67;return _0x29d1ca;})[_0xe7fb('0x26')](respondWithFilteredResult(_0x4ce993,_0x3d1fb5))['catch'](handleError(_0x4ce993,null));};exports[_0xe7fb('0x48')]=function(_0x58d743,_0x19277f){var _0x32cfa4={'raw':!![],'where':{'id':_0x58d743[_0xe7fb('0x49')]['id']}},_0x4d29d3={};_0x4d29d3[_0xe7fb('0x38')]=_[_0xe7fb('0x36')](db[_0xe7fb('0x30')]['rawAttributes']);_0x4d29d3[_0xe7fb('0x35')]=_[_0xe7fb('0x36')](_0x58d743[_0xe7fb('0x35')]);_0x4d29d3['filters']=_[_0xe7fb('0x37')](_0x4d29d3[_0xe7fb('0x38')],_0x4d29d3[_0xe7fb('0x35')]);_0x32cfa4[_0xe7fb('0x39')]=_[_0xe7fb('0x37')](_0x4d29d3['model'],qs[_0xe7fb('0x3a')](_0x58d743['query'][_0xe7fb('0x3a')]));_0x32cfa4[_0xe7fb('0x39')]=_0x32cfa4[_0xe7fb('0x39')][_0xe7fb('0x3b')]?_0x32cfa4[_0xe7fb('0x39')]:_0x4d29d3['model'];if(_0x58d743[_0xe7fb('0x35')]['includeAll']){_0x32cfa4['include']=[{'all':!![]}];}_0x32cfa4=_[_0xe7fb('0x44')]({},_0x32cfa4,_0x58d743[_0xe7fb('0x46')]);return db[_0xe7fb('0x30')]['find'](_0x32cfa4)[_0xe7fb('0x26')](handleEntityNotFound(_0x19277f,null))[_0xe7fb('0x26')](respondWithResult(_0x19277f,null))['catch'](handleError(_0x19277f,null));};exports['create']=function(_0x284bcb,_0x42270b){return db[_0xe7fb('0x30')][_0xe7fb('0x4a')](_0x284bcb[_0xe7fb('0x4b')],{})[_0xe7fb('0x26')](function(_0x18a590){var _0x347177=_0x284bcb['user'][_0xe7fb('0x27')]({'plain':!![]});if(!_0x347177)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x347177[_0xe7fb('0x4c')]===_0xe7fb('0x4d')){var _0x5cedfb=_0x18a590[_0xe7fb('0x27')]({'plain':!![]});var _0x5efd24=_0xe7fb('0x4e');return db['UserProfileSection'][_0xe7fb('0x4f')]({'where':{'name':_0x5efd24,'userProfileId':_0x347177['userProfileId']},'raw':!![]})[_0xe7fb('0x26')](function(_0x59158c){if(_0x59158c&&_0x59158c[_0xe7fb('0x50')]===0x0){return db[_0xe7fb('0x28')][_0xe7fb('0x4a')]({'name':_0x5cedfb[_0xe7fb('0x2d')],'resourceId':_0x5cedfb['id'],'type':_0x59158c[_0xe7fb('0x2d')],'sectionId':_0x59158c['id']},{})[_0xe7fb('0x26')](function(){return _0x18a590;});}else{return _0x18a590;}})[_0xe7fb('0x51')](function(_0x582a4a){logger['error'](_0xe7fb('0x52'),_0x582a4a);throw _0x582a4a;});}return _0x18a590;})['then'](respondWithResult(_0x42270b,0xc9))['catch'](handleError(_0x42270b,null));};exports['update']=function(_0x50b8df,_0x539252){if(_0x50b8df[_0xe7fb('0x4b')]['id']){delete _0x50b8df[_0xe7fb('0x4b')]['id'];}return db[_0xe7fb('0x30')][_0xe7fb('0x4f')]({'where':{'id':_0x50b8df['params']['id']}})[_0xe7fb('0x26')](handleEntityNotFound(_0x539252,null))[_0xe7fb('0x26')](saveUpdates(_0x50b8df[_0xe7fb('0x4b')],null))['then'](respondWithResult(_0x539252,null))['catch'](handleError(_0x539252,null));};exports[_0xe7fb('0x29')]=function(_0x377e5f,_0x300b8e){return db['AnalyticMetric'][_0xe7fb('0x4f')]({'where':{'id':_0x377e5f[_0xe7fb('0x49')]['id']}})[_0xe7fb('0x26')](handleEntityNotFound(_0x300b8e,null))[_0xe7fb('0x26')](removeEntity(_0x300b8e,null))['catch'](handleError(_0x300b8e,null));};
\ No newline at end of file
+var _0xf2ca=['filter','merge','map','type','VIRTUAL','options','AnalyticMetric','count','includeAll','findAll','rows','catch','keys','include','find','create','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','autoAssociation','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','body','params','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','util','path','to-csv','ejs','fs-extra','lodash','crypto','jsforce','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','offset','undefined','limit','set','Content-Range','apply','reject','then','get','Metrics','UserProfileResource','destroy','stack','name','send','index','rawAttributes','fieldName','key','model','query','filters','intersection','attributes','length','hasOwnProperty','nolimit','order','sort','where'];(function(_0x390f56,_0x5c6949){var _0x3b994a=function(_0x5252e7){while(--_0x5252e7){_0x390f56['push'](_0x390f56['shift']());}};_0x3b994a(++_0x5c6949);}(_0xf2ca,0x16a));var _0xaf2c=function(_0x263b0e,_0xc6479f){_0x263b0e=_0x263b0e-0x0;var _0x113fee=_0xf2ca[_0x263b0e];return _0x113fee;};'use strict';var emlformat=require(_0xaf2c('0x0'));var rimraf=require(_0xaf2c('0x1'));var zipdir=require(_0xaf2c('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0xaf2c('0x3'));var moment=require(_0xaf2c('0x4'));var BPromise=require(_0xaf2c('0x5'));var Mustache=require(_0xaf2c('0x6'));var util=require(_0xaf2c('0x7'));var path=require(_0xaf2c('0x8'));var sox=require('sox');var csv=require(_0xaf2c('0x9'));var ejs=require(_0xaf2c('0xa'));var fs=require('fs');var fs_extra=require(_0xaf2c('0xb'));var _=require(_0xaf2c('0xc'));var squel=require('squel');var crypto=require(_0xaf2c('0xd'));var jsforce=require(_0xaf2c('0xe'));var deskjs=require('desk.js');var toCsv=require(_0xaf2c('0x9'));var querystring=require('querystring');var Papa=require(_0xaf2c('0xf'));var Redis=require('ioredis');var authService=require(_0xaf2c('0x10'));var qs=require(_0xaf2c('0x11'));var as=require(_0xaf2c('0x12'));var hardwareService=require(_0xaf2c('0x13'));var logger=require('../../config/logger')('api');var utils=require(_0xaf2c('0x14'));var config=require(_0xaf2c('0x15'));var licenseUtil=require(_0xaf2c('0x16'));var db=require(_0xaf2c('0x17'))['db'];function respondWithStatusCode(_0x285dac,_0x59a59b){_0x59a59b=_0x59a59b||0xcc;return function(_0x590126){if(_0x590126){return _0x285dac[_0xaf2c('0x18')](_0x59a59b);}return _0x285dac[_0xaf2c('0x19')](_0x59a59b)[_0xaf2c('0x1a')]();};}function respondWithResult(_0x18a8a5,_0x293ca6){_0x293ca6=_0x293ca6||0xc8;return function(_0x152c73){if(_0x152c73){return _0x18a8a5[_0xaf2c('0x19')](_0x293ca6)[_0xaf2c('0x1b')](_0x152c73);}};}function respondWithFilteredResult(_0x2119c8,_0x1d0633){return function(_0x6ac8e){if(_0x6ac8e){var _0x2b4d13=typeof _0x1d0633[_0xaf2c('0x1c')]===_0xaf2c('0x1d')&&typeof _0x1d0633[_0xaf2c('0x1e')]==='undefined';var _0x3ca650=_0x6ac8e['count'];var _0x278a28=_0x2b4d13?0x0:_0x1d0633[_0xaf2c('0x1c')];var _0x1d544a=_0x2b4d13?_0x6ac8e['count']:_0x1d0633[_0xaf2c('0x1c')]+_0x1d0633[_0xaf2c('0x1e')];var _0x1fec4c;if(_0x1d544a>=_0x3ca650){_0x1d544a=_0x3ca650;_0x1fec4c=0xc8;}else{_0x1fec4c=0xce;}_0x2119c8[_0xaf2c('0x19')](_0x1fec4c);return _0x2119c8[_0xaf2c('0x1f')](_0xaf2c('0x20'),_0x278a28+'-'+_0x1d544a+'/'+_0x3ca650)['json'](_0x6ac8e);}return null;};}function patchUpdates(_0x35e712){return function(_0x164bcb){try{jsonpatch[_0xaf2c('0x21')](_0x164bcb,_0x35e712,!![]);}catch(_0x3bfd3f){return BPromise[_0xaf2c('0x22')](_0x3bfd3f);}return _0x164bcb['save']();};}function saveUpdates(_0x396646,_0xbf6f62){return function(_0x18153c){if(_0x18153c){return _0x18153c['update'](_0x396646)['then'](function(_0x29cbdf){return _0x29cbdf;});}return null;};}function removeEntity(_0x303546,_0x1cafad){return function(_0x99f78d){if(_0x99f78d){return _0x99f78d['destroy']()[_0xaf2c('0x23')](function(){var _0xf1a7cf=_0x99f78d[_0xaf2c('0x24')]({'plain':!![]});var _0x3c1ae6=_0xaf2c('0x25');return db[_0xaf2c('0x26')][_0xaf2c('0x27')]({'where':{'type':_0x3c1ae6,'resourceId':_0xf1a7cf['id']}})['then'](function(){return _0x99f78d;});})[_0xaf2c('0x23')](function(){_0x303546[_0xaf2c('0x19')](0xcc)[_0xaf2c('0x1a')]();});}};}function handleEntityNotFound(_0x410536,_0x4b7cf2){return function(_0x3fb190){if(!_0x3fb190){_0x410536['sendStatus'](0x194);}return _0x3fb190;};}function handleError(_0x38db1b,_0x42f980){_0x42f980=_0x42f980||0x1f4;return function(_0x15466b){logger['error'](_0x15466b[_0xaf2c('0x28')]);if(_0x15466b[_0xaf2c('0x29')]){delete _0x15466b[_0xaf2c('0x29')];}_0x38db1b['status'](_0x42f980)[_0xaf2c('0x2a')](_0x15466b);};}exports[_0xaf2c('0x2b')]=function(_0x42e2a5,_0x19364e){var _0x59d858={},_0x3da072={},_0x4072ff={'count':0x0,'rows':[]};var _0x1be1ef=_['map'](db['AnalyticMetric'][_0xaf2c('0x2c')],function(_0x4c9b4f){return{'name':_0x4c9b4f[_0xaf2c('0x2d')],'type':_0x4c9b4f['type'][_0xaf2c('0x2e')]};});_0x3da072[_0xaf2c('0x2f')]=_['map'](_0x1be1ef,_0xaf2c('0x29'));_0x3da072[_0xaf2c('0x30')]=_['keys'](_0x42e2a5[_0xaf2c('0x30')]);_0x3da072[_0xaf2c('0x31')]=_[_0xaf2c('0x32')](_0x3da072[_0xaf2c('0x2f')],_0x3da072[_0xaf2c('0x30')]);_0x59d858[_0xaf2c('0x33')]=_['intersection'](_0x3da072[_0xaf2c('0x2f')],qs['fields'](_0x42e2a5[_0xaf2c('0x30')]['fields']));_0x59d858[_0xaf2c('0x33')]=_0x59d858['attributes'][_0xaf2c('0x34')]?_0x59d858['attributes']:_0x3da072[_0xaf2c('0x2f')];if(!_0x42e2a5['query'][_0xaf2c('0x35')](_0xaf2c('0x36'))){_0x59d858[_0xaf2c('0x1e')]=qs[_0xaf2c('0x1e')](_0x42e2a5[_0xaf2c('0x30')]['limit']);_0x59d858['offset']=qs[_0xaf2c('0x1c')](_0x42e2a5[_0xaf2c('0x30')][_0xaf2c('0x1c')]);}_0x59d858[_0xaf2c('0x37')]=qs[_0xaf2c('0x38')](_0x42e2a5[_0xaf2c('0x30')]['sort']);_0x59d858[_0xaf2c('0x39')]=qs[_0xaf2c('0x31')](_['pick'](_0x42e2a5[_0xaf2c('0x30')],_0x3da072[_0xaf2c('0x31')]),_0x1be1ef);if(_0x42e2a5[_0xaf2c('0x30')][_0xaf2c('0x3a')]){_0x59d858[_0xaf2c('0x39')]=_[_0xaf2c('0x3b')](_0x59d858[_0xaf2c('0x39')],{'$or':_[_0xaf2c('0x3c')](_0x1be1ef,function(_0x296ca8){if(_0x296ca8[_0xaf2c('0x3d')]!==_0xaf2c('0x3e')){var _0x43f606={};_0x43f606[_0x296ca8[_0xaf2c('0x29')]]={'$like':'%'+_0x42e2a5['query']['filter']+'%'};return _0x43f606;}})});}_0x59d858=_['merge']({},_0x59d858,_0x42e2a5[_0xaf2c('0x3f')]);var _0x3cb075={'where':_0x59d858[_0xaf2c('0x39')]};return db[_0xaf2c('0x40')][_0xaf2c('0x41')](_0x3cb075)[_0xaf2c('0x23')](function(_0x51c441){_0x4072ff[_0xaf2c('0x41')]=_0x51c441;if(_0x42e2a5[_0xaf2c('0x30')][_0xaf2c('0x42')]){_0x59d858['include']=[{'all':!![]}];}return db['AnalyticMetric'][_0xaf2c('0x43')](_0x59d858);})['then'](function(_0x181787){_0x4072ff[_0xaf2c('0x44')]=_0x181787;return _0x4072ff;})[_0xaf2c('0x23')](respondWithFilteredResult(_0x19364e,_0x59d858))[_0xaf2c('0x45')](handleError(_0x19364e,null));};exports['show']=function(_0x2091eb,_0x532d5f){var _0x2056b8={'raw':!![],'where':{'id':_0x2091eb['params']['id']}},_0x8ebb65={};_0x8ebb65[_0xaf2c('0x2f')]=_['keys'](db[_0xaf2c('0x40')][_0xaf2c('0x2c')]);_0x8ebb65[_0xaf2c('0x30')]=_[_0xaf2c('0x46')](_0x2091eb[_0xaf2c('0x30')]);_0x8ebb65[_0xaf2c('0x31')]=_[_0xaf2c('0x32')](_0x8ebb65[_0xaf2c('0x2f')],_0x8ebb65[_0xaf2c('0x30')]);_0x2056b8['attributes']=_['intersection'](_0x8ebb65[_0xaf2c('0x2f')],qs['fields'](_0x2091eb['query']['fields']));_0x2056b8[_0xaf2c('0x33')]=_0x2056b8[_0xaf2c('0x33')][_0xaf2c('0x34')]?_0x2056b8[_0xaf2c('0x33')]:_0x8ebb65['model'];if(_0x2091eb[_0xaf2c('0x30')]['includeAll']){_0x2056b8[_0xaf2c('0x47')]=[{'all':!![]}];}_0x2056b8=_['merge']({},_0x2056b8,_0x2091eb[_0xaf2c('0x3f')]);return db[_0xaf2c('0x40')][_0xaf2c('0x48')](_0x2056b8)[_0xaf2c('0x23')](handleEntityNotFound(_0x532d5f,null))[_0xaf2c('0x23')](respondWithResult(_0x532d5f,null))['catch'](handleError(_0x532d5f,null));};exports[_0xaf2c('0x49')]=function(_0x26afee,_0x4b3ca4){return db['AnalyticMetric'][_0xaf2c('0x49')](_0x26afee['body'],{})[_0xaf2c('0x23')](function(_0x23642b){var _0x17b9ec=_0x26afee[_0xaf2c('0x4a')][_0xaf2c('0x24')]({'plain':!![]});if(!_0x17b9ec)throw new Error(_0xaf2c('0x4b'));if(_0x17b9ec[_0xaf2c('0x4c')]===_0xaf2c('0x4a')){var _0x31ccfe=_0x23642b[_0xaf2c('0x24')]({'plain':!![]});var _0x371486='Metrics';return db[_0xaf2c('0x4d')][_0xaf2c('0x48')]({'where':{'name':_0x371486,'userProfileId':_0x17b9ec['userProfileId']},'raw':!![]})['then'](function(_0x56d7ce){if(_0x56d7ce&&_0x56d7ce[_0xaf2c('0x4e')]===0x0){return db[_0xaf2c('0x26')]['create']({'name':_0x31ccfe[_0xaf2c('0x29')],'resourceId':_0x31ccfe['id'],'type':_0x56d7ce[_0xaf2c('0x29')],'sectionId':_0x56d7ce['id']},{})[_0xaf2c('0x23')](function(){return _0x23642b;});}else{return _0x23642b;}})[_0xaf2c('0x45')](function(_0x265748){logger[_0xaf2c('0x4f')](_0xaf2c('0x50'),_0x265748);throw _0x265748;});}return _0x23642b;})['then'](respondWithResult(_0x4b3ca4,0xc9))[_0xaf2c('0x45')](handleError(_0x4b3ca4,null));};exports[_0xaf2c('0x51')]=function(_0x5771e5,_0x245797){if(_0x5771e5[_0xaf2c('0x52')]['id']){delete _0x5771e5[_0xaf2c('0x52')]['id'];}return db[_0xaf2c('0x40')][_0xaf2c('0x48')]({'where':{'id':_0x5771e5[_0xaf2c('0x53')]['id']}})[_0xaf2c('0x23')](handleEntityNotFound(_0x245797,null))[_0xaf2c('0x23')](saveUpdates(_0x5771e5[_0xaf2c('0x52')],null))[_0xaf2c('0x23')](respondWithResult(_0x245797,null))[_0xaf2c('0x45')](handleError(_0x245797,null));};exports[_0xaf2c('0x27')]=function(_0x411e84,_0x2356a0){return db[_0xaf2c('0x40')][_0xaf2c('0x48')]({'where':{'id':_0x411e84[_0xaf2c('0x53')]['id']}})[_0xaf2c('0x23')](handleEntityNotFound(_0x2356a0,null))[_0xaf2c('0x23')](removeEntity(_0x2356a0,null))[_0xaf2c('0x45')](handleError(_0x2356a0,null));};
\ No newline at end of file
diff --git a/server/api/analyticMetric/analyticMetric.model.js b/server/api/analyticMetric/analyticMetric.model.js
index 75cb608..a818c05 100644
--- a/server/api/analyticMetric/analyticMetric.model.js
+++ b/server/api/analyticMetric/analyticMetric.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x018c=['../../config/logger','bluebird','path','rimraf','../../config/environment','./analyticMetric.attributes','define','AnalyticMetric','analytics_metrics','lodash','util'];(function(_0x5f0284,_0xeeda13){var _0x286bc5=function(_0x322b83){while(--_0x322b83){_0x5f0284['push'](_0x5f0284['shift']());}};_0x286bc5(++_0xeeda13);}(_0x018c,0xda));var _0xc018=function(_0x21221b,_0x4262f6){_0x21221b=_0x21221b-0x0;var _0x2607ff=_0x018c[_0x21221b];return _0x2607ff;};'use strict';var _=require(_0xc018('0x0'));var util=require(_0xc018('0x1'));var logger=require(_0xc018('0x2'))('api');var moment=require('moment');var BPromise=require(_0xc018('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc018('0x4'));var rimraf=require(_0xc018('0x5'));var config=require(_0xc018('0x6'));var attributes=require(_0xc018('0x7'));module['exports']=function(_0x3785b0,_0x26e41a){return _0x3785b0[_0xc018('0x8')](_0xc018('0x9'),attributes,{'tableName':_0xc018('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0xf105=['define','AnalyticMetric','analytics_metrics','lodash','util','../../config/logger','api','moment','bluebird','path','../../config/environment','./analyticMetric.attributes','exports'];(function(_0x2d7fbe,_0x44b669){var _0x3a93ac=function(_0x101520){while(--_0x101520){_0x2d7fbe['push'](_0x2d7fbe['shift']());}};_0x3a93ac(++_0x44b669);}(_0xf105,0x1b0));var _0x5f10=function(_0x30e268,_0x19ef60){_0x30e268=_0x30e268-0x0;var _0x1f00e1=_0xf105[_0x30e268];return _0x1f00e1;};'use strict';var _=require(_0x5f10('0x0'));var util=require(_0x5f10('0x1'));var logger=require(_0x5f10('0x2'))(_0x5f10('0x3'));var moment=require(_0x5f10('0x4'));var BPromise=require(_0x5f10('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5f10('0x6'));var rimraf=require('rimraf');var config=require(_0x5f10('0x7'));var attributes=require(_0x5f10('0x8'));module[_0x5f10('0x9')]=function(_0x1b7489,_0x46b6f2){return _0x1b7489[_0x5f10('0xa')](_0x5f10('0xb'),attributes,{'tableName':_0x5f10('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/analyticMetric/analyticMetric.rpc.js b/server/api/analyticMetric/analyticMetric.rpc.js
index cc01899..df42b5b 100644
--- a/server/api/analyticMetric/analyticMetric.rpc.js
+++ b/server/api/analyticMetric/analyticMetric.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x59dd=['rpc','jayson/promise','client','http','request','then','AnalyticMetric,\x20%s,\x20%s','request\x20sent','AnalyticMetric,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','moment','randomstring','ioredis','../../mysqldb','../../config/logger'];(function(_0x3a3fa8,_0x3aaacc){var _0x15b6d8=function(_0x5e54a9){while(--_0x5e54a9){_0x3a3fa8['push'](_0x3a3fa8['shift']());}};_0x15b6d8(++_0x3aaacc);}(_0x59dd,0x163));var _0xd59d=function(_0x176329,_0x568c84){_0x176329=_0x176329-0x0;var _0x31997c=_0x59dd[_0x176329];return _0x31997c;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0xd59d('0x0'));var BPromise=require('bluebird');var rs=require(_0xd59d('0x1'));var fs=require('fs');var Redis=require(_0xd59d('0x2'));var db=require(_0xd59d('0x3'))['db'];var utils=require('../../config/utils');var logger=require(_0xd59d('0x4'))(_0xd59d('0x5'));var config=require('../../config/environment');var jayson=require(_0xd59d('0x6'));var client=jayson[_0xd59d('0x7')][_0xd59d('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x41301d,_0x1435db,_0x13d49c){return new BPromise(function(_0x3c7760,_0x479663){return client[_0xd59d('0x9')](_0x41301d,_0x13d49c)[_0xd59d('0xa')](function(_0x3d92c0){logger['info'](_0xd59d('0xb'),_0x1435db,_0xd59d('0xc'));logger['debug'](_0xd59d('0xd'),_0x1435db,_0xd59d('0xc'),JSON[_0xd59d('0xe')](_0x3d92c0));if(_0x3d92c0[_0xd59d('0xf')]){if(_0x3d92c0[_0xd59d('0xf')][_0xd59d('0x10')]===0x1f4){logger[_0xd59d('0xf')]('AnalyticMetric,\x20%s,\x20%s',_0x1435db,_0x3d92c0[_0xd59d('0xf')][_0xd59d('0x11')]);return _0x479663(_0x3d92c0[_0xd59d('0xf')]['message']);}logger[_0xd59d('0xf')](_0xd59d('0xb'),_0x1435db,_0x3d92c0[_0xd59d('0xf')][_0xd59d('0x11')]);return _0x3c7760(_0x3d92c0[_0xd59d('0xf')]['message']);}else{logger['info'](_0xd59d('0xb'),_0x1435db,'request\x20sent');_0x3c7760(_0x3d92c0[_0xd59d('0x12')][_0xd59d('0x11')]);}})[_0xd59d('0x13')](function(_0x5bf806){logger[_0xd59d('0xf')](_0xd59d('0xb'),_0x1435db,_0x5bf806);_0x479663(_0x5bf806);});});}
\ No newline at end of file
+var _0x3adc=['rpc','../../config/environment','jayson/promise','http','then','info','AnalyticMetric,\x20%s,\x20%s','AnalyticMetric,\x20%s,\x20%s,\x20%s','stringify','error','code','message','request\x20sent','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger'];(function(_0x35fd70,_0x3cebdd){var _0x16765d=function(_0x3f6d6d){while(--_0x3f6d6d){_0x35fd70['push'](_0x35fd70['shift']());}};_0x16765d(++_0x3cebdd);}(_0x3adc,0x1c3));var _0xc3ad=function(_0x50e0ed,_0x3cdbed){_0x50e0ed=_0x50e0ed-0x0;var _0x542a34=_0x3adc[_0x50e0ed];return _0x542a34;};'use strict';var _=require(_0xc3ad('0x0'));var util=require(_0xc3ad('0x1'));var moment=require(_0xc3ad('0x2'));var BPromise=require(_0xc3ad('0x3'));var rs=require(_0xc3ad('0x4'));var fs=require('fs');var Redis=require(_0xc3ad('0x5'));var db=require(_0xc3ad('0x6'))['db'];var utils=require(_0xc3ad('0x7'));var logger=require(_0xc3ad('0x8'))(_0xc3ad('0x9'));var config=require(_0xc3ad('0xa'));var jayson=require(_0xc3ad('0xb'));var client=jayson['client'][_0xc3ad('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x1044e6,_0x10a4ef,_0x606c47){return new BPromise(function(_0x261e68,_0x11712d){return client['request'](_0x1044e6,_0x606c47)[_0xc3ad('0xd')](function(_0x39dd9c){logger[_0xc3ad('0xe')](_0xc3ad('0xf'),_0x10a4ef,'request\x20sent');logger['debug'](_0xc3ad('0x10'),_0x10a4ef,'request\x20sent',JSON[_0xc3ad('0x11')](_0x39dd9c));if(_0x39dd9c[_0xc3ad('0x12')]){if(_0x39dd9c['error'][_0xc3ad('0x13')]===0x1f4){logger[_0xc3ad('0x12')]('AnalyticMetric,\x20%s,\x20%s',_0x10a4ef,_0x39dd9c['error'][_0xc3ad('0x14')]);return _0x11712d(_0x39dd9c['error'][_0xc3ad('0x14')]);}logger[_0xc3ad('0x12')](_0xc3ad('0xf'),_0x10a4ef,_0x39dd9c[_0xc3ad('0x12')][_0xc3ad('0x14')]);return _0x261e68(_0x39dd9c[_0xc3ad('0x12')][_0xc3ad('0x14')]);}else{logger[_0xc3ad('0xe')](_0xc3ad('0xf'),_0x10a4ef,_0xc3ad('0x15'));_0x261e68(_0x39dd9c['result']['message']);}})[_0xc3ad('0x16')](function(_0x1660bf){logger[_0xc3ad('0x12')](_0xc3ad('0xf'),_0x10a4ef,_0x1660bf);_0x11712d(_0x1660bf);});});}
\ No newline at end of file
diff --git a/server/api/analyticMetric/index.js b/server/api/analyticMetric/index.js
index 27ac49d..5f356b4 100644
--- a/server/api/analyticMetric/index.js
+++ b/server/api/analyticMetric/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x78b7=['create','put','update','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','./analyticMetric.controller','get','isAuthenticated','index','/:id','show','post'];(function(_0x188b09,_0x436395){var _0x2a99d6=function(_0x47a871){while(--_0x47a871){_0x188b09['push'](_0x188b09['shift']());}};_0x2a99d6(++_0x436395);}(_0x78b7,0x194));var _0x778b=function(_0x3ef2d5,_0x423d46){_0x3ef2d5=_0x3ef2d5-0x0;var _0x2fefb2=_0x78b7[_0x3ef2d5];return _0x2fefb2;};'use strict';var multer=require(_0x778b('0x0'));var util=require(_0x778b('0x1'));var path=require('path');var timeout=require(_0x778b('0x2'));var express=require(_0x778b('0x3'));var router=express[_0x778b('0x4')]();var fs_extra=require(_0x778b('0x5'));var auth=require(_0x778b('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x778b('0x7'));router[_0x778b('0x8')]('/',auth[_0x778b('0x9')](),controller[_0x778b('0xa')]);router[_0x778b('0x8')](_0x778b('0xb'),auth['isAuthenticated'](),controller[_0x778b('0xc')]);router[_0x778b('0xd')]('/',auth[_0x778b('0x9')](),controller[_0x778b('0xe')]);router[_0x778b('0xf')]('/:id',auth[_0x778b('0x9')](),controller[_0x778b('0x10')]);router['delete'](_0x778b('0xb'),auth[_0x778b('0x9')](),controller[_0x778b('0x11')]);module[_0x778b('0x12')]=router;
\ No newline at end of file
+var _0x37c5=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticMetric.controller','isAuthenticated','index','get','show','post','put','/:id','delete','destroy','util','path','connect-timeout','express'];(function(_0x41a887,_0x86c36f){var _0x4b434b=function(_0x297c8f){while(--_0x297c8f){_0x41a887['push'](_0x41a887['shift']());}};_0x4b434b(++_0x86c36f);}(_0x37c5,0xa7));var _0x537c=function(_0x51bc81,_0x2eb0b3){_0x51bc81=_0x51bc81-0x0;var _0x42ed9=_0x37c5[_0x51bc81];return _0x42ed9;};'use strict';var multer=require('multer');var util=require(_0x537c('0x0'));var path=require(_0x537c('0x1'));var timeout=require(_0x537c('0x2'));var express=require(_0x537c('0x3'));var router=express[_0x537c('0x4')]();var fs_extra=require(_0x537c('0x5'));var auth=require(_0x537c('0x6'));var interaction=require(_0x537c('0x7'));var config=require(_0x537c('0x8'));var controller=require(_0x537c('0x9'));router['get']('/',auth[_0x537c('0xa')](),controller[_0x537c('0xb')]);router[_0x537c('0xc')]('/:id',auth[_0x537c('0xa')](),controller[_0x537c('0xd')]);router[_0x537c('0xe')]('/',auth[_0x537c('0xa')](),controller['create']);router[_0x537c('0xf')](_0x537c('0x10'),auth[_0x537c('0xa')](),controller['update']);router[_0x537c('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x537c('0x12')]);module['exports']=router;
\ No newline at end of file
diff --git a/server/api/analyticTreeReport/analyticTreeReport.attributes.js b/server/api/analyticTreeReport/analyticTreeReport.attributes.js
index 2705644..db4c832 100644
--- a/server/api/analyticTreeReport/analyticTreeReport.attributes.js
+++ b/server/api/analyticTreeReport/analyticTreeReport.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x615f=['sequelize','TEXT'];(function(_0x4706a6,_0x5a1c63){var _0x1bb705=function(_0x484ebb){while(--_0x484ebb){_0x4706a6['push'](_0x4706a6['shift']());}};_0x1bb705(++_0x5a1c63);}(_0x615f,0x7c));var _0xf615=function(_0x5cb157,_0x26a384){_0x5cb157=_0x5cb157-0x0;var _0x233e33=_0x615f[_0x5cb157];return _0x233e33;};'use strict';var Sequelize=require(_0xf615('0x0'));module['exports']={'tree':{'type':Sequelize[_0xf615('0x1')],'allowNull':![]}};
\ No newline at end of file
+var _0xc2db=['exports','TEXT'];(function(_0x25c4a9,_0x2d70a8){var _0x4e6482=function(_0x4fca73){while(--_0x4fca73){_0x25c4a9['push'](_0x25c4a9['shift']());}};_0x4e6482(++_0x2d70a8);}(_0xc2db,0x100));var _0xbc2d=function(_0x432682,_0x253044){_0x432682=_0x432682-0x0;var _0x463d05=_0xc2db[_0x432682];return _0x463d05;};'use strict';var Sequelize=require('sequelize');module[_0xbc2d('0x0')]={'tree':{'type':Sequelize[_0xbc2d('0x1')],'allowNull':![]}};
\ No newline at end of file
diff --git a/server/api/analyticTreeReport/analyticTreeReport.controller.js b/server/api/analyticTreeReport/analyticTreeReport.controller.js
index 306649b..711cad9 100644
--- a/server/api/analyticTreeReport/analyticTreeReport.controller.js
+++ b/server/api/analyticTreeReport/analyticTreeReport.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x36da=['create','body','update','params','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','lodash','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','end','json','offset','undefined','limit','count','set','Content-Range','reject','then','destroy','sendStatus','stack','send','index','map','fieldName','type','key','query','keys','model','attributes','intersection','fields','hasOwnProperty','order','where','filters','pick','filter','VIRTUAL','merge','options','AnalyticTreeReport','include','findAll','rows','rawAttributes','length','includeAll','find','catch'];(function(_0x494022,_0xdc326c){var _0xfb72f0=function(_0x10cd99){while(--_0x10cd99){_0x494022['push'](_0x494022['shift']());}};_0xfb72f0(++_0xdc326c);}(_0x36da,0x176));var _0xa36d=function(_0x2b9e33,_0x266ac7){_0x2b9e33=_0x2b9e33-0x0;var _0x3062a6=_0x36da[_0x2b9e33];return _0x3062a6;};'use strict';var emlformat=require(_0xa36d('0x0'));var rimraf=require(_0xa36d('0x1'));var zipdir=require(_0xa36d('0x2'));var jsonpatch=require(_0xa36d('0x3'));var rp=require(_0xa36d('0x4'));var moment=require(_0xa36d('0x5'));var BPromise=require('bluebird');var Mustache=require(_0xa36d('0x6'));var util=require(_0xa36d('0x7'));var path=require(_0xa36d('0x8'));var sox=require(_0xa36d('0x9'));var csv=require(_0xa36d('0xa'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0xa36d('0xb'));var squel=require(_0xa36d('0xc'));var crypto=require(_0xa36d('0xd'));var jsforce=require(_0xa36d('0xe'));var deskjs=require('desk.js');var toCsv=require(_0xa36d('0xa'));var querystring=require(_0xa36d('0xf'));var Papa=require(_0xa36d('0x10'));var Redis=require(_0xa36d('0x11'));var authService=require('../../components/auth/service');var qs=require(_0xa36d('0x12'));var as=require(_0xa36d('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xa36d('0x14'))(_0xa36d('0x15'));var utils=require(_0xa36d('0x16'));var config=require(_0xa36d('0x17'));var licenseUtil=require(_0xa36d('0x18'));var db=require(_0xa36d('0x19'))['db'];function respondWithStatusCode(_0x8d01b1,_0x421fc2){_0x421fc2=_0x421fc2||0xcc;return function(_0x5cf738){if(_0x5cf738){return _0x8d01b1['sendStatus'](_0x421fc2);}return _0x8d01b1[_0xa36d('0x1a')](_0x421fc2)[_0xa36d('0x1b')]();};}function respondWithResult(_0x23710d,_0x30a521){_0x30a521=_0x30a521||0xc8;return function(_0xe7656b){if(_0xe7656b){return _0x23710d[_0xa36d('0x1a')](_0x30a521)[_0xa36d('0x1c')](_0xe7656b);}};}function respondWithFilteredResult(_0x3aab83,_0x11ab1f){return function(_0x3a16f0){if(_0x3a16f0){var _0x3b7b5b=typeof _0x11ab1f[_0xa36d('0x1d')]===_0xa36d('0x1e')&&typeof _0x11ab1f[_0xa36d('0x1f')]===_0xa36d('0x1e');var _0x33b661=_0x3a16f0[_0xa36d('0x20')];var _0x257cda=_0x3b7b5b?0x0:_0x11ab1f[_0xa36d('0x1d')];var _0x2c2de2=_0x3b7b5b?_0x3a16f0[_0xa36d('0x20')]:_0x11ab1f['offset']+_0x11ab1f['limit'];var _0x1b94cc;if(_0x2c2de2>=_0x33b661){_0x2c2de2=_0x33b661;_0x1b94cc=0xc8;}else{_0x1b94cc=0xce;}_0x3aab83[_0xa36d('0x1a')](_0x1b94cc);return _0x3aab83[_0xa36d('0x21')](_0xa36d('0x22'),_0x257cda+'-'+_0x2c2de2+'/'+_0x33b661)[_0xa36d('0x1c')](_0x3a16f0);}return null;};}function patchUpdates(_0x2e13d2){return function(_0xdbcc1b){try{jsonpatch['apply'](_0xdbcc1b,_0x2e13d2,!![]);}catch(_0x4b16a6){return BPromise[_0xa36d('0x23')](_0x4b16a6);}return _0xdbcc1b['save']();};}function saveUpdates(_0x34aff3,_0x562698){return function(_0x16637f){if(_0x16637f){return _0x16637f['update'](_0x34aff3)[_0xa36d('0x24')](function(_0x134134){return _0x134134;});}return null;};}function removeEntity(_0x226be3,_0x3b5540){return function(_0x299a98){if(_0x299a98){return _0x299a98[_0xa36d('0x25')]()[_0xa36d('0x24')](function(){_0x226be3['status'](0xcc)[_0xa36d('0x1b')]();});}};}function handleEntityNotFound(_0x490f31,_0x29cd20){return function(_0x199ff5){if(!_0x199ff5){_0x490f31[_0xa36d('0x26')](0x194);}return _0x199ff5;};}function handleError(_0x5a76fc,_0xf7afe4){_0xf7afe4=_0xf7afe4||0x1f4;return function(_0x53664c){logger['error'](_0x53664c[_0xa36d('0x27')]);if(_0x53664c['name']){delete _0x53664c['name'];}_0x5a76fc[_0xa36d('0x1a')](_0xf7afe4)[_0xa36d('0x28')](_0x53664c);};}exports[_0xa36d('0x29')]=function(_0xeff308,_0x33710e){var _0x479398={},_0x562ec5={},_0x1a868a={'count':0x0,'rows':[]};var _0x2e74d6=_[_0xa36d('0x2a')](db['AnalyticTreeReport']['rawAttributes'],function(_0x38cdcd){return{'name':_0x38cdcd[_0xa36d('0x2b')],'type':_0x38cdcd[_0xa36d('0x2c')][_0xa36d('0x2d')]};});_0x562ec5['model']=_['map'](_0x2e74d6,'name');_0x562ec5[_0xa36d('0x2e')]=_[_0xa36d('0x2f')](_0xeff308[_0xa36d('0x2e')]);_0x562ec5['filters']=_['intersection'](_0x562ec5[_0xa36d('0x30')],_0x562ec5[_0xa36d('0x2e')]);_0x479398[_0xa36d('0x31')]=_[_0xa36d('0x32')](_0x562ec5[_0xa36d('0x30')],qs[_0xa36d('0x33')](_0xeff308[_0xa36d('0x2e')][_0xa36d('0x33')]));_0x479398[_0xa36d('0x31')]=_0x479398['attributes']['length']?_0x479398[_0xa36d('0x31')]:_0x562ec5[_0xa36d('0x30')];if(!_0xeff308[_0xa36d('0x2e')][_0xa36d('0x34')]('nolimit')){_0x479398['limit']=qs[_0xa36d('0x1f')](_0xeff308[_0xa36d('0x2e')][_0xa36d('0x1f')]);_0x479398[_0xa36d('0x1d')]=qs[_0xa36d('0x1d')](_0xeff308['query'][_0xa36d('0x1d')]);}_0x479398[_0xa36d('0x35')]=qs['sort'](_0xeff308[_0xa36d('0x2e')]['sort']);_0x479398[_0xa36d('0x36')]=qs[_0xa36d('0x37')](_[_0xa36d('0x38')](_0xeff308[_0xa36d('0x2e')],_0x562ec5[_0xa36d('0x37')]),_0x2e74d6);if(_0xeff308[_0xa36d('0x2e')][_0xa36d('0x39')]){_0x479398[_0xa36d('0x36')]=_['merge'](_0x479398['where'],{'$or':_[_0xa36d('0x2a')](_0x2e74d6,function(_0x55455f){if(_0x55455f[_0xa36d('0x2c')]!==_0xa36d('0x3a')){var _0x4cf202={};_0x4cf202[_0x55455f['name']]={'$like':'%'+_0xeff308[_0xa36d('0x2e')][_0xa36d('0x39')]+'%'};return _0x4cf202;}})});}_0x479398=_[_0xa36d('0x3b')]({},_0x479398,_0xeff308[_0xa36d('0x3c')]);var _0x301e33={'where':_0x479398[_0xa36d('0x36')]};return db[_0xa36d('0x3d')][_0xa36d('0x20')](_0x301e33)[_0xa36d('0x24')](function(_0x58ca9c){_0x1a868a[_0xa36d('0x20')]=_0x58ca9c;if(_0xeff308[_0xa36d('0x2e')]['includeAll']){_0x479398[_0xa36d('0x3e')]=[{'all':!![]}];}return db[_0xa36d('0x3d')][_0xa36d('0x3f')](_0x479398);})[_0xa36d('0x24')](function(_0x3593cb){_0x1a868a[_0xa36d('0x40')]=_0x3593cb;return _0x1a868a;})[_0xa36d('0x24')](respondWithFilteredResult(_0x33710e,_0x479398))['catch'](handleError(_0x33710e,null));};exports['show']=function(_0x123a3a,_0xe6c150){var _0x27e70c={'raw':!![],'where':{'id':_0x123a3a['params']['id']}},_0x34db04={};_0x34db04[_0xa36d('0x30')]=_['keys'](db[_0xa36d('0x3d')][_0xa36d('0x41')]);_0x34db04[_0xa36d('0x2e')]=_['keys'](_0x123a3a[_0xa36d('0x2e')]);_0x34db04['filters']=_['intersection'](_0x34db04[_0xa36d('0x30')],_0x34db04[_0xa36d('0x2e')]);_0x27e70c[_0xa36d('0x31')]=_[_0xa36d('0x32')](_0x34db04[_0xa36d('0x30')],qs[_0xa36d('0x33')](_0x123a3a[_0xa36d('0x2e')]['fields']));_0x27e70c[_0xa36d('0x31')]=_0x27e70c['attributes'][_0xa36d('0x42')]?_0x27e70c['attributes']:_0x34db04[_0xa36d('0x30')];if(_0x123a3a[_0xa36d('0x2e')][_0xa36d('0x43')]){_0x27e70c[_0xa36d('0x3e')]=[{'all':!![]}];}_0x27e70c=_[_0xa36d('0x3b')]({},_0x27e70c,_0x123a3a['options']);return db['AnalyticTreeReport'][_0xa36d('0x44')](_0x27e70c)[_0xa36d('0x24')](handleEntityNotFound(_0xe6c150,null))['then'](respondWithResult(_0xe6c150,null))[_0xa36d('0x45')](handleError(_0xe6c150,null));};exports[_0xa36d('0x46')]=function(_0x2e8e25,_0x2d5f2e){return db[_0xa36d('0x3d')][_0xa36d('0x46')](_0x2e8e25[_0xa36d('0x47')],{})[_0xa36d('0x24')](respondWithResult(_0x2d5f2e,0xc9))[_0xa36d('0x45')](handleError(_0x2d5f2e,null));};exports[_0xa36d('0x48')]=function(_0x5229bc,_0x2e2f00){if(_0x5229bc[_0xa36d('0x47')]['id']){delete _0x5229bc['body']['id'];}return db[_0xa36d('0x3d')][_0xa36d('0x44')]({'where':{'id':_0x5229bc[_0xa36d('0x49')]['id']}})['then'](handleEntityNotFound(_0x2e2f00,null))[_0xa36d('0x24')](saveUpdates(_0x5229bc[_0xa36d('0x47')],null))[_0xa36d('0x24')](respondWithResult(_0x2e2f00,null))[_0xa36d('0x45')](handleError(_0x2e2f00,null));};exports[_0xa36d('0x25')]=function(_0x1f9096,_0x1d8610){return db[_0xa36d('0x3d')][_0xa36d('0x44')]({'where':{'id':_0x1f9096[_0xa36d('0x49')]['id']}})['then'](handleEntityNotFound(_0x1d8610,null))[_0xa36d('0x24')](removeEntity(_0x1d8610,null))['catch'](handleError(_0x1d8610,null));};
\ No newline at end of file
+var _0x9060=['type','map','query','filters','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','sort','pick','filter','where','options','includeAll','include','findAll','rows','show','params','keys','merge','catch','create','body','find','destroy','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/license/util','../../mysqldb','sendStatus','status','end','json','limit','undefined','count','offset','Content-Range','apply','reject','save','update','then','error','stack','name','send','index','AnalyticTreeReport','rawAttributes'];(function(_0x15070a,_0x522955){var _0x251d50=function(_0x1b4f8e){while(--_0x1b4f8e){_0x15070a['push'](_0x15070a['shift']());}};_0x251d50(++_0x522955);}(_0x9060,0xb9));var _0x0906=function(_0x4c12ec,_0x2e9103){_0x4c12ec=_0x4c12ec-0x0;var _0x3ae42c=_0x9060[_0x4c12ec];return _0x3ae42c;};'use strict';var emlformat=require(_0x0906('0x0'));var rimraf=require(_0x0906('0x1'));var zipdir=require(_0x0906('0x2'));var jsonpatch=require(_0x0906('0x3'));var rp=require(_0x0906('0x4'));var moment=require(_0x0906('0x5'));var BPromise=require(_0x0906('0x6'));var Mustache=require('mustache');var util=require(_0x0906('0x7'));var path=require(_0x0906('0x8'));var sox=require(_0x0906('0x9'));var csv=require(_0x0906('0xa'));var ejs=require(_0x0906('0xb'));var fs=require('fs');var fs_extra=require(_0x0906('0xc'));var _=require(_0x0906('0xd'));var squel=require(_0x0906('0xe'));var crypto=require(_0x0906('0xf'));var jsforce=require(_0x0906('0x10'));var deskjs=require(_0x0906('0x11'));var toCsv=require(_0x0906('0xa'));var querystring=require(_0x0906('0x12'));var Papa=require(_0x0906('0x13'));var Redis=require(_0x0906('0x14'));var authService=require('../../components/auth/service');var qs=require(_0x0906('0x15'));var as=require(_0x0906('0x16'));var hardwareService=require(_0x0906('0x17'));var logger=require(_0x0906('0x18'))(_0x0906('0x19'));var utils=require('../../config/utils');var config=require('../../config/environment');var licenseUtil=require(_0x0906('0x1a'));var db=require(_0x0906('0x1b'))['db'];function respondWithStatusCode(_0x13aac9,_0x37dfe0){_0x37dfe0=_0x37dfe0||0xcc;return function(_0x2e2b11){if(_0x2e2b11){return _0x13aac9[_0x0906('0x1c')](_0x37dfe0);}return _0x13aac9[_0x0906('0x1d')](_0x37dfe0)[_0x0906('0x1e')]();};}function respondWithResult(_0xe5ef35,_0x259c68){_0x259c68=_0x259c68||0xc8;return function(_0xa2c6aa){if(_0xa2c6aa){return _0xe5ef35[_0x0906('0x1d')](_0x259c68)[_0x0906('0x1f')](_0xa2c6aa);}};}function respondWithFilteredResult(_0x15fdca,_0x1b0651){return function(_0x558b08){if(_0x558b08){var _0x3afe92=typeof _0x1b0651['offset']==='undefined'&&typeof _0x1b0651[_0x0906('0x20')]===_0x0906('0x21');var _0xe7fc64=_0x558b08[_0x0906('0x22')];var _0x3d3dd0=_0x3afe92?0x0:_0x1b0651[_0x0906('0x23')];var _0x1ffba5=_0x3afe92?_0x558b08[_0x0906('0x22')]:_0x1b0651[_0x0906('0x23')]+_0x1b0651[_0x0906('0x20')];var _0x54bc6c;if(_0x1ffba5>=_0xe7fc64){_0x1ffba5=_0xe7fc64;_0x54bc6c=0xc8;}else{_0x54bc6c=0xce;}_0x15fdca[_0x0906('0x1d')](_0x54bc6c);return _0x15fdca['set'](_0x0906('0x24'),_0x3d3dd0+'-'+_0x1ffba5+'/'+_0xe7fc64)[_0x0906('0x1f')](_0x558b08);}return null;};}function patchUpdates(_0x225623){return function(_0x3a1edf){try{jsonpatch[_0x0906('0x25')](_0x3a1edf,_0x225623,!![]);}catch(_0x303521){return BPromise[_0x0906('0x26')](_0x303521);}return _0x3a1edf[_0x0906('0x27')]();};}function saveUpdates(_0x4b8dcd,_0x96cc77){return function(_0x49f66e){if(_0x49f66e){return _0x49f66e[_0x0906('0x28')](_0x4b8dcd)['then'](function(_0x466be0){return _0x466be0;});}return null;};}function removeEntity(_0x18a8e1,_0x14352d){return function(_0xc7bf7e){if(_0xc7bf7e){return _0xc7bf7e['destroy']()[_0x0906('0x29')](function(){_0x18a8e1[_0x0906('0x1d')](0xcc)[_0x0906('0x1e')]();});}};}function handleEntityNotFound(_0x4d7cd2,_0x2c8713){return function(_0x263a1e){if(!_0x263a1e){_0x4d7cd2[_0x0906('0x1c')](0x194);}return _0x263a1e;};}function handleError(_0xca1326,_0x5d47ab){_0x5d47ab=_0x5d47ab||0x1f4;return function(_0x3c64b6){logger[_0x0906('0x2a')](_0x3c64b6[_0x0906('0x2b')]);if(_0x3c64b6['name']){delete _0x3c64b6[_0x0906('0x2c')];}_0xca1326['status'](_0x5d47ab)[_0x0906('0x2d')](_0x3c64b6);};}exports[_0x0906('0x2e')]=function(_0x19fcea,_0x123fe3){var _0x29a99d={},_0x384b2a={},_0x34c35c={'count':0x0,'rows':[]};var _0x3ab191=_['map'](db[_0x0906('0x2f')][_0x0906('0x30')],function(_0x28e80d){return{'name':_0x28e80d['fieldName'],'type':_0x28e80d[_0x0906('0x31')]['key']};});_0x384b2a['model']=_[_0x0906('0x32')](_0x3ab191,_0x0906('0x2c'));_0x384b2a['query']=_['keys'](_0x19fcea[_0x0906('0x33')]);_0x384b2a[_0x0906('0x34')]=_[_0x0906('0x35')](_0x384b2a[_0x0906('0x36')],_0x384b2a[_0x0906('0x33')]);_0x29a99d[_0x0906('0x37')]=_[_0x0906('0x35')](_0x384b2a[_0x0906('0x36')],qs[_0x0906('0x38')](_0x19fcea[_0x0906('0x33')][_0x0906('0x38')]));_0x29a99d[_0x0906('0x37')]=_0x29a99d[_0x0906('0x37')][_0x0906('0x39')]?_0x29a99d[_0x0906('0x37')]:_0x384b2a[_0x0906('0x36')];if(!_0x19fcea[_0x0906('0x33')][_0x0906('0x3a')](_0x0906('0x3b'))){_0x29a99d['limit']=qs[_0x0906('0x20')](_0x19fcea[_0x0906('0x33')][_0x0906('0x20')]);_0x29a99d[_0x0906('0x23')]=qs[_0x0906('0x23')](_0x19fcea[_0x0906('0x33')][_0x0906('0x23')]);}_0x29a99d['order']=qs[_0x0906('0x3c')](_0x19fcea[_0x0906('0x33')][_0x0906('0x3c')]);_0x29a99d['where']=qs['filters'](_[_0x0906('0x3d')](_0x19fcea[_0x0906('0x33')],_0x384b2a[_0x0906('0x34')]),_0x3ab191);if(_0x19fcea['query'][_0x0906('0x3e')]){_0x29a99d[_0x0906('0x3f')]=_['merge'](_0x29a99d[_0x0906('0x3f')],{'$or':_[_0x0906('0x32')](_0x3ab191,function(_0x9af599){if(_0x9af599[_0x0906('0x31')]!=='VIRTUAL'){var _0x51b54c={};_0x51b54c[_0x9af599[_0x0906('0x2c')]]={'$like':'%'+_0x19fcea[_0x0906('0x33')][_0x0906('0x3e')]+'%'};return _0x51b54c;}})});}_0x29a99d=_['merge']({},_0x29a99d,_0x19fcea[_0x0906('0x40')]);var _0x276483={'where':_0x29a99d[_0x0906('0x3f')]};return db[_0x0906('0x2f')][_0x0906('0x22')](_0x276483)[_0x0906('0x29')](function(_0x507071){_0x34c35c[_0x0906('0x22')]=_0x507071;if(_0x19fcea[_0x0906('0x33')][_0x0906('0x41')]){_0x29a99d[_0x0906('0x42')]=[{'all':!![]}];}return db['AnalyticTreeReport'][_0x0906('0x43')](_0x29a99d);})[_0x0906('0x29')](function(_0x133e47){_0x34c35c[_0x0906('0x44')]=_0x133e47;return _0x34c35c;})[_0x0906('0x29')](respondWithFilteredResult(_0x123fe3,_0x29a99d))['catch'](handleError(_0x123fe3,null));};exports[_0x0906('0x45')]=function(_0x12190a,_0x4a7f3d){var _0x5eaea8={'raw':!![],'where':{'id':_0x12190a[_0x0906('0x46')]['id']}},_0x5a7f3d={};_0x5a7f3d[_0x0906('0x36')]=_[_0x0906('0x47')](db['AnalyticTreeReport'][_0x0906('0x30')]);_0x5a7f3d['query']=_[_0x0906('0x47')](_0x12190a[_0x0906('0x33')]);_0x5a7f3d['filters']=_['intersection'](_0x5a7f3d[_0x0906('0x36')],_0x5a7f3d[_0x0906('0x33')]);_0x5eaea8[_0x0906('0x37')]=_[_0x0906('0x35')](_0x5a7f3d[_0x0906('0x36')],qs[_0x0906('0x38')](_0x12190a[_0x0906('0x33')][_0x0906('0x38')]));_0x5eaea8['attributes']=_0x5eaea8[_0x0906('0x37')][_0x0906('0x39')]?_0x5eaea8[_0x0906('0x37')]:_0x5a7f3d[_0x0906('0x36')];if(_0x12190a[_0x0906('0x33')][_0x0906('0x41')]){_0x5eaea8[_0x0906('0x42')]=[{'all':!![]}];}_0x5eaea8=_[_0x0906('0x48')]({},_0x5eaea8,_0x12190a[_0x0906('0x40')]);return db[_0x0906('0x2f')]['find'](_0x5eaea8)[_0x0906('0x29')](handleEntityNotFound(_0x4a7f3d,null))[_0x0906('0x29')](respondWithResult(_0x4a7f3d,null))[_0x0906('0x49')](handleError(_0x4a7f3d,null));};exports[_0x0906('0x4a')]=function(_0x1ddec9,_0x57b9f8){return db[_0x0906('0x2f')][_0x0906('0x4a')](_0x1ddec9[_0x0906('0x4b')],{})[_0x0906('0x29')](respondWithResult(_0x57b9f8,0xc9))[_0x0906('0x49')](handleError(_0x57b9f8,null));};exports[_0x0906('0x28')]=function(_0x1da11f,_0x9534ae){if(_0x1da11f[_0x0906('0x4b')]['id']){delete _0x1da11f[_0x0906('0x4b')]['id'];}return db[_0x0906('0x2f')][_0x0906('0x4c')]({'where':{'id':_0x1da11f[_0x0906('0x46')]['id']}})['then'](handleEntityNotFound(_0x9534ae,null))[_0x0906('0x29')](saveUpdates(_0x1da11f['body'],null))['then'](respondWithResult(_0x9534ae,null))[_0x0906('0x49')](handleError(_0x9534ae,null));};exports[_0x0906('0x4d')]=function(_0x148339,_0x198586){return db['AnalyticTreeReport'][_0x0906('0x4c')]({'where':{'id':_0x148339[_0x0906('0x46')]['id']}})[_0x0906('0x29')](handleEntityNotFound(_0x198586,null))[_0x0906('0x29')](removeEntity(_0x198586,null))['catch'](handleError(_0x198586,null));};
\ No newline at end of file
diff --git a/server/api/analyticTreeReport/analyticTreeReport.model.js b/server/api/analyticTreeReport/analyticTreeReport.model.js
index 817313e..f45645f 100644
--- a/server/api/analyticTreeReport/analyticTreeReport.model.js
+++ b/server/api/analyticTreeReport/analyticTreeReport.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xbd01=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticTreeReport.attributes','exports','define','AnalyticTreeReport','lodash','../../config/logger'];(function(_0x32602c,_0x21b279){var _0x4ba230=function(_0x1dfeaf){while(--_0x1dfeaf){_0x32602c['push'](_0x32602c['shift']());}};_0x4ba230(++_0x21b279);}(_0xbd01,0xf5));var _0x1bd0=function(_0x5403ec,_0x372801){_0x5403ec=_0x5403ec-0x0;var _0x413815=_0xbd01[_0x5403ec];return _0x413815;};'use strict';var _=require(_0x1bd0('0x0'));var util=require('util');var logger=require(_0x1bd0('0x1'))(_0x1bd0('0x2'));var moment=require(_0x1bd0('0x3'));var BPromise=require(_0x1bd0('0x4'));var rp=require(_0x1bd0('0x5'));var fs=require('fs');var path=require(_0x1bd0('0x6'));var rimraf=require(_0x1bd0('0x7'));var config=require(_0x1bd0('0x8'));var attributes=require(_0x1bd0('0x9'));module[_0x1bd0('0xa')]=function(_0x2c150b,_0x18da31){return _0x2c150b[_0x1bd0('0xb')](_0x1bd0('0xc'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0xdbf0=['rimraf','../../config/environment','./analyticTreeReport.attributes','exports','AnalyticTreeReport','analytics_report_trees','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x24ac65,_0x5c72da){var _0x512dea=function(_0x2113bf){while(--_0x2113bf){_0x24ac65['push'](_0x24ac65['shift']());}};_0x512dea(++_0x5c72da);}(_0xdbf0,0x14b));var _0x0dbf=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0xdbf0[_0x122ef9];return _0x42fba0;};'use strict';var _=require('lodash');var util=require(_0x0dbf('0x0'));var logger=require(_0x0dbf('0x1'))(_0x0dbf('0x2'));var moment=require(_0x0dbf('0x3'));var BPromise=require(_0x0dbf('0x4'));var rp=require(_0x0dbf('0x5'));var fs=require('fs');var path=require(_0x0dbf('0x6'));var rimraf=require(_0x0dbf('0x7'));var config=require(_0x0dbf('0x8'));var attributes=require(_0x0dbf('0x9'));module[_0x0dbf('0xa')]=function(_0x530f51,_0x30bd9a){return _0x530f51['define'](_0x0dbf('0xb'),attributes,{'tableName':_0x0dbf('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/analyticTreeReport/analyticTreeReport.rpc.js b/server/api/analyticTreeReport/analyticTreeReport.rpc.js
index 0211085..9862a82 100644
--- a/server/api/analyticTreeReport/analyticTreeReport.rpc.js
+++ b/server/api/analyticTreeReport/analyticTreeReport.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x5f66=['../../mysqldb','../../config/utils','rpc','jayson/promise','client','request','then','AnalyticTreeReport,\x20%s,\x20%s','request\x20sent','debug','AnalyticTreeReport,\x20%s,\x20%s,\x20%s','stringify','code','message','error','info','catch','util','bluebird','randomstring','ioredis'];(function(_0x561e61,_0x40ae3f){var _0x4de7e4=function(_0x347be7){while(--_0x347be7){_0x561e61['push'](_0x561e61['shift']());}};_0x4de7e4(++_0x40ae3f);}(_0x5f66,0x1a0));var _0x65f6=function(_0x4243a3,_0x447337){_0x4243a3=_0x4243a3-0x0;var _0x1b2a33=_0x5f66[_0x4243a3];return _0x1b2a33;};'use strict';var _=require('lodash');var util=require(_0x65f6('0x0'));var moment=require('moment');var BPromise=require(_0x65f6('0x1'));var rs=require(_0x65f6('0x2'));var fs=require('fs');var Redis=require(_0x65f6('0x3'));var db=require(_0x65f6('0x4'))['db'];var utils=require(_0x65f6('0x5'));var logger=require('../../config/logger')(_0x65f6('0x6'));var config=require('../../config/environment');var jayson=require(_0x65f6('0x7'));var client=jayson[_0x65f6('0x8')]['http']({'port':0x232a});function respondWithRpcPromise(_0x4ed98f,_0x1c0e12,_0x2c6571){return new BPromise(function(_0x112079,_0x8f6451){return client[_0x65f6('0x9')](_0x4ed98f,_0x2c6571)[_0x65f6('0xa')](function(_0x48d85c){logger['info'](_0x65f6('0xb'),_0x1c0e12,_0x65f6('0xc'));logger[_0x65f6('0xd')](_0x65f6('0xe'),_0x1c0e12,'request\x20sent',JSON[_0x65f6('0xf')](_0x48d85c));if(_0x48d85c['error']){if(_0x48d85c['error'][_0x65f6('0x10')]===0x1f4){logger['error'](_0x65f6('0xb'),_0x1c0e12,_0x48d85c['error'][_0x65f6('0x11')]);return _0x8f6451(_0x48d85c[_0x65f6('0x12')][_0x65f6('0x11')]);}logger[_0x65f6('0x12')](_0x65f6('0xb'),_0x1c0e12,_0x48d85c[_0x65f6('0x12')][_0x65f6('0x11')]);return _0x112079(_0x48d85c[_0x65f6('0x12')][_0x65f6('0x11')]);}else{logger[_0x65f6('0x13')]('AnalyticTreeReport,\x20%s,\x20%s',_0x1c0e12,_0x65f6('0xc'));_0x112079(_0x48d85c['result']['message']);}})[_0x65f6('0x14')](function(_0x5c69f8){logger[_0x65f6('0x12')](_0x65f6('0xb'),_0x1c0e12,_0x5c69f8);_0x8f6451(_0x5c69f8);});});}
\ No newline at end of file
+var _0x5f66=['../../mysqldb','../../config/utils','rpc','jayson/promise','client','request','then','AnalyticTreeReport,\x20%s,\x20%s','request\x20sent','debug','AnalyticTreeReport,\x20%s,\x20%s,\x20%s','stringify','code','message','error','info','catch','util','bluebird','randomstring','ioredis'];(function(_0x3102f5,_0x3f7513){var _0x156105=function(_0x111ed6){while(--_0x111ed6){_0x3102f5['push'](_0x3102f5['shift']());}};_0x156105(++_0x3f7513);}(_0x5f66,0x1a0));var _0x65f6=function(_0x122096,_0x60c295){_0x122096=_0x122096-0x0;var _0x3d1966=_0x5f66[_0x122096];return _0x3d1966;};'use strict';var _=require('lodash');var util=require(_0x65f6('0x0'));var moment=require('moment');var BPromise=require(_0x65f6('0x1'));var rs=require(_0x65f6('0x2'));var fs=require('fs');var Redis=require(_0x65f6('0x3'));var db=require(_0x65f6('0x4'))['db'];var utils=require(_0x65f6('0x5'));var logger=require('../../config/logger')(_0x65f6('0x6'));var config=require('../../config/environment');var jayson=require(_0x65f6('0x7'));var client=jayson[_0x65f6('0x8')]['http']({'port':0x232a});function respondWithRpcPromise(_0x4ed98f,_0x1c0e12,_0x2c6571){return new BPromise(function(_0x112079,_0x8f6451){return client[_0x65f6('0x9')](_0x4ed98f,_0x2c6571)[_0x65f6('0xa')](function(_0x48d85c){logger['info'](_0x65f6('0xb'),_0x1c0e12,_0x65f6('0xc'));logger[_0x65f6('0xd')](_0x65f6('0xe'),_0x1c0e12,'request\x20sent',JSON[_0x65f6('0xf')](_0x48d85c));if(_0x48d85c['error']){if(_0x48d85c['error'][_0x65f6('0x10')]===0x1f4){logger['error'](_0x65f6('0xb'),_0x1c0e12,_0x48d85c['error'][_0x65f6('0x11')]);return _0x8f6451(_0x48d85c[_0x65f6('0x12')][_0x65f6('0x11')]);}logger[_0x65f6('0x12')](_0x65f6('0xb'),_0x1c0e12,_0x48d85c[_0x65f6('0x12')][_0x65f6('0x11')]);return _0x112079(_0x48d85c[_0x65f6('0x12')][_0x65f6('0x11')]);}else{logger[_0x65f6('0x13')]('AnalyticTreeReport,\x20%s,\x20%s',_0x1c0e12,_0x65f6('0xc'));_0x112079(_0x48d85c['result']['message']);}})[_0x65f6('0x14')](function(_0x5c69f8){logger[_0x65f6('0x12')](_0x65f6('0xb'),_0x1c0e12,_0x5c69f8);_0x8f6451(_0x5c69f8);});});}
\ No newline at end of file
diff --git a/server/api/analyticTreeReport/index.js b/server/api/analyticTreeReport/index.js
index 7599837..154cb34 100644
--- a/server/api/analyticTreeReport/index.js
+++ b/server/api/analyticTreeReport/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xf2ac=['update','delete','destroy','exports','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller','isAuthenticated','index','show','post','put','/:id'];(function(_0x3ad4cf,_0x411b38){var _0x491204=function(_0x399d38){while(--_0x399d38){_0x3ad4cf['push'](_0x3ad4cf['shift']());}};_0x491204(++_0x411b38);}(_0xf2ac,0x100));var _0xcf2a=function(_0x151886,_0x419747){_0x151886=_0x151886-0x0;var _0x208adf=_0xf2ac[_0x151886];return _0x208adf;};'use strict';var multer=require(_0xcf2a('0x0'));var util=require('util');var path=require(_0xcf2a('0x1'));var timeout=require(_0xcf2a('0x2'));var express=require('express');var router=express[_0xcf2a('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xcf2a('0x4'));var interaction=require(_0xcf2a('0x5'));var config=require(_0xcf2a('0x6'));var controller=require(_0xcf2a('0x7'));router['get']('/',auth[_0xcf2a('0x8')](),controller[_0xcf2a('0x9')]);router['get']('/:id',auth[_0xcf2a('0x8')](),controller[_0xcf2a('0xa')]);router[_0xcf2a('0xb')]('/',auth[_0xcf2a('0x8')](),controller['create']);router[_0xcf2a('0xc')](_0xcf2a('0xd'),auth[_0xcf2a('0x8')](),controller[_0xcf2a('0xe')]);router[_0xcf2a('0xf')](_0xcf2a('0xd'),auth[_0xcf2a('0x8')](),controller[_0xcf2a('0x10')]);module[_0xcf2a('0x11')]=router;
\ No newline at end of file
+var _0x6fa4=['/:id','update','delete','destroy','exports','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller','get','isAuthenticated','index','show','post','create'];(function(_0x4f6762,_0x50ce94){var _0x8549f6=function(_0x51ccc9){while(--_0x51ccc9){_0x4f6762['push'](_0x4f6762['shift']());}};_0x8549f6(++_0x50ce94);}(_0x6fa4,0x195));var _0x46fa=function(_0x5e1f4f,_0x39b1e5){_0x5e1f4f=_0x5e1f4f-0x0;var _0x487f60=_0x6fa4[_0x5e1f4f];return _0x487f60;};'use strict';var multer=require(_0x46fa('0x0'));var util=require('util');var path=require(_0x46fa('0x1'));var timeout=require(_0x46fa('0x2'));var express=require('express');var router=express[_0x46fa('0x3')]();var fs_extra=require(_0x46fa('0x4'));var auth=require(_0x46fa('0x5'));var interaction=require(_0x46fa('0x6'));var config=require(_0x46fa('0x7'));var controller=require(_0x46fa('0x8'));router[_0x46fa('0x9')]('/',auth[_0x46fa('0xa')](),controller[_0x46fa('0xb')]);router[_0x46fa('0x9')]('/:id',auth[_0x46fa('0xa')](),controller[_0x46fa('0xc')]);router[_0x46fa('0xd')]('/',auth['isAuthenticated'](),controller[_0x46fa('0xe')]);router['put'](_0x46fa('0xf'),auth[_0x46fa('0xa')](),controller[_0x46fa('0x10')]);router[_0x46fa('0x11')]('/:id',auth[_0x46fa('0xa')](),controller[_0x46fa('0x12')]);module[_0x46fa('0x13')]=router;
\ No newline at end of file
diff --git a/server/api/attachment/attachment.attributes.js b/server/api/attachment/attachment.attributes.js
index cba4230..d9674f0 100644
--- a/server/api/attachment/attachment.attributes.js
+++ b/server/api/attachment/attachment.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xf25a=['sequelize','exports','STRING'];(function(_0x47a7d0,_0x4e182d){var _0xb9bd08=function(_0x588ee2){while(--_0x588ee2){_0x47a7d0['push'](_0x47a7d0['shift']());}};_0xb9bd08(++_0x4e182d);}(_0xf25a,0x195));var _0xaf25=function(_0x2b6189,_0x608a9c){_0x2b6189=_0x2b6189-0x0;var _0x3d94f6=_0xf25a[_0x2b6189];return _0x3d94f6;};'use strict';var Sequelize=require(_0xaf25('0x0'));module[_0xaf25('0x1')]={'name':{'type':Sequelize[_0xaf25('0x2')]},'basename':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xaf25('0x2')]}};
\ No newline at end of file
+var _0x3613=['sequelize','exports','STRING'];(function(_0x30483a,_0x5d7c8a){var _0x104303=function(_0xc045a2){while(--_0xc045a2){_0x30483a['push'](_0x30483a['shift']());}};_0x104303(++_0x5d7c8a);}(_0x3613,0x198));var _0x3361=function(_0x16b797,_0x86769b){_0x16b797=_0x16b797-0x0;var _0x581a7f=_0x3613[_0x16b797];return _0x581a7f;};'use strict';var Sequelize=require(_0x3361('0x0'));module[_0x3361('0x1')]={'name':{'type':Sequelize[_0x3361('0x2')]},'basename':{'type':Sequelize[_0x3361('0x2')]},'type':{'type':Sequelize[_0x3361('0x2')]}};
\ No newline at end of file
diff --git a/server/api/attachment/attachment.controller.js b/server/api/attachment/attachment.controller.js
index b2f2537..20c1e8a 100644
--- a/server/api/attachment/attachment.controller.js
+++ b/server/api/attachment/attachment.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x66f1=['../../components/parsers/advancedSearch','../../config/license/hardware','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','end','status','json','offset','undefined','limit','count','apply','save','update','then','destroy','error','stack','name','send','index','map','Attachment','fieldName','key','model','query','keys','intersection','fields','attributes','hasOwnProperty','nolimit','sort','where','filters','pick','filter','VIRTUAL','merge','options','findAll','catch','show','length','includeAll','include','find','clone','params','rawAttributes','get','omit','updatedAt','body','createdAt','create','file','originalname','basename','filename','type','mimetype','download','findOne','join','root','server/files/attachments/','eml-format','rimraf','fast-json-patch','request-promise','moment','mustache','util','path','to-csv','ejs','fs-extra','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0x66f1,0x151));var _0x166f=function(_0x6470a2,_0x3b5f44){_0x6470a2=_0x6470a2-0x0;var _0x24ac61=_0x66f1[_0x6470a2];return _0x24ac61;};'use strict';var emlformat=require(_0x166f('0x0'));var rimraf=require(_0x166f('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x166f('0x2'));var rp=require(_0x166f('0x3'));var moment=require(_0x166f('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x166f('0x5'));var util=require(_0x166f('0x6'));var path=require(_0x166f('0x7'));var sox=require('sox');var csv=require(_0x166f('0x8'));var ejs=require(_0x166f('0x9'));var fs=require('fs');var fs_extra=require(_0x166f('0xa'));var _=require(_0x166f('0xb'));var squel=require(_0x166f('0xc'));var crypto=require('crypto');var jsforce=require(_0x166f('0xd'));var deskjs=require(_0x166f('0xe'));var toCsv=require(_0x166f('0x8'));var querystring=require(_0x166f('0xf'));var Papa=require(_0x166f('0x10'));var Redis=require(_0x166f('0x11'));var authService=require(_0x166f('0x12'));var qs=require('../../components/parsers/qs');var as=require(_0x166f('0x13'));var hardwareService=require(_0x166f('0x14'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require(_0x166f('0x15'));var licenseUtil=require(_0x166f('0x16'));var db=require(_0x166f('0x17'))['db'];function respondWithStatusCode(_0x276055,_0x58ffd3){_0x58ffd3=_0x58ffd3||0xcc;return function(_0x58b782){if(_0x58b782){return _0x276055[_0x166f('0x18')](_0x58ffd3);}return _0x276055['status'](_0x58ffd3)[_0x166f('0x19')]();};}function respondWithResult(_0x22d7e6,_0x2f0d17){_0x2f0d17=_0x2f0d17||0xc8;return function(_0x54ce3d){if(_0x54ce3d){return _0x22d7e6[_0x166f('0x1a')](_0x2f0d17)[_0x166f('0x1b')](_0x54ce3d);}};}function respondWithFilteredResult(_0xa6738a,_0xd173f4){return function(_0x12ed9c){if(_0x12ed9c){var _0x1010ae=typeof _0xd173f4[_0x166f('0x1c')]===_0x166f('0x1d')&&typeof _0xd173f4[_0x166f('0x1e')]==='undefined';var _0x244c47=_0x12ed9c['count'];var _0x517c67=_0x1010ae?0x0:_0xd173f4['offset'];var _0x5a4b16=_0x1010ae?_0x12ed9c[_0x166f('0x1f')]:_0xd173f4[_0x166f('0x1c')]+_0xd173f4[_0x166f('0x1e')];var _0x8fa069;if(_0x5a4b16>=_0x244c47){_0x5a4b16=_0x244c47;_0x8fa069=0xc8;}else{_0x8fa069=0xce;}_0xa6738a['status'](_0x8fa069);return _0xa6738a['set']('Content-Range',_0x517c67+'-'+_0x5a4b16+'/'+_0x244c47)[_0x166f('0x1b')](_0x12ed9c);}return null;};}function patchUpdates(_0x344f83){return function(_0x484285){try{jsonpatch[_0x166f('0x20')](_0x484285,_0x344f83,!![]);}catch(_0x6a1bbd){return BPromise['reject'](_0x6a1bbd);}return _0x484285[_0x166f('0x21')]();};}function saveUpdates(_0x56de3d,_0x1f3015){return function(_0x4f9342){if(_0x4f9342){return _0x4f9342[_0x166f('0x22')](_0x56de3d)[_0x166f('0x23')](function(_0x50c00b){return _0x50c00b;});}return null;};}function removeEntity(_0x3bb388,_0x4b57af){return function(_0x4feb73){if(_0x4feb73){return _0x4feb73[_0x166f('0x24')]()[_0x166f('0x23')](function(){_0x3bb388[_0x166f('0x1a')](0xcc)[_0x166f('0x19')]();});}};}function handleEntityNotFound(_0x4993f8,_0xa47705){return function(_0x3cdfda){if(!_0x3cdfda){_0x4993f8[_0x166f('0x18')](0x194);}return _0x3cdfda;};}function handleError(_0x1c254d,_0x23924f){_0x23924f=_0x23924f||0x1f4;return function(_0x187b41){logger[_0x166f('0x25')](_0x187b41[_0x166f('0x26')]);if(_0x187b41[_0x166f('0x27')]){delete _0x187b41['name'];}_0x1c254d[_0x166f('0x1a')](_0x23924f)[_0x166f('0x28')](_0x187b41);};}exports[_0x166f('0x29')]=function(_0x59f01b,_0x36aee1){var _0x50f696={},_0x5ac501={},_0x75fb4a={'count':0x0,'rows':[]};var _0x18472f=_[_0x166f('0x2a')](db[_0x166f('0x2b')]['rawAttributes'],function(_0x204ae8){return{'name':_0x204ae8[_0x166f('0x2c')],'type':_0x204ae8['type'][_0x166f('0x2d')]};});_0x5ac501[_0x166f('0x2e')]=_['map'](_0x18472f,'name');_0x5ac501[_0x166f('0x2f')]=_[_0x166f('0x30')](_0x59f01b['query']);_0x5ac501['filters']=_[_0x166f('0x31')](_0x5ac501['model'],_0x5ac501[_0x166f('0x2f')]);_0x50f696['attributes']=_['intersection'](_0x5ac501[_0x166f('0x2e')],qs[_0x166f('0x32')](_0x59f01b['query'][_0x166f('0x32')]));_0x50f696[_0x166f('0x33')]=_0x50f696[_0x166f('0x33')]['length']?_0x50f696[_0x166f('0x33')]:_0x5ac501['model'];if(!_0x59f01b[_0x166f('0x2f')][_0x166f('0x34')](_0x166f('0x35'))){_0x50f696['limit']=qs['limit'](_0x59f01b[_0x166f('0x2f')][_0x166f('0x1e')]);_0x50f696['offset']=qs['offset'](_0x59f01b[_0x166f('0x2f')][_0x166f('0x1c')]);}_0x50f696['order']=qs['sort'](_0x59f01b[_0x166f('0x2f')][_0x166f('0x36')]);_0x50f696[_0x166f('0x37')]=qs[_0x166f('0x38')](_[_0x166f('0x39')](_0x59f01b[_0x166f('0x2f')],_0x5ac501[_0x166f('0x38')]),_0x18472f);if(_0x59f01b[_0x166f('0x2f')][_0x166f('0x3a')]){_0x50f696['where']=_['merge'](_0x50f696['where'],{'$or':_[_0x166f('0x2a')](_0x18472f,function(_0x15ee77){if(_0x15ee77['type']!==_0x166f('0x3b')){var _0x587485={};_0x587485[_0x15ee77['name']]={'$like':'%'+_0x59f01b[_0x166f('0x2f')][_0x166f('0x3a')]+'%'};return _0x587485;}})});}_0x50f696=_[_0x166f('0x3c')]({},_0x50f696,_0x59f01b[_0x166f('0x3d')]);var _0x1d9a7f={'where':_0x50f696[_0x166f('0x37')]};return db[_0x166f('0x2b')][_0x166f('0x1f')](_0x1d9a7f)[_0x166f('0x23')](function(_0x122eb9){_0x75fb4a['count']=_0x122eb9;if(_0x59f01b[_0x166f('0x2f')]['includeAll']){_0x50f696['include']=[{'all':!![]}];}return db[_0x166f('0x2b')][_0x166f('0x3e')](_0x50f696);})[_0x166f('0x23')](function(_0x1379f1){_0x75fb4a['rows']=_0x1379f1;return _0x75fb4a;})['then'](respondWithFilteredResult(_0x36aee1,_0x50f696))[_0x166f('0x3f')](handleError(_0x36aee1,null));};exports[_0x166f('0x40')]=function(_0x3d113d,_0x4b0b69){var _0x3ffa8e={'raw':!![],'where':{'id':_0x3d113d['params']['id']}},_0x45c702={};_0x45c702[_0x166f('0x2e')]=_[_0x166f('0x30')](db[_0x166f('0x2b')]['rawAttributes']);_0x45c702[_0x166f('0x2f')]=_['keys'](_0x3d113d['query']);_0x45c702[_0x166f('0x38')]=_[_0x166f('0x31')](_0x45c702[_0x166f('0x2e')],_0x45c702['query']);_0x3ffa8e[_0x166f('0x33')]=_['intersection'](_0x45c702[_0x166f('0x2e')],qs['fields'](_0x3d113d[_0x166f('0x2f')][_0x166f('0x32')]));_0x3ffa8e['attributes']=_0x3ffa8e[_0x166f('0x33')][_0x166f('0x41')]?_0x3ffa8e[_0x166f('0x33')]:_0x45c702[_0x166f('0x2e')];if(_0x3d113d[_0x166f('0x2f')][_0x166f('0x42')]){_0x3ffa8e[_0x166f('0x43')]=[{'all':!![]}];}_0x3ffa8e=_[_0x166f('0x3c')]({},_0x3ffa8e,_0x3d113d['options']);return db[_0x166f('0x2b')][_0x166f('0x44')](_0x3ffa8e)[_0x166f('0x23')](handleEntityNotFound(_0x4b0b69,null))[_0x166f('0x23')](respondWithResult(_0x4b0b69,null))[_0x166f('0x3f')](handleError(_0x4b0b69,null));};exports[_0x166f('0x45')]=function(_0x5f3653,_0x58d9eb){var _0x4aef64={'where':{'id':_0x5f3653[_0x166f('0x46')]['id']}},_0x3bbc45={};_0x3bbc45['model']=_[_0x166f('0x30')](db[_0x166f('0x2b')][_0x166f('0x47')]);_0x4aef64['attributes']=_[_0x166f('0x31')](_0x3bbc45[_0x166f('0x2e')],qs['fields'](_0x5f3653[_0x166f('0x2f')][_0x166f('0x32')]));_0x4aef64['attributes']=_0x4aef64['attributes'][_0x166f('0x41')]?_0x4aef64[_0x166f('0x33')]:_0x3bbc45[_0x166f('0x2e')];if(_0x5f3653[_0x166f('0x2f')][_0x166f('0x42')]){_0x4aef64['include']=[{'all':!![]}];}_0x4aef64=_[_0x166f('0x3c')]({},_0x4aef64,_0x5f3653[_0x166f('0x3d')]);return db[_0x166f('0x2b')][_0x166f('0x44')](_0x4aef64)['then'](handleEntityNotFound(_0x58d9eb,null))[_0x166f('0x23')](function(_0x4029cc){if(_0x4029cc){var _0x2eea6f=_0x4029cc[_0x166f('0x48')]({'plain':!![]});_0x2eea6f=qs[_0x166f('0x49')](_0x2eea6f,['id','createdAt',_0x166f('0x4a')]);_0x5f3653[_0x166f('0x4b')]=_[_0x166f('0x49')](_0x5f3653[_0x166f('0x4b')],['id',_0x166f('0x4c'),_0x166f('0x4a')]);return db[_0x166f('0x2b')][_0x166f('0x4d')](_['merge'](_0x2eea6f,_0x5f3653['body']),{'include':_0x5f3653[_0x166f('0x2f')]['includeAll']?[{'all':!![]}]:undefined});}})[_0x166f('0x23')](respondWithResult(_0x58d9eb,0xc9))['catch'](handleError(_0x58d9eb,null));};exports[_0x166f('0x22')]=function(_0x4516b3,_0x118952){if(_0x4516b3[_0x166f('0x4b')]['id']){delete _0x4516b3['body']['id'];}return db[_0x166f('0x2b')][_0x166f('0x44')]({'where':{'id':_0x4516b3['params']['id']}})[_0x166f('0x23')](handleEntityNotFound(_0x118952,null))[_0x166f('0x23')](saveUpdates(_0x4516b3[_0x166f('0x4b')],null))[_0x166f('0x23')](respondWithResult(_0x118952,null))['catch'](handleError(_0x118952,null));};exports[_0x166f('0x24')]=function(_0x1e49d0,_0x2c2007){return db[_0x166f('0x2b')][_0x166f('0x44')]({'where':{'id':_0x1e49d0[_0x166f('0x46')]['id']}})[_0x166f('0x23')](handleEntityNotFound(_0x2c2007,null))['then'](removeEntity(_0x2c2007,null))[_0x166f('0x3f')](handleError(_0x2c2007,null));};exports[_0x166f('0x4d')]=function(_0x19a7b5,_0x2ce31c,_0x54fb98){_0x19a7b5[_0x166f('0x4b')][_0x166f('0x27')]=_0x19a7b5[_0x166f('0x4e')][_0x166f('0x4f')];_0x19a7b5['body'][_0x166f('0x50')]=_0x19a7b5[_0x166f('0x4e')][_0x166f('0x51')];_0x19a7b5[_0x166f('0x4b')][_0x166f('0x52')]=_0x19a7b5[_0x166f('0x4e')][_0x166f('0x53')];return db[_0x166f('0x2b')][_0x166f('0x4d')](_0x19a7b5['body'])[_0x166f('0x23')](respondWithResult(_0x2ce31c,0xc9))[_0x166f('0x3f')](handleError(_0x2ce31c,null));};exports[_0x166f('0x54')]=function(_0x18e59a,_0x221219,_0x4c6a28){return db[_0x166f('0x2b')][_0x166f('0x55')]({'where':{'id':_0x18e59a[_0x166f('0x46')]['id']},'raw':!![]})[_0x166f('0x23')](handleEntityNotFound(_0x221219,null))[_0x166f('0x23')](function(_0x329ec9){if(_0x329ec9){var _0x3cb0=_0x329ec9['ChatOfflineMessageId']!==null;var _0x511403=path[_0x166f('0x56')](config[_0x166f('0x57')],_0x166f('0x58'));if(_0x3cb0){_0x511403=path[_0x166f('0x56')](_0x511403,'offline-chat/');}var _0x4490d9=path[_0x166f('0x56')](_0x511403,_0x329ec9[_0x166f('0x50')]);return _0x221219['download'](_0x4490d9);}})[_0x166f('0x3f')](handleError(_0x221219,null));};
\ No newline at end of file
+var _0x9fb0=['body','updatedAt','create','file','originalname','mimetype','ChatOfflineMessageId','join','root','server/files/attachments/','basename','download','zip-dir','request-promise','moment','bluebird','mustache','util','path','to-csv','ejs','lodash','crypto','jsforce','desk.js','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','undefined','count','offset','limit','set','Content-Range','apply','reject','save','then','destroy','error','name','send','index','map','Attachment','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','include','findAll','rows','catch','show','params','length','includeAll','find','clone','rawAttributes','get','omit','createdAt'];(function(_0x5a1e54,_0x2c8f4f){var _0x10f204=function(_0x45b8f9){while(--_0x45b8f9){_0x5a1e54['push'](_0x5a1e54['shift']());}};_0x10f204(++_0x2c8f4f);}(_0x9fb0,0xba));var _0x09fb=function(_0x365e54,_0x44be74){_0x365e54=_0x365e54-0x0;var _0x13317a=_0x9fb0[_0x365e54];return _0x13317a;};'use strict';var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x09fb('0x0'));var jsonpatch=require('fast-json-patch');var rp=require(_0x09fb('0x1'));var moment=require(_0x09fb('0x2'));var BPromise=require(_0x09fb('0x3'));var Mustache=require(_0x09fb('0x4'));var util=require(_0x09fb('0x5'));var path=require(_0x09fb('0x6'));var sox=require('sox');var csv=require(_0x09fb('0x7'));var ejs=require(_0x09fb('0x8'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x09fb('0x9'));var squel=require('squel');var crypto=require(_0x09fb('0xa'));var jsforce=require(_0x09fb('0xb'));var deskjs=require(_0x09fb('0xc'));var toCsv=require(_0x09fb('0x7'));var querystring=require('querystring');var Papa=require(_0x09fb('0xd'));var Redis=require(_0x09fb('0xe'));var authService=require('../../components/auth/service');var qs=require(_0x09fb('0xf'));var as=require(_0x09fb('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x09fb('0x11'))('api');var utils=require('../../config/utils');var config=require(_0x09fb('0x12'));var licenseUtil=require(_0x09fb('0x13'));var db=require(_0x09fb('0x14'))['db'];function respondWithStatusCode(_0x2d108d,_0x2cc8df){_0x2cc8df=_0x2cc8df||0xcc;return function(_0xf53d86){if(_0xf53d86){return _0x2d108d[_0x09fb('0x15')](_0x2cc8df);}return _0x2d108d[_0x09fb('0x16')](_0x2cc8df)[_0x09fb('0x17')]();};}function respondWithResult(_0x57c20,_0xe9c0c7){_0xe9c0c7=_0xe9c0c7||0xc8;return function(_0x2c4fb7){if(_0x2c4fb7){return _0x57c20[_0x09fb('0x16')](_0xe9c0c7)[_0x09fb('0x18')](_0x2c4fb7);}};}function respondWithFilteredResult(_0x2aca67,_0x4b2ec0){return function(_0xb2be9){if(_0xb2be9){var _0x4cfd94=typeof _0x4b2ec0['offset']==='undefined'&&typeof _0x4b2ec0['limit']===_0x09fb('0x19');var _0x506672=_0xb2be9[_0x09fb('0x1a')];var _0x250c5b=_0x4cfd94?0x0:_0x4b2ec0[_0x09fb('0x1b')];var _0x5a9dcb=_0x4cfd94?_0xb2be9[_0x09fb('0x1a')]:_0x4b2ec0['offset']+_0x4b2ec0[_0x09fb('0x1c')];var _0x519777;if(_0x5a9dcb>=_0x506672){_0x5a9dcb=_0x506672;_0x519777=0xc8;}else{_0x519777=0xce;}_0x2aca67[_0x09fb('0x16')](_0x519777);return _0x2aca67[_0x09fb('0x1d')](_0x09fb('0x1e'),_0x250c5b+'-'+_0x5a9dcb+'/'+_0x506672)[_0x09fb('0x18')](_0xb2be9);}return null;};}function patchUpdates(_0x243028){return function(_0x316a3c){try{jsonpatch[_0x09fb('0x1f')](_0x316a3c,_0x243028,!![]);}catch(_0x290263){return BPromise[_0x09fb('0x20')](_0x290263);}return _0x316a3c[_0x09fb('0x21')]();};}function saveUpdates(_0x15eabc,_0x167518){return function(_0x5e80a6){if(_0x5e80a6){return _0x5e80a6['update'](_0x15eabc)[_0x09fb('0x22')](function(_0x208254){return _0x208254;});}return null;};}function removeEntity(_0x58bea5,_0xa5929c){return function(_0x436674){if(_0x436674){return _0x436674[_0x09fb('0x23')]()[_0x09fb('0x22')](function(){_0x58bea5[_0x09fb('0x16')](0xcc)[_0x09fb('0x17')]();});}};}function handleEntityNotFound(_0x3f0503,_0x29201e){return function(_0x1fc682){if(!_0x1fc682){_0x3f0503[_0x09fb('0x15')](0x194);}return _0x1fc682;};}function handleError(_0x3b47aa,_0x21133d){_0x21133d=_0x21133d||0x1f4;return function(_0xa4f614){logger[_0x09fb('0x24')](_0xa4f614['stack']);if(_0xa4f614[_0x09fb('0x25')]){delete _0xa4f614[_0x09fb('0x25')];}_0x3b47aa[_0x09fb('0x16')](_0x21133d)[_0x09fb('0x26')](_0xa4f614);};}exports[_0x09fb('0x27')]=function(_0x1b5dd9,_0x87b320){var _0x190c48={},_0x1cd23d={},_0x226d8f={'count':0x0,'rows':[]};var _0x239298=_[_0x09fb('0x28')](db[_0x09fb('0x29')]['rawAttributes'],function(_0x1c60c4){return{'name':_0x1c60c4[_0x09fb('0x2a')],'type':_0x1c60c4[_0x09fb('0x2b')][_0x09fb('0x2c')]};});_0x1cd23d[_0x09fb('0x2d')]=_[_0x09fb('0x28')](_0x239298,_0x09fb('0x25'));_0x1cd23d[_0x09fb('0x2e')]=_[_0x09fb('0x2f')](_0x1b5dd9[_0x09fb('0x2e')]);_0x1cd23d[_0x09fb('0x30')]=_[_0x09fb('0x31')](_0x1cd23d[_0x09fb('0x2d')],_0x1cd23d[_0x09fb('0x2e')]);_0x190c48[_0x09fb('0x32')]=_[_0x09fb('0x31')](_0x1cd23d[_0x09fb('0x2d')],qs[_0x09fb('0x33')](_0x1b5dd9['query'][_0x09fb('0x33')]));_0x190c48[_0x09fb('0x32')]=_0x190c48['attributes']['length']?_0x190c48[_0x09fb('0x32')]:_0x1cd23d[_0x09fb('0x2d')];if(!_0x1b5dd9[_0x09fb('0x2e')]['hasOwnProperty'](_0x09fb('0x34'))){_0x190c48[_0x09fb('0x1c')]=qs[_0x09fb('0x1c')](_0x1b5dd9[_0x09fb('0x2e')][_0x09fb('0x1c')]);_0x190c48['offset']=qs[_0x09fb('0x1b')](_0x1b5dd9[_0x09fb('0x2e')]['offset']);}_0x190c48[_0x09fb('0x35')]=qs[_0x09fb('0x36')](_0x1b5dd9[_0x09fb('0x2e')][_0x09fb('0x36')]);_0x190c48[_0x09fb('0x37')]=qs[_0x09fb('0x30')](_[_0x09fb('0x38')](_0x1b5dd9['query'],_0x1cd23d[_0x09fb('0x30')]),_0x239298);if(_0x1b5dd9['query'][_0x09fb('0x39')]){_0x190c48[_0x09fb('0x37')]=_[_0x09fb('0x3a')](_0x190c48[_0x09fb('0x37')],{'$or':_['map'](_0x239298,function(_0x8d492c){if(_0x8d492c[_0x09fb('0x2b')]!==_0x09fb('0x3b')){var _0xf86575={};_0xf86575[_0x8d492c[_0x09fb('0x25')]]={'$like':'%'+_0x1b5dd9[_0x09fb('0x2e')][_0x09fb('0x39')]+'%'};return _0xf86575;}})});}_0x190c48=_['merge']({},_0x190c48,_0x1b5dd9[_0x09fb('0x3c')]);var _0x4e07c6={'where':_0x190c48[_0x09fb('0x37')]};return db['Attachment'][_0x09fb('0x1a')](_0x4e07c6)['then'](function(_0xbe6c42){_0x226d8f[_0x09fb('0x1a')]=_0xbe6c42;if(_0x1b5dd9['query']['includeAll']){_0x190c48[_0x09fb('0x3d')]=[{'all':!![]}];}return db[_0x09fb('0x29')][_0x09fb('0x3e')](_0x190c48);})[_0x09fb('0x22')](function(_0x14ada1){_0x226d8f[_0x09fb('0x3f')]=_0x14ada1;return _0x226d8f;})['then'](respondWithFilteredResult(_0x87b320,_0x190c48))[_0x09fb('0x40')](handleError(_0x87b320,null));};exports[_0x09fb('0x41')]=function(_0x129c80,_0x345c15){var _0x537666={'raw':!![],'where':{'id':_0x129c80[_0x09fb('0x42')]['id']}},_0x27e8ec={};_0x27e8ec[_0x09fb('0x2d')]=_[_0x09fb('0x2f')](db[_0x09fb('0x29')]['rawAttributes']);_0x27e8ec[_0x09fb('0x2e')]=_['keys'](_0x129c80[_0x09fb('0x2e')]);_0x27e8ec['filters']=_[_0x09fb('0x31')](_0x27e8ec['model'],_0x27e8ec['query']);_0x537666[_0x09fb('0x32')]=_[_0x09fb('0x31')](_0x27e8ec['model'],qs[_0x09fb('0x33')](_0x129c80[_0x09fb('0x2e')][_0x09fb('0x33')]));_0x537666[_0x09fb('0x32')]=_0x537666[_0x09fb('0x32')][_0x09fb('0x43')]?_0x537666[_0x09fb('0x32')]:_0x27e8ec['model'];if(_0x129c80[_0x09fb('0x2e')][_0x09fb('0x44')]){_0x537666[_0x09fb('0x3d')]=[{'all':!![]}];}_0x537666=_[_0x09fb('0x3a')]({},_0x537666,_0x129c80[_0x09fb('0x3c')]);return db[_0x09fb('0x29')][_0x09fb('0x45')](_0x537666)[_0x09fb('0x22')](handleEntityNotFound(_0x345c15,null))['then'](respondWithResult(_0x345c15,null))[_0x09fb('0x40')](handleError(_0x345c15,null));};exports[_0x09fb('0x46')]=function(_0xaff47a,_0x3f3db6){var _0x509061={'where':{'id':_0xaff47a['params']['id']}},_0x4e1142={};_0x4e1142['model']=_[_0x09fb('0x2f')](db[_0x09fb('0x29')][_0x09fb('0x47')]);_0x509061[_0x09fb('0x32')]=_[_0x09fb('0x31')](_0x4e1142[_0x09fb('0x2d')],qs[_0x09fb('0x33')](_0xaff47a[_0x09fb('0x2e')][_0x09fb('0x33')]));_0x509061[_0x09fb('0x32')]=_0x509061[_0x09fb('0x32')]['length']?_0x509061[_0x09fb('0x32')]:_0x4e1142['model'];if(_0xaff47a[_0x09fb('0x2e')][_0x09fb('0x44')]){_0x509061[_0x09fb('0x3d')]=[{'all':!![]}];}_0x509061=_[_0x09fb('0x3a')]({},_0x509061,_0xaff47a['options']);return db[_0x09fb('0x29')]['find'](_0x509061)[_0x09fb('0x22')](handleEntityNotFound(_0x3f3db6,null))['then'](function(_0x414f7e){if(_0x414f7e){var _0x24585c=_0x414f7e[_0x09fb('0x48')]({'plain':!![]});_0x24585c=qs[_0x09fb('0x49')](_0x24585c,['id',_0x09fb('0x4a'),'updatedAt']);_0xaff47a[_0x09fb('0x4b')]=_['omit'](_0xaff47a[_0x09fb('0x4b')],['id',_0x09fb('0x4a'),_0x09fb('0x4c')]);return db['Attachment'][_0x09fb('0x4d')](_[_0x09fb('0x3a')](_0x24585c,_0xaff47a[_0x09fb('0x4b')]),{'include':_0xaff47a[_0x09fb('0x2e')]['includeAll']?[{'all':!![]}]:undefined});}})[_0x09fb('0x22')](respondWithResult(_0x3f3db6,0xc9))[_0x09fb('0x40')](handleError(_0x3f3db6,null));};exports['update']=function(_0x2fd384,_0x1b89e3){if(_0x2fd384[_0x09fb('0x4b')]['id']){delete _0x2fd384[_0x09fb('0x4b')]['id'];}return db['Attachment'][_0x09fb('0x45')]({'where':{'id':_0x2fd384['params']['id']}})[_0x09fb('0x22')](handleEntityNotFound(_0x1b89e3,null))['then'](saveUpdates(_0x2fd384['body'],null))[_0x09fb('0x22')](respondWithResult(_0x1b89e3,null))[_0x09fb('0x40')](handleError(_0x1b89e3,null));};exports['destroy']=function(_0x2e0a87,_0x5834ac){return db[_0x09fb('0x29')][_0x09fb('0x45')]({'where':{'id':_0x2e0a87[_0x09fb('0x42')]['id']}})[_0x09fb('0x22')](handleEntityNotFound(_0x5834ac,null))[_0x09fb('0x22')](removeEntity(_0x5834ac,null))[_0x09fb('0x40')](handleError(_0x5834ac,null));};exports['create']=function(_0xa7a33c,_0x40f5b8,_0x75753e){_0xa7a33c[_0x09fb('0x4b')][_0x09fb('0x25')]=_0xa7a33c[_0x09fb('0x4e')][_0x09fb('0x4f')];_0xa7a33c[_0x09fb('0x4b')]['basename']=_0xa7a33c[_0x09fb('0x4e')]['filename'];_0xa7a33c['body']['type']=_0xa7a33c[_0x09fb('0x4e')][_0x09fb('0x50')];return db['Attachment'][_0x09fb('0x4d')](_0xa7a33c['body'])[_0x09fb('0x22')](respondWithResult(_0x40f5b8,0xc9))[_0x09fb('0x40')](handleError(_0x40f5b8,null));};exports['download']=function(_0x389f8a,_0x4b1a58,_0x159a51){return db['Attachment']['findOne']({'where':{'id':_0x389f8a[_0x09fb('0x42')]['id']},'raw':!![]})[_0x09fb('0x22')](handleEntityNotFound(_0x4b1a58,null))[_0x09fb('0x22')](function(_0x7d418){if(_0x7d418){var _0x417564=_0x7d418[_0x09fb('0x51')]!==null;var _0x2ad73f=path[_0x09fb('0x52')](config[_0x09fb('0x53')],_0x09fb('0x54'));if(_0x417564){_0x2ad73f=path[_0x09fb('0x52')](_0x2ad73f,'offline-chat/');}var _0x46cbc9=path[_0x09fb('0x52')](_0x2ad73f,_0x7d418[_0x09fb('0x55')]);return _0x4b1a58[_0x09fb('0x56')](_0x46cbc9);}})[_0x09fb('0x40')](handleError(_0x4b1a58,null));};
\ No newline at end of file
diff --git a/server/api/attachment/attachment.model.js b/server/api/attachment/attachment.model.js
index a9f0447..ed73184 100644
--- a/server/api/attachment/attachment.model.js
+++ b/server/api/attachment/attachment.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x1827=['util','api','moment','bluebird','request-promise','rimraf','./attachment.attributes','attachments','lodash'];(function(_0x43dfe1,_0x3c63be){var _0x91126d=function(_0x561fc9){while(--_0x561fc9){_0x43dfe1['push'](_0x43dfe1['shift']());}};_0x91126d(++_0x3c63be);}(_0x1827,0x18b));var _0x7182=function(_0x4fde08,_0x463a36){_0x4fde08=_0x4fde08-0x0;var _0x12e725=_0x1827[_0x4fde08];return _0x12e725;};'use strict';var _=require(_0x7182('0x0'));var util=require(_0x7182('0x1'));var logger=require('../../config/logger')(_0x7182('0x2'));var moment=require(_0x7182('0x3'));var BPromise=require(_0x7182('0x4'));var rp=require(_0x7182('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7182('0x6'));var config=require('../../config/environment');var attributes=require(_0x7182('0x7'));module['exports']=function(_0x46d0fd,_0x41f0f3){return _0x46d0fd['define']('Attachment',attributes,{'tableName':_0x7182('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x6a04=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./attachment.attributes','exports','define','Attachment','attachments'];(function(_0xc4b2a,_0x49e489){var _0x2e3cce=function(_0x3810b5){while(--_0x3810b5){_0xc4b2a['push'](_0xc4b2a['shift']());}};_0x2e3cce(++_0x49e489);}(_0x6a04,0xa8));var _0x46a0=function(_0x1a7bed,_0x15278d){_0x1a7bed=_0x1a7bed-0x0;var _0x2d9381=_0x6a04[_0x1a7bed];return _0x2d9381;};'use strict';var _=require(_0x46a0('0x0'));var util=require(_0x46a0('0x1'));var logger=require(_0x46a0('0x2'))(_0x46a0('0x3'));var moment=require(_0x46a0('0x4'));var BPromise=require(_0x46a0('0x5'));var rp=require(_0x46a0('0x6'));var fs=require('fs');var path=require(_0x46a0('0x7'));var rimraf=require(_0x46a0('0x8'));var config=require('../../config/environment');var attributes=require(_0x46a0('0x9'));module[_0x46a0('0xa')]=function(_0x585dea,_0xb94f9a){return _0x585dea[_0x46a0('0xb')](_0x46a0('0xc'),attributes,{'tableName':_0x46a0('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/attachment/attachment.rpc.js b/server/api/attachment/attachment.rpc.js
index 33c629a..58857a3 100644
--- a/server/api/attachment/attachment.rpc.js
+++ b/server/api/attachment/attachment.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x4b1f=['randomstring','ioredis','../../config/utils','../../config/logger','rpc','client','http','then','info','debug','Attachment,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','Attachment,\x20%s,\x20%s','message','Attachment','create','options','CreateAttachment','lodash','util','bluebird'];(function(_0x3a5bb9,_0x4da2b8){var _0x4506e4=function(_0x46dc1d){while(--_0x46dc1d){_0x3a5bb9['push'](_0x3a5bb9['shift']());}};_0x4506e4(++_0x4da2b8);}(_0x4b1f,0x195));var _0xf4b1=function(_0x1589dd,_0x2b9d22){_0x1589dd=_0x1589dd-0x0;var _0x1bddd1=_0x4b1f[_0x1589dd];return _0x1bddd1;};'use strict';var _=require(_0xf4b1('0x0'));var util=require(_0xf4b1('0x1'));var moment=require('moment');var BPromise=require(_0xf4b1('0x2'));var rs=require(_0xf4b1('0x3'));var fs=require('fs');var Redis=require(_0xf4b1('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0xf4b1('0x5'));var logger=require(_0xf4b1('0x6'))(_0xf4b1('0x7'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0xf4b1('0x8')][_0xf4b1('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x310db5,_0x3b9c78,_0x1abfc7){return new BPromise(function(_0x50738c,_0x59cf77){return client['request'](_0x310db5,_0x1abfc7)[_0xf4b1('0xa')](function(_0x53a786){logger[_0xf4b1('0xb')]('Attachment,\x20%s,\x20%s',_0x3b9c78,'request\x20sent');logger[_0xf4b1('0xc')](_0xf4b1('0xd'),_0x3b9c78,_0xf4b1('0xe'),JSON[_0xf4b1('0xf')](_0x53a786));if(_0x53a786[_0xf4b1('0x10')]){if(_0x53a786[_0xf4b1('0x10')][_0xf4b1('0x11')]===0x1f4){logger[_0xf4b1('0x10')](_0xf4b1('0x12'),_0x3b9c78,_0x53a786[_0xf4b1('0x10')][_0xf4b1('0x13')]);return _0x59cf77(_0x53a786[_0xf4b1('0x10')][_0xf4b1('0x13')]);}logger['error']('Attachment,\x20%s,\x20%s',_0x3b9c78,_0x53a786[_0xf4b1('0x10')]['message']);return _0x50738c(_0x53a786['error'][_0xf4b1('0x13')]);}else{logger['info']('Attachment,\x20%s,\x20%s',_0x3b9c78,_0xf4b1('0xe'));_0x50738c(_0x53a786['result']['message']);}})['catch'](function(_0x5cb2a1){logger[_0xf4b1('0x10')](_0xf4b1('0x12'),_0x3b9c78,_0x5cb2a1);_0x59cf77(_0x5cb2a1);});});}exports['CreateAttachment']=function(_0x3b378e){var _0x420f9e=this;return new Promise(function(_0x322b38,_0x465da2){return db[_0xf4b1('0x14')][_0xf4b1('0x15')](_0x3b378e['body'],{'raw':_0x3b378e[_0xf4b1('0x16')]?_0x3b378e[_0xf4b1('0x16')]['raw']===undefined?!![]:![]:!![]})[_0xf4b1('0xa')](function(_0x30c239){logger['info'](_0xf4b1('0x17'),_0x3b378e);logger[_0xf4b1('0xc')](_0xf4b1('0x17'),_0x3b378e,JSON[_0xf4b1('0xf')](_0x30c239));_0x322b38(_0x30c239);})['catch'](function(_0x20013c){logger[_0xf4b1('0x10')](_0xf4b1('0x17'),_0x20013c[_0xf4b1('0x13')],_0x3b378e);_0x465da2(_0x420f9e['error'](0x1f4,_0x20013c[_0xf4b1('0x13')]));});});};
\ No newline at end of file
+var _0xa37e=['catch','moment','bluebird','randomstring','ioredis','../../config/utils','rpc','../../config/environment','jayson/promise','request','then','info','Attachment,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','CreateAttachment','Attachment','create','body','options','raw'];(function(_0x401609,_0x5eb61d){var _0x35fd57=function(_0x5dcddd){while(--_0x5dcddd){_0x401609['push'](_0x401609['shift']());}};_0x35fd57(++_0x5eb61d);}(_0xa37e,0x97));var _0xea37=function(_0x1411f9,_0x83d3b6){_0x1411f9=_0x1411f9-0x0;var _0x48431c=_0xa37e[_0x1411f9];return _0x48431c;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0xea37('0x0'));var BPromise=require(_0xea37('0x1'));var rs=require(_0xea37('0x2'));var fs=require('fs');var Redis=require(_0xea37('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0xea37('0x4'));var logger=require('../../config/logger')(_0xea37('0x5'));var config=require(_0xea37('0x6'));var jayson=require(_0xea37('0x7'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x36c489,_0x4a9e08,_0x4ae081){return new BPromise(function(_0x2c2890,_0x1401e1){return client[_0xea37('0x8')](_0x36c489,_0x4ae081)[_0xea37('0x9')](function(_0x5e4ebe){logger[_0xea37('0xa')](_0xea37('0xb'),_0x4a9e08,_0xea37('0xc'));logger['debug']('Attachment,\x20%s,\x20%s,\x20%s',_0x4a9e08,_0xea37('0xc'),JSON[_0xea37('0xd')](_0x5e4ebe));if(_0x5e4ebe[_0xea37('0xe')]){if(_0x5e4ebe['error'][_0xea37('0xf')]===0x1f4){logger[_0xea37('0xe')](_0xea37('0xb'),_0x4a9e08,_0x5e4ebe['error'][_0xea37('0x10')]);return _0x1401e1(_0x5e4ebe[_0xea37('0xe')]['message']);}logger[_0xea37('0xe')]('Attachment,\x20%s,\x20%s',_0x4a9e08,_0x5e4ebe[_0xea37('0xe')]['message']);return _0x2c2890(_0x5e4ebe[_0xea37('0xe')][_0xea37('0x10')]);}else{logger[_0xea37('0xa')](_0xea37('0xb'),_0x4a9e08,'request\x20sent');_0x2c2890(_0x5e4ebe[_0xea37('0x11')]['message']);}})['catch'](function(_0x3ae3cc){logger['error'](_0xea37('0xb'),_0x4a9e08,_0x3ae3cc);_0x1401e1(_0x3ae3cc);});});}exports[_0xea37('0x12')]=function(_0x4ef3c9){var _0x2242f0=this;return new Promise(function(_0x465d3b,_0x5427e7){return db[_0xea37('0x13')][_0xea37('0x14')](_0x4ef3c9[_0xea37('0x15')],{'raw':_0x4ef3c9[_0xea37('0x16')]?_0x4ef3c9[_0xea37('0x16')][_0xea37('0x17')]===undefined?!![]:![]:!![]})[_0xea37('0x9')](function(_0x238567){logger[_0xea37('0xa')](_0xea37('0x12'),_0x4ef3c9);logger['debug'](_0xea37('0x12'),_0x4ef3c9,JSON[_0xea37('0xd')](_0x238567));_0x465d3b(_0x238567);})[_0xea37('0x18')](function(_0x536eff){logger['error'](_0xea37('0x12'),_0x536eff[_0xea37('0x10')],_0x4ef3c9);_0x5427e7(_0x2242f0[_0xea37('0xe')](0x1f4,_0x536eff[_0xea37('0x10')]));});});};
\ No newline at end of file
diff --git a/server/api/attachment/index.js b/server/api/attachment/index.js
index a52af9b..f56075d 100644
--- a/server/api/attachment/index.js
+++ b/server/api/attachment/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x2032=['./attachment.controller','get','isAuthenticated','index','/:id','show','download','/:id/clone','clone','root','server/files/attachments/','now','post','single','file','create','put','update','delete','destroy','exports','util','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment'];(function(_0x58a1e9,_0x3f02e0){var _0x147e7e=function(_0x431534){while(--_0x431534){_0x58a1e9['push'](_0x58a1e9['shift']());}};_0x147e7e(++_0x3f02e0);}(_0x2032,0xd9));var _0x2203=function(_0x680364,_0x33932c){_0x680364=_0x680364-0x0;var _0x521865=_0x2032[_0x680364];return _0x521865;};'use strict';var multer=require('multer');var util=require(_0x2203('0x0'));var path=require(_0x2203('0x1'));var timeout=require(_0x2203('0x2'));var express=require('express');var router=express[_0x2203('0x3')]();var fs_extra=require(_0x2203('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x2203('0x5'));var config=require(_0x2203('0x6'));var controller=require(_0x2203('0x7'));router[_0x2203('0x8')]('/',auth[_0x2203('0x9')](),controller[_0x2203('0xa')]);router[_0x2203('0x8')](_0x2203('0xb'),auth[_0x2203('0x9')](),controller[_0x2203('0xc')]);router[_0x2203('0x8')]('/:id/download',auth['isAuthenticated'](),controller[_0x2203('0xd')]);router['post'](_0x2203('0xe'),auth[_0x2203('0x9')](),controller[_0x2203('0xf')]);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0x849049,_0x4a6832,_0x3f690a){_0x3f690a(null,path['join'](config[_0x2203('0x10')],_0x2203('0x11')));},'filename':function(_0x4b9376,_0x583bc7,_0x585c76){_0x585c76(null,util['format']('%s-%s',Date[_0x2203('0x12')](),_0x583bc7['originalname']['replace'](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0x2203('0x13')]('/',upload[_0x2203('0x14')](_0x2203('0x15')),controller[_0x2203('0x16')]);router[_0x2203('0x17')](_0x2203('0xb'),auth[_0x2203('0x9')](),controller[_0x2203('0x18')]);router[_0x2203('0x19')](_0x2203('0xb'),auth['isAuthenticated'](),controller[_0x2203('0x1a')]);module[_0x2203('0x1b')]=router;
\ No newline at end of file
+var _0x757a=['put','/:id','update','delete','destroy','exports','util','path','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./attachment.controller','get','index','isAuthenticated','show','/:id/download','post','/:id/clone','clone','diskStorage','%s-%s','replace','single','file','create'];(function(_0xc3faf,_0x263ca6){var _0x3ccbd4=function(_0xb75a34){while(--_0xb75a34){_0xc3faf['push'](_0xc3faf['shift']());}};_0x3ccbd4(++_0x263ca6);}(_0x757a,0xde));var _0xa757=function(_0x7d12ad,_0x290075){_0x7d12ad=_0x7d12ad-0x0;var _0x49fb5b=_0x757a[_0x7d12ad];return _0x49fb5b;};'use strict';var multer=require('multer');var util=require(_0xa757('0x0'));var path=require(_0xa757('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0xa757('0x2'));var auth=require(_0xa757('0x3'));var interaction=require(_0xa757('0x4'));var config=require(_0xa757('0x5'));var controller=require(_0xa757('0x6'));router[_0xa757('0x7')]('/',auth['isAuthenticated'](),controller[_0xa757('0x8')]);router[_0xa757('0x7')]('/:id',auth[_0xa757('0x9')](),controller[_0xa757('0xa')]);router[_0xa757('0x7')](_0xa757('0xb'),auth[_0xa757('0x9')](),controller['download']);router[_0xa757('0xc')](_0xa757('0xd'),auth[_0xa757('0x9')](),controller[_0xa757('0xe')]);var upload=multer({'storage':multer[_0xa757('0xf')]({'destination':function(_0x188ad5,_0x17408b,_0x483d77){_0x483d77(null,path['join'](config['root'],'server/files/attachments/'));},'filename':function(_0x4db68e,_0x421040,_0x544b45){_0x544b45(null,util['format'](_0xa757('0x10'),Date['now'](),_0x421040['originalname'][_0xa757('0x11')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0xa757('0xc')]('/',upload[_0xa757('0x12')](_0xa757('0x13')),controller[_0xa757('0x14')]);router[_0xa757('0x15')](_0xa757('0x16'),auth[_0xa757('0x9')](),controller[_0xa757('0x17')]);router[_0xa757('0x18')]('/:id',auth[_0xa757('0x9')](),controller[_0xa757('0x19')]);module[_0xa757('0x1a')]=router;
\ No newline at end of file
diff --git a/server/api/authActiveDirectory/authActiveDirectory.controller.js b/server/api/authActiveDirectory/authActiveDirectory.controller.js
index d500835..fcc6d0f 100644
--- a/server/api/authActiveDirectory/authActiveDirectory.controller.js
+++ b/server/api/authActiveDirectory/authActiveDirectory.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x8402=['Something\x20went\x20wrong,\x20please\x20try\x20again.','signToken','json','passport-local','Strategy','moment','activedirectory2','util','../../mysqldb','../../config/utils','../../config/environment','api','activedirectory','baseDN','url','domain','authenticate','error','Error\x20authenticate\x20%s:\x20%s','Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.','Error\x20authenticate\x20%s:\x20Wrong\x20credentials','Error\x20authenticate\x20%s:\x20Active\x20Directory\x20not\x20configured','Setting','findOne','then','adSsoEnabled','Error\x20authenticate\x20%s:\x20Active\x20Directory\x20not\x20enabled','password','salt','role','disabled','blockedAt','online','admin','user','agent','name','blockDuration','add','minutes','clearBlockUser','getLicense','status','send','message'];(function(_0x1ea1be,_0x3a97b8){var _0x84f949=function(_0x334ba1){while(--_0x334ba1){_0x1ea1be['push'](_0x1ea1be['shift']());}};_0x84f949(++_0x3a97b8);}(_0x8402,0x1c5));var _0x2840=function(_0x2cc610,_0x22031d){_0x2cc610=_0x2cc610-0x0;var _0x16f17c=_0x8402[_0x2cc610];return _0x16f17c;};'use strict';var passport=require('passport');var LocalStrategy=require(_0x2840('0x0'))[_0x2840('0x1')];var moment=require(_0x2840('0x2'));var ActiveDirectory=require(_0x2840('0x3'));var BPromise=require('bluebird');var util=require(_0x2840('0x4'));var db=require(_0x2840('0x5'))['db'];var authService=require('../../components/auth/service');var utils=require(_0x2840('0x6'));var config=require(_0x2840('0x7'));var logger=require('../../config/logger')(_0x2840('0x8'));function isActiveDirectoryConfigured(_0x4e2fa0){var _0xa91792=![];if(typeof _0x4e2fa0[_0x2840('0x9')]!=='undefined'){_0xa91792=_0x4e2fa0[_0x2840('0x9')][_0x2840('0xa')]&&_0x4e2fa0[_0x2840('0x9')][_0x2840('0xb')]&&_0x4e2fa0['activedirectory'][_0x2840('0xc')];}return _0xa91792;}function adAuthenticate(_0x3de2c8,_0x179340,_0x5b975d){return new BPromise(function(_0x34e7b2,_0xa3fd3b){try{var _0x3d3818=new ActiveDirectory(_0x3de2c8);_0x3d3818[_0x2840('0xd')](_0x179340,_0x5b975d,function(_0x472b9d,_0x515d8a){if(_0x472b9d){logger[_0x2840('0xe')](_0x2840('0xf'),_0x179340,util['inspect'](_0x472b9d,{'showHidden':![],'depth':null}));_0xa3fd3b(_0x2840('0x10'));}else if(!_0x515d8a){logger['error'](_0x2840('0x11'),_0x179340);_0xa3fd3b(_0x2840('0x10'));}else{_0x34e7b2(_0x515d8a);}});}catch(_0xd814bf){_0xa3fd3b(_0xd814bf);}});}function ActiveDirectoryAuthenticate(_0x1da68e,_0x5b5f04,_0x5f1d30,_0x54290c){var _0x3e9e95,_0x293c78;if(!isActiveDirectoryConfigured(config)){logger['error'](_0x2840('0x12'),_0x5b5f04);return _0x54290c(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}return db[_0x2840('0x13')][_0x2840('0x14')]({'where':{'id':0x1},'attributes':['adSsoEnabled','blockDuration'],'raw':!![]})[_0x2840('0x15')](function(_0x5d3d0b){_0x3e9e95=_0x5d3d0b;if(!_0x3e9e95[_0x2840('0x16')]){logger[_0x2840('0xe')](_0x2840('0x17'),_0x5b5f04);throw new Error('Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.');}return _0x1da68e['findOne']({'attributes':['id','name',_0x2840('0x18'),_0x2840('0x19'),_0x2840('0x1a'),_0x2840('0x1b'),'blocked',_0x2840('0x1c'),_0x2840('0x1d')],'where':{'name':_0x5b5f04,'role':{'$or':[_0x2840('0x1e'),_0x2840('0x1f'),_0x2840('0x20')]},'adSsoEnabled':!![]}});})['then'](function(_0x3a297c){if(!_0x3a297c||_0x3a297c&&_0x3a297c[_0x2840('0x21')]!==_0x5b5f04){throw new Error(_0x2840('0x10'));}_0x293c78=_0x3a297c;var _0x3a3388=_0x293c78[_0x2840('0x21')]+'@'+config[_0x2840('0x9')][_0x2840('0xc')];return adAuthenticate(config[_0x2840('0x9')],_0x3a3388,_0x5f1d30);})[_0x2840('0x15')](function(_0x5695fe){if(_0x293c78[_0x2840('0x1b')]){throw new Error('Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.');}if(_0x3e9e95[_0x2840('0x22')]>0x0){if(_0x293c78['blocked']){if(moment(_0x293c78[_0x2840('0x1c')])[_0x2840('0x23')](_0x3e9e95['blockDuration'],_0x2840('0x24'))>moment()){throw new Error('Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.');}return utils[_0x2840('0x25')](_0x293c78,0x0,![],null)['then'](function(){return utils[_0x2840('0x26')](_0x293c78);})[_0x2840('0x15')](function(){return _0x54290c(null,_0x293c78);});}else{return utils[_0x2840('0x26')](_0x293c78)[_0x2840('0x15')](function(){return _0x54290c(null,_0x293c78);});}}else{return utils[_0x2840('0x26')](_0x293c78)['then'](function(){return _0x54290c(null,_0x293c78);});}})['catch'](function(_0x5372e8){return _0x54290c(null,![],_0x5372e8);});}function handleError(_0x47012e,_0x296936,_0x273c5e){return _0x47012e[_0x2840('0x27')](_0x296936||0x1f4)[_0x2840('0x28')]({'message':_0x273c5e?_0x273c5e[_0x2840('0x29')]||_0x273c5e:''});}exports['login']=function(_0x28deff,_0x2a9424,_0x149f3f){passport[_0x2840('0xd')]('ad-login',function(_0x2e6596,_0x436eaf,_0x3e68db){var _0x172380=_0x2e6596||_0x3e68db;if(_0x172380){return handleError(_0x2a9424,0x191,_0x172380);}if(!_0x436eaf){return handleError(_0x2a9424,0x194,{'message':_0x2840('0x2a')});}else{var _0x3e9371={'payload':{'id':_0x436eaf['id'],'role':_0x436eaf['role']},'options':{'expiresIn':0x15180}};return authService[_0x2840('0x2b')](_0x3e9371)[_0x2840('0x15')](function(_0x3acff0){_0x2a9424[_0x2840('0x2c')]({'id':_0x436eaf['id'],'token':_0x3acff0,'statusCall':'','isAlreadyLogged':_0x436eaf['online']});});}})(_0x28deff,_0x2a9424,_0x149f3f);};passport['use']('ad-login',new LocalStrategy({'usernameField':'name','passwordField':_0x2840('0x18')},function(_0x43e691,_0x3d192e,_0x506ce6){return ActiveDirectoryAuthenticate(db['User'],_0x43e691,_0x3d192e,_0x506ce6);}));
\ No newline at end of file
+var _0xead1=['name','then','blockedAt','add','minutes','getLicense','status','message','login','ad-login','Something\x20went\x20wrong,\x20please\x20try\x20again.','json','User','passport-local','Strategy','util','../../components/auth/service','../../config/utils','../../config/environment','api','activedirectory','undefined','baseDN','url','domain','authenticate','error','Error\x20authenticate\x20%s:\x20%s','inspect','Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.','Error\x20authenticate\x20%s:\x20Wrong\x20credentials','Error\x20authenticate\x20%s:\x20Active\x20Directory\x20not\x20configured','Setting','adSsoEnabled','blockDuration','findOne','password','role','disabled','blocked','online','user','agent'];(function(_0x325746,_0x2a0d8a){var _0x41ca9b=function(_0x47ce37){while(--_0x47ce37){_0x325746['push'](_0x325746['shift']());}};_0x41ca9b(++_0x2a0d8a);}(_0xead1,0x1e6));var _0x1ead=function(_0x4e1d03,_0x786f3a){_0x4e1d03=_0x4e1d03-0x0;var _0x362d4b=_0xead1[_0x4e1d03];return _0x362d4b;};'use strict';var passport=require('passport');var LocalStrategy=require(_0x1ead('0x0'))[_0x1ead('0x1')];var moment=require('moment');var ActiveDirectory=require('activedirectory2');var BPromise=require('bluebird');var util=require(_0x1ead('0x2'));var db=require('../../mysqldb')['db'];var authService=require(_0x1ead('0x3'));var utils=require(_0x1ead('0x4'));var config=require(_0x1ead('0x5'));var logger=require('../../config/logger')(_0x1ead('0x6'));function isActiveDirectoryConfigured(_0x3bbe69){var _0x10cc88=![];if(typeof _0x3bbe69[_0x1ead('0x7')]!==_0x1ead('0x8')){_0x10cc88=_0x3bbe69[_0x1ead('0x7')][_0x1ead('0x9')]&&_0x3bbe69['activedirectory'][_0x1ead('0xa')]&&_0x3bbe69['activedirectory'][_0x1ead('0xb')];}return _0x10cc88;}function adAuthenticate(_0x56a16b,_0x3244c9,_0x8e2a12){return new BPromise(function(_0x53b3e1,_0x817401){try{var _0x4d9c92=new ActiveDirectory(_0x56a16b);_0x4d9c92[_0x1ead('0xc')](_0x3244c9,_0x8e2a12,function(_0xa6ed38,_0x4df8af){if(_0xa6ed38){logger[_0x1ead('0xd')](_0x1ead('0xe'),_0x3244c9,util[_0x1ead('0xf')](_0xa6ed38,{'showHidden':![],'depth':null}));_0x817401(_0x1ead('0x10'));}else if(!_0x4df8af){logger[_0x1ead('0xd')](_0x1ead('0x11'),_0x3244c9);_0x817401(_0x1ead('0x10'));}else{_0x53b3e1(_0x4df8af);}});}catch(_0x1f9ee8){_0x817401(_0x1f9ee8);}});}function ActiveDirectoryAuthenticate(_0x1bae0a,_0x6385f7,_0x41bdee,_0x3f241b){var _0x4ba93b,_0x55e952;if(!isActiveDirectoryConfigured(config)){logger[_0x1ead('0xd')](_0x1ead('0x12'),_0x6385f7);return _0x3f241b(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}return db[_0x1ead('0x13')]['findOne']({'where':{'id':0x1},'attributes':[_0x1ead('0x14'),_0x1ead('0x15')],'raw':!![]})['then'](function(_0x4a2aef){_0x4ba93b=_0x4a2aef;if(!_0x4ba93b['adSsoEnabled']){logger[_0x1ead('0xd')]('Error\x20authenticate\x20%s:\x20Active\x20Directory\x20not\x20enabled',_0x6385f7);throw new Error(_0x1ead('0x10'));}return _0x1bae0a[_0x1ead('0x16')]({'attributes':['id','name',_0x1ead('0x17'),'salt',_0x1ead('0x18'),_0x1ead('0x19'),_0x1ead('0x1a'),'blockedAt',_0x1ead('0x1b')],'where':{'name':_0x6385f7,'role':{'$or':['admin',_0x1ead('0x1c'),_0x1ead('0x1d')]},'adSsoEnabled':!![]}});})['then'](function(_0x29d424){if(!_0x29d424||_0x29d424&&_0x29d424[_0x1ead('0x1e')]!==_0x6385f7){throw new Error('Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.');}_0x55e952=_0x29d424;var _0x155e8=_0x55e952[_0x1ead('0x1e')]+'@'+config[_0x1ead('0x7')][_0x1ead('0xb')];return adAuthenticate(config[_0x1ead('0x7')],_0x155e8,_0x41bdee);})[_0x1ead('0x1f')](function(_0x168573){if(_0x55e952[_0x1ead('0x19')]){throw new Error(_0x1ead('0x10'));}if(_0x4ba93b[_0x1ead('0x15')]>0x0){if(_0x55e952['blocked']){if(moment(_0x55e952[_0x1ead('0x20')])[_0x1ead('0x21')](_0x4ba93b[_0x1ead('0x15')],_0x1ead('0x22'))>moment()){throw new Error(_0x1ead('0x10'));}return utils['clearBlockUser'](_0x55e952,0x0,![],null)[_0x1ead('0x1f')](function(){return utils[_0x1ead('0x23')](_0x55e952);})[_0x1ead('0x1f')](function(){return _0x3f241b(null,_0x55e952);});}else{return utils[_0x1ead('0x23')](_0x55e952)['then'](function(){return _0x3f241b(null,_0x55e952);});}}else{return utils[_0x1ead('0x23')](_0x55e952)[_0x1ead('0x1f')](function(){return _0x3f241b(null,_0x55e952);});}})['catch'](function(_0x18802c){return _0x3f241b(null,![],_0x18802c);});}function handleError(_0x425a6c,_0x5c8e34,_0x2ea6da){return _0x425a6c[_0x1ead('0x24')](_0x5c8e34||0x1f4)['send']({'message':_0x2ea6da?_0x2ea6da[_0x1ead('0x25')]||_0x2ea6da:''});}exports[_0x1ead('0x26')]=function(_0x7fc5ab,_0x1cef4c,_0x975fe1){passport[_0x1ead('0xc')](_0x1ead('0x27'),function(_0x84c3aa,_0x3ee5d6,_0x3daac2){var _0x6e9816=_0x84c3aa||_0x3daac2;if(_0x6e9816){return handleError(_0x1cef4c,0x191,_0x6e9816);}if(!_0x3ee5d6){return handleError(_0x1cef4c,0x194,{'message':_0x1ead('0x28')});}else{var _0x5ab1fe={'payload':{'id':_0x3ee5d6['id'],'role':_0x3ee5d6['role']},'options':{'expiresIn':0x15180}};return authService['signToken'](_0x5ab1fe)[_0x1ead('0x1f')](function(_0xb4356a){_0x1cef4c[_0x1ead('0x29')]({'id':_0x3ee5d6['id'],'token':_0xb4356a,'statusCall':'','isAlreadyLogged':_0x3ee5d6[_0x1ead('0x1b')]});});}})(_0x7fc5ab,_0x1cef4c,_0x975fe1);};passport['use'](_0x1ead('0x27'),new LocalStrategy({'usernameField':_0x1ead('0x1e'),'passwordField':'password'},function(_0x566d93,_0x4bdcc8,_0x513e29){return ActiveDirectoryAuthenticate(db[_0x1ead('0x2a')],_0x566d93,_0x4bdcc8,_0x513e29);}));
\ No newline at end of file
diff --git a/server/api/authActiveDirectory/index.js b/server/api/authActiveDirectory/index.js
index f9127c0..ce82f14 100644
--- a/server/api/authActiveDirectory/index.js
+++ b/server/api/authActiveDirectory/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xc21a=['login','exports','Router','post'];(function(_0x33e9bf,_0x2c3144){var _0x283e2d=function(_0x51043a){while(--_0x51043a){_0x33e9bf['push'](_0x33e9bf['shift']());}};_0x283e2d(++_0x2c3144);}(_0xc21a,0x126));var _0xac21=function(_0x275252,_0x29d5e2){_0x275252=_0x275252-0x0;var _0x383c2b=_0xc21a[_0x275252];return _0x383c2b;};'use strict';var express=require('express');var router=express[_0xac21('0x0')]();var controller=require('./authActiveDirectory.controller');router[_0xac21('0x1')]('/',controller[_0xac21('0x2')]);module[_0xac21('0x3')]=router;
\ No newline at end of file
+var _0xe75f=['express','Router','./authActiveDirectory.controller','post'];(function(_0x640cc3,_0x3653cb){var _0x45541c=function(_0x5ccafe){while(--_0x5ccafe){_0x640cc3['push'](_0x640cc3['shift']());}};_0x45541c(++_0x3653cb);}(_0xe75f,0x10c));var _0xfe75=function(_0x3bd70e,_0x1b1c3c){_0x3bd70e=_0x3bd70e-0x0;var _0x468eb3=_0xe75f[_0x3bd70e];return _0x468eb3;};'use strict';var express=require(_0xfe75('0x0'));var router=express[_0xfe75('0x1')]();var controller=require(_0xfe75('0x2'));router[_0xfe75('0x3')]('/',controller['login']);module['exports']=router;
\ No newline at end of file
diff --git a/server/api/authGoogle/authGoogle.controller.js b/server/api/authGoogle/authGoogle.controller.js
index 567f4c5..437093a 100644
--- a/server/api/authGoogle/authGoogle.controller.js
+++ b/server/api/authGoogle/authGoogle.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x9957=['../../config/environment','../../config/utils','login','google','/login','profile','email','callback','authenticate','use','clientID','clientSecret','secret','callbackURL','Setting','findOne','allowedLoginAttempts','User','find','map','emails','value','admin','user','then','disabled','Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.','blockDuration','blocked','blockedAt','add','getLicense','catch','lodash','passport','passport-google-oauth20','Strategy','../../mysqldb'];(function(_0x203cf5,_0x8421e0){var _0x17a51d=function(_0x466b7a){while(--_0x466b7a){_0x203cf5['push'](_0x203cf5['shift']());}};_0x17a51d(++_0x8421e0);}(_0x9957,0x93));var _0x7995=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0x9957[_0x5ddb1c];return _0x354adc;};'use strict';var _=require(_0x7995('0x0'));var passport=require(_0x7995('0x1'));var GoogleStrategy=require(_0x7995('0x2'))[_0x7995('0x3')];var moment=require('moment');var db=require(_0x7995('0x4'))['db'];var config=require(_0x7995('0x5'));var utils=require(_0x7995('0x6'));exports[_0x7995('0x7')]=passport['authenticate'](_0x7995('0x8'),{'failureRedirect':_0x7995('0x9'),'scope':[_0x7995('0xa'),_0x7995('0xb')],'session':![]});exports[_0x7995('0xc')]=passport[_0x7995('0xd')]('google',{'failureRedirect':_0x7995('0x9'),'session':![]});passport[_0x7995('0xe')](new GoogleStrategy({'clientID':config['google']?config[_0x7995('0x8')][_0x7995('0xf')]:'id','clientSecret':config[_0x7995('0x8')]?config[_0x7995('0x8')][_0x7995('0x10')]:_0x7995('0x11'),'callbackURL':config[_0x7995('0x8')]?config['google'][_0x7995('0x12')]:''},function(_0x41c652,_0x581f22,_0xb0c872,_0x2cb37a){var _0x19a27e,_0x385f00;return db[_0x7995('0x13')][_0x7995('0x14')]({'where':{'id':0x1},'attributes':[_0x7995('0x15'),'blockDuration'],'raw':!![]})['then'](function(_0x2b4e94){_0x19a27e=_0x2b4e94;return db[_0x7995('0x16')][_0x7995('0x17')]({'where':{'email':_[_0x7995('0x18')](_0xb0c872[_0x7995('0x19')],_0x7995('0x1a')),'role':{'$or':[_0x7995('0x1b'),_0x7995('0x1c'),'agent']}}});})[_0x7995('0x1d')](function(_0x565d97){_0x385f00=_0x565d97;if(_0x385f00){if(_0x385f00[_0x7995('0x1e')]){return _0x2cb37a(_0x7995('0x1f'));}else if(_0x19a27e[_0x7995('0x20')]>0x0){if(_0x385f00[_0x7995('0x21')]){if(moment(_0x385f00[_0x7995('0x22')])[_0x7995('0x23')](_0x19a27e['blockDuration'],'minutes')>moment()){return _0x2cb37a(_0x7995('0x1f'));}else{return utils['clearBlockUser'](_0x385f00,0x0,![],null)['then'](function(){return utils[_0x7995('0x24')](_0x385f00);})[_0x7995('0x1d')](function(){return _0x2cb37a(null,_0x385f00);});}}else{return utils['getLicense'](_0x385f00)[_0x7995('0x1d')](function(){return _0x2cb37a(null,_0x385f00);});}}else{return utils['getLicense'](_0x385f00)['then'](function(){return _0x2cb37a(null,_0x385f00);});}}return _0x2cb37a(_0x7995('0x1f'));})[_0x7995('0x25')](function(_0x350fd9){_0x2cb37a(_0x350fd9);});}));
\ No newline at end of file
+var _0x9957=['../../config/environment','../../config/utils','login','google','/login','profile','email','callback','authenticate','use','clientID','clientSecret','secret','callbackURL','Setting','findOne','allowedLoginAttempts','User','find','map','emails','value','admin','user','then','disabled','Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.','blockDuration','blocked','blockedAt','add','getLicense','catch','lodash','passport','passport-google-oauth20','Strategy','../../mysqldb'];(function(_0x49f036,_0x3336cb){var _0x52ab55=function(_0x18ed16){while(--_0x18ed16){_0x49f036['push'](_0x49f036['shift']());}};_0x52ab55(++_0x3336cb);}(_0x9957,0x93));var _0x7995=function(_0x6131cd,_0x4c26a1){_0x6131cd=_0x6131cd-0x0;var _0x47e916=_0x9957[_0x6131cd];return _0x47e916;};'use strict';var _=require(_0x7995('0x0'));var passport=require(_0x7995('0x1'));var GoogleStrategy=require(_0x7995('0x2'))[_0x7995('0x3')];var moment=require('moment');var db=require(_0x7995('0x4'))['db'];var config=require(_0x7995('0x5'));var utils=require(_0x7995('0x6'));exports[_0x7995('0x7')]=passport['authenticate'](_0x7995('0x8'),{'failureRedirect':_0x7995('0x9'),'scope':[_0x7995('0xa'),_0x7995('0xb')],'session':![]});exports[_0x7995('0xc')]=passport[_0x7995('0xd')]('google',{'failureRedirect':_0x7995('0x9'),'session':![]});passport[_0x7995('0xe')](new GoogleStrategy({'clientID':config['google']?config[_0x7995('0x8')][_0x7995('0xf')]:'id','clientSecret':config[_0x7995('0x8')]?config[_0x7995('0x8')][_0x7995('0x10')]:_0x7995('0x11'),'callbackURL':config[_0x7995('0x8')]?config['google'][_0x7995('0x12')]:''},function(_0x41c652,_0x581f22,_0xb0c872,_0x2cb37a){var _0x19a27e,_0x385f00;return db[_0x7995('0x13')][_0x7995('0x14')]({'where':{'id':0x1},'attributes':[_0x7995('0x15'),'blockDuration'],'raw':!![]})['then'](function(_0x2b4e94){_0x19a27e=_0x2b4e94;return db[_0x7995('0x16')][_0x7995('0x17')]({'where':{'email':_[_0x7995('0x18')](_0xb0c872[_0x7995('0x19')],_0x7995('0x1a')),'role':{'$or':[_0x7995('0x1b'),_0x7995('0x1c'),'agent']}}});})[_0x7995('0x1d')](function(_0x565d97){_0x385f00=_0x565d97;if(_0x385f00){if(_0x385f00[_0x7995('0x1e')]){return _0x2cb37a(_0x7995('0x1f'));}else if(_0x19a27e[_0x7995('0x20')]>0x0){if(_0x385f00[_0x7995('0x21')]){if(moment(_0x385f00[_0x7995('0x22')])[_0x7995('0x23')](_0x19a27e['blockDuration'],'minutes')>moment()){return _0x2cb37a(_0x7995('0x1f'));}else{return utils['clearBlockUser'](_0x385f00,0x0,![],null)['then'](function(){return utils[_0x7995('0x24')](_0x385f00);})[_0x7995('0x1d')](function(){return _0x2cb37a(null,_0x385f00);});}}else{return utils['getLicense'](_0x385f00)[_0x7995('0x1d')](function(){return _0x2cb37a(null,_0x385f00);});}}else{return utils['getLicense'](_0x385f00)['then'](function(){return _0x2cb37a(null,_0x385f00);});}}return _0x2cb37a(_0x7995('0x1f'));})[_0x7995('0x25')](function(_0x350fd9){_0x2cb37a(_0x350fd9);});}));
\ No newline at end of file
diff --git a/server/api/authGoogle/index.js b/server/api/authGoogle/index.js
index 5d0c6e7..cb8bd2f 100644
--- a/server/api/authGoogle/index.js
+++ b/server/api/authGoogle/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x8d4c=['../user/user.controller.js','get','login','/callback','callback','isMiddleware','setTokenCookie','exports','express','Router','./authGoogle.controller'];(function(_0x126558,_0x143c9a){var _0x1f6d14=function(_0x2b0eea){while(--_0x2b0eea){_0x126558['push'](_0x126558['shift']());}};_0x1f6d14(++_0x143c9a);}(_0x8d4c,0x173));var _0xc8d4=function(_0x49a57f,_0x405f38){_0x49a57f=_0x49a57f-0x0;var _0x2fa2a5=_0x8d4c[_0x49a57f];return _0x2fa2a5;};'use strict';var express=require(_0xc8d4('0x0'));var passport=require('passport');var router=express[_0xc8d4('0x1')]();var controller=require(_0xc8d4('0x2'));var userController=require(_0xc8d4('0x3'));var authService=require('../../components/auth/service');router[_0xc8d4('0x4')]('/',controller[_0xc8d4('0x5')]);router[_0xc8d4('0x4')](_0xc8d4('0x6'),controller[_0xc8d4('0x7')],authService[_0xc8d4('0x8')],userController[_0xc8d4('0x5')],authService[_0xc8d4('0x9')]);module[_0xc8d4('0xa')]=router;
\ No newline at end of file
+var _0xd2c7=['isMiddleware','exports','passport','./authGoogle.controller','get','login','/callback'];(function(_0x469687,_0x40608d){var _0x1127c9=function(_0x3d54b2){while(--_0x3d54b2){_0x469687['push'](_0x469687['shift']());}};_0x1127c9(++_0x40608d);}(_0xd2c7,0x1e5));var _0x7d2c=function(_0x2a2dd2,_0x26c2bb){_0x2a2dd2=_0x2a2dd2-0x0;var _0x3e1e08=_0xd2c7[_0x2a2dd2];return _0x3e1e08;};'use strict';var express=require('express');var passport=require(_0x7d2c('0x0'));var router=express['Router']();var controller=require(_0x7d2c('0x1'));var userController=require('../user/user.controller.js');var authService=require('../../components/auth/service');router[_0x7d2c('0x2')]('/',controller[_0x7d2c('0x3')]);router['get'](_0x7d2c('0x4'),controller['callback'],authService[_0x7d2c('0x5')],userController[_0x7d2c('0x3')],authService['setTokenCookie']);module[_0x7d2c('0x6')]=router;
\ No newline at end of file
diff --git a/server/api/authLocal/authLocal.controller.js b/server/api/authLocal/authLocal.controller.js
index f590d4d..d6f2105 100644
--- a/server/api/authLocal/authLocal.controller.js
+++ b/server/api/authLocal/authLocal.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x0055=['SendMail\x20error:\x20%s.\x20Please\x20contact\x20your\x20Administrator!','message','stringify','status','send','login','local-login','json','online','forgot','body','Email\x20parameter\x20is\x20missing','trim','toLowerCase','The\x20user\x20is\x20disabled.\x20Please\x20contact\x20the\x20administrator.','The\x20user\x20is\x20blocked.\x20Please\x20contact\x20the\x20administrator.','resetPasswordToken','resetPasswordExpires','You\x20are\x20receiving\x20this\x20because\x20you\x20(or\x20someone\x20else)\x20have\x20requested\x20the\x20reset\x20of\x20the\x20password\x20for\x20your\x20account.\x0a\x0a','Please\x20click\x20on\x20the\x20following\x20link,\x20or\x20paste\x20this\x20into\x20your\x20browser\x20to\x20complete\x20the\x20process:\x0a\x0a','headers','host','/reset/','If\x20you\x20did\x20not\x20request\x20this,\x20please\x20ignore\x20this\x20email\x20and\x20your\x20password\x20will\x20remain\x20unchanged.\x0a','Reset\x20Email\x20sent!','reset','params','now','Password\x20reset\x20token\x20is\x20invalid\x20or\x20has\x20expired.','securePassword','passwordHistoryLimit','enforcePasswordHistory','previousPasswords','validatePasswordHistory','Password\x20reset!','use','passport-local','Strategy','jayson/promise','lodash','randomstring','moment','../../mysqldb','../../components/auth/service','../../config/utils','http','Setting','findOne','allowedLoginAttempts','blockDuration','then','password','salt','role','disabled','blocked','blockedAt','admin','user','agent','Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.','authenticate','add','clearBlockUser','minutes','getLicense','catch','find','name','email','MailServerOut','Smtp','CloudProvider','Unable\x20to\x20find\x20a\x20configured\x20SMTP\x20service!','format','\x22%s\x22\x20<%s>','request','SendMail','error'];(function(_0x1132c7,_0x4a733d){var _0x56b032=function(_0x1dbd92){while(--_0x1dbd92){_0x1132c7['push'](_0x1132c7['shift']());}};_0x56b032(++_0x4a733d);}(_0x0055,0x160));var _0x5005=function(_0x2bd428,_0x93b4a6){_0x2bd428=_0x2bd428-0x0;var _0x58c122=_0x0055[_0x2bd428];return _0x58c122;};'use strict';var util=require('util');var passport=require('passport');var LocalStrategy=require(_0x5005('0x0'))[_0x5005('0x1')];var jayson=require(_0x5005('0x2'));var _=require(_0x5005('0x3'));var rs=require(_0x5005('0x4'));var moment=require(_0x5005('0x5'));var db=require(_0x5005('0x6'))['db'];var authService=require(_0x5005('0x7'));var utils=require(_0x5005('0x8'));var client=jayson['client'][_0x5005('0x9')]({'port':0x232b});function localAuthenticate(_0x5b9a5a,_0x4749d6,_0x4e41c1,_0x348a9e){var _0x3804f9,_0x3ef230;return db[_0x5005('0xa')][_0x5005('0xb')]({'where':{'id':0x1},'attributes':[_0x5005('0xc'),_0x5005('0xd')],'raw':!![]})[_0x5005('0xe')](function(_0x39efff){_0x3804f9=_0x39efff;return _0x5b9a5a[_0x5005('0xb')]({'attributes':['id','name',_0x5005('0xf'),_0x5005('0x10'),_0x5005('0x11'),_0x5005('0x12'),_0x5005('0x13'),_0x5005('0x14'),'loginAttempts'],'where':{'name':_0x4749d6,'role':{'$or':[_0x5005('0x15'),_0x5005('0x16'),_0x5005('0x17')]}}});})[_0x5005('0xe')](function(_0x7599ee){if(!_0x7599ee||_0x7599ee&&_0x7599ee['name']!==_0x4749d6){throw new Error(_0x5005('0x18'));}else{_0x3ef230=_0x7599ee;return _0x3ef230;}})[_0x5005('0xe')](function(){_0x3ef230[_0x5005('0x19')](_0x4e41c1,function(_0x4d7d24,_0x1d7c20){var _0x22cb0b=_0x3ef230['loginAttempts']+0x1;if(_0x4d7d24){return _0x348a9e(_0x4d7d24);}else if(!_0x1d7c20){if(_0x3ef230[_0x5005('0x12')]){return _0x348a9e(null,![],{'message':_0x5005('0x18')});}else if(_0x3804f9[_0x5005('0xc')]>0x0){if(_0x3ef230[_0x5005('0x13')]){if(_0x3804f9[_0x5005('0xd')]>0x0){if(moment(_0x3ef230[_0x5005('0x14')])[_0x5005('0x1a')](_0x3804f9[_0x5005('0xd')],'minutes')>moment()){return _0x348a9e(null,![],{'message':_0x5005('0x18')});}else{return utils[_0x5005('0x1b')](_0x3ef230,_0x22cb0b,![],null)[_0x5005('0xe')](function(){return _0x348a9e(null,![],{'message':_0x5005('0x18')});});}}else{return _0x348a9e(null,![],{'message':_0x5005('0x18')});}}else{if(_0x22cb0b>=_0x3804f9[_0x5005('0xc')]){return utils['clearBlockUser'](_0x3ef230,0x0,!![],moment())[_0x5005('0xe')](function(){return _0x348a9e(null,![],{'message':_0x5005('0x18')});});}else{return utils[_0x5005('0x1b')](_0x3ef230,_0x22cb0b,![],null)[_0x5005('0xe')](function(){return _0x348a9e(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});});}}}else{return _0x348a9e(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}}else{if(_0x3ef230[_0x5005('0x12')]){return _0x348a9e(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}else if(_0x3804f9[_0x5005('0xc')]>0x0){if(_0x3ef230[_0x5005('0x13')]){if(_0x3804f9['blockDuration']>0x0){if(moment(_0x3ef230['blockedAt'])[_0x5005('0x1a')](_0x3804f9['blockDuration'],_0x5005('0x1c'))>moment()){return _0x348a9e(null,![],{'message':_0x5005('0x18')});}else{return utils[_0x5005('0x1b')](_0x3ef230,0x0,![],null)[_0x5005('0xe')](function(){return utils[_0x5005('0x1d')](_0x3ef230);})[_0x5005('0xe')](function(){return _0x348a9e(null,_0x3ef230);});}}else{return _0x348a9e(null,![],{'message':_0x5005('0x18')});}}else{return utils[_0x5005('0x1b')](_0x3ef230,0x0,![],null)['then'](function(){return utils['getLicense'](_0x3ef230);})[_0x5005('0xe')](function(){return _0x348a9e(null,_0x3ef230);})[_0x5005('0x1e')](function(_0x2f6f79){return _0x348a9e(null,![],_0x2f6f79);});}}else{if(_0x3ef230[_0x5005('0x13')]){return _0x348a9e(null,![],{'message':_0x5005('0x18')});}else{return utils[_0x5005('0x1d')](_0x3ef230)[_0x5005('0xe')](function(){return _0x348a9e(null,_0x3ef230);});}}}});})['catch'](function(_0x430a5c){return _0x348a9e(null,![],_0x430a5c);});}function sendServiceMail(_0x54b750){return db['MailAccount'][_0x5005('0x1f')]({'where':{'service':!![]},'attributes':['id',_0x5005('0x20'),_0x5005('0x21')],'include':[{'model':db[_0x5005('0x22')],'as':_0x5005('0x23'),'include':[{'model':db[_0x5005('0x24')],'as':'CloudProvider'}]}]})[_0x5005('0xe')](function(_0x251e91){if(!_0x251e91){throw new Error(_0x5005('0x25'));}var _0x121349=_0x251e91['getSmtpOptions']();var _0x3196c9={'account':_0x121349,'message':_['merge']({'from':util[_0x5005('0x26')](_0x5005('0x27'),_0x251e91[_0x5005('0x20')],_0x251e91[_0x5005('0x21')]||_0x251e91[_0x5005('0x23')]['user'])},_0x54b750)};return client[_0x5005('0x28')](_0x5005('0x29'),_0x3196c9);})[_0x5005('0xe')](function(_0x1d1020){if(_0x1d1020[_0x5005('0x2a')]){throw new Error(util[_0x5005('0x26')](_0x5005('0x2b'),_0x1d1020['error'][_0x5005('0x2c')]||JSON[_0x5005('0x2d')](_0x1d1020['error'])));}return!![];});}function handleError(_0x17b2b1,_0x5cba00,_0x221dcb){return _0x17b2b1[_0x5005('0x2e')](_0x5cba00||0x1f4)[_0x5005('0x2f')]({'message':_0x221dcb?_0x221dcb[_0x5005('0x2c')]||_0x221dcb:''});}exports[_0x5005('0x30')]=function(_0x1dcc0d,_0x126bff,_0x4c2f81){passport[_0x5005('0x19')](_0x5005('0x31'),function(_0x34cd58,_0x2f84fc,_0x34d7a5){var _0x102e4b=_0x34cd58||_0x34d7a5;if(_0x102e4b){return handleError(_0x126bff,0x191,_0x102e4b);}if(!_0x2f84fc){return handleError(_0x126bff,0x194,{'message':'Something\x20went\x20wrong,\x20please\x20try\x20again.'});}else{var _0x47cb06={'payload':{'id':_0x2f84fc['id'],'role':_0x2f84fc['role']},'options':{'expiresIn':0x15180}};return authService['signToken'](_0x47cb06)['then'](function(_0x2b074d){_0x126bff[_0x5005('0x32')]({'id':_0x2f84fc['id'],'token':_0x2b074d,'statusCall':'','isAlreadyLogged':_0x2f84fc[_0x5005('0x33')]});});}})(_0x1dcc0d,_0x126bff,_0x4c2f81);};exports[_0x5005('0x34')]=function(_0x154214,_0x3adf68){if(!_0x154214[_0x5005('0x35')][_0x5005('0x21')]){return handleError(_0x3adf68,0x1f4,{'message':_0x5005('0x36')});}var _0x3e18f7=rs['generate']();_0x154214[_0x5005('0x35')]['email']=_0x154214[_0x5005('0x35')][_0x5005('0x21')][_0x5005('0x37')]()[_0x5005('0x38')]();var _0x29e0d6;return db[_0x5005('0xa')][_0x5005('0xb')]({'where':{'id':0x1},'attributes':[_0x5005('0xc'),'blockDuration'],'raw':!![]})[_0x5005('0xe')](function(_0x1f0ffd){_0x29e0d6=_0x1f0ffd;return db['User'][_0x5005('0x1f')]({'where':{'email':_0x154214['body']['email']}});})[_0x5005('0xe')](function(_0x2207db){if(!_0x2207db){throw new Error('This\x20email\x20is\x20not\x20registered.');}if(_0x2207db[_0x5005('0x12')]){throw new Error(_0x5005('0x39'));}if(_0x2207db['blocked']){if(moment(_0x2207db[_0x5005('0x14')])['add'](_0x29e0d6['blockDuration'],_0x5005('0x1c'))>moment()){throw new Error(_0x5005('0x3a'));}else{_0x2207db[_0x5005('0x13')]=![];_0x2207db['blockedAt']=null;}}_0x2207db[_0x5005('0x3b')]=_0x3e18f7;_0x2207db[_0x5005('0x3c')]=Date['now']()+0x36ee80;return _0x2207db['save']();})['then'](function(){return sendServiceMail({'to':_0x154214[_0x5005('0x35')][_0x5005('0x21')],'subject':'xCally\x20Motion\x20Password\x20Reset','text':_0x5005('0x3d')+_0x5005('0x3e')+'https://'+_0x154214[_0x5005('0x3f')][_0x5005('0x40')]+_0x5005('0x41')+_0x3e18f7+'\x0a\x0a'+_0x5005('0x42')});})[_0x5005('0xe')](function(){_0x3adf68[_0x5005('0x2e')](0xc8)[_0x5005('0x2f')]({'message':_0x5005('0x43')});})[_0x5005('0x1e')](function(_0x350a53){return handleError(_0x3adf68,0x1f4,_0x350a53);});};exports[_0x5005('0x44')]=function(_0x31f896,_0x1668f4){return db['User'][_0x5005('0x1f')]({'where':{'resetPasswordToken':_0x31f896[_0x5005('0x45')]['token'],'resetPasswordExpires':{'$gt':Date[_0x5005('0x46')]()}}})['then'](function(_0x51baca){if(!_0x51baca){throw new Error(_0x5005('0x47'));}return db['Setting'][_0x5005('0xb')]({'attributes':['id',_0x5005('0x48'),'enforcePasswordHistory',_0x5005('0x49')]})[_0x5005('0xe')](function(_0x44d023){if(_0x44d023[_0x5005('0x48')])authService['validatePasswordPattern'](_0x31f896['body']['password']);if(!_0x44d023[_0x5005('0x4a')]||!_0x51baca[_0x5005('0x4b')])return _0x51baca;authService[_0x5005('0x4c')](_0x31f896[_0x5005('0x35')][_0x5005('0xf')],_0x51baca[_0x5005('0x4b')],_0x44d023[_0x5005('0x49')]);return _0x51baca;})[_0x5005('0xe')](function(){_0x51baca[_0x5005('0xf')]=_0x31f896[_0x5005('0x35')][_0x5005('0xf')];_0x51baca[_0x5005('0x3b')]=null;_0x51baca['resetPasswordExpires']=null;return _0x51baca['save']();});})[_0x5005('0xe')](function(){_0x1668f4[_0x5005('0x2e')](0xc8)[_0x5005('0x2f')]({'message':_0x5005('0x4d')});})[_0x5005('0x1e')](function(_0x2d4290){return handleError(_0x1668f4,0x1f4,_0x2d4290);});};passport[_0x5005('0x4e')]('local-login',new LocalStrategy({'usernameField':_0x5005('0x20'),'passwordField':_0x5005('0xf')},function(_0x1c82df,_0x4468ac,_0x152550){return localAuthenticate(db['User'],_0x1c82df,_0x4468ac,_0x152550);}));
\ No newline at end of file
+var _0x8453=['format','SendMail\x20error:\x20%s.\x20Please\x20contact\x20your\x20Administrator!','error','message','stringify','status','send','json','online','forgot','body','generate','trim','toLowerCase','User','This\x20email\x20is\x20not\x20registered.','The\x20user\x20is\x20disabled.\x20Please\x20contact\x20the\x20administrator.','The\x20user\x20is\x20blocked.\x20Please\x20contact\x20the\x20administrator.','now','You\x20are\x20receiving\x20this\x20because\x20you\x20(or\x20someone\x20else)\x20have\x20requested\x20the\x20reset\x20of\x20the\x20password\x20for\x20your\x20account.\x0a\x0a','Please\x20click\x20on\x20the\x20following\x20link,\x20or\x20paste\x20this\x20into\x20your\x20browser\x20to\x20complete\x20the\x20process:\x0a\x0a','https://','headers','host','If\x20you\x20did\x20not\x20request\x20this,\x20please\x20ignore\x20this\x20email\x20and\x20your\x20password\x20will\x20remain\x20unchanged.\x0a','Reset\x20Email\x20sent!','reset','token','Password\x20reset\x20token\x20is\x20invalid\x20or\x20has\x20expired.','Setting','securePassword','enforcePasswordHistory','validatePasswordPattern','previousPasswords','validatePasswordHistory','passwordHistoryLimit','resetPasswordExpires','save','use','local-login','util','passport','passport-local','Strategy','lodash','moment','../../mysqldb','../../config/utils','client','http','findOne','allowedLoginAttempts','blockDuration','then','name','password','salt','role','disabled','blocked','blockedAt','loginAttempts','admin','user','agent','Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.','authenticate','minutes','clearBlockUser','add','getLicense','catch','MailAccount','find','email','MailServerOut','Smtp','CloudProvider','Unable\x20to\x20find\x20a\x20configured\x20SMTP\x20service!','getSmtpOptions','merge','request','SendMail'];(function(_0x5209b5,_0x336144){var _0x22ad2f=function(_0xd696c2){while(--_0xd696c2){_0x5209b5['push'](_0x5209b5['shift']());}};_0x22ad2f(++_0x336144);}(_0x8453,0x174));var _0x3845=function(_0x30d6d1,_0x1c90f5){_0x30d6d1=_0x30d6d1-0x0;var _0x470a38=_0x8453[_0x30d6d1];return _0x470a38;};'use strict';var util=require(_0x3845('0x0'));var passport=require(_0x3845('0x1'));var LocalStrategy=require(_0x3845('0x2'))[_0x3845('0x3')];var jayson=require('jayson/promise');var _=require(_0x3845('0x4'));var rs=require('randomstring');var moment=require(_0x3845('0x5'));var db=require(_0x3845('0x6'))['db'];var authService=require('../../components/auth/service');var utils=require(_0x3845('0x7'));var client=jayson[_0x3845('0x8')][_0x3845('0x9')]({'port':0x232b});function localAuthenticate(_0x4c3790,_0xfbfb5e,_0x52c0d0,_0x463f61){var _0x3de627,_0x1e24c1;return db['Setting'][_0x3845('0xa')]({'where':{'id':0x1},'attributes':[_0x3845('0xb'),_0x3845('0xc')],'raw':!![]})[_0x3845('0xd')](function(_0x38e60f){_0x3de627=_0x38e60f;return _0x4c3790['findOne']({'attributes':['id',_0x3845('0xe'),_0x3845('0xf'),_0x3845('0x10'),_0x3845('0x11'),_0x3845('0x12'),_0x3845('0x13'),_0x3845('0x14'),_0x3845('0x15')],'where':{'name':_0xfbfb5e,'role':{'$or':[_0x3845('0x16'),_0x3845('0x17'),_0x3845('0x18')]}}});})[_0x3845('0xd')](function(_0x5389cd){if(!_0x5389cd||_0x5389cd&&_0x5389cd[_0x3845('0xe')]!==_0xfbfb5e){throw new Error(_0x3845('0x19'));}else{_0x1e24c1=_0x5389cd;return _0x1e24c1;}})[_0x3845('0xd')](function(){_0x1e24c1[_0x3845('0x1a')](_0x52c0d0,function(_0x9c33cb,_0x525474){var _0x3c9916=_0x1e24c1['loginAttempts']+0x1;if(_0x9c33cb){return _0x463f61(_0x9c33cb);}else if(!_0x525474){if(_0x1e24c1[_0x3845('0x12')]){return _0x463f61(null,![],{'message':_0x3845('0x19')});}else if(_0x3de627[_0x3845('0xb')]>0x0){if(_0x1e24c1[_0x3845('0x13')]){if(_0x3de627[_0x3845('0xc')]>0x0){if(moment(_0x1e24c1[_0x3845('0x14')])['add'](_0x3de627['blockDuration'],_0x3845('0x1b'))>moment()){return _0x463f61(null,![],{'message':_0x3845('0x19')});}else{return utils[_0x3845('0x1c')](_0x1e24c1,_0x3c9916,![],null)['then'](function(){return _0x463f61(null,![],{'message':_0x3845('0x19')});});}}else{return _0x463f61(null,![],{'message':_0x3845('0x19')});}}else{if(_0x3c9916>=_0x3de627[_0x3845('0xb')]){return utils['clearBlockUser'](_0x1e24c1,0x0,!![],moment())[_0x3845('0xd')](function(){return _0x463f61(null,![],{'message':_0x3845('0x19')});});}else{return utils[_0x3845('0x1c')](_0x1e24c1,_0x3c9916,![],null)[_0x3845('0xd')](function(){return _0x463f61(null,![],{'message':_0x3845('0x19')});});}}}else{return _0x463f61(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}}else{if(_0x1e24c1[_0x3845('0x12')]){return _0x463f61(null,![],{'message':_0x3845('0x19')});}else if(_0x3de627[_0x3845('0xb')]>0x0){if(_0x1e24c1[_0x3845('0x13')]){if(_0x3de627[_0x3845('0xc')]>0x0){if(moment(_0x1e24c1['blockedAt'])[_0x3845('0x1d')](_0x3de627[_0x3845('0xc')],'minutes')>moment()){return _0x463f61(null,![],{'message':_0x3845('0x19')});}else{return utils[_0x3845('0x1c')](_0x1e24c1,0x0,![],null)[_0x3845('0xd')](function(){return utils['getLicense'](_0x1e24c1);})['then'](function(){return _0x463f61(null,_0x1e24c1);});}}else{return _0x463f61(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}}else{return utils[_0x3845('0x1c')](_0x1e24c1,0x0,![],null)[_0x3845('0xd')](function(){return utils[_0x3845('0x1e')](_0x1e24c1);})[_0x3845('0xd')](function(){return _0x463f61(null,_0x1e24c1);})[_0x3845('0x1f')](function(_0xbd6a77){return _0x463f61(null,![],_0xbd6a77);});}}else{if(_0x1e24c1['blocked']){return _0x463f61(null,![],{'message':_0x3845('0x19')});}else{return utils[_0x3845('0x1e')](_0x1e24c1)[_0x3845('0xd')](function(){return _0x463f61(null,_0x1e24c1);});}}}});})[_0x3845('0x1f')](function(_0x193b7f){return _0x463f61(null,![],_0x193b7f);});}function sendServiceMail(_0x3aa840){return db[_0x3845('0x20')][_0x3845('0x21')]({'where':{'service':!![]},'attributes':['id',_0x3845('0xe'),_0x3845('0x22')],'include':[{'model':db[_0x3845('0x23')],'as':_0x3845('0x24'),'include':[{'model':db['CloudProvider'],'as':_0x3845('0x25')}]}]})[_0x3845('0xd')](function(_0x543b3d){if(!_0x543b3d){throw new Error(_0x3845('0x26'));}var _0x1be392=_0x543b3d[_0x3845('0x27')]();var _0x37dd34={'account':_0x1be392,'message':_[_0x3845('0x28')]({'from':util['format']('\x22%s\x22\x20<%s>',_0x543b3d[_0x3845('0xe')],_0x543b3d[_0x3845('0x22')]||_0x543b3d[_0x3845('0x24')][_0x3845('0x17')])},_0x3aa840)};return client[_0x3845('0x29')](_0x3845('0x2a'),_0x37dd34);})[_0x3845('0xd')](function(_0x46e180){if(_0x46e180['error']){throw new Error(util[_0x3845('0x2b')](_0x3845('0x2c'),_0x46e180[_0x3845('0x2d')][_0x3845('0x2e')]||JSON[_0x3845('0x2f')](_0x46e180[_0x3845('0x2d')])));}return!![];});}function handleError(_0x5b67fa,_0x53a7ad,_0x2f6d68){return _0x5b67fa[_0x3845('0x30')](_0x53a7ad||0x1f4)[_0x3845('0x31')]({'message':_0x2f6d68?_0x2f6d68['message']||_0x2f6d68:''});}exports['login']=function(_0x5f1091,_0x4d3dfe,_0x3f1fac){passport[_0x3845('0x1a')]('local-login',function(_0x410d2e,_0xf48e5,_0x2af6a2){var _0x2f8cfc=_0x410d2e||_0x2af6a2;if(_0x2f8cfc){return handleError(_0x4d3dfe,0x191,_0x2f8cfc);}if(!_0xf48e5){return handleError(_0x4d3dfe,0x194,{'message':'Something\x20went\x20wrong,\x20please\x20try\x20again.'});}else{var _0x3cbed4={'payload':{'id':_0xf48e5['id'],'role':_0xf48e5[_0x3845('0x11')]},'options':{'expiresIn':0x15180}};return authService['signToken'](_0x3cbed4)[_0x3845('0xd')](function(_0x43121c){_0x4d3dfe[_0x3845('0x32')]({'id':_0xf48e5['id'],'token':_0x43121c,'statusCall':'','isAlreadyLogged':_0xf48e5[_0x3845('0x33')]});});}})(_0x5f1091,_0x4d3dfe,_0x3f1fac);};exports[_0x3845('0x34')]=function(_0x49d348,_0x352c64){if(!_0x49d348[_0x3845('0x35')][_0x3845('0x22')]){return handleError(_0x352c64,0x1f4,{'message':'Email\x20parameter\x20is\x20missing'});}var _0x171b2d=rs[_0x3845('0x36')]();_0x49d348[_0x3845('0x35')]['email']=_0x49d348['body'][_0x3845('0x22')][_0x3845('0x37')]()[_0x3845('0x38')]();var _0x40bf91;return db['Setting'][_0x3845('0xa')]({'where':{'id':0x1},'attributes':[_0x3845('0xb'),_0x3845('0xc')],'raw':!![]})[_0x3845('0xd')](function(_0x17613a){_0x40bf91=_0x17613a;return db[_0x3845('0x39')][_0x3845('0x21')]({'where':{'email':_0x49d348['body'][_0x3845('0x22')]}});})['then'](function(_0x206be5){if(!_0x206be5){throw new Error(_0x3845('0x3a'));}if(_0x206be5['disabled']){throw new Error(_0x3845('0x3b'));}if(_0x206be5[_0x3845('0x13')]){if(moment(_0x206be5[_0x3845('0x14')])[_0x3845('0x1d')](_0x40bf91[_0x3845('0xc')],'minutes')>moment()){throw new Error(_0x3845('0x3c'));}else{_0x206be5['blocked']=![];_0x206be5['blockedAt']=null;}}_0x206be5['resetPasswordToken']=_0x171b2d;_0x206be5['resetPasswordExpires']=Date[_0x3845('0x3d')]()+0x36ee80;return _0x206be5['save']();})['then'](function(){return sendServiceMail({'to':_0x49d348[_0x3845('0x35')][_0x3845('0x22')],'subject':'xCally\x20Motion\x20Password\x20Reset','text':_0x3845('0x3e')+_0x3845('0x3f')+_0x3845('0x40')+_0x49d348[_0x3845('0x41')][_0x3845('0x42')]+'/reset/'+_0x171b2d+'\x0a\x0a'+_0x3845('0x43')});})[_0x3845('0xd')](function(){_0x352c64[_0x3845('0x30')](0xc8)[_0x3845('0x31')]({'message':_0x3845('0x44')});})[_0x3845('0x1f')](function(_0x309be0){return handleError(_0x352c64,0x1f4,_0x309be0);});};exports[_0x3845('0x45')]=function(_0x26b086,_0x45f374){return db['User'][_0x3845('0x21')]({'where':{'resetPasswordToken':_0x26b086['params'][_0x3845('0x46')],'resetPasswordExpires':{'$gt':Date['now']()}}})[_0x3845('0xd')](function(_0x4a882b){if(!_0x4a882b){throw new Error(_0x3845('0x47'));}return db[_0x3845('0x48')][_0x3845('0xa')]({'attributes':['id',_0x3845('0x49'),_0x3845('0x4a'),'passwordHistoryLimit']})[_0x3845('0xd')](function(_0x333eb5){if(_0x333eb5[_0x3845('0x49')])authService[_0x3845('0x4b')](_0x26b086[_0x3845('0x35')][_0x3845('0xf')]);if(!_0x333eb5['enforcePasswordHistory']||!_0x4a882b[_0x3845('0x4c')])return _0x4a882b;authService[_0x3845('0x4d')](_0x26b086[_0x3845('0x35')][_0x3845('0xf')],_0x4a882b['previousPasswords'],_0x333eb5[_0x3845('0x4e')]);return _0x4a882b;})[_0x3845('0xd')](function(){_0x4a882b[_0x3845('0xf')]=_0x26b086[_0x3845('0x35')][_0x3845('0xf')];_0x4a882b['resetPasswordToken']=null;_0x4a882b[_0x3845('0x4f')]=null;return _0x4a882b[_0x3845('0x50')]();});})['then'](function(){_0x45f374[_0x3845('0x30')](0xc8)[_0x3845('0x31')]({'message':'Password\x20reset!'});})['catch'](function(_0x4610fc){return handleError(_0x45f374,0x1f4,_0x4610fc);});};passport[_0x3845('0x51')](_0x3845('0x52'),new LocalStrategy({'usernameField':_0x3845('0xe'),'passwordField':_0x3845('0xf')},function(_0x36ae87,_0x4bef23,_0xb385d5){return localAuthenticate(db[_0x3845('0x39')],_0x36ae87,_0x4bef23,_0xb385d5);}));
\ No newline at end of file
diff --git a/server/api/authLocal/index.js b/server/api/authLocal/index.js
index 66daaed..f7f6faf 100644
--- a/server/api/authLocal/index.js
+++ b/server/api/authLocal/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xf27a=['post','login','/forgot','forgot','/reset/:token','reset','exports','express','Router','./authLocal.controller'];(function(_0x1ad39b,_0x4a4bd0){var _0x2d3ac7=function(_0x3d2602){while(--_0x3d2602){_0x1ad39b['push'](_0x1ad39b['shift']());}};_0x2d3ac7(++_0x4a4bd0);}(_0xf27a,0x1dd));var _0xaf27=function(_0x4e0638,_0x18a0a4){_0x4e0638=_0x4e0638-0x0;var _0x6a6a7c=_0xf27a[_0x4e0638];return _0x6a6a7c;};'use strict';var express=require(_0xaf27('0x0'));var router=express[_0xaf27('0x1')]();var controller=require(_0xaf27('0x2'));router[_0xaf27('0x3')]('/',controller[_0xaf27('0x4')]);router[_0xaf27('0x3')](_0xaf27('0x5'),controller[_0xaf27('0x6')]);router[_0xaf27('0x3')](_0xaf27('0x7'),controller[_0xaf27('0x8')]);module[_0xaf27('0x9')]=router;
\ No newline at end of file
+var _0x39f3=['reset','express','Router','./authLocal.controller','login','post','/forgot','forgot'];(function(_0x3e5086,_0x48f4a2){var _0xfeb102=function(_0x5a945f){while(--_0x5a945f){_0x3e5086['push'](_0x3e5086['shift']());}};_0xfeb102(++_0x48f4a2);}(_0x39f3,0x161));var _0x339f=function(_0xee7fca,_0x3e7fda){_0xee7fca=_0xee7fca-0x0;var _0x25075c=_0x39f3[_0xee7fca];return _0x25075c;};'use strict';var express=require(_0x339f('0x0'));var router=express[_0x339f('0x1')]();var controller=require(_0x339f('0x2'));router['post']('/',controller[_0x339f('0x3')]);router[_0x339f('0x4')](_0x339f('0x5'),controller[_0x339f('0x6')]);router['post']('/reset/:token',controller[_0x339f('0x7')]);module['exports']=router;
\ No newline at end of file
diff --git a/server/api/automation/automation.attributes.js b/server/api/automation/automation.attributes.js
index 7de23ca..08c1947 100644
--- a/server/api/automation/automation.attributes.js
+++ b/server/api/automation/automation.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xaa94=['STRING','BOOLEAN','INTEGER','sequelize','exports'];(function(_0x999b85,_0x1edc2b){var _0x1d7124=function(_0x59cd29){while(--_0x59cd29){_0x999b85['push'](_0x999b85['shift']());}};_0x1d7124(++_0x1edc2b);}(_0xaa94,0x9e));var _0x4aa9=function(_0x3eaa99,_0x4b9298){_0x3eaa99=_0x3eaa99-0x0;var _0xf73f71=_0xaa94[_0x3eaa99];return _0xf73f71;};'use strict';var Sequelize=require(_0x4aa9('0x0'));module[_0x4aa9('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'channel':{'type':Sequelize[_0x4aa9('0x2')]},'description':{'type':Sequelize[_0x4aa9('0x2')]},'status':{'type':Sequelize[_0x4aa9('0x3')],'defaultValue':![]},'timeout':{'type':Sequelize[_0x4aa9('0x4')],'defaultValue':0xa}};
\ No newline at end of file
+var _0x01a0=['BOOLEAN','INTEGER','sequelize','STRING'];(function(_0x498e3c,_0x2455c4){var _0x1e5f5f=function(_0x1d981b){while(--_0x1d981b){_0x498e3c['push'](_0x498e3c['shift']());}};_0x1e5f5f(++_0x2455c4);}(_0x01a0,0x13e));var _0x001a=function(_0x283fee,_0x136141){_0x283fee=_0x283fee-0x0;var _0x20867d=_0x01a0[_0x283fee];return _0x20867d;};'use strict';var Sequelize=require(_0x001a('0x0'));module['exports']={'name':{'type':Sequelize[_0x001a('0x1')],'allowNull':![]},'channel':{'type':Sequelize['STRING']},'description':{'type':Sequelize['STRING']},'status':{'type':Sequelize[_0x001a('0x2')],'defaultValue':![]},'timeout':{'type':Sequelize[_0x001a('0x3')],'defaultValue':0xa}};
\ No newline at end of file
diff --git a/server/api/automation/automation.controller.js b/server/api/automation/automation.controller.js
index 9d7605d..304219a 100644
--- a/server/api/automation/automation.controller.js
+++ b/server/api/automation/automation.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x1e9e=['order','sort','where','pick','filter','merge','VIRTUAL','options','Automation','includeAll','include','findAll','rows','params','find','catch','body','addConditions','Condition','ids','omit','findOne','rawAttributes','getConditions','addActions','Action','eml-format','rimraf','request-promise','moment','bluebird','path','sox','ejs','fs-extra','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','json','undefined','limit','count','offset','set','Content-Range','reject','save','update','then','destroy','end','error','stack','name','send','map','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit'];(function(_0x580bcf,_0x40944c){var _0x2930ed=function(_0x6d52ac){while(--_0x6d52ac){_0x580bcf['push'](_0x580bcf['shift']());}};_0x2930ed(++_0x40944c);}(_0x1e9e,0xc2));var _0xe1e9=function(_0x25d9be,_0x310260){_0x25d9be=_0x25d9be-0x0;var _0x33729c=_0x1e9e[_0x25d9be];return _0x33729c;};'use strict';var emlformat=require(_0xe1e9('0x0'));var rimraf=require(_0xe1e9('0x1'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0xe1e9('0x2'));var moment=require(_0xe1e9('0x3'));var BPromise=require(_0xe1e9('0x4'));var Mustache=require('mustache');var util=require('util');var path=require(_0xe1e9('0x5'));var sox=require(_0xe1e9('0x6'));var csv=require('to-csv');var ejs=require(_0xe1e9('0x7'));var fs=require('fs');var fs_extra=require(_0xe1e9('0x8'));var _=require(_0xe1e9('0x9'));var squel=require(_0xe1e9('0xa'));var crypto=require('crypto');var jsforce=require(_0xe1e9('0xb'));var deskjs=require(_0xe1e9('0xc'));var toCsv=require('to-csv');var querystring=require(_0xe1e9('0xd'));var Papa=require(_0xe1e9('0xe'));var Redis=require(_0xe1e9('0xf'));var authService=require(_0xe1e9('0x10'));var qs=require(_0xe1e9('0x11'));var as=require(_0xe1e9('0x12'));var hardwareService=require(_0xe1e9('0x13'));var logger=require(_0xe1e9('0x14'))(_0xe1e9('0x15'));var utils=require('../../config/utils');var config=require(_0xe1e9('0x16'));var licenseUtil=require(_0xe1e9('0x17'));var db=require(_0xe1e9('0x18'))['db'];function respondWithStatusCode(_0x1c8612,_0x52a427){_0x52a427=_0x52a427||0xcc;return function(_0x575458){if(_0x575458){return _0x1c8612[_0xe1e9('0x19')](_0x52a427);}return _0x1c8612[_0xe1e9('0x1a')](_0x52a427)['end']();};}function respondWithResult(_0x4fc769,_0x44d5ac){_0x44d5ac=_0x44d5ac||0xc8;return function(_0x56916c){if(_0x56916c){return _0x4fc769[_0xe1e9('0x1a')](_0x44d5ac)[_0xe1e9('0x1b')](_0x56916c);}};}function respondWithFilteredResult(_0x3de6e6,_0xc53c73){return function(_0x3e26b2){if(_0x3e26b2){var _0xdc4234=typeof _0xc53c73['offset']===_0xe1e9('0x1c')&&typeof _0xc53c73[_0xe1e9('0x1d')]===_0xe1e9('0x1c');var _0x419aba=_0x3e26b2[_0xe1e9('0x1e')];var _0x4866e0=_0xdc4234?0x0:_0xc53c73['offset'];var _0xf8a327=_0xdc4234?_0x3e26b2[_0xe1e9('0x1e')]:_0xc53c73[_0xe1e9('0x1f')]+_0xc53c73[_0xe1e9('0x1d')];var _0x2a8112;if(_0xf8a327>=_0x419aba){_0xf8a327=_0x419aba;_0x2a8112=0xc8;}else{_0x2a8112=0xce;}_0x3de6e6[_0xe1e9('0x1a')](_0x2a8112);return _0x3de6e6[_0xe1e9('0x20')](_0xe1e9('0x21'),_0x4866e0+'-'+_0xf8a327+'/'+_0x419aba)[_0xe1e9('0x1b')](_0x3e26b2);}return null;};}function patchUpdates(_0x230e68){return function(_0x2d548d){try{jsonpatch['apply'](_0x2d548d,_0x230e68,!![]);}catch(_0x1bdcc2){return BPromise[_0xe1e9('0x22')](_0x1bdcc2);}return _0x2d548d[_0xe1e9('0x23')]();};}function saveUpdates(_0x3982bf,_0x352a65){return function(_0x44cc4e){if(_0x44cc4e){return _0x44cc4e[_0xe1e9('0x24')](_0x3982bf)[_0xe1e9('0x25')](function(_0x105635){return _0x105635;});}return null;};}function removeEntity(_0x4fd7c0,_0x5b4b5f){return function(_0x31d5d4){if(_0x31d5d4){return _0x31d5d4[_0xe1e9('0x26')]()[_0xe1e9('0x25')](function(){_0x4fd7c0[_0xe1e9('0x1a')](0xcc)[_0xe1e9('0x27')]();});}};}function handleEntityNotFound(_0x2d8634,_0x1d7875){return function(_0x55fd88){if(!_0x55fd88){_0x2d8634[_0xe1e9('0x19')](0x194);}return _0x55fd88;};}function handleError(_0x157b50,_0x3708ff){_0x3708ff=_0x3708ff||0x1f4;return function(_0x166e13){logger[_0xe1e9('0x28')](_0x166e13[_0xe1e9('0x29')]);if(_0x166e13[_0xe1e9('0x2a')]){delete _0x166e13['name'];}_0x157b50[_0xe1e9('0x1a')](_0x3708ff)[_0xe1e9('0x2b')](_0x166e13);};}exports['index']=function(_0x363ad2,_0x80f99a){var _0x822bae={},_0x5f5c5b={},_0x374fba={'count':0x0,'rows':[]};var _0x9b316a=_[_0xe1e9('0x2c')](db['Automation']['rawAttributes'],function(_0x5d828d){return{'name':_0x5d828d[_0xe1e9('0x2d')],'type':_0x5d828d[_0xe1e9('0x2e')][_0xe1e9('0x2f')]};});_0x5f5c5b[_0xe1e9('0x30')]=_[_0xe1e9('0x2c')](_0x9b316a,'name');_0x5f5c5b[_0xe1e9('0x31')]=_[_0xe1e9('0x32')](_0x363ad2[_0xe1e9('0x31')]);_0x5f5c5b[_0xe1e9('0x33')]=_[_0xe1e9('0x34')](_0x5f5c5b[_0xe1e9('0x30')],_0x5f5c5b[_0xe1e9('0x31')]);_0x822bae[_0xe1e9('0x35')]=_['intersection'](_0x5f5c5b[_0xe1e9('0x30')],qs[_0xe1e9('0x36')](_0x363ad2['query'][_0xe1e9('0x36')]));_0x822bae[_0xe1e9('0x35')]=_0x822bae['attributes'][_0xe1e9('0x37')]?_0x822bae[_0xe1e9('0x35')]:_0x5f5c5b[_0xe1e9('0x30')];if(!_0x363ad2[_0xe1e9('0x31')][_0xe1e9('0x38')](_0xe1e9('0x39'))){_0x822bae[_0xe1e9('0x1d')]=qs['limit'](_0x363ad2['query'][_0xe1e9('0x1d')]);_0x822bae[_0xe1e9('0x1f')]=qs[_0xe1e9('0x1f')](_0x363ad2[_0xe1e9('0x31')][_0xe1e9('0x1f')]);}_0x822bae[_0xe1e9('0x3a')]=qs[_0xe1e9('0x3b')](_0x363ad2[_0xe1e9('0x31')]['sort']);_0x822bae[_0xe1e9('0x3c')]=qs['filters'](_[_0xe1e9('0x3d')](_0x363ad2[_0xe1e9('0x31')],_0x5f5c5b['filters']),_0x9b316a);if(_0x363ad2['query'][_0xe1e9('0x3e')]){_0x822bae[_0xe1e9('0x3c')]=_[_0xe1e9('0x3f')](_0x822bae[_0xe1e9('0x3c')],{'$or':_[_0xe1e9('0x2c')](_0x9b316a,function(_0x32d472){if(_0x32d472[_0xe1e9('0x2e')]!==_0xe1e9('0x40')){var _0x5599df={};_0x5599df[_0x32d472['name']]={'$like':'%'+_0x363ad2['query'][_0xe1e9('0x3e')]+'%'};return _0x5599df;}})});}_0x822bae=_[_0xe1e9('0x3f')]({},_0x822bae,_0x363ad2[_0xe1e9('0x41')]);var _0x1fc8e4={'where':_0x822bae[_0xe1e9('0x3c')]};return db[_0xe1e9('0x42')][_0xe1e9('0x1e')](_0x1fc8e4)[_0xe1e9('0x25')](function(_0x81d5){_0x374fba[_0xe1e9('0x1e')]=_0x81d5;if(_0x363ad2['query'][_0xe1e9('0x43')]){_0x822bae[_0xe1e9('0x44')]=[{'all':!![]}];}return db[_0xe1e9('0x42')][_0xe1e9('0x45')](_0x822bae);})[_0xe1e9('0x25')](function(_0x35d9fd){_0x374fba[_0xe1e9('0x46')]=_0x35d9fd;return _0x374fba;})[_0xe1e9('0x25')](respondWithFilteredResult(_0x80f99a,_0x822bae))['catch'](handleError(_0x80f99a,null));};exports['show']=function(_0x12c2f2,_0xbf846){var _0x135465={'raw':![],'where':{'id':_0x12c2f2[_0xe1e9('0x47')]['id']}},_0x36f8b0={};_0x36f8b0[_0xe1e9('0x30')]=_['keys'](db['Automation']['rawAttributes']);_0x36f8b0[_0xe1e9('0x31')]=_[_0xe1e9('0x32')](_0x12c2f2[_0xe1e9('0x31')]);_0x36f8b0[_0xe1e9('0x33')]=_['intersection'](_0x36f8b0[_0xe1e9('0x30')],_0x36f8b0['query']);_0x135465[_0xe1e9('0x35')]=_[_0xe1e9('0x34')](_0x36f8b0['model'],qs['fields'](_0x12c2f2[_0xe1e9('0x31')][_0xe1e9('0x36')]));_0x135465[_0xe1e9('0x35')]=_0x135465['attributes']['length']?_0x135465[_0xe1e9('0x35')]:_0x36f8b0[_0xe1e9('0x30')];if(_0x12c2f2['query']['includeAll']){_0x135465[_0xe1e9('0x44')]=[{'all':!![]}];}_0x135465=_[_0xe1e9('0x3f')]({},_0x135465,_0x12c2f2['options']);return db[_0xe1e9('0x42')][_0xe1e9('0x48')](_0x135465)['then'](handleEntityNotFound(_0xbf846,null))[_0xe1e9('0x25')](respondWithResult(_0xbf846,null))[_0xe1e9('0x49')](handleError(_0xbf846,null));};exports['create']=function(_0x2dbd16,_0x416184){return db[_0xe1e9('0x42')]['create'](_0x2dbd16['body'],{})[_0xe1e9('0x25')](respondWithResult(_0x416184,0xc9))[_0xe1e9('0x49')](handleError(_0x416184,null));};exports[_0xe1e9('0x24')]=function(_0x243cc5,_0x3b1171){if(_0x243cc5[_0xe1e9('0x4a')]['id']){delete _0x243cc5[_0xe1e9('0x4a')]['id'];}return db[_0xe1e9('0x42')][_0xe1e9('0x48')]({'where':{'id':_0x243cc5['params']['id']}})[_0xe1e9('0x25')](handleEntityNotFound(_0x3b1171,null))['then'](saveUpdates(_0x243cc5['body'],null))['then'](respondWithResult(_0x3b1171,null))[_0xe1e9('0x49')](handleError(_0x3b1171,null));};exports[_0xe1e9('0x26')]=function(_0x55b16a,_0x140cbe){return db['Automation'][_0xe1e9('0x48')]({'where':{'id':_0x55b16a[_0xe1e9('0x47')]['id']}})['then'](handleEntityNotFound(_0x140cbe,null))[_0xe1e9('0x25')](removeEntity(_0x140cbe,null))[_0xe1e9('0x49')](handleError(_0x140cbe,null));};exports[_0xe1e9('0x4b')]=function(_0x481cbb,_0x2f5f4b,_0x30f3dd){return db[_0xe1e9('0x4c')][_0xe1e9('0x48')]({'where':{'id':_0x481cbb['params']['id']}})[_0xe1e9('0x25')](handleEntityNotFound(_0x2f5f4b,null))[_0xe1e9('0x25')](function(_0x3c6374){if(_0x3c6374){return _0x3c6374[_0xe1e9('0x4b')](_0x481cbb[_0xe1e9('0x4a')][_0xe1e9('0x4d')],_[_0xe1e9('0x4e')](_0x481cbb['body'],[_0xe1e9('0x4d'),'id'])||{});}})['then'](respondWithResult(_0x2f5f4b,null))[_0xe1e9('0x49')](handleError(_0x2f5f4b,null));};exports['getConditions']=function(_0x571f61,_0x30343c,_0x23f8e0){var _0x242e5a={};var _0x4ab546={};var _0x4b29a1;var _0x2f21bc;return db[_0xe1e9('0x42')][_0xe1e9('0x4f')]({'where':{'id':_0x571f61[_0xe1e9('0x47')]['id']}})['then'](handleEntityNotFound(_0x30343c,null))[_0xe1e9('0x25')](function(_0x40ecd6){if(_0x40ecd6){_0x4b29a1=_0x40ecd6;_0x4ab546[_0xe1e9('0x30')]=_[_0xe1e9('0x32')](db[_0xe1e9('0x4c')][_0xe1e9('0x50')]);_0x4ab546[_0xe1e9('0x31')]=_['keys'](_0x571f61[_0xe1e9('0x31')]);_0x4ab546[_0xe1e9('0x33')]=_['intersection'](_0x4ab546[_0xe1e9('0x30')],_0x4ab546['query']);_0x242e5a['attributes']=_[_0xe1e9('0x34')](_0x4ab546['model'],qs[_0xe1e9('0x36')](_0x571f61[_0xe1e9('0x31')][_0xe1e9('0x36')]));_0x242e5a[_0xe1e9('0x35')]=_0x242e5a['attributes'][_0xe1e9('0x37')]?_0x242e5a[_0xe1e9('0x35')]:_0x4ab546['model'];_0x242e5a[_0xe1e9('0x3a')]=qs['sort'](_0x571f61[_0xe1e9('0x31')][_0xe1e9('0x3b')]);_0x242e5a['where']=qs[_0xe1e9('0x33')](_[_0xe1e9('0x3d')](_0x571f61[_0xe1e9('0x31')],_0x4ab546['filters']));if(_0x571f61[_0xe1e9('0x31')]['filter']){_0x242e5a['where']=_[_0xe1e9('0x3f')](_0x242e5a['where'],{'$or':_[_0xe1e9('0x2c')](_0x242e5a[_0xe1e9('0x35')],function(_0x371d2b){var _0x30549b={};_0x30549b[_0x371d2b]={'$like':'%'+_0x571f61['query']['filter']+'%'};return _0x30549b;})});}_0x242e5a=_['merge']({},_0x242e5a,_0x571f61[_0xe1e9('0x41')]);return _0x4b29a1[_0xe1e9('0x51')](_0x242e5a);}})[_0xe1e9('0x25')](function(_0x46c453){if(_0x46c453){_0x2f21bc=_0x46c453[_0xe1e9('0x37')];if(!_0x571f61['query'][_0xe1e9('0x38')](_0xe1e9('0x39'))){_0x242e5a[_0xe1e9('0x1d')]=qs[_0xe1e9('0x1d')](_0x571f61['query'][_0xe1e9('0x1d')]);_0x242e5a[_0xe1e9('0x1f')]=qs[_0xe1e9('0x1f')](_0x571f61[_0xe1e9('0x31')]['offset']);}return _0x4b29a1[_0xe1e9('0x51')](_0x242e5a);}})[_0xe1e9('0x25')](function(_0x521923){if(_0x521923){return _0x521923?{'count':_0x2f21bc,'rows':_0x521923}:null;}})['then'](respondWithResult(_0x30343c,null))[_0xe1e9('0x49')](handleError(_0x30343c,null));};exports['addActions']=function(_0x180cb8,_0x112934,_0x513c3b){return db['Action']['find']({'where':{'id':_0x180cb8[_0xe1e9('0x47')]['id']}})[_0xe1e9('0x25')](handleEntityNotFound(_0x112934,null))[_0xe1e9('0x25')](function(_0x572707){if(_0x572707){return _0x572707[_0xe1e9('0x52')](_0x180cb8[_0xe1e9('0x4a')][_0xe1e9('0x4d')],_[_0xe1e9('0x4e')](_0x180cb8[_0xe1e9('0x4a')],[_0xe1e9('0x4d'),'id'])||{});}})[_0xe1e9('0x25')](respondWithResult(_0x112934,null))['catch'](handleError(_0x112934,null));};exports['getActions']=function(_0x5f0698,_0x1fd6f1,_0x5ebf89){var _0x5e824f={};var _0xf5baca={};var _0x449f25;var _0x34015c;return db[_0xe1e9('0x42')][_0xe1e9('0x4f')]({'where':{'id':_0x5f0698[_0xe1e9('0x47')]['id']}})[_0xe1e9('0x25')](handleEntityNotFound(_0x1fd6f1,null))[_0xe1e9('0x25')](function(_0x5d7c53){if(_0x5d7c53){_0x449f25=_0x5d7c53;_0xf5baca[_0xe1e9('0x30')]=_['keys'](db[_0xe1e9('0x53')][_0xe1e9('0x50')]);_0xf5baca[_0xe1e9('0x31')]=_[_0xe1e9('0x32')](_0x5f0698['query']);_0xf5baca[_0xe1e9('0x33')]=_[_0xe1e9('0x34')](_0xf5baca[_0xe1e9('0x30')],_0xf5baca[_0xe1e9('0x31')]);_0x5e824f[_0xe1e9('0x35')]=_[_0xe1e9('0x34')](_0xf5baca[_0xe1e9('0x30')],qs[_0xe1e9('0x36')](_0x5f0698['query'][_0xe1e9('0x36')]));_0x5e824f[_0xe1e9('0x35')]=_0x5e824f[_0xe1e9('0x35')][_0xe1e9('0x37')]?_0x5e824f[_0xe1e9('0x35')]:_0xf5baca[_0xe1e9('0x30')];_0x5e824f[_0xe1e9('0x3a')]=qs[_0xe1e9('0x3b')](_0x5f0698['query'][_0xe1e9('0x3b')]);_0x5e824f[_0xe1e9('0x3c')]=qs['filters'](_[_0xe1e9('0x3d')](_0x5f0698[_0xe1e9('0x31')],_0xf5baca[_0xe1e9('0x33')]));if(_0x5f0698[_0xe1e9('0x31')][_0xe1e9('0x3e')]){_0x5e824f[_0xe1e9('0x3c')]=_[_0xe1e9('0x3f')](_0x5e824f['where'],{'$or':_[_0xe1e9('0x2c')](_0x5e824f['attributes'],function(_0xb99d16){var _0x47f9f7={};_0x47f9f7[_0xb99d16]={'$like':'%'+_0x5f0698[_0xe1e9('0x31')][_0xe1e9('0x3e')]+'%'};return _0x47f9f7;})});}_0x5e824f=_[_0xe1e9('0x3f')]({},_0x5e824f,_0x5f0698['options']);return _0x449f25['getActions'](_0x5e824f);}})[_0xe1e9('0x25')](function(_0x2ca0ee){if(_0x2ca0ee){_0x34015c=_0x2ca0ee[_0xe1e9('0x37')];if(!_0x5f0698['query'][_0xe1e9('0x38')](_0xe1e9('0x39'))){_0x5e824f[_0xe1e9('0x1d')]=qs[_0xe1e9('0x1d')](_0x5f0698[_0xe1e9('0x31')][_0xe1e9('0x1d')]);_0x5e824f[_0xe1e9('0x1f')]=qs[_0xe1e9('0x1f')](_0x5f0698[_0xe1e9('0x31')][_0xe1e9('0x1f')]);}return _0x449f25['getActions'](_0x5e824f);}})[_0xe1e9('0x25')](function(_0x14bd59){if(_0x14bd59){return _0x14bd59?{'count':_0x34015c,'rows':_0x14bd59}:null;}})[_0xe1e9('0x25')](respondWithResult(_0x1fd6f1,null))[_0xe1e9('0x49')](handleError(_0x1fd6f1,null));};
\ No newline at end of file
+var _0xcf94=['ejs','fs-extra','squel','crypto','desk.js','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','offset','undefined','limit','count','set','Content-Range','apply','save','then','destroy','error','stack','name','send','index','map','Automation','rawAttributes','fieldName','type','key','model','query','filters','fields','attributes','length','nolimit','order','sort','where','pick','filter','merge','options','findAll','rows','catch','show','params','keys','intersection','includeAll','include','find','create','body','update','addConditions','ids','getConditions','addActions','Action','omit','getActions','findOne','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv'];(function(_0x5dbdbc,_0x35fee0){var _0x258f29=function(_0x265af9){while(--_0x265af9){_0x5dbdbc['push'](_0x5dbdbc['shift']());}};_0x258f29(++_0x35fee0);}(_0xcf94,0x1e8));var _0x4cf9=function(_0x3cff8f,_0x858b75){_0x3cff8f=_0x3cff8f-0x0;var _0x5727f1=_0xcf94[_0x3cff8f];return _0x5727f1;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x4cf9('0x0'));var zipdir=require(_0x4cf9('0x1'));var jsonpatch=require(_0x4cf9('0x2'));var rp=require(_0x4cf9('0x3'));var moment=require(_0x4cf9('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x4cf9('0x5'));var util=require(_0x4cf9('0x6'));var path=require(_0x4cf9('0x7'));var sox=require(_0x4cf9('0x8'));var csv=require(_0x4cf9('0x9'));var ejs=require(_0x4cf9('0xa'));var fs=require('fs');var fs_extra=require(_0x4cf9('0xb'));var _=require('lodash');var squel=require(_0x4cf9('0xc'));var crypto=require(_0x4cf9('0xd'));var jsforce=require('jsforce');var deskjs=require(_0x4cf9('0xe'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x4cf9('0xf'));var Redis=require(_0x4cf9('0x10'));var authService=require('../../components/auth/service');var qs=require(_0x4cf9('0x11'));var as=require(_0x4cf9('0x12'));var hardwareService=require(_0x4cf9('0x13'));var logger=require(_0x4cf9('0x14'))('api');var utils=require('../../config/utils');var config=require(_0x4cf9('0x15'));var licenseUtil=require(_0x4cf9('0x16'));var db=require(_0x4cf9('0x17'))['db'];function respondWithStatusCode(_0x4dd062,_0x108063){_0x108063=_0x108063||0xcc;return function(_0x536929){if(_0x536929){return _0x4dd062[_0x4cf9('0x18')](_0x108063);}return _0x4dd062[_0x4cf9('0x19')](_0x108063)[_0x4cf9('0x1a')]();};}function respondWithResult(_0x5e5a15,_0x3cd630){_0x3cd630=_0x3cd630||0xc8;return function(_0x27fc56){if(_0x27fc56){return _0x5e5a15['status'](_0x3cd630)['json'](_0x27fc56);}};}function respondWithFilteredResult(_0x4e2dd0,_0x276914){return function(_0x1367ac){if(_0x1367ac){var _0x3e5725=typeof _0x276914[_0x4cf9('0x1b')]===_0x4cf9('0x1c')&&typeof _0x276914[_0x4cf9('0x1d')]===_0x4cf9('0x1c');var _0x358294=_0x1367ac[_0x4cf9('0x1e')];var _0x1c121c=_0x3e5725?0x0:_0x276914[_0x4cf9('0x1b')];var _0x57d132=_0x3e5725?_0x1367ac[_0x4cf9('0x1e')]:_0x276914[_0x4cf9('0x1b')]+_0x276914[_0x4cf9('0x1d')];var _0x35ec40;if(_0x57d132>=_0x358294){_0x57d132=_0x358294;_0x35ec40=0xc8;}else{_0x35ec40=0xce;}_0x4e2dd0[_0x4cf9('0x19')](_0x35ec40);return _0x4e2dd0[_0x4cf9('0x1f')](_0x4cf9('0x20'),_0x1c121c+'-'+_0x57d132+'/'+_0x358294)['json'](_0x1367ac);}return null;};}function patchUpdates(_0xf06424){return function(_0x509811){try{jsonpatch[_0x4cf9('0x21')](_0x509811,_0xf06424,!![]);}catch(_0x45b232){return BPromise['reject'](_0x45b232);}return _0x509811[_0x4cf9('0x22')]();};}function saveUpdates(_0x20d142,_0x8df863){return function(_0x26339f){if(_0x26339f){return _0x26339f['update'](_0x20d142)[_0x4cf9('0x23')](function(_0x57840f){return _0x57840f;});}return null;};}function removeEntity(_0x2d3719,_0x1f7b9d){return function(_0x4054d6){if(_0x4054d6){return _0x4054d6[_0x4cf9('0x24')]()['then'](function(){_0x2d3719[_0x4cf9('0x19')](0xcc)['end']();});}};}function handleEntityNotFound(_0x379ab6,_0x132126){return function(_0x127fde){if(!_0x127fde){_0x379ab6[_0x4cf9('0x18')](0x194);}return _0x127fde;};}function handleError(_0x5c3dc3,_0x444988){_0x444988=_0x444988||0x1f4;return function(_0x4bb6f4){logger[_0x4cf9('0x25')](_0x4bb6f4[_0x4cf9('0x26')]);if(_0x4bb6f4[_0x4cf9('0x27')]){delete _0x4bb6f4['name'];}_0x5c3dc3[_0x4cf9('0x19')](_0x444988)[_0x4cf9('0x28')](_0x4bb6f4);};}exports[_0x4cf9('0x29')]=function(_0x1df895,_0x27702c){var _0x52f277={},_0x3dfb88={},_0x5125ee={'count':0x0,'rows':[]};var _0x100011=_[_0x4cf9('0x2a')](db[_0x4cf9('0x2b')][_0x4cf9('0x2c')],function(_0x51e62b){return{'name':_0x51e62b[_0x4cf9('0x2d')],'type':_0x51e62b[_0x4cf9('0x2e')][_0x4cf9('0x2f')]};});_0x3dfb88[_0x4cf9('0x30')]=_['map'](_0x100011,_0x4cf9('0x27'));_0x3dfb88[_0x4cf9('0x31')]=_['keys'](_0x1df895[_0x4cf9('0x31')]);_0x3dfb88[_0x4cf9('0x32')]=_['intersection'](_0x3dfb88[_0x4cf9('0x30')],_0x3dfb88[_0x4cf9('0x31')]);_0x52f277['attributes']=_['intersection'](_0x3dfb88[_0x4cf9('0x30')],qs[_0x4cf9('0x33')](_0x1df895[_0x4cf9('0x31')]['fields']));_0x52f277[_0x4cf9('0x34')]=_0x52f277[_0x4cf9('0x34')][_0x4cf9('0x35')]?_0x52f277['attributes']:_0x3dfb88[_0x4cf9('0x30')];if(!_0x1df895[_0x4cf9('0x31')]['hasOwnProperty'](_0x4cf9('0x36'))){_0x52f277[_0x4cf9('0x1d')]=qs['limit'](_0x1df895[_0x4cf9('0x31')]['limit']);_0x52f277[_0x4cf9('0x1b')]=qs['offset'](_0x1df895[_0x4cf9('0x31')]['offset']);}_0x52f277[_0x4cf9('0x37')]=qs[_0x4cf9('0x38')](_0x1df895['query']['sort']);_0x52f277[_0x4cf9('0x39')]=qs[_0x4cf9('0x32')](_[_0x4cf9('0x3a')](_0x1df895[_0x4cf9('0x31')],_0x3dfb88['filters']),_0x100011);if(_0x1df895[_0x4cf9('0x31')][_0x4cf9('0x3b')]){_0x52f277[_0x4cf9('0x39')]=_['merge'](_0x52f277[_0x4cf9('0x39')],{'$or':_[_0x4cf9('0x2a')](_0x100011,function(_0x69436){if(_0x69436[_0x4cf9('0x2e')]!=='VIRTUAL'){var _0x452ec7={};_0x452ec7[_0x69436[_0x4cf9('0x27')]]={'$like':'%'+_0x1df895[_0x4cf9('0x31')]['filter']+'%'};return _0x452ec7;}})});}_0x52f277=_[_0x4cf9('0x3c')]({},_0x52f277,_0x1df895[_0x4cf9('0x3d')]);var _0x515342={'where':_0x52f277[_0x4cf9('0x39')]};return db[_0x4cf9('0x2b')][_0x4cf9('0x1e')](_0x515342)[_0x4cf9('0x23')](function(_0x462630){_0x5125ee[_0x4cf9('0x1e')]=_0x462630;if(_0x1df895[_0x4cf9('0x31')]['includeAll']){_0x52f277['include']=[{'all':!![]}];}return db[_0x4cf9('0x2b')][_0x4cf9('0x3e')](_0x52f277);})['then'](function(_0x57b9d3){_0x5125ee[_0x4cf9('0x3f')]=_0x57b9d3;return _0x5125ee;})[_0x4cf9('0x23')](respondWithFilteredResult(_0x27702c,_0x52f277))[_0x4cf9('0x40')](handleError(_0x27702c,null));};exports[_0x4cf9('0x41')]=function(_0x2d3ce8,_0x3688e7){var _0x186bb2={'raw':![],'where':{'id':_0x2d3ce8[_0x4cf9('0x42')]['id']}},_0x1403db={};_0x1403db[_0x4cf9('0x30')]=_['keys'](db[_0x4cf9('0x2b')][_0x4cf9('0x2c')]);_0x1403db['query']=_[_0x4cf9('0x43')](_0x2d3ce8[_0x4cf9('0x31')]);_0x1403db['filters']=_[_0x4cf9('0x44')](_0x1403db['model'],_0x1403db[_0x4cf9('0x31')]);_0x186bb2[_0x4cf9('0x34')]=_[_0x4cf9('0x44')](_0x1403db['model'],qs[_0x4cf9('0x33')](_0x2d3ce8['query'][_0x4cf9('0x33')]));_0x186bb2['attributes']=_0x186bb2[_0x4cf9('0x34')][_0x4cf9('0x35')]?_0x186bb2[_0x4cf9('0x34')]:_0x1403db[_0x4cf9('0x30')];if(_0x2d3ce8[_0x4cf9('0x31')][_0x4cf9('0x45')]){_0x186bb2[_0x4cf9('0x46')]=[{'all':!![]}];}_0x186bb2=_[_0x4cf9('0x3c')]({},_0x186bb2,_0x2d3ce8[_0x4cf9('0x3d')]);return db[_0x4cf9('0x2b')][_0x4cf9('0x47')](_0x186bb2)[_0x4cf9('0x23')](handleEntityNotFound(_0x3688e7,null))[_0x4cf9('0x23')](respondWithResult(_0x3688e7,null))[_0x4cf9('0x40')](handleError(_0x3688e7,null));};exports[_0x4cf9('0x48')]=function(_0xdc243f,_0x4c485a){return db[_0x4cf9('0x2b')][_0x4cf9('0x48')](_0xdc243f[_0x4cf9('0x49')],{})[_0x4cf9('0x23')](respondWithResult(_0x4c485a,0xc9))[_0x4cf9('0x40')](handleError(_0x4c485a,null));};exports[_0x4cf9('0x4a')]=function(_0x2d2ec9,_0x32d146){if(_0x2d2ec9[_0x4cf9('0x49')]['id']){delete _0x2d2ec9[_0x4cf9('0x49')]['id'];}return db[_0x4cf9('0x2b')]['find']({'where':{'id':_0x2d2ec9[_0x4cf9('0x42')]['id']}})[_0x4cf9('0x23')](handleEntityNotFound(_0x32d146,null))['then'](saveUpdates(_0x2d2ec9[_0x4cf9('0x49')],null))[_0x4cf9('0x23')](respondWithResult(_0x32d146,null))['catch'](handleError(_0x32d146,null));};exports['destroy']=function(_0xac2a2b,_0x2bfb49){return db['Automation'][_0x4cf9('0x47')]({'where':{'id':_0xac2a2b['params']['id']}})[_0x4cf9('0x23')](handleEntityNotFound(_0x2bfb49,null))[_0x4cf9('0x23')](removeEntity(_0x2bfb49,null))[_0x4cf9('0x40')](handleError(_0x2bfb49,null));};exports[_0x4cf9('0x4b')]=function(_0x49f8b8,_0x499993,_0x1fdf2b){return db['Condition']['find']({'where':{'id':_0x49f8b8['params']['id']}})[_0x4cf9('0x23')](handleEntityNotFound(_0x499993,null))[_0x4cf9('0x23')](function(_0x10c884){if(_0x10c884){return _0x10c884['addConditions'](_0x49f8b8['body']['ids'],_['omit'](_0x49f8b8[_0x4cf9('0x49')],[_0x4cf9('0x4c'),'id'])||{});}})['then'](respondWithResult(_0x499993,null))[_0x4cf9('0x40')](handleError(_0x499993,null));};exports[_0x4cf9('0x4d')]=function(_0x17254d,_0x43ab6b,_0x2d6f29){var _0x5f3ee6={};var _0x5cd2f3={};var _0x4cdab2;var _0x5c059b;return db['Automation']['findOne']({'where':{'id':_0x17254d['params']['id']}})[_0x4cf9('0x23')](handleEntityNotFound(_0x43ab6b,null))[_0x4cf9('0x23')](function(_0xc458ec){if(_0xc458ec){_0x4cdab2=_0xc458ec;_0x5cd2f3[_0x4cf9('0x30')]=_[_0x4cf9('0x43')](db['Condition'][_0x4cf9('0x2c')]);_0x5cd2f3[_0x4cf9('0x31')]=_[_0x4cf9('0x43')](_0x17254d[_0x4cf9('0x31')]);_0x5cd2f3[_0x4cf9('0x32')]=_[_0x4cf9('0x44')](_0x5cd2f3['model'],_0x5cd2f3[_0x4cf9('0x31')]);_0x5f3ee6[_0x4cf9('0x34')]=_[_0x4cf9('0x44')](_0x5cd2f3['model'],qs[_0x4cf9('0x33')](_0x17254d[_0x4cf9('0x31')][_0x4cf9('0x33')]));_0x5f3ee6[_0x4cf9('0x34')]=_0x5f3ee6[_0x4cf9('0x34')][_0x4cf9('0x35')]?_0x5f3ee6[_0x4cf9('0x34')]:_0x5cd2f3['model'];_0x5f3ee6['order']=qs[_0x4cf9('0x38')](_0x17254d['query'][_0x4cf9('0x38')]);_0x5f3ee6[_0x4cf9('0x39')]=qs[_0x4cf9('0x32')](_[_0x4cf9('0x3a')](_0x17254d['query'],_0x5cd2f3[_0x4cf9('0x32')]));if(_0x17254d[_0x4cf9('0x31')][_0x4cf9('0x3b')]){_0x5f3ee6['where']=_[_0x4cf9('0x3c')](_0x5f3ee6[_0x4cf9('0x39')],{'$or':_[_0x4cf9('0x2a')](_0x5f3ee6[_0x4cf9('0x34')],function(_0x17130a){var _0x3c3e6a={};_0x3c3e6a[_0x17130a]={'$like':'%'+_0x17254d['query']['filter']+'%'};return _0x3c3e6a;})});}_0x5f3ee6=_[_0x4cf9('0x3c')]({},_0x5f3ee6,_0x17254d['options']);return _0x4cdab2['getConditions'](_0x5f3ee6);}})[_0x4cf9('0x23')](function(_0xd3613b){if(_0xd3613b){_0x5c059b=_0xd3613b[_0x4cf9('0x35')];if(!_0x17254d[_0x4cf9('0x31')]['hasOwnProperty']('nolimit')){_0x5f3ee6[_0x4cf9('0x1d')]=qs['limit'](_0x17254d['query'][_0x4cf9('0x1d')]);_0x5f3ee6[_0x4cf9('0x1b')]=qs[_0x4cf9('0x1b')](_0x17254d[_0x4cf9('0x31')]['offset']);}return _0x4cdab2[_0x4cf9('0x4d')](_0x5f3ee6);}})['then'](function(_0x3de0a7){if(_0x3de0a7){return _0x3de0a7?{'count':_0x5c059b,'rows':_0x3de0a7}:null;}})[_0x4cf9('0x23')](respondWithResult(_0x43ab6b,null))[_0x4cf9('0x40')](handleError(_0x43ab6b,null));};exports[_0x4cf9('0x4e')]=function(_0x5e7370,_0x3d7490,_0x1cd09a){return db[_0x4cf9('0x4f')][_0x4cf9('0x47')]({'where':{'id':_0x5e7370['params']['id']}})[_0x4cf9('0x23')](handleEntityNotFound(_0x3d7490,null))[_0x4cf9('0x23')](function(_0x3edd6a){if(_0x3edd6a){return _0x3edd6a[_0x4cf9('0x4e')](_0x5e7370['body']['ids'],_[_0x4cf9('0x50')](_0x5e7370['body'],[_0x4cf9('0x4c'),'id'])||{});}})[_0x4cf9('0x23')](respondWithResult(_0x3d7490,null))[_0x4cf9('0x40')](handleError(_0x3d7490,null));};exports[_0x4cf9('0x51')]=function(_0x12e158,_0x5dfad7,_0x4be764){var _0x3b2739={};var _0x4889d5={};var _0x27d78f;var _0x1c5ba0;return db[_0x4cf9('0x2b')][_0x4cf9('0x52')]({'where':{'id':_0x12e158[_0x4cf9('0x42')]['id']}})['then'](handleEntityNotFound(_0x5dfad7,null))[_0x4cf9('0x23')](function(_0x3dc4e5){if(_0x3dc4e5){_0x27d78f=_0x3dc4e5;_0x4889d5['model']=_[_0x4cf9('0x43')](db[_0x4cf9('0x4f')]['rawAttributes']);_0x4889d5['query']=_[_0x4cf9('0x43')](_0x12e158[_0x4cf9('0x31')]);_0x4889d5[_0x4cf9('0x32')]=_[_0x4cf9('0x44')](_0x4889d5[_0x4cf9('0x30')],_0x4889d5[_0x4cf9('0x31')]);_0x3b2739[_0x4cf9('0x34')]=_[_0x4cf9('0x44')](_0x4889d5[_0x4cf9('0x30')],qs[_0x4cf9('0x33')](_0x12e158['query'][_0x4cf9('0x33')]));_0x3b2739['attributes']=_0x3b2739[_0x4cf9('0x34')]['length']?_0x3b2739[_0x4cf9('0x34')]:_0x4889d5[_0x4cf9('0x30')];_0x3b2739[_0x4cf9('0x37')]=qs['sort'](_0x12e158['query'][_0x4cf9('0x38')]);_0x3b2739[_0x4cf9('0x39')]=qs[_0x4cf9('0x32')](_['pick'](_0x12e158[_0x4cf9('0x31')],_0x4889d5['filters']));if(_0x12e158[_0x4cf9('0x31')][_0x4cf9('0x3b')]){_0x3b2739['where']=_['merge'](_0x3b2739[_0x4cf9('0x39')],{'$or':_[_0x4cf9('0x2a')](_0x3b2739[_0x4cf9('0x34')],function(_0x387a82){var _0x2e4be9={};_0x2e4be9[_0x387a82]={'$like':'%'+_0x12e158[_0x4cf9('0x31')]['filter']+'%'};return _0x2e4be9;})});}_0x3b2739=_[_0x4cf9('0x3c')]({},_0x3b2739,_0x12e158['options']);return _0x27d78f[_0x4cf9('0x51')](_0x3b2739);}})[_0x4cf9('0x23')](function(_0x5d709f){if(_0x5d709f){_0x1c5ba0=_0x5d709f[_0x4cf9('0x35')];if(!_0x12e158['query']['hasOwnProperty'](_0x4cf9('0x36'))){_0x3b2739['limit']=qs['limit'](_0x12e158[_0x4cf9('0x31')][_0x4cf9('0x1d')]);_0x3b2739[_0x4cf9('0x1b')]=qs['offset'](_0x12e158[_0x4cf9('0x31')][_0x4cf9('0x1b')]);}return _0x27d78f[_0x4cf9('0x51')](_0x3b2739);}})['then'](function(_0x43b858){if(_0x43b858){return _0x43b858?{'count':_0x1c5ba0,'rows':_0x43b858}:null;}})[_0x4cf9('0x23')](respondWithResult(_0x5dfad7,null))[_0x4cf9('0x40')](handleError(_0x5dfad7,null));};
\ No newline at end of file
diff --git a/server/api/automation/automation.model.js b/server/api/automation/automation.model.js
index 28fd601..65311f2 100644
--- a/server/api/automation/automation.model.js
+++ b/server/api/automation/automation.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x42db=['bluebird','request-promise','rimraf','./automation.attributes','exports','Automation','tools_automations','util','api'];(function(_0xa6cc5c,_0x239c99){var _0x44803d=function(_0x515b6e){while(--_0x515b6e){_0xa6cc5c['push'](_0xa6cc5c['shift']());}};_0x44803d(++_0x239c99);}(_0x42db,0x11e));var _0xb42d=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x42db[_0x20a584];return _0x4b41a8;};'use strict';var _=require('lodash');var util=require(_0xb42d('0x0'));var logger=require('../../config/logger')(_0xb42d('0x1'));var moment=require('moment');var BPromise=require(_0xb42d('0x2'));var rp=require(_0xb42d('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb42d('0x4'));var config=require('../../config/environment');var attributes=require(_0xb42d('0x5'));module[_0xb42d('0x6')]=function(_0x5d35cb,_0x4bde42){return _0x5d35cb['define'](_0xb42d('0x7'),attributes,{'tableName':_0xb42d('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x0017=['path','rimraf','exports','define','Automation','lodash','util','../../config/logger','request-promise'];(function(_0x36f37b,_0x36ea03){var _0x249634=function(_0x1cde21){while(--_0x1cde21){_0x36f37b['push'](_0x36f37b['shift']());}};_0x249634(++_0x36ea03);}(_0x0017,0x19a));var _0x7001=function(_0x420f2a,_0x2cc58d){_0x420f2a=_0x420f2a-0x0;var _0x28f802=_0x0017[_0x420f2a];return _0x28f802;};'use strict';var _=require(_0x7001('0x0'));var util=require(_0x7001('0x1'));var logger=require(_0x7001('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x7001('0x3'));var fs=require('fs');var path=require(_0x7001('0x4'));var rimraf=require(_0x7001('0x5'));var config=require('../../config/environment');var attributes=require('./automation.attributes');module[_0x7001('0x6')]=function(_0x19991d,_0x5d4f4e){return _0x19991d[_0x7001('0x7')](_0x7001('0x8'),attributes,{'tableName':'tools_automations','paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/automation/automation.rpc.js b/server/api/automation/automation.rpc.js
index d29c8f1..0b945b4 100644
--- a/server/api/automation/automation.rpc.js
+++ b/server/api/automation/automation.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x3d45=['moment','bluebird','randomstring','../../mysqldb','../../config/utils','rpc','then','info','request\x20sent','Automation,\x20%s,\x20%s,\x20%s','stringify','error','Automation,\x20%s,\x20%s','message','result','catch','lodash','util'];(function(_0x2e4c64,_0x33547f){var _0x3d3245=function(_0x39dc0d){while(--_0x39dc0d){_0x2e4c64['push'](_0x2e4c64['shift']());}};_0x3d3245(++_0x33547f);}(_0x3d45,0x1d2));var _0x53d4=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0x3d45[_0x5b644e];return _0x49c6bf;};'use strict';var _=require(_0x53d4('0x0'));var util=require(_0x53d4('0x1'));var moment=require(_0x53d4('0x2'));var BPromise=require(_0x53d4('0x3'));var rs=require(_0x53d4('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x53d4('0x5'))['db'];var utils=require(_0x53d4('0x6'));var logger=require('../../config/logger')(_0x53d4('0x7'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x235ee0,_0xbfffb2,_0x2c7029){return new BPromise(function(_0xdbf204,_0x39ff2a){return client['request'](_0x235ee0,_0x2c7029)[_0x53d4('0x8')](function(_0x20b209){logger[_0x53d4('0x9')]('Automation,\x20%s,\x20%s',_0xbfffb2,_0x53d4('0xa'));logger['debug'](_0x53d4('0xb'),_0xbfffb2,_0x53d4('0xa'),JSON[_0x53d4('0xc')](_0x20b209));if(_0x20b209[_0x53d4('0xd')]){if(_0x20b209[_0x53d4('0xd')]['code']===0x1f4){logger[_0x53d4('0xd')](_0x53d4('0xe'),_0xbfffb2,_0x20b209[_0x53d4('0xd')]['message']);return _0x39ff2a(_0x20b209[_0x53d4('0xd')][_0x53d4('0xf')]);}logger['error'](_0x53d4('0xe'),_0xbfffb2,_0x20b209['error'][_0x53d4('0xf')]);return _0xdbf204(_0x20b209[_0x53d4('0xd')][_0x53d4('0xf')]);}else{logger['info'](_0x53d4('0xe'),_0xbfffb2,_0x53d4('0xa'));_0xdbf204(_0x20b209[_0x53d4('0x10')][_0x53d4('0xf')]);}})[_0x53d4('0x11')](function(_0x503259){logger[_0x53d4('0xd')](_0x53d4('0xe'),_0xbfffb2,_0x503259);_0x39ff2a(_0x503259);});});}
\ No newline at end of file
+var _0xa702=['info','Automation,\x20%s,\x20%s','request\x20sent','debug','Automation,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','lodash','util','moment','bluebird','randomstring','../../mysqldb','rpc','jayson/promise','client','then'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xa702,0x1ae));var _0x2a70=function(_0x33423c,_0x43a7b9){_0x33423c=_0x33423c-0x0;var _0x5bb5b8=_0xa702[_0x33423c];return _0x5bb5b8;};'use strict';var _=require(_0x2a70('0x0'));var util=require(_0x2a70('0x1'));var moment=require(_0x2a70('0x2'));var BPromise=require(_0x2a70('0x3'));var rs=require(_0x2a70('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x2a70('0x5'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0x2a70('0x6'));var config=require('../../config/environment');var jayson=require(_0x2a70('0x7'));var client=jayson[_0x2a70('0x8')]['http']({'port':0x232a});function respondWithRpcPromise(_0x54e5a2,_0x26a166,_0x261c54){return new BPromise(function(_0x51e726,_0x768a34){return client['request'](_0x54e5a2,_0x261c54)[_0x2a70('0x9')](function(_0x3f3a15){logger[_0x2a70('0xa')](_0x2a70('0xb'),_0x26a166,_0x2a70('0xc'));logger[_0x2a70('0xd')](_0x2a70('0xe'),_0x26a166,_0x2a70('0xc'),JSON[_0x2a70('0xf')](_0x3f3a15));if(_0x3f3a15[_0x2a70('0x10')]){if(_0x3f3a15[_0x2a70('0x10')][_0x2a70('0x11')]===0x1f4){logger['error'](_0x2a70('0xb'),_0x26a166,_0x3f3a15[_0x2a70('0x10')][_0x2a70('0x12')]);return _0x768a34(_0x3f3a15[_0x2a70('0x10')][_0x2a70('0x12')]);}logger['error'](_0x2a70('0xb'),_0x26a166,_0x3f3a15[_0x2a70('0x10')]['message']);return _0x51e726(_0x3f3a15[_0x2a70('0x10')][_0x2a70('0x12')]);}else{logger['info'](_0x2a70('0xb'),_0x26a166,_0x2a70('0xc'));_0x51e726(_0x3f3a15['result']['message']);}})[_0x2a70('0x13')](function(_0x450273){logger[_0x2a70('0x10')](_0x2a70('0xb'),_0x26a166,_0x450273);_0x768a34(_0x450273);});});}
\ No newline at end of file
diff --git a/server/api/automation/index.js b/server/api/automation/index.js
index f6dde7d..8e1d6af 100644
--- a/server/api/automation/index.js
+++ b/server/api/automation/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xa198=['../../components/auth/service','../../components/interaction/service','../../config/environment','./automation.controller','get','index','/:id','isAuthenticated','/:id/conditions','/:id/actions','post','create','put','update','delete','destroy','exports','multer','connect-timeout','express','Router','fs-extra'];(function(_0x32e8e3,_0x204ae8){var _0x35bbc0=function(_0x7f5142){while(--_0x7f5142){_0x32e8e3['push'](_0x32e8e3['shift']());}};_0x35bbc0(++_0x204ae8);}(_0xa198,0x7f));var _0x8a19=function(_0x5a1020,_0x4c9201){_0x5a1020=_0x5a1020-0x0;var _0x59a18f=_0xa198[_0x5a1020];return _0x59a18f;};'use strict';var multer=require(_0x8a19('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x8a19('0x1'));var express=require(_0x8a19('0x2'));var router=express[_0x8a19('0x3')]();var fs_extra=require(_0x8a19('0x4'));var auth=require(_0x8a19('0x5'));var interaction=require(_0x8a19('0x6'));var config=require(_0x8a19('0x7'));var controller=require(_0x8a19('0x8'));router[_0x8a19('0x9')]('/',auth['isAuthenticated'](),controller[_0x8a19('0xa')]);router['get'](_0x8a19('0xb'),auth[_0x8a19('0xc')](),controller['show']);router[_0x8a19('0x9')](_0x8a19('0xd'),auth[_0x8a19('0xc')](),controller['getConditions']);router[_0x8a19('0x9')](_0x8a19('0xe'),auth[_0x8a19('0xc')](),controller['getActions']);router[_0x8a19('0xf')]('/',auth['isAuthenticated'](),controller[_0x8a19('0x10')]);router[_0x8a19('0xf')](_0x8a19('0xd'),auth[_0x8a19('0xc')](),controller['addConditions']);router['post'](_0x8a19('0xe'),auth[_0x8a19('0xc')](),controller['addActions']);router[_0x8a19('0x11')](_0x8a19('0xb'),auth[_0x8a19('0xc')](),controller[_0x8a19('0x12')]);router[_0x8a19('0x13')](_0x8a19('0xb'),auth[_0x8a19('0xc')](),controller[_0x8a19('0x14')]);module[_0x8a19('0x15')]=router;
\ No newline at end of file
+var _0x49f8=['Router','fs-extra','./automation.controller','get','isAuthenticated','index','show','/:id/conditions','getConditions','/:id/actions','post','create','addActions','put','/:id','update','delete','destroy','exports','multer','util','express'];(function(_0x3706b6,_0x885101){var _0x22a9dd=function(_0x3ddb1f){while(--_0x3ddb1f){_0x3706b6['push'](_0x3706b6['shift']());}};_0x22a9dd(++_0x885101);}(_0x49f8,0x105));var _0x849f=function(_0x5dea03,_0x5edc15){_0x5dea03=_0x5dea03-0x0;var _0x18a82d=_0x49f8[_0x5dea03];return _0x18a82d;};'use strict';var multer=require(_0x849f('0x0'));var util=require(_0x849f('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x849f('0x2'));var router=express[_0x849f('0x3')]();var fs_extra=require(_0x849f('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x849f('0x5'));router[_0x849f('0x6')]('/',auth[_0x849f('0x7')](),controller[_0x849f('0x8')]);router[_0x849f('0x6')]('/:id',auth['isAuthenticated'](),controller[_0x849f('0x9')]);router[_0x849f('0x6')](_0x849f('0xa'),auth['isAuthenticated'](),controller[_0x849f('0xb')]);router[_0x849f('0x6')](_0x849f('0xc'),auth['isAuthenticated'](),controller['getActions']);router[_0x849f('0xd')]('/',auth[_0x849f('0x7')](),controller[_0x849f('0xe')]);router[_0x849f('0xd')](_0x849f('0xa'),auth[_0x849f('0x7')](),controller['addConditions']);router[_0x849f('0xd')]('/:id/actions',auth['isAuthenticated'](),controller[_0x849f('0xf')]);router[_0x849f('0x10')](_0x849f('0x11'),auth['isAuthenticated'](),controller[_0x849f('0x12')]);router[_0x849f('0x13')](_0x849f('0x11'),auth[_0x849f('0x7')](),controller[_0x849f('0x14')]);module[_0x849f('0x15')]=router;
\ No newline at end of file
diff --git a/server/api/campaign/campaign.attributes.js b/server/api/campaign/campaign.attributes.js
index 095e868..b39180d 100644
--- a/server/api/campaign/campaign.attributes.js
+++ b/server/api/campaign/campaign.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x2752=['never','onlyIfOpen','always','BOOLEAN','Active/Disactive\x20AMD','#AMD\x20Initial\x20Silence','#AMD\x20After\x20Greeting\x20Silence','#AMD\x20Total\x20Analysis\x20Time','#AMD\x20Min\x20Word\x20Length','#AMD\x20Between\x20Words\x20Silence','#AMD\x20Maximum\x20Number\x20Of\x20Words','#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)','ASC','Random\x20Last\x20Digit\x20(min:1,\x20max:15)','Cut\x20Digit\x20(min:1,\x20max:15)','#Drop\x20Retry\x20(min:1,\x20max:999)','Drop\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Abandoned\x20Retry\x20(min:1,\x20max:999)','Abandoned\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Machine\x20Retry\x20(min:1,\x20max:999)','Machine\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','STRING','ENUM','ivr','INTEGER','UNSIGNED','Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','#Congestion\x20Retry\x20(min:1,\x20max:999)','Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Busy\x20Retry\x20(min:1,\x20max:999)','Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#NoAnswer\x20Retry\x20(min:1,\x20max:999)','#Global\x20Max\x20Retry\x20(min:1,\x20max:999)','07:00-22:00,*,*,*'];(function(_0x51020b,_0x38c2c7){var _0x371e47=function(_0x2a538f){while(--_0x2a538f){_0x51020b['push'](_0x51020b['shift']());}};_0x371e47(++_0x38c2c7);}(_0x2752,0x1ad));var _0x2275=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x2752[_0x321bb2];return _0x9c12ed;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x2275('0x0')],'unique':'name','allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'type':{'type':Sequelize[_0x2275('0x1')]('ivr'),'allowNull':![],'defaultValue':_0x2275('0x2')},'description':{'type':Sequelize['STRING']},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':'Active/Disactive\x20Campaign'},'limitCalls':{'type':Sequelize[_0x2275('0x3')](0x4)['UNSIGNED'],'defaultValue':0x1e,'validate':{'min':0x1,'max':0xc8},'comment':'Max\x20200\x20calls.'},'dialOriginateCallerIdName':{'type':Sequelize[_0x2275('0x0')]},'dialOriginateCallerIdNumber':{'type':Sequelize['STRING']},'dialOriginateTimeout':{'type':Sequelize[_0x2275('0x3')](0x3)[_0x2275('0x4')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0x2275('0x5')},'dialCongestionMaxRetry':{'type':Sequelize[_0x2275('0x3')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x2275('0x6')},'dialCongestionRetryFrequency':{'type':Sequelize[_0x2275('0x3')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x2275('0x7')},'dialBusyMaxRetry':{'type':Sequelize[_0x2275('0x3')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x2275('0x8')},'dialBusyRetryFrequency':{'type':Sequelize[_0x2275('0x3')](0x5)[_0x2275('0x4')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x2275('0x9')},'dialNoAnswerMaxRetry':{'type':Sequelize[_0x2275('0x3')](0x3)['UNSIGNED'],'defaultValue':0x3,'comment':_0x2275('0xa')},'dialNoAnswerRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x2275('0x4')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialGlobalMaxRetry':{'type':Sequelize[_0x2275('0x3')](0x3)[_0x2275('0x4')],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0x2275('0xb')},'dialTimezone':{'type':Sequelize['STRING'],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0x2275('0x0')],'defaultValue':_0x2275('0xc')},'dialCheckDuplicateType':{'type':Sequelize[_0x2275('0x1')]('always',_0x2275('0xd'),_0x2275('0xe')),'defaultValue':_0x2275('0xf')},'dialAMDActive':{'type':Sequelize[_0x2275('0x10')],'defaultValue':0x0,'comment':_0x2275('0x11')},'dialAMDInitialSilence':{'type':Sequelize[_0x2275('0x3')](0x9)['UNSIGNED'],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0x2275('0x12')},'dialAMDGreeting':{'type':Sequelize[_0x2275('0x3')](0x9)[_0x2275('0x4')],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':'#AMD\x20Greeting'},'dialAMDAfterGreetingSilence':{'type':Sequelize[_0x2275('0x3')](0x9)['UNSIGNED'],'defaultValue':0x320,'validate':{'min':0x0},'comment':_0x2275('0x13')},'dialAMDTotalAnalysisTime':{'type':Sequelize['INTEGER'](0x9)[_0x2275('0x4')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x2275('0x14')},'dialAMDMinWordLength':{'type':Sequelize[_0x2275('0x3')](0x9)['UNSIGNED'],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0x2275('0x15')},'dialAMDBetweenWordsSilence':{'type':Sequelize['INTEGER'](0x9)['UNSIGNED'],'defaultValue':0x32,'validate':{'min':0x0},'comment':_0x2275('0x16')},'dialAMDMaximumNumberOfWords':{'type':Sequelize['INTEGER'](0x9)[_0x2275('0x4')],'defaultValue':0x3,'validate':{'min':0x0},'comment':_0x2275('0x17')},'dialAMDSilenceThreshold':{'type':Sequelize[_0x2275('0x3')](0x5)[_0x2275('0x4')],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':_0x2275('0x18')},'dialAMDMaximumWordLength':{'type':Sequelize[_0x2275('0x3')](0x9)[_0x2275('0x4')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':'#AMD\x20Maximum\x20Word\x20Length'},'dialOrderByScheduledAt':{'type':Sequelize[_0x2275('0x1')]('DESC',_0x2275('0x19')),'defaultValue':'DESC'},'dialPrefix':{'type':Sequelize[_0x2275('0x0')],'defaultValue':null},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize[_0x2275('0x3')](0x3)['UNSIGNED'],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x2275('0x1a')},'dialCutDigit':{'type':Sequelize[_0x2275('0x3')](0x3)[_0x2275('0x4')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x2275('0x1b')},'dialNoSuchNumberMaxRetry':{'type':Sequelize[_0x2275('0x3')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#NoSuchNumber\x20Retry\x20(min:1,\x20max:999)'},'dialNoSuchNumberRetryFrequency':{'type':Sequelize[_0x2275('0x3')](0x5)[_0x2275('0x4')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'NoSuchNumber\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialDropMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x2275('0x4')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x2275('0x1c')},'dialDropRetryFrequency':{'type':Sequelize[_0x2275('0x3')](0x5)[_0x2275('0x4')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x2275('0x1d')},'dialAbandonedMaxRetry':{'type':Sequelize[_0x2275('0x3')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x2275('0x1e')},'dialAbandonedRetryFrequency':{'type':Sequelize[_0x2275('0x3')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x2275('0x1f')},'dialMachineMaxRetry':{'type':Sequelize[_0x2275('0x3')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x2275('0x20')},'dialMachineRetryFrequency':{'type':Sequelize[_0x2275('0x3')](0x5)[_0x2275('0x4')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x2275('0x21')},'dialAgentRejectMaxRetry':{'type':Sequelize[_0x2275('0x3')](0x3)[_0x2275('0x4')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#AgentReject\x20Retry\x20(min:1,\x20max:999)'},'dialAgentRejectRetryFrequency':{'type':Sequelize['INTEGER'](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'AgentReject\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'}};
\ No newline at end of file
+var _0x4a8e=['Machine\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','AgentReject\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','sequelize','exports','name','ENUM','ivr','STRING','BOOLEAN','Active/Disactive\x20Campaign','Max\x20200\x20calls.','UNSIGNED','Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','#Congestion\x20Retry\x20(min:1,\x20max:999)','INTEGER','Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Busy\x20Retry\x20(min:1,\x20max:999)','NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Global\x20Max\x20Retry\x20(min:1,\x20max:999)','07:00-22:00,*,*,*','never','onlyIfOpen','always','#AMD\x20Initial\x20Silence','#AMD\x20Greeting','#AMD\x20After\x20Greeting\x20Silence','#AMD\x20Total\x20Analysis\x20Time','#AMD\x20Min\x20Word\x20Length','#AMD\x20Between\x20Words\x20Silence','#AMD\x20Maximum\x20Number\x20Of\x20Words','DESC','ASC','Random\x20Last\x20Digit\x20(min:1,\x20max:15)','Cut\x20Digit\x20(min:1,\x20max:15)','#NoSuchNumber\x20Retry\x20(min:1,\x20max:999)','NoSuchNumber\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Drop\x20Retry\x20(min:1,\x20max:999)','Drop\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Abandoned\x20Retry\x20(min:1,\x20max:999)','Abandoned\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Machine\x20Retry\x20(min:1,\x20max:999)'];(function(_0x6a3bfb,_0x2786ee){var _0x148f56=function(_0x217bc2){while(--_0x217bc2){_0x6a3bfb['push'](_0x6a3bfb['shift']());}};_0x148f56(++_0x2786ee);}(_0x4a8e,0x173));var _0xe4a8=function(_0x58b6c7,_0x3bf35e){_0x58b6c7=_0x58b6c7-0x0;var _0x5f50d0=_0x4a8e[_0x58b6c7];return _0x5f50d0;};'use strict';var Sequelize=require(_0xe4a8('0x0'));module[_0xe4a8('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0xe4a8('0x2'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'type':{'type':Sequelize[_0xe4a8('0x3')]('ivr'),'allowNull':![],'defaultValue':_0xe4a8('0x4')},'description':{'type':Sequelize[_0xe4a8('0x5')]},'active':{'type':Sequelize[_0xe4a8('0x6')],'defaultValue':0x0,'comment':_0xe4a8('0x7')},'limitCalls':{'type':Sequelize['INTEGER'](0x4)['UNSIGNED'],'defaultValue':0x1e,'validate':{'min':0x1,'max':0xc8},'comment':_0xe4a8('0x8')},'dialOriginateCallerIdName':{'type':Sequelize[_0xe4a8('0x5')]},'dialOriginateCallerIdNumber':{'type':Sequelize[_0xe4a8('0x5')]},'dialOriginateTimeout':{'type':Sequelize['INTEGER'](0x3)[_0xe4a8('0x9')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0xe4a8('0xa')},'dialCongestionMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0xe4a8('0x9')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xe4a8('0xb')},'dialCongestionRetryFrequency':{'type':Sequelize[_0xe4a8('0xc')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xe4a8('0xd')},'dialBusyMaxRetry':{'type':Sequelize[_0xe4a8('0xc')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xe4a8('0xe')},'dialBusyRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0xe4a8('0x9')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialNoAnswerMaxRetry':{'type':Sequelize[_0xe4a8('0xc')](0x3)[_0xe4a8('0x9')],'defaultValue':0x3,'comment':'#NoAnswer\x20Retry\x20(min:1,\x20max:999)'},'dialNoAnswerRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0xe4a8('0x9')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xe4a8('0xf')},'dialGlobalMaxRetry':{'type':Sequelize[_0xe4a8('0xc')](0x3)[_0xe4a8('0x9')],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0xe4a8('0x10')},'dialTimezone':{'type':Sequelize[_0xe4a8('0x5')],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0xe4a8('0x5')],'defaultValue':_0xe4a8('0x11')},'dialCheckDuplicateType':{'type':Sequelize[_0xe4a8('0x3')]('always',_0xe4a8('0x12'),_0xe4a8('0x13')),'defaultValue':_0xe4a8('0x14')},'dialAMDActive':{'type':Sequelize[_0xe4a8('0x6')],'defaultValue':0x0,'comment':'Active/Disactive\x20AMD'},'dialAMDInitialSilence':{'type':Sequelize[_0xe4a8('0xc')](0x9)[_0xe4a8('0x9')],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0xe4a8('0x15')},'dialAMDGreeting':{'type':Sequelize[_0xe4a8('0xc')](0x9)[_0xe4a8('0x9')],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0xe4a8('0x16')},'dialAMDAfterGreetingSilence':{'type':Sequelize[_0xe4a8('0xc')](0x9)[_0xe4a8('0x9')],'defaultValue':0x320,'validate':{'min':0x0},'comment':_0xe4a8('0x17')},'dialAMDTotalAnalysisTime':{'type':Sequelize['INTEGER'](0x9)[_0xe4a8('0x9')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0xe4a8('0x18')},'dialAMDMinWordLength':{'type':Sequelize[_0xe4a8('0xc')](0x9)[_0xe4a8('0x9')],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0xe4a8('0x19')},'dialAMDBetweenWordsSilence':{'type':Sequelize[_0xe4a8('0xc')](0x9)['UNSIGNED'],'defaultValue':0x32,'validate':{'min':0x0},'comment':_0xe4a8('0x1a')},'dialAMDMaximumNumberOfWords':{'type':Sequelize['INTEGER'](0x9)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x0},'comment':_0xe4a8('0x1b')},'dialAMDSilenceThreshold':{'type':Sequelize[_0xe4a8('0xc')](0x5)[_0xe4a8('0x9')],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':'#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)'},'dialAMDMaximumWordLength':{'type':Sequelize['INTEGER'](0x9)[_0xe4a8('0x9')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':'#AMD\x20Maximum\x20Word\x20Length'},'dialOrderByScheduledAt':{'type':Sequelize[_0xe4a8('0x3')](_0xe4a8('0x1c'),_0xe4a8('0x1d')),'defaultValue':_0xe4a8('0x1c')},'dialPrefix':{'type':Sequelize['STRING'],'defaultValue':null},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize['INTEGER'](0x3)[_0xe4a8('0x9')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0xe4a8('0x1e')},'dialCutDigit':{'type':Sequelize[_0xe4a8('0xc')](0x3)['UNSIGNED'],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0xe4a8('0x1f')},'dialNoSuchNumberMaxRetry':{'type':Sequelize[_0xe4a8('0xc')](0x3)[_0xe4a8('0x9')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xe4a8('0x20')},'dialNoSuchNumberRetryFrequency':{'type':Sequelize[_0xe4a8('0xc')](0x5)[_0xe4a8('0x9')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xe4a8('0x21')},'dialDropMaxRetry':{'type':Sequelize[_0xe4a8('0xc')](0x3)[_0xe4a8('0x9')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xe4a8('0x22')},'dialDropRetryFrequency':{'type':Sequelize[_0xe4a8('0xc')](0x5)[_0xe4a8('0x9')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xe4a8('0x23')},'dialAbandonedMaxRetry':{'type':Sequelize[_0xe4a8('0xc')](0x3)[_0xe4a8('0x9')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xe4a8('0x24')},'dialAbandonedRetryFrequency':{'type':Sequelize[_0xe4a8('0xc')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xe4a8('0x25')},'dialMachineMaxRetry':{'type':Sequelize[_0xe4a8('0xc')](0x3)[_0xe4a8('0x9')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xe4a8('0x26')},'dialMachineRetryFrequency':{'type':Sequelize[_0xe4a8('0xc')](0x5)[_0xe4a8('0x9')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xe4a8('0x27')},'dialAgentRejectMaxRetry':{'type':Sequelize[_0xe4a8('0xc')](0x3)[_0xe4a8('0x9')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#AgentReject\x20Retry\x20(min:1,\x20max:999)'},'dialAgentRejectRetryFrequency':{'type':Sequelize[_0xe4a8('0xc')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xe4a8('0x28')}};
\ No newline at end of file
diff --git a/server/api/campaign/campaign.controller.js b/server/api/campaign/campaign.controller.js
index a53aeb5..e1388e6 100644
--- a/server/api/campaign/campaign.controller.js
+++ b/server/api/campaign/campaign.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xa9f0=['always','insert','cm_hopper','fromQuery','phone','ContactId','ListId','select','field','NOW()','scheduledAt','CmListId','toString','cm_contacts','deletedAt\x20IS\x20NULL','ListId\x20=\x20?','phone\x20IS\x20NOT\x20NULL','phone\x20NOT\x20IN\x20(?)','from','cm_hopper_final','CampaignId\x20=\x20?','COALESCE(phone,\x27\x27)','onlyIfOpen','into','cm_hopper_additional_phones','cmHopperId','OrderBy','h.id','ci.item','ci.OrderBY','cm_contact_has_items','join','h.ContactId\x20=\x20ci.CmContactId','h.createdAt\x20=\x20?','push','sequelize','all','removeLists','getBlackLists','addBlackLists','removeBlackLists','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','to-csv','fs-extra','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','limit','undefined','count','offset','Content-Range','reject','save','update','then','destroy','get','UserProfileResource','error','name','send','index','fieldName','type','key','map','query','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','sort','where','filters','pick','filter','merge','VIRTUAL','options','Campaign','includeAll','include','catch','keys','create','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','UserProfileSection','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','params','find','omit','createdAt','updatedAt','body','IvrCampaigns','getHoppers','findOne','CmHopper','rawAttributes','order','CampaignId','rows','getHopperHistories','CmHopperHistory','findAll','getHopperFinals','CmHopperFinal','getHopperBlacks','CmHopperBlack','CmList','getLists','addLists','format','YYYY-MM-DD\x20HH:mm:ss','ids','spread','dialCheckDuplicateType'];(function(_0x41d9e3,_0x4980db){var _0x14e961=function(_0x538b51){while(--_0x538b51){_0x41d9e3['push'](_0x41d9e3['shift']());}};_0x14e961(++_0x4980db);}(_0xa9f0,0x153));var _0x0a9f=function(_0x50a10c,_0x59dd05){_0x50a10c=_0x50a10c-0x0;var _0x5f4ca9=_0xa9f0[_0x50a10c];return _0x5f4ca9;};'use strict';var emlformat=require(_0x0a9f('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x0a9f('0x1'));var jsonpatch=require(_0x0a9f('0x2'));var rp=require(_0x0a9f('0x3'));var moment=require(_0x0a9f('0x4'));var BPromise=require(_0x0a9f('0x5'));var Mustache=require(_0x0a9f('0x6'));var util=require(_0x0a9f('0x7'));var path=require(_0x0a9f('0x8'));var sox=require('sox');var csv=require(_0x0a9f('0x9'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x0a9f('0xa'));var _=require('lodash');var squel=require(_0x0a9f('0xb'));var crypto=require(_0x0a9f('0xc'));var jsforce=require(_0x0a9f('0xd'));var deskjs=require(_0x0a9f('0xe'));var toCsv=require('to-csv');var querystring=require(_0x0a9f('0xf'));var Papa=require(_0x0a9f('0x10'));var Redis=require(_0x0a9f('0x11'));var authService=require(_0x0a9f('0x12'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x0a9f('0x13'));var logger=require(_0x0a9f('0x14'))(_0x0a9f('0x15'));var utils=require(_0x0a9f('0x16'));var config=require(_0x0a9f('0x17'));var licenseUtil=require(_0x0a9f('0x18'));var db=require(_0x0a9f('0x19'))['db'];function respondWithStatusCode(_0x273f6b,_0x3710c2){_0x3710c2=_0x3710c2||0xcc;return function(_0x1340e3){if(_0x1340e3){return _0x273f6b[_0x0a9f('0x1a')](_0x3710c2);}return _0x273f6b[_0x0a9f('0x1b')](_0x3710c2)[_0x0a9f('0x1c')]();};}function respondWithResult(_0x4aac66,_0xa9b7e){_0xa9b7e=_0xa9b7e||0xc8;return function(_0x482d30){if(_0x482d30){return _0x4aac66[_0x0a9f('0x1b')](_0xa9b7e)[_0x0a9f('0x1d')](_0x482d30);}};}function respondWithFilteredResult(_0x25bd38,_0x450165){return function(_0x54dec9){if(_0x54dec9){var _0x5110b6=typeof _0x450165['offset']==='undefined'&&typeof _0x450165[_0x0a9f('0x1e')]===_0x0a9f('0x1f');var _0x4efe03=_0x54dec9[_0x0a9f('0x20')];var _0x31bbc4=_0x5110b6?0x0:_0x450165[_0x0a9f('0x21')];var _0x505444=_0x5110b6?_0x54dec9[_0x0a9f('0x20')]:_0x450165[_0x0a9f('0x21')]+_0x450165[_0x0a9f('0x1e')];var _0x4fabc3;if(_0x505444>=_0x4efe03){_0x505444=_0x4efe03;_0x4fabc3=0xc8;}else{_0x4fabc3=0xce;}_0x25bd38[_0x0a9f('0x1b')](_0x4fabc3);return _0x25bd38['set'](_0x0a9f('0x22'),_0x31bbc4+'-'+_0x505444+'/'+_0x4efe03)[_0x0a9f('0x1d')](_0x54dec9);}return null;};}function patchUpdates(_0x2e010d){return function(_0x2c3d31){try{jsonpatch['apply'](_0x2c3d31,_0x2e010d,!![]);}catch(_0x5ad23c){return BPromise[_0x0a9f('0x23')](_0x5ad23c);}return _0x2c3d31[_0x0a9f('0x24')]();};}function saveUpdates(_0x917803,_0x957df0){return function(_0x2c4f1a){if(_0x2c4f1a){return _0x2c4f1a[_0x0a9f('0x25')](_0x917803)[_0x0a9f('0x26')](function(_0x40e5b3){return _0x40e5b3;});}return null;};}function removeEntity(_0x2e218f,_0x57f649){return function(_0x588ecc){if(_0x588ecc){return _0x588ecc[_0x0a9f('0x27')]()['then'](function(){var _0x957556=_0x588ecc[_0x0a9f('0x28')]({'plain':!![]});var _0x74f17d='IvrCampaigns';return db[_0x0a9f('0x29')]['destroy']({'where':{'type':_0x74f17d,'resourceId':_0x957556['id']}})[_0x0a9f('0x26')](function(){return _0x588ecc;});})['then'](function(){_0x2e218f['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x44b380,_0x433801){return function(_0x163d67){if(!_0x163d67){_0x44b380['sendStatus'](0x194);}return _0x163d67;};}function handleError(_0x48e90b,_0x18d470){_0x18d470=_0x18d470||0x1f4;return function(_0x48cfc5){logger[_0x0a9f('0x2a')](_0x48cfc5['stack']);if(_0x48cfc5['name']){delete _0x48cfc5[_0x0a9f('0x2b')];}_0x48e90b[_0x0a9f('0x1b')](_0x18d470)[_0x0a9f('0x2c')](_0x48cfc5);};}exports[_0x0a9f('0x2d')]=function(_0x40bd5d,_0x340d94){var _0x30d944={},_0x28d4c3={},_0x3231f8={'count':0x0,'rows':[]};var _0x5b19e5=_['map'](db['Campaign']['rawAttributes'],function(_0x5cf498){return{'name':_0x5cf498[_0x0a9f('0x2e')],'type':_0x5cf498[_0x0a9f('0x2f')][_0x0a9f('0x30')]};});_0x28d4c3['model']=_[_0x0a9f('0x31')](_0x5b19e5,_0x0a9f('0x2b'));_0x28d4c3[_0x0a9f('0x32')]=_['keys'](_0x40bd5d[_0x0a9f('0x32')]);_0x28d4c3['filters']=_[_0x0a9f('0x33')](_0x28d4c3[_0x0a9f('0x34')],_0x28d4c3['query']);_0x30d944[_0x0a9f('0x35')]=_[_0x0a9f('0x33')](_0x28d4c3[_0x0a9f('0x34')],qs[_0x0a9f('0x36')](_0x40bd5d['query'][_0x0a9f('0x36')]));_0x30d944[_0x0a9f('0x35')]=_0x30d944[_0x0a9f('0x35')][_0x0a9f('0x37')]?_0x30d944[_0x0a9f('0x35')]:_0x28d4c3[_0x0a9f('0x34')];if(!_0x40bd5d['query'][_0x0a9f('0x38')](_0x0a9f('0x39'))){_0x30d944[_0x0a9f('0x1e')]=qs['limit'](_0x40bd5d['query']['limit']);_0x30d944[_0x0a9f('0x21')]=qs[_0x0a9f('0x21')](_0x40bd5d[_0x0a9f('0x32')][_0x0a9f('0x21')]);}_0x30d944['order']=qs['sort'](_0x40bd5d[_0x0a9f('0x32')][_0x0a9f('0x3a')]);_0x30d944[_0x0a9f('0x3b')]=qs[_0x0a9f('0x3c')](_[_0x0a9f('0x3d')](_0x40bd5d['query'],_0x28d4c3[_0x0a9f('0x3c')]),_0x5b19e5);if(_0x40bd5d[_0x0a9f('0x32')][_0x0a9f('0x3e')]){_0x30d944[_0x0a9f('0x3b')]=_[_0x0a9f('0x3f')](_0x30d944[_0x0a9f('0x3b')],{'$or':_[_0x0a9f('0x31')](_0x5b19e5,function(_0x125827){if(_0x125827[_0x0a9f('0x2f')]!==_0x0a9f('0x40')){var _0x242e30={};_0x242e30[_0x125827[_0x0a9f('0x2b')]]={'$like':'%'+_0x40bd5d[_0x0a9f('0x32')][_0x0a9f('0x3e')]+'%'};return _0x242e30;}})});}_0x30d944=_[_0x0a9f('0x3f')]({},_0x30d944,_0x40bd5d[_0x0a9f('0x41')]);var _0x1db7f2={'where':_0x30d944[_0x0a9f('0x3b')]};return db[_0x0a9f('0x42')][_0x0a9f('0x20')](_0x1db7f2)[_0x0a9f('0x26')](function(_0x186dd7){_0x3231f8[_0x0a9f('0x20')]=_0x186dd7;if(_0x40bd5d[_0x0a9f('0x32')][_0x0a9f('0x43')]){_0x30d944[_0x0a9f('0x44')]=[{'all':!![]}];}return db[_0x0a9f('0x42')]['findAll'](_0x30d944);})[_0x0a9f('0x26')](function(_0x29ffb0){_0x3231f8['rows']=_0x29ffb0;return _0x3231f8;})[_0x0a9f('0x26')](respondWithFilteredResult(_0x340d94,_0x30d944))[_0x0a9f('0x45')](handleError(_0x340d94,null));};exports['show']=function(_0x599377,_0x2e8495){var _0x4ee4c1={'raw':![],'where':{'id':_0x599377['params']['id']}},_0x33d3cb={};_0x33d3cb[_0x0a9f('0x34')]=_[_0x0a9f('0x46')](db['Campaign']['rawAttributes']);_0x33d3cb['query']=_[_0x0a9f('0x46')](_0x599377[_0x0a9f('0x32')]);_0x33d3cb[_0x0a9f('0x3c')]=_[_0x0a9f('0x33')](_0x33d3cb[_0x0a9f('0x34')],_0x33d3cb[_0x0a9f('0x32')]);_0x4ee4c1[_0x0a9f('0x35')]=_[_0x0a9f('0x33')](_0x33d3cb[_0x0a9f('0x34')],qs['fields'](_0x599377[_0x0a9f('0x32')][_0x0a9f('0x36')]));_0x4ee4c1['attributes']=_0x4ee4c1['attributes']['length']?_0x4ee4c1['attributes']:_0x33d3cb[_0x0a9f('0x34')];if(_0x599377['query'][_0x0a9f('0x43')]){_0x4ee4c1[_0x0a9f('0x44')]=[{'all':!![]}];}_0x4ee4c1=_[_0x0a9f('0x3f')]({},_0x4ee4c1,_0x599377[_0x0a9f('0x41')]);return db[_0x0a9f('0x42')]['find'](_0x4ee4c1)[_0x0a9f('0x26')](handleEntityNotFound(_0x2e8495,null))[_0x0a9f('0x26')](respondWithResult(_0x2e8495,null))[_0x0a9f('0x45')](handleError(_0x2e8495,null));};exports[_0x0a9f('0x47')]=function(_0x3c9dd8,_0x2cac3e){return db[_0x0a9f('0x42')]['create'](_0x3c9dd8['body'],{})['then'](function(_0x12c23e){var _0x4c239c=_0x3c9dd8['user'][_0x0a9f('0x28')]({'plain':!![]});if(!_0x4c239c)throw new Error(_0x0a9f('0x48'));if(_0x4c239c[_0x0a9f('0x49')]===_0x0a9f('0x4a')){var _0x197849=_0x12c23e[_0x0a9f('0x28')]({'plain':!![]});var _0x1ea659='IvrCampaigns';return db[_0x0a9f('0x4b')]['find']({'where':{'name':_0x1ea659,'userProfileId':_0x4c239c[_0x0a9f('0x4c')]},'raw':!![]})[_0x0a9f('0x26')](function(_0x95bede){if(_0x95bede&&_0x95bede[_0x0a9f('0x4d')]===0x0){return db[_0x0a9f('0x29')]['create']({'name':_0x197849[_0x0a9f('0x2b')],'resourceId':_0x197849['id'],'type':_0x95bede[_0x0a9f('0x2b')],'sectionId':_0x95bede['id']},{})[_0x0a9f('0x26')](function(){return _0x12c23e;});}else{return _0x12c23e;}})[_0x0a9f('0x45')](function(_0x2c58c7){logger[_0x0a9f('0x2a')](_0x0a9f('0x4e'),_0x2c58c7);throw _0x2c58c7;});}return _0x12c23e;})[_0x0a9f('0x26')](respondWithResult(_0x2cac3e,0xc9))[_0x0a9f('0x45')](handleError(_0x2cac3e,null));};exports['clone']=function(_0x4bce0d,_0x3d7193){var _0x2a08c1={'where':{'id':_0x4bce0d[_0x0a9f('0x4f')]['id']}},_0x2b40f3={};_0x2b40f3[_0x0a9f('0x34')]=_['keys'](db[_0x0a9f('0x42')]['rawAttributes']);_0x2a08c1[_0x0a9f('0x35')]=_['intersection'](_0x2b40f3[_0x0a9f('0x34')],qs['fields'](_0x4bce0d[_0x0a9f('0x32')][_0x0a9f('0x36')]));_0x2a08c1[_0x0a9f('0x35')]=_0x2a08c1[_0x0a9f('0x35')][_0x0a9f('0x37')]?_0x2a08c1[_0x0a9f('0x35')]:_0x2b40f3[_0x0a9f('0x34')];if(_0x4bce0d[_0x0a9f('0x32')][_0x0a9f('0x43')]){_0x2a08c1[_0x0a9f('0x44')]=[{'all':!![]}];}_0x2a08c1=_[_0x0a9f('0x3f')]({},_0x2a08c1,_0x4bce0d[_0x0a9f('0x41')]);return db['Campaign'][_0x0a9f('0x50')](_0x2a08c1)['then'](handleEntityNotFound(_0x3d7193,null))[_0x0a9f('0x26')](function(_0x10b08f){if(_0x10b08f){var _0xd54cbe=_0x10b08f[_0x0a9f('0x28')]({'plain':!![]});_0xd54cbe=qs[_0x0a9f('0x51')](_0xd54cbe,['id',_0x0a9f('0x52'),_0x0a9f('0x53')]);_0x4bce0d[_0x0a9f('0x54')]=_[_0x0a9f('0x51')](_0x4bce0d['body'],['id',_0x0a9f('0x52'),_0x0a9f('0x53')]);return db[_0x0a9f('0x42')]['create'](_[_0x0a9f('0x3f')](_0xd54cbe,_0x4bce0d['body']),{'include':_0x4bce0d[_0x0a9f('0x32')][_0x0a9f('0x43')]?[{'all':!![]}]:undefined})['then'](function(_0x2b7b74){var _0x228537=_0x4bce0d[_0x0a9f('0x4a')][_0x0a9f('0x28')]({'plain':!![]});if(!_0x228537)throw new Error(_0x0a9f('0x48'));if(_0x228537[_0x0a9f('0x49')]===_0x0a9f('0x4a')){var _0x393b70=_0x2b7b74[_0x0a9f('0x28')]({'plain':!![]});var _0x2f7995=_0x0a9f('0x55');return db[_0x0a9f('0x4b')][_0x0a9f('0x50')]({'where':{'name':_0x2f7995,'userProfileId':_0x228537[_0x0a9f('0x4c')]},'raw':!![]})[_0x0a9f('0x26')](function(_0x2c796f){if(_0x2c796f&&_0x2c796f['autoAssociation']===0x0){return db['UserProfileResource'][_0x0a9f('0x47')]({'name':_0x393b70[_0x0a9f('0x2b')],'resourceId':_0x393b70['id'],'type':_0x2c796f['name'],'sectionId':_0x2c796f['id']},{})[_0x0a9f('0x26')](function(){return _0x2b7b74;});}else{return _0x2b7b74;}})[_0x0a9f('0x45')](function(_0x4b3d8f){logger[_0x0a9f('0x2a')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x4b3d8f);throw _0x4b3d8f;});}return _0x2b7b74;});}})['then'](respondWithResult(_0x3d7193,0xc9))[_0x0a9f('0x45')](handleError(_0x3d7193,null));};exports[_0x0a9f('0x25')]=function(_0xb3deaa,_0x14876c){if(_0xb3deaa['body']['id']){delete _0xb3deaa[_0x0a9f('0x54')]['id'];}return db[_0x0a9f('0x42')]['find']({'where':{'id':_0xb3deaa[_0x0a9f('0x4f')]['id']}})['then'](handleEntityNotFound(_0x14876c,null))[_0x0a9f('0x26')](saveUpdates(_0xb3deaa['body'],null))[_0x0a9f('0x26')](respondWithResult(_0x14876c,null))[_0x0a9f('0x45')](handleError(_0x14876c,null));};exports[_0x0a9f('0x27')]=function(_0x5d7e8b,_0x12ebf4){return db[_0x0a9f('0x42')][_0x0a9f('0x50')]({'where':{'id':_0x5d7e8b[_0x0a9f('0x4f')]['id']}})[_0x0a9f('0x26')](handleEntityNotFound(_0x12ebf4,null))[_0x0a9f('0x26')](removeEntity(_0x12ebf4,null))[_0x0a9f('0x45')](handleError(_0x12ebf4,null));};exports[_0x0a9f('0x56')]=function(_0x3f91d5,_0x26ff64,_0x118d65){var _0xa4eb64={'raw':!![],'where':{}};var _0x58ad16={};var _0x1cc583={'count':0x0,'rows':[]};return db[_0x0a9f('0x42')][_0x0a9f('0x57')]({'where':{'id':_0x3f91d5['params']['id']}})[_0x0a9f('0x26')](handleEntityNotFound(_0x26ff64,null))[_0x0a9f('0x26')](function(_0x420c3e){if(_0x420c3e){_0x58ad16[_0x0a9f('0x34')]=_[_0x0a9f('0x46')](db[_0x0a9f('0x58')][_0x0a9f('0x59')]);_0x58ad16[_0x0a9f('0x32')]=_[_0x0a9f('0x46')](_0x3f91d5[_0x0a9f('0x32')]);_0x58ad16[_0x0a9f('0x3c')]=_[_0x0a9f('0x33')](_0x58ad16[_0x0a9f('0x34')],_0x58ad16[_0x0a9f('0x32')]);_0xa4eb64[_0x0a9f('0x35')]=_['intersection'](_0x58ad16['model'],qs[_0x0a9f('0x36')](_0x3f91d5[_0x0a9f('0x32')][_0x0a9f('0x36')]));_0xa4eb64[_0x0a9f('0x35')]=_0xa4eb64['attributes'][_0x0a9f('0x37')]?_0xa4eb64[_0x0a9f('0x35')]:_0x58ad16['model'];if(!_0x3f91d5[_0x0a9f('0x32')][_0x0a9f('0x38')](_0x0a9f('0x39'))){_0xa4eb64[_0x0a9f('0x1e')]=qs[_0x0a9f('0x1e')](_0x3f91d5[_0x0a9f('0x32')]['limit']);_0xa4eb64['offset']=qs[_0x0a9f('0x21')](_0x3f91d5[_0x0a9f('0x32')]['offset']);}_0xa4eb64[_0x0a9f('0x5a')]=qs[_0x0a9f('0x3a')](_0x3f91d5[_0x0a9f('0x32')][_0x0a9f('0x3a')]);_0xa4eb64[_0x0a9f('0x3b')]=qs[_0x0a9f('0x3c')](_[_0x0a9f('0x3d')](_0x3f91d5[_0x0a9f('0x32')],_0x58ad16[_0x0a9f('0x3c')]));_0xa4eb64['where'][_0x0a9f('0x5b')]=_0x420c3e['id'];if(_0x3f91d5[_0x0a9f('0x32')][_0x0a9f('0x3e')]){_0xa4eb64['where']=_[_0x0a9f('0x3f')](_0xa4eb64[_0x0a9f('0x3b')],{'$or':_[_0x0a9f('0x31')](_0xa4eb64['attributes'],function(_0xd07013){var _0x1ae150={};_0x1ae150[_0xd07013]={'$like':'%'+_0x3f91d5[_0x0a9f('0x32')][_0x0a9f('0x3e')]+'%'};return _0x1ae150;})});}_0xa4eb64=_['merge']({},_0xa4eb64,_0x3f91d5[_0x0a9f('0x41')]);return db[_0x0a9f('0x58')][_0x0a9f('0x20')]({'where':_0xa4eb64[_0x0a9f('0x3b')]})[_0x0a9f('0x26')](function(_0x44b4a4){_0x1cc583['count']=_0x44b4a4;if(_0x3f91d5[_0x0a9f('0x32')][_0x0a9f('0x43')]){_0xa4eb64[_0x0a9f('0x44')]=[{'all':!![]}];}return db[_0x0a9f('0x58')]['findAll'](_0xa4eb64);})[_0x0a9f('0x26')](function(_0x1dc13f){_0x1cc583[_0x0a9f('0x5c')]=_0x1dc13f;return _0x1cc583;});}})[_0x0a9f('0x26')](respondWithFilteredResult(_0x26ff64,_0xa4eb64))['catch'](handleError(_0x26ff64,null));};exports[_0x0a9f('0x5d')]=function(_0x4deb76,_0x23d162,_0x897406){var _0x5c5b1b={'raw':!![],'where':{}};var _0x13675b={};var _0x508ca7={'count':0x0,'rows':[]};return db[_0x0a9f('0x42')]['findOne']({'where':{'id':_0x4deb76[_0x0a9f('0x4f')]['id']}})[_0x0a9f('0x26')](handleEntityNotFound(_0x23d162,null))[_0x0a9f('0x26')](function(_0x5043c9){if(_0x5043c9){_0x13675b[_0x0a9f('0x34')]=_['keys'](db['CmHopperHistory'][_0x0a9f('0x59')]);_0x13675b['query']=_[_0x0a9f('0x46')](_0x4deb76[_0x0a9f('0x32')]);_0x13675b[_0x0a9f('0x3c')]=_[_0x0a9f('0x33')](_0x13675b['model'],_0x13675b[_0x0a9f('0x32')]);_0x5c5b1b[_0x0a9f('0x35')]=_[_0x0a9f('0x33')](_0x13675b[_0x0a9f('0x34')],qs[_0x0a9f('0x36')](_0x4deb76['query'][_0x0a9f('0x36')]));_0x5c5b1b['attributes']=_0x5c5b1b[_0x0a9f('0x35')][_0x0a9f('0x37')]?_0x5c5b1b[_0x0a9f('0x35')]:_0x13675b[_0x0a9f('0x34')];if(!_0x4deb76[_0x0a9f('0x32')][_0x0a9f('0x38')]('nolimit')){_0x5c5b1b['limit']=qs[_0x0a9f('0x1e')](_0x4deb76[_0x0a9f('0x32')]['limit']);_0x5c5b1b['offset']=qs[_0x0a9f('0x21')](_0x4deb76[_0x0a9f('0x32')][_0x0a9f('0x21')]);}_0x5c5b1b[_0x0a9f('0x5a')]=qs[_0x0a9f('0x3a')](_0x4deb76[_0x0a9f('0x32')]['sort']);_0x5c5b1b['where']=qs[_0x0a9f('0x3c')](_['pick'](_0x4deb76[_0x0a9f('0x32')],_0x13675b['filters']));_0x5c5b1b[_0x0a9f('0x3b')][_0x0a9f('0x5b')]=_0x5043c9['id'];if(_0x4deb76[_0x0a9f('0x32')][_0x0a9f('0x3e')]){_0x5c5b1b[_0x0a9f('0x3b')]=_[_0x0a9f('0x3f')](_0x5c5b1b[_0x0a9f('0x3b')],{'$or':_[_0x0a9f('0x31')](_0x5c5b1b[_0x0a9f('0x35')],function(_0x3d8df6){var _0x40c21e={};_0x40c21e[_0x3d8df6]={'$like':'%'+_0x4deb76[_0x0a9f('0x32')][_0x0a9f('0x3e')]+'%'};return _0x40c21e;})});}_0x5c5b1b=_['merge']({},_0x5c5b1b,_0x4deb76[_0x0a9f('0x41')]);return db[_0x0a9f('0x5e')][_0x0a9f('0x20')]({'where':_0x5c5b1b[_0x0a9f('0x3b')]})[_0x0a9f('0x26')](function(_0x4dad11){_0x508ca7[_0x0a9f('0x20')]=_0x4dad11;if(_0x4deb76[_0x0a9f('0x32')][_0x0a9f('0x43')]){_0x5c5b1b[_0x0a9f('0x44')]=[{'all':!![]}];}return db[_0x0a9f('0x5e')][_0x0a9f('0x5f')](_0x5c5b1b);})[_0x0a9f('0x26')](function(_0x309fc4){_0x508ca7[_0x0a9f('0x5c')]=_0x309fc4;return _0x508ca7;});}})[_0x0a9f('0x26')](respondWithFilteredResult(_0x23d162,_0x5c5b1b))['catch'](handleError(_0x23d162,null));};exports[_0x0a9f('0x60')]=function(_0x29af6b,_0x7e8eb1,_0x25d387){var _0x23fc53={'raw':!![],'where':{}};var _0x1573d6={};var _0x381cca={'count':0x0,'rows':[]};return db[_0x0a9f('0x42')][_0x0a9f('0x57')]({'where':{'id':_0x29af6b[_0x0a9f('0x4f')]['id']}})[_0x0a9f('0x26')](handleEntityNotFound(_0x7e8eb1,null))[_0x0a9f('0x26')](function(_0x4e84c8){if(_0x4e84c8){_0x1573d6[_0x0a9f('0x34')]=_[_0x0a9f('0x46')](db[_0x0a9f('0x61')][_0x0a9f('0x59')]);_0x1573d6[_0x0a9f('0x32')]=_['keys'](_0x29af6b[_0x0a9f('0x32')]);_0x1573d6[_0x0a9f('0x3c')]=_[_0x0a9f('0x33')](_0x1573d6[_0x0a9f('0x34')],_0x1573d6[_0x0a9f('0x32')]);_0x23fc53[_0x0a9f('0x35')]=_[_0x0a9f('0x33')](_0x1573d6[_0x0a9f('0x34')],qs[_0x0a9f('0x36')](_0x29af6b['query'][_0x0a9f('0x36')]));_0x23fc53['attributes']=_0x23fc53[_0x0a9f('0x35')][_0x0a9f('0x37')]?_0x23fc53[_0x0a9f('0x35')]:_0x1573d6[_0x0a9f('0x34')];if(!_0x29af6b['query']['hasOwnProperty'](_0x0a9f('0x39'))){_0x23fc53[_0x0a9f('0x1e')]=qs[_0x0a9f('0x1e')](_0x29af6b[_0x0a9f('0x32')][_0x0a9f('0x1e')]);_0x23fc53[_0x0a9f('0x21')]=qs[_0x0a9f('0x21')](_0x29af6b[_0x0a9f('0x32')]['offset']);}_0x23fc53[_0x0a9f('0x5a')]=qs[_0x0a9f('0x3a')](_0x29af6b[_0x0a9f('0x32')][_0x0a9f('0x3a')]);_0x23fc53['where']=qs['filters'](_[_0x0a9f('0x3d')](_0x29af6b[_0x0a9f('0x32')],_0x1573d6[_0x0a9f('0x3c')]));_0x23fc53[_0x0a9f('0x3b')]['CampaignId']=_0x4e84c8['id'];if(_0x29af6b[_0x0a9f('0x32')]['filter']){_0x23fc53['where']=_[_0x0a9f('0x3f')](_0x23fc53[_0x0a9f('0x3b')],{'$or':_['map'](_0x23fc53[_0x0a9f('0x35')],function(_0x3371fd){var _0x1904bb={};_0x1904bb[_0x3371fd]={'$like':'%'+_0x29af6b[_0x0a9f('0x32')]['filter']+'%'};return _0x1904bb;})});}_0x23fc53=_[_0x0a9f('0x3f')]({},_0x23fc53,_0x29af6b[_0x0a9f('0x41')]);return db['CmHopperFinal'][_0x0a9f('0x20')]({'where':_0x23fc53[_0x0a9f('0x3b')]})[_0x0a9f('0x26')](function(_0x53a2e3){_0x381cca[_0x0a9f('0x20')]=_0x53a2e3;if(_0x29af6b['query'][_0x0a9f('0x43')]){_0x23fc53['include']=[{'all':!![]}];}return db['CmHopperFinal']['findAll'](_0x23fc53);})[_0x0a9f('0x26')](function(_0x3a98c9){_0x381cca[_0x0a9f('0x5c')]=_0x3a98c9;return _0x381cca;});}})[_0x0a9f('0x26')](respondWithFilteredResult(_0x7e8eb1,_0x23fc53))['catch'](handleError(_0x7e8eb1,null));};exports[_0x0a9f('0x62')]=function(_0x1a9479,_0x2f5edf,_0x25f780){var _0x2d69e4={'raw':!![],'where':{}};var _0xc82c2b={};var _0x2bfee3={'count':0x0,'rows':[]};return db[_0x0a9f('0x42')]['findOne']({'where':{'id':_0x1a9479[_0x0a9f('0x4f')]['id']}})[_0x0a9f('0x26')](handleEntityNotFound(_0x2f5edf,null))[_0x0a9f('0x26')](function(_0x5c9c6b){if(_0x5c9c6b){_0xc82c2b[_0x0a9f('0x34')]=_['keys'](db[_0x0a9f('0x63')]['rawAttributes']);_0xc82c2b[_0x0a9f('0x32')]=_['keys'](_0x1a9479[_0x0a9f('0x32')]);_0xc82c2b['filters']=_[_0x0a9f('0x33')](_0xc82c2b[_0x0a9f('0x34')],_0xc82c2b['query']);_0x2d69e4[_0x0a9f('0x35')]=_['intersection'](_0xc82c2b[_0x0a9f('0x34')],qs['fields'](_0x1a9479[_0x0a9f('0x32')][_0x0a9f('0x36')]));_0x2d69e4['attributes']=_0x2d69e4[_0x0a9f('0x35')][_0x0a9f('0x37')]?_0x2d69e4['attributes']:_0xc82c2b[_0x0a9f('0x34')];if(!_0x1a9479['query']['hasOwnProperty']('nolimit')){_0x2d69e4['limit']=qs[_0x0a9f('0x1e')](_0x1a9479[_0x0a9f('0x32')][_0x0a9f('0x1e')]);_0x2d69e4['offset']=qs['offset'](_0x1a9479[_0x0a9f('0x32')][_0x0a9f('0x21')]);}_0x2d69e4[_0x0a9f('0x5a')]=qs[_0x0a9f('0x3a')](_0x1a9479[_0x0a9f('0x32')][_0x0a9f('0x3a')]);_0x2d69e4[_0x0a9f('0x3b')]=qs[_0x0a9f('0x3c')](_['pick'](_0x1a9479[_0x0a9f('0x32')],_0xc82c2b[_0x0a9f('0x3c')]));_0x2d69e4['where'][_0x0a9f('0x5b')]=_0x5c9c6b['id'];if(_0x1a9479['query'][_0x0a9f('0x3e')]){_0x2d69e4[_0x0a9f('0x3b')]=_['merge'](_0x2d69e4[_0x0a9f('0x3b')],{'$or':_[_0x0a9f('0x31')](_0x2d69e4[_0x0a9f('0x35')],function(_0x25650e){var _0x13af1d={};_0x13af1d[_0x25650e]={'$like':'%'+_0x1a9479[_0x0a9f('0x32')][_0x0a9f('0x3e')]+'%'};return _0x13af1d;})});}_0x2d69e4=_[_0x0a9f('0x3f')]({},_0x2d69e4,_0x1a9479[_0x0a9f('0x41')]);return db[_0x0a9f('0x63')][_0x0a9f('0x20')]({'where':_0x2d69e4[_0x0a9f('0x3b')]})[_0x0a9f('0x26')](function(_0x21264b){_0x2bfee3['count']=_0x21264b;if(_0x1a9479[_0x0a9f('0x32')][_0x0a9f('0x43')]){_0x2d69e4[_0x0a9f('0x44')]=[{'all':!![]}];}return db[_0x0a9f('0x63')][_0x0a9f('0x5f')](_0x2d69e4);})[_0x0a9f('0x26')](function(_0x50dab9){_0x2bfee3[_0x0a9f('0x5c')]=_0x50dab9;return _0x2bfee3;});}})[_0x0a9f('0x26')](respondWithFilteredResult(_0x2f5edf,_0x2d69e4))[_0x0a9f('0x45')](handleError(_0x2f5edf,null));};exports['getLists']=function(_0x30b35a,_0x4069cd,_0x13ab03){var _0x47bc4e={};var _0xe2e5c1={};var _0x15ca2e;var _0x2770a7;return db[_0x0a9f('0x42')][_0x0a9f('0x57')]({'where':{'id':_0x30b35a[_0x0a9f('0x4f')]['id']}})[_0x0a9f('0x26')](handleEntityNotFound(_0x4069cd,null))[_0x0a9f('0x26')](function(_0xd2f455){if(_0xd2f455){_0x15ca2e=_0xd2f455;_0xe2e5c1[_0x0a9f('0x34')]=_[_0x0a9f('0x46')](db[_0x0a9f('0x64')][_0x0a9f('0x59')]);_0xe2e5c1[_0x0a9f('0x32')]=_['keys'](_0x30b35a[_0x0a9f('0x32')]);_0xe2e5c1[_0x0a9f('0x3c')]=_[_0x0a9f('0x33')](_0xe2e5c1[_0x0a9f('0x34')],_0xe2e5c1[_0x0a9f('0x32')]);_0x47bc4e[_0x0a9f('0x35')]=_[_0x0a9f('0x33')](_0xe2e5c1[_0x0a9f('0x34')],qs[_0x0a9f('0x36')](_0x30b35a[_0x0a9f('0x32')]['fields']));_0x47bc4e['attributes']=_0x47bc4e[_0x0a9f('0x35')]['length']?_0x47bc4e[_0x0a9f('0x35')]:_0xe2e5c1[_0x0a9f('0x34')];_0x47bc4e[_0x0a9f('0x5a')]=qs[_0x0a9f('0x3a')](_0x30b35a[_0x0a9f('0x32')]['sort']);_0x47bc4e[_0x0a9f('0x3b')]=qs[_0x0a9f('0x3c')](_[_0x0a9f('0x3d')](_0x30b35a[_0x0a9f('0x32')],_0xe2e5c1[_0x0a9f('0x3c')]));if(_0x30b35a[_0x0a9f('0x32')][_0x0a9f('0x3e')]){_0x47bc4e[_0x0a9f('0x3b')]=_[_0x0a9f('0x3f')](_0x47bc4e[_0x0a9f('0x3b')],{'$or':_[_0x0a9f('0x31')](_0x47bc4e[_0x0a9f('0x35')],function(_0xdf4864){var _0x5a4b28={};_0x5a4b28[_0xdf4864]={'$like':'%'+_0x30b35a['query'][_0x0a9f('0x3e')]+'%'};return _0x5a4b28;})});}_0x47bc4e=_[_0x0a9f('0x3f')]({},_0x47bc4e,_0x30b35a[_0x0a9f('0x41')]);return _0x15ca2e['getLists'](_0x47bc4e);}})['then'](function(_0x13783a){if(_0x13783a){_0x2770a7=_0x13783a[_0x0a9f('0x37')];if(!_0x30b35a[_0x0a9f('0x32')][_0x0a9f('0x38')](_0x0a9f('0x39'))){_0x47bc4e['limit']=qs[_0x0a9f('0x1e')](_0x30b35a['query'][_0x0a9f('0x1e')]);_0x47bc4e[_0x0a9f('0x21')]=qs[_0x0a9f('0x21')](_0x30b35a['query']['offset']);}return _0x15ca2e[_0x0a9f('0x65')](_0x47bc4e);}})['then'](function(_0xb56301){if(_0xb56301){return _0xb56301?{'count':_0x2770a7,'rows':_0xb56301}:null;}})[_0x0a9f('0x26')](respondWithResult(_0x4069cd,null))['catch'](handleError(_0x4069cd,null));};exports[_0x0a9f('0x66')]=function(_0x3b3f54,_0x238452,_0x1d6bc4){var _0x442a2b,_0x3df4d5;var _0x55c87c=[];var _0x1359f6=moment()[_0x0a9f('0x67')](_0x0a9f('0x68'));return db[_0x0a9f('0x42')][_0x0a9f('0x50')]({'where':{'id':_0x3b3f54[_0x0a9f('0x4f')]['id']}})[_0x0a9f('0x26')](handleEntityNotFound(_0x238452,null))[_0x0a9f('0x26')](function(_0x164ec6){if(_0x164ec6){_0x3df4d5=_0x164ec6;return _0x164ec6['addLists'](_0x3b3f54[_0x0a9f('0x54')][_0x0a9f('0x69')],_[_0x0a9f('0x51')](_0x3b3f54[_0x0a9f('0x54')],[_0x0a9f('0x69'),'id'])||{});}return null;})[_0x0a9f('0x6a')](function(_0x210abb){var _0x50485b;var _0x459d69;_0x442a2b=_0x210abb||[];var _0x536213=[];if(_0x210abb){for(var _0xa99f7d=0x0;_0xa99f7d<_0x210abb[_0x0a9f('0x37')];_0xa99f7d+=0x1){var _0x14ef4d=_0x210abb[_0xa99f7d][_0x0a9f('0x28')]({'plain':!![]});_0x3df4d5[_0x0a9f('0x6b')]=_0x3b3f54[_0x0a9f('0x54')][_0x0a9f('0x6b')]?_0x3b3f54['body'][_0x0a9f('0x6b')]:_0x3df4d5['dialCheckDuplicateType'];switch(_0x3df4d5[_0x0a9f('0x6b')]){case _0x0a9f('0x6c'):_0x50485b=squel[_0x0a9f('0x6d')]()['into'](_0x0a9f('0x6e'))[_0x0a9f('0x6f')]([_0x0a9f('0x70'),'scheduledAt',_0x0a9f('0x71'),_0x0a9f('0x72'),_0x0a9f('0x5b'),_0x0a9f('0x52'),_0x0a9f('0x53')],squel[_0x0a9f('0x73')]()[_0x0a9f('0x74')](_0x0a9f('0x70'),_0x0a9f('0x70'))['field'](_0x0a9f('0x75'),_0x0a9f('0x76'))[_0x0a9f('0x74')]('id',_0x0a9f('0x71'))['field'](_0x14ef4d[_0x0a9f('0x77')]['toString'](),'ListId')[_0x0a9f('0x74')](_0x3b3f54[_0x0a9f('0x4f')]['id'][_0x0a9f('0x78')](),'CampaignId')[_0x0a9f('0x74')]('\x27'+_0x1359f6+'\x27',_0x0a9f('0x52'))['field']('\x27'+_0x1359f6+'\x27',_0x0a9f('0x53'))['from'](_0x0a9f('0x79'))['where'](_0x0a9f('0x7a'))[_0x0a9f('0x3b')](_0x0a9f('0x7b'),_0x14ef4d[_0x0a9f('0x77')][_0x0a9f('0x78')]())[_0x0a9f('0x3b')](_0x0a9f('0x7c'))[_0x0a9f('0x3b')](_0x0a9f('0x7d'),squel[_0x0a9f('0x73')]()[_0x0a9f('0x74')]('COALESCE(calleridnum,\x27\x27)')[_0x0a9f('0x7e')](_0x0a9f('0x7f'))[_0x0a9f('0x3b')](_0x0a9f('0x80'),_0x3b3f54[_0x0a9f('0x4f')]['id'][_0x0a9f('0x78')]()))['where'](_0x0a9f('0x7d'),squel['select']()['field'](_0x0a9f('0x81'))['from'](_0x0a9f('0x6e'))[_0x0a9f('0x3b')]('CampaignId\x20=\x20?',_0x3b3f54[_0x0a9f('0x4f')]['id']['toString']())))[_0x0a9f('0x78')]();break;case _0x0a9f('0x82'):_0x50485b=squel[_0x0a9f('0x6d')]()['into'](_0x0a9f('0x6e'))[_0x0a9f('0x6f')]([_0x0a9f('0x70'),_0x0a9f('0x76'),_0x0a9f('0x71'),_0x0a9f('0x72'),_0x0a9f('0x5b'),_0x0a9f('0x52'),_0x0a9f('0x53')],squel['select']()['field'](_0x0a9f('0x70'),'phone')[_0x0a9f('0x74')](_0x0a9f('0x75'),_0x0a9f('0x76'))[_0x0a9f('0x74')]('id',_0x0a9f('0x71'))['field'](_0x14ef4d['CmListId'][_0x0a9f('0x78')](),_0x0a9f('0x72'))[_0x0a9f('0x74')](_0x3b3f54[_0x0a9f('0x4f')]['id']['toString'](),'CampaignId')[_0x0a9f('0x74')]('\x27'+_0x1359f6+'\x27',_0x0a9f('0x52'))[_0x0a9f('0x74')]('\x27'+_0x1359f6+'\x27','updatedAt')[_0x0a9f('0x7e')](_0x0a9f('0x79'))[_0x0a9f('0x3b')](_0x0a9f('0x7a'))[_0x0a9f('0x3b')]('ListId\x20=\x20?',_0x14ef4d['CmListId'][_0x0a9f('0x78')]())['where'](_0x0a9f('0x7c'))['where'](_0x0a9f('0x7d'),squel[_0x0a9f('0x73')]()[_0x0a9f('0x74')](_0x0a9f('0x81'))[_0x0a9f('0x7e')](_0x0a9f('0x6e'))[_0x0a9f('0x3b')](_0x0a9f('0x80'),_0x3b3f54[_0x0a9f('0x4f')]['id'][_0x0a9f('0x78')]())))[_0x0a9f('0x78')]();break;default:_0x50485b=squel[_0x0a9f('0x6d')]()['into'](_0x0a9f('0x6e'))[_0x0a9f('0x6f')]([_0x0a9f('0x70'),'scheduledAt',_0x0a9f('0x71'),_0x0a9f('0x72'),_0x0a9f('0x5b'),_0x0a9f('0x52'),_0x0a9f('0x53')],squel['select']()[_0x0a9f('0x74')](_0x0a9f('0x70'),_0x0a9f('0x70'))[_0x0a9f('0x74')](_0x0a9f('0x75'),'scheduledAt')['field']('id','ContactId')[_0x0a9f('0x74')](_0x14ef4d[_0x0a9f('0x77')][_0x0a9f('0x78')](),'ListId')[_0x0a9f('0x74')](_0x3b3f54['params']['id'][_0x0a9f('0x78')](),_0x0a9f('0x5b'))['field']('\x27'+_0x1359f6+'\x27',_0x0a9f('0x52'))[_0x0a9f('0x74')]('\x27'+_0x1359f6+'\x27','updatedAt')[_0x0a9f('0x7e')](_0x0a9f('0x79'))['where']('deletedAt\x20IS\x20NULL')[_0x0a9f('0x3b')](_0x0a9f('0x7b'),_0x14ef4d[_0x0a9f('0x77')][_0x0a9f('0x78')]())['where'](_0x0a9f('0x7c')))[_0x0a9f('0x78')]();}_0x459d69=squel[_0x0a9f('0x6d')]()[_0x0a9f('0x83')](_0x0a9f('0x84'))[_0x0a9f('0x6f')]([_0x0a9f('0x85'),_0x0a9f('0x76'),_0x0a9f('0x70'),_0x0a9f('0x86'),_0x0a9f('0x52'),'updatedAt'],squel[_0x0a9f('0x73')]()[_0x0a9f('0x74')](_0x0a9f('0x87'),'id')[_0x0a9f('0x74')](_0x0a9f('0x75'),'scheduledAt')['field'](_0x0a9f('0x88'),_0x0a9f('0x70'))[_0x0a9f('0x74')](_0x0a9f('0x89'),_0x0a9f('0x86'))[_0x0a9f('0x74')]('\x27'+_0x1359f6+'\x27',_0x0a9f('0x52'))[_0x0a9f('0x74')]('\x27'+_0x1359f6+'\x27',_0x0a9f('0x53'))[_0x0a9f('0x7e')](_0x0a9f('0x8a'),'ci')[_0x0a9f('0x8b')](_0x0a9f('0x6e'),'h',_0x0a9f('0x8c'))[_0x0a9f('0x3b')]('h.ListId\x20=\x20?',_0x14ef4d[_0x0a9f('0x77')]['toString']())[_0x0a9f('0x3b')]('h.CampaignId=?',_0x3b3f54[_0x0a9f('0x4f')]['id'][_0x0a9f('0x78')]())[_0x0a9f('0x3b')](_0x0a9f('0x8d'),_0x1359f6))[_0x0a9f('0x78')]();_0x536213[_0x0a9f('0x8e')](db[_0x0a9f('0x8f')]['query'](_0x50485b));_0x55c87c[_0x0a9f('0x8e')](db[_0x0a9f('0x8f')][_0x0a9f('0x32')](_0x459d69));}return BPromise[_0x0a9f('0x90')](_0x536213);}})[_0x0a9f('0x26')](function(){return BPromise[_0x0a9f('0x90')](_0x55c87c);})[_0x0a9f('0x26')](function(){return _0x442a2b;})[_0x0a9f('0x26')](respondWithResult(_0x238452,null))['catch'](handleError(_0x238452,null));};exports[_0x0a9f('0x91')]=function(_0x4464e4,_0x1779f1,_0x270528){return db[_0x0a9f('0x42')][_0x0a9f('0x50')]({'where':{'id':_0x4464e4['params']['id']}})[_0x0a9f('0x26')](handleEntityNotFound(_0x1779f1,null))[_0x0a9f('0x26')](function(_0x46bdf4){if(_0x46bdf4){return _0x46bdf4[_0x0a9f('0x91')](_0x4464e4[_0x0a9f('0x32')][_0x0a9f('0x69')]);}})[_0x0a9f('0x26')](function(_0x5a40f0){if(_0x5a40f0){return db[_0x0a9f('0x58')][_0x0a9f('0x27')]({'where':{'ListId':_0x4464e4[_0x0a9f('0x32')][_0x0a9f('0x69')],'CampaignId':_0x4464e4[_0x0a9f('0x4f')]['id']}})[_0x0a9f('0x26')](function(){return _0x5a40f0;});}})[_0x0a9f('0x26')](respondWithStatusCode(_0x1779f1,null))[_0x0a9f('0x45')](handleError(_0x1779f1,null));};exports[_0x0a9f('0x92')]=function(_0x16a136,_0x60e093,_0x1bcac7){var _0x37706e={};var _0x3ea05d={};var _0x2f6a97;var _0x33bb16;return db['Campaign'][_0x0a9f('0x57')]({'where':{'id':_0x16a136[_0x0a9f('0x4f')]['id']}})[_0x0a9f('0x26')](handleEntityNotFound(_0x60e093,null))[_0x0a9f('0x26')](function(_0x4771bd){if(_0x4771bd){_0x2f6a97=_0x4771bd;_0x3ea05d['model']=_['keys'](db[_0x0a9f('0x64')][_0x0a9f('0x59')]);_0x3ea05d[_0x0a9f('0x32')]=_[_0x0a9f('0x46')](_0x16a136[_0x0a9f('0x32')]);_0x3ea05d[_0x0a9f('0x3c')]=_[_0x0a9f('0x33')](_0x3ea05d[_0x0a9f('0x34')],_0x3ea05d[_0x0a9f('0x32')]);_0x37706e[_0x0a9f('0x35')]=_['intersection'](_0x3ea05d[_0x0a9f('0x34')],qs['fields'](_0x16a136[_0x0a9f('0x32')][_0x0a9f('0x36')]));_0x37706e['attributes']=_0x37706e['attributes'][_0x0a9f('0x37')]?_0x37706e['attributes']:_0x3ea05d[_0x0a9f('0x34')];_0x37706e[_0x0a9f('0x5a')]=qs[_0x0a9f('0x3a')](_0x16a136[_0x0a9f('0x32')]['sort']);_0x37706e[_0x0a9f('0x3b')]=qs[_0x0a9f('0x3c')](_['pick'](_0x16a136[_0x0a9f('0x32')],_0x3ea05d[_0x0a9f('0x3c')]));if(_0x16a136[_0x0a9f('0x32')][_0x0a9f('0x3e')]){_0x37706e[_0x0a9f('0x3b')]=_['merge'](_0x37706e['where'],{'$or':_['map'](_0x37706e['attributes'],function(_0x43df79){var _0x3e4178={};_0x3e4178[_0x43df79]={'$like':'%'+_0x16a136[_0x0a9f('0x32')][_0x0a9f('0x3e')]+'%'};return _0x3e4178;})});}_0x37706e=_['merge']({},_0x37706e,_0x16a136['options']);return _0x2f6a97['getBlackLists'](_0x37706e);}})['then'](function(_0x50b6f3){if(_0x50b6f3){_0x33bb16=_0x50b6f3['length'];if(!_0x16a136['query']['hasOwnProperty'](_0x0a9f('0x39'))){_0x37706e[_0x0a9f('0x1e')]=qs[_0x0a9f('0x1e')](_0x16a136[_0x0a9f('0x32')][_0x0a9f('0x1e')]);_0x37706e[_0x0a9f('0x21')]=qs[_0x0a9f('0x21')](_0x16a136[_0x0a9f('0x32')][_0x0a9f('0x21')]);}return _0x2f6a97['getBlackLists'](_0x37706e);}})[_0x0a9f('0x26')](function(_0x5bd79a){if(_0x5bd79a){return _0x5bd79a?{'count':_0x33bb16,'rows':_0x5bd79a}:null;}})[_0x0a9f('0x26')](respondWithResult(_0x60e093,null))[_0x0a9f('0x45')](handleError(_0x60e093,null));};exports[_0x0a9f('0x93')]=function(_0x4576c4,_0x4fbf12,_0x376538){var _0x4bbe1f,_0x3d3c87;var _0x294a90=[];var _0x31ed55=moment()['format'](_0x0a9f('0x68'));return db[_0x0a9f('0x42')]['find']({'where':{'id':_0x4576c4['params']['id']}})[_0x0a9f('0x26')](handleEntityNotFound(_0x4fbf12,null))[_0x0a9f('0x26')](function(_0x456a36){if(_0x456a36){_0x3d3c87=_0x456a36;return _0x456a36['addBlackLists'](_0x4576c4['body'][_0x0a9f('0x69')],_[_0x0a9f('0x51')](_0x4576c4[_0x0a9f('0x54')],[_0x0a9f('0x69'),'id'])||{});}return null;})[_0x0a9f('0x6a')](function(_0x387a33){var _0x39b024;var _0x39e95e;_0x4bbe1f=_0x387a33||[];var _0x25616a=[];if(_0x387a33){for(var _0xd1e2f3=0x0;_0xd1e2f3<_0x387a33[_0x0a9f('0x37')];_0xd1e2f3+=0x1){var _0x139667=_0x387a33[_0xd1e2f3][_0x0a9f('0x28')]({'plain':!![]});_0x39b024=squel[_0x0a9f('0x6d')]()[_0x0a9f('0x83')]('cm_hopper_black')[_0x0a9f('0x6f')](['phone',_0x0a9f('0x71'),_0x0a9f('0x72'),'CampaignId',_0x0a9f('0x52'),_0x0a9f('0x53')],squel[_0x0a9f('0x73')]()[_0x0a9f('0x74')](_0x0a9f('0x70'),_0x0a9f('0x70'))['field']('id',_0x0a9f('0x71'))[_0x0a9f('0x74')](_0x139667[_0x0a9f('0x77')][_0x0a9f('0x78')](),_0x0a9f('0x72'))[_0x0a9f('0x74')](_0x4576c4['params']['id'][_0x0a9f('0x78')](),_0x0a9f('0x5b'))[_0x0a9f('0x74')](_0x0a9f('0x75'),_0x0a9f('0x52'))[_0x0a9f('0x74')](_0x0a9f('0x75'),_0x0a9f('0x53'))[_0x0a9f('0x7e')](_0x0a9f('0x79'))[_0x0a9f('0x3b')]('deletedAt\x20IS\x20NULL')[_0x0a9f('0x3b')](_0x0a9f('0x7b'),_0x139667[_0x0a9f('0x77')][_0x0a9f('0x78')]())['where'](_0x0a9f('0x7c')))[_0x0a9f('0x78')]();_0x25616a['push'](db[_0x0a9f('0x8f')][_0x0a9f('0x32')](_0x39b024));}return BPromise[_0x0a9f('0x90')](_0x25616a);}})['then'](function(){return _0x4bbe1f;})[_0x0a9f('0x26')](respondWithResult(_0x4fbf12,null))[_0x0a9f('0x45')](handleError(_0x4fbf12,null));};exports[_0x0a9f('0x94')]=function(_0x1d9c54,_0x55dcb9,_0x3ab659){return db[_0x0a9f('0x42')][_0x0a9f('0x50')]({'where':{'id':_0x1d9c54[_0x0a9f('0x4f')]['id']}})['then'](handleEntityNotFound(_0x55dcb9,null))[_0x0a9f('0x26')](function(_0x843b34){if(_0x843b34){return _0x843b34[_0x0a9f('0x94')](_0x1d9c54[_0x0a9f('0x32')][_0x0a9f('0x69')]);}})['then'](function(_0x4a4a71){if(_0x4a4a71){return db[_0x0a9f('0x63')][_0x0a9f('0x27')]({'where':{'ListId':_0x1d9c54[_0x0a9f('0x32')][_0x0a9f('0x69')],'CampaignId':_0x1d9c54[_0x0a9f('0x4f')]['id']}})[_0x0a9f('0x26')](function(){return _0x4a4a71;});}})['then'](respondWithStatusCode(_0x55dcb9,null))[_0x0a9f('0x45')](handleError(_0x55dcb9,null));};
\ No newline at end of file
+var _0x77e2=['hasOwnProperty','order','sort','where','merge','type','VIRTUAL','filter','options','count','findAll','includeAll','find','catch','create','body','get','role','user','UserProfileSection','UserProfileResource','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','clone','params','omit','createdAt','updatedAt','Unable\x20to\x20retrieve\x20the\x20current\x20user','autoAssociation','getHoppers','findOne','nolimit','include','CmHopper','rows','getHopperHistories','CmHopperHistory','pick','CampaignId','CmHopperFinal','getHopperBlacks','CmHopperBlack','getLists','CmList','addLists','format','ids','dialCheckDuplicateType','always','insert','into','cm_hopper','fromQuery','phone','scheduledAt','ContactId','field','NOW()','CmListId','toString','ListId','deletedAt\x20IS\x20NULL','phone\x20NOT\x20IN\x20(?)','select','COALESCE(calleridnum,\x27\x27)','cm_hopper_final','CampaignId\x20=\x20?','from','cm_contacts','ListId\x20=\x20?','phone\x20IS\x20NOT\x20NULL','COALESCE(phone,\x27\x27)','cm_hopper_additional_phones','cmHopperId','OrderBy','h.id','ci.item','ci.OrderBY','h.ListId\x20=\x20?','h.createdAt\x20=\x20?','sequelize','push','all','removeLists','getBlackLists','YYYY-MM-DD\x20HH:mm:ss','spread','cm_hopper_black','removeBlackLists','eml-format','rimraf','fast-json-patch','request-promise','bluebird','util','path','to-csv','ejs','fs-extra','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','undefined','limit','offset','Content-Range','update','then','destroy','IvrCampaigns','stack','name','send','index','map','Campaign','rawAttributes','fieldName','model','query','keys','filters','attributes','intersection','fields','length'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0x77e2,0x176));var _0x277e=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x77e2[_0x321bb2];return _0x9c12ed;};'use strict';var emlformat=require(_0x277e('0x0'));var rimraf=require(_0x277e('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x277e('0x2'));var rp=require(_0x277e('0x3'));var moment=require('moment');var BPromise=require(_0x277e('0x4'));var Mustache=require('mustache');var util=require(_0x277e('0x5'));var path=require(_0x277e('0x6'));var sox=require('sox');var csv=require(_0x277e('0x7'));var ejs=require(_0x277e('0x8'));var fs=require('fs');var fs_extra=require(_0x277e('0x9'));var _=require(_0x277e('0xa'));var squel=require(_0x277e('0xb'));var crypto=require('crypto');var jsforce=require(_0x277e('0xc'));var deskjs=require(_0x277e('0xd'));var toCsv=require(_0x277e('0x7'));var querystring=require(_0x277e('0xe'));var Papa=require(_0x277e('0xf'));var Redis=require(_0x277e('0x10'));var authService=require('../../components/auth/service');var qs=require(_0x277e('0x11'));var as=require(_0x277e('0x12'));var hardwareService=require(_0x277e('0x13'));var logger=require(_0x277e('0x14'))(_0x277e('0x15'));var utils=require(_0x277e('0x16'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0x277e('0x17'))['db'];function respondWithStatusCode(_0x2f184b,_0x4e75c4){_0x4e75c4=_0x4e75c4||0xcc;return function(_0x119fb4){if(_0x119fb4){return _0x2f184b[_0x277e('0x18')](_0x4e75c4);}return _0x2f184b[_0x277e('0x19')](_0x4e75c4)[_0x277e('0x1a')]();};}function respondWithResult(_0x557d7c,_0xefc7fa){_0xefc7fa=_0xefc7fa||0xc8;return function(_0x5f5f34){if(_0x5f5f34){return _0x557d7c[_0x277e('0x19')](_0xefc7fa)[_0x277e('0x1b')](_0x5f5f34);}};}function respondWithFilteredResult(_0x153cf6,_0x234059){return function(_0x358f37){if(_0x358f37){var _0x19fca0=typeof _0x234059['offset']===_0x277e('0x1c')&&typeof _0x234059[_0x277e('0x1d')]==='undefined';var _0x32b901=_0x358f37['count'];var _0x35bc8e=_0x19fca0?0x0:_0x234059[_0x277e('0x1e')];var _0x196fca=_0x19fca0?_0x358f37['count']:_0x234059[_0x277e('0x1e')]+_0x234059['limit'];var _0x2b4dce;if(_0x196fca>=_0x32b901){_0x196fca=_0x32b901;_0x2b4dce=0xc8;}else{_0x2b4dce=0xce;}_0x153cf6[_0x277e('0x19')](_0x2b4dce);return _0x153cf6['set'](_0x277e('0x1f'),_0x35bc8e+'-'+_0x196fca+'/'+_0x32b901)[_0x277e('0x1b')](_0x358f37);}return null;};}function patchUpdates(_0x37d634){return function(_0x21f065){try{jsonpatch['apply'](_0x21f065,_0x37d634,!![]);}catch(_0x2f6325){return BPromise['reject'](_0x2f6325);}return _0x21f065['save']();};}function saveUpdates(_0x17a812,_0x7927e8){return function(_0x10dfae){if(_0x10dfae){return _0x10dfae[_0x277e('0x20')](_0x17a812)[_0x277e('0x21')](function(_0x3536eb){return _0x3536eb;});}return null;};}function removeEntity(_0x26c2bd,_0x2acf6f){return function(_0x3717d6){if(_0x3717d6){return _0x3717d6[_0x277e('0x22')]()[_0x277e('0x21')](function(){var _0x2b6154=_0x3717d6['get']({'plain':!![]});var _0x20c069=_0x277e('0x23');return db['UserProfileResource'][_0x277e('0x22')]({'where':{'type':_0x20c069,'resourceId':_0x2b6154['id']}})['then'](function(){return _0x3717d6;});})['then'](function(){_0x26c2bd[_0x277e('0x19')](0xcc)[_0x277e('0x1a')]();});}};}function handleEntityNotFound(_0x159b2e,_0x220809){return function(_0x41158d){if(!_0x41158d){_0x159b2e[_0x277e('0x18')](0x194);}return _0x41158d;};}function handleError(_0x22eb18,_0x4828e1){_0x4828e1=_0x4828e1||0x1f4;return function(_0x9b4821){logger['error'](_0x9b4821[_0x277e('0x24')]);if(_0x9b4821[_0x277e('0x25')]){delete _0x9b4821['name'];}_0x22eb18['status'](_0x4828e1)[_0x277e('0x26')](_0x9b4821);};}exports[_0x277e('0x27')]=function(_0x5eb0fa,_0x12734a){var _0x598db={},_0x3967c7={},_0x4095fa={'count':0x0,'rows':[]};var _0x5e53bd=_[_0x277e('0x28')](db[_0x277e('0x29')][_0x277e('0x2a')],function(_0x352cdc){return{'name':_0x352cdc[_0x277e('0x2b')],'type':_0x352cdc['type']['key']};});_0x3967c7[_0x277e('0x2c')]=_[_0x277e('0x28')](_0x5e53bd,_0x277e('0x25'));_0x3967c7[_0x277e('0x2d')]=_[_0x277e('0x2e')](_0x5eb0fa[_0x277e('0x2d')]);_0x3967c7[_0x277e('0x2f')]=_['intersection'](_0x3967c7[_0x277e('0x2c')],_0x3967c7['query']);_0x598db[_0x277e('0x30')]=_[_0x277e('0x31')](_0x3967c7['model'],qs[_0x277e('0x32')](_0x5eb0fa[_0x277e('0x2d')][_0x277e('0x32')]));_0x598db['attributes']=_0x598db['attributes'][_0x277e('0x33')]?_0x598db['attributes']:_0x3967c7[_0x277e('0x2c')];if(!_0x5eb0fa[_0x277e('0x2d')][_0x277e('0x34')]('nolimit')){_0x598db['limit']=qs[_0x277e('0x1d')](_0x5eb0fa[_0x277e('0x2d')][_0x277e('0x1d')]);_0x598db[_0x277e('0x1e')]=qs[_0x277e('0x1e')](_0x5eb0fa[_0x277e('0x2d')][_0x277e('0x1e')]);}_0x598db[_0x277e('0x35')]=qs[_0x277e('0x36')](_0x5eb0fa['query'][_0x277e('0x36')]);_0x598db[_0x277e('0x37')]=qs[_0x277e('0x2f')](_['pick'](_0x5eb0fa[_0x277e('0x2d')],_0x3967c7[_0x277e('0x2f')]),_0x5e53bd);if(_0x5eb0fa[_0x277e('0x2d')]['filter']){_0x598db[_0x277e('0x37')]=_[_0x277e('0x38')](_0x598db[_0x277e('0x37')],{'$or':_['map'](_0x5e53bd,function(_0x2512e3){if(_0x2512e3[_0x277e('0x39')]!==_0x277e('0x3a')){var _0x50c077={};_0x50c077[_0x2512e3[_0x277e('0x25')]]={'$like':'%'+_0x5eb0fa[_0x277e('0x2d')][_0x277e('0x3b')]+'%'};return _0x50c077;}})});}_0x598db=_[_0x277e('0x38')]({},_0x598db,_0x5eb0fa[_0x277e('0x3c')]);var _0xe8bc18={'where':_0x598db['where']};return db[_0x277e('0x29')][_0x277e('0x3d')](_0xe8bc18)[_0x277e('0x21')](function(_0x1c79a6){_0x4095fa[_0x277e('0x3d')]=_0x1c79a6;if(_0x5eb0fa[_0x277e('0x2d')]['includeAll']){_0x598db['include']=[{'all':!![]}];}return db[_0x277e('0x29')][_0x277e('0x3e')](_0x598db);})[_0x277e('0x21')](function(_0x421b5a){_0x4095fa['rows']=_0x421b5a;return _0x4095fa;})['then'](respondWithFilteredResult(_0x12734a,_0x598db))['catch'](handleError(_0x12734a,null));};exports['show']=function(_0x3e2a61,_0x43316a){var _0x2862d2={'raw':![],'where':{'id':_0x3e2a61['params']['id']}},_0x197479={};_0x197479[_0x277e('0x2c')]=_[_0x277e('0x2e')](db[_0x277e('0x29')][_0x277e('0x2a')]);_0x197479[_0x277e('0x2d')]=_[_0x277e('0x2e')](_0x3e2a61[_0x277e('0x2d')]);_0x197479[_0x277e('0x2f')]=_[_0x277e('0x31')](_0x197479['model'],_0x197479[_0x277e('0x2d')]);_0x2862d2[_0x277e('0x30')]=_[_0x277e('0x31')](_0x197479[_0x277e('0x2c')],qs[_0x277e('0x32')](_0x3e2a61['query'][_0x277e('0x32')]));_0x2862d2[_0x277e('0x30')]=_0x2862d2[_0x277e('0x30')][_0x277e('0x33')]?_0x2862d2[_0x277e('0x30')]:_0x197479[_0x277e('0x2c')];if(_0x3e2a61[_0x277e('0x2d')][_0x277e('0x3f')]){_0x2862d2['include']=[{'all':!![]}];}_0x2862d2=_['merge']({},_0x2862d2,_0x3e2a61[_0x277e('0x3c')]);return db[_0x277e('0x29')][_0x277e('0x40')](_0x2862d2)[_0x277e('0x21')](handleEntityNotFound(_0x43316a,null))[_0x277e('0x21')](respondWithResult(_0x43316a,null))[_0x277e('0x41')](handleError(_0x43316a,null));};exports[_0x277e('0x42')]=function(_0x1dbbba,_0x2983e2){return db['Campaign']['create'](_0x1dbbba[_0x277e('0x43')],{})[_0x277e('0x21')](function(_0x503797){var _0x252886=_0x1dbbba['user'][_0x277e('0x44')]({'plain':!![]});if(!_0x252886)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x252886[_0x277e('0x45')]===_0x277e('0x46')){var _0x176b9b=_0x503797[_0x277e('0x44')]({'plain':!![]});var _0x39937b=_0x277e('0x23');return db[_0x277e('0x47')][_0x277e('0x40')]({'where':{'name':_0x39937b,'userProfileId':_0x252886['userProfileId']},'raw':!![]})[_0x277e('0x21')](function(_0x1a001b){if(_0x1a001b&&_0x1a001b['autoAssociation']===0x0){return db[_0x277e('0x48')][_0x277e('0x42')]({'name':_0x176b9b[_0x277e('0x25')],'resourceId':_0x176b9b['id'],'type':_0x1a001b['name'],'sectionId':_0x1a001b['id']},{})[_0x277e('0x21')](function(){return _0x503797;});}else{return _0x503797;}})['catch'](function(_0x471856){logger[_0x277e('0x49')](_0x277e('0x4a'),_0x471856);throw _0x471856;});}return _0x503797;})[_0x277e('0x21')](respondWithResult(_0x2983e2,0xc9))['catch'](handleError(_0x2983e2,null));};exports[_0x277e('0x4b')]=function(_0x358656,_0x35a483){var _0x40fd8c={'where':{'id':_0x358656[_0x277e('0x4c')]['id']}},_0x5e3cc9={};_0x5e3cc9[_0x277e('0x2c')]=_[_0x277e('0x2e')](db[_0x277e('0x29')][_0x277e('0x2a')]);_0x40fd8c[_0x277e('0x30')]=_[_0x277e('0x31')](_0x5e3cc9['model'],qs[_0x277e('0x32')](_0x358656[_0x277e('0x2d')][_0x277e('0x32')]));_0x40fd8c[_0x277e('0x30')]=_0x40fd8c[_0x277e('0x30')][_0x277e('0x33')]?_0x40fd8c[_0x277e('0x30')]:_0x5e3cc9[_0x277e('0x2c')];if(_0x358656['query'][_0x277e('0x3f')]){_0x40fd8c['include']=[{'all':!![]}];}_0x40fd8c=_[_0x277e('0x38')]({},_0x40fd8c,_0x358656[_0x277e('0x3c')]);return db[_0x277e('0x29')]['find'](_0x40fd8c)[_0x277e('0x21')](handleEntityNotFound(_0x35a483,null))[_0x277e('0x21')](function(_0x34ea28){if(_0x34ea28){var _0x288d98=_0x34ea28[_0x277e('0x44')]({'plain':!![]});_0x288d98=qs[_0x277e('0x4d')](_0x288d98,['id',_0x277e('0x4e'),_0x277e('0x4f')]);_0x358656[_0x277e('0x43')]=_[_0x277e('0x4d')](_0x358656[_0x277e('0x43')],['id','createdAt',_0x277e('0x4f')]);return db[_0x277e('0x29')][_0x277e('0x42')](_[_0x277e('0x38')](_0x288d98,_0x358656[_0x277e('0x43')]),{'include':_0x358656[_0x277e('0x2d')][_0x277e('0x3f')]?[{'all':!![]}]:undefined})[_0x277e('0x21')](function(_0x217d14){var _0x28c60e=_0x358656[_0x277e('0x46')][_0x277e('0x44')]({'plain':!![]});if(!_0x28c60e)throw new Error(_0x277e('0x50'));if(_0x28c60e[_0x277e('0x45')]===_0x277e('0x46')){var _0x355b5a=_0x217d14[_0x277e('0x44')]({'plain':!![]});var _0x2da001=_0x277e('0x23');return db[_0x277e('0x47')][_0x277e('0x40')]({'where':{'name':_0x2da001,'userProfileId':_0x28c60e['userProfileId']},'raw':!![]})[_0x277e('0x21')](function(_0x1e23f8){if(_0x1e23f8&&_0x1e23f8[_0x277e('0x51')]===0x0){return db[_0x277e('0x48')][_0x277e('0x42')]({'name':_0x355b5a[_0x277e('0x25')],'resourceId':_0x355b5a['id'],'type':_0x1e23f8['name'],'sectionId':_0x1e23f8['id']},{})[_0x277e('0x21')](function(){return _0x217d14;});}else{return _0x217d14;}})[_0x277e('0x41')](function(_0x57f9ee){logger['error'](_0x277e('0x4a'),_0x57f9ee);throw _0x57f9ee;});}return _0x217d14;});}})['then'](respondWithResult(_0x35a483,0xc9))[_0x277e('0x41')](handleError(_0x35a483,null));};exports['update']=function(_0x2dc56b,_0x2d82e5){if(_0x2dc56b['body']['id']){delete _0x2dc56b[_0x277e('0x43')]['id'];}return db[_0x277e('0x29')]['find']({'where':{'id':_0x2dc56b[_0x277e('0x4c')]['id']}})[_0x277e('0x21')](handleEntityNotFound(_0x2d82e5,null))['then'](saveUpdates(_0x2dc56b['body'],null))[_0x277e('0x21')](respondWithResult(_0x2d82e5,null))[_0x277e('0x41')](handleError(_0x2d82e5,null));};exports[_0x277e('0x22')]=function(_0x466e62,_0x5d5a9d){return db['Campaign']['find']({'where':{'id':_0x466e62[_0x277e('0x4c')]['id']}})[_0x277e('0x21')](handleEntityNotFound(_0x5d5a9d,null))[_0x277e('0x21')](removeEntity(_0x5d5a9d,null))[_0x277e('0x41')](handleError(_0x5d5a9d,null));};exports[_0x277e('0x52')]=function(_0x4f1a7c,_0x4c32d4,_0x5d0da4){var _0x50623a={'raw':!![],'where':{}};var _0x22bb3a={};var _0xc17670={'count':0x0,'rows':[]};return db[_0x277e('0x29')][_0x277e('0x53')]({'where':{'id':_0x4f1a7c['params']['id']}})['then'](handleEntityNotFound(_0x4c32d4,null))[_0x277e('0x21')](function(_0x49c91e){if(_0x49c91e){_0x22bb3a[_0x277e('0x2c')]=_[_0x277e('0x2e')](db['CmHopper']['rawAttributes']);_0x22bb3a[_0x277e('0x2d')]=_['keys'](_0x4f1a7c[_0x277e('0x2d')]);_0x22bb3a[_0x277e('0x2f')]=_[_0x277e('0x31')](_0x22bb3a[_0x277e('0x2c')],_0x22bb3a['query']);_0x50623a[_0x277e('0x30')]=_['intersection'](_0x22bb3a['model'],qs[_0x277e('0x32')](_0x4f1a7c[_0x277e('0x2d')][_0x277e('0x32')]));_0x50623a[_0x277e('0x30')]=_0x50623a['attributes']['length']?_0x50623a['attributes']:_0x22bb3a['model'];if(!_0x4f1a7c[_0x277e('0x2d')][_0x277e('0x34')](_0x277e('0x54'))){_0x50623a[_0x277e('0x1d')]=qs[_0x277e('0x1d')](_0x4f1a7c['query']['limit']);_0x50623a['offset']=qs['offset'](_0x4f1a7c[_0x277e('0x2d')][_0x277e('0x1e')]);}_0x50623a[_0x277e('0x35')]=qs[_0x277e('0x36')](_0x4f1a7c[_0x277e('0x2d')]['sort']);_0x50623a[_0x277e('0x37')]=qs[_0x277e('0x2f')](_['pick'](_0x4f1a7c[_0x277e('0x2d')],_0x22bb3a[_0x277e('0x2f')]));_0x50623a[_0x277e('0x37')]['CampaignId']=_0x49c91e['id'];if(_0x4f1a7c['query'][_0x277e('0x3b')]){_0x50623a[_0x277e('0x37')]=_[_0x277e('0x38')](_0x50623a[_0x277e('0x37')],{'$or':_['map'](_0x50623a[_0x277e('0x30')],function(_0x23efe8){var _0x2e55e2={};_0x2e55e2[_0x23efe8]={'$like':'%'+_0x4f1a7c[_0x277e('0x2d')][_0x277e('0x3b')]+'%'};return _0x2e55e2;})});}_0x50623a=_[_0x277e('0x38')]({},_0x50623a,_0x4f1a7c[_0x277e('0x3c')]);return db['CmHopper'][_0x277e('0x3d')]({'where':_0x50623a[_0x277e('0x37')]})['then'](function(_0x2030a3){_0xc17670[_0x277e('0x3d')]=_0x2030a3;if(_0x4f1a7c[_0x277e('0x2d')][_0x277e('0x3f')]){_0x50623a[_0x277e('0x55')]=[{'all':!![]}];}return db[_0x277e('0x56')][_0x277e('0x3e')](_0x50623a);})[_0x277e('0x21')](function(_0x2e1f75){_0xc17670[_0x277e('0x57')]=_0x2e1f75;return _0xc17670;});}})[_0x277e('0x21')](respondWithFilteredResult(_0x4c32d4,_0x50623a))[_0x277e('0x41')](handleError(_0x4c32d4,null));};exports[_0x277e('0x58')]=function(_0x548426,_0x24b5c8,_0x35414e){var _0x59f0ba={'raw':!![],'where':{}};var _0x697857={};var _0x534715={'count':0x0,'rows':[]};return db[_0x277e('0x29')]['findOne']({'where':{'id':_0x548426[_0x277e('0x4c')]['id']}})[_0x277e('0x21')](handleEntityNotFound(_0x24b5c8,null))['then'](function(_0x391282){if(_0x391282){_0x697857[_0x277e('0x2c')]=_[_0x277e('0x2e')](db[_0x277e('0x59')][_0x277e('0x2a')]);_0x697857[_0x277e('0x2d')]=_[_0x277e('0x2e')](_0x548426['query']);_0x697857[_0x277e('0x2f')]=_[_0x277e('0x31')](_0x697857[_0x277e('0x2c')],_0x697857[_0x277e('0x2d')]);_0x59f0ba[_0x277e('0x30')]=_[_0x277e('0x31')](_0x697857[_0x277e('0x2c')],qs[_0x277e('0x32')](_0x548426['query'][_0x277e('0x32')]));_0x59f0ba[_0x277e('0x30')]=_0x59f0ba[_0x277e('0x30')]['length']?_0x59f0ba['attributes']:_0x697857['model'];if(!_0x548426[_0x277e('0x2d')][_0x277e('0x34')](_0x277e('0x54'))){_0x59f0ba[_0x277e('0x1d')]=qs['limit'](_0x548426[_0x277e('0x2d')]['limit']);_0x59f0ba['offset']=qs[_0x277e('0x1e')](_0x548426[_0x277e('0x2d')]['offset']);}_0x59f0ba['order']=qs['sort'](_0x548426[_0x277e('0x2d')][_0x277e('0x36')]);_0x59f0ba[_0x277e('0x37')]=qs[_0x277e('0x2f')](_[_0x277e('0x5a')](_0x548426[_0x277e('0x2d')],_0x697857[_0x277e('0x2f')]));_0x59f0ba[_0x277e('0x37')][_0x277e('0x5b')]=_0x391282['id'];if(_0x548426[_0x277e('0x2d')][_0x277e('0x3b')]){_0x59f0ba[_0x277e('0x37')]=_['merge'](_0x59f0ba['where'],{'$or':_[_0x277e('0x28')](_0x59f0ba['attributes'],function(_0x520f40){var _0x2fe123={};_0x2fe123[_0x520f40]={'$like':'%'+_0x548426[_0x277e('0x2d')][_0x277e('0x3b')]+'%'};return _0x2fe123;})});}_0x59f0ba=_[_0x277e('0x38')]({},_0x59f0ba,_0x548426[_0x277e('0x3c')]);return db['CmHopperHistory'][_0x277e('0x3d')]({'where':_0x59f0ba[_0x277e('0x37')]})[_0x277e('0x21')](function(_0x24d95b){_0x534715[_0x277e('0x3d')]=_0x24d95b;if(_0x548426[_0x277e('0x2d')][_0x277e('0x3f')]){_0x59f0ba['include']=[{'all':!![]}];}return db[_0x277e('0x59')][_0x277e('0x3e')](_0x59f0ba);})[_0x277e('0x21')](function(_0x7b8fd8){_0x534715[_0x277e('0x57')]=_0x7b8fd8;return _0x534715;});}})[_0x277e('0x21')](respondWithFilteredResult(_0x24b5c8,_0x59f0ba))[_0x277e('0x41')](handleError(_0x24b5c8,null));};exports['getHopperFinals']=function(_0x57acf3,_0x2af90d,_0x336952){var _0x1fd45e={'raw':!![],'where':{}};var _0x578187={};var _0xf775cb={'count':0x0,'rows':[]};return db[_0x277e('0x29')][_0x277e('0x53')]({'where':{'id':_0x57acf3[_0x277e('0x4c')]['id']}})[_0x277e('0x21')](handleEntityNotFound(_0x2af90d,null))[_0x277e('0x21')](function(_0x27b60a){if(_0x27b60a){_0x578187['model']=_['keys'](db['CmHopperFinal'][_0x277e('0x2a')]);_0x578187[_0x277e('0x2d')]=_[_0x277e('0x2e')](_0x57acf3[_0x277e('0x2d')]);_0x578187['filters']=_[_0x277e('0x31')](_0x578187[_0x277e('0x2c')],_0x578187['query']);_0x1fd45e[_0x277e('0x30')]=_[_0x277e('0x31')](_0x578187[_0x277e('0x2c')],qs['fields'](_0x57acf3['query'][_0x277e('0x32')]));_0x1fd45e[_0x277e('0x30')]=_0x1fd45e[_0x277e('0x30')]['length']?_0x1fd45e['attributes']:_0x578187[_0x277e('0x2c')];if(!_0x57acf3[_0x277e('0x2d')][_0x277e('0x34')]('nolimit')){_0x1fd45e[_0x277e('0x1d')]=qs[_0x277e('0x1d')](_0x57acf3['query'][_0x277e('0x1d')]);_0x1fd45e[_0x277e('0x1e')]=qs[_0x277e('0x1e')](_0x57acf3['query'][_0x277e('0x1e')]);}_0x1fd45e[_0x277e('0x35')]=qs[_0x277e('0x36')](_0x57acf3[_0x277e('0x2d')][_0x277e('0x36')]);_0x1fd45e[_0x277e('0x37')]=qs[_0x277e('0x2f')](_[_0x277e('0x5a')](_0x57acf3['query'],_0x578187[_0x277e('0x2f')]));_0x1fd45e[_0x277e('0x37')][_0x277e('0x5b')]=_0x27b60a['id'];if(_0x57acf3['query']['filter']){_0x1fd45e[_0x277e('0x37')]=_[_0x277e('0x38')](_0x1fd45e[_0x277e('0x37')],{'$or':_['map'](_0x1fd45e[_0x277e('0x30')],function(_0x145a2e){var _0x75b12={};_0x75b12[_0x145a2e]={'$like':'%'+_0x57acf3[_0x277e('0x2d')][_0x277e('0x3b')]+'%'};return _0x75b12;})});}_0x1fd45e=_[_0x277e('0x38')]({},_0x1fd45e,_0x57acf3[_0x277e('0x3c')]);return db[_0x277e('0x5c')]['count']({'where':_0x1fd45e[_0x277e('0x37')]})[_0x277e('0x21')](function(_0x376c1a){_0xf775cb[_0x277e('0x3d')]=_0x376c1a;if(_0x57acf3[_0x277e('0x2d')][_0x277e('0x3f')]){_0x1fd45e[_0x277e('0x55')]=[{'all':!![]}];}return db['CmHopperFinal'][_0x277e('0x3e')](_0x1fd45e);})[_0x277e('0x21')](function(_0x121afd){_0xf775cb['rows']=_0x121afd;return _0xf775cb;});}})[_0x277e('0x21')](respondWithFilteredResult(_0x2af90d,_0x1fd45e))['catch'](handleError(_0x2af90d,null));};exports[_0x277e('0x5d')]=function(_0x25ca40,_0x5c6ef7,_0x3f569e){var _0x2b4280={'raw':!![],'where':{}};var _0xa92ce={};var _0x5e9f3c={'count':0x0,'rows':[]};return db[_0x277e('0x29')][_0x277e('0x53')]({'where':{'id':_0x25ca40['params']['id']}})[_0x277e('0x21')](handleEntityNotFound(_0x5c6ef7,null))[_0x277e('0x21')](function(_0x5ed8e4){if(_0x5ed8e4){_0xa92ce[_0x277e('0x2c')]=_['keys'](db[_0x277e('0x5e')][_0x277e('0x2a')]);_0xa92ce[_0x277e('0x2d')]=_[_0x277e('0x2e')](_0x25ca40['query']);_0xa92ce[_0x277e('0x2f')]=_[_0x277e('0x31')](_0xa92ce[_0x277e('0x2c')],_0xa92ce['query']);_0x2b4280['attributes']=_[_0x277e('0x31')](_0xa92ce[_0x277e('0x2c')],qs[_0x277e('0x32')](_0x25ca40['query'][_0x277e('0x32')]));_0x2b4280[_0x277e('0x30')]=_0x2b4280[_0x277e('0x30')]['length']?_0x2b4280['attributes']:_0xa92ce[_0x277e('0x2c')];if(!_0x25ca40[_0x277e('0x2d')]['hasOwnProperty'](_0x277e('0x54'))){_0x2b4280[_0x277e('0x1d')]=qs[_0x277e('0x1d')](_0x25ca40['query'][_0x277e('0x1d')]);_0x2b4280['offset']=qs[_0x277e('0x1e')](_0x25ca40[_0x277e('0x2d')]['offset']);}_0x2b4280[_0x277e('0x35')]=qs[_0x277e('0x36')](_0x25ca40[_0x277e('0x2d')][_0x277e('0x36')]);_0x2b4280['where']=qs[_0x277e('0x2f')](_[_0x277e('0x5a')](_0x25ca40[_0x277e('0x2d')],_0xa92ce[_0x277e('0x2f')]));_0x2b4280['where']['CampaignId']=_0x5ed8e4['id'];if(_0x25ca40['query'][_0x277e('0x3b')]){_0x2b4280[_0x277e('0x37')]=_[_0x277e('0x38')](_0x2b4280[_0x277e('0x37')],{'$or':_['map'](_0x2b4280['attributes'],function(_0x70cefa){var _0x40ba37={};_0x40ba37[_0x70cefa]={'$like':'%'+_0x25ca40[_0x277e('0x2d')][_0x277e('0x3b')]+'%'};return _0x40ba37;})});}_0x2b4280=_['merge']({},_0x2b4280,_0x25ca40[_0x277e('0x3c')]);return db['CmHopperBlack']['count']({'where':_0x2b4280[_0x277e('0x37')]})['then'](function(_0x5600d1){_0x5e9f3c[_0x277e('0x3d')]=_0x5600d1;if(_0x25ca40['query'][_0x277e('0x3f')]){_0x2b4280['include']=[{'all':!![]}];}return db[_0x277e('0x5e')][_0x277e('0x3e')](_0x2b4280);})[_0x277e('0x21')](function(_0x380a23){_0x5e9f3c['rows']=_0x380a23;return _0x5e9f3c;});}})[_0x277e('0x21')](respondWithFilteredResult(_0x5c6ef7,_0x2b4280))[_0x277e('0x41')](handleError(_0x5c6ef7,null));};exports[_0x277e('0x5f')]=function(_0x229ba5,_0x537afe,_0x356b6f){var _0x4dae58={};var _0x560720={};var _0x4a917b;var _0x5bf77c;return db[_0x277e('0x29')]['findOne']({'where':{'id':_0x229ba5[_0x277e('0x4c')]['id']}})[_0x277e('0x21')](handleEntityNotFound(_0x537afe,null))['then'](function(_0x34e562){if(_0x34e562){_0x4a917b=_0x34e562;_0x560720[_0x277e('0x2c')]=_['keys'](db[_0x277e('0x60')][_0x277e('0x2a')]);_0x560720[_0x277e('0x2d')]=_[_0x277e('0x2e')](_0x229ba5[_0x277e('0x2d')]);_0x560720['filters']=_['intersection'](_0x560720[_0x277e('0x2c')],_0x560720['query']);_0x4dae58[_0x277e('0x30')]=_[_0x277e('0x31')](_0x560720['model'],qs[_0x277e('0x32')](_0x229ba5['query'][_0x277e('0x32')]));_0x4dae58[_0x277e('0x30')]=_0x4dae58[_0x277e('0x30')]['length']?_0x4dae58[_0x277e('0x30')]:_0x560720[_0x277e('0x2c')];_0x4dae58[_0x277e('0x35')]=qs[_0x277e('0x36')](_0x229ba5['query'][_0x277e('0x36')]);_0x4dae58[_0x277e('0x37')]=qs[_0x277e('0x2f')](_['pick'](_0x229ba5['query'],_0x560720[_0x277e('0x2f')]));if(_0x229ba5[_0x277e('0x2d')]['filter']){_0x4dae58[_0x277e('0x37')]=_[_0x277e('0x38')](_0x4dae58['where'],{'$or':_[_0x277e('0x28')](_0x4dae58[_0x277e('0x30')],function(_0x19bb78){var _0x3cea50={};_0x3cea50[_0x19bb78]={'$like':'%'+_0x229ba5['query']['filter']+'%'};return _0x3cea50;})});}_0x4dae58=_[_0x277e('0x38')]({},_0x4dae58,_0x229ba5[_0x277e('0x3c')]);return _0x4a917b[_0x277e('0x5f')](_0x4dae58);}})[_0x277e('0x21')](function(_0x586988){if(_0x586988){_0x5bf77c=_0x586988[_0x277e('0x33')];if(!_0x229ba5['query'][_0x277e('0x34')](_0x277e('0x54'))){_0x4dae58[_0x277e('0x1d')]=qs['limit'](_0x229ba5[_0x277e('0x2d')][_0x277e('0x1d')]);_0x4dae58[_0x277e('0x1e')]=qs[_0x277e('0x1e')](_0x229ba5[_0x277e('0x2d')][_0x277e('0x1e')]);}return _0x4a917b[_0x277e('0x5f')](_0x4dae58);}})[_0x277e('0x21')](function(_0x1ff8d4){if(_0x1ff8d4){return _0x1ff8d4?{'count':_0x5bf77c,'rows':_0x1ff8d4}:null;}})['then'](respondWithResult(_0x537afe,null))['catch'](handleError(_0x537afe,null));};exports[_0x277e('0x61')]=function(_0x4ea97d,_0x2aede3,_0x3931aa){var _0x3c4b4c,_0xf9a6ff;var _0x32c854=[];var _0x5680f4=moment()[_0x277e('0x62')]('YYYY-MM-DD\x20HH:mm:ss');return db['Campaign'][_0x277e('0x40')]({'where':{'id':_0x4ea97d[_0x277e('0x4c')]['id']}})['then'](handleEntityNotFound(_0x2aede3,null))[_0x277e('0x21')](function(_0x5e8e22){if(_0x5e8e22){_0xf9a6ff=_0x5e8e22;return _0x5e8e22['addLists'](_0x4ea97d[_0x277e('0x43')][_0x277e('0x63')],_[_0x277e('0x4d')](_0x4ea97d['body'],[_0x277e('0x63'),'id'])||{});}return null;})['spread'](function(_0x9944a2){var _0x74fb9a;var _0x950359;_0x3c4b4c=_0x9944a2||[];var _0x7cc404=[];if(_0x9944a2){for(var _0x451b37=0x0;_0x451b37<_0x9944a2[_0x277e('0x33')];_0x451b37+=0x1){var _0x374e92=_0x9944a2[_0x451b37][_0x277e('0x44')]({'plain':!![]});_0xf9a6ff[_0x277e('0x64')]=_0x4ea97d[_0x277e('0x43')][_0x277e('0x64')]?_0x4ea97d[_0x277e('0x43')][_0x277e('0x64')]:_0xf9a6ff['dialCheckDuplicateType'];switch(_0xf9a6ff[_0x277e('0x64')]){case _0x277e('0x65'):_0x74fb9a=squel[_0x277e('0x66')]()[_0x277e('0x67')](_0x277e('0x68'))[_0x277e('0x69')]([_0x277e('0x6a'),_0x277e('0x6b'),_0x277e('0x6c'),'ListId',_0x277e('0x5b'),'createdAt',_0x277e('0x4f')],squel['select']()[_0x277e('0x6d')](_0x277e('0x6a'),_0x277e('0x6a'))[_0x277e('0x6d')](_0x277e('0x6e'),_0x277e('0x6b'))[_0x277e('0x6d')]('id',_0x277e('0x6c'))[_0x277e('0x6d')](_0x374e92[_0x277e('0x6f')][_0x277e('0x70')](),_0x277e('0x71'))[_0x277e('0x6d')](_0x4ea97d[_0x277e('0x4c')]['id'][_0x277e('0x70')](),_0x277e('0x5b'))[_0x277e('0x6d')]('\x27'+_0x5680f4+'\x27','createdAt')[_0x277e('0x6d')]('\x27'+_0x5680f4+'\x27','updatedAt')['from']('cm_contacts')['where'](_0x277e('0x72'))['where']('ListId\x20=\x20?',_0x374e92[_0x277e('0x6f')]['toString']())['where']('phone\x20IS\x20NOT\x20NULL')[_0x277e('0x37')](_0x277e('0x73'),squel[_0x277e('0x74')]()[_0x277e('0x6d')](_0x277e('0x75'))['from'](_0x277e('0x76'))[_0x277e('0x37')](_0x277e('0x77'),_0x4ea97d['params']['id'][_0x277e('0x70')]()))[_0x277e('0x37')](_0x277e('0x73'),squel[_0x277e('0x74')]()['field']('COALESCE(phone,\x27\x27)')[_0x277e('0x78')]('cm_hopper')[_0x277e('0x37')](_0x277e('0x77'),_0x4ea97d['params']['id'][_0x277e('0x70')]())))[_0x277e('0x70')]();break;case'onlyIfOpen':_0x74fb9a=squel['insert']()['into']('cm_hopper')['fromQuery'](['phone',_0x277e('0x6b'),_0x277e('0x6c'),_0x277e('0x71'),_0x277e('0x5b'),_0x277e('0x4e'),_0x277e('0x4f')],squel[_0x277e('0x74')]()[_0x277e('0x6d')](_0x277e('0x6a'),_0x277e('0x6a'))['field']('NOW()',_0x277e('0x6b'))['field']('id',_0x277e('0x6c'))['field'](_0x374e92[_0x277e('0x6f')]['toString'](),_0x277e('0x71'))[_0x277e('0x6d')](_0x4ea97d['params']['id'][_0x277e('0x70')](),'CampaignId')[_0x277e('0x6d')]('\x27'+_0x5680f4+'\x27',_0x277e('0x4e'))[_0x277e('0x6d')]('\x27'+_0x5680f4+'\x27',_0x277e('0x4f'))[_0x277e('0x78')](_0x277e('0x79'))[_0x277e('0x37')](_0x277e('0x72'))['where'](_0x277e('0x7a'),_0x374e92[_0x277e('0x6f')][_0x277e('0x70')]())[_0x277e('0x37')](_0x277e('0x7b'))[_0x277e('0x37')](_0x277e('0x73'),squel['select']()['field'](_0x277e('0x7c'))['from'](_0x277e('0x68'))[_0x277e('0x37')]('CampaignId\x20=\x20?',_0x4ea97d[_0x277e('0x4c')]['id'][_0x277e('0x70')]())))[_0x277e('0x70')]();break;default:_0x74fb9a=squel['insert']()[_0x277e('0x67')](_0x277e('0x68'))[_0x277e('0x69')]([_0x277e('0x6a'),_0x277e('0x6b'),'ContactId',_0x277e('0x71'),'CampaignId','createdAt',_0x277e('0x4f')],squel['select']()['field']('phone','phone')[_0x277e('0x6d')](_0x277e('0x6e'),'scheduledAt')['field']('id','ContactId')[_0x277e('0x6d')](_0x374e92['CmListId'][_0x277e('0x70')](),_0x277e('0x71'))[_0x277e('0x6d')](_0x4ea97d[_0x277e('0x4c')]['id'][_0x277e('0x70')](),'CampaignId')['field']('\x27'+_0x5680f4+'\x27',_0x277e('0x4e'))[_0x277e('0x6d')]('\x27'+_0x5680f4+'\x27',_0x277e('0x4f'))[_0x277e('0x78')](_0x277e('0x79'))[_0x277e('0x37')]('deletedAt\x20IS\x20NULL')[_0x277e('0x37')](_0x277e('0x7a'),_0x374e92[_0x277e('0x6f')][_0x277e('0x70')]())['where'](_0x277e('0x7b')))[_0x277e('0x70')]();}_0x950359=squel[_0x277e('0x66')]()[_0x277e('0x67')](_0x277e('0x7d'))[_0x277e('0x69')]([_0x277e('0x7e'),_0x277e('0x6b'),_0x277e('0x6a'),_0x277e('0x7f'),_0x277e('0x4e'),'updatedAt'],squel[_0x277e('0x74')]()['field'](_0x277e('0x80'),'id')[_0x277e('0x6d')]('NOW()',_0x277e('0x6b'))[_0x277e('0x6d')](_0x277e('0x81'),_0x277e('0x6a'))[_0x277e('0x6d')](_0x277e('0x82'),_0x277e('0x7f'))[_0x277e('0x6d')]('\x27'+_0x5680f4+'\x27',_0x277e('0x4e'))[_0x277e('0x6d')]('\x27'+_0x5680f4+'\x27','updatedAt')[_0x277e('0x78')]('cm_contact_has_items','ci')['join'](_0x277e('0x68'),'h','h.ContactId\x20=\x20ci.CmContactId')[_0x277e('0x37')](_0x277e('0x83'),_0x374e92['CmListId'][_0x277e('0x70')]())[_0x277e('0x37')]('h.CampaignId=?',_0x4ea97d[_0x277e('0x4c')]['id'][_0x277e('0x70')]())[_0x277e('0x37')](_0x277e('0x84'),_0x5680f4))[_0x277e('0x70')]();_0x7cc404['push'](db[_0x277e('0x85')]['query'](_0x74fb9a));_0x32c854[_0x277e('0x86')](db[_0x277e('0x85')]['query'](_0x950359));}return BPromise[_0x277e('0x87')](_0x7cc404);}})['then'](function(){return BPromise[_0x277e('0x87')](_0x32c854);})[_0x277e('0x21')](function(){return _0x3c4b4c;})[_0x277e('0x21')](respondWithResult(_0x2aede3,null))[_0x277e('0x41')](handleError(_0x2aede3,null));};exports[_0x277e('0x88')]=function(_0x261b1f,_0x1995bb,_0x4d4fcf){return db[_0x277e('0x29')][_0x277e('0x40')]({'where':{'id':_0x261b1f[_0x277e('0x4c')]['id']}})[_0x277e('0x21')](handleEntityNotFound(_0x1995bb,null))[_0x277e('0x21')](function(_0xd56a4f){if(_0xd56a4f){return _0xd56a4f['removeLists'](_0x261b1f[_0x277e('0x2d')][_0x277e('0x63')]);}})[_0x277e('0x21')](function(_0x59cf11){if(_0x59cf11){return db[_0x277e('0x56')][_0x277e('0x22')]({'where':{'ListId':_0x261b1f[_0x277e('0x2d')]['ids'],'CampaignId':_0x261b1f['params']['id']}})[_0x277e('0x21')](function(){return _0x59cf11;});}})['then'](respondWithStatusCode(_0x1995bb,null))[_0x277e('0x41')](handleError(_0x1995bb,null));};exports[_0x277e('0x89')]=function(_0x492fc5,_0x4f6208,_0x5124fc){var _0x3ab1f2={};var _0x273b2d={};var _0x238399;var _0x1223a6;return db[_0x277e('0x29')][_0x277e('0x53')]({'where':{'id':_0x492fc5[_0x277e('0x4c')]['id']}})[_0x277e('0x21')](handleEntityNotFound(_0x4f6208,null))[_0x277e('0x21')](function(_0x146a5b){if(_0x146a5b){_0x238399=_0x146a5b;_0x273b2d[_0x277e('0x2c')]=_[_0x277e('0x2e')](db['CmList'][_0x277e('0x2a')]);_0x273b2d[_0x277e('0x2d')]=_[_0x277e('0x2e')](_0x492fc5[_0x277e('0x2d')]);_0x273b2d[_0x277e('0x2f')]=_[_0x277e('0x31')](_0x273b2d[_0x277e('0x2c')],_0x273b2d[_0x277e('0x2d')]);_0x3ab1f2[_0x277e('0x30')]=_[_0x277e('0x31')](_0x273b2d[_0x277e('0x2c')],qs[_0x277e('0x32')](_0x492fc5[_0x277e('0x2d')][_0x277e('0x32')]));_0x3ab1f2[_0x277e('0x30')]=_0x3ab1f2[_0x277e('0x30')][_0x277e('0x33')]?_0x3ab1f2[_0x277e('0x30')]:_0x273b2d['model'];_0x3ab1f2['order']=qs['sort'](_0x492fc5[_0x277e('0x2d')]['sort']);_0x3ab1f2[_0x277e('0x37')]=qs[_0x277e('0x2f')](_['pick'](_0x492fc5['query'],_0x273b2d[_0x277e('0x2f')]));if(_0x492fc5[_0x277e('0x2d')][_0x277e('0x3b')]){_0x3ab1f2[_0x277e('0x37')]=_['merge'](_0x3ab1f2[_0x277e('0x37')],{'$or':_[_0x277e('0x28')](_0x3ab1f2['attributes'],function(_0x570646){var _0x1f8db5={};_0x1f8db5[_0x570646]={'$like':'%'+_0x492fc5[_0x277e('0x2d')][_0x277e('0x3b')]+'%'};return _0x1f8db5;})});}_0x3ab1f2=_[_0x277e('0x38')]({},_0x3ab1f2,_0x492fc5[_0x277e('0x3c')]);return _0x238399[_0x277e('0x89')](_0x3ab1f2);}})[_0x277e('0x21')](function(_0x46bfc3){if(_0x46bfc3){_0x1223a6=_0x46bfc3['length'];if(!_0x492fc5[_0x277e('0x2d')]['hasOwnProperty'](_0x277e('0x54'))){_0x3ab1f2[_0x277e('0x1d')]=qs[_0x277e('0x1d')](_0x492fc5[_0x277e('0x2d')][_0x277e('0x1d')]);_0x3ab1f2['offset']=qs[_0x277e('0x1e')](_0x492fc5[_0x277e('0x2d')][_0x277e('0x1e')]);}return _0x238399[_0x277e('0x89')](_0x3ab1f2);}})[_0x277e('0x21')](function(_0x2e41c9){if(_0x2e41c9){return _0x2e41c9?{'count':_0x1223a6,'rows':_0x2e41c9}:null;}})[_0x277e('0x21')](respondWithResult(_0x4f6208,null))['catch'](handleError(_0x4f6208,null));};exports['addBlackLists']=function(_0x561c81,_0x372343,_0x76af48){var _0x30978c,_0x16abaa;var _0x5530bd=[];var _0x2508c1=moment()[_0x277e('0x62')](_0x277e('0x8a'));return db['Campaign'][_0x277e('0x40')]({'where':{'id':_0x561c81[_0x277e('0x4c')]['id']}})[_0x277e('0x21')](handleEntityNotFound(_0x372343,null))[_0x277e('0x21')](function(_0x4e766a){if(_0x4e766a){_0x16abaa=_0x4e766a;return _0x4e766a['addBlackLists'](_0x561c81[_0x277e('0x43')][_0x277e('0x63')],_[_0x277e('0x4d')](_0x561c81['body'],[_0x277e('0x63'),'id'])||{});}return null;})[_0x277e('0x8b')](function(_0x384bea){var _0x5007a4;var _0x4be8b1;_0x30978c=_0x384bea||[];var _0x46acbb=[];if(_0x384bea){for(var _0x8e4279=0x0;_0x8e4279<_0x384bea['length'];_0x8e4279+=0x1){var _0x359092=_0x384bea[_0x8e4279][_0x277e('0x44')]({'plain':!![]});_0x5007a4=squel[_0x277e('0x66')]()['into'](_0x277e('0x8c'))['fromQuery']([_0x277e('0x6a'),_0x277e('0x6c'),_0x277e('0x71'),_0x277e('0x5b'),_0x277e('0x4e'),_0x277e('0x4f')],squel[_0x277e('0x74')]()['field'](_0x277e('0x6a'),'phone')[_0x277e('0x6d')]('id',_0x277e('0x6c'))['field'](_0x359092['CmListId']['toString'](),_0x277e('0x71'))[_0x277e('0x6d')](_0x561c81[_0x277e('0x4c')]['id'][_0x277e('0x70')](),_0x277e('0x5b'))[_0x277e('0x6d')](_0x277e('0x6e'),_0x277e('0x4e'))[_0x277e('0x6d')]('NOW()',_0x277e('0x4f'))[_0x277e('0x78')]('cm_contacts')['where'](_0x277e('0x72'))[_0x277e('0x37')](_0x277e('0x7a'),_0x359092[_0x277e('0x6f')]['toString']())[_0x277e('0x37')](_0x277e('0x7b')))[_0x277e('0x70')]();_0x46acbb['push'](db[_0x277e('0x85')][_0x277e('0x2d')](_0x5007a4));}return BPromise[_0x277e('0x87')](_0x46acbb);}})[_0x277e('0x21')](function(){return _0x30978c;})['then'](respondWithResult(_0x372343,null))['catch'](handleError(_0x372343,null));};exports[_0x277e('0x8d')]=function(_0x338519,_0x1ef3e2,_0x4af233){return db['Campaign']['find']({'where':{'id':_0x338519['params']['id']}})[_0x277e('0x21')](handleEntityNotFound(_0x1ef3e2,null))[_0x277e('0x21')](function(_0x2e9a6a){if(_0x2e9a6a){return _0x2e9a6a[_0x277e('0x8d')](_0x338519[_0x277e('0x2d')][_0x277e('0x63')]);}})[_0x277e('0x21')](function(_0x259647){if(_0x259647){return db[_0x277e('0x5e')][_0x277e('0x22')]({'where':{'ListId':_0x338519[_0x277e('0x2d')][_0x277e('0x63')],'CampaignId':_0x338519[_0x277e('0x4c')]['id']}})[_0x277e('0x21')](function(){return _0x259647;});}})[_0x277e('0x21')](respondWithStatusCode(_0x1ef3e2,null))[_0x277e('0x41')](handleError(_0x1ef3e2,null));};
\ No newline at end of file
diff --git a/server/api/campaign/campaign.model.js b/server/api/campaign/campaign.model.js
index 4dab63b..7dbd8f1 100644
--- a/server/api/campaign/campaign.model.js
+++ b/server/api/campaign/campaign.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x9957=['exports','define','Campaign','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','./campaign.attributes'];(function(_0x51020b,_0x38c2c7){var _0x371e47=function(_0x2a538f){while(--_0x2a538f){_0x51020b['push'](_0x51020b['shift']());}};_0x371e47(++_0x38c2c7);}(_0x9957,0x93));var _0x7995=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x9957[_0x3b380d];return _0x54502b;};'use strict';var _=require(_0x7995('0x0'));var util=require(_0x7995('0x1'));var logger=require(_0x7995('0x2'))(_0x7995('0x3'));var moment=require('moment');var BPromise=require(_0x7995('0x4'));var rp=require(_0x7995('0x5'));var fs=require('fs');var path=require(_0x7995('0x6'));var rimraf=require(_0x7995('0x7'));var config=require('../../config/environment');var attributes=require(_0x7995('0x8'));module[_0x7995('0x9')]=function(_0x137b6b,_0x219534){return _0x137b6b[_0x7995('0xa')](_0x7995('0xb'),attributes,{'tableName':'campaigns','paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x9957=['exports','define','Campaign','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','./campaign.attributes'];(function(_0x12f688,_0x585c25){var _0x59c3de=function(_0x4ac301){while(--_0x4ac301){_0x12f688['push'](_0x12f688['shift']());}};_0x59c3de(++_0x585c25);}(_0x9957,0x93));var _0x7995=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x9957[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0x7995('0x0'));var util=require(_0x7995('0x1'));var logger=require(_0x7995('0x2'))(_0x7995('0x3'));var moment=require('moment');var BPromise=require(_0x7995('0x4'));var rp=require(_0x7995('0x5'));var fs=require('fs');var path=require(_0x7995('0x6'));var rimraf=require(_0x7995('0x7'));var config=require('../../config/environment');var attributes=require(_0x7995('0x8'));module[_0x7995('0x9')]=function(_0x137b6b,_0x219534){return _0x137b6b[_0x7995('0xa')](_0x7995('0xb'),attributes,{'tableName':'campaigns','paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/campaign/campaign.rpc.js b/server/api/campaign/campaign.rpc.js
index 8b01bbe..29cc5ea 100644
--- a/server/api/campaign/campaign.rpc.js
+++ b/server/api/campaign/campaign.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xaf1d=['../../config/logger','rpc','../../config/environment','jayson/promise','client','http','then','info','Campaign,\x20%s,\x20%s','debug','Campaign,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','Campaign','findAll','options','where','attributes','limit','include','map','model','GetCampaign','catch','lodash','util','moment','bluebird','ioredis','../../mysqldb'];(function(_0x5c38cd,_0x5a6b4e){var _0xc985ef=function(_0x4aa1df){while(--_0x4aa1df){_0x5c38cd['push'](_0x5c38cd['shift']());}};_0xc985ef(++_0x5a6b4e);}(_0xaf1d,0x9f));var _0xdaf1=function(_0x3dcc68,_0x313fc1){_0x3dcc68=_0x3dcc68-0x0;var _0x4b8b3e=_0xaf1d[_0x3dcc68];return _0x4b8b3e;};'use strict';var _=require(_0xdaf1('0x0'));var util=require(_0xdaf1('0x1'));var moment=require(_0xdaf1('0x2'));var BPromise=require(_0xdaf1('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xdaf1('0x4'));var db=require(_0xdaf1('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0xdaf1('0x6'))(_0xdaf1('0x7'));var config=require(_0xdaf1('0x8'));var jayson=require(_0xdaf1('0x9'));var client=jayson[_0xdaf1('0xa')][_0xdaf1('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x4d6c50,_0x54dc7a,_0x5ed9cd){return new BPromise(function(_0xfb18fc,_0x51a7e9){return client['request'](_0x4d6c50,_0x5ed9cd)[_0xdaf1('0xc')](function(_0x3219da){logger[_0xdaf1('0xd')](_0xdaf1('0xe'),_0x54dc7a,'request\x20sent');logger[_0xdaf1('0xf')](_0xdaf1('0x10'),_0x54dc7a,_0xdaf1('0x11'),JSON[_0xdaf1('0x12')](_0x3219da));if(_0x3219da[_0xdaf1('0x13')]){if(_0x3219da['error'][_0xdaf1('0x14')]===0x1f4){logger[_0xdaf1('0x13')](_0xdaf1('0xe'),_0x54dc7a,_0x3219da[_0xdaf1('0x13')][_0xdaf1('0x15')]);return _0x51a7e9(_0x3219da[_0xdaf1('0x13')][_0xdaf1('0x15')]);}logger[_0xdaf1('0x13')](_0xdaf1('0xe'),_0x54dc7a,_0x3219da[_0xdaf1('0x13')][_0xdaf1('0x15')]);return _0xfb18fc(_0x3219da[_0xdaf1('0x13')][_0xdaf1('0x15')]);}else{logger['info'](_0xdaf1('0xe'),_0x54dc7a,_0xdaf1('0x11'));_0xfb18fc(_0x3219da['result'][_0xdaf1('0x15')]);}})['catch'](function(_0x39d34b){logger[_0xdaf1('0x13')](_0xdaf1('0xe'),_0x54dc7a,_0x39d34b);_0x51a7e9(_0x39d34b);});});}exports['GetCampaign']=function(_0x1dd985){var _0x5a9101=this;return new Promise(function(_0x4896c1,_0x921cd7){return db[_0xdaf1('0x16')][_0xdaf1('0x17')]({'raw':_0x1dd985[_0xdaf1('0x18')]?_0x1dd985['options']['raw']===undefined?!![]:![]:!![],'where':_0x1dd985[_0xdaf1('0x18')]?_0x1dd985[_0xdaf1('0x18')][_0xdaf1('0x19')]||null:null,'attributes':_0x1dd985['options']?_0x1dd985[_0xdaf1('0x18')][_0xdaf1('0x1a')]||null:null,'limit':_0x1dd985[_0xdaf1('0x18')]?_0x1dd985[_0xdaf1('0x18')][_0xdaf1('0x1b')]||null:null,'include':_0x1dd985[_0xdaf1('0x18')]?_0x1dd985[_0xdaf1('0x18')][_0xdaf1('0x1c')]?_[_0xdaf1('0x1d')](_0x1dd985[_0xdaf1('0x18')]['include'],function(_0x1f97e4){return{'model':db[_0x1f97e4[_0xdaf1('0x1e')]],'as':_0x1f97e4['as'],'attributes':_0x1f97e4[_0xdaf1('0x1a')],'include':_0x1f97e4['include']?_['map'](_0x1f97e4['include'],function(_0x556bd8){return{'model':db[_0x556bd8[_0xdaf1('0x1e')]],'as':_0x556bd8['as'],'attributes':_0x556bd8[_0xdaf1('0x1a')],'include':_0x556bd8['include']?_[_0xdaf1('0x1d')](_0x556bd8[_0xdaf1('0x1c')],function(_0x3125d7){return{'model':db[_0x3125d7['model']],'as':_0x3125d7['as'],'attributes':_0x3125d7[_0xdaf1('0x1a')]};}):[]};}):[]};}):[]:[]})[_0xdaf1('0xc')](function(_0x54854e){logger[_0xdaf1('0xd')](_0xdaf1('0x1f'),_0x1dd985);logger[_0xdaf1('0xf')](_0xdaf1('0x1f'),_0x1dd985,JSON[_0xdaf1('0x12')](_0x54854e));_0x4896c1(_0x54854e);})[_0xdaf1('0x20')](function(_0x520500){logger[_0xdaf1('0x13')](_0xdaf1('0x1f'),_0x520500['message'],_0x1dd985);_0x921cd7(_0x5a9101['error'](0x1f4,_0x520500[_0xdaf1('0x15')]));});});};
\ No newline at end of file
+var _0x96a2=['jayson/promise','client','http','request','info','request\x20sent','debug','Campaign,\x20%s,\x20%s,\x20%s','stringify','error','Campaign,\x20%s,\x20%s','message','GetCampaign','findAll','options','where','attributes','limit','include','map','model','catch','lodash','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment'];(function(_0x149055,_0x42bd96){var _0x2862bf=function(_0x39a5dc){while(--_0x39a5dc){_0x149055['push'](_0x149055['shift']());}};_0x2862bf(++_0x42bd96);}(_0x96a2,0x96));var _0x296a=function(_0x4e7293,_0x54bffc){_0x4e7293=_0x4e7293-0x0;var _0x2a5ed7=_0x96a2[_0x4e7293];return _0x2a5ed7;};'use strict';var _=require(_0x296a('0x0'));var util=require('util');var moment=require(_0x296a('0x1'));var BPromise=require(_0x296a('0x2'));var rs=require(_0x296a('0x3'));var fs=require('fs');var Redis=require(_0x296a('0x4'));var db=require(_0x296a('0x5'))['db'];var utils=require(_0x296a('0x6'));var logger=require(_0x296a('0x7'))(_0x296a('0x8'));var config=require(_0x296a('0x9'));var jayson=require(_0x296a('0xa'));var client=jayson[_0x296a('0xb')][_0x296a('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x4eb919,_0x273b83,_0x3c3486){return new BPromise(function(_0x3a2b44,_0x17d4d2){return client[_0x296a('0xd')](_0x4eb919,_0x3c3486)['then'](function(_0x307644){logger[_0x296a('0xe')]('Campaign,\x20%s,\x20%s',_0x273b83,_0x296a('0xf'));logger[_0x296a('0x10')](_0x296a('0x11'),_0x273b83,_0x296a('0xf'),JSON[_0x296a('0x12')](_0x307644));if(_0x307644[_0x296a('0x13')]){if(_0x307644[_0x296a('0x13')]['code']===0x1f4){logger[_0x296a('0x13')](_0x296a('0x14'),_0x273b83,_0x307644[_0x296a('0x13')][_0x296a('0x15')]);return _0x17d4d2(_0x307644[_0x296a('0x13')]['message']);}logger[_0x296a('0x13')](_0x296a('0x14'),_0x273b83,_0x307644['error'][_0x296a('0x15')]);return _0x3a2b44(_0x307644[_0x296a('0x13')][_0x296a('0x15')]);}else{logger[_0x296a('0xe')](_0x296a('0x14'),_0x273b83,_0x296a('0xf'));_0x3a2b44(_0x307644['result'][_0x296a('0x15')]);}})['catch'](function(_0x55864e){logger['error'](_0x296a('0x14'),_0x273b83,_0x55864e);_0x17d4d2(_0x55864e);});});}exports[_0x296a('0x16')]=function(_0x2b82d6){var _0x55295f=this;return new Promise(function(_0x51ba98,_0x3e72fa){return db['Campaign'][_0x296a('0x17')]({'raw':_0x2b82d6[_0x296a('0x18')]?_0x2b82d6[_0x296a('0x18')]['raw']===undefined?!![]:![]:!![],'where':_0x2b82d6[_0x296a('0x18')]?_0x2b82d6[_0x296a('0x18')][_0x296a('0x19')]||null:null,'attributes':_0x2b82d6['options']?_0x2b82d6[_0x296a('0x18')][_0x296a('0x1a')]||null:null,'limit':_0x2b82d6['options']?_0x2b82d6['options'][_0x296a('0x1b')]||null:null,'include':_0x2b82d6[_0x296a('0x18')]?_0x2b82d6[_0x296a('0x18')][_0x296a('0x1c')]?_[_0x296a('0x1d')](_0x2b82d6[_0x296a('0x18')][_0x296a('0x1c')],function(_0x2cf007){return{'model':db[_0x2cf007[_0x296a('0x1e')]],'as':_0x2cf007['as'],'attributes':_0x2cf007[_0x296a('0x1a')],'include':_0x2cf007[_0x296a('0x1c')]?_[_0x296a('0x1d')](_0x2cf007[_0x296a('0x1c')],function(_0xf6b922){return{'model':db[_0xf6b922[_0x296a('0x1e')]],'as':_0xf6b922['as'],'attributes':_0xf6b922['attributes'],'include':_0xf6b922[_0x296a('0x1c')]?_[_0x296a('0x1d')](_0xf6b922['include'],function(_0x2c4bed){return{'model':db[_0x2c4bed[_0x296a('0x1e')]],'as':_0x2c4bed['as'],'attributes':_0x2c4bed[_0x296a('0x1a')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x24b280){logger[_0x296a('0xe')]('GetCampaign',_0x2b82d6);logger['debug'](_0x296a('0x16'),_0x2b82d6,JSON[_0x296a('0x12')](_0x24b280));_0x51ba98(_0x24b280);})[_0x296a('0x1f')](function(_0x583548){logger['error'](_0x296a('0x16'),_0x583548[_0x296a('0x15')],_0x2b82d6);_0x3e72fa(_0x55295f[_0x296a('0x13')](0x1f4,_0x583548[_0x296a('0x15')]));});});};
\ No newline at end of file
diff --git a/server/api/campaign/index.js b/server/api/campaign/index.js
index 3255bb7..f3b1b07 100644
--- a/server/api/campaign/index.js
+++ b/server/api/campaign/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x60cb=['get','isAuthenticated','index','/:id','show','/:id/hoppers','/:id/hopper_histories','getHopperFinals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','/:id/blacklists','getBlackLists','post','create','clone','addBlackLists','put','destroy','delete','removeLists','removeBlackLists','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x501ac6,_0x3230be){var _0x50bbea=function(_0x294243){while(--_0x294243){_0x501ac6['push'](_0x501ac6['shift']());}};_0x50bbea(++_0x3230be);}(_0x60cb,0xd8));var _0xb60c=function(_0x36e9e1,_0x2a2634){_0x36e9e1=_0x36e9e1-0x0;var _0x11565e=_0x60cb[_0x36e9e1];return _0x11565e;};'use strict';var multer=require('multer');var util=require(_0xb60c('0x0'));var path=require(_0xb60c('0x1'));var timeout=require('connect-timeout');var express=require(_0xb60c('0x2'));var router=express[_0xb60c('0x3')]();var fs_extra=require(_0xb60c('0x4'));var auth=require(_0xb60c('0x5'));var interaction=require(_0xb60c('0x6'));var config=require(_0xb60c('0x7'));var controller=require('./campaign.controller');router[_0xb60c('0x8')]('/',auth[_0xb60c('0x9')](),controller[_0xb60c('0xa')]);router[_0xb60c('0x8')](_0xb60c('0xb'),auth['isAuthenticated'](),controller[_0xb60c('0xc')]);router[_0xb60c('0x8')](_0xb60c('0xd'),auth['isAuthenticated'](),controller['getHoppers']);router[_0xb60c('0x8')](_0xb60c('0xe'),auth['isAuthenticated'](),controller['getHopperHistories']);router['get']('/:id/hopper_finals',auth[_0xb60c('0x9')](),controller[_0xb60c('0xf')]);router['get'](_0xb60c('0x10'),auth[_0xb60c('0x9')](),controller[_0xb60c('0x11')]);router[_0xb60c('0x8')](_0xb60c('0x12'),auth[_0xb60c('0x9')](),controller[_0xb60c('0x13')]);router[_0xb60c('0x8')](_0xb60c('0x14'),auth[_0xb60c('0x9')](),controller[_0xb60c('0x15')]);router[_0xb60c('0x16')]('/',auth[_0xb60c('0x9')](),controller[_0xb60c('0x17')]);router[_0xb60c('0x16')]('/:id/clone',auth[_0xb60c('0x9')](),controller[_0xb60c('0x18')]);router[_0xb60c('0x16')](_0xb60c('0x12'),auth[_0xb60c('0x9')](),controller['addLists']);router[_0xb60c('0x16')](_0xb60c('0x14'),auth[_0xb60c('0x9')](),controller[_0xb60c('0x19')]);router[_0xb60c('0x1a')](_0xb60c('0xb'),auth[_0xb60c('0x9')](),controller['update']);router['delete'](_0xb60c('0xb'),auth[_0xb60c('0x9')](),controller[_0xb60c('0x1b')]);router[_0xb60c('0x1c')](_0xb60c('0x12'),auth[_0xb60c('0x9')](),controller[_0xb60c('0x1d')]);router[_0xb60c('0x1c')](_0xb60c('0x14'),auth[_0xb60c('0x9')](),controller[_0xb60c('0x1e')]);module[_0xb60c('0x1f')]=router;
\ No newline at end of file
+var _0xcf84=['/:id/clone','addLists','/:id/blacklists','addBlackLists','put','update','delete','destroy','removeBlackLists','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./campaign.controller','get','isAuthenticated','/:id','/:id/hoppers','getHoppers','/:id/hopper_histories','getHopperHistories','getHopperFinals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','getBlackLists','create'];(function(_0x1bd7b7,_0x18e7c4){var _0x46a408=function(_0x447563){while(--_0x447563){_0x1bd7b7['push'](_0x1bd7b7['shift']());}};_0x46a408(++_0x18e7c4);}(_0xcf84,0x175));var _0x4cf8=function(_0x10f5ea,_0xeb348a){_0x10f5ea=_0x10f5ea-0x0;var _0x5c4f0f=_0xcf84[_0x10f5ea];return _0x5c4f0f;};'use strict';var multer=require(_0x4cf8('0x0'));var util=require(_0x4cf8('0x1'));var path=require(_0x4cf8('0x2'));var timeout=require(_0x4cf8('0x3'));var express=require(_0x4cf8('0x4'));var router=express[_0x4cf8('0x5')]();var fs_extra=require(_0x4cf8('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x4cf8('0x7'));var config=require('../../config/environment');var controller=require(_0x4cf8('0x8'));router[_0x4cf8('0x9')]('/',auth[_0x4cf8('0xa')](),controller['index']);router['get'](_0x4cf8('0xb'),auth[_0x4cf8('0xa')](),controller['show']);router[_0x4cf8('0x9')](_0x4cf8('0xc'),auth[_0x4cf8('0xa')](),controller[_0x4cf8('0xd')]);router[_0x4cf8('0x9')](_0x4cf8('0xe'),auth[_0x4cf8('0xa')](),controller[_0x4cf8('0xf')]);router[_0x4cf8('0x9')]('/:id/hopper_finals',auth[_0x4cf8('0xa')](),controller[_0x4cf8('0x10')]);router[_0x4cf8('0x9')](_0x4cf8('0x11'),auth[_0x4cf8('0xa')](),controller[_0x4cf8('0x12')]);router[_0x4cf8('0x9')](_0x4cf8('0x13'),auth[_0x4cf8('0xa')](),controller[_0x4cf8('0x14')]);router[_0x4cf8('0x9')]('/:id/blacklists',auth[_0x4cf8('0xa')](),controller[_0x4cf8('0x15')]);router['post']('/',auth['isAuthenticated'](),controller[_0x4cf8('0x16')]);router['post'](_0x4cf8('0x17'),auth[_0x4cf8('0xa')](),controller['clone']);router['post']('/:id/lists',auth[_0x4cf8('0xa')](),controller[_0x4cf8('0x18')]);router['post'](_0x4cf8('0x19'),auth[_0x4cf8('0xa')](),controller[_0x4cf8('0x1a')]);router[_0x4cf8('0x1b')](_0x4cf8('0xb'),auth['isAuthenticated'](),controller[_0x4cf8('0x1c')]);router[_0x4cf8('0x1d')](_0x4cf8('0xb'),auth['isAuthenticated'](),controller[_0x4cf8('0x1e')]);router['delete'](_0x4cf8('0x13'),auth[_0x4cf8('0xa')](),controller['removeLists']);router[_0x4cf8('0x1d')](_0x4cf8('0x19'),auth[_0x4cf8('0xa')](),controller[_0x4cf8('0x1f')]);module[_0x4cf8('0x20')]=router;
\ No newline at end of file
diff --git a/server/api/cannedAnswer/cannedAnswer.attributes.js b/server/api/cannedAnswer/cannedAnswer.attributes.js
index d3aef78..9528737 100644
--- a/server/api/cannedAnswer/cannedAnswer.attributes.js
+++ b/server/api/cannedAnswer/cannedAnswer.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x8824=['VIRTUAL','sequelize','exports','STRING','TEXT'];(function(_0x3c8d8a,_0x33c7aa){var _0xe34117=function(_0xa4ba9f){while(--_0xa4ba9f){_0x3c8d8a['push'](_0x3c8d8a['shift']());}};_0xe34117(++_0x33c7aa);}(_0x8824,0x1dc));var _0x4882=function(_0x43660e,_0x3ae6d5){_0x43660e=_0x43660e-0x0;var _0x5d7694=_0x8824[_0x43660e];return _0x5d7694;};'use strict';var Sequelize=require(_0x4882('0x0'));module[_0x4882('0x1')]={'key':{'type':Sequelize[_0x4882('0x2')],'allowNull':![]},'value':{'type':Sequelize[_0x4882('0x3')],'allowNull':![]},'description':{'type':Sequelize[_0x4882('0x2')]},'name':{'type':Sequelize[_0x4882('0x4')],'get':function(){return this['getDataValue']('key');}}};
\ No newline at end of file
+var _0xa7a2=['STRING','TEXT','VIRTUAL','getDataValue','key','sequelize'];(function(_0x382b53,_0x537ee3){var _0x4c5d13=function(_0x31c046){while(--_0x31c046){_0x382b53['push'](_0x382b53['shift']());}};_0x4c5d13(++_0x537ee3);}(_0xa7a2,0x1cd));var _0x2a7a=function(_0x3db13d,_0x36dbed){_0x3db13d=_0x3db13d-0x0;var _0x1734b4=_0xa7a2[_0x3db13d];return _0x1734b4;};'use strict';var Sequelize=require(_0x2a7a('0x0'));module['exports']={'key':{'type':Sequelize[_0x2a7a('0x1')],'allowNull':![]},'value':{'type':Sequelize[_0x2a7a('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0x2a7a('0x1')]},'name':{'type':Sequelize[_0x2a7a('0x3')],'get':function(){return this[_0x2a7a('0x4')](_0x2a7a('0x5'));}}};
\ No newline at end of file
diff --git a/server/api/cannedAnswer/cannedAnswer.controller.js b/server/api/cannedAnswer/cannedAnswer.controller.js
index faae270..b2595d2 100644
--- a/server/api/cannedAnswer/cannedAnswer.controller.js
+++ b/server/api/cannedAnswer/cannedAnswer.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x4564=['model','query','keys','filters','attributes','intersection','fields','length','nolimit','order','sort','where','pick','filter','merge','options','includeAll','include','CannedAnswer','findAll','rows','catch','show','params','find','body','create','MailAccountId','SmsAccountId','OpenchannelAccountId','ChatWebsiteId','The\x20inserted\x20key\x20already\x20exists.','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','CannedAnswers','userProfileId','autoAssociation','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','eml-format','rimraf','zip-dir','fast-json-patch','bluebird','mustache','sox','to-csv','ejs','fs-extra','lodash','crypto','jsforce','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../config/logger','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','end','json','offset','undefined','limit','count','status','set','reject','save','update','then','destroy','get','UserProfileResource','stack','name','send','index','map','rawAttributes','fieldName','key'];(function(_0x160393,_0x4e2ea7){var _0x39865d=function(_0x14362b){while(--_0x14362b){_0x160393['push'](_0x160393['shift']());}};_0x39865d(++_0x4e2ea7);}(_0x4564,0x7f));var _0x4456=function(_0x26f00a,_0xa08b3e){_0x26f00a=_0x26f00a-0x0;var _0x226a90=_0x4564[_0x26f00a];return _0x226a90;};'use strict';var emlformat=require(_0x4456('0x0'));var rimraf=require(_0x4456('0x1'));var zipdir=require(_0x4456('0x2'));var jsonpatch=require(_0x4456('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x4456('0x4'));var Mustache=require(_0x4456('0x5'));var util=require('util');var path=require('path');var sox=require(_0x4456('0x6'));var csv=require(_0x4456('0x7'));var ejs=require(_0x4456('0x8'));var fs=require('fs');var fs_extra=require(_0x4456('0x9'));var _=require(_0x4456('0xa'));var squel=require('squel');var crypto=require(_0x4456('0xb'));var jsforce=require(_0x4456('0xc'));var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0x4456('0xd'));var Papa=require(_0x4456('0xe'));var Redis=require('ioredis');var authService=require(_0x4456('0xf'));var qs=require(_0x4456('0x10'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0x4456('0x11'))('api');var utils=require('../../config/utils');var config=require(_0x4456('0x12'));var licenseUtil=require(_0x4456('0x13'));var db=require(_0x4456('0x14'))['db'];function respondWithStatusCode(_0x4557e8,_0x540392){_0x540392=_0x540392||0xcc;return function(_0x57849b){if(_0x57849b){return _0x4557e8[_0x4456('0x15')](_0x540392);}return _0x4557e8['status'](_0x540392)[_0x4456('0x16')]();};}function respondWithResult(_0x435bac,_0x484e02){_0x484e02=_0x484e02||0xc8;return function(_0x3a85cc){if(_0x3a85cc){return _0x435bac['status'](_0x484e02)[_0x4456('0x17')](_0x3a85cc);}};}function respondWithFilteredResult(_0x4a8eab,_0x59c40d){return function(_0x28d887){if(_0x28d887){var _0x120090=typeof _0x59c40d[_0x4456('0x18')]===_0x4456('0x19')&&typeof _0x59c40d[_0x4456('0x1a')]===_0x4456('0x19');var _0x3492fe=_0x28d887[_0x4456('0x1b')];var _0x358c9d=_0x120090?0x0:_0x59c40d[_0x4456('0x18')];var _0x2e4d38=_0x120090?_0x28d887['count']:_0x59c40d[_0x4456('0x18')]+_0x59c40d['limit'];var _0x1b2a0;if(_0x2e4d38>=_0x3492fe){_0x2e4d38=_0x3492fe;_0x1b2a0=0xc8;}else{_0x1b2a0=0xce;}_0x4a8eab[_0x4456('0x1c')](_0x1b2a0);return _0x4a8eab[_0x4456('0x1d')]('Content-Range',_0x358c9d+'-'+_0x2e4d38+'/'+_0x3492fe)[_0x4456('0x17')](_0x28d887);}return null;};}function patchUpdates(_0x3af32f){return function(_0x2a633a){try{jsonpatch['apply'](_0x2a633a,_0x3af32f,!![]);}catch(_0x5a9c14){return BPromise[_0x4456('0x1e')](_0x5a9c14);}return _0x2a633a[_0x4456('0x1f')]();};}function saveUpdates(_0xcf9d8a,_0x51bd40){return function(_0x22331a){if(_0x22331a){return _0x22331a[_0x4456('0x20')](_0xcf9d8a)[_0x4456('0x21')](function(_0x2a9cdd){return _0x2a9cdd;});}return null;};}function removeEntity(_0x40bc70,_0x26ed80){return function(_0x4d3879){if(_0x4d3879){return _0x4d3879[_0x4456('0x22')]()[_0x4456('0x21')](function(){var _0x45c6bc=_0x4d3879[_0x4456('0x23')]({'plain':!![]});var _0x5078a4='CannedAnswers';return db[_0x4456('0x24')][_0x4456('0x22')]({'where':{'type':_0x5078a4,'resourceId':_0x45c6bc['id']}})[_0x4456('0x21')](function(){return _0x4d3879;});})[_0x4456('0x21')](function(){_0x40bc70[_0x4456('0x1c')](0xcc)[_0x4456('0x16')]();});}};}function handleEntityNotFound(_0x46ecc0,_0x28899c){return function(_0x132ba6){if(!_0x132ba6){_0x46ecc0['sendStatus'](0x194);}return _0x132ba6;};}function handleError(_0x4948c4,_0x157825){_0x157825=_0x157825||0x1f4;return function(_0x26da97){logger['error'](_0x26da97[_0x4456('0x25')]);if(_0x26da97[_0x4456('0x26')]){delete _0x26da97['name'];}_0x4948c4[_0x4456('0x1c')](_0x157825)[_0x4456('0x27')](_0x26da97);};}exports[_0x4456('0x28')]=function(_0x550d51,_0x3938e5){var _0x16ab98={},_0x1f780b={},_0x3973bf={'count':0x0,'rows':[]};var _0x27ca1a=_[_0x4456('0x29')](db['CannedAnswer'][_0x4456('0x2a')],function(_0x5a24b1){return{'name':_0x5a24b1[_0x4456('0x2b')],'type':_0x5a24b1['type'][_0x4456('0x2c')]};});_0x1f780b[_0x4456('0x2d')]=_[_0x4456('0x29')](_0x27ca1a,'name');_0x1f780b[_0x4456('0x2e')]=_[_0x4456('0x2f')](_0x550d51['query']);_0x1f780b[_0x4456('0x30')]=_['intersection'](_0x1f780b[_0x4456('0x2d')],_0x1f780b[_0x4456('0x2e')]);_0x16ab98[_0x4456('0x31')]=_[_0x4456('0x32')](_0x1f780b[_0x4456('0x2d')],qs[_0x4456('0x33')](_0x550d51[_0x4456('0x2e')]['fields']));_0x16ab98['attributes']=_0x16ab98[_0x4456('0x31')][_0x4456('0x34')]?_0x16ab98[_0x4456('0x31')]:_0x1f780b[_0x4456('0x2d')];if(!_0x550d51[_0x4456('0x2e')]['hasOwnProperty'](_0x4456('0x35'))){_0x16ab98[_0x4456('0x1a')]=qs['limit'](_0x550d51[_0x4456('0x2e')][_0x4456('0x1a')]);_0x16ab98[_0x4456('0x18')]=qs['offset'](_0x550d51[_0x4456('0x2e')]['offset']);}_0x16ab98[_0x4456('0x36')]=qs[_0x4456('0x37')](_0x550d51[_0x4456('0x2e')][_0x4456('0x37')]);_0x16ab98[_0x4456('0x38')]=qs['filters'](_[_0x4456('0x39')](_0x550d51[_0x4456('0x2e')],_0x1f780b[_0x4456('0x30')]),_0x27ca1a);if(_0x550d51[_0x4456('0x2e')][_0x4456('0x3a')]){_0x16ab98['where']=_[_0x4456('0x3b')](_0x16ab98['where'],{'$or':[{'key':{'$like':'%'+_0x550d51['query'][_0x4456('0x3a')]+'%'}},{'value':{'$like':'%'+_0x550d51[_0x4456('0x2e')][_0x4456('0x3a')]+'%'}}]});}_0x16ab98=_[_0x4456('0x3b')]({},_0x16ab98,_0x550d51[_0x4456('0x3c')]);var _0x20ce83={'where':_0x16ab98[_0x4456('0x38')]};return db['CannedAnswer'][_0x4456('0x1b')](_0x20ce83)[_0x4456('0x21')](function(_0x505838){_0x3973bf['count']=_0x505838;if(_0x550d51[_0x4456('0x2e')][_0x4456('0x3d')]){_0x16ab98[_0x4456('0x3e')]=[{'all':!![]}];}return db[_0x4456('0x3f')][_0x4456('0x40')](_0x16ab98);})['then'](function(_0x885b0){_0x3973bf[_0x4456('0x41')]=_0x885b0;return _0x3973bf;})['then'](respondWithFilteredResult(_0x3938e5,_0x16ab98))[_0x4456('0x42')](handleError(_0x3938e5,null));};exports[_0x4456('0x43')]=function(_0x67e766,_0x5b35d0){var _0x528b1c={'raw':!![],'where':{'id':_0x67e766[_0x4456('0x44')]['id']}},_0x258cf6={};_0x258cf6[_0x4456('0x2d')]=_[_0x4456('0x2f')](db[_0x4456('0x3f')][_0x4456('0x2a')]);_0x258cf6[_0x4456('0x2e')]=_[_0x4456('0x2f')](_0x67e766[_0x4456('0x2e')]);_0x258cf6['filters']=_[_0x4456('0x32')](_0x258cf6[_0x4456('0x2d')],_0x258cf6[_0x4456('0x2e')]);_0x528b1c[_0x4456('0x31')]=_[_0x4456('0x32')](_0x258cf6[_0x4456('0x2d')],qs[_0x4456('0x33')](_0x67e766[_0x4456('0x2e')]['fields']));_0x528b1c[_0x4456('0x31')]=_0x528b1c['attributes'][_0x4456('0x34')]?_0x528b1c[_0x4456('0x31')]:_0x258cf6['model'];if(_0x67e766[_0x4456('0x2e')][_0x4456('0x3d')]){_0x528b1c[_0x4456('0x3e')]=[{'all':!![]}];}_0x528b1c=_[_0x4456('0x3b')]({},_0x528b1c,_0x67e766[_0x4456('0x3c')]);return db[_0x4456('0x3f')][_0x4456('0x45')](_0x528b1c)['then'](handleEntityNotFound(_0x5b35d0,null))[_0x4456('0x21')](respondWithResult(_0x5b35d0,null))[_0x4456('0x42')](handleError(_0x5b35d0,null));};exports[_0x4456('0x20')]=function(_0x41c8f4,_0x332b3b){if(_0x41c8f4['body']['id']){delete _0x41c8f4[_0x4456('0x46')]['id'];}return db[_0x4456('0x3f')]['find']({'where':{'id':_0x41c8f4[_0x4456('0x44')]['id']}})['then'](handleEntityNotFound(_0x332b3b,null))['then'](saveUpdates(_0x41c8f4[_0x4456('0x46')],null))[_0x4456('0x21')](respondWithResult(_0x332b3b,null))[_0x4456('0x42')](handleError(_0x332b3b,null));};exports[_0x4456('0x22')]=function(_0x279dde,_0x3b3054){return db[_0x4456('0x3f')]['find']({'where':{'id':_0x279dde[_0x4456('0x44')]['id']}})[_0x4456('0x21')](handleEntityNotFound(_0x3b3054,null))['then'](removeEntity(_0x3b3054,null))[_0x4456('0x42')](handleError(_0x3b3054,null));};exports[_0x4456('0x47')]=function(_0x2d15a2,_0x26af4c){var _0x1cba3b={'key':_0x2d15a2[_0x4456('0x46')][_0x4456('0x2c')]};if(_0x2d15a2[_0x4456('0x46')][_0x4456('0x48')]){_0x1cba3b[_0x4456('0x48')]=_0x2d15a2[_0x4456('0x46')][_0x4456('0x48')];}else if(_0x2d15a2['body'][_0x4456('0x49')]){_0x1cba3b[_0x4456('0x49')]=_0x2d15a2[_0x4456('0x46')][_0x4456('0x49')];}else if(_0x2d15a2[_0x4456('0x46')][_0x4456('0x4a')]){_0x1cba3b[_0x4456('0x4a')]=_0x2d15a2[_0x4456('0x46')][_0x4456('0x4a')];}else if(_0x2d15a2['body'][_0x4456('0x4b')]){_0x1cba3b[_0x4456('0x4b')]=_0x2d15a2[_0x4456('0x46')][_0x4456('0x4b')];}return db[_0x4456('0x3f')][_0x4456('0x45')]({'where':_0x1cba3b})[_0x4456('0x21')](function(_0x5c2ffe){if(_0x5c2ffe){throw new db['Sequelize']['ValidationError'](_0x4456('0x4c'));}return db[_0x4456('0x3f')][_0x4456('0x47')](_0x2d15a2[_0x4456('0x46')]);})[_0x4456('0x21')](function(_0x44bf2e){var _0x502c0d=_0x2d15a2[_0x4456('0x4d')][_0x4456('0x23')]({'plain':!![]});if(!_0x502c0d)throw new Error(_0x4456('0x4e'));if(_0x502c0d[_0x4456('0x4f')]===_0x4456('0x4d')){var _0x22c978=_0x44bf2e[_0x4456('0x23')]({'plain':!![]});return db[_0x4456('0x50')]['find']({'where':{'name':_0x4456('0x51'),'userProfileId':_0x502c0d[_0x4456('0x52')]},'raw':!![]})[_0x4456('0x21')](function(_0x52929e){if(_0x52929e&&_0x52929e[_0x4456('0x53')]===0x0){return db[_0x4456('0x24')][_0x4456('0x47')]({'name':_0x22c978[_0x4456('0x26')],'resourceId':_0x22c978['id'],'type':_0x52929e[_0x4456('0x26')],'sectionId':_0x52929e['id']},{})[_0x4456('0x21')](function(){return _0x44bf2e;});}else{return _0x44bf2e;}})[_0x4456('0x42')](function(_0x55777d){logger[_0x4456('0x54')](_0x4456('0x55'),_0x55777d);throw _0x55777d;});}return _0x44bf2e;})[_0x4456('0x21')](respondWithResult(_0x26af4c,0xc9))[_0x4456('0x42')](handleError(_0x26af4c,null));};
\ No newline at end of file
+var _0x07f7=['../../config/license/util','end','json','offset','undefined','limit','count','status','Content-Range','save','update','then','destroy','CannedAnswers','UserProfileResource','error','stack','send','index','map','CannedAnswer','rawAttributes','fieldName','type','key','model','query','keys','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','order','where','pick','merge','filter','include','rows','catch','params','includeAll','find','body','create','MailAccountId','SmsAccountId','OpenchannelAccountId','ChatWebsiteId','Sequelize','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','get','UserProfileSection','userProfileId','autoAssociation','name','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','path','sox','to-csv','lodash','squel','crypto','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x07f7,0xe8));var _0x707f=function(_0x401a4d,_0x4bb835){_0x401a4d=_0x401a4d-0x0;var _0x1faaff=_0x07f7[_0x401a4d];return _0x1faaff;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x707f('0x0'));var zipdir=require(_0x707f('0x1'));var jsonpatch=require(_0x707f('0x2'));var rp=require(_0x707f('0x3'));var moment=require('moment');var BPromise=require(_0x707f('0x4'));var Mustache=require(_0x707f('0x5'));var util=require(_0x707f('0x6'));var path=require(_0x707f('0x7'));var sox=require(_0x707f('0x8'));var csv=require(_0x707f('0x9'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x707f('0xa'));var squel=require(_0x707f('0xb'));var crypto=require(_0x707f('0xc'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0x707f('0x9'));var querystring=require(_0x707f('0xd'));var Papa=require(_0x707f('0xe'));var Redis=require(_0x707f('0xf'));var authService=require(_0x707f('0x10'));var qs=require(_0x707f('0x11'));var as=require(_0x707f('0x12'));var hardwareService=require(_0x707f('0x13'));var logger=require(_0x707f('0x14'))(_0x707f('0x15'));var utils=require(_0x707f('0x16'));var config=require('../../config/environment');var licenseUtil=require(_0x707f('0x17'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x4b1ecc,_0x3bd0dd){_0x3bd0dd=_0x3bd0dd||0xcc;return function(_0x5d8935){if(_0x5d8935){return _0x4b1ecc['sendStatus'](_0x3bd0dd);}return _0x4b1ecc['status'](_0x3bd0dd)[_0x707f('0x18')]();};}function respondWithResult(_0x596d99,_0x162508){_0x162508=_0x162508||0xc8;return function(_0x25f73b){if(_0x25f73b){return _0x596d99['status'](_0x162508)[_0x707f('0x19')](_0x25f73b);}};}function respondWithFilteredResult(_0x46547f,_0x3fc8b1){return function(_0x5545ba){if(_0x5545ba){var _0x36ae06=typeof _0x3fc8b1[_0x707f('0x1a')]===_0x707f('0x1b')&&typeof _0x3fc8b1[_0x707f('0x1c')]===_0x707f('0x1b');var _0x47671b=_0x5545ba[_0x707f('0x1d')];var _0x42b162=_0x36ae06?0x0:_0x3fc8b1['offset'];var _0x184d96=_0x36ae06?_0x5545ba['count']:_0x3fc8b1[_0x707f('0x1a')]+_0x3fc8b1['limit'];var _0x337084;if(_0x184d96>=_0x47671b){_0x184d96=_0x47671b;_0x337084=0xc8;}else{_0x337084=0xce;}_0x46547f[_0x707f('0x1e')](_0x337084);return _0x46547f['set'](_0x707f('0x1f'),_0x42b162+'-'+_0x184d96+'/'+_0x47671b)['json'](_0x5545ba);}return null;};}function patchUpdates(_0xef0ee1){return function(_0x897991){try{jsonpatch['apply'](_0x897991,_0xef0ee1,!![]);}catch(_0x42a54d){return BPromise['reject'](_0x42a54d);}return _0x897991[_0x707f('0x20')]();};}function saveUpdates(_0x2ef77c,_0x31fdc1){return function(_0x3276f4){if(_0x3276f4){return _0x3276f4[_0x707f('0x21')](_0x2ef77c)[_0x707f('0x22')](function(_0x313e58){return _0x313e58;});}return null;};}function removeEntity(_0x4737fe,_0x31d273){return function(_0x16ee1f){if(_0x16ee1f){return _0x16ee1f[_0x707f('0x23')]()[_0x707f('0x22')](function(){var _0x3bea95=_0x16ee1f['get']({'plain':!![]});var _0x2e8f0a=_0x707f('0x24');return db[_0x707f('0x25')][_0x707f('0x23')]({'where':{'type':_0x2e8f0a,'resourceId':_0x3bea95['id']}})[_0x707f('0x22')](function(){return _0x16ee1f;});})['then'](function(){_0x4737fe['status'](0xcc)[_0x707f('0x18')]();});}};}function handleEntityNotFound(_0x16ff49,_0x4f6fb0){return function(_0x3d6657){if(!_0x3d6657){_0x16ff49['sendStatus'](0x194);}return _0x3d6657;};}function handleError(_0x4797e9,_0x30c9ee){_0x30c9ee=_0x30c9ee||0x1f4;return function(_0xc85d8b){logger[_0x707f('0x26')](_0xc85d8b[_0x707f('0x27')]);if(_0xc85d8b['name']){delete _0xc85d8b['name'];}_0x4797e9[_0x707f('0x1e')](_0x30c9ee)[_0x707f('0x28')](_0xc85d8b);};}exports[_0x707f('0x29')]=function(_0x22211e,_0xb472d2){var _0x5b68c7={},_0x43c6cd={},_0x258936={'count':0x0,'rows':[]};var _0x4ef159=_[_0x707f('0x2a')](db[_0x707f('0x2b')][_0x707f('0x2c')],function(_0x1c0a34){return{'name':_0x1c0a34[_0x707f('0x2d')],'type':_0x1c0a34[_0x707f('0x2e')][_0x707f('0x2f')]};});_0x43c6cd[_0x707f('0x30')]=_[_0x707f('0x2a')](_0x4ef159,'name');_0x43c6cd[_0x707f('0x31')]=_[_0x707f('0x32')](_0x22211e[_0x707f('0x31')]);_0x43c6cd[_0x707f('0x33')]=_['intersection'](_0x43c6cd[_0x707f('0x30')],_0x43c6cd['query']);_0x5b68c7[_0x707f('0x34')]=_[_0x707f('0x35')](_0x43c6cd['model'],qs[_0x707f('0x36')](_0x22211e['query'][_0x707f('0x36')]));_0x5b68c7['attributes']=_0x5b68c7['attributes'][_0x707f('0x37')]?_0x5b68c7[_0x707f('0x34')]:_0x43c6cd[_0x707f('0x30')];if(!_0x22211e['query'][_0x707f('0x38')](_0x707f('0x39'))){_0x5b68c7['limit']=qs['limit'](_0x22211e[_0x707f('0x31')][_0x707f('0x1c')]);_0x5b68c7['offset']=qs[_0x707f('0x1a')](_0x22211e[_0x707f('0x31')]['offset']);}_0x5b68c7[_0x707f('0x3a')]=qs['sort'](_0x22211e[_0x707f('0x31')]['sort']);_0x5b68c7[_0x707f('0x3b')]=qs[_0x707f('0x33')](_[_0x707f('0x3c')](_0x22211e[_0x707f('0x31')],_0x43c6cd[_0x707f('0x33')]),_0x4ef159);if(_0x22211e['query']['filter']){_0x5b68c7[_0x707f('0x3b')]=_[_0x707f('0x3d')](_0x5b68c7[_0x707f('0x3b')],{'$or':[{'key':{'$like':'%'+_0x22211e['query'][_0x707f('0x3e')]+'%'}},{'value':{'$like':'%'+_0x22211e[_0x707f('0x31')]['filter']+'%'}}]});}_0x5b68c7=_['merge']({},_0x5b68c7,_0x22211e['options']);var _0x20432b={'where':_0x5b68c7['where']};return db[_0x707f('0x2b')][_0x707f('0x1d')](_0x20432b)['then'](function(_0x536ddd){_0x258936['count']=_0x536ddd;if(_0x22211e[_0x707f('0x31')]['includeAll']){_0x5b68c7[_0x707f('0x3f')]=[{'all':!![]}];}return db[_0x707f('0x2b')]['findAll'](_0x5b68c7);})[_0x707f('0x22')](function(_0x9e8894){_0x258936[_0x707f('0x40')]=_0x9e8894;return _0x258936;})[_0x707f('0x22')](respondWithFilteredResult(_0xb472d2,_0x5b68c7))[_0x707f('0x41')](handleError(_0xb472d2,null));};exports['show']=function(_0x3e8218,_0x2d50f4){var _0x3d7694={'raw':!![],'where':{'id':_0x3e8218[_0x707f('0x42')]['id']}},_0xb51985={};_0xb51985[_0x707f('0x30')]=_[_0x707f('0x32')](db[_0x707f('0x2b')][_0x707f('0x2c')]);_0xb51985[_0x707f('0x31')]=_[_0x707f('0x32')](_0x3e8218['query']);_0xb51985[_0x707f('0x33')]=_[_0x707f('0x35')](_0xb51985[_0x707f('0x30')],_0xb51985[_0x707f('0x31')]);_0x3d7694[_0x707f('0x34')]=_[_0x707f('0x35')](_0xb51985[_0x707f('0x30')],qs[_0x707f('0x36')](_0x3e8218[_0x707f('0x31')][_0x707f('0x36')]));_0x3d7694[_0x707f('0x34')]=_0x3d7694[_0x707f('0x34')][_0x707f('0x37')]?_0x3d7694[_0x707f('0x34')]:_0xb51985[_0x707f('0x30')];if(_0x3e8218[_0x707f('0x31')][_0x707f('0x43')]){_0x3d7694[_0x707f('0x3f')]=[{'all':!![]}];}_0x3d7694=_[_0x707f('0x3d')]({},_0x3d7694,_0x3e8218['options']);return db[_0x707f('0x2b')][_0x707f('0x44')](_0x3d7694)['then'](handleEntityNotFound(_0x2d50f4,null))[_0x707f('0x22')](respondWithResult(_0x2d50f4,null))[_0x707f('0x41')](handleError(_0x2d50f4,null));};exports['update']=function(_0x59fb67,_0x53b5ef){if(_0x59fb67['body']['id']){delete _0x59fb67['body']['id'];}return db['CannedAnswer'][_0x707f('0x44')]({'where':{'id':_0x59fb67[_0x707f('0x42')]['id']}})[_0x707f('0x22')](handleEntityNotFound(_0x53b5ef,null))['then'](saveUpdates(_0x59fb67[_0x707f('0x45')],null))[_0x707f('0x22')](respondWithResult(_0x53b5ef,null))[_0x707f('0x41')](handleError(_0x53b5ef,null));};exports[_0x707f('0x23')]=function(_0x523cfe,_0x51a1ac){return db['CannedAnswer']['find']({'where':{'id':_0x523cfe[_0x707f('0x42')]['id']}})['then'](handleEntityNotFound(_0x51a1ac,null))['then'](removeEntity(_0x51a1ac,null))['catch'](handleError(_0x51a1ac,null));};exports[_0x707f('0x46')]=function(_0x84fefe,_0x360412){var _0x6cd4f2={'key':_0x84fefe[_0x707f('0x45')][_0x707f('0x2f')]};if(_0x84fefe['body'][_0x707f('0x47')]){_0x6cd4f2[_0x707f('0x47')]=_0x84fefe[_0x707f('0x45')][_0x707f('0x47')];}else if(_0x84fefe[_0x707f('0x45')][_0x707f('0x48')]){_0x6cd4f2[_0x707f('0x48')]=_0x84fefe[_0x707f('0x45')][_0x707f('0x48')];}else if(_0x84fefe[_0x707f('0x45')][_0x707f('0x49')]){_0x6cd4f2[_0x707f('0x49')]=_0x84fefe[_0x707f('0x45')][_0x707f('0x49')];}else if(_0x84fefe['body'][_0x707f('0x4a')]){_0x6cd4f2[_0x707f('0x4a')]=_0x84fefe[_0x707f('0x45')][_0x707f('0x4a')];}return db[_0x707f('0x2b')][_0x707f('0x44')]({'where':_0x6cd4f2})['then'](function(_0x122431){if(_0x122431){throw new db[(_0x707f('0x4b'))]['ValidationError']('The\x20inserted\x20key\x20already\x20exists.');}return db['CannedAnswer'][_0x707f('0x46')](_0x84fefe[_0x707f('0x45')]);})[_0x707f('0x22')](function(_0x4a7f41){var _0x4b4bea=_0x84fefe[_0x707f('0x4c')]['get']({'plain':!![]});if(!_0x4b4bea)throw new Error(_0x707f('0x4d'));if(_0x4b4bea[_0x707f('0x4e')]==='user'){var _0x39db84=_0x4a7f41[_0x707f('0x4f')]({'plain':!![]});return db[_0x707f('0x50')][_0x707f('0x44')]({'where':{'name':_0x707f('0x24'),'userProfileId':_0x4b4bea[_0x707f('0x51')]},'raw':!![]})[_0x707f('0x22')](function(_0x5e55f1){if(_0x5e55f1&&_0x5e55f1[_0x707f('0x52')]===0x0){return db[_0x707f('0x25')][_0x707f('0x46')]({'name':_0x39db84['name'],'resourceId':_0x39db84['id'],'type':_0x5e55f1[_0x707f('0x53')],'sectionId':_0x5e55f1['id']},{})['then'](function(){return _0x4a7f41;});}else{return _0x4a7f41;}})['catch'](function(_0x12e4e4){logger['error'](_0x707f('0x54'),_0x12e4e4);throw _0x12e4e4;});}return _0x4a7f41;})[_0x707f('0x22')](respondWithResult(_0x360412,0xc9))[_0x707f('0x41')](handleError(_0x360412,null));};
\ No newline at end of file
diff --git a/server/api/cannedAnswer/cannedAnswer.model.js b/server/api/cannedAnswer/cannedAnswer.model.js
index 6b14a96..e4465fb 100644
--- a/server/api/cannedAnswer/cannedAnswer.model.js
+++ b/server/api/cannedAnswer/cannedAnswer.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xaf02=['define','tools_canned_answers','utf8mb4','utf8mb4_unicode_ci','lodash','util','api','moment','request-promise','path','rimraf','../../config/environment','./cannedAnswer.attributes','exports'];(function(_0x47a40b,_0x443ecf){var _0x19610c=function(_0x4b8ce1){while(--_0x4b8ce1){_0x47a40b['push'](_0x47a40b['shift']());}};_0x19610c(++_0x443ecf);}(_0xaf02,0x90));var _0x2af0=function(_0x403477,_0x30b501){_0x403477=_0x403477-0x0;var _0x131dbc=_0xaf02[_0x403477];return _0x131dbc;};'use strict';var _=require(_0x2af0('0x0'));var util=require(_0x2af0('0x1'));var logger=require('../../config/logger')(_0x2af0('0x2'));var moment=require(_0x2af0('0x3'));var BPromise=require('bluebird');var rp=require(_0x2af0('0x4'));var fs=require('fs');var path=require(_0x2af0('0x5'));var rimraf=require(_0x2af0('0x6'));var config=require(_0x2af0('0x7'));var attributes=require(_0x2af0('0x8'));module[_0x2af0('0x9')]=function(_0xcc9f70,_0x51d368){return _0xcc9f70[_0x2af0('0xa')]('CannedAnswer',attributes,{'tableName':_0x2af0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x2af0('0xc'),'collate':_0x2af0('0xd')});};
\ No newline at end of file
+var _0xf816=['util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','exports','CannedAnswer','tools_canned_answers','utf8mb4','utf8mb4_unicode_ci','lodash'];(function(_0x2f71f6,_0x3a1f4d){var _0x2b23ea=function(_0x285980){while(--_0x285980){_0x2f71f6['push'](_0x2f71f6['shift']());}};_0x2b23ea(++_0x3a1f4d);}(_0xf816,0x11d));var _0x6f81=function(_0x2dd94b,_0x5524c3){_0x2dd94b=_0x2dd94b-0x0;var _0x4f02fd=_0xf816[_0x2dd94b];return _0x4f02fd;};'use strict';var _=require(_0x6f81('0x0'));var util=require(_0x6f81('0x1'));var logger=require(_0x6f81('0x2'))(_0x6f81('0x3'));var moment=require('moment');var BPromise=require(_0x6f81('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6f81('0x5'));var rimraf=require(_0x6f81('0x6'));var config=require(_0x6f81('0x7'));var attributes=require('./cannedAnswer.attributes');module[_0x6f81('0x8')]=function(_0x4350ba,_0x292b4d){return _0x4350ba['define'](_0x6f81('0x9'),attributes,{'tableName':_0x6f81('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x6f81('0xb'),'collate':_0x6f81('0xc')});};
\ No newline at end of file
diff --git a/server/api/cannedAnswer/cannedAnswer.rpc.js b/server/api/cannedAnswer/cannedAnswer.rpc.js
index 96dc13b..1b834ae 100644
--- a/server/api/cannedAnswer/cannedAnswer.rpc.js
+++ b/server/api/cannedAnswer/cannedAnswer.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xa9e0=['http','info','CannedAnswer,\x20%s,\x20%s','request\x20sent','debug','CannedAnswer,\x20%s,\x20%s,\x20%s','code','error','message','result','catch','lodash','util','moment','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise'];(function(_0x5442fe,_0x467816){var _0x1783e9=function(_0x184fb8){while(--_0x184fb8){_0x5442fe['push'](_0x5442fe['shift']());}};_0x1783e9(++_0x467816);}(_0xa9e0,0x123));var _0x0a9e=function(_0x31e29a,_0x349c9b){_0x31e29a=_0x31e29a-0x0;var _0x32d892=_0xa9e0[_0x31e29a];return _0x32d892;};'use strict';var _=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var moment=require(_0x0a9e('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x0a9e('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x0a9e('0x4'));var logger=require(_0x0a9e('0x5'))(_0x0a9e('0x6'));var config=require(_0x0a9e('0x7'));var jayson=require(_0x0a9e('0x8'));var client=jayson['client'][_0x0a9e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x441e3a,_0x2cc193,_0x5f41ea){return new BPromise(function(_0x503809,_0xe42b77){return client['request'](_0x441e3a,_0x5f41ea)['then'](function(_0x39753a){logger[_0x0a9e('0xa')](_0x0a9e('0xb'),_0x2cc193,_0x0a9e('0xc'));logger[_0x0a9e('0xd')](_0x0a9e('0xe'),_0x2cc193,'request\x20sent',JSON['stringify'](_0x39753a));if(_0x39753a['error']){if(_0x39753a['error'][_0x0a9e('0xf')]===0x1f4){logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0xe42b77(_0x39753a[_0x0a9e('0x10')]['message']);}logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0x503809(_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);}else{logger['info'](_0x0a9e('0xb'),_0x2cc193,'request\x20sent');_0x503809(_0x39753a[_0x0a9e('0x12')]['message']);}})[_0x0a9e('0x13')](function(_0x12066b){logger['error'](_0x0a9e('0xb'),_0x2cc193,_0x12066b);_0xe42b77(_0x12066b);});});}
\ No newline at end of file
+var _0xa9e0=['http','info','CannedAnswer,\x20%s,\x20%s','request\x20sent','debug','CannedAnswer,\x20%s,\x20%s,\x20%s','code','error','message','result','catch','lodash','util','moment','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise'];(function(_0x12a030,_0xb7a27f){var _0xcb6d8a=function(_0x8fabfd){while(--_0x8fabfd){_0x12a030['push'](_0x12a030['shift']());}};_0xcb6d8a(++_0xb7a27f);}(_0xa9e0,0x123));var _0x0a9e=function(_0x25bea7,_0x49ab45){_0x25bea7=_0x25bea7-0x0;var _0x175952=_0xa9e0[_0x25bea7];return _0x175952;};'use strict';var _=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var moment=require(_0x0a9e('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x0a9e('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x0a9e('0x4'));var logger=require(_0x0a9e('0x5'))(_0x0a9e('0x6'));var config=require(_0x0a9e('0x7'));var jayson=require(_0x0a9e('0x8'));var client=jayson['client'][_0x0a9e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x441e3a,_0x2cc193,_0x5f41ea){return new BPromise(function(_0x503809,_0xe42b77){return client['request'](_0x441e3a,_0x5f41ea)['then'](function(_0x39753a){logger[_0x0a9e('0xa')](_0x0a9e('0xb'),_0x2cc193,_0x0a9e('0xc'));logger[_0x0a9e('0xd')](_0x0a9e('0xe'),_0x2cc193,'request\x20sent',JSON['stringify'](_0x39753a));if(_0x39753a['error']){if(_0x39753a['error'][_0x0a9e('0xf')]===0x1f4){logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0xe42b77(_0x39753a[_0x0a9e('0x10')]['message']);}logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0x503809(_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);}else{logger['info'](_0x0a9e('0xb'),_0x2cc193,'request\x20sent');_0x503809(_0x39753a[_0x0a9e('0x12')]['message']);}})[_0x0a9e('0x13')](function(_0x12066b){logger['error'](_0x0a9e('0xb'),_0x2cc193,_0x12066b);_0xe42b77(_0x12066b);});});}
\ No newline at end of file
diff --git a/server/api/cannedAnswer/index.js b/server/api/cannedAnswer/index.js
index 3734495..9827c8c 100644
--- a/server/api/cannedAnswer/index.js
+++ b/server/api/cannedAnswer/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xc625=['util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cannedAnswer.controller','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','multer'];(function(_0x17d9e3,_0x1f969c){var _0x14192d=function(_0x159745){while(--_0x159745){_0x17d9e3['push'](_0x17d9e3['shift']());}};_0x14192d(++_0x1f969c);}(_0xc625,0x18f));var _0x5c62=function(_0x36884e,_0x48008f){_0x36884e=_0x36884e-0x0;var _0x1cc367=_0xc625[_0x36884e];return _0x1cc367;};'use strict';var multer=require(_0x5c62('0x0'));var util=require(_0x5c62('0x1'));var path=require('path');var timeout=require(_0x5c62('0x2'));var express=require(_0x5c62('0x3'));var router=express['Router']();var fs_extra=require(_0x5c62('0x4'));var auth=require(_0x5c62('0x5'));var interaction=require(_0x5c62('0x6'));var config=require(_0x5c62('0x7'));var controller=require(_0x5c62('0x8'));router[_0x5c62('0x9')]('/',auth[_0x5c62('0xa')](),controller['index']);router[_0x5c62('0x9')](_0x5c62('0xb'),auth['isAuthenticated'](),controller[_0x5c62('0xc')]);router[_0x5c62('0xd')]('/',auth[_0x5c62('0xa')](),controller[_0x5c62('0xe')]);router[_0x5c62('0xf')](_0x5c62('0xb'),auth[_0x5c62('0xa')](),controller[_0x5c62('0x10')]);router[_0x5c62('0x11')](_0x5c62('0xb'),auth['isAuthenticated'](),controller[_0x5c62('0x12')]);module[_0x5c62('0x13')]=router;
\ No newline at end of file
+var _0x93a6=['exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','post','create','put','delete','destroy'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x93a6,0x1dc));var _0x693a=function(_0x3bfe11,_0x573678){_0x3bfe11=_0x3bfe11-0x0;var _0x19f6b2=_0x93a6[_0x3bfe11];return _0x19f6b2;};'use strict';var multer=require('multer');var util=require(_0x693a('0x0'));var path=require(_0x693a('0x1'));var timeout=require(_0x693a('0x2'));var express=require(_0x693a('0x3'));var router=express['Router']();var fs_extra=require(_0x693a('0x4'));var auth=require(_0x693a('0x5'));var interaction=require(_0x693a('0x6'));var config=require(_0x693a('0x7'));var controller=require('./cannedAnswer.controller');router[_0x693a('0x8')]('/',auth[_0x693a('0x9')](),controller[_0x693a('0xa')]);router[_0x693a('0x8')](_0x693a('0xb'),auth[_0x693a('0x9')](),controller[_0x693a('0xc')]);router[_0x693a('0xd')]('/',auth[_0x693a('0x9')](),controller[_0x693a('0xe')]);router[_0x693a('0xf')]('/:id',auth[_0x693a('0x9')](),controller['update']);router[_0x693a('0x10')](_0x693a('0xb'),auth[_0x693a('0x9')](),controller[_0x693a('0x11')]);module[_0x693a('0x12')]=router;
\ No newline at end of file
diff --git a/server/api/cdr/cdr.attributes.js b/server/api/cdr/cdr.attributes.js
index 1567937..52a24a8 100644
--- a/server/api/cdr/cdr.attributes.js
+++ b/server/api/cdr/cdr.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x5f86=['exports','STRING','INTEGER'];(function(_0x3dc4da,_0x2a1bf){var _0x27e23a=function(_0x3b7693){while(--_0x3b7693){_0x3dc4da['push'](_0x3dc4da['shift']());}};_0x27e23a(++_0x2a1bf);}(_0x5f86,0x81));var _0x65f8=function(_0x1fbeaa,_0x40ced6){_0x1fbeaa=_0x1fbeaa-0x0;var _0x1bdaee=_0x5f86[_0x1fbeaa];return _0x1bdaee;};'use strict';var Sequelize=require('sequelize');module[_0x65f8('0x0')]={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':'1970-01-01\x2000:00:01'},'clid':{'type':Sequelize[_0x65f8('0x1')]},'src':{'type':Sequelize[_0x65f8('0x1')]},'dst':{'type':Sequelize[_0x65f8('0x1')]},'dcontext':{'type':Sequelize[_0x65f8('0x1')]},'channel':{'type':Sequelize[_0x65f8('0x1')]},'dstchannel':{'type':Sequelize[_0x65f8('0x1')]},'lastapp':{'type':Sequelize[_0x65f8('0x1')]},'lastdata':{'type':Sequelize[_0x65f8('0x1')]},'duration':{'type':Sequelize[_0x65f8('0x2')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x65f8('0x2')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x65f8('0x1')]},'amaflags':{'type':Sequelize[_0x65f8('0x2')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x65f8('0x1')]},'userfield':{'type':Sequelize[_0x65f8('0x1')]},'uniqueid':{'type':Sequelize[_0x65f8('0x1')]},'linkedid':{'type':Sequelize[_0x65f8('0x1')]},'sequence':{'type':Sequelize[_0x65f8('0x1')]},'peeraccount':{'type':Sequelize[_0x65f8('0x1')]},'type':{'type':Sequelize[_0x65f8('0x1')]},'tag':{'type':Sequelize['STRING']}};
\ No newline at end of file
+var _0x0911=['exports','DATE','1970-01-01\x2000:00:01','STRING','INTEGER','sequelize'];(function(_0x307f39,_0x4cbe4b){var _0x15fa1b=function(_0x26e358){while(--_0x26e358){_0x307f39['push'](_0x307f39['shift']());}};_0x15fa1b(++_0x4cbe4b);}(_0x0911,0x1a9));var _0x1091=function(_0x435b2f,_0x4c44da){_0x435b2f=_0x435b2f-0x0;var _0x181648=_0x0911[_0x435b2f];return _0x181648;};'use strict';var Sequelize=require(_0x1091('0x0'));module[_0x1091('0x1')]={'calldate':{'type':Sequelize[_0x1091('0x2')],'allowNull':![],'defaultValue':_0x1091('0x3')},'clid':{'type':Sequelize[_0x1091('0x4')]},'src':{'type':Sequelize['STRING']},'dst':{'type':Sequelize[_0x1091('0x4')]},'dcontext':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0x1091('0x4')]},'dstchannel':{'type':Sequelize[_0x1091('0x4')]},'lastapp':{'type':Sequelize[_0x1091('0x4')]},'lastdata':{'type':Sequelize[_0x1091('0x4')]},'duration':{'type':Sequelize[_0x1091('0x5')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x1091('0x5')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x1091('0x4')]},'amaflags':{'type':Sequelize[_0x1091('0x5')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x1091('0x4')]},'userfield':{'type':Sequelize[_0x1091('0x4')]},'uniqueid':{'type':Sequelize['STRING']},'linkedid':{'type':Sequelize[_0x1091('0x4')]},'sequence':{'type':Sequelize[_0x1091('0x4')]},'peeraccount':{'type':Sequelize[_0x1091('0x4')]},'type':{'type':Sequelize[_0x1091('0x4')]},'tag':{'type':Sequelize[_0x1091('0x4')]}};
\ No newline at end of file
diff --git a/server/api/cdr/cdr.controller.js b/server/api/cdr/cdr.controller.js
index 27d8c49..e329344 100644
--- a/server/api/cdr/cdr.controller.js
+++ b/server/api/cdr/cdr.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x24ca=['../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','status','end','json','limit','undefined','count','offset','set','apply','reject','save','update','then','destroy','sendStatus','error','stack','name','index','map','rawAttributes','fieldName','key','query','filters','intersection','model','fields','attributes','length','nolimit','order','sort','where','filter','merge','VIRTUAL','Cdr','includeAll','findAll','catch','show','params','keys','include','options','find','create','body','describe','eml-format','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','path','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','desk.js','querystring','ioredis'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0x24ca,0x1bc));var _0xa24c=function(_0x21549c,_0x6d64d1){_0x21549c=_0x21549c-0x0;var _0x426cbd=_0x24ca[_0x21549c];return _0x426cbd;};'use strict';var emlformat=require(_0xa24c('0x0'));var rimraf=require('rimraf');var zipdir=require(_0xa24c('0x1'));var jsonpatch=require(_0xa24c('0x2'));var rp=require(_0xa24c('0x3'));var moment=require('moment');var BPromise=require(_0xa24c('0x4'));var Mustache=require(_0xa24c('0x5'));var util=require(_0xa24c('0x6'));var path=require(_0xa24c('0x7'));var sox=require(_0xa24c('0x8'));var csv=require(_0xa24c('0x9'));var ejs=require(_0xa24c('0xa'));var fs=require('fs');var fs_extra=require(_0xa24c('0xb'));var _=require(_0xa24c('0xc'));var squel=require(_0xa24c('0xd'));var crypto=require(_0xa24c('0xe'));var jsforce=require('jsforce');var deskjs=require(_0xa24c('0xf'));var toCsv=require(_0xa24c('0x9'));var querystring=require(_0xa24c('0x10'));var Papa=require('papaparse');var Redis=require(_0xa24c('0x11'));var authService=require(_0xa24c('0x12'));var qs=require(_0xa24c('0x13'));var as=require(_0xa24c('0x14'));var hardwareService=require(_0xa24c('0x15'));var logger=require(_0xa24c('0x16'))(_0xa24c('0x17'));var utils=require(_0xa24c('0x18'));var config=require(_0xa24c('0x19'));var licenseUtil=require('../../config/license/util');var db=require(_0xa24c('0x1a'))['db'];function respondWithStatusCode(_0x11090c,_0xcee4fe){_0xcee4fe=_0xcee4fe||0xcc;return function(_0x2c2af8){if(_0x2c2af8){return _0x11090c['sendStatus'](_0xcee4fe);}return _0x11090c[_0xa24c('0x1b')](_0xcee4fe)[_0xa24c('0x1c')]();};}function respondWithResult(_0x26ff28,_0x2fcd8b){_0x2fcd8b=_0x2fcd8b||0xc8;return function(_0x1cb08e){if(_0x1cb08e){return _0x26ff28[_0xa24c('0x1b')](_0x2fcd8b)[_0xa24c('0x1d')](_0x1cb08e);}};}function respondWithFilteredResult(_0x5d4727,_0x47a063){return function(_0xb80781){if(_0xb80781){var _0x87aa90=typeof _0x47a063['offset']==='undefined'&&typeof _0x47a063[_0xa24c('0x1e')]===_0xa24c('0x1f');var _0x5c479e=_0xb80781[_0xa24c('0x20')];var _0x5de3e6=_0x87aa90?0x0:_0x47a063[_0xa24c('0x21')];var _0x2a610a=_0x87aa90?_0xb80781[_0xa24c('0x20')]:_0x47a063[_0xa24c('0x21')]+_0x47a063['limit'];var _0x16d363;if(_0x2a610a>=_0x5c479e){_0x2a610a=_0x5c479e;_0x16d363=0xc8;}else{_0x16d363=0xce;}_0x5d4727[_0xa24c('0x1b')](_0x16d363);return _0x5d4727[_0xa24c('0x22')]('Content-Range',_0x5de3e6+'-'+_0x2a610a+'/'+_0x5c479e)['json'](_0xb80781);}return null;};}function patchUpdates(_0x506424){return function(_0x4cd77e){try{jsonpatch[_0xa24c('0x23')](_0x4cd77e,_0x506424,!![]);}catch(_0x174b69){return BPromise[_0xa24c('0x24')](_0x174b69);}return _0x4cd77e[_0xa24c('0x25')]();};}function saveUpdates(_0x51a275,_0x30ec21){return function(_0x5f299e){if(_0x5f299e){return _0x5f299e[_0xa24c('0x26')](_0x51a275)[_0xa24c('0x27')](function(_0x4a1cda){return _0x4a1cda;});}return null;};}function removeEntity(_0x346ee8,_0x363d52){return function(_0x43a0c0){if(_0x43a0c0){return _0x43a0c0[_0xa24c('0x28')]()[_0xa24c('0x27')](function(){_0x346ee8['status'](0xcc)[_0xa24c('0x1c')]();});}};}function handleEntityNotFound(_0x5cc9cb,_0x2365f9){return function(_0x3951ae){if(!_0x3951ae){_0x5cc9cb[_0xa24c('0x29')](0x194);}return _0x3951ae;};}function handleError(_0x51dc3f,_0x1beb55){_0x1beb55=_0x1beb55||0x1f4;return function(_0x31c4d9){logger[_0xa24c('0x2a')](_0x31c4d9[_0xa24c('0x2b')]);if(_0x31c4d9[_0xa24c('0x2c')]){delete _0x31c4d9[_0xa24c('0x2c')];}_0x51dc3f[_0xa24c('0x1b')](_0x1beb55)['send'](_0x31c4d9);};}exports[_0xa24c('0x2d')]=function(_0x28675f,_0x152120){var _0x12dbdc={},_0x5e491e={},_0x21d2a8={'count':0x0,'rows':[]};var _0xc96ce7=_[_0xa24c('0x2e')](db['Cdr'][_0xa24c('0x2f')],function(_0x3dcb1b){return{'name':_0x3dcb1b[_0xa24c('0x30')],'type':_0x3dcb1b['type'][_0xa24c('0x31')]};});_0x5e491e['model']=_[_0xa24c('0x2e')](_0xc96ce7,_0xa24c('0x2c'));_0x5e491e[_0xa24c('0x32')]=_['keys'](_0x28675f[_0xa24c('0x32')]);_0x5e491e[_0xa24c('0x33')]=_[_0xa24c('0x34')](_0x5e491e['model'],_0x5e491e[_0xa24c('0x32')]);_0x12dbdc['attributes']=_[_0xa24c('0x34')](_0x5e491e[_0xa24c('0x35')],qs['fields'](_0x28675f['query'][_0xa24c('0x36')]));_0x12dbdc[_0xa24c('0x37')]=_0x12dbdc[_0xa24c('0x37')][_0xa24c('0x38')]?_0x12dbdc[_0xa24c('0x37')]:_0x5e491e[_0xa24c('0x35')];if(!_0x28675f[_0xa24c('0x32')]['hasOwnProperty'](_0xa24c('0x39'))){_0x12dbdc[_0xa24c('0x1e')]=qs[_0xa24c('0x1e')](_0x28675f[_0xa24c('0x32')][_0xa24c('0x1e')]);_0x12dbdc[_0xa24c('0x21')]=qs[_0xa24c('0x21')](_0x28675f[_0xa24c('0x32')][_0xa24c('0x21')]);}_0x12dbdc[_0xa24c('0x3a')]=qs['sort'](_0x28675f[_0xa24c('0x32')][_0xa24c('0x3b')]);_0x12dbdc[_0xa24c('0x3c')]=qs[_0xa24c('0x33')](_['pick'](_0x28675f['query'],_0x5e491e[_0xa24c('0x33')]),_0xc96ce7);if(_0x28675f['query'][_0xa24c('0x3d')]){_0x12dbdc[_0xa24c('0x3c')]=_[_0xa24c('0x3e')](_0x12dbdc[_0xa24c('0x3c')],{'$or':_[_0xa24c('0x2e')](_0xc96ce7,function(_0x4c0fb9){if(_0x4c0fb9['type']!==_0xa24c('0x3f')){var _0xc661c7={};_0xc661c7[_0x4c0fb9[_0xa24c('0x2c')]]={'$like':'%'+_0x28675f[_0xa24c('0x32')][_0xa24c('0x3d')]+'%'};return _0xc661c7;}})});}_0x12dbdc=_[_0xa24c('0x3e')]({},_0x12dbdc,_0x28675f['options']);var _0x56f392={'where':_0x12dbdc[_0xa24c('0x3c')]};return db[_0xa24c('0x40')][_0xa24c('0x20')](_0x56f392)[_0xa24c('0x27')](function(_0x43beff){_0x21d2a8['count']=_0x43beff;if(_0x28675f[_0xa24c('0x32')][_0xa24c('0x41')]){_0x12dbdc['include']=[{'all':!![]}];}return db['Cdr'][_0xa24c('0x42')](_0x12dbdc);})[_0xa24c('0x27')](function(_0x231eea){_0x21d2a8['rows']=_0x231eea;return _0x21d2a8;})['then'](respondWithFilteredResult(_0x152120,_0x12dbdc))[_0xa24c('0x43')](handleError(_0x152120,null));};exports[_0xa24c('0x44')]=function(_0x31048c,_0x3ccc37){var _0x3f640e={'raw':!![],'where':{'id':_0x31048c[_0xa24c('0x45')]['id']}},_0x1b7faf={};_0x1b7faf[_0xa24c('0x35')]=_['keys'](db['Cdr'][_0xa24c('0x2f')]);_0x1b7faf[_0xa24c('0x32')]=_[_0xa24c('0x46')](_0x31048c['query']);_0x1b7faf[_0xa24c('0x33')]=_[_0xa24c('0x34')](_0x1b7faf[_0xa24c('0x35')],_0x1b7faf[_0xa24c('0x32')]);_0x3f640e[_0xa24c('0x37')]=_[_0xa24c('0x34')](_0x1b7faf[_0xa24c('0x35')],qs[_0xa24c('0x36')](_0x31048c[_0xa24c('0x32')][_0xa24c('0x36')]));_0x3f640e['attributes']=_0x3f640e[_0xa24c('0x37')][_0xa24c('0x38')]?_0x3f640e[_0xa24c('0x37')]:_0x1b7faf['model'];if(_0x31048c[_0xa24c('0x32')][_0xa24c('0x41')]){_0x3f640e[_0xa24c('0x47')]=[{'all':!![]}];}_0x3f640e=_[_0xa24c('0x3e')]({},_0x3f640e,_0x31048c[_0xa24c('0x48')]);return db[_0xa24c('0x40')][_0xa24c('0x49')](_0x3f640e)[_0xa24c('0x27')](handleEntityNotFound(_0x3ccc37,null))[_0xa24c('0x27')](respondWithResult(_0x3ccc37,null))[_0xa24c('0x43')](handleError(_0x3ccc37,null));};exports[_0xa24c('0x4a')]=function(_0x54dc72,_0x29a84d){return db[_0xa24c('0x40')][_0xa24c('0x4a')](_0x54dc72[_0xa24c('0x4b')],{})[_0xa24c('0x27')](respondWithResult(_0x29a84d,0xc9))[_0xa24c('0x43')](handleError(_0x29a84d,null));};exports[_0xa24c('0x26')]=function(_0x2250b9,_0x184179){if(_0x2250b9['body']['id']){delete _0x2250b9['body']['id'];}return db[_0xa24c('0x40')]['find']({'where':{'id':_0x2250b9[_0xa24c('0x45')]['id']}})[_0xa24c('0x27')](handleEntityNotFound(_0x184179,null))['then'](saveUpdates(_0x2250b9[_0xa24c('0x4b')],null))[_0xa24c('0x27')](respondWithResult(_0x184179,null))[_0xa24c('0x43')](handleError(_0x184179,null));};exports['destroy']=function(_0x55978e,_0x87347c){return db['Cdr'][_0xa24c('0x49')]({'where':{'id':_0x55978e[_0xa24c('0x45')]['id']}})[_0xa24c('0x27')](handleEntityNotFound(_0x87347c,null))[_0xa24c('0x27')](removeEntity(_0x87347c,null))[_0xa24c('0x43')](handleError(_0x87347c,null));};exports[_0xa24c('0x4c')]=function(_0x3f3ce6,_0x286d57){return db[_0xa24c('0x40')][_0xa24c('0x4c')]()['then'](respondWithResult(_0x286d57,null))[_0xa24c('0x43')](handleError(_0x286d57,null));};
\ No newline at end of file
+var _0x126e=['../../config/license/hardware','api','../../config/environment','../../mysqldb','sendStatus','status','end','json','offset','undefined','limit','count','Content-Range','apply','reject','save','update','then','destroy','error','stack','name','index','Cdr','rawAttributes','type','model','map','keys','query','filters','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','filter','merge','options','include','show','params','intersection','find','catch','create','body','describe','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','ejs','fs-extra','lodash','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/advancedSearch'];(function(_0x4350aa,_0x3cca8){var _0x55dc32=function(_0x56c4be){while(--_0x56c4be){_0x4350aa['push'](_0x4350aa['shift']());}};_0x55dc32(++_0x3cca8);}(_0x126e,0x108));var _0xe126=function(_0x5bd426,_0x4878e5){_0x5bd426=_0x5bd426-0x0;var _0x23a7eb=_0x126e[_0x5bd426];return _0x23a7eb;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0xe126('0x0'));var zipdir=require(_0xe126('0x1'));var jsonpatch=require(_0xe126('0x2'));var rp=require(_0xe126('0x3'));var moment=require(_0xe126('0x4'));var BPromise=require(_0xe126('0x5'));var Mustache=require('mustache');var util=require(_0xe126('0x6'));var path=require(_0xe126('0x7'));var sox=require(_0xe126('0x8'));var csv=require(_0xe126('0x9'));var ejs=require(_0xe126('0xa'));var fs=require('fs');var fs_extra=require(_0xe126('0xb'));var _=require(_0xe126('0xc'));var squel=require('squel');var crypto=require(_0xe126('0xd'));var jsforce=require(_0xe126('0xe'));var deskjs=require(_0xe126('0xf'));var toCsv=require(_0xe126('0x9'));var querystring=require(_0xe126('0x10'));var Papa=require('papaparse');var Redis=require(_0xe126('0x11'));var authService=require(_0xe126('0x12'));var qs=require('../../components/parsers/qs');var as=require(_0xe126('0x13'));var hardwareService=require(_0xe126('0x14'));var logger=require('../../config/logger')(_0xe126('0x15'));var utils=require('../../config/utils');var config=require(_0xe126('0x16'));var licenseUtil=require('../../config/license/util');var db=require(_0xe126('0x17'))['db'];function respondWithStatusCode(_0x34ae06,_0x23ff02){_0x23ff02=_0x23ff02||0xcc;return function(_0x38b8c3){if(_0x38b8c3){return _0x34ae06[_0xe126('0x18')](_0x23ff02);}return _0x34ae06[_0xe126('0x19')](_0x23ff02)[_0xe126('0x1a')]();};}function respondWithResult(_0x55f10a,_0xd55baf){_0xd55baf=_0xd55baf||0xc8;return function(_0x1c02c9){if(_0x1c02c9){return _0x55f10a['status'](_0xd55baf)[_0xe126('0x1b')](_0x1c02c9);}};}function respondWithFilteredResult(_0x28d7dd,_0x10bc24){return function(_0x38b0c0){if(_0x38b0c0){var _0x5e52d1=typeof _0x10bc24[_0xe126('0x1c')]===_0xe126('0x1d')&&typeof _0x10bc24[_0xe126('0x1e')]==='undefined';var _0x2b0baa=_0x38b0c0['count'];var _0x46c98a=_0x5e52d1?0x0:_0x10bc24[_0xe126('0x1c')];var _0x19b0a3=_0x5e52d1?_0x38b0c0[_0xe126('0x1f')]:_0x10bc24[_0xe126('0x1c')]+_0x10bc24[_0xe126('0x1e')];var _0x20874b;if(_0x19b0a3>=_0x2b0baa){_0x19b0a3=_0x2b0baa;_0x20874b=0xc8;}else{_0x20874b=0xce;}_0x28d7dd[_0xe126('0x19')](_0x20874b);return _0x28d7dd['set'](_0xe126('0x20'),_0x46c98a+'-'+_0x19b0a3+'/'+_0x2b0baa)[_0xe126('0x1b')](_0x38b0c0);}return null;};}function patchUpdates(_0x35ab64){return function(_0x2e5617){try{jsonpatch[_0xe126('0x21')](_0x2e5617,_0x35ab64,!![]);}catch(_0x24076e){return BPromise[_0xe126('0x22')](_0x24076e);}return _0x2e5617[_0xe126('0x23')]();};}function saveUpdates(_0x5257bc,_0x4a1a97){return function(_0xdb6544){if(_0xdb6544){return _0xdb6544[_0xe126('0x24')](_0x5257bc)[_0xe126('0x25')](function(_0x5f1ce1){return _0x5f1ce1;});}return null;};}function removeEntity(_0x5381e1,_0x47f179){return function(_0x4807d3){if(_0x4807d3){return _0x4807d3[_0xe126('0x26')]()['then'](function(){_0x5381e1[_0xe126('0x19')](0xcc)[_0xe126('0x1a')]();});}};}function handleEntityNotFound(_0x4157ed,_0x1674c9){return function(_0x532409){if(!_0x532409){_0x4157ed['sendStatus'](0x194);}return _0x532409;};}function handleError(_0x26482f,_0x4facea){_0x4facea=_0x4facea||0x1f4;return function(_0x3f5de5){logger[_0xe126('0x27')](_0x3f5de5[_0xe126('0x28')]);if(_0x3f5de5['name']){delete _0x3f5de5[_0xe126('0x29')];}_0x26482f[_0xe126('0x19')](_0x4facea)['send'](_0x3f5de5);};}exports[_0xe126('0x2a')]=function(_0x259059,_0x5a8b2a){var _0x9d9e28={},_0x1fb354={},_0x29dec4={'count':0x0,'rows':[]};var _0x181ccc=_['map'](db[_0xe126('0x2b')][_0xe126('0x2c')],function(_0x5e7bab){return{'name':_0x5e7bab['fieldName'],'type':_0x5e7bab[_0xe126('0x2d')]['key']};});_0x1fb354[_0xe126('0x2e')]=_[_0xe126('0x2f')](_0x181ccc,_0xe126('0x29'));_0x1fb354['query']=_[_0xe126('0x30')](_0x259059[_0xe126('0x31')]);_0x1fb354[_0xe126('0x32')]=_['intersection'](_0x1fb354[_0xe126('0x2e')],_0x1fb354[_0xe126('0x31')]);_0x9d9e28['attributes']=_['intersection'](_0x1fb354[_0xe126('0x2e')],qs[_0xe126('0x33')](_0x259059[_0xe126('0x31')][_0xe126('0x33')]));_0x9d9e28[_0xe126('0x34')]=_0x9d9e28[_0xe126('0x34')][_0xe126('0x35')]?_0x9d9e28[_0xe126('0x34')]:_0x1fb354['model'];if(!_0x259059[_0xe126('0x31')][_0xe126('0x36')](_0xe126('0x37'))){_0x9d9e28[_0xe126('0x1e')]=qs[_0xe126('0x1e')](_0x259059[_0xe126('0x31')]['limit']);_0x9d9e28[_0xe126('0x1c')]=qs[_0xe126('0x1c')](_0x259059[_0xe126('0x31')][_0xe126('0x1c')]);}_0x9d9e28[_0xe126('0x38')]=qs['sort'](_0x259059[_0xe126('0x31')][_0xe126('0x39')]);_0x9d9e28[_0xe126('0x3a')]=qs[_0xe126('0x32')](_['pick'](_0x259059[_0xe126('0x31')],_0x1fb354[_0xe126('0x32')]),_0x181ccc);if(_0x259059[_0xe126('0x31')][_0xe126('0x3b')]){_0x9d9e28[_0xe126('0x3a')]=_[_0xe126('0x3c')](_0x9d9e28['where'],{'$or':_[_0xe126('0x2f')](_0x181ccc,function(_0x1a8edf){if(_0x1a8edf[_0xe126('0x2d')]!=='VIRTUAL'){var _0x5073bc={};_0x5073bc[_0x1a8edf[_0xe126('0x29')]]={'$like':'%'+_0x259059[_0xe126('0x31')][_0xe126('0x3b')]+'%'};return _0x5073bc;}})});}_0x9d9e28=_[_0xe126('0x3c')]({},_0x9d9e28,_0x259059[_0xe126('0x3d')]);var _0x1c128d={'where':_0x9d9e28['where']};return db[_0xe126('0x2b')][_0xe126('0x1f')](_0x1c128d)['then'](function(_0x4eb3d7){_0x29dec4[_0xe126('0x1f')]=_0x4eb3d7;if(_0x259059[_0xe126('0x31')]['includeAll']){_0x9d9e28[_0xe126('0x3e')]=[{'all':!![]}];}return db[_0xe126('0x2b')]['findAll'](_0x9d9e28);})[_0xe126('0x25')](function(_0x366754){_0x29dec4['rows']=_0x366754;return _0x29dec4;})[_0xe126('0x25')](respondWithFilteredResult(_0x5a8b2a,_0x9d9e28))['catch'](handleError(_0x5a8b2a,null));};exports[_0xe126('0x3f')]=function(_0x23d1d8,_0x5d5111){var _0x3613de={'raw':!![],'where':{'id':_0x23d1d8[_0xe126('0x40')]['id']}},_0x149b84={};_0x149b84['model']=_[_0xe126('0x30')](db['Cdr'][_0xe126('0x2c')]);_0x149b84[_0xe126('0x31')]=_[_0xe126('0x30')](_0x23d1d8[_0xe126('0x31')]);_0x149b84[_0xe126('0x32')]=_[_0xe126('0x41')](_0x149b84[_0xe126('0x2e')],_0x149b84[_0xe126('0x31')]);_0x3613de[_0xe126('0x34')]=_[_0xe126('0x41')](_0x149b84[_0xe126('0x2e')],qs['fields'](_0x23d1d8['query'][_0xe126('0x33')]));_0x3613de[_0xe126('0x34')]=_0x3613de['attributes'][_0xe126('0x35')]?_0x3613de[_0xe126('0x34')]:_0x149b84[_0xe126('0x2e')];if(_0x23d1d8[_0xe126('0x31')]['includeAll']){_0x3613de[_0xe126('0x3e')]=[{'all':!![]}];}_0x3613de=_[_0xe126('0x3c')]({},_0x3613de,_0x23d1d8[_0xe126('0x3d')]);return db[_0xe126('0x2b')][_0xe126('0x42')](_0x3613de)[_0xe126('0x25')](handleEntityNotFound(_0x5d5111,null))[_0xe126('0x25')](respondWithResult(_0x5d5111,null))[_0xe126('0x43')](handleError(_0x5d5111,null));};exports[_0xe126('0x44')]=function(_0xccc25d,_0x23007d){return db[_0xe126('0x2b')][_0xe126('0x44')](_0xccc25d['body'],{})['then'](respondWithResult(_0x23007d,0xc9))['catch'](handleError(_0x23007d,null));};exports['update']=function(_0xe642ae,_0x8d5abd){if(_0xe642ae[_0xe126('0x45')]['id']){delete _0xe642ae[_0xe126('0x45')]['id'];}return db[_0xe126('0x2b')][_0xe126('0x42')]({'where':{'id':_0xe642ae[_0xe126('0x40')]['id']}})['then'](handleEntityNotFound(_0x8d5abd,null))['then'](saveUpdates(_0xe642ae[_0xe126('0x45')],null))[_0xe126('0x25')](respondWithResult(_0x8d5abd,null))['catch'](handleError(_0x8d5abd,null));};exports[_0xe126('0x26')]=function(_0x209002,_0x518e43){return db[_0xe126('0x2b')][_0xe126('0x42')]({'where':{'id':_0x209002['params']['id']}})['then'](handleEntityNotFound(_0x518e43,null))[_0xe126('0x25')](removeEntity(_0x518e43,null))[_0xe126('0x43')](handleError(_0x518e43,null));};exports[_0xe126('0x46')]=function(_0x48fbed,_0x31e193){return db['Cdr'][_0xe126('0x46')]()[_0xe126('0x25')](respondWithResult(_0x31e193,null))['catch'](handleError(_0x31e193,null));};
\ No newline at end of file
diff --git a/server/api/cdr/cdr.model.js b/server/api/cdr/cdr.model.js
index 38e0e15..bbabc0c 100644
--- a/server/api/cdr/cdr.model.js
+++ b/server/api/cdr/cdr.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x7a54=['Cdr','cdr','accountcode','disposition','dst','src','uniqueid','lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./cdr.attributes','exports'];(function(_0xf8867e,_0x262a87){var _0x437aef=function(_0x183276){while(--_0x183276){_0xf8867e['push'](_0xf8867e['shift']());}};_0x437aef(++_0x262a87);}(_0x7a54,0x106));var _0x47a5=function(_0x28c59e,_0xd471b6){_0x28c59e=_0x28c59e-0x0;var _0x3daba3=_0x7a54[_0x28c59e];return _0x3daba3;};'use strict';var _=require(_0x47a5('0x0'));var util=require(_0x47a5('0x1'));var logger=require(_0x47a5('0x2'))('api');var moment=require(_0x47a5('0x3'));var BPromise=require(_0x47a5('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x47a5('0x5'));var rimraf=require(_0x47a5('0x6'));var config=require(_0x47a5('0x7'));var attributes=require(_0x47a5('0x8'));module[_0x47a5('0x9')]=function(_0x545a97,_0x3d5629){return _0x545a97['define'](_0x47a5('0xa'),attributes,{'tableName':_0x47a5('0xb'),'paranoid':![],'indexes':[{'name':'accountcode','fields':[_0x47a5('0xc')]},{'name':'calldate','fields':['calldate']},{'name':'disposition','fields':[_0x47a5('0xd')]},{'name':_0x47a5('0xe'),'fields':['dst']},{'name':_0x47a5('0xf'),'fields':['src']},{'name':'uniqueid','fields':[_0x47a5('0x10')]}],'timestamps':![]});};
\ No newline at end of file
+var _0x7a54=['Cdr','cdr','accountcode','disposition','dst','src','uniqueid','lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./cdr.attributes','exports'];(function(_0x26d3db,_0x216e3b){var _0x36ee83=function(_0x554814){while(--_0x554814){_0x26d3db['push'](_0x26d3db['shift']());}};_0x36ee83(++_0x216e3b);}(_0x7a54,0x106));var _0x47a5=function(_0x18d97e,_0x6e3c6f){_0x18d97e=_0x18d97e-0x0;var _0xef55fc=_0x7a54[_0x18d97e];return _0xef55fc;};'use strict';var _=require(_0x47a5('0x0'));var util=require(_0x47a5('0x1'));var logger=require(_0x47a5('0x2'))('api');var moment=require(_0x47a5('0x3'));var BPromise=require(_0x47a5('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x47a5('0x5'));var rimraf=require(_0x47a5('0x6'));var config=require(_0x47a5('0x7'));var attributes=require(_0x47a5('0x8'));module[_0x47a5('0x9')]=function(_0x545a97,_0x3d5629){return _0x545a97['define'](_0x47a5('0xa'),attributes,{'tableName':_0x47a5('0xb'),'paranoid':![],'indexes':[{'name':'accountcode','fields':[_0x47a5('0xc')]},{'name':'calldate','fields':['calldate']},{'name':'disposition','fields':[_0x47a5('0xd')]},{'name':_0x47a5('0xe'),'fields':['dst']},{'name':_0x47a5('0xf'),'fields':['src']},{'name':'uniqueid','fields':[_0x47a5('0x10')]}],'timestamps':![]});};
\ No newline at end of file
diff --git a/server/api/cdr/cdr.rpc.js b/server/api/cdr/cdr.rpc.js
index 58ee987..f93476c 100644
--- a/server/api/cdr/cdr.rpc.js
+++ b/server/api/cdr/cdr.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x9d65=['../../config/logger','../../config/environment','jayson/promise','http','request','info','Cdr,\x20%s,\x20%s','request\x20sent','debug','Cdr,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','moment','randomstring','ioredis'];(function(_0x3bf496,_0x386763){var _0x365cc5=function(_0xe73f9){while(--_0xe73f9){_0x3bf496['push'](_0x3bf496['shift']());}};_0x365cc5(++_0x386763);}(_0x9d65,0x165));var _0x59d6=function(_0x5342a2,_0x4854c8){_0x5342a2=_0x5342a2-0x0;var _0x84a571=_0x9d65[_0x5342a2];return _0x84a571;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0x59d6('0x0'));var BPromise=require('bluebird');var rs=require(_0x59d6('0x1'));var fs=require('fs');var Redis=require(_0x59d6('0x2'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x59d6('0x3'))('rpc');var config=require(_0x59d6('0x4'));var jayson=require(_0x59d6('0x5'));var client=jayson['client'][_0x59d6('0x6')]({'port':0x232a});function respondWithRpcPromise(_0x5ecefd,_0x2fe33d,_0x4cad11){return new BPromise(function(_0x4b1ca4,_0x5d2027){return client[_0x59d6('0x7')](_0x5ecefd,_0x4cad11)['then'](function(_0x3681b7){logger[_0x59d6('0x8')](_0x59d6('0x9'),_0x2fe33d,_0x59d6('0xa'));logger[_0x59d6('0xb')](_0x59d6('0xc'),_0x2fe33d,_0x59d6('0xa'),JSON[_0x59d6('0xd')](_0x3681b7));if(_0x3681b7[_0x59d6('0xe')]){if(_0x3681b7[_0x59d6('0xe')][_0x59d6('0xf')]===0x1f4){logger[_0x59d6('0xe')](_0x59d6('0x9'),_0x2fe33d,_0x3681b7['error']['message']);return _0x5d2027(_0x3681b7[_0x59d6('0xe')][_0x59d6('0x10')]);}logger['error'](_0x59d6('0x9'),_0x2fe33d,_0x3681b7['error'][_0x59d6('0x10')]);return _0x4b1ca4(_0x3681b7['error']['message']);}else{logger[_0x59d6('0x8')](_0x59d6('0x9'),_0x2fe33d,_0x59d6('0xa'));_0x4b1ca4(_0x3681b7[_0x59d6('0x11')][_0x59d6('0x10')]);}})['catch'](function(_0xa504f4){logger[_0x59d6('0xe')]('Cdr,\x20%s,\x20%s',_0x2fe33d,_0xa504f4);_0x5d2027(_0xa504f4);});});}
\ No newline at end of file
+var _0x9256=['ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','request','then','info','Cdr,\x20%s,\x20%s','request\x20sent','debug','Cdr,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util','moment','bluebird','randomstring'];(function(_0x19e0c7,_0x8c57f){var _0x1fd31=function(_0x356dd0){while(--_0x356dd0){_0x19e0c7['push'](_0x19e0c7['shift']());}};_0x1fd31(++_0x8c57f);}(_0x9256,0xdc));var _0x6925=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x9256[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x6925('0x0'));var util=require(_0x6925('0x1'));var moment=require(_0x6925('0x2'));var BPromise=require(_0x6925('0x3'));var rs=require(_0x6925('0x4'));var fs=require('fs');var Redis=require(_0x6925('0x5'));var db=require('../../mysqldb')['db'];var utils=require(_0x6925('0x6'));var logger=require(_0x6925('0x7'))(_0x6925('0x8'));var config=require(_0x6925('0x9'));var jayson=require(_0x6925('0xa'));var client=jayson[_0x6925('0xb')]['http']({'port':0x232a});function respondWithRpcPromise(_0x4d60ed,_0xfc1741,_0x3e4eb0){return new BPromise(function(_0x149033,_0x147f5e){return client[_0x6925('0xc')](_0x4d60ed,_0x3e4eb0)[_0x6925('0xd')](function(_0x4ee089){logger[_0x6925('0xe')](_0x6925('0xf'),_0xfc1741,_0x6925('0x10'));logger[_0x6925('0x11')](_0x6925('0x12'),_0xfc1741,_0x6925('0x10'),JSON[_0x6925('0x13')](_0x4ee089));if(_0x4ee089[_0x6925('0x14')]){if(_0x4ee089['error'][_0x6925('0x15')]===0x1f4){logger[_0x6925('0x14')]('Cdr,\x20%s,\x20%s',_0xfc1741,_0x4ee089['error'][_0x6925('0x16')]);return _0x147f5e(_0x4ee089['error'][_0x6925('0x16')]);}logger['error'](_0x6925('0xf'),_0xfc1741,_0x4ee089[_0x6925('0x14')]['message']);return _0x149033(_0x4ee089['error']['message']);}else{logger[_0x6925('0xe')]('Cdr,\x20%s,\x20%s',_0xfc1741,'request\x20sent');_0x149033(_0x4ee089[_0x6925('0x17')][_0x6925('0x16')]);}})[_0x6925('0x18')](function(_0x3358ac){logger['error']('Cdr,\x20%s,\x20%s',_0xfc1741,_0x3358ac);_0x147f5e(_0x3358ac);});});}
\ No newline at end of file
diff --git a/server/api/cdr/index.js b/server/api/cdr/index.js
index 53d1559..2f27b9c 100644
--- a/server/api/cdr/index.js
+++ b/server/api/cdr/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xa9e0=['isAuthenticated','create','put','/:id','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cdr.controller','get','index','/describe','show','post'];(function(_0x46a671,_0x758e9a){var _0x526d75=function(_0xde3640){while(--_0xde3640){_0x46a671['push'](_0x46a671['shift']());}};_0x526d75(++_0x758e9a);}(_0xa9e0,0x123));var _0x0a9e=function(_0x32d457,_0x1a39c9){_0x32d457=_0x32d457-0x0;var _0x338386=_0xa9e0[_0x32d457];return _0x338386;};'use strict';var multer=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var path=require(_0x0a9e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0a9e('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x0a9e('0x4'));var interaction=require(_0x0a9e('0x5'));var config=require(_0x0a9e('0x6'));var controller=require(_0x0a9e('0x7'));router[_0x0a9e('0x8')]('/',auth['isAuthenticated'](),controller[_0x0a9e('0x9')]);router[_0x0a9e('0x8')](_0x0a9e('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0x0a9e('0x8')]('/:id',auth['isAuthenticated'](),controller[_0x0a9e('0xb')]);router[_0x0a9e('0xc')]('/',auth[_0x0a9e('0xd')](),controller[_0x0a9e('0xe')]);router[_0x0a9e('0xf')](_0x0a9e('0x10'),auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x11')]);module[_0x0a9e('0x12')]=router;
\ No newline at end of file
+var _0xd8b0=['destroy','exports','multer','util','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','describe','/:id','show','post','create','put','update'];(function(_0x56989c,_0x6781f0){var _0x22ab27=function(_0x390034){while(--_0x390034){_0x56989c['push'](_0x56989c['shift']());}};_0x22ab27(++_0x6781f0);}(_0xd8b0,0xad));var _0x0d8b=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xd8b0[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0x0d8b('0x0'));var util=require(_0x0d8b('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0d8b('0x2')]();var fs_extra=require(_0x0d8b('0x3'));var auth=require(_0x0d8b('0x4'));var interaction=require(_0x0d8b('0x5'));var config=require(_0x0d8b('0x6'));var controller=require('./cdr.controller');router['get']('/',auth[_0x0d8b('0x7')](),controller[_0x0d8b('0x8')]);router[_0x0d8b('0x9')]('/describe',auth[_0x0d8b('0x7')](),controller[_0x0d8b('0xa')]);router['get'](_0x0d8b('0xb'),auth[_0x0d8b('0x7')](),controller[_0x0d8b('0xc')]);router[_0x0d8b('0xd')]('/',auth[_0x0d8b('0x7')](),controller[_0x0d8b('0xe')]);router[_0x0d8b('0xf')](_0x0d8b('0xb'),auth['isAuthenticated'](),controller[_0x0d8b('0x10')]);router['delete'](_0x0d8b('0xb'),auth[_0x0d8b('0x7')](),controller[_0x0d8b('0x11')]);module[_0x0d8b('0x12')]=router;
\ No newline at end of file
diff --git a/server/api/chatApplication/chatApplication.attributes.js b/server/api/chatApplication/chatApplication.attributes.js
index ef9c1bb..9361789 100644
--- a/server/api/chatApplication/chatApplication.attributes.js
+++ b/server/api/chatApplication/chatApplication.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xa650=['INTEGER','noop','TEXT','STRING','*,*,*,*','sequelize','exports'];(function(_0xef02b7,_0x1fbb1d){var _0x2078df=function(_0x336379){while(--_0x336379){_0xef02b7['push'](_0xef02b7['shift']());}};_0x2078df(++_0x1fbb1d);}(_0xa650,0xd7));var _0x0a65=function(_0x2f4093,_0x259741){_0x2f4093=_0x2f4093-0x0;var _0x1302bc=_0xa650[_0x2f4093];return _0x1302bc;};'use strict';var Sequelize=require(_0x0a65('0x0'));module[_0x0a65('0x1')]={'priority':{'type':Sequelize[_0x0a65('0x2')],'allowNull':![]},'app':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x0a65('0x3')},'appdata':{'type':Sequelize[_0x0a65('0x4')]()},'description':{'type':Sequelize[_0x0a65('0x5')]},'interval':{'type':Sequelize['STRING'],'defaultValue':_0x0a65('0x6')}};
\ No newline at end of file
+var _0x98b1=['INTEGER','STRING','noop','TEXT','*,*,*,*','exports'];(function(_0x11315e,_0x11db19){var _0x5a2ddf=function(_0x411c23){while(--_0x411c23){_0x11315e['push'](_0x11315e['shift']());}};_0x5a2ddf(++_0x11db19);}(_0x98b1,0x107));var _0x198b=function(_0x365a91,_0x10fd46){_0x365a91=_0x365a91-0x0;var _0x1b96cd=_0x98b1[_0x365a91];return _0x1b96cd;};'use strict';var Sequelize=require('sequelize');module[_0x198b('0x0')]={'priority':{'type':Sequelize[_0x198b('0x1')],'allowNull':![]},'app':{'type':Sequelize[_0x198b('0x2')],'allowNull':![],'defaultValue':_0x198b('0x3')},'appdata':{'type':Sequelize[_0x198b('0x4')]()},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize['STRING'],'defaultValue':_0x198b('0x5')}};
\ No newline at end of file
diff --git a/server/api/chatApplication/chatApplication.controller.js b/server/api/chatApplication/chatApplication.controller.js
index e2f6635..04f0a8a 100644
--- a/server/api/chatApplication/chatApplication.controller.js
+++ b/server/api/chatApplication/chatApplication.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xffdc=['attributes','fields','includeAll','options','ChatApplication','body','catch','eml-format','rimraf','fast-json-patch','request-promise','bluebird','mustache','util','path','sox','ejs','fs-extra','lodash','squel','crypto','jsforce','to-csv','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','json','offset','undefined','limit','count','set','Content-Range','apply','reject','save','update','then','destroy','end','error','stack','name','send','show','params','model','rawAttributes','query','keys','filters','intersection'];(function(_0x4b7cdd,_0x355934){var _0x179701=function(_0x2b2f85){while(--_0x2b2f85){_0x4b7cdd['push'](_0x4b7cdd['shift']());}};_0x179701(++_0x355934);}(_0xffdc,0x7f));var _0xcffd=function(_0x530ec8,_0x3b402d){_0x530ec8=_0x530ec8-0x0;var _0xdd83a5=_0xffdc[_0x530ec8];return _0xdd83a5;};'use strict';var emlformat=require(_0xcffd('0x0'));var rimraf=require(_0xcffd('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xcffd('0x2'));var rp=require(_0xcffd('0x3'));var moment=require('moment');var BPromise=require(_0xcffd('0x4'));var Mustache=require(_0xcffd('0x5'));var util=require(_0xcffd('0x6'));var path=require(_0xcffd('0x7'));var sox=require(_0xcffd('0x8'));var csv=require('to-csv');var ejs=require(_0xcffd('0x9'));var fs=require('fs');var fs_extra=require(_0xcffd('0xa'));var _=require(_0xcffd('0xb'));var squel=require(_0xcffd('0xc'));var crypto=require(_0xcffd('0xd'));var jsforce=require(_0xcffd('0xe'));var deskjs=require('desk.js');var toCsv=require(_0xcffd('0xf'));var querystring=require(_0xcffd('0x10'));var Papa=require('papaparse');var Redis=require(_0xcffd('0x11'));var authService=require(_0xcffd('0x12'));var qs=require(_0xcffd('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xcffd('0x14'));var logger=require(_0xcffd('0x15'))(_0xcffd('0x16'));var utils=require(_0xcffd('0x17'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0xcffd('0x18'))['db'];function respondWithStatusCode(_0x187ca8,_0x1340b0){_0x1340b0=_0x1340b0||0xcc;return function(_0x4ec693){if(_0x4ec693){return _0x187ca8[_0xcffd('0x19')](_0x1340b0);}return _0x187ca8['status'](_0x1340b0)['end']();};}function respondWithResult(_0x765795,_0x20e134){_0x20e134=_0x20e134||0xc8;return function(_0x4edde4){if(_0x4edde4){return _0x765795[_0xcffd('0x1a')](_0x20e134)[_0xcffd('0x1b')](_0x4edde4);}};}function respondWithFilteredResult(_0x3d1e6e,_0x32f579){return function(_0x4ec386){if(_0x4ec386){var _0x4921d1=typeof _0x32f579[_0xcffd('0x1c')]===_0xcffd('0x1d')&&typeof _0x32f579[_0xcffd('0x1e')]===_0xcffd('0x1d');var _0x867e85=_0x4ec386['count'];var _0x4216c4=_0x4921d1?0x0:_0x32f579['offset'];var _0x18e9e1=_0x4921d1?_0x4ec386[_0xcffd('0x1f')]:_0x32f579[_0xcffd('0x1c')]+_0x32f579[_0xcffd('0x1e')];var _0x33a27e;if(_0x18e9e1>=_0x867e85){_0x18e9e1=_0x867e85;_0x33a27e=0xc8;}else{_0x33a27e=0xce;}_0x3d1e6e[_0xcffd('0x1a')](_0x33a27e);return _0x3d1e6e[_0xcffd('0x20')](_0xcffd('0x21'),_0x4216c4+'-'+_0x18e9e1+'/'+_0x867e85)['json'](_0x4ec386);}return null;};}function patchUpdates(_0x73d51a){return function(_0x1f36f4){try{jsonpatch[_0xcffd('0x22')](_0x1f36f4,_0x73d51a,!![]);}catch(_0x4029a7){return BPromise[_0xcffd('0x23')](_0x4029a7);}return _0x1f36f4[_0xcffd('0x24')]();};}function saveUpdates(_0x1ad69f,_0x5d2d3c){return function(_0x52fc51){if(_0x52fc51){return _0x52fc51[_0xcffd('0x25')](_0x1ad69f)[_0xcffd('0x26')](function(_0x44f901){return _0x44f901;});}return null;};}function removeEntity(_0x3935ff,_0x3c3839){return function(_0x345a4d){if(_0x345a4d){return _0x345a4d[_0xcffd('0x27')]()[_0xcffd('0x26')](function(){_0x3935ff[_0xcffd('0x1a')](0xcc)[_0xcffd('0x28')]();});}};}function handleEntityNotFound(_0x37185d,_0x1f232a){return function(_0x544ae7){if(!_0x544ae7){_0x37185d[_0xcffd('0x19')](0x194);}return _0x544ae7;};}function handleError(_0x2b5044,_0x2c66a7){_0x2c66a7=_0x2c66a7||0x1f4;return function(_0x547bdb){logger[_0xcffd('0x29')](_0x547bdb[_0xcffd('0x2a')]);if(_0x547bdb[_0xcffd('0x2b')]){delete _0x547bdb['name'];}_0x2b5044['status'](_0x2c66a7)[_0xcffd('0x2c')](_0x547bdb);};}exports[_0xcffd('0x2d')]=function(_0x4b1c7d,_0x3cb0dd){var _0x6641e={'raw':!![],'where':{'id':_0x4b1c7d[_0xcffd('0x2e')]['id']}},_0x5a97cf={};_0x5a97cf[_0xcffd('0x2f')]=_['keys'](db['ChatApplication'][_0xcffd('0x30')]);_0x5a97cf[_0xcffd('0x31')]=_[_0xcffd('0x32')](_0x4b1c7d['query']);_0x5a97cf[_0xcffd('0x33')]=_[_0xcffd('0x34')](_0x5a97cf['model'],_0x5a97cf[_0xcffd('0x31')]);_0x6641e[_0xcffd('0x35')]=_['intersection'](_0x5a97cf[_0xcffd('0x2f')],qs['fields'](_0x4b1c7d[_0xcffd('0x31')][_0xcffd('0x36')]));_0x6641e['attributes']=_0x6641e[_0xcffd('0x35')]['length']?_0x6641e['attributes']:_0x5a97cf[_0xcffd('0x2f')];if(_0x4b1c7d[_0xcffd('0x31')][_0xcffd('0x37')]){_0x6641e['include']=[{'all':!![]}];}_0x6641e=_['merge']({},_0x6641e,_0x4b1c7d[_0xcffd('0x38')]);return db[_0xcffd('0x39')]['find'](_0x6641e)['then'](handleEntityNotFound(_0x3cb0dd,null))[_0xcffd('0x26')](respondWithResult(_0x3cb0dd,null))['catch'](handleError(_0x3cb0dd,null));};exports[_0xcffd('0x25')]=function(_0x19b027,_0x2144bc){if(_0x19b027[_0xcffd('0x3a')]['id']){delete _0x19b027[_0xcffd('0x3a')]['id'];}return db[_0xcffd('0x39')]['find']({'where':{'id':_0x19b027[_0xcffd('0x2e')]['id']}})[_0xcffd('0x26')](handleEntityNotFound(_0x2144bc,null))[_0xcffd('0x26')](saveUpdates(_0x19b027[_0xcffd('0x3a')],null))[_0xcffd('0x26')](respondWithResult(_0x2144bc,null))[_0xcffd('0x3b')](handleError(_0x2144bc,null));};exports['destroy']=function(_0xf81fb3,_0x4b9fc9){return db[_0xcffd('0x39')]['find']({'where':{'id':_0xf81fb3[_0xcffd('0x2e')]['id']}})[_0xcffd('0x26')](handleEntityNotFound(_0x4b9fc9,null))[_0xcffd('0x26')](removeEntity(_0x4b9fc9,null))[_0xcffd('0x3b')](handleError(_0x4b9fc9,null));};
\ No newline at end of file
+var _0x5127=['sox','to-csv','ejs','fs-extra','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','end','status','json','offset','undefined','limit','count','set','Content-Range','reject','save','then','name','send','model','keys','ChatApplication','rawAttributes','intersection','fields','query','attributes','length','merge','options','find','catch','update','body','params','destroy','eml-format','rimraf','zip-dir','fast-json-patch','bluebird','util','path'];(function(_0x57171b,_0xfe67c6){var _0x33a2c8=function(_0x31e60d){while(--_0x31e60d){_0x57171b['push'](_0x57171b['shift']());}};_0x33a2c8(++_0xfe67c6);}(_0x5127,0x18f));var _0x7512=function(_0x44a329,_0x45f280){_0x44a329=_0x44a329-0x0;var _0x45f2a3=_0x5127[_0x44a329];return _0x45f2a3;};'use strict';var emlformat=require(_0x7512('0x0'));var rimraf=require(_0x7512('0x1'));var zipdir=require(_0x7512('0x2'));var jsonpatch=require(_0x7512('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x7512('0x4'));var Mustache=require('mustache');var util=require(_0x7512('0x5'));var path=require(_0x7512('0x6'));var sox=require(_0x7512('0x7'));var csv=require(_0x7512('0x8'));var ejs=require(_0x7512('0x9'));var fs=require('fs');var fs_extra=require(_0x7512('0xa'));var _=require('lodash');var squel=require('squel');var crypto=require(_0x7512('0xb'));var jsforce=require('jsforce');var deskjs=require(_0x7512('0xc'));var toCsv=require('to-csv');var querystring=require(_0x7512('0xd'));var Papa=require(_0x7512('0xe'));var Redis=require(_0x7512('0xf'));var authService=require(_0x7512('0x10'));var qs=require(_0x7512('0x11'));var as=require(_0x7512('0x12'));var hardwareService=require(_0x7512('0x13'));var logger=require(_0x7512('0x14'))(_0x7512('0x15'));var utils=require(_0x7512('0x16'));var config=require(_0x7512('0x17'));var licenseUtil=require(_0x7512('0x18'));var db=require(_0x7512('0x19'))['db'];function respondWithStatusCode(_0x599ce4,_0x472323){_0x472323=_0x472323||0xcc;return function(_0x474746){if(_0x474746){return _0x599ce4[_0x7512('0x1a')](_0x472323);}return _0x599ce4['status'](_0x472323)[_0x7512('0x1b')]();};}function respondWithResult(_0x57813c,_0x3069a1){_0x3069a1=_0x3069a1||0xc8;return function(_0x3ef1fc){if(_0x3ef1fc){return _0x57813c[_0x7512('0x1c')](_0x3069a1)[_0x7512('0x1d')](_0x3ef1fc);}};}function respondWithFilteredResult(_0x4968a5,_0x519aad){return function(_0x5a4101){if(_0x5a4101){var _0x219f4c=typeof _0x519aad[_0x7512('0x1e')]===_0x7512('0x1f')&&typeof _0x519aad[_0x7512('0x20')]==='undefined';var _0x82484a=_0x5a4101['count'];var _0x10858d=_0x219f4c?0x0:_0x519aad[_0x7512('0x1e')];var _0x1d357b=_0x219f4c?_0x5a4101[_0x7512('0x21')]:_0x519aad[_0x7512('0x1e')]+_0x519aad[_0x7512('0x20')];var _0x67c45e;if(_0x1d357b>=_0x82484a){_0x1d357b=_0x82484a;_0x67c45e=0xc8;}else{_0x67c45e=0xce;}_0x4968a5[_0x7512('0x1c')](_0x67c45e);return _0x4968a5[_0x7512('0x22')](_0x7512('0x23'),_0x10858d+'-'+_0x1d357b+'/'+_0x82484a)['json'](_0x5a4101);}return null;};}function patchUpdates(_0x3c8b39){return function(_0x41bb33){try{jsonpatch['apply'](_0x41bb33,_0x3c8b39,!![]);}catch(_0x4862d6){return BPromise[_0x7512('0x24')](_0x4862d6);}return _0x41bb33[_0x7512('0x25')]();};}function saveUpdates(_0x16cabb,_0x2279a0){return function(_0x24baaf){if(_0x24baaf){return _0x24baaf['update'](_0x16cabb)[_0x7512('0x26')](function(_0x28aa80){return _0x28aa80;});}return null;};}function removeEntity(_0x101f57,_0x21cb99){return function(_0x14f0e2){if(_0x14f0e2){return _0x14f0e2['destroy']()[_0x7512('0x26')](function(){_0x101f57[_0x7512('0x1c')](0xcc)['end']();});}};}function handleEntityNotFound(_0x2c88dd,_0x5e0cfd){return function(_0x5df068){if(!_0x5df068){_0x2c88dd[_0x7512('0x1a')](0x194);}return _0x5df068;};}function handleError(_0x3ccd5f,_0x1a5985){_0x1a5985=_0x1a5985||0x1f4;return function(_0x5784ba){logger['error'](_0x5784ba['stack']);if(_0x5784ba[_0x7512('0x27')]){delete _0x5784ba['name'];}_0x3ccd5f['status'](_0x1a5985)[_0x7512('0x28')](_0x5784ba);};}exports['show']=function(_0x1c0442,_0x133d18){var _0x2f8df2={'raw':!![],'where':{'id':_0x1c0442['params']['id']}},_0x4c676c={};_0x4c676c[_0x7512('0x29')]=_[_0x7512('0x2a')](db[_0x7512('0x2b')][_0x7512('0x2c')]);_0x4c676c['query']=_[_0x7512('0x2a')](_0x1c0442['query']);_0x4c676c['filters']=_[_0x7512('0x2d')](_0x4c676c[_0x7512('0x29')],_0x4c676c['query']);_0x2f8df2['attributes']=_[_0x7512('0x2d')](_0x4c676c['model'],qs[_0x7512('0x2e')](_0x1c0442[_0x7512('0x2f')][_0x7512('0x2e')]));_0x2f8df2[_0x7512('0x30')]=_0x2f8df2['attributes'][_0x7512('0x31')]?_0x2f8df2['attributes']:_0x4c676c[_0x7512('0x29')];if(_0x1c0442[_0x7512('0x2f')]['includeAll']){_0x2f8df2['include']=[{'all':!![]}];}_0x2f8df2=_[_0x7512('0x32')]({},_0x2f8df2,_0x1c0442[_0x7512('0x33')]);return db['ChatApplication'][_0x7512('0x34')](_0x2f8df2)[_0x7512('0x26')](handleEntityNotFound(_0x133d18,null))[_0x7512('0x26')](respondWithResult(_0x133d18,null))[_0x7512('0x35')](handleError(_0x133d18,null));};exports[_0x7512('0x36')]=function(_0x20e8fb,_0x5b566d){if(_0x20e8fb[_0x7512('0x37')]['id']){delete _0x20e8fb[_0x7512('0x37')]['id'];}return db[_0x7512('0x2b')]['find']({'where':{'id':_0x20e8fb[_0x7512('0x38')]['id']}})[_0x7512('0x26')](handleEntityNotFound(_0x5b566d,null))['then'](saveUpdates(_0x20e8fb[_0x7512('0x37')],null))[_0x7512('0x26')](respondWithResult(_0x5b566d,null))['catch'](handleError(_0x5b566d,null));};exports[_0x7512('0x39')]=function(_0x5cc6a1,_0x325da0){return db[_0x7512('0x2b')]['find']({'where':{'id':_0x5cc6a1[_0x7512('0x38')]['id']}})['then'](handleEntityNotFound(_0x325da0,null))[_0x7512('0x26')](removeEntity(_0x325da0,null))['catch'](handleError(_0x325da0,null));};
\ No newline at end of file
diff --git a/server/api/chatApplication/chatApplication.model.js b/server/api/chatApplication/chatApplication.model.js
index 8c8b35f..6f89c01 100644
--- a/server/api/chatApplication/chatApplication.model.js
+++ b/server/api/chatApplication/chatApplication.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x18a5=['define','ChatApplication','chat_applications','utf8mb4','utf8mb4_unicode_ci','lodash','util','moment','request-promise','path','rimraf','../../config/environment','./chatApplication.attributes'];(function(_0x265055,_0x4b2736){var _0x51d73a=function(_0x1fe189){while(--_0x1fe189){_0x265055['push'](_0x265055['shift']());}};_0x51d73a(++_0x4b2736);}(_0x18a5,0x164));var _0x518a=function(_0x19b7b9,_0x1e8e8d){_0x19b7b9=_0x19b7b9-0x0;var _0x389170=_0x18a5[_0x19b7b9];return _0x389170;};'use strict';var _=require(_0x518a('0x0'));var util=require(_0x518a('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x518a('0x2'));var BPromise=require('bluebird');var rp=require(_0x518a('0x3'));var fs=require('fs');var path=require(_0x518a('0x4'));var rimraf=require(_0x518a('0x5'));var config=require(_0x518a('0x6'));var attributes=require(_0x518a('0x7'));module['exports']=function(_0x5dcff1,_0x4b150f){return _0x5dcff1[_0x518a('0x8')](_0x518a('0x9'),attributes,{'tableName':_0x518a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x518a('0xb'),'collate':_0x518a('0xc')});};
\ No newline at end of file
+var _0x71e8=['chat_applications','utf8mb4','utf8mb4_unicode_ci','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./chatApplication.attributes','exports','define'];(function(_0xfae23b,_0x2be4ba){var _0x200640=function(_0x4ae258){while(--_0x4ae258){_0xfae23b['push'](_0xfae23b['shift']());}};_0x200640(++_0x2be4ba);}(_0x71e8,0x9f));var _0x871e=function(_0x4cf98e,_0xba4b79){_0x4cf98e=_0x4cf98e-0x0;var _0x1623ac=_0x71e8[_0x4cf98e];return _0x1623ac;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x871e('0x0'))(_0x871e('0x1'));var moment=require(_0x871e('0x2'));var BPromise=require(_0x871e('0x3'));var rp=require(_0x871e('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x871e('0x5'));var attributes=require(_0x871e('0x6'));module[_0x871e('0x7')]=function(_0x5f4407,_0x5e1863){return _0x5f4407[_0x871e('0x8')]('ChatApplication',attributes,{'tableName':_0x871e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x871e('0xa'),'collate':_0x871e('0xb')});};
\ No newline at end of file
diff --git a/server/api/chatApplication/chatApplication.rpc.js b/server/api/chatApplication/chatApplication.rpc.js
index 7bc4151..71e6deb 100644
--- a/server/api/chatApplication/chatApplication.rpc.js
+++ b/server/api/chatApplication/chatApplication.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x65ce=['bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','request','then','info','ChatApplication,\x20%s,\x20%s','debug','ChatApplication,\x20%s,\x20%s,\x20%s','stringify','code','error','message','request\x20sent','result','catch','lodash','moment'];(function(_0x3065cf,_0x1297e5){var _0x16e4fa=function(_0x139c2c){while(--_0x139c2c){_0x3065cf['push'](_0x3065cf['shift']());}};_0x16e4fa(++_0x1297e5);}(_0x65ce,0xda));var _0xe65c=function(_0x24cdd5,_0x4232a0){_0x24cdd5=_0x24cdd5-0x0;var _0x52a09e=_0x65ce[_0x24cdd5];return _0x52a09e;};'use strict';var _=require(_0xe65c('0x0'));var util=require('util');var moment=require(_0xe65c('0x1'));var BPromise=require(_0xe65c('0x2'));var rs=require(_0xe65c('0x3'));var fs=require('fs');var Redis=require(_0xe65c('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0xe65c('0x5'));var logger=require(_0xe65c('0x6'))(_0xe65c('0x7'));var config=require(_0xe65c('0x8'));var jayson=require('jayson/promise');var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x45a721,_0x44393a,_0x4c32a0){return new BPromise(function(_0x598398,_0x17c609){return client[_0xe65c('0x9')](_0x45a721,_0x4c32a0)[_0xe65c('0xa')](function(_0x187a61){logger[_0xe65c('0xb')](_0xe65c('0xc'),_0x44393a,'request\x20sent');logger[_0xe65c('0xd')](_0xe65c('0xe'),_0x44393a,'request\x20sent',JSON[_0xe65c('0xf')](_0x187a61));if(_0x187a61['error']){if(_0x187a61['error'][_0xe65c('0x10')]===0x1f4){logger[_0xe65c('0x11')](_0xe65c('0xc'),_0x44393a,_0x187a61[_0xe65c('0x11')][_0xe65c('0x12')]);return _0x17c609(_0x187a61[_0xe65c('0x11')][_0xe65c('0x12')]);}logger['error'](_0xe65c('0xc'),_0x44393a,_0x187a61['error']['message']);return _0x598398(_0x187a61['error'][_0xe65c('0x12')]);}else{logger['info'](_0xe65c('0xc'),_0x44393a,_0xe65c('0x13'));_0x598398(_0x187a61[_0xe65c('0x14')][_0xe65c('0x12')]);}})[_0xe65c('0x15')](function(_0x27c842){logger[_0xe65c('0x11')](_0xe65c('0xc'),_0x44393a,_0x27c842);_0x17c609(_0x27c842);});});}
\ No newline at end of file
+var _0xdfc7=['message','result','lodash','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','../../config/environment','client','request','then','info','debug','ChatApplication,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','ChatApplication,\x20%s,\x20%s'];(function(_0x3634f4,_0x1c3d84){var _0xa0122b=function(_0x40c0b4){while(--_0x40c0b4){_0x3634f4['push'](_0x3634f4['shift']());}};_0xa0122b(++_0x1c3d84);}(_0xdfc7,0x6b));var _0x7dfc=function(_0x13f980,_0x1e1c56){_0x13f980=_0x13f980-0x0;var _0x27153c=_0xdfc7[_0x13f980];return _0x27153c;};'use strict';var _=require(_0x7dfc('0x0'));var util=require(_0x7dfc('0x1'));var moment=require('moment');var BPromise=require(_0x7dfc('0x2'));var rs=require(_0x7dfc('0x3'));var fs=require('fs');var Redis=require(_0x7dfc('0x4'));var db=require(_0x7dfc('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0x7dfc('0x6'))('rpc');var config=require(_0x7dfc('0x7'));var jayson=require('jayson/promise');var client=jayson[_0x7dfc('0x8')]['http']({'port':0x232a});function respondWithRpcPromise(_0x536ca5,_0x337924,_0x5cc46d){return new BPromise(function(_0x434ff8,_0x2af39a){return client[_0x7dfc('0x9')](_0x536ca5,_0x5cc46d)[_0x7dfc('0xa')](function(_0x138c2d){logger[_0x7dfc('0xb')]('ChatApplication,\x20%s,\x20%s',_0x337924,'request\x20sent');logger[_0x7dfc('0xc')](_0x7dfc('0xd'),_0x337924,_0x7dfc('0xe'),JSON[_0x7dfc('0xf')](_0x138c2d));if(_0x138c2d[_0x7dfc('0x10')]){if(_0x138c2d[_0x7dfc('0x10')][_0x7dfc('0x11')]===0x1f4){logger['error'](_0x7dfc('0x12'),_0x337924,_0x138c2d[_0x7dfc('0x10')][_0x7dfc('0x13')]);return _0x2af39a(_0x138c2d['error'][_0x7dfc('0x13')]);}logger[_0x7dfc('0x10')](_0x7dfc('0x12'),_0x337924,_0x138c2d[_0x7dfc('0x10')]['message']);return _0x434ff8(_0x138c2d[_0x7dfc('0x10')][_0x7dfc('0x13')]);}else{logger[_0x7dfc('0xb')]('ChatApplication,\x20%s,\x20%s',_0x337924,'request\x20sent');_0x434ff8(_0x138c2d[_0x7dfc('0x14')][_0x7dfc('0x13')]);}})['catch'](function(_0x570ca4){logger[_0x7dfc('0x10')](_0x7dfc('0x12'),_0x337924,_0x570ca4);_0x2af39a(_0x570ca4);});});}
\ No newline at end of file
diff --git a/server/api/chatApplication/index.js b/server/api/chatApplication/index.js
index 4d8bbc2..cf5c3bb 100644
--- a/server/api/chatApplication/index.js
+++ b/server/api/chatApplication/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xeef2=['./chatApplication.controller','get','isAuthenticated','show','put','update','delete','/:id','destroy','exports','multer','util','fs-extra','../../components/auth/service','../../config/environment'];(function(_0x4a3c3d,_0x481466){var _0x41950e=function(_0xfc9eec){while(--_0xfc9eec){_0x4a3c3d['push'](_0x4a3c3d['shift']());}};_0x41950e(++_0x481466);}(_0xeef2,0x1ea));var _0x2eef=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0xeef2[_0x59ee6f];return _0x4c0979;};'use strict';var multer=require(_0x2eef('0x0'));var util=require(_0x2eef('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0x2eef('0x2'));var auth=require(_0x2eef('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x2eef('0x4'));var controller=require(_0x2eef('0x5'));router[_0x2eef('0x6')]('/:id',auth[_0x2eef('0x7')](),controller[_0x2eef('0x8')]);router[_0x2eef('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x2eef('0xa')]);router[_0x2eef('0xb')](_0x2eef('0xc'),auth[_0x2eef('0x7')](),controller[_0x2eef('0xd')]);module[_0x2eef('0xe')]=router;
\ No newline at end of file
+var _0x6b71=['put','isAuthenticated','delete','exports','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatApplication.controller','get','/:id','show'];(function(_0x26cdb5,_0x3849a8){var _0x90e40=function(_0x380f41){while(--_0x380f41){_0x26cdb5['push'](_0x26cdb5['shift']());}};_0x90e40(++_0x3849a8);}(_0x6b71,0x114));var _0x16b7=function(_0x276221,_0x378da4){_0x276221=_0x276221-0x0;var _0x4fa716=_0x6b71[_0x276221];return _0x4fa716;};'use strict';var multer=require(_0x16b7('0x0'));var util=require(_0x16b7('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x16b7('0x2'));var router=express[_0x16b7('0x3')]();var fs_extra=require(_0x16b7('0x4'));var auth=require(_0x16b7('0x5'));var interaction=require(_0x16b7('0x6'));var config=require(_0x16b7('0x7'));var controller=require(_0x16b7('0x8'));router[_0x16b7('0x9')](_0x16b7('0xa'),auth['isAuthenticated'](),controller[_0x16b7('0xb')]);router[_0x16b7('0xc')](_0x16b7('0xa'),auth[_0x16b7('0xd')](),controller['update']);router[_0x16b7('0xe')](_0x16b7('0xa'),auth[_0x16b7('0xd')](),controller['destroy']);module[_0x16b7('0xf')]=router;
\ No newline at end of file
diff --git a/server/api/chatGroup/chatGroup.attributes.js b/server/api/chatGroup/chatGroup.attributes.js
index 58f853b..ba5b27e 100644
--- a/server/api/chatGroup/chatGroup.attributes.js
+++ b/server/api/chatGroup/chatGroup.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x895c=['STRING','BOOLEAN','exports'];(function(_0xafd39,_0x3055f8){var _0x2671f5=function(_0x4e626a){while(--_0x4e626a){_0xafd39['push'](_0xafd39['shift']());}};_0x2671f5(++_0x3055f8);}(_0x895c,0x173));var _0xc895=function(_0x103448,_0x482583){_0x103448=_0x103448-0x0;var _0x267e4f=_0x895c[_0x103448];return _0x267e4f;};'use strict';var Sequelize=require('sequelize');module[_0xc895('0x0')]={'name':{'type':Sequelize[_0xc895('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0xc895('0x1')]},'write':{'type':Sequelize[_0xc895('0x2')],'defaultValue':!![]}};
\ No newline at end of file
+var _0x75ad=['exports','STRING','BOOLEAN','sequelize'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x75ad,0xd7));var _0xd75a=function(_0x4c2743,_0xf7e3a0){_0x4c2743=_0x4c2743-0x0;var _0x4063c0=_0x75ad[_0x4c2743];return _0x4063c0;};'use strict';var Sequelize=require(_0xd75a('0x0'));module[_0xd75a('0x1')]={'name':{'type':Sequelize[_0xd75a('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0xd75a('0x2')]},'write':{'type':Sequelize[_0xd75a('0x3')],'defaultValue':!![]}};
\ No newline at end of file
diff --git a/server/api/chatGroup/chatGroup.controller.js b/server/api/chatGroup/chatGroup.controller.js
index 6f28fbc..bf75eed 100644
--- a/server/api/chatGroup/chatGroup.controller.js
+++ b/server/api/chatGroup/chatGroup.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x5eaa=['crypto','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','socket.io-emitter','register','sendStatus','status','end','json','offset','undefined','limit','count','Content-Range','apply','reject','then','error','send','map','ChatGroup','fieldName','type','key','name','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','order','pick','where','VIRTUAL','filter','merge','findAll','rows','catch','show','params','includeAll','find','create','body','destroy','describe','ChatInternalMessage','user','toInteger','addMembers','omit','ids','getMembers','findOne','User','rawAttributes','sort','removeMembers','addMessage','ChatGroupId','getMessages','format','YYYY-MM-DD\x20HH:mm:ss','options','nolimit','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','fs-extra','lodash','squel'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x5eaa,0x110));var _0xa5ea=function(_0x4d8eb2,_0x522a5f){_0x4d8eb2=_0x4d8eb2-0x0;var _0x25b43a=_0x5eaa[_0x4d8eb2];return _0x25b43a;};'use strict';var emlformat=require(_0xa5ea('0x0'));var rimraf=require('rimraf');var zipdir=require(_0xa5ea('0x1'));var jsonpatch=require(_0xa5ea('0x2'));var rp=require(_0xa5ea('0x3'));var moment=require(_0xa5ea('0x4'));var BPromise=require(_0xa5ea('0x5'));var Mustache=require(_0xa5ea('0x6'));var util=require(_0xa5ea('0x7'));var path=require(_0xa5ea('0x8'));var sox=require(_0xa5ea('0x9'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0xa5ea('0xa'));var _=require(_0xa5ea('0xb'));var squel=require(_0xa5ea('0xc'));var crypto=require(_0xa5ea('0xd'));var jsforce=require('jsforce');var deskjs=require(_0xa5ea('0xe'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0xa5ea('0xf'));var Redis=require(_0xa5ea('0x10'));var authService=require(_0xa5ea('0x11'));var qs=require('../../components/parsers/qs');var as=require(_0xa5ea('0x12'));var hardwareService=require(_0xa5ea('0x13'));var logger=require(_0xa5ea('0x14'))(_0xa5ea('0x15'));var utils=require(_0xa5ea('0x16'));var config=require(_0xa5ea('0x17'));var licenseUtil=require('../../config/license/util');var db=require(_0xa5ea('0x18'))['db'];config[_0xa5ea('0x19')]=_[_0xa5ea('0x1a')](config[_0xa5ea('0x19')],{'host':_0xa5ea('0x1b'),'port':0x18eb});var socket=require(_0xa5ea('0x1c'))(new Redis(config[_0xa5ea('0x19')]));require('./chatGroup.socket')[_0xa5ea('0x1d')](socket);function respondWithStatusCode(_0x23a9f5,_0x1b4ced){_0x1b4ced=_0x1b4ced||0xcc;return function(_0x106b96){if(_0x106b96){return _0x23a9f5[_0xa5ea('0x1e')](_0x1b4ced);}return _0x23a9f5[_0xa5ea('0x1f')](_0x1b4ced)[_0xa5ea('0x20')]();};}function respondWithResult(_0x4c4c17,_0x3e3a20){_0x3e3a20=_0x3e3a20||0xc8;return function(_0x267a95){if(_0x267a95){return _0x4c4c17[_0xa5ea('0x1f')](_0x3e3a20)[_0xa5ea('0x21')](_0x267a95);}};}function respondWithFilteredResult(_0xec8d7b,_0x276cf8){return function(_0x3090e9){if(_0x3090e9){var _0x4cfae0=typeof _0x276cf8[_0xa5ea('0x22')]===_0xa5ea('0x23')&&typeof _0x276cf8[_0xa5ea('0x24')]===_0xa5ea('0x23');var _0x240f4d=_0x3090e9[_0xa5ea('0x25')];var _0x216a28=_0x4cfae0?0x0:_0x276cf8[_0xa5ea('0x22')];var _0x246e1c=_0x4cfae0?_0x3090e9[_0xa5ea('0x25')]:_0x276cf8['offset']+_0x276cf8['limit'];var _0x25cc22;if(_0x246e1c>=_0x240f4d){_0x246e1c=_0x240f4d;_0x25cc22=0xc8;}else{_0x25cc22=0xce;}_0xec8d7b[_0xa5ea('0x1f')](_0x25cc22);return _0xec8d7b['set'](_0xa5ea('0x26'),_0x216a28+'-'+_0x246e1c+'/'+_0x240f4d)['json'](_0x3090e9);}return null;};}function patchUpdates(_0x132a6c){return function(_0x203d8e){try{jsonpatch[_0xa5ea('0x27')](_0x203d8e,_0x132a6c,!![]);}catch(_0x3b4af8){return BPromise[_0xa5ea('0x28')](_0x3b4af8);}return _0x203d8e['save']();};}function saveUpdates(_0xf00762,_0x4cb0ad){return function(_0x5beb43){if(_0x5beb43){return _0x5beb43['update'](_0xf00762)[_0xa5ea('0x29')](function(_0x5204d9){return _0x5204d9;});}return null;};}function removeEntity(_0x5d3095,_0x5c7464){return function(_0x488169){if(_0x488169){return _0x488169['destroy']()[_0xa5ea('0x29')](function(){_0x5d3095[_0xa5ea('0x1f')](0xcc)[_0xa5ea('0x20')]();});}};}function handleEntityNotFound(_0x124329,_0x1e0365){return function(_0x305303){if(!_0x305303){_0x124329[_0xa5ea('0x1e')](0x194);}return _0x305303;};}function handleError(_0x5dc764,_0x45ba65){_0x45ba65=_0x45ba65||0x1f4;return function(_0x87826c){logger[_0xa5ea('0x2a')](_0x87826c['stack']);if(_0x87826c['name']){delete _0x87826c['name'];}_0x5dc764[_0xa5ea('0x1f')](_0x45ba65)[_0xa5ea('0x2b')](_0x87826c);};}exports['index']=function(_0x5ac955,_0x12f2e4){var _0x1b1ae1={},_0x12ca3f={},_0x452acf={'count':0x0,'rows':[]};var _0x510362=_[_0xa5ea('0x2c')](db[_0xa5ea('0x2d')]['rawAttributes'],function(_0x3c6bdb){return{'name':_0x3c6bdb[_0xa5ea('0x2e')],'type':_0x3c6bdb[_0xa5ea('0x2f')][_0xa5ea('0x30')]};});_0x12ca3f['model']=_['map'](_0x510362,_0xa5ea('0x31'));_0x12ca3f[_0xa5ea('0x32')]=_[_0xa5ea('0x33')](_0x5ac955['query']);_0x12ca3f[_0xa5ea('0x34')]=_[_0xa5ea('0x35')](_0x12ca3f[_0xa5ea('0x36')],_0x12ca3f[_0xa5ea('0x32')]);_0x1b1ae1[_0xa5ea('0x37')]=_[_0xa5ea('0x35')](_0x12ca3f[_0xa5ea('0x36')],qs[_0xa5ea('0x38')](_0x5ac955[_0xa5ea('0x32')][_0xa5ea('0x38')]));_0x1b1ae1[_0xa5ea('0x37')]=_0x1b1ae1[_0xa5ea('0x37')][_0xa5ea('0x39')]?_0x1b1ae1[_0xa5ea('0x37')]:_0x12ca3f[_0xa5ea('0x36')];if(!_0x5ac955['query'][_0xa5ea('0x3a')]('nolimit')){_0x1b1ae1[_0xa5ea('0x24')]=qs[_0xa5ea('0x24')](_0x5ac955['query']['limit']);_0x1b1ae1['offset']=qs[_0xa5ea('0x22')](_0x5ac955[_0xa5ea('0x32')]['offset']);}_0x1b1ae1[_0xa5ea('0x3b')]=qs['sort'](_0x5ac955[_0xa5ea('0x32')]['sort']);_0x1b1ae1['where']=qs['filters'](_[_0xa5ea('0x3c')](_0x5ac955[_0xa5ea('0x32')],_0x12ca3f[_0xa5ea('0x34')]),_0x510362);if(_0x5ac955[_0xa5ea('0x32')]['filter']){_0x1b1ae1[_0xa5ea('0x3d')]=_['merge'](_0x1b1ae1[_0xa5ea('0x3d')],{'$or':_[_0xa5ea('0x2c')](_0x510362,function(_0x34ac34){if(_0x34ac34[_0xa5ea('0x2f')]!==_0xa5ea('0x3e')){var _0x45e42b={};_0x45e42b[_0x34ac34[_0xa5ea('0x31')]]={'$like':'%'+_0x5ac955[_0xa5ea('0x32')][_0xa5ea('0x3f')]+'%'};return _0x45e42b;}})});}_0x1b1ae1=_[_0xa5ea('0x40')]({},_0x1b1ae1,_0x5ac955['options']);var _0xe2bd8f={'where':_0x1b1ae1[_0xa5ea('0x3d')]};return db[_0xa5ea('0x2d')][_0xa5ea('0x25')](_0xe2bd8f)['then'](function(_0x106116){_0x452acf[_0xa5ea('0x25')]=_0x106116;if(_0x5ac955[_0xa5ea('0x32')]['includeAll']){_0x1b1ae1['include']=[{'all':!![]}];}return db[_0xa5ea('0x2d')][_0xa5ea('0x41')](_0x1b1ae1);})[_0xa5ea('0x29')](function(_0x2a5747){_0x452acf[_0xa5ea('0x42')]=_0x2a5747;return _0x452acf;})[_0xa5ea('0x29')](respondWithFilteredResult(_0x12f2e4,_0x1b1ae1))[_0xa5ea('0x43')](handleError(_0x12f2e4,null));};exports[_0xa5ea('0x44')]=function(_0x4dec1c,_0x412c88){var _0x286b59={'raw':!![],'where':{'id':_0x4dec1c[_0xa5ea('0x45')]['id']}},_0x2185a4={};_0x2185a4['model']=_[_0xa5ea('0x33')](db['ChatGroup']['rawAttributes']);_0x2185a4[_0xa5ea('0x32')]=_['keys'](_0x4dec1c['query']);_0x2185a4[_0xa5ea('0x34')]=_['intersection'](_0x2185a4[_0xa5ea('0x36')],_0x2185a4[_0xa5ea('0x32')]);_0x286b59[_0xa5ea('0x37')]=_[_0xa5ea('0x35')](_0x2185a4[_0xa5ea('0x36')],qs[_0xa5ea('0x38')](_0x4dec1c[_0xa5ea('0x32')][_0xa5ea('0x38')]));_0x286b59['attributes']=_0x286b59[_0xa5ea('0x37')]['length']?_0x286b59[_0xa5ea('0x37')]:_0x2185a4['model'];if(_0x4dec1c[_0xa5ea('0x32')][_0xa5ea('0x46')]){_0x286b59['include']=[{'all':!![]}];}_0x286b59=_[_0xa5ea('0x40')]({},_0x286b59,_0x4dec1c['options']);return db[_0xa5ea('0x2d')][_0xa5ea('0x47')](_0x286b59)['then'](handleEntityNotFound(_0x412c88,null))[_0xa5ea('0x29')](respondWithResult(_0x412c88,null))[_0xa5ea('0x43')](handleError(_0x412c88,null));};exports[_0xa5ea('0x48')]=function(_0x5adf22,_0x281043){return db[_0xa5ea('0x2d')][_0xa5ea('0x48')](_0x5adf22[_0xa5ea('0x49')],{})[_0xa5ea('0x29')](respondWithResult(_0x281043,0xc9))[_0xa5ea('0x43')](handleError(_0x281043,null));};exports['update']=function(_0x224b9a,_0x27aa99){if(_0x224b9a[_0xa5ea('0x49')]['id']){delete _0x224b9a[_0xa5ea('0x49')]['id'];}return db[_0xa5ea('0x2d')][_0xa5ea('0x47')]({'where':{'id':_0x224b9a[_0xa5ea('0x45')]['id']}})[_0xa5ea('0x29')](handleEntityNotFound(_0x27aa99,null))[_0xa5ea('0x29')](saveUpdates(_0x224b9a[_0xa5ea('0x49')],null))[_0xa5ea('0x29')](respondWithResult(_0x27aa99,null))[_0xa5ea('0x43')](handleError(_0x27aa99,null));};exports[_0xa5ea('0x4a')]=function(_0x3a2413,_0x1fbe73){return db[_0xa5ea('0x2d')][_0xa5ea('0x47')]({'where':{'id':_0x3a2413['params']['id']}})[_0xa5ea('0x29')](handleEntityNotFound(_0x1fbe73,null))['then'](removeEntity(_0x1fbe73,null))[_0xa5ea('0x43')](handleError(_0x1fbe73,null));};exports[_0xa5ea('0x4b')]=function(_0x11ed4c,_0x3b3990){return db['ChatGroup'][_0xa5ea('0x4b')]()[_0xa5ea('0x29')](respondWithResult(_0x3b3990,null))['catch'](handleError(_0x3b3990,null));};exports['getUnread']=function(_0x3cf789,_0x40efae,_0x2ee4ae){return db[_0xa5ea('0x4c')][_0xa5ea('0x25')]({'where':{'ChatGroupId':_0x3cf789[_0xa5ea('0x45')]['id'],'ToId':_0x3cf789[_0xa5ea('0x4d')]['id'],'read':![]}})[_0xa5ea('0x29')](function(_0x398db0){return{'id':_[_0xa5ea('0x4e')](_0x3cf789[_0xa5ea('0x45')]['id']),'count':_0x398db0};})['then'](respondWithResult(_0x40efae,null))[_0xa5ea('0x43')](handleError(_0x40efae,null));};exports['addMembers']=function(_0xd9ea44,_0x141694,_0x20f8eb){return db[_0xa5ea('0x2d')][_0xa5ea('0x47')]({'where':{'id':_0xd9ea44[_0xa5ea('0x45')]['id']}})['then'](handleEntityNotFound(_0x141694,null))['then'](function(_0x5b9602){if(_0x5b9602){return _0x5b9602[_0xa5ea('0x4f')](_0xd9ea44['body']['ids'],_[_0xa5ea('0x50')](_0xd9ea44[_0xa5ea('0x49')],[_0xa5ea('0x51'),'id'])||{});}})['then'](respondWithResult(_0x141694,null))['catch'](handleError(_0x141694,null));};exports[_0xa5ea('0x52')]=function(_0x2579a9,_0x37a729,_0x1d45e2){var _0x53fd8e={};var _0x5b4346={};var _0x29c2b0;var _0x35529d;return db[_0xa5ea('0x2d')][_0xa5ea('0x53')]({'where':{'id':_0x2579a9[_0xa5ea('0x45')]['id']}})['then'](handleEntityNotFound(_0x37a729,null))[_0xa5ea('0x29')](function(_0x576610){if(_0x576610){_0x29c2b0=_0x576610;_0x5b4346[_0xa5ea('0x36')]=_[_0xa5ea('0x33')](db[_0xa5ea('0x54')][_0xa5ea('0x55')]);_0x5b4346['query']=_[_0xa5ea('0x33')](_0x2579a9[_0xa5ea('0x32')]);_0x5b4346['filters']=_['intersection'](_0x5b4346[_0xa5ea('0x36')],_0x5b4346[_0xa5ea('0x32')]);_0x53fd8e[_0xa5ea('0x37')]=_[_0xa5ea('0x35')](_0x5b4346[_0xa5ea('0x36')],qs['fields'](_0x2579a9[_0xa5ea('0x32')][_0xa5ea('0x38')]));_0x53fd8e['attributes']=_0x53fd8e['attributes']['length']?_0x53fd8e[_0xa5ea('0x37')]:_0x5b4346[_0xa5ea('0x36')];_0x53fd8e[_0xa5ea('0x3b')]=qs[_0xa5ea('0x56')](_0x2579a9[_0xa5ea('0x32')][_0xa5ea('0x56')]);_0x53fd8e[_0xa5ea('0x3d')]=qs[_0xa5ea('0x34')](_[_0xa5ea('0x3c')](_0x2579a9[_0xa5ea('0x32')],_0x5b4346[_0xa5ea('0x34')]));if(_0x2579a9[_0xa5ea('0x32')][_0xa5ea('0x3f')]){_0x53fd8e[_0xa5ea('0x3d')]=_['merge'](_0x53fd8e[_0xa5ea('0x3d')],{'$or':_[_0xa5ea('0x2c')](_0x53fd8e['attributes'],function(_0x2292b0){var _0x4d4606={};_0x4d4606[_0x2292b0]={'$like':'%'+_0x2579a9[_0xa5ea('0x32')]['filter']+'%'};return _0x4d4606;})});}_0x53fd8e=_[_0xa5ea('0x40')]({},_0x53fd8e,_0x2579a9['options']);return _0x29c2b0['getMembers'](_0x53fd8e);}})['then'](function(_0x22b7f3){if(_0x22b7f3){_0x35529d=_0x22b7f3[_0xa5ea('0x39')];if(!_0x2579a9[_0xa5ea('0x32')][_0xa5ea('0x3a')]('nolimit')){_0x53fd8e[_0xa5ea('0x24')]=qs[_0xa5ea('0x24')](_0x2579a9[_0xa5ea('0x32')][_0xa5ea('0x24')]);_0x53fd8e[_0xa5ea('0x22')]=qs[_0xa5ea('0x22')](_0x2579a9[_0xa5ea('0x32')][_0xa5ea('0x22')]);}return _0x29c2b0['getMembers'](_0x53fd8e);}})[_0xa5ea('0x29')](function(_0x228740){if(_0x228740){return _0x228740?{'count':_0x35529d,'rows':_0x228740}:null;}})[_0xa5ea('0x29')](respondWithResult(_0x37a729,null))[_0xa5ea('0x43')](handleError(_0x37a729,null));};exports[_0xa5ea('0x57')]=function(_0x953776,_0x129476,_0x502e88){return db[_0xa5ea('0x2d')][_0xa5ea('0x47')]({'where':{'id':_0x953776[_0xa5ea('0x45')]['id']}})[_0xa5ea('0x29')](handleEntityNotFound(_0x129476,null))[_0xa5ea('0x29')](function(_0x3dd386){if(_0x3dd386){return _0x3dd386[_0xa5ea('0x57')](_0x953776['query'][_0xa5ea('0x51')]);}})['then'](respondWithStatusCode(_0x129476,null))[_0xa5ea('0x43')](handleError(_0x129476,null));};exports[_0xa5ea('0x58')]=function(_0x24a4b7,_0x5ce416,_0x461d5c){if(_0x24a4b7['body']['id']){delete _0x24a4b7[_0xa5ea('0x49')]['id'];}return db['ChatGroup'][_0xa5ea('0x47')]({'where':{'id':_0x24a4b7[_0xa5ea('0x45')]['id']}})[_0xa5ea('0x29')](handleEntityNotFound(_0x5ce416,null))[_0xa5ea('0x29')](function(_0x542c9e){if(_0x542c9e){_0x24a4b7[_0xa5ea('0x49')][_0xa5ea('0x59')]=_0x542c9e['id'];return db[_0xa5ea('0x4c')]['create'](_0x24a4b7[_0xa5ea('0x49')]);}})[_0xa5ea('0x29')](respondWithResult(_0x5ce416,null))[_0xa5ea('0x43')](handleError(_0x5ce416,null));};exports[_0xa5ea('0x5a')]=function(_0x20c451,_0x39340d,_0x433bad){var _0x39404c={};var _0x58de3a={};var _0x449675;var _0x4d65a5;return db[_0xa5ea('0x2d')][_0xa5ea('0x53')]({'where':{'id':_0x20c451[_0xa5ea('0x45')]['id']}})[_0xa5ea('0x29')](handleEntityNotFound(_0x39340d,null))[_0xa5ea('0x29')](function(_0x2c7807){if(_0x2c7807){_0x449675=_0x2c7807;_0x58de3a['model']=_[_0xa5ea('0x33')](db[_0xa5ea('0x4c')]['rawAttributes']);_0x58de3a[_0xa5ea('0x32')]=_[_0xa5ea('0x33')](_0x20c451[_0xa5ea('0x32')]);_0x58de3a[_0xa5ea('0x34')]=_[_0xa5ea('0x35')](_0x58de3a['model'],_0x58de3a[_0xa5ea('0x32')]);_0x39404c['attributes']=_[_0xa5ea('0x35')](_0x58de3a[_0xa5ea('0x36')],qs[_0xa5ea('0x38')](_0x20c451[_0xa5ea('0x32')][_0xa5ea('0x38')]));_0x39404c[_0xa5ea('0x37')]=_0x39404c[_0xa5ea('0x37')][_0xa5ea('0x39')]?_0x39404c[_0xa5ea('0x37')]:_0x58de3a['model'];_0x39404c[_0xa5ea('0x3b')]=qs['sort'](_0x20c451['query'][_0xa5ea('0x56')]);_0x39404c['where']=qs[_0xa5ea('0x34')](_[_0xa5ea('0x3c')](_0x20c451[_0xa5ea('0x32')],_0x58de3a['filters']));if(_0x20c451[_0xa5ea('0x32')][_0xa5ea('0x3f')]){_0x39404c[_0xa5ea('0x3d')]=_[_0xa5ea('0x40')](_0x39404c[_0xa5ea('0x3d')],{'$or':_[_0xa5ea('0x2c')](_0x39404c[_0xa5ea('0x37')],function(_0x4b10ff){var _0x4136ab={};_0x4136ab[_0x4b10ff]={'$like':'%'+_0x20c451[_0xa5ea('0x32')]['filter']+'%'};return _0x4136ab;})});}if(_0x20c451[_0xa5ea('0x32')]['$gte']){var _0x36b357=_0x20c451[_0xa5ea('0x32')]['$gte']['split'](',');var _0x12fe04={};_0x12fe04[_0x36b357[0x0]]={'$gte':moment(_0x36b357[0x1])[_0xa5ea('0x5b')](_0xa5ea('0x5c'))};_0x39404c['where']=_[_0xa5ea('0x40')](_0x39404c[_0xa5ea('0x3d')],_0x12fe04);}_0x39404c=_[_0xa5ea('0x40')]({},_0x39404c,_0x20c451[_0xa5ea('0x5d')]);return _0x449675[_0xa5ea('0x5a')](_0x39404c);}})['then'](function(_0x1f25a1){if(_0x1f25a1){_0x4d65a5=_0x1f25a1[_0xa5ea('0x39')];if(!_0x20c451['query']['hasOwnProperty'](_0xa5ea('0x5e'))){_0x39404c['limit']=qs[_0xa5ea('0x24')](_0x20c451[_0xa5ea('0x32')][_0xa5ea('0x24')]);_0x39404c['offset']=qs['offset'](_0x20c451['query'][_0xa5ea('0x22')]);}return _0x449675[_0xa5ea('0x5a')](_0x39404c);}})[_0xa5ea('0x29')](function(_0xf57df2){if(_0xf57df2){return _0xf57df2?{'count':_0x4d65a5,'rows':_0xf57df2}:null;}})['then'](respondWithResult(_0x39340d,null))['catch'](handleError(_0x39340d,null));};
\ No newline at end of file
+var _0xd21d=['util','path','fs-extra','lodash','squel','crypto','jsforce','desk.js','to-csv','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','defaults','localhost','socket.io-emitter','redis','register','sendStatus','end','status','offset','undefined','limit','count','set','json','reject','save','update','then','destroy','error','stack','name','send','index','map','ChatGroup','rawAttributes','fieldName','key','filters','model','query','attributes','intersection','fields','length','hasOwnProperty','order','sort','pick','filter','where','merge','type','VIRTUAL','options','includeAll','include','findAll','catch','show','keys','find','create','body','params','describe','ChatInternalMessage','user','toInteger','addMembers','ids','omit','getMembers','findOne','User','nolimit','removeMembers','addMessage','ChatGroupId','getMessages','$gte','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache'];(function(_0x301cd1,_0x3e6c8c){var _0x17e16d=function(_0x1ff367){while(--_0x1ff367){_0x301cd1['push'](_0x301cd1['shift']());}};_0x17e16d(++_0x3e6c8c);}(_0xd21d,0xbb));var _0xdd21=function(_0x3654c5,_0x2f4ecd){_0x3654c5=_0x3654c5-0x0;var _0xf5f082=_0xd21d[_0x3654c5];return _0xf5f082;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0xdd21('0x0'));var zipdir=require(_0xdd21('0x1'));var jsonpatch=require(_0xdd21('0x2'));var rp=require(_0xdd21('0x3'));var moment=require(_0xdd21('0x4'));var BPromise=require(_0xdd21('0x5'));var Mustache=require(_0xdd21('0x6'));var util=require(_0xdd21('0x7'));var path=require(_0xdd21('0x8'));var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0xdd21('0x9'));var _=require(_0xdd21('0xa'));var squel=require(_0xdd21('0xb'));var crypto=require(_0xdd21('0xc'));var jsforce=require(_0xdd21('0xd'));var deskjs=require(_0xdd21('0xe'));var toCsv=require(_0xdd21('0xf'));var querystring=require('querystring');var Papa=require(_0xdd21('0x10'));var Redis=require(_0xdd21('0x11'));var authService=require(_0xdd21('0x12'));var qs=require(_0xdd21('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xdd21('0x14'));var logger=require(_0xdd21('0x15'))('api');var utils=require(_0xdd21('0x16'));var config=require(_0xdd21('0x17'));var licenseUtil=require(_0xdd21('0x18'));var db=require('../../mysqldb')['db'];config['redis']=_[_0xdd21('0x19')](config['redis'],{'host':_0xdd21('0x1a'),'port':0x18eb});var socket=require(_0xdd21('0x1b'))(new Redis(config[_0xdd21('0x1c')]));require('./chatGroup.socket')[_0xdd21('0x1d')](socket);function respondWithStatusCode(_0x4ef4f5,_0x27ec0b){_0x27ec0b=_0x27ec0b||0xcc;return function(_0x446e6e){if(_0x446e6e){return _0x4ef4f5[_0xdd21('0x1e')](_0x27ec0b);}return _0x4ef4f5['status'](_0x27ec0b)[_0xdd21('0x1f')]();};}function respondWithResult(_0x4814bc,_0x496afe){_0x496afe=_0x496afe||0xc8;return function(_0x5dee4f){if(_0x5dee4f){return _0x4814bc[_0xdd21('0x20')](_0x496afe)['json'](_0x5dee4f);}};}function respondWithFilteredResult(_0x4de542,_0x2317bc){return function(_0x38675e){if(_0x38675e){var _0xb7f209=typeof _0x2317bc[_0xdd21('0x21')]===_0xdd21('0x22')&&typeof _0x2317bc[_0xdd21('0x23')]===_0xdd21('0x22');var _0x386b6d=_0x38675e['count'];var _0x5c9e1a=_0xb7f209?0x0:_0x2317bc[_0xdd21('0x21')];var _0x20ec9a=_0xb7f209?_0x38675e[_0xdd21('0x24')]:_0x2317bc[_0xdd21('0x21')]+_0x2317bc[_0xdd21('0x23')];var _0x53f464;if(_0x20ec9a>=_0x386b6d){_0x20ec9a=_0x386b6d;_0x53f464=0xc8;}else{_0x53f464=0xce;}_0x4de542[_0xdd21('0x20')](_0x53f464);return _0x4de542[_0xdd21('0x25')]('Content-Range',_0x5c9e1a+'-'+_0x20ec9a+'/'+_0x386b6d)[_0xdd21('0x26')](_0x38675e);}return null;};}function patchUpdates(_0x385c47){return function(_0x5e2848){try{jsonpatch['apply'](_0x5e2848,_0x385c47,!![]);}catch(_0x8a696d){return BPromise[_0xdd21('0x27')](_0x8a696d);}return _0x5e2848[_0xdd21('0x28')]();};}function saveUpdates(_0x313189,_0xfd2ae5){return function(_0x1b6f9d){if(_0x1b6f9d){return _0x1b6f9d[_0xdd21('0x29')](_0x313189)[_0xdd21('0x2a')](function(_0x2551ec){return _0x2551ec;});}return null;};}function removeEntity(_0x4bd515,_0x36b85c){return function(_0xb0c5f0){if(_0xb0c5f0){return _0xb0c5f0[_0xdd21('0x2b')]()[_0xdd21('0x2a')](function(){_0x4bd515[_0xdd21('0x20')](0xcc)[_0xdd21('0x1f')]();});}};}function handleEntityNotFound(_0x1e2cea,_0x4ef2f5){return function(_0x291199){if(!_0x291199){_0x1e2cea[_0xdd21('0x1e')](0x194);}return _0x291199;};}function handleError(_0x59af77,_0x4964b7){_0x4964b7=_0x4964b7||0x1f4;return function(_0x42537d){logger[_0xdd21('0x2c')](_0x42537d[_0xdd21('0x2d')]);if(_0x42537d[_0xdd21('0x2e')]){delete _0x42537d[_0xdd21('0x2e')];}_0x59af77[_0xdd21('0x20')](_0x4964b7)[_0xdd21('0x2f')](_0x42537d);};}exports[_0xdd21('0x30')]=function(_0x48e3d5,_0x1d7966){var _0x391299={},_0x46cfe8={},_0x56bbbf={'count':0x0,'rows':[]};var _0x5b0b51=_[_0xdd21('0x31')](db[_0xdd21('0x32')][_0xdd21('0x33')],function(_0x2ed653){return{'name':_0x2ed653[_0xdd21('0x34')],'type':_0x2ed653['type'][_0xdd21('0x35')]};});_0x46cfe8['model']=_['map'](_0x5b0b51,_0xdd21('0x2e'));_0x46cfe8['query']=_['keys'](_0x48e3d5['query']);_0x46cfe8[_0xdd21('0x36')]=_['intersection'](_0x46cfe8[_0xdd21('0x37')],_0x46cfe8[_0xdd21('0x38')]);_0x391299[_0xdd21('0x39')]=_[_0xdd21('0x3a')](_0x46cfe8['model'],qs[_0xdd21('0x3b')](_0x48e3d5[_0xdd21('0x38')][_0xdd21('0x3b')]));_0x391299['attributes']=_0x391299['attributes'][_0xdd21('0x3c')]?_0x391299[_0xdd21('0x39')]:_0x46cfe8[_0xdd21('0x37')];if(!_0x48e3d5['query'][_0xdd21('0x3d')]('nolimit')){_0x391299[_0xdd21('0x23')]=qs[_0xdd21('0x23')](_0x48e3d5[_0xdd21('0x38')][_0xdd21('0x23')]);_0x391299[_0xdd21('0x21')]=qs[_0xdd21('0x21')](_0x48e3d5[_0xdd21('0x38')][_0xdd21('0x21')]);}_0x391299[_0xdd21('0x3e')]=qs['sort'](_0x48e3d5['query'][_0xdd21('0x3f')]);_0x391299['where']=qs[_0xdd21('0x36')](_[_0xdd21('0x40')](_0x48e3d5[_0xdd21('0x38')],_0x46cfe8[_0xdd21('0x36')]),_0x5b0b51);if(_0x48e3d5[_0xdd21('0x38')][_0xdd21('0x41')]){_0x391299[_0xdd21('0x42')]=_[_0xdd21('0x43')](_0x391299[_0xdd21('0x42')],{'$or':_[_0xdd21('0x31')](_0x5b0b51,function(_0xee9bf2){if(_0xee9bf2[_0xdd21('0x44')]!==_0xdd21('0x45')){var _0x62e6c0={};_0x62e6c0[_0xee9bf2['name']]={'$like':'%'+_0x48e3d5['query'][_0xdd21('0x41')]+'%'};return _0x62e6c0;}})});}_0x391299=_[_0xdd21('0x43')]({},_0x391299,_0x48e3d5[_0xdd21('0x46')]);var _0x4c9ee2={'where':_0x391299[_0xdd21('0x42')]};return db['ChatGroup'][_0xdd21('0x24')](_0x4c9ee2)[_0xdd21('0x2a')](function(_0x5eb8d9){_0x56bbbf[_0xdd21('0x24')]=_0x5eb8d9;if(_0x48e3d5[_0xdd21('0x38')][_0xdd21('0x47')]){_0x391299[_0xdd21('0x48')]=[{'all':!![]}];}return db['ChatGroup'][_0xdd21('0x49')](_0x391299);})['then'](function(_0x503ffd){_0x56bbbf['rows']=_0x503ffd;return _0x56bbbf;})['then'](respondWithFilteredResult(_0x1d7966,_0x391299))[_0xdd21('0x4a')](handleError(_0x1d7966,null));};exports[_0xdd21('0x4b')]=function(_0x4de562,_0x9a980a){var _0x517d94={'raw':!![],'where':{'id':_0x4de562['params']['id']}},_0x50cf3a={};_0x50cf3a['model']=_[_0xdd21('0x4c')](db[_0xdd21('0x32')]['rawAttributes']);_0x50cf3a['query']=_[_0xdd21('0x4c')](_0x4de562[_0xdd21('0x38')]);_0x50cf3a['filters']=_[_0xdd21('0x3a')](_0x50cf3a[_0xdd21('0x37')],_0x50cf3a['query']);_0x517d94[_0xdd21('0x39')]=_[_0xdd21('0x3a')](_0x50cf3a['model'],qs[_0xdd21('0x3b')](_0x4de562[_0xdd21('0x38')][_0xdd21('0x3b')]));_0x517d94['attributes']=_0x517d94[_0xdd21('0x39')][_0xdd21('0x3c')]?_0x517d94[_0xdd21('0x39')]:_0x50cf3a[_0xdd21('0x37')];if(_0x4de562[_0xdd21('0x38')][_0xdd21('0x47')]){_0x517d94[_0xdd21('0x48')]=[{'all':!![]}];}_0x517d94=_[_0xdd21('0x43')]({},_0x517d94,_0x4de562[_0xdd21('0x46')]);return db[_0xdd21('0x32')][_0xdd21('0x4d')](_0x517d94)[_0xdd21('0x2a')](handleEntityNotFound(_0x9a980a,null))[_0xdd21('0x2a')](respondWithResult(_0x9a980a,null))[_0xdd21('0x4a')](handleError(_0x9a980a,null));};exports['create']=function(_0x1ff538,_0x651bf1){return db[_0xdd21('0x32')][_0xdd21('0x4e')](_0x1ff538[_0xdd21('0x4f')],{})[_0xdd21('0x2a')](respondWithResult(_0x651bf1,0xc9))[_0xdd21('0x4a')](handleError(_0x651bf1,null));};exports[_0xdd21('0x29')]=function(_0x3abc8f,_0x54af9b){if(_0x3abc8f[_0xdd21('0x4f')]['id']){delete _0x3abc8f[_0xdd21('0x4f')]['id'];}return db[_0xdd21('0x32')][_0xdd21('0x4d')]({'where':{'id':_0x3abc8f[_0xdd21('0x50')]['id']}})[_0xdd21('0x2a')](handleEntityNotFound(_0x54af9b,null))['then'](saveUpdates(_0x3abc8f[_0xdd21('0x4f')],null))[_0xdd21('0x2a')](respondWithResult(_0x54af9b,null))[_0xdd21('0x4a')](handleError(_0x54af9b,null));};exports[_0xdd21('0x2b')]=function(_0x35a340,_0xce4324){return db[_0xdd21('0x32')]['find']({'where':{'id':_0x35a340[_0xdd21('0x50')]['id']}})[_0xdd21('0x2a')](handleEntityNotFound(_0xce4324,null))[_0xdd21('0x2a')](removeEntity(_0xce4324,null))[_0xdd21('0x4a')](handleError(_0xce4324,null));};exports[_0xdd21('0x51')]=function(_0x59ab86,_0x72e2e3){return db[_0xdd21('0x32')][_0xdd21('0x51')]()['then'](respondWithResult(_0x72e2e3,null))[_0xdd21('0x4a')](handleError(_0x72e2e3,null));};exports['getUnread']=function(_0x42c8f1,_0x10e8d0,_0x330dde){return db[_0xdd21('0x52')][_0xdd21('0x24')]({'where':{'ChatGroupId':_0x42c8f1[_0xdd21('0x50')]['id'],'ToId':_0x42c8f1[_0xdd21('0x53')]['id'],'read':![]}})[_0xdd21('0x2a')](function(_0x41f1ed){return{'id':_[_0xdd21('0x54')](_0x42c8f1[_0xdd21('0x50')]['id']),'count':_0x41f1ed};})[_0xdd21('0x2a')](respondWithResult(_0x10e8d0,null))[_0xdd21('0x4a')](handleError(_0x10e8d0,null));};exports['addMembers']=function(_0x1580c3,_0x279dcf,_0x5de9ee){return db[_0xdd21('0x32')][_0xdd21('0x4d')]({'where':{'id':_0x1580c3[_0xdd21('0x50')]['id']}})[_0xdd21('0x2a')](handleEntityNotFound(_0x279dcf,null))[_0xdd21('0x2a')](function(_0x1bed62){if(_0x1bed62){return _0x1bed62[_0xdd21('0x55')](_0x1580c3[_0xdd21('0x4f')][_0xdd21('0x56')],_[_0xdd21('0x57')](_0x1580c3[_0xdd21('0x4f')],['ids','id'])||{});}})[_0xdd21('0x2a')](respondWithResult(_0x279dcf,null))[_0xdd21('0x4a')](handleError(_0x279dcf,null));};exports[_0xdd21('0x58')]=function(_0x2c108e,_0xd296fd,_0x2ec68c){var _0x59d61e={};var _0x1aa44e={};var _0x1a004c;var _0x5864d0;return db['ChatGroup'][_0xdd21('0x59')]({'where':{'id':_0x2c108e['params']['id']}})[_0xdd21('0x2a')](handleEntityNotFound(_0xd296fd,null))[_0xdd21('0x2a')](function(_0x717c4f){if(_0x717c4f){_0x1a004c=_0x717c4f;_0x1aa44e[_0xdd21('0x37')]=_['keys'](db[_0xdd21('0x5a')][_0xdd21('0x33')]);_0x1aa44e['query']=_[_0xdd21('0x4c')](_0x2c108e[_0xdd21('0x38')]);_0x1aa44e[_0xdd21('0x36')]=_[_0xdd21('0x3a')](_0x1aa44e[_0xdd21('0x37')],_0x1aa44e[_0xdd21('0x38')]);_0x59d61e[_0xdd21('0x39')]=_[_0xdd21('0x3a')](_0x1aa44e[_0xdd21('0x37')],qs[_0xdd21('0x3b')](_0x2c108e[_0xdd21('0x38')]['fields']));_0x59d61e[_0xdd21('0x39')]=_0x59d61e['attributes'][_0xdd21('0x3c')]?_0x59d61e[_0xdd21('0x39')]:_0x1aa44e[_0xdd21('0x37')];_0x59d61e['order']=qs[_0xdd21('0x3f')](_0x2c108e[_0xdd21('0x38')][_0xdd21('0x3f')]);_0x59d61e['where']=qs['filters'](_[_0xdd21('0x40')](_0x2c108e['query'],_0x1aa44e[_0xdd21('0x36')]));if(_0x2c108e[_0xdd21('0x38')][_0xdd21('0x41')]){_0x59d61e[_0xdd21('0x42')]=_[_0xdd21('0x43')](_0x59d61e[_0xdd21('0x42')],{'$or':_[_0xdd21('0x31')](_0x59d61e[_0xdd21('0x39')],function(_0x311bf5){var _0x3bd956={};_0x3bd956[_0x311bf5]={'$like':'%'+_0x2c108e[_0xdd21('0x38')]['filter']+'%'};return _0x3bd956;})});}_0x59d61e=_[_0xdd21('0x43')]({},_0x59d61e,_0x2c108e[_0xdd21('0x46')]);return _0x1a004c[_0xdd21('0x58')](_0x59d61e);}})[_0xdd21('0x2a')](function(_0x169740){if(_0x169740){_0x5864d0=_0x169740[_0xdd21('0x3c')];if(!_0x2c108e[_0xdd21('0x38')][_0xdd21('0x3d')](_0xdd21('0x5b'))){_0x59d61e[_0xdd21('0x23')]=qs['limit'](_0x2c108e['query'][_0xdd21('0x23')]);_0x59d61e[_0xdd21('0x21')]=qs[_0xdd21('0x21')](_0x2c108e[_0xdd21('0x38')][_0xdd21('0x21')]);}return _0x1a004c[_0xdd21('0x58')](_0x59d61e);}})['then'](function(_0x3c6dd7){if(_0x3c6dd7){return _0x3c6dd7?{'count':_0x5864d0,'rows':_0x3c6dd7}:null;}})[_0xdd21('0x2a')](respondWithResult(_0xd296fd,null))[_0xdd21('0x4a')](handleError(_0xd296fd,null));};exports[_0xdd21('0x5c')]=function(_0x374b37,_0x59480e,_0x2d7d37){return db[_0xdd21('0x32')]['find']({'where':{'id':_0x374b37[_0xdd21('0x50')]['id']}})[_0xdd21('0x2a')](handleEntityNotFound(_0x59480e,null))['then'](function(_0xc08ddb){if(_0xc08ddb){return _0xc08ddb['removeMembers'](_0x374b37['query'][_0xdd21('0x56')]);}})[_0xdd21('0x2a')](respondWithStatusCode(_0x59480e,null))[_0xdd21('0x4a')](handleError(_0x59480e,null));};exports[_0xdd21('0x5d')]=function(_0x1b6ec1,_0x6dc852,_0x499f01){if(_0x1b6ec1[_0xdd21('0x4f')]['id']){delete _0x1b6ec1[_0xdd21('0x4f')]['id'];}return db[_0xdd21('0x32')][_0xdd21('0x4d')]({'where':{'id':_0x1b6ec1[_0xdd21('0x50')]['id']}})['then'](handleEntityNotFound(_0x6dc852,null))[_0xdd21('0x2a')](function(_0x1967fb){if(_0x1967fb){_0x1b6ec1[_0xdd21('0x4f')][_0xdd21('0x5e')]=_0x1967fb['id'];return db[_0xdd21('0x52')][_0xdd21('0x4e')](_0x1b6ec1[_0xdd21('0x4f')]);}})[_0xdd21('0x2a')](respondWithResult(_0x6dc852,null))[_0xdd21('0x4a')](handleError(_0x6dc852,null));};exports[_0xdd21('0x5f')]=function(_0x1471e4,_0x538256,_0x1b6bbf){var _0x3316ea={};var _0x156635={};var _0x2369c1;var _0x5dd270;return db[_0xdd21('0x32')]['findOne']({'where':{'id':_0x1471e4[_0xdd21('0x50')]['id']}})[_0xdd21('0x2a')](handleEntityNotFound(_0x538256,null))['then'](function(_0x5016a7){if(_0x5016a7){_0x2369c1=_0x5016a7;_0x156635[_0xdd21('0x37')]=_['keys'](db[_0xdd21('0x52')][_0xdd21('0x33')]);_0x156635['query']=_[_0xdd21('0x4c')](_0x1471e4['query']);_0x156635[_0xdd21('0x36')]=_[_0xdd21('0x3a')](_0x156635[_0xdd21('0x37')],_0x156635[_0xdd21('0x38')]);_0x3316ea[_0xdd21('0x39')]=_[_0xdd21('0x3a')](_0x156635[_0xdd21('0x37')],qs[_0xdd21('0x3b')](_0x1471e4[_0xdd21('0x38')][_0xdd21('0x3b')]));_0x3316ea['attributes']=_0x3316ea[_0xdd21('0x39')]['length']?_0x3316ea[_0xdd21('0x39')]:_0x156635[_0xdd21('0x37')];_0x3316ea[_0xdd21('0x3e')]=qs['sort'](_0x1471e4['query'][_0xdd21('0x3f')]);_0x3316ea[_0xdd21('0x42')]=qs[_0xdd21('0x36')](_[_0xdd21('0x40')](_0x1471e4[_0xdd21('0x38')],_0x156635[_0xdd21('0x36')]));if(_0x1471e4[_0xdd21('0x38')][_0xdd21('0x41')]){_0x3316ea['where']=_[_0xdd21('0x43')](_0x3316ea[_0xdd21('0x42')],{'$or':_[_0xdd21('0x31')](_0x3316ea[_0xdd21('0x39')],function(_0x59357e){var _0x30e522={};_0x30e522[_0x59357e]={'$like':'%'+_0x1471e4[_0xdd21('0x38')][_0xdd21('0x41')]+'%'};return _0x30e522;})});}if(_0x1471e4[_0xdd21('0x38')][_0xdd21('0x60')]){var _0x1970a8=_0x1471e4[_0xdd21('0x38')][_0xdd21('0x60')]['split'](',');var _0x1f51cc={};_0x1f51cc[_0x1970a8[0x0]]={'$gte':moment(_0x1970a8[0x1])['format']('YYYY-MM-DD\x20HH:mm:ss')};_0x3316ea[_0xdd21('0x42')]=_[_0xdd21('0x43')](_0x3316ea[_0xdd21('0x42')],_0x1f51cc);}_0x3316ea=_[_0xdd21('0x43')]({},_0x3316ea,_0x1471e4['options']);return _0x2369c1[_0xdd21('0x5f')](_0x3316ea);}})['then'](function(_0x4bc012){if(_0x4bc012){_0x5dd270=_0x4bc012[_0xdd21('0x3c')];if(!_0x1471e4[_0xdd21('0x38')][_0xdd21('0x3d')]('nolimit')){_0x3316ea['limit']=qs[_0xdd21('0x23')](_0x1471e4[_0xdd21('0x38')][_0xdd21('0x23')]);_0x3316ea['offset']=qs[_0xdd21('0x21')](_0x1471e4[_0xdd21('0x38')][_0xdd21('0x21')]);}return _0x2369c1[_0xdd21('0x5f')](_0x3316ea);}})[_0xdd21('0x2a')](function(_0x9d1ea5){if(_0x9d1ea5){return _0x9d1ea5?{'count':_0x5dd270,'rows':_0x9d1ea5}:null;}})[_0xdd21('0x2a')](respondWithResult(_0x538256,null))[_0xdd21('0x4a')](handleError(_0x538256,null));};
\ No newline at end of file
diff --git a/server/api/chatGroup/chatGroup.events.js b/server/api/chatGroup/chatGroup.events.js
index 0fa396d..adfca8b 100644
--- a/server/api/chatGroup/chatGroup.events.js
+++ b/server/api/chatGroup/chatGroup.events.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xd386=['ChatGroup','save','update','emit','hasOwnProperty','hook','exports','events','../../mysqldb'];(function(_0x55a3a1,_0x161acf){var _0x39510b=function(_0x2afd7c){while(--_0x2afd7c){_0x55a3a1['push'](_0x55a3a1['shift']());}};_0x39510b(++_0x161acf);}(_0xd386,0x10c));var _0x6d38=function(_0x8e8f89,_0x4254f3){_0x8e8f89=_0x8e8f89-0x0;var _0x151938=_0xd386[_0x8e8f89];return _0x151938;};'use strict';var EventEmitter=require(_0x6d38('0x0'));var ChatGroup=require(_0x6d38('0x1'))['db'][_0x6d38('0x2')];var ChatGroupEvents=new EventEmitter();ChatGroupEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x6d38('0x3'),'afterUpdate':_0x6d38('0x4'),'afterDestroy':'remove'};function emitEvent(_0x1ce7c5){return function(_0x21b7ee,_0x97f669,_0xa6b2b3){ChatGroupEvents['emit'](_0x1ce7c5+':'+_0x21b7ee['id'],_0x21b7ee);ChatGroupEvents[_0x6d38('0x5')](_0x1ce7c5,_0x21b7ee);_0xa6b2b3(null);};}for(var e in events){if(events[_0x6d38('0x6')](e)){var event=events[e];ChatGroup[_0x6d38('0x7')](e,emitEvent(event));}}module[_0x6d38('0x8')]=ChatGroupEvents;
\ No newline at end of file
+var _0x3a26=['events','setMaxListeners','save','update','remove','emit','hasOwnProperty','hook','exports'];(function(_0xa9d6ec,_0x3090d3){var _0x40089a=function(_0x25e929){while(--_0x25e929){_0xa9d6ec['push'](_0xa9d6ec['shift']());}};_0x40089a(++_0x3090d3);}(_0x3a26,0x129));var _0x63a2=function(_0x66ce89,_0x61d36a){_0x66ce89=_0x66ce89-0x0;var _0x448684=_0x3a26[_0x66ce89];return _0x448684;};'use strict';var EventEmitter=require(_0x63a2('0x0'));var ChatGroup=require('../../mysqldb')['db']['ChatGroup'];var ChatGroupEvents=new EventEmitter();ChatGroupEvents[_0x63a2('0x1')](0x0);var events={'afterCreate':_0x63a2('0x2'),'afterUpdate':_0x63a2('0x3'),'afterDestroy':_0x63a2('0x4')};function emitEvent(_0x399cf0){return function(_0x52d368,_0x1d2898,_0x178f68){ChatGroupEvents[_0x63a2('0x5')](_0x399cf0+':'+_0x52d368['id'],_0x52d368);ChatGroupEvents['emit'](_0x399cf0,_0x52d368);_0x178f68(null);};}for(var e in events){if(events[_0x63a2('0x6')](e)){var event=events[e];ChatGroup[_0x63a2('0x7')](e,emitEvent(event));}}module[_0x63a2('0x8')]=ChatGroupEvents;
\ No newline at end of file
diff --git a/server/api/chatGroup/chatGroup.model.js b/server/api/chatGroup/chatGroup.model.js
index 42cc7a9..adee575 100644
--- a/server/api/chatGroup/chatGroup.model.js
+++ b/server/api/chatGroup/chatGroup.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xa0d6=['exports','ChatGroup','chat_groups','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./chatGroup.attributes'];(function(_0x1d24eb,_0x12295b){var _0x1dc576=function(_0x4d5770){while(--_0x4d5770){_0x1d24eb['push'](_0x1d24eb['shift']());}};_0x1dc576(++_0x12295b);}(_0xa0d6,0x158));var _0x6a0d=function(_0x2498bf,_0x2f1ec5){_0x2498bf=_0x2498bf-0x0;var _0x3a9d87=_0xa0d6[_0x2498bf];return _0x3a9d87;};'use strict';var _=require('lodash');var util=require(_0x6a0d('0x0'));var logger=require(_0x6a0d('0x1'))(_0x6a0d('0x2'));var moment=require(_0x6a0d('0x3'));var BPromise=require(_0x6a0d('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x6a0d('0x5'));var config=require(_0x6a0d('0x6'));var attributes=require(_0x6a0d('0x7'));module[_0x6a0d('0x8')]=function(_0x293dc2,_0x31c438){return _0x293dc2['define'](_0x6a0d('0x9'),attributes,{'tableName':_0x6a0d('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x1239=['../../config/environment','./chatGroup.attributes','exports','define','ChatGroup','chat_groups','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x1964de,_0x8f0142){var _0xb37020=function(_0x32549c){while(--_0x32549c){_0x1964de['push'](_0x1964de['shift']());}};_0xb37020(++_0x8f0142);}(_0x1239,0x1b8));var _0x9123=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x1239[_0x2dafbe];return _0x58a45a;};'use strict';var _=require(_0x9123('0x0'));var util=require(_0x9123('0x1'));var logger=require(_0x9123('0x2'))(_0x9123('0x3'));var moment=require(_0x9123('0x4'));var BPromise=require(_0x9123('0x5'));var rp=require(_0x9123('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9123('0x7'));var config=require(_0x9123('0x8'));var attributes=require(_0x9123('0x9'));module[_0x9123('0xa')]=function(_0x12487d,_0x2cc5c5){return _0x12487d[_0x9123('0xb')](_0x9123('0xc'),attributes,{'tableName':_0x9123('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/chatGroup/chatGroup.rpc.js b/server/api/chatGroup/chatGroup.rpc.js
index 1f0e308..54d522b 100644
--- a/server/api/chatGroup/chatGroup.rpc.js
+++ b/server/api/chatGroup/chatGroup.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x09f4=['defaults','localhost','socket.io-emitter','./chatGroup.socket','register','request','then','info','debug','ChatGroup,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','ChatGroup,\x20%s,\x20%s','message','catch','util','moment','randomstring','ioredis','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','redis'];(function(_0xf529ba,_0x47f543){var _0xe7e86e=function(_0x14c828){while(--_0x14c828){_0xf529ba['push'](_0xf529ba['shift']());}};_0xe7e86e(++_0x47f543);}(_0x09f4,0x1a5));var _0x409f=function(_0xc5caf7,_0xc6d31b){_0xc5caf7=_0xc5caf7-0x0;var _0x509351=_0x09f4[_0xc5caf7];return _0x509351;};'use strict';var _=require('lodash');var util=require(_0x409f('0x0'));var moment=require(_0x409f('0x1'));var BPromise=require('bluebird');var rs=require(_0x409f('0x2'));var fs=require('fs');var Redis=require(_0x409f('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x409f('0x4'));var logger=require(_0x409f('0x5'))('rpc');var config=require(_0x409f('0x6'));var jayson=require(_0x409f('0x7'));var client=jayson[_0x409f('0x8')][_0x409f('0x9')]({'port':0x232a});config[_0x409f('0xa')]=_[_0x409f('0xb')](config[_0x409f('0xa')],{'host':_0x409f('0xc'),'port':0x18eb});var socket=require(_0x409f('0xd'))(new Redis(config[_0x409f('0xa')]));require(_0x409f('0xe'))[_0x409f('0xf')](socket);function respondWithRpcPromise(_0x183ffd,_0x36dd4d,_0x2bc350){return new BPromise(function(_0x18fb4f,_0x195c3c){return client[_0x409f('0x10')](_0x183ffd,_0x2bc350)[_0x409f('0x11')](function(_0x22dac7){logger[_0x409f('0x12')]('ChatGroup,\x20%s,\x20%s',_0x36dd4d,'request\x20sent');logger[_0x409f('0x13')](_0x409f('0x14'),_0x36dd4d,_0x409f('0x15'),JSON[_0x409f('0x16')](_0x22dac7));if(_0x22dac7[_0x409f('0x17')]){if(_0x22dac7['error']['code']===0x1f4){logger[_0x409f('0x17')](_0x409f('0x18'),_0x36dd4d,_0x22dac7['error'][_0x409f('0x19')]);return _0x195c3c(_0x22dac7[_0x409f('0x17')][_0x409f('0x19')]);}logger[_0x409f('0x17')](_0x409f('0x18'),_0x36dd4d,_0x22dac7['error'][_0x409f('0x19')]);return _0x18fb4f(_0x22dac7[_0x409f('0x17')][_0x409f('0x19')]);}else{logger['info'](_0x409f('0x18'),_0x36dd4d,_0x409f('0x15'));_0x18fb4f(_0x22dac7['result'][_0x409f('0x19')]);}})[_0x409f('0x1a')](function(_0x185391){logger['error']('ChatGroup,\x20%s,\x20%s',_0x36dd4d,_0x185391);_0x195c3c(_0x185391);});});}
\ No newline at end of file
+var _0xf849=['../../mysqldb','../../config/environment','http','redis','socket.io-emitter','./chatGroup.socket','register','request','then','info','ChatGroup,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','catch','lodash','util','moment','randomstring','ioredis'];(function(_0x2c2d74,_0x4c7d1e){var _0x425177=function(_0x4c9bf7){while(--_0x4c9bf7){_0x2c2d74['push'](_0x2c2d74['shift']());}};_0x425177(++_0x4c7d1e);}(_0xf849,0x193));var _0x9f84=function(_0x522e32,_0x440e6d){_0x522e32=_0x522e32-0x0;var _0x216842=_0xf849[_0x522e32];return _0x216842;};'use strict';var _=require(_0x9f84('0x0'));var util=require(_0x9f84('0x1'));var moment=require(_0x9f84('0x2'));var BPromise=require('bluebird');var rs=require(_0x9f84('0x3'));var fs=require('fs');var Redis=require(_0x9f84('0x4'));var db=require(_0x9f84('0x5'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')('rpc');var config=require(_0x9f84('0x6'));var jayson=require('jayson/promise');var client=jayson['client'][_0x9f84('0x7')]({'port':0x232a});config['redis']=_['defaults'](config[_0x9f84('0x8')],{'host':'localhost','port':0x18eb});var socket=require(_0x9f84('0x9'))(new Redis(config[_0x9f84('0x8')]));require(_0x9f84('0xa'))[_0x9f84('0xb')](socket);function respondWithRpcPromise(_0xe8d4d7,_0x3c1c39,_0x327f10){return new BPromise(function(_0xf32072,_0x4a4c2){return client[_0x9f84('0xc')](_0xe8d4d7,_0x327f10)[_0x9f84('0xd')](function(_0xd3abfa){logger[_0x9f84('0xe')](_0x9f84('0xf'),_0x3c1c39,_0x9f84('0x10'));logger[_0x9f84('0x11')]('ChatGroup,\x20%s,\x20%s,\x20%s',_0x3c1c39,_0x9f84('0x10'),JSON[_0x9f84('0x12')](_0xd3abfa));if(_0xd3abfa[_0x9f84('0x13')]){if(_0xd3abfa[_0x9f84('0x13')][_0x9f84('0x14')]===0x1f4){logger['error'](_0x9f84('0xf'),_0x3c1c39,_0xd3abfa[_0x9f84('0x13')]['message']);return _0x4a4c2(_0xd3abfa['error'][_0x9f84('0x15')]);}logger[_0x9f84('0x13')](_0x9f84('0xf'),_0x3c1c39,_0xd3abfa[_0x9f84('0x13')][_0x9f84('0x15')]);return _0xf32072(_0xd3abfa['error'][_0x9f84('0x15')]);}else{logger[_0x9f84('0xe')]('ChatGroup,\x20%s,\x20%s',_0x3c1c39,_0x9f84('0x10'));_0xf32072(_0xd3abfa[_0x9f84('0x16')]['message']);}})[_0x9f84('0x17')](function(_0x5610d4){logger['error'](_0x9f84('0xf'),_0x3c1c39,_0x5610d4);_0x4a4c2(_0x5610d4);});});}
\ No newline at end of file
diff --git a/server/api/chatGroup/chatGroup.socket.js b/server/api/chatGroup/chatGroup.socket.js
index 1de9d63..91f8faf 100644
--- a/server/api/chatGroup/chatGroup.socket.js
+++ b/server/api/chatGroup/chatGroup.socket.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xc65f=['./chatGroup.events','save','remove','update','emit','register','chatGroup:'];(function(_0x4e1150,_0x37b833){var _0x53c04f=function(_0x1d59bf){while(--_0x1d59bf){_0x4e1150['push'](_0x4e1150['shift']());}};_0x53c04f(++_0x37b833);}(_0xc65f,0xf5));var _0xfc65=function(_0x1bd7d6,_0x3d6fd0){_0x1bd7d6=_0x1bd7d6-0x0;var _0x201e68=_0xc65f[_0x1bd7d6];return _0x201e68;};'use strict';var ChatGroupEvents=require(_0xfc65('0x0'));var events=[_0xfc65('0x1'),_0xfc65('0x2'),_0xfc65('0x3')];function createListener(_0x4b62c6,_0x2813ab){return function(_0x13b12e){_0x2813ab[_0xfc65('0x4')](_0x4b62c6,_0x13b12e);};}function removeListener(_0x4c6f0f,_0x2a663c){return function(){ChatGroupEvents['removeListener'](_0x4c6f0f,_0x2a663c);};}exports[_0xfc65('0x5')]=function(_0x486e89){for(var _0x21a8c7=0x0,_0x24074b=events['length'];_0x21a8c7<_0x24074b;_0x21a8c7++){var _0x250a48=events[_0x21a8c7];var _0xf88c11=createListener(_0xfc65('0x6')+_0x250a48,_0x486e89);ChatGroupEvents['on'](_0x250a48,_0xf88c11);}};
\ No newline at end of file
+var _0x66e8=['removeListener','register','length','chatGroup:','./chatGroup.events','save','update','emit'];(function(_0x541f41,_0x543d62){var _0x1fc12b=function(_0xec20ae){while(--_0xec20ae){_0x541f41['push'](_0x541f41['shift']());}};_0x1fc12b(++_0x543d62);}(_0x66e8,0xa4));var _0x866e=function(_0xc5c653,_0x4c86f1){_0xc5c653=_0xc5c653-0x0;var _0x5da819=_0x66e8[_0xc5c653];return _0x5da819;};'use strict';var ChatGroupEvents=require(_0x866e('0x0'));var events=[_0x866e('0x1'),'remove',_0x866e('0x2')];function createListener(_0x6d033,_0x4e1190){return function(_0x1b4778){_0x4e1190[_0x866e('0x3')](_0x6d033,_0x1b4778);};}function removeListener(_0x2c24b5,_0xd38be7){return function(){ChatGroupEvents[_0x866e('0x4')](_0x2c24b5,_0xd38be7);};}exports[_0x866e('0x5')]=function(_0xec9b67){for(var _0x9abd25=0x0,_0x36a566=events[_0x866e('0x6')];_0x9abd25<_0x36a566;_0x9abd25++){var _0x1e6da8=events[_0x9abd25];var _0x3a5af9=createListener(_0x866e('0x7')+_0x1e6da8,_0xec9b67);ChatGroupEvents['on'](_0x1e6da8,_0x3a5af9);}};
\ No newline at end of file
diff --git a/server/api/chatGroup/index.js b/server/api/chatGroup/index.js
index 11c9bcb..f71f958 100644
--- a/server/api/chatGroup/index.js
+++ b/server/api/chatGroup/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xdad7=['./chatGroup.controller','isAuthenticated','describe','get','/:id','show','/:id/unread','getUnread','getMembers','getMessages','post','create','/:id/members','/:id/messages','addMessage','update','delete','destroy','removeMembers','multer','util','path','express','Router','../../components/auth/service','../../config/environment'];(function(_0x59a1a0,_0x45d4a8){var _0x442238=function(_0x48f6e5){while(--_0x48f6e5){_0x59a1a0['push'](_0x59a1a0['shift']());}};_0x442238(++_0x45d4a8);}(_0xdad7,0x117));var _0x7dad=function(_0x47a7d0,_0x4e182d){_0x47a7d0=_0x47a7d0-0x0;var _0xb9bd08=_0xdad7[_0x47a7d0];return _0xb9bd08;};'use strict';var multer=require(_0x7dad('0x0'));var util=require(_0x7dad('0x1'));var path=require(_0x7dad('0x2'));var timeout=require('connect-timeout');var express=require(_0x7dad('0x3'));var router=express[_0x7dad('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x7dad('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x7dad('0x6'));var controller=require(_0x7dad('0x7'));router['get']('/',auth[_0x7dad('0x8')](),controller['index']);router['get']('/describe',auth['isAuthenticated'](),controller[_0x7dad('0x9')]);router[_0x7dad('0xa')](_0x7dad('0xb'),auth[_0x7dad('0x8')](),controller[_0x7dad('0xc')]);router[_0x7dad('0xa')](_0x7dad('0xd'),auth['isAuthenticated'](),controller[_0x7dad('0xe')]);router['get']('/:id/members',auth[_0x7dad('0x8')](),controller[_0x7dad('0xf')]);router['get']('/:id/messages',auth[_0x7dad('0x8')](),controller[_0x7dad('0x10')]);router[_0x7dad('0x11')]('/',auth[_0x7dad('0x8')](),controller[_0x7dad('0x12')]);router[_0x7dad('0x11')](_0x7dad('0x13'),auth[_0x7dad('0x8')](),controller['addMembers']);router[_0x7dad('0x11')](_0x7dad('0x14'),auth[_0x7dad('0x8')](),controller[_0x7dad('0x15')]);router['put'](_0x7dad('0xb'),auth[_0x7dad('0x8')](),controller[_0x7dad('0x16')]);router[_0x7dad('0x17')]('/:id',auth[_0x7dad('0x8')](),controller[_0x7dad('0x18')]);router[_0x7dad('0x17')](_0x7dad('0x13'),auth['isAuthenticated'](),controller[_0x7dad('0x19')]);module['exports']=router;
\ No newline at end of file
+var _0x3ec0=['create','addMembers','addMessage','put','update','delete','destroy','removeMembers','exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','./chatGroup.controller','isAuthenticated','index','describe','get','/:id','show','/:id/unread','getUnread','/:id/members','/:id/messages','post'];(function(_0x25bd26,_0x3b6d36){var _0x457bfa=function(_0x3feec7){while(--_0x3feec7){_0x25bd26['push'](_0x25bd26['shift']());}};_0x457bfa(++_0x3b6d36);}(_0x3ec0,0x159));var _0x03ec=function(_0x568b4a,_0x3ef977){_0x568b4a=_0x568b4a-0x0;var _0x102a47=_0x3ec0[_0x568b4a];return _0x102a47;};'use strict';var multer=require('multer');var util=require(_0x03ec('0x0'));var path=require(_0x03ec('0x1'));var timeout=require(_0x03ec('0x2'));var express=require(_0x03ec('0x3'));var router=express['Router']();var fs_extra=require(_0x03ec('0x4'));var auth=require(_0x03ec('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x03ec('0x6'));var controller=require(_0x03ec('0x7'));router['get']('/',auth[_0x03ec('0x8')](),controller[_0x03ec('0x9')]);router['get']('/describe',auth[_0x03ec('0x8')](),controller[_0x03ec('0xa')]);router[_0x03ec('0xb')](_0x03ec('0xc'),auth[_0x03ec('0x8')](),controller[_0x03ec('0xd')]);router[_0x03ec('0xb')](_0x03ec('0xe'),auth[_0x03ec('0x8')](),controller[_0x03ec('0xf')]);router['get'](_0x03ec('0x10'),auth[_0x03ec('0x8')](),controller['getMembers']);router['get'](_0x03ec('0x11'),auth[_0x03ec('0x8')](),controller['getMessages']);router[_0x03ec('0x12')]('/',auth[_0x03ec('0x8')](),controller[_0x03ec('0x13')]);router['post'](_0x03ec('0x10'),auth[_0x03ec('0x8')](),controller[_0x03ec('0x14')]);router[_0x03ec('0x12')](_0x03ec('0x11'),auth[_0x03ec('0x8')](),controller[_0x03ec('0x15')]);router[_0x03ec('0x16')](_0x03ec('0xc'),auth[_0x03ec('0x8')](),controller[_0x03ec('0x17')]);router[_0x03ec('0x18')](_0x03ec('0xc'),auth[_0x03ec('0x8')](),controller[_0x03ec('0x19')]);router[_0x03ec('0x18')]('/:id/members',auth[_0x03ec('0x8')](),controller[_0x03ec('0x1a')]);module[_0x03ec('0x1b')]=router;
\ No newline at end of file
diff --git a/server/api/chatInteraction/chatInteraction.attributes.js b/server/api/chatInteraction/chatInteraction.attributes.js
index 3e78ce7..d037dd1 100644
--- a/server/api/chatInteraction/chatInteraction.attributes.js
+++ b/server/api/chatInteraction/chatInteraction.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xf151=['out','BOOLEAN','INTEGER','ENUM','star','thumb','TEXT','DATE','STRING','long'];(function(_0x46cfff,_0x269d02){var _0x38a519=function(_0x4d2d0d){while(--_0x4d2d0d){_0x46cfff['push'](_0x46cfff['shift']());}};_0x38a519(++_0x269d02);}(_0xf151,0xab));var _0x1f15=function(_0x54fb83,_0x1b5bfd){_0x54fb83=_0x54fb83-0x0;var _0x3f0abd=_0xf151[_0x54fb83];return _0x3f0abd;};'use strict';var Sequelize=require('sequelize');module['exports']={'closed':{'type':Sequelize[_0x1f15('0x0')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x1f15('0x1')]},'ratingType':{'type':Sequelize[_0x1f15('0x2')](_0x1f15('0x3'),_0x1f15('0x4')),'defaultValue':_0x1f15('0x3')},'ratingMessage':{'type':Sequelize[_0x1f15('0x5')]},'pathTranscript':{'type':Sequelize[_0x1f15('0x5')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x1f15('0x6')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x1f15('0x7')]},'browserName':{'type':Sequelize[_0x1f15('0x7')]},'browserVersion':{'type':Sequelize[_0x1f15('0x7')]},'osName':{'type':Sequelize['STRING']},'osVersion':{'type':Sequelize[_0x1f15('0x7')]},'deviceModel':{'type':Sequelize[_0x1f15('0x7')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize[_0x1f15('0x5')]},'customerIp':{'type':Sequelize[_0x1f15('0x7')]},'formData':{'type':Sequelize[_0x1f15('0x5')](_0x1f15('0x8'))},'read1stAt':{'type':Sequelize['DATE']},'lastMsgAt':{'type':Sequelize[_0x1f15('0x6')]},'lastMsgDirection':{'type':Sequelize[_0x1f15('0x2')]('in',_0x1f15('0x9')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x1f15('0x7')]},'customerPort':{'type':Sequelize['STRING']},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize[_0x1f15('0x0')],'defaultValue':![]}};
\ No newline at end of file
+var _0x928c=['TEXT','DATE','STRING','long','out','BOOLEAN','INTEGER','star','thumb'];(function(_0xe2a247,_0x109308){var _0xd1ce59=function(_0x4f16e6){while(--_0x4f16e6){_0xe2a247['push'](_0xe2a247['shift']());}};_0xd1ce59(++_0x109308);}(_0x928c,0x17f));var _0xc928=function(_0x19ce2d,_0x12ad5e){_0x19ce2d=_0x19ce2d-0x0;var _0x489514=_0x928c[_0x19ce2d];return _0x489514;};'use strict';var Sequelize=require('sequelize');module['exports']={'closed':{'type':Sequelize[_0xc928('0x0')],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0xc928('0x1')]},'ratingType':{'type':Sequelize['ENUM'](_0xc928('0x2'),_0xc928('0x3')),'defaultValue':_0xc928('0x2')},'ratingMessage':{'type':Sequelize[_0xc928('0x4')]},'pathTranscript':{'type':Sequelize[_0xc928('0x4')]},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0xc928('0x5')]},'disposition':{'type':Sequelize[_0xc928('0x6')]},'secondDisposition':{'type':Sequelize[_0xc928('0x6')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize[_0xc928('0x6')]},'osName':{'type':Sequelize[_0xc928('0x6')]},'osVersion':{'type':Sequelize[_0xc928('0x6')]},'deviceModel':{'type':Sequelize[_0xc928('0x6')]},'deviceVendor':{'type':Sequelize[_0xc928('0x6')]},'deviceType':{'type':Sequelize[_0xc928('0x6')]},'referer':{'type':Sequelize[_0xc928('0x4')]},'customerIp':{'type':Sequelize[_0xc928('0x6')]},'formData':{'type':Sequelize['TEXT'](_0xc928('0x7'))},'read1stAt':{'type':Sequelize[_0xc928('0x5')]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xc928('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0xc928('0x6')]},'vidaooSessionId':{'type':Sequelize['TEXT']},'autoreplyExecuted':{'type':Sequelize[_0xc928('0x0')],'defaultValue':![]}};
\ No newline at end of file
diff --git a/server/api/chatInteraction/chatInteraction.controller.js b/server/api/chatInteraction/chatInteraction.controller.js
index b910472..ee5bb66 100644
--- a/server/api/chatInteraction/chatInteraction.controller.js
+++ b/server/api/chatInteraction/chatInteraction.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xfd28=['YYYY-MM-DD\x20HH:mm:ss','findAll','getMyMessages','includeAgent','rows','addTags','setTags','spread','emit','chatInteractionTags:save','removeTags','download','unix','server','files','attachments','transcript-%d-%s.zip','Account','Owner','get','N.A.','browserName','customerIp','customerPort','tail','existsSync','createReadStream','createWriteStream','firstName','lastName','views','transcript-','.pdf','Chat','unlinkSync','zip-dir','request-promise','bluebird','util','path','ejs','squel','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../components/export/pdf','../../config/environment','../../mysqldb','redis','socket.io-emitter','./chatInteraction.socket','jayson/promise','http','request','then','info','ChatInteraction,\x20%s,\x20%s','request\x20sent','debug','code','error','message','result','sendStatus','status','json','offset','undefined','limit','set','Content-Range','update','destroy','stack','name','render','body','agent','interaction','Users','fullname','Tags','TagIds','forEach','push','talking','answered','unmanaged','abandoned','closed','UserId','waiting','disposition','index','map','ChatInteraction','type','key','model','query','keys','filters','intersection','attributes','fields','sort','pick','field','color','select','u.id','u.fullname','ui.ChatInteractionId','from','user_has_chat_interactions','left_join','users','cm_contacts','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','o.id\x20=\x20i.UserId','a.id\x20=\x20i.ChatWebsiteId','chat_messages','me.ChatInteractionId\x20=\x20i.id','it.ChatInteractionId\x20=\x20i.id','tools_tags','t.id\x20=\x20it.TagId','expr','search','parseSearch','conditions','length','find','unreadMessages','value','having','`\x20>\x200','Contact','operator','$substring','split','MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','getFullTextValue','c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?','ContactId','buildExpression','text','start','end','Tag','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','User','CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','some','compact','ChatWebsiteId','where','i.ChatWebsiteId\x20IN\x20?','concat','parse','$gte','i.createdAt\x20BETWEEN\x20?\x20AND\x20?','null','\x20IS\x20NULL','\x20=\x20?','read','`unreadMessages`\x20>\x200','tag','filter','replace','isNumeric','i.id\x20LIKE\x20?','MATCH\x20(me.body)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','CONCAT(c.firstName,\x20\x27\x20\x27,\x20c.lastName)\x20LIKE\x20?','i.id','Sequelize','QueryTypes','clone','contactName','order','DESC','isEmpty','t.id\x20IN\x20?','role','user','getChatWebsites','i.ChatWebsiteId\x20IS\x20NULL','toString','count','sequelize','keyBy','merge','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','a.mandatoryDisposition','Account.mandatoryDisposition','i.*','c.firstName','c.lastName','c.email','c.phone','Contact.phone','Contact.mobile','Contact.fax','o.fullname','Owner.fullname','o.internal','GROUP_CONCAT(DISTINCT\x20t.id)','ui.ChatInteractionId\x20IN\x20?','all','catch','show','rawAttributes','includeAll','include','options','create','describe','createVidaooSession','params','findOne','ChatWebsite','vidaooApiKey','vidaooEscalation','vidaooNote','vidaooMetadata','contact','https://api-vidaoo.xcally.com/api/v1/meetings','vidaooTopic','isNull','follow','metadata','ValidationError','Error\x20in\x20conversion\x20vidaooMetadata','Error\x20in\x20Vidaoo\x20configuration','join_url','out','ChatMessage','Unable\x20to\x20create\x20Vidaoo\x20session','customUpdate','abandon','abandonInteraction,\x20%s,\x20%s,\x20%s','entity\x20not\x20found','Interaction\x20already\x20assigned','AbandonInteraction','attachmentUpload','file','originalname','basename','mimetype','Attachment','attachmentDownload','Unauthorized','attachId','ChatOfflineMessageId','join','server/files/attachments/','offline-chat/','close','mailTranscript','root','format','now','pathTranscript','Messages','CmContact','%s%d','System','customer','Visitor','agentIdentifier','website_alias','agentAlias','alias','agent_fullname','[%s]\x20%s:\x20%s\x0a','createdAt','MM/DD/YYYY\x20HH:mm:ss','direction','secret','appendFileSync','MailServerOut','Smtp','CloudProvider','getSmtpOptions','sendMail','\x22%s\x22\x20<%s>','email','Hi\x20%s,\x20attached\x20you\x20can\x20find\x20your\x20transcript\x20file.\x20\x0a\x0aRegards.\x20\x0a\x0a','addMessage','ids','omit','getMessages','hasOwnProperty','nolimit'];(function(_0x4cba56,_0x3a5ddf){var _0x16afd4=function(_0x33c250){while(--_0x33c250){_0x4cba56['push'](_0x4cba56['shift']());}};_0x16afd4(++_0x3a5ddf);}(_0xfd28,0x148));var _0x8fd2=function(_0x3e6729,_0x16d4af){_0x3e6729=_0x3e6729-0x0;var _0x535bcd=_0xfd28[_0x3e6729];return _0x535bcd;};'use strict';var rimraf=require('rimraf');var zipdir=require(_0x8fd2('0x0'));var rp=require(_0x8fd2('0x1'));var moment=require('moment');var BPromise=require(_0x8fd2('0x2'));var Mustache=require('mustache');var util=require(_0x8fd2('0x3'));var path=require(_0x8fd2('0x4'));var ejs=require(_0x8fd2('0x5'));var fs=require('fs');var _=require('lodash');var squel=require(_0x8fd2('0x6'));var Redis=require(_0x8fd2('0x7'));var qs=require(_0x8fd2('0x8'));var as=require(_0x8fd2('0x9'));var pdf=require(_0x8fd2('0xa'));var logger=require('../../config/logger')('api');var config=require(_0x8fd2('0xb'));var db=require(_0x8fd2('0xc'))['db'];config[_0x8fd2('0xd')]=_['defaults'](config[_0x8fd2('0xd')],{'host':'localhost','port':0x18eb});var socket=require(_0x8fd2('0xe'))(new Redis(config['redis']));require(_0x8fd2('0xf'))['register'](socket);var jayson=require(_0x8fd2('0x10'));var client=jayson['client'][_0x8fd2('0x11')]({'port':0x232b});var client9004=jayson['client'][_0x8fd2('0x11')]({'port':0x232c});function respondWithRpcPromise(_0x207298,_0xfd78d,_0xa6d7ca,_0x17ad4c){return new BPromise(function(_0xe9ec20,_0x1e214c){var _0xf22ae=_0x17ad4c||client;return _0xf22ae[_0x8fd2('0x12')](_0x207298,_0xa6d7ca)[_0x8fd2('0x13')](function(_0x118329){logger[_0x8fd2('0x14')](_0x8fd2('0x15'),_0xfd78d,_0x8fd2('0x16'));logger[_0x8fd2('0x17')]('ChatInteraction,\x20%s,\x20%s,\x20%s',_0xfd78d,_0x8fd2('0x16'),JSON['stringify'](_0x118329));if(_0x118329['error']){if(_0x118329['error'][_0x8fd2('0x18')]===0x1f4){logger[_0x8fd2('0x19')](_0x8fd2('0x15'),_0xfd78d,_0x118329[_0x8fd2('0x19')]['message']);return _0x1e214c(_0x118329[_0x8fd2('0x19')][_0x8fd2('0x1a')]);}logger[_0x8fd2('0x19')](_0x8fd2('0x15'),_0xfd78d,_0x118329[_0x8fd2('0x19')]['message']);return _0xe9ec20(_0x118329['error'][_0x8fd2('0x1a')]);}else{logger['info'](_0x8fd2('0x15'),_0xfd78d,'request\x20sent');_0xe9ec20(_0x118329[_0x8fd2('0x1b')][_0x8fd2('0x1a')]);}})['catch'](function(_0x122b60){logger['error'](_0x8fd2('0x15'),_0xfd78d,_0x122b60);_0x1e214c(_0x122b60);});});}function respondWithStatusCode(_0x44ee7a,_0x4e0dc4){_0x4e0dc4=_0x4e0dc4||0xcc;return function(_0x1c925c){if(_0x1c925c){return _0x44ee7a[_0x8fd2('0x1c')](_0x4e0dc4);}return _0x44ee7a[_0x8fd2('0x1d')](_0x4e0dc4)['end']();};}function respondWithResult(_0x299c1c,_0x3b9e2f){_0x3b9e2f=_0x3b9e2f||0xc8;return function(_0x27d03b){if(_0x27d03b){return _0x299c1c[_0x8fd2('0x1d')](_0x3b9e2f)[_0x8fd2('0x1e')](_0x27d03b);}};}function respondWithFilteredResult(_0x25db4e,_0x2c2850){return function(_0x398925){if(_0x398925){var _0x1456b4=typeof _0x2c2850[_0x8fd2('0x1f')]===_0x8fd2('0x20')&&typeof _0x2c2850[_0x8fd2('0x21')]===_0x8fd2('0x20');var _0x512e5a=_0x398925['count'];var _0x345bc3=_0x1456b4?0x0:_0x2c2850[_0x8fd2('0x1f')];var _0x288bcd=_0x1456b4?_0x398925['count']:_0x2c2850[_0x8fd2('0x1f')]+_0x2c2850[_0x8fd2('0x21')];var _0x27b256;if(_0x288bcd>=_0x512e5a){_0x288bcd=_0x512e5a;_0x27b256=0xc8;}else{_0x27b256=0xce;}_0x25db4e[_0x8fd2('0x1d')](_0x27b256);return _0x25db4e[_0x8fd2('0x22')](_0x8fd2('0x23'),_0x345bc3+'-'+_0x288bcd+'/'+_0x512e5a)[_0x8fd2('0x1e')](_0x398925);}return null;};}function saveUpdates(_0x5bfaa4){return function(_0xe76676){if(_0xe76676){return _0xe76676[_0x8fd2('0x24')](_0x5bfaa4)[_0x8fd2('0x13')](function(_0x446c7a){return _0x446c7a;});}return null;};}function removeEntity(_0x313902){return function(_0x3ea575){if(_0x3ea575){return _0x3ea575[_0x8fd2('0x25')]()['then'](function(){_0x313902['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x422f3c){return function(_0x216350){if(!_0x216350){_0x422f3c[_0x8fd2('0x1c')](0x194);}return _0x216350;};}function handleError(_0xe4987b,_0x5a0b3b){_0x5a0b3b=_0x5a0b3b||0x1f4;return function(_0x548d16){logger[_0x8fd2('0x19')](_0x548d16[_0x8fd2('0x26')]);if(_0x548d16[_0x8fd2('0x27')]){delete _0x548d16[_0x8fd2('0x27')];}_0xe4987b[_0x8fd2('0x1d')](_0x5a0b3b)['send'](_0x548d16);};}function getMustacheRender(_0x328964,_0x50fe44){return Mustache[_0x8fd2('0x28')](_0x328964,_['merge'](_0x50fe44[_0x8fd2('0x29')],{'contact':_0x50fe44['contact'],'message':_0x50fe44[_0x8fd2('0x1a')],'agent':_0x50fe44[_0x8fd2('0x2a')],'interaction':_0x50fe44[_0x8fd2('0x2b')],'account':_0x50fe44['account']}))||'';}function getInteractionUsers(_0x339291,_0x4e7f72){return new BPromise(function(_0x11a71d,_0x17c1f3){try{if(_0x4e7f72[_0x339291['id']]){_0x339291[_0x8fd2('0x2c')]=_['map'](_0x4e7f72[_0x339291['id']],function(_0x14f382){return{'id':_0x14f382['id'],'fullname':_0x14f382[_0x8fd2('0x2d')]};});}}catch(_0x21adc6){_0x17c1f3(_0x21adc6);}_0x11a71d(_0x339291);});}function getInteractionTags(_0x58ce31,_0x11ef3b){return new BPromise(function(_0x1f4428,_0x3e9a67){try{if(_0x58ce31['TagIds']){_0x58ce31[_0x8fd2('0x2e')]=[];_0x58ce31[_0x8fd2('0x2f')]['split'](',')[_0x8fd2('0x30')](function(_0x130072){_0x58ce31[_0x8fd2('0x2e')][_0x8fd2('0x31')](_0x11ef3b[_0x130072]);});}delete _0x58ce31[_0x8fd2('0x2f')];}catch(_0x35cbec){_0x3e9a67(_0x35cbec);}_0x1f4428(_0x58ce31);});}function updateChatInteraction(_0x221022,_0x5e6140,_0x7c60d){return new BPromise(function(_0x512b6c,_0x566c9e){return getInteractionUsers(_0x221022,_0x7c60d)[_0x8fd2('0x13')](function(_0xb2c8cc){return getInteractionTags(_0xb2c8cc,_0x5e6140);})[_0x8fd2('0x13')](function(_0x2edcfd){return getStateInteraction(_0x2edcfd);})[_0x8fd2('0x13')](function(_0x129e0){_0x512b6c(_0x129e0);})['catch'](function(_0x5062ca){_0x566c9e(_0x5062ca);});});}function getStateInteraction(_0x2df1da){return new BPromise(function(_0x4aff57){_0x2df1da['waiting']=0x0;_0x2df1da[_0x8fd2('0x32')]=0x0;_0x2df1da[_0x8fd2('0x33')]=0x0;_0x2df1da[_0x8fd2('0x34')]=0x0;_0x2df1da[_0x8fd2('0x35')]=0x0;_0x2df1da['total']=0x0;if(!_0x2df1da[_0x8fd2('0x36')]&&!_0x2df1da[_0x8fd2('0x37')]){_0x2df1da[_0x8fd2('0x38')]+=0x1;}if(!_0x2df1da[_0x8fd2('0x36')]&&_0x2df1da[_0x8fd2('0x37')]){_0x2df1da[_0x8fd2('0x32')]+=0x1;if(_0x2df1da[_0x8fd2('0x38')]){_0x2df1da['waiting']-=0x1;}}if(_0x2df1da[_0x8fd2('0x36')]&&_0x2df1da[_0x8fd2('0x39')]===_0x8fd2('0x35')){_0x2df1da[_0x8fd2('0x35')]+=0x1;if(_0x2df1da[_0x8fd2('0x38')]){_0x2df1da[_0x8fd2('0x38')]-=0x1;}}else if(_0x2df1da[_0x8fd2('0x36')]&&!_0x2df1da['UserId']&&_0x2df1da[_0x8fd2('0x39')]){_0x2df1da[_0x8fd2('0x34')]+=0x1;if(_0x2df1da[_0x8fd2('0x38')]){_0x2df1da[_0x8fd2('0x38')]-=0x1;}}else if(_0x2df1da[_0x8fd2('0x36')]&&_0x2df1da[_0x8fd2('0x37')]){_0x2df1da[_0x8fd2('0x33')]+=0x1;if(_0x2df1da['talking']){_0x2df1da[_0x8fd2('0x32')]-=0x1;}}_0x2df1da['total']+=0x1;_0x4aff57(_0x2df1da);});}exports[_0x8fd2('0x3a')]=function(_0x5c7440,_0x17710f){var _0xe511dd={},_0x2a39ac={},_0x5c0632={'count':0x0,'rows':[]};var _0x290467=_[_0x8fd2('0x3b')](db[_0x8fd2('0x3c')]['rawAttributes'],function(_0x3c65c4){return{'name':_0x3c65c4['fieldName'],'type':_0x3c65c4[_0x8fd2('0x3d')][_0x8fd2('0x3e')]};});_0x2a39ac[_0x8fd2('0x3f')]=_[_0x8fd2('0x3b')](_0x290467,_0x8fd2('0x27'));_0x2a39ac[_0x8fd2('0x40')]=_[_0x8fd2('0x41')](_0x5c7440[_0x8fd2('0x40')]);_0x2a39ac[_0x8fd2('0x42')]=_[_0x8fd2('0x43')](_0x2a39ac[_0x8fd2('0x3f')],_0x2a39ac[_0x8fd2('0x40')]);_0xe511dd[_0x8fd2('0x44')]=_[_0x8fd2('0x43')](_0x2a39ac[_0x8fd2('0x3f')],qs[_0x8fd2('0x45')](_0x5c7440[_0x8fd2('0x40')][_0x8fd2('0x45')]));_0xe511dd[_0x8fd2('0x44')]=_0xe511dd['attributes']['length']?_0xe511dd[_0x8fd2('0x44')]:_0x2a39ac[_0x8fd2('0x3f')];if(!_0x5c7440[_0x8fd2('0x40')]['hasOwnProperty']('nolimit')){_0xe511dd[_0x8fd2('0x21')]=qs['limit'](_0x5c7440[_0x8fd2('0x40')][_0x8fd2('0x21')]);_0xe511dd[_0x8fd2('0x1f')]=qs['offset'](_0x5c7440[_0x8fd2('0x40')][_0x8fd2('0x1f')]);}_0xe511dd['order']=qs[_0x8fd2('0x46')](_0x5c7440[_0x8fd2('0x40')][_0x8fd2('0x46')]);_0xe511dd['where']=qs[_0x8fd2('0x42')](_[_0x8fd2('0x47')](_0x5c7440[_0x8fd2('0x40')],_0x2a39ac[_0x8fd2('0x42')]),_0x290467);var _0x3101ac=[];var _0x390ba0=squel['select']()['field']('id')[_0x8fd2('0x48')](_0x8fd2('0x27'))['field'](_0x8fd2('0x49'))['from']('tools_tags');var _0x2ef7e6=squel[_0x8fd2('0x4a')]()[_0x8fd2('0x48')](_0x8fd2('0x4b'))[_0x8fd2('0x48')](_0x8fd2('0x4c'))['field'](_0x8fd2('0x4d'))[_0x8fd2('0x4e')](_0x8fd2('0x4f'),'ui')[_0x8fd2('0x50')](_0x8fd2('0x51'),'u','u.id\x20=\x20ui.UserId');var _0x5cf641=squel['select']()['from']('chat_interactions','i')[_0x8fd2('0x50')](_0x8fd2('0x52'),'c',_0x8fd2('0x53'))[_0x8fd2('0x50')](_0x8fd2('0x51'),'o',_0x8fd2('0x54'))[_0x8fd2('0x50')]('chat_websites','a',_0x8fd2('0x55'))['left_join'](_0x8fd2('0x56'),'me',_0x8fd2('0x57'))['left_join']('chat_interaction_has_tags','it',_0x8fd2('0x58'))[_0x8fd2('0x50')](_0x8fd2('0x59'),'t',_0x8fd2('0x5a'));var _0x37ddfa=squel['expr']();var _0x2196d3=[];var _0x769f00=squel[_0x8fd2('0x5b')]();var _0x4257af;if(_0x5c7440['query'][_0x8fd2('0x5c')]){_0x4257af=as[_0x8fd2('0x5d')](_0x5c7440[_0x8fd2('0x40')][_0x8fd2('0x5c')]);var _0x5df526=_0x4257af['sqlOperator'];for(var _0x5e142f=0x0;_0x5e142f<_0x4257af[_0x8fd2('0x5e')][_0x8fd2('0x5f')];_0x5e142f++){var _0xb88ae7=_0x4257af[_0x8fd2('0x5e')][_0x5e142f];var _0x116a1d='i';var _0x47ede0=_[_0x8fd2('0x60')](_0x290467,[_0x8fd2('0x27'),_0xb88ae7['field']]);if(!_0x47ede0){switch(_0xb88ae7[_0x8fd2('0x48')]){case _0x8fd2('0x61'):if(_0xb88ae7[_0x8fd2('0x62')]==0x1){_0x5cf641[_0x8fd2('0x63')]('`'+_0xb88ae7[_0x8fd2('0x48')]+'`\x20=\x200');}else{_0x5cf641[_0x8fd2('0x63')]('`'+_0xb88ae7[_0x8fd2('0x48')]+_0x8fd2('0x64'));}break;case _0x8fd2('0x65'):if(_0xb88ae7[_0x8fd2('0x66')]===_0x8fd2('0x67')){if(_0xb88ae7[_0x8fd2('0x62')][_0x8fd2('0x68')]('\x20')[_0x8fd2('0x5f')]>0x1){_0x37ddfa[_0x5df526](_0x8fd2('0x69'),qs[_0x8fd2('0x6a')](_0xb88ae7[_0x8fd2('0x62')]),null);}else{var _0x40ffd5='%'+_0xb88ae7['value']+'%';_0x37ddfa[_0x5df526](_0x8fd2('0x6b'),_0x40ffd5,_0x40ffd5,_0x40ffd5);}}else{_0x47ede0=_[_0x8fd2('0x60')](_0x290467,['name','ContactId']);_0xb88ae7['field']=_0x8fd2('0x6c');_0x549af8=as[_0x8fd2('0x6d')](_0x116a1d,_0x47ede0[_0x8fd2('0x3d')],_0xb88ae7);_0x37ddfa[_0x5df526](_0x549af8[_0x8fd2('0x6e')],_0x549af8[_0x8fd2('0x62')][_0x8fd2('0x6f')],_0x549af8['value'][_0x8fd2('0x70')]);}break;case _0x8fd2('0x71'):var _0x510553=_0xb88ae7[_0x8fd2('0x62')]['split'](',')[_0x8fd2('0x3b')](function(_0x25d69d){return Number(_0x25d69d);});_0x510553[_0x8fd2('0x30')](function(_0x31e96f){_0x769f00['or'](_0x8fd2('0x72'),'%,'+_0x31e96f+',%');});_0x2196d3=_['union'](_0x2196d3,_0x510553);break;case _0x8fd2('0x73'):if(_0xb88ae7[_0x8fd2('0x66')]==='$substring'){_0x37ddfa[_0x5df526](_0x8fd2('0x74'),'%'+_0xb88ae7['value']+'%',null);}else{_0x47ede0=_['find'](_0x290467,[_0x8fd2('0x27'),_0x8fd2('0x37')]);_0xb88ae7['field']=_0x8fd2('0x37');_0x549af8=as[_0x8fd2('0x6d')](_0x116a1d,_0x47ede0[_0x8fd2('0x3d')],_0xb88ae7);_0x37ddfa[_0x5df526](_0x549af8['text'],_0x549af8[_0x8fd2('0x62')][_0x8fd2('0x6f')],_0x549af8[_0x8fd2('0x62')][_0x8fd2('0x70')]);}break;case _0x8fd2('0x29'):_0x549af8=as[_0x8fd2('0x6d')]('me',null,_0xb88ae7);_0x37ddfa[_0x5df526](_0x549af8[_0x8fd2('0x6e')],_0x549af8['value']['start'],_0x549af8[_0x8fd2('0x62')][_0x8fd2('0x70')]);break;}}else{var _0x549af8=as['buildExpression'](_0x116a1d,_0x47ede0['type'],_0xb88ae7);_0x37ddfa[_0x5df526](_0x549af8['text'],_0x549af8['value'][_0x8fd2('0x6f')],_0x549af8[_0x8fd2('0x62')][_0x8fd2('0x70')]);}}}else{var _0x37ad5c=_(_0x5c7440[_0x8fd2('0x40')])['keys']()[_0x8fd2('0x3b')](function(_0x181634){return _[_0x8fd2('0x75')](_0x290467,['name',_0x181634])?_0x181634:undefined;})[_0x8fd2('0x76')]()[_0x8fd2('0x62')]();if(!_['isEmpty'](_0x37ad5c)){_0x37ad5c[_0x8fd2('0x30')](function(_0x33d05e){if(_0x33d05e===_0x8fd2('0x77')){_0x5cf641[_0x8fd2('0x78')](_0x8fd2('0x79'),[][_0x8fd2('0x7a')](_0x5c7440[_0x8fd2('0x40')][_0x33d05e]));}else if(_0x33d05e==='createdAt'){var _0x26f8b9=JSON[_0x8fd2('0x7b')](_0x5c7440[_0x8fd2('0x40')][_0x33d05e])[_0x8fd2('0x7c')];var _0x15747d=JSON[_0x8fd2('0x7b')](_0x5c7440[_0x8fd2('0x40')][_0x33d05e])['$lte'];_0x5cf641[_0x8fd2('0x78')](_0x8fd2('0x7d'),_0x26f8b9,_0x15747d);}else{if(_0x5c7440['query'][_0x33d05e]===_0x8fd2('0x7e')){_0x5cf641[_0x8fd2('0x78')]('i.'+_0x33d05e+_0x8fd2('0x7f'));}else{_0x5cf641[_0x8fd2('0x78')]('i.'+_0x33d05e+_0x8fd2('0x80'),_0x5c7440[_0x8fd2('0x40')][_0x33d05e]);}}});}if(_0x5c7440[_0x8fd2('0x40')][_0x8fd2('0x81')]){if(_0x5c7440['query'][_0x8fd2('0x81')]==0x1){_0x5cf641['having']('`unreadMessages`\x20=\x200');}else{_0x5cf641['having'](_0x8fd2('0x82'));}}if(_0x5c7440['query'][_0x8fd2('0x83')]){_0x2196d3=_['isArray'](_0x5c7440['query'][_0x8fd2('0x83')])?_0x5c7440[_0x8fd2('0x40')]['tag']:new Array(_0x5c7440[_0x8fd2('0x40')][_0x8fd2('0x83')]);_0x2196d3[_0x8fd2('0x30')](function(_0x1b1255){_0x769f00['or']('CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','%,'+_0x1b1255+',%');});}if(_0x5c7440['query'][_0x8fd2('0x84')]){var _0x53fb5a=_0x5c7440[_0x8fd2('0x40')][_0x8fd2('0x84')]['replace']('\x5c','\x5c\x5c')[_0x8fd2('0x85')](/'/g,'\x27\x27');if(qs[_0x8fd2('0x86')](_0x53fb5a)){_0x37ddfa['or'](_0x8fd2('0x87'),_0x53fb5a+'%');}else{_0x37ddfa['or'](_0x8fd2('0x88'),qs[_0x8fd2('0x6a')](_0x53fb5a))['or'](_0x8fd2('0x89'),_0x53fb5a+'%');}}}_0x5cf641[_0x8fd2('0x78')](_0x37ddfa);_0x5cf641['group'](_0x8fd2('0x8a'));var _0x140c62={'type':db[_0x8fd2('0x8b')][_0x8fd2('0x8c')]['SELECT'],'raw':!![]};var _0x3c28e3=_0x5cf641[_0x8fd2('0x8d')]();_0x3c28e3[_0x8fd2('0x48')](_0x8fd2('0x8a'));_0x3c28e3['field']('SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)',_0x8fd2('0x61'));if(_0xe511dd['order']){_0xe511dd['order'][_0x8fd2('0x30')](function(_0x5e2a58){var _0x5d4b1e=_0x5e2a58[0x0]===_0x8fd2('0x8e')?_0x5e2a58[0x0]:'i.'+_0x5e2a58[0x0];_0x5cf641[_0x8fd2('0x8f')](_0x5d4b1e,_0x5e2a58[0x1]===_0x8fd2('0x90')?![]:!![]);});}if(!_[_0x8fd2('0x91')](_0x2196d3)){_0x5cf641[_0x8fd2('0x63')](_0x769f00);_0x3c28e3[_0x8fd2('0x78')](_0x8fd2('0x92'),_0x2196d3);}BPromise['resolve']()[_0x8fd2('0x13')](function(){if(!_0x4257af){if(_0x5c7440[_0x8fd2('0x40')][_0x8fd2('0x77')])return;_0x3c28e3[_0x8fd2('0x78')]('i.ChatWebsiteId\x20IS\x20NOT\x20NULL');_0x5cf641[_0x8fd2('0x78')]('i.ChatWebsiteId\x20IS\x20NOT\x20NULL');return;}if(_0x5c7440['user'][_0x8fd2('0x93')]!==_0x8fd2('0x2a'))return;return _0x5c7440[_0x8fd2('0x94')][_0x8fd2('0x95')]({'attributes':['id'],'raw':!![]})[_0x8fd2('0x13')](function(_0xe90905){if(_[_0x8fd2('0x91')](_0xe90905)){_0x3c28e3[_0x8fd2('0x78')]('i.ChatWebsiteId\x20IS\x20NULL');_0x5cf641['where'](_0x8fd2('0x96'));}else{_0x3c28e3[_0x8fd2('0x78')](_0x8fd2('0x79'),_[_0x8fd2('0x3b')](_0xe90905,'id'));_0x5cf641['where'](_0x8fd2('0x79'),_[_0x8fd2('0x3b')](_0xe90905,'id'));}});})['then'](function(){if(_0x5c7440[_0x8fd2('0x94')][_0x8fd2('0x93')]==='agent'&&!_0x4257af&&!_0x5c7440[_0x8fd2('0x40')][_0x8fd2('0x77')])return[];return db['sequelize'][_0x8fd2('0x40')](_0x3c28e3[_0x8fd2('0x97')](),_0x140c62);})[_0x8fd2('0x13')](function(_0x454d4d){_0x5c0632[_0x8fd2('0x98')]=_0x454d4d[_0x8fd2('0x5f')];if(_0x5c0632['count']===0x0)return[];return db[_0x8fd2('0x99')][_0x8fd2('0x40')](_0x390ba0[_0x8fd2('0x97')](),_0x140c62)[_0x8fd2('0x13')](function(_0x36c809){_0x3101ac=_[_0x8fd2('0x9a')](_0x36c809,'id');_0x140c62=_[_0x8fd2('0x9b')](_0x140c62,{'model':db[_0x8fd2('0x3c')],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x5c7440[_0x8fd2('0x40')][_0x8fd2('0x45')]){_0xe511dd[_0x8fd2('0x44')]['forEach'](function(_0x58408a){_0x5cf641[_0x8fd2('0x48')]('i.'+_0x58408a);});}else{_0x5cf641['field'](_0x8fd2('0x9c'),'unreadMessages');_0x5cf641[_0x8fd2('0x48')]('a.key','Account.key');_0x5cf641[_0x8fd2('0x48')](_0x8fd2('0x9d'),_0x8fd2('0x9e'));_0x5cf641[_0x8fd2('0x48')]('CASE\x20WHEN\x20(c.firstName\x20IS\x20NOT\x20NULL\x20AND\x20c.firstName\x20<>\x20\x27\x27)\x20OR\x20(c.lastName\x20IS\x20NOT\x20NULL\x20AND\x20c.lastName\x20<>\x20\x27\x27)\x20THEN\x20CONCAT(IFNULL(c.firstName,\x20\x27\x27),\x20\x27\x20\x27,\x20IFNULL(c.lastName,\x20\x27\x27))\x20ELSE\x20\x27Unknown\x27\x20END','contactName');_0x5cf641['field'](_0x8fd2('0x9f'));_0x5cf641[_0x8fd2('0x48')](_0x8fd2('0xa0'),'Contact.firstName');_0x5cf641[_0x8fd2('0x48')](_0x8fd2('0xa1'),'Contact.lastName');_0x5cf641['field'](_0x8fd2('0xa2'),'Contact.email');_0x5cf641['field'](_0x8fd2('0xa3'),_0x8fd2('0xa4'));_0x5cf641['field']('c.mobile',_0x8fd2('0xa5'));_0x5cf641[_0x8fd2('0x48')]('c.fax',_0x8fd2('0xa6'));_0x5cf641[_0x8fd2('0x48')](_0x8fd2('0xa7'),_0x8fd2('0xa8'));_0x5cf641[_0x8fd2('0x48')](_0x8fd2('0xa9'),'Owner.internal');_0x5cf641[_0x8fd2('0x48')](_0x8fd2('0xaa'),_0x8fd2('0x2f'));}if(_0xe511dd[_0x8fd2('0x21')])_0x5cf641[_0x8fd2('0x21')](_0xe511dd[_0x8fd2('0x21')]);if(_0xe511dd['offset'])_0x5cf641['offset'](_0xe511dd[_0x8fd2('0x1f')]);return db[_0x8fd2('0x99')][_0x8fd2('0x40')](_0x5cf641[_0x8fd2('0x97')](),_0x140c62);})[_0x8fd2('0x13')](function(_0x4ec574){if(_0x4ec574['length']>0x0)_0x2ef7e6[_0x8fd2('0x78')](_0x8fd2('0xab'),_[_0x8fd2('0x3b')](_0x4ec574,'id'));return db['sequelize']['query'](_0x2ef7e6[_0x8fd2('0x97')](),_0x140c62)['then'](function(_0x1397b5){var _0xbd7307=_['groupBy'](_0x1397b5,'ChatInteractionId');var _0x3b9ab5=[];_0x4ec574['forEach'](function(_0x454616){_0x3b9ab5['push'](updateChatInteraction(_0x454616,_0x3101ac,_0xbd7307));});return BPromise[_0x8fd2('0xac')](_0x3b9ab5);});});})[_0x8fd2('0x13')](function(_0x4faee8){_0x5c0632['rows']=_0x4faee8;return _0x5c0632;})['then'](respondWithFilteredResult(_0x17710f,_0xe511dd))[_0x8fd2('0xad')](handleError(_0x17710f,null));};exports[_0x8fd2('0xae')]=function(_0x3c1fb1,_0x3596c7){var _0xc8a3a4={'raw':![],'where':{'id':_0x3c1fb1['params']['id']}},_0x405372={};_0x405372[_0x8fd2('0x3f')]=_[_0x8fd2('0x41')](db['ChatInteraction'][_0x8fd2('0xaf')]);_0x405372[_0x8fd2('0x40')]=_[_0x8fd2('0x41')](_0x3c1fb1['query']);_0x405372[_0x8fd2('0x42')]=_['intersection'](_0x405372[_0x8fd2('0x3f')],_0x405372['query']);_0xc8a3a4[_0x8fd2('0x44')]=_[_0x8fd2('0x43')](_0x405372[_0x8fd2('0x3f')],qs[_0x8fd2('0x45')](_0x3c1fb1[_0x8fd2('0x40')][_0x8fd2('0x45')]));_0xc8a3a4['attributes']=_0xc8a3a4[_0x8fd2('0x44')][_0x8fd2('0x5f')]?_0xc8a3a4[_0x8fd2('0x44')]:_0x405372[_0x8fd2('0x3f')];if(_0x3c1fb1['query'][_0x8fd2('0xb0')]){_0xc8a3a4[_0x8fd2('0xb1')]=[{'all':!![]}];}_0xc8a3a4=_[_0x8fd2('0x9b')]({},_0xc8a3a4,_0x3c1fb1[_0x8fd2('0xb2')]);return db[_0x8fd2('0x3c')][_0x8fd2('0x60')](_0xc8a3a4)['then'](handleEntityNotFound(_0x3596c7,null))['then'](respondWithResult(_0x3596c7,null))[_0x8fd2('0xad')](handleError(_0x3596c7,null));};exports[_0x8fd2('0xb3')]=function(_0x2b6c97,_0x25ef96){return db[_0x8fd2('0x3c')][_0x8fd2('0xb3')](_0x2b6c97[_0x8fd2('0x29')],{})['then'](respondWithResult(_0x25ef96,0xc9))[_0x8fd2('0xad')](handleError(_0x25ef96,null));};exports[_0x8fd2('0x24')]=function(_0x2d4501,_0x5c3589){if(_0x2d4501['body']['id']){delete _0x2d4501[_0x8fd2('0x29')]['id'];}return db[_0x8fd2('0x3c')][_0x8fd2('0x60')]({'where':{'id':_0x2d4501['params']['id']}})[_0x8fd2('0x13')](handleEntityNotFound(_0x5c3589,null))['then'](saveUpdates(_0x2d4501[_0x8fd2('0x29')],null))[_0x8fd2('0x13')](respondWithResult(_0x5c3589,null))['catch'](handleError(_0x5c3589,null));};exports[_0x8fd2('0x25')]=function(_0x4d64f1,_0x3a4f7b){return db[_0x8fd2('0x3c')]['find']({'where':{'id':_0x4d64f1['params']['id']}})['then'](handleEntityNotFound(_0x3a4f7b,null))[_0x8fd2('0x13')](removeEntity(_0x3a4f7b,null))['catch'](handleError(_0x3a4f7b,null));};exports[_0x8fd2('0xb4')]=function(_0x3c8ec8,_0x332c7e){return db[_0x8fd2('0x3c')][_0x8fd2('0xb4')]()[_0x8fd2('0x13')](respondWithResult(_0x332c7e,null))[_0x8fd2('0xad')](handleError(_0x332c7e,null));};exports[_0x8fd2('0xb5')]=function(_0xdd8be8,_0x302c07){var _0x36b5b2=_0xdd8be8[_0x8fd2('0xb6')]['id'];var _0x3a339f;var _0x556699;var _0x376f53;return db['ChatInteraction'][_0x8fd2('0xb7')]({'where':{'id':_0x36b5b2}})[_0x8fd2('0x13')](function(_0x590070){_0x3a339f=_0x590070;return db[_0x8fd2('0xb8')][_0x8fd2('0xb7')]({'where':{'id':_0x590070[_0x8fd2('0x77')]},'attributes':['id',_0x8fd2('0xb9'),_0x8fd2('0xba'),'vidaooTopic',_0x8fd2('0xbb'),_0x8fd2('0xbc')],'raw':!![]});})[_0x8fd2('0x13')](function(_0x1e2fd1){if(_0x1e2fd1&&_0x1e2fd1['vidaooApiKey']&&_0x1e2fd1[_0x8fd2('0xba')]){_0x556699=_0x1e2fd1;var _0x14b357={'interaction':{'id':_0x36b5b2},'agent':{'id':_0xdd8be8['user']['id'],'name':_0xdd8be8[_0x8fd2('0x94')][_0x8fd2('0x27')],'fullname':_0xdd8be8[_0x8fd2('0x94')][_0x8fd2('0x2d')],'email':_0xdd8be8[_0x8fd2('0x94')]['email']},'contact':_0xdd8be8['body'][_0x8fd2('0xbd')],'account':_0xdd8be8[_0x8fd2('0x29')]['account']};var _0x4a6a28={'rejectUnauthorized':![],'method':'POST','url':_0x8fd2('0xbe'),'headers':{'X-APIKEY':_0x1e2fd1['vidaooApiKey']},'body':{'duration':null,'scheduledAt':null,'participants':[_0xdd8be8['user']['email']],'buttons':null,'topic':_0x556699[_0x8fd2('0xbf')],'note':_[_0x8fd2('0xc0')](_0x556699['vidaooNote'])?null:getMustacheRender(_0x556699[_0x8fd2('0xbb')],_0x14b357),'metadata':null},'redirect':_0x8fd2('0xc1'),'json':!![]};try{if(!_[_0x8fd2('0xc0')](_0x556699[_0x8fd2('0xbc')])){var _0x2512ff=getMustacheRender(_0x556699[_0x8fd2('0xbc')],_0x14b357);var _0x270f53=JSON[_0x8fd2('0x7b')](_0x2512ff);_0x4a6a28[_0x8fd2('0x29')][_0x8fd2('0xc2')]=_0x270f53;}}catch(_0x28970d){throw new db[(_0x8fd2('0x8b'))][(_0x8fd2('0xc3'))](_0x8fd2('0xc4'));}return rp(_0x4a6a28);}else{throw new db['Sequelize']['ValidationError'](_0x8fd2('0xc5'));}})[_0x8fd2('0x13')](function(_0x3bad60){_0x376f53=_0x3bad60;if(_0x376f53['id']){var _0x5568f1={'body':_0x376f53[_0x8fd2('0xc6')],'ChatWebsiteId':_0x556699['id'],'ChatInteractionId':_0x3a339f['id'],'direction':_0x8fd2('0xc7'),'UserId':_0xdd8be8[_0x8fd2('0x94')]['id']};return db[_0x8fd2('0xc8')]['create'](_0x5568f1,{});}else{throw new db['Sequelize'][(_0x8fd2('0xc3'))](_0x8fd2('0xc9'));}})['then'](function(){return _0x3a339f['updateAttributes']({'vidaooSessionId':_0x376f53['id']});})[_0x8fd2('0x13')](respondWithResult(_0x302c07,null))['catch'](handleError(_0x302c07,null));};exports[_0x8fd2('0xca')]=function(_0x4bbe31,_0x1dd244){if(_0x4bbe31['body']['id']){delete _0x4bbe31[_0x8fd2('0x29')]['id'];}return db['ChatInteraction'][_0x8fd2('0x60')]({'where':{'id':_0x4bbe31[_0x8fd2('0xb6')]['id']},'include':[{'model':db['CmContact'],'as':_0x8fd2('0x65')}]})[_0x8fd2('0x13')](handleEntityNotFound(_0x1dd244,null))['then'](saveUpdates(_0x4bbe31[_0x8fd2('0x29')],null))[_0x8fd2('0x13')](respondWithResult(_0x1dd244,null))[_0x8fd2('0xad')](handleError(_0x1dd244,null));};exports[_0x8fd2('0xcb')]=function(_0x1b102f,_0x1f846a){if(_0x1b102f[_0x8fd2('0x29')]['id']){delete _0x1b102f[_0x8fd2('0x29')]['id'];}return db['ChatInteraction'][_0x8fd2('0x60')]({'where':{'id':_0x1b102f[_0x8fd2('0xb6')]['id']}})[_0x8fd2('0x13')](function(_0x13f218){if(!_0x13f218){logger[_0x8fd2('0x19')](_0x8fd2('0xcc'),'abandon',0x194,_0x8fd2('0xcd'));_0x1f846a[_0x8fd2('0x1c')](0x194);}else{if(_0x13f218['UserId']){throw new db['Sequelize'][(_0x8fd2('0xc3'))](_0x8fd2('0xce'));}}return _0x13f218;})[_0x8fd2('0x13')](function(_0x48e2bb){if(_0x48e2bb){return _0x48e2bb[_0x8fd2('0x24')]({'closed':_0x1b102f['body'][_0x8fd2('0x36')],'disposition':_0x1b102f[_0x8fd2('0x29')][_0x8fd2('0x39')]})[_0x8fd2('0x13')](function(_0x9207e3){return _0x9207e3;});}})[_0x8fd2('0x13')](function(){return respondWithRpcPromise(_0x8fd2('0xcf'),'abandon',_0x1b102f[_0x8fd2('0x29')],client9004);})[_0x8fd2('0x13')](respondWithResult(_0x1f846a,null))[_0x8fd2('0xad')](handleError(_0x1f846a,null));};exports[_0x8fd2('0xd0')]=function(_0xb31e16,_0x41f729){_0xb31e16[_0x8fd2('0x29')][_0x8fd2('0x27')]=_0xb31e16[_0x8fd2('0xd1')][_0x8fd2('0xd2')];_0xb31e16[_0x8fd2('0x29')][_0x8fd2('0xd3')]=_0xb31e16[_0x8fd2('0xd1')]['filename'];_0xb31e16['body'][_0x8fd2('0x3d')]=_0xb31e16[_0x8fd2('0xd1')][_0x8fd2('0xd4')];return db[_0x8fd2('0xd5')][_0x8fd2('0xb3')](_0xb31e16[_0x8fd2('0x29')])[_0x8fd2('0x13')](respondWithResult(_0x41f729,0xc9))[_0x8fd2('0xad')](handleError(_0x41f729,null));};exports[_0x8fd2('0xd6')]=function(_0x4e0dca,_0x5306ae){return db[_0x8fd2('0x3c')][_0x8fd2('0xb7')]({'where':{'id':_0x4e0dca[_0x8fd2('0xb6')]['id']},'raw':!![]})[_0x8fd2('0x13')](handleEntityNotFound(_0x5306ae,null))['then'](function(_0x2a216c){if(_0x2a216c){if(_0x2a216c[_0x8fd2('0x36')]){return _0x5306ae[_0x8fd2('0x1d')](0x193)['json']({'status':0x193,'message':_0x8fd2('0xd7')});}return db[_0x8fd2('0xd5')][_0x8fd2('0xb7')]({'where':{'id':_0x4e0dca[_0x8fd2('0x40')][_0x8fd2('0xd8')]},'raw':!![]})[_0x8fd2('0x13')](handleEntityNotFound(_0x5306ae,null));}})['then'](function(_0x1ef355){if(_0x1ef355){var _0x5db70e=_0x1ef355[_0x8fd2('0xd9')]!==null;var _0x592c04=path[_0x8fd2('0xda')](config['root'],_0x8fd2('0xdb'));if(_0x5db70e){_0x592c04=path['join'](_0x592c04,_0x8fd2('0xdc'));}var _0x541c60=path[_0x8fd2('0xda')](_0x592c04,_0x1ef355[_0x8fd2('0xd3')]);return _0x5306ae['download'](_0x541c60);}})[_0x8fd2('0xad')](handleError(_0x5306ae,null));};exports[_0x8fd2('0xdd')]=function(_0x4cf1e1,_0x2de6b2){var _0x277858=null;var _0x2ca413=null;var _0x198360=null;if(_0x4cf1e1[_0x8fd2('0x29')]['id']){delete _0x4cf1e1[_0x8fd2('0x29')]['id'];}if(_0x4cf1e1['body'][_0x8fd2('0xde')]){_0x198360=path[_0x8fd2('0xda')](config[_0x8fd2('0xdf')],'server/files/chat/upload/',util[_0x8fd2('0xe0')]('transcript-%s.txt',Date[_0x8fd2('0xe1')]()));_0x4cf1e1['body'][_0x8fd2('0xe2')]=_0x198360;}return db[_0x8fd2('0x3c')][_0x8fd2('0x60')]({'where':{'id':_0x4cf1e1[_0x8fd2('0xb6')]['id']},'include':[{'model':db[_0x8fd2('0xc8')],'as':_0x8fd2('0xe3'),'include':[{'model':db[_0x8fd2('0x73')],'as':_0x8fd2('0x73')}]}]})[_0x8fd2('0x13')](handleEntityNotFound(_0x2de6b2,null))['then'](saveUpdates(_0x4cf1e1[_0x8fd2('0x29')],null))[_0x8fd2('0x13')](function(_0x554086){if(_0x554086){_0x277858=_0x554086;return db[_0x8fd2('0xb8')][_0x8fd2('0x60')]({'where':{'id':_0x277858['ChatWebsiteId']}});}})['then'](function(_0x4cce28){if(_0x4cce28){_0x2ca413=_0x4cce28;return db[_0x8fd2('0xe4')][_0x8fd2('0x60')]({'where':{'id':_0x277858[_0x8fd2('0x6c')]}});}})[_0x8fd2('0x13')](function(_0x3a2785){if(_0x3a2785){if(_0x198360){var _0x181544=null;for(var _0x553d0a=0x1;_0x553d0a<_0x277858[_0x8fd2('0xe3')][_0x8fd2('0x5f')];++_0x553d0a){_0x181544=_0x277858[_0x8fd2('0xe3')][_0x553d0a];var _0x3feffb=_0x181544['UserId']?util[_0x8fd2('0xe0')](_0x8fd2('0xe5'),_0x2ca413['agentAlias'],_0x181544[_0x8fd2('0x37')]):_0x8fd2('0xe6');var _0xfc3f07=_0x4cf1e1[_0x8fd2('0x29')][_0x8fd2('0xe7')]||util[_0x8fd2('0xe0')](_0x8fd2('0xe5'),_0x8fd2('0xe8'),_0x181544[_0x8fd2('0x6c')]);switch(_0x2ca413[_0x8fd2('0xe9')]){case _0x8fd2('0xea'):_0x3feffb=_0x181544[_0x8fd2('0x37')]?util[_0x8fd2('0xe0')]('%s%d',_0x2ca413[_0x8fd2('0xeb')],_0x181544[_0x8fd2('0x37')]):_0x8fd2('0xe6');break;case'agent_alias':_0x3feffb=_0x181544[_0x8fd2('0x37')]?_0x181544[_0x8fd2('0x73')][_0x8fd2('0xec')]||_0x181544['User'][_0x8fd2('0x2d')]:_0x8fd2('0xe6');break;case _0x8fd2('0xed'):_0x3feffb=_0x181544[_0x8fd2('0x37')]?_0x181544[_0x8fd2('0x73')][_0x8fd2('0x2d')]:_0x8fd2('0xe6');break;default:_0x3feffb=_0x181544[_0x8fd2('0x37')]?util[_0x8fd2('0xe0')](_0x8fd2('0xe5'),_0x2ca413[_0x8fd2('0xeb')],_0x181544[_0x8fd2('0x37')]):'System';}var _0xe2a33b=util['format'](_0x8fd2('0xee'),moment(_0x181544[_0x8fd2('0xef')])[_0x8fd2('0xe0')](_0x8fd2('0xf0')),_0x181544[_0x8fd2('0xf1')]==='in'?_0xfc3f07:_0x3feffb,_0x181544['body']);if(!_0x181544[_0x8fd2('0xf2')]){fs[_0x8fd2('0xf3')](_0x198360,_0xe2a33b);}}return db['MailAccount'][_0x8fd2('0xb7')]({'where':{'service':!![]},'include':[{'model':db[_0x8fd2('0xf4')],'as':_0x8fd2('0xf5'),'raw':!![],'include':[{'model':db[_0x8fd2('0xf6')],'as':'CloudProvider','raw':!![]}]}]});}}})[_0x8fd2('0x13')](function(_0xbad7e8){if(!_0xbad7e8||!_0xbad7e8[_0x8fd2('0xf5')]||!_0x4cf1e1[_0x8fd2('0x29')])return _0x277858;var _0x1e5e5d=_0xbad7e8[_0x8fd2('0xf7')]();return respondWithRpcPromise('SendMail',_0x8fd2('0xf8'),{'account':_0x1e5e5d,'message':{'from':util[_0x8fd2('0xe0')](_0x8fd2('0xf9'),_0xbad7e8[_0x8fd2('0x27')],_0xbad7e8[_0x8fd2('0xfa')]||_0xbad7e8['Smtp'][_0x8fd2('0x94')]),'to':_0x4cf1e1[_0x8fd2('0x29')][_0x8fd2('0xde')],'subject':'Mail\x20Transcript','text':util[_0x8fd2('0xe0')](_0x8fd2('0xfb'),_0x4cf1e1[_0x8fd2('0x29')][_0x8fd2('0xde')]),'attachments':[{'path':_0x198360}]}})['then'](function(){return _0x277858;})[_0x8fd2('0xad')](function(_0x3756c5){logger[_0x8fd2('0x19')](_0x3756c5);});})[_0x8fd2('0x13')](respondWithStatusCode(_0x2de6b2,0xc8))[_0x8fd2('0xad')](handleError(_0x2de6b2,null));};exports[_0x8fd2('0xfc')]=function(_0x35117e,_0x2957a8){return db['ChatMessage'][_0x8fd2('0x60')]({'where':{'id':_0x35117e[_0x8fd2('0xb6')]['id']}})[_0x8fd2('0x13')](handleEntityNotFound(_0x2957a8,null))['then'](function(_0x49afed){if(_0x49afed){return _0x49afed[_0x8fd2('0xfc')](_0x35117e[_0x8fd2('0x29')][_0x8fd2('0xfd')],_[_0x8fd2('0xfe')](_0x35117e['body'],['ids','id'])||{});}})[_0x8fd2('0x13')](respondWithResult(_0x2957a8,null))[_0x8fd2('0xad')](handleError(_0x2957a8,null));};exports[_0x8fd2('0xff')]=function(_0x378206,_0x8855d8){var _0x455039={'raw':![],'where':{}};var _0x5c79c7={};var _0x3d9416={'count':0x0,'rows':[]};return db['ChatInteraction']['findOne']({'where':{'id':_0x378206['params']['id']}})[_0x8fd2('0x13')](handleEntityNotFound(_0x8855d8,null))[_0x8fd2('0x13')](function(_0x5ca097){if(_0x5ca097){_0x5c79c7[_0x8fd2('0x3f')]=_[_0x8fd2('0x41')](db[_0x8fd2('0xc8')]['rawAttributes']);_0x5c79c7[_0x8fd2('0x40')]=_[_0x8fd2('0x41')](_0x378206[_0x8fd2('0x40')]);_0x5c79c7[_0x8fd2('0x42')]=_[_0x8fd2('0x43')](_0x5c79c7[_0x8fd2('0x3f')],_0x5c79c7[_0x8fd2('0x40')]);_0x455039[_0x8fd2('0x44')]=_['intersection'](_0x5c79c7[_0x8fd2('0x3f')],qs[_0x8fd2('0x45')](_0x378206['query'][_0x8fd2('0x45')]));_0x455039[_0x8fd2('0x44')]=_0x455039[_0x8fd2('0x44')][_0x8fd2('0x5f')]?_0x455039[_0x8fd2('0x44')]:_0x5c79c7['model'];if(!_0x378206['query'][_0x8fd2('0x100')](_0x8fd2('0x101'))){_0x455039[_0x8fd2('0x21')]=qs[_0x8fd2('0x21')](_0x378206['query'][_0x8fd2('0x21')]);_0x455039[_0x8fd2('0x1f')]=qs[_0x8fd2('0x1f')](_0x378206[_0x8fd2('0x40')]['offset']);}_0x455039[_0x8fd2('0x8f')]=qs['sort'](_0x378206[_0x8fd2('0x40')][_0x8fd2('0x46')]);_0x455039[_0x8fd2('0x78')]=qs[_0x8fd2('0x42')](_['pick'](_0x378206['query'],_0x5c79c7['filters']));_0x455039['where']['ChatInteractionId']=_0x5ca097['id'];if(_0x378206[_0x8fd2('0x40')]['filter']){_0x455039[_0x8fd2('0x78')]=_[_0x8fd2('0x9b')](_0x455039[_0x8fd2('0x78')],{'$or':_[_0x8fd2('0x3b')](_0x455039[_0x8fd2('0x44')],function(_0x3f494c){var _0x105022={};_0x105022[_0x3f494c]={'$like':'%'+_0x378206[_0x8fd2('0x40')]['filter']+'%'};return _0x105022;})});}if(_0x378206[_0x8fd2('0x40')][_0x8fd2('0x7c')]){var _0x3f5e35=_0x378206[_0x8fd2('0x40')][_0x8fd2('0x7c')]['split'](',');var _0x33f950={};_0x33f950[_0x3f5e35[0x0]]={'$gte':moment(_0x3f5e35[0x1])[_0x8fd2('0xe0')](_0x8fd2('0x102'))};_0x455039[_0x8fd2('0x78')]=_[_0x8fd2('0x9b')](_0x455039[_0x8fd2('0x78')],_0x33f950);}_0x455039=_[_0x8fd2('0x9b')]({},_0x455039,_0x378206[_0x8fd2('0xb2')]);return db[_0x8fd2('0xc8')]['count']({'where':_0x455039[_0x8fd2('0x78')]})['then'](function(_0x594419){_0x3d9416[_0x8fd2('0x98')]=_0x594419;if(_0x378206[_0x8fd2('0x40')]['includeAll']){_0x455039[_0x8fd2('0xb1')]=[{'all':!![]}];}return db['ChatMessage'][_0x8fd2('0x103')](_0x455039);})['then'](function(_0xb60116){_0x3d9416['rows']=_0xb60116;return _0x3d9416;});}})[_0x8fd2('0x13')](respondWithFilteredResult(_0x8855d8,_0x455039))['catch'](handleError(_0x8855d8,null));};exports[_0x8fd2('0x104')]=function(_0x5bd87d,_0x87dd45){var _0x4c4665={'where':{}},_0x1e72c2={},_0x10beb3={'count':0x0,'rows':[]};return db[_0x8fd2('0x3c')][_0x8fd2('0xb7')]({'where':{'id':_0x5bd87d['params']['id']}})[_0x8fd2('0x13')](handleEntityNotFound(_0x87dd45,null))[_0x8fd2('0x13')](function(_0x28cbb8){if(_0x28cbb8){_0x1e72c2[_0x8fd2('0x3f')]=_[_0x8fd2('0x41')](db[_0x8fd2('0xc8')]['rawAttributes']);_0x1e72c2[_0x8fd2('0x40')]=_[_0x8fd2('0x41')](_0x5bd87d[_0x8fd2('0x40')]);_0x1e72c2['filters']=_[_0x8fd2('0x43')](_0x1e72c2['model'],_0x1e72c2[_0x8fd2('0x40')]);_0x4c4665[_0x8fd2('0x44')]=_[_0x8fd2('0x43')](_0x1e72c2[_0x8fd2('0x3f')],qs[_0x8fd2('0x45')](_0x5bd87d['query']['fields']));_0x4c4665[_0x8fd2('0x44')]=_0x4c4665[_0x8fd2('0x44')][_0x8fd2('0x5f')]?_0x4c4665['attributes']:_0x1e72c2['model'];if(!_0x5bd87d['query'][_0x8fd2('0x100')](_0x8fd2('0x101'))){_0x4c4665[_0x8fd2('0x21')]=qs[_0x8fd2('0x21')](_0x5bd87d[_0x8fd2('0x40')][_0x8fd2('0x21')]);_0x4c4665['offset']=qs[_0x8fd2('0x1f')](_0x5bd87d[_0x8fd2('0x40')][_0x8fd2('0x1f')]);}_0x4c4665[_0x8fd2('0x8f')]=qs[_0x8fd2('0x46')](_0x5bd87d[_0x8fd2('0x40')]['sort']);_0x4c4665['where']=qs['filters'](_[_0x8fd2('0x47')](_0x5bd87d[_0x8fd2('0x40')],_0x1e72c2[_0x8fd2('0x42')]));_0x4c4665['where']['ChatInteractionId']=_0x28cbb8['id'];if(_0x5bd87d[_0x8fd2('0x40')][_0x8fd2('0x84')]){_0x4c4665[_0x8fd2('0x78')]=_[_0x8fd2('0x9b')](_0x4c4665[_0x8fd2('0x78')],{'$or':_[_0x8fd2('0x3b')](_0x4c4665[_0x8fd2('0x44')],function(_0x573896){var _0xf1254f={};_0xf1254f[_0x573896]={'$like':'%'+_0x5bd87d[_0x8fd2('0x40')][_0x8fd2('0x84')]+'%'};return _0xf1254f;})});}_0x4c4665['where'][_0x8fd2('0xf2')]=![];if(_0x5bd87d['query']['id']){_0x4c4665['where']['id']={'$gt':_0x5bd87d[_0x8fd2('0x40')]['id']};}_0x4c4665=_[_0x8fd2('0x9b')]({},_0x4c4665,_0x5bd87d[_0x8fd2('0xb2')]);return db[_0x8fd2('0xc8')][_0x8fd2('0x98')]({'where':_0x4c4665[_0x8fd2('0x78')]})['then'](function(_0x2f84c4){_0x10beb3['count']=_0x2f84c4;_0x4c4665['include']=[];if(_0x5bd87d[_0x8fd2('0x40')][_0x8fd2('0x105')]){_0x4c4665[_0x8fd2('0xb1')][_0x8fd2('0x31')]({'model':db[_0x8fd2('0x73')],'as':_0x8fd2('0x73'),'attributes':['id',_0x8fd2('0x2d'),'alias']});}if(_0x5bd87d['query'][_0x8fd2('0xb0')]){_0x4c4665[_0x8fd2('0xb1')]=[{'all':!![]}];}return db[_0x8fd2('0xc8')][_0x8fd2('0x103')](_0x4c4665);})[_0x8fd2('0x13')](function(_0x47a7e9){_0x10beb3[_0x8fd2('0x106')]=_0x47a7e9;return _0x10beb3;});}})[_0x8fd2('0x13')](respondWithFilteredResult(_0x87dd45,_0x4c4665))[_0x8fd2('0xad')](handleError(_0x87dd45,null));};exports[_0x8fd2('0x107')]=function(_0x1c3b6f,_0x1345a0){return db[_0x8fd2('0x3c')][_0x8fd2('0x60')]({'where':{'id':_0x1c3b6f[_0x8fd2('0xb6')]['id']}})[_0x8fd2('0x13')](handleEntityNotFound(_0x1345a0,null))['then'](function(_0x4a3721){if(_0x4a3721){return _0x4a3721[_0x8fd2('0x108')](_0x1c3b6f['body']['ids'],_['omit'](_0x1c3b6f[_0x8fd2('0x29')],[_0x8fd2('0xfd'),'id'])||{})[_0x8fd2('0x109')](function(){return db[_0x8fd2('0x71')][_0x8fd2('0x103')]({'attributes':['id','name','color'],'where':{'id':_0x1c3b6f['body'][_0x8fd2('0xfd')]}});})[_0x8fd2('0x13')](function(_0x4e81dd){socket[_0x8fd2('0x10a')](_0x8fd2('0x10b'),{'id':Number(_0x1c3b6f[_0x8fd2('0xb6')]['id']),'tags':_0x4e81dd||[]});return{'id':Number(_0x1c3b6f[_0x8fd2('0xb6')]['id']),'tags':_0x4e81dd||[]};});}})[_0x8fd2('0x13')](respondWithResult(_0x1345a0,null))[_0x8fd2('0xad')](handleError(_0x1345a0,null));};exports[_0x8fd2('0x10c')]=function(_0x2585a9,_0x4cb694){return db['ChatInteraction']['find']({'where':{'id':_0x2585a9['params']['id']}})['then'](handleEntityNotFound(_0x4cb694,null))[_0x8fd2('0x13')](function(_0x3e0cf5){if(_0x3e0cf5){return _0x3e0cf5['removeTags'](_0x2585a9[_0x8fd2('0x40')]['ids']);}})['then'](respondWithStatusCode(_0x4cb694,null))[_0x8fd2('0xad')](handleError(_0x4cb694,null));};exports[_0x8fd2('0x10d')]=function(_0x6f5edc,_0x4fdd4a){var _0x363bc0=moment()[_0x8fd2('0x10e')]()[_0x8fd2('0x97')]();var _0x509dfa=path[_0x8fd2('0xda')](config[_0x8fd2('0xdf')],_0x8fd2('0x10f'),_0x8fd2('0x110'),'tmp');var _0x246933=path[_0x8fd2('0xda')](config['root'],'server',_0x8fd2('0x110'),_0x8fd2('0x111'));var _0x339c93=path[_0x8fd2('0xda')](_0x509dfa,_0x363bc0);var _0x1ff946=util[_0x8fd2('0xe0')](_0x8fd2('0x112'),_0x6f5edc[_0x8fd2('0xb6')]['id'],_0x363bc0);var _0x331eef=path['join'](_0x509dfa,_0x1ff946);var _0xa9b552=[];_0xa9b552['push']({'model':db[_0x8fd2('0x73')],'as':_0x8fd2('0x73'),'attributes':['id','fullname'],'raw':!![]});_0xa9b552['push']({'model':db[_0x8fd2('0xe4')],'as':_0x8fd2('0x65'),'attributes':['id','firstName','lastName'],'raw':!![]});if(_0x6f5edc[_0x8fd2('0x40')][_0x8fd2('0x111')]){_0xa9b552['push']({'model':db[_0x8fd2('0xd5')],'as':_0x8fd2('0xd5'),'raw':!![]});}var _0x472686=[{'model':db['ChatMessage'],'as':_0x8fd2('0xe3'),'attributes':['id',_0x8fd2('0x29'),'createdAt','direction',_0x8fd2('0xf2'),_0x8fd2('0x81')],'include':_0xa9b552}];_0x472686[_0x8fd2('0x31')]({'model':db['ChatWebsite'],'as':_0x8fd2('0x113'),'attributes':['id',_0x8fd2('0x27')]});_0x472686[_0x8fd2('0x31')]({'model':db['User'],'as':_0x8fd2('0x114'),'attributes':['id',_0x8fd2('0x2d')]});return db[_0x8fd2('0x3c')][_0x8fd2('0x60')]({'where':{'id':_0x6f5edc[_0x8fd2('0xb6')]['id']},'include':_0x472686})[_0x8fd2('0x13')](handleEntityNotFound(_0x4fdd4a,null))['then'](function(_0x5c12a6){if(_0x5c12a6){var _0x2599a2=_0x5c12a6[_0x8fd2('0x115')]({'plain':!![]});fs['mkdirSync'](_0x339c93);var _0x10c790={'channel':'Chat','account':_0x2599a2[_0x8fd2('0x113')][_0x8fd2('0x27')],'agent':_0x2599a2[_0x8fd2('0x114')]?_0x2599a2[_0x8fd2('0x114')]['fullname']:_0x8fd2('0x116'),'createdAt':moment(_0x2599a2['createdAt'])[_0x8fd2('0xe0')](_0x8fd2('0x102'))[_0x8fd2('0x97')](),'closedAt':_0x2599a2['closed']?moment(_0x2599a2['closedAt'])[_0x8fd2('0xe0')](_0x8fd2('0x102'))[_0x8fd2('0x97')]():'','disposition':_0x2599a2[_0x8fd2('0x39')],'chatInfo':{'browser':_0x2599a2[_0x8fd2('0x117')],'os':_0x2599a2['osName'],'referer':_0x2599a2['referer'],'customerIp':_0x2599a2[_0x8fd2('0x118')],'customerPort':_0x2599a2[_0x8fd2('0x119')]?_0x2599a2[_0x8fd2('0x119')]:_0x8fd2('0x116')},'messages':_(_0x2599a2[_0x8fd2('0xe3')])[_0x8fd2('0x11a')]()[_0x8fd2('0x84')]({'secret':![]})[_0x8fd2('0x3b')](function(_0xf799b5){if(_0xf799b5['Attachment']){var _0x64e4d=path[_0x8fd2('0xda')](_0x246933,_0xf799b5[_0x8fd2('0xd5')][_0x8fd2('0xd3')]);if(fs[_0x8fd2('0x11b')](_0x64e4d)){fs[_0x8fd2('0x11c')](_0x64e4d)['pipe'](fs[_0x8fd2('0x11d')](path[_0x8fd2('0xda')](_0x339c93,_0xf799b5['Attachment'][_0x8fd2('0xd3')])));}}return{'date':moment(_0xf799b5[_0x8fd2('0xef')])[_0x8fd2('0xe0')](_0x8fd2('0x102'))[_0x8fd2('0x97')](),'sender':_0xf799b5[_0x8fd2('0xf1')]==='out'?_0xf799b5[_0x8fd2('0x73')]?_0xf799b5[_0x8fd2('0x73')]['fullname']:_0x8fd2('0xe6'):_0xf799b5['Contact'][_0x8fd2('0x11e')]+(_0xf799b5[_0x8fd2('0x65')]['lastName']?'\x20'+_0xf799b5[_0x8fd2('0x65')][_0x8fd2('0x11f')]:''),'body':_0xf799b5[_0x8fd2('0xd5')]?_0xf799b5[_0x8fd2('0xd5')][_0x8fd2('0xd3')]:_0xf799b5[_0x8fd2('0x29')],'direction':_0xf799b5[_0x8fd2('0xf1')]===_0x8fd2('0xc7')?'A':'C','secret':_0xf799b5[_0x8fd2('0xf2')],'read':_0xf799b5[_0x8fd2('0x81')],'attachment':_0xf799b5[_0x8fd2('0xd5')]};})[_0x8fd2('0x62')]()};return ejs['renderFile'](path[_0x8fd2('0xda')](config[_0x8fd2('0xdf')],_0x8fd2('0x10f'),_0x8fd2('0x120'),'downloadInteraction.ejs'),{'interaction':_0x10c790})[_0x8fd2('0x13')](function(_0x2eb8a5){var _0x4f7b73=path[_0x8fd2('0xda')](_0x339c93,_0x8fd2('0x121')+_0x2599a2['id']+'-'+_0x363bc0+_0x8fd2('0x122'));var _0x1b510d={'path':_0x4f7b73,'channel':_0x8fd2('0x123'),'interactionId':_0x2599a2['id']};return pdf['createPdfFromHTML'](_0x2eb8a5,_0x1b510d);})['then'](function(){return new Promise(function(_0x4e1673,_0x2d8591){zipdir(_0x339c93,{'saveTo':_0x331eef},function(_0x3e4ec8,_0x54ead2){if(_0x3e4ec8)return _0x2d8591(_0x3e4ec8);return _0x4e1673(_0x54ead2);});})['then'](function(){return new BPromise(function(_0x5155be,_0x3c2700){rimraf(_0x339c93,function(_0x117433){if(_0x117433)_0x3c2700(_0x117433);return _0x5155be();});});})[_0x8fd2('0x13')](function(){return _0x4fdd4a[_0x8fd2('0x10d')](_0x331eef,_0x1ff946,function(_0x4f5e9e){if(_0x4f5e9e){logger[_0x8fd2('0x19')]('err',_0x4f5e9e);}else{fs[_0x8fd2('0x124')](_0x331eef);}});});});}else{return _0x4fdd4a[_0x8fd2('0x1c')](0xc8);}})[_0x8fd2('0xad')](handleError(_0x4fdd4a,null));};
\ No newline at end of file
+var _0xaa88=['browserName','referer','customerIp','customerPort','tail','existsSync','createReadStream','pipe','createWriteStream','renderFile','views','transcript-','.pdf','unlinkSync','rimraf','zip-dir','request-promise','moment','mustache','util','path','ejs','lodash','squel','../../components/parsers/advancedSearch','../../config/logger','api','../../config/environment','../../mysqldb','defaults','redis','localhost','./chatInteraction.socket','register','jayson/promise','http','client','then','ChatInteraction,\x20%s,\x20%s','request\x20sent','debug','ChatInteraction,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','result','catch','status','end','json','offset','undefined','limit','set','Content-Range','update','destroy','sendStatus','stack','name','send','render','merge','body','agent','account','Users','map','Tags','forEach','push','TagIds','waiting','talking','answered','unmanaged','abandoned','total','closed','UserId','disposition','index','ChatInteraction','fieldName','type','query','keys','filters','intersection','model','attributes','length','hasOwnProperty','nolimit','sort','pick','select','field','color','from','tools_tags','u.id','ui.ChatInteractionId','u.id\x20=\x20ui.UserId','cm_contacts','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','left_join','chat_websites','chat_messages','me.ChatInteractionId\x20=\x20i.id','chat_interaction_has_tags','it.ChatInteractionId\x20=\x20i.id','expr','parseSearch','search','conditions','find','having','`\x20=\x200','`\x20>\x200','Contact','operator','$substring','value','split','MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','getFullTextValue','c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?','ContactId','buildExpression','text','start','Tag','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','union','User','CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','compact','isEmpty','where','i.ChatWebsiteId\x20IN\x20?','concat','createdAt','parse','i.createdAt\x20BETWEEN\x20?\x20AND\x20?','null','\x20IS\x20NULL','read','`unreadMessages`\x20=\x200','`unreadMessages`\x20>\x200','isArray','tag','filter','isNumeric','group','i.id','Sequelize','QueryTypes','SELECT','clone','unreadMessages','order','contactName','resolve','ChatWebsiteId','i.ChatWebsiteId\x20IS\x20NOT\x20NULL','role','user','i.ChatWebsiteId\x20IS\x20NULL','sequelize','toString','count','fields','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','a.key','Account.key','a.mandatoryDisposition','Account.mandatoryDisposition','CASE\x20WHEN\x20(c.firstName\x20IS\x20NOT\x20NULL\x20AND\x20c.firstName\x20<>\x20\x27\x27)\x20OR\x20(c.lastName\x20IS\x20NOT\x20NULL\x20AND\x20c.lastName\x20<>\x20\x27\x27)\x20THEN\x20CONCAT(IFNULL(c.firstName,\x20\x27\x27),\x20\x27\x20\x27,\x20IFNULL(c.lastName,\x20\x27\x27))\x20ELSE\x20\x27Unknown\x27\x20END','i.*','c.firstName','Contact.firstName','c.lastName','Contact.lastName','Contact.email','c.phone','Contact.phone','c.mobile','Contact.fax','o.fullname','Owner.fullname','o.internal','Owner.internal','ui.ChatInteractionId\x20IN\x20?','groupBy','ChatInteractionId','all','rawAttributes','includeAll','include','options','create','params','describe','ChatWebsite','findOne','vidaooApiKey','vidaooTopic','vidaooNote','vidaooMetadata','vidaooEscalation','email','https://api-vidaoo.xcally.com/api/v1/meetings','isNull','follow','metadata','Error\x20in\x20conversion\x20vidaooMetadata','ValidationError','Error\x20in\x20Vidaoo\x20configuration','join_url','out','ChatMessage','Unable\x20to\x20create\x20Vidaoo\x20session','abandon','abandonInteraction,\x20%s,\x20%s,\x20%s','Interaction\x20already\x20assigned','AbandonInteraction','attachmentUpload','file','originalname','filename','mimetype','Attachment','attachmentDownload','Unauthorized','ChatOfflineMessageId','offline-chat/','join','basename','download','mailTranscript','format','transcript-%s.txt','pathTranscript','CmContact','Messages','agentAlias','System','%s%d','Visitor','agentIdentifier','website_alias','agent_alias','agent_fullname','fullname','[%s]\x20%s:\x20%s\x0a','MM/DD/YYYY\x20HH:mm:ss','direction','appendFileSync','MailAccount','MailServerOut','Smtp','CloudProvider','SendMail','Hi\x20%s,\x20attached\x20you\x20can\x20find\x20your\x20transcript\x20file.\x20\x0a\x0aRegards.\x20\x0a\x0a','addMessage','ids','omit','$gte','YYYY-MM-DD\x20HH:mm:ss','findAll','getMyMessages','secret','includeAgent','alias','rows','addTags','setTags','chatInteractionTags:save','removeTags','unix','root','server','files','tmp','attachments','transcript-%d-%s.zip','firstName','lastName','Owner','get','mkdirSync','Account','N.A.','closedAt'];(function(_0x2809d8,_0x1e1660){var _0x35cf26=function(_0x10aa0b){while(--_0x10aa0b){_0x2809d8['push'](_0x2809d8['shift']());}};_0x35cf26(++_0x1e1660);}(_0xaa88,0x137));var _0x8aa8=function(_0x574617,_0x42eccc){_0x574617=_0x574617-0x0;var _0x29de90=_0xaa88[_0x574617];return _0x29de90;};'use strict';var rimraf=require(_0x8aa8('0x0'));var zipdir=require(_0x8aa8('0x1'));var rp=require(_0x8aa8('0x2'));var moment=require(_0x8aa8('0x3'));var BPromise=require('bluebird');var Mustache=require(_0x8aa8('0x4'));var util=require(_0x8aa8('0x5'));var path=require(_0x8aa8('0x6'));var ejs=require(_0x8aa8('0x7'));var fs=require('fs');var _=require(_0x8aa8('0x8'));var squel=require(_0x8aa8('0x9'));var Redis=require('ioredis');var qs=require('../../components/parsers/qs');var as=require(_0x8aa8('0xa'));var pdf=require('../../components/export/pdf');var logger=require(_0x8aa8('0xb'))(_0x8aa8('0xc'));var config=require(_0x8aa8('0xd'));var db=require(_0x8aa8('0xe'))['db'];config['redis']=_[_0x8aa8('0xf')](config[_0x8aa8('0x10')],{'host':_0x8aa8('0x11'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x8aa8('0x10')]));require(_0x8aa8('0x12'))[_0x8aa8('0x13')](socket);var jayson=require(_0x8aa8('0x14'));var client=jayson['client'][_0x8aa8('0x15')]({'port':0x232b});var client9004=jayson[_0x8aa8('0x16')]['http']({'port':0x232c});function respondWithRpcPromise(_0x370b25,_0xa691d6,_0x28132f,_0x535aa0){return new BPromise(function(_0x3b9f74,_0x179e33){var _0x2fa66f=_0x535aa0||client;return _0x2fa66f['request'](_0x370b25,_0x28132f)[_0x8aa8('0x17')](function(_0x4af534){logger['info'](_0x8aa8('0x18'),_0xa691d6,_0x8aa8('0x19'));logger[_0x8aa8('0x1a')](_0x8aa8('0x1b'),_0xa691d6,_0x8aa8('0x19'),JSON[_0x8aa8('0x1c')](_0x4af534));if(_0x4af534[_0x8aa8('0x1d')]){if(_0x4af534[_0x8aa8('0x1d')][_0x8aa8('0x1e')]===0x1f4){logger['error']('ChatInteraction,\x20%s,\x20%s',_0xa691d6,_0x4af534[_0x8aa8('0x1d')]['message']);return _0x179e33(_0x4af534['error'][_0x8aa8('0x1f')]);}logger['error'](_0x8aa8('0x18'),_0xa691d6,_0x4af534[_0x8aa8('0x1d')][_0x8aa8('0x1f')]);return _0x3b9f74(_0x4af534[_0x8aa8('0x1d')]['message']);}else{logger[_0x8aa8('0x20')](_0x8aa8('0x18'),_0xa691d6,_0x8aa8('0x19'));_0x3b9f74(_0x4af534[_0x8aa8('0x21')][_0x8aa8('0x1f')]);}})[_0x8aa8('0x22')](function(_0x5d9b62){logger[_0x8aa8('0x1d')]('ChatInteraction,\x20%s,\x20%s',_0xa691d6,_0x5d9b62);_0x179e33(_0x5d9b62);});});}function respondWithStatusCode(_0x1fdadd,_0x47dd5d){_0x47dd5d=_0x47dd5d||0xcc;return function(_0x2c1828){if(_0x2c1828){return _0x1fdadd['sendStatus'](_0x47dd5d);}return _0x1fdadd[_0x8aa8('0x23')](_0x47dd5d)[_0x8aa8('0x24')]();};}function respondWithResult(_0x3ca7dc,_0x5e5d91){_0x5e5d91=_0x5e5d91||0xc8;return function(_0x24f428){if(_0x24f428){return _0x3ca7dc[_0x8aa8('0x23')](_0x5e5d91)[_0x8aa8('0x25')](_0x24f428);}};}function respondWithFilteredResult(_0x547a7b,_0x57acd2){return function(_0x2d1508){if(_0x2d1508){var _0x44e2d8=typeof _0x57acd2[_0x8aa8('0x26')]===_0x8aa8('0x27')&&typeof _0x57acd2[_0x8aa8('0x28')]==='undefined';var _0x2bc34a=_0x2d1508['count'];var _0x2a0ff2=_0x44e2d8?0x0:_0x57acd2[_0x8aa8('0x26')];var _0x15ff33=_0x44e2d8?_0x2d1508['count']:_0x57acd2['offset']+_0x57acd2[_0x8aa8('0x28')];var _0x5e96c9;if(_0x15ff33>=_0x2bc34a){_0x15ff33=_0x2bc34a;_0x5e96c9=0xc8;}else{_0x5e96c9=0xce;}_0x547a7b[_0x8aa8('0x23')](_0x5e96c9);return _0x547a7b[_0x8aa8('0x29')](_0x8aa8('0x2a'),_0x2a0ff2+'-'+_0x15ff33+'/'+_0x2bc34a)[_0x8aa8('0x25')](_0x2d1508);}return null;};}function saveUpdates(_0xe07a83){return function(_0x4d5c2e){if(_0x4d5c2e){return _0x4d5c2e[_0x8aa8('0x2b')](_0xe07a83)[_0x8aa8('0x17')](function(_0x4b67f5){return _0x4b67f5;});}return null;};}function removeEntity(_0x99f74e){return function(_0xee2f61){if(_0xee2f61){return _0xee2f61[_0x8aa8('0x2c')]()['then'](function(){_0x99f74e[_0x8aa8('0x23')](0xcc)[_0x8aa8('0x24')]();});}};}function handleEntityNotFound(_0x23a37c){return function(_0x423b02){if(!_0x423b02){_0x23a37c[_0x8aa8('0x2d')](0x194);}return _0x423b02;};}function handleError(_0x356be7,_0x370401){_0x370401=_0x370401||0x1f4;return function(_0xcad4f8){logger[_0x8aa8('0x1d')](_0xcad4f8[_0x8aa8('0x2e')]);if(_0xcad4f8[_0x8aa8('0x2f')]){delete _0xcad4f8['name'];}_0x356be7['status'](_0x370401)[_0x8aa8('0x30')](_0xcad4f8);};}function getMustacheRender(_0x1270ff,_0x201d8d){return Mustache[_0x8aa8('0x31')](_0x1270ff,_[_0x8aa8('0x32')](_0x201d8d[_0x8aa8('0x33')],{'contact':_0x201d8d['contact'],'message':_0x201d8d['message'],'agent':_0x201d8d[_0x8aa8('0x34')],'interaction':_0x201d8d['interaction'],'account':_0x201d8d[_0x8aa8('0x35')]}))||'';}function getInteractionUsers(_0x2c5c84,_0x25066c){return new BPromise(function(_0x59041c,_0x36ae4b){try{if(_0x25066c[_0x2c5c84['id']]){_0x2c5c84[_0x8aa8('0x36')]=_[_0x8aa8('0x37')](_0x25066c[_0x2c5c84['id']],function(_0x5c28fa){return{'id':_0x5c28fa['id'],'fullname':_0x5c28fa['fullname']};});}}catch(_0x22b511){_0x36ae4b(_0x22b511);}_0x59041c(_0x2c5c84);});}function getInteractionTags(_0x1f90fc,_0x52f87d){return new BPromise(function(_0x24eb18,_0x2e1f52){try{if(_0x1f90fc['TagIds']){_0x1f90fc[_0x8aa8('0x38')]=[];_0x1f90fc['TagIds']['split'](',')[_0x8aa8('0x39')](function(_0x5537ff){_0x1f90fc[_0x8aa8('0x38')][_0x8aa8('0x3a')](_0x52f87d[_0x5537ff]);});}delete _0x1f90fc[_0x8aa8('0x3b')];}catch(_0x39b063){_0x2e1f52(_0x39b063);}_0x24eb18(_0x1f90fc);});}function updateChatInteraction(_0x4ce5e9,_0x14264d,_0x32abfc){return new BPromise(function(_0x4962a4,_0x40867c){return getInteractionUsers(_0x4ce5e9,_0x32abfc)[_0x8aa8('0x17')](function(_0x5ea57a){return getInteractionTags(_0x5ea57a,_0x14264d);})[_0x8aa8('0x17')](function(_0x3c6115){return getStateInteraction(_0x3c6115);})[_0x8aa8('0x17')](function(_0x2658f4){_0x4962a4(_0x2658f4);})[_0x8aa8('0x22')](function(_0xea42cb){_0x40867c(_0xea42cb);});});}function getStateInteraction(_0x46711b){return new BPromise(function(_0x3fb265){_0x46711b[_0x8aa8('0x3c')]=0x0;_0x46711b[_0x8aa8('0x3d')]=0x0;_0x46711b[_0x8aa8('0x3e')]=0x0;_0x46711b[_0x8aa8('0x3f')]=0x0;_0x46711b[_0x8aa8('0x40')]=0x0;_0x46711b[_0x8aa8('0x41')]=0x0;if(!_0x46711b[_0x8aa8('0x42')]&&!_0x46711b[_0x8aa8('0x43')]){_0x46711b['waiting']+=0x1;}if(!_0x46711b[_0x8aa8('0x42')]&&_0x46711b['UserId']){_0x46711b['talking']+=0x1;if(_0x46711b['waiting']){_0x46711b[_0x8aa8('0x3c')]-=0x1;}}if(_0x46711b['closed']&&_0x46711b['disposition']===_0x8aa8('0x40')){_0x46711b['abandoned']+=0x1;if(_0x46711b[_0x8aa8('0x3c')]){_0x46711b['waiting']-=0x1;}}else if(_0x46711b['closed']&&!_0x46711b[_0x8aa8('0x43')]&&_0x46711b[_0x8aa8('0x44')]){_0x46711b[_0x8aa8('0x3f')]+=0x1;if(_0x46711b[_0x8aa8('0x3c')]){_0x46711b[_0x8aa8('0x3c')]-=0x1;}}else if(_0x46711b[_0x8aa8('0x42')]&&_0x46711b[_0x8aa8('0x43')]){_0x46711b['answered']+=0x1;if(_0x46711b[_0x8aa8('0x3d')]){_0x46711b['talking']-=0x1;}}_0x46711b[_0x8aa8('0x41')]+=0x1;_0x3fb265(_0x46711b);});}exports[_0x8aa8('0x45')]=function(_0x44ba22,_0x2bc6d3){var _0x2a0a14={},_0x44f2b4={},_0x5adcda={'count':0x0,'rows':[]};var _0x56e13f=_[_0x8aa8('0x37')](db[_0x8aa8('0x46')]['rawAttributes'],function(_0x35eeea){return{'name':_0x35eeea[_0x8aa8('0x47')],'type':_0x35eeea[_0x8aa8('0x48')]['key']};});_0x44f2b4['model']=_['map'](_0x56e13f,'name');_0x44f2b4[_0x8aa8('0x49')]=_[_0x8aa8('0x4a')](_0x44ba22['query']);_0x44f2b4[_0x8aa8('0x4b')]=_[_0x8aa8('0x4c')](_0x44f2b4[_0x8aa8('0x4d')],_0x44f2b4[_0x8aa8('0x49')]);_0x2a0a14[_0x8aa8('0x4e')]=_[_0x8aa8('0x4c')](_0x44f2b4['model'],qs['fields'](_0x44ba22[_0x8aa8('0x49')]['fields']));_0x2a0a14[_0x8aa8('0x4e')]=_0x2a0a14['attributes'][_0x8aa8('0x4f')]?_0x2a0a14[_0x8aa8('0x4e')]:_0x44f2b4[_0x8aa8('0x4d')];if(!_0x44ba22[_0x8aa8('0x49')][_0x8aa8('0x50')](_0x8aa8('0x51'))){_0x2a0a14[_0x8aa8('0x28')]=qs[_0x8aa8('0x28')](_0x44ba22[_0x8aa8('0x49')][_0x8aa8('0x28')]);_0x2a0a14[_0x8aa8('0x26')]=qs[_0x8aa8('0x26')](_0x44ba22['query'][_0x8aa8('0x26')]);}_0x2a0a14['order']=qs['sort'](_0x44ba22['query'][_0x8aa8('0x52')]);_0x2a0a14['where']=qs[_0x8aa8('0x4b')](_[_0x8aa8('0x53')](_0x44ba22[_0x8aa8('0x49')],_0x44f2b4['filters']),_0x56e13f);var _0x3508df=[];var _0x33d8a4=squel[_0x8aa8('0x54')]()[_0x8aa8('0x55')]('id')['field']('name')[_0x8aa8('0x55')](_0x8aa8('0x56'))[_0x8aa8('0x57')](_0x8aa8('0x58'));var _0x4e7ea0=squel['select']()[_0x8aa8('0x55')](_0x8aa8('0x59'))[_0x8aa8('0x55')]('u.fullname')[_0x8aa8('0x55')](_0x8aa8('0x5a'))['from']('user_has_chat_interactions','ui')['left_join']('users','u',_0x8aa8('0x5b'));var _0x4ab098=squel[_0x8aa8('0x54')]()[_0x8aa8('0x57')]('chat_interactions','i')['left_join'](_0x8aa8('0x5c'),'c',_0x8aa8('0x5d'))['left_join']('users','o','o.id\x20=\x20i.UserId')[_0x8aa8('0x5e')](_0x8aa8('0x5f'),'a','a.id\x20=\x20i.ChatWebsiteId')['left_join'](_0x8aa8('0x60'),'me',_0x8aa8('0x61'))['left_join'](_0x8aa8('0x62'),'it',_0x8aa8('0x63'))['left_join'](_0x8aa8('0x58'),'t','t.id\x20=\x20it.TagId');var _0x29dfb3=squel['expr']();var _0x26f771=[];var _0x1497ad=squel[_0x8aa8('0x64')]();var _0x417a34;if(_0x44ba22[_0x8aa8('0x49')]['search']){_0x417a34=as[_0x8aa8('0x65')](_0x44ba22[_0x8aa8('0x49')][_0x8aa8('0x66')]);var _0x3cb847=_0x417a34['sqlOperator'];for(var _0x106a95=0x0;_0x106a95<_0x417a34[_0x8aa8('0x67')]['length'];_0x106a95++){var _0x2f7fe2=_0x417a34[_0x8aa8('0x67')][_0x106a95];var _0x2d322a='i';var _0xec3379=_[_0x8aa8('0x68')](_0x56e13f,[_0x8aa8('0x2f'),_0x2f7fe2[_0x8aa8('0x55')]]);if(!_0xec3379){switch(_0x2f7fe2['field']){case'unreadMessages':if(_0x2f7fe2['value']==0x1){_0x4ab098[_0x8aa8('0x69')]('`'+_0x2f7fe2[_0x8aa8('0x55')]+_0x8aa8('0x6a'));}else{_0x4ab098[_0x8aa8('0x69')]('`'+_0x2f7fe2[_0x8aa8('0x55')]+_0x8aa8('0x6b'));}break;case _0x8aa8('0x6c'):if(_0x2f7fe2[_0x8aa8('0x6d')]===_0x8aa8('0x6e')){if(_0x2f7fe2[_0x8aa8('0x6f')][_0x8aa8('0x70')]('\x20')[_0x8aa8('0x4f')]>0x1){_0x29dfb3[_0x3cb847](_0x8aa8('0x71'),qs[_0x8aa8('0x72')](_0x2f7fe2[_0x8aa8('0x6f')]),null);}else{var _0x36523a='%'+_0x2f7fe2[_0x8aa8('0x6f')]+'%';_0x29dfb3[_0x3cb847](_0x8aa8('0x73'),_0x36523a,_0x36523a,_0x36523a);}}else{_0xec3379=_[_0x8aa8('0x68')](_0x56e13f,['name',_0x8aa8('0x74')]);_0x2f7fe2[_0x8aa8('0x55')]=_0x8aa8('0x74');_0x1417a1=as[_0x8aa8('0x75')](_0x2d322a,_0xec3379[_0x8aa8('0x48')],_0x2f7fe2);_0x29dfb3[_0x3cb847](_0x1417a1[_0x8aa8('0x76')],_0x1417a1[_0x8aa8('0x6f')][_0x8aa8('0x77')],_0x1417a1[_0x8aa8('0x6f')]['end']);}break;case _0x8aa8('0x78'):var _0x3d2c0e=_0x2f7fe2['value'][_0x8aa8('0x70')](',')['map'](function(_0x1e52fc){return Number(_0x1e52fc);});_0x3d2c0e[_0x8aa8('0x39')](function(_0x4c45a6){_0x1497ad['or'](_0x8aa8('0x79'),'%,'+_0x4c45a6+',%');});_0x26f771=_[_0x8aa8('0x7a')](_0x26f771,_0x3d2c0e);break;case _0x8aa8('0x7b'):if(_0x2f7fe2[_0x8aa8('0x6d')]===_0x8aa8('0x6e')){_0x29dfb3[_0x3cb847](_0x8aa8('0x7c'),'%'+_0x2f7fe2[_0x8aa8('0x6f')]+'%',null);}else{_0xec3379=_['find'](_0x56e13f,[_0x8aa8('0x2f'),_0x8aa8('0x43')]);_0x2f7fe2[_0x8aa8('0x55')]=_0x8aa8('0x43');_0x1417a1=as['buildExpression'](_0x2d322a,_0xec3379['type'],_0x2f7fe2);_0x29dfb3[_0x3cb847](_0x1417a1[_0x8aa8('0x76')],_0x1417a1[_0x8aa8('0x6f')][_0x8aa8('0x77')],_0x1417a1[_0x8aa8('0x6f')]['end']);}break;case'body':_0x1417a1=as['buildExpression']('me',null,_0x2f7fe2);_0x29dfb3[_0x3cb847](_0x1417a1[_0x8aa8('0x76')],_0x1417a1[_0x8aa8('0x6f')][_0x8aa8('0x77')],_0x1417a1[_0x8aa8('0x6f')][_0x8aa8('0x24')]);break;}}else{var _0x1417a1=as[_0x8aa8('0x75')](_0x2d322a,_0xec3379[_0x8aa8('0x48')],_0x2f7fe2);_0x29dfb3[_0x3cb847](_0x1417a1[_0x8aa8('0x76')],_0x1417a1['value'][_0x8aa8('0x77')],_0x1417a1['value']['end']);}}}else{var _0x376a37=_(_0x44ba22[_0x8aa8('0x49')])[_0x8aa8('0x4a')]()['map'](function(_0x47027d){return _['some'](_0x56e13f,[_0x8aa8('0x2f'),_0x47027d])?_0x47027d:undefined;})[_0x8aa8('0x7d')]()[_0x8aa8('0x6f')]();if(!_[_0x8aa8('0x7e')](_0x376a37)){_0x376a37[_0x8aa8('0x39')](function(_0x5d1c8e){if(_0x5d1c8e==='ChatWebsiteId'){_0x4ab098[_0x8aa8('0x7f')](_0x8aa8('0x80'),[][_0x8aa8('0x81')](_0x44ba22[_0x8aa8('0x49')][_0x5d1c8e]));}else if(_0x5d1c8e===_0x8aa8('0x82')){var _0x358fb6=JSON[_0x8aa8('0x83')](_0x44ba22[_0x8aa8('0x49')][_0x5d1c8e])['$gte'];var _0x3b9a77=JSON[_0x8aa8('0x83')](_0x44ba22['query'][_0x5d1c8e])['$lte'];_0x4ab098[_0x8aa8('0x7f')](_0x8aa8('0x84'),_0x358fb6,_0x3b9a77);}else{if(_0x44ba22['query'][_0x5d1c8e]===_0x8aa8('0x85')){_0x4ab098[_0x8aa8('0x7f')]('i.'+_0x5d1c8e+_0x8aa8('0x86'));}else{_0x4ab098['where']('i.'+_0x5d1c8e+'\x20=\x20?',_0x44ba22['query'][_0x5d1c8e]);}}});}if(_0x44ba22[_0x8aa8('0x49')][_0x8aa8('0x87')]){if(_0x44ba22[_0x8aa8('0x49')][_0x8aa8('0x87')]==0x1){_0x4ab098['having'](_0x8aa8('0x88'));}else{_0x4ab098[_0x8aa8('0x69')](_0x8aa8('0x89'));}}if(_0x44ba22[_0x8aa8('0x49')]['tag']){_0x26f771=_[_0x8aa8('0x8a')](_0x44ba22['query']['tag'])?_0x44ba22[_0x8aa8('0x49')]['tag']:new Array(_0x44ba22[_0x8aa8('0x49')][_0x8aa8('0x8b')]);_0x26f771[_0x8aa8('0x39')](function(_0x55a3c0){_0x1497ad['or'](_0x8aa8('0x79'),'%,'+_0x55a3c0+',%');});}if(_0x44ba22[_0x8aa8('0x49')][_0x8aa8('0x8c')]){var _0x3926a8=_0x44ba22[_0x8aa8('0x49')][_0x8aa8('0x8c')]['replace']('\x5c','\x5c\x5c')['replace'](/'/g,'\x27\x27');if(qs[_0x8aa8('0x8d')](_0x3926a8)){_0x29dfb3['or']('i.id\x20LIKE\x20?',_0x3926a8+'%');}else{_0x29dfb3['or']('MATCH\x20(me.body)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)',qs['getFullTextValue'](_0x3926a8))['or']('CONCAT(c.firstName,\x20\x27\x20\x27,\x20c.lastName)\x20LIKE\x20?',_0x3926a8+'%');}}}_0x4ab098['where'](_0x29dfb3);_0x4ab098[_0x8aa8('0x8e')](_0x8aa8('0x8f'));var _0x183945={'type':db[_0x8aa8('0x90')][_0x8aa8('0x91')][_0x8aa8('0x92')],'raw':!![]};var _0x19c43f=_0x4ab098[_0x8aa8('0x93')]();_0x19c43f[_0x8aa8('0x55')](_0x8aa8('0x8f'));_0x19c43f['field']('SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)',_0x8aa8('0x94'));if(_0x2a0a14[_0x8aa8('0x95')]){_0x2a0a14[_0x8aa8('0x95')][_0x8aa8('0x39')](function(_0x26599f){var _0x227591=_0x26599f[0x0]===_0x8aa8('0x96')?_0x26599f[0x0]:'i.'+_0x26599f[0x0];_0x4ab098[_0x8aa8('0x95')](_0x227591,_0x26599f[0x1]==='DESC'?![]:!![]);});}if(!_[_0x8aa8('0x7e')](_0x26f771)){_0x4ab098[_0x8aa8('0x69')](_0x1497ad);_0x19c43f[_0x8aa8('0x7f')]('t.id\x20IN\x20?',_0x26f771);}BPromise[_0x8aa8('0x97')]()[_0x8aa8('0x17')](function(){if(!_0x417a34){if(_0x44ba22['query'][_0x8aa8('0x98')])return;_0x19c43f[_0x8aa8('0x7f')](_0x8aa8('0x99'));_0x4ab098[_0x8aa8('0x7f')](_0x8aa8('0x99'));return;}if(_0x44ba22['user'][_0x8aa8('0x9a')]!==_0x8aa8('0x34'))return;return _0x44ba22[_0x8aa8('0x9b')]['getChatWebsites']({'attributes':['id'],'raw':!![]})[_0x8aa8('0x17')](function(_0x13e9c9){if(_[_0x8aa8('0x7e')](_0x13e9c9)){_0x19c43f[_0x8aa8('0x7f')](_0x8aa8('0x9c'));_0x4ab098[_0x8aa8('0x7f')]('i.ChatWebsiteId\x20IS\x20NULL');}else{_0x19c43f[_0x8aa8('0x7f')]('i.ChatWebsiteId\x20IN\x20?',_[_0x8aa8('0x37')](_0x13e9c9,'id'));_0x4ab098[_0x8aa8('0x7f')](_0x8aa8('0x80'),_[_0x8aa8('0x37')](_0x13e9c9,'id'));}});})[_0x8aa8('0x17')](function(){if(_0x44ba22['user'][_0x8aa8('0x9a')]===_0x8aa8('0x34')&&!_0x417a34&&!_0x44ba22[_0x8aa8('0x49')][_0x8aa8('0x98')])return[];return db[_0x8aa8('0x9d')][_0x8aa8('0x49')](_0x19c43f[_0x8aa8('0x9e')](),_0x183945);})['then'](function(_0x51e859){_0x5adcda[_0x8aa8('0x9f')]=_0x51e859[_0x8aa8('0x4f')];if(_0x5adcda[_0x8aa8('0x9f')]===0x0)return[];return db[_0x8aa8('0x9d')][_0x8aa8('0x49')](_0x33d8a4[_0x8aa8('0x9e')](),_0x183945)[_0x8aa8('0x17')](function(_0x3b151f){_0x3508df=_['keyBy'](_0x3b151f,'id');_0x183945=_[_0x8aa8('0x32')](_0x183945,{'model':db[_0x8aa8('0x46')],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x44ba22['query'][_0x8aa8('0xa0')]){_0x2a0a14['attributes'][_0x8aa8('0x39')](function(_0xe5556c){_0x4ab098[_0x8aa8('0x55')]('i.'+_0xe5556c);});}else{_0x4ab098[_0x8aa8('0x55')](_0x8aa8('0xa1'),_0x8aa8('0x94'));_0x4ab098['field'](_0x8aa8('0xa2'),_0x8aa8('0xa3'));_0x4ab098[_0x8aa8('0x55')](_0x8aa8('0xa4'),_0x8aa8('0xa5'));_0x4ab098['field'](_0x8aa8('0xa6'),_0x8aa8('0x96'));_0x4ab098[_0x8aa8('0x55')](_0x8aa8('0xa7'));_0x4ab098[_0x8aa8('0x55')](_0x8aa8('0xa8'),_0x8aa8('0xa9'));_0x4ab098[_0x8aa8('0x55')](_0x8aa8('0xaa'),_0x8aa8('0xab'));_0x4ab098['field']('c.email',_0x8aa8('0xac'));_0x4ab098[_0x8aa8('0x55')](_0x8aa8('0xad'),_0x8aa8('0xae'));_0x4ab098[_0x8aa8('0x55')](_0x8aa8('0xaf'),'Contact.mobile');_0x4ab098[_0x8aa8('0x55')]('c.fax',_0x8aa8('0xb0'));_0x4ab098[_0x8aa8('0x55')](_0x8aa8('0xb1'),_0x8aa8('0xb2'));_0x4ab098['field'](_0x8aa8('0xb3'),_0x8aa8('0xb4'));_0x4ab098['field']('GROUP_CONCAT(DISTINCT\x20t.id)',_0x8aa8('0x3b'));}if(_0x2a0a14['limit'])_0x4ab098['limit'](_0x2a0a14[_0x8aa8('0x28')]);if(_0x2a0a14[_0x8aa8('0x26')])_0x4ab098['offset'](_0x2a0a14[_0x8aa8('0x26')]);return db[_0x8aa8('0x9d')][_0x8aa8('0x49')](_0x4ab098[_0x8aa8('0x9e')](),_0x183945);})['then'](function(_0x124887){if(_0x124887[_0x8aa8('0x4f')]>0x0)_0x4e7ea0[_0x8aa8('0x7f')](_0x8aa8('0xb5'),_[_0x8aa8('0x37')](_0x124887,'id'));return db[_0x8aa8('0x9d')][_0x8aa8('0x49')](_0x4e7ea0[_0x8aa8('0x9e')](),_0x183945)[_0x8aa8('0x17')](function(_0x11f060){var _0x4d15ab=_[_0x8aa8('0xb6')](_0x11f060,_0x8aa8('0xb7'));var _0x3b3df6=[];_0x124887[_0x8aa8('0x39')](function(_0x58435d){_0x3b3df6[_0x8aa8('0x3a')](updateChatInteraction(_0x58435d,_0x3508df,_0x4d15ab));});return BPromise[_0x8aa8('0xb8')](_0x3b3df6);});});})[_0x8aa8('0x17')](function(_0x188f56){_0x5adcda['rows']=_0x188f56;return _0x5adcda;})[_0x8aa8('0x17')](respondWithFilteredResult(_0x2bc6d3,_0x2a0a14))[_0x8aa8('0x22')](handleError(_0x2bc6d3,null));};exports['show']=function(_0x521d25,_0xf028c6){var _0x4e1c38={'raw':![],'where':{'id':_0x521d25['params']['id']}},_0x27f584={};_0x27f584['model']=_[_0x8aa8('0x4a')](db[_0x8aa8('0x46')][_0x8aa8('0xb9')]);_0x27f584[_0x8aa8('0x49')]=_['keys'](_0x521d25[_0x8aa8('0x49')]);_0x27f584[_0x8aa8('0x4b')]=_[_0x8aa8('0x4c')](_0x27f584[_0x8aa8('0x4d')],_0x27f584[_0x8aa8('0x49')]);_0x4e1c38[_0x8aa8('0x4e')]=_['intersection'](_0x27f584['model'],qs[_0x8aa8('0xa0')](_0x521d25[_0x8aa8('0x49')][_0x8aa8('0xa0')]));_0x4e1c38[_0x8aa8('0x4e')]=_0x4e1c38[_0x8aa8('0x4e')]['length']?_0x4e1c38['attributes']:_0x27f584['model'];if(_0x521d25['query'][_0x8aa8('0xba')]){_0x4e1c38[_0x8aa8('0xbb')]=[{'all':!![]}];}_0x4e1c38=_['merge']({},_0x4e1c38,_0x521d25[_0x8aa8('0xbc')]);return db[_0x8aa8('0x46')][_0x8aa8('0x68')](_0x4e1c38)['then'](handleEntityNotFound(_0xf028c6,null))['then'](respondWithResult(_0xf028c6,null))[_0x8aa8('0x22')](handleError(_0xf028c6,null));};exports[_0x8aa8('0xbd')]=function(_0x280e35,_0x48b7b4){return db[_0x8aa8('0x46')]['create'](_0x280e35[_0x8aa8('0x33')],{})[_0x8aa8('0x17')](respondWithResult(_0x48b7b4,0xc9))['catch'](handleError(_0x48b7b4,null));};exports[_0x8aa8('0x2b')]=function(_0x393c20,_0x5365b6){if(_0x393c20[_0x8aa8('0x33')]['id']){delete _0x393c20['body']['id'];}return db[_0x8aa8('0x46')]['find']({'where':{'id':_0x393c20[_0x8aa8('0xbe')]['id']}})[_0x8aa8('0x17')](handleEntityNotFound(_0x5365b6,null))[_0x8aa8('0x17')](saveUpdates(_0x393c20['body'],null))['then'](respondWithResult(_0x5365b6,null))[_0x8aa8('0x22')](handleError(_0x5365b6,null));};exports[_0x8aa8('0x2c')]=function(_0x279a0c,_0x2ddd01){return db[_0x8aa8('0x46')]['find']({'where':{'id':_0x279a0c[_0x8aa8('0xbe')]['id']}})[_0x8aa8('0x17')](handleEntityNotFound(_0x2ddd01,null))[_0x8aa8('0x17')](removeEntity(_0x2ddd01,null))[_0x8aa8('0x22')](handleError(_0x2ddd01,null));};exports[_0x8aa8('0xbf')]=function(_0x353717,_0x1720be){return db[_0x8aa8('0x46')][_0x8aa8('0xbf')]()[_0x8aa8('0x17')](respondWithResult(_0x1720be,null))[_0x8aa8('0x22')](handleError(_0x1720be,null));};exports['createVidaooSession']=function(_0x2fb2dc,_0x5b1edc){var _0x2d6551=_0x2fb2dc[_0x8aa8('0xbe')]['id'];var _0x3e8a06;var _0x1b3d07;var _0x262d3a;return db[_0x8aa8('0x46')]['findOne']({'where':{'id':_0x2d6551}})['then'](function(_0x48017d){_0x3e8a06=_0x48017d;return db[_0x8aa8('0xc0')][_0x8aa8('0xc1')]({'where':{'id':_0x48017d[_0x8aa8('0x98')]},'attributes':['id',_0x8aa8('0xc2'),'vidaooEscalation',_0x8aa8('0xc3'),_0x8aa8('0xc4'),_0x8aa8('0xc5')],'raw':!![]});})[_0x8aa8('0x17')](function(_0x3d2e50){if(_0x3d2e50&&_0x3d2e50['vidaooApiKey']&&_0x3d2e50[_0x8aa8('0xc6')]){_0x1b3d07=_0x3d2e50;var _0x1e1e11={'interaction':{'id':_0x2d6551},'agent':{'id':_0x2fb2dc[_0x8aa8('0x9b')]['id'],'name':_0x2fb2dc[_0x8aa8('0x9b')][_0x8aa8('0x2f')],'fullname':_0x2fb2dc[_0x8aa8('0x9b')]['fullname'],'email':_0x2fb2dc[_0x8aa8('0x9b')][_0x8aa8('0xc7')]},'contact':_0x2fb2dc['body']['contact'],'account':_0x2fb2dc[_0x8aa8('0x33')]['account']};var _0x5d0226={'rejectUnauthorized':![],'method':'POST','url':_0x8aa8('0xc8'),'headers':{'X-APIKEY':_0x3d2e50['vidaooApiKey']},'body':{'duration':null,'scheduledAt':null,'participants':[_0x2fb2dc['user'][_0x8aa8('0xc7')]],'buttons':null,'topic':_0x1b3d07[_0x8aa8('0xc3')],'note':_[_0x8aa8('0xc9')](_0x1b3d07[_0x8aa8('0xc4')])?null:getMustacheRender(_0x1b3d07[_0x8aa8('0xc4')],_0x1e1e11),'metadata':null},'redirect':_0x8aa8('0xca'),'json':!![]};try{if(!_[_0x8aa8('0xc9')](_0x1b3d07[_0x8aa8('0xc5')])){var _0x532666=getMustacheRender(_0x1b3d07[_0x8aa8('0xc5')],_0x1e1e11);var _0x23664f=JSON[_0x8aa8('0x83')](_0x532666);_0x5d0226['body'][_0x8aa8('0xcb')]=_0x23664f;}}catch(_0x12258b){throw new db[(_0x8aa8('0x90'))]['ValidationError'](_0x8aa8('0xcc'));}return rp(_0x5d0226);}else{throw new db[(_0x8aa8('0x90'))][(_0x8aa8('0xcd'))](_0x8aa8('0xce'));}})[_0x8aa8('0x17')](function(_0x5d7b0d){_0x262d3a=_0x5d7b0d;if(_0x262d3a['id']){var _0x5eb681={'body':_0x262d3a[_0x8aa8('0xcf')],'ChatWebsiteId':_0x1b3d07['id'],'ChatInteractionId':_0x3e8a06['id'],'direction':_0x8aa8('0xd0'),'UserId':_0x2fb2dc['user']['id']};return db[_0x8aa8('0xd1')][_0x8aa8('0xbd')](_0x5eb681,{});}else{throw new db[(_0x8aa8('0x90'))][(_0x8aa8('0xcd'))](_0x8aa8('0xd2'));}})[_0x8aa8('0x17')](function(){return _0x3e8a06['updateAttributes']({'vidaooSessionId':_0x262d3a['id']});})[_0x8aa8('0x17')](respondWithResult(_0x5b1edc,null))[_0x8aa8('0x22')](handleError(_0x5b1edc,null));};exports['customUpdate']=function(_0x304777,_0x56c4a2){if(_0x304777[_0x8aa8('0x33')]['id']){delete _0x304777[_0x8aa8('0x33')]['id'];}return db[_0x8aa8('0x46')]['find']({'where':{'id':_0x304777['params']['id']},'include':[{'model':db['CmContact'],'as':'Contact'}]})[_0x8aa8('0x17')](handleEntityNotFound(_0x56c4a2,null))[_0x8aa8('0x17')](saveUpdates(_0x304777['body'],null))[_0x8aa8('0x17')](respondWithResult(_0x56c4a2,null))['catch'](handleError(_0x56c4a2,null));};exports[_0x8aa8('0xd3')]=function(_0x2544f3,_0x21fda7){if(_0x2544f3[_0x8aa8('0x33')]['id']){delete _0x2544f3['body']['id'];}return db[_0x8aa8('0x46')]['find']({'where':{'id':_0x2544f3[_0x8aa8('0xbe')]['id']}})['then'](function(_0x2a195d){if(!_0x2a195d){logger['error'](_0x8aa8('0xd4'),_0x8aa8('0xd3'),0x194,'entity\x20not\x20found');_0x21fda7['sendStatus'](0x194);}else{if(_0x2a195d['UserId']){throw new db[(_0x8aa8('0x90'))][(_0x8aa8('0xcd'))](_0x8aa8('0xd5'));}}return _0x2a195d;})[_0x8aa8('0x17')](function(_0x1da673){if(_0x1da673){return _0x1da673[_0x8aa8('0x2b')]({'closed':_0x2544f3[_0x8aa8('0x33')]['closed'],'disposition':_0x2544f3[_0x8aa8('0x33')][_0x8aa8('0x44')]})[_0x8aa8('0x17')](function(_0xd4e399){return _0xd4e399;});}})[_0x8aa8('0x17')](function(){return respondWithRpcPromise(_0x8aa8('0xd6'),_0x8aa8('0xd3'),_0x2544f3[_0x8aa8('0x33')],client9004);})[_0x8aa8('0x17')](respondWithResult(_0x21fda7,null))[_0x8aa8('0x22')](handleError(_0x21fda7,null));};exports[_0x8aa8('0xd7')]=function(_0xb7e50f,_0x19b724){_0xb7e50f[_0x8aa8('0x33')]['name']=_0xb7e50f[_0x8aa8('0xd8')][_0x8aa8('0xd9')];_0xb7e50f['body']['basename']=_0xb7e50f['file'][_0x8aa8('0xda')];_0xb7e50f[_0x8aa8('0x33')][_0x8aa8('0x48')]=_0xb7e50f['file'][_0x8aa8('0xdb')];return db[_0x8aa8('0xdc')][_0x8aa8('0xbd')](_0xb7e50f[_0x8aa8('0x33')])[_0x8aa8('0x17')](respondWithResult(_0x19b724,0xc9))[_0x8aa8('0x22')](handleError(_0x19b724,null));};exports[_0x8aa8('0xdd')]=function(_0x1fc225,_0x450b76){return db[_0x8aa8('0x46')][_0x8aa8('0xc1')]({'where':{'id':_0x1fc225[_0x8aa8('0xbe')]['id']},'raw':!![]})[_0x8aa8('0x17')](handleEntityNotFound(_0x450b76,null))[_0x8aa8('0x17')](function(_0x21d7f1){if(_0x21d7f1){if(_0x21d7f1['closed']){return _0x450b76[_0x8aa8('0x23')](0x193)['json']({'status':0x193,'message':_0x8aa8('0xde')});}return db[_0x8aa8('0xdc')]['findOne']({'where':{'id':_0x1fc225[_0x8aa8('0x49')]['attachId']},'raw':!![]})[_0x8aa8('0x17')](handleEntityNotFound(_0x450b76,null));}})[_0x8aa8('0x17')](function(_0x1654fa){if(_0x1654fa){var _0x4bb398=_0x1654fa[_0x8aa8('0xdf')]!==null;var _0x3a8a5e=path['join'](config['root'],'server/files/attachments/');if(_0x4bb398){_0x3a8a5e=path['join'](_0x3a8a5e,_0x8aa8('0xe0'));}var _0x3743f0=path[_0x8aa8('0xe1')](_0x3a8a5e,_0x1654fa[_0x8aa8('0xe2')]);return _0x450b76[_0x8aa8('0xe3')](_0x3743f0);}})[_0x8aa8('0x22')](handleError(_0x450b76,null));};exports['close']=function(_0xbb19c4,_0x1f75f1){var _0x3bb329=null;var _0x2c10d9=null;var _0x5bec09=null;if(_0xbb19c4['body']['id']){delete _0xbb19c4['body']['id'];}if(_0xbb19c4[_0x8aa8('0x33')][_0x8aa8('0xe4')]){_0x5bec09=path[_0x8aa8('0xe1')](config['root'],'server/files/chat/upload/',util[_0x8aa8('0xe5')](_0x8aa8('0xe6'),Date['now']()));_0xbb19c4[_0x8aa8('0x33')][_0x8aa8('0xe7')]=_0x5bec09;}return db[_0x8aa8('0x46')][_0x8aa8('0x68')]({'where':{'id':_0xbb19c4['params']['id']},'include':[{'model':db[_0x8aa8('0xd1')],'as':'Messages','include':[{'model':db[_0x8aa8('0x7b')],'as':_0x8aa8('0x7b')}]}]})['then'](handleEntityNotFound(_0x1f75f1,null))[_0x8aa8('0x17')](saveUpdates(_0xbb19c4[_0x8aa8('0x33')],null))[_0x8aa8('0x17')](function(_0x544409){if(_0x544409){_0x3bb329=_0x544409;return db[_0x8aa8('0xc0')]['find']({'where':{'id':_0x3bb329[_0x8aa8('0x98')]}});}})[_0x8aa8('0x17')](function(_0x3305f4){if(_0x3305f4){_0x2c10d9=_0x3305f4;return db[_0x8aa8('0xe8')][_0x8aa8('0x68')]({'where':{'id':_0x3bb329[_0x8aa8('0x74')]}});}})['then'](function(_0x391cc0){if(_0x391cc0){if(_0x5bec09){var _0x13096e=null;for(var _0x31b317=0x1;_0x31b317<_0x3bb329[_0x8aa8('0xe9')]['length'];++_0x31b317){_0x13096e=_0x3bb329[_0x8aa8('0xe9')][_0x31b317];var _0x49d685=_0x13096e[_0x8aa8('0x43')]?util['format']('%s%d',_0x2c10d9[_0x8aa8('0xea')],_0x13096e[_0x8aa8('0x43')]):_0x8aa8('0xeb');var _0x2c9d5a=_0xbb19c4[_0x8aa8('0x33')]['customer']||util[_0x8aa8('0xe5')](_0x8aa8('0xec'),_0x8aa8('0xed'),_0x13096e[_0x8aa8('0x74')]);switch(_0x2c10d9[_0x8aa8('0xee')]){case _0x8aa8('0xef'):_0x49d685=_0x13096e[_0x8aa8('0x43')]?util[_0x8aa8('0xe5')](_0x8aa8('0xec'),_0x2c10d9[_0x8aa8('0xea')],_0x13096e[_0x8aa8('0x43')]):'System';break;case _0x8aa8('0xf0'):_0x49d685=_0x13096e['UserId']?_0x13096e[_0x8aa8('0x7b')]['alias']||_0x13096e[_0x8aa8('0x7b')]['fullname']:_0x8aa8('0xeb');break;case _0x8aa8('0xf1'):_0x49d685=_0x13096e[_0x8aa8('0x43')]?_0x13096e[_0x8aa8('0x7b')][_0x8aa8('0xf2')]:_0x8aa8('0xeb');break;default:_0x49d685=_0x13096e[_0x8aa8('0x43')]?util[_0x8aa8('0xe5')]('%s%d',_0x2c10d9[_0x8aa8('0xea')],_0x13096e['UserId']):_0x8aa8('0xeb');}var _0x2ba7ec=util[_0x8aa8('0xe5')](_0x8aa8('0xf3'),moment(_0x13096e[_0x8aa8('0x82')])['format'](_0x8aa8('0xf4')),_0x13096e[_0x8aa8('0xf5')]==='in'?_0x2c9d5a:_0x49d685,_0x13096e[_0x8aa8('0x33')]);if(!_0x13096e['secret']){fs[_0x8aa8('0xf6')](_0x5bec09,_0x2ba7ec);}}return db[_0x8aa8('0xf7')][_0x8aa8('0xc1')]({'where':{'service':!![]},'include':[{'model':db[_0x8aa8('0xf8')],'as':_0x8aa8('0xf9'),'raw':!![],'include':[{'model':db[_0x8aa8('0xfa')],'as':_0x8aa8('0xfa'),'raw':!![]}]}]});}}})[_0x8aa8('0x17')](function(_0xc1dfc6){if(!_0xc1dfc6||!_0xc1dfc6[_0x8aa8('0xf9')]||!_0xbb19c4[_0x8aa8('0x33')])return _0x3bb329;var _0x228435=_0xc1dfc6['getSmtpOptions']();return respondWithRpcPromise(_0x8aa8('0xfb'),'sendMail',{'account':_0x228435,'message':{'from':util[_0x8aa8('0xe5')]('\x22%s\x22\x20<%s>',_0xc1dfc6[_0x8aa8('0x2f')],_0xc1dfc6[_0x8aa8('0xc7')]||_0xc1dfc6[_0x8aa8('0xf9')][_0x8aa8('0x9b')]),'to':_0xbb19c4[_0x8aa8('0x33')][_0x8aa8('0xe4')],'subject':'Mail\x20Transcript','text':util['format'](_0x8aa8('0xfc'),_0xbb19c4[_0x8aa8('0x33')][_0x8aa8('0xe4')]),'attachments':[{'path':_0x5bec09}]}})['then'](function(){return _0x3bb329;})['catch'](function(_0x124828){logger[_0x8aa8('0x1d')](_0x124828);});})['then'](respondWithStatusCode(_0x1f75f1,0xc8))[_0x8aa8('0x22')](handleError(_0x1f75f1,null));};exports[_0x8aa8('0xfd')]=function(_0x3455d9,_0x28ea5e){return db[_0x8aa8('0xd1')][_0x8aa8('0x68')]({'where':{'id':_0x3455d9[_0x8aa8('0xbe')]['id']}})[_0x8aa8('0x17')](handleEntityNotFound(_0x28ea5e,null))[_0x8aa8('0x17')](function(_0x2a1cfa){if(_0x2a1cfa){return _0x2a1cfa[_0x8aa8('0xfd')](_0x3455d9[_0x8aa8('0x33')][_0x8aa8('0xfe')],_[_0x8aa8('0xff')](_0x3455d9['body'],[_0x8aa8('0xfe'),'id'])||{});}})['then'](respondWithResult(_0x28ea5e,null))[_0x8aa8('0x22')](handleError(_0x28ea5e,null));};exports['getMessages']=function(_0x487e54,_0x463d42){var _0x4accd6={'raw':![],'where':{}};var _0x129b24={};var _0x306bce={'count':0x0,'rows':[]};return db[_0x8aa8('0x46')][_0x8aa8('0xc1')]({'where':{'id':_0x487e54['params']['id']}})[_0x8aa8('0x17')](handleEntityNotFound(_0x463d42,null))['then'](function(_0x169368){if(_0x169368){_0x129b24['model']=_[_0x8aa8('0x4a')](db[_0x8aa8('0xd1')][_0x8aa8('0xb9')]);_0x129b24[_0x8aa8('0x49')]=_[_0x8aa8('0x4a')](_0x487e54['query']);_0x129b24[_0x8aa8('0x4b')]=_[_0x8aa8('0x4c')](_0x129b24[_0x8aa8('0x4d')],_0x129b24[_0x8aa8('0x49')]);_0x4accd6['attributes']=_[_0x8aa8('0x4c')](_0x129b24['model'],qs['fields'](_0x487e54[_0x8aa8('0x49')]['fields']));_0x4accd6[_0x8aa8('0x4e')]=_0x4accd6[_0x8aa8('0x4e')][_0x8aa8('0x4f')]?_0x4accd6[_0x8aa8('0x4e')]:_0x129b24[_0x8aa8('0x4d')];if(!_0x487e54[_0x8aa8('0x49')]['hasOwnProperty'](_0x8aa8('0x51'))){_0x4accd6[_0x8aa8('0x28')]=qs['limit'](_0x487e54[_0x8aa8('0x49')][_0x8aa8('0x28')]);_0x4accd6[_0x8aa8('0x26')]=qs[_0x8aa8('0x26')](_0x487e54[_0x8aa8('0x49')][_0x8aa8('0x26')]);}_0x4accd6[_0x8aa8('0x95')]=qs[_0x8aa8('0x52')](_0x487e54[_0x8aa8('0x49')][_0x8aa8('0x52')]);_0x4accd6[_0x8aa8('0x7f')]=qs[_0x8aa8('0x4b')](_['pick'](_0x487e54['query'],_0x129b24[_0x8aa8('0x4b')]));_0x4accd6[_0x8aa8('0x7f')][_0x8aa8('0xb7')]=_0x169368['id'];if(_0x487e54['query'][_0x8aa8('0x8c')]){_0x4accd6[_0x8aa8('0x7f')]=_[_0x8aa8('0x32')](_0x4accd6[_0x8aa8('0x7f')],{'$or':_[_0x8aa8('0x37')](_0x4accd6[_0x8aa8('0x4e')],function(_0x19de5c){var _0x144bbf={};_0x144bbf[_0x19de5c]={'$like':'%'+_0x487e54['query'][_0x8aa8('0x8c')]+'%'};return _0x144bbf;})});}if(_0x487e54[_0x8aa8('0x49')]['$gte']){var _0x10fb48=_0x487e54['query'][_0x8aa8('0x100')]['split'](',');var _0x5b1d7b={};_0x5b1d7b[_0x10fb48[0x0]]={'$gte':moment(_0x10fb48[0x1])[_0x8aa8('0xe5')](_0x8aa8('0x101'))};_0x4accd6[_0x8aa8('0x7f')]=_[_0x8aa8('0x32')](_0x4accd6['where'],_0x5b1d7b);}_0x4accd6=_[_0x8aa8('0x32')]({},_0x4accd6,_0x487e54[_0x8aa8('0xbc')]);return db[_0x8aa8('0xd1')][_0x8aa8('0x9f')]({'where':_0x4accd6['where']})[_0x8aa8('0x17')](function(_0x3392b9){_0x306bce[_0x8aa8('0x9f')]=_0x3392b9;if(_0x487e54[_0x8aa8('0x49')][_0x8aa8('0xba')]){_0x4accd6[_0x8aa8('0xbb')]=[{'all':!![]}];}return db[_0x8aa8('0xd1')][_0x8aa8('0x102')](_0x4accd6);})[_0x8aa8('0x17')](function(_0x296398){_0x306bce['rows']=_0x296398;return _0x306bce;});}})[_0x8aa8('0x17')](respondWithFilteredResult(_0x463d42,_0x4accd6))[_0x8aa8('0x22')](handleError(_0x463d42,null));};exports[_0x8aa8('0x103')]=function(_0x26c579,_0x3d44ef){var _0x3e82f3={'where':{}},_0x4eb023={},_0x214cdb={'count':0x0,'rows':[]};return db['ChatInteraction'][_0x8aa8('0xc1')]({'where':{'id':_0x26c579[_0x8aa8('0xbe')]['id']}})['then'](handleEntityNotFound(_0x3d44ef,null))[_0x8aa8('0x17')](function(_0x5d51bc){if(_0x5d51bc){_0x4eb023[_0x8aa8('0x4d')]=_[_0x8aa8('0x4a')](db[_0x8aa8('0xd1')]['rawAttributes']);_0x4eb023[_0x8aa8('0x49')]=_['keys'](_0x26c579['query']);_0x4eb023[_0x8aa8('0x4b')]=_[_0x8aa8('0x4c')](_0x4eb023[_0x8aa8('0x4d')],_0x4eb023[_0x8aa8('0x49')]);_0x3e82f3[_0x8aa8('0x4e')]=_[_0x8aa8('0x4c')](_0x4eb023[_0x8aa8('0x4d')],qs['fields'](_0x26c579[_0x8aa8('0x49')]['fields']));_0x3e82f3[_0x8aa8('0x4e')]=_0x3e82f3[_0x8aa8('0x4e')][_0x8aa8('0x4f')]?_0x3e82f3['attributes']:_0x4eb023[_0x8aa8('0x4d')];if(!_0x26c579['query'][_0x8aa8('0x50')]('nolimit')){_0x3e82f3['limit']=qs[_0x8aa8('0x28')](_0x26c579[_0x8aa8('0x49')][_0x8aa8('0x28')]);_0x3e82f3['offset']=qs['offset'](_0x26c579['query']['offset']);}_0x3e82f3[_0x8aa8('0x95')]=qs['sort'](_0x26c579[_0x8aa8('0x49')][_0x8aa8('0x52')]);_0x3e82f3['where']=qs[_0x8aa8('0x4b')](_[_0x8aa8('0x53')](_0x26c579['query'],_0x4eb023[_0x8aa8('0x4b')]));_0x3e82f3[_0x8aa8('0x7f')]['ChatInteractionId']=_0x5d51bc['id'];if(_0x26c579[_0x8aa8('0x49')][_0x8aa8('0x8c')]){_0x3e82f3['where']=_[_0x8aa8('0x32')](_0x3e82f3['where'],{'$or':_['map'](_0x3e82f3['attributes'],function(_0x5c40ef){var _0x55b8a6={};_0x55b8a6[_0x5c40ef]={'$like':'%'+_0x26c579[_0x8aa8('0x49')]['filter']+'%'};return _0x55b8a6;})});}_0x3e82f3[_0x8aa8('0x7f')][_0x8aa8('0x104')]=![];if(_0x26c579[_0x8aa8('0x49')]['id']){_0x3e82f3[_0x8aa8('0x7f')]['id']={'$gt':_0x26c579[_0x8aa8('0x49')]['id']};}_0x3e82f3=_[_0x8aa8('0x32')]({},_0x3e82f3,_0x26c579[_0x8aa8('0xbc')]);return db[_0x8aa8('0xd1')][_0x8aa8('0x9f')]({'where':_0x3e82f3[_0x8aa8('0x7f')]})[_0x8aa8('0x17')](function(_0x328fbf){_0x214cdb['count']=_0x328fbf;_0x3e82f3['include']=[];if(_0x26c579['query'][_0x8aa8('0x105')]){_0x3e82f3[_0x8aa8('0xbb')]['push']({'model':db[_0x8aa8('0x7b')],'as':_0x8aa8('0x7b'),'attributes':['id','fullname',_0x8aa8('0x106')]});}if(_0x26c579[_0x8aa8('0x49')][_0x8aa8('0xba')]){_0x3e82f3[_0x8aa8('0xbb')]=[{'all':!![]}];}return db[_0x8aa8('0xd1')][_0x8aa8('0x102')](_0x3e82f3);})[_0x8aa8('0x17')](function(_0x3ff161){_0x214cdb[_0x8aa8('0x107')]=_0x3ff161;return _0x214cdb;});}})[_0x8aa8('0x17')](respondWithFilteredResult(_0x3d44ef,_0x3e82f3))['catch'](handleError(_0x3d44ef,null));};exports[_0x8aa8('0x108')]=function(_0x229c5c,_0x56cbc1){return db[_0x8aa8('0x46')][_0x8aa8('0x68')]({'where':{'id':_0x229c5c[_0x8aa8('0xbe')]['id']}})['then'](handleEntityNotFound(_0x56cbc1,null))[_0x8aa8('0x17')](function(_0x554cc4){if(_0x554cc4){return _0x554cc4[_0x8aa8('0x109')](_0x229c5c['body']['ids'],_[_0x8aa8('0xff')](_0x229c5c['body'],[_0x8aa8('0xfe'),'id'])||{})['spread'](function(){return db[_0x8aa8('0x78')][_0x8aa8('0x102')]({'attributes':['id',_0x8aa8('0x2f'),_0x8aa8('0x56')],'where':{'id':_0x229c5c[_0x8aa8('0x33')][_0x8aa8('0xfe')]}});})[_0x8aa8('0x17')](function(_0x5da31b){socket['emit'](_0x8aa8('0x10a'),{'id':Number(_0x229c5c[_0x8aa8('0xbe')]['id']),'tags':_0x5da31b||[]});return{'id':Number(_0x229c5c[_0x8aa8('0xbe')]['id']),'tags':_0x5da31b||[]};});}})[_0x8aa8('0x17')](respondWithResult(_0x56cbc1,null))[_0x8aa8('0x22')](handleError(_0x56cbc1,null));};exports[_0x8aa8('0x10b')]=function(_0xd97a60,_0x1af658){return db[_0x8aa8('0x46')]['find']({'where':{'id':_0xd97a60[_0x8aa8('0xbe')]['id']}})[_0x8aa8('0x17')](handleEntityNotFound(_0x1af658,null))[_0x8aa8('0x17')](function(_0x5aedd7){if(_0x5aedd7){return _0x5aedd7[_0x8aa8('0x10b')](_0xd97a60[_0x8aa8('0x49')][_0x8aa8('0xfe')]);}})[_0x8aa8('0x17')](respondWithStatusCode(_0x1af658,null))['catch'](handleError(_0x1af658,null));};exports[_0x8aa8('0xe3')]=function(_0x3a1c6d,_0x2c2750){var _0x39eab4=moment()[_0x8aa8('0x10c')]()[_0x8aa8('0x9e')]();var _0x244aba=path['join'](config[_0x8aa8('0x10d')],_0x8aa8('0x10e'),_0x8aa8('0x10f'),_0x8aa8('0x110'));var _0x42d491=path[_0x8aa8('0xe1')](config[_0x8aa8('0x10d')],_0x8aa8('0x10e'),_0x8aa8('0x10f'),_0x8aa8('0x111'));var _0x2b3efd=path[_0x8aa8('0xe1')](_0x244aba,_0x39eab4);var _0x8ea26d=util[_0x8aa8('0xe5')](_0x8aa8('0x112'),_0x3a1c6d[_0x8aa8('0xbe')]['id'],_0x39eab4);var _0x333a72=path[_0x8aa8('0xe1')](_0x244aba,_0x8ea26d);var _0x569946=[];_0x569946[_0x8aa8('0x3a')]({'model':db[_0x8aa8('0x7b')],'as':_0x8aa8('0x7b'),'attributes':['id',_0x8aa8('0xf2')],'raw':!![]});_0x569946['push']({'model':db[_0x8aa8('0xe8')],'as':'Contact','attributes':['id',_0x8aa8('0x113'),_0x8aa8('0x114')],'raw':!![]});if(_0x3a1c6d['query'][_0x8aa8('0x111')]){_0x569946[_0x8aa8('0x3a')]({'model':db[_0x8aa8('0xdc')],'as':_0x8aa8('0xdc'),'raw':!![]});}var _0x2a695f=[{'model':db[_0x8aa8('0xd1')],'as':_0x8aa8('0xe9'),'attributes':['id',_0x8aa8('0x33'),_0x8aa8('0x82'),'direction',_0x8aa8('0x104'),'read'],'include':_0x569946}];_0x2a695f[_0x8aa8('0x3a')]({'model':db[_0x8aa8('0xc0')],'as':'Account','attributes':['id',_0x8aa8('0x2f')]});_0x2a695f[_0x8aa8('0x3a')]({'model':db[_0x8aa8('0x7b')],'as':_0x8aa8('0x115'),'attributes':['id','fullname']});return db[_0x8aa8('0x46')][_0x8aa8('0x68')]({'where':{'id':_0x3a1c6d[_0x8aa8('0xbe')]['id']},'include':_0x2a695f})[_0x8aa8('0x17')](handleEntityNotFound(_0x2c2750,null))[_0x8aa8('0x17')](function(_0x19c661){if(_0x19c661){var _0x227ffd=_0x19c661[_0x8aa8('0x116')]({'plain':!![]});fs[_0x8aa8('0x117')](_0x2b3efd);var _0x5063e3={'channel':'Chat','account':_0x227ffd[_0x8aa8('0x118')]['name'],'agent':_0x227ffd[_0x8aa8('0x115')]?_0x227ffd[_0x8aa8('0x115')][_0x8aa8('0xf2')]:_0x8aa8('0x119'),'createdAt':moment(_0x227ffd[_0x8aa8('0x82')])[_0x8aa8('0xe5')]('YYYY-MM-DD\x20HH:mm:ss')[_0x8aa8('0x9e')](),'closedAt':_0x227ffd[_0x8aa8('0x42')]?moment(_0x227ffd[_0x8aa8('0x11a')])[_0x8aa8('0xe5')](_0x8aa8('0x101'))['toString']():'','disposition':_0x227ffd[_0x8aa8('0x44')],'chatInfo':{'browser':_0x227ffd[_0x8aa8('0x11b')],'os':_0x227ffd['osName'],'referer':_0x227ffd[_0x8aa8('0x11c')],'customerIp':_0x227ffd[_0x8aa8('0x11d')],'customerPort':_0x227ffd['customerPort']?_0x227ffd[_0x8aa8('0x11e')]:_0x8aa8('0x119')},'messages':_(_0x227ffd[_0x8aa8('0xe9')])[_0x8aa8('0x11f')]()['filter']({'secret':![]})[_0x8aa8('0x37')](function(_0x1abae4){if(_0x1abae4[_0x8aa8('0xdc')]){var _0x29e820=path[_0x8aa8('0xe1')](_0x42d491,_0x1abae4[_0x8aa8('0xdc')][_0x8aa8('0xe2')]);if(fs[_0x8aa8('0x120')](_0x29e820)){fs[_0x8aa8('0x121')](_0x29e820)[_0x8aa8('0x122')](fs[_0x8aa8('0x123')](path[_0x8aa8('0xe1')](_0x2b3efd,_0x1abae4[_0x8aa8('0xdc')][_0x8aa8('0xe2')])));}}return{'date':moment(_0x1abae4[_0x8aa8('0x82')])[_0x8aa8('0xe5')](_0x8aa8('0x101'))[_0x8aa8('0x9e')](),'sender':_0x1abae4[_0x8aa8('0xf5')]===_0x8aa8('0xd0')?_0x1abae4[_0x8aa8('0x7b')]?_0x1abae4['User'][_0x8aa8('0xf2')]:_0x8aa8('0xeb'):_0x1abae4[_0x8aa8('0x6c')][_0x8aa8('0x113')]+(_0x1abae4[_0x8aa8('0x6c')][_0x8aa8('0x114')]?'\x20'+_0x1abae4['Contact'][_0x8aa8('0x114')]:''),'body':_0x1abae4[_0x8aa8('0xdc')]?_0x1abae4[_0x8aa8('0xdc')][_0x8aa8('0xe2')]:_0x1abae4[_0x8aa8('0x33')],'direction':_0x1abae4[_0x8aa8('0xf5')]===_0x8aa8('0xd0')?'A':'C','secret':_0x1abae4['secret'],'read':_0x1abae4[_0x8aa8('0x87')],'attachment':_0x1abae4['Attachment']};})[_0x8aa8('0x6f')]()};return ejs[_0x8aa8('0x124')](path[_0x8aa8('0xe1')](config[_0x8aa8('0x10d')],_0x8aa8('0x10e'),_0x8aa8('0x125'),'downloadInteraction.ejs'),{'interaction':_0x5063e3})[_0x8aa8('0x17')](function(_0x337397){var _0x5d9174=path[_0x8aa8('0xe1')](_0x2b3efd,_0x8aa8('0x126')+_0x227ffd['id']+'-'+_0x39eab4+_0x8aa8('0x127'));var _0x5ea27e={'path':_0x5d9174,'channel':'Chat','interactionId':_0x227ffd['id']};return pdf['createPdfFromHTML'](_0x337397,_0x5ea27e);})[_0x8aa8('0x17')](function(){return new Promise(function(_0x20154a,_0x3d7283){zipdir(_0x2b3efd,{'saveTo':_0x333a72},function(_0x5155b8,_0x50c12d){if(_0x5155b8)return _0x3d7283(_0x5155b8);return _0x20154a(_0x50c12d);});})['then'](function(){return new BPromise(function(_0x29ab45,_0x20b5ca){rimraf(_0x2b3efd,function(_0x212b8e){if(_0x212b8e)_0x20b5ca(_0x212b8e);return _0x29ab45();});});})['then'](function(){return _0x2c2750[_0x8aa8('0xe3')](_0x333a72,_0x8ea26d,function(_0x1a646b){if(_0x1a646b){logger[_0x8aa8('0x1d')]('err',_0x1a646b);}else{fs[_0x8aa8('0x128')](_0x333a72);}});});});}else{return _0x2c2750[_0x8aa8('0x2d')](0xc8);}})[_0x8aa8('0x22')](handleError(_0x2c2750,null));};
\ No newline at end of file
diff --git a/server/api/chatInteraction/chatInteraction.events.js b/server/api/chatInteraction/chatInteraction.events.js
index 4b4d4a4..0dd17d8 100644
--- a/server/api/chatInteraction/chatInteraction.events.js
+++ b/server/api/chatInteraction/chatInteraction.events.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x9426=['catch','hasOwnProperty','exports','events','../../mysqldb','ChatMessage','save','update','getUsers','then','setDataValue','Users','map','unreadMessages','length','emit'];(function(_0x50d6d6,_0x189c68){var _0x5d9bb4=function(_0x12ba37){while(--_0x12ba37){_0x50d6d6['push'](_0x50d6d6['shift']());}};_0x5d9bb4(++_0x189c68);}(_0x9426,0x123));var _0x6942=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x9426[_0x3dd15e];return _0x231fd0;};'use strict';var EventEmitter=require(_0x6942('0x0'));var ChatInteraction=require(_0x6942('0x1'))['db']['ChatInteraction'];var ChatMessage=require(_0x6942('0x1'))['db'][_0x6942('0x2')];var ChatInteractionEvents=new EventEmitter();ChatInteractionEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x6942('0x3'),'afterUpdate':_0x6942('0x4'),'afterDestroy':'remove'};function emitEvent(_0x2baae9){return function(_0x3a0f38,_0xcce37,_0x1d4471){_0x3a0f38[_0x6942('0x5')]({'attributes':['id'],'raw':!![]})[_0x6942('0x6')](function(_0x261afe){_0x3a0f38[_0x6942('0x7')](_0x6942('0x8'),_0x261afe[_0x6942('0x9')](function(_0x4e8177){return{'id':_0x4e8177['id']};}));return ChatMessage['findAll']({'where':{'ChatInteractionId':_0x3a0f38['id'],'direction':'in','read':![]},'raw':!![]});})[_0x6942('0x6')](function(_0x34ed65){_0x3a0f38['setDataValue'](_0x6942('0xa'),_0x34ed65[_0x6942('0xb')]);ChatInteractionEvents[_0x6942('0xc')](_0x2baae9+':'+_0x3a0f38['id'],_0x3a0f38);ChatInteractionEvents[_0x6942('0xc')](_0x2baae9,_0x3a0f38);_0x1d4471(null);})[_0x6942('0xd')](_0x1d4471(null));};}for(var e in events){if(events[_0x6942('0xe')](e)){var event=events[e];ChatInteraction['hook'](e,emitEvent(event));}}module[_0x6942('0xf')]=ChatInteractionEvents;
\ No newline at end of file
+var _0x65aa=['map','then','unreadMessages','length','emit','hook','exports','events','../../mysqldb','ChatInteraction','ChatMessage','setMaxListeners','getUsers','Users'];(function(_0x4665d7,_0x344c5b){var _0x26ae0=function(_0x41ad6f){while(--_0x41ad6f){_0x4665d7['push'](_0x4665d7['shift']());}};_0x26ae0(++_0x344c5b);}(_0x65aa,0x18f));var _0xa65a=function(_0x574159,_0x952110){_0x574159=_0x574159-0x0;var _0x5dd226=_0x65aa[_0x574159];return _0x5dd226;};'use strict';var EventEmitter=require(_0xa65a('0x0'));var ChatInteraction=require(_0xa65a('0x1'))['db'][_0xa65a('0x2')];var ChatMessage=require(_0xa65a('0x1'))['db'][_0xa65a('0x3')];var ChatInteractionEvents=new EventEmitter();ChatInteractionEvents[_0xa65a('0x4')](0x0);var events={'afterCreate':'save','afterUpdate':'update','afterDestroy':'remove'};function emitEvent(_0x34cf75){return function(_0x4b5350,_0x1a0a53,_0x350bd0){_0x4b5350[_0xa65a('0x5')]({'attributes':['id'],'raw':!![]})['then'](function(_0x133fb8){_0x4b5350['setDataValue'](_0xa65a('0x6'),_0x133fb8[_0xa65a('0x7')](function(_0x16e8e5){return{'id':_0x16e8e5['id']};}));return ChatMessage['findAll']({'where':{'ChatInteractionId':_0x4b5350['id'],'direction':'in','read':![]},'raw':!![]});})[_0xa65a('0x8')](function(_0xa0d2b2){_0x4b5350['setDataValue'](_0xa65a('0x9'),_0xa0d2b2[_0xa65a('0xa')]);ChatInteractionEvents[_0xa65a('0xb')](_0x34cf75+':'+_0x4b5350['id'],_0x4b5350);ChatInteractionEvents[_0xa65a('0xb')](_0x34cf75,_0x4b5350);_0x350bd0(null);})['catch'](_0x350bd0(null));};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];ChatInteraction[_0xa65a('0xc')](e,emitEvent(event));}}module[_0xa65a('0xd')]=ChatInteractionEvents;
\ No newline at end of file
diff --git a/server/api/chatInteraction/chatInteraction.model.js b/server/api/chatInteraction/chatInteraction.model.js
index 8c05101..11536f9 100644
--- a/server/api/chatInteraction/chatInteraction.model.js
+++ b/server/api/chatInteraction/chatInteraction.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xfa24=['rimraf','../../config/environment','exports','define','ChatInteraction','chat_interactions','closed','closedAt','format','utf8mb4','utf8mb4_unicode_ci','lodash','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x5774be,_0x2259d3){var _0x4914b4=function(_0x1eebc3){while(--_0x1eebc3){_0x5774be['push'](_0x5774be['shift']());}};_0x4914b4(++_0x2259d3);}(_0xfa24,0xf5));var _0x4fa2=function(_0x786e9,_0x1a029){_0x786e9=_0x786e9-0x0;var _0x1f891b=_0xfa24[_0x786e9];return _0x1f891b;};'use strict';var _=require(_0x4fa2('0x0'));var util=require('util');var logger=require(_0x4fa2('0x1'))(_0x4fa2('0x2'));var moment=require(_0x4fa2('0x3'));var BPromise=require(_0x4fa2('0x4'));var rp=require(_0x4fa2('0x5'));var fs=require('fs');var path=require(_0x4fa2('0x6'));var rimraf=require(_0x4fa2('0x7'));var config=require(_0x4fa2('0x8'));var attributes=require('./chatInteraction.attributes');module[_0x4fa2('0x9')]=function(_0x14e1f1,_0x283985){return _0x14e1f1[_0x4fa2('0xa')](_0x4fa2('0xb'),attributes,{'tableName':_0x4fa2('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x4f86dd,_0x389192,_0x19b458){if(_0x4f86dd['changed'](_0x4fa2('0xd'))){_0x4f86dd[_0x4fa2('0xe')]=moment()[_0x4fa2('0xf')]('YYYY-MM-DD\x20HH:mm:ss');}_0x19b458(null,_0x4f86dd);}},'charset':_0x4fa2('0x10'),'collate':_0x4fa2('0x11')});};
\ No newline at end of file
+var _0x9792=['chat_interactions','closedAt','format','YYYY-MM-DD\x20HH:mm:ss','utf8mb4','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatInteraction.attributes','exports','define','ChatInteraction'];(function(_0x26d5b0,_0x48af7c){var _0x48ca59=function(_0x38a707){while(--_0x38a707){_0x26d5b0['push'](_0x26d5b0['shift']());}};_0x48ca59(++_0x48af7c);}(_0x9792,0x16a));var _0x2979=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0x9792[_0x40a045];return _0x1a687c;};'use strict';var _=require('lodash');var util=require(_0x2979('0x0'));var logger=require(_0x2979('0x1'))('api');var moment=require(_0x2979('0x2'));var BPromise=require(_0x2979('0x3'));var rp=require(_0x2979('0x4'));var fs=require('fs');var path=require(_0x2979('0x5'));var rimraf=require(_0x2979('0x6'));var config=require(_0x2979('0x7'));var attributes=require(_0x2979('0x8'));module[_0x2979('0x9')]=function(_0x122658,_0xa49e8f){return _0x122658[_0x2979('0xa')](_0x2979('0xb'),attributes,{'tableName':_0x2979('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0xf8c6c3,_0x23b55f,_0x56ab05){if(_0xf8c6c3['changed']('closed')){_0xf8c6c3[_0x2979('0xd')]=moment()[_0x2979('0xe')](_0x2979('0xf'));}_0x56ab05(null,_0xf8c6c3);}},'charset':_0x2979('0x10'),'collate':'utf8mb4_unicode_ci'});};
\ No newline at end of file
diff --git a/server/api/chatInteraction/chatInteraction.rpc.js b/server/api/chatInteraction/chatInteraction.rpc.js
index 2c4f1eb..2245a5c 100644
--- a/server/api/chatInteraction/chatInteraction.rpc.js
+++ b/server/api/chatInteraction/chatInteraction.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xcc85=['limit','UpdateChatInteraction','stringify','AddTagsToChatInteraction','find','addTags','omit','ids','AddTags','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','client','http','redis','localhost','socket.io-emitter','./chatInteraction.socket','then','info','ChatInteraction,\x20%s,\x20%s','request\x20sent','debug','ChatInteraction,\x20%s,\x20%s,\x20%s','error','code','message','catch','ChatInteraction','body','options','raw','where'];(function(_0x47ead9,_0x4fe8b8){var _0x15213e=function(_0x42e234){while(--_0x42e234){_0x47ead9['push'](_0x47ead9['shift']());}};_0x15213e(++_0x4fe8b8);}(_0xcc85,0x168));var _0x5cc8=function(_0x4cbf20,_0x1bfa66){_0x4cbf20=_0x4cbf20-0x0;var _0x582ae4=_0xcc85[_0x4cbf20];return _0x582ae4;};'use strict';var _=require('lodash');var util=require(_0x5cc8('0x0'));var moment=require(_0x5cc8('0x1'));var BPromise=require(_0x5cc8('0x2'));var rs=require(_0x5cc8('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x5cc8('0x4'))['db'];var utils=require(_0x5cc8('0x5'));var logger=require(_0x5cc8('0x6'))(_0x5cc8('0x7'));var config=require(_0x5cc8('0x8'));var jayson=require('jayson/promise');var client=jayson[_0x5cc8('0x9')][_0x5cc8('0xa')]({'port':0x232a});config[_0x5cc8('0xb')]=_['defaults'](config['redis'],{'host':_0x5cc8('0xc'),'port':0x18eb});var socket=require(_0x5cc8('0xd'))(new Redis(config[_0x5cc8('0xb')]));require(_0x5cc8('0xe'))['register'](socket);function respondWithRpcPromise(_0x16a287,_0x3d0b7d,_0x2c2e1c){return new BPromise(function(_0x3cc70c,_0x33d269){return client['request'](_0x16a287,_0x2c2e1c)[_0x5cc8('0xf')](function(_0x70b049){logger[_0x5cc8('0x10')](_0x5cc8('0x11'),_0x3d0b7d,_0x5cc8('0x12'));logger[_0x5cc8('0x13')](_0x5cc8('0x14'),_0x3d0b7d,_0x5cc8('0x12'),JSON['stringify'](_0x70b049));if(_0x70b049[_0x5cc8('0x15')]){if(_0x70b049[_0x5cc8('0x15')][_0x5cc8('0x16')]===0x1f4){logger[_0x5cc8('0x15')](_0x5cc8('0x11'),_0x3d0b7d,_0x70b049['error']['message']);return _0x33d269(_0x70b049['error'][_0x5cc8('0x17')]);}logger[_0x5cc8('0x15')](_0x5cc8('0x11'),_0x3d0b7d,_0x70b049['error'][_0x5cc8('0x17')]);return _0x3cc70c(_0x70b049[_0x5cc8('0x15')][_0x5cc8('0x17')]);}else{logger[_0x5cc8('0x10')](_0x5cc8('0x11'),_0x3d0b7d,_0x5cc8('0x12'));_0x3cc70c(_0x70b049['result'][_0x5cc8('0x17')]);}})[_0x5cc8('0x18')](function(_0x230bd8){logger[_0x5cc8('0x15')](_0x5cc8('0x11'),_0x3d0b7d,_0x230bd8);_0x33d269(_0x230bd8);});});}exports['UpdateChatInteraction']=function(_0x55b3dc){var _0x58c947=this;return new Promise(function(_0x5731bd,_0x182874){return db[_0x5cc8('0x19')]['update'](_0x55b3dc[_0x5cc8('0x1a')],{'raw':_0x55b3dc['options']?_0x55b3dc[_0x5cc8('0x1b')][_0x5cc8('0x1c')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x55b3dc[_0x5cc8('0x1b')]?_0x55b3dc[_0x5cc8('0x1b')][_0x5cc8('0x1d')]||null:null,'attributes':_0x55b3dc[_0x5cc8('0x1b')]?_0x55b3dc[_0x5cc8('0x1b')]['attributes']||null:null,'limit':_0x55b3dc[_0x5cc8('0x1b')]?_0x55b3dc[_0x5cc8('0x1b')][_0x5cc8('0x1e')]||null:null})['then'](function(_0x55e7b7){logger[_0x5cc8('0x10')](_0x5cc8('0x1f'),_0x55b3dc);logger[_0x5cc8('0x13')](_0x5cc8('0x1f'),_0x55b3dc,JSON[_0x5cc8('0x20')](_0x55e7b7));_0x5731bd(_0x55e7b7);})[_0x5cc8('0x18')](function(_0x483304){logger[_0x5cc8('0x15')](_0x5cc8('0x1f'),_0x483304[_0x5cc8('0x17')],_0x55b3dc);_0x182874(_0x58c947['error'](0x1f4,_0x483304['message']));});});};exports[_0x5cc8('0x21')]=function(_0x1935a9){return new Promise(function(_0x5520e0,_0x4ad480){return db['ChatInteraction'][_0x5cc8('0x22')]({'where':_0x1935a9[_0x5cc8('0x1b')]?_0x1935a9[_0x5cc8('0x1b')][_0x5cc8('0x1d')]||null:null})['then'](function(_0x2514dc){if(_0x2514dc){return _0x2514dc[_0x5cc8('0x23')](_0x1935a9['body']['ids'],_[_0x5cc8('0x24')](_0x1935a9[_0x5cc8('0x1a')],[_0x5cc8('0x25'),'id'])||{});}})['spread'](function(_0x105c4e){logger[_0x5cc8('0x10')](_0x5cc8('0x26'),_0x1935a9);logger[_0x5cc8('0x13')](_0x5cc8('0x26'),_0x1935a9,JSON[_0x5cc8('0x20')](_0x105c4e));_0x5520e0(_0x105c4e);})[_0x5cc8('0x18')](function(_0x375da8){logger['error'](_0x5cc8('0x26'),_0x375da8['message'],_0x1935a9);_0x4ad480(_this[_0x5cc8('0x15')](0x1f4,_0x375da8['message']));});});};
\ No newline at end of file
+var _0x0e1e=['limit','stringify','AddTagsToChatInteraction','find','addTags','ids','omit','body','spread','AddTags','lodash','util','moment','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/environment','client','http','redis','localhost','./chatInteraction.socket','register','request','then','info','ChatInteraction,\x20%s,\x20%s','request\x20sent','debug','ChatInteraction,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','UpdateChatInteraction','ChatInteraction','update','options','attributes'];(function(_0x45d3f0,_0x4be53f){var _0x314b79=function(_0x563d32){while(--_0x563d32){_0x45d3f0['push'](_0x45d3f0['shift']());}};_0x314b79(++_0x4be53f);}(_0x0e1e,0x152));var _0xe0e1=function(_0x4a49fd,_0xdf7290){_0x4a49fd=_0x4a49fd-0x0;var _0x352773=_0x0e1e[_0x4a49fd];return _0x352773;};'use strict';var _=require(_0xe0e1('0x0'));var util=require(_0xe0e1('0x1'));var moment=require(_0xe0e1('0x2'));var BPromise=require('bluebird');var rs=require(_0xe0e1('0x3'));var fs=require('fs');var Redis=require(_0xe0e1('0x4'));var db=require(_0xe0e1('0x5'))['db'];var utils=require(_0xe0e1('0x6'));var logger=require('../../config/logger')('rpc');var config=require(_0xe0e1('0x7'));var jayson=require('jayson/promise');var client=jayson[_0xe0e1('0x8')][_0xe0e1('0x9')]({'port':0x232a});config['redis']=_['defaults'](config[_0xe0e1('0xa')],{'host':_0xe0e1('0xb'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require(_0xe0e1('0xc'))[_0xe0e1('0xd')](socket);function respondWithRpcPromise(_0x1e3a83,_0x3479ab,_0x99bac8){return new BPromise(function(_0x2ad7f1,_0x3062ef){return client[_0xe0e1('0xe')](_0x1e3a83,_0x99bac8)[_0xe0e1('0xf')](function(_0x3f2ce9){logger[_0xe0e1('0x10')](_0xe0e1('0x11'),_0x3479ab,_0xe0e1('0x12'));logger[_0xe0e1('0x13')](_0xe0e1('0x14'),_0x3479ab,_0xe0e1('0x12'),JSON['stringify'](_0x3f2ce9));if(_0x3f2ce9[_0xe0e1('0x15')]){if(_0x3f2ce9[_0xe0e1('0x15')][_0xe0e1('0x16')]===0x1f4){logger['error'](_0xe0e1('0x11'),_0x3479ab,_0x3f2ce9[_0xe0e1('0x15')][_0xe0e1('0x17')]);return _0x3062ef(_0x3f2ce9[_0xe0e1('0x15')][_0xe0e1('0x17')]);}logger[_0xe0e1('0x15')](_0xe0e1('0x11'),_0x3479ab,_0x3f2ce9[_0xe0e1('0x15')][_0xe0e1('0x17')]);return _0x2ad7f1(_0x3f2ce9['error']['message']);}else{logger['info'](_0xe0e1('0x11'),_0x3479ab,'request\x20sent');_0x2ad7f1(_0x3f2ce9[_0xe0e1('0x18')][_0xe0e1('0x17')]);}})[_0xe0e1('0x19')](function(_0x2cdc17){logger['error'](_0xe0e1('0x11'),_0x3479ab,_0x2cdc17);_0x3062ef(_0x2cdc17);});});}exports[_0xe0e1('0x1a')]=function(_0x2b850e){var _0x482a6c=this;return new Promise(function(_0x39d983,_0x2e639c){return db[_0xe0e1('0x1b')][_0xe0e1('0x1c')](_0x2b850e['body'],{'raw':_0x2b850e['options']?_0x2b850e[_0xe0e1('0x1d')]['raw']===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x2b850e[_0xe0e1('0x1d')]?_0x2b850e[_0xe0e1('0x1d')]['where']||null:null,'attributes':_0x2b850e[_0xe0e1('0x1d')]?_0x2b850e[_0xe0e1('0x1d')][_0xe0e1('0x1e')]||null:null,'limit':_0x2b850e[_0xe0e1('0x1d')]?_0x2b850e['options'][_0xe0e1('0x1f')]||null:null})[_0xe0e1('0xf')](function(_0xce2e44){logger['info'](_0xe0e1('0x1a'),_0x2b850e);logger['debug'](_0xe0e1('0x1a'),_0x2b850e,JSON[_0xe0e1('0x20')](_0xce2e44));_0x39d983(_0xce2e44);})[_0xe0e1('0x19')](function(_0x252ed1){logger[_0xe0e1('0x15')](_0xe0e1('0x1a'),_0x252ed1['message'],_0x2b850e);_0x2e639c(_0x482a6c[_0xe0e1('0x15')](0x1f4,_0x252ed1[_0xe0e1('0x17')]));});});};exports[_0xe0e1('0x21')]=function(_0x497b5a){return new Promise(function(_0x766c2c,_0x432b9a){return db[_0xe0e1('0x1b')][_0xe0e1('0x22')]({'where':_0x497b5a[_0xe0e1('0x1d')]?_0x497b5a[_0xe0e1('0x1d')]['where']||null:null})[_0xe0e1('0xf')](function(_0x4beca8){if(_0x4beca8){return _0x4beca8[_0xe0e1('0x23')](_0x497b5a['body'][_0xe0e1('0x24')],_[_0xe0e1('0x25')](_0x497b5a[_0xe0e1('0x26')],['ids','id'])||{});}})[_0xe0e1('0x27')](function(_0x14214e){logger['info'](_0xe0e1('0x28'),_0x497b5a);logger[_0xe0e1('0x13')](_0xe0e1('0x28'),_0x497b5a,JSON['stringify'](_0x14214e));_0x766c2c(_0x14214e);})[_0xe0e1('0x19')](function(_0x4bed60){logger[_0xe0e1('0x15')](_0xe0e1('0x28'),_0x4bed60[_0xe0e1('0x17')],_0x497b5a);_0x432b9a(_this[_0xe0e1('0x15')](0x1f4,_0x4bed60[_0xe0e1('0x17')]));});});};
\ No newline at end of file
diff --git a/server/api/chatInteraction/chatInteraction.socket.js b/server/api/chatInteraction/chatInteraction.socket.js
index 6e3c754..032a5c1 100644
--- a/server/api/chatInteraction/chatInteraction.socket.js
+++ b/server/api/chatInteraction/chatInteraction.socket.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xb0c9=['./chatInteraction.events','save','remove','update','emit','register','length','chatInteraction:'];(function(_0x1d5e96,_0x53062e){var _0x31f4da=function(_0xdd9334){while(--_0xdd9334){_0x1d5e96['push'](_0x1d5e96['shift']());}};_0x31f4da(++_0x53062e);}(_0xb0c9,0xd8));var _0x9b0c=function(_0x332740,_0x267c85){_0x332740=_0x332740-0x0;var _0x2681ed=_0xb0c9[_0x332740];return _0x2681ed;};'use strict';var ChatInteractionEvents=require(_0x9b0c('0x0'));var events=[_0x9b0c('0x1'),_0x9b0c('0x2'),_0x9b0c('0x3')];function createListener(_0x427cd,_0x5a8f20){return function(_0x46b4b3){_0x5a8f20[_0x9b0c('0x4')](_0x427cd,_0x46b4b3);};}function removeListener(_0x4a1754,_0x212267){return function(){ChatInteractionEvents['removeListener'](_0x4a1754,_0x212267);};}exports[_0x9b0c('0x5')]=function(_0x51595b){for(var _0x30749c=0x0,_0x4aed6d=events[_0x9b0c('0x6')];_0x30749c<_0x4aed6d;_0x30749c++){var _0x37e065=events[_0x30749c];var _0x18ddde=createListener(_0x9b0c('0x7')+_0x37e065,_0x51595b);ChatInteractionEvents['on'](_0x37e065,_0x18ddde);}};
\ No newline at end of file
+var _0x6068=['save','remove','update','emit','register','length','chatInteraction:'];(function(_0x5f5629,_0x5e3c8d){var _0x11f0ce=function(_0x47e880){while(--_0x47e880){_0x5f5629['push'](_0x5f5629['shift']());}};_0x11f0ce(++_0x5e3c8d);}(_0x6068,0x134));var _0x8606=function(_0x24c4a8,_0xc0facd){_0x24c4a8=_0x24c4a8-0x0;var _0x4a2c28=_0x6068[_0x24c4a8];return _0x4a2c28;};'use strict';var ChatInteractionEvents=require('./chatInteraction.events');var events=[_0x8606('0x0'),_0x8606('0x1'),_0x8606('0x2')];function createListener(_0x81ac12,_0x9d29eb){return function(_0x88c8fd){_0x9d29eb[_0x8606('0x3')](_0x81ac12,_0x88c8fd);};}function removeListener(_0x7f410b,_0x2886a9){return function(){ChatInteractionEvents['removeListener'](_0x7f410b,_0x2886a9);};}exports[_0x8606('0x4')]=function(_0x25341a){for(var _0x2784da=0x0,_0x28de69=events[_0x8606('0x5')];_0x2784da<_0x28de69;_0x2784da++){var _0x5aa72c=events[_0x2784da];var _0x5a52d8=createListener(_0x8606('0x6')+_0x5aa72c,_0x25341a);ChatInteractionEvents['on'](_0x5aa72c,_0x5a52d8);}};
\ No newline at end of file
diff --git a/server/api/chatInteraction/index.js b/server/api/chatInteraction/index.js
index 4d563d4..47a692a 100644
--- a/server/api/chatInteraction/index.js
+++ b/server/api/chatInteraction/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x7115=['create','post','createVidaooSession','diskStorage','join','server/files/attachments/','format','%s-%s','now','originalname','replace','/:id/attachment_upload','single','attachmentUpload','addMessage','/:id/tags','tracked','chat','addTags','put','chatinteraction:update','update','/:id/custom_update','customUpdate','/:id/abandon','abandon','/:id/close','delete','removeTags','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../config/environment','get','isAuthenticated','/describe','describe','/:id','show','isChatInteractionAuthorized','/:id/messages','getMessages','/:id/my_messages','getMyMessages','/:id/download','download'];(function(_0xef8146,_0x459c34){var _0x5a6cb0=function(_0x2f84ec){while(--_0x2f84ec){_0xef8146['push'](_0xef8146['shift']());}};_0x5a6cb0(++_0x459c34);}(_0x7115,0xea));var _0x5711=function(_0x35d6fd,_0x20bdc4){_0x35d6fd=_0x35d6fd-0x0;var _0x580f93=_0x7115[_0x35d6fd];return _0x580f93;};'use strict';var multer=require(_0x5711('0x0'));var util=require(_0x5711('0x1'));var path=require(_0x5711('0x2'));var timeout=require(_0x5711('0x3'));var express=require(_0x5711('0x4'));var router=express[_0x5711('0x5')]();var fs_extra=require(_0x5711('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x5711('0x7'));var controller=require('./chatInteraction.controller');router[_0x5711('0x8')]('/',auth[_0x5711('0x9')](),controller['index']);router[_0x5711('0x8')](_0x5711('0xa'),auth[_0x5711('0x9')](),controller[_0x5711('0xb')]);router[_0x5711('0x8')](_0x5711('0xc'),auth['isChatInteractionAuthorized'](),controller[_0x5711('0xd')]);router['get']('/:id/attachment_download',auth[_0x5711('0xe')](),controller['attachmentDownload']);router[_0x5711('0x8')](_0x5711('0xf'),auth[_0x5711('0x9')](),controller[_0x5711('0x10')]);router[_0x5711('0x8')](_0x5711('0x11'),auth[_0x5711('0xe')](),controller[_0x5711('0x12')]);router[_0x5711('0x8')](_0x5711('0x13'),auth['isAuthenticated'](),controller[_0x5711('0x14')]);router['post']('/',auth[_0x5711('0x9')](),controller[_0x5711('0x15')]);router[_0x5711('0x16')]('/:id/vidaoo',auth[_0x5711('0x9')](),controller[_0x5711('0x17')]);var upload=multer({'storage':multer[_0x5711('0x18')]({'destination':function(_0x37399,_0x5a2397,_0x27d84b){_0x27d84b(null,path[_0x5711('0x19')](config['root'],_0x5711('0x1a')));},'filename':function(_0xd6c788,_0x58b060,_0xe3d05e){_0xe3d05e(null,util[_0x5711('0x1b')](_0x5711('0x1c'),Date[_0x5711('0x1d')](),_0x58b060[_0x5711('0x1e')][_0x5711('0x1f')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0x5711('0x16')](_0x5711('0x20'),upload[_0x5711('0x21')]('file'),controller[_0x5711('0x22')]);router[_0x5711('0x16')](_0x5711('0xf'),auth['isChatInteractionAuthorized'](),controller[_0x5711('0x23')]);router[_0x5711('0x16')](_0x5711('0x24'),auth[_0x5711('0x9')](),interaction[_0x5711('0x25')](_0x5711('0x26'),'chatinteraction:addtags'),controller[_0x5711('0x27')]);router[_0x5711('0x28')]('/:id',auth[_0x5711('0x9')](),interaction[_0x5711('0x25')](_0x5711('0x26'),_0x5711('0x29')),controller[_0x5711('0x2a')]);router['put'](_0x5711('0x2b'),controller[_0x5711('0x2c')]);router[_0x5711('0x28')](_0x5711('0x2d'),auth['isChatInteractionAuthorized'](),controller[_0x5711('0x2e')]);router[_0x5711('0x28')](_0x5711('0x2f'),controller['close']);router['delete'](_0x5711('0xc'),auth[_0x5711('0x9')](),interaction[_0x5711('0x25')]('chat','chatinteraction:destroy'),controller['destroy']);router[_0x5711('0x30')]('/:id/tags',auth[_0x5711('0x9')](),controller[_0x5711('0x31')]);module[_0x5711('0x32')]=router;
\ No newline at end of file
+var _0x5400=['root','server/files/attachments/','format','%s-%s','now','replace','/:id/attachment_upload','single','attachmentUpload','chat','chatinteraction:addtags','addTags','put','chatinteraction:update','update','/:id/abandon','abandon','/:id/close','close','chatinteraction:destroy','destroy','delete','/:id/tags','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./chatInteraction.controller','get','isAuthenticated','index','describe','/:id','isChatInteractionAuthorized','/:id/messages','getMyMessages','/:id/download','download','post','/:id/vidaoo','createVidaooSession','diskStorage','join'];(function(_0x4d35f3,_0x19ba66){var _0x382fea=function(_0x2c2390){while(--_0x2c2390){_0x4d35f3['push'](_0x4d35f3['shift']());}};_0x382fea(++_0x19ba66);}(_0x5400,0x103));var _0x0540=function(_0x3222f7,_0x151aac){_0x3222f7=_0x3222f7-0x0;var _0x2fa881=_0x5400[_0x3222f7];return _0x2fa881;};'use strict';var multer=require('multer');var util=require(_0x0540('0x0'));var path=require(_0x0540('0x1'));var timeout=require(_0x0540('0x2'));var express=require(_0x0540('0x3'));var router=express[_0x0540('0x4')]();var fs_extra=require(_0x0540('0x5'));var auth=require(_0x0540('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x0540('0x7'));router[_0x0540('0x8')]('/',auth[_0x0540('0x9')](),controller[_0x0540('0xa')]);router[_0x0540('0x8')]('/describe',auth['isAuthenticated'](),controller[_0x0540('0xb')]);router[_0x0540('0x8')](_0x0540('0xc'),auth[_0x0540('0xd')](),controller['show']);router['get']('/:id/attachment_download',auth['isChatInteractionAuthorized'](),controller['attachmentDownload']);router[_0x0540('0x8')](_0x0540('0xe'),auth['isAuthenticated'](),controller['getMessages']);router[_0x0540('0x8')]('/:id/my_messages',auth[_0x0540('0xd')](),controller[_0x0540('0xf')]);router['get'](_0x0540('0x10'),auth[_0x0540('0x9')](),controller[_0x0540('0x11')]);router['post']('/',auth[_0x0540('0x9')](),controller['create']);router[_0x0540('0x12')](_0x0540('0x13'),auth['isAuthenticated'](),controller[_0x0540('0x14')]);var upload=multer({'storage':multer[_0x0540('0x15')]({'destination':function(_0x5b09ab,_0x29dab2,_0x1ad4f5){_0x1ad4f5(null,path[_0x0540('0x16')](config[_0x0540('0x17')],_0x0540('0x18')));},'filename':function(_0x840d78,_0x3d8354,_0x1bb69b){_0x1bb69b(null,util[_0x0540('0x19')](_0x0540('0x1a'),Date[_0x0540('0x1b')](),_0x3d8354['originalname'][_0x0540('0x1c')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router['post'](_0x0540('0x1d'),upload[_0x0540('0x1e')]('file'),controller[_0x0540('0x1f')]);router[_0x0540('0x12')](_0x0540('0xe'),auth['isChatInteractionAuthorized'](),controller['addMessage']);router[_0x0540('0x12')]('/:id/tags',auth[_0x0540('0x9')](),interaction['tracked'](_0x0540('0x20'),_0x0540('0x21')),controller[_0x0540('0x22')]);router[_0x0540('0x23')]('/:id',auth['isAuthenticated'](),interaction['tracked'](_0x0540('0x20'),_0x0540('0x24')),controller[_0x0540('0x25')]);router[_0x0540('0x23')]('/:id/custom_update',controller['customUpdate']);router['put'](_0x0540('0x26'),auth['isChatInteractionAuthorized'](),controller[_0x0540('0x27')]);router[_0x0540('0x23')](_0x0540('0x28'),controller[_0x0540('0x29')]);router['delete'](_0x0540('0xc'),auth[_0x0540('0x9')](),interaction['tracked'](_0x0540('0x20'),_0x0540('0x2a')),controller[_0x0540('0x2b')]);router[_0x0540('0x2c')](_0x0540('0x2d'),auth[_0x0540('0x9')](),controller['removeTags']);module[_0x0540('0x2e')]=router;
\ No newline at end of file
diff --git a/server/api/chatInternalMessage/chatInternalMessage.attributes.js b/server/api/chatInternalMessage/chatInternalMessage.attributes.js
index f47006f..41cfd09 100644
--- a/server/api/chatInternalMessage/chatInternalMessage.attributes.js
+++ b/server/api/chatInternalMessage/chatInternalMessage.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x8ad1=['BOOLEAN','INTEGER','sequelize','exports','medium'];(function(_0xcc3cb,_0x42fdb4){var _0x235098=function(_0x3934d9){while(--_0x3934d9){_0xcc3cb['push'](_0xcc3cb['shift']());}};_0x235098(++_0x42fdb4);}(_0x8ad1,0x188));var _0x18ad=function(_0x3ccabb,_0x58cc86){_0x3ccabb=_0x3ccabb-0x0;var _0x22b99e=_0x8ad1[_0x3ccabb];return _0x22b99e;};'use strict';var Sequelize=require(_0x18ad('0x0'));module[_0x18ad('0x1')]={'body':{'type':Sequelize['TEXT'](_0x18ad('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0x18ad('0x3')],'defaultValue':![]},'ChatInternalMessageId':{'type':Sequelize[_0x18ad('0x4')]}};
\ No newline at end of file
+var _0x12d0=['exports','medium','BOOLEAN','sequelize'];(function(_0x58d79a,_0x322927){var _0x290152=function(_0xa6e2d1){while(--_0xa6e2d1){_0x58d79a['push'](_0x58d79a['shift']());}};_0x290152(++_0x322927);}(_0x12d0,0xc3));var _0x012d=function(_0x2a1894,_0x574da2){_0x2a1894=_0x2a1894-0x0;var _0x1d87ba=_0x12d0[_0x2a1894];return _0x1d87ba;};'use strict';var Sequelize=require(_0x012d('0x0'));module[_0x012d('0x1')]={'body':{'type':Sequelize['TEXT'](_0x012d('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0x012d('0x3')],'defaultValue':![]},'ChatInternalMessageId':{'type':Sequelize['INTEGER']}};
\ No newline at end of file
diff --git a/server/api/chatInternalMessage/chatInternalMessage.controller.js b/server/api/chatInternalMessage/chatInternalMessage.controller.js
index 65333cf..27e6edf 100644
--- a/server/api/chatInternalMessage/chatInternalMessage.controller.js
+++ b/server/api/chatInternalMessage/chatInternalMessage.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xf957=['FromId','ToId','read','-createdAt','rimraf','fast-json-patch','bluebird','mustache','util','path','to-csv','fs-extra','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','redis','defaults','localhost','socket.io-emitter','./chatInternalMessage.socket','sendStatus','end','offset','undefined','count','set','Content-Range','json','apply','reject','save','update','then','status','error','stack','name','send','ChatInternalMessage','rawAttributes','fieldName','key','map','query','keys','intersection','model','fields','attributes','length','hasOwnProperty','nolimit','limit','sort','where','filters','pick','filter','merge','type','options','includeAll','rows','catch','show','params','include','find','create','body','destroy','describe','get','messages','createdAt','lastMessage','lastMessageAt','YYYY-MM-DD\x20HH:mm:ss','getUsers','User','findAll','agent','admin','user','fullname','role','internal','online','lastLoginAt','allowmessenger','showWebBar','VoiceQueue','Unable\x20to\x20retrieve\x20the\x20current\x20user','UserProfileSection','Agents','userProfileId','autoAssociation','UserProfileResource','isEmpty','push'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xf957,0x14e));var _0x7f95=function(_0x4ce485,_0x35d112){_0x4ce485=_0x4ce485-0x0;var _0x252c30=_0xf957[_0x4ce485];return _0x252c30;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x7f95('0x0'));var zipdir=require('zip-dir');var jsonpatch=require(_0x7f95('0x1'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x7f95('0x2'));var Mustache=require(_0x7f95('0x3'));var util=require(_0x7f95('0x4'));var path=require(_0x7f95('0x5'));var sox=require('sox');var csv=require(_0x7f95('0x6'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x7f95('0x7'));var _=require('lodash');var squel=require(_0x7f95('0x8'));var crypto=require(_0x7f95('0x9'));var jsforce=require(_0x7f95('0xa'));var deskjs=require(_0x7f95('0xb'));var toCsv=require(_0x7f95('0x6'));var querystring=require('querystring');var Papa=require(_0x7f95('0xc'));var Redis=require(_0x7f95('0xd'));var authService=require(_0x7f95('0xe'));var qs=require(_0x7f95('0xf'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x7f95('0x10'));var logger=require(_0x7f95('0x11'))(_0x7f95('0x12'));var utils=require('../../config/utils');var config=require(_0x7f95('0x13'));var licenseUtil=require('../../config/license/util');var db=require(_0x7f95('0x14'))['db'];config[_0x7f95('0x15')]=_[_0x7f95('0x16')](config[_0x7f95('0x15')],{'host':_0x7f95('0x17'),'port':0x18eb});var socket=require(_0x7f95('0x18'))(new Redis(config[_0x7f95('0x15')]));require(_0x7f95('0x19'))['register'](socket);function respondWithStatusCode(_0x5fc0b8,_0x2e3555){_0x2e3555=_0x2e3555||0xcc;return function(_0x2ebcda){if(_0x2ebcda){return _0x5fc0b8[_0x7f95('0x1a')](_0x2e3555);}return _0x5fc0b8['status'](_0x2e3555)[_0x7f95('0x1b')]();};}function respondWithResult(_0x2844eb,_0xa30e10){_0xa30e10=_0xa30e10||0xc8;return function(_0x3f2dc2){if(_0x3f2dc2){return _0x2844eb['status'](_0xa30e10)['json'](_0x3f2dc2);}};}function respondWithFilteredResult(_0x167210,_0x3fa401){return function(_0x12c12c){if(_0x12c12c){var _0x4de355=typeof _0x3fa401[_0x7f95('0x1c')]===_0x7f95('0x1d')&&typeof _0x3fa401['limit']===_0x7f95('0x1d');var _0xa2277e=_0x12c12c[_0x7f95('0x1e')];var _0x3a3789=_0x4de355?0x0:_0x3fa401[_0x7f95('0x1c')];var _0x51c9b6=_0x4de355?_0x12c12c[_0x7f95('0x1e')]:_0x3fa401[_0x7f95('0x1c')]+_0x3fa401['limit'];var _0x18b068;if(_0x51c9b6>=_0xa2277e){_0x51c9b6=_0xa2277e;_0x18b068=0xc8;}else{_0x18b068=0xce;}_0x167210['status'](_0x18b068);return _0x167210[_0x7f95('0x1f')](_0x7f95('0x20'),_0x3a3789+'-'+_0x51c9b6+'/'+_0xa2277e)[_0x7f95('0x21')](_0x12c12c);}return null;};}function patchUpdates(_0x2d789c){return function(_0x406b07){try{jsonpatch[_0x7f95('0x22')](_0x406b07,_0x2d789c,!![]);}catch(_0xe4f308){return BPromise[_0x7f95('0x23')](_0xe4f308);}return _0x406b07[_0x7f95('0x24')]();};}function saveUpdates(_0x831306,_0xf6c81f){return function(_0x7fe9c4){if(_0x7fe9c4){return _0x7fe9c4[_0x7f95('0x25')](_0x831306)[_0x7f95('0x26')](function(_0xad501e){return _0xad501e;});}return null;};}function removeEntity(_0x54173c,_0xff5fce){return function(_0x55305e){if(_0x55305e){return _0x55305e['destroy']()[_0x7f95('0x26')](function(){_0x54173c[_0x7f95('0x27')](0xcc)[_0x7f95('0x1b')]();});}};}function handleEntityNotFound(_0x53c8a7,_0x4f536e){return function(_0x407769){if(!_0x407769){_0x53c8a7[_0x7f95('0x1a')](0x194);}return _0x407769;};}function handleError(_0x3ca8e3,_0x4d4ab3){_0x4d4ab3=_0x4d4ab3||0x1f4;return function(_0x489c9e){logger[_0x7f95('0x28')](_0x489c9e[_0x7f95('0x29')]);if(_0x489c9e[_0x7f95('0x2a')]){delete _0x489c9e[_0x7f95('0x2a')];}_0x3ca8e3[_0x7f95('0x27')](_0x4d4ab3)[_0x7f95('0x2b')](_0x489c9e);};}exports['index']=function(_0x53fdef,_0x326c97){var _0x7490ed={},_0x1454fc={},_0x8d4739={'count':0x0,'rows':[]};var _0x3d6725=_['map'](db[_0x7f95('0x2c')][_0x7f95('0x2d')],function(_0x1a9ca4){return{'name':_0x1a9ca4[_0x7f95('0x2e')],'type':_0x1a9ca4['type'][_0x7f95('0x2f')]};});_0x1454fc['model']=_[_0x7f95('0x30')](_0x3d6725,_0x7f95('0x2a'));_0x1454fc[_0x7f95('0x31')]=_[_0x7f95('0x32')](_0x53fdef[_0x7f95('0x31')]);_0x1454fc['filters']=_[_0x7f95('0x33')](_0x1454fc['model'],_0x1454fc[_0x7f95('0x31')]);_0x7490ed['attributes']=_[_0x7f95('0x33')](_0x1454fc[_0x7f95('0x34')],qs['fields'](_0x53fdef[_0x7f95('0x31')][_0x7f95('0x35')]));_0x7490ed[_0x7f95('0x36')]=_0x7490ed['attributes'][_0x7f95('0x37')]?_0x7490ed[_0x7f95('0x36')]:_0x1454fc[_0x7f95('0x34')];if(!_0x53fdef['query'][_0x7f95('0x38')](_0x7f95('0x39'))){_0x7490ed[_0x7f95('0x3a')]=qs[_0x7f95('0x3a')](_0x53fdef[_0x7f95('0x31')][_0x7f95('0x3a')]);_0x7490ed[_0x7f95('0x1c')]=qs[_0x7f95('0x1c')](_0x53fdef[_0x7f95('0x31')][_0x7f95('0x1c')]);}_0x7490ed['order']=qs[_0x7f95('0x3b')](_0x53fdef[_0x7f95('0x31')][_0x7f95('0x3b')]);_0x7490ed[_0x7f95('0x3c')]=qs[_0x7f95('0x3d')](_[_0x7f95('0x3e')](_0x53fdef[_0x7f95('0x31')],_0x1454fc[_0x7f95('0x3d')]),_0x3d6725);if(_0x53fdef[_0x7f95('0x31')][_0x7f95('0x3f')]){_0x7490ed[_0x7f95('0x3c')]=_[_0x7f95('0x40')](_0x7490ed[_0x7f95('0x3c')],{'$or':_[_0x7f95('0x30')](_0x3d6725,function(_0x330a99){if(_0x330a99[_0x7f95('0x41')]!=='VIRTUAL'){var _0x4ca338={};_0x4ca338[_0x330a99[_0x7f95('0x2a')]]={'$like':'%'+_0x53fdef['query']['filter']+'%'};return _0x4ca338;}})});}_0x7490ed=_['merge']({},_0x7490ed,_0x53fdef[_0x7f95('0x42')]);var _0x1bda05={'where':_0x7490ed[_0x7f95('0x3c')]};return db[_0x7f95('0x2c')][_0x7f95('0x1e')](_0x1bda05)[_0x7f95('0x26')](function(_0x4075d7){_0x8d4739[_0x7f95('0x1e')]=_0x4075d7;if(_0x53fdef[_0x7f95('0x31')][_0x7f95('0x43')]){_0x7490ed['include']=[{'all':!![]}];}return db[_0x7f95('0x2c')]['findAll'](_0x7490ed);})[_0x7f95('0x26')](function(_0x161e8b){_0x8d4739[_0x7f95('0x44')]=_0x161e8b;return _0x8d4739;})['then'](respondWithFilteredResult(_0x326c97,_0x7490ed))[_0x7f95('0x45')](handleError(_0x326c97,null));};exports[_0x7f95('0x46')]=function(_0x23a88f,_0x3a8f38){var _0x37fbc9={'raw':!![],'where':{'id':_0x23a88f[_0x7f95('0x47')]['id']}},_0x11c120={};_0x11c120[_0x7f95('0x34')]=_[_0x7f95('0x32')](db[_0x7f95('0x2c')][_0x7f95('0x2d')]);_0x11c120[_0x7f95('0x31')]=_[_0x7f95('0x32')](_0x23a88f[_0x7f95('0x31')]);_0x11c120[_0x7f95('0x3d')]=_[_0x7f95('0x33')](_0x11c120['model'],_0x11c120[_0x7f95('0x31')]);_0x37fbc9[_0x7f95('0x36')]=_[_0x7f95('0x33')](_0x11c120['model'],qs[_0x7f95('0x35')](_0x23a88f['query'][_0x7f95('0x35')]));_0x37fbc9[_0x7f95('0x36')]=_0x37fbc9[_0x7f95('0x36')][_0x7f95('0x37')]?_0x37fbc9[_0x7f95('0x36')]:_0x11c120['model'];if(_0x23a88f['query'][_0x7f95('0x43')]){_0x37fbc9[_0x7f95('0x48')]=[{'all':!![]}];}_0x37fbc9=_[_0x7f95('0x40')]({},_0x37fbc9,_0x23a88f[_0x7f95('0x42')]);return db['ChatInternalMessage'][_0x7f95('0x49')](_0x37fbc9)[_0x7f95('0x26')](handleEntityNotFound(_0x3a8f38,null))[_0x7f95('0x26')](respondWithResult(_0x3a8f38,null))['catch'](handleError(_0x3a8f38,null));};exports[_0x7f95('0x4a')]=function(_0x440439,_0x441406){return db[_0x7f95('0x2c')][_0x7f95('0x4a')](_0x440439[_0x7f95('0x4b')],{})[_0x7f95('0x26')](respondWithResult(_0x441406,0xc9))[_0x7f95('0x45')](handleError(_0x441406,null));};exports[_0x7f95('0x25')]=function(_0x239e74,_0x288474){if(_0x239e74['body']['id']){delete _0x239e74['body']['id'];}return db['ChatInternalMessage'][_0x7f95('0x49')]({'where':{'id':_0x239e74[_0x7f95('0x47')]['id']}})[_0x7f95('0x26')](handleEntityNotFound(_0x288474,null))[_0x7f95('0x26')](saveUpdates(_0x239e74[_0x7f95('0x4b')],null))[_0x7f95('0x26')](respondWithResult(_0x288474,null))[_0x7f95('0x45')](handleError(_0x288474,null));};exports[_0x7f95('0x4c')]=function(_0x508949,_0x4cd43b){return db[_0x7f95('0x2c')][_0x7f95('0x49')]({'where':{'id':_0x508949[_0x7f95('0x47')]['id']}})['then'](handleEntityNotFound(_0x4cd43b,null))[_0x7f95('0x26')](removeEntity(_0x4cd43b,null))[_0x7f95('0x45')](handleError(_0x4cd43b,null));};exports[_0x7f95('0x4d')]=function(_0x5a4f65,_0x5f4d6d){return db[_0x7f95('0x2c')][_0x7f95('0x4d')]()[_0x7f95('0x26')](respondWithResult(_0x5f4d6d,null))[_0x7f95('0x45')](handleError(_0x5f4d6d,null));};function wrapUser(_0xa44d10){return function(_0x23f8c3){var _0x360988=_0xa44d10[_0x7f95('0x4e')]({'plain':!![]});_0x360988[_0x7f95('0x4f')]=[];if(_0x23f8c3){_0x360988['lastMessageAt']=_0x23f8c3[_0x7f95('0x50')];_0x360988[_0x7f95('0x51')]=_0x23f8c3;}else{_0x360988[_0x7f95('0x52')]=moment(0x0)['format'](_0x7f95('0x53'));_0x360988['lastMessage']={};}return _0x360988;};}exports[_0x7f95('0x54')]=function(_0x227b84,_0x836140,_0x568f08){var _0x525b37=[];return db[_0x7f95('0x55')][_0x7f95('0x56')]({'where':{'role':[_0x7f95('0x57'),_0x7f95('0x58'),_0x7f95('0x59')]},'attributes':['id',_0x7f95('0x5a'),_0x7f95('0x2a'),_0x7f95('0x5b'),'userpic',_0x7f95('0x5c'),_0x7f95('0x5d'),_0x7f95('0x5e'),_0x7f95('0x5f'),_0x7f95('0x60')],'order':qs[_0x7f95('0x3b')]('-online'),'include':[{'model':db[_0x7f95('0x61')],'as':'VoiceQueues','attributes':['id','name',_0x7f95('0x41')],'through':{'attributes':[]}}]})[_0x7f95('0x26')](function(_0x5d42ec){if(_0x5d42ec){var _0x12c688=_0x227b84[_0x7f95('0x59')]['get']({'plain':!![]});if(!_0x12c688)throw new Error(_0x7f95('0x62'));if(_0x12c688['role']===_0x7f95('0x59')){return db[_0x7f95('0x63')][_0x7f95('0x49')]({'where':{'name':_0x7f95('0x64'),'userProfileId':_0x12c688[_0x7f95('0x65')]},'raw':!![]})[_0x7f95('0x26')](function(_0xa603bd){if(_0xa603bd){if(_0xa603bd[_0x7f95('0x66')]===0x0){return db[_0x7f95('0x67')][_0x7f95('0x56')]({'where':{'sectionId':_0xa603bd['id']},'raw':!![]})[_0x7f95('0x26')](function(_0x59cdd7){var _0x5afbc6=[];if(_[_0x7f95('0x68')](_0x59cdd7)){_0x5afbc6=_[_0x7f95('0x3f')](_0x5d42ec,function(_0x2e26b0){if(_0x2e26b0[_0x7f95('0x5b')]!==_0x7f95('0x57')){return _0x2e26b0;}});return _0x5afbc6;}else{for(var _0x39c818=0x0;_0x39c818<_0x5d42ec[_0x7f95('0x37')];_0x39c818++){var _0x1e4613=_0x5d42ec[_0x39c818];if(_0x1e4613['role']===_0x7f95('0x57')){var _0xcd6c73=_[_0x7f95('0x49')](_0x59cdd7,function(_0x5d89ec){return _0x5d89ec['resourceId']===_0x1e4613['id'];});if(_0xcd6c73)_0x5afbc6[_0x7f95('0x69')](_0x1e4613);}else{_0x5afbc6[_0x7f95('0x69')](_0x1e4613);}}return _0x5afbc6;}});}else{return _0x5d42ec;}}else{var _0x5f0340=_[_0x7f95('0x3f')](_0x5d42ec,function(_0x31bcb0){if(_0x31bcb0[_0x7f95('0x5b')]!==_0x7f95('0x57')){return _0x31bcb0;}});return _0x5f0340;}});}else{return _0x5d42ec;}}})[_0x7f95('0x26')](function(_0x3d5458){var _0x403ebf=[];if(_0x3d5458){_0x525b37=_0x3d5458;for(var _0x2c206f=0x0;_0x2c206f<_0x3d5458[_0x7f95('0x37')];_0x2c206f+=0x1){_0x525b37[_0x2c206f][_0x7f95('0x4f')]=[];_0x403ebf['push'](db[_0x7f95('0x2c')]['find']({'where':{'FromId':[_0x227b84[_0x7f95('0x59')]['id'],_0x3d5458[_0x2c206f]['id']],'ToId':[_0x227b84[_0x7f95('0x59')]['id'],_0x3d5458[_0x2c206f]['id']],'ChatGroupId':null},'attributes':['id',_0x7f95('0x50'),_0x7f95('0x6a'),_0x7f95('0x6b'),_0x7f95('0x6c'),_0x7f95('0x4b')],'order':qs[_0x7f95('0x3b')](_0x7f95('0x6d')),'limit':0x1,'offset':0x0,'raw':!![]})[_0x7f95('0x26')](wrapUser(_0x3d5458[_0x2c206f])));}return BPromise['all'](_0x403ebf);}return[];})[_0x7f95('0x26')](function(_0x256667){return{'rows':_0x256667,'count':_0x256667[_0x7f95('0x37')]};})[_0x7f95('0x26')](respondWithResult(_0x836140,null))[_0x7f95('0x45')](handleError(_0x836140,null));};
\ No newline at end of file
+var _0x45f5=['request-promise','bluebird','mustache','sox','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','redis','defaults','localhost','socket.io-emitter','./chatInternalMessage.socket','status','end','json','offset','undefined','limit','count','set','Content-Range','apply','reject','save','update','destroy','sendStatus','stack','send','index','map','ChatInternalMessage','fieldName','name','query','keys','filters','intersection','attributes','model','length','hasOwnProperty','nolimit','order','sort','where','pick','merge','VIRTUAL','filter','options','includeAll','findAll','then','rows','catch','show','params','fields','include','create','body','find','describe','messages','lastMessageAt','createdAt','lastMessage','format','getUsers','User','admin','user','fullname','role','userpic','internal','online','lastLoginAt','allowmessenger','showWebBar','-online','VoiceQueue','type','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','UserProfileSection','Agents','userProfileId','autoAssociation','UserProfileResource','isEmpty','agent','resourceId','push','FromId','ToId','-createdAt','all','rimraf','zip-dir','fast-json-patch'];(function(_0x41db21,_0x1d142a){var _0x202b8b=function(_0x1a715d){while(--_0x1a715d){_0x41db21['push'](_0x41db21['shift']());}};_0x202b8b(++_0x1d142a);}(_0x45f5,0x6f));var _0x545f=function(_0xe31165,_0x23cebf){_0xe31165=_0xe31165-0x0;var _0x3cd681=_0x45f5[_0xe31165];return _0x3cd681;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x545f('0x0'));var zipdir=require(_0x545f('0x1'));var jsonpatch=require(_0x545f('0x2'));var rp=require(_0x545f('0x3'));var moment=require('moment');var BPromise=require(_0x545f('0x4'));var Mustache=require(_0x545f('0x5'));var util=require('util');var path=require('path');var sox=require(_0x545f('0x6'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require('fs-extra');var _=require('lodash');var squel=require(_0x545f('0x7'));var crypto=require(_0x545f('0x8'));var jsforce=require(_0x545f('0x9'));var deskjs=require(_0x545f('0xa'));var toCsv=require('to-csv');var querystring=require(_0x545f('0xb'));var Papa=require('papaparse');var Redis=require(_0x545f('0xc'));var authService=require(_0x545f('0xd'));var qs=require('../../components/parsers/qs');var as=require(_0x545f('0xe'));var hardwareService=require(_0x545f('0xf'));var logger=require(_0x545f('0x10'))(_0x545f('0x11'));var utils=require(_0x545f('0x12'));var config=require(_0x545f('0x13'));var licenseUtil=require(_0x545f('0x14'));var db=require(_0x545f('0x15'))['db'];config[_0x545f('0x16')]=_[_0x545f('0x17')](config[_0x545f('0x16')],{'host':_0x545f('0x18'),'port':0x18eb});var socket=require(_0x545f('0x19'))(new Redis(config[_0x545f('0x16')]));require(_0x545f('0x1a'))['register'](socket);function respondWithStatusCode(_0x379d22,_0x1e1938){_0x1e1938=_0x1e1938||0xcc;return function(_0x59726f){if(_0x59726f){return _0x379d22['sendStatus'](_0x1e1938);}return _0x379d22[_0x545f('0x1b')](_0x1e1938)[_0x545f('0x1c')]();};}function respondWithResult(_0x59a5e9,_0xfccfba){_0xfccfba=_0xfccfba||0xc8;return function(_0x7ba8d9){if(_0x7ba8d9){return _0x59a5e9[_0x545f('0x1b')](_0xfccfba)[_0x545f('0x1d')](_0x7ba8d9);}};}function respondWithFilteredResult(_0x43328c,_0x11f5c5){return function(_0x2f998e){if(_0x2f998e){var _0x383d23=typeof _0x11f5c5[_0x545f('0x1e')]===_0x545f('0x1f')&&typeof _0x11f5c5[_0x545f('0x20')]===_0x545f('0x1f');var _0x428200=_0x2f998e[_0x545f('0x21')];var _0x46138c=_0x383d23?0x0:_0x11f5c5['offset'];var _0x2ec299=_0x383d23?_0x2f998e['count']:_0x11f5c5[_0x545f('0x1e')]+_0x11f5c5[_0x545f('0x20')];var _0x3a0004;if(_0x2ec299>=_0x428200){_0x2ec299=_0x428200;_0x3a0004=0xc8;}else{_0x3a0004=0xce;}_0x43328c[_0x545f('0x1b')](_0x3a0004);return _0x43328c[_0x545f('0x22')](_0x545f('0x23'),_0x46138c+'-'+_0x2ec299+'/'+_0x428200)[_0x545f('0x1d')](_0x2f998e);}return null;};}function patchUpdates(_0x1e7c4a){return function(_0x4f9efc){try{jsonpatch[_0x545f('0x24')](_0x4f9efc,_0x1e7c4a,!![]);}catch(_0x3861b0){return BPromise[_0x545f('0x25')](_0x3861b0);}return _0x4f9efc[_0x545f('0x26')]();};}function saveUpdates(_0x242e58,_0x35d096){return function(_0x3307dd){if(_0x3307dd){return _0x3307dd[_0x545f('0x27')](_0x242e58)['then'](function(_0x32aa21){return _0x32aa21;});}return null;};}function removeEntity(_0x409e69,_0x46de05){return function(_0xf16f9c){if(_0xf16f9c){return _0xf16f9c[_0x545f('0x28')]()['then'](function(){_0x409e69[_0x545f('0x1b')](0xcc)['end']();});}};}function handleEntityNotFound(_0x460005,_0x58a940){return function(_0x2eaf2a){if(!_0x2eaf2a){_0x460005[_0x545f('0x29')](0x194);}return _0x2eaf2a;};}function handleError(_0x177512,_0x4e0c45){_0x4e0c45=_0x4e0c45||0x1f4;return function(_0x28b2fb){logger['error'](_0x28b2fb[_0x545f('0x2a')]);if(_0x28b2fb['name']){delete _0x28b2fb['name'];}_0x177512[_0x545f('0x1b')](_0x4e0c45)[_0x545f('0x2b')](_0x28b2fb);};}exports[_0x545f('0x2c')]=function(_0x1e7127,_0x3b2ead){var _0x37c69b={},_0x5d4c60={},_0x964b4e={'count':0x0,'rows':[]};var _0x5e7deb=_[_0x545f('0x2d')](db[_0x545f('0x2e')]['rawAttributes'],function(_0xd952a0){return{'name':_0xd952a0[_0x545f('0x2f')],'type':_0xd952a0['type']['key']};});_0x5d4c60['model']=_[_0x545f('0x2d')](_0x5e7deb,_0x545f('0x30'));_0x5d4c60[_0x545f('0x31')]=_[_0x545f('0x32')](_0x1e7127[_0x545f('0x31')]);_0x5d4c60[_0x545f('0x33')]=_[_0x545f('0x34')](_0x5d4c60['model'],_0x5d4c60[_0x545f('0x31')]);_0x37c69b[_0x545f('0x35')]=_[_0x545f('0x34')](_0x5d4c60[_0x545f('0x36')],qs['fields'](_0x1e7127['query']['fields']));_0x37c69b[_0x545f('0x35')]=_0x37c69b[_0x545f('0x35')][_0x545f('0x37')]?_0x37c69b['attributes']:_0x5d4c60[_0x545f('0x36')];if(!_0x1e7127['query'][_0x545f('0x38')](_0x545f('0x39'))){_0x37c69b[_0x545f('0x20')]=qs['limit'](_0x1e7127['query']['limit']);_0x37c69b[_0x545f('0x1e')]=qs[_0x545f('0x1e')](_0x1e7127['query'][_0x545f('0x1e')]);}_0x37c69b[_0x545f('0x3a')]=qs[_0x545f('0x3b')](_0x1e7127[_0x545f('0x31')][_0x545f('0x3b')]);_0x37c69b[_0x545f('0x3c')]=qs[_0x545f('0x33')](_[_0x545f('0x3d')](_0x1e7127[_0x545f('0x31')],_0x5d4c60[_0x545f('0x33')]),_0x5e7deb);if(_0x1e7127[_0x545f('0x31')]['filter']){_0x37c69b['where']=_[_0x545f('0x3e')](_0x37c69b[_0x545f('0x3c')],{'$or':_[_0x545f('0x2d')](_0x5e7deb,function(_0x3daeb1){if(_0x3daeb1['type']!==_0x545f('0x3f')){var _0xa19028={};_0xa19028[_0x3daeb1[_0x545f('0x30')]]={'$like':'%'+_0x1e7127[_0x545f('0x31')][_0x545f('0x40')]+'%'};return _0xa19028;}})});}_0x37c69b=_['merge']({},_0x37c69b,_0x1e7127[_0x545f('0x41')]);var _0x13a525={'where':_0x37c69b[_0x545f('0x3c')]};return db[_0x545f('0x2e')][_0x545f('0x21')](_0x13a525)['then'](function(_0xe72feb){_0x964b4e[_0x545f('0x21')]=_0xe72feb;if(_0x1e7127['query'][_0x545f('0x42')]){_0x37c69b['include']=[{'all':!![]}];}return db[_0x545f('0x2e')][_0x545f('0x43')](_0x37c69b);})[_0x545f('0x44')](function(_0x5ef3da){_0x964b4e[_0x545f('0x45')]=_0x5ef3da;return _0x964b4e;})[_0x545f('0x44')](respondWithFilteredResult(_0x3b2ead,_0x37c69b))[_0x545f('0x46')](handleError(_0x3b2ead,null));};exports[_0x545f('0x47')]=function(_0x38c8f9,_0xe1986d){var _0x4870c8={'raw':!![],'where':{'id':_0x38c8f9[_0x545f('0x48')]['id']}},_0x1f7950={};_0x1f7950[_0x545f('0x36')]=_[_0x545f('0x32')](db[_0x545f('0x2e')]['rawAttributes']);_0x1f7950['query']=_['keys'](_0x38c8f9[_0x545f('0x31')]);_0x1f7950['filters']=_['intersection'](_0x1f7950[_0x545f('0x36')],_0x1f7950[_0x545f('0x31')]);_0x4870c8[_0x545f('0x35')]=_[_0x545f('0x34')](_0x1f7950[_0x545f('0x36')],qs[_0x545f('0x49')](_0x38c8f9[_0x545f('0x31')][_0x545f('0x49')]));_0x4870c8[_0x545f('0x35')]=_0x4870c8[_0x545f('0x35')][_0x545f('0x37')]?_0x4870c8[_0x545f('0x35')]:_0x1f7950['model'];if(_0x38c8f9[_0x545f('0x31')][_0x545f('0x42')]){_0x4870c8[_0x545f('0x4a')]=[{'all':!![]}];}_0x4870c8=_[_0x545f('0x3e')]({},_0x4870c8,_0x38c8f9[_0x545f('0x41')]);return db[_0x545f('0x2e')]['find'](_0x4870c8)['then'](handleEntityNotFound(_0xe1986d,null))[_0x545f('0x44')](respondWithResult(_0xe1986d,null))[_0x545f('0x46')](handleError(_0xe1986d,null));};exports[_0x545f('0x4b')]=function(_0x5c2cad,_0x5b92da){return db['ChatInternalMessage']['create'](_0x5c2cad['body'],{})['then'](respondWithResult(_0x5b92da,0xc9))[_0x545f('0x46')](handleError(_0x5b92da,null));};exports['update']=function(_0x587870,_0x5e62cc){if(_0x587870['body']['id']){delete _0x587870[_0x545f('0x4c')]['id'];}return db['ChatInternalMessage'][_0x545f('0x4d')]({'where':{'id':_0x587870['params']['id']}})[_0x545f('0x44')](handleEntityNotFound(_0x5e62cc,null))[_0x545f('0x44')](saveUpdates(_0x587870[_0x545f('0x4c')],null))[_0x545f('0x44')](respondWithResult(_0x5e62cc,null))['catch'](handleError(_0x5e62cc,null));};exports['destroy']=function(_0x18afc9,_0x412079){return db[_0x545f('0x2e')]['find']({'where':{'id':_0x18afc9[_0x545f('0x48')]['id']}})[_0x545f('0x44')](handleEntityNotFound(_0x412079,null))[_0x545f('0x44')](removeEntity(_0x412079,null))[_0x545f('0x46')](handleError(_0x412079,null));};exports['describe']=function(_0x34e24b,_0x338662){return db[_0x545f('0x2e')][_0x545f('0x4e')]()[_0x545f('0x44')](respondWithResult(_0x338662,null))[_0x545f('0x46')](handleError(_0x338662,null));};function wrapUser(_0x4cfce8){return function(_0x1e026d){var _0x21bc9c=_0x4cfce8['get']({'plain':!![]});_0x21bc9c[_0x545f('0x4f')]=[];if(_0x1e026d){_0x21bc9c[_0x545f('0x50')]=_0x1e026d[_0x545f('0x51')];_0x21bc9c[_0x545f('0x52')]=_0x1e026d;}else{_0x21bc9c['lastMessageAt']=moment(0x0)[_0x545f('0x53')]('YYYY-MM-DD\x20HH:mm:ss');_0x21bc9c['lastMessage']={};}return _0x21bc9c;};}exports[_0x545f('0x54')]=function(_0x46b2b8,_0x20be58,_0x174354){var _0x10e351=[];return db[_0x545f('0x55')]['findAll']({'where':{'role':['agent',_0x545f('0x56'),_0x545f('0x57')]},'attributes':['id',_0x545f('0x58'),_0x545f('0x30'),_0x545f('0x59'),_0x545f('0x5a'),_0x545f('0x5b'),_0x545f('0x5c'),_0x545f('0x5d'),_0x545f('0x5e'),_0x545f('0x5f')],'order':qs[_0x545f('0x3b')](_0x545f('0x60')),'include':[{'model':db[_0x545f('0x61')],'as':'VoiceQueues','attributes':['id','name',_0x545f('0x62')],'through':{'attributes':[]}}]})[_0x545f('0x44')](function(_0x5c273f){if(_0x5c273f){var _0x1463a4=_0x46b2b8[_0x545f('0x57')][_0x545f('0x63')]({'plain':!![]});if(!_0x1463a4)throw new Error(_0x545f('0x64'));if(_0x1463a4[_0x545f('0x59')]==='user'){return db[_0x545f('0x65')][_0x545f('0x4d')]({'where':{'name':_0x545f('0x66'),'userProfileId':_0x1463a4[_0x545f('0x67')]},'raw':!![]})['then'](function(_0x15d962){if(_0x15d962){if(_0x15d962[_0x545f('0x68')]===0x0){return db[_0x545f('0x69')]['findAll']({'where':{'sectionId':_0x15d962['id']},'raw':!![]})[_0x545f('0x44')](function(_0x59c45){var _0xd886ae=[];if(_[_0x545f('0x6a')](_0x59c45)){_0xd886ae=_[_0x545f('0x40')](_0x5c273f,function(_0x41be66){if(_0x41be66[_0x545f('0x59')]!==_0x545f('0x6b')){return _0x41be66;}});return _0xd886ae;}else{for(var _0x384aa6=0x0;_0x384aa6<_0x5c273f[_0x545f('0x37')];_0x384aa6++){var _0x2b5d19=_0x5c273f[_0x384aa6];if(_0x2b5d19['role']===_0x545f('0x6b')){var _0x45994d=_[_0x545f('0x4d')](_0x59c45,function(_0x5dd167){return _0x5dd167[_0x545f('0x6c')]===_0x2b5d19['id'];});if(_0x45994d)_0xd886ae[_0x545f('0x6d')](_0x2b5d19);}else{_0xd886ae[_0x545f('0x6d')](_0x2b5d19);}}return _0xd886ae;}});}else{return _0x5c273f;}}else{var _0xa4ad3c=_[_0x545f('0x40')](_0x5c273f,function(_0x3cd6ba){if(_0x3cd6ba[_0x545f('0x59')]!==_0x545f('0x6b')){return _0x3cd6ba;}});return _0xa4ad3c;}});}else{return _0x5c273f;}}})[_0x545f('0x44')](function(_0x68e3ab){var _0x14eaca=[];if(_0x68e3ab){_0x10e351=_0x68e3ab;for(var _0x518a88=0x0;_0x518a88<_0x68e3ab[_0x545f('0x37')];_0x518a88+=0x1){_0x10e351[_0x518a88]['messages']=[];_0x14eaca['push'](db[_0x545f('0x2e')][_0x545f('0x4d')]({'where':{'FromId':[_0x46b2b8[_0x545f('0x57')]['id'],_0x68e3ab[_0x518a88]['id']],'ToId':[_0x46b2b8[_0x545f('0x57')]['id'],_0x68e3ab[_0x518a88]['id']],'ChatGroupId':null},'attributes':['id',_0x545f('0x51'),_0x545f('0x6e'),_0x545f('0x6f'),'read',_0x545f('0x4c')],'order':qs[_0x545f('0x3b')](_0x545f('0x70')),'limit':0x1,'offset':0x0,'raw':!![]})[_0x545f('0x44')](wrapUser(_0x68e3ab[_0x518a88])));}return BPromise[_0x545f('0x71')](_0x14eaca);}return[];})[_0x545f('0x44')](function(_0x4f52e4){return{'rows':_0x4f52e4,'count':_0x4f52e4[_0x545f('0x37')]};})[_0x545f('0x44')](respondWithResult(_0x20be58,null))[_0x545f('0x46')](handleError(_0x20be58,null));};
\ No newline at end of file
diff --git a/server/api/chatInternalMessage/chatInternalMessage.events.js b/server/api/chatInternalMessage/chatInternalMessage.events.js
index f60abe9..50541a3 100644
--- a/server/api/chatInternalMessage/chatInternalMessage.events.js
+++ b/server/api/chatInternalMessage/chatInternalMessage.events.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x1e87=['remove','emit','hasOwnProperty','hook','../../mysqldb','save','update'];(function(_0x559ffc,_0x611554){var _0x5ead97=function(_0x15f9c2){while(--_0x15f9c2){_0x559ffc['push'](_0x559ffc['shift']());}};_0x5ead97(++_0x611554);}(_0x1e87,0x162));var _0x71e8=function(_0x1ee7e4,_0x4ba132){_0x1ee7e4=_0x1ee7e4-0x0;var _0x4a99aa=_0x1e87[_0x1ee7e4];return _0x4a99aa;};'use strict';var EventEmitter=require('events');var ChatInternalMessage=require(_0x71e8('0x0'))['db']['ChatInternalMessage'];var ChatInternalMessageEvents=new EventEmitter();ChatInternalMessageEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x71e8('0x1'),'afterUpdate':_0x71e8('0x2'),'afterDestroy':_0x71e8('0x3')};function emitEvent(_0x41b30a){return function(_0x3c28a9,_0x9c2823,_0x2ddef4){ChatInternalMessageEvents[_0x71e8('0x4')](_0x41b30a+':'+_0x3c28a9['id'],_0x3c28a9);ChatInternalMessageEvents[_0x71e8('0x4')](_0x41b30a,_0x3c28a9);_0x2ddef4(null);};}for(var e in events){if(events[_0x71e8('0x5')](e)){var event=events[e];ChatInternalMessage[_0x71e8('0x6')](e,emitEvent(event));}}module['exports']=ChatInternalMessageEvents;
\ No newline at end of file
+var _0x04e7=['ChatInternalMessage','setMaxListeners','update','remove','emit','hasOwnProperty','hook','exports','events','../../mysqldb'];(function(_0x58042b,_0x32ee71){var _0x4e706d=function(_0x2aff45){while(--_0x2aff45){_0x58042b['push'](_0x58042b['shift']());}};_0x4e706d(++_0x32ee71);}(_0x04e7,0x1ca));var _0x704e=function(_0x59eefb,_0x2151ce){_0x59eefb=_0x59eefb-0x0;var _0x1a49e8=_0x04e7[_0x59eefb];return _0x1a49e8;};'use strict';var EventEmitter=require(_0x704e('0x0'));var ChatInternalMessage=require(_0x704e('0x1'))['db'][_0x704e('0x2')];var ChatInternalMessageEvents=new EventEmitter();ChatInternalMessageEvents[_0x704e('0x3')](0x0);var events={'afterCreate':'save','afterUpdate':_0x704e('0x4'),'afterDestroy':_0x704e('0x5')};function emitEvent(_0xed672f){return function(_0x38afe6,_0x3bd53f,_0x5aeffc){ChatInternalMessageEvents[_0x704e('0x6')](_0xed672f+':'+_0x38afe6['id'],_0x38afe6);ChatInternalMessageEvents['emit'](_0xed672f,_0x38afe6);_0x5aeffc(null);};}for(var e in events){if(events[_0x704e('0x7')](e)){var event=events[e];ChatInternalMessage[_0x704e('0x8')](e,emitEvent(event));}}module[_0x704e('0x9')]=ChatInternalMessageEvents;
\ No newline at end of file
diff --git a/server/api/chatInternalMessage/chatInternalMessage.model.js b/server/api/chatInternalMessage/chatInternalMessage.model.js
index 1663c39..8b1cfb3 100644
--- a/server/api/chatInternalMessage/chatInternalMessage.model.js
+++ b/server/api/chatInternalMessage/chatInternalMessage.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xefaa=['ChatInternalMessage','chat_internal_messages','utf8mb4','lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','exports'];(function(_0x16ca6a,_0x381c72){var _0x24eec1=function(_0x2ce0cc){while(--_0x2ce0cc){_0x16ca6a['push'](_0x16ca6a['shift']());}};_0x24eec1(++_0x381c72);}(_0xefaa,0x1cb));var _0xaefa=function(_0x37bd26,_0x5ad346){_0x37bd26=_0x37bd26-0x0;var _0xe83dc4=_0xefaa[_0x37bd26];return _0xe83dc4;};'use strict';var _=require(_0xaefa('0x0'));var util=require(_0xaefa('0x1'));var logger=require('../../config/logger')(_0xaefa('0x2'));var moment=require(_0xaefa('0x3'));var BPromise=require(_0xaefa('0x4'));var rp=require(_0xaefa('0x5'));var fs=require('fs');var path=require(_0xaefa('0x6'));var rimraf=require('rimraf');var config=require(_0xaefa('0x7'));var attributes=require('./chatInternalMessage.attributes');module[_0xaefa('0x8')]=function(_0x7951c1,_0x13c2b4){return _0x7951c1['define'](_0xaefa('0x9'),attributes,{'tableName':_0xaefa('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xaefa('0xb'),'collate':'utf8mb4_unicode_ci'});};
\ No newline at end of file
+var _0xd051=['request-promise','path','rimraf','../../config/environment','exports','ChatInternalMessage','chat_internal_messages','utf8mb4','util','../../config/logger','bluebird'];(function(_0x91bc19,_0x3222d2){var _0x2f00e5=function(_0x3d0af3){while(--_0x3d0af3){_0x91bc19['push'](_0x91bc19['shift']());}};_0x2f00e5(++_0x3222d2);}(_0xd051,0x189));var _0x1d05=function(_0x2c66f6,_0x2dae26){_0x2c66f6=_0x2c66f6-0x0;var _0x1e5894=_0xd051[_0x2c66f6];return _0x1e5894;};'use strict';var _=require('lodash');var util=require(_0x1d05('0x0'));var logger=require(_0x1d05('0x1'))('api');var moment=require('moment');var BPromise=require(_0x1d05('0x2'));var rp=require(_0x1d05('0x3'));var fs=require('fs');var path=require(_0x1d05('0x4'));var rimraf=require(_0x1d05('0x5'));var config=require(_0x1d05('0x6'));var attributes=require('./chatInternalMessage.attributes');module[_0x1d05('0x7')]=function(_0x5f38b5,_0x153b9d){return _0x5f38b5['define'](_0x1d05('0x8'),attributes,{'tableName':_0x1d05('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x1d05('0xa'),'collate':'utf8mb4_unicode_ci'});};
\ No newline at end of file
diff --git a/server/api/chatInternalMessage/chatInternalMessage.rpc.js b/server/api/chatInternalMessage/chatInternalMessage.rpc.js
index c730cca..6a9d867 100644
--- a/server/api/chatInternalMessage/chatInternalMessage.rpc.js
+++ b/server/api/chatInternalMessage/chatInternalMessage.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xef7d=['message','result','catch','util','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','localhost','./chatInternalMessage.socket','register','request','info','ChatInternalMessage,\x20%s,\x20%s','request\x20sent','debug','ChatInternalMessage,\x20%s,\x20%s,\x20%s','stringify','error','code'];(function(_0x1e20aa,_0x54acb8){var _0x56392a=function(_0x15eb02){while(--_0x15eb02){_0x1e20aa['push'](_0x1e20aa['shift']());}};_0x56392a(++_0x54acb8);}(_0xef7d,0x1b3));var _0xdef7=function(_0x5204f9,_0x3f782c){_0x5204f9=_0x5204f9-0x0;var _0x4677c5=_0xef7d[_0x5204f9];return _0x4677c5;};'use strict';var _=require('lodash');var util=require(_0xdef7('0x0'));var moment=require('moment');var BPromise=require(_0xdef7('0x1'));var rs=require(_0xdef7('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xdef7('0x3'))['db'];var utils=require(_0xdef7('0x4'));var logger=require(_0xdef7('0x5'))(_0xdef7('0x6'));var config=require(_0xdef7('0x7'));var jayson=require(_0xdef7('0x8'));var client=jayson[_0xdef7('0x9')][_0xdef7('0xa')]({'port':0x232a});config[_0xdef7('0xb')]=_['defaults'](config[_0xdef7('0xb')],{'host':_0xdef7('0xc'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require(_0xdef7('0xd'))[_0xdef7('0xe')](socket);function respondWithRpcPromise(_0xdd07c7,_0x347cb1,_0x1f704d){return new BPromise(function(_0x3ccd93,_0x2c893f){return client[_0xdef7('0xf')](_0xdd07c7,_0x1f704d)['then'](function(_0x53a13b){logger[_0xdef7('0x10')](_0xdef7('0x11'),_0x347cb1,_0xdef7('0x12'));logger[_0xdef7('0x13')](_0xdef7('0x14'),_0x347cb1,_0xdef7('0x12'),JSON[_0xdef7('0x15')](_0x53a13b));if(_0x53a13b[_0xdef7('0x16')]){if(_0x53a13b['error'][_0xdef7('0x17')]===0x1f4){logger[_0xdef7('0x16')](_0xdef7('0x11'),_0x347cb1,_0x53a13b[_0xdef7('0x16')][_0xdef7('0x18')]);return _0x2c893f(_0x53a13b[_0xdef7('0x16')][_0xdef7('0x18')]);}logger[_0xdef7('0x16')](_0xdef7('0x11'),_0x347cb1,_0x53a13b[_0xdef7('0x16')][_0xdef7('0x18')]);return _0x3ccd93(_0x53a13b['error'][_0xdef7('0x18')]);}else{logger[_0xdef7('0x10')](_0xdef7('0x11'),_0x347cb1,_0xdef7('0x12'));_0x3ccd93(_0x53a13b[_0xdef7('0x19')]['message']);}})[_0xdef7('0x1a')](function(_0x5d8b6d){logger[_0xdef7('0x16')](_0xdef7('0x11'),_0x347cb1,_0x5d8b6d);_0x2c893f(_0x5d8b6d);});});}
\ No newline at end of file
+var _0xf961=['error','code','message','result','lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','http','defaults','redis','localhost','socket.io-emitter','./chatInternalMessage.socket','request','then','info','ChatInternalMessage,\x20%s,\x20%s','request\x20sent','ChatInternalMessage,\x20%s,\x20%s,\x20%s','stringify'];(function(_0x279841,_0x4e9e3b){var _0x4d3a9f=function(_0x261c2d){while(--_0x261c2d){_0x279841['push'](_0x279841['shift']());}};_0x4d3a9f(++_0x4e9e3b);}(_0xf961,0x1cf));var _0x1f96=function(_0xefd519,_0xc62635){_0xefd519=_0xefd519-0x0;var _0x4bb882=_0xf961[_0xefd519];return _0x4bb882;};'use strict';var _=require(_0x1f96('0x0'));var util=require(_0x1f96('0x1'));var moment=require(_0x1f96('0x2'));var BPromise=require(_0x1f96('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x1f96('0x4'));var db=require(_0x1f96('0x5'))['db'];var utils=require(_0x1f96('0x6'));var logger=require('../../config/logger')(_0x1f96('0x7'));var config=require(_0x1f96('0x8'));var jayson=require(_0x1f96('0x9'));var client=jayson['client'][_0x1f96('0xa')]({'port':0x232a});config['redis']=_[_0x1f96('0xb')](config[_0x1f96('0xc')],{'host':_0x1f96('0xd'),'port':0x18eb});var socket=require(_0x1f96('0xe'))(new Redis(config[_0x1f96('0xc')]));require(_0x1f96('0xf'))['register'](socket);function respondWithRpcPromise(_0x523b60,_0x40f9f1,_0x54ae99){return new BPromise(function(_0x32b621,_0x2e1fdb){return client[_0x1f96('0x10')](_0x523b60,_0x54ae99)[_0x1f96('0x11')](function(_0x577c76){logger[_0x1f96('0x12')](_0x1f96('0x13'),_0x40f9f1,_0x1f96('0x14'));logger['debug'](_0x1f96('0x15'),_0x40f9f1,_0x1f96('0x14'),JSON[_0x1f96('0x16')](_0x577c76));if(_0x577c76[_0x1f96('0x17')]){if(_0x577c76[_0x1f96('0x17')][_0x1f96('0x18')]===0x1f4){logger['error'](_0x1f96('0x13'),_0x40f9f1,_0x577c76[_0x1f96('0x17')][_0x1f96('0x19')]);return _0x2e1fdb(_0x577c76[_0x1f96('0x17')]['message']);}logger[_0x1f96('0x17')](_0x1f96('0x13'),_0x40f9f1,_0x577c76[_0x1f96('0x17')][_0x1f96('0x19')]);return _0x32b621(_0x577c76[_0x1f96('0x17')][_0x1f96('0x19')]);}else{logger[_0x1f96('0x12')](_0x1f96('0x13'),_0x40f9f1,'request\x20sent');_0x32b621(_0x577c76[_0x1f96('0x1a')][_0x1f96('0x19')]);}})['catch'](function(_0x1569ca){logger[_0x1f96('0x17')](_0x1f96('0x13'),_0x40f9f1,_0x1569ca);_0x2e1fdb(_0x1569ca);});});}
\ No newline at end of file
diff --git a/server/api/chatInternalMessage/chatInternalMessage.socket.js b/server/api/chatInternalMessage/chatInternalMessage.socket.js
index 86e82fd..fe8278b 100644
--- a/server/api/chatInternalMessage/chatInternalMessage.socket.js
+++ b/server/api/chatInternalMessage/chatInternalMessage.socket.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xb715=['./chatInternalMessage.events','save','update','removeListener','register','chatInternalMessage:'];(function(_0x15e2e9,_0x20f4de){var _0x3394bb=function(_0x2bd236){while(--_0x2bd236){_0x15e2e9['push'](_0x15e2e9['shift']());}};_0x3394bb(++_0x20f4de);}(_0xb715,0xf6));var _0x5b71=function(_0xe2afd5,_0x48980a){_0xe2afd5=_0xe2afd5-0x0;var _0x72b65d=_0xb715[_0xe2afd5];return _0x72b65d;};'use strict';var ChatInternalMessageEvents=require(_0x5b71('0x0'));var events=[_0x5b71('0x1'),'remove',_0x5b71('0x2')];function createListener(_0x513410,_0x32c70f){return function(_0x2aba96){_0x32c70f['emit'](_0x513410,_0x2aba96);};}function removeListener(_0x41f719,_0x249349){return function(){ChatInternalMessageEvents[_0x5b71('0x3')](_0x41f719,_0x249349);};}exports[_0x5b71('0x4')]=function(_0xb434b7){for(var _0x59ab8e=0x0,_0x3a0d30=events['length'];_0x59ab8e<_0x3a0d30;_0x59ab8e++){var _0x54a830=events[_0x59ab8e];var _0x10578a=createListener(_0x5b71('0x5')+_0x54a830,_0xb434b7);ChatInternalMessageEvents['on'](_0x54a830,_0x10578a);}};
\ No newline at end of file
+var _0x48c2=['save','remove','emit','removeListener','register','chatInternalMessage:','./chatInternalMessage.events'];(function(_0x84fcb4,_0x383344){var _0x542c14=function(_0x2a3d96){while(--_0x2a3d96){_0x84fcb4['push'](_0x84fcb4['shift']());}};_0x542c14(++_0x383344);}(_0x48c2,0x84));var _0x248c=function(_0x377a6e,_0x59b99d){_0x377a6e=_0x377a6e-0x0;var _0x37f751=_0x48c2[_0x377a6e];return _0x37f751;};'use strict';var ChatInternalMessageEvents=require(_0x248c('0x0'));var events=[_0x248c('0x1'),_0x248c('0x2'),'update'];function createListener(_0x3ab66d,_0x1bb788){return function(_0x3736b3){_0x1bb788[_0x248c('0x3')](_0x3ab66d,_0x3736b3);};}function removeListener(_0x4cb103,_0x20bb38){return function(){ChatInternalMessageEvents[_0x248c('0x4')](_0x4cb103,_0x20bb38);};}exports[_0x248c('0x5')]=function(_0x50ecd2){for(var _0x4645a7=0x0,_0x52eb14=events['length'];_0x4645a7<_0x52eb14;_0x4645a7++){var _0x133c63=events[_0x4645a7];var _0x42198a=createListener(_0x248c('0x6')+_0x133c63,_0x50ecd2);ChatInternalMessageEvents['on'](_0x133c63,_0x42198a);}};
\ No newline at end of file
diff --git a/server/api/chatInternalMessage/index.js b/server/api/chatInternalMessage/index.js
index e1afd06..146b506 100644
--- a/server/api/chatInternalMessage/index.js
+++ b/server/api/chatInternalMessage/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x728d=['/describe','isAuthenticated','describe','/users','getUsers','/:id','show','post','create','put','update','delete','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatInternalMessage.controller','get','index'];(function(_0x58afd5,_0x534a48){var _0x3e503b=function(_0x27ba44){while(--_0x27ba44){_0x58afd5['push'](_0x58afd5['shift']());}};_0x3e503b(++_0x534a48);}(_0x728d,0x9d));var _0xd728=function(_0x211f66,_0x6d409f){_0x211f66=_0x211f66-0x0;var _0x324240=_0x728d[_0x211f66];return _0x324240;};'use strict';var multer=require('multer');var util=require(_0xd728('0x0'));var path=require(_0xd728('0x1'));var timeout=require('connect-timeout');var express=require(_0xd728('0x2'));var router=express[_0xd728('0x3')]();var fs_extra=require(_0xd728('0x4'));var auth=require(_0xd728('0x5'));var interaction=require(_0xd728('0x6'));var config=require(_0xd728('0x7'));var controller=require(_0xd728('0x8'));router[_0xd728('0x9')]('/',auth['isAuthenticated'](),controller[_0xd728('0xa')]);router[_0xd728('0x9')](_0xd728('0xb'),auth[_0xd728('0xc')](),controller[_0xd728('0xd')]);router[_0xd728('0x9')](_0xd728('0xe'),auth[_0xd728('0xc')](),controller[_0xd728('0xf')]);router[_0xd728('0x9')](_0xd728('0x10'),auth['isAuthenticated'](),controller[_0xd728('0x11')]);router[_0xd728('0x12')]('/',auth[_0xd728('0xc')](),controller[_0xd728('0x13')]);router[_0xd728('0x14')]('/:id',controller[_0xd728('0x15')]);router[_0xd728('0x16')]('/:id',auth[_0xd728('0xc')](),controller['destroy']);module[_0xd728('0x17')]=router;
\ No newline at end of file
+var _0x32e5=['index','get','getUsers','/:id','show','post','delete','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated'];(function(_0x23e36d,_0x502fe1){var _0x639868=function(_0x1300bf){while(--_0x1300bf){_0x23e36d['push'](_0x23e36d['shift']());}};_0x639868(++_0x502fe1);}(_0x32e5,0x15c));var _0x532e=function(_0x2f5ac5,_0x1ee939){_0x2f5ac5=_0x2f5ac5-0x0;var _0x37c9a8=_0x32e5[_0x2f5ac5];return _0x37c9a8;};'use strict';var multer=require(_0x532e('0x0'));var util=require('util');var path=require(_0x532e('0x1'));var timeout=require(_0x532e('0x2'));var express=require(_0x532e('0x3'));var router=express[_0x532e('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x532e('0x5'));var interaction=require(_0x532e('0x6'));var config=require(_0x532e('0x7'));var controller=require('./chatInternalMessage.controller');router['get']('/',auth[_0x532e('0x8')](),controller[_0x532e('0x9')]);router[_0x532e('0xa')]('/describe',auth[_0x532e('0x8')](),controller['describe']);router[_0x532e('0xa')]('/users',auth['isAuthenticated'](),controller[_0x532e('0xb')]);router['get'](_0x532e('0xc'),auth[_0x532e('0x8')](),controller[_0x532e('0xd')]);router[_0x532e('0xe')]('/',auth[_0x532e('0x8')](),controller['create']);router['put'](_0x532e('0xc'),controller['update']);router[_0x532e('0xf')]('/:id',auth[_0x532e('0x8')](),controller['destroy']);module[_0x532e('0x10')]=router;
\ No newline at end of file
diff --git a/server/api/chatMessage/chatMessage.attributes.js b/server/api/chatMessage/chatMessage.attributes.js
index c5a3330..78130ed 100644
--- a/server/api/chatMessage/chatMessage.attributes.js
+++ b/server/api/chatMessage/chatMessage.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x578c=['sequelize','exports','TEXT','BOOLEAN','ENUM','out','DATE','STRING'];(function(_0x9be28f,_0x231334){var _0xa9f52d=function(_0x239dad){while(--_0x239dad){_0x9be28f['push'](_0x9be28f['shift']());}};_0xa9f52d(++_0x231334);}(_0x578c,0x158));var _0xc578=function(_0x578f2b,_0x4001fa){_0x578f2b=_0x578f2b-0x0;var _0x4ff03c=_0x578c[_0x578f2b];return _0x4ff03c;};'use strict';var Sequelize=require(_0xc578('0x0'));module[_0xc578('0x1')]={'body':{'type':Sequelize[_0xc578('0x2')]('medium'),'allowNull':![]},'read':{'type':Sequelize[_0xc578('0x3')],'defaultValue':![]},'secret':{'type':Sequelize[_0xc578('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0xc578('0x4')]('in','out'),'defaultValue':_0xc578('0x5'),'allowNull':![]},'readAt':{'type':Sequelize[_0xc578('0x6')]},'providerName':{'type':Sequelize[_0xc578('0x7')]},'providerResponse':{'type':Sequelize[_0xc578('0x2')]}};
\ No newline at end of file
+var _0x757a=['exports','TEXT','ENUM','out','DATE','STRING'];(function(_0x222ad8,_0x41ef1a){var _0x4bbdde=function(_0x2d6ac2){while(--_0x2d6ac2){_0x222ad8['push'](_0x222ad8['shift']());}};_0x4bbdde(++_0x41ef1a);}(_0x757a,0xde));var _0xa757=function(_0x1c7b69,_0x176d9a){_0x1c7b69=_0x1c7b69-0x0;var _0x25beea=_0x757a[_0x1c7b69];return _0x25beea;};'use strict';var Sequelize=require('sequelize');module[_0xa757('0x0')]={'body':{'type':Sequelize[_0xa757('0x1')]('medium'),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0xa757('0x2')]('in',_0xa757('0x3')),'defaultValue':_0xa757('0x3'),'allowNull':![]},'readAt':{'type':Sequelize[_0xa757('0x4')]},'providerName':{'type':Sequelize[_0xa757('0x5')]},'providerResponse':{'type':Sequelize[_0xa757('0x1')]}};
\ No newline at end of file
diff --git a/server/api/chatMessage/chatMessage.controller.js b/server/api/chatMessage/chatMessage.controller.js
index 54d1a38..6228454 100644
--- a/server/api/chatMessage/chatMessage.controller.js
+++ b/server/api/chatMessage/chatMessage.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xa825=['http','request','then','info','ChatMessage,\x20%s,\x20%s','request\x20sent','debug','ChatMessage,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','sendStatus','end','offset','undefined','limit','count','status','set','Content-Range','json','apply','save','update','destroy','stack','name','index','map','ChatMessage','rawAttributes','fieldName','type','key','keys','query','filters','intersection','attributes','model','fields','length','hasOwnProperty','nolimit','order','sort','pick','filter','where','merge','includeAll','findAll','rows','show','include','options','find','create','body','params','describe','chat-interactions','accept','read','readAt','format','YYYY-MM-DD\x20HH:mm:ss','UserId','user','agent','get','isNil','read1stAt','interaction','[CHATMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','null','acceptMessage','SELECT\x20*\x20FROM\x20cm_contacts\x20WHERE\x20id\x20=\x20','sequelize','Sequelize','QueryTypes','contact','User','email','internal','manual','interface','SIP/%s','channel','event','EventManager','acceptmessage','parse','formData','chat','ChatInteractionId','[CHATMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','role','RejectMessage','rejectMessage','SELECT','fullname','motionChannel','reject','rejectmessage','eml-format','rimraf','zip-dir','request-promise','moment','mustache','path','sox','ejs','fs-extra','squel','crypto','jsforce','desk.js','papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','socket.io-emitter','./chatMessage.socket','register','jayson/promise','client'];(function(_0x413a55,_0x2ced82){var _0x461d8a=function(_0x2ffcba){while(--_0x2ffcba){_0x413a55['push'](_0x413a55['shift']());}};_0x461d8a(++_0x2ced82);}(_0xa825,0x180));var _0x5a82=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa825[_0x3dd15e];return _0x231fd0;};'use strict';var emlformat=require(_0x5a82('0x0'));var rimraf=require(_0x5a82('0x1'));var zipdir=require(_0x5a82('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x5a82('0x3'));var moment=require(_0x5a82('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x5a82('0x5'));var util=require('util');var path=require(_0x5a82('0x6'));var sox=require(_0x5a82('0x7'));var csv=require('to-csv');var ejs=require(_0x5a82('0x8'));var fs=require('fs');var fs_extra=require(_0x5a82('0x9'));var _=require('lodash');var squel=require(_0x5a82('0xa'));var crypto=require(_0x5a82('0xb'));var jsforce=require(_0x5a82('0xc'));var deskjs=require(_0x5a82('0xd'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x5a82('0xe'));var Redis=require('ioredis');var authService=require(_0x5a82('0xf'));var qs=require('../../components/parsers/qs');var as=require(_0x5a82('0x10'));var hardwareService=require(_0x5a82('0x11'));var logger=require(_0x5a82('0x12'))(_0x5a82('0x13'));var utils=require(_0x5a82('0x14'));var config=require(_0x5a82('0x15'));var licenseUtil=require('../../config/license/util');var db=require(_0x5a82('0x16'))['db'];config[_0x5a82('0x17')]=_[_0x5a82('0x18')](config[_0x5a82('0x17')],{'host':'localhost','port':0x18eb});var socket=require(_0x5a82('0x19'))(new Redis(config[_0x5a82('0x17')]));require(_0x5a82('0x1a'))[_0x5a82('0x1b')](socket);var jayson=require(_0x5a82('0x1c'));var client=jayson[_0x5a82('0x1d')]['http']({'port':0x232c});var client9002=jayson[_0x5a82('0x1d')][_0x5a82('0x1e')]({'port':0x232a});function respondWithRpcPromise(_0x16ec4c,_0x23af78,_0x20bd45,_0xfb7ddc){return new BPromise(function(_0x32569a,_0x2fc431){var _0x200731=_0xfb7ddc||client;return _0x200731[_0x5a82('0x1f')](_0x16ec4c,_0x20bd45)[_0x5a82('0x20')](function(_0x16adc0){logger[_0x5a82('0x21')](_0x5a82('0x22'),_0x23af78,_0x5a82('0x23'));logger[_0x5a82('0x24')](_0x5a82('0x25'),_0x23af78,_0x5a82('0x23'),JSON[_0x5a82('0x26')](_0x16adc0));if(_0x16adc0[_0x5a82('0x27')]){if(_0x16adc0[_0x5a82('0x27')][_0x5a82('0x28')]===0x1f4){logger['error'](_0x5a82('0x22'),_0x23af78,_0x16adc0['error'][_0x5a82('0x29')]);return _0x2fc431(_0x16adc0[_0x5a82('0x27')][_0x5a82('0x29')]);}logger['error']('ChatMessage,\x20%s,\x20%s',_0x23af78,_0x16adc0[_0x5a82('0x27')][_0x5a82('0x29')]);return _0x32569a(_0x16adc0['error']['message']);}else{logger[_0x5a82('0x21')](_0x5a82('0x22'),_0x23af78,'request\x20sent');_0x32569a(_0x16adc0[_0x5a82('0x2a')][_0x5a82('0x29')]);}})[_0x5a82('0x2b')](function(_0x7762ed){logger[_0x5a82('0x27')]('ChatMessage,\x20%s,\x20%s',_0x23af78,_0x7762ed);_0x2fc431(_0x7762ed);});});}function respondWithStatusCode(_0x2e5887,_0x5896c0){_0x5896c0=_0x5896c0||0xcc;return function(_0x15e9a4){if(_0x15e9a4){return _0x2e5887[_0x5a82('0x2c')](_0x5896c0);}return _0x2e5887['status'](_0x5896c0)[_0x5a82('0x2d')]();};}function respondWithResult(_0xce0e5e,_0x307a20){_0x307a20=_0x307a20||0xc8;return function(_0x5db367){if(_0x5db367){return _0xce0e5e['status'](_0x307a20)['json'](_0x5db367);}};}function respondWithFilteredResult(_0x28ce96,_0x4eb1e9){return function(_0x2b00b3){if(_0x2b00b3){var _0x1bbdeb=typeof _0x4eb1e9[_0x5a82('0x2e')]===_0x5a82('0x2f')&&typeof _0x4eb1e9[_0x5a82('0x30')]===_0x5a82('0x2f');var _0x307356=_0x2b00b3[_0x5a82('0x31')];var _0x39e20d=_0x1bbdeb?0x0:_0x4eb1e9[_0x5a82('0x2e')];var _0xf70a84=_0x1bbdeb?_0x2b00b3['count']:_0x4eb1e9['offset']+_0x4eb1e9[_0x5a82('0x30')];var _0x44899d;if(_0xf70a84>=_0x307356){_0xf70a84=_0x307356;_0x44899d=0xc8;}else{_0x44899d=0xce;}_0x28ce96[_0x5a82('0x32')](_0x44899d);return _0x28ce96[_0x5a82('0x33')](_0x5a82('0x34'),_0x39e20d+'-'+_0xf70a84+'/'+_0x307356)[_0x5a82('0x35')](_0x2b00b3);}return null;};}function patchUpdates(_0x4f2b79){return function(_0x1188a2){try{jsonpatch[_0x5a82('0x36')](_0x1188a2,_0x4f2b79,!![]);}catch(_0x1e38ac){return BPromise['reject'](_0x1e38ac);}return _0x1188a2[_0x5a82('0x37')]();};}function saveUpdates(_0x40863a,_0x22ae4d){return function(_0x2fd7ed){if(_0x2fd7ed){return _0x2fd7ed[_0x5a82('0x38')](_0x40863a)[_0x5a82('0x20')](function(_0x40533d){return _0x40533d;});}return null;};}function removeEntity(_0x5ae5d5,_0x5c0c70){return function(_0xa99413){if(_0xa99413){return _0xa99413[_0x5a82('0x39')]()[_0x5a82('0x20')](function(){_0x5ae5d5[_0x5a82('0x32')](0xcc)[_0x5a82('0x2d')]();});}};}function handleEntityNotFound(_0x2c6d0e,_0x5a258d){return function(_0x51e94e){if(!_0x51e94e){_0x2c6d0e[_0x5a82('0x2c')](0x194);}return _0x51e94e;};}function handleError(_0x55db36,_0x197b25){_0x197b25=_0x197b25||0x1f4;return function(_0x17ba57){logger['error'](_0x17ba57[_0x5a82('0x3a')]);if(_0x17ba57[_0x5a82('0x3b')]){delete _0x17ba57[_0x5a82('0x3b')];}_0x55db36['status'](_0x197b25)['send'](_0x17ba57);};}exports[_0x5a82('0x3c')]=function(_0x1bad5b,_0xf1ea08){var _0x1fbaa4={},_0xdeaa77={},_0x3221bf={'count':0x0,'rows':[]};var _0x35ec03=_[_0x5a82('0x3d')](db[_0x5a82('0x3e')][_0x5a82('0x3f')],function(_0x82395){return{'name':_0x82395[_0x5a82('0x40')],'type':_0x82395[_0x5a82('0x41')][_0x5a82('0x42')]};});_0xdeaa77['model']=_[_0x5a82('0x3d')](_0x35ec03,_0x5a82('0x3b'));_0xdeaa77['query']=_[_0x5a82('0x43')](_0x1bad5b[_0x5a82('0x44')]);_0xdeaa77[_0x5a82('0x45')]=_[_0x5a82('0x46')](_0xdeaa77['model'],_0xdeaa77[_0x5a82('0x44')]);_0x1fbaa4[_0x5a82('0x47')]=_[_0x5a82('0x46')](_0xdeaa77[_0x5a82('0x48')],qs['fields'](_0x1bad5b[_0x5a82('0x44')][_0x5a82('0x49')]));_0x1fbaa4[_0x5a82('0x47')]=_0x1fbaa4[_0x5a82('0x47')][_0x5a82('0x4a')]?_0x1fbaa4['attributes']:_0xdeaa77[_0x5a82('0x48')];if(!_0x1bad5b[_0x5a82('0x44')][_0x5a82('0x4b')](_0x5a82('0x4c'))){_0x1fbaa4[_0x5a82('0x30')]=qs['limit'](_0x1bad5b[_0x5a82('0x44')][_0x5a82('0x30')]);_0x1fbaa4[_0x5a82('0x2e')]=qs[_0x5a82('0x2e')](_0x1bad5b[_0x5a82('0x44')][_0x5a82('0x2e')]);}_0x1fbaa4[_0x5a82('0x4d')]=qs[_0x5a82('0x4e')](_0x1bad5b[_0x5a82('0x44')][_0x5a82('0x4e')]);_0x1fbaa4['where']=qs[_0x5a82('0x45')](_[_0x5a82('0x4f')](_0x1bad5b['query'],_0xdeaa77['filters']),_0x35ec03);if(_0x1bad5b['query'][_0x5a82('0x50')]){_0x1fbaa4[_0x5a82('0x51')]=_[_0x5a82('0x52')](_0x1fbaa4[_0x5a82('0x51')],{'$or':_['map'](_0x35ec03,function(_0x1022d2){if(_0x1022d2[_0x5a82('0x41')]!=='VIRTUAL'){var _0x1e3bda={};_0x1e3bda[_0x1022d2['name']]={'$like':'%'+_0x1bad5b[_0x5a82('0x44')][_0x5a82('0x50')]+'%'};return _0x1e3bda;}})});}_0x1fbaa4=_[_0x5a82('0x52')]({},_0x1fbaa4,_0x1bad5b['options']);var _0x4efe5c={'where':_0x1fbaa4[_0x5a82('0x51')]};return db['ChatMessage'][_0x5a82('0x31')](_0x4efe5c)[_0x5a82('0x20')](function(_0xc16602){_0x3221bf['count']=_0xc16602;if(_0x1bad5b[_0x5a82('0x44')][_0x5a82('0x53')]){_0x1fbaa4['include']=[{'all':!![]}];}return db[_0x5a82('0x3e')][_0x5a82('0x54')](_0x1fbaa4);})['then'](function(_0xaefc2a){_0x3221bf[_0x5a82('0x55')]=_0xaefc2a;return _0x3221bf;})[_0x5a82('0x20')](respondWithFilteredResult(_0xf1ea08,_0x1fbaa4))[_0x5a82('0x2b')](handleError(_0xf1ea08,null));};exports[_0x5a82('0x56')]=function(_0x308562,_0x1e9f14){var _0x49af0d={'raw':!![],'where':{'id':_0x308562['params']['id']}},_0x261125={};_0x261125['model']=_['keys'](db['ChatMessage'][_0x5a82('0x3f')]);_0x261125[_0x5a82('0x44')]=_[_0x5a82('0x43')](_0x308562[_0x5a82('0x44')]);_0x261125[_0x5a82('0x45')]=_[_0x5a82('0x46')](_0x261125[_0x5a82('0x48')],_0x261125[_0x5a82('0x44')]);_0x49af0d[_0x5a82('0x47')]=_['intersection'](_0x261125[_0x5a82('0x48')],qs['fields'](_0x308562[_0x5a82('0x44')][_0x5a82('0x49')]));_0x49af0d['attributes']=_0x49af0d[_0x5a82('0x47')]['length']?_0x49af0d[_0x5a82('0x47')]:_0x261125['model'];if(_0x308562[_0x5a82('0x44')][_0x5a82('0x53')]){_0x49af0d[_0x5a82('0x57')]=[{'all':!![]}];}_0x49af0d=_[_0x5a82('0x52')]({},_0x49af0d,_0x308562[_0x5a82('0x58')]);return db[_0x5a82('0x3e')][_0x5a82('0x59')](_0x49af0d)['then'](handleEntityNotFound(_0x1e9f14,null))[_0x5a82('0x20')](respondWithResult(_0x1e9f14,null))[_0x5a82('0x2b')](handleError(_0x1e9f14,null));};exports[_0x5a82('0x5a')]=function(_0x4eadc2,_0x53e42f){return db[_0x5a82('0x3e')][_0x5a82('0x5a')](_0x4eadc2['body'],{})['then'](respondWithResult(_0x53e42f,0xc9))['catch'](handleError(_0x53e42f,null));};exports['update']=function(_0x1871db,_0x12525e){if(_0x1871db['body']['id']){delete _0x1871db[_0x5a82('0x5b')]['id'];}return db[_0x5a82('0x3e')][_0x5a82('0x59')]({'where':{'id':_0x1871db['params']['id']}})[_0x5a82('0x20')](handleEntityNotFound(_0x12525e,null))[_0x5a82('0x20')](saveUpdates(_0x1871db[_0x5a82('0x5b')],null))[_0x5a82('0x20')](respondWithResult(_0x12525e,null))[_0x5a82('0x2b')](handleError(_0x12525e,null));};exports[_0x5a82('0x39')]=function(_0x2d6b67,_0x5d6c3e){return db['ChatMessage'][_0x5a82('0x59')]({'where':{'id':_0x2d6b67[_0x5a82('0x5c')]['id']}})[_0x5a82('0x20')](handleEntityNotFound(_0x5d6c3e,null))[_0x5a82('0x20')](removeEntity(_0x5d6c3e,null))[_0x5a82('0x2b')](handleError(_0x5d6c3e,null));};exports[_0x5a82('0x5d')]=function(_0x2aea83,_0x529e51){return db[_0x5a82('0x3e')][_0x5a82('0x5d')]()['then'](respondWithResult(_0x529e51,null))[_0x5a82('0x2b')](handleError(_0x529e51,null));};var interaction_log=require(_0x5a82('0x12'))(_0x5a82('0x5e'));exports[_0x5a82('0x5f')]=function(_0x3d6dc1,_0x59438e,_0x262ae8){var _0x5edb2d={'agent':{},'channel':'chat'};if(_0x3d6dc1['body']['id']){delete _0x3d6dc1[_0x5a82('0x5b')]['id'];}_0x3d6dc1[_0x5a82('0x5b')][_0x5a82('0x60')]=!![];_0x3d6dc1[_0x5a82('0x5b')][_0x5a82('0x61')]=moment()[_0x5a82('0x62')](_0x5a82('0x63'));_0x3d6dc1[_0x5a82('0x5b')][_0x5a82('0x64')]=_0x3d6dc1[_0x5a82('0x5b')]['UserId']||_0x3d6dc1[_0x5a82('0x65')]['id'];_0x5edb2d[_0x5a82('0x66')]['id']=_0x3d6dc1[_0x5a82('0x5b')][_0x5a82('0x64')];return db['ChatMessage'][_0x5a82('0x59')]({'where':{'id':_0x3d6dc1[_0x5a82('0x5c')]['id'],'UserId':null}})[_0x5a82('0x20')](handleEntityNotFound(_0x59438e,null))[_0x5a82('0x20')](saveUpdates(_0x3d6dc1[_0x5a82('0x5b')],null))[_0x5a82('0x20')](function(_0x480bf5){if(_0x480bf5){_0x5edb2d[_0x5a82('0x29')]=_0x480bf5[_0x5a82('0x67')]({'plain':!![]});return db['ChatInteraction'][_0x5a82('0x59')]({'where':{'id':_0x480bf5['ChatInteractionId']}});}return null;})['then'](handleEntityNotFound(_0x59438e,null))[_0x5a82('0x20')](function(_0x200847){if(_0x200847){return _0x200847[_0x5a82('0x38')]({'UserId':_0x3d6dc1[_0x5a82('0x5b')]['UserId'],'read1stAt':_[_0x5a82('0x68')](_0x200847[_0x5a82('0x69')])?moment()[_0x5a82('0x62')](_0x5a82('0x63')):undefined});}return null;})['then'](function(_0x135a16){if(_0x135a16){_0x5edb2d[_0x5a82('0x6a')]=_0x135a16[_0x5a82('0x67')]({'plain':!![]});interaction_log['info'](_0x5a82('0x6b'),_0x3d6dc1[_0x5a82('0x65')]['id'],_0x3d6dc1['user'][_0x5a82('0x3b')],_0x3d6dc1[_0x5a82('0x65')]['role'],_0x5edb2d[_0x5a82('0x6a')]['id'],_0x3d6dc1['body']?JSON['stringify'](_0x3d6dc1[_0x5a82('0x5b')]):_0x5a82('0x6c'));return respondWithRpcPromise('AcceptMessage',_0x5a82('0x6d'),_0x5edb2d);}return null;})[_0x5a82('0x20')](function(_0x486e7e){var _0x260acd=_0x5a82('0x6e')+_0x486e7e[_0x5a82('0x29')]['ContactId'];return db[_0x5a82('0x6f')]['query'](_0x260acd,{'type':db[_0x5a82('0x70')][_0x5a82('0x71')]['SELECT'],'raw':!![]})[_0x5a82('0x20')](function(_0x51bd91){return _0x51bd91;});})[_0x5a82('0x20')](function(_0x23f4b0){if(_0x23f4b0){_0x5edb2d[_0x5a82('0x29')][_0x5a82('0x72')]=_0x23f4b0[0x0];if(!_0x3d6dc1['body']['UserId'])return;return db[_0x5a82('0x73')][_0x5a82('0x59')]({'where':{'id':_0x3d6dc1['body'][_0x5a82('0x64')],'role':'agent'},'attributes':['id','name','fullname',_0x5a82('0x74'),_0x5a82('0x75')],'raw':!![]});}return null;})[_0x5a82('0x20')](function(_0x3f521b){if(!_0x3f521b)return null;_0x5edb2d['message']['agent']=_0x3f521b;return _0x5edb2d;})[_0x5a82('0x20')](function(_0x5824ea){if(_0x5824ea){if(_0x3d6dc1[_0x5a82('0x5b')][_0x5a82('0x76')]){_0x5edb2d['message'][_0x5a82('0x77')]=util[_0x5a82('0x62')](_0x5a82('0x78'),_0x3d6dc1[_0x5a82('0x65')][_0x5a82('0x3b')]);_0x5edb2d[_0x5a82('0x29')][_0x5a82('0x79')]=_0x5edb2d[_0x5a82('0x79')];_0x5edb2d[_0x5a82('0x29')]['motionChannel']=_0x5edb2d[_0x5a82('0x79')];_0x5edb2d[_0x5a82('0x29')][_0x5a82('0x7a')]=_0x5a82('0x5f');return respondWithRpcPromise(_0x5a82('0x7b'),_0x5a82('0x7b'),{'event':_0x5a82('0x7c'),'message':_['merge'](_0x5edb2d[_0x5a82('0x29')],JSON[_0x5a82('0x7d')](_0x5edb2d[_0x5a82('0x6a')][_0x5a82('0x7e')]))},client9002)[_0x5a82('0x20')](function(){return _0x5edb2d;});}return _0x5edb2d;}return null;})[_0x5a82('0x20')](respondWithResult(_0x59438e,null))[_0x5a82('0x2b')](handleError(_0x59438e,null));};var interaction_log=require(_0x5a82('0x12'))('chat-interactions');exports['reject']=function(_0x1f35dc,_0xc0b319,_0x599a18){var _0x37a731={'agent':{},'channel':_0x5a82('0x7f')};if(_0x1f35dc[_0x5a82('0x5b')]['id']){delete _0x1f35dc[_0x5a82('0x5b')]['id'];}_0x1f35dc[_0x5a82('0x5b')][_0x5a82('0x64')]=_0x1f35dc[_0x5a82('0x5b')]['UserId']||_0x1f35dc[_0x5a82('0x65')]['id'];_0x37a731[_0x5a82('0x66')]['id']=_0x1f35dc[_0x5a82('0x5b')][_0x5a82('0x64')];return db[_0x5a82('0x3e')][_0x5a82('0x59')]({'where':{'id':_0x1f35dc[_0x5a82('0x5c')]['id'],'UserId':null}})[_0x5a82('0x20')](handleEntityNotFound(_0xc0b319,null))['then'](function(_0x3f9aa1){if(_0x3f9aa1){_0x37a731[_0x5a82('0x29')]=_0x3f9aa1[_0x5a82('0x67')]({'plain':!![]});return db['ChatInteraction']['find']({'where':{'id':_0x3f9aa1[_0x5a82('0x80')]}});}return null;})['then'](handleEntityNotFound(_0xc0b319,null))[_0x5a82('0x20')](function(_0x356373){if(_0x356373){_0x37a731[_0x5a82('0x6a')]=_0x356373['get']({'plain':!![]});interaction_log[_0x5a82('0x21')](_0x5a82('0x81'),_0x1f35dc['user']['id'],_0x1f35dc[_0x5a82('0x65')][_0x5a82('0x3b')],_0x1f35dc[_0x5a82('0x65')][_0x5a82('0x82')],_0x37a731[_0x5a82('0x6a')]['id'],_0x1f35dc[_0x5a82('0x5b')]?JSON['stringify'](_0x1f35dc['body']):_0x5a82('0x6c'));return respondWithRpcPromise(_0x5a82('0x83'),_0x5a82('0x84'),_0x37a731);}return null;})['then'](function(_0x581a0e){var _0x5d38a4=_0x5a82('0x6e')+_0x581a0e[_0x5a82('0x29')]['ContactId'];return db[_0x5a82('0x6f')][_0x5a82('0x44')](_0x5d38a4,{'type':db['Sequelize'][_0x5a82('0x71')][_0x5a82('0x85')],'raw':!![]})[_0x5a82('0x20')](function(_0x43dcf1){return _0x43dcf1;});})['then'](function(_0x4450e5){if(_0x4450e5){_0x37a731['message'][_0x5a82('0x72')]=_0x4450e5[0x0];if(!_0x1f35dc['body'][_0x5a82('0x64')])return;return db[_0x5a82('0x73')][_0x5a82('0x59')]({'where':{'id':_0x1f35dc[_0x5a82('0x5b')]['UserId'],'role':_0x5a82('0x66')},'attributes':['id','name',_0x5a82('0x86'),'email',_0x5a82('0x75')],'raw':!![]});}return null;})['then'](function(_0x3ef328){if(!_0x3ef328)return null;_0x37a731[_0x5a82('0x29')][_0x5a82('0x66')]=_0x3ef328;return _0x37a731;})[_0x5a82('0x20')](function(_0x26b7ae){if(_0x26b7ae){_0x26b7ae[_0x5a82('0x29')][_0x5a82('0x77')]=util['format']('SIP/%s',_0x1f35dc[_0x5a82('0x65')][_0x5a82('0x3b')]);_0x26b7ae[_0x5a82('0x29')][_0x5a82('0x79')]=_0x37a731[_0x5a82('0x79')];_0x26b7ae[_0x5a82('0x29')][_0x5a82('0x87')]=_0x37a731['channel'];_0x26b7ae['message'][_0x5a82('0x7a')]=_0x5a82('0x88');respondWithRpcPromise(_0x5a82('0x7b'),_0x5a82('0x7b'),{'event':_0x5a82('0x89'),'message':_[_0x5a82('0x52')](_0x37a731[_0x5a82('0x29')],JSON[_0x5a82('0x7d')](_0x37a731[_0x5a82('0x6a')][_0x5a82('0x7e')]))},client9002);return _0x37a731;}return null;})[_0x5a82('0x20')](respondWithResult(_0xc0b319,null))[_0x5a82('0x2b')](handleError(_0xc0b319,null));};
\ No newline at end of file
+var _0x588b=['register','jayson/promise','http','client','request','info','request\x20sent','debug','ChatMessage,\x20%s,\x20%s,\x20%s','stringify','code','error','message','ChatMessage,\x20%s,\x20%s','result','catch','sendStatus','status','end','json','offset','limit','undefined','count','apply','reject','save','update','stack','name','index','map','type','key','query','keys','filters','intersection','model','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','filter','VIRTUAL','ChatMessage','includeAll','include','findAll','then','rows','show','params','rawAttributes','options','find','create','body','destroy','describe','chat','read','readAt','YYYY-MM-DD\x20HH:mm:ss','UserId','user','agent','get','ChatInteraction','ChatInteractionId','read1stAt','[CHATMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','role','interaction','null','AcceptMessage','SELECT\x20*\x20FROM\x20cm_contacts\x20WHERE\x20id\x20=\x20','ContactId','sequelize','Sequelize','QueryTypes','SELECT','contact','fullname','internal','manual','format','channel','motionChannel','EventManager','acceptmessage','merge','parse','formData','chat-interactions','RejectMessage','User','email','interface','SIP/%s','event','eml-format','rimraf','fast-json-patch','request-promise','moment','mustache','sox','ejs','fs-extra','lodash','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','redis','defaults','localhost','socket.io-emitter'];(function(_0x4ec42,_0x36177b){var _0x385e11=function(_0x44e535){while(--_0x44e535){_0x4ec42['push'](_0x4ec42['shift']());}};_0x385e11(++_0x36177b);}(_0x588b,0xf0));var _0xb588=function(_0x273705,_0x4a4942){_0x273705=_0x273705-0x0;var _0x21c81e=_0x588b[_0x273705];return _0x21c81e;};'use strict';var emlformat=require(_0xb588('0x0'));var rimraf=require(_0xb588('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xb588('0x2'));var rp=require(_0xb588('0x3'));var moment=require(_0xb588('0x4'));var BPromise=require('bluebird');var Mustache=require(_0xb588('0x5'));var util=require('util');var path=require('path');var sox=require(_0xb588('0x6'));var csv=require('to-csv');var ejs=require(_0xb588('0x7'));var fs=require('fs');var fs_extra=require(_0xb588('0x8'));var _=require(_0xb588('0x9'));var squel=require(_0xb588('0xa'));var crypto=require(_0xb588('0xb'));var jsforce=require(_0xb588('0xc'));var deskjs=require(_0xb588('0xd'));var toCsv=require(_0xb588('0xe'));var querystring=require(_0xb588('0xf'));var Papa=require(_0xb588('0x10'));var Redis=require('ioredis');var authService=require(_0xb588('0x11'));var qs=require(_0xb588('0x12'));var as=require(_0xb588('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xb588('0x14'))(_0xb588('0x15'));var utils=require(_0xb588('0x16'));var config=require(_0xb588('0x17'));var licenseUtil=require(_0xb588('0x18'));var db=require(_0xb588('0x19'))['db'];config[_0xb588('0x1a')]=_[_0xb588('0x1b')](config[_0xb588('0x1a')],{'host':_0xb588('0x1c'),'port':0x18eb});var socket=require(_0xb588('0x1d'))(new Redis(config[_0xb588('0x1a')]));require('./chatMessage.socket')[_0xb588('0x1e')](socket);var jayson=require(_0xb588('0x1f'));var client=jayson['client'][_0xb588('0x20')]({'port':0x232c});var client9002=jayson[_0xb588('0x21')][_0xb588('0x20')]({'port':0x232a});function respondWithRpcPromise(_0x5598b8,_0x3e562d,_0x402028,_0x1beb36){return new BPromise(function(_0x3e1d65,_0x429c89){var _0x4901b6=_0x1beb36||client;return _0x4901b6[_0xb588('0x22')](_0x5598b8,_0x402028)['then'](function(_0x445e3c){logger[_0xb588('0x23')]('ChatMessage,\x20%s,\x20%s',_0x3e562d,_0xb588('0x24'));logger[_0xb588('0x25')](_0xb588('0x26'),_0x3e562d,_0xb588('0x24'),JSON[_0xb588('0x27')](_0x445e3c));if(_0x445e3c['error']){if(_0x445e3c['error'][_0xb588('0x28')]===0x1f4){logger[_0xb588('0x29')]('ChatMessage,\x20%s,\x20%s',_0x3e562d,_0x445e3c['error'][_0xb588('0x2a')]);return _0x429c89(_0x445e3c[_0xb588('0x29')]['message']);}logger[_0xb588('0x29')]('ChatMessage,\x20%s,\x20%s',_0x3e562d,_0x445e3c[_0xb588('0x29')]['message']);return _0x3e1d65(_0x445e3c['error'][_0xb588('0x2a')]);}else{logger[_0xb588('0x23')](_0xb588('0x2b'),_0x3e562d,_0xb588('0x24'));_0x3e1d65(_0x445e3c[_0xb588('0x2c')][_0xb588('0x2a')]);}})[_0xb588('0x2d')](function(_0x5940e1){logger[_0xb588('0x29')](_0xb588('0x2b'),_0x3e562d,_0x5940e1);_0x429c89(_0x5940e1);});});}function respondWithStatusCode(_0x4be9d5,_0x501771){_0x501771=_0x501771||0xcc;return function(_0xe5af67){if(_0xe5af67){return _0x4be9d5[_0xb588('0x2e')](_0x501771);}return _0x4be9d5[_0xb588('0x2f')](_0x501771)[_0xb588('0x30')]();};}function respondWithResult(_0x2253f1,_0x35d4a7){_0x35d4a7=_0x35d4a7||0xc8;return function(_0x42b86f){if(_0x42b86f){return _0x2253f1[_0xb588('0x2f')](_0x35d4a7)[_0xb588('0x31')](_0x42b86f);}};}function respondWithFilteredResult(_0x2a75b8,_0x407479){return function(_0x4cbbe6){if(_0x4cbbe6){var _0x334deb=typeof _0x407479[_0xb588('0x32')]==='undefined'&&typeof _0x407479[_0xb588('0x33')]===_0xb588('0x34');var _0x2bca0b=_0x4cbbe6[_0xb588('0x35')];var _0x5ac70f=_0x334deb?0x0:_0x407479['offset'];var _0x118549=_0x334deb?_0x4cbbe6[_0xb588('0x35')]:_0x407479['offset']+_0x407479['limit'];var _0xe73f19;if(_0x118549>=_0x2bca0b){_0x118549=_0x2bca0b;_0xe73f19=0xc8;}else{_0xe73f19=0xce;}_0x2a75b8[_0xb588('0x2f')](_0xe73f19);return _0x2a75b8['set']('Content-Range',_0x5ac70f+'-'+_0x118549+'/'+_0x2bca0b)[_0xb588('0x31')](_0x4cbbe6);}return null;};}function patchUpdates(_0xa991fc){return function(_0x2d180b){try{jsonpatch[_0xb588('0x36')](_0x2d180b,_0xa991fc,!![]);}catch(_0x2ce57a){return BPromise[_0xb588('0x37')](_0x2ce57a);}return _0x2d180b[_0xb588('0x38')]();};}function saveUpdates(_0x1c2efb,_0x1b7ca3){return function(_0x29af3d){if(_0x29af3d){return _0x29af3d[_0xb588('0x39')](_0x1c2efb)['then'](function(_0x378a33){return _0x378a33;});}return null;};}function removeEntity(_0x278b63,_0x350266){return function(_0x173fae){if(_0x173fae){return _0x173fae['destroy']()['then'](function(){_0x278b63[_0xb588('0x2f')](0xcc)[_0xb588('0x30')]();});}};}function handleEntityNotFound(_0x53dd25,_0x423ca5){return function(_0x4d7181){if(!_0x4d7181){_0x53dd25[_0xb588('0x2e')](0x194);}return _0x4d7181;};}function handleError(_0x228bc9,_0x406a26){_0x406a26=_0x406a26||0x1f4;return function(_0x4c1b39){logger[_0xb588('0x29')](_0x4c1b39[_0xb588('0x3a')]);if(_0x4c1b39[_0xb588('0x3b')]){delete _0x4c1b39['name'];}_0x228bc9['status'](_0x406a26)['send'](_0x4c1b39);};}exports[_0xb588('0x3c')]=function(_0x563aee,_0x4a8e75){var _0x406a0b={},_0x352a27={},_0x4276c6={'count':0x0,'rows':[]};var _0x4b3bf1=_[_0xb588('0x3d')](db['ChatMessage']['rawAttributes'],function(_0x43886a){return{'name':_0x43886a['fieldName'],'type':_0x43886a[_0xb588('0x3e')][_0xb588('0x3f')]};});_0x352a27['model']=_[_0xb588('0x3d')](_0x4b3bf1,_0xb588('0x3b'));_0x352a27[_0xb588('0x40')]=_[_0xb588('0x41')](_0x563aee[_0xb588('0x40')]);_0x352a27[_0xb588('0x42')]=_[_0xb588('0x43')](_0x352a27[_0xb588('0x44')],_0x352a27[_0xb588('0x40')]);_0x406a0b['attributes']=_[_0xb588('0x43')](_0x352a27['model'],qs[_0xb588('0x45')](_0x563aee['query']['fields']));_0x406a0b[_0xb588('0x46')]=_0x406a0b[_0xb588('0x46')][_0xb588('0x47')]?_0x406a0b[_0xb588('0x46')]:_0x352a27[_0xb588('0x44')];if(!_0x563aee['query'][_0xb588('0x48')](_0xb588('0x49'))){_0x406a0b[_0xb588('0x33')]=qs[_0xb588('0x33')](_0x563aee['query']['limit']);_0x406a0b[_0xb588('0x32')]=qs[_0xb588('0x32')](_0x563aee[_0xb588('0x40')][_0xb588('0x32')]);}_0x406a0b[_0xb588('0x4a')]=qs[_0xb588('0x4b')](_0x563aee[_0xb588('0x40')]['sort']);_0x406a0b[_0xb588('0x4c')]=qs['filters'](_['pick'](_0x563aee[_0xb588('0x40')],_0x352a27[_0xb588('0x42')]),_0x4b3bf1);if(_0x563aee[_0xb588('0x40')][_0xb588('0x4d')]){_0x406a0b[_0xb588('0x4c')]=_['merge'](_0x406a0b[_0xb588('0x4c')],{'$or':_[_0xb588('0x3d')](_0x4b3bf1,function(_0x3fed39){if(_0x3fed39[_0xb588('0x3e')]!==_0xb588('0x4e')){var _0x175742={};_0x175742[_0x3fed39[_0xb588('0x3b')]]={'$like':'%'+_0x563aee[_0xb588('0x40')][_0xb588('0x4d')]+'%'};return _0x175742;}})});}_0x406a0b=_['merge']({},_0x406a0b,_0x563aee['options']);var _0x586702={'where':_0x406a0b[_0xb588('0x4c')]};return db[_0xb588('0x4f')][_0xb588('0x35')](_0x586702)['then'](function(_0x395fba){_0x4276c6[_0xb588('0x35')]=_0x395fba;if(_0x563aee[_0xb588('0x40')][_0xb588('0x50')]){_0x406a0b[_0xb588('0x51')]=[{'all':!![]}];}return db['ChatMessage'][_0xb588('0x52')](_0x406a0b);})[_0xb588('0x53')](function(_0x4cd378){_0x4276c6[_0xb588('0x54')]=_0x4cd378;return _0x4276c6;})[_0xb588('0x53')](respondWithFilteredResult(_0x4a8e75,_0x406a0b))[_0xb588('0x2d')](handleError(_0x4a8e75,null));};exports[_0xb588('0x55')]=function(_0x59eff9,_0x28ed3d){var _0x32deb3={'raw':!![],'where':{'id':_0x59eff9[_0xb588('0x56')]['id']}},_0x2d1cdb={};_0x2d1cdb[_0xb588('0x44')]=_[_0xb588('0x41')](db[_0xb588('0x4f')][_0xb588('0x57')]);_0x2d1cdb[_0xb588('0x40')]=_[_0xb588('0x41')](_0x59eff9[_0xb588('0x40')]);_0x2d1cdb['filters']=_[_0xb588('0x43')](_0x2d1cdb[_0xb588('0x44')],_0x2d1cdb[_0xb588('0x40')]);_0x32deb3[_0xb588('0x46')]=_['intersection'](_0x2d1cdb[_0xb588('0x44')],qs[_0xb588('0x45')](_0x59eff9[_0xb588('0x40')][_0xb588('0x45')]));_0x32deb3[_0xb588('0x46')]=_0x32deb3['attributes'][_0xb588('0x47')]?_0x32deb3[_0xb588('0x46')]:_0x2d1cdb[_0xb588('0x44')];if(_0x59eff9[_0xb588('0x40')]['includeAll']){_0x32deb3['include']=[{'all':!![]}];}_0x32deb3=_['merge']({},_0x32deb3,_0x59eff9[_0xb588('0x58')]);return db[_0xb588('0x4f')][_0xb588('0x59')](_0x32deb3)['then'](handleEntityNotFound(_0x28ed3d,null))['then'](respondWithResult(_0x28ed3d,null))[_0xb588('0x2d')](handleError(_0x28ed3d,null));};exports['create']=function(_0xb77fe,_0x536b32){return db[_0xb588('0x4f')][_0xb588('0x5a')](_0xb77fe[_0xb588('0x5b')],{})['then'](respondWithResult(_0x536b32,0xc9))['catch'](handleError(_0x536b32,null));};exports[_0xb588('0x39')]=function(_0x1da09f,_0x434e71){if(_0x1da09f[_0xb588('0x5b')]['id']){delete _0x1da09f[_0xb588('0x5b')]['id'];}return db[_0xb588('0x4f')]['find']({'where':{'id':_0x1da09f[_0xb588('0x56')]['id']}})[_0xb588('0x53')](handleEntityNotFound(_0x434e71,null))[_0xb588('0x53')](saveUpdates(_0x1da09f[_0xb588('0x5b')],null))[_0xb588('0x53')](respondWithResult(_0x434e71,null))[_0xb588('0x2d')](handleError(_0x434e71,null));};exports[_0xb588('0x5c')]=function(_0x13159f,_0xf816bc){return db[_0xb588('0x4f')][_0xb588('0x59')]({'where':{'id':_0x13159f[_0xb588('0x56')]['id']}})['then'](handleEntityNotFound(_0xf816bc,null))[_0xb588('0x53')](removeEntity(_0xf816bc,null))[_0xb588('0x2d')](handleError(_0xf816bc,null));};exports[_0xb588('0x5d')]=function(_0x45e0c9,_0x253acf){return db['ChatMessage'][_0xb588('0x5d')]()[_0xb588('0x53')](respondWithResult(_0x253acf,null))['catch'](handleError(_0x253acf,null));};var interaction_log=require(_0xb588('0x14'))('chat-interactions');exports['accept']=function(_0x1b6ce4,_0x27cb18,_0x2b4596){var _0x271a67={'agent':{},'channel':_0xb588('0x5e')};if(_0x1b6ce4[_0xb588('0x5b')]['id']){delete _0x1b6ce4[_0xb588('0x5b')]['id'];}_0x1b6ce4[_0xb588('0x5b')][_0xb588('0x5f')]=!![];_0x1b6ce4['body'][_0xb588('0x60')]=moment()['format'](_0xb588('0x61'));_0x1b6ce4['body'][_0xb588('0x62')]=_0x1b6ce4[_0xb588('0x5b')][_0xb588('0x62')]||_0x1b6ce4[_0xb588('0x63')]['id'];_0x271a67[_0xb588('0x64')]['id']=_0x1b6ce4[_0xb588('0x5b')][_0xb588('0x62')];return db['ChatMessage'][_0xb588('0x59')]({'where':{'id':_0x1b6ce4[_0xb588('0x56')]['id'],'UserId':null}})[_0xb588('0x53')](handleEntityNotFound(_0x27cb18,null))[_0xb588('0x53')](saveUpdates(_0x1b6ce4[_0xb588('0x5b')],null))['then'](function(_0x44f638){if(_0x44f638){_0x271a67['message']=_0x44f638[_0xb588('0x65')]({'plain':!![]});return db[_0xb588('0x66')][_0xb588('0x59')]({'where':{'id':_0x44f638[_0xb588('0x67')]}});}return null;})[_0xb588('0x53')](handleEntityNotFound(_0x27cb18,null))['then'](function(_0x4875b4){if(_0x4875b4){return _0x4875b4[_0xb588('0x39')]({'UserId':_0x1b6ce4[_0xb588('0x5b')][_0xb588('0x62')],'read1stAt':_['isNil'](_0x4875b4[_0xb588('0x68')])?moment()['format'](_0xb588('0x61')):undefined});}return null;})[_0xb588('0x53')](function(_0xb62bdd){if(_0xb62bdd){_0x271a67['interaction']=_0xb62bdd[_0xb588('0x65')]({'plain':!![]});interaction_log[_0xb588('0x23')](_0xb588('0x69'),_0x1b6ce4['user']['id'],_0x1b6ce4[_0xb588('0x63')][_0xb588('0x3b')],_0x1b6ce4[_0xb588('0x63')][_0xb588('0x6a')],_0x271a67[_0xb588('0x6b')]['id'],_0x1b6ce4[_0xb588('0x5b')]?JSON[_0xb588('0x27')](_0x1b6ce4[_0xb588('0x5b')]):_0xb588('0x6c'));return respondWithRpcPromise(_0xb588('0x6d'),'acceptMessage',_0x271a67);}return null;})[_0xb588('0x53')](function(_0x2a8b36){var _0x1bdbe3=_0xb588('0x6e')+_0x2a8b36['message'][_0xb588('0x6f')];return db[_0xb588('0x70')][_0xb588('0x40')](_0x1bdbe3,{'type':db[_0xb588('0x71')][_0xb588('0x72')][_0xb588('0x73')],'raw':!![]})[_0xb588('0x53')](function(_0x4dcf6b){return _0x4dcf6b;});})[_0xb588('0x53')](function(_0x368eee){if(_0x368eee){_0x271a67[_0xb588('0x2a')][_0xb588('0x74')]=_0x368eee[0x0];if(!_0x1b6ce4[_0xb588('0x5b')][_0xb588('0x62')])return;return db['User'][_0xb588('0x59')]({'where':{'id':_0x1b6ce4['body'][_0xb588('0x62')],'role':_0xb588('0x64')},'attributes':['id','name',_0xb588('0x75'),'email',_0xb588('0x76')],'raw':!![]});}return null;})[_0xb588('0x53')](function(_0x15b95a){if(!_0x15b95a)return null;_0x271a67['message'][_0xb588('0x64')]=_0x15b95a;return _0x271a67;})[_0xb588('0x53')](function(_0x4873fc){if(_0x4873fc){if(_0x1b6ce4[_0xb588('0x5b')][_0xb588('0x77')]){_0x271a67['message']['interface']=util[_0xb588('0x78')]('SIP/%s',_0x1b6ce4[_0xb588('0x63')]['name']);_0x271a67[_0xb588('0x2a')][_0xb588('0x79')]=_0x271a67[_0xb588('0x79')];_0x271a67[_0xb588('0x2a')][_0xb588('0x7a')]=_0x271a67[_0xb588('0x79')];_0x271a67['message']['event']='accept';return respondWithRpcPromise(_0xb588('0x7b'),_0xb588('0x7b'),{'event':_0xb588('0x7c'),'message':_[_0xb588('0x7d')](_0x271a67['message'],JSON[_0xb588('0x7e')](_0x271a67[_0xb588('0x6b')][_0xb588('0x7f')]))},client9002)[_0xb588('0x53')](function(){return _0x271a67;});}return _0x271a67;}return null;})['then'](respondWithResult(_0x27cb18,null))[_0xb588('0x2d')](handleError(_0x27cb18,null));};var interaction_log=require('../../config/logger')(_0xb588('0x80'));exports[_0xb588('0x37')]=function(_0x2b0b76,_0x5979ff,_0x3d8aa0){var _0x2fc839={'agent':{},'channel':_0xb588('0x5e')};if(_0x2b0b76[_0xb588('0x5b')]['id']){delete _0x2b0b76['body']['id'];}_0x2b0b76['body'][_0xb588('0x62')]=_0x2b0b76[_0xb588('0x5b')][_0xb588('0x62')]||_0x2b0b76[_0xb588('0x63')]['id'];_0x2fc839['agent']['id']=_0x2b0b76[_0xb588('0x5b')][_0xb588('0x62')];return db[_0xb588('0x4f')][_0xb588('0x59')]({'where':{'id':_0x2b0b76[_0xb588('0x56')]['id'],'UserId':null}})[_0xb588('0x53')](handleEntityNotFound(_0x5979ff,null))['then'](function(_0xe83d8a){if(_0xe83d8a){_0x2fc839[_0xb588('0x2a')]=_0xe83d8a[_0xb588('0x65')]({'plain':!![]});return db[_0xb588('0x66')][_0xb588('0x59')]({'where':{'id':_0xe83d8a[_0xb588('0x67')]}});}return null;})[_0xb588('0x53')](handleEntityNotFound(_0x5979ff,null))['then'](function(_0x44ba07){if(_0x44ba07){_0x2fc839[_0xb588('0x6b')]=_0x44ba07['get']({'plain':!![]});interaction_log[_0xb588('0x23')]('[CHATMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s',_0x2b0b76['user']['id'],_0x2b0b76[_0xb588('0x63')][_0xb588('0x3b')],_0x2b0b76[_0xb588('0x63')]['role'],_0x2fc839[_0xb588('0x6b')]['id'],_0x2b0b76[_0xb588('0x5b')]?JSON[_0xb588('0x27')](_0x2b0b76['body']):_0xb588('0x6c'));return respondWithRpcPromise(_0xb588('0x81'),'rejectMessage',_0x2fc839);}return null;})[_0xb588('0x53')](function(_0x1b196f){var _0x1995e7=_0xb588('0x6e')+_0x1b196f[_0xb588('0x2a')][_0xb588('0x6f')];return db[_0xb588('0x70')][_0xb588('0x40')](_0x1995e7,{'type':db['Sequelize']['QueryTypes'][_0xb588('0x73')],'raw':!![]})['then'](function(_0x3c39ca){return _0x3c39ca;});})[_0xb588('0x53')](function(_0x423542){if(_0x423542){_0x2fc839[_0xb588('0x2a')][_0xb588('0x74')]=_0x423542[0x0];if(!_0x2b0b76[_0xb588('0x5b')][_0xb588('0x62')])return;return db[_0xb588('0x82')][_0xb588('0x59')]({'where':{'id':_0x2b0b76['body'][_0xb588('0x62')],'role':_0xb588('0x64')},'attributes':['id',_0xb588('0x3b'),'fullname',_0xb588('0x83'),_0xb588('0x76')],'raw':!![]});}return null;})[_0xb588('0x53')](function(_0x5430ba){if(!_0x5430ba)return null;_0x2fc839[_0xb588('0x2a')]['agent']=_0x5430ba;return _0x2fc839;})['then'](function(_0x3085e8){if(_0x3085e8){_0x3085e8[_0xb588('0x2a')][_0xb588('0x84')]=util[_0xb588('0x78')](_0xb588('0x85'),_0x2b0b76['user']['name']);_0x3085e8[_0xb588('0x2a')][_0xb588('0x79')]=_0x2fc839[_0xb588('0x79')];_0x3085e8[_0xb588('0x2a')][_0xb588('0x7a')]=_0x2fc839[_0xb588('0x79')];_0x3085e8['message'][_0xb588('0x86')]=_0xb588('0x37');respondWithRpcPromise(_0xb588('0x7b'),_0xb588('0x7b'),{'event':'rejectmessage','message':_[_0xb588('0x7d')](_0x2fc839['message'],JSON[_0xb588('0x7e')](_0x2fc839[_0xb588('0x6b')][_0xb588('0x7f')]))},client9002);return _0x2fc839;}return null;})[_0xb588('0x53')](respondWithResult(_0x5979ff,null))[_0xb588('0x2d')](handleError(_0x5979ff,null));};
\ No newline at end of file
diff --git a/server/api/chatMessage/chatMessage.events.js b/server/api/chatMessage/chatMessage.events.js
index 20071f0..64a0250 100644
--- a/server/api/chatMessage/chatMessage.events.js
+++ b/server/api/chatMessage/chatMessage.events.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xcef3=['save','update','remove','emit','hasOwnProperty','hook','events','ChatMessage','setMaxListeners'];(function(_0x47d977,_0x5b4e27){var _0x99b9a9=function(_0x4f41cb){while(--_0x4f41cb){_0x47d977['push'](_0x47d977['shift']());}};_0x99b9a9(++_0x5b4e27);}(_0xcef3,0xf9));var _0x3cef=function(_0x3520c1,_0x1257ad){_0x3520c1=_0x3520c1-0x0;var _0x24e55c=_0xcef3[_0x3520c1];return _0x24e55c;};'use strict';var EventEmitter=require(_0x3cef('0x0'));var ChatMessage=require('../../mysqldb')['db'][_0x3cef('0x1')];var ChatMessageEvents=new EventEmitter();ChatMessageEvents[_0x3cef('0x2')](0x0);var events={'afterCreate':_0x3cef('0x3'),'afterUpdate':_0x3cef('0x4'),'afterDestroy':_0x3cef('0x5')};function emitEvent(_0x1d7dc4){return function(_0x1ebb93,_0x10b31a,_0x270568){ChatMessageEvents[_0x3cef('0x6')](_0x1d7dc4+':'+_0x1ebb93['id'],_0x1ebb93);ChatMessageEvents['emit'](_0x1d7dc4,_0x1ebb93);_0x270568(null);};}for(var e in events){if(events[_0x3cef('0x7')](e)){var event=events[e];ChatMessage[_0x3cef('0x8')](e,emitEvent(event));}}module['exports']=ChatMessageEvents;
\ No newline at end of file
+var _0x2f99=['emit','hook','exports','events','../../mysqldb','ChatMessage','save','update','remove'];(function(_0x55a075,_0xc2d761){var _0x5b1d44=function(_0x874762){while(--_0x874762){_0x55a075['push'](_0x55a075['shift']());}};_0x5b1d44(++_0xc2d761);}(_0x2f99,0x17d));var _0x92f9=function(_0xf6268a,_0x4d2a75){_0xf6268a=_0xf6268a-0x0;var _0x479dbd=_0x2f99[_0xf6268a];return _0x479dbd;};'use strict';var EventEmitter=require(_0x92f9('0x0'));var ChatMessage=require(_0x92f9('0x1'))['db'][_0x92f9('0x2')];var ChatMessageEvents=new EventEmitter();ChatMessageEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x92f9('0x3'),'afterUpdate':_0x92f9('0x4'),'afterDestroy':_0x92f9('0x5')};function emitEvent(_0x317f38){return function(_0x47bae1,_0x519dd6,_0x593a1d){ChatMessageEvents['emit'](_0x317f38+':'+_0x47bae1['id'],_0x47bae1);ChatMessageEvents[_0x92f9('0x6')](_0x317f38,_0x47bae1);_0x593a1d(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];ChatMessage[_0x92f9('0x7')](e,emitEvent(event));}}module[_0x92f9('0x8')]=ChatMessageEvents;
\ No newline at end of file
diff --git a/server/api/chatMessage/chatMessage.model.js b/server/api/chatMessage/chatMessage.model.js
index ef622b9..9cfbdbb 100644
--- a/server/api/chatMessage/chatMessage.model.js
+++ b/server/api/chatMessage/chatMessage.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x3c6f=['then','createdAt','error','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','api','moment','bluebird','../../config/environment','./chatMessage.attributes','exports','define','ChatMessage','chat_messages','fti_chat_messages','FULLTEXT','models','get','direction','toLowerCase','out','secret','isNil','ChatInteraction','findOne','ChatInteractionId'];(function(_0x24ea4f,_0x6c54cc){var _0x25fe14=function(_0xfa4487){while(--_0xfa4487){_0x24ea4f['push'](_0x24ea4f['shift']());}};_0x25fe14(++_0x6c54cc);}(_0x3c6f,0x161));var _0xf3c6=function(_0x5e41a0,_0x148cd7){_0x5e41a0=_0x5e41a0-0x0;var _0x1099d5=_0x3c6f[_0x5e41a0];return _0x1099d5;};'use strict';var _=require(_0xf3c6('0x0'));var util=require(_0xf3c6('0x1'));var logger=require(_0xf3c6('0x2'))(_0xf3c6('0x3'));var moment=require(_0xf3c6('0x4'));var BPromise=require(_0xf3c6('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xf3c6('0x6'));var attributes=require(_0xf3c6('0x7'));module[_0xf3c6('0x8')]=function(_0x4a5d62,_0x295662){return _0x4a5d62[_0xf3c6('0x9')](_0xf3c6('0xa'),attributes,{'tableName':_0xf3c6('0xb'),'paranoid':![],'indexes':[{'name':_0xf3c6('0xc'),'fields':['body'],'type':_0xf3c6('0xd')}],'timestamps':!![],'hooks':{'afterCreate':function(_0x43ba41,_0x29f76c,_0x1ab2b0){var _0x26b20d=_0x4a5d62[_0xf3c6('0xe')];var _0xc6ea13=_0x43ba41[_0xf3c6('0xf')]({'plain':!![]});if(_0xc6ea13[_0xf3c6('0x10')][_0xf3c6('0x11')]()==='in'||_0xc6ea13['direction'][_0xf3c6('0x11')]()===_0xf3c6('0x12')&&!_0xc6ea13[_0xf3c6('0x13')]&&!_[_0xf3c6('0x14')](_0xc6ea13['UserId'])){_0x26b20d[_0xf3c6('0x15')][_0xf3c6('0x16')]({'where':{'id':_0xc6ea13[_0xf3c6('0x17')]}})[_0xf3c6('0x18')](function(_0x161bcc){if(_0x161bcc){_0x161bcc['update']({'lastMsgAt':_0xc6ea13[_0xf3c6('0x19')],'lastMsgDirection':_0xc6ea13[_0xf3c6('0x10')][_0xf3c6('0x11')]()});}})['catch'](function(_0x3c5aa1){console[_0xf3c6('0x1a')](_0x3c5aa1);});}_0x1ab2b0();}},'charset':_0xf3c6('0x1b'),'collate':_0xf3c6('0x1c')});};
\ No newline at end of file
+var _0x2507=['toLowerCase','direction','out','secret','isNil','UserId','ChatInteraction','findOne','ChatInteractionId','then','update','createdAt','catch','error','utf8mb4_unicode_ci','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatMessage.attributes','exports','define','ChatMessage','chat_messages','body','FULLTEXT'];(function(_0x16ce59,_0x503fc8){var _0x2f2125=function(_0x23ecb9){while(--_0x23ecb9){_0x16ce59['push'](_0x16ce59['shift']());}};_0x2f2125(++_0x503fc8);}(_0x2507,0x6f));var _0x7250=function(_0x363e4e,_0x131c2d){_0x363e4e=_0x363e4e-0x0;var _0x8a5f56=_0x2507[_0x363e4e];return _0x8a5f56;};'use strict';var _=require(_0x7250('0x0'));var util=require(_0x7250('0x1'));var logger=require(_0x7250('0x2'))(_0x7250('0x3'));var moment=require(_0x7250('0x4'));var BPromise=require(_0x7250('0x5'));var rp=require(_0x7250('0x6'));var fs=require('fs');var path=require(_0x7250('0x7'));var rimraf=require(_0x7250('0x8'));var config=require(_0x7250('0x9'));var attributes=require(_0x7250('0xa'));module[_0x7250('0xb')]=function(_0x24ada2,_0x3e43ca){return _0x24ada2[_0x7250('0xc')](_0x7250('0xd'),attributes,{'tableName':_0x7250('0xe'),'paranoid':![],'indexes':[{'name':'fti_chat_messages','fields':[_0x7250('0xf')],'type':_0x7250('0x10')}],'timestamps':!![],'hooks':{'afterCreate':function(_0x205741,_0xb0b986,_0x39fd64){var _0x5c120c=_0x24ada2['models'];var _0x4877e7=_0x205741['get']({'plain':!![]});if(_0x4877e7['direction'][_0x7250('0x11')]()==='in'||_0x4877e7[_0x7250('0x12')]['toLowerCase']()===_0x7250('0x13')&&!_0x4877e7[_0x7250('0x14')]&&!_[_0x7250('0x15')](_0x4877e7[_0x7250('0x16')])){_0x5c120c[_0x7250('0x17')][_0x7250('0x18')]({'where':{'id':_0x4877e7[_0x7250('0x19')]}})[_0x7250('0x1a')](function(_0x3ea6e6){if(_0x3ea6e6){_0x3ea6e6[_0x7250('0x1b')]({'lastMsgAt':_0x4877e7[_0x7250('0x1c')],'lastMsgDirection':_0x4877e7['direction'][_0x7250('0x11')]()});}})[_0x7250('0x1d')](function(_0x57d768){console[_0x7250('0x1e')](_0x57d768);});}_0x39fd64();}},'charset':'utf8mb4','collate':_0x7250('0x1f')});};
\ No newline at end of file
diff --git a/server/api/chatMessage/chatMessage.rpc.js b/server/api/chatMessage/chatMessage.rpc.js
index f3d197c..b2c5ca0 100644
--- a/server/api/chatMessage/chatMessage.rpc.js
+++ b/server/api/chatMessage/chatMessage.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xb8ee=['options','raw','lodash','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','client','redis','localhost','socket.io-emitter','./chatMessage.socket','request','then','ChatMessage,\x20%s,\x20%s','debug','request\x20sent','stringify','error','code','message','info','result','catch','CreateChatMessage','ChatMessage','create','body'];(function(_0x92c450,_0x41f1e3){var _0x2a9599=function(_0x4f27df){while(--_0x4f27df){_0x92c450['push'](_0x92c450['shift']());}};_0x2a9599(++_0x41f1e3);}(_0xb8ee,0x14c));var _0xeb8e=function(_0x57bb3a,_0x237ede){_0x57bb3a=_0x57bb3a-0x0;var _0x5decaa=_0xb8ee[_0x57bb3a];return _0x5decaa;};'use strict';var _=require(_0xeb8e('0x0'));var util=require(_0xeb8e('0x1'));var moment=require(_0xeb8e('0x2'));var BPromise=require(_0xeb8e('0x3'));var rs=require(_0xeb8e('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xeb8e('0x5'))['db'];var utils=require(_0xeb8e('0x6'));var logger=require(_0xeb8e('0x7'))(_0xeb8e('0x8'));var config=require(_0xeb8e('0x9'));var jayson=require('jayson/promise');var client=jayson[_0xeb8e('0xa')]['http']({'port':0x232a});config['redis']=_['defaults'](config[_0xeb8e('0xb')],{'host':_0xeb8e('0xc'),'port':0x18eb});var socket=require(_0xeb8e('0xd'))(new Redis(config['redis']));require(_0xeb8e('0xe'))['register'](socket);function respondWithRpcPromise(_0x569cca,_0x2e98d1,_0x523c49){return new BPromise(function(_0xf0d36,_0x37b3d8){return client[_0xeb8e('0xf')](_0x569cca,_0x523c49)[_0xeb8e('0x10')](function(_0x2796d2){logger['info'](_0xeb8e('0x11'),_0x2e98d1,'request\x20sent');logger[_0xeb8e('0x12')]('ChatMessage,\x20%s,\x20%s,\x20%s',_0x2e98d1,_0xeb8e('0x13'),JSON[_0xeb8e('0x14')](_0x2796d2));if(_0x2796d2[_0xeb8e('0x15')]){if(_0x2796d2['error'][_0xeb8e('0x16')]===0x1f4){logger[_0xeb8e('0x15')](_0xeb8e('0x11'),_0x2e98d1,_0x2796d2[_0xeb8e('0x15')][_0xeb8e('0x17')]);return _0x37b3d8(_0x2796d2[_0xeb8e('0x15')][_0xeb8e('0x17')]);}logger['error']('ChatMessage,\x20%s,\x20%s',_0x2e98d1,_0x2796d2[_0xeb8e('0x15')][_0xeb8e('0x17')]);return _0xf0d36(_0x2796d2['error'][_0xeb8e('0x17')]);}else{logger[_0xeb8e('0x18')](_0xeb8e('0x11'),_0x2e98d1,_0xeb8e('0x13'));_0xf0d36(_0x2796d2[_0xeb8e('0x19')][_0xeb8e('0x17')]);}})[_0xeb8e('0x1a')](function(_0x38366a){logger[_0xeb8e('0x15')](_0xeb8e('0x11'),_0x2e98d1,_0x38366a);_0x37b3d8(_0x38366a);});});}exports[_0xeb8e('0x1b')]=function(_0x203542){var _0x33036b=this;return new Promise(function(_0x4f7afb,_0xb08a6f){return db[_0xeb8e('0x1c')][_0xeb8e('0x1d')](_0x203542[_0xeb8e('0x1e')],{'raw':_0x203542[_0xeb8e('0x1f')]?_0x203542[_0xeb8e('0x1f')][_0xeb8e('0x20')]===undefined?!![]:![]:!![]})['then'](function(_0x1805ea){logger['info'](_0xeb8e('0x1b'),_0x203542);logger['debug']('CreateChatMessage',_0x203542,JSON['stringify'](_0x1805ea));_0x4f7afb(_0x1805ea);})[_0xeb8e('0x1a')](function(_0x39e3e3){logger[_0xeb8e('0x15')]('CreateChatMessage',_0x39e3e3['message'],_0x203542);_0xb08a6f(_0x33036b[_0xeb8e('0x15')](0x1f4,_0x39e3e3[_0xeb8e('0x17')]));});});};
\ No newline at end of file
+var _0x4cbc=['then','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','client','http','redis','defaults','socket.io-emitter','./chatMessage.socket','request','info','request\x20sent','debug','ChatMessage,\x20%s,\x20%s,\x20%s','stringify','error','ChatMessage,\x20%s,\x20%s','message','result','catch','CreateChatMessage','create','body','options'];(function(_0x392139,_0x42570c){var _0x5ee8db=function(_0x4584f0){while(--_0x4584f0){_0x392139['push'](_0x392139['shift']());}};_0x5ee8db(++_0x42570c);}(_0x4cbc,0x1f0));var _0xc4cb=function(_0x4b4111,_0x4f6d34){_0x4b4111=_0x4b4111-0x0;var _0x4851ab=_0x4cbc[_0x4b4111];return _0x4851ab;};'use strict';var _=require(_0xc4cb('0x0'));var util=require(_0xc4cb('0x1'));var moment=require(_0xc4cb('0x2'));var BPromise=require(_0xc4cb('0x3'));var rs=require(_0xc4cb('0x4'));var fs=require('fs');var Redis=require(_0xc4cb('0x5'));var db=require(_0xc4cb('0x6'))['db'];var utils=require(_0xc4cb('0x7'));var logger=require(_0xc4cb('0x8'))(_0xc4cb('0x9'));var config=require(_0xc4cb('0xa'));var jayson=require('jayson/promise');var client=jayson[_0xc4cb('0xb')][_0xc4cb('0xc')]({'port':0x232a});config[_0xc4cb('0xd')]=_[_0xc4cb('0xe')](config['redis'],{'host':'localhost','port':0x18eb});var socket=require(_0xc4cb('0xf'))(new Redis(config[_0xc4cb('0xd')]));require(_0xc4cb('0x10'))['register'](socket);function respondWithRpcPromise(_0x4f773d,_0xadf4d7,_0x29a605){return new BPromise(function(_0x4430e8,_0x1ddb60){return client[_0xc4cb('0x11')](_0x4f773d,_0x29a605)['then'](function(_0x11bcd5){logger[_0xc4cb('0x12')]('ChatMessage,\x20%s,\x20%s',_0xadf4d7,_0xc4cb('0x13'));logger[_0xc4cb('0x14')](_0xc4cb('0x15'),_0xadf4d7,_0xc4cb('0x13'),JSON[_0xc4cb('0x16')](_0x11bcd5));if(_0x11bcd5[_0xc4cb('0x17')]){if(_0x11bcd5[_0xc4cb('0x17')]['code']===0x1f4){logger[_0xc4cb('0x17')](_0xc4cb('0x18'),_0xadf4d7,_0x11bcd5[_0xc4cb('0x17')][_0xc4cb('0x19')]);return _0x1ddb60(_0x11bcd5[_0xc4cb('0x17')]['message']);}logger[_0xc4cb('0x17')](_0xc4cb('0x18'),_0xadf4d7,_0x11bcd5[_0xc4cb('0x17')][_0xc4cb('0x19')]);return _0x4430e8(_0x11bcd5[_0xc4cb('0x17')]['message']);}else{logger['info']('ChatMessage,\x20%s,\x20%s',_0xadf4d7,'request\x20sent');_0x4430e8(_0x11bcd5[_0xc4cb('0x1a')][_0xc4cb('0x19')]);}})[_0xc4cb('0x1b')](function(_0x54e3e8){logger[_0xc4cb('0x17')](_0xc4cb('0x18'),_0xadf4d7,_0x54e3e8);_0x1ddb60(_0x54e3e8);});});}exports[_0xc4cb('0x1c')]=function(_0x152e77){var _0x2d7b8e=this;return new Promise(function(_0x9c4fe7,_0x4e6e00){return db['ChatMessage'][_0xc4cb('0x1d')](_0x152e77[_0xc4cb('0x1e')],{'raw':_0x152e77[_0xc4cb('0x1f')]?_0x152e77['options']['raw']===undefined?!![]:![]:!![]})[_0xc4cb('0x20')](function(_0x5f12b2){logger[_0xc4cb('0x12')](_0xc4cb('0x1c'),_0x152e77);logger[_0xc4cb('0x14')](_0xc4cb('0x1c'),_0x152e77,JSON[_0xc4cb('0x16')](_0x5f12b2));_0x9c4fe7(_0x5f12b2);})['catch'](function(_0x474840){logger[_0xc4cb('0x17')](_0xc4cb('0x1c'),_0x474840[_0xc4cb('0x19')],_0x152e77);_0x4e6e00(_0x2d7b8e[_0xc4cb('0x17')](0x1f4,_0x474840[_0xc4cb('0x19')]));});});};
\ No newline at end of file
diff --git a/server/api/chatMessage/chatMessage.socket.js b/server/api/chatMessage/chatMessage.socket.js
index d57f778..bb8ae2d 100644
--- a/server/api/chatMessage/chatMessage.socket.js
+++ b/server/api/chatMessage/chatMessage.socket.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x0bde=['save','update','emit','removeListener','register','length','chatMessage:'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x0bde,0xe7));var _0xe0bd=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x0bde[_0x321bb2];return _0x9c12ed;};'use strict';var ChatMessageEvents=require('./chatMessage.events');var events=[_0xe0bd('0x0'),'remove',_0xe0bd('0x1')];function createListener(_0x3dc984,_0x1d8922){return function(_0x1e198a){_0x1d8922[_0xe0bd('0x2')](_0x3dc984,_0x1e198a);};}function removeListener(_0x5541b9,_0x34df88){return function(){ChatMessageEvents[_0xe0bd('0x3')](_0x5541b9,_0x34df88);};}exports[_0xe0bd('0x4')]=function(_0x3b712a){for(var _0x22bfd1=0x0,_0x26393f=events[_0xe0bd('0x5')];_0x22bfd1<_0x26393f;_0x22bfd1++){var _0x491dc7=events[_0x22bfd1];var _0x40b36a=createListener(_0xe0bd('0x6')+_0x491dc7,_0x3b712a);ChatMessageEvents['on'](_0x491dc7,_0x40b36a);}};
\ No newline at end of file
+var _0x3baf=['save','remove','update','emit','removeListener','register','chatMessage:','./chatMessage.events'];(function(_0x1b4b23,_0x5dd6d6){var _0x2a325b=function(_0x175462){while(--_0x175462){_0x1b4b23['push'](_0x1b4b23['shift']());}};_0x2a325b(++_0x5dd6d6);}(_0x3baf,0xf7));var _0xf3ba=function(_0x45bf48,_0x5dd33e){_0x45bf48=_0x45bf48-0x0;var _0x5299a0=_0x3baf[_0x45bf48];return _0x5299a0;};'use strict';var ChatMessageEvents=require(_0xf3ba('0x0'));var events=[_0xf3ba('0x1'),_0xf3ba('0x2'),_0xf3ba('0x3')];function createListener(_0x29bbc2,_0x22f9c0){return function(_0xfce22){_0x22f9c0[_0xf3ba('0x4')](_0x29bbc2,_0xfce22);};}function removeListener(_0x3e6058,_0x1ae6e6){return function(){ChatMessageEvents[_0xf3ba('0x5')](_0x3e6058,_0x1ae6e6);};}exports[_0xf3ba('0x6')]=function(_0x475268){for(var _0x2e6df2=0x0,_0x1284b7=events['length'];_0x2e6df2<_0x1284b7;_0x2e6df2++){var _0x579135=events[_0x2e6df2];var _0x5ab058=createListener(_0xf3ba('0x7')+_0x579135,_0x475268);ChatMessageEvents['on'](_0x579135,_0x5ab058);}};
\ No newline at end of file
diff --git a/server/api/chatMessage/index.js b/server/api/chatMessage/index.js
index f77551c..9d63df2 100644
--- a/server/api/chatMessage/index.js
+++ b/server/api/chatMessage/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x8b0a=['util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','./chatMessage.controller','isAuthenticated','index','get','/describe','describe','/:id','show','tracked','chat','chatmessage:create','create','update','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','multer'];(function(_0x3499c3,_0x390330){var _0x2a91ac=function(_0x4fee5b){while(--_0x4fee5b){_0x3499c3['push'](_0x3499c3['shift']());}};_0x2a91ac(++_0x390330);}(_0x8b0a,0x10d));var _0xa8b0=function(_0x1beeab,_0x31d168){_0x1beeab=_0x1beeab-0x0;var _0x2d3a86=_0x8b0a[_0x1beeab];return _0x2d3a86;};'use strict';var multer=require(_0xa8b0('0x0'));var util=require(_0xa8b0('0x1'));var path=require(_0xa8b0('0x2'));var timeout=require('connect-timeout');var express=require(_0xa8b0('0x3'));var router=express['Router']();var fs_extra=require(_0xa8b0('0x4'));var auth=require(_0xa8b0('0x5'));var interaction=require(_0xa8b0('0x6'));var config=require('../../config/environment');var controller=require(_0xa8b0('0x7'));router['get']('/',auth[_0xa8b0('0x8')](),controller[_0xa8b0('0x9')]);router[_0xa8b0('0xa')](_0xa8b0('0xb'),auth[_0xa8b0('0x8')](),controller[_0xa8b0('0xc')]);router[_0xa8b0('0xa')](_0xa8b0('0xd'),auth[_0xa8b0('0x8')](),controller[_0xa8b0('0xe')]);router['post']('/',auth[_0xa8b0('0x8')](),interaction[_0xa8b0('0xf')](_0xa8b0('0x10'),_0xa8b0('0x11')),controller[_0xa8b0('0x12')]);router['put'](_0xa8b0('0xd'),controller[_0xa8b0('0x13')]);router['put'](_0xa8b0('0x14'),auth['isAuthenticated'](),controller[_0xa8b0('0x15')]);router['put'](_0xa8b0('0x16'),auth[_0xa8b0('0x8')](),controller[_0xa8b0('0x17')]);router[_0xa8b0('0x18')]('/:id',auth[_0xa8b0('0x8')](),controller[_0xa8b0('0x19')]);module[_0xa8b0('0x1a')]=router;
\ No newline at end of file
+var _0x1b9f=['Router','fs-extra','../../components/interaction/service','../../config/environment','./chatMessage.controller','isAuthenticated','index','/describe','get','/:id','show','post','tracked','chat','put','update','/:id/accept','accept','/:id/reject','reject','destroy','exports','multer','util','express'];(function(_0x4066c2,_0xad48e8){var _0x3870a0=function(_0x5d591e){while(--_0x5d591e){_0x4066c2['push'](_0x4066c2['shift']());}};_0x3870a0(++_0xad48e8);}(_0x1b9f,0xde));var _0xf1b9=function(_0x192a44,_0x575f5e){_0x192a44=_0x192a44-0x0;var _0xc76623=_0x1b9f[_0x192a44];return _0xc76623;};'use strict';var multer=require(_0xf1b9('0x0'));var util=require(_0xf1b9('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xf1b9('0x2'));var router=express[_0xf1b9('0x3')]();var fs_extra=require(_0xf1b9('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xf1b9('0x5'));var config=require(_0xf1b9('0x6'));var controller=require(_0xf1b9('0x7'));router['get']('/',auth[_0xf1b9('0x8')](),controller[_0xf1b9('0x9')]);router['get'](_0xf1b9('0xa'),auth[_0xf1b9('0x8')](),controller['describe']);router[_0xf1b9('0xb')](_0xf1b9('0xc'),auth['isAuthenticated'](),controller[_0xf1b9('0xd')]);router[_0xf1b9('0xe')]('/',auth[_0xf1b9('0x8')](),interaction[_0xf1b9('0xf')](_0xf1b9('0x10'),'chatmessage:create'),controller['create']);router[_0xf1b9('0x11')](_0xf1b9('0xc'),controller[_0xf1b9('0x12')]);router[_0xf1b9('0x11')](_0xf1b9('0x13'),auth['isAuthenticated'](),controller[_0xf1b9('0x14')]);router[_0xf1b9('0x11')](_0xf1b9('0x15'),auth[_0xf1b9('0x8')](),controller[_0xf1b9('0x16')]);router['delete'](_0xf1b9('0xc'),auth['isAuthenticated'](),controller[_0xf1b9('0x17')]);module[_0xf1b9('0x18')]=router;
\ No newline at end of file
diff --git a/server/api/chatOfflineMessage/chatOfflineMessage.attributes.js b/server/api/chatOfflineMessage/chatOfflineMessage.attributes.js
index 2980608..2ea1097 100644
--- a/server/api/chatOfflineMessage/chatOfflineMessage.attributes.js
+++ b/server/api/chatOfflineMessage/chatOfflineMessage.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xb10b=['medium','sequelize','TEXT'];(function(_0x4056ba,_0x4eaf39){var _0x38c20c=function(_0x5e674b){while(--_0x5e674b){_0x4056ba['push'](_0x4056ba['shift']());}};_0x38c20c(++_0x4eaf39);}(_0xb10b,0x12a));var _0xbb10=function(_0x50a004,_0x193d84){_0x50a004=_0x50a004-0x0;var _0x5e9992=_0xb10b[_0x50a004];return _0x5e9992;};'use strict';var Sequelize=require(_0xbb10('0x0'));module['exports']={'body':{'type':Sequelize[_0xbb10('0x1')](_0xbb10('0x2')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xbb10('0x1')]('medium'),'allowNull':![]}};
\ No newline at end of file
+var _0xadb5=['medium','TEXT','exports'];(function(_0x3d769a,_0x209b11){var _0x253226=function(_0x5f56c7){while(--_0x5f56c7){_0x3d769a['push'](_0x3d769a['shift']());}};_0x253226(++_0x209b11);}(_0xadb5,0xad));var _0x5adb=function(_0x3934ff,_0x18e5f2){_0x3934ff=_0x3934ff-0x0;var _0x17d33c=_0xadb5[_0x3934ff];return _0x17d33c;};'use strict';var Sequelize=require('sequelize');module[_0x5adb('0x0')]={'body':{'type':Sequelize['TEXT'](_0x5adb('0x1')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x5adb('0x2')](_0x5adb('0x1')),'allowNull':![]}};
\ No newline at end of file
diff --git a/server/api/chatOfflineMessage/chatOfflineMessage.controller.js b/server/api/chatOfflineMessage/chatOfflineMessage.controller.js
index 7a9e435..591b625 100644
--- a/server/api/chatOfflineMessage/chatOfflineMessage.controller.js
+++ b/server/api/chatOfflineMessage/chatOfflineMessage.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x7a54=['filter','VIRTUAL','includeAll','include','findAll','rows','show','params','length','merge','options','find','catch','body','Attachment','join','server','attachments','offline-chat','basename','remove','describe','eml-format','rimraf','zip-dir','request-promise','moment','mustache','util','path','sox','to-csv','fs-extra','squel','crypto','desk.js','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','offset','undefined','count','limit','set','Content-Range','reject','save','update','then','destroy','error','stack','name','send','index','ChatOfflineMessage','fieldName','type','model','map','query','filters','intersection','attributes','fields','hasOwnProperty','nolimit','order','sort','where','pick'];(function(_0x3a6efd,_0x2a5102){var _0x487b9a=function(_0x104f89){while(--_0x104f89){_0x3a6efd['push'](_0x3a6efd['shift']());}};_0x487b9a(++_0x2a5102);}(_0x7a54,0x106));var _0x47a5=function(_0x491ae9,_0x381632){_0x491ae9=_0x491ae9-0x0;var _0x46d24e=_0x7a54[_0x491ae9];return _0x46d24e;};'use strict';var emlformat=require(_0x47a5('0x0'));var rimraf=require(_0x47a5('0x1'));var zipdir=require(_0x47a5('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x47a5('0x3'));var moment=require(_0x47a5('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x47a5('0x5'));var util=require(_0x47a5('0x6'));var path=require(_0x47a5('0x7'));var sox=require(_0x47a5('0x8'));var csv=require(_0x47a5('0x9'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x47a5('0xa'));var _=require('lodash');var squel=require(_0x47a5('0xb'));var crypto=require(_0x47a5('0xc'));var jsforce=require('jsforce');var deskjs=require(_0x47a5('0xd'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0x47a5('0xe'));var authService=require(_0x47a5('0xf'));var qs=require('../../components/parsers/qs');var as=require(_0x47a5('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x47a5('0x11'));var utils=require(_0x47a5('0x12'));var config=require(_0x47a5('0x13'));var licenseUtil=require(_0x47a5('0x14'));var db=require(_0x47a5('0x15'))['db'];function respondWithStatusCode(_0xd308b8,_0x1eae59){_0x1eae59=_0x1eae59||0xcc;return function(_0x5beb89){if(_0x5beb89){return _0xd308b8[_0x47a5('0x16')](_0x1eae59);}return _0xd308b8[_0x47a5('0x17')](_0x1eae59)[_0x47a5('0x18')]();};}function respondWithResult(_0x711793,_0x139f25){_0x139f25=_0x139f25||0xc8;return function(_0x620ee9){if(_0x620ee9){return _0x711793[_0x47a5('0x17')](_0x139f25)[_0x47a5('0x19')](_0x620ee9);}};}function respondWithFilteredResult(_0x4e99a8,_0x362359){return function(_0x11faf5){if(_0x11faf5){var _0x3b001e=typeof _0x362359[_0x47a5('0x1a')]===_0x47a5('0x1b')&&typeof _0x362359['limit']==='undefined';var _0x138bc0=_0x11faf5['count'];var _0x5247fd=_0x3b001e?0x0:_0x362359[_0x47a5('0x1a')];var _0xaf70a6=_0x3b001e?_0x11faf5[_0x47a5('0x1c')]:_0x362359[_0x47a5('0x1a')]+_0x362359[_0x47a5('0x1d')];var _0x12b98e;if(_0xaf70a6>=_0x138bc0){_0xaf70a6=_0x138bc0;_0x12b98e=0xc8;}else{_0x12b98e=0xce;}_0x4e99a8[_0x47a5('0x17')](_0x12b98e);return _0x4e99a8[_0x47a5('0x1e')](_0x47a5('0x1f'),_0x5247fd+'-'+_0xaf70a6+'/'+_0x138bc0)['json'](_0x11faf5);}return null;};}function patchUpdates(_0x1570bc){return function(_0xf160ba){try{jsonpatch['apply'](_0xf160ba,_0x1570bc,!![]);}catch(_0x2b0360){return BPromise[_0x47a5('0x20')](_0x2b0360);}return _0xf160ba[_0x47a5('0x21')]();};}function saveUpdates(_0x4c5910,_0xb8ae6c){return function(_0x2f142b){if(_0x2f142b){return _0x2f142b[_0x47a5('0x22')](_0x4c5910)[_0x47a5('0x23')](function(_0x5ef1b1){return _0x5ef1b1;});}return null;};}function removeEntity(_0xe2dea9,_0x385687){return function(_0x513981){if(_0x513981){return _0x513981[_0x47a5('0x24')]()[_0x47a5('0x23')](function(){_0xe2dea9[_0x47a5('0x17')](0xcc)[_0x47a5('0x18')]();});}};}function handleEntityNotFound(_0x3abd6a,_0x50bf17){return function(_0x53078a){if(!_0x53078a){_0x3abd6a[_0x47a5('0x16')](0x194);}return _0x53078a;};}function handleError(_0x5686db,_0x1ea9c8){_0x1ea9c8=_0x1ea9c8||0x1f4;return function(_0x5b6c4e){logger[_0x47a5('0x25')](_0x5b6c4e[_0x47a5('0x26')]);if(_0x5b6c4e[_0x47a5('0x27')]){delete _0x5b6c4e[_0x47a5('0x27')];}_0x5686db[_0x47a5('0x17')](_0x1ea9c8)[_0x47a5('0x28')](_0x5b6c4e);};}exports[_0x47a5('0x29')]=function(_0x136b14,_0x16631f){var _0x361bfa={},_0x1127f8={},_0x11a4fa={'count':0x0,'rows':[]};var _0x3ad507=_['map'](db[_0x47a5('0x2a')]['rawAttributes'],function(_0x2ef875){return{'name':_0x2ef875[_0x47a5('0x2b')],'type':_0x2ef875[_0x47a5('0x2c')]['key']};});_0x1127f8[_0x47a5('0x2d')]=_[_0x47a5('0x2e')](_0x3ad507,_0x47a5('0x27'));_0x1127f8[_0x47a5('0x2f')]=_['keys'](_0x136b14['query']);_0x1127f8[_0x47a5('0x30')]=_[_0x47a5('0x31')](_0x1127f8['model'],_0x1127f8['query']);_0x361bfa[_0x47a5('0x32')]=_[_0x47a5('0x31')](_0x1127f8['model'],qs[_0x47a5('0x33')](_0x136b14['query'][_0x47a5('0x33')]));_0x361bfa[_0x47a5('0x32')]=_0x361bfa['attributes']['length']?_0x361bfa[_0x47a5('0x32')]:_0x1127f8['model'];if(!_0x136b14[_0x47a5('0x2f')][_0x47a5('0x34')](_0x47a5('0x35'))){_0x361bfa['limit']=qs[_0x47a5('0x1d')](_0x136b14['query']['limit']);_0x361bfa[_0x47a5('0x1a')]=qs['offset'](_0x136b14[_0x47a5('0x2f')]['offset']);}_0x361bfa[_0x47a5('0x36')]=qs[_0x47a5('0x37')](_0x136b14[_0x47a5('0x2f')][_0x47a5('0x37')]);_0x361bfa[_0x47a5('0x38')]=qs[_0x47a5('0x30')](_[_0x47a5('0x39')](_0x136b14[_0x47a5('0x2f')],_0x1127f8[_0x47a5('0x30')]),_0x3ad507);if(_0x136b14['query'][_0x47a5('0x3a')]){_0x361bfa[_0x47a5('0x38')]=_['merge'](_0x361bfa[_0x47a5('0x38')],{'$or':_[_0x47a5('0x2e')](_0x3ad507,function(_0x1d4348){if(_0x1d4348['type']!==_0x47a5('0x3b')){var _0x10f660={};_0x10f660[_0x1d4348['name']]={'$like':'%'+_0x136b14[_0x47a5('0x2f')][_0x47a5('0x3a')]+'%'};return _0x10f660;}})});}_0x361bfa=_['merge']({},_0x361bfa,_0x136b14['options']);var _0x5ebd8c={'where':_0x361bfa[_0x47a5('0x38')]};return db['ChatOfflineMessage'][_0x47a5('0x1c')](_0x5ebd8c)[_0x47a5('0x23')](function(_0x301a85){_0x11a4fa[_0x47a5('0x1c')]=_0x301a85;if(_0x136b14[_0x47a5('0x2f')][_0x47a5('0x3c')]){_0x361bfa[_0x47a5('0x3d')]=[{'all':!![]}];}return db[_0x47a5('0x2a')][_0x47a5('0x3e')](_0x361bfa);})[_0x47a5('0x23')](function(_0x280500){_0x11a4fa[_0x47a5('0x3f')]=_0x280500;return _0x11a4fa;})[_0x47a5('0x23')](respondWithFilteredResult(_0x16631f,_0x361bfa))['catch'](handleError(_0x16631f,null));};exports[_0x47a5('0x40')]=function(_0x1c36fa,_0x331474){var _0x23bd8d={'raw':!![],'where':{'id':_0x1c36fa[_0x47a5('0x41')]['id']}},_0x586f4f={};_0x586f4f['model']=_['keys'](db['ChatOfflineMessage']['rawAttributes']);_0x586f4f[_0x47a5('0x2f')]=_['keys'](_0x1c36fa[_0x47a5('0x2f')]);_0x586f4f[_0x47a5('0x30')]=_[_0x47a5('0x31')](_0x586f4f['model'],_0x586f4f[_0x47a5('0x2f')]);_0x23bd8d[_0x47a5('0x32')]=_['intersection'](_0x586f4f['model'],qs[_0x47a5('0x33')](_0x1c36fa['query'][_0x47a5('0x33')]));_0x23bd8d[_0x47a5('0x32')]=_0x23bd8d[_0x47a5('0x32')][_0x47a5('0x42')]?_0x23bd8d[_0x47a5('0x32')]:_0x586f4f[_0x47a5('0x2d')];if(_0x1c36fa[_0x47a5('0x2f')][_0x47a5('0x3c')]){_0x23bd8d[_0x47a5('0x3d')]=[{'all':!![]}];}_0x23bd8d=_[_0x47a5('0x43')]({},_0x23bd8d,_0x1c36fa[_0x47a5('0x44')]);return db[_0x47a5('0x2a')][_0x47a5('0x45')](_0x23bd8d)[_0x47a5('0x23')](handleEntityNotFound(_0x331474,null))[_0x47a5('0x23')](respondWithResult(_0x331474,null))[_0x47a5('0x46')](handleError(_0x331474,null));};exports['create']=function(_0x2d38de,_0x23bb04){return db['ChatOfflineMessage']['create'](_0x2d38de[_0x47a5('0x47')],{})['then'](respondWithResult(_0x23bb04,0xc9))[_0x47a5('0x46')](handleError(_0x23bb04,null));};exports[_0x47a5('0x22')]=function(_0x54c35f,_0x4f62d3){if(_0x54c35f[_0x47a5('0x47')]['id']){delete _0x54c35f['body']['id'];}return db[_0x47a5('0x2a')][_0x47a5('0x45')]({'where':{'id':_0x54c35f[_0x47a5('0x41')]['id']}})[_0x47a5('0x23')](handleEntityNotFound(_0x4f62d3,null))[_0x47a5('0x23')](saveUpdates(_0x54c35f[_0x47a5('0x47')],null))[_0x47a5('0x23')](respondWithResult(_0x4f62d3,null))['catch'](handleError(_0x4f62d3,null));};exports['destroy']=function(_0x2dd1db,_0x411230){return db[_0x47a5('0x48')][_0x47a5('0x3e')]({'where':{'ChatOfflineMessageId':_0x2dd1db[_0x47a5('0x41')]['id']},'raw':!![]})[_0x47a5('0x23')](function(_0x249de5){_0x249de5['forEach'](function(_0x45cca5){var _0x1c9a62=path[_0x47a5('0x49')](config['root'],_0x47a5('0x4a'),'files',_0x47a5('0x4b'),_0x47a5('0x4c'),_0x45cca5[_0x47a5('0x4d')]);var _0xf03bd5=fs['existsSync'](_0x1c9a62);if(_0xf03bd5)fs_extra[_0x47a5('0x4e')](_0x1c9a62);});})[_0x47a5('0x23')](function(){return db[_0x47a5('0x2a')][_0x47a5('0x45')]({'where':{'id':_0x2dd1db[_0x47a5('0x41')]['id']},'individualHooks':!![]});})[_0x47a5('0x23')](handleEntityNotFound(_0x411230,null))[_0x47a5('0x23')](removeEntity(_0x411230,null))['catch'](handleError(_0x411230,null));};exports[_0x47a5('0x4f')]=function(_0x43721b,_0x187d7e){return db[_0x47a5('0x2a')][_0x47a5('0x4f')]()[_0x47a5('0x23')](respondWithResult(_0x187d7e,null))['catch'](handleError(_0x187d7e,null));};
\ No newline at end of file
+var _0x9957=['sendStatus','status','json','undefined','count','offset','limit','set','Content-Range','reject','save','then','destroy','error','name','send','index','fieldName','type','key','model','map','keys','filters','intersection','query','attributes','fields','length','hasOwnProperty','nolimit','sort','where','filter','merge','VIRTUAL','options','ChatOfflineMessage','findAll','rows','show','rawAttributes','includeAll','include','find','create','catch','body','params','Attachment','forEach','join','root','server','files','attachments','basename','existsSync','remove','describe','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','sox','to-csv','ejs','fs-extra','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/license/util','../../mysqldb'];(function(_0x31c15e,_0x243daf){var _0x5a940f=function(_0x426bb3){while(--_0x426bb3){_0x31c15e['push'](_0x31c15e['shift']());}};_0x5a940f(++_0x243daf);}(_0x9957,0x93));var _0x7995=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0x9957[_0x1facfa];return _0x9ec701;};'use strict';var emlformat=require(_0x7995('0x0'));var rimraf=require(_0x7995('0x1'));var zipdir=require(_0x7995('0x2'));var jsonpatch=require(_0x7995('0x3'));var rp=require('request-promise');var moment=require(_0x7995('0x4'));var BPromise=require(_0x7995('0x5'));var Mustache=require(_0x7995('0x6'));var util=require(_0x7995('0x7'));var path=require('path');var sox=require(_0x7995('0x8'));var csv=require(_0x7995('0x9'));var ejs=require(_0x7995('0xa'));var fs=require('fs');var fs_extra=require(_0x7995('0xb'));var _=require(_0x7995('0xc'));var squel=require(_0x7995('0xd'));var crypto=require('crypto');var jsforce=require(_0x7995('0xe'));var deskjs=require(_0x7995('0xf'));var toCsv=require('to-csv');var querystring=require(_0x7995('0x10'));var Papa=require(_0x7995('0x11'));var Redis=require(_0x7995('0x12'));var authService=require(_0x7995('0x13'));var qs=require(_0x7995('0x14'));var as=require(_0x7995('0x15'));var hardwareService=require(_0x7995('0x16'));var logger=require('../../config/logger')(_0x7995('0x17'));var utils=require(_0x7995('0x18'));var config=require('../../config/environment');var licenseUtil=require(_0x7995('0x19'));var db=require(_0x7995('0x1a'))['db'];function respondWithStatusCode(_0x19a27e,_0x385f00){_0x385f00=_0x385f00||0xcc;return function(_0x281576){if(_0x281576){return _0x19a27e[_0x7995('0x1b')](_0x385f00);}return _0x19a27e[_0x7995('0x1c')](_0x385f00)['end']();};}function respondWithResult(_0x58f5ad,_0x2b4e94){_0x2b4e94=_0x2b4e94||0xc8;return function(_0x2233dd){if(_0x2233dd){return _0x58f5ad[_0x7995('0x1c')](_0x2b4e94)[_0x7995('0x1d')](_0x2233dd);}};}function respondWithFilteredResult(_0x3f1d3e,_0x1a5310){return function(_0x2202ce){if(_0x2202ce){var _0x41cbf0=typeof _0x1a5310['offset']===_0x7995('0x1e')&&typeof _0x1a5310['limit']===_0x7995('0x1e');var _0x37f297=_0x2202ce[_0x7995('0x1f')];var _0x291317=_0x41cbf0?0x0:_0x1a5310[_0x7995('0x20')];var _0x37a7d4=_0x41cbf0?_0x2202ce['count']:_0x1a5310['offset']+_0x1a5310[_0x7995('0x21')];var _0x5e6f90;if(_0x37a7d4>=_0x37f297){_0x37a7d4=_0x37f297;_0x5e6f90=0xc8;}else{_0x5e6f90=0xce;}_0x3f1d3e['status'](_0x5e6f90);return _0x3f1d3e[_0x7995('0x22')](_0x7995('0x23'),_0x291317+'-'+_0x37a7d4+'/'+_0x37f297)['json'](_0x2202ce);}return null;};}function patchUpdates(_0x3a9b54){return function(_0x51f276){try{jsonpatch['apply'](_0x51f276,_0x3a9b54,!![]);}catch(_0x3e4c54){return BPromise[_0x7995('0x24')](_0x3e4c54);}return _0x51f276[_0x7995('0x25')]();};}function saveUpdates(_0x1a8568,_0x460924){return function(_0x1c278a){if(_0x1c278a){return _0x1c278a['update'](_0x1a8568)[_0x7995('0x26')](function(_0x46ee4b){return _0x46ee4b;});}return null;};}function removeEntity(_0x204507,_0x285437){return function(_0x563799){if(_0x563799){return _0x563799[_0x7995('0x27')]()[_0x7995('0x26')](function(){_0x204507[_0x7995('0x1c')](0xcc)['end']();});}};}function handleEntityNotFound(_0x39df42,_0x34e70c){return function(_0x401dc3){if(!_0x401dc3){_0x39df42[_0x7995('0x1b')](0x194);}return _0x401dc3;};}function handleError(_0x3a3fcf,_0x2a307e){_0x2a307e=_0x2a307e||0x1f4;return function(_0x56691a){logger[_0x7995('0x28')](_0x56691a['stack']);if(_0x56691a[_0x7995('0x29')]){delete _0x56691a[_0x7995('0x29')];}_0x3a3fcf[_0x7995('0x1c')](_0x2a307e)[_0x7995('0x2a')](_0x56691a);};}exports[_0x7995('0x2b')]=function(_0x4b6f99,_0x9b2a15){var _0x514445={},_0x456a28={},_0x3250e0={'count':0x0,'rows':[]};var _0x4253e5=_['map'](db['ChatOfflineMessage']['rawAttributes'],function(_0x3573be){return{'name':_0x3573be[_0x7995('0x2c')],'type':_0x3573be[_0x7995('0x2d')][_0x7995('0x2e')]};});_0x456a28[_0x7995('0x2f')]=_[_0x7995('0x30')](_0x4253e5,'name');_0x456a28['query']=_[_0x7995('0x31')](_0x4b6f99['query']);_0x456a28[_0x7995('0x32')]=_[_0x7995('0x33')](_0x456a28[_0x7995('0x2f')],_0x456a28[_0x7995('0x34')]);_0x514445[_0x7995('0x35')]=_['intersection'](_0x456a28[_0x7995('0x2f')],qs[_0x7995('0x36')](_0x4b6f99['query']['fields']));_0x514445['attributes']=_0x514445[_0x7995('0x35')][_0x7995('0x37')]?_0x514445['attributes']:_0x456a28[_0x7995('0x2f')];if(!_0x4b6f99['query'][_0x7995('0x38')](_0x7995('0x39'))){_0x514445[_0x7995('0x21')]=qs['limit'](_0x4b6f99['query'][_0x7995('0x21')]);_0x514445['offset']=qs['offset'](_0x4b6f99[_0x7995('0x34')][_0x7995('0x20')]);}_0x514445['order']=qs[_0x7995('0x3a')](_0x4b6f99[_0x7995('0x34')][_0x7995('0x3a')]);_0x514445[_0x7995('0x3b')]=qs[_0x7995('0x32')](_['pick'](_0x4b6f99[_0x7995('0x34')],_0x456a28[_0x7995('0x32')]),_0x4253e5);if(_0x4b6f99[_0x7995('0x34')][_0x7995('0x3c')]){_0x514445['where']=_[_0x7995('0x3d')](_0x514445[_0x7995('0x3b')],{'$or':_[_0x7995('0x30')](_0x4253e5,function(_0xe5ea43){if(_0xe5ea43[_0x7995('0x2d')]!==_0x7995('0x3e')){var _0x5688a1={};_0x5688a1[_0xe5ea43[_0x7995('0x29')]]={'$like':'%'+_0x4b6f99[_0x7995('0x34')][_0x7995('0x3c')]+'%'};return _0x5688a1;}})});}_0x514445=_[_0x7995('0x3d')]({},_0x514445,_0x4b6f99[_0x7995('0x3f')]);var _0x298fc2={'where':_0x514445[_0x7995('0x3b')]};return db[_0x7995('0x40')][_0x7995('0x1f')](_0x298fc2)[_0x7995('0x26')](function(_0x6fe77b){_0x3250e0[_0x7995('0x1f')]=_0x6fe77b;if(_0x4b6f99[_0x7995('0x34')]['includeAll']){_0x514445['include']=[{'all':!![]}];}return db[_0x7995('0x40')][_0x7995('0x41')](_0x514445);})['then'](function(_0x4b0855){_0x3250e0[_0x7995('0x42')]=_0x4b0855;return _0x3250e0;})['then'](respondWithFilteredResult(_0x9b2a15,_0x514445))['catch'](handleError(_0x9b2a15,null));};exports[_0x7995('0x43')]=function(_0x36e28b,_0x35c8ff){var _0x576b96={'raw':!![],'where':{'id':_0x36e28b['params']['id']}},_0x46ac4f={};_0x46ac4f[_0x7995('0x2f')]=_['keys'](db['ChatOfflineMessage'][_0x7995('0x44')]);_0x46ac4f[_0x7995('0x34')]=_[_0x7995('0x31')](_0x36e28b[_0x7995('0x34')]);_0x46ac4f['filters']=_[_0x7995('0x33')](_0x46ac4f[_0x7995('0x2f')],_0x46ac4f[_0x7995('0x34')]);_0x576b96[_0x7995('0x35')]=_['intersection'](_0x46ac4f['model'],qs[_0x7995('0x36')](_0x36e28b['query'][_0x7995('0x36')]));_0x576b96['attributes']=_0x576b96[_0x7995('0x35')]['length']?_0x576b96[_0x7995('0x35')]:_0x46ac4f[_0x7995('0x2f')];if(_0x36e28b['query'][_0x7995('0x45')]){_0x576b96[_0x7995('0x46')]=[{'all':!![]}];}_0x576b96=_[_0x7995('0x3d')]({},_0x576b96,_0x36e28b[_0x7995('0x3f')]);return db['ChatOfflineMessage'][_0x7995('0x47')](_0x576b96)[_0x7995('0x26')](handleEntityNotFound(_0x35c8ff,null))[_0x7995('0x26')](respondWithResult(_0x35c8ff,null))['catch'](handleError(_0x35c8ff,null));};exports[_0x7995('0x48')]=function(_0x44f516,_0x511567){return db[_0x7995('0x40')][_0x7995('0x48')](_0x44f516['body'],{})[_0x7995('0x26')](respondWithResult(_0x511567,0xc9))[_0x7995('0x49')](handleError(_0x511567,null));};exports['update']=function(_0x3d1dbb,_0x5843ba){if(_0x3d1dbb[_0x7995('0x4a')]['id']){delete _0x3d1dbb[_0x7995('0x4a')]['id'];}return db[_0x7995('0x40')][_0x7995('0x47')]({'where':{'id':_0x3d1dbb[_0x7995('0x4b')]['id']}})[_0x7995('0x26')](handleEntityNotFound(_0x5843ba,null))[_0x7995('0x26')](saveUpdates(_0x3d1dbb['body'],null))[_0x7995('0x26')](respondWithResult(_0x5843ba,null))[_0x7995('0x49')](handleError(_0x5843ba,null));};exports[_0x7995('0x27')]=function(_0x4ffc8a,_0x19da63){return db[_0x7995('0x4c')][_0x7995('0x41')]({'where':{'ChatOfflineMessageId':_0x4ffc8a['params']['id']},'raw':!![]})['then'](function(_0x5a592e){_0x5a592e[_0x7995('0x4d')](function(_0x1fd1ca){var _0x4cf5db=path[_0x7995('0x4e')](config[_0x7995('0x4f')],_0x7995('0x50'),_0x7995('0x51'),_0x7995('0x52'),'offline-chat',_0x1fd1ca[_0x7995('0x53')]);var _0x4ab09f=fs[_0x7995('0x54')](_0x4cf5db);if(_0x4ab09f)fs_extra[_0x7995('0x55')](_0x4cf5db);});})[_0x7995('0x26')](function(){return db['ChatOfflineMessage']['find']({'where':{'id':_0x4ffc8a['params']['id']},'individualHooks':!![]});})['then'](handleEntityNotFound(_0x19da63,null))[_0x7995('0x26')](removeEntity(_0x19da63,null))[_0x7995('0x49')](handleError(_0x19da63,null));};exports[_0x7995('0x56')]=function(_0x150261,_0x1d957e){return db[_0x7995('0x40')][_0x7995('0x56')]()[_0x7995('0x26')](respondWithResult(_0x1d957e,null))[_0x7995('0x49')](handleError(_0x1d957e,null));};
\ No newline at end of file
diff --git a/server/api/chatOfflineMessage/chatOfflineMessage.events.js b/server/api/chatOfflineMessage/chatOfflineMessage.events.js
index b1c78fd..8397493 100644
--- a/server/api/chatOfflineMessage/chatOfflineMessage.events.js
+++ b/server/api/chatOfflineMessage/chatOfflineMessage.events.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xb30f=['remove','emit','hasOwnProperty','hook','events','../../mysqldb','ChatOfflineMessage','setMaxListeners','save'];(function(_0x263b7b,_0x29a6e4){var _0x49bcf6=function(_0x5ddfe7){while(--_0x5ddfe7){_0x263b7b['push'](_0x263b7b['shift']());}};_0x49bcf6(++_0x29a6e4);}(_0xb30f,0x109));var _0xfb30=function(_0x45b479,_0x3e6574){_0x45b479=_0x45b479-0x0;var _0x1c3cbe=_0xb30f[_0x45b479];return _0x1c3cbe;};'use strict';var EventEmitter=require(_0xfb30('0x0'));var ChatOfflineMessage=require(_0xfb30('0x1'))['db'][_0xfb30('0x2')];var ChatOfflineMessageEvents=new EventEmitter();ChatOfflineMessageEvents[_0xfb30('0x3')](0x0);var events={'afterCreate':_0xfb30('0x4'),'afterUpdate':'update','afterDestroy':_0xfb30('0x5')};function emitEvent(_0x1b28df){return function(_0x228bc2,_0x49c38d,_0x12285b){ChatOfflineMessageEvents[_0xfb30('0x6')](_0x1b28df+':'+_0x228bc2['id'],_0x228bc2);ChatOfflineMessageEvents[_0xfb30('0x6')](_0x1b28df,_0x228bc2);_0x12285b(null);};}for(var e in events){if(events[_0xfb30('0x7')](e)){var event=events[e];ChatOfflineMessage[_0xfb30('0x8')](e,emitEvent(event));}}module['exports']=ChatOfflineMessageEvents;
\ No newline at end of file
+var _0x1623=['emit','hasOwnProperty','exports','events','setMaxListeners','save','update','remove'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0x1623,0xab));var _0x3162=function(_0x4a24b3,_0x240ac1){_0x4a24b3=_0x4a24b3-0x0;var _0x58f727=_0x1623[_0x4a24b3];return _0x58f727;};'use strict';var EventEmitter=require(_0x3162('0x0'));var ChatOfflineMessage=require('../../mysqldb')['db']['ChatOfflineMessage'];var ChatOfflineMessageEvents=new EventEmitter();ChatOfflineMessageEvents[_0x3162('0x1')](0x0);var events={'afterCreate':_0x3162('0x2'),'afterUpdate':_0x3162('0x3'),'afterDestroy':_0x3162('0x4')};function emitEvent(_0x428dd7){return function(_0x4ce2bd,_0x5d49d0,_0x7a4559){ChatOfflineMessageEvents['emit'](_0x428dd7+':'+_0x4ce2bd['id'],_0x4ce2bd);ChatOfflineMessageEvents[_0x3162('0x5')](_0x428dd7,_0x4ce2bd);_0x7a4559(null);};}for(var e in events){if(events[_0x3162('0x6')](e)){var event=events[e];ChatOfflineMessage['hook'](e,emitEvent(event));}}module[_0x3162('0x7')]=ChatOfflineMessageEvents;
\ No newline at end of file
diff --git a/server/api/chatOfflineMessage/chatOfflineMessage.model.js b/server/api/chatOfflineMessage/chatOfflineMessage.model.js
index 835cbba..47e3093 100644
--- a/server/api/chatOfflineMessage/chatOfflineMessage.model.js
+++ b/server/api/chatOfflineMessage/chatOfflineMessage.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x8b6a=['ChatOfflineMessage','chat_offline_messages','utf8mb4_unicode_ci','./chatOfflineMessage.attributes','define'];(function(_0x1d30a3,_0x5f428c){var _0x32bba1=function(_0x5a60cc){while(--_0x5a60cc){_0x1d30a3['push'](_0x1d30a3['shift']());}};_0x32bba1(++_0x5f428c);}(_0x8b6a,0x152));var _0xa8b6=function(_0x427a41,_0x4ece17){_0x427a41=_0x427a41-0x0;var _0x5b5192=_0x8b6a[_0x427a41];return _0x5b5192;};'use strict';var attributes=require(_0xa8b6('0x0'));module['exports']=function(_0x4ad499){return _0x4ad499[_0xa8b6('0x1')](_0xa8b6('0x2'),attributes,{'tableName':_0xa8b6('0x3'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0xa8b6('0x4')});};
\ No newline at end of file
+var _0xba2d=['utf8mb4','./chatOfflineMessage.attributes','define','ChatOfflineMessage'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xba2d,0x75));var _0xdba2=function(_0x5e474a,_0x412e28){_0x5e474a=_0x5e474a-0x0;var _0x34cf01=_0xba2d[_0x5e474a];return _0x34cf01;};'use strict';var attributes=require(_0xdba2('0x0'));module['exports']=function(_0x1be330){return _0x1be330[_0xdba2('0x1')](_0xdba2('0x2'),attributes,{'tableName':'chat_offline_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xdba2('0x3'),'collate':'utf8mb4_unicode_ci'});};
\ No newline at end of file
diff --git a/server/api/chatOfflineMessage/chatOfflineMessage.rpc.js b/server/api/chatOfflineMessage/chatOfflineMessage.rpc.js
index 40f3176..d751f74 100644
--- a/server/api/chatOfflineMessage/chatOfflineMessage.rpc.js
+++ b/server/api/chatOfflineMessage/chatOfflineMessage.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xd679=['ioredis','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','request','then','info','ChatOfflineMessage,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','catch','lodash','bluebird','randomstring'];(function(_0x1fb957,_0x572670){var _0x3f4d8=function(_0x239c0d){while(--_0x239c0d){_0x1fb957['push'](_0x1fb957['shift']());}};_0x3f4d8(++_0x572670);}(_0xd679,0x14d));var _0x9d67=function(_0x8d31cd,_0x3d0fab){_0x8d31cd=_0x8d31cd-0x0;var _0x3135de=_0xd679[_0x8d31cd];return _0x3135de;};'use strict';var _=require(_0x9d67('0x0'));var util=require('util');var moment=require('moment');var BPromise=require(_0x9d67('0x1'));var rs=require(_0x9d67('0x2'));var fs=require('fs');var Redis=require(_0x9d67('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x9d67('0x4'));var logger=require(_0x9d67('0x5'))('rpc');var config=require(_0x9d67('0x6'));var jayson=require(_0x9d67('0x7'));var client=jayson[_0x9d67('0x8')][_0x9d67('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x1e4880,_0x5d1dae,_0x15f829){return new BPromise(function(_0x3a3633,_0x293729){return client[_0x9d67('0xa')](_0x1e4880,_0x15f829)[_0x9d67('0xb')](function(_0x2b0311){logger[_0x9d67('0xc')](_0x9d67('0xd'),_0x5d1dae,_0x9d67('0xe'));logger[_0x9d67('0xf')]('ChatOfflineMessage,\x20%s,\x20%s,\x20%s',_0x5d1dae,_0x9d67('0xe'),JSON[_0x9d67('0x10')](_0x2b0311));if(_0x2b0311[_0x9d67('0x11')]){if(_0x2b0311[_0x9d67('0x11')][_0x9d67('0x12')]===0x1f4){logger[_0x9d67('0x11')](_0x9d67('0xd'),_0x5d1dae,_0x2b0311[_0x9d67('0x11')][_0x9d67('0x13')]);return _0x293729(_0x2b0311['error']['message']);}logger[_0x9d67('0x11')](_0x9d67('0xd'),_0x5d1dae,_0x2b0311[_0x9d67('0x11')][_0x9d67('0x13')]);return _0x3a3633(_0x2b0311[_0x9d67('0x11')]['message']);}else{logger[_0x9d67('0xc')]('ChatOfflineMessage,\x20%s,\x20%s',_0x5d1dae,_0x9d67('0xe'));_0x3a3633(_0x2b0311['result'][_0x9d67('0x13')]);}})[_0x9d67('0x14')](function(_0x434bb8){logger[_0x9d67('0x11')]('ChatOfflineMessage,\x20%s,\x20%s',_0x5d1dae,_0x434bb8);_0x293729(_0x434bb8);});});}
\ No newline at end of file
+var _0x5693=['error','message','result','catch','lodash','util','moment','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','jayson/promise','client','request','then','info','ChatOfflineMessage,\x20%s,\x20%s','request\x20sent','debug','ChatOfflineMessage,\x20%s,\x20%s,\x20%s','stringify'];(function(_0x3f8084,_0x5c9c82){var _0x5d9d6c=function(_0x21d927){while(--_0x21d927){_0x3f8084['push'](_0x3f8084['shift']());}};_0x5d9d6c(++_0x5c9c82);}(_0x5693,0x1d2));var _0x3569=function(_0x2d283c,_0x1702d3){_0x2d283c=_0x2d283c-0x0;var _0xa8fbc0=_0x5693[_0x2d283c];return _0xa8fbc0;};'use strict';var _=require(_0x3569('0x0'));var util=require(_0x3569('0x1'));var moment=require(_0x3569('0x2'));var BPromise=require('bluebird');var rs=require(_0x3569('0x3'));var fs=require('fs');var Redis=require(_0x3569('0x4'));var db=require(_0x3569('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0x3569('0x6'))(_0x3569('0x7'));var config=require('../../config/environment');var jayson=require(_0x3569('0x8'));var client=jayson[_0x3569('0x9')]['http']({'port':0x232a});function respondWithRpcPromise(_0x369115,_0x351144,_0x243b6b){return new BPromise(function(_0xed9865,_0x2ed762){return client[_0x3569('0xa')](_0x369115,_0x243b6b)[_0x3569('0xb')](function(_0x15ae21){logger[_0x3569('0xc')](_0x3569('0xd'),_0x351144,_0x3569('0xe'));logger[_0x3569('0xf')](_0x3569('0x10'),_0x351144,'request\x20sent',JSON[_0x3569('0x11')](_0x15ae21));if(_0x15ae21['error']){if(_0x15ae21[_0x3569('0x12')]['code']===0x1f4){logger[_0x3569('0x12')](_0x3569('0xd'),_0x351144,_0x15ae21[_0x3569('0x12')][_0x3569('0x13')]);return _0x2ed762(_0x15ae21[_0x3569('0x12')][_0x3569('0x13')]);}logger[_0x3569('0x12')](_0x3569('0xd'),_0x351144,_0x15ae21[_0x3569('0x12')][_0x3569('0x13')]);return _0xed9865(_0x15ae21[_0x3569('0x12')][_0x3569('0x13')]);}else{logger['info'](_0x3569('0xd'),_0x351144,_0x3569('0xe'));_0xed9865(_0x15ae21[_0x3569('0x14')][_0x3569('0x13')]);}})[_0x3569('0x15')](function(_0x4a35d8){logger[_0x3569('0x12')](_0x3569('0xd'),_0x351144,_0x4a35d8);_0x2ed762(_0x4a35d8);});});}
\ No newline at end of file
diff --git a/server/api/chatOfflineMessage/index.js b/server/api/chatOfflineMessage/index.js
index d971cff..0033dd4 100644
--- a/server/api/chatOfflineMessage/index.js
+++ b/server/api/chatOfflineMessage/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x8117=['/describe','/:id','show','post','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated'];(function(_0x2b7d83,_0x539c5f){var _0x5dbe6a=function(_0x2c1792){while(--_0x2c1792){_0x2b7d83['push'](_0x2b7d83['shift']());}};_0x5dbe6a(++_0x539c5f);}(_0x8117,0x1b7));var _0x7811=function(_0x5acaf8,_0x219381){_0x5acaf8=_0x5acaf8-0x0;var _0x4b983c=_0x8117[_0x5acaf8];return _0x4b983c;};'use strict';var multer=require(_0x7811('0x0'));var util=require(_0x7811('0x1'));var path=require(_0x7811('0x2'));var timeout=require(_0x7811('0x3'));var express=require(_0x7811('0x4'));var router=express[_0x7811('0x5')]();var fs_extra=require(_0x7811('0x6'));var auth=require(_0x7811('0x7'));var interaction=require(_0x7811('0x8'));var config=require('../../config/environment');var controller=require('./chatOfflineMessage.controller');router[_0x7811('0x9')]('/',auth[_0x7811('0xa')](),controller['index']);router[_0x7811('0x9')](_0x7811('0xb'),auth[_0x7811('0xa')](),controller['describe']);router[_0x7811('0x9')](_0x7811('0xc'),auth[_0x7811('0xa')](),controller[_0x7811('0xd')]);router[_0x7811('0xe')]('/',auth[_0x7811('0xa')](),controller['create']);router['put']('/:id',auth[_0x7811('0xa')](),controller['update']);router[_0x7811('0xf')]('/:id',auth[_0x7811('0xa')](),controller[_0x7811('0x10')]);module[_0x7811('0x11')]=router;
\ No newline at end of file
+var _0xfa51=['../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','get','isAuthenticated','index','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','Router','fs-extra'];(function(_0x1eee7c,_0x2be3f4){var _0x17e521=function(_0x38e5a1){while(--_0x38e5a1){_0x1eee7c['push'](_0x1eee7c['shift']());}};_0x17e521(++_0x2be3f4);}(_0xfa51,0x7f));var _0x1fa5=function(_0x5225be,_0x3edfb1){_0x5225be=_0x5225be-0x0;var _0x52eeb9=_0xfa51[_0x5225be];return _0x52eeb9;};'use strict';var multer=require(_0x1fa5('0x0'));var util=require('util');var path=require(_0x1fa5('0x1'));var timeout=require(_0x1fa5('0x2'));var express=require('express');var router=express[_0x1fa5('0x3')]();var fs_extra=require(_0x1fa5('0x4'));var auth=require(_0x1fa5('0x5'));var interaction=require(_0x1fa5('0x6'));var config=require(_0x1fa5('0x7'));var controller=require(_0x1fa5('0x8'));router[_0x1fa5('0x9')]('/',auth[_0x1fa5('0xa')](),controller[_0x1fa5('0xb')]);router[_0x1fa5('0x9')]('/describe',auth[_0x1fa5('0xa')](),controller[_0x1fa5('0xc')]);router[_0x1fa5('0x9')](_0x1fa5('0xd'),auth['isAuthenticated'](),controller[_0x1fa5('0xe')]);router[_0x1fa5('0xf')]('/',auth[_0x1fa5('0xa')](),controller[_0x1fa5('0x10')]);router[_0x1fa5('0x11')](_0x1fa5('0xd'),auth[_0x1fa5('0xa')](),controller[_0x1fa5('0x12')]);router[_0x1fa5('0x13')]('/:id',auth[_0x1fa5('0xa')](),controller[_0x1fa5('0x14')]);module[_0x1fa5('0x15')]=router;
\ No newline at end of file
diff --git a/server/api/chatProactiveAction/chatProactiveAction.attributes.js b/server/api/chatProactiveAction/chatProactiveAction.attributes.js
index 75caa0d..6de40f5 100644
--- a/server/api/chatProactiveAction/chatProactiveAction.attributes.js
+++ b/server/api/chatProactiveAction/chatProactiveAction.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x8f6a=['exports','ENUM','timeout','STRING','INTEGER','sequelize'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x8f6a,0x9b));var _0xa8f6=function(_0x559619,_0x2b0029){_0x559619=_0x559619-0x0;var _0x32b9ec=_0x8f6a[_0x559619];return _0x32b9ec;};'use strict';var Sequelize=require(_0xa8f6('0x0'));module[_0xa8f6('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'type':{'type':Sequelize[_0xa8f6('0x2')]('mouseOver',_0xa8f6('0x3')),'defaultValue':'mouseOver'},'selector':{'type':Sequelize[_0xa8f6('0x4')]},'timeout':{'type':Sequelize[_0xa8f6('0x5')]}};
\ No newline at end of file
+var _0x35bf=['STRING','mouseOver','timeout','INTEGER','sequelize','exports'];(function(_0x5adeb3,_0x107c80){var _0x8bab71=function(_0x3590a6){while(--_0x3590a6){_0x5adeb3['push'](_0x5adeb3['shift']());}};_0x8bab71(++_0x107c80);}(_0x35bf,0xa0));var _0xf35b=function(_0x5e3914,_0x35c594){_0x5e3914=_0x5e3914-0x0;var _0x1d578e=_0x35bf[_0x5e3914];return _0x1d578e;};'use strict';var Sequelize=require(_0xf35b('0x0'));module[_0xf35b('0x1')]={'name':{'type':Sequelize[_0xf35b('0x2')],'allowNull':![]},'type':{'type':Sequelize['ENUM'](_0xf35b('0x3'),_0xf35b('0x4')),'defaultValue':_0xf35b('0x3')},'selector':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0xf35b('0x5')]}};
\ No newline at end of file
diff --git a/server/api/chatProactiveAction/chatProactiveAction.controller.js b/server/api/chatProactiveAction/chatProactiveAction.controller.js
index 2b8e00b..50f54ec 100644
--- a/server/api/chatProactiveAction/chatProactiveAction.controller.js
+++ b/server/api/chatProactiveAction/chatProactiveAction.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x1666=['bluebird','mustache','util','path','sox','ejs','fs-extra','lodash','squel','crypto','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','json','offset','undefined','limit','count','set','Content-Range','apply','reject','save','update','then','end','error','stack','name','send','params','model','keys','ChatProactiveAction','filters','intersection','query','attributes','fields','length','merge','options','find','create','catch','body','eml-format','rimraf','fast-json-patch','request-promise','moment'];(function(_0x5ef161,_0x27d16c){var _0x1c6e9e=function(_0x8fc2a6){while(--_0x8fc2a6){_0x5ef161['push'](_0x5ef161['shift']());}};_0x1c6e9e(++_0x27d16c);}(_0x1666,0x75));var _0x6166=function(_0x315a05,_0x5b5aac){_0x315a05=_0x315a05-0x0;var _0x19579e=_0x1666[_0x315a05];return _0x19579e;};'use strict';var emlformat=require(_0x6166('0x0'));var rimraf=require(_0x6166('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x6166('0x2'));var rp=require(_0x6166('0x3'));var moment=require(_0x6166('0x4'));var BPromise=require(_0x6166('0x5'));var Mustache=require(_0x6166('0x6'));var util=require(_0x6166('0x7'));var path=require(_0x6166('0x8'));var sox=require(_0x6166('0x9'));var csv=require('to-csv');var ejs=require(_0x6166('0xa'));var fs=require('fs');var fs_extra=require(_0x6166('0xb'));var _=require(_0x6166('0xc'));var squel=require(_0x6166('0xd'));var crypto=require(_0x6166('0xe'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0x6166('0xf'));var Papa=require('papaparse');var Redis=require(_0x6166('0x10'));var authService=require(_0x6166('0x11'));var qs=require(_0x6166('0x12'));var as=require(_0x6166('0x13'));var hardwareService=require(_0x6166('0x14'));var logger=require(_0x6166('0x15'))(_0x6166('0x16'));var utils=require('../../config/utils');var config=require(_0x6166('0x17'));var licenseUtil=require(_0x6166('0x18'));var db=require(_0x6166('0x19'))['db'];function respondWithStatusCode(_0x5b2335,_0x320728){_0x320728=_0x320728||0xcc;return function(_0x2ce997){if(_0x2ce997){return _0x5b2335[_0x6166('0x1a')](_0x320728);}return _0x5b2335[_0x6166('0x1b')](_0x320728)['end']();};}function respondWithResult(_0x1316f2,_0x33789f){_0x33789f=_0x33789f||0xc8;return function(_0x42abca){if(_0x42abca){return _0x1316f2[_0x6166('0x1b')](_0x33789f)[_0x6166('0x1c')](_0x42abca);}};}function respondWithFilteredResult(_0x147874,_0x56520c){return function(_0x3d2f83){if(_0x3d2f83){var _0x12f0a5=typeof _0x56520c[_0x6166('0x1d')]===_0x6166('0x1e')&&typeof _0x56520c[_0x6166('0x1f')]===_0x6166('0x1e');var _0x15f2e3=_0x3d2f83['count'];var _0x29764d=_0x12f0a5?0x0:_0x56520c[_0x6166('0x1d')];var _0x171795=_0x12f0a5?_0x3d2f83[_0x6166('0x20')]:_0x56520c[_0x6166('0x1d')]+_0x56520c['limit'];var _0x1c823b;if(_0x171795>=_0x15f2e3){_0x171795=_0x15f2e3;_0x1c823b=0xc8;}else{_0x1c823b=0xce;}_0x147874[_0x6166('0x1b')](_0x1c823b);return _0x147874[_0x6166('0x21')](_0x6166('0x22'),_0x29764d+'-'+_0x171795+'/'+_0x15f2e3)[_0x6166('0x1c')](_0x3d2f83);}return null;};}function patchUpdates(_0x28d90c){return function(_0x2411de){try{jsonpatch[_0x6166('0x23')](_0x2411de,_0x28d90c,!![]);}catch(_0x3b5a7e){return BPromise[_0x6166('0x24')](_0x3b5a7e);}return _0x2411de[_0x6166('0x25')]();};}function saveUpdates(_0x49c474,_0x1646ff){return function(_0x438ed3){if(_0x438ed3){return _0x438ed3[_0x6166('0x26')](_0x49c474)[_0x6166('0x27')](function(_0x33bc9b){return _0x33bc9b;});}return null;};}function removeEntity(_0x1d23c3,_0x3ffd46){return function(_0x26d926){if(_0x26d926){return _0x26d926['destroy']()[_0x6166('0x27')](function(){_0x1d23c3['status'](0xcc)[_0x6166('0x28')]();});}};}function handleEntityNotFound(_0x10a23e,_0x489b88){return function(_0x3b7452){if(!_0x3b7452){_0x10a23e[_0x6166('0x1a')](0x194);}return _0x3b7452;};}function handleError(_0x3b6107,_0x38fdb1){_0x38fdb1=_0x38fdb1||0x1f4;return function(_0x494838){logger[_0x6166('0x29')](_0x494838[_0x6166('0x2a')]);if(_0x494838[_0x6166('0x2b')]){delete _0x494838[_0x6166('0x2b')];}_0x3b6107[_0x6166('0x1b')](_0x38fdb1)[_0x6166('0x2c')](_0x494838);};}exports['show']=function(_0x54213b,_0x2c1167){var _0x2c1e5f={'raw':!![],'where':{'id':_0x54213b[_0x6166('0x2d')]['id']}},_0x357525={};_0x357525[_0x6166('0x2e')]=_[_0x6166('0x2f')](db[_0x6166('0x30')]['rawAttributes']);_0x357525['query']=_[_0x6166('0x2f')](_0x54213b['query']);_0x357525[_0x6166('0x31')]=_[_0x6166('0x32')](_0x357525[_0x6166('0x2e')],_0x357525[_0x6166('0x33')]);_0x2c1e5f[_0x6166('0x34')]=_['intersection'](_0x357525[_0x6166('0x2e')],qs[_0x6166('0x35')](_0x54213b[_0x6166('0x33')][_0x6166('0x35')]));_0x2c1e5f[_0x6166('0x34')]=_0x2c1e5f[_0x6166('0x34')][_0x6166('0x36')]?_0x2c1e5f['attributes']:_0x357525[_0x6166('0x2e')];if(_0x54213b[_0x6166('0x33')]['includeAll']){_0x2c1e5f['include']=[{'all':!![]}];}_0x2c1e5f=_[_0x6166('0x37')]({},_0x2c1e5f,_0x54213b[_0x6166('0x38')]);return db['ChatProactiveAction'][_0x6166('0x39')](_0x2c1e5f)[_0x6166('0x27')](handleEntityNotFound(_0x2c1167,null))[_0x6166('0x27')](respondWithResult(_0x2c1167,null))['catch'](handleError(_0x2c1167,null));};exports[_0x6166('0x3a')]=function(_0x45d518,_0x228790){return db['ChatProactiveAction']['create'](_0x45d518['body'],{})[_0x6166('0x27')](respondWithResult(_0x228790,0xc9))[_0x6166('0x3b')](handleError(_0x228790,null));};exports[_0x6166('0x26')]=function(_0x443a20,_0x38bb21){if(_0x443a20['body']['id']){delete _0x443a20[_0x6166('0x3c')]['id'];}return db[_0x6166('0x30')][_0x6166('0x39')]({'where':{'id':_0x443a20[_0x6166('0x2d')]['id']}})['then'](handleEntityNotFound(_0x38bb21,null))[_0x6166('0x27')](saveUpdates(_0x443a20[_0x6166('0x3c')],null))[_0x6166('0x27')](respondWithResult(_0x38bb21,null))[_0x6166('0x3b')](handleError(_0x38bb21,null));};exports['destroy']=function(_0x3a9917,_0x111d3b){return db[_0x6166('0x30')][_0x6166('0x39')]({'where':{'id':_0x3a9917[_0x6166('0x2d')]['id']}})[_0x6166('0x27')](handleEntityNotFound(_0x111d3b,null))['then'](removeEntity(_0x111d3b,null))[_0x6166('0x3b')](handleError(_0x111d3b,null));};
\ No newline at end of file
+var _0xed08=['../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','end','status','offset','limit','undefined','count','set','Content-Range','json','apply','save','then','destroy','error','name','send','show','params','rawAttributes','query','intersection','model','fields','attributes','length','include','options','ChatProactiveAction','find','catch','create','body','update','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs'];(function(_0xb2ed89,_0x15fa8b){var _0x1e92f4=function(_0x5e237a){while(--_0x5e237a){_0xb2ed89['push'](_0xb2ed89['shift']());}};_0x1e92f4(++_0x15fa8b);}(_0xed08,0x67));var _0x8ed0=function(_0x5ebc1e,_0x2426c9){_0x5ebc1e=_0x5ebc1e-0x0;var _0x37027d=_0xed08[_0x5ebc1e];return _0x37027d;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x8ed0('0x0'));var zipdir=require(_0x8ed0('0x1'));var jsonpatch=require(_0x8ed0('0x2'));var rp=require(_0x8ed0('0x3'));var moment=require(_0x8ed0('0x4'));var BPromise=require(_0x8ed0('0x5'));var Mustache=require(_0x8ed0('0x6'));var util=require(_0x8ed0('0x7'));var path=require(_0x8ed0('0x8'));var sox=require(_0x8ed0('0x9'));var csv=require(_0x8ed0('0xa'));var ejs=require(_0x8ed0('0xb'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x8ed0('0xc'));var squel=require(_0x8ed0('0xd'));var crypto=require(_0x8ed0('0xe'));var jsforce=require(_0x8ed0('0xf'));var deskjs=require(_0x8ed0('0x10'));var toCsv=require(_0x8ed0('0xa'));var querystring=require(_0x8ed0('0x11'));var Papa=require('papaparse');var Redis=require(_0x8ed0('0x12'));var authService=require(_0x8ed0('0x13'));var qs=require(_0x8ed0('0x14'));var as=require(_0x8ed0('0x15'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x8ed0('0x16'))(_0x8ed0('0x17'));var utils=require(_0x8ed0('0x18'));var config=require(_0x8ed0('0x19'));var licenseUtil=require(_0x8ed0('0x1a'));var db=require(_0x8ed0('0x1b'))['db'];function respondWithStatusCode(_0x1b2161,_0x431018){_0x431018=_0x431018||0xcc;return function(_0x3ed67b){if(_0x3ed67b){return _0x1b2161[_0x8ed0('0x1c')](_0x431018);}return _0x1b2161['status'](_0x431018)[_0x8ed0('0x1d')]();};}function respondWithResult(_0x14d46a,_0x5e4ea7){_0x5e4ea7=_0x5e4ea7||0xc8;return function(_0x1e729a){if(_0x1e729a){return _0x14d46a[_0x8ed0('0x1e')](_0x5e4ea7)['json'](_0x1e729a);}};}function respondWithFilteredResult(_0x469354,_0x21f4fd){return function(_0x5eda69){if(_0x5eda69){var _0x72bf7a=typeof _0x21f4fd[_0x8ed0('0x1f')]==='undefined'&&typeof _0x21f4fd[_0x8ed0('0x20')]===_0x8ed0('0x21');var _0xb255c=_0x5eda69['count'];var _0x55a134=_0x72bf7a?0x0:_0x21f4fd['offset'];var _0x12fb2c=_0x72bf7a?_0x5eda69[_0x8ed0('0x22')]:_0x21f4fd[_0x8ed0('0x1f')]+_0x21f4fd[_0x8ed0('0x20')];var _0x3548a2;if(_0x12fb2c>=_0xb255c){_0x12fb2c=_0xb255c;_0x3548a2=0xc8;}else{_0x3548a2=0xce;}_0x469354[_0x8ed0('0x1e')](_0x3548a2);return _0x469354[_0x8ed0('0x23')](_0x8ed0('0x24'),_0x55a134+'-'+_0x12fb2c+'/'+_0xb255c)[_0x8ed0('0x25')](_0x5eda69);}return null;};}function patchUpdates(_0x5b8dcb){return function(_0x55726a){try{jsonpatch[_0x8ed0('0x26')](_0x55726a,_0x5b8dcb,!![]);}catch(_0x23e6c2){return BPromise['reject'](_0x23e6c2);}return _0x55726a[_0x8ed0('0x27')]();};}function saveUpdates(_0x28351a,_0x322e90){return function(_0xcba4d4){if(_0xcba4d4){return _0xcba4d4['update'](_0x28351a)[_0x8ed0('0x28')](function(_0x397b51){return _0x397b51;});}return null;};}function removeEntity(_0x5f19e9,_0x1bf9ef){return function(_0xf6208a){if(_0xf6208a){return _0xf6208a[_0x8ed0('0x29')]()[_0x8ed0('0x28')](function(){_0x5f19e9[_0x8ed0('0x1e')](0xcc)[_0x8ed0('0x1d')]();});}};}function handleEntityNotFound(_0x551c91,_0x5165c3){return function(_0x2a35b1){if(!_0x2a35b1){_0x551c91[_0x8ed0('0x1c')](0x194);}return _0x2a35b1;};}function handleError(_0x3a17d4,_0x158364){_0x158364=_0x158364||0x1f4;return function(_0x108f04){logger[_0x8ed0('0x2a')](_0x108f04['stack']);if(_0x108f04[_0x8ed0('0x2b')]){delete _0x108f04[_0x8ed0('0x2b')];}_0x3a17d4['status'](_0x158364)[_0x8ed0('0x2c')](_0x108f04);};}exports[_0x8ed0('0x2d')]=function(_0x29c986,_0x25617c){var _0x15eec2={'raw':!![],'where':{'id':_0x29c986[_0x8ed0('0x2e')]['id']}},_0xec3bd2={};_0xec3bd2['model']=_['keys'](db['ChatProactiveAction'][_0x8ed0('0x2f')]);_0xec3bd2[_0x8ed0('0x30')]=_['keys'](_0x29c986[_0x8ed0('0x30')]);_0xec3bd2['filters']=_[_0x8ed0('0x31')](_0xec3bd2[_0x8ed0('0x32')],_0xec3bd2['query']);_0x15eec2['attributes']=_[_0x8ed0('0x31')](_0xec3bd2[_0x8ed0('0x32')],qs[_0x8ed0('0x33')](_0x29c986['query'][_0x8ed0('0x33')]));_0x15eec2['attributes']=_0x15eec2[_0x8ed0('0x34')][_0x8ed0('0x35')]?_0x15eec2[_0x8ed0('0x34')]:_0xec3bd2[_0x8ed0('0x32')];if(_0x29c986[_0x8ed0('0x30')]['includeAll']){_0x15eec2[_0x8ed0('0x36')]=[{'all':!![]}];}_0x15eec2=_['merge']({},_0x15eec2,_0x29c986[_0x8ed0('0x37')]);return db[_0x8ed0('0x38')][_0x8ed0('0x39')](_0x15eec2)[_0x8ed0('0x28')](handleEntityNotFound(_0x25617c,null))[_0x8ed0('0x28')](respondWithResult(_0x25617c,null))[_0x8ed0('0x3a')](handleError(_0x25617c,null));};exports[_0x8ed0('0x3b')]=function(_0x44f82e,_0x3714f6){return db[_0x8ed0('0x38')][_0x8ed0('0x3b')](_0x44f82e[_0x8ed0('0x3c')],{})[_0x8ed0('0x28')](respondWithResult(_0x3714f6,0xc9))['catch'](handleError(_0x3714f6,null));};exports[_0x8ed0('0x3d')]=function(_0x58b2b6,_0x3aacf9){if(_0x58b2b6['body']['id']){delete _0x58b2b6[_0x8ed0('0x3c')]['id'];}return db[_0x8ed0('0x38')][_0x8ed0('0x39')]({'where':{'id':_0x58b2b6['params']['id']}})[_0x8ed0('0x28')](handleEntityNotFound(_0x3aacf9,null))[_0x8ed0('0x28')](saveUpdates(_0x58b2b6[_0x8ed0('0x3c')],null))['then'](respondWithResult(_0x3aacf9,null))['catch'](handleError(_0x3aacf9,null));};exports[_0x8ed0('0x29')]=function(_0x2c155a,_0x7e32b0){return db[_0x8ed0('0x38')]['find']({'where':{'id':_0x2c155a[_0x8ed0('0x2e')]['id']}})['then'](handleEntityNotFound(_0x7e32b0,null))[_0x8ed0('0x28')](removeEntity(_0x7e32b0,null))[_0x8ed0('0x3a')](handleError(_0x7e32b0,null));};
\ No newline at end of file
diff --git a/server/api/chatProactiveAction/chatProactiveAction.model.js b/server/api/chatProactiveAction/chatProactiveAction.model.js
index cd5ef57..aad67cd 100644
--- a/server/api/chatProactiveAction/chatProactiveAction.model.js
+++ b/server/api/chatProactiveAction/chatProactiveAction.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xf30f=['../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./chatProactiveAction.attributes','exports','ChatProactiveAction','chat_proactive_actions','lodash','util'];(function(_0x47a7b7,_0x3f6f77){var _0x22b344=function(_0x1eb22a){while(--_0x1eb22a){_0x47a7b7['push'](_0x47a7b7['shift']());}};_0x22b344(++_0x3f6f77);}(_0xf30f,0x150));var _0xff30=function(_0x4b055c,_0x4b870b){_0x4b055c=_0x4b055c-0x0;var _0x4b62bb=_0xf30f[_0x4b055c];return _0x4b62bb;};'use strict';var _=require(_0xff30('0x0'));var util=require(_0xff30('0x1'));var logger=require(_0xff30('0x2'))(_0xff30('0x3'));var moment=require('moment');var BPromise=require(_0xff30('0x4'));var rp=require(_0xff30('0x5'));var fs=require('fs');var path=require(_0xff30('0x6'));var rimraf=require(_0xff30('0x7'));var config=require(_0xff30('0x8'));var attributes=require(_0xff30('0x9'));module[_0xff30('0xa')]=function(_0x1eb223,_0x53ed28){return _0x1eb223['define'](_0xff30('0xb'),attributes,{'tableName':_0xff30('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x3321=['bluebird','request-promise','path','rimraf','../../config/environment','./chatProactiveAction.attributes','define','lodash','util','api','moment'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x3321,0x1d5));var _0x1332=function(_0x459349,_0x2e6797){_0x459349=_0x459349-0x0;var _0x35de00=_0x3321[_0x459349];return _0x35de00;};'use strict';var _=require(_0x1332('0x0'));var util=require(_0x1332('0x1'));var logger=require('../../config/logger')(_0x1332('0x2'));var moment=require(_0x1332('0x3'));var BPromise=require(_0x1332('0x4'));var rp=require(_0x1332('0x5'));var fs=require('fs');var path=require(_0x1332('0x6'));var rimraf=require(_0x1332('0x7'));var config=require(_0x1332('0x8'));var attributes=require(_0x1332('0x9'));module['exports']=function(_0x5d9407,_0x379843){return _0x5d9407[_0x1332('0xa')]('ChatProactiveAction',attributes,{'tableName':'chat_proactive_actions','paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/chatProactiveAction/chatProactiveAction.rpc.js b/server/api/chatProactiveAction/chatProactiveAction.rpc.js
index 1545a9e..cf9f94c 100644
--- a/server/api/chatProactiveAction/chatProactiveAction.rpc.js
+++ b/server/api/chatProactiveAction/chatProactiveAction.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x70dd=['error','code','message','ChatProactiveAction,\x20%s,\x20%s','catch','util','moment','bluebird','ioredis','../../mysqldb','rpc','client','http','then','info','request\x20sent','ChatProactiveAction,\x20%s,\x20%s,\x20%s','stringify'];(function(_0x359019,_0x5bcde9){var _0x2f552e=function(_0x43b935){while(--_0x43b935){_0x359019['push'](_0x359019['shift']());}};_0x2f552e(++_0x5bcde9);}(_0x70dd,0x15b));var _0xd70d=function(_0x35d007,_0x58d78f){_0x35d007=_0x35d007-0x0;var _0x297643=_0x70dd[_0x35d007];return _0x297643;};'use strict';var _=require('lodash');var util=require(_0xd70d('0x0'));var moment=require(_0xd70d('0x1'));var BPromise=require(_0xd70d('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xd70d('0x3'));var db=require(_0xd70d('0x4'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0xd70d('0x5'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0xd70d('0x6')][_0xd70d('0x7')]({'port':0x232a});function respondWithRpcPromise(_0xe89bf6,_0x17b0a2,_0x5be1be){return new BPromise(function(_0xd4432,_0x21739a){return client['request'](_0xe89bf6,_0x5be1be)[_0xd70d('0x8')](function(_0x24b864){logger[_0xd70d('0x9')]('ChatProactiveAction,\x20%s,\x20%s',_0x17b0a2,_0xd70d('0xa'));logger['debug'](_0xd70d('0xb'),_0x17b0a2,_0xd70d('0xa'),JSON[_0xd70d('0xc')](_0x24b864));if(_0x24b864[_0xd70d('0xd')]){if(_0x24b864[_0xd70d('0xd')][_0xd70d('0xe')]===0x1f4){logger[_0xd70d('0xd')]('ChatProactiveAction,\x20%s,\x20%s',_0x17b0a2,_0x24b864[_0xd70d('0xd')][_0xd70d('0xf')]);return _0x21739a(_0x24b864['error'][_0xd70d('0xf')]);}logger[_0xd70d('0xd')](_0xd70d('0x10'),_0x17b0a2,_0x24b864[_0xd70d('0xd')][_0xd70d('0xf')]);return _0xd4432(_0x24b864[_0xd70d('0xd')][_0xd70d('0xf')]);}else{logger[_0xd70d('0x9')](_0xd70d('0x10'),_0x17b0a2,'request\x20sent');_0xd4432(_0x24b864['result']['message']);}})[_0xd70d('0x11')](function(_0x53d77f){logger['error'](_0xd70d('0x10'),_0x17b0a2,_0x53d77f);_0x21739a(_0x53d77f);});});}
\ No newline at end of file
+var _0xb65b=['catch','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','then','info','ChatProactiveAction,\x20%s,\x20%s','request\x20sent','debug','ChatProactiveAction,\x20%s,\x20%s,\x20%s','code','error','message','result'];(function(_0x30775b,_0x393e93){var _0x574f01=function(_0x4c755d){while(--_0x4c755d){_0x30775b['push'](_0x30775b['shift']());}};_0x574f01(++_0x393e93);}(_0xb65b,0x139));var _0xbb65=function(_0x22eda7,_0x314778){_0x22eda7=_0x22eda7-0x0;var _0x126cad=_0xb65b[_0x22eda7];return _0x126cad;};'use strict';var _=require('lodash');var util=require(_0xbb65('0x0'));var moment=require(_0xbb65('0x1'));var BPromise=require(_0xbb65('0x2'));var rs=require(_0xbb65('0x3'));var fs=require('fs');var Redis=require(_0xbb65('0x4'));var db=require(_0xbb65('0x5'))['db'];var utils=require(_0xbb65('0x6'));var logger=require(_0xbb65('0x7'))(_0xbb65('0x8'));var config=require(_0xbb65('0x9'));var jayson=require(_0xbb65('0xa'));var client=jayson[_0xbb65('0xb')][_0xbb65('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x342934,_0x4aec73,_0x32ccd8){return new BPromise(function(_0x13860a,_0xbead3){return client['request'](_0x342934,_0x32ccd8)[_0xbb65('0xd')](function(_0x583aad){logger[_0xbb65('0xe')](_0xbb65('0xf'),_0x4aec73,_0xbb65('0x10'));logger[_0xbb65('0x11')](_0xbb65('0x12'),_0x4aec73,_0xbb65('0x10'),JSON['stringify'](_0x583aad));if(_0x583aad['error']){if(_0x583aad['error'][_0xbb65('0x13')]===0x1f4){logger[_0xbb65('0x14')](_0xbb65('0xf'),_0x4aec73,_0x583aad['error'][_0xbb65('0x15')]);return _0xbead3(_0x583aad['error'][_0xbb65('0x15')]);}logger['error'](_0xbb65('0xf'),_0x4aec73,_0x583aad[_0xbb65('0x14')][_0xbb65('0x15')]);return _0x13860a(_0x583aad[_0xbb65('0x14')][_0xbb65('0x15')]);}else{logger[_0xbb65('0xe')](_0xbb65('0xf'),_0x4aec73,_0xbb65('0x10'));_0x13860a(_0x583aad[_0xbb65('0x16')][_0xbb65('0x15')]);}})[_0xbb65('0x17')](function(_0x3fe5a0){logger[_0xbb65('0x14')](_0xbb65('0xf'),_0x4aec73,_0x3fe5a0);_0xbead3(_0x3fe5a0);});});}
\ No newline at end of file
diff --git a/server/api/chatProactiveAction/index.js b/server/api/chatProactiveAction/index.js
index a0c5fa9..4cf94a1 100644
--- a/server/api/chatProactiveAction/index.js
+++ b/server/api/chatProactiveAction/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x2eb2=['path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','get','/:id','isAuthenticated','show','post','create','put','update','delete','util'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x2eb2,0x19f));var _0x22eb=function(_0x3899d1,_0x4aa04c){_0x3899d1=_0x3899d1-0x0;var _0xeb4a7d=_0x2eb2[_0x3899d1];return _0xeb4a7d;};'use strict';var multer=require('multer');var util=require(_0x22eb('0x0'));var path=require(_0x22eb('0x1'));var timeout=require(_0x22eb('0x2'));var express=require(_0x22eb('0x3'));var router=express[_0x22eb('0x4')]();var fs_extra=require(_0x22eb('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x22eb('0x6'));var config=require('../../config/environment');var controller=require('./chatProactiveAction.controller');router[_0x22eb('0x7')](_0x22eb('0x8'),auth[_0x22eb('0x9')](),controller[_0x22eb('0xa')]);router[_0x22eb('0xb')]('/',auth[_0x22eb('0x9')](),controller[_0x22eb('0xc')]);router[_0x22eb('0xd')](_0x22eb('0x8'),auth[_0x22eb('0x9')](),controller[_0x22eb('0xe')]);router[_0x22eb('0xf')]('/:id',auth[_0x22eb('0x9')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x24ca=['../../components/interaction/service','../../config/environment','./chatProactiveAction.controller','get','/:id','isAuthenticated','show','post','put','delete','destroy','exports','multer','path','connect-timeout','express','fs-extra','../../components/auth/service'];(function(_0x4e9a72,_0x498030){var _0x301486=function(_0x2612ed){while(--_0x2612ed){_0x4e9a72['push'](_0x4e9a72['shift']());}};_0x301486(++_0x498030);}(_0x24ca,0x1bc));var _0xa24c=function(_0x22e47a,_0x4ea10c){_0x22e47a=_0x22e47a-0x0;var _0x15a12a=_0x24ca[_0x22e47a];return _0x15a12a;};'use strict';var multer=require(_0xa24c('0x0'));var util=require('util');var path=require(_0xa24c('0x1'));var timeout=require(_0xa24c('0x2'));var express=require(_0xa24c('0x3'));var router=express['Router']();var fs_extra=require(_0xa24c('0x4'));var auth=require(_0xa24c('0x5'));var interaction=require(_0xa24c('0x6'));var config=require(_0xa24c('0x7'));var controller=require(_0xa24c('0x8'));router[_0xa24c('0x9')](_0xa24c('0xa'),auth[_0xa24c('0xb')](),controller[_0xa24c('0xc')]);router[_0xa24c('0xd')]('/',auth[_0xa24c('0xb')](),controller['create']);router[_0xa24c('0xe')](_0xa24c('0xa'),auth[_0xa24c('0xb')](),controller['update']);router[_0xa24c('0xf')](_0xa24c('0xa'),auth[_0xa24c('0xb')](),controller[_0xa24c('0x10')]);module[_0xa24c('0x11')]=router;
\ No newline at end of file
diff --git a/server/api/chatQueue/chatQueue.attributes.js b/server/api/chatQueue/chatQueue.attributes.js
index a4e64bd..7ef002b 100644
--- a/server/api/chatQueue/chatQueue.attributes.js
+++ b/server/api/chatQueue/chatQueue.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x161b=['ENUM','rrmemory','beepall','roundrobin','sequelize','exports','STRING','name','INTEGER'];(function(_0x2ec1d3,_0x2b0af7){var _0x117980=function(_0x4522d3){while(--_0x4522d3){_0x2ec1d3['push'](_0x2ec1d3['shift']());}};_0x117980(++_0x2b0af7);}(_0x161b,0x190));var _0xb161=function(_0x547c47,_0x1e9cf6){_0x547c47=_0x547c47-0x0;var _0x446591=_0x161b[_0x547c47];return _0x446591;};'use strict';var Sequelize=require(_0xb161('0x0'));module[_0xb161('0x1')]={'name':{'type':Sequelize[_0xb161('0x2')],'unique':_0xb161('0x3'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xb161('0x2')]},'timeout':{'type':Sequelize[_0xb161('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xb161('0x5')](_0xb161('0x6'),_0xb161('0x7'),_0xb161('0x8'))}};
\ No newline at end of file
+var _0x7817=['INTEGER','ENUM','rrmemory','roundrobin','sequelize','name','STRING'];(function(_0x7568a,_0x41c9fe){var _0x29e8eb=function(_0x4f3f27){while(--_0x4f3f27){_0x7568a['push'](_0x7568a['shift']());}};_0x29e8eb(++_0x41c9fe);}(_0x7817,0x9e));var _0x7781=function(_0x3c82e2,_0x2bff81){_0x3c82e2=_0x3c82e2-0x0;var _0x1317b8=_0x7817[_0x3c82e2];return _0x1317b8;};'use strict';var Sequelize=require(_0x7781('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0x7781('0x1'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x7781('0x2')]},'timeout':{'type':Sequelize[_0x7781('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x7781('0x4')](_0x7781('0x5'),'beepall',_0x7781('0x6'))}};
\ No newline at end of file
diff --git a/server/api/chatQueue/chatQueue.controller.js b/server/api/chatQueue/chatQueue.controller.js
index d0d34fa..029a899 100644
--- a/server/api/chatQueue/chatQueue.controller.js
+++ b/server/api/chatQueue/chatQueue.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xf7e4=['stack','name','send','map','ChatQueue','rawAttributes','fieldName','key','model','keys','query','filters','intersection','attributes','length','hasOwnProperty','nolimit','order','sort','pick','where','type','VIRTUAL','filter','merge','includeAll','findAll','show','params','fields','create','body','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','find','userProfileId','autoAssociation','UserProfileResource','describe','getMembers','findOne','UserChatQueue','ChatQueueId','options','findAndCountAll','UserId','agent','chatPause','updatedAt','createdAt','rows','%s/%s','SIP','getTeams','Team','addTeams','ids','User','Agents','online','voicePause','interface','flatMap','sequelize','transaction','forEach','emit','userChatQueue:save','removeTeams','field','tq.TeamId','from','team_has_chat_queues','join','user_has_teams','ut.TeamId\x20=\x20tq.TeamId','ChatQueueId\x20=\x20?','clone','push','QueryTypes','SELECT','TeamId','includes','all','union','compact','isEmpty','removeAgents','addAgents','omit','spread','isArray','userChatQueue:remove','getAgents','eml-format','zip-dir','fast-json-patch','moment','mustache','util','path','sox','to-csv','ejs','fs-extra','lodash','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/logger','api','../../config/environment','../../config/license/util','redis','defaults','socket.io-emitter','./chatQueue.socket','register','jayson/promise','client','http','request','then','info','request\x20sent','debug','ChatQueue,\x20%s,\x20%s,\x20%s','stringify','error','code','ChatQueue,\x20%s,\x20%s','message','result','catch','sendStatus','status','json','undefined','offset','count','limit','Content-Range','apply','reject','save','update','destroy','ChatQueues','end'];(function(_0x57c972,_0x510be5){var _0x2c5861=function(_0x3993d3){while(--_0x3993d3){_0x57c972['push'](_0x57c972['shift']());}};_0x2c5861(++_0x510be5);}(_0xf7e4,0xf9));var _0x4f7e=function(_0x515dc8,_0x49587d){_0x515dc8=_0x515dc8-0x0;var _0x31eb78=_0xf7e4[_0x515dc8];return _0x31eb78;};'use strict';var emlformat=require(_0x4f7e('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x4f7e('0x1'));var jsonpatch=require(_0x4f7e('0x2'));var rp=require('request-promise');var moment=require(_0x4f7e('0x3'));var BPromise=require('bluebird');var Mustache=require(_0x4f7e('0x4'));var util=require(_0x4f7e('0x5'));var path=require(_0x4f7e('0x6'));var sox=require(_0x4f7e('0x7'));var csv=require(_0x4f7e('0x8'));var ejs=require(_0x4f7e('0x9'));var fs=require('fs');var fs_extra=require(_0x4f7e('0xa'));var _=require(_0x4f7e('0xb'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0x4f7e('0xc'));var deskjs=require(_0x4f7e('0xd'));var toCsv=require(_0x4f7e('0x8'));var querystring=require(_0x4f7e('0xe'));var Papa=require(_0x4f7e('0xf'));var Redis=require(_0x4f7e('0x10'));var authService=require(_0x4f7e('0x11'));var qs=require('../../components/parsers/qs');var as=require(_0x4f7e('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x4f7e('0x13'))(_0x4f7e('0x14'));var utils=require('../../config/utils');var config=require(_0x4f7e('0x15'));var licenseUtil=require(_0x4f7e('0x16'));var db=require('../../mysqldb')['db'];config[_0x4f7e('0x17')]=_[_0x4f7e('0x18')](config[_0x4f7e('0x17')],{'host':'localhost','port':0x18eb});var socket=require(_0x4f7e('0x19'))(new Redis(config[_0x4f7e('0x17')]));require(_0x4f7e('0x1a'))[_0x4f7e('0x1b')](socket);var jayson=require(_0x4f7e('0x1c'));var client=jayson[_0x4f7e('0x1d')][_0x4f7e('0x1e')]({'port':0x232a});function respondWithRpcPromise(_0xb74825,_0x2261c3,_0x5577ce,_0x4b3972){return new BPromise(function(_0x54f4bb,_0x4bac31){var _0x464b8f=_0x4b3972||client;return _0x464b8f[_0x4f7e('0x1f')](_0xb74825,_0x5577ce)[_0x4f7e('0x20')](function(_0x3a1091){logger[_0x4f7e('0x21')]('ChatQueue,\x20%s,\x20%s',_0x2261c3,_0x4f7e('0x22'));logger[_0x4f7e('0x23')](_0x4f7e('0x24'),_0x2261c3,'request\x20sent',JSON[_0x4f7e('0x25')](_0x3a1091));if(_0x3a1091[_0x4f7e('0x26')]){if(_0x3a1091['error'][_0x4f7e('0x27')]===0x1f4){logger['error'](_0x4f7e('0x28'),_0x2261c3,_0x3a1091['error']['message']);return _0x4bac31(_0x3a1091[_0x4f7e('0x26')][_0x4f7e('0x29')]);}logger[_0x4f7e('0x26')](_0x4f7e('0x28'),_0x2261c3,_0x3a1091[_0x4f7e('0x26')][_0x4f7e('0x29')]);return _0x54f4bb(_0x3a1091['error'][_0x4f7e('0x29')]);}else{logger[_0x4f7e('0x21')](_0x4f7e('0x28'),_0x2261c3,_0x4f7e('0x22'));_0x54f4bb(_0x3a1091[_0x4f7e('0x2a')][_0x4f7e('0x29')]);}})[_0x4f7e('0x2b')](function(_0x1c2167){logger[_0x4f7e('0x26')](_0x4f7e('0x28'),_0x2261c3,_0x1c2167);_0x4bac31(_0x1c2167);});});}function respondWithStatusCode(_0x3b7c5c,_0x471d6d){_0x471d6d=_0x471d6d||0xcc;return function(_0x1edc24){if(_0x1edc24){return _0x3b7c5c[_0x4f7e('0x2c')](_0x471d6d);}return _0x3b7c5c[_0x4f7e('0x2d')](_0x471d6d)['end']();};}function respondWithResult(_0x281912,_0x48cbf9){_0x48cbf9=_0x48cbf9||0xc8;return function(_0x271134){if(_0x271134){return _0x281912[_0x4f7e('0x2d')](_0x48cbf9)[_0x4f7e('0x2e')](_0x271134);}};}function respondWithFilteredResult(_0x2fe97d,_0x229a16){return function(_0x13c80b){if(_0x13c80b){var _0x2fded5=typeof _0x229a16['offset']===_0x4f7e('0x2f')&&typeof _0x229a16['limit']===_0x4f7e('0x2f');var _0x162eb1=_0x13c80b['count'];var _0x50ffae=_0x2fded5?0x0:_0x229a16[_0x4f7e('0x30')];var _0x57135f=_0x2fded5?_0x13c80b[_0x4f7e('0x31')]:_0x229a16[_0x4f7e('0x30')]+_0x229a16[_0x4f7e('0x32')];var _0x51a185;if(_0x57135f>=_0x162eb1){_0x57135f=_0x162eb1;_0x51a185=0xc8;}else{_0x51a185=0xce;}_0x2fe97d[_0x4f7e('0x2d')](_0x51a185);return _0x2fe97d['set'](_0x4f7e('0x33'),_0x50ffae+'-'+_0x57135f+'/'+_0x162eb1)['json'](_0x13c80b);}return null;};}function patchUpdates(_0x5989e3){return function(_0x16f5da){try{jsonpatch[_0x4f7e('0x34')](_0x16f5da,_0x5989e3,!![]);}catch(_0x39ed5a){return BPromise[_0x4f7e('0x35')](_0x39ed5a);}return _0x16f5da[_0x4f7e('0x36')]();};}function saveUpdates(_0x14b67c,_0x45e43a){return function(_0x49ca7b){if(_0x49ca7b){return _0x49ca7b[_0x4f7e('0x37')](_0x14b67c)[_0x4f7e('0x20')](function(_0x260bec){return _0x260bec;});}return null;};}function removeEntity(_0x337c25,_0x65e2ed){return function(_0xeb0879){if(_0xeb0879){return _0xeb0879[_0x4f7e('0x38')]()[_0x4f7e('0x20')](function(){var _0x4a4ce8=_0xeb0879['get']({'plain':!![]});var _0x2653f2=_0x4f7e('0x39');return db['UserProfileResource'][_0x4f7e('0x38')]({'where':{'type':_0x2653f2,'resourceId':_0x4a4ce8['id']}})[_0x4f7e('0x20')](function(){return _0xeb0879;});})[_0x4f7e('0x20')](function(){_0x337c25[_0x4f7e('0x2d')](0xcc)[_0x4f7e('0x3a')]();});}};}function handleEntityNotFound(_0x179b64,_0x1a871d){return function(_0x46136b){if(!_0x46136b){_0x179b64[_0x4f7e('0x2c')](0x194);}return _0x46136b;};}function handleError(_0x252a5f,_0x2bcf24){_0x2bcf24=_0x2bcf24||0x1f4;return function(_0x3fa763){logger[_0x4f7e('0x26')](_0x3fa763[_0x4f7e('0x3b')]);if(_0x3fa763['name']){delete _0x3fa763[_0x4f7e('0x3c')];}_0x252a5f[_0x4f7e('0x2d')](_0x2bcf24)[_0x4f7e('0x3d')](_0x3fa763);};}exports['index']=function(_0x4edbb1,_0x3da058){var _0x40bbd0={},_0x5e0e05={},_0x4fc03c={'count':0x0,'rows':[]};var _0x5b77db=_[_0x4f7e('0x3e')](db[_0x4f7e('0x3f')][_0x4f7e('0x40')],function(_0x4e5dbf){return{'name':_0x4e5dbf[_0x4f7e('0x41')],'type':_0x4e5dbf['type'][_0x4f7e('0x42')]};});_0x5e0e05[_0x4f7e('0x43')]=_['map'](_0x5b77db,_0x4f7e('0x3c'));_0x5e0e05['query']=_[_0x4f7e('0x44')](_0x4edbb1[_0x4f7e('0x45')]);_0x5e0e05[_0x4f7e('0x46')]=_[_0x4f7e('0x47')](_0x5e0e05[_0x4f7e('0x43')],_0x5e0e05[_0x4f7e('0x45')]);_0x40bbd0[_0x4f7e('0x48')]=_[_0x4f7e('0x47')](_0x5e0e05[_0x4f7e('0x43')],qs['fields'](_0x4edbb1['query']['fields']));_0x40bbd0['attributes']=_0x40bbd0[_0x4f7e('0x48')][_0x4f7e('0x49')]?_0x40bbd0[_0x4f7e('0x48')]:_0x5e0e05['model'];if(!_0x4edbb1[_0x4f7e('0x45')][_0x4f7e('0x4a')](_0x4f7e('0x4b'))){_0x40bbd0['limit']=qs[_0x4f7e('0x32')](_0x4edbb1['query'][_0x4f7e('0x32')]);_0x40bbd0[_0x4f7e('0x30')]=qs[_0x4f7e('0x30')](_0x4edbb1['query']['offset']);}_0x40bbd0[_0x4f7e('0x4c')]=qs[_0x4f7e('0x4d')](_0x4edbb1[_0x4f7e('0x45')][_0x4f7e('0x4d')]);_0x40bbd0['where']=qs[_0x4f7e('0x46')](_[_0x4f7e('0x4e')](_0x4edbb1[_0x4f7e('0x45')],_0x5e0e05[_0x4f7e('0x46')]),_0x5b77db);if(_0x4edbb1[_0x4f7e('0x45')]['filter']){_0x40bbd0[_0x4f7e('0x4f')]=_['merge'](_0x40bbd0[_0x4f7e('0x4f')],{'$or':_[_0x4f7e('0x3e')](_0x5b77db,function(_0x541747){if(_0x541747[_0x4f7e('0x50')]!==_0x4f7e('0x51')){var _0xba355f={};_0xba355f[_0x541747[_0x4f7e('0x3c')]]={'$like':'%'+_0x4edbb1[_0x4f7e('0x45')][_0x4f7e('0x52')]+'%'};return _0xba355f;}})});}_0x40bbd0=_[_0x4f7e('0x53')]({},_0x40bbd0,_0x4edbb1['options']);var _0x48399e={'where':_0x40bbd0[_0x4f7e('0x4f')]};return db[_0x4f7e('0x3f')]['count'](_0x48399e)[_0x4f7e('0x20')](function(_0x5a129a){_0x4fc03c[_0x4f7e('0x31')]=_0x5a129a;if(_0x4edbb1[_0x4f7e('0x45')][_0x4f7e('0x54')]){_0x40bbd0['include']=[{'all':!![]}];}return db['ChatQueue'][_0x4f7e('0x55')](_0x40bbd0);})[_0x4f7e('0x20')](function(_0x50c3bc){_0x4fc03c['rows']=_0x50c3bc;return _0x4fc03c;})[_0x4f7e('0x20')](respondWithFilteredResult(_0x3da058,_0x40bbd0))['catch'](handleError(_0x3da058,null));};exports[_0x4f7e('0x56')]=function(_0x5fb4ce,_0xa30800){var _0x559f10={'raw':!![],'where':{'id':_0x5fb4ce[_0x4f7e('0x57')]['id']}},_0x2e6ee6={};_0x2e6ee6[_0x4f7e('0x43')]=_['keys'](db['ChatQueue']['rawAttributes']);_0x2e6ee6[_0x4f7e('0x45')]=_[_0x4f7e('0x44')](_0x5fb4ce[_0x4f7e('0x45')]);_0x2e6ee6['filters']=_[_0x4f7e('0x47')](_0x2e6ee6[_0x4f7e('0x43')],_0x2e6ee6[_0x4f7e('0x45')]);_0x559f10['attributes']=_['intersection'](_0x2e6ee6[_0x4f7e('0x43')],qs[_0x4f7e('0x58')](_0x5fb4ce[_0x4f7e('0x45')]['fields']));_0x559f10[_0x4f7e('0x48')]=_0x559f10[_0x4f7e('0x48')][_0x4f7e('0x49')]?_0x559f10[_0x4f7e('0x48')]:_0x2e6ee6[_0x4f7e('0x43')];if(_0x5fb4ce[_0x4f7e('0x45')]['includeAll']){_0x559f10['include']=[{'all':!![]}];}_0x559f10=_[_0x4f7e('0x53')]({},_0x559f10,_0x5fb4ce['options']);return db[_0x4f7e('0x3f')]['find'](_0x559f10)['then'](handleEntityNotFound(_0xa30800,null))[_0x4f7e('0x20')](respondWithResult(_0xa30800,null))[_0x4f7e('0x2b')](handleError(_0xa30800,null));};exports[_0x4f7e('0x59')]=function(_0x1d0bea,_0x3130dd){return db[_0x4f7e('0x3f')][_0x4f7e('0x59')](_0x1d0bea[_0x4f7e('0x5a')],{})['then'](function(_0x54d980){var _0x26f62a=_0x1d0bea[_0x4f7e('0x5b')][_0x4f7e('0x5c')]({'plain':!![]});if(!_0x26f62a)throw new Error(_0x4f7e('0x5d'));if(_0x26f62a['role']===_0x4f7e('0x5b')){var _0x19200d=_0x54d980[_0x4f7e('0x5c')]({'plain':!![]});var _0x44df94=_0x4f7e('0x39');return db['UserProfileSection'][_0x4f7e('0x5e')]({'where':{'name':_0x44df94,'userProfileId':_0x26f62a[_0x4f7e('0x5f')]},'raw':!![]})[_0x4f7e('0x20')](function(_0x3c0337){if(_0x3c0337&&_0x3c0337[_0x4f7e('0x60')]===0x0){return db[_0x4f7e('0x61')][_0x4f7e('0x59')]({'name':_0x19200d['name'],'resourceId':_0x19200d['id'],'type':_0x3c0337[_0x4f7e('0x3c')],'sectionId':_0x3c0337['id']},{})[_0x4f7e('0x20')](function(){return _0x54d980;});}else{return _0x54d980;}})[_0x4f7e('0x2b')](function(_0x5e87f5){logger[_0x4f7e('0x26')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x5e87f5);throw _0x5e87f5;});}return _0x54d980;})[_0x4f7e('0x20')](respondWithResult(_0x3130dd,0xc9))[_0x4f7e('0x2b')](handleError(_0x3130dd,null));};exports[_0x4f7e('0x37')]=function(_0x2cf708,_0x41da2b){if(_0x2cf708['body']['id']){delete _0x2cf708['body']['id'];}return db['ChatQueue'][_0x4f7e('0x5e')]({'where':{'id':_0x2cf708['params']['id']}})[_0x4f7e('0x20')](handleEntityNotFound(_0x41da2b,null))[_0x4f7e('0x20')](saveUpdates(_0x2cf708[_0x4f7e('0x5a')],null))[_0x4f7e('0x20')](respondWithResult(_0x41da2b,null))[_0x4f7e('0x2b')](handleError(_0x41da2b,null));};exports[_0x4f7e('0x38')]=function(_0x751dce,_0x4701f7){return db[_0x4f7e('0x3f')]['find']({'where':{'id':_0x751dce[_0x4f7e('0x57')]['id']}})[_0x4f7e('0x20')](handleEntityNotFound(_0x4701f7,null))['then'](removeEntity(_0x4701f7,null))[_0x4f7e('0x2b')](handleError(_0x4701f7,null));};exports[_0x4f7e('0x62')]=function(_0x34b2e2,_0x5a86ee){return db[_0x4f7e('0x3f')][_0x4f7e('0x62')]()[_0x4f7e('0x20')](respondWithResult(_0x5a86ee,null))[_0x4f7e('0x2b')](handleError(_0x5a86ee,null));};exports[_0x4f7e('0x63')]=function(_0x20e384,_0x7c831c,_0x4aefd8){var _0xf4acd0={'raw':!![],'where':{}},_0x45128b={},_0x5791ec;return db[_0x4f7e('0x3f')][_0x4f7e('0x64')]({'where':{'id':_0x20e384[_0x4f7e('0x57')]['id']}})[_0x4f7e('0x20')](handleEntityNotFound(_0x7c831c,null))[_0x4f7e('0x20')](function(_0x52af11){if(_0x52af11){_0x5791ec=_0x52af11['get']({'plain':!![]});_0x45128b[_0x4f7e('0x43')]=_[_0x4f7e('0x44')](db[_0x4f7e('0x65')]['rawAttributes']);_0x45128b[_0x4f7e('0x45')]=_[_0x4f7e('0x44')](_0x20e384[_0x4f7e('0x45')]);_0x45128b[_0x4f7e('0x46')]=_[_0x4f7e('0x47')](_0x45128b[_0x4f7e('0x43')],_0x45128b[_0x4f7e('0x45')]);_0xf4acd0[_0x4f7e('0x48')]=_[_0x4f7e('0x47')](_0x45128b[_0x4f7e('0x43')],qs[_0x4f7e('0x58')](_0x20e384[_0x4f7e('0x45')][_0x4f7e('0x58')]));_0xf4acd0[_0x4f7e('0x48')]=_0xf4acd0[_0x4f7e('0x48')][_0x4f7e('0x49')]?_0xf4acd0[_0x4f7e('0x48')]:_0x45128b['model'];if(!_0x20e384[_0x4f7e('0x45')][_0x4f7e('0x4a')]('nolimit')){_0xf4acd0[_0x4f7e('0x32')]=qs[_0x4f7e('0x32')](_0x20e384['query'][_0x4f7e('0x32')]);_0xf4acd0[_0x4f7e('0x30')]=qs['offset'](_0x20e384[_0x4f7e('0x45')]['offset']);}_0xf4acd0['order']=qs[_0x4f7e('0x4d')](_0x20e384['query']['sort']);_0xf4acd0[_0x4f7e('0x4f')]=qs[_0x4f7e('0x46')](_[_0x4f7e('0x4e')](_0x20e384['query'],_0x45128b['filters']));_0xf4acd0[_0x4f7e('0x4f')][_0x4f7e('0x66')]=_0x52af11['id'];if(_0x20e384[_0x4f7e('0x45')][_0x4f7e('0x52')]){_0xf4acd0[_0x4f7e('0x4f')]=_[_0x4f7e('0x53')](_0xf4acd0[_0x4f7e('0x4f')],{'$or':_[_0x4f7e('0x3e')](_0xf4acd0[_0x4f7e('0x48')],function(_0x4ecabf){var _0x16e402={};_0x16e402[_0x4ecabf]={'$like':'%'+_0x20e384['query'][_0x4f7e('0x52')]+'%'};return _0x16e402;})});}_0xf4acd0=_[_0x4f7e('0x53')]({},_0xf4acd0,_0x20e384[_0x4f7e('0x67')]);return db['UserChatQueue'][_0x4f7e('0x55')](_0xf4acd0);}})['then'](function(_0x26e41c){if(_0x26e41c){return db['User'][_0x4f7e('0x68')]({'where':{'id':_[_0x4f7e('0x3e')](_0x26e41c,_0x4f7e('0x69')),'role':_0x4f7e('0x6a')},'attributes':['id','name',_0x4f7e('0x6b'),_0x4f7e('0x6c'),_0x4f7e('0x6d')]});}})[_0x4f7e('0x20')](function(_0x5e3ffe){if(_0x5e3ffe){return{'count':_0x5e3ffe[_0x4f7e('0x31')],'rows':_[_0x4f7e('0x3e')](_0x5e3ffe[_0x4f7e('0x6e')],function(_0x598cf7){return{'membername':_0x598cf7[_0x4f7e('0x3c')],'UserId':_0x598cf7['id'],'queue_name':_0x5791ec[_0x4f7e('0x3c')],'ChatQueueId':_0x5791ec['id'],'interface':util['format'](_0x4f7e('0x6f'),_0x4f7e('0x70'),_0x598cf7['name']),'penalty':0x0,'paused':_0x598cf7[_0x4f7e('0x6b')],'createdAt':_0x598cf7[_0x4f7e('0x6d')],'updatedAt':_0x598cf7['updatedAt']};})};}else{return{'count':0x0,'rows':[]};}})[_0x4f7e('0x20')](respondWithFilteredResult(_0x7c831c,_0xf4acd0))[_0x4f7e('0x2b')](handleError(_0x7c831c,null));};exports[_0x4f7e('0x71')]=function(_0x5f3e6a,_0x43162a,_0x23597a){var _0x3710ec={};var _0x2b86f9={};var _0x36b0e5;var _0x59bbce;return db['ChatQueue'][_0x4f7e('0x64')]({'where':{'id':_0x5f3e6a[_0x4f7e('0x57')]['id']}})[_0x4f7e('0x20')](handleEntityNotFound(_0x43162a,null))[_0x4f7e('0x20')](function(_0x3bf9a7){if(_0x3bf9a7){_0x36b0e5=_0x3bf9a7;_0x2b86f9['model']=_[_0x4f7e('0x44')](db[_0x4f7e('0x72')][_0x4f7e('0x40')]);_0x2b86f9['query']=_[_0x4f7e('0x44')](_0x5f3e6a[_0x4f7e('0x45')]);_0x2b86f9[_0x4f7e('0x46')]=_[_0x4f7e('0x47')](_0x2b86f9[_0x4f7e('0x43')],_0x2b86f9[_0x4f7e('0x45')]);_0x3710ec[_0x4f7e('0x48')]=_[_0x4f7e('0x47')](_0x2b86f9[_0x4f7e('0x43')],qs[_0x4f7e('0x58')](_0x5f3e6a[_0x4f7e('0x45')][_0x4f7e('0x58')]));_0x3710ec[_0x4f7e('0x48')]=_0x3710ec[_0x4f7e('0x48')]['length']?_0x3710ec[_0x4f7e('0x48')]:_0x2b86f9['model'];_0x3710ec['order']=qs['sort'](_0x5f3e6a[_0x4f7e('0x45')][_0x4f7e('0x4d')]);_0x3710ec[_0x4f7e('0x4f')]=qs['filters'](_[_0x4f7e('0x4e')](_0x5f3e6a[_0x4f7e('0x45')],_0x2b86f9['filters']));if(_0x5f3e6a[_0x4f7e('0x45')][_0x4f7e('0x52')]){_0x3710ec[_0x4f7e('0x4f')]=_[_0x4f7e('0x53')](_0x3710ec[_0x4f7e('0x4f')],{'$or':_[_0x4f7e('0x3e')](_0x3710ec[_0x4f7e('0x48')],function(_0x460120){var _0x230c39={};_0x230c39[_0x460120]={'$like':'%'+_0x5f3e6a[_0x4f7e('0x45')][_0x4f7e('0x52')]+'%'};return _0x230c39;})});}_0x3710ec=_[_0x4f7e('0x53')]({},_0x3710ec,_0x5f3e6a['options']);return _0x36b0e5[_0x4f7e('0x71')](_0x3710ec);}})[_0x4f7e('0x20')](function(_0x142607){if(_0x142607){_0x59bbce=_0x142607['length'];if(!_0x5f3e6a[_0x4f7e('0x45')][_0x4f7e('0x4a')](_0x4f7e('0x4b'))){_0x3710ec[_0x4f7e('0x32')]=qs[_0x4f7e('0x32')](_0x5f3e6a[_0x4f7e('0x45')][_0x4f7e('0x32')]);_0x3710ec[_0x4f7e('0x30')]=qs[_0x4f7e('0x30')](_0x5f3e6a[_0x4f7e('0x45')][_0x4f7e('0x30')]);}return _0x36b0e5['getTeams'](_0x3710ec);}})['then'](function(_0x426507){if(_0x426507){return _0x426507?{'count':_0x59bbce,'rows':_0x426507}:null;}})[_0x4f7e('0x20')](respondWithResult(_0x43162a,null))[_0x4f7e('0x2b')](handleError(_0x43162a,null));};exports[_0x4f7e('0x73')]=function(_0xc440cf,_0x231c0c,_0x43b236){var _0x4250cd=_0xc440cf['body'][_0x4f7e('0x74')];return db[_0x4f7e('0x72')][_0x4f7e('0x55')]({'where':{'id':_0x4250cd},'attributes':['id'],'include':[{'model':db[_0x4f7e('0x75')],'as':_0x4f7e('0x76'),'attributes':['id','name',_0x4f7e('0x77'),_0x4f7e('0x78'),_0x4f7e('0x79')],'raw':!![]}]})[_0x4f7e('0x20')](function(_0x1af2e6){if(_0x1af2e6){var _0x3ab0d=_[_0x4f7e('0x7a')](_0x1af2e6,function(_0x54acb5){var _0x324f1e=_0x54acb5[_0x4f7e('0x5c')]({'plain':!![]});return _0x324f1e[_0x4f7e('0x76')];});return db['ChatQueue'][_0x4f7e('0x5e')]({'where':{'id':_0xc440cf[_0x4f7e('0x57')]['id']}})[_0x4f7e('0x20')](function(_0x5e7b54){return db[_0x4f7e('0x7b')][_0x4f7e('0x7c')](function(_0xa2aedf){return _0x5e7b54[_0x4f7e('0x73')](_0x4250cd,{'transaction':_0xa2aedf})[_0x4f7e('0x20')](function(){return BPromise['each'](_0x3ab0d,function(_0x10fb30){return db[_0x4f7e('0x65')]['findOrCreate']({'where':{'UserId':_0x10fb30['id'],'ChatQueueId':_0xc440cf['params']['id']},'transaction':_0xa2aedf});});})[_0x4f7e('0x20')](function(){_0x3ab0d[_0x4f7e('0x7d')](function(_0x2eced3){socket[_0x4f7e('0x7e')](_0x4f7e('0x7f'),{'UserId':_0x2eced3['id'],'ChatQueueId':_0x5e7b54['id']});});});});});}})[_0x4f7e('0x20')](respondWithStatusCode(_0x231c0c,null))[_0x4f7e('0x2b')](handleError(_0x231c0c,null));};exports[_0x4f7e('0x80')]=function(_0x4d936f,_0x247033,_0x58a144){return db[_0x4f7e('0x72')][_0x4f7e('0x55')]({'where':{'id':_0x4d936f[_0x4f7e('0x45')]['ids']},'attributes':['id'],'include':[{'model':db['User'],'as':_0x4f7e('0x76'),'attributes':['id'],'raw':!![]}]})[_0x4f7e('0x20')](handleEntityNotFound(_0x247033,null))[_0x4f7e('0x20')](function(_0x5e2f13){var _0xca120f=_[_0x4f7e('0x3e')](_0x5e2f13,'id');var _0x1512ef=[];var _0x442007=[];var _0x247339=squel['select']();_0x247339[_0x4f7e('0x81')](_0x4f7e('0x82'))[_0x4f7e('0x83')](_0x4f7e('0x84'),'tq')[_0x4f7e('0x85')](_0x4f7e('0x86'),'ut',_0x4f7e('0x87'))['where'](_0x4f7e('0x88'),_0x4d936f[_0x4f7e('0x57')]['id']);for(var _0x433299=0x0;_0x433299<_0x5e2f13[_0x4f7e('0x49')];_0x433299+=0x1){let _0x1bea9f=_0x5e2f13[_0x433299];for(var _0x364e49=0x0;_0x364e49<_0x1bea9f[_0x4f7e('0x76')][_0x4f7e('0x49')];_0x364e49+=0x1){let _0x33a387=_0x1bea9f[_0x4f7e('0x76')][_0x364e49];var _0x550b72=_0x247339[_0x4f7e('0x89')]();_0x550b72[_0x4f7e('0x4f')]('ut.UserId\x20=\x20?',_0x33a387['id']);_0x442007[_0x4f7e('0x8a')](db[_0x4f7e('0x7b')]['query'](_0x550b72['toString'](),{'type':db[_0x4f7e('0x7b')][_0x4f7e('0x8b')][_0x4f7e('0x8c')]})[_0x4f7e('0x20')](function(_0x14156c){if(_0x14156c[_0x4f7e('0x49')]===0x1){return _0x33a387['id'];}else{var _0x12c883=_['every'](_[_0x4f7e('0x3e')](_0x14156c,_0x4f7e('0x8d')),function(_0x3cbcbd){return _[_0x4f7e('0x8e')](_0xca120f,_0x3cbcbd);});if(_0x12c883){return _0x33a387['id'];}}}));}}return BPromise[_0x4f7e('0x8f')](_0x442007)[_0x4f7e('0x20')](function(_0x593da0){_0x1512ef=_(_0x1512ef)[_0x4f7e('0x90')](_0x593da0)[_0x4f7e('0x91')]()['value']();return db[_0x4f7e('0x3f')]['find']({'where':{'id':_0x4d936f[_0x4f7e('0x57')]['id']}})['then'](function(_0x481cc5){return db[_0x4f7e('0x7b')]['transaction'](function(_0x211b79){return _0x481cc5[_0x4f7e('0x80')](_0x4d936f[_0x4f7e('0x45')][_0x4f7e('0x74')],{'transaction':_0x211b79})['then'](function(){if(!_[_0x4f7e('0x92')](_0x1512ef)){return _0x481cc5[_0x4f7e('0x93')](_0x1512ef,{'transaction':_0x211b79});}})[_0x4f7e('0x20')](function(){_0x1512ef[_0x4f7e('0x7d')](function(_0x3150f1){socket['emit']('userChatQueue:remove',{'UserId':_0x3150f1,'ChatQueueId':_0x481cc5['id']});});});});});});})[_0x4f7e('0x20')](respondWithStatusCode(_0x247033,null))[_0x4f7e('0x2b')](handleError(_0x247033,null));};exports[_0x4f7e('0x94')]=function(_0x3fbbea,_0x1edef6,_0x384fd1){return db[_0x4f7e('0x3f')][_0x4f7e('0x5e')]({'where':{'id':_0x3fbbea[_0x4f7e('0x57')]['id']}})[_0x4f7e('0x20')](handleEntityNotFound(_0x1edef6,null))[_0x4f7e('0x20')](function(_0x122246){if(_0x122246){return _0x122246[_0x4f7e('0x94')](_0x3fbbea['body']['ids'],_[_0x4f7e('0x95')](_0x3fbbea[_0x4f7e('0x5a')],[_0x4f7e('0x74'),'id'])||{})[_0x4f7e('0x96')](function(_0x6c1d8d){for(var _0x5c525b=0x0;_0x5c525b<_0x3fbbea[_0x4f7e('0x5a')][_0x4f7e('0x74')][_0x4f7e('0x49')];_0x5c525b+=0x1){socket[_0x4f7e('0x7e')](_0x4f7e('0x7f'),{'UserId':Number(_0x3fbbea['body'][_0x4f7e('0x74')][_0x5c525b]),'ChatQueueId':Number(_0x3fbbea[_0x4f7e('0x57')]['id'])});}return _0x6c1d8d;});}})[_0x4f7e('0x20')](respondWithResult(_0x1edef6,null))[_0x4f7e('0x2b')](handleError(_0x1edef6,null));};exports['removeAgents']=function(_0xae3de2,_0xd4e218,_0xd6ff27){return db[_0x4f7e('0x3f')][_0x4f7e('0x5e')]({'where':{'id':_0xae3de2['params']['id']}})['then'](handleEntityNotFound(_0xd4e218,null))['then'](function(_0x5a42fa){if(_0x5a42fa){return _0x5a42fa[_0x4f7e('0x93')](_0xae3de2[_0x4f7e('0x45')][_0x4f7e('0x74')])[_0x4f7e('0x20')](function(){if(_[_0x4f7e('0x97')](_0xae3de2[_0x4f7e('0x45')]['ids'])){for(var _0x126bac=0x0;_0x126bac<_0xae3de2[_0x4f7e('0x45')][_0x4f7e('0x74')][_0x4f7e('0x49')];_0x126bac+=0x1){socket[_0x4f7e('0x7e')](_0x4f7e('0x98'),{'UserId':Number(_0xae3de2['query']['ids'][_0x126bac]),'ChatQueueId':Number(_0xae3de2[_0x4f7e('0x57')]['id'])});}}else{socket['emit'](_0x4f7e('0x98'),{'UserId':Number(_0xae3de2['query'][_0x4f7e('0x74')]),'ChatQueueId':Number(_0xae3de2[_0x4f7e('0x57')]['id'])});}});}})[_0x4f7e('0x20')](respondWithStatusCode(_0xd4e218,null))['catch'](handleError(_0xd4e218,null));};exports[_0x4f7e('0x99')]=function(_0x1ff153,_0x2c2736,_0x236fc5){var _0x172e8f={};var _0x10ce16={};var _0x512d08;var _0x4be21c;return db[_0x4f7e('0x3f')][_0x4f7e('0x64')]({'where':{'id':_0x1ff153['params']['id']}})['then'](handleEntityNotFound(_0x2c2736,null))[_0x4f7e('0x20')](function(_0x4d96c5){if(_0x4d96c5){_0x512d08=_0x4d96c5;_0x10ce16[_0x4f7e('0x43')]=_['keys'](db[_0x4f7e('0x75')][_0x4f7e('0x40')]);_0x10ce16[_0x4f7e('0x45')]=_[_0x4f7e('0x44')](_0x1ff153[_0x4f7e('0x45')]);_0x10ce16[_0x4f7e('0x46')]=_[_0x4f7e('0x47')](_0x10ce16[_0x4f7e('0x43')],_0x10ce16[_0x4f7e('0x45')]);_0x172e8f[_0x4f7e('0x48')]=_[_0x4f7e('0x47')](_0x10ce16['model'],qs[_0x4f7e('0x58')](_0x1ff153[_0x4f7e('0x45')]['fields']));_0x172e8f['attributes']=_0x172e8f['attributes']['length']?_0x172e8f[_0x4f7e('0x48')]:_0x10ce16[_0x4f7e('0x43')];_0x172e8f[_0x4f7e('0x4c')]=qs[_0x4f7e('0x4d')](_0x1ff153[_0x4f7e('0x45')][_0x4f7e('0x4d')]);_0x172e8f[_0x4f7e('0x4f')]=qs[_0x4f7e('0x46')](_['pick'](_0x1ff153[_0x4f7e('0x45')],_0x10ce16['filters']));if(_0x1ff153[_0x4f7e('0x45')]['filter']){_0x172e8f[_0x4f7e('0x4f')]=_['merge'](_0x172e8f[_0x4f7e('0x4f')],{'$or':_['map'](_0x172e8f[_0x4f7e('0x48')],function(_0x29bf21){var _0x20021d={};_0x20021d[_0x29bf21]={'$like':'%'+_0x1ff153[_0x4f7e('0x45')]['filter']+'%'};return _0x20021d;})});}_0x172e8f=_[_0x4f7e('0x53')]({},_0x172e8f,_0x1ff153['options']);return _0x512d08['getAgents'](_0x172e8f);}})[_0x4f7e('0x20')](function(_0x3ef73d){if(_0x3ef73d){_0x4be21c=_0x3ef73d[_0x4f7e('0x49')];if(!_0x1ff153[_0x4f7e('0x45')][_0x4f7e('0x4a')](_0x4f7e('0x4b'))){_0x172e8f['limit']=qs['limit'](_0x1ff153['query'][_0x4f7e('0x32')]);_0x172e8f[_0x4f7e('0x30')]=qs[_0x4f7e('0x30')](_0x1ff153[_0x4f7e('0x45')][_0x4f7e('0x30')]);}return _0x512d08[_0x4f7e('0x99')](_0x172e8f);}})[_0x4f7e('0x20')](function(_0x4e6725){if(_0x4e6725){return _0x4e6725?{'count':_0x4be21c,'rows':_0x4e6725}:null;}})[_0x4f7e('0x20')](respondWithResult(_0x2c2736,null))[_0x4f7e('0x2b')](handleError(_0x2c2736,null));};
\ No newline at end of file
+var _0xa176=['mustache','path','sox','ejs','lodash','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/environment','../../config/license/util','../../mysqldb','defaults','redis','localhost','socket.io-emitter','./chatQueue.socket','register','jayson/promise','client','http','request','then','ChatQueue,\x20%s,\x20%s','request\x20sent','debug','ChatQueue,\x20%s,\x20%s,\x20%s','error','code','message','result','status','end','json','offset','undefined','limit','count','reject','save','update','destroy','get','ChatQueues','UserProfileResource','name','send','index','map','ChatQueue','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','sort','where','pick','merge','VIRTUAL','options','includeAll','include','show','rawAttributes','find','catch','create','body','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','UserProfileSection','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','params','describe','getMembers','findOne','UserChatQueue','ChatQueueId','filter','findAll','User','findAndCountAll','UserId','agent','chatPause','updatedAt','createdAt','format','%s/%s','SIP','getTeams','Team','addTeams','ids','online','voicePause','interface','flatMap','Agents','sequelize','transaction','each','findOrCreate','forEach','emit','userChatQueue:save','removeTeams','select','tq.TeamId','team_has_chat_queues','join','user_has_teams','ut.TeamId\x20=\x20tq.TeamId','ChatQueueId\x20=\x20?','clone','ut.UserId\x20=\x20?','QueryTypes','SELECT','every','TeamId','includes','union','isEmpty','removeAgents','userChatQueue:remove','addAgents','omit','isArray','order','getAgents','eml-format','rimraf','fast-json-patch','request-promise','moment'];(function(_0x3c257d,_0x37adf6){var _0x4606b7=function(_0x3d3667){while(--_0x3d3667){_0x3c257d['push'](_0x3c257d['shift']());}};_0x4606b7(++_0x37adf6);}(_0xa176,0x94));var _0x6a17=function(_0x4d8550,_0x6ca9a0){_0x4d8550=_0x4d8550-0x0;var _0x489e9f=_0xa176[_0x4d8550];return _0x489e9f;};'use strict';var emlformat=require(_0x6a17('0x0'));var rimraf=require(_0x6a17('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x6a17('0x2'));var rp=require(_0x6a17('0x3'));var moment=require(_0x6a17('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x6a17('0x5'));var util=require('util');var path=require(_0x6a17('0x6'));var sox=require(_0x6a17('0x7'));var csv=require('to-csv');var ejs=require(_0x6a17('0x8'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x6a17('0x9'));var squel=require('squel');var crypto=require(_0x6a17('0xa'));var jsforce=require(_0x6a17('0xb'));var deskjs=require(_0x6a17('0xc'));var toCsv=require('to-csv');var querystring=require(_0x6a17('0xd'));var Papa=require('papaparse');var Redis=require(_0x6a17('0xe'));var authService=require(_0x6a17('0xf'));var qs=require(_0x6a17('0x10'));var as=require(_0x6a17('0x11'));var hardwareService=require(_0x6a17('0x12'));var logger=require('../../config/logger')(_0x6a17('0x13'));var utils=require('../../config/utils');var config=require(_0x6a17('0x14'));var licenseUtil=require(_0x6a17('0x15'));var db=require(_0x6a17('0x16'))['db'];config['redis']=_[_0x6a17('0x17')](config[_0x6a17('0x18')],{'host':_0x6a17('0x19'),'port':0x18eb});var socket=require(_0x6a17('0x1a'))(new Redis(config['redis']));require(_0x6a17('0x1b'))[_0x6a17('0x1c')](socket);var jayson=require(_0x6a17('0x1d'));var client=jayson[_0x6a17('0x1e')][_0x6a17('0x1f')]({'port':0x232a});function respondWithRpcPromise(_0x2bdc31,_0x25e56d,_0x32642c,_0x5a08c9){return new BPromise(function(_0x2d236e,_0x2e7b70){var _0x14a69f=_0x5a08c9||client;return _0x14a69f[_0x6a17('0x20')](_0x2bdc31,_0x32642c)[_0x6a17('0x21')](function(_0x3e2b56){logger['info'](_0x6a17('0x22'),_0x25e56d,_0x6a17('0x23'));logger[_0x6a17('0x24')](_0x6a17('0x25'),_0x25e56d,_0x6a17('0x23'),JSON['stringify'](_0x3e2b56));if(_0x3e2b56['error']){if(_0x3e2b56[_0x6a17('0x26')][_0x6a17('0x27')]===0x1f4){logger[_0x6a17('0x26')](_0x6a17('0x22'),_0x25e56d,_0x3e2b56[_0x6a17('0x26')][_0x6a17('0x28')]);return _0x2e7b70(_0x3e2b56[_0x6a17('0x26')][_0x6a17('0x28')]);}logger['error'](_0x6a17('0x22'),_0x25e56d,_0x3e2b56['error'][_0x6a17('0x28')]);return _0x2d236e(_0x3e2b56['error'][_0x6a17('0x28')]);}else{logger['info'](_0x6a17('0x22'),_0x25e56d,_0x6a17('0x23'));_0x2d236e(_0x3e2b56[_0x6a17('0x29')][_0x6a17('0x28')]);}})['catch'](function(_0x2db800){logger[_0x6a17('0x26')](_0x6a17('0x22'),_0x25e56d,_0x2db800);_0x2e7b70(_0x2db800);});});}function respondWithStatusCode(_0xf7f7e,_0x3ff70a){_0x3ff70a=_0x3ff70a||0xcc;return function(_0x2f6674){if(_0x2f6674){return _0xf7f7e['sendStatus'](_0x3ff70a);}return _0xf7f7e[_0x6a17('0x2a')](_0x3ff70a)[_0x6a17('0x2b')]();};}function respondWithResult(_0x2f3c1d,_0x5e5481){_0x5e5481=_0x5e5481||0xc8;return function(_0x3037cf){if(_0x3037cf){return _0x2f3c1d[_0x6a17('0x2a')](_0x5e5481)[_0x6a17('0x2c')](_0x3037cf);}};}function respondWithFilteredResult(_0x130cd1,_0x22ad66){return function(_0x320d7e){if(_0x320d7e){var _0x524765=typeof _0x22ad66[_0x6a17('0x2d')]===_0x6a17('0x2e')&&typeof _0x22ad66[_0x6a17('0x2f')]===_0x6a17('0x2e');var _0x593ad2=_0x320d7e[_0x6a17('0x30')];var _0xe3bc37=_0x524765?0x0:_0x22ad66[_0x6a17('0x2d')];var _0xe232f1=_0x524765?_0x320d7e[_0x6a17('0x30')]:_0x22ad66[_0x6a17('0x2d')]+_0x22ad66['limit'];var _0x3b5700;if(_0xe232f1>=_0x593ad2){_0xe232f1=_0x593ad2;_0x3b5700=0xc8;}else{_0x3b5700=0xce;}_0x130cd1[_0x6a17('0x2a')](_0x3b5700);return _0x130cd1['set']('Content-Range',_0xe3bc37+'-'+_0xe232f1+'/'+_0x593ad2)['json'](_0x320d7e);}return null;};}function patchUpdates(_0x124042){return function(_0x318a4f){try{jsonpatch['apply'](_0x318a4f,_0x124042,!![]);}catch(_0x2ba2ce){return BPromise[_0x6a17('0x31')](_0x2ba2ce);}return _0x318a4f[_0x6a17('0x32')]();};}function saveUpdates(_0x47a30b,_0x1d3d94){return function(_0x1d3099){if(_0x1d3099){return _0x1d3099[_0x6a17('0x33')](_0x47a30b)['then'](function(_0x56673f){return _0x56673f;});}return null;};}function removeEntity(_0x5b8cde,_0x21732f){return function(_0x198323){if(_0x198323){return _0x198323[_0x6a17('0x34')]()[_0x6a17('0x21')](function(){var _0x1f842a=_0x198323[_0x6a17('0x35')]({'plain':!![]});var _0x239370=_0x6a17('0x36');return db[_0x6a17('0x37')][_0x6a17('0x34')]({'where':{'type':_0x239370,'resourceId':_0x1f842a['id']}})[_0x6a17('0x21')](function(){return _0x198323;});})[_0x6a17('0x21')](function(){_0x5b8cde[_0x6a17('0x2a')](0xcc)[_0x6a17('0x2b')]();});}};}function handleEntityNotFound(_0x89ea33,_0x58a5f0){return function(_0x3af125){if(!_0x3af125){_0x89ea33['sendStatus'](0x194);}return _0x3af125;};}function handleError(_0x9107c0,_0x46035b){_0x46035b=_0x46035b||0x1f4;return function(_0x55348d){logger[_0x6a17('0x26')](_0x55348d['stack']);if(_0x55348d[_0x6a17('0x38')]){delete _0x55348d[_0x6a17('0x38')];}_0x9107c0[_0x6a17('0x2a')](_0x46035b)[_0x6a17('0x39')](_0x55348d);};}exports[_0x6a17('0x3a')]=function(_0x5b10ac,_0x41477d){var _0x3d940b={},_0x330797={},_0x4f5ca={'count':0x0,'rows':[]};var _0x2d7c11=_[_0x6a17('0x3b')](db[_0x6a17('0x3c')]['rawAttributes'],function(_0x548af2){return{'name':_0x548af2[_0x6a17('0x3d')],'type':_0x548af2[_0x6a17('0x3e')][_0x6a17('0x3f')]};});_0x330797[_0x6a17('0x40')]=_[_0x6a17('0x3b')](_0x2d7c11,'name');_0x330797[_0x6a17('0x41')]=_[_0x6a17('0x42')](_0x5b10ac[_0x6a17('0x41')]);_0x330797[_0x6a17('0x43')]=_[_0x6a17('0x44')](_0x330797['model'],_0x330797[_0x6a17('0x41')]);_0x3d940b[_0x6a17('0x45')]=_['intersection'](_0x330797[_0x6a17('0x40')],qs['fields'](_0x5b10ac['query'][_0x6a17('0x46')]));_0x3d940b[_0x6a17('0x45')]=_0x3d940b[_0x6a17('0x45')][_0x6a17('0x47')]?_0x3d940b[_0x6a17('0x45')]:_0x330797[_0x6a17('0x40')];if(!_0x5b10ac['query'][_0x6a17('0x48')](_0x6a17('0x49'))){_0x3d940b[_0x6a17('0x2f')]=qs[_0x6a17('0x2f')](_0x5b10ac[_0x6a17('0x41')][_0x6a17('0x2f')]);_0x3d940b[_0x6a17('0x2d')]=qs['offset'](_0x5b10ac[_0x6a17('0x41')][_0x6a17('0x2d')]);}_0x3d940b['order']=qs['sort'](_0x5b10ac[_0x6a17('0x41')][_0x6a17('0x4a')]);_0x3d940b[_0x6a17('0x4b')]=qs[_0x6a17('0x43')](_[_0x6a17('0x4c')](_0x5b10ac[_0x6a17('0x41')],_0x330797['filters']),_0x2d7c11);if(_0x5b10ac[_0x6a17('0x41')]['filter']){_0x3d940b[_0x6a17('0x4b')]=_[_0x6a17('0x4d')](_0x3d940b[_0x6a17('0x4b')],{'$or':_[_0x6a17('0x3b')](_0x2d7c11,function(_0x6ace00){if(_0x6ace00[_0x6a17('0x3e')]!==_0x6a17('0x4e')){var _0x53cfb3={};_0x53cfb3[_0x6ace00[_0x6a17('0x38')]]={'$like':'%'+_0x5b10ac['query']['filter']+'%'};return _0x53cfb3;}})});}_0x3d940b=_[_0x6a17('0x4d')]({},_0x3d940b,_0x5b10ac[_0x6a17('0x4f')]);var _0x22d2c2={'where':_0x3d940b[_0x6a17('0x4b')]};return db[_0x6a17('0x3c')][_0x6a17('0x30')](_0x22d2c2)[_0x6a17('0x21')](function(_0x5c4161){_0x4f5ca['count']=_0x5c4161;if(_0x5b10ac[_0x6a17('0x41')][_0x6a17('0x50')]){_0x3d940b[_0x6a17('0x51')]=[{'all':!![]}];}return db['ChatQueue']['findAll'](_0x3d940b);})[_0x6a17('0x21')](function(_0x290e19){_0x4f5ca['rows']=_0x290e19;return _0x4f5ca;})[_0x6a17('0x21')](respondWithFilteredResult(_0x41477d,_0x3d940b))['catch'](handleError(_0x41477d,null));};exports[_0x6a17('0x52')]=function(_0x3ca723,_0x57d7c1){var _0x2e63ab={'raw':!![],'where':{'id':_0x3ca723['params']['id']}},_0x9f4208={};_0x9f4208[_0x6a17('0x40')]=_['keys'](db[_0x6a17('0x3c')][_0x6a17('0x53')]);_0x9f4208[_0x6a17('0x41')]=_['keys'](_0x3ca723[_0x6a17('0x41')]);_0x9f4208['filters']=_[_0x6a17('0x44')](_0x9f4208[_0x6a17('0x40')],_0x9f4208[_0x6a17('0x41')]);_0x2e63ab['attributes']=_[_0x6a17('0x44')](_0x9f4208[_0x6a17('0x40')],qs['fields'](_0x3ca723[_0x6a17('0x41')][_0x6a17('0x46')]));_0x2e63ab[_0x6a17('0x45')]=_0x2e63ab[_0x6a17('0x45')][_0x6a17('0x47')]?_0x2e63ab[_0x6a17('0x45')]:_0x9f4208[_0x6a17('0x40')];if(_0x3ca723[_0x6a17('0x41')][_0x6a17('0x50')]){_0x2e63ab[_0x6a17('0x51')]=[{'all':!![]}];}_0x2e63ab=_['merge']({},_0x2e63ab,_0x3ca723[_0x6a17('0x4f')]);return db[_0x6a17('0x3c')][_0x6a17('0x54')](_0x2e63ab)[_0x6a17('0x21')](handleEntityNotFound(_0x57d7c1,null))[_0x6a17('0x21')](respondWithResult(_0x57d7c1,null))[_0x6a17('0x55')](handleError(_0x57d7c1,null));};exports[_0x6a17('0x56')]=function(_0x3304e4,_0x2f1961){return db[_0x6a17('0x3c')][_0x6a17('0x56')](_0x3304e4[_0x6a17('0x57')],{})[_0x6a17('0x21')](function(_0x1307eb){var _0x227de7=_0x3304e4['user'][_0x6a17('0x35')]({'plain':!![]});if(!_0x227de7)throw new Error(_0x6a17('0x58'));if(_0x227de7[_0x6a17('0x59')]===_0x6a17('0x5a')){var _0x25f9e4=_0x1307eb[_0x6a17('0x35')]({'plain':!![]});var _0x375613=_0x6a17('0x36');return db[_0x6a17('0x5b')][_0x6a17('0x54')]({'where':{'name':_0x375613,'userProfileId':_0x227de7[_0x6a17('0x5c')]},'raw':!![]})[_0x6a17('0x21')](function(_0x45fb8b){if(_0x45fb8b&&_0x45fb8b[_0x6a17('0x5d')]===0x0){return db[_0x6a17('0x37')]['create']({'name':_0x25f9e4[_0x6a17('0x38')],'resourceId':_0x25f9e4['id'],'type':_0x45fb8b[_0x6a17('0x38')],'sectionId':_0x45fb8b['id']},{})[_0x6a17('0x21')](function(){return _0x1307eb;});}else{return _0x1307eb;}})[_0x6a17('0x55')](function(_0x13983f){logger[_0x6a17('0x26')](_0x6a17('0x5e'),_0x13983f);throw _0x13983f;});}return _0x1307eb;})[_0x6a17('0x21')](respondWithResult(_0x2f1961,0xc9))[_0x6a17('0x55')](handleError(_0x2f1961,null));};exports[_0x6a17('0x33')]=function(_0x5679b5,_0x420adb){if(_0x5679b5['body']['id']){delete _0x5679b5['body']['id'];}return db[_0x6a17('0x3c')][_0x6a17('0x54')]({'where':{'id':_0x5679b5[_0x6a17('0x5f')]['id']}})[_0x6a17('0x21')](handleEntityNotFound(_0x420adb,null))[_0x6a17('0x21')](saveUpdates(_0x5679b5[_0x6a17('0x57')],null))[_0x6a17('0x21')](respondWithResult(_0x420adb,null))['catch'](handleError(_0x420adb,null));};exports[_0x6a17('0x34')]=function(_0x41fa32,_0x472e1d){return db[_0x6a17('0x3c')][_0x6a17('0x54')]({'where':{'id':_0x41fa32[_0x6a17('0x5f')]['id']}})[_0x6a17('0x21')](handleEntityNotFound(_0x472e1d,null))[_0x6a17('0x21')](removeEntity(_0x472e1d,null))[_0x6a17('0x55')](handleError(_0x472e1d,null));};exports[_0x6a17('0x60')]=function(_0x447928,_0x435717){return db['ChatQueue']['describe']()[_0x6a17('0x21')](respondWithResult(_0x435717,null))[_0x6a17('0x55')](handleError(_0x435717,null));};exports[_0x6a17('0x61')]=function(_0x55a8ba,_0x17f9f4,_0x300fc2){var _0x5ac0f4={'raw':!![],'where':{}},_0x1d84e1={},_0x5c910d;return db['ChatQueue'][_0x6a17('0x62')]({'where':{'id':_0x55a8ba['params']['id']}})['then'](handleEntityNotFound(_0x17f9f4,null))['then'](function(_0x2a4446){if(_0x2a4446){_0x5c910d=_0x2a4446[_0x6a17('0x35')]({'plain':!![]});_0x1d84e1[_0x6a17('0x40')]=_[_0x6a17('0x42')](db[_0x6a17('0x63')][_0x6a17('0x53')]);_0x1d84e1['query']=_[_0x6a17('0x42')](_0x55a8ba[_0x6a17('0x41')]);_0x1d84e1[_0x6a17('0x43')]=_[_0x6a17('0x44')](_0x1d84e1[_0x6a17('0x40')],_0x1d84e1['query']);_0x5ac0f4[_0x6a17('0x45')]=_['intersection'](_0x1d84e1[_0x6a17('0x40')],qs['fields'](_0x55a8ba[_0x6a17('0x41')][_0x6a17('0x46')]));_0x5ac0f4['attributes']=_0x5ac0f4[_0x6a17('0x45')][_0x6a17('0x47')]?_0x5ac0f4[_0x6a17('0x45')]:_0x1d84e1[_0x6a17('0x40')];if(!_0x55a8ba['query']['hasOwnProperty'](_0x6a17('0x49'))){_0x5ac0f4['limit']=qs[_0x6a17('0x2f')](_0x55a8ba[_0x6a17('0x41')][_0x6a17('0x2f')]);_0x5ac0f4[_0x6a17('0x2d')]=qs[_0x6a17('0x2d')](_0x55a8ba[_0x6a17('0x41')][_0x6a17('0x2d')]);}_0x5ac0f4['order']=qs[_0x6a17('0x4a')](_0x55a8ba['query'][_0x6a17('0x4a')]);_0x5ac0f4[_0x6a17('0x4b')]=qs['filters'](_[_0x6a17('0x4c')](_0x55a8ba[_0x6a17('0x41')],_0x1d84e1['filters']));_0x5ac0f4[_0x6a17('0x4b')][_0x6a17('0x64')]=_0x2a4446['id'];if(_0x55a8ba[_0x6a17('0x41')][_0x6a17('0x65')]){_0x5ac0f4[_0x6a17('0x4b')]=_[_0x6a17('0x4d')](_0x5ac0f4[_0x6a17('0x4b')],{'$or':_['map'](_0x5ac0f4[_0x6a17('0x45')],function(_0x5939ca){var _0x1742e2={};_0x1742e2[_0x5939ca]={'$like':'%'+_0x55a8ba[_0x6a17('0x41')]['filter']+'%'};return _0x1742e2;})});}_0x5ac0f4=_[_0x6a17('0x4d')]({},_0x5ac0f4,_0x55a8ba[_0x6a17('0x4f')]);return db[_0x6a17('0x63')][_0x6a17('0x66')](_0x5ac0f4);}})[_0x6a17('0x21')](function(_0x4bf752){if(_0x4bf752){return db[_0x6a17('0x67')][_0x6a17('0x68')]({'where':{'id':_[_0x6a17('0x3b')](_0x4bf752,_0x6a17('0x69')),'role':_0x6a17('0x6a')},'attributes':['id',_0x6a17('0x38'),_0x6a17('0x6b'),_0x6a17('0x6c'),_0x6a17('0x6d')]});}})[_0x6a17('0x21')](function(_0x24a764){if(_0x24a764){return{'count':_0x24a764[_0x6a17('0x30')],'rows':_[_0x6a17('0x3b')](_0x24a764['rows'],function(_0x3617f0){return{'membername':_0x3617f0['name'],'UserId':_0x3617f0['id'],'queue_name':_0x5c910d[_0x6a17('0x38')],'ChatQueueId':_0x5c910d['id'],'interface':util[_0x6a17('0x6e')](_0x6a17('0x6f'),_0x6a17('0x70'),_0x3617f0[_0x6a17('0x38')]),'penalty':0x0,'paused':_0x3617f0['chatPause'],'createdAt':_0x3617f0[_0x6a17('0x6d')],'updatedAt':_0x3617f0[_0x6a17('0x6c')]};})};}else{return{'count':0x0,'rows':[]};}})[_0x6a17('0x21')](respondWithFilteredResult(_0x17f9f4,_0x5ac0f4))[_0x6a17('0x55')](handleError(_0x17f9f4,null));};exports[_0x6a17('0x71')]=function(_0x2bdbeb,_0x4506b0,_0x20fc4b){var _0x1293a8={};var _0x58bfbf={};var _0x1621f3;var _0x51cdbe;return db[_0x6a17('0x3c')]['findOne']({'where':{'id':_0x2bdbeb[_0x6a17('0x5f')]['id']}})[_0x6a17('0x21')](handleEntityNotFound(_0x4506b0,null))['then'](function(_0x853afe){if(_0x853afe){_0x1621f3=_0x853afe;_0x58bfbf[_0x6a17('0x40')]=_[_0x6a17('0x42')](db[_0x6a17('0x72')][_0x6a17('0x53')]);_0x58bfbf[_0x6a17('0x41')]=_[_0x6a17('0x42')](_0x2bdbeb[_0x6a17('0x41')]);_0x58bfbf[_0x6a17('0x43')]=_[_0x6a17('0x44')](_0x58bfbf[_0x6a17('0x40')],_0x58bfbf[_0x6a17('0x41')]);_0x1293a8[_0x6a17('0x45')]=_[_0x6a17('0x44')](_0x58bfbf[_0x6a17('0x40')],qs[_0x6a17('0x46')](_0x2bdbeb[_0x6a17('0x41')]['fields']));_0x1293a8[_0x6a17('0x45')]=_0x1293a8['attributes'][_0x6a17('0x47')]?_0x1293a8[_0x6a17('0x45')]:_0x58bfbf[_0x6a17('0x40')];_0x1293a8['order']=qs['sort'](_0x2bdbeb[_0x6a17('0x41')][_0x6a17('0x4a')]);_0x1293a8[_0x6a17('0x4b')]=qs[_0x6a17('0x43')](_[_0x6a17('0x4c')](_0x2bdbeb['query'],_0x58bfbf[_0x6a17('0x43')]));if(_0x2bdbeb[_0x6a17('0x41')][_0x6a17('0x65')]){_0x1293a8['where']=_[_0x6a17('0x4d')](_0x1293a8[_0x6a17('0x4b')],{'$or':_[_0x6a17('0x3b')](_0x1293a8['attributes'],function(_0x2cdb3b){var _0x26cd5c={};_0x26cd5c[_0x2cdb3b]={'$like':'%'+_0x2bdbeb['query'][_0x6a17('0x65')]+'%'};return _0x26cd5c;})});}_0x1293a8=_[_0x6a17('0x4d')]({},_0x1293a8,_0x2bdbeb[_0x6a17('0x4f')]);return _0x1621f3[_0x6a17('0x71')](_0x1293a8);}})['then'](function(_0x5af3c5){if(_0x5af3c5){_0x51cdbe=_0x5af3c5[_0x6a17('0x47')];if(!_0x2bdbeb[_0x6a17('0x41')][_0x6a17('0x48')](_0x6a17('0x49'))){_0x1293a8['limit']=qs[_0x6a17('0x2f')](_0x2bdbeb[_0x6a17('0x41')][_0x6a17('0x2f')]);_0x1293a8[_0x6a17('0x2d')]=qs[_0x6a17('0x2d')](_0x2bdbeb[_0x6a17('0x41')][_0x6a17('0x2d')]);}return _0x1621f3[_0x6a17('0x71')](_0x1293a8);}})['then'](function(_0x4c6272){if(_0x4c6272){return _0x4c6272?{'count':_0x51cdbe,'rows':_0x4c6272}:null;}})[_0x6a17('0x21')](respondWithResult(_0x4506b0,null))[_0x6a17('0x55')](handleError(_0x4506b0,null));};exports[_0x6a17('0x73')]=function(_0x4d4899,_0x382bfd,_0x5ea1b3){var _0x1033c3=_0x4d4899[_0x6a17('0x57')][_0x6a17('0x74')];return db[_0x6a17('0x72')]['findAll']({'where':{'id':_0x1033c3},'attributes':['id'],'include':[{'model':db[_0x6a17('0x67')],'as':'Agents','attributes':['id',_0x6a17('0x38'),_0x6a17('0x75'),_0x6a17('0x76'),_0x6a17('0x77')],'raw':!![]}]})['then'](function(_0x107053){if(_0x107053){var _0x2e1a41=_[_0x6a17('0x78')](_0x107053,function(_0x22dd9f){var _0x3522d3=_0x22dd9f[_0x6a17('0x35')]({'plain':!![]});return _0x3522d3[_0x6a17('0x79')];});return db[_0x6a17('0x3c')]['find']({'where':{'id':_0x4d4899['params']['id']}})[_0x6a17('0x21')](function(_0x5b538c){return db[_0x6a17('0x7a')][_0x6a17('0x7b')](function(_0x40e904){return _0x5b538c['addTeams'](_0x1033c3,{'transaction':_0x40e904})[_0x6a17('0x21')](function(){return BPromise[_0x6a17('0x7c')](_0x2e1a41,function(_0x14e82c){return db['UserChatQueue'][_0x6a17('0x7d')]({'where':{'UserId':_0x14e82c['id'],'ChatQueueId':_0x4d4899[_0x6a17('0x5f')]['id']},'transaction':_0x40e904});});})[_0x6a17('0x21')](function(){_0x2e1a41[_0x6a17('0x7e')](function(_0x423523){socket[_0x6a17('0x7f')](_0x6a17('0x80'),{'UserId':_0x423523['id'],'ChatQueueId':_0x5b538c['id']});});});});});}})[_0x6a17('0x21')](respondWithStatusCode(_0x382bfd,null))['catch'](handleError(_0x382bfd,null));};exports[_0x6a17('0x81')]=function(_0x2ba176,_0x46421e,_0x3f323e){return db[_0x6a17('0x72')][_0x6a17('0x66')]({'where':{'id':_0x2ba176['query'][_0x6a17('0x74')]},'attributes':['id'],'include':[{'model':db[_0x6a17('0x67')],'as':'Agents','attributes':['id'],'raw':!![]}]})[_0x6a17('0x21')](handleEntityNotFound(_0x46421e,null))[_0x6a17('0x21')](function(_0x509d6c){var _0x4b9d22=_['map'](_0x509d6c,'id');var _0x4eb04a=[];var _0x1a6519=[];var _0x53cfd9=squel[_0x6a17('0x82')]();_0x53cfd9['field'](_0x6a17('0x83'))['from'](_0x6a17('0x84'),'tq')[_0x6a17('0x85')](_0x6a17('0x86'),'ut',_0x6a17('0x87'))[_0x6a17('0x4b')](_0x6a17('0x88'),_0x2ba176[_0x6a17('0x5f')]['id']);for(var _0x5db4a9=0x0;_0x5db4a9<_0x509d6c[_0x6a17('0x47')];_0x5db4a9+=0x1){let _0x26a701=_0x509d6c[_0x5db4a9];for(var _0x414a93=0x0;_0x414a93<_0x26a701['Agents']['length'];_0x414a93+=0x1){let _0x3d952f=_0x26a701[_0x6a17('0x79')][_0x414a93];var _0x5a0960=_0x53cfd9[_0x6a17('0x89')]();_0x5a0960[_0x6a17('0x4b')](_0x6a17('0x8a'),_0x3d952f['id']);_0x1a6519['push'](db[_0x6a17('0x7a')]['query'](_0x5a0960['toString'](),{'type':db['sequelize'][_0x6a17('0x8b')][_0x6a17('0x8c')]})[_0x6a17('0x21')](function(_0x31e963){if(_0x31e963[_0x6a17('0x47')]===0x1){return _0x3d952f['id'];}else{var _0x3329c9=_[_0x6a17('0x8d')](_[_0x6a17('0x3b')](_0x31e963,_0x6a17('0x8e')),function(_0x56462e){return _[_0x6a17('0x8f')](_0x4b9d22,_0x56462e);});if(_0x3329c9){return _0x3d952f['id'];}}}));}}return BPromise['all'](_0x1a6519)['then'](function(_0x5dc1d1){_0x4eb04a=_(_0x4eb04a)[_0x6a17('0x90')](_0x5dc1d1)['compact']()['value']();return db[_0x6a17('0x3c')][_0x6a17('0x54')]({'where':{'id':_0x2ba176[_0x6a17('0x5f')]['id']}})[_0x6a17('0x21')](function(_0xcddd48){return db[_0x6a17('0x7a')][_0x6a17('0x7b')](function(_0x32d49c){return _0xcddd48[_0x6a17('0x81')](_0x2ba176['query'][_0x6a17('0x74')],{'transaction':_0x32d49c})[_0x6a17('0x21')](function(){if(!_[_0x6a17('0x91')](_0x4eb04a)){return _0xcddd48[_0x6a17('0x92')](_0x4eb04a,{'transaction':_0x32d49c});}})[_0x6a17('0x21')](function(){_0x4eb04a[_0x6a17('0x7e')](function(_0x33356c){socket['emit'](_0x6a17('0x93'),{'UserId':_0x33356c,'ChatQueueId':_0xcddd48['id']});});});});});});})[_0x6a17('0x21')](respondWithStatusCode(_0x46421e,null))['catch'](handleError(_0x46421e,null));};exports['addAgents']=function(_0x581b7a,_0x30beb3,_0x2b8928){return db[_0x6a17('0x3c')][_0x6a17('0x54')]({'where':{'id':_0x581b7a[_0x6a17('0x5f')]['id']}})['then'](handleEntityNotFound(_0x30beb3,null))[_0x6a17('0x21')](function(_0x3ce2a9){if(_0x3ce2a9){return _0x3ce2a9[_0x6a17('0x94')](_0x581b7a[_0x6a17('0x57')][_0x6a17('0x74')],_[_0x6a17('0x95')](_0x581b7a[_0x6a17('0x57')],[_0x6a17('0x74'),'id'])||{})['spread'](function(_0x21d2f7){for(var _0x3ed851=0x0;_0x3ed851<_0x581b7a[_0x6a17('0x57')][_0x6a17('0x74')][_0x6a17('0x47')];_0x3ed851+=0x1){socket[_0x6a17('0x7f')](_0x6a17('0x80'),{'UserId':Number(_0x581b7a[_0x6a17('0x57')][_0x6a17('0x74')][_0x3ed851]),'ChatQueueId':Number(_0x581b7a[_0x6a17('0x5f')]['id'])});}return _0x21d2f7;});}})[_0x6a17('0x21')](respondWithResult(_0x30beb3,null))[_0x6a17('0x55')](handleError(_0x30beb3,null));};exports[_0x6a17('0x92')]=function(_0x3eb8d0,_0x1b13c5,_0x587fc8){return db[_0x6a17('0x3c')][_0x6a17('0x54')]({'where':{'id':_0x3eb8d0[_0x6a17('0x5f')]['id']}})[_0x6a17('0x21')](handleEntityNotFound(_0x1b13c5,null))[_0x6a17('0x21')](function(_0x3a1c88){if(_0x3a1c88){return _0x3a1c88[_0x6a17('0x92')](_0x3eb8d0[_0x6a17('0x41')][_0x6a17('0x74')])[_0x6a17('0x21')](function(){if(_[_0x6a17('0x96')](_0x3eb8d0[_0x6a17('0x41')][_0x6a17('0x74')])){for(var _0x298bb2=0x0;_0x298bb2<_0x3eb8d0['query'][_0x6a17('0x74')][_0x6a17('0x47')];_0x298bb2+=0x1){socket[_0x6a17('0x7f')](_0x6a17('0x93'),{'UserId':Number(_0x3eb8d0[_0x6a17('0x41')][_0x6a17('0x74')][_0x298bb2]),'ChatQueueId':Number(_0x3eb8d0[_0x6a17('0x5f')]['id'])});}}else{socket[_0x6a17('0x7f')](_0x6a17('0x93'),{'UserId':Number(_0x3eb8d0[_0x6a17('0x41')][_0x6a17('0x74')]),'ChatQueueId':Number(_0x3eb8d0['params']['id'])});}});}})['then'](respondWithStatusCode(_0x1b13c5,null))[_0x6a17('0x55')](handleError(_0x1b13c5,null));};exports['getAgents']=function(_0xf40261,_0x575a93,_0x3bd272){var _0x5d8190={};var _0x2add74={};var _0x458b6d;var _0x315082;return db[_0x6a17('0x3c')][_0x6a17('0x62')]({'where':{'id':_0xf40261[_0x6a17('0x5f')]['id']}})[_0x6a17('0x21')](handleEntityNotFound(_0x575a93,null))['then'](function(_0x12e46f){if(_0x12e46f){_0x458b6d=_0x12e46f;_0x2add74[_0x6a17('0x40')]=_['keys'](db[_0x6a17('0x67')][_0x6a17('0x53')]);_0x2add74['query']=_[_0x6a17('0x42')](_0xf40261[_0x6a17('0x41')]);_0x2add74['filters']=_[_0x6a17('0x44')](_0x2add74[_0x6a17('0x40')],_0x2add74[_0x6a17('0x41')]);_0x5d8190[_0x6a17('0x45')]=_[_0x6a17('0x44')](_0x2add74[_0x6a17('0x40')],qs[_0x6a17('0x46')](_0xf40261[_0x6a17('0x41')]['fields']));_0x5d8190[_0x6a17('0x45')]=_0x5d8190[_0x6a17('0x45')]['length']?_0x5d8190[_0x6a17('0x45')]:_0x2add74[_0x6a17('0x40')];_0x5d8190[_0x6a17('0x97')]=qs[_0x6a17('0x4a')](_0xf40261[_0x6a17('0x41')][_0x6a17('0x4a')]);_0x5d8190[_0x6a17('0x4b')]=qs['filters'](_['pick'](_0xf40261['query'],_0x2add74[_0x6a17('0x43')]));if(_0xf40261[_0x6a17('0x41')][_0x6a17('0x65')]){_0x5d8190['where']=_[_0x6a17('0x4d')](_0x5d8190[_0x6a17('0x4b')],{'$or':_[_0x6a17('0x3b')](_0x5d8190['attributes'],function(_0x1933fe){var _0x326ee9={};_0x326ee9[_0x1933fe]={'$like':'%'+_0xf40261['query'][_0x6a17('0x65')]+'%'};return _0x326ee9;})});}_0x5d8190=_[_0x6a17('0x4d')]({},_0x5d8190,_0xf40261[_0x6a17('0x4f')]);return _0x458b6d[_0x6a17('0x98')](_0x5d8190);}})[_0x6a17('0x21')](function(_0xb83ae4){if(_0xb83ae4){_0x315082=_0xb83ae4[_0x6a17('0x47')];if(!_0xf40261['query']['hasOwnProperty'](_0x6a17('0x49'))){_0x5d8190['limit']=qs[_0x6a17('0x2f')](_0xf40261[_0x6a17('0x41')][_0x6a17('0x2f')]);_0x5d8190[_0x6a17('0x2d')]=qs[_0x6a17('0x2d')](_0xf40261[_0x6a17('0x41')][_0x6a17('0x2d')]);}return _0x458b6d[_0x6a17('0x98')](_0x5d8190);}})[_0x6a17('0x21')](function(_0x167b99){if(_0x167b99){return _0x167b99?{'count':_0x315082,'rows':_0x167b99}:null;}})['then'](respondWithResult(_0x575a93,null))[_0x6a17('0x55')](handleError(_0x575a93,null));};
\ No newline at end of file
diff --git a/server/api/chatQueue/chatQueue.events.js b/server/api/chatQueue/chatQueue.events.js
index a16f2b8..51439ba 100644
--- a/server/api/chatQueue/chatQueue.events.js
+++ b/server/api/chatQueue/chatQueue.events.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xa757=['../../mysqldb','setMaxListeners','save','update','remove','emit','hasOwnProperty','hook','events'];(function(_0xc4988d,_0x2352ac){var _0x96a7c7=function(_0x1e2ab2){while(--_0x1e2ab2){_0xc4988d['push'](_0xc4988d['shift']());}};_0x96a7c7(++_0x2352ac);}(_0xa757,0x179));var _0x7a75=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0xa757[_0x5b644e];return _0x49c6bf;};'use strict';var EventEmitter=require(_0x7a75('0x0'));var ChatQueue=require(_0x7a75('0x1'))['db']['ChatQueue'];var ChatQueueEvents=new EventEmitter();ChatQueueEvents[_0x7a75('0x2')](0x0);var events={'afterCreate':_0x7a75('0x3'),'afterUpdate':_0x7a75('0x4'),'afterDestroy':_0x7a75('0x5')};function emitEvent(_0x40c7ec){return function(_0x12e0f7,_0x107611,_0x22e558){ChatQueueEvents['emit'](_0x40c7ec+':'+_0x12e0f7['id'],_0x12e0f7);ChatQueueEvents[_0x7a75('0x6')](_0x40c7ec,_0x12e0f7);_0x22e558(null);};}for(var e in events){if(events[_0x7a75('0x7')](e)){var event=events[e];ChatQueue[_0x7a75('0x8')](e,emitEvent(event));}}module['exports']=ChatQueueEvents;
\ No newline at end of file
+var _0xd46f=['remove','emit','hook','exports','events','ChatQueue','setMaxListeners','save','update'];(function(_0x3bca33,_0x7fc883){var _0x2a6d0c=function(_0x48038f){while(--_0x48038f){_0x3bca33['push'](_0x3bca33['shift']());}};_0x2a6d0c(++_0x7fc883);}(_0xd46f,0x82));var _0xfd46=function(_0x536b45,_0x3400ee){_0x536b45=_0x536b45-0x0;var _0xa28b35=_0xd46f[_0x536b45];return _0xa28b35;};'use strict';var EventEmitter=require(_0xfd46('0x0'));var ChatQueue=require('../../mysqldb')['db'][_0xfd46('0x1')];var ChatQueueEvents=new EventEmitter();ChatQueueEvents[_0xfd46('0x2')](0x0);var events={'afterCreate':_0xfd46('0x3'),'afterUpdate':_0xfd46('0x4'),'afterDestroy':_0xfd46('0x5')};function emitEvent(_0x26c0e3){return function(_0x21ccc6,_0x2ee27a,_0x30534a){ChatQueueEvents[_0xfd46('0x6')](_0x26c0e3+':'+_0x21ccc6['id'],_0x21ccc6);ChatQueueEvents[_0xfd46('0x6')](_0x26c0e3,_0x21ccc6);_0x30534a(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];ChatQueue[_0xfd46('0x7')](e,emitEvent(event));}}module[_0xfd46('0x8')]=ChatQueueEvents;
\ No newline at end of file
diff --git a/server/api/chatQueue/chatQueue.model.js b/server/api/chatQueue/chatQueue.model.js
index 70ad906..d3fda13 100644
--- a/server/api/chatQueue/chatQueue.model.js
+++ b/server/api/chatQueue/chatQueue.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x0c98=['request-promise','exports','define','chat_queues','lodash','../../config/logger','bluebird'];(function(_0x2428e0,_0x2e42c1){var _0x1ff4e1=function(_0x872fb3){while(--_0x872fb3){_0x2428e0['push'](_0x2428e0['shift']());}};_0x1ff4e1(++_0x2e42c1);}(_0x0c98,0xa5));var _0x80c9=function(_0x525287,_0x302e9b){_0x525287=_0x525287-0x0;var _0x102fd5=_0x0c98[_0x525287];return _0x102fd5;};'use strict';var _=require(_0x80c9('0x0'));var util=require('util');var logger=require(_0x80c9('0x1'))('api');var moment=require('moment');var BPromise=require(_0x80c9('0x2'));var rp=require(_0x80c9('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./chatQueue.attributes');module[_0x80c9('0x4')]=function(_0x53bcd9,_0x5d3290){return _0x53bcd9[_0x80c9('0x5')]('ChatQueue',attributes,{'tableName':_0x80c9('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0xecf9=['path','rimraf','../../config/environment','./chatQueue.attributes','exports','define','ChatQueue','chat_queues','lodash','util','../../config/logger','bluebird','request-promise'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xecf9,0x1dc));var _0x9ecf=function(_0x346518,_0x3b206d){_0x346518=_0x346518-0x0;var _0x21d930=_0xecf9[_0x346518];return _0x21d930;};'use strict';var _=require(_0x9ecf('0x0'));var util=require(_0x9ecf('0x1'));var logger=require(_0x9ecf('0x2'))('api');var moment=require('moment');var BPromise=require(_0x9ecf('0x3'));var rp=require(_0x9ecf('0x4'));var fs=require('fs');var path=require(_0x9ecf('0x5'));var rimraf=require(_0x9ecf('0x6'));var config=require(_0x9ecf('0x7'));var attributes=require(_0x9ecf('0x8'));module[_0x9ecf('0x9')]=function(_0x61de4f,_0x4987d2){return _0x61de4f[_0x9ecf('0xa')](_0x9ecf('0xb'),attributes,{'tableName':_0x9ecf('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/chatQueue/chatQueue.rpc.js b/server/api/chatQueue/chatQueue.rpc.js
index 8b103c0..703e5e9 100644
--- a/server/api/chatQueue/chatQueue.rpc.js
+++ b/server/api/chatQueue/chatQueue.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xa846=['../../mysqldb','../../config/logger','rpc','jayson/promise','client','http','redis','socket.io-emitter','./chatQueue.socket','request','then','info','ChatQueue,\x20%s,\x20%s','debug','request\x20sent','stringify','error','code','message','result','catch','findAll','raw','options','where','limit','include','map','model','attributes','GetChatQueue','ShowChatQueue','ChatQueue','find','util','moment','bluebird','randomstring','ioredis'];(function(_0x10afad,_0x30da9d){var _0x588d7e=function(_0x25e897){while(--_0x25e897){_0x10afad['push'](_0x10afad['shift']());}};_0x588d7e(++_0x30da9d);}(_0xa846,0x70));var _0x6a84=function(_0x37804c,_0x351907){_0x37804c=_0x37804c-0x0;var _0x5e1a28=_0xa846[_0x37804c];return _0x5e1a28;};'use strict';var _=require('lodash');var util=require(_0x6a84('0x0'));var moment=require(_0x6a84('0x1'));var BPromise=require(_0x6a84('0x2'));var rs=require(_0x6a84('0x3'));var fs=require('fs');var Redis=require(_0x6a84('0x4'));var db=require(_0x6a84('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0x6a84('0x6'))(_0x6a84('0x7'));var config=require('../../config/environment');var jayson=require(_0x6a84('0x8'));var client=jayson[_0x6a84('0x9')][_0x6a84('0xa')]({'port':0x232a});config[_0x6a84('0xb')]=_['defaults'](config[_0x6a84('0xb')],{'host':'localhost','port':0x18eb});var socket=require(_0x6a84('0xc'))(new Redis(config['redis']));require(_0x6a84('0xd'))['register'](socket);function respondWithRpcPromise(_0x27a7df,_0x1af98a,_0x20ab1d){return new BPromise(function(_0x3ebfda,_0x1c991f){return client[_0x6a84('0xe')](_0x27a7df,_0x20ab1d)[_0x6a84('0xf')](function(_0x5ed8fe){logger[_0x6a84('0x10')](_0x6a84('0x11'),_0x1af98a,'request\x20sent');logger[_0x6a84('0x12')]('ChatQueue,\x20%s,\x20%s,\x20%s',_0x1af98a,_0x6a84('0x13'),JSON[_0x6a84('0x14')](_0x5ed8fe));if(_0x5ed8fe[_0x6a84('0x15')]){if(_0x5ed8fe[_0x6a84('0x15')][_0x6a84('0x16')]===0x1f4){logger[_0x6a84('0x15')]('ChatQueue,\x20%s,\x20%s',_0x1af98a,_0x5ed8fe['error'][_0x6a84('0x17')]);return _0x1c991f(_0x5ed8fe[_0x6a84('0x15')][_0x6a84('0x17')]);}logger[_0x6a84('0x15')](_0x6a84('0x11'),_0x1af98a,_0x5ed8fe['error'][_0x6a84('0x17')]);return _0x3ebfda(_0x5ed8fe[_0x6a84('0x15')][_0x6a84('0x17')]);}else{logger[_0x6a84('0x10')](_0x6a84('0x11'),_0x1af98a,_0x6a84('0x13'));_0x3ebfda(_0x5ed8fe[_0x6a84('0x18')][_0x6a84('0x17')]);}})[_0x6a84('0x19')](function(_0x5321dc){logger['error']('ChatQueue,\x20%s,\x20%s',_0x1af98a,_0x5321dc);_0x1c991f(_0x5321dc);});});}exports['GetChatQueue']=function(_0x5d68dd){var _0x2565c9=this;return new Promise(function(_0x3b96e3,_0x96f8f8){return db['ChatQueue'][_0x6a84('0x1a')]({'raw':_0x5d68dd['options']?_0x5d68dd['options'][_0x6a84('0x1b')]===undefined?!![]:![]:!![],'where':_0x5d68dd[_0x6a84('0x1c')]?_0x5d68dd[_0x6a84('0x1c')][_0x6a84('0x1d')]||null:null,'attributes':_0x5d68dd[_0x6a84('0x1c')]?_0x5d68dd['options']['attributes']||null:null,'limit':_0x5d68dd[_0x6a84('0x1c')]?_0x5d68dd['options'][_0x6a84('0x1e')]||null:null,'include':_0x5d68dd[_0x6a84('0x1c')]?_0x5d68dd['options'][_0x6a84('0x1f')]?_[_0x6a84('0x20')](_0x5d68dd['options'][_0x6a84('0x1f')],function(_0x2d43e0){return{'model':db[_0x2d43e0[_0x6a84('0x21')]],'as':_0x2d43e0['as'],'attributes':_0x2d43e0[_0x6a84('0x22')],'include':_0x2d43e0[_0x6a84('0x1f')]?_['map'](_0x2d43e0[_0x6a84('0x1f')],function(_0x3d0430){return{'model':db[_0x3d0430[_0x6a84('0x21')]],'as':_0x3d0430['as'],'attributes':_0x3d0430[_0x6a84('0x22')],'include':_0x3d0430[_0x6a84('0x1f')]?_[_0x6a84('0x20')](_0x3d0430[_0x6a84('0x1f')],function(_0x270ca3){return{'model':db[_0x270ca3[_0x6a84('0x21')]],'as':_0x270ca3['as'],'attributes':_0x270ca3[_0x6a84('0x22')]};}):[]};}):[]};}):[]:[]})[_0x6a84('0xf')](function(_0x4a5428){logger['info'](_0x6a84('0x23'),_0x5d68dd);logger[_0x6a84('0x12')](_0x6a84('0x23'),_0x5d68dd,JSON[_0x6a84('0x14')](_0x4a5428));_0x3b96e3(_0x4a5428);})[_0x6a84('0x19')](function(_0x5db5ea){logger[_0x6a84('0x15')](_0x6a84('0x23'),_0x5db5ea[_0x6a84('0x17')],_0x5d68dd);_0x96f8f8(_0x2565c9[_0x6a84('0x15')](0x1f4,_0x5db5ea[_0x6a84('0x17')]));});});};exports[_0x6a84('0x24')]=function(_0x411af6){var _0x48f33c=this;return new Promise(function(_0xc348f0,_0x1a8053){return db[_0x6a84('0x25')][_0x6a84('0x26')]({'raw':_0x411af6[_0x6a84('0x1c')]?_0x411af6[_0x6a84('0x1c')]['raw']===undefined?!![]:![]:!![],'where':_0x411af6[_0x6a84('0x1c')]?_0x411af6[_0x6a84('0x1c')]['where']||null:null,'attributes':_0x411af6[_0x6a84('0x1c')]?_0x411af6[_0x6a84('0x1c')]['attributes']||null:null,'include':_0x411af6['options']?_0x411af6[_0x6a84('0x1c')][_0x6a84('0x1f')]?_['map'](_0x411af6[_0x6a84('0x1c')][_0x6a84('0x1f')],function(_0x5b3981){return{'model':db[_0x5b3981[_0x6a84('0x21')]],'as':_0x5b3981['as'],'attributes':_0x5b3981[_0x6a84('0x22')],'include':_0x5b3981[_0x6a84('0x1f')]?_['map'](_0x5b3981[_0x6a84('0x1f')],function(_0x2232a8){return{'model':db[_0x2232a8['model']],'as':_0x2232a8['as'],'attributes':_0x2232a8['attributes'],'include':_0x2232a8[_0x6a84('0x1f')]?_[_0x6a84('0x20')](_0x2232a8[_0x6a84('0x1f')],function(_0x45d6bf){return{'model':db[_0x45d6bf[_0x6a84('0x21')]],'as':_0x45d6bf['as'],'attributes':_0x45d6bf[_0x6a84('0x22')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x40ac3e){logger[_0x6a84('0x10')](_0x6a84('0x24'),_0x411af6);logger[_0x6a84('0x12')](_0x6a84('0x24'),_0x411af6,JSON[_0x6a84('0x14')](_0x40ac3e));_0xc348f0(_0x40ac3e);})[_0x6a84('0x19')](function(_0x4c36d4){logger[_0x6a84('0x15')](_0x6a84('0x24'),_0x4c36d4[_0x6a84('0x17')],_0x411af6);_0x1a8053(_0x48f33c[_0x6a84('0x15')](0x1f4,_0x4c36d4[_0x6a84('0x17')]));});});};
\ No newline at end of file
+var _0x7d8a=['debug','ChatQueue,\x20%s,\x20%s,\x20%s','stringify','error','code','ChatQueue,\x20%s,\x20%s','message','info','result','GetChatQueue','ChatQueue','findAll','options','raw','where','attributes','limit','include','map','model','catch','find','ShowChatQueue','lodash','util','moment','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','client','http','redis','defaults','localhost','socket.io-emitter','register','request','then','request\x20sent'];(function(_0x30e5c0,_0x16edd5){var _0x5a88fb=function(_0x1227e1){while(--_0x1227e1){_0x30e5c0['push'](_0x30e5c0['shift']());}};_0x5a88fb(++_0x16edd5);}(_0x7d8a,0xbf));var _0xa7d8=function(_0x11ce46,_0x177a85){_0x11ce46=_0x11ce46-0x0;var _0x368a1e=_0x7d8a[_0x11ce46];return _0x368a1e;};'use strict';var _=require(_0xa7d8('0x0'));var util=require(_0xa7d8('0x1'));var moment=require(_0xa7d8('0x2'));var BPromise=require('bluebird');var rs=require(_0xa7d8('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xa7d8('0x4'))['db'];var utils=require(_0xa7d8('0x5'));var logger=require(_0xa7d8('0x6'))(_0xa7d8('0x7'));var config=require(_0xa7d8('0x8'));var jayson=require('jayson/promise');var client=jayson[_0xa7d8('0x9')][_0xa7d8('0xa')]({'port':0x232a});config[_0xa7d8('0xb')]=_[_0xa7d8('0xc')](config['redis'],{'host':_0xa7d8('0xd'),'port':0x18eb});var socket=require(_0xa7d8('0xe'))(new Redis(config[_0xa7d8('0xb')]));require('./chatQueue.socket')[_0xa7d8('0xf')](socket);function respondWithRpcPromise(_0x39d72d,_0xfa0a46,_0x479948){return new BPromise(function(_0xbfdd7b,_0x4731cc){return client[_0xa7d8('0x10')](_0x39d72d,_0x479948)[_0xa7d8('0x11')](function(_0x3b1085){logger['info']('ChatQueue,\x20%s,\x20%s',_0xfa0a46,_0xa7d8('0x12'));logger[_0xa7d8('0x13')](_0xa7d8('0x14'),_0xfa0a46,_0xa7d8('0x12'),JSON[_0xa7d8('0x15')](_0x3b1085));if(_0x3b1085[_0xa7d8('0x16')]){if(_0x3b1085[_0xa7d8('0x16')][_0xa7d8('0x17')]===0x1f4){logger[_0xa7d8('0x16')](_0xa7d8('0x18'),_0xfa0a46,_0x3b1085['error'][_0xa7d8('0x19')]);return _0x4731cc(_0x3b1085[_0xa7d8('0x16')][_0xa7d8('0x19')]);}logger[_0xa7d8('0x16')](_0xa7d8('0x18'),_0xfa0a46,_0x3b1085[_0xa7d8('0x16')][_0xa7d8('0x19')]);return _0xbfdd7b(_0x3b1085['error'][_0xa7d8('0x19')]);}else{logger[_0xa7d8('0x1a')](_0xa7d8('0x18'),_0xfa0a46,'request\x20sent');_0xbfdd7b(_0x3b1085[_0xa7d8('0x1b')]['message']);}})['catch'](function(_0x59151f){logger[_0xa7d8('0x16')](_0xa7d8('0x18'),_0xfa0a46,_0x59151f);_0x4731cc(_0x59151f);});});}exports[_0xa7d8('0x1c')]=function(_0x5a67ea){var _0x25550a=this;return new Promise(function(_0x5aed47,_0xa774ff){return db[_0xa7d8('0x1d')][_0xa7d8('0x1e')]({'raw':_0x5a67ea[_0xa7d8('0x1f')]?_0x5a67ea['options'][_0xa7d8('0x20')]===undefined?!![]:![]:!![],'where':_0x5a67ea[_0xa7d8('0x1f')]?_0x5a67ea[_0xa7d8('0x1f')][_0xa7d8('0x21')]||null:null,'attributes':_0x5a67ea[_0xa7d8('0x1f')]?_0x5a67ea[_0xa7d8('0x1f')][_0xa7d8('0x22')]||null:null,'limit':_0x5a67ea[_0xa7d8('0x1f')]?_0x5a67ea[_0xa7d8('0x1f')][_0xa7d8('0x23')]||null:null,'include':_0x5a67ea[_0xa7d8('0x1f')]?_0x5a67ea[_0xa7d8('0x1f')][_0xa7d8('0x24')]?_[_0xa7d8('0x25')](_0x5a67ea[_0xa7d8('0x1f')]['include'],function(_0x5d1006){return{'model':db[_0x5d1006['model']],'as':_0x5d1006['as'],'attributes':_0x5d1006[_0xa7d8('0x22')],'include':_0x5d1006['include']?_['map'](_0x5d1006[_0xa7d8('0x24')],function(_0x32619b){return{'model':db[_0x32619b[_0xa7d8('0x26')]],'as':_0x32619b['as'],'attributes':_0x32619b[_0xa7d8('0x22')],'include':_0x32619b[_0xa7d8('0x24')]?_[_0xa7d8('0x25')](_0x32619b['include'],function(_0x39f3e1){return{'model':db[_0x39f3e1[_0xa7d8('0x26')]],'as':_0x39f3e1['as'],'attributes':_0x39f3e1[_0xa7d8('0x22')]};}):[]};}):[]};}):[]:[]})[_0xa7d8('0x11')](function(_0x3c458d){logger[_0xa7d8('0x1a')](_0xa7d8('0x1c'),_0x5a67ea);logger['debug']('GetChatQueue',_0x5a67ea,JSON[_0xa7d8('0x15')](_0x3c458d));_0x5aed47(_0x3c458d);})[_0xa7d8('0x27')](function(_0xbb1f00){logger['error'](_0xa7d8('0x1c'),_0xbb1f00[_0xa7d8('0x19')],_0x5a67ea);_0xa774ff(_0x25550a['error'](0x1f4,_0xbb1f00[_0xa7d8('0x19')]));});});};exports['ShowChatQueue']=function(_0x33d0b6){var _0x52e3ed=this;return new Promise(function(_0x2df4a2,_0x4cc87f){return db[_0xa7d8('0x1d')][_0xa7d8('0x28')]({'raw':_0x33d0b6[_0xa7d8('0x1f')]?_0x33d0b6['options'][_0xa7d8('0x20')]===undefined?!![]:![]:!![],'where':_0x33d0b6['options']?_0x33d0b6[_0xa7d8('0x1f')]['where']||null:null,'attributes':_0x33d0b6['options']?_0x33d0b6[_0xa7d8('0x1f')][_0xa7d8('0x22')]||null:null,'include':_0x33d0b6[_0xa7d8('0x1f')]?_0x33d0b6[_0xa7d8('0x1f')][_0xa7d8('0x24')]?_['map'](_0x33d0b6['options'][_0xa7d8('0x24')],function(_0x597106){return{'model':db[_0x597106[_0xa7d8('0x26')]],'as':_0x597106['as'],'attributes':_0x597106[_0xa7d8('0x22')],'include':_0x597106['include']?_[_0xa7d8('0x25')](_0x597106[_0xa7d8('0x24')],function(_0x5550b6){return{'model':db[_0x5550b6[_0xa7d8('0x26')]],'as':_0x5550b6['as'],'attributes':_0x5550b6['attributes'],'include':_0x5550b6['include']?_[_0xa7d8('0x25')](_0x5550b6['include'],function(_0x581649){return{'model':db[_0x581649['model']],'as':_0x581649['as'],'attributes':_0x581649[_0xa7d8('0x22')]};}):[]};}):[]};}):[]:[]})[_0xa7d8('0x11')](function(_0x20261c){logger['info']('ShowChatQueue',_0x33d0b6);logger[_0xa7d8('0x13')]('ShowChatQueue',_0x33d0b6,JSON[_0xa7d8('0x15')](_0x20261c));_0x2df4a2(_0x20261c);})[_0xa7d8('0x27')](function(_0xa76d3a){logger['error'](_0xa7d8('0x29'),_0xa76d3a[_0xa7d8('0x19')],_0x33d0b6);_0x4cc87f(_0x52e3ed['error'](0x1f4,_0xa76d3a['message']));});});};
\ No newline at end of file
diff --git a/server/api/chatQueue/chatQueue.socket.js b/server/api/chatQueue/chatQueue.socket.js
index ba28d61..4355800 100644
--- a/server/api/chatQueue/chatQueue.socket.js
+++ b/server/api/chatQueue/chatQueue.socket.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x00bb=['removeListener','length','chatQueue:','./chatQueue.events','save','remove','emit'];(function(_0x1ed46f,_0x7691d7){var _0x43b931=function(_0x5f2454){while(--_0x5f2454){_0x1ed46f['push'](_0x1ed46f['shift']());}};_0x43b931(++_0x7691d7);}(_0x00bb,0x1d8));var _0xb00b=function(_0x33032e,_0x31411a){_0x33032e=_0x33032e-0x0;var _0x13316b=_0x00bb[_0x33032e];return _0x13316b;};'use strict';var ChatQueueEvents=require(_0xb00b('0x0'));var events=[_0xb00b('0x1'),_0xb00b('0x2'),'update'];function createListener(_0x170f94,_0x47a3bf){return function(_0x278c5e){_0x47a3bf[_0xb00b('0x3')](_0x170f94,_0x278c5e);};}function removeListener(_0x582ef9,_0x14b5d0){return function(){ChatQueueEvents[_0xb00b('0x4')](_0x582ef9,_0x14b5d0);};}exports['register']=function(_0x574cf8){for(var _0x532ffb=0x0,_0x36e363=events[_0xb00b('0x5')];_0x532ffb<_0x36e363;_0x532ffb++){var _0x41dfc9=events[_0x532ffb];var _0x37f07d=createListener(_0xb00b('0x6')+_0x41dfc9,_0x574cf8);ChatQueueEvents['on'](_0x41dfc9,_0x37f07d);}};
\ No newline at end of file
+var _0x84ab=['update','emit','removeListener','register','length','chatQueue:','./chatQueue.events','save','remove'];(function(_0x526de9,_0x36f376){var _0x596d5f=function(_0x3a25c8){while(--_0x3a25c8){_0x526de9['push'](_0x526de9['shift']());}};_0x596d5f(++_0x36f376);}(_0x84ab,0x12f));var _0xb84a=function(_0x5ce15c,_0x19c917){_0x5ce15c=_0x5ce15c-0x0;var _0x36e4f5=_0x84ab[_0x5ce15c];return _0x36e4f5;};'use strict';var ChatQueueEvents=require(_0xb84a('0x0'));var events=[_0xb84a('0x1'),_0xb84a('0x2'),_0xb84a('0x3')];function createListener(_0x473c3,_0x512f13){return function(_0xc83587){_0x512f13[_0xb84a('0x4')](_0x473c3,_0xc83587);};}function removeListener(_0x47b8e3,_0x9d3a00){return function(){ChatQueueEvents[_0xb84a('0x5')](_0x47b8e3,_0x9d3a00);};}exports[_0xb84a('0x6')]=function(_0x5b9def){for(var _0x521a64=0x0,_0x4dc496=events[_0xb84a('0x7')];_0x521a64<_0x4dc496;_0x521a64++){var _0x4fac4d=events[_0x521a64];var _0x3e9086=createListener(_0xb84a('0x8')+_0x4fac4d,_0x5b9def);ChatQueueEvents['on'](_0x4fac4d,_0x3e9086);}};
\ No newline at end of file
diff --git a/server/api/chatQueue/index.js b/server/api/chatQueue/index.js
index d810639..348fa56 100644
--- a/server/api/chatQueue/index.js
+++ b/server/api/chatQueue/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x7217=['../../config/environment','./chatQueue.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','post','addTeams','update','delete','destroy','removeTeams','removeAgents','exports','multer','path','connect-timeout','express','Router','fs-extra'];(function(_0xeafa0c,_0x4636d7){var _0x1228d4=function(_0x51dea4){while(--_0x51dea4){_0xeafa0c['push'](_0xeafa0c['shift']());}};_0x1228d4(++_0x4636d7);}(_0x7217,0x19e));var _0x7721=function(_0x49ca18,_0x5e6d05){_0x49ca18=_0x49ca18-0x0;var _0x145d54=_0x7217[_0x49ca18];return _0x145d54;};'use strict';var multer=require(_0x7721('0x0'));var util=require('util');var path=require(_0x7721('0x1'));var timeout=require(_0x7721('0x2'));var express=require(_0x7721('0x3'));var router=express[_0x7721('0x4')]();var fs_extra=require(_0x7721('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x7721('0x6'));var controller=require(_0x7721('0x7'));router[_0x7721('0x8')]('/',auth[_0x7721('0x9')](),controller[_0x7721('0xa')]);router[_0x7721('0x8')](_0x7721('0xb'),auth[_0x7721('0x9')](),controller[_0x7721('0xc')]);router[_0x7721('0x8')](_0x7721('0xd'),auth[_0x7721('0x9')](),controller[_0x7721('0xe')]);router[_0x7721('0x8')](_0x7721('0xf'),auth['isAuthenticated'](),controller[_0x7721('0x10')]);router[_0x7721('0x8')](_0x7721('0x11'),auth[_0x7721('0x9')](),controller[_0x7721('0x12')]);router[_0x7721('0x8')](_0x7721('0x13'),auth[_0x7721('0x9')](),controller['getAgents']);router[_0x7721('0x14')]('/',auth[_0x7721('0x9')](),controller['create']);router[_0x7721('0x14')](_0x7721('0x11'),auth[_0x7721('0x9')](),controller[_0x7721('0x15')]);router['post'](_0x7721('0x13'),auth[_0x7721('0x9')](),controller['addAgents']);router['put']('/:id',auth[_0x7721('0x9')](),controller[_0x7721('0x16')]);router[_0x7721('0x17')](_0x7721('0xd'),auth['isAuthenticated'](),controller[_0x7721('0x18')]);router['delete'](_0x7721('0x11'),auth['isAuthenticated'](),controller[_0x7721('0x19')]);router[_0x7721('0x17')](_0x7721('0x13'),auth[_0x7721('0x9')](),controller[_0x7721('0x1a')]);module[_0x7721('0x1b')]=router;
\ No newline at end of file
+var _0x008c=['../../config/environment','./chatQueue.controller','get','isAuthenticated','index','show','/:id/teams','getTeams','/:id/users','getAgents','post','addTeams','addAgents','update','delete','/:id','removeTeams','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x4f3da8,_0x40c68d){var _0x3cba5e=function(_0x33fbe9){while(--_0x33fbe9){_0x4f3da8['push'](_0x4f3da8['shift']());}};_0x3cba5e(++_0x40c68d);}(_0x008c,0x188));var _0xc008=function(_0x13e47d,_0x1e38bd){_0x13e47d=_0x13e47d-0x0;var _0x1042e4=_0x008c[_0x13e47d];return _0x1042e4;};'use strict';var multer=require(_0xc008('0x0'));var util=require(_0xc008('0x1'));var path=require(_0xc008('0x2'));var timeout=require(_0xc008('0x3'));var express=require(_0xc008('0x4'));var router=express['Router']();var fs_extra=require(_0xc008('0x5'));var auth=require(_0xc008('0x6'));var interaction=require(_0xc008('0x7'));var config=require(_0xc008('0x8'));var controller=require(_0xc008('0x9'));router[_0xc008('0xa')]('/',auth[_0xc008('0xb')](),controller[_0xc008('0xc')]);router[_0xc008('0xa')]('/describe',auth[_0xc008('0xb')](),controller['describe']);router[_0xc008('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xc008('0xd')]);router[_0xc008('0xa')]('/:id/members',auth['isAuthenticated'](),controller['getMembers']);router[_0xc008('0xa')](_0xc008('0xe'),auth['isAuthenticated'](),controller[_0xc008('0xf')]);router[_0xc008('0xa')](_0xc008('0x10'),auth[_0xc008('0xb')](),controller[_0xc008('0x11')]);router[_0xc008('0x12')]('/',auth[_0xc008('0xb')](),controller['create']);router['post'](_0xc008('0xe'),auth['isAuthenticated'](),controller[_0xc008('0x13')]);router[_0xc008('0x12')](_0xc008('0x10'),auth[_0xc008('0xb')](),controller[_0xc008('0x14')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xc008('0x15')]);router[_0xc008('0x16')](_0xc008('0x17'),auth[_0xc008('0xb')](),controller['destroy']);router['delete']('/:id/teams',auth['isAuthenticated'](),controller[_0xc008('0x18')]);router[_0xc008('0x16')]('/:id/users',auth[_0xc008('0xb')](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file
diff --git a/server/api/chatQueueReport/chatQueueReport.attributes.js b/server/api/chatQueueReport/chatQueueReport.attributes.js
index 334ef66..6606788 100644
--- a/server/api/chatQueueReport/chatQueueReport.attributes.js
+++ b/server/api/chatQueueReport/chatQueueReport.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x6753=['DATE','moment','sequelize','exports','STRING'];(function(_0x1f6b08,_0xd0ee17){var _0x459860=function(_0xd1175b){while(--_0xd1175b){_0x1f6b08['push'](_0x1f6b08['shift']());}};_0x459860(++_0xd0ee17);}(_0x6753,0xa1));var _0x3675=function(_0x51d7d1,_0x2b0b06){_0x51d7d1=_0x51d7d1-0x0;var _0x5e3582=_0x6753[_0x51d7d1];return _0x5e3582;};'use strict';var moment=require(_0x3675('0x0'));var Sequelize=require(_0x3675('0x1'));module[_0x3675('0x2')]={'uniqueid':{'type':Sequelize[_0x3675('0x3')],'allowNull':![]},'from':{'type':Sequelize['STRING']},'joinAt':{'type':Sequelize[_0x3675('0x4')]},'leaveAt':{'type':Sequelize[_0x3675('0x4')]},'acceptAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0x3675('0x4')]},'reason':{'type':Sequelize[_0x3675('0x3')]}};
\ No newline at end of file
+var _0x2b37=['moment','sequelize','exports','STRING','DATE'];(function(_0xa6cc5c,_0x239c99){var _0x44803d=function(_0x515b6e){while(--_0x515b6e){_0xa6cc5c['push'](_0xa6cc5c['shift']());}};_0x44803d(++_0x239c99);}(_0x2b37,0xa0));var _0x72b3=function(_0xd7648,_0x2c7f7f){_0xd7648=_0xd7648-0x0;var _0x3ceff2=_0x2b37[_0xd7648];return _0x3ceff2;};'use strict';var moment=require(_0x72b3('0x0'));var Sequelize=require(_0x72b3('0x1'));module[_0x72b3('0x2')]={'uniqueid':{'type':Sequelize['STRING'],'allowNull':![]},'from':{'type':Sequelize[_0x72b3('0x3')]},'joinAt':{'type':Sequelize['DATE']},'leaveAt':{'type':Sequelize['DATE']},'acceptAt':{'type':Sequelize[_0x72b3('0x4')]},'exitAt':{'type':Sequelize[_0x72b3('0x4')]},'reason':{'type':Sequelize['STRING']}};
\ No newline at end of file
diff --git a/server/api/chatQueueReport/chatQueueReport.controller.js b/server/api/chatQueueReport/chatQueueReport.controller.js
index 4f978b9..8f2f1e1 100644
--- a/server/api/chatQueueReport/chatQueueReport.controller.js
+++ b/server/api/chatQueueReport/chatQueueReport.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x576b=['apply','save','update','then','destroy','error','name','send','index','map','ChatQueueReport','fieldName','type','key','query','intersection','model','attributes','fields','hasOwnProperty','order','sort','where','filters','filter','merge','VIRTUAL','includeAll','include','findAll','rows','show','params','keys','rawAttributes','options','create','body','find','catch','describe','fast-json-patch','request-promise','bluebird','mustache','path','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','end','offset','undefined','limit','count','set'];(function(_0x1a026a,_0x2e79b9){var _0xa53bdb=function(_0x1d6bbd){while(--_0x1d6bbd){_0x1a026a['push'](_0x1a026a['shift']());}};_0xa53bdb(++_0x2e79b9);}(_0x576b,0x1d9));var _0xb576=function(_0x1efeea,_0x28362d){_0x1efeea=_0x1efeea-0x0;var _0x567f1c=_0x576b[_0x1efeea];return _0x567f1c;};'use strict';var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0xb576('0x0'));var rp=require(_0xb576('0x1'));var moment=require('moment');var BPromise=require(_0xb576('0x2'));var Mustache=require(_0xb576('0x3'));var util=require('util');var path=require(_0xb576('0x4'));var sox=require(_0xb576('0x5'));var csv=require(_0xb576('0x6'));var ejs=require(_0xb576('0x7'));var fs=require('fs');var fs_extra=require(_0xb576('0x8'));var _=require(_0xb576('0x9'));var squel=require(_0xb576('0xa'));var crypto=require(_0xb576('0xb'));var jsforce=require(_0xb576('0xc'));var deskjs=require(_0xb576('0xd'));var toCsv=require(_0xb576('0x6'));var querystring=require(_0xb576('0xe'));var Papa=require(_0xb576('0xf'));var Redis=require(_0xb576('0x10'));var authService=require(_0xb576('0x11'));var qs=require('../../components/parsers/qs');var as=require(_0xb576('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xb576('0x13'))(_0xb576('0x14'));var utils=require(_0xb576('0x15'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0xb576('0x16'))['db'];function respondWithStatusCode(_0x420041,_0x8d09e0){_0x8d09e0=_0x8d09e0||0xcc;return function(_0x1c5cf2){if(_0x1c5cf2){return _0x420041[_0xb576('0x17')](_0x8d09e0);}return _0x420041[_0xb576('0x18')](_0x8d09e0)[_0xb576('0x19')]();};}function respondWithResult(_0x1f3a23,_0xb80ee8){_0xb80ee8=_0xb80ee8||0xc8;return function(_0x1791f0){if(_0x1791f0){return _0x1f3a23['status'](_0xb80ee8)['json'](_0x1791f0);}};}function respondWithFilteredResult(_0x5cf596,_0x4173de){return function(_0x44f1b3){if(_0x44f1b3){var _0x18cd64=typeof _0x4173de[_0xb576('0x1a')]===_0xb576('0x1b')&&typeof _0x4173de[_0xb576('0x1c')]==='undefined';var _0x91d029=_0x44f1b3[_0xb576('0x1d')];var _0x5406c9=_0x18cd64?0x0:_0x4173de['offset'];var _0x394d7e=_0x18cd64?_0x44f1b3[_0xb576('0x1d')]:_0x4173de[_0xb576('0x1a')]+_0x4173de['limit'];var _0x4e8677;if(_0x394d7e>=_0x91d029){_0x394d7e=_0x91d029;_0x4e8677=0xc8;}else{_0x4e8677=0xce;}_0x5cf596['status'](_0x4e8677);return _0x5cf596[_0xb576('0x1e')]('Content-Range',_0x5406c9+'-'+_0x394d7e+'/'+_0x91d029)['json'](_0x44f1b3);}return null;};}function patchUpdates(_0x2243b1){return function(_0x2bedf0){try{jsonpatch[_0xb576('0x1f')](_0x2bedf0,_0x2243b1,!![]);}catch(_0x2a95a3){return BPromise['reject'](_0x2a95a3);}return _0x2bedf0[_0xb576('0x20')]();};}function saveUpdates(_0x38cf07,_0xde0fb1){return function(_0x2295ed){if(_0x2295ed){return _0x2295ed[_0xb576('0x21')](_0x38cf07)[_0xb576('0x22')](function(_0x2b6074){return _0x2b6074;});}return null;};}function removeEntity(_0x2a930d,_0x23d3e7){return function(_0x189c32){if(_0x189c32){return _0x189c32[_0xb576('0x23')]()[_0xb576('0x22')](function(){_0x2a930d[_0xb576('0x18')](0xcc)[_0xb576('0x19')]();});}};}function handleEntityNotFound(_0x5c343f,_0x456648){return function(_0xa0be5e){if(!_0xa0be5e){_0x5c343f[_0xb576('0x17')](0x194);}return _0xa0be5e;};}function handleError(_0x3b8a50,_0x12098f){_0x12098f=_0x12098f||0x1f4;return function(_0x46863c){logger[_0xb576('0x24')](_0x46863c['stack']);if(_0x46863c[_0xb576('0x25')]){delete _0x46863c[_0xb576('0x25')];}_0x3b8a50[_0xb576('0x18')](_0x12098f)[_0xb576('0x26')](_0x46863c);};}exports[_0xb576('0x27')]=function(_0x592dfc,_0x13d833){var _0x5a7b3d={},_0xc6cbc={},_0x19f443={'count':0x0,'rows':[]};var _0x239638=_[_0xb576('0x28')](db[_0xb576('0x29')]['rawAttributes'],function(_0x1be38b){return{'name':_0x1be38b[_0xb576('0x2a')],'type':_0x1be38b[_0xb576('0x2b')][_0xb576('0x2c')]};});_0xc6cbc['model']=_[_0xb576('0x28')](_0x239638,_0xb576('0x25'));_0xc6cbc[_0xb576('0x2d')]=_['keys'](_0x592dfc['query']);_0xc6cbc['filters']=_[_0xb576('0x2e')](_0xc6cbc[_0xb576('0x2f')],_0xc6cbc[_0xb576('0x2d')]);_0x5a7b3d[_0xb576('0x30')]=_[_0xb576('0x2e')](_0xc6cbc[_0xb576('0x2f')],qs[_0xb576('0x31')](_0x592dfc[_0xb576('0x2d')][_0xb576('0x31')]));_0x5a7b3d['attributes']=_0x5a7b3d[_0xb576('0x30')]['length']?_0x5a7b3d['attributes']:_0xc6cbc[_0xb576('0x2f')];if(!_0x592dfc[_0xb576('0x2d')][_0xb576('0x32')]('nolimit')){_0x5a7b3d[_0xb576('0x1c')]=qs[_0xb576('0x1c')](_0x592dfc['query'][_0xb576('0x1c')]);_0x5a7b3d[_0xb576('0x1a')]=qs[_0xb576('0x1a')](_0x592dfc[_0xb576('0x2d')][_0xb576('0x1a')]);}_0x5a7b3d[_0xb576('0x33')]=qs[_0xb576('0x34')](_0x592dfc[_0xb576('0x2d')][_0xb576('0x34')]);_0x5a7b3d[_0xb576('0x35')]=qs[_0xb576('0x36')](_['pick'](_0x592dfc['query'],_0xc6cbc[_0xb576('0x36')]),_0x239638);if(_0x592dfc['query'][_0xb576('0x37')]){_0x5a7b3d[_0xb576('0x35')]=_[_0xb576('0x38')](_0x5a7b3d[_0xb576('0x35')],{'$or':_['map'](_0x239638,function(_0x17f0dc){if(_0x17f0dc['type']!==_0xb576('0x39')){var _0x3e076a={};_0x3e076a[_0x17f0dc[_0xb576('0x25')]]={'$like':'%'+_0x592dfc['query'][_0xb576('0x37')]+'%'};return _0x3e076a;}})});}_0x5a7b3d=_['merge']({},_0x5a7b3d,_0x592dfc['options']);var _0x47012a={'where':_0x5a7b3d[_0xb576('0x35')]};return db[_0xb576('0x29')][_0xb576('0x1d')](_0x47012a)[_0xb576('0x22')](function(_0x3a61c9){_0x19f443['count']=_0x3a61c9;if(_0x592dfc[_0xb576('0x2d')][_0xb576('0x3a')]){_0x5a7b3d[_0xb576('0x3b')]=[{'all':!![]}];}return db[_0xb576('0x29')][_0xb576('0x3c')](_0x5a7b3d);})[_0xb576('0x22')](function(_0x1207f4){_0x19f443[_0xb576('0x3d')]=_0x1207f4;return _0x19f443;})[_0xb576('0x22')](respondWithFilteredResult(_0x13d833,_0x5a7b3d))['catch'](handleError(_0x13d833,null));};exports[_0xb576('0x3e')]=function(_0x30a358,_0xbf5ca7){var _0x1c6a4c={'raw':!![],'where':{'id':_0x30a358[_0xb576('0x3f')]['id']}},_0x28a0cb={};_0x28a0cb[_0xb576('0x2f')]=_[_0xb576('0x40')](db[_0xb576('0x29')][_0xb576('0x41')]);_0x28a0cb[_0xb576('0x2d')]=_['keys'](_0x30a358['query']);_0x28a0cb[_0xb576('0x36')]=_[_0xb576('0x2e')](_0x28a0cb[_0xb576('0x2f')],_0x28a0cb[_0xb576('0x2d')]);_0x1c6a4c[_0xb576('0x30')]=_[_0xb576('0x2e')](_0x28a0cb[_0xb576('0x2f')],qs[_0xb576('0x31')](_0x30a358[_0xb576('0x2d')]['fields']));_0x1c6a4c['attributes']=_0x1c6a4c[_0xb576('0x30')]['length']?_0x1c6a4c['attributes']:_0x28a0cb[_0xb576('0x2f')];if(_0x30a358[_0xb576('0x2d')][_0xb576('0x3a')]){_0x1c6a4c['include']=[{'all':!![]}];}_0x1c6a4c=_[_0xb576('0x38')]({},_0x1c6a4c,_0x30a358[_0xb576('0x42')]);return db[_0xb576('0x29')]['find'](_0x1c6a4c)['then'](handleEntityNotFound(_0xbf5ca7,null))[_0xb576('0x22')](respondWithResult(_0xbf5ca7,null))['catch'](handleError(_0xbf5ca7,null));};exports[_0xb576('0x43')]=function(_0xe74e70,_0x58f269){return db['ChatQueueReport'][_0xb576('0x43')](_0xe74e70[_0xb576('0x44')],{})[_0xb576('0x22')](respondWithResult(_0x58f269,0xc9))['catch'](handleError(_0x58f269,null));};exports[_0xb576('0x21')]=function(_0x27e80d,_0x35a707){if(_0x27e80d[_0xb576('0x44')]['id']){delete _0x27e80d[_0xb576('0x44')]['id'];}return db[_0xb576('0x29')][_0xb576('0x45')]({'where':{'id':_0x27e80d[_0xb576('0x3f')]['id']}})[_0xb576('0x22')](handleEntityNotFound(_0x35a707,null))[_0xb576('0x22')](saveUpdates(_0x27e80d[_0xb576('0x44')],null))[_0xb576('0x22')](respondWithResult(_0x35a707,null))[_0xb576('0x46')](handleError(_0x35a707,null));};exports[_0xb576('0x23')]=function(_0x32b58c,_0x33e0df){return db[_0xb576('0x29')][_0xb576('0x45')]({'where':{'id':_0x32b58c['params']['id']}})[_0xb576('0x22')](handleEntityNotFound(_0x33e0df,null))[_0xb576('0x22')](removeEntity(_0x33e0df,null))[_0xb576('0x46')](handleError(_0x33e0df,null));};exports[_0xb576('0x47')]=function(_0x40f867,_0x3fd02e){return db[_0xb576('0x29')]['describe']()['then'](respondWithResult(_0x3fd02e,null))['catch'](handleError(_0x3fd02e,null));};
\ No newline at end of file
+var _0x18b2=['../../config/utils','../../config/environment','../../config/license/util','sendStatus','status','json','offset','undefined','limit','count','set','Content-Range','apply','reject','then','destroy','end','error','name','send','index','rawAttributes','fieldName','type','key','map','query','attributes','intersection','fields','length','model','hasOwnProperty','nolimit','order','sort','pick','filter','where','VIRTUAL','merge','options','ChatQueueReport','includeAll','include','findAll','catch','show','params','keys','find','create','body','update','describe','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger'];(function(_0x3ab687,_0x2f3a18){var _0x512596=function(_0x981ef2){while(--_0x981ef2){_0x3ab687['push'](_0x3ab687['shift']());}};_0x512596(++_0x2f3a18);}(_0x18b2,0x85));var _0x218b=function(_0x128e80,_0x4a2fae){_0x128e80=_0x128e80-0x0;var _0x55b121=_0x18b2[_0x128e80];return _0x55b121;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x218b('0x0'));var zipdir=require(_0x218b('0x1'));var jsonpatch=require(_0x218b('0x2'));var rp=require('request-promise');var moment=require(_0x218b('0x3'));var BPromise=require(_0x218b('0x4'));var Mustache=require(_0x218b('0x5'));var util=require(_0x218b('0x6'));var path=require(_0x218b('0x7'));var sox=require(_0x218b('0x8'));var csv=require(_0x218b('0x9'));var ejs=require(_0x218b('0xa'));var fs=require('fs');var fs_extra=require(_0x218b('0xb'));var _=require(_0x218b('0xc'));var squel=require(_0x218b('0xd'));var crypto=require(_0x218b('0xe'));var jsforce=require(_0x218b('0xf'));var deskjs=require(_0x218b('0x10'));var toCsv=require(_0x218b('0x9'));var querystring=require('querystring');var Papa=require(_0x218b('0x11'));var Redis=require(_0x218b('0x12'));var authService=require(_0x218b('0x13'));var qs=require(_0x218b('0x14'));var as=require(_0x218b('0x15'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x218b('0x16'))('api');var utils=require(_0x218b('0x17'));var config=require(_0x218b('0x18'));var licenseUtil=require(_0x218b('0x19'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x26d573,_0x1a8456){_0x1a8456=_0x1a8456||0xcc;return function(_0x57ea4e){if(_0x57ea4e){return _0x26d573[_0x218b('0x1a')](_0x1a8456);}return _0x26d573[_0x218b('0x1b')](_0x1a8456)['end']();};}function respondWithResult(_0x3475c7,_0xa45378){_0xa45378=_0xa45378||0xc8;return function(_0x467aa0){if(_0x467aa0){return _0x3475c7[_0x218b('0x1b')](_0xa45378)[_0x218b('0x1c')](_0x467aa0);}};}function respondWithFilteredResult(_0x27b5b8,_0x384852){return function(_0x2487d3){if(_0x2487d3){var _0x461808=typeof _0x384852[_0x218b('0x1d')]===_0x218b('0x1e')&&typeof _0x384852[_0x218b('0x1f')]===_0x218b('0x1e');var _0x13ecbd=_0x2487d3[_0x218b('0x20')];var _0x477f32=_0x461808?0x0:_0x384852['offset'];var _0x2a1c5c=_0x461808?_0x2487d3[_0x218b('0x20')]:_0x384852[_0x218b('0x1d')]+_0x384852['limit'];var _0x5f249c;if(_0x2a1c5c>=_0x13ecbd){_0x2a1c5c=_0x13ecbd;_0x5f249c=0xc8;}else{_0x5f249c=0xce;}_0x27b5b8['status'](_0x5f249c);return _0x27b5b8[_0x218b('0x21')](_0x218b('0x22'),_0x477f32+'-'+_0x2a1c5c+'/'+_0x13ecbd)[_0x218b('0x1c')](_0x2487d3);}return null;};}function patchUpdates(_0x157a8e){return function(_0x449851){try{jsonpatch[_0x218b('0x23')](_0x449851,_0x157a8e,!![]);}catch(_0xeaa78b){return BPromise[_0x218b('0x24')](_0xeaa78b);}return _0x449851['save']();};}function saveUpdates(_0x50e657,_0x387c21){return function(_0x35716b){if(_0x35716b){return _0x35716b['update'](_0x50e657)[_0x218b('0x25')](function(_0x280f32){return _0x280f32;});}return null;};}function removeEntity(_0x40895a,_0x571909){return function(_0x52b3a9){if(_0x52b3a9){return _0x52b3a9[_0x218b('0x26')]()[_0x218b('0x25')](function(){_0x40895a['status'](0xcc)[_0x218b('0x27')]();});}};}function handleEntityNotFound(_0x1d70a8,_0x3a6868){return function(_0x3135d8){if(!_0x3135d8){_0x1d70a8[_0x218b('0x1a')](0x194);}return _0x3135d8;};}function handleError(_0x5120d7,_0x178214){_0x178214=_0x178214||0x1f4;return function(_0x239f75){logger[_0x218b('0x28')](_0x239f75['stack']);if(_0x239f75[_0x218b('0x29')]){delete _0x239f75['name'];}_0x5120d7['status'](_0x178214)[_0x218b('0x2a')](_0x239f75);};}exports[_0x218b('0x2b')]=function(_0x50b0f5,_0x4f2af0){var _0x539bb5={},_0x4aca90={},_0x5cc7dc={'count':0x0,'rows':[]};var _0x48b42e=_['map'](db['ChatQueueReport'][_0x218b('0x2c')],function(_0x2351d0){return{'name':_0x2351d0[_0x218b('0x2d')],'type':_0x2351d0[_0x218b('0x2e')][_0x218b('0x2f')]};});_0x4aca90['model']=_[_0x218b('0x30')](_0x48b42e,'name');_0x4aca90[_0x218b('0x31')]=_['keys'](_0x50b0f5[_0x218b('0x31')]);_0x4aca90['filters']=_['intersection'](_0x4aca90['model'],_0x4aca90['query']);_0x539bb5[_0x218b('0x32')]=_[_0x218b('0x33')](_0x4aca90['model'],qs[_0x218b('0x34')](_0x50b0f5[_0x218b('0x31')][_0x218b('0x34')]));_0x539bb5[_0x218b('0x32')]=_0x539bb5['attributes'][_0x218b('0x35')]?_0x539bb5[_0x218b('0x32')]:_0x4aca90[_0x218b('0x36')];if(!_0x50b0f5[_0x218b('0x31')][_0x218b('0x37')](_0x218b('0x38'))){_0x539bb5[_0x218b('0x1f')]=qs[_0x218b('0x1f')](_0x50b0f5['query']['limit']);_0x539bb5[_0x218b('0x1d')]=qs[_0x218b('0x1d')](_0x50b0f5[_0x218b('0x31')][_0x218b('0x1d')]);}_0x539bb5[_0x218b('0x39')]=qs[_0x218b('0x3a')](_0x50b0f5['query'][_0x218b('0x3a')]);_0x539bb5['where']=qs['filters'](_[_0x218b('0x3b')](_0x50b0f5[_0x218b('0x31')],_0x4aca90['filters']),_0x48b42e);if(_0x50b0f5[_0x218b('0x31')][_0x218b('0x3c')]){_0x539bb5['where']=_['merge'](_0x539bb5[_0x218b('0x3d')],{'$or':_[_0x218b('0x30')](_0x48b42e,function(_0x4735d2){if(_0x4735d2['type']!==_0x218b('0x3e')){var _0x220fb5={};_0x220fb5[_0x4735d2['name']]={'$like':'%'+_0x50b0f5[_0x218b('0x31')][_0x218b('0x3c')]+'%'};return _0x220fb5;}})});}_0x539bb5=_[_0x218b('0x3f')]({},_0x539bb5,_0x50b0f5[_0x218b('0x40')]);var _0x21b296={'where':_0x539bb5[_0x218b('0x3d')]};return db[_0x218b('0x41')][_0x218b('0x20')](_0x21b296)[_0x218b('0x25')](function(_0x3ef2d3){_0x5cc7dc[_0x218b('0x20')]=_0x3ef2d3;if(_0x50b0f5['query'][_0x218b('0x42')]){_0x539bb5[_0x218b('0x43')]=[{'all':!![]}];}return db['ChatQueueReport'][_0x218b('0x44')](_0x539bb5);})[_0x218b('0x25')](function(_0x5807ef){_0x5cc7dc['rows']=_0x5807ef;return _0x5cc7dc;})[_0x218b('0x25')](respondWithFilteredResult(_0x4f2af0,_0x539bb5))[_0x218b('0x45')](handleError(_0x4f2af0,null));};exports[_0x218b('0x46')]=function(_0x3f3e92,_0x35ef57){var _0x4a9076={'raw':!![],'where':{'id':_0x3f3e92[_0x218b('0x47')]['id']}},_0x13360e={};_0x13360e['model']=_['keys'](db['ChatQueueReport']['rawAttributes']);_0x13360e[_0x218b('0x31')]=_[_0x218b('0x48')](_0x3f3e92[_0x218b('0x31')]);_0x13360e['filters']=_[_0x218b('0x33')](_0x13360e[_0x218b('0x36')],_0x13360e[_0x218b('0x31')]);_0x4a9076[_0x218b('0x32')]=_[_0x218b('0x33')](_0x13360e['model'],qs[_0x218b('0x34')](_0x3f3e92[_0x218b('0x31')][_0x218b('0x34')]));_0x4a9076[_0x218b('0x32')]=_0x4a9076[_0x218b('0x32')][_0x218b('0x35')]?_0x4a9076[_0x218b('0x32')]:_0x13360e[_0x218b('0x36')];if(_0x3f3e92[_0x218b('0x31')]['includeAll']){_0x4a9076[_0x218b('0x43')]=[{'all':!![]}];}_0x4a9076=_[_0x218b('0x3f')]({},_0x4a9076,_0x3f3e92['options']);return db[_0x218b('0x41')][_0x218b('0x49')](_0x4a9076)[_0x218b('0x25')](handleEntityNotFound(_0x35ef57,null))[_0x218b('0x25')](respondWithResult(_0x35ef57,null))['catch'](handleError(_0x35ef57,null));};exports[_0x218b('0x4a')]=function(_0x5b5f4a,_0x2c8cae){return db[_0x218b('0x41')][_0x218b('0x4a')](_0x5b5f4a[_0x218b('0x4b')],{})[_0x218b('0x25')](respondWithResult(_0x2c8cae,0xc9))[_0x218b('0x45')](handleError(_0x2c8cae,null));};exports[_0x218b('0x4c')]=function(_0x2ce155,_0x30c63c){if(_0x2ce155[_0x218b('0x4b')]['id']){delete _0x2ce155['body']['id'];}return db[_0x218b('0x41')][_0x218b('0x49')]({'where':{'id':_0x2ce155[_0x218b('0x47')]['id']}})[_0x218b('0x25')](handleEntityNotFound(_0x30c63c,null))[_0x218b('0x25')](saveUpdates(_0x2ce155[_0x218b('0x4b')],null))[_0x218b('0x25')](respondWithResult(_0x30c63c,null))[_0x218b('0x45')](handleError(_0x30c63c,null));};exports[_0x218b('0x26')]=function(_0x392866,_0xf3dfe9){return db[_0x218b('0x41')][_0x218b('0x49')]({'where':{'id':_0x392866[_0x218b('0x47')]['id']}})[_0x218b('0x25')](handleEntityNotFound(_0xf3dfe9,null))[_0x218b('0x25')](removeEntity(_0xf3dfe9,null))[_0x218b('0x45')](handleError(_0xf3dfe9,null));};exports[_0x218b('0x4d')]=function(_0x284435,_0x4b88cc){return db[_0x218b('0x41')][_0x218b('0x4d')]()[_0x218b('0x25')](respondWithResult(_0x4b88cc,null))[_0x218b('0x45')](handleError(_0x4b88cc,null));};
\ No newline at end of file
diff --git a/server/api/chatQueueReport/chatQueueReport.model.js b/server/api/chatQueueReport/chatQueueReport.model.js
index 2a05264..b99f721 100644
--- a/server/api/chatQueueReport/chatQueueReport.model.js
+++ b/server/api/chatQueueReport/chatQueueReport.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x0713=['../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./chatQueueReport.attributes','exports','define','ChatQueueReport','report_chat_queue','uniqueid'];(function(_0x5f25b3,_0x35481a){var _0x4ab9bf=function(_0x49baf7){while(--_0x49baf7){_0x5f25b3['push'](_0x5f25b3['shift']());}};_0x4ab9bf(++_0x35481a);}(_0x0713,0x1ba));var _0x3071=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0713[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x3071('0x0'))(_0x3071('0x1'));var moment=require(_0x3071('0x2'));var BPromise=require(_0x3071('0x3'));var rp=require(_0x3071('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3071('0x5'));var config=require(_0x3071('0x6'));var attributes=require(_0x3071('0x7'));module[_0x3071('0x8')]=function(_0xabd7b6,_0x41cf76){return _0xabd7b6[_0x3071('0x9')](_0x3071('0xa'),attributes,{'tableName':_0x3071('0xb'),'paranoid':![],'indexes':[{'name':_0x3071('0xc'),'fields':[_0x3071('0xc')]}],'timestamps':!![]});};
\ No newline at end of file
+var _0xbaf0=['define','ChatQueueReport','report_chat_queue','uniqueid','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./chatQueueReport.attributes','exports'];(function(_0x5454be,_0x39b788){var _0x5c2ec8=function(_0x3eb123){while(--_0x3eb123){_0x5454be['push'](_0x5454be['shift']());}};_0x5c2ec8(++_0x39b788);}(_0xbaf0,0x12a));var _0x0baf=function(_0x6c993a,_0x5ea3ab){_0x6c993a=_0x6c993a-0x0;var _0x27f547=_0xbaf0[_0x6c993a];return _0x27f547;};'use strict';var _=require('lodash');var util=require(_0x0baf('0x0'));var logger=require(_0x0baf('0x1'))(_0x0baf('0x2'));var moment=require(_0x0baf('0x3'));var BPromise=require(_0x0baf('0x4'));var rp=require(_0x0baf('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0baf('0x6'));var config=require(_0x0baf('0x7'));var attributes=require(_0x0baf('0x8'));module[_0x0baf('0x9')]=function(_0xe4c3c4,_0x335e24){return _0xe4c3c4[_0x0baf('0xa')](_0x0baf('0xb'),attributes,{'tableName':_0x0baf('0xc'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x0baf('0xd')]}],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/chatQueueReport/chatQueueReport.rpc.js b/server/api/chatQueueReport/chatQueueReport.rpc.js
index e893b0b..5810b79 100644
--- a/server/api/chatQueueReport/chatQueueReport.rpc.js
+++ b/server/api/chatQueueReport/chatQueueReport.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x9bbf=['where','attributes','limit','lodash','util','moment','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','ChatQueueReport,\x20%s,\x20%s','request\x20sent','debug','ChatQueueReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','result','catch','CreateChatQueueReport','body','options','raw','then','UpdateChatQueueReport','update'];(function(_0x54dd97,_0x253d62){var _0x3d14ef=function(_0x53e2f1){while(--_0x53e2f1){_0x54dd97['push'](_0x54dd97['shift']());}};_0x3d14ef(++_0x253d62);}(_0x9bbf,0xc9));var _0xf9bb=function(_0x35821c,_0x1c2c65){_0x35821c=_0x35821c-0x0;var _0x4ddf39=_0x9bbf[_0x35821c];return _0x4ddf39;};'use strict';var _=require(_0xf9bb('0x0'));var util=require(_0xf9bb('0x1'));var moment=require(_0xf9bb('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xf9bb('0x3'));var db=require(_0xf9bb('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0xf9bb('0x5'))(_0xf9bb('0x6'));var config=require(_0xf9bb('0x7'));var jayson=require(_0xf9bb('0x8'));var client=jayson[_0xf9bb('0x9')][_0xf9bb('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x37e02f,_0x3f3610,_0x146945){return new BPromise(function(_0x2804db,_0x394f9b){return client[_0xf9bb('0xb')](_0x37e02f,_0x146945)['then'](function(_0x1b5932){logger['info'](_0xf9bb('0xc'),_0x3f3610,_0xf9bb('0xd'));logger[_0xf9bb('0xe')](_0xf9bb('0xf'),_0x3f3610,_0xf9bb('0xd'),JSON[_0xf9bb('0x10')](_0x1b5932));if(_0x1b5932['error']){if(_0x1b5932[_0xf9bb('0x11')][_0xf9bb('0x12')]===0x1f4){logger['error'](_0xf9bb('0xc'),_0x3f3610,_0x1b5932[_0xf9bb('0x11')][_0xf9bb('0x13')]);return _0x394f9b(_0x1b5932[_0xf9bb('0x11')][_0xf9bb('0x13')]);}logger[_0xf9bb('0x11')](_0xf9bb('0xc'),_0x3f3610,_0x1b5932[_0xf9bb('0x11')][_0xf9bb('0x13')]);return _0x2804db(_0x1b5932[_0xf9bb('0x11')][_0xf9bb('0x13')]);}else{logger[_0xf9bb('0x14')](_0xf9bb('0xc'),_0x3f3610,_0xf9bb('0xd'));_0x2804db(_0x1b5932[_0xf9bb('0x15')]['message']);}})[_0xf9bb('0x16')](function(_0x1aa412){logger[_0xf9bb('0x11')]('ChatQueueReport,\x20%s,\x20%s',_0x3f3610,_0x1aa412);_0x394f9b(_0x1aa412);});});}exports[_0xf9bb('0x17')]=function(_0x3e62fe){var _0x3a93c6=this;return new Promise(function(_0x45c18e,_0x2d211a){return db['ChatQueueReport']['create'](_0x3e62fe[_0xf9bb('0x18')],{'raw':_0x3e62fe['options']?_0x3e62fe[_0xf9bb('0x19')][_0xf9bb('0x1a')]===undefined?!![]:![]:!![]})[_0xf9bb('0x1b')](function(_0x37b1ec){logger[_0xf9bb('0x14')](_0xf9bb('0x17'),_0x3e62fe);logger[_0xf9bb('0xe')](_0xf9bb('0x17'),_0x3e62fe,JSON['stringify'](_0x37b1ec));_0x45c18e(_0x37b1ec);})['catch'](function(_0x26c88f){logger['error'](_0xf9bb('0x17'),_0x26c88f[_0xf9bb('0x13')],_0x3e62fe);_0x2d211a(_0x3a93c6[_0xf9bb('0x11')](0x1f4,_0x26c88f[_0xf9bb('0x13')]));});});};exports[_0xf9bb('0x1c')]=function(_0x4568e0){var _0x111de7=this;return new Promise(function(_0x532490,_0x41277a){return db['ChatQueueReport'][_0xf9bb('0x1d')](_0x4568e0['body'],{'raw':_0x4568e0[_0xf9bb('0x19')]?_0x4568e0[_0xf9bb('0x19')]['raw']===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x4568e0[_0xf9bb('0x19')]?_0x4568e0[_0xf9bb('0x19')][_0xf9bb('0x1e')]||null:null,'attributes':_0x4568e0['options']?_0x4568e0[_0xf9bb('0x19')][_0xf9bb('0x1f')]||null:null,'limit':_0x4568e0[_0xf9bb('0x19')]?_0x4568e0[_0xf9bb('0x19')][_0xf9bb('0x20')]||null:null})[_0xf9bb('0x1b')](function(_0x5520ec){logger[_0xf9bb('0x14')]('UpdateChatQueueReport',_0x4568e0);logger[_0xf9bb('0xe')]('UpdateChatQueueReport',_0x4568e0,JSON['stringify'](_0x5520ec));_0x532490(_0x5520ec);})['catch'](function(_0x203155){logger[_0xf9bb('0x11')](_0xf9bb('0x1c'),_0x203155['message'],_0x4568e0);_0x41277a(_0x111de7[_0xf9bb('0x11')](0x1f4,_0x203155[_0xf9bb('0x13')]));});});};
\ No newline at end of file
+var _0xd6aa=['stringify','error','message','catch','ChatQueueReport','create','options','raw','CreateChatQueueReport','debug','UpdateChatQueueReport','where','attributes','limit','lodash','util','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','then','info','ChatQueueReport,\x20%s,\x20%s','request\x20sent','ChatQueueReport,\x20%s,\x20%s,\x20%s'];(function(_0x251eaf,_0x730fda){var _0x2a2983=function(_0x5cebcb){while(--_0x5cebcb){_0x251eaf['push'](_0x251eaf['shift']());}};_0x2a2983(++_0x730fda);}(_0xd6aa,0x182));var _0xad6a=function(_0xceb38b,_0x5d6bdb){_0xceb38b=_0xceb38b-0x0;var _0x4ba6f2=_0xd6aa[_0xceb38b];return _0x4ba6f2;};'use strict';var _=require(_0xad6a('0x0'));var util=require(_0xad6a('0x1'));var moment=require('moment');var BPromise=require(_0xad6a('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xad6a('0x3'));var db=require(_0xad6a('0x4'))['db'];var utils=require(_0xad6a('0x5'));var logger=require(_0xad6a('0x6'))(_0xad6a('0x7'));var config=require(_0xad6a('0x8'));var jayson=require(_0xad6a('0x9'));var client=jayson[_0xad6a('0xa')][_0xad6a('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x21cca8,_0x4c52bf,_0x3fe075){return new BPromise(function(_0x59ada9,_0x3d56d2){return client['request'](_0x21cca8,_0x3fe075)[_0xad6a('0xc')](function(_0xec3f65){logger[_0xad6a('0xd')](_0xad6a('0xe'),_0x4c52bf,_0xad6a('0xf'));logger['debug'](_0xad6a('0x10'),_0x4c52bf,_0xad6a('0xf'),JSON[_0xad6a('0x11')](_0xec3f65));if(_0xec3f65['error']){if(_0xec3f65['error']['code']===0x1f4){logger[_0xad6a('0x12')]('ChatQueueReport,\x20%s,\x20%s',_0x4c52bf,_0xec3f65['error'][_0xad6a('0x13')]);return _0x3d56d2(_0xec3f65['error'][_0xad6a('0x13')]);}logger[_0xad6a('0x12')](_0xad6a('0xe'),_0x4c52bf,_0xec3f65[_0xad6a('0x12')][_0xad6a('0x13')]);return _0x59ada9(_0xec3f65[_0xad6a('0x12')][_0xad6a('0x13')]);}else{logger[_0xad6a('0xd')](_0xad6a('0xe'),_0x4c52bf,'request\x20sent');_0x59ada9(_0xec3f65['result'][_0xad6a('0x13')]);}})[_0xad6a('0x14')](function(_0x557328){logger[_0xad6a('0x12')]('ChatQueueReport,\x20%s,\x20%s',_0x4c52bf,_0x557328);_0x3d56d2(_0x557328);});});}exports['CreateChatQueueReport']=function(_0x2f841a){var _0x2b61bf=this;return new Promise(function(_0x328364,_0x1dd5dd){return db[_0xad6a('0x15')][_0xad6a('0x16')](_0x2f841a['body'],{'raw':_0x2f841a[_0xad6a('0x17')]?_0x2f841a['options'][_0xad6a('0x18')]===undefined?!![]:![]:!![]})[_0xad6a('0xc')](function(_0x2338c6){logger[_0xad6a('0xd')](_0xad6a('0x19'),_0x2f841a);logger[_0xad6a('0x1a')]('CreateChatQueueReport',_0x2f841a,JSON[_0xad6a('0x11')](_0x2338c6));_0x328364(_0x2338c6);})['catch'](function(_0x4a12da){logger[_0xad6a('0x12')](_0xad6a('0x19'),_0x4a12da[_0xad6a('0x13')],_0x2f841a);_0x1dd5dd(_0x2b61bf[_0xad6a('0x12')](0x1f4,_0x4a12da[_0xad6a('0x13')]));});});};exports[_0xad6a('0x1b')]=function(_0x400911){var _0x38e9c0=this;return new Promise(function(_0x2fd5e3,_0x248f25){return db[_0xad6a('0x15')]['update'](_0x400911['body'],{'raw':_0x400911[_0xad6a('0x17')]?_0x400911[_0xad6a('0x17')][_0xad6a('0x18')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x400911[_0xad6a('0x17')]?_0x400911[_0xad6a('0x17')][_0xad6a('0x1c')]||null:null,'attributes':_0x400911[_0xad6a('0x17')]?_0x400911['options'][_0xad6a('0x1d')]||null:null,'limit':_0x400911[_0xad6a('0x17')]?_0x400911['options'][_0xad6a('0x1e')]||null:null})[_0xad6a('0xc')](function(_0x1c0b5e){logger['info'](_0xad6a('0x1b'),_0x400911);logger[_0xad6a('0x1a')](_0xad6a('0x1b'),_0x400911,JSON[_0xad6a('0x11')](_0x1c0b5e));_0x2fd5e3(_0x1c0b5e);})[_0xad6a('0x14')](function(_0x459677){logger[_0xad6a('0x12')]('UpdateChatQueueReport',_0x459677['message'],_0x400911);_0x248f25(_0x38e9c0[_0xad6a('0x12')](0x1f4,_0x459677['message']));});});};
\ No newline at end of file
diff --git a/server/api/chatQueueReport/index.js b/server/api/chatQueueReport/index.js
index 1144aa4..b7ce2b3 100644
--- a/server/api/chatQueueReport/index.js
+++ b/server/api/chatQueueReport/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x91a3=['post','put','delete','destroy','exports','util','path','../../components/auth/service','../../components/interaction/service','./chatQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show'];(function(_0x4fe4fe,_0x1d9dce){var _0x384913=function(_0x59617f){while(--_0x59617f){_0x4fe4fe['push'](_0x4fe4fe['shift']());}};_0x384913(++_0x1d9dce);}(_0x91a3,0x16a));var _0x391a=function(_0x421555,_0x339c4f){_0x421555=_0x421555-0x0;var _0x59c93a=_0x91a3[_0x421555];return _0x59c93a;};'use strict';var multer=require('multer');var util=require(_0x391a('0x0'));var path=require(_0x391a('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x391a('0x2'));var interaction=require(_0x391a('0x3'));var config=require('../../config/environment');var controller=require(_0x391a('0x4'));router[_0x391a('0x5')]('/',auth[_0x391a('0x6')](),controller[_0x391a('0x7')]);router[_0x391a('0x5')](_0x391a('0x8'),auth[_0x391a('0x6')](),controller[_0x391a('0x9')]);router[_0x391a('0x5')](_0x391a('0xa'),auth[_0x391a('0x6')](),controller[_0x391a('0xb')]);router[_0x391a('0xc')]('/',auth[_0x391a('0x6')](),controller['create']);router[_0x391a('0xd')](_0x391a('0xa'),auth['isAuthenticated'](),controller['update']);router[_0x391a('0xe')]('/:id',auth[_0x391a('0x6')](),controller[_0x391a('0xf')]);module[_0x391a('0x10')]=router;
\ No newline at end of file
+var _0xdeb8=['show','post','create','put','/:id','update','delete','destroy','exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./chatQueueReport.controller','isAuthenticated','get','/describe','describe'];(function(_0x5ada34,_0x35aa7c){var _0x12484e=function(_0xc4bb96){while(--_0xc4bb96){_0x5ada34['push'](_0x5ada34['shift']());}};_0x12484e(++_0x35aa7c);}(_0xdeb8,0xdb));var _0x8deb=function(_0x4a2ea2,_0x73dd91){_0x4a2ea2=_0x4a2ea2-0x0;var _0x558490=_0xdeb8[_0x4a2ea2];return _0x558490;};'use strict';var multer=require('multer');var util=require(_0x8deb('0x0'));var path=require(_0x8deb('0x1'));var timeout=require(_0x8deb('0x2'));var express=require(_0x8deb('0x3'));var router=express['Router']();var fs_extra=require(_0x8deb('0x4'));var auth=require(_0x8deb('0x5'));var interaction=require(_0x8deb('0x6'));var config=require('../../config/environment');var controller=require(_0x8deb('0x7'));router['get']('/',auth[_0x8deb('0x8')](),controller['index']);router[_0x8deb('0x9')](_0x8deb('0xa'),auth['isAuthenticated'](),controller[_0x8deb('0xb')]);router[_0x8deb('0x9')]('/:id',auth[_0x8deb('0x8')](),controller[_0x8deb('0xc')]);router[_0x8deb('0xd')]('/',auth[_0x8deb('0x8')](),controller[_0x8deb('0xe')]);router[_0x8deb('0xf')](_0x8deb('0x10'),auth['isAuthenticated'](),controller[_0x8deb('0x11')]);router[_0x8deb('0x12')](_0x8deb('0x10'),auth[_0x8deb('0x8')](),controller[_0x8deb('0x13')]);module[_0x8deb('0x14')]=router;
\ No newline at end of file
diff --git a/server/api/chatTransferReport/chatTransferReport.attributes.js b/server/api/chatTransferReport/chatTransferReport.attributes.js
index 5236c43..33b5a1b 100644
--- a/server/api/chatTransferReport/chatTransferReport.attributes.js
+++ b/server/api/chatTransferReport/chatTransferReport.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x34e8=['queue','DATE','NOW','moment','sequelize','exports','STRING','account','agent'];(function(_0x202517,_0x47ada9){var _0x72463a=function(_0x452ad4){while(--_0x452ad4){_0x202517['push'](_0x202517['shift']());}};_0x72463a(++_0x47ada9);}(_0x34e8,0x12c));var _0x834e=function(_0x2c02fd,_0x25a1e3){_0x2c02fd=_0x2c02fd-0x0;var _0x53565c=_0x34e8[_0x2c02fd];return _0x53565c;};'use strict';var moment=require(_0x834e('0x0'));var Sequelize=require(_0x834e('0x1'));module[_0x834e('0x2')]={'uniqueid':{'type':Sequelize[_0x834e('0x3')],'allowNull':![]},'type':{'type':Sequelize['ENUM'](_0x834e('0x4'),_0x834e('0x5'),_0x834e('0x6')),'allowNull':![],'defaultValue':_0x834e('0x6')},'transferredAt':{'type':Sequelize[_0x834e('0x7')],'allowNull':![],'defaultValue':Sequelize[_0x834e('0x8')]}};
\ No newline at end of file
+var _0x9c44=['ENUM','account','agent','queue','NOW','exports','STRING'];(function(_0x49f72d,_0x315dc6){var _0x4e1123=function(_0x37464b){while(--_0x37464b){_0x49f72d['push'](_0x49f72d['shift']());}};_0x4e1123(++_0x315dc6);}(_0x9c44,0x178));var _0x49c4=function(_0x8c43de,_0x90ff31){_0x8c43de=_0x8c43de-0x0;var _0xa6591b=_0x9c44[_0x8c43de];return _0xa6591b;};'use strict';var moment=require('moment');var Sequelize=require('sequelize');module[_0x49c4('0x0')]={'uniqueid':{'type':Sequelize[_0x49c4('0x1')],'allowNull':![]},'type':{'type':Sequelize[_0x49c4('0x2')](_0x49c4('0x3'),_0x49c4('0x4'),_0x49c4('0x5')),'allowNull':![],'defaultValue':'queue'},'transferredAt':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':Sequelize[_0x49c4('0x6')]}};
\ No newline at end of file
diff --git a/server/api/chatTransferReport/chatTransferReport.controller.js b/server/api/chatTransferReport/chatTransferReport.controller.js
index 1e171cb..00d0134 100644
--- a/server/api/chatTransferReport/chatTransferReport.controller.js
+++ b/server/api/chatTransferReport/chatTransferReport.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xeddf=['request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/license/util','sendStatus','status','end','undefined','limit','count','offset','set','Content-Range','apply','reject','save','update','then','error','stack','name','send','map','ChatTransferReport','rawAttributes','type','key','model','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','sort','where','pick','filter','VIRTUAL','merge','options','includeAll','include','rows','show','params','keys','catch','create','body','find','destroy','describe','eml-format','rimraf','zip-dir','fast-json-patch'];(function(_0x10f3ff,_0x5b4e7a){var _0x19eb12=function(_0x1f2904){while(--_0x1f2904){_0x10f3ff['push'](_0x10f3ff['shift']());}};_0x19eb12(++_0x5b4e7a);}(_0xeddf,0xe3));var _0xfedd=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xeddf[_0x3dd15e];return _0x231fd0;};'use strict';var emlformat=require(_0xfedd('0x0'));var rimraf=require(_0xfedd('0x1'));var zipdir=require(_0xfedd('0x2'));var jsonpatch=require(_0xfedd('0x3'));var rp=require(_0xfedd('0x4'));var moment=require(_0xfedd('0x5'));var BPromise=require(_0xfedd('0x6'));var Mustache=require(_0xfedd('0x7'));var util=require(_0xfedd('0x8'));var path=require(_0xfedd('0x9'));var sox=require(_0xfedd('0xa'));var csv=require(_0xfedd('0xb'));var ejs=require(_0xfedd('0xc'));var fs=require('fs');var fs_extra=require(_0xfedd('0xd'));var _=require(_0xfedd('0xe'));var squel=require(_0xfedd('0xf'));var crypto=require(_0xfedd('0x10'));var jsforce=require(_0xfedd('0x11'));var deskjs=require(_0xfedd('0x12'));var toCsv=require('to-csv');var querystring=require(_0xfedd('0x13'));var Papa=require(_0xfedd('0x14'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0xfedd('0x15'));var hardwareService=require(_0xfedd('0x16'));var logger=require(_0xfedd('0x17'))(_0xfedd('0x18'));var utils=require('../../config/utils');var config=require('../../config/environment');var licenseUtil=require(_0xfedd('0x19'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x3c0a87,_0x3cdc4b){_0x3cdc4b=_0x3cdc4b||0xcc;return function(_0x32d4bb){if(_0x32d4bb){return _0x3c0a87[_0xfedd('0x1a')](_0x3cdc4b);}return _0x3c0a87[_0xfedd('0x1b')](_0x3cdc4b)[_0xfedd('0x1c')]();};}function respondWithResult(_0xda152a,_0x1fe576){_0x1fe576=_0x1fe576||0xc8;return function(_0x4a5a9e){if(_0x4a5a9e){return _0xda152a[_0xfedd('0x1b')](_0x1fe576)['json'](_0x4a5a9e);}};}function respondWithFilteredResult(_0x39bc60,_0x5a5c9d){return function(_0x5c3cd6){if(_0x5c3cd6){var _0x1cfc1b=typeof _0x5a5c9d['offset']===_0xfedd('0x1d')&&typeof _0x5a5c9d[_0xfedd('0x1e')]==='undefined';var _0x19c607=_0x5c3cd6[_0xfedd('0x1f')];var _0x5817d5=_0x1cfc1b?0x0:_0x5a5c9d[_0xfedd('0x20')];var _0x3f0ed3=_0x1cfc1b?_0x5c3cd6[_0xfedd('0x1f')]:_0x5a5c9d[_0xfedd('0x20')]+_0x5a5c9d[_0xfedd('0x1e')];var _0x584d64;if(_0x3f0ed3>=_0x19c607){_0x3f0ed3=_0x19c607;_0x584d64=0xc8;}else{_0x584d64=0xce;}_0x39bc60['status'](_0x584d64);return _0x39bc60[_0xfedd('0x21')](_0xfedd('0x22'),_0x5817d5+'-'+_0x3f0ed3+'/'+_0x19c607)['json'](_0x5c3cd6);}return null;};}function patchUpdates(_0x3949c7){return function(_0x29f32a){try{jsonpatch[_0xfedd('0x23')](_0x29f32a,_0x3949c7,!![]);}catch(_0xa206d){return BPromise[_0xfedd('0x24')](_0xa206d);}return _0x29f32a[_0xfedd('0x25')]();};}function saveUpdates(_0xe62506,_0x5e9ec1){return function(_0x4ecec0){if(_0x4ecec0){return _0x4ecec0[_0xfedd('0x26')](_0xe62506)['then'](function(_0x338374){return _0x338374;});}return null;};}function removeEntity(_0x46a446,_0x20c905){return function(_0x241c7c){if(_0x241c7c){return _0x241c7c['destroy']()[_0xfedd('0x27')](function(){_0x46a446[_0xfedd('0x1b')](0xcc)[_0xfedd('0x1c')]();});}};}function handleEntityNotFound(_0x40ce99,_0x42e811){return function(_0x5a7ff8){if(!_0x5a7ff8){_0x40ce99[_0xfedd('0x1a')](0x194);}return _0x5a7ff8;};}function handleError(_0x1e2f4e,_0x5869e2){_0x5869e2=_0x5869e2||0x1f4;return function(_0x3e6fff){logger[_0xfedd('0x28')](_0x3e6fff[_0xfedd('0x29')]);if(_0x3e6fff[_0xfedd('0x2a')]){delete _0x3e6fff['name'];}_0x1e2f4e['status'](_0x5869e2)[_0xfedd('0x2b')](_0x3e6fff);};}exports['index']=function(_0xdb9d63,_0x185bbc){var _0x5ab5dc={},_0x5d8316={},_0x2851ce={'count':0x0,'rows':[]};var _0x599e29=_[_0xfedd('0x2c')](db[_0xfedd('0x2d')][_0xfedd('0x2e')],function(_0x3f7ef4){return{'name':_0x3f7ef4['fieldName'],'type':_0x3f7ef4[_0xfedd('0x2f')][_0xfedd('0x30')]};});_0x5d8316[_0xfedd('0x31')]=_['map'](_0x599e29,_0xfedd('0x2a'));_0x5d8316[_0xfedd('0x32')]=_['keys'](_0xdb9d63[_0xfedd('0x32')]);_0x5d8316[_0xfedd('0x33')]=_[_0xfedd('0x34')](_0x5d8316[_0xfedd('0x31')],_0x5d8316['query']);_0x5ab5dc[_0xfedd('0x35')]=_[_0xfedd('0x34')](_0x5d8316['model'],qs[_0xfedd('0x36')](_0xdb9d63[_0xfedd('0x32')][_0xfedd('0x36')]));_0x5ab5dc['attributes']=_0x5ab5dc[_0xfedd('0x35')][_0xfedd('0x37')]?_0x5ab5dc[_0xfedd('0x35')]:_0x5d8316[_0xfedd('0x31')];if(!_0xdb9d63[_0xfedd('0x32')][_0xfedd('0x38')](_0xfedd('0x39'))){_0x5ab5dc[_0xfedd('0x1e')]=qs[_0xfedd('0x1e')](_0xdb9d63[_0xfedd('0x32')]['limit']);_0x5ab5dc[_0xfedd('0x20')]=qs[_0xfedd('0x20')](_0xdb9d63[_0xfedd('0x32')][_0xfedd('0x20')]);}_0x5ab5dc['order']=qs[_0xfedd('0x3a')](_0xdb9d63[_0xfedd('0x32')][_0xfedd('0x3a')]);_0x5ab5dc[_0xfedd('0x3b')]=qs[_0xfedd('0x33')](_[_0xfedd('0x3c')](_0xdb9d63[_0xfedd('0x32')],_0x5d8316[_0xfedd('0x33')]),_0x599e29);if(_0xdb9d63[_0xfedd('0x32')][_0xfedd('0x3d')]){_0x5ab5dc[_0xfedd('0x3b')]=_['merge'](_0x5ab5dc[_0xfedd('0x3b')],{'$or':_[_0xfedd('0x2c')](_0x599e29,function(_0x28b087){if(_0x28b087['type']!==_0xfedd('0x3e')){var _0x5a9192={};_0x5a9192[_0x28b087[_0xfedd('0x2a')]]={'$like':'%'+_0xdb9d63[_0xfedd('0x32')][_0xfedd('0x3d')]+'%'};return _0x5a9192;}})});}_0x5ab5dc=_[_0xfedd('0x3f')]({},_0x5ab5dc,_0xdb9d63[_0xfedd('0x40')]);var _0x2e62e7={'where':_0x5ab5dc[_0xfedd('0x3b')]};return db[_0xfedd('0x2d')][_0xfedd('0x1f')](_0x2e62e7)[_0xfedd('0x27')](function(_0x42558e){_0x2851ce['count']=_0x42558e;if(_0xdb9d63['query'][_0xfedd('0x41')]){_0x5ab5dc[_0xfedd('0x42')]=[{'all':!![]}];}return db['ChatTransferReport']['findAll'](_0x5ab5dc);})['then'](function(_0x51ae07){_0x2851ce[_0xfedd('0x43')]=_0x51ae07;return _0x2851ce;})[_0xfedd('0x27')](respondWithFilteredResult(_0x185bbc,_0x5ab5dc))['catch'](handleError(_0x185bbc,null));};exports[_0xfedd('0x44')]=function(_0x2d46c7,_0x95ed45){var _0x162649={'raw':!![],'where':{'id':_0x2d46c7[_0xfedd('0x45')]['id']}},_0x36b69f={};_0x36b69f[_0xfedd('0x31')]=_['keys'](db['ChatTransferReport'][_0xfedd('0x2e')]);_0x36b69f[_0xfedd('0x32')]=_[_0xfedd('0x46')](_0x2d46c7[_0xfedd('0x32')]);_0x36b69f['filters']=_['intersection'](_0x36b69f[_0xfedd('0x31')],_0x36b69f[_0xfedd('0x32')]);_0x162649['attributes']=_[_0xfedd('0x34')](_0x36b69f[_0xfedd('0x31')],qs[_0xfedd('0x36')](_0x2d46c7[_0xfedd('0x32')][_0xfedd('0x36')]));_0x162649['attributes']=_0x162649[_0xfedd('0x35')][_0xfedd('0x37')]?_0x162649[_0xfedd('0x35')]:_0x36b69f[_0xfedd('0x31')];if(_0x2d46c7[_0xfedd('0x32')][_0xfedd('0x41')]){_0x162649[_0xfedd('0x42')]=[{'all':!![]}];}_0x162649=_[_0xfedd('0x3f')]({},_0x162649,_0x2d46c7[_0xfedd('0x40')]);return db[_0xfedd('0x2d')]['find'](_0x162649)[_0xfedd('0x27')](handleEntityNotFound(_0x95ed45,null))[_0xfedd('0x27')](respondWithResult(_0x95ed45,null))[_0xfedd('0x47')](handleError(_0x95ed45,null));};exports[_0xfedd('0x48')]=function(_0x1c8ea1,_0x24b265){return db['ChatTransferReport'][_0xfedd('0x48')](_0x1c8ea1[_0xfedd('0x49')],{})[_0xfedd('0x27')](respondWithResult(_0x24b265,0xc9))[_0xfedd('0x47')](handleError(_0x24b265,null));};exports[_0xfedd('0x26')]=function(_0x506620,_0x4025ea){if(_0x506620[_0xfedd('0x49')]['id']){delete _0x506620[_0xfedd('0x49')]['id'];}return db[_0xfedd('0x2d')][_0xfedd('0x4a')]({'where':{'id':_0x506620[_0xfedd('0x45')]['id']}})[_0xfedd('0x27')](handleEntityNotFound(_0x4025ea,null))[_0xfedd('0x27')](saveUpdates(_0x506620[_0xfedd('0x49')],null))['then'](respondWithResult(_0x4025ea,null))[_0xfedd('0x47')](handleError(_0x4025ea,null));};exports[_0xfedd('0x4b')]=function(_0x393ccf,_0x26a2ec){return db[_0xfedd('0x2d')]['find']({'where':{'id':_0x393ccf[_0xfedd('0x45')]['id']}})[_0xfedd('0x27')](handleEntityNotFound(_0x26a2ec,null))['then'](removeEntity(_0x26a2ec,null))[_0xfedd('0x47')](handleError(_0x26a2ec,null));};exports['describe']=function(_0xac4315,_0x547ab5){return db[_0xfedd('0x2d')][_0xfedd('0x4c')]()[_0xfedd('0x27')](respondWithResult(_0x547ab5,null))[_0xfedd('0x47')](handleError(_0x547ab5,null));};
\ No newline at end of file
+var _0x9e91=['include','findAll','rows','catch','show','keys','find','create','body','params','destroy','describe','eml-format','rimraf','zip-dir','fast-json-patch','moment','path','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','offset','undefined','limit','count','set','Content-Range','apply','update','then','error','name','index','map','ChatTransferReport','rawAttributes','fieldName','key','query','filters','intersection','model','fields','attributes','length','nolimit','order','sort','where','pick','filter','merge','type','options'];(function(_0x48d2cd,_0x14c4b7){var _0x5b4bb3=function(_0xd881bb){while(--_0xd881bb){_0x48d2cd['push'](_0x48d2cd['shift']());}};_0x5b4bb3(++_0x14c4b7);}(_0x9e91,0x138));var _0x19e9=function(_0x3a0f87,_0xc3077d){_0x3a0f87=_0x3a0f87-0x0;var _0x508a83=_0x9e91[_0x3a0f87];return _0x508a83;};'use strict';var emlformat=require(_0x19e9('0x0'));var rimraf=require(_0x19e9('0x1'));var zipdir=require(_0x19e9('0x2'));var jsonpatch=require(_0x19e9('0x3'));var rp=require('request-promise');var moment=require(_0x19e9('0x4'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require('util');var path=require(_0x19e9('0x5'));var sox=require(_0x19e9('0x6'));var csv=require(_0x19e9('0x7'));var ejs=require(_0x19e9('0x8'));var fs=require('fs');var fs_extra=require(_0x19e9('0x9'));var _=require(_0x19e9('0xa'));var squel=require(_0x19e9('0xb'));var crypto=require(_0x19e9('0xc'));var jsforce=require(_0x19e9('0xd'));var deskjs=require(_0x19e9('0xe'));var toCsv=require(_0x19e9('0x7'));var querystring=require(_0x19e9('0xf'));var Papa=require('papaparse');var Redis=require(_0x19e9('0x10'));var authService=require(_0x19e9('0x11'));var qs=require(_0x19e9('0x12'));var as=require(_0x19e9('0x13'));var hardwareService=require(_0x19e9('0x14'));var logger=require(_0x19e9('0x15'))(_0x19e9('0x16'));var utils=require('../../config/utils');var config=require(_0x19e9('0x17'));var licenseUtil=require(_0x19e9('0x18'));var db=require(_0x19e9('0x19'))['db'];function respondWithStatusCode(_0x3e6bed,_0x13fd65){_0x13fd65=_0x13fd65||0xcc;return function(_0x20d30e){if(_0x20d30e){return _0x3e6bed[_0x19e9('0x1a')](_0x13fd65);}return _0x3e6bed[_0x19e9('0x1b')](_0x13fd65)[_0x19e9('0x1c')]();};}function respondWithResult(_0x17262a,_0x2cd013){_0x2cd013=_0x2cd013||0xc8;return function(_0x5581c3){if(_0x5581c3){return _0x17262a[_0x19e9('0x1b')](_0x2cd013)[_0x19e9('0x1d')](_0x5581c3);}};}function respondWithFilteredResult(_0x30dbe3,_0x37a1eb){return function(_0xac1d05){if(_0xac1d05){var _0x3fe831=typeof _0x37a1eb[_0x19e9('0x1e')]===_0x19e9('0x1f')&&typeof _0x37a1eb[_0x19e9('0x20')]===_0x19e9('0x1f');var _0x56b923=_0xac1d05['count'];var _0x54ff5f=_0x3fe831?0x0:_0x37a1eb[_0x19e9('0x1e')];var _0x4252bc=_0x3fe831?_0xac1d05[_0x19e9('0x21')]:_0x37a1eb[_0x19e9('0x1e')]+_0x37a1eb['limit'];var _0x41c3b8;if(_0x4252bc>=_0x56b923){_0x4252bc=_0x56b923;_0x41c3b8=0xc8;}else{_0x41c3b8=0xce;}_0x30dbe3[_0x19e9('0x1b')](_0x41c3b8);return _0x30dbe3[_0x19e9('0x22')](_0x19e9('0x23'),_0x54ff5f+'-'+_0x4252bc+'/'+_0x56b923)[_0x19e9('0x1d')](_0xac1d05);}return null;};}function patchUpdates(_0x1244f2){return function(_0x4dbdcb){try{jsonpatch[_0x19e9('0x24')](_0x4dbdcb,_0x1244f2,!![]);}catch(_0x53cb1a){return BPromise['reject'](_0x53cb1a);}return _0x4dbdcb['save']();};}function saveUpdates(_0x221d98,_0x276eb8){return function(_0x2a7d15){if(_0x2a7d15){return _0x2a7d15[_0x19e9('0x25')](_0x221d98)[_0x19e9('0x26')](function(_0x56def4){return _0x56def4;});}return null;};}function removeEntity(_0x43ae10,_0xd5955c){return function(_0x4151a4){if(_0x4151a4){return _0x4151a4['destroy']()[_0x19e9('0x26')](function(){_0x43ae10[_0x19e9('0x1b')](0xcc)[_0x19e9('0x1c')]();});}};}function handleEntityNotFound(_0x49ff5f,_0x6c474a){return function(_0x4c28eb){if(!_0x4c28eb){_0x49ff5f[_0x19e9('0x1a')](0x194);}return _0x4c28eb;};}function handleError(_0x3dc274,_0x3cfb5f){_0x3cfb5f=_0x3cfb5f||0x1f4;return function(_0x17282c){logger[_0x19e9('0x27')](_0x17282c['stack']);if(_0x17282c[_0x19e9('0x28')]){delete _0x17282c[_0x19e9('0x28')];}_0x3dc274['status'](_0x3cfb5f)['send'](_0x17282c);};}exports[_0x19e9('0x29')]=function(_0x2f063f,_0x34a81a){var _0x9fb4f6={},_0x36ea9c={},_0x7a2c33={'count':0x0,'rows':[]};var _0x16d96e=_[_0x19e9('0x2a')](db[_0x19e9('0x2b')][_0x19e9('0x2c')],function(_0x5fc225){return{'name':_0x5fc225[_0x19e9('0x2d')],'type':_0x5fc225['type'][_0x19e9('0x2e')]};});_0x36ea9c['model']=_[_0x19e9('0x2a')](_0x16d96e,'name');_0x36ea9c['query']=_['keys'](_0x2f063f[_0x19e9('0x2f')]);_0x36ea9c[_0x19e9('0x30')]=_[_0x19e9('0x31')](_0x36ea9c[_0x19e9('0x32')],_0x36ea9c[_0x19e9('0x2f')]);_0x9fb4f6['attributes']=_['intersection'](_0x36ea9c[_0x19e9('0x32')],qs['fields'](_0x2f063f['query'][_0x19e9('0x33')]));_0x9fb4f6[_0x19e9('0x34')]=_0x9fb4f6['attributes'][_0x19e9('0x35')]?_0x9fb4f6[_0x19e9('0x34')]:_0x36ea9c[_0x19e9('0x32')];if(!_0x2f063f[_0x19e9('0x2f')]['hasOwnProperty'](_0x19e9('0x36'))){_0x9fb4f6['limit']=qs['limit'](_0x2f063f['query'][_0x19e9('0x20')]);_0x9fb4f6[_0x19e9('0x1e')]=qs['offset'](_0x2f063f[_0x19e9('0x2f')]['offset']);}_0x9fb4f6[_0x19e9('0x37')]=qs['sort'](_0x2f063f[_0x19e9('0x2f')][_0x19e9('0x38')]);_0x9fb4f6[_0x19e9('0x39')]=qs[_0x19e9('0x30')](_[_0x19e9('0x3a')](_0x2f063f['query'],_0x36ea9c[_0x19e9('0x30')]),_0x16d96e);if(_0x2f063f[_0x19e9('0x2f')][_0x19e9('0x3b')]){_0x9fb4f6[_0x19e9('0x39')]=_[_0x19e9('0x3c')](_0x9fb4f6[_0x19e9('0x39')],{'$or':_['map'](_0x16d96e,function(_0x2a3da5){if(_0x2a3da5[_0x19e9('0x3d')]!=='VIRTUAL'){var _0x4ed38e={};_0x4ed38e[_0x2a3da5[_0x19e9('0x28')]]={'$like':'%'+_0x2f063f['query'][_0x19e9('0x3b')]+'%'};return _0x4ed38e;}})});}_0x9fb4f6=_[_0x19e9('0x3c')]({},_0x9fb4f6,_0x2f063f[_0x19e9('0x3e')]);var _0x1cdcd0={'where':_0x9fb4f6[_0x19e9('0x39')]};return db[_0x19e9('0x2b')]['count'](_0x1cdcd0)[_0x19e9('0x26')](function(_0x47d6fd){_0x7a2c33['count']=_0x47d6fd;if(_0x2f063f['query']['includeAll']){_0x9fb4f6[_0x19e9('0x3f')]=[{'all':!![]}];}return db[_0x19e9('0x2b')][_0x19e9('0x40')](_0x9fb4f6);})['then'](function(_0x29819d){_0x7a2c33[_0x19e9('0x41')]=_0x29819d;return _0x7a2c33;})[_0x19e9('0x26')](respondWithFilteredResult(_0x34a81a,_0x9fb4f6))[_0x19e9('0x42')](handleError(_0x34a81a,null));};exports[_0x19e9('0x43')]=function(_0xd1fee1,_0xbb463c){var _0x1bb7b0={'raw':!![],'where':{'id':_0xd1fee1['params']['id']}},_0x21ecd7={};_0x21ecd7[_0x19e9('0x32')]=_['keys'](db['ChatTransferReport']['rawAttributes']);_0x21ecd7[_0x19e9('0x2f')]=_[_0x19e9('0x44')](_0xd1fee1[_0x19e9('0x2f')]);_0x21ecd7[_0x19e9('0x30')]=_[_0x19e9('0x31')](_0x21ecd7['model'],_0x21ecd7[_0x19e9('0x2f')]);_0x1bb7b0[_0x19e9('0x34')]=_['intersection'](_0x21ecd7['model'],qs['fields'](_0xd1fee1[_0x19e9('0x2f')][_0x19e9('0x33')]));_0x1bb7b0[_0x19e9('0x34')]=_0x1bb7b0['attributes'][_0x19e9('0x35')]?_0x1bb7b0['attributes']:_0x21ecd7['model'];if(_0xd1fee1['query']['includeAll']){_0x1bb7b0[_0x19e9('0x3f')]=[{'all':!![]}];}_0x1bb7b0=_[_0x19e9('0x3c')]({},_0x1bb7b0,_0xd1fee1[_0x19e9('0x3e')]);return db[_0x19e9('0x2b')][_0x19e9('0x45')](_0x1bb7b0)['then'](handleEntityNotFound(_0xbb463c,null))[_0x19e9('0x26')](respondWithResult(_0xbb463c,null))[_0x19e9('0x42')](handleError(_0xbb463c,null));};exports[_0x19e9('0x46')]=function(_0x553398,_0x32404a){return db[_0x19e9('0x2b')]['create'](_0x553398[_0x19e9('0x47')],{})[_0x19e9('0x26')](respondWithResult(_0x32404a,0xc9))['catch'](handleError(_0x32404a,null));};exports[_0x19e9('0x25')]=function(_0x55bf66,_0x274828){if(_0x55bf66['body']['id']){delete _0x55bf66[_0x19e9('0x47')]['id'];}return db[_0x19e9('0x2b')][_0x19e9('0x45')]({'where':{'id':_0x55bf66[_0x19e9('0x48')]['id']}})['then'](handleEntityNotFound(_0x274828,null))[_0x19e9('0x26')](saveUpdates(_0x55bf66[_0x19e9('0x47')],null))[_0x19e9('0x26')](respondWithResult(_0x274828,null))[_0x19e9('0x42')](handleError(_0x274828,null));};exports[_0x19e9('0x49')]=function(_0x39f8c6,_0x38a92e){return db[_0x19e9('0x2b')][_0x19e9('0x45')]({'where':{'id':_0x39f8c6[_0x19e9('0x48')]['id']}})['then'](handleEntityNotFound(_0x38a92e,null))['then'](removeEntity(_0x38a92e,null))['catch'](handleError(_0x38a92e,null));};exports[_0x19e9('0x4a')]=function(_0x6a2cf9,_0x39ffb6){return db[_0x19e9('0x2b')][_0x19e9('0x4a')]()[_0x19e9('0x26')](respondWithResult(_0x39ffb6,null))[_0x19e9('0x42')](handleError(_0x39ffb6,null));};
\ No newline at end of file
diff --git a/server/api/chatTransferReport/chatTransferReport.model.js b/server/api/chatTransferReport/chatTransferReport.model.js
index fc088f6..dc81ee7 100644
--- a/server/api/chatTransferReport/chatTransferReport.model.js
+++ b/server/api/chatTransferReport/chatTransferReport.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x6de9=['lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','report_chat_transfer','uniqueid'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x6de9,0x8f));var _0x96de=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6de9[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x96de('0x0'));var util=require('util');var logger=require(_0x96de('0x1'))(_0x96de('0x2'));var moment=require(_0x96de('0x3'));var BPromise=require(_0x96de('0x4'));var rp=require(_0x96de('0x5'));var fs=require('fs');var path=require(_0x96de('0x6'));var rimraf=require(_0x96de('0x7'));var config=require(_0x96de('0x8'));var attributes=require('./chatTransferReport.attributes');module[_0x96de('0x9')]=function(_0x3c1232,_0x4c4def){return _0x3c1232[_0x96de('0xa')]('ChatTransferReport',attributes,{'tableName':_0x96de('0xb'),'paranoid':![],'indexes':[{'name':_0x96de('0xc'),'fields':[_0x96de('0xc')]}],'timestamps':!![]});};
\ No newline at end of file
+var _0x3418=['../../config/environment','ChatTransferReport','report_chat_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x499353,_0x271f92){var _0x557d82=function(_0x2bedc4){while(--_0x2bedc4){_0x499353['push'](_0x499353['shift']());}};_0x557d82(++_0x271f92);}(_0x3418,0x184));var _0x8341=function(_0x37495c,_0x11f0c1){_0x37495c=_0x37495c-0x0;var _0x77a7c9=_0x3418[_0x37495c];return _0x77a7c9;};'use strict';var _=require(_0x8341('0x0'));var util=require(_0x8341('0x1'));var logger=require(_0x8341('0x2'))(_0x8341('0x3'));var moment=require(_0x8341('0x4'));var BPromise=require(_0x8341('0x5'));var rp=require(_0x8341('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8341('0x7'));var config=require(_0x8341('0x8'));var attributes=require('./chatTransferReport.attributes');module['exports']=function(_0x2e1b7f,_0x505fdf){return _0x2e1b7f['define'](_0x8341('0x9'),attributes,{'tableName':_0x8341('0xa'),'paranoid':![],'indexes':[{'name':_0x8341('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/chatTransferReport/chatTransferReport.rpc.js b/server/api/chatTransferReport/chatTransferReport.rpc.js
index 5202fdc..0f9475a 100644
--- a/server/api/chatTransferReport/chatTransferReport.rpc.js
+++ b/server/api/chatTransferReport/chatTransferReport.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x7eab=['../../config/logger','rpc','../../config/environment','http','request','then','info','ChatTransferReport,\x20%s,\x20%s','ChatTransferReport,\x20%s,\x20%s,\x20%s','error','message','request\x20sent','result','catch','lodash','util','moment','bluebird','ioredis'];(function(_0x3e9489,_0x1de6d7){var _0x14df02=function(_0x5d438c){while(--_0x5d438c){_0x3e9489['push'](_0x3e9489['shift']());}};_0x14df02(++_0x1de6d7);}(_0x7eab,0x1c3));var _0xb7ea=function(_0x505715,_0x98b205){_0x505715=_0x505715-0x0;var _0x35e205=_0x7eab[_0x505715];return _0x35e205;};'use strict';var _=require(_0xb7ea('0x0'));var util=require(_0xb7ea('0x1'));var moment=require(_0xb7ea('0x2'));var BPromise=require(_0xb7ea('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xb7ea('0x4'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0xb7ea('0x5'))(_0xb7ea('0x6'));var config=require(_0xb7ea('0x7'));var jayson=require('jayson/promise');var client=jayson['client'][_0xb7ea('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x57432d,_0x4d9667,_0x3bef83){return new BPromise(function(_0x566952,_0x3724fc){return client[_0xb7ea('0x9')](_0x57432d,_0x3bef83)[_0xb7ea('0xa')](function(_0xdf379d){logger[_0xb7ea('0xb')](_0xb7ea('0xc'),_0x4d9667,'request\x20sent');logger['debug'](_0xb7ea('0xd'),_0x4d9667,'request\x20sent',JSON['stringify'](_0xdf379d));if(_0xdf379d['error']){if(_0xdf379d[_0xb7ea('0xe')]['code']===0x1f4){logger[_0xb7ea('0xe')]('ChatTransferReport,\x20%s,\x20%s',_0x4d9667,_0xdf379d['error']['message']);return _0x3724fc(_0xdf379d[_0xb7ea('0xe')][_0xb7ea('0xf')]);}logger[_0xb7ea('0xe')](_0xb7ea('0xc'),_0x4d9667,_0xdf379d[_0xb7ea('0xe')][_0xb7ea('0xf')]);return _0x566952(_0xdf379d['error'][_0xb7ea('0xf')]);}else{logger['info'](_0xb7ea('0xc'),_0x4d9667,_0xb7ea('0x10'));_0x566952(_0xdf379d[_0xb7ea('0x11')][_0xb7ea('0xf')]);}})[_0xb7ea('0x12')](function(_0x23b123){logger[_0xb7ea('0xe')](_0xb7ea('0xc'),_0x4d9667,_0x23b123);_0x3724fc(_0x23b123);});});}
\ No newline at end of file
+var _0xf5a6=['../../config/logger','jayson/promise','client','then','info','ChatTransferReport,\x20%s,\x20%s','request\x20sent','debug','ChatTransferReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util','moment','randomstring','ioredis','../../mysqldb','../../config/utils'];(function(_0x2f88b2,_0x26c631){var _0x2f4586=function(_0x54c99c){while(--_0x54c99c){_0x2f88b2['push'](_0x2f88b2['shift']());}};_0x2f4586(++_0x26c631);}(_0xf5a6,0x7d));var _0x6f5a=function(_0x458772,_0x4a2afd){_0x458772=_0x458772-0x0;var _0x1daf74=_0xf5a6[_0x458772];return _0x1daf74;};'use strict';var _=require(_0x6f5a('0x0'));var util=require(_0x6f5a('0x1'));var moment=require(_0x6f5a('0x2'));var BPromise=require('bluebird');var rs=require(_0x6f5a('0x3'));var fs=require('fs');var Redis=require(_0x6f5a('0x4'));var db=require(_0x6f5a('0x5'))['db'];var utils=require(_0x6f5a('0x6'));var logger=require(_0x6f5a('0x7'))('rpc');var config=require('../../config/environment');var jayson=require(_0x6f5a('0x8'));var client=jayson[_0x6f5a('0x9')]['http']({'port':0x232a});function respondWithRpcPromise(_0x301c5b,_0x316411,_0x12e3c1){return new BPromise(function(_0x5c7e39,_0x544664){return client['request'](_0x301c5b,_0x12e3c1)[_0x6f5a('0xa')](function(_0x1c213c){logger[_0x6f5a('0xb')](_0x6f5a('0xc'),_0x316411,_0x6f5a('0xd'));logger[_0x6f5a('0xe')](_0x6f5a('0xf'),_0x316411,_0x6f5a('0xd'),JSON[_0x6f5a('0x10')](_0x1c213c));if(_0x1c213c[_0x6f5a('0x11')]){if(_0x1c213c['error'][_0x6f5a('0x12')]===0x1f4){logger[_0x6f5a('0x11')](_0x6f5a('0xc'),_0x316411,_0x1c213c[_0x6f5a('0x11')][_0x6f5a('0x13')]);return _0x544664(_0x1c213c[_0x6f5a('0x11')][_0x6f5a('0x13')]);}logger[_0x6f5a('0x11')](_0x6f5a('0xc'),_0x316411,_0x1c213c['error'][_0x6f5a('0x13')]);return _0x5c7e39(_0x1c213c['error']['message']);}else{logger[_0x6f5a('0xb')](_0x6f5a('0xc'),_0x316411,_0x6f5a('0xd'));_0x5c7e39(_0x1c213c[_0x6f5a('0x14')][_0x6f5a('0x13')]);}})[_0x6f5a('0x15')](function(_0x1abbf8){logger['error'](_0x6f5a('0xc'),_0x316411,_0x1abbf8);_0x544664(_0x1abbf8);});});}
\ No newline at end of file
diff --git a/server/api/chatTransferReport/index.js b/server/api/chatTransferReport/index.js
index 8512b26..2bdc94b 100644
--- a/server/api/chatTransferReport/index.js
+++ b/server/api/chatTransferReport/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x575f=['destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatTransferReport.controller','index','get','/describe','describe','isAuthenticated','show','post','create','put','update','delete','/:id'];(function(_0x546e6a,_0x1961a1){var _0xc821d4=function(_0x2f152d){while(--_0x2f152d){_0x546e6a['push'](_0x546e6a['shift']());}};_0xc821d4(++_0x1961a1);}(_0x575f,0xe3));var _0xf575=function(_0x41681a,_0xc1735e){_0x41681a=_0x41681a-0x0;var _0x43ec30=_0x575f[_0x41681a];return _0x43ec30;};'use strict';var multer=require(_0xf575('0x0'));var util=require(_0xf575('0x1'));var path=require(_0xf575('0x2'));var timeout=require(_0xf575('0x3'));var express=require(_0xf575('0x4'));var router=express[_0xf575('0x5')]();var fs_extra=require(_0xf575('0x6'));var auth=require(_0xf575('0x7'));var interaction=require(_0xf575('0x8'));var config=require(_0xf575('0x9'));var controller=require(_0xf575('0xa'));router['get']('/',auth['isAuthenticated'](),controller[_0xf575('0xb')]);router[_0xf575('0xc')](_0xf575('0xd'),auth['isAuthenticated'](),controller[_0xf575('0xe')]);router[_0xf575('0xc')]('/:id',auth[_0xf575('0xf')](),controller[_0xf575('0x10')]);router[_0xf575('0x11')]('/',auth[_0xf575('0xf')](),controller[_0xf575('0x12')]);router[_0xf575('0x13')]('/:id',auth[_0xf575('0xf')](),controller[_0xf575('0x14')]);router[_0xf575('0x15')](_0xf575('0x16'),auth[_0xf575('0xf')](),controller[_0xf575('0x17')]);module[_0xf575('0x18')]=router;
\ No newline at end of file
+var _0x10c1=['post','isAuthenticated','create','put','update','delete','/:id','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./chatTransferReport.controller','index','/describe','describe','get','show'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x10c1,0x152));var _0x110c=function(_0x55ef51,_0x208287){_0x55ef51=_0x55ef51-0x0;var _0x46394c=_0x10c1[_0x55ef51];return _0x46394c;};'use strict';var multer=require(_0x110c('0x0'));var util=require(_0x110c('0x1'));var path=require(_0x110c('0x2'));var timeout=require(_0x110c('0x3'));var express=require(_0x110c('0x4'));var router=express[_0x110c('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x110c('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x110c('0x7'));var controller=require(_0x110c('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x110c('0x9')]);router['get'](_0x110c('0xa'),auth['isAuthenticated'](),controller[_0x110c('0xb')]);router[_0x110c('0xc')]('/:id',auth['isAuthenticated'](),controller[_0x110c('0xd')]);router[_0x110c('0xe')]('/',auth[_0x110c('0xf')](),controller[_0x110c('0x10')]);router[_0x110c('0x11')]('/:id',auth[_0x110c('0xf')](),controller[_0x110c('0x12')]);router[_0x110c('0x13')](_0x110c('0x14'),auth[_0x110c('0xf')](),controller[_0x110c('0x15')]);module['exports']=router;
\ No newline at end of file
diff --git a/server/api/chatWebsite/chatWebsite.attributes.js b/server/api/chatWebsite/chatWebsite.attributes.js
index 4b8e8d8..6c1689e 100644
--- a/server/api/chatWebsite/chatWebsite.attributes.js
+++ b/server/api/chatWebsite/chatWebsite.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xf3cd=['rounded','squared','We\x20are\x20here!','Chat','Send','INTEGER','TEXT','Do\x20you\x20want\x20to\x20close\x20the\x20interaction?','Form\x20properly\x20submitted','Form\x20submission\x20error','Note','Type\x20a\x20message','Thanks\x20you\x20for\x20your\x20time!','Skip','Feedback','thumb','stringify','input','name','text','getDataValue','onlineForm','parse','textarea','Leave\x20your\x20comments','offlineForm','generate','All\x20of\x20our\x20agents\x20are\x20busy\x20at\x20this\x20time.\x20Your\x20chat\x20is\x20very\x20important\x20to\x20us.','Please\x20hold\x20and\x20we\x20will\x20answer\x20your\x20request\x20as\x20soon\x20as\x20possible.','New\x20offline\x20message\x20from\x20websiteName','Your\x20request\x20has\x20not\x20been\x20processed.','website_alias','bottom_right','CHAT','alternate','System','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','Meeting\x20generated\x20for\x20interaction\x20#{{interaction.id}}\x20by\x20{{agent.name}}','sequelize','randomstring','exports','STRING','address','email','Agent','#011F6A','#ffffff','BOOLEAN','ENUM'];(function(_0x1ec088,_0x2947f9){var _0x255579=function(_0x1fc0cf){while(--_0x1fc0cf){_0x1ec088['push'](_0x1ec088['shift']());}};_0x255579(++_0x2947f9);}(_0xf3cd,0xfe));var _0xdf3c=function(_0x3a9635,_0x1ab817){_0x3a9635=_0x3a9635-0x0;var _0x10d08c=_0xf3cd[_0x3a9635];return _0x10d08c;};'use strict';var Sequelize=require(_0xdf3c('0x0'));var rs=require(_0xdf3c('0x1'));module[_0xdf3c('0x2')]={'name':{'type':Sequelize[_0xdf3c('0x3')],'allowNull':![]},'address':{'type':Sequelize[_0xdf3c('0x3')],'allowNull':![],'unique':_0xdf3c('0x4')},'description':{'type':Sequelize['STRING']},'mapKey':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x5')},'mapKeyOffline':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':'email'},'key':{'type':Sequelize[_0xdf3c('0x3')],'allowNull':![]},'agentAlias':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x6')},'customerAlias':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':'Me'},'color':{'type':Sequelize[_0xdf3c('0x3')],'allowNull':![],'defaultValue':_0xdf3c('0x7'),'validate':{'notEmpty':!![]}},'color_button':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xdf3c('0x7'),'validate':{'notEmpty':!![]}},'textColor':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'#ffffff','validate':{'notEmpty':!![]}},'textButtonColor':{'type':Sequelize[_0xdf3c('0x3')],'allowNull':![],'defaultValue':_0xdf3c('0x8'),'validate':{'notEmpty':!![]}},'fontSize':{'type':Sequelize['INTEGER'],'defaultValue':0xf},'remote':{'type':Sequelize[_0xdf3c('0x3')]},'animation':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':!![]},'header_shape':{'type':Sequelize[_0xdf3c('0xa')](_0xdf3c('0xb'),_0xdf3c('0xc')),'defaultValue':_0xdf3c('0xb')},'header_online':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0xd')},'start_chat_button':{'type':Sequelize['STRING'],'defaultValue':_0xdf3c('0xe')},'offline_chat_button':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0xf')},'header_offline':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':'Contact\x20us'},'download_transcript':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':!![]},'timeout':{'type':Sequelize[_0xdf3c('0x10')],'defaultValue':0x0},'whiteLabel':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':'Powered\x20by\x20xCALLY'},'defaultWhiteLabel':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':!![]},'sitepic':{'type':Sequelize[_0xdf3c('0x11')]},'closingQuestion':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x12')},'formSubmitSuccessMessage':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x13')},'formSubmitFailureMessage':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x14')},'noteTitle':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x15')},'placeholderMessage':{'type':Sequelize['STRING'],'defaultValue':_0xdf3c('0x16')},'closingMessage':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x17')},'closingMessageButton':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0xf')},'skipMessageButton':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x18')},'conditionAgreement':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':![]},'enableRating':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':![]},'enableFeedback':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':![]},'enableSendButton':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':![]},'feedbackTitle':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x19')},'ratingType':{'type':Sequelize['ENUM']('star',_0xdf3c('0x1a')),'defaultValue':'star'},'ratingStarsNumber':{'type':Sequelize[_0xdf3c('0x10')],'defaultValue':0x5},'onlineForm':{'type':Sequelize[_0xdf3c('0x11')],'defaultValue':function(){return JSON[_0xdf3c('0x1b')]({'items':[{'type':_0xdf3c('0x1c'),'variable':null,'config':{'placeholder':_0xdf3c('0x1d'),'type':_0xdf3c('0x1e'),'required':!![]},'props':{'title':'name','helpText':''}},{'type':_0xdf3c('0x1c'),'props':{'title':_0xdf3c('0x5'),'helpText':''},'config':{'required':!![],'placeholder':_0xdf3c('0x5'),'type':_0xdf3c('0x5')},'variable':null}],'fromKey':0x1});},'get':function(){return this[_0xdf3c('0x1f')](_0xdf3c('0x20'))?JSON[_0xdf3c('0x21')](this[_0xdf3c('0x1f')](_0xdf3c('0x20'))):{};},'set':function(_0x1adee4){return this['setDataValue'](_0xdf3c('0x20'),JSON[_0xdf3c('0x1b')](_0x1adee4));}},'offlineForm':{'type':Sequelize['TEXT'],'defaultValue':function(){return JSON[_0xdf3c('0x1b')]({'items':[{'type':'input','props':{'title':'email','helpText':''},'config':{'required':!![],'placeholder':'email','type':_0xdf3c('0x5')},'variable':null},{'type':_0xdf3c('0x22'),'config':{'placeholder':'Comments'},'props':{'title':'Comments','helpText':_0xdf3c('0x23')}}],'fromKey':0x0});},'get':function(){return this[_0xdf3c('0x1f')](_0xdf3c('0x24'))?JSON[_0xdf3c('0x21')](this['getDataValue'](_0xdf3c('0x24'))):{};},'set':function(_0x2a2d94){return this['setDataValue']('offlineForm',JSON[_0xdf3c('0x1b')](_0x2a2d94));}},'token':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':function(){return rs[_0xdf3c('0x25')]();}},'autoclose':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'enableCustomerWriting':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':![]},'forwardTranscript':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':![]},'forwardTranscriptMessage':{'type':Sequelize[_0xdf3c('0x3')]},'forwardOffline':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':![]},'forwardOfflineAddress':{'type':Sequelize['STRING']},'waitingTitle':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x26')},'waitingMessage':{'type':Sequelize['STRING'],'defaultValue':_0xdf3c('0x27')},'offlineMessageSubject':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x28')},'offlineMessageBody':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':'You\x20received\x20a\x20new\x20offline\x20message\x20from\x20websiteName.\x20Here\x20you\x20can\x20find\x20the\x20details\x20of\x20the\x20request:'},'enableUnmanagedNote':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':!![]},'unmanagedMessage':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x29')},'skipUnmanaged':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':'Skip'},'sendUnmanaged':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0xf')},'enableCustomerAttachment':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'enableCustomerCheckmarks':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentAvatar':{'type':Sequelize[_0xdf3c('0x11')]},'showAgentAvatar':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'timezone':{'type':Sequelize[_0xdf3c('0x3')]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return'Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}';}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':![]},'hideWhenOffline':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':![]},'agentIdentifier':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x2a')},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'alignment':{'type':Sequelize['STRING'],'defaultValue':_0xdf3c('0x2b')},'verticalAlignment':{'type':Sequelize['INTEGER'],'defaultValue':0x1e},'labelText':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x2c')},'messagesAlignment':{'type':Sequelize[_0xdf3c('0x3')],'defaultValue':_0xdf3c('0x2d')},'defaultTitle':{'type':Sequelize[_0xdf3c('0x3')]},'customerAvatar':{'type':Sequelize[_0xdf3c('0x11')]},'showCustomerAvatar':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':![]},'messageFontSize':{'type':Sequelize[_0xdf3c('0x10')],'defaultValue':0xc},'backgroundColor':{'type':Sequelize[_0xdf3c('0x3')],'allowNull':![],'defaultValue':'#fafafa','validate':{'notEmpty':!![]}},'queueTransfer':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xdf3c('0x10')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'systemAlias':{'type':Sequelize['STRING'],'defaultValue':_0xdf3c('0x2e')},'systemAvatar':{'type':Sequelize['TEXT']},'mandatoryDispositionPauseId':{'type':Sequelize[_0xdf3c('0x10')],'comment':_0xdf3c('0x2f')},'mandatoryDisposition':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':![],'comment':_0xdf3c('0x30'),'set':function(_0x3098cb){if(!_0x3098cb)this[_0xdf3c('0x31')](_0xdf3c('0x32'),null);this[_0xdf3c('0x31')](_0xdf3c('0x33'),_0x3098cb);}},'vidaooEscalation':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':![]},'vidaooApiKey':{'type':Sequelize[_0xdf3c('0x3')]},'vidaooTopic':{'type':Sequelize[_0xdf3c('0x3')],'allowNull':![],'defaultValue':'Generated\x20by\x20XCALLY\x20Motion'},'vidaooNote':{'type':Sequelize['STRING'],'defaultValue':function(){return _0xdf3c('0x34');}},'vidaooMetadata':{'type':Sequelize['TEXT'],'defaultValue':null},'openNewInteraction':{'type':Sequelize[_0xdf3c('0x9')],'defaultValue':![],'allowNull':!![]},'subjectOffline':{'type':Sequelize[_0xdf3c('0x11')]}};
\ No newline at end of file
+var _0xe14d=['thumb','stringify','input','name','text','getDataValue','onlineForm','parse','setDataValue','textarea','Comments','offlineForm','All\x20of\x20our\x20agents\x20are\x20busy\x20at\x20this\x20time.\x20Your\x20chat\x20is\x20very\x20important\x20to\x20us.','Please\x20hold\x20and\x20we\x20will\x20answer\x20your\x20request\x20as\x20soon\x20as\x20possible.','New\x20offline\x20message\x20from\x20websiteName','Your\x20request\x20has\x20not\x20been\x20processed.','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}','website_alias','bottom_right','alternate','#fafafa','System','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','mandatoryDispositionPauseId','Generated\x20by\x20XCALLY\x20Motion','sequelize','randomstring','exports','STRING','address','email','Agent','#011F6A','#ffffff','INTEGER','BOOLEAN','ENUM','rounded','squared','We\x20are\x20here!','Chat','Send','Contact\x20us','TEXT','Form\x20properly\x20submitted','Form\x20submission\x20error','Note','Type\x20a\x20message','Thanks\x20you\x20for\x20your\x20time!','Skip','star'];(function(_0x9ff7ba,_0x424f7b){var _0x47d820=function(_0x183b44){while(--_0x183b44){_0x9ff7ba['push'](_0x9ff7ba['shift']());}};_0x47d820(++_0x424f7b);}(_0xe14d,0x1ee));var _0xde14=function(_0x54d4a8,_0x585a59){_0x54d4a8=_0x54d4a8-0x0;var _0x3b321b=_0xe14d[_0x54d4a8];return _0x3b321b;};'use strict';var Sequelize=require(_0xde14('0x0'));var rs=require(_0xde14('0x1'));module[_0xde14('0x2')]={'name':{'type':Sequelize[_0xde14('0x3')],'allowNull':![]},'address':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xde14('0x4')},'description':{'type':Sequelize[_0xde14('0x3')]},'mapKey':{'type':Sequelize['STRING'],'defaultValue':_0xde14('0x5')},'mapKeyOffline':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x5')},'key':{'type':Sequelize[_0xde14('0x3')],'allowNull':![]},'agentAlias':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x6')},'customerAlias':{'type':Sequelize['STRING'],'defaultValue':'Me'},'color':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xde14('0x7'),'validate':{'notEmpty':!![]}},'color_button':{'type':Sequelize[_0xde14('0x3')],'allowNull':![],'defaultValue':_0xde14('0x7'),'validate':{'notEmpty':!![]}},'textColor':{'type':Sequelize[_0xde14('0x3')],'allowNull':![],'defaultValue':_0xde14('0x8'),'validate':{'notEmpty':!![]}},'textButtonColor':{'type':Sequelize[_0xde14('0x3')],'allowNull':![],'defaultValue':_0xde14('0x8'),'validate':{'notEmpty':!![]}},'fontSize':{'type':Sequelize[_0xde14('0x9')],'defaultValue':0xf},'remote':{'type':Sequelize['STRING']},'animation':{'type':Sequelize[_0xde14('0xa')],'defaultValue':!![]},'header_shape':{'type':Sequelize[_0xde14('0xb')](_0xde14('0xc'),_0xde14('0xd')),'defaultValue':_0xde14('0xc')},'header_online':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0xe')},'start_chat_button':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0xf')},'offline_chat_button':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x10')},'header_offline':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x11')},'download_transcript':{'type':Sequelize[_0xde14('0xa')],'defaultValue':!![]},'timeout':{'type':Sequelize[_0xde14('0x9')],'defaultValue':0x0},'whiteLabel':{'type':Sequelize['STRING'],'defaultValue':'Powered\x20by\x20xCALLY'},'defaultWhiteLabel':{'type':Sequelize[_0xde14('0xa')],'defaultValue':!![]},'sitepic':{'type':Sequelize[_0xde14('0x12')]},'closingQuestion':{'type':Sequelize[_0xde14('0x3')],'defaultValue':'Do\x20you\x20want\x20to\x20close\x20the\x20interaction?'},'formSubmitSuccessMessage':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x13')},'formSubmitFailureMessage':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x14')},'noteTitle':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x15')},'placeholderMessage':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x16')},'closingMessage':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x17')},'closingMessageButton':{'type':Sequelize['STRING'],'defaultValue':_0xde14('0x10')},'skipMessageButton':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x18')},'conditionAgreement':{'type':Sequelize[_0xde14('0xa')],'defaultValue':![]},'enableRating':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'enableFeedback':{'type':Sequelize[_0xde14('0xa')],'defaultValue':![]},'enableSendButton':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'feedbackTitle':{'type':Sequelize[_0xde14('0x3')],'defaultValue':'Feedback'},'ratingType':{'type':Sequelize[_0xde14('0xb')](_0xde14('0x19'),_0xde14('0x1a')),'defaultValue':_0xde14('0x19')},'ratingStarsNumber':{'type':Sequelize[_0xde14('0x9')],'defaultValue':0x5},'onlineForm':{'type':Sequelize[_0xde14('0x12')],'defaultValue':function(){return JSON[_0xde14('0x1b')]({'items':[{'type':_0xde14('0x1c'),'variable':null,'config':{'placeholder':_0xde14('0x1d'),'type':_0xde14('0x1e'),'required':!![]},'props':{'title':_0xde14('0x1d'),'helpText':''}},{'type':_0xde14('0x1c'),'props':{'title':_0xde14('0x5'),'helpText':''},'config':{'required':!![],'placeholder':'email','type':_0xde14('0x5')},'variable':null}],'fromKey':0x1});},'get':function(){return this[_0xde14('0x1f')](_0xde14('0x20'))?JSON[_0xde14('0x21')](this[_0xde14('0x1f')](_0xde14('0x20'))):{};},'set':function(_0x310d75){return this[_0xde14('0x22')](_0xde14('0x20'),JSON[_0xde14('0x1b')](_0x310d75));}},'offlineForm':{'type':Sequelize['TEXT'],'defaultValue':function(){return JSON[_0xde14('0x1b')]({'items':[{'type':_0xde14('0x1c'),'props':{'title':_0xde14('0x5'),'helpText':''},'config':{'required':!![],'placeholder':_0xde14('0x5'),'type':'email'},'variable':null},{'type':_0xde14('0x23'),'config':{'placeholder':_0xde14('0x24')},'props':{'title':_0xde14('0x24'),'helpText':'Leave\x20your\x20comments'}}],'fromKey':0x0});},'get':function(){return this[_0xde14('0x1f')]('offlineForm')?JSON[_0xde14('0x21')](this[_0xde14('0x1f')](_0xde14('0x25'))):{};},'set':function(_0x1e7906){return this[_0xde14('0x22')](_0xde14('0x25'),JSON[_0xde14('0x1b')](_0x1e7906));}},'token':{'type':Sequelize[_0xde14('0x3')],'defaultValue':function(){return rs['generate']();}},'autoclose':{'type':Sequelize[_0xde14('0xa')],'defaultValue':!![]},'enableCustomerWriting':{'type':Sequelize[_0xde14('0xa')],'defaultValue':![]},'forwardTranscript':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'forwardTranscriptMessage':{'type':Sequelize[_0xde14('0x3')]},'forwardOffline':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'forwardOfflineAddress':{'type':Sequelize[_0xde14('0x3')]},'waitingTitle':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x26')},'waitingMessage':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x27')},'offlineMessageSubject':{'type':Sequelize['STRING'],'defaultValue':_0xde14('0x28')},'offlineMessageBody':{'type':Sequelize[_0xde14('0x3')],'defaultValue':'You\x20received\x20a\x20new\x20offline\x20message\x20from\x20websiteName.\x20Here\x20you\x20can\x20find\x20the\x20details\x20of\x20the\x20request:'},'enableUnmanagedNote':{'type':Sequelize[_0xde14('0xa')],'defaultValue':!![]},'unmanagedMessage':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x29')},'skipUnmanaged':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x18')},'sendUnmanaged':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x10')},'enableCustomerAttachment':{'type':Sequelize[_0xde14('0xa')],'defaultValue':![]},'enableCustomerCheckmarks':{'type':Sequelize[_0xde14('0xa')],'defaultValue':![]},'agentAvatar':{'type':Sequelize['TEXT']},'showAgentAvatar':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'timezone':{'type':Sequelize[_0xde14('0x3')]},'notificationTemplate':{'type':Sequelize[_0xde14('0x12')],'defaultValue':function(){return _0xde14('0x2a');}},'notificationSound':{'type':Sequelize[_0xde14('0xa')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xde14('0xa')],'defaultValue':![]},'hideWhenOffline':{'type':Sequelize[_0xde14('0xa')],'defaultValue':![]},'agentIdentifier':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x2b')},'waitForTheAssignedAgent':{'type':Sequelize[_0xde14('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'alignment':{'type':Sequelize['STRING'],'defaultValue':_0xde14('0x2c')},'verticalAlignment':{'type':Sequelize['INTEGER'],'defaultValue':0x1e},'labelText':{'type':Sequelize['STRING'],'defaultValue':'CHAT'},'messagesAlignment':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x2d')},'defaultTitle':{'type':Sequelize[_0xde14('0x3')]},'customerAvatar':{'type':Sequelize[_0xde14('0x12')]},'showCustomerAvatar':{'type':Sequelize[_0xde14('0xa')],'defaultValue':![]},'messageFontSize':{'type':Sequelize[_0xde14('0x9')],'defaultValue':0xc},'backgroundColor':{'type':Sequelize[_0xde14('0x3')],'allowNull':![],'defaultValue':_0xde14('0x2e'),'validate':{'notEmpty':!![]}},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xde14('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xde14('0xa')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xde14('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'systemAlias':{'type':Sequelize[_0xde14('0x3')],'defaultValue':_0xde14('0x2f')},'systemAvatar':{'type':Sequelize[_0xde14('0x12')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0xde14('0x9')],'comment':_0xde14('0x30')},'mandatoryDisposition':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'comment':_0xde14('0x31'),'set':function(_0xb6b2ee){if(!_0xb6b2ee)this[_0xde14('0x22')](_0xde14('0x32'),null);this['setDataValue']('mandatoryDisposition',_0xb6b2ee);}},'vidaooEscalation':{'type':Sequelize[_0xde14('0xa')],'defaultValue':![]},'vidaooApiKey':{'type':Sequelize[_0xde14('0x3')]},'vidaooTopic':{'type':Sequelize[_0xde14('0x3')],'allowNull':![],'defaultValue':_0xde14('0x33')},'vidaooNote':{'type':Sequelize[_0xde14('0x3')],'defaultValue':function(){return'Meeting\x20generated\x20for\x20interaction\x20#{{interaction.id}}\x20by\x20{{agent.name}}';}},'vidaooMetadata':{'type':Sequelize[_0xde14('0x12')],'defaultValue':null},'openNewInteraction':{'type':Sequelize[_0xde14('0xa')],'defaultValue':![],'allowNull':!![]},'subjectOffline':{'type':Sequelize[_0xde14('0x12')]}};
\ No newline at end of file
diff --git a/server/api/chatWebsite/chatWebsite.controller.js b/server/api/chatWebsite/chatWebsite.controller.js
index e19e437..33d21e2 100644
--- a/server/api/chatWebsite/chatWebsite.controller.js
+++ b/server/api/chatWebsite/chatWebsite.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xf884=['device','vendor','%s\x20%s\x20%s','stringify','threadId','ChatInteraction','interaction','messageId','created','autoclose','push','close','unmanaged','*,*,*,*','ChatMessage','AttachmentId','UserId','User','unshift','agent','waitForTheAssignedAgent','forcedOwnership','Start','startRouting','EventManager','updatedAt','mapKeyOffline','mapKeyOffline\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','includes','MailAccount','findOrCreate','readFileSync','utf8','render','toPairs','offlineMessageBody','ChatOfflineMessage','originalname','mimetype','server','files','attachments','offline-chat','basename','openNewInteraction','sequelize','Attachment','bulkCreate','Smtp','CloudProvider','forwardOffline','forwardOfflineAddress','getSmtpOptions','SendMail','sendMail','format','\x22%s\x22\x20<%s>','email','offlineMessageSubject','MailAccountId','subjectOffline','toPairsIn','firstName','NotifyMailAccount','remove','Could\x20not\x20remove\x20attachment\x20file','addInteraction','omit','getInteractions','Contact','Owner','fullname','Tag','Tags','color','tag','Command','getSnippet','timezone','iftime\x20%s','interval','indexOf','true','[%s][INTERVAL][%s]\x20%s\x20%s\x20(%s)','ONLINE','OFFLINE','No\x20timezone','Interval','Intervals','getProactiveActions','License','increment','chatLicenseExceeded','all','some','server/files/chat/iframe.ejs','x-real-ip','connection','remoteAddress','virtual','alignment','labelText','textColor','textButtonColor','color_button','backgroundColor','IntervalId','addApplications','ISOLATION_LEVELS','READ_COMMITTED','ChatApplication','findAndCountAll','finally','getApplications','addProactiveActions','chatProactiveAction','getFields','false','offlineForm','items','Attachments','addAgents','spread','removeAgents','userChatWebsite:remove','emit','getAgents','bluebird','mustache','util','path','ejs','fs-extra','querystring','ioredis','../../components/parsers/qs','../../config/logger','api','../../mysqldb','redis','defaults','localhost','register','html-to-text','jayson/promise','http','client','request','then','info','debug','ChatWebsite,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','ChatWebsite,\x20%s,\x20%s','message','result','catch','sendStatus','status','end','json','limit','count','offset','set','update','destroy','get','ChatWebsites','UserProfileResource','name','send','index','Pause','mandatoryDispositionPause','map','ChatWebsite','rawAttributes','fieldName','model','query','keys','filters','intersection','attributes','fields','length','sort','where','filter','type','VIRTUAL','merge','options','includeAll','include','findAll','rows','show','params','find','create','body','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','UserProfileSection','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','describe','addDisposition','Disposition','getDispositions','findOne','hasOwnProperty','nolimit','order','ChatWebsiteId','removeDispositions','ids','addAnswer','getAnswers','CannedAnswer','pick','removeAnswers','addLogo','sitepic','file','agentAvatar','customerAvatar','addSystemAvatar','systemAvatar','filename','getLogo','server/files/images/logos/default_logo.svg','../../config/license/util','getLicense','custom','isNil','existsSync','join','root','server/files/images/logos/','download','getAvatar','server/files/images/avatars/default_avatar.png','server/files/images/avatars/','getCustomerAvatar','server/files/images/avatars/customer_avatar.png','showCustomerAvatar','server/files/images/avatars/system_avatar.png','notify','user-agent-parser','setUA','headers','user-agent','getResult','chat','Sequelize','no\x20available\x20attributes','difference','createdAt','CompanyId','ListId','from','from\x20is\x20mandatory','body\x20is\x20mandatory\x20and\x20not\x20empty','mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','mapKey','ValidationError','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','CmList','CmContact','DESC','Applications','account','applications','list','List','priority','Contacts','contact','cf-connecting-ip','x-forwarded-for','split','lastName','x-real-port','referer','browser','%s\x20%s','version','unknown'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0xf884,0x1a6));var _0x4f88=function(_0x646fff,_0x24b563){_0x646fff=_0x646fff-0x0;var _0x301111=_0xf884[_0x646fff];return _0x301111;};'use strict';var BPromise=require(_0x4f88('0x0'));var Mustache=require(_0x4f88('0x1'));var util=require(_0x4f88('0x2'));var path=require(_0x4f88('0x3'));var ejs=require(_0x4f88('0x4'));var fs=require('fs');var fs_extra=require(_0x4f88('0x5'));var _=require('lodash');var querystring=require(_0x4f88('0x6'));var Redis=require(_0x4f88('0x7'));var qs=require(_0x4f88('0x8'));var logger=require(_0x4f88('0x9'))(_0x4f88('0xa'));var config=require('../../config/environment');var db=require(_0x4f88('0xb'))['db'];config[_0x4f88('0xc')]=_[_0x4f88('0xd')](config['redis'],{'host':_0x4f88('0xe'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x4f88('0xc')]));require('./chatWebsite.socket')[_0x4f88('0xf')](socket);var htmlToText=require(_0x4f88('0x10'));var jayson=require(_0x4f88('0x11'));var client=jayson['client'][_0x4f88('0x12')]({'port':0x232c});var client9002=jayson[_0x4f88('0x13')][_0x4f88('0x12')]({'port':0x232a});var client9003=jayson[_0x4f88('0x13')][_0x4f88('0x12')]({'port':0x232b});var client9001=jayson[_0x4f88('0x13')][_0x4f88('0x12')]({'port':0x2329});function respondWithRpcPromise(_0x4f41de,_0x1f2028,_0x3de7e8,_0x588a1a){return new BPromise(function(_0x19a43c,_0x55536b){var _0x1d27cb=_0x588a1a||client;return _0x1d27cb[_0x4f88('0x14')](_0x4f41de,_0x3de7e8)[_0x4f88('0x15')](function(_0x209261){logger[_0x4f88('0x16')]('ChatWebsite,\x20%s,\x20%s',_0x1f2028,'request\x20sent');logger[_0x4f88('0x17')](_0x4f88('0x18'),_0x1f2028,_0x4f88('0x19'),JSON['stringify'](_0x209261));if(_0x209261[_0x4f88('0x1a')]){if(_0x209261[_0x4f88('0x1a')][_0x4f88('0x1b')]===0x1f4){logger['error'](_0x4f88('0x1c'),_0x1f2028,_0x209261[_0x4f88('0x1a')]['message']);return _0x55536b(_0x209261['error'][_0x4f88('0x1d')]);}logger['error'](_0x4f88('0x1c'),_0x1f2028,_0x209261['error']['message']);return _0x19a43c(_0x209261['error'][_0x4f88('0x1d')]);}else{logger[_0x4f88('0x16')](_0x4f88('0x1c'),_0x1f2028,'request\x20sent');_0x19a43c(_0x209261[_0x4f88('0x1e')][_0x4f88('0x1d')]);}})[_0x4f88('0x1f')](function(_0x3bf9a0){logger[_0x4f88('0x1a')]('ChatWebsite,\x20%s,\x20%s',_0x1f2028,_0x3bf9a0);_0x55536b(_0x3bf9a0);});});}function respondWithStatusCode(_0x335de0,_0x2bb7e6){_0x2bb7e6=_0x2bb7e6||0xcc;return function(_0x3df5bf){if(_0x3df5bf){return _0x335de0[_0x4f88('0x20')](_0x2bb7e6);}return _0x335de0[_0x4f88('0x21')](_0x2bb7e6)[_0x4f88('0x22')]();};}function respondWithResult(_0x172b1f,_0x50cd28){_0x50cd28=_0x50cd28||0xc8;return function(_0x2e3f9e){if(_0x2e3f9e){return _0x172b1f[_0x4f88('0x21')](_0x50cd28)[_0x4f88('0x23')](_0x2e3f9e);}};}function respondWithFilteredResult(_0x7bcf18,_0x4b8f88){return function(_0x386c28){if(_0x386c28){var _0x5825cc=typeof _0x4b8f88['offset']==='undefined'&&typeof _0x4b8f88[_0x4f88('0x24')]==='undefined';var _0x2b68bb=_0x386c28[_0x4f88('0x25')];var _0x57372e=_0x5825cc?0x0:_0x4b8f88['offset'];var _0x3c5163=_0x5825cc?_0x386c28[_0x4f88('0x25')]:_0x4b8f88[_0x4f88('0x26')]+_0x4b8f88[_0x4f88('0x24')];var _0xebcbe4;if(_0x3c5163>=_0x2b68bb){_0x3c5163=_0x2b68bb;_0xebcbe4=0xc8;}else{_0xebcbe4=0xce;}_0x7bcf18[_0x4f88('0x21')](_0xebcbe4);return _0x7bcf18[_0x4f88('0x27')]('Content-Range',_0x57372e+'-'+_0x3c5163+'/'+_0x2b68bb)[_0x4f88('0x23')](_0x386c28);}return null;};}function saveUpdates(_0x5d41ae){return function(_0x2d8c72){if(_0x2d8c72){return _0x2d8c72[_0x4f88('0x28')](_0x5d41ae)[_0x4f88('0x15')](function(_0x257832){return _0x257832;});}return null;};}function removeEntity(_0x16c3ae){return function(_0x436329){if(_0x436329){return _0x436329[_0x4f88('0x29')]()['then'](function(){var _0x1a3b38=_0x436329[_0x4f88('0x2a')]({'plain':!![]});var _0x3cb14f=_0x4f88('0x2b');return db[_0x4f88('0x2c')][_0x4f88('0x29')]({'where':{'type':_0x3cb14f,'resourceId':_0x1a3b38['id']}})[_0x4f88('0x15')](function(){return _0x436329;});})[_0x4f88('0x15')](function(){_0x16c3ae[_0x4f88('0x21')](0xcc)[_0x4f88('0x22')]();});}};}function handleEntityNotFound(_0x5a122f){return function(_0x50881a){if(!_0x50881a){_0x5a122f[_0x4f88('0x20')](0x194);}return _0x50881a;};}function handleError(_0x437d9b,_0x2848a9){_0x2848a9=_0x2848a9||0x1f4;return function(_0x5bca33){logger['error'](_0x5bca33['stack']);if(_0x5bca33[_0x4f88('0x2d')]){delete _0x5bca33['name'];}_0x437d9b['status'](_0x2848a9)[_0x4f88('0x2e')](_0x5bca33);};}exports[_0x4f88('0x2f')]=function(_0x332cdf,_0x4f1cb4){var _0xe6e391={'include':[{'model':db[_0x4f88('0x30')],'as':_0x4f88('0x31')}]},_0xa35cf1={},_0x4f7732={'count':0x0,'rows':[]};var _0x26d479=_[_0x4f88('0x32')](db[_0x4f88('0x33')][_0x4f88('0x34')],function(_0x3e87bf){return{'name':_0x3e87bf[_0x4f88('0x35')],'type':_0x3e87bf['type']['key']};});_0xa35cf1[_0x4f88('0x36')]=_[_0x4f88('0x32')](_0x26d479,'name');_0xa35cf1[_0x4f88('0x37')]=_[_0x4f88('0x38')](_0x332cdf['query']);_0xa35cf1[_0x4f88('0x39')]=_[_0x4f88('0x3a')](_0xa35cf1[_0x4f88('0x36')],_0xa35cf1[_0x4f88('0x37')]);_0xe6e391[_0x4f88('0x3b')]=_[_0x4f88('0x3a')](_0xa35cf1[_0x4f88('0x36')],qs[_0x4f88('0x3c')](_0x332cdf[_0x4f88('0x37')]['fields']));_0xe6e391[_0x4f88('0x3b')]=_0xe6e391[_0x4f88('0x3b')][_0x4f88('0x3d')]?_0xe6e391['attributes']:_0xa35cf1[_0x4f88('0x36')];if(!_0x332cdf[_0x4f88('0x37')]['hasOwnProperty']('nolimit')){_0xe6e391[_0x4f88('0x24')]=qs[_0x4f88('0x24')](_0x332cdf[_0x4f88('0x37')][_0x4f88('0x24')]);_0xe6e391['offset']=qs['offset'](_0x332cdf['query'][_0x4f88('0x26')]);}_0xe6e391['order']=qs[_0x4f88('0x3e')](_0x332cdf['query']['sort']);_0xe6e391[_0x4f88('0x3f')]=qs['filters'](_['pick'](_0x332cdf[_0x4f88('0x37')],_0xa35cf1[_0x4f88('0x39')]),_0x26d479);if(_0x332cdf[_0x4f88('0x37')][_0x4f88('0x40')]){_0xe6e391['where']=_['merge'](_0xe6e391[_0x4f88('0x3f')],{'$or':_[_0x4f88('0x32')](_0x26d479,function(_0x22c7a5){if(_0x22c7a5[_0x4f88('0x41')]!==_0x4f88('0x42')){var _0x19d9ad={};_0x19d9ad[_0x22c7a5[_0x4f88('0x2d')]]={'$like':'%'+_0x332cdf[_0x4f88('0x37')][_0x4f88('0x40')]+'%'};return _0x19d9ad;}})});}_0xe6e391=_[_0x4f88('0x43')]({},_0xe6e391,_0x332cdf[_0x4f88('0x44')]);var _0x42d556={'where':_0xe6e391[_0x4f88('0x3f')]};return db[_0x4f88('0x33')]['count'](_0x42d556)[_0x4f88('0x15')](function(_0x4c2e24){_0x4f7732[_0x4f88('0x25')]=_0x4c2e24;if(_0x332cdf[_0x4f88('0x37')][_0x4f88('0x45')]){_0xe6e391[_0x4f88('0x46')]=[{'all':!![]}];}return db[_0x4f88('0x33')][_0x4f88('0x47')](_0xe6e391);})['then'](function(_0x6642d2){_0x4f7732[_0x4f88('0x48')]=_0x6642d2;return _0x4f7732;})[_0x4f88('0x15')](respondWithFilteredResult(_0x4f1cb4,_0xe6e391))['catch'](handleError(_0x4f1cb4,null));};exports[_0x4f88('0x49')]=function(_0x41d2e0,_0x494079){var _0x408fd9={'raw':![],'where':{'id':_0x41d2e0[_0x4f88('0x4a')]['id']},'include':[{'model':db['Pause'],'as':_0x4f88('0x31')}]},_0xf75d06={};_0xf75d06['model']=_[_0x4f88('0x38')](db['ChatWebsite']['rawAttributes']);_0xf75d06['query']=_[_0x4f88('0x38')](_0x41d2e0[_0x4f88('0x37')]);_0xf75d06[_0x4f88('0x39')]=_['intersection'](_0xf75d06[_0x4f88('0x36')],_0xf75d06[_0x4f88('0x37')]);_0x408fd9['attributes']=_[_0x4f88('0x3a')](_0xf75d06[_0x4f88('0x36')],qs['fields'](_0x41d2e0['query'][_0x4f88('0x3c')]));_0x408fd9[_0x4f88('0x3b')]=_0x408fd9['attributes'][_0x4f88('0x3d')]?_0x408fd9[_0x4f88('0x3b')]:_0xf75d06[_0x4f88('0x36')];if(_0x41d2e0[_0x4f88('0x37')]['includeAll']){_0x408fd9['include']=[{'all':!![]}];}_0x408fd9=_[_0x4f88('0x43')]({},_0x408fd9,_0x41d2e0[_0x4f88('0x44')]);return db[_0x4f88('0x33')][_0x4f88('0x4b')](_0x408fd9)[_0x4f88('0x15')](handleEntityNotFound(_0x494079,null))[_0x4f88('0x15')](respondWithResult(_0x494079,null))[_0x4f88('0x1f')](handleError(_0x494079,null));};exports[_0x4f88('0x4c')]=function(_0x1f0543,_0x1f0bda){return db[_0x4f88('0x33')][_0x4f88('0x4c')](_0x1f0543[_0x4f88('0x4d')],{})[_0x4f88('0x15')](function(_0x43f19e){var _0x4e8159=_0x1f0543['user'][_0x4f88('0x2a')]({'plain':!![]});if(!_0x4e8159)throw new Error(_0x4f88('0x4e'));if(_0x4e8159[_0x4f88('0x4f')]===_0x4f88('0x50')){var _0x4f5c6a=_0x43f19e['get']({'plain':!![]});var _0x4b5c33=_0x4f88('0x2b');return db[_0x4f88('0x51')]['find']({'where':{'name':_0x4b5c33,'userProfileId':_0x4e8159[_0x4f88('0x52')]},'raw':!![]})[_0x4f88('0x15')](function(_0x33a533){if(_0x33a533&&_0x33a533[_0x4f88('0x53')]===0x0){return db[_0x4f88('0x2c')][_0x4f88('0x4c')]({'name':_0x4f5c6a[_0x4f88('0x2d')],'resourceId':_0x4f5c6a['id'],'type':_0x33a533[_0x4f88('0x2d')],'sectionId':_0x33a533['id']},{})[_0x4f88('0x15')](function(){return _0x43f19e;});}else{return _0x43f19e;}})['catch'](function(_0x4dc3a7){logger[_0x4f88('0x1a')](_0x4f88('0x54'),_0x4dc3a7);throw _0x4dc3a7;});}return _0x43f19e;})[_0x4f88('0x15')](respondWithResult(_0x1f0bda,0xc9))[_0x4f88('0x1f')](handleError(_0x1f0bda,null));};exports['update']=function(_0x152277,_0x31b6c0){if(_0x152277[_0x4f88('0x4d')]['id']){delete _0x152277[_0x4f88('0x4d')]['id'];}return db['ChatWebsite'][_0x4f88('0x4b')]({'where':{'id':_0x152277[_0x4f88('0x4a')]['id']},'include':[{'model':db[_0x4f88('0x30')],'as':_0x4f88('0x31')}]})['then'](handleEntityNotFound(_0x31b6c0,null))[_0x4f88('0x15')](saveUpdates(_0x152277[_0x4f88('0x4d')],null))[_0x4f88('0x15')](respondWithResult(_0x31b6c0,null))['catch'](handleError(_0x31b6c0,null));};exports[_0x4f88('0x29')]=function(_0x251d4c,_0x10566d){return db[_0x4f88('0x33')]['find']({'where':{'id':_0x251d4c[_0x4f88('0x4a')]['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x10566d,null))[_0x4f88('0x15')](removeEntity(_0x10566d,null))[_0x4f88('0x1f')](handleError(_0x10566d,null));};exports[_0x4f88('0x55')]=function(_0x3950c6,_0x25f6d1){return db[_0x4f88('0x33')][_0x4f88('0x55')]()['then'](respondWithResult(_0x25f6d1,null))[_0x4f88('0x1f')](handleError(_0x25f6d1,null));};exports[_0x4f88('0x56')]=function(_0x2ef1ae,_0x280da6){if(_0x2ef1ae[_0x4f88('0x4d')]['id']){delete _0x2ef1ae['body']['id'];}return db[_0x4f88('0x33')][_0x4f88('0x4b')]({'where':{'id':_0x2ef1ae[_0x4f88('0x4a')]['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x280da6,null))[_0x4f88('0x15')](function(_0x55cbca){if(_0x55cbca){_0x2ef1ae['body']['ChatWebsiteId']=_0x55cbca['id'];return db[_0x4f88('0x57')][_0x4f88('0x4c')](_0x2ef1ae[_0x4f88('0x4d')]);}})['then'](respondWithResult(_0x280da6,null))['catch'](handleError(_0x280da6,null));};exports[_0x4f88('0x58')]=function(_0x5676b1,_0x3ed0df){var _0x58bc8f={'raw':![],'where':{}};var _0xa614e9={};var _0x4b4d88={'count':0x0,'rows':[]};return db[_0x4f88('0x33')][_0x4f88('0x59')]({'where':{'id':_0x5676b1[_0x4f88('0x4a')]['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x3ed0df,null))[_0x4f88('0x15')](function(_0x56859f){if(_0x56859f){_0xa614e9[_0x4f88('0x36')]=_[_0x4f88('0x38')](db[_0x4f88('0x57')][_0x4f88('0x34')]);_0xa614e9[_0x4f88('0x37')]=_[_0x4f88('0x38')](_0x5676b1['query']);_0xa614e9[_0x4f88('0x39')]=_[_0x4f88('0x3a')](_0xa614e9[_0x4f88('0x36')],_0xa614e9['query']);_0x58bc8f['attributes']=_[_0x4f88('0x3a')](_0xa614e9['model'],qs[_0x4f88('0x3c')](_0x5676b1['query'][_0x4f88('0x3c')]));_0x58bc8f[_0x4f88('0x3b')]=_0x58bc8f[_0x4f88('0x3b')]['length']?_0x58bc8f[_0x4f88('0x3b')]:_0xa614e9['model'];if(!_0x5676b1['query'][_0x4f88('0x5a')](_0x4f88('0x5b'))){_0x58bc8f[_0x4f88('0x24')]=qs[_0x4f88('0x24')](_0x5676b1[_0x4f88('0x37')]['limit']);_0x58bc8f[_0x4f88('0x26')]=qs[_0x4f88('0x26')](_0x5676b1['query'][_0x4f88('0x26')]);}_0x58bc8f[_0x4f88('0x5c')]=qs['sort'](_0x5676b1[_0x4f88('0x37')][_0x4f88('0x3e')]);_0x58bc8f['where']=qs[_0x4f88('0x39')](_['pick'](_0x5676b1[_0x4f88('0x37')],_0xa614e9[_0x4f88('0x39')]));_0x58bc8f[_0x4f88('0x3f')][_0x4f88('0x5d')]=_0x56859f['id'];if(_0x5676b1[_0x4f88('0x37')][_0x4f88('0x40')]){_0x58bc8f['where']=_[_0x4f88('0x43')](_0x58bc8f[_0x4f88('0x3f')],{'$or':_[_0x4f88('0x32')](_0x58bc8f[_0x4f88('0x3b')],function(_0xec59e7){var _0x4c72b1={};_0x4c72b1[_0xec59e7]={'$like':'%'+_0x5676b1[_0x4f88('0x37')]['filter']+'%'};return _0x4c72b1;})});}_0x58bc8f=_['merge']({},_0x58bc8f,_0x5676b1[_0x4f88('0x44')]);return db[_0x4f88('0x57')][_0x4f88('0x25')]({'where':_0x58bc8f[_0x4f88('0x3f')]})[_0x4f88('0x15')](function(_0xc84613){_0x4b4d88['count']=_0xc84613;if(_0x5676b1[_0x4f88('0x37')]['includeAll']){_0x58bc8f[_0x4f88('0x46')]=[{'all':!![]}];}return db['Disposition'][_0x4f88('0x47')](_0x58bc8f);})['then'](function(_0x200b49){_0x4b4d88[_0x4f88('0x48')]=_0x200b49;return _0x4b4d88;});}})[_0x4f88('0x15')](respondWithFilteredResult(_0x3ed0df,_0x58bc8f))['catch'](handleError(_0x3ed0df,null));};exports[_0x4f88('0x5e')]=function(_0x4ceb11,_0x3bf9c4){return db['ChatWebsite'][_0x4f88('0x4b')]({'where':{'id':_0x4ceb11[_0x4f88('0x4a')]['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x3bf9c4,null))[_0x4f88('0x15')](function(_0x4ed8fd){if(_0x4ed8fd){return _0x4ed8fd[_0x4f88('0x5e')](_0x4ceb11[_0x4f88('0x37')][_0x4f88('0x5f')]);}})[_0x4f88('0x15')](respondWithStatusCode(_0x3bf9c4,null))[_0x4f88('0x1f')](handleError(_0x3bf9c4,null));};exports[_0x4f88('0x60')]=function(_0x686d59,_0x5d5244){if(_0x686d59[_0x4f88('0x4d')]['id']){delete _0x686d59[_0x4f88('0x4d')]['id'];}return db[_0x4f88('0x33')][_0x4f88('0x4b')]({'where':{'id':_0x686d59['params']['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x5d5244,null))[_0x4f88('0x15')](function(_0x4279d2){if(_0x4279d2){_0x686d59[_0x4f88('0x4d')][_0x4f88('0x5d')]=_0x4279d2['id'];return db['CannedAnswer'][_0x4f88('0x4c')](_0x686d59[_0x4f88('0x4d')]);}})['then'](respondWithResult(_0x5d5244,null))[_0x4f88('0x1f')](handleError(_0x5d5244,null));};exports[_0x4f88('0x61')]=function(_0x3954d4,_0x44deab){var _0x4efb11={'raw':![],'where':{}};var _0x547a18={};var _0x1be5e4={'count':0x0,'rows':[]};return db[_0x4f88('0x33')][_0x4f88('0x59')]({'where':{'id':_0x3954d4[_0x4f88('0x4a')]['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x44deab,null))['then'](function(_0x81b2c1){if(_0x81b2c1){_0x547a18[_0x4f88('0x36')]=_[_0x4f88('0x38')](db[_0x4f88('0x62')]['rawAttributes']);_0x547a18['query']=_['keys'](_0x3954d4['query']);_0x547a18[_0x4f88('0x39')]=_[_0x4f88('0x3a')](_0x547a18[_0x4f88('0x36')],_0x547a18[_0x4f88('0x37')]);_0x4efb11['attributes']=_[_0x4f88('0x3a')](_0x547a18[_0x4f88('0x36')],qs[_0x4f88('0x3c')](_0x3954d4[_0x4f88('0x37')]['fields']));_0x4efb11['attributes']=_0x4efb11['attributes']['length']?_0x4efb11[_0x4f88('0x3b')]:_0x547a18['model'];if(!_0x3954d4['query']['hasOwnProperty']('nolimit')){_0x4efb11['limit']=qs[_0x4f88('0x24')](_0x3954d4[_0x4f88('0x37')]['limit']);_0x4efb11[_0x4f88('0x26')]=qs[_0x4f88('0x26')](_0x3954d4[_0x4f88('0x37')][_0x4f88('0x26')]);}_0x4efb11[_0x4f88('0x5c')]=qs[_0x4f88('0x3e')](_0x3954d4[_0x4f88('0x37')][_0x4f88('0x3e')]);_0x4efb11[_0x4f88('0x3f')]=qs[_0x4f88('0x39')](_[_0x4f88('0x63')](_0x3954d4[_0x4f88('0x37')],_0x547a18['filters']));_0x4efb11[_0x4f88('0x3f')]['ChatWebsiteId']=_0x81b2c1['id'];if(_0x3954d4[_0x4f88('0x37')][_0x4f88('0x40')]){_0x4efb11[_0x4f88('0x3f')]=_[_0x4f88('0x43')](_0x4efb11[_0x4f88('0x3f')],{'$or':_[_0x4f88('0x32')](_0x4efb11['attributes'],function(_0x8b0a26){var _0x5d1f19={};_0x5d1f19[_0x8b0a26]={'$like':'%'+_0x3954d4['query'][_0x4f88('0x40')]+'%'};return _0x5d1f19;})});}_0x4efb11=_[_0x4f88('0x43')]({},_0x4efb11,_0x3954d4[_0x4f88('0x44')]);return db[_0x4f88('0x62')][_0x4f88('0x25')]({'where':_0x4efb11[_0x4f88('0x3f')]})['then'](function(_0x500e47){_0x1be5e4['count']=_0x500e47;if(_0x3954d4[_0x4f88('0x37')][_0x4f88('0x45')]){_0x4efb11['include']=[{'all':!![]}];}return db[_0x4f88('0x62')][_0x4f88('0x47')](_0x4efb11);})[_0x4f88('0x15')](function(_0x143ad5){_0x1be5e4[_0x4f88('0x48')]=_0x143ad5;return _0x1be5e4;});}})[_0x4f88('0x15')](respondWithFilteredResult(_0x44deab,_0x4efb11))[_0x4f88('0x1f')](handleError(_0x44deab,null));};exports[_0x4f88('0x64')]=function(_0x538ac6,_0x4f6f3c){return db[_0x4f88('0x33')][_0x4f88('0x4b')]({'where':{'id':_0x538ac6[_0x4f88('0x4a')]['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x4f6f3c,null))[_0x4f88('0x15')](function(_0x4b8a74){if(_0x4b8a74){return _0x4b8a74[_0x4f88('0x64')](_0x538ac6[_0x4f88('0x37')][_0x4f88('0x5f')]);}})[_0x4f88('0x15')](respondWithStatusCode(_0x4f6f3c,null))[_0x4f88('0x1f')](handleError(_0x4f6f3c,null));};exports[_0x4f88('0x65')]=function(_0x4f8ce0,_0x1f45c4){_0x4f8ce0[_0x4f88('0x4d')][_0x4f88('0x66')]=_0x4f8ce0[_0x4f88('0x67')]['filename'];return db[_0x4f88('0x33')][_0x4f88('0x4b')]({'where':{'id':_0x4f8ce0['params']['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x1f45c4,null))[_0x4f88('0x15')](saveUpdates(_0x4f8ce0[_0x4f88('0x4d')],null))[_0x4f88('0x15')](respondWithResult(_0x1f45c4,null))[_0x4f88('0x1f')](handleError(_0x1f45c4,null));};exports['addAvatar']=function(_0x595b34,_0x363d69){_0x595b34[_0x4f88('0x4d')][_0x4f88('0x68')]=_0x595b34['file']['filename'];return db[_0x4f88('0x33')][_0x4f88('0x4b')]({'where':{'id':_0x595b34[_0x4f88('0x4a')]['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x363d69,null))[_0x4f88('0x15')](saveUpdates(_0x595b34[_0x4f88('0x4d')],null))[_0x4f88('0x15')](respondWithResult(_0x363d69,null))[_0x4f88('0x1f')](handleError(_0x363d69,null));};exports['addCustomerAvatar']=function(_0x1451f8,_0x56f12e){_0x1451f8[_0x4f88('0x4d')][_0x4f88('0x69')]=_0x1451f8[_0x4f88('0x67')]['filename'];return db[_0x4f88('0x33')][_0x4f88('0x4b')]({'where':{'id':_0x1451f8[_0x4f88('0x4a')]['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x56f12e,null))[_0x4f88('0x15')](saveUpdates(_0x1451f8[_0x4f88('0x4d')],null))[_0x4f88('0x15')](respondWithResult(_0x56f12e,null))['catch'](handleError(_0x56f12e,null));};exports[_0x4f88('0x6a')]=function(_0x5b57ee,_0x350f64){_0x5b57ee['body'][_0x4f88('0x6b')]=_0x5b57ee[_0x4f88('0x67')][_0x4f88('0x6c')];return db[_0x4f88('0x33')][_0x4f88('0x4b')]({'where':{'id':_0x5b57ee[_0x4f88('0x4a')]['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x350f64,null))[_0x4f88('0x15')](saveUpdates(_0x5b57ee[_0x4f88('0x4d')],null))['then'](respondWithResult(_0x350f64,null))[_0x4f88('0x1f')](handleError(_0x350f64,null));};exports[_0x4f88('0x6d')]=function(_0x4284e9,_0x27bb52){var _0x517671=path['join'](config['root'],_0x4f88('0x6e'));var _0x5ba4e8={'where':{'id':_0x4284e9[_0x4f88('0x4a')]['id']},'attributes':['id',_0x4f88('0x66')],'raw':!![]};var _0x26ef46=![];return require(_0x4f88('0x6f'))[_0x4f88('0x70')]()[_0x4f88('0x15')](function(_0x5de6b3){if(_0x5de6b3){_0x26ef46=_0x5de6b3[_0x4f88('0x71')];}})[_0x4f88('0x15')](function(){return db['ChatWebsite'][_0x4f88('0x4b')](_0x5ba4e8);})['then'](handleEntityNotFound(_0x27bb52,null))[_0x4f88('0x15')](function(_0x32e3dd){if(_0x32e3dd){if(!_[_0x4f88('0x72')](_0x32e3dd['sitepic'])){if(fs[_0x4f88('0x73')](path[_0x4f88('0x74')](config[_0x4f88('0x75')],_0x4f88('0x76'),_0x32e3dd[_0x4f88('0x66')]))&&_0x26ef46){_0x517671=path[_0x4f88('0x74')](config['root'],_0x4f88('0x76'),_0x32e3dd[_0x4f88('0x66')]);}}return _0x27bb52[_0x4f88('0x77')](_0x517671);}})['catch'](handleError(_0x27bb52,null));};exports[_0x4f88('0x78')]=function(_0x3c7acf,_0xcc37d5){var _0x32733e=path[_0x4f88('0x74')](config[_0x4f88('0x75')],_0x4f88('0x79'));var _0x3f3cd2={'where':{'id':_0x3c7acf[_0x4f88('0x4a')]['id']},'attributes':['id',_0x4f88('0x68')],'raw':!![]};return db['ChatWebsite'][_0x4f88('0x4b')](_0x3f3cd2)['then'](handleEntityNotFound(_0xcc37d5,null))[_0x4f88('0x15')](function(_0x270667){if(_0x270667){if(!_[_0x4f88('0x72')](_0x270667[_0x4f88('0x68')])){if(fs[_0x4f88('0x73')](path[_0x4f88('0x74')](config[_0x4f88('0x75')],'server/files/images/avatars/',_0x270667[_0x4f88('0x68')]))){_0x32733e=path['join'](config[_0x4f88('0x75')],_0x4f88('0x7a'),_0x270667[_0x4f88('0x68')]);}}return _0xcc37d5[_0x4f88('0x77')](_0x32733e);}})[_0x4f88('0x1f')](handleError(_0xcc37d5,null));};exports[_0x4f88('0x7b')]=function(_0x1545b3,_0xaf4055){var _0x10ac21=path['join'](config[_0x4f88('0x75')],_0x4f88('0x7c'));var _0x151c33={'where':{'id':_0x1545b3[_0x4f88('0x4a')]['id']},'attributes':['id',_0x4f88('0x69'),_0x4f88('0x7d')],'raw':!![]};return db['ChatWebsite'][_0x4f88('0x4b')](_0x151c33)[_0x4f88('0x15')](handleEntityNotFound(_0xaf4055,null))['then'](function(_0x4126b9){if(_0x4126b9){if(!_[_0x4f88('0x72')](_0x4126b9[_0x4f88('0x69')])){if(fs[_0x4f88('0x73')](path[_0x4f88('0x74')](config[_0x4f88('0x75')],_0x4f88('0x7a'),_0x4126b9[_0x4f88('0x69')]))&&_0x4126b9['showCustomerAvatar']){_0x10ac21=path[_0x4f88('0x74')](config['root'],_0x4f88('0x7a'),_0x4126b9[_0x4f88('0x69')]);}}return _0xaf4055[_0x4f88('0x77')](_0x10ac21);}})[_0x4f88('0x1f')](handleError(_0xaf4055,null));};exports['getSystemAvatar']=function(_0x16859d,_0x2a04b8){var _0x5e2208=path[_0x4f88('0x74')](config[_0x4f88('0x75')],_0x4f88('0x7e'));var _0x386913={'where':{'id':_0x16859d[_0x4f88('0x4a')]['id']},'attributes':['id',_0x4f88('0x6b')],'raw':!![]};return db[_0x4f88('0x33')]['find'](_0x386913)[_0x4f88('0x15')](handleEntityNotFound(_0x2a04b8,null))['then'](function(_0x309912){if(_0x309912){if(!_[_0x4f88('0x72')](_0x309912[_0x4f88('0x6b')])){if(fs[_0x4f88('0x73')](path[_0x4f88('0x74')](config[_0x4f88('0x75')],'server/files/images/avatars/',_0x309912[_0x4f88('0x6b')]))){_0x5e2208=path[_0x4f88('0x74')](config[_0x4f88('0x75')],'server/files/images/avatars/',_0x309912[_0x4f88('0x6b')]);}}return _0x2a04b8[_0x4f88('0x77')](_0x5e2208);}})[_0x4f88('0x1f')](handleError(_0x2a04b8,null));};exports[_0x4f88('0x7f')]=function(_0x1aec5e,_0x5a0dca){var _0x175203=require(_0x4f88('0x80'));var _0x6cbe85=new _0x175203();var _0x190d90=_0x6cbe85[_0x4f88('0x81')](_0x1aec5e[_0x4f88('0x82')][_0x4f88('0x83')])[_0x4f88('0x84')]();var _0x19a4dc={'body':_0x1aec5e['body'],'channel':_0x4f88('0x85')};var _0x1acd66=[];var _0x5bdfa2=[];var _0xd8eeb1={};var _0x3a9705=![];return db['CmContact'][_0x4f88('0x55')]()[_0x4f88('0x15')](function(_0x342367){if(!_0x342367){throw new db[(_0x4f88('0x86'))]['ValidationError'](_0x4f88('0x87'));}_0x1acd66=_[_0x4f88('0x88')](_[_0x4f88('0x38')](_0x342367),[_0x4f88('0x89'),'updatedAt']);_0x5bdfa2=_['difference'](_[_0x4f88('0x38')](_0x342367),['createdAt','updatedAt',_0x4f88('0x8a'),_0x4f88('0x8b')]);if(_0x1aec5e[_0x4f88('0x4d')]['id']){delete _0x1aec5e[_0x4f88('0x4d')]['id'];}if(_[_0x4f88('0x72')](_0x1aec5e[_0x4f88('0x4d')][_0x4f88('0x8c')])){throw new db[(_0x4f88('0x86'))]['ValidationError'](_0x4f88('0x8d'));}if(_[_0x4f88('0x72')](_0x1aec5e[_0x4f88('0x4d')]['body'])||_0x1aec5e[_0x4f88('0x4d')][_0x4f88('0x4d')]===''){throw new db[(_0x4f88('0x86'))]['ValidationError'](_0x4f88('0x8e'));}if(_[_0x4f88('0x72')](_0x1aec5e[_0x4f88('0x4d')]['mapKey'])){throw new db['Sequelize']['ValidationError'](_0x4f88('0x8f')+_0x5bdfa2);}if(!_['includes'](_0x5bdfa2,_0x1aec5e['body'][_0x4f88('0x90')])){throw new db[(_0x4f88('0x86'))][(_0x4f88('0x91'))](_0x4f88('0x92')+_0x5bdfa2);}_0xd8eeb1[_0x1aec5e[_0x4f88('0x4d')][_0x4f88('0x90')]]=_0x1aec5e[_0x4f88('0x4d')][_0x4f88('0x8c')];})['then'](function(){return db[_0x4f88('0x33')]['find']({'where':{'id':_0x1aec5e[_0x4f88('0x4a')]['id']},'include':[{'model':db[_0x4f88('0x93')],'as':'List','include':[{'model':db[_0x4f88('0x94')],'as':'Contacts','where':_0xd8eeb1,'limit':0x1,'order':[['updatedAt',_0x4f88('0x95')]]}]},{'model':db['ChatApplication'],'as':_0x4f88('0x96')}]});})['then'](handleEntityNotFound(_0x5a0dca,null))[_0x4f88('0x15')](function(_0x7f6240){if(_0x7f6240&&_0x7f6240['List']){_0x19a4dc[_0x4f88('0x97')]=_0x7f6240;_0x19a4dc[_0x4f88('0x98')]=_0x7f6240[_0x4f88('0x96')];_0x19a4dc[_0x4f88('0x99')]=_0x7f6240[_0x4f88('0x9a')];_0x19a4dc['applications']=_['orderBy'](_0x19a4dc['applications'],[_0x4f88('0x9b')],['asc']);if(_0x19a4dc['account'][_0x4f88('0x96')]){delete _0x19a4dc[_0x4f88('0x97')][_0x4f88('0x96')];}if(_0x19a4dc['account']['List']&&_0x19a4dc['account'][_0x4f88('0x9a')]['Contacts'][_0x4f88('0x3d')]){return _0x19a4dc['account'][_0x4f88('0x9a')][_0x4f88('0x9c')][0x0];}var _0x1bee5a=_[_0x4f88('0xd')](_0x1aec5e[_0x4f88('0x4d')],{'firstName':_0x1aec5e['body'][_0x4f88('0x8c')],'ListId':_0x7f6240['ListId']});_0x1bee5a[_0x1aec5e[_0x4f88('0x4d')]['mapKey']]=_0x1aec5e[_0x4f88('0x4d')]['from'];return db['CmContact'][_0x4f88('0x4c')](_0x1bee5a,{'fields':_0x1acd66,'raw':!![]});}})['then'](handleEntityNotFound(_0x5a0dca,null))['then'](function(_0x45d5bd){_0x19a4dc[_0x4f88('0x9d')]=_0x45d5bd;var _0x26d287=_0x1aec5e[_0x4f88('0x4d')]['customerIp'];if(_0x1aec5e['headers']['cf-connecting-ip']){_0x26d287=_0x1aec5e[_0x4f88('0x82')][_0x4f88('0x9e')];}else if(_0x1aec5e[_0x4f88('0x82')][_0x4f88('0x9f')]){_0x26d287=_['first'](_0x1aec5e[_0x4f88('0x82')][_0x4f88('0x9f')][_0x4f88('0xa0')](','));}if(_0x45d5bd){var _0x206d2f={'ContactId':_0x45d5bd['id'],'ChatWebsiteId':_0x1aec5e['params']['id'],'from':(_0x45d5bd['firstName']||'')+'\x20'+(_0x45d5bd[_0x4f88('0xa1')]||''),'customerIp':_0x26d287,'customerPort':_0x1aec5e[_0x4f88('0x82')][_0x4f88('0xa2')]?_0x1aec5e[_0x4f88('0x82')][_0x4f88('0xa2')]:null,'referer':_0x1aec5e['body'][_0x4f88('0xa3')],'browserName':_0x190d90[_0x4f88('0xa4')][_0x4f88('0x2d')]&&_0x190d90[_0x4f88('0xa4')]['version']?util['format'](_0x4f88('0xa5'),_0x190d90[_0x4f88('0xa4')][_0x4f88('0x2d')],_0x190d90['browser'][_0x4f88('0xa6')]):_0x4f88('0xa7'),'browserVersion':_0x190d90[_0x4f88('0xa4')][_0x4f88('0xa6')]||_0x4f88('0xa7'),'osName':util['format'](_0x4f88('0xa5'),_0x190d90['os'][_0x4f88('0x2d')],_0x190d90['os'][_0x4f88('0xa6')]),'osVersion':_0x190d90['os'][_0x4f88('0xa6')],'deviceModel':_0x190d90[_0x4f88('0xa8')][_0x4f88('0x36')]&&_0x190d90[_0x4f88('0xa8')][_0x4f88('0xa9')]?util['format'](_0x4f88('0xaa'),_0x190d90[_0x4f88('0xa8')][_0x4f88('0x36')],_0x190d90[_0x4f88('0xa8')][_0x4f88('0xa9')],_0x190d90['device'][_0x4f88('0x41')]):null,'deviceVendor':_0x190d90[_0x4f88('0xa8')][_0x4f88('0xa9')],'deviceType':_0x190d90[_0x4f88('0xa8')][_0x4f88('0x41')],'formData':JSON[_0x4f88('0xab')](_0x1aec5e['body'])};var _0x2dd956={'ChatWebsiteId':_0x1aec5e['params']['id'],'closed':![]};if(_0x1aec5e[_0x4f88('0x4d')][_0x4f88('0xac')]){_0x2dd956[_0x4f88('0xac')]=_0x1aec5e['body'][_0x4f88('0xac')];return db[_0x4f88('0xad')][_0x4f88('0x4b')]({'where':_0x2dd956})[_0x4f88('0x15')](function(_0x3f42bb){if(_0x3f42bb){return[_0x3f42bb,![]];}_0x206d2f['threadId']=_0x1aec5e['body'][_0x4f88('0xac')];_0x206d2f['externalUrl']=_0x1aec5e[_0x4f88('0x4d')]['externalUrl'];return db['ChatInteraction'][_0x4f88('0x4c')](_0x206d2f)['then'](function(_0x1b6834){return[_0x1b6834,!![]];});});}_0x2dd956['ContactId']=_0x45d5bd['id'];if(_0x1aec5e[_0x4f88('0x4d')][_0x4f88('0xae')]&&_0x1aec5e[_0x4f88('0x4d')][_0x4f88('0xae')]['id']){_0x2dd956['id']=_0x1aec5e[_0x4f88('0x4d')]['interaction']['id'];return db[_0x4f88('0xad')][_0x4f88('0x4b')]({'where':_0x2dd956})[_0x4f88('0x15')](function(_0x3f4943){if(_0x3f4943){return[_0x3f4943,![]];}return db[_0x4f88('0xad')][_0x4f88('0x4c')](_0x206d2f)['then'](function(_0x211aa7){return[_0x211aa7,!![]];});});}return db[_0x4f88('0xad')][_0x4f88('0x4c')](_0x206d2f)[_0x4f88('0x15')](function(_0x327316){return[_0x327316,!![]];});}})['spread'](function(_0x5df8fe,_0x750314){if(_0x5df8fe){_0x3a9705=_0x750314;if(!_0x750314){var _0x427905={'from':(_0x19a4dc[_0x4f88('0x9d')]['firstName']||'')+'\x20'+(_0x19a4dc['contact'][_0x4f88('0xa1')]||'')};if(_0x1aec5e[_0x4f88('0x4d')]['threadId']&&_0x1aec5e['body']['messageId']&&_0x1aec5e[_0x4f88('0x4d')][_0x4f88('0xac')]!=_0x1aec5e[_0x4f88('0x4d')]['messageId']){_0x427905[_0x4f88('0xac')]=_0x1aec5e[_0x4f88('0x4d')][_0x4f88('0xaf')];}return _0x5df8fe[_0x4f88('0x28')](_0x427905);}else{return _0x5df8fe;}}})[_0x4f88('0x15')](function(_0x5264a9){_0x19a4dc[_0x4f88('0xae')]=_0x5264a9[_0x4f88('0x2a')]({'plain':!![]});_0x19a4dc[_0x4f88('0xae')][_0x4f88('0xb0')]=_0x3a9705;if(_0x19a4dc[_0x4f88('0xae')][_0x4f88('0xb0')]){if(_0x19a4dc['account'][_0x4f88('0xb1')]){_0x19a4dc[_0x4f88('0x98')][_0x4f88('0xb2')]({'id':0x0,'priority':_0x19a4dc['applications'][_0x4f88('0x3d')]+0x1,'app':_0x4f88('0xb3'),'appdata':_0x4f88('0xb4'),'interval':_0x4f88('0xb5')});}}return db[_0x4f88('0xb6')][_0x4f88('0x4c')]({'body':_0x1aec5e['body'][_0x4f88('0x4d')],'ChatWebsiteId':_0x1aec5e[_0x4f88('0x4a')]['id'],'ChatInteractionId':_0x5264a9['id'],'direction':'in','ContactId':_0x19a4dc[_0x4f88('0x9d')]['id'],'AttachmentId':_0x1aec5e[_0x4f88('0x4d')][_0x4f88('0xb7')]});})[_0x4f88('0x15')](function(_0x4cf0c0){_0x19a4dc[_0x4f88('0x1d')]=_0x4cf0c0;if(_0x19a4dc[_0x4f88('0xae')][_0x4f88('0xb8')]){return db[_0x4f88('0xb9')]['find']({'attributes':['id',_0x4f88('0x2d')],'where':{'id':_0x19a4dc[_0x4f88('0xae')][_0x4f88('0xb8')]}})[_0x4f88('0x15')](function(_0x49352a){if(_0x49352a){_0x19a4dc[_0x4f88('0x98')][_0x4f88('0xba')]({'id':0x0,'priority':0x0,'app':_0x4f88('0xbb'),'appdata':_0x49352a[_0x4f88('0x2d')]+','+(_0x19a4dc['account'][_0x4f88('0xbc')]||0xa),'interval':_0x4f88('0xb5')});_0x19a4dc[_0x4f88('0xbd')]=!![];}return respondWithRpcPromise(_0x4f88('0xbe'),_0x4f88('0xbf'),_0x19a4dc);});}return respondWithRpcPromise(_0x4f88('0xbe'),'startRouting',_0x19a4dc);})[_0x4f88('0x15')](function(_0x404d52){respondWithRpcPromise(_0x4f88('0xc0'),_0x4f88('0xc0'),{'event':_0x4f88('0x7f'),'message':_0x404d52},client9002);return _0x404d52;})['then'](respondWithResult(_0x5a0dca,null))['catch'](handleError(_0x5a0dca,null));};exports['offline']=function(_0x4a1f13,_0x3eac5e){var _0x11a925,_0x7c81f8,_0x3dedd1;var _0x59addd=[];var _0x17348e={};var _0x2738cd=_0x4a1f13['files']||[];var _0x19ab39=[];var _0x5bb685;return db['CmContact'][_0x4f88('0x55')]()[_0x4f88('0x15')](function(_0x574088){if(!_0x574088){throw new db[(_0x4f88('0x86'))][(_0x4f88('0x91'))]('no\x20available\x20attributes');}_0x59addd=_[_0x4f88('0x88')](_[_0x4f88('0x38')](_0x574088),[_0x4f88('0x89'),_0x4f88('0xc1'),'CompanyId',_0x4f88('0x8b')]);if(_0x4a1f13[_0x4f88('0x4d')]['id']){delete _0x4a1f13[_0x4f88('0x4d')]['id'];}if(_[_0x4f88('0x72')](_0x4a1f13[_0x4f88('0x4d')][_0x4f88('0x8c')])){throw _0x3eac5e[_0x4f88('0x21')](0x1f4)[_0x4f88('0x2e')](new db[(_0x4f88('0x86'))]['ValidationError'](_0x4f88('0x8d')));}if(_['isNil'](_0x4a1f13['body'][_0x4f88('0x4d')])||_0x4a1f13[_0x4f88('0x4d')][_0x4f88('0x4d')]===''){throw _0x3eac5e[_0x4f88('0x21')](0x1f4)[_0x4f88('0x2e')](new db[(_0x4f88('0x86'))][(_0x4f88('0x91'))](_0x4f88('0x8e')));}if(_[_0x4f88('0x72')](_0x4a1f13[_0x4f88('0x4d')][_0x4f88('0xc2')])){throw _0x3eac5e['status'](0x1f4)[_0x4f88('0x2e')](new db['Sequelize'][(_0x4f88('0x91'))](_0x4f88('0xc3')+_0x59addd));}if(!_[_0x4f88('0xc4')](_0x59addd,_0x4a1f13[_0x4f88('0x4d')]['mapKeyOffline'])){throw _0x3eac5e[_0x4f88('0x21')](0x1f4)['send'](new db[(_0x4f88('0x86'))][(_0x4f88('0x91'))]('mapKeyOffline\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20'+_0x59addd));}_0x17348e[_0x4a1f13[_0x4f88('0x4d')][_0x4f88('0xc2')]]=_0x4a1f13['body'][_0x4f88('0x8c')];})['then'](function(){return db[_0x4f88('0x33')][_0x4f88('0x4b')]({'where':{'id':_0x4a1f13[_0x4f88('0x4a')]['id']},'include':[{'model':db[_0x4f88('0x93')],'as':_0x4f88('0x9a')},{'model':db[_0x4f88('0xc5')],'as':_0x4f88('0xc5')}]});})['then'](handleEntityNotFound(_0x3eac5e,null))[_0x4f88('0x15')](function(_0x215499){if(_0x215499&&_0x215499[_0x4f88('0x9a')]){_0x7c81f8=_0x215499;var _0x5ecfe3=_['defaults'](_0x4a1f13[_0x4f88('0x4d')],{'firstName':_0x4a1f13[_0x4f88('0x4d')][_0x4f88('0x8c')],'phone':_0x4a1f13[_0x4f88('0x4d')][_0x4f88('0x8c')],'ListId':_0x215499[_0x4f88('0x8b')]});_0x5ecfe3[_0x4a1f13[_0x4f88('0x4d')]['mapKeyOffline']]=_0x4a1f13['body'][_0x4f88('0x8c')];return db[_0x4f88('0x94')][_0x4f88('0xc6')]({'where':_0x17348e,'defaults':_0x5ecfe3});}})['spread'](function(_0xc15599){if(_0xc15599){_0x3dedd1=_0xc15599;var _0xc6ffd6=fs[_0x4f88('0xc7')](path['join'](config[_0x4f88('0x75')],'server/files/templates/chatOfflineMessage.ejs'),_0x4f88('0xc8'));var _0x2e9ab7=ejs[_0x4f88('0xc9')](_0xc6ffd6,{'body':_[_0x4f88('0xca')](_0x4a1f13[_0x4f88('0x4d')][_0x4f88('0x4d')]),'bodyTitle':_0x7c81f8[_0x4f88('0xcb')]});return db[_0x4f88('0xcc')][_0x4f88('0x4c')]({'body':_0x2e9ab7,'plainBody':htmlToText['fromString'](_0x2e9ab7),'ContactId':_0xc15599['id'],'ChatWebsiteId':_0x7c81f8['id']});}})['then'](function(_0x588233){_0x5bb685=_0x588233;if(_0x2738cd[_0x4f88('0x3d')]){var _0x937538=_0x2738cd[_0x4f88('0x32')](function(_0x169bf3){return{'name':_0x169bf3[_0x4f88('0xcd')],'basename':_0x169bf3[_0x4f88('0x6c')],'type':_0x169bf3[_0x4f88('0xce')],'ChatOfflineMessageId':_0x588233['id']};});_0x19ab39=_0x937538['map'](_0xeaf64a=>{var _0x1d2081={'filename':_0xeaf64a[_0x4f88('0x2d')],'path':path[_0x4f88('0x74')](config['root'],_0x4f88('0xcf'),_0x4f88('0xd0'),_0x4f88('0xd1'),_0x4f88('0xd2'),_0xeaf64a[_0x4f88('0xd3')])};return _0x1d2081;});if(!_0x7c81f8[_0x4f88('0xd4')]){return db[_0x4f88('0xd5')]['transaction'](function(_0x4092e7){return db[_0x4f88('0xd6')][_0x4f88('0xd7')](_0x937538,{'transaction':_0x4092e7});});}}})[_0x4f88('0x15')](function(){if(_0x5bb685){_0x11a925=_0x5bb685;return db[_0x4f88('0xc5')][_0x4f88('0x59')]({'where':{'service':!![]},'include':[{'model':db['MailServerOut'],'as':_0x4f88('0xd8'),'raw':!![],'include':[{'model':db[_0x4f88('0xd9')],'as':_0x4f88('0xd9'),'raw':!![]}]}]});}})[_0x4f88('0x15')](function(_0x27bac4){if(_0x27bac4&&_0x27bac4[_0x4f88('0xd8')]&&_0x7c81f8[_0x4f88('0xda')]&&_0x7c81f8[_0x4f88('0xdb')]){var _0x3c9472=_0x27bac4[_0x4f88('0xdc')]();return respondWithRpcPromise(_0x4f88('0xdd'),_0x4f88('0xde'),{'account':_0x3c9472,'message':{'from':util[_0x4f88('0xdf')](_0x4f88('0xe0'),_0x27bac4[_0x4f88('0x2d')],_0x27bac4[_0x4f88('0xe1')]||_0x27bac4['Smtp'][_0x4f88('0x50')]),'to':_0x7c81f8[_0x4f88('0xdb')],'subject':_0x7c81f8[_0x4f88('0xe2')],'html':_0x11a925['body'],'attachments':_0x19ab39}},client9003)[_0x4f88('0x15')](function(){return _0x11a925;})[_0x4f88('0x1f')](function(_0x3380be){logger[_0x4f88('0x1a')](_0x3380be);});}})[_0x4f88('0x15')](function(){if(_0x7c81f8&&_0x7c81f8[_0x4f88('0xd4')]&&_0x7c81f8[_0x4f88('0xe3')]){var _0x18a7a4=[];if(_0x2738cd['length']){_0x18a7a4=_0x2738cd[_0x4f88('0x32')](function(_0x2fea3a){return{'name':_0x2fea3a[_0x4f88('0xcd')],'basename':_0x2fea3a[_0x4f88('0x6c')],'type':_0x2fea3a['mimetype'],'ChatOfflineMessageId':_0x5bb685['id']};});}var _0x3d934f;if(!_['isNil'](_0x7c81f8[_0x4f88('0xe4')])){var _0x120714=_['map'](_0x4a1f13[_0x4f88('0x4d')],function(_0x180b01){return _0x180b01;});var _0x4aa534=_[_0x4f88('0xe5')](_0x120714)[0x0];var _0x3454a7=_['mapValues'](_0x4aa534,function(_0x541002){return _0x541002;});_0x3d934f=_0x3454a7[0x1][_0x7c81f8['subjectOffline']];}var _0x21437f={'from':_0x3dedd1['email'],'firstName':_0x3dedd1[_0x4f88('0xe6')],'lastName':_0x3dedd1[_0x4f88('0xa1')],'mapKey':'email','message':{'from':_0x3dedd1[_0x4f88('0xe1')],'to':_0x7c81f8[_0x4f88('0xc5')][_0x4f88('0xe1')],'cc':'','subject':_[_0x4f88('0x72')](_0x3d934f)?_0x7c81f8['offlineMessageSubject']:_0x3d934f,'messageId':'','sentAt':new Date(),'attach':_0x18a7a4['length'],'attachments':_0x18a7a4,'originChannel':'Chat','ChatWebsiteId':_0x7c81f8['id'],'ChatOfflineMessageId':_0x11a925['id'],'originTo':_0x7c81f8[_0x4f88('0xc5')][_0x4f88('0xe1')]},'body':_0x11a925[_0x4f88('0x4d')]};var _0x1860f0={'account':{'id':_0x7c81f8[_0x4f88('0xe3')]},'body':_0x21437f,'log':_0x4f88('0xe7')};return respondWithRpcPromise('NotifyMailAccount','notifyMail',_0x1860f0,client9001)[_0x4f88('0x15')](function(){return _0x11a925;})[_0x4f88('0x1f')](function(_0x819030){logger['error'](_0x819030);});}return;})['then'](function(){if(_0x11a925){return _0x11a925;}})[_0x4f88('0x15')](respondWithResult(_0x3eac5e,null))[_0x4f88('0x1f')](function(_0x47e802){logger[_0x4f88('0x1a')](_0x4f88('0x1f'),_0x47e802);for(var _0x3c4cf5 of _0x2738cd){var _0x3662cb=path[_0x4f88('0x74')](config[_0x4f88('0x75')],'server','files','attachments','offline-chat',_0x3c4cf5[_0x4f88('0x6c')]);fs_extra[_0x4f88('0xe8')](_0x3662cb)['catch'](function(_0xc5b9a){logger['error'](_0x4f88('0xe9'),_0x3662cb,_0xc5b9a);});}});};exports[_0x4f88('0xea')]=function(_0x465031,_0x37d3e0){return db[_0x4f88('0xad')][_0x4f88('0x4b')]({'where':{'id':_0x465031[_0x4f88('0x4a')]['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x37d3e0,null))[_0x4f88('0x15')](function(_0x1eefa8){if(_0x1eefa8){return _0x1eefa8[_0x4f88('0xea')](_0x465031[_0x4f88('0x4d')][_0x4f88('0x5f')],_[_0x4f88('0xeb')](_0x465031[_0x4f88('0x4d')],[_0x4f88('0x5f'),'id'])||{});}})[_0x4f88('0x15')](respondWithResult(_0x37d3e0,null))[_0x4f88('0x1f')](handleError(_0x37d3e0,null));};exports[_0x4f88('0xec')]=function(_0x283411,_0x3f0b0b){var _0x259734={'raw':![],'where':{}};var _0x21e8f4={};var _0x3cb98d={'count':0x0,'rows':[]};return db['ChatWebsite'][_0x4f88('0x59')]({'where':{'id':_0x283411[_0x4f88('0x4a')]['id']}})['then'](handleEntityNotFound(_0x3f0b0b,null))[_0x4f88('0x15')](function(_0x42f45b){if(_0x42f45b){_0x21e8f4[_0x4f88('0x36')]=_[_0x4f88('0x38')](db['ChatInteraction'][_0x4f88('0x34')]);_0x21e8f4['query']=_[_0x4f88('0x38')](_0x283411[_0x4f88('0x37')]);_0x21e8f4[_0x4f88('0x39')]=_[_0x4f88('0x3a')](_0x21e8f4['model'],_0x21e8f4[_0x4f88('0x37')]);_0x259734[_0x4f88('0x3b')]=_[_0x4f88('0x3a')](_0x21e8f4[_0x4f88('0x36')],qs[_0x4f88('0x3c')](_0x283411[_0x4f88('0x37')][_0x4f88('0x3c')]));_0x259734[_0x4f88('0x3b')]=_0x259734['attributes'][_0x4f88('0x3d')]?_0x259734[_0x4f88('0x3b')]:_0x21e8f4[_0x4f88('0x36')];if(!_0x283411[_0x4f88('0x37')][_0x4f88('0x5a')](_0x4f88('0x5b'))){_0x259734[_0x4f88('0x24')]=qs[_0x4f88('0x24')](_0x283411[_0x4f88('0x37')][_0x4f88('0x24')]);_0x259734[_0x4f88('0x26')]=qs[_0x4f88('0x26')](_0x283411['query']['offset']);}_0x259734[_0x4f88('0x5c')]=qs['sort'](_0x283411['query'][_0x4f88('0x3e')]);_0x259734['where']=qs[_0x4f88('0x39')](_[_0x4f88('0x63')](_0x283411['query'],_0x21e8f4[_0x4f88('0x39')]));_0x259734[_0x4f88('0x3f')][_0x4f88('0x5d')]=_0x42f45b['id'];if(_0x283411[_0x4f88('0x37')][_0x4f88('0x40')]){_0x259734[_0x4f88('0x3f')]=_[_0x4f88('0x43')](_0x259734[_0x4f88('0x3f')],{'$or':_['map'](_0x259734[_0x4f88('0x3b')],function(_0x36087f){var _0x54538f={};_0x54538f[_0x36087f]={'$like':'%'+_0x283411[_0x4f88('0x37')][_0x4f88('0x40')]+'%'};return _0x54538f;})});}_0x259734=_[_0x4f88('0x43')]({},_0x259734,_0x283411[_0x4f88('0x44')]);return db['ChatInteraction'][_0x4f88('0x25')]({'where':_0x259734['where']})[_0x4f88('0x15')](function(_0x40317e){_0x3cb98d[_0x4f88('0x25')]=_0x40317e;if(_0x283411['query']['includeAll']){_0x259734[_0x4f88('0x46')]=[{'model':db[_0x4f88('0x94')],'as':_0x4f88('0xed'),'required':![]},{'model':db[_0x4f88('0xb9')],'as':_0x4f88('0xee'),'attributes':[_0x4f88('0x2d'),_0x4f88('0xef'),'internal'],'required':![]},{'model':db[_0x4f88('0xf0')],'as':_0x4f88('0xf1'),'attributes':['id',_0x4f88('0x2d'),_0x4f88('0xf2')],'where':_0x283411['query'][_0x4f88('0xf3')]?{'id':_0x283411[_0x4f88('0x37')][_0x4f88('0xf3')]}:undefined,'required':_0x283411[_0x4f88('0x37')][_0x4f88('0xf3')]?!![]:![]}];}return db[_0x4f88('0xad')][_0x4f88('0x47')](_0x259734);})['then'](function(_0x4b157e){_0x3cb98d['rows']=_0x4b157e;return _0x3cb98d;});}})[_0x4f88('0x15')](respondWithFilteredResult(_0x3f0b0b,_0x259734))[_0x4f88('0x1f')](handleError(_0x3f0b0b,null));};function iftimePromise(_0x4fd0f3,_0x164d66){return respondWithRpcPromise(_0x4f88('0xf4'),_0x4f88('0xf5'),{'command':_0x164d66[_0x4f88('0xf6')]?util[_0x4f88('0xdf')]('iftime\x20%s,%s',_0x4fd0f3['interval'],_0x164d66['timezone']):util[_0x4f88('0xdf')](_0x4f88('0xf7'),_0x4fd0f3[_0x4f88('0xf8')])},client9002)['then'](function(_0x3455a6){var _0xd1e40e=_0x3455a6&&_0x3455a6[_0x4f88('0xf9')](_0x4f88('0xfa'))>=0x0?!![]:![];logger[_0x4f88('0x16')](_0x4f88('0xfb'),_0x164d66['id'],_0x4fd0f3['id'],_0x4fd0f3[_0x4f88('0xf8')],_0xd1e40e?_0x4f88('0xfc'):_0x4f88('0xfd'),_0x164d66['timezone']?_0x164d66[_0x4f88('0xf6')]:_0x4f88('0xfe'));return _0xd1e40e;})['catch'](function(_0x11ca72){logger[_0x4f88('0x1a')]('[%s][INTERVAL][%s]\x20%s\x20%s\x20(%s)',_0x164d66['id'],_0x4fd0f3['id'],_0x4fd0f3[_0x4f88('0xf8')],util['inspect'](_0x11ca72,{'showHidden':![],'depth':null}),_0x164d66[_0x4f88('0xf6')]?_0x164d66[_0x4f88('0xf6')]:_0x4f88('0xfe'));return![];});}exports[_0x4f88('0xf5')]=function(_0x470b86,_0xc4bf6e){var _0xbf2ae9=0x0;var _0x460d02=0x0;var _0x480383=![];var _0x451ea5;var _0x2c11fa;return db[_0x4f88('0x33')][_0x4f88('0x4b')]({'where':{'id':_0x470b86['params']['id']},'include':[{'model':db[_0x4f88('0xff')],'as':_0x4f88('0xff'),'include':[{'model':db['Interval'],'as':_0x4f88('0x100'),'attributes':['id','interval'],'raw':!![]}]}]})[_0x4f88('0x15')](handleEntityNotFound(_0xc4bf6e,null))[_0x4f88('0x15')](function(_0x4effd7){if(_0x4effd7){_0x451ea5=_0x4effd7;return _0x4effd7[_0x4f88('0x101')]({'raw':!![]});}})[_0x4f88('0x15')](function(_0x2d26ef){if(_0x451ea5){if(_0x2d26ef){_0x2c11fa=_0x2d26ef;}}return require('../../config/license/util')[_0x4f88('0x70')]();})['then'](function(_0x752246){if(_0x752246){_0x460d02=_0x752246['virtual'];_0x480383=_0x752246[_0x4f88('0x71')];}})[_0x4f88('0x15')](function(){return db[_0x4f88('0xad')][_0x4f88('0x25')]({'where':{'closed':![]}});})['then'](function(_0x30873f){_0xbf2ae9=_0x30873f;if(_0x460d02&&_0x30873f>_0x460d02){return db[_0x4f88('0x102')][_0x4f88('0x59')]({'where':{'id':0x1}})[_0x4f88('0x15')](function(_0x3a21cc){if(_0x3a21cc){_0x3a21cc[_0x4f88('0x103')](_0x4f88('0x104'));}});}})[_0x4f88('0x15')](function(){if(_0x451ea5[_0x4f88('0xff')]&&_0x451ea5['Interval'][_0x4f88('0x100')]){var _0x40a52d=[];for(var _0x4f8a02=0x0;_0x4f8a02<_0x451ea5['Interval'][_0x4f88('0x100')]['length'];_0x4f8a02++){var _0x584d21=_0x451ea5[_0x4f88('0xff')][_0x4f88('0x100')][_0x4f8a02]['get']({'plain':!![]});_0x40a52d[_0x4f88('0xb2')](iftimePromise(_0x584d21,_0x451ea5));}return BPromise[_0x4f88('0x105')](_0x40a52d)[_0x4f88('0x15')](function(_0x20caab){return _[_0x4f88('0x106')](_0x20caab);});}else{return!![];}})[_0x4f88('0x15')](function(_0x25faba){var _0x13641e=fs[_0x4f88('0xc7')](path[_0x4f88('0x74')](config[_0x4f88('0x75')],_0x4f88('0x107')),_0x4f88('0xc8'));var _0x353562={'remote':_0x451ea5['remote'],'query':querystring[_0x4f88('0xab')](_['merge'](_0x451ea5['get']({'plain':!![]}),{'customerIp':_0x470b86['headers'][_0x4f88('0x9f')]||_0x470b86[_0x4f88('0x82')][_0x4f88('0x108')]||_0x470b86[_0x4f88('0x109')][_0x4f88('0x10a')]||_0x470b86['ip'],'referer':_0x470b86[_0x4f88('0x82')]['referer'],'openedInteractions':_0xbf2ae9,'maxInteractions':_0x460d02,'virtual':_0x480383[_0x4f88('0x10b')],'online':_0x25faba,'custom':_0x480383}))['replace'](/'/g,'\x5c\x27')};_0xc4bf6e[_0x4f88('0x2e')](ejs[_0x4f88('0xc9')](Mustache[_0x4f88('0xc9')](_0x13641e,_0x353562),{'proactiveActions':_0x2c11fa,'alignment':_0x451ea5[_0x4f88('0x10c')],'verticalAlignment':_0x451ea5['verticalAlignment'],'div_color':_0x451ea5[_0x4f88('0xf2')],'labelText':_0x451ea5[_0x4f88('0x10d')],'text_color':_0x451ea5[_0x4f88('0x10e')],'text_button_color':_0x451ea5[_0x4f88('0x10f')],'button_color':_0x451ea5[_0x4f88('0x110')],'background_color':_0x451ea5[_0x4f88('0x111')],'hideWhenOffline':_0x451ea5['hideWhenOffline'],'interval':_0x451ea5[_0x4f88('0x112')]}));})[_0x4f88('0x1f')](handleError(_0xc4bf6e,null));};exports[_0x4f88('0x113')]=function(_0x1d5849,_0x14e6fa){var _0xc63c9f=_0x1d5849[_0x4f88('0x4a')]['id'];var _0x47548e=_0x1d5849[_0x4f88('0x4d')];var _0x1fe623=0xc8;var _0x3f1aff=null;return db[_0x4f88('0xd5')]['transaction']({'isolationLevel':db[_0x4f88('0xd5')]['Transaction'][_0x4f88('0x114')][_0x4f88('0x115')]},function(_0xc6f760){return db['ChatWebsite']['findOne']({'where':{'id':_0xc63c9f},'transaction':_0xc6f760})[_0x4f88('0x15')](function(_0x4f2160){if(_0x4f2160){return db[_0x4f88('0x116')][_0x4f88('0x29')]({'where':{'ChatWebsiteId':_0xc63c9f},'transaction':_0xc6f760})[_0x4f88('0x15')](function(){var _0x241fd3=_['map'](_0x47548e,function(_0xe05be9){_0xe05be9[_0x4f88('0x5d')]=_0xc63c9f;return _0xe05be9;});return db[_0x4f88('0x116')][_0x4f88('0xd7')](_0x241fd3,{'transaction':_0xc6f760});});}else{_0x1fe623=0x194;_0x3f1aff=[];}});})['then'](function(){if(_0x1fe623!==0x194){return db[_0x4f88('0x116')][_0x4f88('0x117')]({'where':{'ChatWebsiteId':_0xc63c9f},'order':'priority'})[_0x4f88('0x15')](function(_0x20dfe6){_0x3f1aff=_0x20dfe6;});}})[_0x4f88('0x1f')](function(_0x1b3fd1){_0x1fe623=0x1f4;logger[_0x4f88('0x1a')](_0x1b3fd1['stack']);if(_0x1b3fd1[_0x4f88('0x2d')]){delete _0x1b3fd1['name'];}_0x3f1aff=_0x1b3fd1;})[_0x4f88('0x118')](function(){if(_0x3f1aff===null){_0x14e6fa[_0x4f88('0x20')](_0x1fe623);}else{if(_0x1fe623===0x1f4){_0x14e6fa['status'](_0x1fe623)[_0x4f88('0x2e')](_0x3f1aff);}else{_0x14e6fa[_0x4f88('0x21')](_0x1fe623)[_0x4f88('0x23')](_0x3f1aff);}}});};exports['getApplications']=function(_0x3ac4ba,_0x3761cf){var _0x34c9b6={};var _0x3644c2={};var _0x2f9175;var _0x53ea7b;return db[_0x4f88('0x33')][_0x4f88('0x59')]({'where':{'id':_0x3ac4ba[_0x4f88('0x4a')]['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x3761cf,null))[_0x4f88('0x15')](function(_0x18961e){if(_0x18961e){_0x2f9175=_0x18961e;_0x3644c2[_0x4f88('0x36')]=_[_0x4f88('0x38')](db[_0x4f88('0x116')][_0x4f88('0x34')]);_0x3644c2[_0x4f88('0x37')]=_[_0x4f88('0x38')](_0x3ac4ba['query']);_0x3644c2[_0x4f88('0x39')]=_[_0x4f88('0x3a')](_0x3644c2['model'],_0x3644c2[_0x4f88('0x37')]);_0x34c9b6['attributes']=_[_0x4f88('0x3a')](_0x3644c2[_0x4f88('0x36')],qs['fields'](_0x3ac4ba[_0x4f88('0x37')][_0x4f88('0x3c')]));_0x34c9b6[_0x4f88('0x3b')]=_0x34c9b6[_0x4f88('0x3b')]['length']?_0x34c9b6[_0x4f88('0x3b')]:_0x3644c2[_0x4f88('0x36')];_0x34c9b6[_0x4f88('0x5c')]=qs['sort'](_0x3ac4ba['query'][_0x4f88('0x3e')]);_0x34c9b6['where']=qs[_0x4f88('0x39')](_[_0x4f88('0x63')](_0x3ac4ba[_0x4f88('0x37')],_0x3644c2['filters']));if(_0x3ac4ba[_0x4f88('0x37')]['filter']){_0x34c9b6['where']=_['merge'](_0x34c9b6['where'],{'$or':_[_0x4f88('0x32')](_0x34c9b6[_0x4f88('0x3b')],function(_0x596fff){var _0x35a941={};_0x35a941[_0x596fff]={'$like':'%'+_0x3ac4ba[_0x4f88('0x37')][_0x4f88('0x40')]+'%'};return _0x35a941;})});}_0x34c9b6=_[_0x4f88('0x43')]({},_0x34c9b6,_0x3ac4ba[_0x4f88('0x44')]);return _0x2f9175[_0x4f88('0x119')](_0x34c9b6);}})['then'](function(_0x3a8dce){if(_0x3a8dce){_0x53ea7b=_0x3a8dce['length'];if(!_0x3ac4ba[_0x4f88('0x37')][_0x4f88('0x5a')](_0x4f88('0x5b'))){_0x34c9b6['limit']=qs['limit'](_0x3ac4ba[_0x4f88('0x37')][_0x4f88('0x24')]);_0x34c9b6[_0x4f88('0x26')]=qs['offset'](_0x3ac4ba[_0x4f88('0x37')][_0x4f88('0x26')]);}return _0x2f9175[_0x4f88('0x119')](_0x34c9b6);}})[_0x4f88('0x15')](function(_0x3a4457){if(_0x3a4457){return _0x3a4457?{'count':_0x53ea7b,'rows':_0x3a4457}:null;}})[_0x4f88('0x15')](respondWithResult(_0x3761cf,null))['catch'](handleError(_0x3761cf,null));};exports[_0x4f88('0x11a')]=function(_0x4414b1,_0x1f2aaa){return db[_0x4f88('0x11b')][_0x4f88('0x4b')]({'where':{'id':_0x4414b1[_0x4f88('0x4a')]['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x1f2aaa,null))['then'](function(_0x2ab349){if(_0x2ab349){return _0x2ab349['addProactiveActions'](_0x4414b1[_0x4f88('0x4d')]['ids'],_[_0x4f88('0xeb')](_0x4414b1[_0x4f88('0x4d')],[_0x4f88('0x5f'),'id'])||{});}})[_0x4f88('0x15')](respondWithResult(_0x1f2aaa,null))[_0x4f88('0x1f')](handleError(_0x1f2aaa,null));};exports[_0x4f88('0x101')]=function(_0xc8e140,_0x427c99){var _0x42209f={};var _0x38970b={};var _0x3646f6;var _0x14739f;return db[_0x4f88('0x33')][_0x4f88('0x59')]({'where':{'id':_0xc8e140[_0x4f88('0x4a')]['id']}})['then'](handleEntityNotFound(_0x427c99,null))[_0x4f88('0x15')](function(_0xae11a2){if(_0xae11a2){_0x3646f6=_0xae11a2;_0x38970b[_0x4f88('0x36')]=_[_0x4f88('0x38')](db['ChatProactiveAction'][_0x4f88('0x34')]);_0x38970b[_0x4f88('0x37')]=_[_0x4f88('0x38')](_0xc8e140[_0x4f88('0x37')]);_0x38970b[_0x4f88('0x39')]=_[_0x4f88('0x3a')](_0x38970b[_0x4f88('0x36')],_0x38970b[_0x4f88('0x37')]);_0x42209f[_0x4f88('0x3b')]=_[_0x4f88('0x3a')](_0x38970b['model'],qs['fields'](_0xc8e140[_0x4f88('0x37')][_0x4f88('0x3c')]));_0x42209f[_0x4f88('0x3b')]=_0x42209f[_0x4f88('0x3b')]['length']?_0x42209f['attributes']:_0x38970b[_0x4f88('0x36')];_0x42209f[_0x4f88('0x5c')]=qs[_0x4f88('0x3e')](_0xc8e140[_0x4f88('0x37')][_0x4f88('0x3e')]);_0x42209f[_0x4f88('0x3f')]=qs[_0x4f88('0x39')](_[_0x4f88('0x63')](_0xc8e140[_0x4f88('0x37')],_0x38970b[_0x4f88('0x39')]));if(_0xc8e140[_0x4f88('0x37')][_0x4f88('0x40')]){_0x42209f['where']=_[_0x4f88('0x43')](_0x42209f['where'],{'$or':_[_0x4f88('0x32')](_0x42209f[_0x4f88('0x3b')],function(_0x38aff2){var _0x2ce01d={};_0x2ce01d[_0x38aff2]={'$like':'%'+_0xc8e140[_0x4f88('0x37')][_0x4f88('0x40')]+'%'};return _0x2ce01d;})});}_0x42209f=_['merge']({},_0x42209f,_0xc8e140['options']);return _0x3646f6[_0x4f88('0x101')](_0x42209f);}})[_0x4f88('0x15')](function(_0x46c18a){if(_0x46c18a){_0x14739f=_0x46c18a[_0x4f88('0x3d')];if(!_0xc8e140['query']['hasOwnProperty'](_0x4f88('0x5b'))){_0x42209f[_0x4f88('0x24')]=qs[_0x4f88('0x24')](_0xc8e140[_0x4f88('0x37')][_0x4f88('0x24')]);_0x42209f['offset']=qs[_0x4f88('0x26')](_0xc8e140[_0x4f88('0x37')]['offset']);}return _0x3646f6[_0x4f88('0x101')](_0x42209f);}})[_0x4f88('0x15')](function(_0x33f01d){if(_0x33f01d){return _0x33f01d?{'count':_0x14739f,'rows':_0x33f01d}:null;}})[_0x4f88('0x15')](respondWithResult(_0x427c99,null))[_0x4f88('0x1f')](handleError(_0x427c99,null));};exports[_0x4f88('0x11c')]=function(_0x405dde,_0x202f2c){var _0x5e0daa=_0x405dde[_0x4f88('0x37')]['online']===_0x4f88('0x11d')?_0x4f88('0x11e'):'onlineForm';return db[_0x4f88('0x33')][_0x4f88('0x4b')]({'attributes':['id',_0x5e0daa],'where':{'id':_0x405dde['params']['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x202f2c,null))[_0x4f88('0x15')](function(_0x5562dd){if(_0x5562dd){var _0x1aee40=_0x5562dd[_0x5e0daa];var _0x51cb85=_0x1aee40&&_0x1aee40['items']?_0x1aee40[_0x4f88('0x11f')]:[];_0x202f2c['send']({'fromKey':_[_0x4f88('0x72')](_0x1aee40['fromKey'])?undefined:_0x1aee40['fromKey'],'count':_0x51cb85[_0x4f88('0x3d')],'rows':_0x51cb85});}})[_0x4f88('0x1f')](handleError(_0x202f2c,null));};exports['getOfflineMessages']=function(_0x4ded13,_0x170073){var _0x21deec={'raw':![],'where':{}};var _0x5ba917={};var _0x33c0ef={'count':0x0,'rows':[]};return db['ChatWebsite']['findOne']({'where':{'id':_0x4ded13[_0x4f88('0x4a')]['id']}})['then'](handleEntityNotFound(_0x170073,null))[_0x4f88('0x15')](function(_0x261c48){if(_0x261c48){_0x5ba917['model']=_[_0x4f88('0x38')](db[_0x4f88('0xcc')][_0x4f88('0x34')]);_0x5ba917['query']=_['keys'](_0x4ded13[_0x4f88('0x37')]);_0x5ba917['filters']=_['intersection'](_0x5ba917[_0x4f88('0x36')],_0x5ba917['query']);_0x21deec['attributes']=_[_0x4f88('0x3a')](_0x5ba917[_0x4f88('0x36')],qs[_0x4f88('0x3c')](_0x4ded13[_0x4f88('0x37')][_0x4f88('0x3c')]));_0x21deec[_0x4f88('0x3b')]=_0x21deec[_0x4f88('0x3b')][_0x4f88('0x3d')]?_0x21deec[_0x4f88('0x3b')]:_0x5ba917[_0x4f88('0x36')];if(!_0x4ded13[_0x4f88('0x37')][_0x4f88('0x5a')](_0x4f88('0x5b'))){_0x21deec['limit']=qs['limit'](_0x4ded13[_0x4f88('0x37')][_0x4f88('0x24')]);_0x21deec[_0x4f88('0x26')]=qs['offset'](_0x4ded13[_0x4f88('0x37')]['offset']);}_0x21deec[_0x4f88('0x5c')]=qs[_0x4f88('0x3e')](_0x4ded13[_0x4f88('0x37')]['sort']);_0x21deec['where']=qs[_0x4f88('0x39')](_[_0x4f88('0x63')](_0x4ded13[_0x4f88('0x37')],_0x5ba917[_0x4f88('0x39')]));_0x21deec[_0x4f88('0x3f')][_0x4f88('0x5d')]=_0x261c48['id'];if(_0x4ded13[_0x4f88('0x37')][_0x4f88('0x40')]){_0x21deec[_0x4f88('0x3f')]=_[_0x4f88('0x43')](_0x21deec[_0x4f88('0x3f')],{'$or':_[_0x4f88('0x32')](_0x21deec[_0x4f88('0x3b')],function(_0x20c522){var _0x585822={};_0x585822[_0x20c522]={'$like':'%'+_0x4ded13[_0x4f88('0x37')][_0x4f88('0x40')]+'%'};return _0x585822;})});}_0x21deec=_['merge']({},_0x21deec,_0x4ded13[_0x4f88('0x44')]);return db[_0x4f88('0xcc')]['count']({'where':_0x21deec[_0x4f88('0x3f')]})['then'](function(_0x46f90d){_0x33c0ef[_0x4f88('0x25')]=_0x46f90d;if(_0x4ded13[_0x4f88('0x37')][_0x4f88('0x45')]){_0x21deec[_0x4f88('0x46')]=[{'all':!![]}];}else{_0x21deec[_0x4f88('0x46')]=[{'model':db[_0x4f88('0x94')],'as':_0x4f88('0xed'),'required':![]},{'model':db[_0x4f88('0xd6')],'as':_0x4f88('0x120'),'required':![]}];}return db[_0x4f88('0xcc')]['findAll'](_0x21deec);})[_0x4f88('0x15')](function(_0x2a0e01){_0x33c0ef[_0x4f88('0x48')]=_0x2a0e01;return _0x33c0ef;});}})[_0x4f88('0x15')](respondWithFilteredResult(_0x170073,_0x21deec))[_0x4f88('0x1f')](handleError(_0x170073,null));};exports['addAgents']=function(_0x255d38,_0x772cd7){return db[_0x4f88('0x33')][_0x4f88('0x4b')]({'where':{'id':_0x255d38['params']['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x772cd7,null))['then'](function(_0x35d3d7){if(_0x35d3d7){return _0x35d3d7[_0x4f88('0x121')](_0x255d38['body'][_0x4f88('0x5f')],_[_0x4f88('0xeb')](_0x255d38['body'],['ids','id'])||{})[_0x4f88('0x122')](function(_0xd24f95){for(var _0x41a270=0x0;_0x41a270<_0x255d38['body'][_0x4f88('0x5f')]['length'];_0x41a270+=0x1){socket['emit']('userChatWebsite:save',{'UserId':Number(_0x255d38['body']['ids'][_0x41a270]),'ChatWebsiteId':Number(_0x255d38[_0x4f88('0x4a')]['id'])});}return _0xd24f95;});}})[_0x4f88('0x15')](respondWithResult(_0x772cd7,null))['catch'](handleError(_0x772cd7,null));};exports[_0x4f88('0x123')]=function(_0x58ceab,_0x32d5d1){return db[_0x4f88('0x33')][_0x4f88('0x4b')]({'where':{'id':_0x58ceab[_0x4f88('0x4a')]['id']}})[_0x4f88('0x15')](handleEntityNotFound(_0x32d5d1,null))[_0x4f88('0x15')](function(_0x30bb1e){if(_0x30bb1e){return _0x30bb1e[_0x4f88('0x123')](_0x58ceab[_0x4f88('0x37')][_0x4f88('0x5f')])[_0x4f88('0x15')](function(){if(_['isArray'](_0x58ceab[_0x4f88('0x37')][_0x4f88('0x5f')])){for(var _0x2158c0=0x0;_0x2158c0<_0x58ceab['query'][_0x4f88('0x5f')]['length'];_0x2158c0+=0x1){socket['emit'](_0x4f88('0x124'),{'UserId':Number(_0x58ceab[_0x4f88('0x37')][_0x4f88('0x5f')][_0x2158c0]),'ChatWebsiteId':Number(_0x58ceab[_0x4f88('0x4a')]['id'])});}}else{socket[_0x4f88('0x125')](_0x4f88('0x124'),{'UserId':Number(_0x58ceab[_0x4f88('0x37')][_0x4f88('0x5f')]),'ChatWebsiteId':Number(_0x58ceab[_0x4f88('0x4a')]['id'])});}});}})[_0x4f88('0x15')](respondWithStatusCode(_0x32d5d1,null))[_0x4f88('0x1f')](handleError(_0x32d5d1,null));};exports['getAgents']=function(_0x327d77,_0x10df22){var _0x2018fe={};var _0x11fc62={};var _0x997b4;var _0x3bf2e9;return db[_0x4f88('0x33')][_0x4f88('0x59')]({'where':{'id':_0x327d77['params']['id']}})['then'](handleEntityNotFound(_0x10df22,null))['then'](function(_0x3bdcdd){if(_0x3bdcdd){_0x997b4=_0x3bdcdd;_0x11fc62['model']=_[_0x4f88('0x38')](db['User'][_0x4f88('0x34')]);_0x11fc62[_0x4f88('0x37')]=_[_0x4f88('0x38')](_0x327d77['query']);_0x11fc62[_0x4f88('0x39')]=_[_0x4f88('0x3a')](_0x11fc62[_0x4f88('0x36')],_0x11fc62[_0x4f88('0x37')]);_0x2018fe['attributes']=_[_0x4f88('0x3a')](_0x11fc62[_0x4f88('0x36')],qs[_0x4f88('0x3c')](_0x327d77[_0x4f88('0x37')][_0x4f88('0x3c')]));_0x2018fe[_0x4f88('0x3b')]=_0x2018fe[_0x4f88('0x3b')]['length']?_0x2018fe[_0x4f88('0x3b')]:_0x11fc62['model'];_0x2018fe[_0x4f88('0x5c')]=qs[_0x4f88('0x3e')](_0x327d77[_0x4f88('0x37')][_0x4f88('0x3e')]);_0x2018fe['where']=qs[_0x4f88('0x39')](_[_0x4f88('0x63')](_0x327d77[_0x4f88('0x37')],_0x11fc62[_0x4f88('0x39')]));if(_0x327d77['query'][_0x4f88('0x40')]){_0x2018fe['where']=_[_0x4f88('0x43')](_0x2018fe['where'],{'$or':_[_0x4f88('0x32')](_0x2018fe[_0x4f88('0x3b')],function(_0x5f3b3c){var _0x2db84d={};_0x2db84d[_0x5f3b3c]={'$like':'%'+_0x327d77[_0x4f88('0x37')][_0x4f88('0x40')]+'%'};return _0x2db84d;})});}_0x2018fe=_[_0x4f88('0x43')]({},_0x2018fe,_0x327d77[_0x4f88('0x44')]);return _0x997b4[_0x4f88('0x126')](_0x2018fe);}})[_0x4f88('0x15')](function(_0x1e6827){if(_0x1e6827){_0x3bf2e9=_0x1e6827[_0x4f88('0x3d')];if(!_0x327d77[_0x4f88('0x37')][_0x4f88('0x5a')](_0x4f88('0x5b'))){_0x2018fe[_0x4f88('0x24')]=qs[_0x4f88('0x24')](_0x327d77[_0x4f88('0x37')]['limit']);_0x2018fe[_0x4f88('0x26')]=qs[_0x4f88('0x26')](_0x327d77[_0x4f88('0x37')][_0x4f88('0x26')]);}return _0x997b4[_0x4f88('0x126')](_0x2018fe);}})[_0x4f88('0x15')](function(_0x58f2f6){if(_0x58f2f6){return _0x58f2f6?{'count':_0x3bf2e9,'rows':_0x58f2f6}:null;}})[_0x4f88('0x15')](respondWithResult(_0x10df22,null))['catch'](handleError(_0x10df22,null));};
\ No newline at end of file
+var _0x5f11=['end','offset','undefined','limit','count','Content-Range','json','update','destroy','UserProfileResource','stack','name','send','index','Pause','mandatoryDispositionPause','map','ChatWebsite','rawAttributes','fieldName','type','key','model','query','filters','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','VIRTUAL','options','include','findAll','catch','show','params','keys','intersection','includeAll','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','get','ChatWebsites','UserProfileSection','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','describe','addDisposition','ChatWebsiteId','getDispositions','Disposition','filter','merge','rows','removeDispositions','ids','addAnswer','CannedAnswer','getAnswers','removeAnswers','addLogo','sitepic','file','filename','agentAvatar','addCustomerAvatar','customerAvatar','addSystemAvatar','systemAvatar','getLogo','root','custom','existsSync','join','server/files/images/logos/','getAvatar','isNil','server/files/images/avatars/','download','getCustomerAvatar','showCustomerAvatar','server/files/images/avatars/system_avatar.png','notify','headers','user-agent','getResult','Sequelize','ValidationError','difference','createdAt','updatedAt','CompanyId','ListId','from','from\x20is\x20mandatory','mapKey','mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','CmList','List','CmContact','Contacts','DESC','ChatApplication','Applications','account','applications','list','orderBy','priority','contact','customerIp','cf-connecting-ip','x-forwarded-for','first','split','lastName','x-real-port','browser','version','format','unknown','%s\x20%s','device','vendor','%s\x20%s\x20%s','threadId','ChatInteraction','externalUrl','ContactId','interaction','spread','firstName','messageId','created','autoclose','push','close','unmanaged','*,*,*,*','ChatMessage','UserId','User','unshift','agent','forcedOwnership','Start','startRouting','EventManager','files','no\x20available\x20attributes','body\x20is\x20mandatory\x20and\x20not\x20empty','mapKeyOffline','mapKeyOffline\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','includes','mapKeyOffline\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','MailAccount','findOrCreate','server/files/templates/chatOfflineMessage.ejs','toPairs','offlineMessageBody','ChatOfflineMessage','attachments','offline-chat','basename','openNewInteraction','transaction','Attachment','Smtp','CloudProvider','getSmtpOptions','SendMail','\x22%s\x22\x20<%s>','forwardOfflineAddress','offlineMessageSubject','originalname','mimetype','mapValues','email','Chat','MailAccountId','NotifyMailAccount','notifyMail','server','Could\x20not\x20remove\x20attachment\x20file','addInteraction','getInteractions','findOne','fullname','internal','Tags','color','tag','Command','getSnippet','timezone','iftime\x20%s,%s','iftime\x20%s','interval','indexOf','true','[%s][INTERVAL][%s]\x20%s\x20%s\x20(%s)','ONLINE','OFFLINE','No\x20timezone','Interval','Intervals','getProactiveActions','../../config/license/util','increment','chatLicenseExceeded','all','some','readFileSync','server/files/chat/iframe.ejs','remote','x-real-ip','connection','remoteAddress','referer','virtual','replace','render','alignment','verticalAlignment','labelText','textColor','textButtonColor','hideWhenOffline','IntervalId','sequelize','Transaction','ISOLATION_LEVELS','bulkCreate','findAndCountAll','getApplications','addProactiveActions','chatProactiveAction','omit','ChatProactiveAction','online','offlineForm','onlineForm','items','fromKey','getOfflineMessages','Contact','Attachments','addAgents','emit','userChatWebsite:save','removeAgents','isArray','userChatWebsite:remove','getAgents','bluebird','util','path','ejs','lodash','ioredis','../../components/parsers/qs','../../config/logger','api','../../config/environment','../../mysqldb','defaults','redis','localhost','socket.io-emitter','register','jayson/promise','client','http','request','then','ChatWebsite,\x20%s,\x20%s','request\x20sent','debug','ChatWebsite,\x20%s,\x20%s,\x20%s','stringify','error','message','info','result','sendStatus','status'];(function(_0x4e7490,_0x4b26ae){var _0x3622d0=function(_0x40a2bb){while(--_0x40a2bb){_0x4e7490['push'](_0x4e7490['shift']());}};_0x3622d0(++_0x4b26ae);}(_0x5f11,0x107));var _0x15f1=function(_0x41bcf8,_0x54373c){_0x41bcf8=_0x41bcf8-0x0;var _0x3cff1a=_0x5f11[_0x41bcf8];return _0x3cff1a;};'use strict';var BPromise=require(_0x15f1('0x0'));var Mustache=require('mustache');var util=require(_0x15f1('0x1'));var path=require(_0x15f1('0x2'));var ejs=require(_0x15f1('0x3'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x15f1('0x4'));var querystring=require('querystring');var Redis=require(_0x15f1('0x5'));var qs=require(_0x15f1('0x6'));var logger=require(_0x15f1('0x7'))(_0x15f1('0x8'));var config=require(_0x15f1('0x9'));var db=require(_0x15f1('0xa'))['db'];config['redis']=_[_0x15f1('0xb')](config[_0x15f1('0xc')],{'host':_0x15f1('0xd'),'port':0x18eb});var socket=require(_0x15f1('0xe'))(new Redis(config['redis']));require('./chatWebsite.socket')[_0x15f1('0xf')](socket);var htmlToText=require('html-to-text');var jayson=require(_0x15f1('0x10'));var client=jayson[_0x15f1('0x11')][_0x15f1('0x12')]({'port':0x232c});var client9002=jayson[_0x15f1('0x11')]['http']({'port':0x232a});var client9003=jayson[_0x15f1('0x11')][_0x15f1('0x12')]({'port':0x232b});var client9001=jayson[_0x15f1('0x11')]['http']({'port':0x2329});function respondWithRpcPromise(_0x2a6bb2,_0x249f8d,_0x578e5b,_0x206292){return new BPromise(function(_0x2ce6cb,_0x42420f){var _0x42fed2=_0x206292||client;return _0x42fed2[_0x15f1('0x13')](_0x2a6bb2,_0x578e5b)[_0x15f1('0x14')](function(_0x59679c){logger['info'](_0x15f1('0x15'),_0x249f8d,_0x15f1('0x16'));logger[_0x15f1('0x17')](_0x15f1('0x18'),_0x249f8d,_0x15f1('0x16'),JSON[_0x15f1('0x19')](_0x59679c));if(_0x59679c[_0x15f1('0x1a')]){if(_0x59679c['error']['code']===0x1f4){logger[_0x15f1('0x1a')]('ChatWebsite,\x20%s,\x20%s',_0x249f8d,_0x59679c['error']['message']);return _0x42420f(_0x59679c[_0x15f1('0x1a')][_0x15f1('0x1b')]);}logger[_0x15f1('0x1a')](_0x15f1('0x15'),_0x249f8d,_0x59679c[_0x15f1('0x1a')][_0x15f1('0x1b')]);return _0x2ce6cb(_0x59679c[_0x15f1('0x1a')][_0x15f1('0x1b')]);}else{logger[_0x15f1('0x1c')](_0x15f1('0x15'),_0x249f8d,_0x15f1('0x16'));_0x2ce6cb(_0x59679c[_0x15f1('0x1d')]['message']);}})['catch'](function(_0x2da877){logger[_0x15f1('0x1a')]('ChatWebsite,\x20%s,\x20%s',_0x249f8d,_0x2da877);_0x42420f(_0x2da877);});});}function respondWithStatusCode(_0x8cc557,_0x5ef254){_0x5ef254=_0x5ef254||0xcc;return function(_0x330c39){if(_0x330c39){return _0x8cc557[_0x15f1('0x1e')](_0x5ef254);}return _0x8cc557[_0x15f1('0x1f')](_0x5ef254)[_0x15f1('0x20')]();};}function respondWithResult(_0x13c415,_0x4ca534){_0x4ca534=_0x4ca534||0xc8;return function(_0x538311){if(_0x538311){return _0x13c415[_0x15f1('0x1f')](_0x4ca534)['json'](_0x538311);}};}function respondWithFilteredResult(_0x21eb3f,_0x30dc64){return function(_0x4a3b8b){if(_0x4a3b8b){var _0x3b843b=typeof _0x30dc64[_0x15f1('0x21')]===_0x15f1('0x22')&&typeof _0x30dc64[_0x15f1('0x23')]===_0x15f1('0x22');var _0x5cdcfc=_0x4a3b8b['count'];var _0x1fba9d=_0x3b843b?0x0:_0x30dc64[_0x15f1('0x21')];var _0x44774c=_0x3b843b?_0x4a3b8b[_0x15f1('0x24')]:_0x30dc64[_0x15f1('0x21')]+_0x30dc64[_0x15f1('0x23')];var _0xaf0f47;if(_0x44774c>=_0x5cdcfc){_0x44774c=_0x5cdcfc;_0xaf0f47=0xc8;}else{_0xaf0f47=0xce;}_0x21eb3f['status'](_0xaf0f47);return _0x21eb3f['set'](_0x15f1('0x25'),_0x1fba9d+'-'+_0x44774c+'/'+_0x5cdcfc)[_0x15f1('0x26')](_0x4a3b8b);}return null;};}function saveUpdates(_0xcdad89){return function(_0x5a403b){if(_0x5a403b){return _0x5a403b[_0x15f1('0x27')](_0xcdad89)[_0x15f1('0x14')](function(_0x46d25f){return _0x46d25f;});}return null;};}function removeEntity(_0xc07389){return function(_0x3bf370){if(_0x3bf370){return _0x3bf370[_0x15f1('0x28')]()[_0x15f1('0x14')](function(){var _0x25848f=_0x3bf370['get']({'plain':!![]});var _0x3573f7='ChatWebsites';return db[_0x15f1('0x29')]['destroy']({'where':{'type':_0x3573f7,'resourceId':_0x25848f['id']}})['then'](function(){return _0x3bf370;});})[_0x15f1('0x14')](function(){_0xc07389[_0x15f1('0x1f')](0xcc)[_0x15f1('0x20')]();});}};}function handleEntityNotFound(_0x24df90){return function(_0x4b1f83){if(!_0x4b1f83){_0x24df90[_0x15f1('0x1e')](0x194);}return _0x4b1f83;};}function handleError(_0x4051da,_0x3a44b5){_0x3a44b5=_0x3a44b5||0x1f4;return function(_0x2dcb2d){logger[_0x15f1('0x1a')](_0x2dcb2d[_0x15f1('0x2a')]);if(_0x2dcb2d[_0x15f1('0x2b')]){delete _0x2dcb2d['name'];}_0x4051da[_0x15f1('0x1f')](_0x3a44b5)[_0x15f1('0x2c')](_0x2dcb2d);};}exports[_0x15f1('0x2d')]=function(_0x54f87c,_0x556076){var _0xb2c3bb={'include':[{'model':db[_0x15f1('0x2e')],'as':_0x15f1('0x2f')}]},_0x34e6e5={},_0x51b21e={'count':0x0,'rows':[]};var _0x56233d=_[_0x15f1('0x30')](db[_0x15f1('0x31')][_0x15f1('0x32')],function(_0x376121){return{'name':_0x376121[_0x15f1('0x33')],'type':_0x376121[_0x15f1('0x34')][_0x15f1('0x35')]};});_0x34e6e5[_0x15f1('0x36')]=_[_0x15f1('0x30')](_0x56233d,'name');_0x34e6e5[_0x15f1('0x37')]=_['keys'](_0x54f87c[_0x15f1('0x37')]);_0x34e6e5[_0x15f1('0x38')]=_['intersection'](_0x34e6e5['model'],_0x34e6e5[_0x15f1('0x37')]);_0xb2c3bb[_0x15f1('0x39')]=_['intersection'](_0x34e6e5['model'],qs[_0x15f1('0x3a')](_0x54f87c[_0x15f1('0x37')][_0x15f1('0x3a')]));_0xb2c3bb[_0x15f1('0x39')]=_0xb2c3bb[_0x15f1('0x39')][_0x15f1('0x3b')]?_0xb2c3bb[_0x15f1('0x39')]:_0x34e6e5[_0x15f1('0x36')];if(!_0x54f87c['query'][_0x15f1('0x3c')](_0x15f1('0x3d'))){_0xb2c3bb['limit']=qs[_0x15f1('0x23')](_0x54f87c[_0x15f1('0x37')][_0x15f1('0x23')]);_0xb2c3bb[_0x15f1('0x21')]=qs['offset'](_0x54f87c[_0x15f1('0x37')][_0x15f1('0x21')]);}_0xb2c3bb[_0x15f1('0x3e')]=qs['sort'](_0x54f87c[_0x15f1('0x37')][_0x15f1('0x3f')]);_0xb2c3bb[_0x15f1('0x40')]=qs[_0x15f1('0x38')](_[_0x15f1('0x41')](_0x54f87c['query'],_0x34e6e5['filters']),_0x56233d);if(_0x54f87c[_0x15f1('0x37')]['filter']){_0xb2c3bb[_0x15f1('0x40')]=_['merge'](_0xb2c3bb[_0x15f1('0x40')],{'$or':_[_0x15f1('0x30')](_0x56233d,function(_0x84acfc){if(_0x84acfc[_0x15f1('0x34')]!==_0x15f1('0x42')){var _0x5e3acf={};_0x5e3acf[_0x84acfc[_0x15f1('0x2b')]]={'$like':'%'+_0x54f87c[_0x15f1('0x37')]['filter']+'%'};return _0x5e3acf;}})});}_0xb2c3bb=_['merge']({},_0xb2c3bb,_0x54f87c[_0x15f1('0x43')]);var _0xb5e62e={'where':_0xb2c3bb[_0x15f1('0x40')]};return db[_0x15f1('0x31')]['count'](_0xb5e62e)[_0x15f1('0x14')](function(_0x813640){_0x51b21e[_0x15f1('0x24')]=_0x813640;if(_0x54f87c[_0x15f1('0x37')]['includeAll']){_0xb2c3bb[_0x15f1('0x44')]=[{'all':!![]}];}return db[_0x15f1('0x31')][_0x15f1('0x45')](_0xb2c3bb);})['then'](function(_0x7aa9aa){_0x51b21e['rows']=_0x7aa9aa;return _0x51b21e;})[_0x15f1('0x14')](respondWithFilteredResult(_0x556076,_0xb2c3bb))[_0x15f1('0x46')](handleError(_0x556076,null));};exports[_0x15f1('0x47')]=function(_0x3fa209,_0x3ecaaf){var _0x43f268={'raw':![],'where':{'id':_0x3fa209[_0x15f1('0x48')]['id']},'include':[{'model':db[_0x15f1('0x2e')],'as':_0x15f1('0x2f')}]},_0x14cc59={};_0x14cc59['model']=_[_0x15f1('0x49')](db['ChatWebsite'][_0x15f1('0x32')]);_0x14cc59[_0x15f1('0x37')]=_[_0x15f1('0x49')](_0x3fa209[_0x15f1('0x37')]);_0x14cc59['filters']=_[_0x15f1('0x4a')](_0x14cc59[_0x15f1('0x36')],_0x14cc59[_0x15f1('0x37')]);_0x43f268[_0x15f1('0x39')]=_[_0x15f1('0x4a')](_0x14cc59['model'],qs[_0x15f1('0x3a')](_0x3fa209['query'][_0x15f1('0x3a')]));_0x43f268[_0x15f1('0x39')]=_0x43f268['attributes']['length']?_0x43f268[_0x15f1('0x39')]:_0x14cc59[_0x15f1('0x36')];if(_0x3fa209['query'][_0x15f1('0x4b')]){_0x43f268[_0x15f1('0x44')]=[{'all':!![]}];}_0x43f268=_['merge']({},_0x43f268,_0x3fa209[_0x15f1('0x43')]);return db[_0x15f1('0x31')][_0x15f1('0x4c')](_0x43f268)[_0x15f1('0x14')](handleEntityNotFound(_0x3ecaaf,null))[_0x15f1('0x14')](respondWithResult(_0x3ecaaf,null))['catch'](handleError(_0x3ecaaf,null));};exports[_0x15f1('0x4d')]=function(_0x323891,_0x5ad2ab){return db['ChatWebsite'][_0x15f1('0x4d')](_0x323891[_0x15f1('0x4e')],{})[_0x15f1('0x14')](function(_0x422b37){var _0x38a794=_0x323891[_0x15f1('0x4f')]['get']({'plain':!![]});if(!_0x38a794)throw new Error(_0x15f1('0x50'));if(_0x38a794['role']===_0x15f1('0x4f')){var _0x306e2b=_0x422b37[_0x15f1('0x51')]({'plain':!![]});var _0x5a0c2a=_0x15f1('0x52');return db[_0x15f1('0x53')]['find']({'where':{'name':_0x5a0c2a,'userProfileId':_0x38a794['userProfileId']},'raw':!![]})[_0x15f1('0x14')](function(_0x52b38e){if(_0x52b38e&&_0x52b38e[_0x15f1('0x54')]===0x0){return db[_0x15f1('0x29')][_0x15f1('0x4d')]({'name':_0x306e2b[_0x15f1('0x2b')],'resourceId':_0x306e2b['id'],'type':_0x52b38e['name'],'sectionId':_0x52b38e['id']},{})[_0x15f1('0x14')](function(){return _0x422b37;});}else{return _0x422b37;}})[_0x15f1('0x46')](function(_0x15dba9){logger[_0x15f1('0x1a')](_0x15f1('0x55'),_0x15dba9);throw _0x15dba9;});}return _0x422b37;})[_0x15f1('0x14')](respondWithResult(_0x5ad2ab,0xc9))[_0x15f1('0x46')](handleError(_0x5ad2ab,null));};exports[_0x15f1('0x27')]=function(_0x2473eb,_0x27f414){if(_0x2473eb[_0x15f1('0x4e')]['id']){delete _0x2473eb[_0x15f1('0x4e')]['id'];}return db[_0x15f1('0x31')][_0x15f1('0x4c')]({'where':{'id':_0x2473eb[_0x15f1('0x48')]['id']},'include':[{'model':db[_0x15f1('0x2e')],'as':_0x15f1('0x2f')}]})[_0x15f1('0x14')](handleEntityNotFound(_0x27f414,null))['then'](saveUpdates(_0x2473eb[_0x15f1('0x4e')],null))[_0x15f1('0x14')](respondWithResult(_0x27f414,null))[_0x15f1('0x46')](handleError(_0x27f414,null));};exports[_0x15f1('0x28')]=function(_0x4ffd5c,_0x136633){return db[_0x15f1('0x31')][_0x15f1('0x4c')]({'where':{'id':_0x4ffd5c[_0x15f1('0x48')]['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x136633,null))['then'](removeEntity(_0x136633,null))[_0x15f1('0x46')](handleError(_0x136633,null));};exports['describe']=function(_0x1daf49,_0x48f78b){return db['ChatWebsite'][_0x15f1('0x56')]()[_0x15f1('0x14')](respondWithResult(_0x48f78b,null))[_0x15f1('0x46')](handleError(_0x48f78b,null));};exports[_0x15f1('0x57')]=function(_0x384fe0,_0x4f9d66){if(_0x384fe0[_0x15f1('0x4e')]['id']){delete _0x384fe0[_0x15f1('0x4e')]['id'];}return db['ChatWebsite'][_0x15f1('0x4c')]({'where':{'id':_0x384fe0['params']['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x4f9d66,null))['then'](function(_0x1ff1de){if(_0x1ff1de){_0x384fe0[_0x15f1('0x4e')][_0x15f1('0x58')]=_0x1ff1de['id'];return db['Disposition'][_0x15f1('0x4d')](_0x384fe0['body']);}})[_0x15f1('0x14')](respondWithResult(_0x4f9d66,null))[_0x15f1('0x46')](handleError(_0x4f9d66,null));};exports[_0x15f1('0x59')]=function(_0xfe90d,_0x76cfea){var _0x5770fe={'raw':![],'where':{}};var _0x44d6dc={};var _0x6170f={'count':0x0,'rows':[]};return db[_0x15f1('0x31')]['findOne']({'where':{'id':_0xfe90d[_0x15f1('0x48')]['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x76cfea,null))[_0x15f1('0x14')](function(_0x2ed44f){if(_0x2ed44f){_0x44d6dc['model']=_[_0x15f1('0x49')](db[_0x15f1('0x5a')][_0x15f1('0x32')]);_0x44d6dc[_0x15f1('0x37')]=_[_0x15f1('0x49')](_0xfe90d[_0x15f1('0x37')]);_0x44d6dc[_0x15f1('0x38')]=_[_0x15f1('0x4a')](_0x44d6dc[_0x15f1('0x36')],_0x44d6dc[_0x15f1('0x37')]);_0x5770fe['attributes']=_['intersection'](_0x44d6dc['model'],qs[_0x15f1('0x3a')](_0xfe90d[_0x15f1('0x37')][_0x15f1('0x3a')]));_0x5770fe[_0x15f1('0x39')]=_0x5770fe[_0x15f1('0x39')]['length']?_0x5770fe[_0x15f1('0x39')]:_0x44d6dc[_0x15f1('0x36')];if(!_0xfe90d[_0x15f1('0x37')][_0x15f1('0x3c')](_0x15f1('0x3d'))){_0x5770fe[_0x15f1('0x23')]=qs[_0x15f1('0x23')](_0xfe90d[_0x15f1('0x37')][_0x15f1('0x23')]);_0x5770fe[_0x15f1('0x21')]=qs[_0x15f1('0x21')](_0xfe90d[_0x15f1('0x37')][_0x15f1('0x21')]);}_0x5770fe['order']=qs['sort'](_0xfe90d[_0x15f1('0x37')]['sort']);_0x5770fe[_0x15f1('0x40')]=qs[_0x15f1('0x38')](_[_0x15f1('0x41')](_0xfe90d[_0x15f1('0x37')],_0x44d6dc[_0x15f1('0x38')]));_0x5770fe[_0x15f1('0x40')][_0x15f1('0x58')]=_0x2ed44f['id'];if(_0xfe90d[_0x15f1('0x37')][_0x15f1('0x5b')]){_0x5770fe['where']=_[_0x15f1('0x5c')](_0x5770fe[_0x15f1('0x40')],{'$or':_[_0x15f1('0x30')](_0x5770fe[_0x15f1('0x39')],function(_0x5d8412){var _0x1394ff={};_0x1394ff[_0x5d8412]={'$like':'%'+_0xfe90d[_0x15f1('0x37')][_0x15f1('0x5b')]+'%'};return _0x1394ff;})});}_0x5770fe=_[_0x15f1('0x5c')]({},_0x5770fe,_0xfe90d[_0x15f1('0x43')]);return db[_0x15f1('0x5a')]['count']({'where':_0x5770fe[_0x15f1('0x40')]})[_0x15f1('0x14')](function(_0x558329){_0x6170f[_0x15f1('0x24')]=_0x558329;if(_0xfe90d[_0x15f1('0x37')][_0x15f1('0x4b')]){_0x5770fe['include']=[{'all':!![]}];}return db[_0x15f1('0x5a')][_0x15f1('0x45')](_0x5770fe);})['then'](function(_0x50d0c6){_0x6170f[_0x15f1('0x5d')]=_0x50d0c6;return _0x6170f;});}})['then'](respondWithFilteredResult(_0x76cfea,_0x5770fe))[_0x15f1('0x46')](handleError(_0x76cfea,null));};exports[_0x15f1('0x5e')]=function(_0x13308a,_0x2c3ef6){return db[_0x15f1('0x31')]['find']({'where':{'id':_0x13308a['params']['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x2c3ef6,null))['then'](function(_0x2e492f){if(_0x2e492f){return _0x2e492f[_0x15f1('0x5e')](_0x13308a[_0x15f1('0x37')][_0x15f1('0x5f')]);}})[_0x15f1('0x14')](respondWithStatusCode(_0x2c3ef6,null))[_0x15f1('0x46')](handleError(_0x2c3ef6,null));};exports[_0x15f1('0x60')]=function(_0x282d17,_0x444364){if(_0x282d17['body']['id']){delete _0x282d17['body']['id'];}return db['ChatWebsite']['find']({'where':{'id':_0x282d17[_0x15f1('0x48')]['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x444364,null))['then'](function(_0x116cea){if(_0x116cea){_0x282d17[_0x15f1('0x4e')][_0x15f1('0x58')]=_0x116cea['id'];return db[_0x15f1('0x61')]['create'](_0x282d17[_0x15f1('0x4e')]);}})[_0x15f1('0x14')](respondWithResult(_0x444364,null))[_0x15f1('0x46')](handleError(_0x444364,null));};exports[_0x15f1('0x62')]=function(_0x48e21b,_0x2978cb){var _0x4cc569={'raw':![],'where':{}};var _0x4495de={};var _0x1b826a={'count':0x0,'rows':[]};return db['ChatWebsite']['findOne']({'where':{'id':_0x48e21b[_0x15f1('0x48')]['id']}})['then'](handleEntityNotFound(_0x2978cb,null))[_0x15f1('0x14')](function(_0x1db116){if(_0x1db116){_0x4495de[_0x15f1('0x36')]=_['keys'](db[_0x15f1('0x61')][_0x15f1('0x32')]);_0x4495de[_0x15f1('0x37')]=_[_0x15f1('0x49')](_0x48e21b['query']);_0x4495de[_0x15f1('0x38')]=_[_0x15f1('0x4a')](_0x4495de['model'],_0x4495de['query']);_0x4cc569[_0x15f1('0x39')]=_[_0x15f1('0x4a')](_0x4495de[_0x15f1('0x36')],qs[_0x15f1('0x3a')](_0x48e21b['query'][_0x15f1('0x3a')]));_0x4cc569[_0x15f1('0x39')]=_0x4cc569[_0x15f1('0x39')]['length']?_0x4cc569[_0x15f1('0x39')]:_0x4495de['model'];if(!_0x48e21b['query'][_0x15f1('0x3c')](_0x15f1('0x3d'))){_0x4cc569['limit']=qs[_0x15f1('0x23')](_0x48e21b['query'][_0x15f1('0x23')]);_0x4cc569[_0x15f1('0x21')]=qs['offset'](_0x48e21b[_0x15f1('0x37')][_0x15f1('0x21')]);}_0x4cc569[_0x15f1('0x3e')]=qs[_0x15f1('0x3f')](_0x48e21b[_0x15f1('0x37')][_0x15f1('0x3f')]);_0x4cc569[_0x15f1('0x40')]=qs['filters'](_[_0x15f1('0x41')](_0x48e21b['query'],_0x4495de[_0x15f1('0x38')]));_0x4cc569[_0x15f1('0x40')][_0x15f1('0x58')]=_0x1db116['id'];if(_0x48e21b['query'][_0x15f1('0x5b')]){_0x4cc569[_0x15f1('0x40')]=_[_0x15f1('0x5c')](_0x4cc569[_0x15f1('0x40')],{'$or':_['map'](_0x4cc569['attributes'],function(_0x49553b){var _0x37986f={};_0x37986f[_0x49553b]={'$like':'%'+_0x48e21b[_0x15f1('0x37')][_0x15f1('0x5b')]+'%'};return _0x37986f;})});}_0x4cc569=_[_0x15f1('0x5c')]({},_0x4cc569,_0x48e21b[_0x15f1('0x43')]);return db[_0x15f1('0x61')]['count']({'where':_0x4cc569[_0x15f1('0x40')]})[_0x15f1('0x14')](function(_0x24da85){_0x1b826a[_0x15f1('0x24')]=_0x24da85;if(_0x48e21b[_0x15f1('0x37')]['includeAll']){_0x4cc569[_0x15f1('0x44')]=[{'all':!![]}];}return db['CannedAnswer'][_0x15f1('0x45')](_0x4cc569);})[_0x15f1('0x14')](function(_0x33119d){_0x1b826a['rows']=_0x33119d;return _0x1b826a;});}})[_0x15f1('0x14')](respondWithFilteredResult(_0x2978cb,_0x4cc569))['catch'](handleError(_0x2978cb,null));};exports[_0x15f1('0x63')]=function(_0x1ec03b,_0xeb5419){return db[_0x15f1('0x31')][_0x15f1('0x4c')]({'where':{'id':_0x1ec03b[_0x15f1('0x48')]['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0xeb5419,null))[_0x15f1('0x14')](function(_0x46f595){if(_0x46f595){return _0x46f595[_0x15f1('0x63')](_0x1ec03b[_0x15f1('0x37')][_0x15f1('0x5f')]);}})['then'](respondWithStatusCode(_0xeb5419,null))[_0x15f1('0x46')](handleError(_0xeb5419,null));};exports[_0x15f1('0x64')]=function(_0x4c6ebd,_0x2d4d38){_0x4c6ebd['body'][_0x15f1('0x65')]=_0x4c6ebd[_0x15f1('0x66')][_0x15f1('0x67')];return db[_0x15f1('0x31')][_0x15f1('0x4c')]({'where':{'id':_0x4c6ebd[_0x15f1('0x48')]['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x2d4d38,null))['then'](saveUpdates(_0x4c6ebd['body'],null))['then'](respondWithResult(_0x2d4d38,null))[_0x15f1('0x46')](handleError(_0x2d4d38,null));};exports['addAvatar']=function(_0x53e8f9,_0x5b47b5){_0x53e8f9[_0x15f1('0x4e')][_0x15f1('0x68')]=_0x53e8f9[_0x15f1('0x66')][_0x15f1('0x67')];return db['ChatWebsite'][_0x15f1('0x4c')]({'where':{'id':_0x53e8f9[_0x15f1('0x48')]['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x5b47b5,null))[_0x15f1('0x14')](saveUpdates(_0x53e8f9[_0x15f1('0x4e')],null))[_0x15f1('0x14')](respondWithResult(_0x5b47b5,null))[_0x15f1('0x46')](handleError(_0x5b47b5,null));};exports[_0x15f1('0x69')]=function(_0x4d146f,_0x2f51e5){_0x4d146f[_0x15f1('0x4e')][_0x15f1('0x6a')]=_0x4d146f[_0x15f1('0x66')][_0x15f1('0x67')];return db[_0x15f1('0x31')]['find']({'where':{'id':_0x4d146f[_0x15f1('0x48')]['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x2f51e5,null))['then'](saveUpdates(_0x4d146f[_0x15f1('0x4e')],null))[_0x15f1('0x14')](respondWithResult(_0x2f51e5,null))[_0x15f1('0x46')](handleError(_0x2f51e5,null));};exports[_0x15f1('0x6b')]=function(_0x281365,_0x116a08){_0x281365[_0x15f1('0x4e')][_0x15f1('0x6c')]=_0x281365['file'][_0x15f1('0x67')];return db[_0x15f1('0x31')][_0x15f1('0x4c')]({'where':{'id':_0x281365[_0x15f1('0x48')]['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x116a08,null))['then'](saveUpdates(_0x281365[_0x15f1('0x4e')],null))[_0x15f1('0x14')](respondWithResult(_0x116a08,null))[_0x15f1('0x46')](handleError(_0x116a08,null));};exports[_0x15f1('0x6d')]=function(_0x5d532c,_0x7db8fe){var _0x1aad53=path['join'](config[_0x15f1('0x6e')],'server/files/images/logos/default_logo.svg');var _0xee9c96={'where':{'id':_0x5d532c[_0x15f1('0x48')]['id']},'attributes':['id',_0x15f1('0x65')],'raw':!![]};var _0xfbd8cc=![];return require('../../config/license/util')['getLicense']()[_0x15f1('0x14')](function(_0x453f98){if(_0x453f98){_0xfbd8cc=_0x453f98[_0x15f1('0x6f')];}})[_0x15f1('0x14')](function(){return db[_0x15f1('0x31')]['find'](_0xee9c96);})['then'](handleEntityNotFound(_0x7db8fe,null))[_0x15f1('0x14')](function(_0x284296){if(_0x284296){if(!_['isNil'](_0x284296['sitepic'])){if(fs[_0x15f1('0x70')](path[_0x15f1('0x71')](config['root'],_0x15f1('0x72'),_0x284296[_0x15f1('0x65')]))&&_0xfbd8cc){_0x1aad53=path['join'](config[_0x15f1('0x6e')],_0x15f1('0x72'),_0x284296[_0x15f1('0x65')]);}}return _0x7db8fe['download'](_0x1aad53);}})[_0x15f1('0x46')](handleError(_0x7db8fe,null));};exports[_0x15f1('0x73')]=function(_0x2d8d24,_0x3cc4d5){var _0x29fd8b=path['join'](config[_0x15f1('0x6e')],'server/files/images/avatars/default_avatar.png');var _0x3ce35d={'where':{'id':_0x2d8d24[_0x15f1('0x48')]['id']},'attributes':['id','agentAvatar'],'raw':!![]};return db[_0x15f1('0x31')][_0x15f1('0x4c')](_0x3ce35d)[_0x15f1('0x14')](handleEntityNotFound(_0x3cc4d5,null))[_0x15f1('0x14')](function(_0x2feb22){if(_0x2feb22){if(!_[_0x15f1('0x74')](_0x2feb22[_0x15f1('0x68')])){if(fs[_0x15f1('0x70')](path[_0x15f1('0x71')](config[_0x15f1('0x6e')],_0x15f1('0x75'),_0x2feb22[_0x15f1('0x68')]))){_0x29fd8b=path[_0x15f1('0x71')](config[_0x15f1('0x6e')],_0x15f1('0x75'),_0x2feb22[_0x15f1('0x68')]);}}return _0x3cc4d5[_0x15f1('0x76')](_0x29fd8b);}})['catch'](handleError(_0x3cc4d5,null));};exports[_0x15f1('0x77')]=function(_0x28a3b4,_0x51e9f9){var _0x411082=path[_0x15f1('0x71')](config[_0x15f1('0x6e')],'server/files/images/avatars/customer_avatar.png');var _0x19afa1={'where':{'id':_0x28a3b4[_0x15f1('0x48')]['id']},'attributes':['id',_0x15f1('0x6a'),_0x15f1('0x78')],'raw':!![]};return db['ChatWebsite']['find'](_0x19afa1)[_0x15f1('0x14')](handleEntityNotFound(_0x51e9f9,null))['then'](function(_0x554c42){if(_0x554c42){if(!_[_0x15f1('0x74')](_0x554c42[_0x15f1('0x6a')])){if(fs[_0x15f1('0x70')](path[_0x15f1('0x71')](config[_0x15f1('0x6e')],_0x15f1('0x75'),_0x554c42['customerAvatar']))&&_0x554c42[_0x15f1('0x78')]){_0x411082=path[_0x15f1('0x71')](config[_0x15f1('0x6e')],_0x15f1('0x75'),_0x554c42[_0x15f1('0x6a')]);}}return _0x51e9f9[_0x15f1('0x76')](_0x411082);}})[_0x15f1('0x46')](handleError(_0x51e9f9,null));};exports['getSystemAvatar']=function(_0x4db719,_0x462790){var _0x1cd6df=path[_0x15f1('0x71')](config[_0x15f1('0x6e')],_0x15f1('0x79'));var _0x34e700={'where':{'id':_0x4db719['params']['id']},'attributes':['id',_0x15f1('0x6c')],'raw':!![]};return db[_0x15f1('0x31')][_0x15f1('0x4c')](_0x34e700)[_0x15f1('0x14')](handleEntityNotFound(_0x462790,null))[_0x15f1('0x14')](function(_0x31b08f){if(_0x31b08f){if(!_[_0x15f1('0x74')](_0x31b08f[_0x15f1('0x6c')])){if(fs['existsSync'](path[_0x15f1('0x71')](config[_0x15f1('0x6e')],_0x15f1('0x75'),_0x31b08f[_0x15f1('0x6c')]))){_0x1cd6df=path[_0x15f1('0x71')](config[_0x15f1('0x6e')],_0x15f1('0x75'),_0x31b08f[_0x15f1('0x6c')]);}}return _0x462790[_0x15f1('0x76')](_0x1cd6df);}})[_0x15f1('0x46')](handleError(_0x462790,null));};exports[_0x15f1('0x7a')]=function(_0x4175fb,_0x484b63){var _0x136321=require('user-agent-parser');var _0x12d5d1=new _0x136321();var _0x6323e9=_0x12d5d1['setUA'](_0x4175fb[_0x15f1('0x7b')][_0x15f1('0x7c')])[_0x15f1('0x7d')]();var _0x11857a={'body':_0x4175fb[_0x15f1('0x4e')],'channel':'chat'};var _0x3f0a1b=[];var _0x36ea0c=[];var _0x55714b={};var _0xbe007a=![];return db['CmContact'][_0x15f1('0x56')]()[_0x15f1('0x14')](function(_0x5a7026){if(!_0x5a7026){throw new db[(_0x15f1('0x7e'))][(_0x15f1('0x7f'))]('no\x20available\x20attributes');}_0x3f0a1b=_[_0x15f1('0x80')](_[_0x15f1('0x49')](_0x5a7026),[_0x15f1('0x81'),_0x15f1('0x82')]);_0x36ea0c=_[_0x15f1('0x80')](_[_0x15f1('0x49')](_0x5a7026),[_0x15f1('0x81'),_0x15f1('0x82'),_0x15f1('0x83'),_0x15f1('0x84')]);if(_0x4175fb[_0x15f1('0x4e')]['id']){delete _0x4175fb[_0x15f1('0x4e')]['id'];}if(_[_0x15f1('0x74')](_0x4175fb[_0x15f1('0x4e')][_0x15f1('0x85')])){throw new db['Sequelize']['ValidationError'](_0x15f1('0x86'));}if(_['isNil'](_0x4175fb['body']['body'])||_0x4175fb[_0x15f1('0x4e')][_0x15f1('0x4e')]===''){throw new db[(_0x15f1('0x7e'))][(_0x15f1('0x7f'))]('body\x20is\x20mandatory\x20and\x20not\x20empty');}if(_[_0x15f1('0x74')](_0x4175fb['body'][_0x15f1('0x87')])){throw new db[(_0x15f1('0x7e'))][(_0x15f1('0x7f'))](_0x15f1('0x88')+_0x36ea0c);}if(!_['includes'](_0x36ea0c,_0x4175fb['body']['mapKey'])){throw new db[(_0x15f1('0x7e'))][(_0x15f1('0x7f'))](_0x15f1('0x89')+_0x36ea0c);}_0x55714b[_0x4175fb[_0x15f1('0x4e')][_0x15f1('0x87')]]=_0x4175fb['body'][_0x15f1('0x85')];})[_0x15f1('0x14')](function(){return db['ChatWebsite'][_0x15f1('0x4c')]({'where':{'id':_0x4175fb[_0x15f1('0x48')]['id']},'include':[{'model':db[_0x15f1('0x8a')],'as':_0x15f1('0x8b'),'include':[{'model':db[_0x15f1('0x8c')],'as':_0x15f1('0x8d'),'where':_0x55714b,'limit':0x1,'order':[[_0x15f1('0x82'),_0x15f1('0x8e')]]}]},{'model':db[_0x15f1('0x8f')],'as':_0x15f1('0x90')}]});})['then'](handleEntityNotFound(_0x484b63,null))[_0x15f1('0x14')](function(_0x5373fe){if(_0x5373fe&&_0x5373fe[_0x15f1('0x8b')]){_0x11857a[_0x15f1('0x91')]=_0x5373fe;_0x11857a[_0x15f1('0x92')]=_0x5373fe[_0x15f1('0x90')];_0x11857a[_0x15f1('0x93')]=_0x5373fe[_0x15f1('0x8b')];_0x11857a[_0x15f1('0x92')]=_[_0x15f1('0x94')](_0x11857a['applications'],[_0x15f1('0x95')],['asc']);if(_0x11857a['account'][_0x15f1('0x90')]){delete _0x11857a[_0x15f1('0x91')][_0x15f1('0x90')];}if(_0x11857a[_0x15f1('0x91')]['List']&&_0x11857a['account']['List'][_0x15f1('0x8d')]['length']){return _0x11857a[_0x15f1('0x91')][_0x15f1('0x8b')][_0x15f1('0x8d')][0x0];}var _0x500202=_[_0x15f1('0xb')](_0x4175fb[_0x15f1('0x4e')],{'firstName':_0x4175fb[_0x15f1('0x4e')][_0x15f1('0x85')],'ListId':_0x5373fe[_0x15f1('0x84')]});_0x500202[_0x4175fb[_0x15f1('0x4e')][_0x15f1('0x87')]]=_0x4175fb[_0x15f1('0x4e')][_0x15f1('0x85')];return db[_0x15f1('0x8c')][_0x15f1('0x4d')](_0x500202,{'fields':_0x3f0a1b,'raw':!![]});}})[_0x15f1('0x14')](handleEntityNotFound(_0x484b63,null))['then'](function(_0x342d20){_0x11857a[_0x15f1('0x96')]=_0x342d20;var _0xf90899=_0x4175fb[_0x15f1('0x4e')][_0x15f1('0x97')];if(_0x4175fb[_0x15f1('0x7b')][_0x15f1('0x98')]){_0xf90899=_0x4175fb[_0x15f1('0x7b')][_0x15f1('0x98')];}else if(_0x4175fb[_0x15f1('0x7b')][_0x15f1('0x99')]){_0xf90899=_[_0x15f1('0x9a')](_0x4175fb[_0x15f1('0x7b')][_0x15f1('0x99')][_0x15f1('0x9b')](','));}if(_0x342d20){var _0x5ca77e={'ContactId':_0x342d20['id'],'ChatWebsiteId':_0x4175fb[_0x15f1('0x48')]['id'],'from':(_0x342d20['firstName']||'')+'\x20'+(_0x342d20[_0x15f1('0x9c')]||''),'customerIp':_0xf90899,'customerPort':_0x4175fb[_0x15f1('0x7b')][_0x15f1('0x9d')]?_0x4175fb[_0x15f1('0x7b')]['x-real-port']:null,'referer':_0x4175fb['body']['referer'],'browserName':_0x6323e9[_0x15f1('0x9e')][_0x15f1('0x2b')]&&_0x6323e9[_0x15f1('0x9e')][_0x15f1('0x9f')]?util[_0x15f1('0xa0')]('%s\x20%s',_0x6323e9['browser'][_0x15f1('0x2b')],_0x6323e9[_0x15f1('0x9e')][_0x15f1('0x9f')]):'unknown','browserVersion':_0x6323e9['browser'][_0x15f1('0x9f')]||_0x15f1('0xa1'),'osName':util[_0x15f1('0xa0')](_0x15f1('0xa2'),_0x6323e9['os'][_0x15f1('0x2b')],_0x6323e9['os']['version']),'osVersion':_0x6323e9['os']['version'],'deviceModel':_0x6323e9[_0x15f1('0xa3')][_0x15f1('0x36')]&&_0x6323e9[_0x15f1('0xa3')][_0x15f1('0xa4')]?util[_0x15f1('0xa0')](_0x15f1('0xa5'),_0x6323e9['device']['model'],_0x6323e9[_0x15f1('0xa3')][_0x15f1('0xa4')],_0x6323e9[_0x15f1('0xa3')]['type']):null,'deviceVendor':_0x6323e9[_0x15f1('0xa3')][_0x15f1('0xa4')],'deviceType':_0x6323e9[_0x15f1('0xa3')][_0x15f1('0x34')],'formData':JSON[_0x15f1('0x19')](_0x4175fb[_0x15f1('0x4e')])};var _0x3707b6={'ChatWebsiteId':_0x4175fb[_0x15f1('0x48')]['id'],'closed':![]};if(_0x4175fb[_0x15f1('0x4e')][_0x15f1('0xa6')]){_0x3707b6['threadId']=_0x4175fb[_0x15f1('0x4e')][_0x15f1('0xa6')];return db[_0x15f1('0xa7')][_0x15f1('0x4c')]({'where':_0x3707b6})[_0x15f1('0x14')](function(_0x556158){if(_0x556158){return[_0x556158,![]];}_0x5ca77e[_0x15f1('0xa6')]=_0x4175fb['body'][_0x15f1('0xa6')];_0x5ca77e[_0x15f1('0xa8')]=_0x4175fb[_0x15f1('0x4e')][_0x15f1('0xa8')];return db[_0x15f1('0xa7')][_0x15f1('0x4d')](_0x5ca77e)[_0x15f1('0x14')](function(_0x67c3d3){return[_0x67c3d3,!![]];});});}_0x3707b6[_0x15f1('0xa9')]=_0x342d20['id'];if(_0x4175fb['body'][_0x15f1('0xaa')]&&_0x4175fb[_0x15f1('0x4e')]['interaction']['id']){_0x3707b6['id']=_0x4175fb[_0x15f1('0x4e')]['interaction']['id'];return db['ChatInteraction'][_0x15f1('0x4c')]({'where':_0x3707b6})['then'](function(_0x48b906){if(_0x48b906){return[_0x48b906,![]];}return db['ChatInteraction'][_0x15f1('0x4d')](_0x5ca77e)[_0x15f1('0x14')](function(_0x4d5a1f){return[_0x4d5a1f,!![]];});});}return db[_0x15f1('0xa7')][_0x15f1('0x4d')](_0x5ca77e)['then'](function(_0x361a32){return[_0x361a32,!![]];});}})[_0x15f1('0xab')](function(_0x2afd1d,_0x488484){if(_0x2afd1d){_0xbe007a=_0x488484;if(!_0x488484){var _0x1b9039={'from':(_0x11857a['contact'][_0x15f1('0xac')]||'')+'\x20'+(_0x11857a[_0x15f1('0x96')][_0x15f1('0x9c')]||'')};if(_0x4175fb[_0x15f1('0x4e')][_0x15f1('0xa6')]&&_0x4175fb[_0x15f1('0x4e')]['messageId']&&_0x4175fb[_0x15f1('0x4e')][_0x15f1('0xa6')]!=_0x4175fb[_0x15f1('0x4e')][_0x15f1('0xad')]){_0x1b9039['threadId']=_0x4175fb[_0x15f1('0x4e')][_0x15f1('0xad')];}return _0x2afd1d['update'](_0x1b9039);}else{return _0x2afd1d;}}})[_0x15f1('0x14')](function(_0x34235f){_0x11857a['interaction']=_0x34235f['get']({'plain':!![]});_0x11857a[_0x15f1('0xaa')]['created']=_0xbe007a;if(_0x11857a[_0x15f1('0xaa')][_0x15f1('0xae')]){if(_0x11857a[_0x15f1('0x91')][_0x15f1('0xaf')]){_0x11857a[_0x15f1('0x92')][_0x15f1('0xb0')]({'id':0x0,'priority':_0x11857a['applications'][_0x15f1('0x3b')]+0x1,'app':_0x15f1('0xb1'),'appdata':_0x15f1('0xb2'),'interval':_0x15f1('0xb3')});}}return db[_0x15f1('0xb4')][_0x15f1('0x4d')]({'body':_0x4175fb[_0x15f1('0x4e')][_0x15f1('0x4e')],'ChatWebsiteId':_0x4175fb[_0x15f1('0x48')]['id'],'ChatInteractionId':_0x34235f['id'],'direction':'in','ContactId':_0x11857a[_0x15f1('0x96')]['id'],'AttachmentId':_0x4175fb[_0x15f1('0x4e')]['AttachmentId']});})[_0x15f1('0x14')](function(_0x4b06aa){_0x11857a[_0x15f1('0x1b')]=_0x4b06aa;if(_0x11857a['interaction'][_0x15f1('0xb5')]){return db[_0x15f1('0xb6')][_0x15f1('0x4c')]({'attributes':['id',_0x15f1('0x2b')],'where':{'id':_0x11857a[_0x15f1('0xaa')][_0x15f1('0xb5')]}})[_0x15f1('0x14')](function(_0x3da1b0){if(_0x3da1b0){_0x11857a['applications'][_0x15f1('0xb7')]({'id':0x0,'priority':0x0,'app':_0x15f1('0xb8'),'appdata':_0x3da1b0[_0x15f1('0x2b')]+','+(_0x11857a[_0x15f1('0x91')]['waitForTheAssignedAgent']||0xa),'interval':_0x15f1('0xb3')});_0x11857a[_0x15f1('0xb9')]=!![];}return respondWithRpcPromise(_0x15f1('0xba'),_0x15f1('0xbb'),_0x11857a);});}return respondWithRpcPromise(_0x15f1('0xba'),_0x15f1('0xbb'),_0x11857a);})[_0x15f1('0x14')](function(_0x2f39c8){respondWithRpcPromise(_0x15f1('0xbc'),_0x15f1('0xbc'),{'event':_0x15f1('0x7a'),'message':_0x2f39c8},client9002);return _0x2f39c8;})['then'](respondWithResult(_0x484b63,null))[_0x15f1('0x46')](handleError(_0x484b63,null));};exports['offline']=function(_0x1374dc,_0x472bac){var _0x3f9d25,_0x23ab01,_0x3ad99a;var _0x4f0c6a=[];var _0x38a146={};var _0x3ad172=_0x1374dc[_0x15f1('0xbd')]||[];var _0x46e2a3=[];var _0x5811e4;return db[_0x15f1('0x8c')][_0x15f1('0x56')]()[_0x15f1('0x14')](function(_0x1455b3){if(!_0x1455b3){throw new db[(_0x15f1('0x7e'))][(_0x15f1('0x7f'))](_0x15f1('0xbe'));}_0x4f0c6a=_[_0x15f1('0x80')](_[_0x15f1('0x49')](_0x1455b3),['createdAt',_0x15f1('0x82'),_0x15f1('0x83'),_0x15f1('0x84')]);if(_0x1374dc[_0x15f1('0x4e')]['id']){delete _0x1374dc[_0x15f1('0x4e')]['id'];}if(_['isNil'](_0x1374dc[_0x15f1('0x4e')][_0x15f1('0x85')])){throw _0x472bac[_0x15f1('0x1f')](0x1f4)[_0x15f1('0x2c')](new db[(_0x15f1('0x7e'))]['ValidationError'](_0x15f1('0x86')));}if(_[_0x15f1('0x74')](_0x1374dc[_0x15f1('0x4e')]['body'])||_0x1374dc['body'][_0x15f1('0x4e')]===''){throw _0x472bac[_0x15f1('0x1f')](0x1f4)['send'](new db[(_0x15f1('0x7e'))][(_0x15f1('0x7f'))](_0x15f1('0xbf')));}if(_['isNil'](_0x1374dc[_0x15f1('0x4e')][_0x15f1('0xc0')])){throw _0x472bac[_0x15f1('0x1f')](0x1f4)[_0x15f1('0x2c')](new db[(_0x15f1('0x7e'))]['ValidationError'](_0x15f1('0xc1')+_0x4f0c6a));}if(!_[_0x15f1('0xc2')](_0x4f0c6a,_0x1374dc['body'][_0x15f1('0xc0')])){throw _0x472bac[_0x15f1('0x1f')](0x1f4)['send'](new db[(_0x15f1('0x7e'))][(_0x15f1('0x7f'))](_0x15f1('0xc3')+_0x4f0c6a));}_0x38a146[_0x1374dc[_0x15f1('0x4e')][_0x15f1('0xc0')]]=_0x1374dc[_0x15f1('0x4e')][_0x15f1('0x85')];})[_0x15f1('0x14')](function(){return db['ChatWebsite']['find']({'where':{'id':_0x1374dc[_0x15f1('0x48')]['id']},'include':[{'model':db[_0x15f1('0x8a')],'as':_0x15f1('0x8b')},{'model':db[_0x15f1('0xc4')],'as':_0x15f1('0xc4')}]});})[_0x15f1('0x14')](handleEntityNotFound(_0x472bac,null))['then'](function(_0x15e60d){if(_0x15e60d&&_0x15e60d[_0x15f1('0x8b')]){_0x23ab01=_0x15e60d;var _0x4657a5=_[_0x15f1('0xb')](_0x1374dc[_0x15f1('0x4e')],{'firstName':_0x1374dc[_0x15f1('0x4e')][_0x15f1('0x85')],'phone':_0x1374dc[_0x15f1('0x4e')][_0x15f1('0x85')],'ListId':_0x15e60d[_0x15f1('0x84')]});_0x4657a5[_0x1374dc['body'][_0x15f1('0xc0')]]=_0x1374dc[_0x15f1('0x4e')][_0x15f1('0x85')];return db[_0x15f1('0x8c')][_0x15f1('0xc5')]({'where':_0x38a146,'defaults':_0x4657a5});}})[_0x15f1('0xab')](function(_0x314fd4){if(_0x314fd4){_0x3ad99a=_0x314fd4;var _0x105fa6=fs['readFileSync'](path[_0x15f1('0x71')](config[_0x15f1('0x6e')],_0x15f1('0xc6')),'utf8');var _0x259131=ejs['render'](_0x105fa6,{'body':_[_0x15f1('0xc7')](_0x1374dc['body'][_0x15f1('0x4e')]),'bodyTitle':_0x23ab01[_0x15f1('0xc8')]});return db[_0x15f1('0xc9')][_0x15f1('0x4d')]({'body':_0x259131,'plainBody':htmlToText['fromString'](_0x259131),'ContactId':_0x314fd4['id'],'ChatWebsiteId':_0x23ab01['id']});}})[_0x15f1('0x14')](function(_0x39b970){_0x5811e4=_0x39b970;if(_0x3ad172[_0x15f1('0x3b')]){var _0x922f78=_0x3ad172[_0x15f1('0x30')](function(_0x496c37){return{'name':_0x496c37['originalname'],'basename':_0x496c37[_0x15f1('0x67')],'type':_0x496c37['mimetype'],'ChatOfflineMessageId':_0x39b970['id']};});_0x46e2a3=_0x922f78['map'](_0x438b06=>{var _0x3a2e7b={'filename':_0x438b06['name'],'path':path[_0x15f1('0x71')](config['root'],'server','files',_0x15f1('0xca'),_0x15f1('0xcb'),_0x438b06[_0x15f1('0xcc')])};return _0x3a2e7b;});if(!_0x23ab01[_0x15f1('0xcd')]){return db['sequelize'][_0x15f1('0xce')](function(_0x5c890d){return db[_0x15f1('0xcf')]['bulkCreate'](_0x922f78,{'transaction':_0x5c890d});});}}})[_0x15f1('0x14')](function(){if(_0x5811e4){_0x3f9d25=_0x5811e4;return db['MailAccount']['findOne']({'where':{'service':!![]},'include':[{'model':db['MailServerOut'],'as':_0x15f1('0xd0'),'raw':!![],'include':[{'model':db[_0x15f1('0xd1')],'as':'CloudProvider','raw':!![]}]}]});}})[_0x15f1('0x14')](function(_0x1db920){if(_0x1db920&&_0x1db920[_0x15f1('0xd0')]&&_0x23ab01['forwardOffline']&&_0x23ab01['forwardOfflineAddress']){var _0x242f6a=_0x1db920[_0x15f1('0xd2')]();return respondWithRpcPromise(_0x15f1('0xd3'),'sendMail',{'account':_0x242f6a,'message':{'from':util[_0x15f1('0xa0')](_0x15f1('0xd4'),_0x1db920[_0x15f1('0x2b')],_0x1db920['email']||_0x1db920['Smtp']['user']),'to':_0x23ab01[_0x15f1('0xd5')],'subject':_0x23ab01[_0x15f1('0xd6')],'html':_0x3f9d25['body'],'attachments':_0x46e2a3}},client9003)[_0x15f1('0x14')](function(){return _0x3f9d25;})[_0x15f1('0x46')](function(_0xf8db54){logger[_0x15f1('0x1a')](_0xf8db54);});}})['then'](function(){if(_0x23ab01&&_0x23ab01[_0x15f1('0xcd')]&&_0x23ab01['MailAccountId']){var _0x4b5495=[];if(_0x3ad172[_0x15f1('0x3b')]){_0x4b5495=_0x3ad172[_0x15f1('0x30')](function(_0x3cf987){return{'name':_0x3cf987[_0x15f1('0xd7')],'basename':_0x3cf987[_0x15f1('0x67')],'type':_0x3cf987[_0x15f1('0xd8')],'ChatOfflineMessageId':_0x5811e4['id']};});}var _0x22c369;if(!_[_0x15f1('0x74')](_0x23ab01['subjectOffline'])){var _0x4a1cf3=_[_0x15f1('0x30')](_0x1374dc[_0x15f1('0x4e')],function(_0x841177){return _0x841177;});var _0x1d4283=_['toPairsIn'](_0x4a1cf3)[0x0];var _0x1e0b94=_[_0x15f1('0xd9')](_0x1d4283,function(_0x102974){return _0x102974;});_0x22c369=_0x1e0b94[0x1][_0x23ab01['subjectOffline']];}var _0x178ee3={'from':_0x3ad99a[_0x15f1('0xda')],'firstName':_0x3ad99a[_0x15f1('0xac')],'lastName':_0x3ad99a[_0x15f1('0x9c')],'mapKey':_0x15f1('0xda'),'message':{'from':_0x3ad99a[_0x15f1('0xda')],'to':_0x23ab01[_0x15f1('0xc4')][_0x15f1('0xda')],'cc':'','subject':_[_0x15f1('0x74')](_0x22c369)?_0x23ab01[_0x15f1('0xd6')]:_0x22c369,'messageId':'','sentAt':new Date(),'attach':_0x4b5495[_0x15f1('0x3b')],'attachments':_0x4b5495,'originChannel':_0x15f1('0xdb'),'ChatWebsiteId':_0x23ab01['id'],'ChatOfflineMessageId':_0x3f9d25['id'],'originTo':_0x23ab01[_0x15f1('0xc4')][_0x15f1('0xda')]},'body':_0x3f9d25['body']};var _0x4d4103={'account':{'id':_0x23ab01[_0x15f1('0xdc')]},'body':_0x178ee3,'log':_0x15f1('0xdd')};return respondWithRpcPromise('NotifyMailAccount',_0x15f1('0xde'),_0x4d4103,client9001)[_0x15f1('0x14')](function(){return _0x3f9d25;})[_0x15f1('0x46')](function(_0xa71d8c){logger[_0x15f1('0x1a')](_0xa71d8c);});}return;})[_0x15f1('0x14')](function(){if(_0x3f9d25){return _0x3f9d25;}})['then'](respondWithResult(_0x472bac,null))['catch'](function(_0x49a551){logger['error'](_0x15f1('0x46'),_0x49a551);for(var _0x3fe817 of _0x3ad172){var _0x17cd82=path['join'](config[_0x15f1('0x6e')],_0x15f1('0xdf'),_0x15f1('0xbd'),_0x15f1('0xca'),_0x15f1('0xcb'),_0x3fe817[_0x15f1('0x67')]);fs_extra['remove'](_0x17cd82)['catch'](function(_0x523489){logger[_0x15f1('0x1a')](_0x15f1('0xe0'),_0x17cd82,_0x523489);});}});};exports[_0x15f1('0xe1')]=function(_0x412e2f,_0x4db436){return db['ChatInteraction'][_0x15f1('0x4c')]({'where':{'id':_0x412e2f[_0x15f1('0x48')]['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x4db436,null))[_0x15f1('0x14')](function(_0x11e78e){if(_0x11e78e){return _0x11e78e['addInteraction'](_0x412e2f['body']['ids'],_['omit'](_0x412e2f[_0x15f1('0x4e')],['ids','id'])||{});}})['then'](respondWithResult(_0x4db436,null))[_0x15f1('0x46')](handleError(_0x4db436,null));};exports[_0x15f1('0xe2')]=function(_0xca769d,_0x21ec73){var _0x4f5d81={'raw':![],'where':{}};var _0x29b3e5={};var _0x14883e={'count':0x0,'rows':[]};return db[_0x15f1('0x31')][_0x15f1('0xe3')]({'where':{'id':_0xca769d[_0x15f1('0x48')]['id']}})['then'](handleEntityNotFound(_0x21ec73,null))[_0x15f1('0x14')](function(_0x321b30){if(_0x321b30){_0x29b3e5[_0x15f1('0x36')]=_[_0x15f1('0x49')](db[_0x15f1('0xa7')][_0x15f1('0x32')]);_0x29b3e5['query']=_[_0x15f1('0x49')](_0xca769d[_0x15f1('0x37')]);_0x29b3e5[_0x15f1('0x38')]=_[_0x15f1('0x4a')](_0x29b3e5[_0x15f1('0x36')],_0x29b3e5[_0x15f1('0x37')]);_0x4f5d81['attributes']=_['intersection'](_0x29b3e5[_0x15f1('0x36')],qs[_0x15f1('0x3a')](_0xca769d[_0x15f1('0x37')]['fields']));_0x4f5d81[_0x15f1('0x39')]=_0x4f5d81[_0x15f1('0x39')][_0x15f1('0x3b')]?_0x4f5d81[_0x15f1('0x39')]:_0x29b3e5[_0x15f1('0x36')];if(!_0xca769d[_0x15f1('0x37')][_0x15f1('0x3c')](_0x15f1('0x3d'))){_0x4f5d81[_0x15f1('0x23')]=qs[_0x15f1('0x23')](_0xca769d[_0x15f1('0x37')]['limit']);_0x4f5d81[_0x15f1('0x21')]=qs[_0x15f1('0x21')](_0xca769d[_0x15f1('0x37')]['offset']);}_0x4f5d81['order']=qs[_0x15f1('0x3f')](_0xca769d['query'][_0x15f1('0x3f')]);_0x4f5d81['where']=qs['filters'](_['pick'](_0xca769d[_0x15f1('0x37')],_0x29b3e5[_0x15f1('0x38')]));_0x4f5d81[_0x15f1('0x40')][_0x15f1('0x58')]=_0x321b30['id'];if(_0xca769d[_0x15f1('0x37')][_0x15f1('0x5b')]){_0x4f5d81[_0x15f1('0x40')]=_[_0x15f1('0x5c')](_0x4f5d81[_0x15f1('0x40')],{'$or':_[_0x15f1('0x30')](_0x4f5d81[_0x15f1('0x39')],function(_0xd275f6){var _0x44b83e={};_0x44b83e[_0xd275f6]={'$like':'%'+_0xca769d[_0x15f1('0x37')][_0x15f1('0x5b')]+'%'};return _0x44b83e;})});}_0x4f5d81=_['merge']({},_0x4f5d81,_0xca769d[_0x15f1('0x43')]);return db[_0x15f1('0xa7')]['count']({'where':_0x4f5d81[_0x15f1('0x40')]})[_0x15f1('0x14')](function(_0x5b0aa4){_0x14883e[_0x15f1('0x24')]=_0x5b0aa4;if(_0xca769d[_0x15f1('0x37')][_0x15f1('0x4b')]){_0x4f5d81[_0x15f1('0x44')]=[{'model':db[_0x15f1('0x8c')],'as':'Contact','required':![]},{'model':db[_0x15f1('0xb6')],'as':'Owner','attributes':[_0x15f1('0x2b'),_0x15f1('0xe4'),_0x15f1('0xe5')],'required':![]},{'model':db['Tag'],'as':_0x15f1('0xe6'),'attributes':['id',_0x15f1('0x2b'),_0x15f1('0xe7')],'where':_0xca769d[_0x15f1('0x37')]['tag']?{'id':_0xca769d[_0x15f1('0x37')]['tag']}:undefined,'required':_0xca769d[_0x15f1('0x37')][_0x15f1('0xe8')]?!![]:![]}];}return db['ChatInteraction'][_0x15f1('0x45')](_0x4f5d81);})[_0x15f1('0x14')](function(_0x48fec1){_0x14883e[_0x15f1('0x5d')]=_0x48fec1;return _0x14883e;});}})['then'](respondWithFilteredResult(_0x21ec73,_0x4f5d81))['catch'](handleError(_0x21ec73,null));};function iftimePromise(_0x5e4937,_0x4f2ff1){return respondWithRpcPromise(_0x15f1('0xe9'),_0x15f1('0xea'),{'command':_0x4f2ff1[_0x15f1('0xeb')]?util['format'](_0x15f1('0xec'),_0x5e4937['interval'],_0x4f2ff1['timezone']):util[_0x15f1('0xa0')](_0x15f1('0xed'),_0x5e4937[_0x15f1('0xee')])},client9002)[_0x15f1('0x14')](function(_0x4f6f6f){var _0x5d6b7f=_0x4f6f6f&&_0x4f6f6f[_0x15f1('0xef')](_0x15f1('0xf0'))>=0x0?!![]:![];logger[_0x15f1('0x1c')](_0x15f1('0xf1'),_0x4f2ff1['id'],_0x5e4937['id'],_0x5e4937[_0x15f1('0xee')],_0x5d6b7f?_0x15f1('0xf2'):_0x15f1('0xf3'),_0x4f2ff1[_0x15f1('0xeb')]?_0x4f2ff1[_0x15f1('0xeb')]:_0x15f1('0xf4'));return _0x5d6b7f;})[_0x15f1('0x46')](function(_0x41fd14){logger[_0x15f1('0x1a')](_0x15f1('0xf1'),_0x4f2ff1['id'],_0x5e4937['id'],_0x5e4937[_0x15f1('0xee')],util['inspect'](_0x41fd14,{'showHidden':![],'depth':null}),_0x4f2ff1[_0x15f1('0xeb')]?_0x4f2ff1[_0x15f1('0xeb')]:'No\x20timezone');return![];});}exports[_0x15f1('0xea')]=function(_0x4e3473,_0x3fe267){var _0x417ccd=0x0;var _0x46b65d=0x0;var _0x4399ee=![];var _0x4cae06;var _0x52d3f9;return db[_0x15f1('0x31')][_0x15f1('0x4c')]({'where':{'id':_0x4e3473[_0x15f1('0x48')]['id']},'include':[{'model':db[_0x15f1('0xf5')],'as':_0x15f1('0xf5'),'include':[{'model':db[_0x15f1('0xf5')],'as':_0x15f1('0xf6'),'attributes':['id',_0x15f1('0xee')],'raw':!![]}]}]})['then'](handleEntityNotFound(_0x3fe267,null))[_0x15f1('0x14')](function(_0x35a158){if(_0x35a158){_0x4cae06=_0x35a158;return _0x35a158[_0x15f1('0xf7')]({'raw':!![]});}})[_0x15f1('0x14')](function(_0x51d80d){if(_0x4cae06){if(_0x51d80d){_0x52d3f9=_0x51d80d;}}return require(_0x15f1('0xf8'))['getLicense']();})[_0x15f1('0x14')](function(_0x5be510){if(_0x5be510){_0x46b65d=_0x5be510['virtual'];_0x4399ee=_0x5be510['custom'];}})[_0x15f1('0x14')](function(){return db[_0x15f1('0xa7')][_0x15f1('0x24')]({'where':{'closed':![]}});})[_0x15f1('0x14')](function(_0x3da541){_0x417ccd=_0x3da541;if(_0x46b65d&&_0x3da541>_0x46b65d){return db['License']['findOne']({'where':{'id':0x1}})['then'](function(_0x40fb0){if(_0x40fb0){_0x40fb0[_0x15f1('0xf9')](_0x15f1('0xfa'));}});}})[_0x15f1('0x14')](function(){if(_0x4cae06[_0x15f1('0xf5')]&&_0x4cae06[_0x15f1('0xf5')]['Intervals']){var _0x3c0d69=[];for(var _0x295388=0x0;_0x295388<_0x4cae06[_0x15f1('0xf5')]['Intervals'][_0x15f1('0x3b')];_0x295388++){var _0x2a456b=_0x4cae06[_0x15f1('0xf5')][_0x15f1('0xf6')][_0x295388][_0x15f1('0x51')]({'plain':!![]});_0x3c0d69['push'](iftimePromise(_0x2a456b,_0x4cae06));}return BPromise[_0x15f1('0xfb')](_0x3c0d69)['then'](function(_0x13448e){return _[_0x15f1('0xfc')](_0x13448e);});}else{return!![];}})['then'](function(_0x4189a5){var _0x49fa5c=fs[_0x15f1('0xfd')](path[_0x15f1('0x71')](config['root'],_0x15f1('0xfe')),'utf8');var _0x2303e5={'remote':_0x4cae06[_0x15f1('0xff')],'query':querystring[_0x15f1('0x19')](_['merge'](_0x4cae06['get']({'plain':!![]}),{'customerIp':_0x4e3473[_0x15f1('0x7b')][_0x15f1('0x99')]||_0x4e3473['headers'][_0x15f1('0x100')]||_0x4e3473[_0x15f1('0x101')][_0x15f1('0x102')]||_0x4e3473['ip'],'referer':_0x4e3473[_0x15f1('0x7b')][_0x15f1('0x103')],'openedInteractions':_0x417ccd,'maxInteractions':_0x46b65d,'virtual':_0x4399ee[_0x15f1('0x104')],'online':_0x4189a5,'custom':_0x4399ee}))[_0x15f1('0x105')](/'/g,'\x5c\x27')};_0x3fe267[_0x15f1('0x2c')](ejs[_0x15f1('0x106')](Mustache[_0x15f1('0x106')](_0x49fa5c,_0x2303e5),{'proactiveActions':_0x52d3f9,'alignment':_0x4cae06[_0x15f1('0x107')],'verticalAlignment':_0x4cae06[_0x15f1('0x108')],'div_color':_0x4cae06['color'],'labelText':_0x4cae06[_0x15f1('0x109')],'text_color':_0x4cae06[_0x15f1('0x10a')],'text_button_color':_0x4cae06[_0x15f1('0x10b')],'button_color':_0x4cae06['color_button'],'background_color':_0x4cae06['backgroundColor'],'hideWhenOffline':_0x4cae06[_0x15f1('0x10c')],'interval':_0x4cae06[_0x15f1('0x10d')]}));})[_0x15f1('0x46')](handleError(_0x3fe267,null));};exports['addApplications']=function(_0x470a58,_0x251c05){var _0x3aef22=_0x470a58['params']['id'];var _0x165d49=_0x470a58[_0x15f1('0x4e')];var _0x47e998=0xc8;var _0x105130=null;return db[_0x15f1('0x10e')][_0x15f1('0xce')]({'isolationLevel':db[_0x15f1('0x10e')][_0x15f1('0x10f')][_0x15f1('0x110')]['READ_COMMITTED']},function(_0xd0d4f6){return db[_0x15f1('0x31')][_0x15f1('0xe3')]({'where':{'id':_0x3aef22},'transaction':_0xd0d4f6})[_0x15f1('0x14')](function(_0x3413da){if(_0x3413da){return db[_0x15f1('0x8f')][_0x15f1('0x28')]({'where':{'ChatWebsiteId':_0x3aef22},'transaction':_0xd0d4f6})[_0x15f1('0x14')](function(){var _0x2d712b=_[_0x15f1('0x30')](_0x165d49,function(_0x31688f){_0x31688f[_0x15f1('0x58')]=_0x3aef22;return _0x31688f;});return db[_0x15f1('0x8f')][_0x15f1('0x111')](_0x2d712b,{'transaction':_0xd0d4f6});});}else{_0x47e998=0x194;_0x105130=[];}});})[_0x15f1('0x14')](function(){if(_0x47e998!==0x194){return db[_0x15f1('0x8f')][_0x15f1('0x112')]({'where':{'ChatWebsiteId':_0x3aef22},'order':_0x15f1('0x95')})[_0x15f1('0x14')](function(_0x125c87){_0x105130=_0x125c87;});}})[_0x15f1('0x46')](function(_0x374a2a){_0x47e998=0x1f4;logger[_0x15f1('0x1a')](_0x374a2a[_0x15f1('0x2a')]);if(_0x374a2a['name']){delete _0x374a2a[_0x15f1('0x2b')];}_0x105130=_0x374a2a;})['finally'](function(){if(_0x105130===null){_0x251c05['sendStatus'](_0x47e998);}else{if(_0x47e998===0x1f4){_0x251c05[_0x15f1('0x1f')](_0x47e998)[_0x15f1('0x2c')](_0x105130);}else{_0x251c05[_0x15f1('0x1f')](_0x47e998)['json'](_0x105130);}}});};exports[_0x15f1('0x113')]=function(_0x545e79,_0x5a9831){var _0x1fbdb8={};var _0x4237d2={};var _0x56f0d4;var _0x56df83;return db['ChatWebsite'][_0x15f1('0xe3')]({'where':{'id':_0x545e79[_0x15f1('0x48')]['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x5a9831,null))[_0x15f1('0x14')](function(_0x43cd3f){if(_0x43cd3f){_0x56f0d4=_0x43cd3f;_0x4237d2['model']=_[_0x15f1('0x49')](db[_0x15f1('0x8f')][_0x15f1('0x32')]);_0x4237d2[_0x15f1('0x37')]=_['keys'](_0x545e79[_0x15f1('0x37')]);_0x4237d2[_0x15f1('0x38')]=_[_0x15f1('0x4a')](_0x4237d2[_0x15f1('0x36')],_0x4237d2[_0x15f1('0x37')]);_0x1fbdb8['attributes']=_[_0x15f1('0x4a')](_0x4237d2[_0x15f1('0x36')],qs[_0x15f1('0x3a')](_0x545e79[_0x15f1('0x37')][_0x15f1('0x3a')]));_0x1fbdb8['attributes']=_0x1fbdb8[_0x15f1('0x39')]['length']?_0x1fbdb8[_0x15f1('0x39')]:_0x4237d2[_0x15f1('0x36')];_0x1fbdb8['order']=qs['sort'](_0x545e79[_0x15f1('0x37')][_0x15f1('0x3f')]);_0x1fbdb8[_0x15f1('0x40')]=qs[_0x15f1('0x38')](_[_0x15f1('0x41')](_0x545e79[_0x15f1('0x37')],_0x4237d2['filters']));if(_0x545e79[_0x15f1('0x37')][_0x15f1('0x5b')]){_0x1fbdb8[_0x15f1('0x40')]=_[_0x15f1('0x5c')](_0x1fbdb8['where'],{'$or':_['map'](_0x1fbdb8['attributes'],function(_0x36360c){var _0x5edc41={};_0x5edc41[_0x36360c]={'$like':'%'+_0x545e79['query']['filter']+'%'};return _0x5edc41;})});}_0x1fbdb8=_[_0x15f1('0x5c')]({},_0x1fbdb8,_0x545e79[_0x15f1('0x43')]);return _0x56f0d4[_0x15f1('0x113')](_0x1fbdb8);}})[_0x15f1('0x14')](function(_0x232b89){if(_0x232b89){_0x56df83=_0x232b89[_0x15f1('0x3b')];if(!_0x545e79[_0x15f1('0x37')][_0x15f1('0x3c')]('nolimit')){_0x1fbdb8[_0x15f1('0x23')]=qs[_0x15f1('0x23')](_0x545e79['query'][_0x15f1('0x23')]);_0x1fbdb8[_0x15f1('0x21')]=qs[_0x15f1('0x21')](_0x545e79['query']['offset']);}return _0x56f0d4[_0x15f1('0x113')](_0x1fbdb8);}})[_0x15f1('0x14')](function(_0x536a16){if(_0x536a16){return _0x536a16?{'count':_0x56df83,'rows':_0x536a16}:null;}})[_0x15f1('0x14')](respondWithResult(_0x5a9831,null))[_0x15f1('0x46')](handleError(_0x5a9831,null));};exports[_0x15f1('0x114')]=function(_0x1fada2,_0x1ae5af){return db[_0x15f1('0x115')][_0x15f1('0x4c')]({'where':{'id':_0x1fada2[_0x15f1('0x48')]['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x1ae5af,null))[_0x15f1('0x14')](function(_0x117c51){if(_0x117c51){return _0x117c51[_0x15f1('0x114')](_0x1fada2[_0x15f1('0x4e')][_0x15f1('0x5f')],_[_0x15f1('0x116')](_0x1fada2['body'],[_0x15f1('0x5f'),'id'])||{});}})[_0x15f1('0x14')](respondWithResult(_0x1ae5af,null))[_0x15f1('0x46')](handleError(_0x1ae5af,null));};exports[_0x15f1('0xf7')]=function(_0x310cc3,_0x1bc337){var _0x38a473={};var _0x201845={};var _0xc0673d;var _0x145fb8;return db[_0x15f1('0x31')][_0x15f1('0xe3')]({'where':{'id':_0x310cc3[_0x15f1('0x48')]['id']}})['then'](handleEntityNotFound(_0x1bc337,null))[_0x15f1('0x14')](function(_0x34554f){if(_0x34554f){_0xc0673d=_0x34554f;_0x201845[_0x15f1('0x36')]=_[_0x15f1('0x49')](db[_0x15f1('0x117')][_0x15f1('0x32')]);_0x201845[_0x15f1('0x37')]=_['keys'](_0x310cc3['query']);_0x201845[_0x15f1('0x38')]=_[_0x15f1('0x4a')](_0x201845['model'],_0x201845[_0x15f1('0x37')]);_0x38a473[_0x15f1('0x39')]=_[_0x15f1('0x4a')](_0x201845[_0x15f1('0x36')],qs[_0x15f1('0x3a')](_0x310cc3[_0x15f1('0x37')]['fields']));_0x38a473[_0x15f1('0x39')]=_0x38a473[_0x15f1('0x39')][_0x15f1('0x3b')]?_0x38a473[_0x15f1('0x39')]:_0x201845[_0x15f1('0x36')];_0x38a473['order']=qs[_0x15f1('0x3f')](_0x310cc3[_0x15f1('0x37')][_0x15f1('0x3f')]);_0x38a473['where']=qs[_0x15f1('0x38')](_[_0x15f1('0x41')](_0x310cc3['query'],_0x201845[_0x15f1('0x38')]));if(_0x310cc3[_0x15f1('0x37')][_0x15f1('0x5b')]){_0x38a473[_0x15f1('0x40')]=_['merge'](_0x38a473[_0x15f1('0x40')],{'$or':_['map'](_0x38a473['attributes'],function(_0x37f116){var _0xa2f975={};_0xa2f975[_0x37f116]={'$like':'%'+_0x310cc3['query'][_0x15f1('0x5b')]+'%'};return _0xa2f975;})});}_0x38a473=_[_0x15f1('0x5c')]({},_0x38a473,_0x310cc3[_0x15f1('0x43')]);return _0xc0673d['getProactiveActions'](_0x38a473);}})[_0x15f1('0x14')](function(_0x1f2576){if(_0x1f2576){_0x145fb8=_0x1f2576['length'];if(!_0x310cc3[_0x15f1('0x37')][_0x15f1('0x3c')](_0x15f1('0x3d'))){_0x38a473['limit']=qs['limit'](_0x310cc3['query'][_0x15f1('0x23')]);_0x38a473[_0x15f1('0x21')]=qs[_0x15f1('0x21')](_0x310cc3[_0x15f1('0x37')][_0x15f1('0x21')]);}return _0xc0673d[_0x15f1('0xf7')](_0x38a473);}})['then'](function(_0x17135d){if(_0x17135d){return _0x17135d?{'count':_0x145fb8,'rows':_0x17135d}:null;}})[_0x15f1('0x14')](respondWithResult(_0x1bc337,null))['catch'](handleError(_0x1bc337,null));};exports['getFields']=function(_0x1a2505,_0x3ab9ed){var _0x154b87=_0x1a2505[_0x15f1('0x37')][_0x15f1('0x118')]==='false'?_0x15f1('0x119'):_0x15f1('0x11a');return db[_0x15f1('0x31')][_0x15f1('0x4c')]({'attributes':['id',_0x154b87],'where':{'id':_0x1a2505[_0x15f1('0x48')]['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x3ab9ed,null))[_0x15f1('0x14')](function(_0x27e37b){if(_0x27e37b){var _0x2a160a=_0x27e37b[_0x154b87];var _0x48d4db=_0x2a160a&&_0x2a160a[_0x15f1('0x11b')]?_0x2a160a['items']:[];_0x3ab9ed[_0x15f1('0x2c')]({'fromKey':_[_0x15f1('0x74')](_0x2a160a[_0x15f1('0x11c')])?undefined:_0x2a160a[_0x15f1('0x11c')],'count':_0x48d4db[_0x15f1('0x3b')],'rows':_0x48d4db});}})['catch'](handleError(_0x3ab9ed,null));};exports[_0x15f1('0x11d')]=function(_0x1fa0ab,_0x374a3d){var _0x349f6e={'raw':![],'where':{}};var _0x256c9d={};var _0x566c6e={'count':0x0,'rows':[]};return db[_0x15f1('0x31')]['findOne']({'where':{'id':_0x1fa0ab[_0x15f1('0x48')]['id']}})['then'](handleEntityNotFound(_0x374a3d,null))[_0x15f1('0x14')](function(_0x2d2b73){if(_0x2d2b73){_0x256c9d['model']=_[_0x15f1('0x49')](db[_0x15f1('0xc9')]['rawAttributes']);_0x256c9d[_0x15f1('0x37')]=_[_0x15f1('0x49')](_0x1fa0ab[_0x15f1('0x37')]);_0x256c9d[_0x15f1('0x38')]=_[_0x15f1('0x4a')](_0x256c9d['model'],_0x256c9d[_0x15f1('0x37')]);_0x349f6e[_0x15f1('0x39')]=_[_0x15f1('0x4a')](_0x256c9d[_0x15f1('0x36')],qs[_0x15f1('0x3a')](_0x1fa0ab[_0x15f1('0x37')][_0x15f1('0x3a')]));_0x349f6e['attributes']=_0x349f6e[_0x15f1('0x39')][_0x15f1('0x3b')]?_0x349f6e['attributes']:_0x256c9d[_0x15f1('0x36')];if(!_0x1fa0ab[_0x15f1('0x37')][_0x15f1('0x3c')](_0x15f1('0x3d'))){_0x349f6e[_0x15f1('0x23')]=qs['limit'](_0x1fa0ab['query'][_0x15f1('0x23')]);_0x349f6e[_0x15f1('0x21')]=qs['offset'](_0x1fa0ab[_0x15f1('0x37')][_0x15f1('0x21')]);}_0x349f6e['order']=qs['sort'](_0x1fa0ab[_0x15f1('0x37')]['sort']);_0x349f6e[_0x15f1('0x40')]=qs[_0x15f1('0x38')](_[_0x15f1('0x41')](_0x1fa0ab[_0x15f1('0x37')],_0x256c9d[_0x15f1('0x38')]));_0x349f6e[_0x15f1('0x40')][_0x15f1('0x58')]=_0x2d2b73['id'];if(_0x1fa0ab['query'][_0x15f1('0x5b')]){_0x349f6e[_0x15f1('0x40')]=_['merge'](_0x349f6e[_0x15f1('0x40')],{'$or':_[_0x15f1('0x30')](_0x349f6e['attributes'],function(_0x36b1a8){var _0x11e223={};_0x11e223[_0x36b1a8]={'$like':'%'+_0x1fa0ab[_0x15f1('0x37')]['filter']+'%'};return _0x11e223;})});}_0x349f6e=_[_0x15f1('0x5c')]({},_0x349f6e,_0x1fa0ab[_0x15f1('0x43')]);return db[_0x15f1('0xc9')][_0x15f1('0x24')]({'where':_0x349f6e['where']})[_0x15f1('0x14')](function(_0x9ec198){_0x566c6e[_0x15f1('0x24')]=_0x9ec198;if(_0x1fa0ab[_0x15f1('0x37')][_0x15f1('0x4b')]){_0x349f6e[_0x15f1('0x44')]=[{'all':!![]}];}else{_0x349f6e[_0x15f1('0x44')]=[{'model':db[_0x15f1('0x8c')],'as':_0x15f1('0x11e'),'required':![]},{'model':db[_0x15f1('0xcf')],'as':_0x15f1('0x11f'),'required':![]}];}return db['ChatOfflineMessage']['findAll'](_0x349f6e);})[_0x15f1('0x14')](function(_0x467f05){_0x566c6e[_0x15f1('0x5d')]=_0x467f05;return _0x566c6e;});}})[_0x15f1('0x14')](respondWithFilteredResult(_0x374a3d,_0x349f6e))[_0x15f1('0x46')](handleError(_0x374a3d,null));};exports[_0x15f1('0x120')]=function(_0x36d9d4,_0x5c1c08){return db['ChatWebsite'][_0x15f1('0x4c')]({'where':{'id':_0x36d9d4[_0x15f1('0x48')]['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x5c1c08,null))[_0x15f1('0x14')](function(_0x4aa919){if(_0x4aa919){return _0x4aa919['addAgents'](_0x36d9d4['body'][_0x15f1('0x5f')],_[_0x15f1('0x116')](_0x36d9d4[_0x15f1('0x4e')],[_0x15f1('0x5f'),'id'])||{})['spread'](function(_0x125144){for(var _0x54fbae=0x0;_0x54fbae<_0x36d9d4['body'][_0x15f1('0x5f')][_0x15f1('0x3b')];_0x54fbae+=0x1){socket[_0x15f1('0x121')](_0x15f1('0x122'),{'UserId':Number(_0x36d9d4[_0x15f1('0x4e')][_0x15f1('0x5f')][_0x54fbae]),'ChatWebsiteId':Number(_0x36d9d4[_0x15f1('0x48')]['id'])});}return _0x125144;});}})[_0x15f1('0x14')](respondWithResult(_0x5c1c08,null))[_0x15f1('0x46')](handleError(_0x5c1c08,null));};exports[_0x15f1('0x123')]=function(_0xf10063,_0x12dc3b){return db[_0x15f1('0x31')][_0x15f1('0x4c')]({'where':{'id':_0xf10063[_0x15f1('0x48')]['id']}})[_0x15f1('0x14')](handleEntityNotFound(_0x12dc3b,null))[_0x15f1('0x14')](function(_0x4a933a){if(_0x4a933a){return _0x4a933a[_0x15f1('0x123')](_0xf10063['query'][_0x15f1('0x5f')])['then'](function(){if(_[_0x15f1('0x124')](_0xf10063[_0x15f1('0x37')]['ids'])){for(var _0x5efbec=0x0;_0x5efbec<_0xf10063[_0x15f1('0x37')]['ids'][_0x15f1('0x3b')];_0x5efbec+=0x1){socket[_0x15f1('0x121')](_0x15f1('0x125'),{'UserId':Number(_0xf10063['query'][_0x15f1('0x5f')][_0x5efbec]),'ChatWebsiteId':Number(_0xf10063['params']['id'])});}}else{socket['emit'](_0x15f1('0x125'),{'UserId':Number(_0xf10063['query'][_0x15f1('0x5f')]),'ChatWebsiteId':Number(_0xf10063[_0x15f1('0x48')]['id'])});}});}})['then'](respondWithStatusCode(_0x12dc3b,null))[_0x15f1('0x46')](handleError(_0x12dc3b,null));};exports[_0x15f1('0x126')]=function(_0x52bb4c,_0x469e82){var _0x41951e={};var _0x300856={};var _0xd1f730;var _0x5b92e2;return db[_0x15f1('0x31')]['findOne']({'where':{'id':_0x52bb4c[_0x15f1('0x48')]['id']}})['then'](handleEntityNotFound(_0x469e82,null))[_0x15f1('0x14')](function(_0x12ae69){if(_0x12ae69){_0xd1f730=_0x12ae69;_0x300856[_0x15f1('0x36')]=_[_0x15f1('0x49')](db['User']['rawAttributes']);_0x300856['query']=_['keys'](_0x52bb4c['query']);_0x300856[_0x15f1('0x38')]=_[_0x15f1('0x4a')](_0x300856[_0x15f1('0x36')],_0x300856[_0x15f1('0x37')]);_0x41951e['attributes']=_['intersection'](_0x300856[_0x15f1('0x36')],qs[_0x15f1('0x3a')](_0x52bb4c[_0x15f1('0x37')][_0x15f1('0x3a')]));_0x41951e['attributes']=_0x41951e[_0x15f1('0x39')][_0x15f1('0x3b')]?_0x41951e[_0x15f1('0x39')]:_0x300856[_0x15f1('0x36')];_0x41951e[_0x15f1('0x3e')]=qs[_0x15f1('0x3f')](_0x52bb4c[_0x15f1('0x37')][_0x15f1('0x3f')]);_0x41951e['where']=qs[_0x15f1('0x38')](_[_0x15f1('0x41')](_0x52bb4c[_0x15f1('0x37')],_0x300856[_0x15f1('0x38')]));if(_0x52bb4c[_0x15f1('0x37')]['filter']){_0x41951e[_0x15f1('0x40')]=_[_0x15f1('0x5c')](_0x41951e['where'],{'$or':_['map'](_0x41951e[_0x15f1('0x39')],function(_0x2de538){var _0x10465c={};_0x10465c[_0x2de538]={'$like':'%'+_0x52bb4c[_0x15f1('0x37')][_0x15f1('0x5b')]+'%'};return _0x10465c;})});}_0x41951e=_[_0x15f1('0x5c')]({},_0x41951e,_0x52bb4c['options']);return _0xd1f730[_0x15f1('0x126')](_0x41951e);}})[_0x15f1('0x14')](function(_0x43b1de){if(_0x43b1de){_0x5b92e2=_0x43b1de['length'];if(!_0x52bb4c['query'][_0x15f1('0x3c')]('nolimit')){_0x41951e[_0x15f1('0x23')]=qs['limit'](_0x52bb4c['query'][_0x15f1('0x23')]);_0x41951e[_0x15f1('0x21')]=qs['offset'](_0x52bb4c[_0x15f1('0x37')][_0x15f1('0x21')]);}return _0xd1f730[_0x15f1('0x126')](_0x41951e);}})[_0x15f1('0x14')](function(_0x7f0fdc){if(_0x7f0fdc){return _0x7f0fdc?{'count':_0x5b92e2,'rows':_0x7f0fdc}:null;}})[_0x15f1('0x14')](respondWithResult(_0x469e82,null))[_0x15f1('0x46')](handleError(_0x469e82,null));};
\ No newline at end of file
diff --git a/server/api/chatWebsite/chatWebsite.events.js b/server/api/chatWebsite/chatWebsite.events.js
index aab2069..1115f91 100644
--- a/server/api/chatWebsite/chatWebsite.events.js
+++ b/server/api/chatWebsite/chatWebsite.events.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x0689=['remove','emit','hook','../../mysqldb','setMaxListeners','save','update'];(function(_0x1ef1a0,_0x129a3b){var _0xb7cb11=function(_0x2e34ac){while(--_0x2e34ac){_0x1ef1a0['push'](_0x1ef1a0['shift']());}};_0xb7cb11(++_0x129a3b);}(_0x0689,0x161));var _0x9068=function(_0x42b0bd,_0x24eb2f){_0x42b0bd=_0x42b0bd-0x0;var _0x22a2cd=_0x0689[_0x42b0bd];return _0x22a2cd;};'use strict';var EventEmitter=require('events');var ChatWebsite=require(_0x9068('0x0'))['db']['ChatWebsite'];var ChatWebsiteEvents=new EventEmitter();ChatWebsiteEvents[_0x9068('0x1')](0x0);var events={'afterCreate':_0x9068('0x2'),'afterUpdate':_0x9068('0x3'),'afterDestroy':_0x9068('0x4')};function emitEvent(_0x44080a){return function(_0x1c35ba,_0x3b12f4,_0x1dbc6f){ChatWebsiteEvents[_0x9068('0x5')](_0x44080a+':'+_0x1c35ba['id'],_0x1c35ba);ChatWebsiteEvents[_0x9068('0x5')](_0x44080a,_0x1c35ba);_0x1dbc6f(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];ChatWebsite[_0x9068('0x6')](e,emitEvent(event));}}module['exports']=ChatWebsiteEvents;
\ No newline at end of file
+var _0xcdd0=['exports','events','../../mysqldb','ChatWebsite','setMaxListeners','update','emit','hook'];(function(_0x42bdad,_0x12836c){var _0x122626=function(_0x2eb29c){while(--_0x2eb29c){_0x42bdad['push'](_0x42bdad['shift']());}};_0x122626(++_0x12836c);}(_0xcdd0,0xd9));var _0x0cdd=function(_0x543084,_0x4337f5){_0x543084=_0x543084-0x0;var _0x306a57=_0xcdd0[_0x543084];return _0x306a57;};'use strict';var EventEmitter=require(_0x0cdd('0x0'));var ChatWebsite=require(_0x0cdd('0x1'))['db'][_0x0cdd('0x2')];var ChatWebsiteEvents=new EventEmitter();ChatWebsiteEvents[_0x0cdd('0x3')](0x0);var events={'afterCreate':'save','afterUpdate':_0x0cdd('0x4'),'afterDestroy':'remove'};function emitEvent(_0x47eb4d){return function(_0x2ff2d3,_0x586e63,_0x119de1){ChatWebsiteEvents[_0x0cdd('0x5')](_0x47eb4d+':'+_0x2ff2d3['id'],_0x2ff2d3);ChatWebsiteEvents[_0x0cdd('0x5')](_0x47eb4d,_0x2ff2d3);_0x119de1(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];ChatWebsite[_0x0cdd('0x6')](e,emitEvent(event));}}module[_0x0cdd('0x7')]=ChatWebsiteEvents;
\ No newline at end of file
diff --git a/server/api/chatWebsite/chatWebsite.model.js b/server/api/chatWebsite/chatWebsite.model.js
index 3b002d7..086790d 100644
--- a/server/api/chatWebsite/chatWebsite.model.js
+++ b/server/api/chatWebsite/chatWebsite.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xb9b7=['ChatWebsite','chat_websites','lodash','api','moment','bluebird','rimraf','./chatWebsite.attributes','define'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xb9b7,0x9b));var _0x7b9b=function(_0x3de6e6,_0x204dd3){_0x3de6e6=_0x3de6e6-0x0;var _0x1a8ce4=_0xb9b7[_0x3de6e6];return _0x1a8ce4;};'use strict';var _=require(_0x7b9b('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x7b9b('0x1'));var moment=require(_0x7b9b('0x2'));var BPromise=require(_0x7b9b('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x7b9b('0x4'));var config=require('../../config/environment');var attributes=require(_0x7b9b('0x5'));module['exports']=function(_0x11d70d,_0x1472f6){return _0x11d70d[_0x7b9b('0x6')](_0x7b9b('0x7'),attributes,{'tableName':_0x7b9b('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0xdfe2=['../../config/environment','./chatWebsite.attributes','exports','ChatWebsite','chat_websites','lodash','api','moment','path','rimraf'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0xdfe2,0x159));var _0x2dfe=function(_0x4e7d25,_0x58285f){_0x4e7d25=_0x4e7d25-0x0;var _0x526fe6=_0xdfe2[_0x4e7d25];return _0x526fe6;};'use strict';var _=require(_0x2dfe('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x2dfe('0x1'));var moment=require(_0x2dfe('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x2dfe('0x3'));var rimraf=require(_0x2dfe('0x4'));var config=require(_0x2dfe('0x5'));var attributes=require(_0x2dfe('0x6'));module[_0x2dfe('0x7')]=function(_0x341e8f,_0x4c4c14){return _0x341e8f['define'](_0x2dfe('0x8'),attributes,{'tableName':_0x2dfe('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/chatWebsite/chatWebsite.rpc.js b/server/api/chatWebsite/chatWebsite.rpc.js
index 2141bf1..de81fae 100644
--- a/server/api/chatWebsite/chatWebsite.rpc.js
+++ b/server/api/chatWebsite/chatWebsite.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xc31d=['../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter','./chatWebsite.socket','register','request','then','info','ChatWebsite,\x20%s,\x20%s','debug','ChatWebsite,\x20%s,\x20%s,\x20%s','stringify','error','message','request\x20sent','result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb'];(function(_0x1b4ea6,_0x49cb6c){var _0x18b36a=function(_0x295a3f){while(--_0x295a3f){_0x1b4ea6['push'](_0x1b4ea6['shift']());}};_0x18b36a(++_0x49cb6c);}(_0xc31d,0x1b9));var _0xdc31=function(_0x52f1e6,_0xf70489){_0x52f1e6=_0x52f1e6-0x0;var _0x21f104=_0xc31d[_0x52f1e6];return _0x21f104;};'use strict';var _=require(_0xdc31('0x0'));var util=require(_0xdc31('0x1'));var moment=require(_0xdc31('0x2'));var BPromise=require(_0xdc31('0x3'));var rs=require(_0xdc31('0x4'));var fs=require('fs');var Redis=require(_0xdc31('0x5'));var db=require(_0xdc31('0x6'))['db'];var utils=require(_0xdc31('0x7'));var logger=require(_0xdc31('0x8'))(_0xdc31('0x9'));var config=require(_0xdc31('0xa'));var jayson=require(_0xdc31('0xb'));var client=jayson[_0xdc31('0xc')][_0xdc31('0xd')]({'port':0x232a});config[_0xdc31('0xe')]=_[_0xdc31('0xf')](config['redis'],{'host':_0xdc31('0x10'),'port':0x18eb});var socket=require(_0xdc31('0x11'))(new Redis(config[_0xdc31('0xe')]));require(_0xdc31('0x12'))[_0xdc31('0x13')](socket);function respondWithRpcPromise(_0x33b300,_0x15d71f,_0x42b9e8){return new BPromise(function(_0x54e6fd,_0x21355c){return client[_0xdc31('0x14')](_0x33b300,_0x42b9e8)[_0xdc31('0x15')](function(_0x522801){logger[_0xdc31('0x16')](_0xdc31('0x17'),_0x15d71f,'request\x20sent');logger[_0xdc31('0x18')](_0xdc31('0x19'),_0x15d71f,'request\x20sent',JSON[_0xdc31('0x1a')](_0x522801));if(_0x522801[_0xdc31('0x1b')]){if(_0x522801[_0xdc31('0x1b')]['code']===0x1f4){logger[_0xdc31('0x1b')](_0xdc31('0x17'),_0x15d71f,_0x522801[_0xdc31('0x1b')][_0xdc31('0x1c')]);return _0x21355c(_0x522801[_0xdc31('0x1b')]['message']);}logger[_0xdc31('0x1b')](_0xdc31('0x17'),_0x15d71f,_0x522801[_0xdc31('0x1b')][_0xdc31('0x1c')]);return _0x54e6fd(_0x522801[_0xdc31('0x1b')]['message']);}else{logger[_0xdc31('0x16')]('ChatWebsite,\x20%s,\x20%s',_0x15d71f,_0xdc31('0x1d'));_0x54e6fd(_0x522801[_0xdc31('0x1e')]['message']);}})[_0xdc31('0x1f')](function(_0x2afd53){logger[_0xdc31('0x1b')]('ChatWebsite,\x20%s,\x20%s',_0x15d71f,_0x2afd53);_0x21355c(_0x2afd53);});});}
\ No newline at end of file
+var _0xcecc=['../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','defaults','socket.io-emitter','./chatWebsite.socket','register','request','then','info','ChatWebsite,\x20%s,\x20%s','request\x20sent','ChatWebsite,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','lodash','util','moment','bluebird','randomstring','../../mysqldb'];(function(_0x2169f2,_0x2458c8){var _0x15b4f1=function(_0x18ef4e){while(--_0x18ef4e){_0x2169f2['push'](_0x2169f2['shift']());}};_0x15b4f1(++_0x2458c8);}(_0xcecc,0xa8));var _0xccec=function(_0x4f0b51,_0x183880){_0x4f0b51=_0x4f0b51-0x0;var _0x126cf5=_0xcecc[_0x4f0b51];return _0x126cf5;};'use strict';var _=require(_0xccec('0x0'));var util=require(_0xccec('0x1'));var moment=require(_0xccec('0x2'));var BPromise=require(_0xccec('0x3'));var rs=require(_0xccec('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xccec('0x5'))['db'];var utils=require(_0xccec('0x6'));var logger=require(_0xccec('0x7'))(_0xccec('0x8'));var config=require(_0xccec('0x9'));var jayson=require(_0xccec('0xa'));var client=jayson[_0xccec('0xb')][_0xccec('0xc')]({'port':0x232a});config[_0xccec('0xd')]=_[_0xccec('0xe')](config[_0xccec('0xd')],{'host':'localhost','port':0x18eb});var socket=require(_0xccec('0xf'))(new Redis(config[_0xccec('0xd')]));require(_0xccec('0x10'))[_0xccec('0x11')](socket);function respondWithRpcPromise(_0x172923,_0x1191fb,_0x502a71){return new BPromise(function(_0x5a4d30,_0x3a7f7c){return client[_0xccec('0x12')](_0x172923,_0x502a71)[_0xccec('0x13')](function(_0x5e5c44){logger[_0xccec('0x14')](_0xccec('0x15'),_0x1191fb,_0xccec('0x16'));logger['debug'](_0xccec('0x17'),_0x1191fb,_0xccec('0x16'),JSON['stringify'](_0x5e5c44));if(_0x5e5c44[_0xccec('0x18')]){if(_0x5e5c44[_0xccec('0x18')][_0xccec('0x19')]===0x1f4){logger[_0xccec('0x18')]('ChatWebsite,\x20%s,\x20%s',_0x1191fb,_0x5e5c44[_0xccec('0x18')][_0xccec('0x1a')]);return _0x3a7f7c(_0x5e5c44['error'][_0xccec('0x1a')]);}logger[_0xccec('0x18')](_0xccec('0x15'),_0x1191fb,_0x5e5c44[_0xccec('0x18')][_0xccec('0x1a')]);return _0x5a4d30(_0x5e5c44['error'][_0xccec('0x1a')]);}else{logger['info'](_0xccec('0x15'),_0x1191fb,_0xccec('0x16'));_0x5a4d30(_0x5e5c44[_0xccec('0x1b')][_0xccec('0x1a')]);}})[_0xccec('0x1c')](function(_0x156a01){logger[_0xccec('0x18')](_0xccec('0x15'),_0x1191fb,_0x156a01);_0x3a7f7c(_0x156a01);});});}
\ No newline at end of file
diff --git a/server/api/chatWebsite/chatWebsite.socket.js b/server/api/chatWebsite/chatWebsite.socket.js
index 4f1b327..8f336cd 100644
--- a/server/api/chatWebsite/chatWebsite.socket.js
+++ b/server/api/chatWebsite/chatWebsite.socket.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x9b8a=['remove','emit','length','chatWebsite:','save'];(function(_0x46bfdd,_0x342b59){var _0x5e42c5=function(_0x4fe725){while(--_0x4fe725){_0x46bfdd['push'](_0x46bfdd['shift']());}};_0x5e42c5(++_0x342b59);}(_0x9b8a,0x144));var _0xa9b8=function(_0x50408f,_0x92ffac){_0x50408f=_0x50408f-0x0;var _0xb02957=_0x9b8a[_0x50408f];return _0xb02957;};'use strict';var ChatWebsiteEvents=require('./chatWebsite.events');var events=[_0xa9b8('0x0'),_0xa9b8('0x1'),'update'];function createListener(_0x5cc96f,_0x9bd901){return function(_0x3466d8){_0x9bd901[_0xa9b8('0x2')](_0x5cc96f,_0x3466d8);};}function removeListener(_0x26c120,_0x452028){return function(){ChatWebsiteEvents['removeListener'](_0x26c120,_0x452028);};}exports['register']=function(_0x2493e1){for(var _0x4398=0x0,_0x1c12de=events[_0xa9b8('0x3')];_0x4398<_0x1c12de;_0x4398++){var _0x3fab78=events[_0x4398];var _0x409174=createListener(_0xa9b8('0x4')+_0x3fab78,_0x2493e1);ChatWebsiteEvents['on'](_0x3fab78,_0x409174);}};
\ No newline at end of file
+var _0x4590=['emit','removeListener','register','length','chatWebsite:','./chatWebsite.events','save','remove'];(function(_0x53d616,_0x190b1a){var _0x136650=function(_0x2b8188){while(--_0x2b8188){_0x53d616['push'](_0x53d616['shift']());}};_0x136650(++_0x190b1a);}(_0x4590,0x1a5));var _0x0459=function(_0x26b51c,_0xd6ad59){_0x26b51c=_0x26b51c-0x0;var _0x46f0aa=_0x4590[_0x26b51c];return _0x46f0aa;};'use strict';var ChatWebsiteEvents=require(_0x0459('0x0'));var events=[_0x0459('0x1'),_0x0459('0x2'),'update'];function createListener(_0x3e332e,_0x1bd987){return function(_0x5ba911){_0x1bd987[_0x0459('0x3')](_0x3e332e,_0x5ba911);};}function removeListener(_0x31a21d,_0x55549e){return function(){ChatWebsiteEvents[_0x0459('0x4')](_0x31a21d,_0x55549e);};}exports[_0x0459('0x5')]=function(_0x57e793){for(var _0x3bc5d1=0x0,_0x495247=events[_0x0459('0x6')];_0x3bc5d1<_0x495247;_0x3bc5d1++){var _0xff5aee=events[_0x3bc5d1];var _0x19fd17=createListener(_0x0459('0x7')+_0xff5aee,_0x57e793);ChatWebsiteEvents['on'](_0xff5aee,_0x19fd17);}};
\ No newline at end of file
diff --git a/server/api/chatWebsite/index.js b/server/api/chatWebsite/index.js
index 2e801f7..fa5c024 100644
--- a/server/api/chatWebsite/index.js
+++ b/server/api/chatWebsite/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xd78e=['addCustomerAvatar','/:id/system_avatar','addSystemAvatar','/:id/notify','notify','ensureDir','replace','extname','/:id/offline','offline','addInteraction','addProactiveActions','addAgents','put','update','delete','removeDispositions','exports','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatWebsite.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/logo','getLogo','/:id/avatar','getAvatar','/:id/customer_avatar','getSystemAvatar','/:id/interactions','getInteractions','/:id/snippet','/:id/applications','getApplications','/:id/proactive_actions','getProactiveActions','/:id/fields','getOfflineMessages','/:id/users','getAgents','post','create','addDisposition','addAnswer','diskStorage','join','root','server/files/images/logos/','%s-%s','now','originalname','single','file','addLogo','server/files/images/avatars/','format'];(function(_0x500bff,_0x357a34){var _0x414361=function(_0x12c391){while(--_0x12c391){_0x500bff['push'](_0x500bff['shift']());}};_0x414361(++_0x357a34);}(_0xd78e,0x9c));var _0xed78=function(_0x158f01,_0x12af3e){_0x158f01=_0x158f01-0x0;var _0x5ef74e=_0xd78e[_0x158f01];return _0x5ef74e;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xed78('0x0'));var timeout=require('connect-timeout');var express=require(_0xed78('0x1'));var router=express[_0xed78('0x2')]();var fs_extra=require(_0xed78('0x3'));var auth=require(_0xed78('0x4'));var interaction=require(_0xed78('0x5'));var config=require(_0xed78('0x6'));var controller=require(_0xed78('0x7'));router[_0xed78('0x8')]('/',auth[_0xed78('0x9')](),controller['index']);router['get'](_0xed78('0xa'),auth[_0xed78('0x9')](),controller[_0xed78('0xb')]);router['get'](_0xed78('0xc'),auth[_0xed78('0x9')](),controller[_0xed78('0xd')]);router['get'](_0xed78('0xe'),auth[_0xed78('0x9')](),controller[_0xed78('0xf')]);router[_0xed78('0x8')](_0xed78('0x10'),auth[_0xed78('0x9')](),controller[_0xed78('0x11')]);router[_0xed78('0x8')](_0xed78('0x12'),controller[_0xed78('0x13')]);router[_0xed78('0x8')](_0xed78('0x14'),controller[_0xed78('0x15')]);router[_0xed78('0x8')](_0xed78('0x16'),controller['getCustomerAvatar']);router['get']('/:id/system_avatar',controller[_0xed78('0x17')]);router[_0xed78('0x8')](_0xed78('0x18'),auth[_0xed78('0x9')](),controller[_0xed78('0x19')]);router[_0xed78('0x8')](_0xed78('0x1a'),controller['getSnippet']);router[_0xed78('0x8')](_0xed78('0x1b'),auth[_0xed78('0x9')](),controller[_0xed78('0x1c')]);router[_0xed78('0x8')](_0xed78('0x1d'),auth[_0xed78('0x9')](),controller[_0xed78('0x1e')]);router[_0xed78('0x8')](_0xed78('0x1f'),controller['getFields']);router[_0xed78('0x8')]('/:id/offline_messages',auth[_0xed78('0x9')](),controller[_0xed78('0x20')]);router[_0xed78('0x8')](_0xed78('0x21'),auth[_0xed78('0x9')](),controller[_0xed78('0x22')]);router[_0xed78('0x23')]('/',auth[_0xed78('0x9')](),controller[_0xed78('0x24')]);router[_0xed78('0x23')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0xed78('0x25')]);router[_0xed78('0x23')](_0xed78('0x10'),auth[_0xed78('0x9')](),controller[_0xed78('0x26')]);var upload=multer({'storage':multer[_0xed78('0x27')]({'destination':function(_0x1251b8,_0xe6bd93,_0x202d11){_0x202d11(null,path[_0xed78('0x28')](config[_0xed78('0x29')],_0xed78('0x2a')));},'filename':function(_0x4c8f4d,_0x34bf81,_0x44a51f){_0x44a51f(null,util['format'](_0xed78('0x2b'),Date[_0xed78('0x2c')](),_0x34bf81[_0xed78('0x2d')]));}})});router[_0xed78('0x23')]('/:id/logo',upload[_0xed78('0x2e')](_0xed78('0x2f')),controller[_0xed78('0x30')]);var upload=multer({'storage':multer[_0xed78('0x27')]({'destination':function(_0x36612a,_0x3d58a2,_0x5bcc2f){_0x5bcc2f(null,path[_0xed78('0x28')](config[_0xed78('0x29')],_0xed78('0x31')));},'filename':function(_0x1a8f7b,_0x5edb61,_0x447e39){_0x447e39(null,util['format'](_0xed78('0x2b'),Date[_0xed78('0x2c')](),_0x5edb61[_0xed78('0x2d')]));}})});router['post'](_0xed78('0x14'),upload[_0xed78('0x2e')](_0xed78('0x2f')),controller['addAvatar']);var upload=multer({'storage':multer[_0xed78('0x27')]({'destination':function(_0x5939bd,_0x526065,_0x55a9b5){_0x55a9b5(null,path['join'](config['root'],_0xed78('0x31')));},'filename':function(_0x1c3ea1,_0xf6a692,_0xed43bd){_0xed43bd(null,util[_0xed78('0x32')](_0xed78('0x2b'),Date[_0xed78('0x2c')](),_0xf6a692[_0xed78('0x2d')]));}})});router[_0xed78('0x23')](_0xed78('0x16'),upload['single'](_0xed78('0x2f')),controller[_0xed78('0x33')]);var upload=multer({'storage':multer[_0xed78('0x27')]({'destination':function(_0xbf1371,_0x8cc1d4,_0x431669){_0x431669(null,path[_0xed78('0x28')](config[_0xed78('0x29')],_0xed78('0x31')));},'filename':function(_0x4e7833,_0x27ec0c,_0x284204){_0x284204(null,util[_0xed78('0x32')](_0xed78('0x2b'),Date[_0xed78('0x2c')](),_0x27ec0c[_0xed78('0x2d')]));}})});router[_0xed78('0x23')](_0xed78('0x34'),upload['single'](_0xed78('0x2f')),controller[_0xed78('0x35')]);router[_0xed78('0x23')](_0xed78('0x36'),controller[_0xed78('0x37')]);const offlineUploadMulter=multer({'storage':multer[_0xed78('0x27')]({'destination':function(_0x2dd723,_0x30f3d3,_0x376649){const _0x58a3b0=path[_0xed78('0x28')](config[_0xed78('0x29')],'server/files','attachments','offline-chat');fs_extra[_0xed78('0x38')](_0x58a3b0,function(){_0x376649(null,_0x58a3b0);});},'filename':function(_0x41b843,_0xd5fde2,_0x332f1c){const _0x735a42=_0xd5fde2[_0xed78('0x2d')][_0xed78('0x39')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-');const _0x2bf800=path[_0xed78('0x3a')](_0x735a42);const _0x2f0c9f=Date['now']()+'-'+_0x735a42['replace'](_0x2bf800,'')+_0x2bf800;_0x332f1c(null,_0x2f0c9f);}})});router['post'](_0xed78('0x3b'),offlineUploadMulter['any'](),controller[_0xed78('0x3c')]);router['post'](_0xed78('0x18'),auth[_0xed78('0x9')](),controller[_0xed78('0x3d')]);router[_0xed78('0x23')](_0xed78('0x1b'),auth[_0xed78('0x9')](),controller['addApplications']);router[_0xed78('0x23')](_0xed78('0x1d'),auth[_0xed78('0x9')](),controller[_0xed78('0x3e')]);router[_0xed78('0x23')](_0xed78('0x21'),auth[_0xed78('0x9')](),controller[_0xed78('0x3f')]);router[_0xed78('0x40')]('/:id',auth[_0xed78('0x9')](),controller[_0xed78('0x41')]);router[_0xed78('0x42')]('/:id',auth[_0xed78('0x9')](),controller['destroy']);router[_0xed78('0x42')](_0xed78('0xe'),auth[_0xed78('0x9')](),controller[_0xed78('0x43')]);router[_0xed78('0x42')](_0xed78('0x10'),auth[_0xed78('0x9')](),controller['removeAnswers']);router['delete'](_0xed78('0x21'),auth[_0xed78('0x9')](),controller['removeAgents']);module[_0xed78('0x44')]=router;
\ No newline at end of file
+var _0x6bde=['ensureDir','replace','extname','/:id/offline','any','addInteraction','addApplications','addProactiveActions','addAgents','put','/:id','update','delete','destroy','removeAnswers','/:id/users','removeAgents','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatWebsite.controller','get','isAuthenticated','/describe','describe','show','getDispositions','/:id/canned_answers','getAnswers','/:id/logo','getAvatar','/:id/customer_avatar','getCustomerAvatar','getSystemAvatar','/:id/interactions','getSnippet','/:id/applications','getApplications','/:id/proactive_actions','getProactiveActions','getFields','/:id/offline_messages','getOfflineMessages','getAgents','post','/:id/dispositions','diskStorage','root','server/files/images/logos/','format','%s-%s','now','originalname','single','file','join','/:id/avatar','addAvatar','server/files/images/avatars/','addCustomerAvatar','/:id/system_avatar','/:id/notify','notify','server/files','offline-chat'];(function(_0x5938c8,_0x4a9ca){var _0x4353f7=function(_0x50764f){while(--_0x50764f){_0x5938c8['push'](_0x5938c8['shift']());}};_0x4353f7(++_0x4a9ca);}(_0x6bde,0x17a));var _0xe6bd=function(_0x507591,_0x3fd7ca){_0x507591=_0x507591-0x0;var _0x15fba1=_0x6bde[_0x507591];return _0x15fba1;};'use strict';var multer=require(_0xe6bd('0x0'));var util=require(_0xe6bd('0x1'));var path=require(_0xe6bd('0x2'));var timeout=require(_0xe6bd('0x3'));var express=require('express');var router=express[_0xe6bd('0x4')]();var fs_extra=require(_0xe6bd('0x5'));var auth=require(_0xe6bd('0x6'));var interaction=require(_0xe6bd('0x7'));var config=require(_0xe6bd('0x8'));var controller=require(_0xe6bd('0x9'));router[_0xe6bd('0xa')]('/',auth[_0xe6bd('0xb')](),controller['index']);router[_0xe6bd('0xa')](_0xe6bd('0xc'),auth[_0xe6bd('0xb')](),controller[_0xe6bd('0xd')]);router[_0xe6bd('0xa')]('/:id',auth[_0xe6bd('0xb')](),controller[_0xe6bd('0xe')]);router['get']('/:id/dispositions',auth[_0xe6bd('0xb')](),controller[_0xe6bd('0xf')]);router[_0xe6bd('0xa')](_0xe6bd('0x10'),auth[_0xe6bd('0xb')](),controller[_0xe6bd('0x11')]);router['get'](_0xe6bd('0x12'),controller['getLogo']);router['get']('/:id/avatar',controller[_0xe6bd('0x13')]);router[_0xe6bd('0xa')](_0xe6bd('0x14'),controller[_0xe6bd('0x15')]);router[_0xe6bd('0xa')]('/:id/system_avatar',controller[_0xe6bd('0x16')]);router[_0xe6bd('0xa')](_0xe6bd('0x17'),auth[_0xe6bd('0xb')](),controller['getInteractions']);router[_0xe6bd('0xa')]('/:id/snippet',controller[_0xe6bd('0x18')]);router['get'](_0xe6bd('0x19'),auth[_0xe6bd('0xb')](),controller[_0xe6bd('0x1a')]);router[_0xe6bd('0xa')](_0xe6bd('0x1b'),auth['isAuthenticated'](),controller[_0xe6bd('0x1c')]);router['get']('/:id/fields',controller[_0xe6bd('0x1d')]);router[_0xe6bd('0xa')](_0xe6bd('0x1e'),auth[_0xe6bd('0xb')](),controller[_0xe6bd('0x1f')]);router[_0xe6bd('0xa')]('/:id/users',auth['isAuthenticated'](),controller[_0xe6bd('0x20')]);router[_0xe6bd('0x21')]('/',auth[_0xe6bd('0xb')](),controller['create']);router[_0xe6bd('0x21')](_0xe6bd('0x22'),auth[_0xe6bd('0xb')](),controller['addDisposition']);router[_0xe6bd('0x21')](_0xe6bd('0x10'),auth[_0xe6bd('0xb')](),controller['addAnswer']);var upload=multer({'storage':multer[_0xe6bd('0x23')]({'destination':function(_0x858384,_0x57c29b,_0x44ea73){_0x44ea73(null,path['join'](config[_0xe6bd('0x24')],_0xe6bd('0x25')));},'filename':function(_0x314690,_0x4859eb,_0x271d2a){_0x271d2a(null,util[_0xe6bd('0x26')](_0xe6bd('0x27'),Date[_0xe6bd('0x28')](),_0x4859eb[_0xe6bd('0x29')]));}})});router[_0xe6bd('0x21')](_0xe6bd('0x12'),upload[_0xe6bd('0x2a')](_0xe6bd('0x2b')),controller['addLogo']);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0x203f05,_0x2e06d4,_0x4f3701){_0x4f3701(null,path[_0xe6bd('0x2c')](config[_0xe6bd('0x24')],'server/files/images/avatars/'));},'filename':function(_0x40ed0,_0x5ed8bf,_0x3cc6d1){_0x3cc6d1(null,util['format'](_0xe6bd('0x27'),Date['now'](),_0x5ed8bf[_0xe6bd('0x29')]));}})});router[_0xe6bd('0x21')](_0xe6bd('0x2d'),upload['single']('file'),controller[_0xe6bd('0x2e')]);var upload=multer({'storage':multer[_0xe6bd('0x23')]({'destination':function(_0x24568a,_0x25b6d3,_0x5dd83b){_0x5dd83b(null,path[_0xe6bd('0x2c')](config[_0xe6bd('0x24')],_0xe6bd('0x2f')));},'filename':function(_0x9663ec,_0x13c1e9,_0x5f49f8){_0x5f49f8(null,util[_0xe6bd('0x26')]('%s-%s',Date[_0xe6bd('0x28')](),_0x13c1e9[_0xe6bd('0x29')]));}})});router[_0xe6bd('0x21')](_0xe6bd('0x14'),upload[_0xe6bd('0x2a')](_0xe6bd('0x2b')),controller[_0xe6bd('0x30')]);var upload=multer({'storage':multer[_0xe6bd('0x23')]({'destination':function(_0x360860,_0x3cee83,_0x5934e8){_0x5934e8(null,path[_0xe6bd('0x2c')](config[_0xe6bd('0x24')],'server/files/images/avatars/'));},'filename':function(_0x48743f,_0x408a02,_0x110be0){_0x110be0(null,util[_0xe6bd('0x26')](_0xe6bd('0x27'),Date[_0xe6bd('0x28')](),_0x408a02['originalname']));}})});router[_0xe6bd('0x21')](_0xe6bd('0x31'),upload[_0xe6bd('0x2a')]('file'),controller['addSystemAvatar']);router['post'](_0xe6bd('0x32'),controller[_0xe6bd('0x33')]);const offlineUploadMulter=multer({'storage':multer[_0xe6bd('0x23')]({'destination':function(_0xdc69b2,_0x13bf86,_0x211ba4){const _0x4d1888=path[_0xe6bd('0x2c')](config[_0xe6bd('0x24')],_0xe6bd('0x34'),'attachments',_0xe6bd('0x35'));fs_extra[_0xe6bd('0x36')](_0x4d1888,function(){_0x211ba4(null,_0x4d1888);});},'filename':function(_0x248342,_0xc20dca,_0x4ce8df){const _0x210186=_0xc20dca[_0xe6bd('0x29')][_0xe6bd('0x37')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-');const _0x23053a=path[_0xe6bd('0x38')](_0x210186);const _0x109c39=Date[_0xe6bd('0x28')]()+'-'+_0x210186['replace'](_0x23053a,'')+_0x23053a;_0x4ce8df(null,_0x109c39);}})});router[_0xe6bd('0x21')](_0xe6bd('0x39'),offlineUploadMulter[_0xe6bd('0x3a')](),controller['offline']);router[_0xe6bd('0x21')](_0xe6bd('0x17'),auth[_0xe6bd('0xb')](),controller[_0xe6bd('0x3b')]);router[_0xe6bd('0x21')](_0xe6bd('0x19'),auth[_0xe6bd('0xb')](),controller[_0xe6bd('0x3c')]);router['post'](_0xe6bd('0x1b'),auth[_0xe6bd('0xb')](),controller[_0xe6bd('0x3d')]);router['post']('/:id/users',auth[_0xe6bd('0xb')](),controller[_0xe6bd('0x3e')]);router[_0xe6bd('0x3f')](_0xe6bd('0x40'),auth['isAuthenticated'](),controller[_0xe6bd('0x41')]);router[_0xe6bd('0x42')](_0xe6bd('0x40'),auth[_0xe6bd('0xb')](),controller[_0xe6bd('0x43')]);router['delete']('/:id/dispositions',auth[_0xe6bd('0xb')](),controller['removeDispositions']);router['delete'](_0xe6bd('0x10'),auth[_0xe6bd('0xb')](),controller[_0xe6bd('0x44')]);router[_0xe6bd('0x42')](_0xe6bd('0x45'),auth[_0xe6bd('0xb')](),controller[_0xe6bd('0x46')]);module[_0xe6bd('0x47')]=router;
\ No newline at end of file
diff --git a/server/api/client-side-logs.js b/server/api/client-side-logs.js
index 08b04e2..b277b8c 100644
--- a/server/api/client-side-logs.js
+++ b/server/api/client-side-logs.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x0b01=['get','Client-Side\x20logger\x20not\x20found!','/client-logs','use','isAuthenticated','beaver-logger/server','../components/auth/service','../config/environment','Router','production','app'];(function(_0x170d79,_0x3b1f10){var _0x5570ee=function(_0x155bbf){while(--_0x155bbf){_0x170d79['push'](_0x170d79['shift']());}};_0x5570ee(++_0x3b1f10);}(_0x0b01,0xe1));var _0x10b0=function(_0x27d19b,_0x288033){_0x27d19b=_0x27d19b-0x0;var _0x336e22=_0x0b01[_0x27d19b];return _0x336e22;};var beaverLogger=require(_0x10b0('0x0'));var express=require('express');var auth=require(_0x10b0('0x1'));var config=require(_0x10b0('0x2'));var router=express[_0x10b0('0x3')]();var isProduction=config['env']===_0x10b0('0x4')||![];function clientSideLogs(_0x18e74c,_0x35a8da,_0x431424){var _0x414f79=_0x18e74c[_0x10b0('0x5')][_0x10b0('0x6')]('client-side-logger');if(!_0x414f79){throw new Error(_0x10b0('0x7'));}return beaverLogger['expressEndpoint']({'uri':_0x10b0('0x8'),'logger':_0x414f79,'enableCors':!isProduction})(_0x18e74c,_0x35a8da,_0x431424);}router[_0x10b0('0x9')](auth[_0x10b0('0xa')](),clientSideLogs);module['exports']=router;
\ No newline at end of file
+var _0x4e84=['production','app','get','Client-Side\x20logger\x20not\x20found!','expressEndpoint','/client-logs','use','isAuthenticated','exports','../components/auth/service','env'];(function(_0x3b405a,_0x19e7cf){var _0x3560c9=function(_0x3ef131){while(--_0x3ef131){_0x3b405a['push'](_0x3b405a['shift']());}};_0x3560c9(++_0x19e7cf);}(_0x4e84,0x1d7));var _0x44e8=function(_0x2d6378,_0x2d034b){_0x2d6378=_0x2d6378-0x0;var _0xd620be=_0x4e84[_0x2d6378];return _0xd620be;};var beaverLogger=require('beaver-logger/server');var express=require('express');var auth=require(_0x44e8('0x0'));var config=require('../config/environment');var router=express['Router']();var isProduction=config[_0x44e8('0x1')]===_0x44e8('0x2')||![];function clientSideLogs(_0x5d7051,_0x1a4cf3,_0x17f9b3){var _0x5b554d=_0x5d7051[_0x44e8('0x3')][_0x44e8('0x4')]('client-side-logger');if(!_0x5b554d){throw new Error(_0x44e8('0x5'));}return beaverLogger[_0x44e8('0x6')]({'uri':_0x44e8('0x7'),'logger':_0x5b554d,'enableCors':!isProduction})(_0x5d7051,_0x1a4cf3,_0x17f9b3);}router[_0x44e8('0x8')](auth[_0x44e8('0x9')](),clientSideLogs);module[_0x44e8('0xa')]=router;
\ No newline at end of file
diff --git a/server/api/cloudProvider/cloudProvider.attributes.js b/server/api/cloudProvider/cloudProvider.attributes.js
index 0381bbd..d9abc73 100644
--- a/server/api/cloudProvider/cloudProvider.attributes.js
+++ b/server/api/cloudProvider/cloudProvider.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x6b7f=['Dynamics365','MicrosoftAzure\x20=>\x20client_id','MicrosoftAzure\x20=>\x20tenant','MicrosoftAzure\x20=>\x20client_secret','TEXT','MicrosoftAzure\x20=>\x20access_token','MicrosoftAzure\x20=>\x20refresh_token','MicrosoftAzure\x20=>\x20Dynamics365\x20=>\x20remote_uri','sequelize','exports','STRING','ENUM','AmazonAWS','Google','MicrosoftAzure','Outlook365'];(function(_0x395671,_0x48b2ae){var _0x32ee7d=function(_0x29e673){while(--_0x29e673){_0x395671['push'](_0x395671['shift']());}};_0x32ee7d(++_0x48b2ae);}(_0x6b7f,0xb8));var _0xf6b7=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6b7f[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0xf6b7('0x0'));module[_0xf6b7('0x1')]={'name':{'type':Sequelize[_0xf6b7('0x2')],'allowNull':![],'validate':{'notEmpty':!![]}},'service':{'type':Sequelize[_0xf6b7('0x3')](_0xf6b7('0x4'),_0xf6b7('0x5'),_0xf6b7('0x6')),'allowNull':![],'validate':{'notEmpty':!![]}},'type':{'type':Sequelize[_0xf6b7('0x3')](_0xf6b7('0x7'),_0xf6b7('0x8'))},'data1':{'type':Sequelize[_0xf6b7('0x2')],'comment':_0xf6b7('0x9')},'data2':{'type':Sequelize['STRING'],'comment':_0xf6b7('0xa')},'data3':{'type':Sequelize[_0xf6b7('0x2')],'comment':_0xf6b7('0xb')},'data4':{'type':Sequelize[_0xf6b7('0x2')],'comment':'MicrosoftAzure\x20=>\x20redirect_uri'},'data5':{'type':Sequelize[_0xf6b7('0xc')],'comment':_0xf6b7('0xd')},'data6':{'type':Sequelize[_0xf6b7('0xc')],'comment':_0xf6b7('0xe')},'data7':{'type':Sequelize[_0xf6b7('0xc')],'comment':_0xf6b7('0xf')}};
\ No newline at end of file
+var _0x84b0=['MicrosoftAzure\x20=>\x20client_id','MicrosoftAzure\x20=>\x20tenant','MicrosoftAzure\x20=>\x20client_secret','MicrosoftAzure\x20=>\x20redirect_uri','TEXT','MicrosoftAzure\x20=>\x20access_token','MicrosoftAzure\x20=>\x20refresh_token','MicrosoftAzure\x20=>\x20Dynamics365\x20=>\x20remote_uri','STRING','ENUM','Google','MicrosoftAzure','Outlook365','Dynamics365'];(function(_0x39ea42,_0x3c1f50){var _0x33f5b7=function(_0x5d8e73){while(--_0x5d8e73){_0x39ea42['push'](_0x39ea42['shift']());}};_0x33f5b7(++_0x3c1f50);}(_0x84b0,0xbe));var _0x084b=function(_0x487b0c,_0x14ff74){_0x487b0c=_0x487b0c-0x0;var _0x1adbdc=_0x84b0[_0x487b0c];return _0x1adbdc;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x084b('0x0')],'allowNull':![],'validate':{'notEmpty':!![]}},'service':{'type':Sequelize[_0x084b('0x1')]('AmazonAWS',_0x084b('0x2'),_0x084b('0x3')),'allowNull':![],'validate':{'notEmpty':!![]}},'type':{'type':Sequelize[_0x084b('0x1')](_0x084b('0x4'),_0x084b('0x5'))},'data1':{'type':Sequelize[_0x084b('0x0')],'comment':_0x084b('0x6')},'data2':{'type':Sequelize[_0x084b('0x0')],'comment':_0x084b('0x7')},'data3':{'type':Sequelize[_0x084b('0x0')],'comment':_0x084b('0x8')},'data4':{'type':Sequelize[_0x084b('0x0')],'comment':_0x084b('0x9')},'data5':{'type':Sequelize[_0x084b('0xa')],'comment':_0x084b('0xb')},'data6':{'type':Sequelize[_0x084b('0xa')],'comment':_0x084b('0xc')},'data7':{'type':Sequelize[_0x084b('0xa')],'comment':_0x084b('0xd')}};
\ No newline at end of file
diff --git a/server/api/cloudProvider/cloudProvider.controller.js b/server/api/cloudProvider/cloudProvider.controller.js
index 7248f58..23a24a1 100644
--- a/server/api/cloudProvider/cloudProvider.controller.js
+++ b/server/api/cloudProvider/cloudProvider.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x8cca=['offset','set','update','then','destroy','error','stack','name','padEnd','slice','index','map','CloudProvider','type','key','model','query','keys','filters','intersection','attributes','length','hasOwnProperty','nolimit','order','sort','pick','filter','where','VIRTUAL','includeAll','include','findAll','rows','MicrosoftAzure','decryptString','data3','catch','show','params','rawAttributes','fields','options','service','create','body','Name\x20parameter\x20not\x20specified','Service\x20parameter\x20not\x20specified','values','includes','Invalid\x20service\x20parameter.\x20Allowed\x20values:\x20','join','encryptString','find','oauth2MicrosoftAuthorize','generateMicrosoftAuthorizationUrl','user','oauth2MicrosoftCallback','get','state','Invalid\x20state\x20parameter','parse','from','base64','ascii','isValidIdToken','id_token','oauth2Claims','getOauth2MicrosoftAccessToken','code','data5','access_token','data6','startRefreshInterval','emit','microsoftAuthorization:error','Invalid\x20authentication\x20state\x20parameter','send','message','Authentication\x20failed\x20for\x20cloud\x20provider\x20#%s,\x20err:%s','stringify','lodash','../../components/parsers/qs','../../config/logger','../../mysqldb','./cloudProvider.oauth','redis','defaults','socket.io-emitter','sendStatus','status','end','json','limit','undefined','count'];(function(_0x5cb62a,_0x4da59e){var _0x586448=function(_0xbed0b0){while(--_0xbed0b0){_0x5cb62a['push'](_0x5cb62a['shift']());}};_0x586448(++_0x4da59e);}(_0x8cca,0x171));var _0xa8cc=function(_0x115b27,_0x2d321b){_0x115b27=_0x115b27-0x0;var _0x475264=_0x8cca[_0x115b27];return _0x475264;};'use strict';var _=require(_0xa8cc('0x0'));var Redis=require('ioredis');var qs=require(_0xa8cc('0x1'));var encryptor=require('../../components/encryptor');var config=require('../../config/environment');var logger=require(_0xa8cc('0x2'))('api');var db=require(_0xa8cc('0x3'))['db'];var oauth=require(_0xa8cc('0x4'));config[_0xa8cc('0x5')]=_[_0xa8cc('0x6')](config['redis'],{'host':'localhost','port':0x18eb});var socket=require(_0xa8cc('0x7'))(new Redis(config[_0xa8cc('0x5')]));var redis=new Redis(config['redis']);function respondWithStatusCode(_0x1ac6a2,_0x1bdea2){_0x1bdea2=_0x1bdea2||0xcc;return function(_0x48d484){if(_0x48d484){return _0x1ac6a2[_0xa8cc('0x8')](_0x1bdea2);}return _0x1ac6a2[_0xa8cc('0x9')](_0x1bdea2)[_0xa8cc('0xa')]();};}function respondWithResult(_0x5551d9,_0x2fab26){_0x2fab26=_0x2fab26||0xc8;return function(_0x45042c){if(_0x45042c){return _0x5551d9[_0xa8cc('0x9')](_0x2fab26)[_0xa8cc('0xb')](_0x45042c);}};}function respondWithFilteredResult(_0x439fa2,_0x33fb0b){return function(_0x3d3b25){if(_0x3d3b25){var _0x2cb20c=typeof _0x33fb0b['offset']==='undefined'&&typeof _0x33fb0b[_0xa8cc('0xc')]===_0xa8cc('0xd');var _0x9f8deb=_0x3d3b25[_0xa8cc('0xe')];var _0x396496=_0x2cb20c?0x0:_0x33fb0b[_0xa8cc('0xf')];var _0x4f44f5=_0x2cb20c?_0x3d3b25[_0xa8cc('0xe')]:_0x33fb0b[_0xa8cc('0xf')]+_0x33fb0b['limit'];var _0x3189fb;if(_0x4f44f5>=_0x9f8deb){_0x4f44f5=_0x9f8deb;_0x3189fb=0xc8;}else{_0x3189fb=0xce;}_0x439fa2[_0xa8cc('0x9')](_0x3189fb);return _0x439fa2[_0xa8cc('0x10')]('Content-Range',_0x396496+'-'+_0x4f44f5+'/'+_0x9f8deb)['json'](_0x3d3b25);}return null;};}function saveUpdates(_0x1810d3){return function(_0x2e1af7){if(_0x2e1af7){return _0x2e1af7[_0xa8cc('0x11')](_0x1810d3)[_0xa8cc('0x12')](function(_0x3cd897){return _0x3cd897;});}return null;};}function removeEntity(_0xd6d08){return function(_0x30b79f){if(_0x30b79f){return _0x30b79f[_0xa8cc('0x13')]()['then'](function(){_0xd6d08[_0xa8cc('0x9')](0xcc)[_0xa8cc('0xa')]();});}};}function handleEntityNotFound(_0x363036){return function(_0x2c5824){if(!_0x2c5824){_0x363036[_0xa8cc('0x8')](0x194);}return _0x2c5824;};}function handleError(_0x243485,_0x2d3a33){_0x2d3a33=_0x2d3a33||0x1f4;return function(_0x285984){logger[_0xa8cc('0x14')](_0x285984[_0xa8cc('0x15')]);if(_0x285984['name']){delete _0x285984[_0xa8cc('0x16')];}_0x243485['status'](_0x2d3a33)['send'](_0x285984);};}function maskClientSecret(_0x17cab8){return _[_0xa8cc('0x17')](_0x17cab8[_0xa8cc('0x18')](0x0,0x3),0x14,'*');}exports[_0xa8cc('0x19')]=function(_0x2685b2,_0xb470cc){var _0x42ce14={},_0x230003={},_0x469273={'count':0x0,'rows':[]};var _0x732ad7=_[_0xa8cc('0x1a')](db[_0xa8cc('0x1b')]['rawAttributes'],function(_0x24bdbd){return{'name':_0x24bdbd['fieldName'],'type':_0x24bdbd[_0xa8cc('0x1c')][_0xa8cc('0x1d')]};});_0x230003[_0xa8cc('0x1e')]=_[_0xa8cc('0x1a')](_0x732ad7,_0xa8cc('0x16'));_0x230003[_0xa8cc('0x1f')]=_[_0xa8cc('0x20')](_0x2685b2[_0xa8cc('0x1f')]);_0x230003[_0xa8cc('0x21')]=_[_0xa8cc('0x22')](_0x230003[_0xa8cc('0x1e')],_0x230003[_0xa8cc('0x1f')]);_0x42ce14[_0xa8cc('0x23')]=_[_0xa8cc('0x22')](_0x230003['model'],qs['fields'](_0x2685b2[_0xa8cc('0x1f')]['fields']));_0x42ce14[_0xa8cc('0x23')]=_0x42ce14['attributes'][_0xa8cc('0x24')]?_0x42ce14[_0xa8cc('0x23')]:_0x230003['model'];if(!_0x2685b2['query'][_0xa8cc('0x25')](_0xa8cc('0x26'))){_0x42ce14[_0xa8cc('0xc')]=qs[_0xa8cc('0xc')](_0x2685b2[_0xa8cc('0x1f')]['limit']);_0x42ce14[_0xa8cc('0xf')]=qs[_0xa8cc('0xf')](_0x2685b2[_0xa8cc('0x1f')][_0xa8cc('0xf')]);}_0x42ce14[_0xa8cc('0x27')]=qs[_0xa8cc('0x28')](_0x2685b2[_0xa8cc('0x1f')][_0xa8cc('0x28')]);_0x42ce14['where']=qs[_0xa8cc('0x21')](_[_0xa8cc('0x29')](_0x2685b2[_0xa8cc('0x1f')],_0x230003['filters']),_0x732ad7);if(_0x2685b2[_0xa8cc('0x1f')][_0xa8cc('0x2a')]){_0x42ce14[_0xa8cc('0x2b')]=_['merge'](_0x42ce14[_0xa8cc('0x2b')],{'$or':_[_0xa8cc('0x1a')](_0x732ad7,function(_0x1f937c){if(_0x1f937c['type']!==_0xa8cc('0x2c')){var _0x1a58f1={};_0x1a58f1[_0x1f937c[_0xa8cc('0x16')]]={'$like':'%'+_0x2685b2[_0xa8cc('0x1f')][_0xa8cc('0x2a')]+'%'};return _0x1a58f1;}})});}_0x42ce14=_['merge']({},_0x42ce14,_0x2685b2['options']);var _0x24a4d1={'where':_0x42ce14[_0xa8cc('0x2b')]};return db[_0xa8cc('0x1b')][_0xa8cc('0xe')](_0x24a4d1)[_0xa8cc('0x12')](function(_0x5a513e){_0x469273[_0xa8cc('0xe')]=_0x5a513e;if(_0x2685b2[_0xa8cc('0x1f')][_0xa8cc('0x2d')]){_0x42ce14[_0xa8cc('0x2e')]=[{'all':!![]}];}return db['CloudProvider'][_0xa8cc('0x2f')](_0x42ce14);})[_0xa8cc('0x12')](function(_0x32445b){_0x469273[_0xa8cc('0x30')]=_[_0xa8cc('0x1a')](_0x32445b,function(_0x58a215){if(_0x58a215['service']===_0xa8cc('0x31')){var _0x21f9c7=encryptor[_0xa8cc('0x32')](_0x58a215[_0xa8cc('0x33')]);_0x58a215[_0xa8cc('0x33')]=maskClientSecret(_0x21f9c7);}return _0x58a215;});return _0x469273;})[_0xa8cc('0x12')](respondWithFilteredResult(_0xb470cc,_0x42ce14))[_0xa8cc('0x34')](handleError(_0xb470cc,null));};exports[_0xa8cc('0x35')]=function(_0x382090,_0x4e0be8){var _0x2404ed={'raw':!![],'where':{'id':_0x382090[_0xa8cc('0x36')]['id']}},_0x337fc0={};_0x337fc0['model']=_[_0xa8cc('0x20')](db[_0xa8cc('0x1b')][_0xa8cc('0x37')]);_0x337fc0[_0xa8cc('0x1f')]=_[_0xa8cc('0x20')](_0x382090[_0xa8cc('0x1f')]);_0x337fc0[_0xa8cc('0x21')]=_['intersection'](_0x337fc0['model'],_0x337fc0[_0xa8cc('0x1f')]);_0x2404ed[_0xa8cc('0x23')]=_[_0xa8cc('0x22')](_0x337fc0['model'],qs[_0xa8cc('0x38')](_0x382090[_0xa8cc('0x1f')][_0xa8cc('0x38')]));_0x2404ed[_0xa8cc('0x23')]=_0x2404ed[_0xa8cc('0x23')][_0xa8cc('0x24')]?_0x2404ed['attributes']:_0x337fc0['model'];if(_0x382090[_0xa8cc('0x1f')][_0xa8cc('0x2d')]){_0x2404ed[_0xa8cc('0x2e')]=[{'all':!![]}];}_0x2404ed=_['merge']({},_0x2404ed,_0x382090[_0xa8cc('0x39')]);return db[_0xa8cc('0x1b')]['find'](_0x2404ed)[_0xa8cc('0x12')](handleEntityNotFound(_0x4e0be8,null))['then'](function(_0x4eec20){if(_0x4eec20[_0xa8cc('0x3a')]===_0xa8cc('0x31')){var _0x3f4f05=encryptor[_0xa8cc('0x32')](_0x4eec20[_0xa8cc('0x33')]);_0x4eec20['data3']=maskClientSecret(_0x3f4f05);}return _0x4eec20;})[_0xa8cc('0x12')](respondWithResult(_0x4e0be8,null))[_0xa8cc('0x34')](handleError(_0x4e0be8,null));};exports[_0xa8cc('0x3b')]=function(_0x131e2b,_0x5b1913){if(!_0x131e2b[_0xa8cc('0x3c')]['name'])throw new Error(_0xa8cc('0x3d'));if(!_0x131e2b['body']['service'])throw new Error(_0xa8cc('0x3e'));var _0x32576e=db[_0xa8cc('0x1b')][_0xa8cc('0x37')]['service'][_0xa8cc('0x3f')];if(!_0x32576e[_0xa8cc('0x40')](_0x131e2b['body'][_0xa8cc('0x3a')]))throw new Error(_0xa8cc('0x41')+_0x32576e[_0xa8cc('0x42')](',\x20'));if(_0x131e2b[_0xa8cc('0x3c')][_0xa8cc('0x3a')]==='MicrosoftAzure'&&_0x131e2b[_0xa8cc('0x3c')]['data3']){_0x131e2b[_0xa8cc('0x3c')]['data3']=encryptor[_0xa8cc('0x43')](_0x131e2b['body']['data3']);}return db[_0xa8cc('0x1b')][_0xa8cc('0x3b')](_0x131e2b[_0xa8cc('0x3c')],{})[_0xa8cc('0x12')](respondWithResult(_0x5b1913,0xc9))['catch'](handleError(_0x5b1913,null));};exports[_0xa8cc('0x11')]=function(_0x5d0f0d,_0x365e4a){if(_0x5d0f0d[_0xa8cc('0x3c')]['id']){delete _0x5d0f0d[_0xa8cc('0x3c')]['id'];}return db[_0xa8cc('0x1b')][_0xa8cc('0x44')]({'where':{'id':_0x5d0f0d[_0xa8cc('0x36')]['id']}})[_0xa8cc('0x12')](handleEntityNotFound(_0x365e4a,null))[_0xa8cc('0x12')](function(_0x4873fd){if(_0x4873fd[_0xa8cc('0x3a')]==='MicrosoftAzure'&&_0x5d0f0d[_0xa8cc('0x3c')][_0xa8cc('0x33')]){_0x5d0f0d[_0xa8cc('0x3c')][_0xa8cc('0x33')]=encryptor[_0xa8cc('0x43')](_0x5d0f0d[_0xa8cc('0x3c')]['data3']);}return _0x4873fd;})[_0xa8cc('0x12')](saveUpdates(_0x5d0f0d['body'],null))[_0xa8cc('0x12')](respondWithResult(_0x365e4a,null))[_0xa8cc('0x34')](handleError(_0x365e4a,null));};exports['destroy']=function(_0x145f8a,_0x24ec66){return db['CloudProvider']['find']({'where':{'id':_0x145f8a[_0xa8cc('0x36')]['id']}})[_0xa8cc('0x12')](handleEntityNotFound(_0x24ec66,null))[_0xa8cc('0x12')](removeEntity(_0x24ec66,null))[_0xa8cc('0x34')](handleError(_0x24ec66,null));};exports[_0xa8cc('0x45')]=function(_0x3d74b9,_0x34121f){return db[_0xa8cc('0x1b')]['findOne']({'where':{'id':_0x3d74b9[_0xa8cc('0x36')]['id']},'raw':!![]})['then'](function(_0x446294){if(!_0x446294)return _0x34121f['sendStatus'](0x194);return{'url':oauth[_0xa8cc('0x46')](_0x446294,_0x3d74b9[_0xa8cc('0x47')]['id'])};})[_0xa8cc('0x12')](respondWithResult(_0x34121f,null))[_0xa8cc('0x34')](handleError(_0x34121f,null));};exports[_0xa8cc('0x48')]=function(_0xd1b2c3,_0x4c946a){var _0x1fff22=_0xd1b2c3['body'];var _0x166831;var _0x2da6ad;if(_0x1fff22[_0xa8cc('0x14')])throw _0x1fff22;redis[_0xa8cc('0x49')](_0x1fff22[_0xa8cc('0x4a')])['then'](function(_0x4bd692){if(!_0x4bd692)throw new Error(_0xa8cc('0x4b'));_0x166831=JSON[_0xa8cc('0x4c')](_0x4bd692);var _0x341db7=Buffer[_0xa8cc('0x4d')](_0x1fff22['state'],_0xa8cc('0x4e'))['toString'](_0xa8cc('0x4f'));_0x2da6ad=JSON[_0xa8cc('0x4c')](_0x341db7);if(!oauth[_0xa8cc('0x50')](_0x1fff22[_0xa8cc('0x51')],_0x166831[_0xa8cc('0x52')]))throw new Error('Unable\x20to\x20validate\x20id_token');redis['del'](_0x1fff22[_0xa8cc('0x4a')]);return oauth[_0xa8cc('0x53')](_0x1fff22[_0xa8cc('0x54')],_0x166831);})[_0xa8cc('0x12')](function(_0x2eec3){_0x166831[_0xa8cc('0x55')]=_0x2eec3[_0xa8cc('0x56')];_0x166831[_0xa8cc('0x57')]=_0x2eec3['refresh_token'];return db[_0xa8cc('0x1b')][_0xa8cc('0x11')]({'data5':_0x166831[_0xa8cc('0x55')],'data6':_0x166831[_0xa8cc('0x57')]},{'where':{'id':_0x166831['id']}});})[_0xa8cc('0x12')](function(){oauth[_0xa8cc('0x58')](_0x166831);socket['emit']('microsoftAuthorization:success',{'id':_0x2da6ad['id']});return;})['then'](respondWithStatusCode(_0x4c946a,null))['catch'](function(_0x1a65d1){if(_0x2da6ad){socket[_0xa8cc('0x59')](_0xa8cc('0x5a'),{'id':_0x2da6ad['id']});}if(!_0x166831){logger[_0xa8cc('0x14')](_0xa8cc('0x5b'),_0x1a65d1);return _0x4c946a[_0xa8cc('0x9')](0x1f4)[_0xa8cc('0x5c')](_0x1a65d1[_0xa8cc('0x5d')]);}logger[_0xa8cc('0x14')](_0xa8cc('0x5e'),_0x166831['id'],JSON[_0xa8cc('0x5f')](_0x1a65d1));});};
\ No newline at end of file
+var _0x3b09=['findOne','generateMicrosoftAuthorizationUrl','user','oauth2MicrosoftCallback','get','state','Invalid\x20state\x20parameter','parse','from','base64','ascii','del','getOauth2MicrosoftAccessToken','code','access_token','data6','refresh_token','data5','startRefreshInterval','emit','Invalid\x20authentication\x20state\x20parameter','Authentication\x20failed\x20for\x20cloud\x20provider\x20#%s,\x20err:%s','stringify','lodash','ioredis','../../components/encryptor','../../config/environment','../../config/logger','../../mysqldb','redis','defaults','socket.io-emitter','sendStatus','status','end','offset','undefined','limit','count','Content-Range','json','update','then','destroy','error','stack','name','send','padEnd','index','map','rawAttributes','fieldName','model','query','keys','filters','intersection','attributes','fields','nolimit','sort','where','filter','type','VIRTUAL','merge','options','CloudProvider','includeAll','include','findAll','rows','service','MicrosoftAzure','decryptString','data3','catch','show','params','length','find','create','body','Name\x20parameter\x20not\x20specified','Service\x20parameter\x20not\x20specified','values'];(function(_0x15e200,_0x387e2d){var _0x176d26=function(_0x5c5ec2){while(--_0x5c5ec2){_0x15e200['push'](_0x15e200['shift']());}};_0x176d26(++_0x387e2d);}(_0x3b09,0xc5));var _0x93b0=function(_0x44e97a,_0x4a01d2){_0x44e97a=_0x44e97a-0x0;var _0x15a999=_0x3b09[_0x44e97a];return _0x15a999;};'use strict';var _=require(_0x93b0('0x0'));var Redis=require(_0x93b0('0x1'));var qs=require('../../components/parsers/qs');var encryptor=require(_0x93b0('0x2'));var config=require(_0x93b0('0x3'));var logger=require(_0x93b0('0x4'))('api');var db=require(_0x93b0('0x5'))['db'];var oauth=require('./cloudProvider.oauth');config[_0x93b0('0x6')]=_[_0x93b0('0x7')](config['redis'],{'host':'localhost','port':0x18eb});var socket=require(_0x93b0('0x8'))(new Redis(config[_0x93b0('0x6')]));var redis=new Redis(config[_0x93b0('0x6')]);function respondWithStatusCode(_0x5cabc4,_0x2e2363){_0x2e2363=_0x2e2363||0xcc;return function(_0x15e093){if(_0x15e093){return _0x5cabc4[_0x93b0('0x9')](_0x2e2363);}return _0x5cabc4[_0x93b0('0xa')](_0x2e2363)[_0x93b0('0xb')]();};}function respondWithResult(_0x26b67d,_0x177a77){_0x177a77=_0x177a77||0xc8;return function(_0x38eab0){if(_0x38eab0){return _0x26b67d[_0x93b0('0xa')](_0x177a77)['json'](_0x38eab0);}};}function respondWithFilteredResult(_0x3827cd,_0x803d76){return function(_0x48796e){if(_0x48796e){var _0x990d5c=typeof _0x803d76[_0x93b0('0xc')]===_0x93b0('0xd')&&typeof _0x803d76[_0x93b0('0xe')]===_0x93b0('0xd');var _0x58fd50=_0x48796e['count'];var _0x47f97b=_0x990d5c?0x0:_0x803d76[_0x93b0('0xc')];var _0x4fe772=_0x990d5c?_0x48796e[_0x93b0('0xf')]:_0x803d76[_0x93b0('0xc')]+_0x803d76[_0x93b0('0xe')];var _0x5df412;if(_0x4fe772>=_0x58fd50){_0x4fe772=_0x58fd50;_0x5df412=0xc8;}else{_0x5df412=0xce;}_0x3827cd[_0x93b0('0xa')](_0x5df412);return _0x3827cd['set'](_0x93b0('0x10'),_0x47f97b+'-'+_0x4fe772+'/'+_0x58fd50)[_0x93b0('0x11')](_0x48796e);}return null;};}function saveUpdates(_0x2ad9eb){return function(_0x22aeb7){if(_0x22aeb7){return _0x22aeb7[_0x93b0('0x12')](_0x2ad9eb)[_0x93b0('0x13')](function(_0x48344a){return _0x48344a;});}return null;};}function removeEntity(_0x1e456d){return function(_0x26d969){if(_0x26d969){return _0x26d969[_0x93b0('0x14')]()[_0x93b0('0x13')](function(){_0x1e456d[_0x93b0('0xa')](0xcc)[_0x93b0('0xb')]();});}};}function handleEntityNotFound(_0x362111){return function(_0x28f9b4){if(!_0x28f9b4){_0x362111[_0x93b0('0x9')](0x194);}return _0x28f9b4;};}function handleError(_0xb3bf04,_0x24bf4f){_0x24bf4f=_0x24bf4f||0x1f4;return function(_0x52d7eb){logger[_0x93b0('0x15')](_0x52d7eb[_0x93b0('0x16')]);if(_0x52d7eb[_0x93b0('0x17')]){delete _0x52d7eb[_0x93b0('0x17')];}_0xb3bf04[_0x93b0('0xa')](_0x24bf4f)[_0x93b0('0x18')](_0x52d7eb);};}function maskClientSecret(_0x1d2ced){return _[_0x93b0('0x19')](_0x1d2ced['slice'](0x0,0x3),0x14,'*');}exports[_0x93b0('0x1a')]=function(_0x5386e6,_0x25a01c){var _0x28f236={},_0x42f66b={},_0x59e5e7={'count':0x0,'rows':[]};var _0x537c2=_[_0x93b0('0x1b')](db['CloudProvider'][_0x93b0('0x1c')],function(_0x14f246){return{'name':_0x14f246[_0x93b0('0x1d')],'type':_0x14f246['type']['key']};});_0x42f66b[_0x93b0('0x1e')]=_['map'](_0x537c2,_0x93b0('0x17'));_0x42f66b[_0x93b0('0x1f')]=_[_0x93b0('0x20')](_0x5386e6[_0x93b0('0x1f')]);_0x42f66b[_0x93b0('0x21')]=_[_0x93b0('0x22')](_0x42f66b[_0x93b0('0x1e')],_0x42f66b[_0x93b0('0x1f')]);_0x28f236[_0x93b0('0x23')]=_[_0x93b0('0x22')](_0x42f66b[_0x93b0('0x1e')],qs[_0x93b0('0x24')](_0x5386e6[_0x93b0('0x1f')]['fields']));_0x28f236[_0x93b0('0x23')]=_0x28f236['attributes']['length']?_0x28f236[_0x93b0('0x23')]:_0x42f66b[_0x93b0('0x1e')];if(!_0x5386e6['query']['hasOwnProperty'](_0x93b0('0x25'))){_0x28f236['limit']=qs[_0x93b0('0xe')](_0x5386e6[_0x93b0('0x1f')]['limit']);_0x28f236['offset']=qs[_0x93b0('0xc')](_0x5386e6[_0x93b0('0x1f')]['offset']);}_0x28f236['order']=qs[_0x93b0('0x26')](_0x5386e6[_0x93b0('0x1f')][_0x93b0('0x26')]);_0x28f236[_0x93b0('0x27')]=qs[_0x93b0('0x21')](_['pick'](_0x5386e6['query'],_0x42f66b[_0x93b0('0x21')]),_0x537c2);if(_0x5386e6[_0x93b0('0x1f')][_0x93b0('0x28')]){_0x28f236[_0x93b0('0x27')]=_['merge'](_0x28f236[_0x93b0('0x27')],{'$or':_[_0x93b0('0x1b')](_0x537c2,function(_0x1e9191){if(_0x1e9191[_0x93b0('0x29')]!==_0x93b0('0x2a')){var _0x37fbb7={};_0x37fbb7[_0x1e9191[_0x93b0('0x17')]]={'$like':'%'+_0x5386e6[_0x93b0('0x1f')]['filter']+'%'};return _0x37fbb7;}})});}_0x28f236=_[_0x93b0('0x2b')]({},_0x28f236,_0x5386e6[_0x93b0('0x2c')]);var _0x3ffc54={'where':_0x28f236['where']};return db[_0x93b0('0x2d')]['count'](_0x3ffc54)[_0x93b0('0x13')](function(_0x2a130c){_0x59e5e7['count']=_0x2a130c;if(_0x5386e6['query'][_0x93b0('0x2e')]){_0x28f236[_0x93b0('0x2f')]=[{'all':!![]}];}return db[_0x93b0('0x2d')][_0x93b0('0x30')](_0x28f236);})[_0x93b0('0x13')](function(_0x483777){_0x59e5e7[_0x93b0('0x31')]=_[_0x93b0('0x1b')](_0x483777,function(_0x5d2d47){if(_0x5d2d47[_0x93b0('0x32')]===_0x93b0('0x33')){var _0x3eabd9=encryptor[_0x93b0('0x34')](_0x5d2d47['data3']);_0x5d2d47[_0x93b0('0x35')]=maskClientSecret(_0x3eabd9);}return _0x5d2d47;});return _0x59e5e7;})[_0x93b0('0x13')](respondWithFilteredResult(_0x25a01c,_0x28f236))[_0x93b0('0x36')](handleError(_0x25a01c,null));};exports[_0x93b0('0x37')]=function(_0x5c577c,_0x293f0d){var _0x16c87e={'raw':!![],'where':{'id':_0x5c577c[_0x93b0('0x38')]['id']}},_0x1dfe5b={};_0x1dfe5b[_0x93b0('0x1e')]=_[_0x93b0('0x20')](db[_0x93b0('0x2d')][_0x93b0('0x1c')]);_0x1dfe5b['query']=_['keys'](_0x5c577c[_0x93b0('0x1f')]);_0x1dfe5b[_0x93b0('0x21')]=_[_0x93b0('0x22')](_0x1dfe5b['model'],_0x1dfe5b[_0x93b0('0x1f')]);_0x16c87e[_0x93b0('0x23')]=_['intersection'](_0x1dfe5b['model'],qs['fields'](_0x5c577c[_0x93b0('0x1f')]['fields']));_0x16c87e['attributes']=_0x16c87e['attributes'][_0x93b0('0x39')]?_0x16c87e['attributes']:_0x1dfe5b[_0x93b0('0x1e')];if(_0x5c577c[_0x93b0('0x1f')][_0x93b0('0x2e')]){_0x16c87e['include']=[{'all':!![]}];}_0x16c87e=_['merge']({},_0x16c87e,_0x5c577c[_0x93b0('0x2c')]);return db[_0x93b0('0x2d')][_0x93b0('0x3a')](_0x16c87e)[_0x93b0('0x13')](handleEntityNotFound(_0x293f0d,null))[_0x93b0('0x13')](function(_0x5ac4b5){if(_0x5ac4b5['service']===_0x93b0('0x33')){var _0x3bb7ae=encryptor['decryptString'](_0x5ac4b5[_0x93b0('0x35')]);_0x5ac4b5['data3']=maskClientSecret(_0x3bb7ae);}return _0x5ac4b5;})['then'](respondWithResult(_0x293f0d,null))[_0x93b0('0x36')](handleError(_0x293f0d,null));};exports[_0x93b0('0x3b')]=function(_0x119917,_0x59b39c){if(!_0x119917[_0x93b0('0x3c')][_0x93b0('0x17')])throw new Error(_0x93b0('0x3d'));if(!_0x119917['body'][_0x93b0('0x32')])throw new Error(_0x93b0('0x3e'));var _0x212fe8=db[_0x93b0('0x2d')][_0x93b0('0x1c')][_0x93b0('0x32')][_0x93b0('0x3f')];if(!_0x212fe8['includes'](_0x119917[_0x93b0('0x3c')][_0x93b0('0x32')]))throw new Error('Invalid\x20service\x20parameter.\x20Allowed\x20values:\x20'+_0x212fe8['join'](',\x20'));if(_0x119917[_0x93b0('0x3c')][_0x93b0('0x32')]==='MicrosoftAzure'&&_0x119917[_0x93b0('0x3c')][_0x93b0('0x35')]){_0x119917['body'][_0x93b0('0x35')]=encryptor['encryptString'](_0x119917[_0x93b0('0x3c')][_0x93b0('0x35')]);}return db['CloudProvider']['create'](_0x119917[_0x93b0('0x3c')],{})['then'](respondWithResult(_0x59b39c,0xc9))['catch'](handleError(_0x59b39c,null));};exports[_0x93b0('0x12')]=function(_0x5d010e,_0x65ba33){if(_0x5d010e['body']['id']){delete _0x5d010e[_0x93b0('0x3c')]['id'];}return db['CloudProvider'][_0x93b0('0x3a')]({'where':{'id':_0x5d010e[_0x93b0('0x38')]['id']}})['then'](handleEntityNotFound(_0x65ba33,null))['then'](function(_0x5bc8a3){if(_0x5bc8a3[_0x93b0('0x32')]===_0x93b0('0x33')&&_0x5d010e['body']['data3']){_0x5d010e[_0x93b0('0x3c')]['data3']=encryptor['encryptString'](_0x5d010e['body'][_0x93b0('0x35')]);}return _0x5bc8a3;})[_0x93b0('0x13')](saveUpdates(_0x5d010e[_0x93b0('0x3c')],null))[_0x93b0('0x13')](respondWithResult(_0x65ba33,null))[_0x93b0('0x36')](handleError(_0x65ba33,null));};exports['destroy']=function(_0x3fb502,_0x327aa1){return db[_0x93b0('0x2d')][_0x93b0('0x3a')]({'where':{'id':_0x3fb502[_0x93b0('0x38')]['id']}})['then'](handleEntityNotFound(_0x327aa1,null))[_0x93b0('0x13')](removeEntity(_0x327aa1,null))['catch'](handleError(_0x327aa1,null));};exports['oauth2MicrosoftAuthorize']=function(_0x547f99,_0x33ceb7){return db['CloudProvider'][_0x93b0('0x40')]({'where':{'id':_0x547f99['params']['id']},'raw':!![]})['then'](function(_0x435eee){if(!_0x435eee)return _0x33ceb7[_0x93b0('0x9')](0x194);return{'url':oauth[_0x93b0('0x41')](_0x435eee,_0x547f99[_0x93b0('0x42')]['id'])};})[_0x93b0('0x13')](respondWithResult(_0x33ceb7,null))[_0x93b0('0x36')](handleError(_0x33ceb7,null));};exports[_0x93b0('0x43')]=function(_0x3fd97f,_0x179b00){var _0x162f4d=_0x3fd97f[_0x93b0('0x3c')];var _0x3fe2c4;var _0x2a8918;if(_0x162f4d['error'])throw _0x162f4d;redis[_0x93b0('0x44')](_0x162f4d[_0x93b0('0x45')])['then'](function(_0x5ab4fb){if(!_0x5ab4fb)throw new Error(_0x93b0('0x46'));_0x3fe2c4=JSON[_0x93b0('0x47')](_0x5ab4fb);var _0x573002=Buffer[_0x93b0('0x48')](_0x162f4d[_0x93b0('0x45')],_0x93b0('0x49'))['toString'](_0x93b0('0x4a'));_0x2a8918=JSON[_0x93b0('0x47')](_0x573002);if(!oauth['isValidIdToken'](_0x162f4d['id_token'],_0x3fe2c4['oauth2Claims']))throw new Error('Unable\x20to\x20validate\x20id_token');redis[_0x93b0('0x4b')](_0x162f4d[_0x93b0('0x45')]);return oauth[_0x93b0('0x4c')](_0x162f4d[_0x93b0('0x4d')],_0x3fe2c4);})[_0x93b0('0x13')](function(_0x11cd59){_0x3fe2c4['data5']=_0x11cd59[_0x93b0('0x4e')];_0x3fe2c4[_0x93b0('0x4f')]=_0x11cd59[_0x93b0('0x50')];return db[_0x93b0('0x2d')][_0x93b0('0x12')]({'data5':_0x3fe2c4[_0x93b0('0x51')],'data6':_0x3fe2c4[_0x93b0('0x4f')]},{'where':{'id':_0x3fe2c4['id']}});})[_0x93b0('0x13')](function(){oauth[_0x93b0('0x52')](_0x3fe2c4);socket[_0x93b0('0x53')]('microsoftAuthorization:success',{'id':_0x2a8918['id']});return;})[_0x93b0('0x13')](respondWithStatusCode(_0x179b00,null))[_0x93b0('0x36')](function(_0x3f2324){if(_0x2a8918){socket[_0x93b0('0x53')]('microsoftAuthorization:error',{'id':_0x2a8918['id']});}if(!_0x3fe2c4){logger[_0x93b0('0x15')](_0x93b0('0x54'),_0x3f2324);return _0x179b00[_0x93b0('0xa')](0x1f4)['send'](_0x3f2324['message']);}logger[_0x93b0('0x15')](_0x93b0('0x55'),_0x3fe2c4['id'],JSON[_0x93b0('0x56')](_0x3f2324));});};
\ No newline at end of file
diff --git a/server/api/cloudProvider/cloudProvider.model.js b/server/api/cloudProvider/cloudProvider.model.js
index 3558542..c56e6e5 100644
--- a/server/api/cloudProvider/cloudProvider.model.js
+++ b/server/api/cloudProvider/cloudProvider.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xbced=['../../config/environment','define','CloudProvider','cloud_providers','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x5c399d,_0x219203){var _0x1a2e4d=function(_0x13fa2f){while(--_0x13fa2f){_0x5c399d['push'](_0x5c399d['shift']());}};_0x1a2e4d(++_0x219203);}(_0xbced,0xf4));var _0xdbce=function(_0x12f477,_0xb09ab0){_0x12f477=_0x12f477-0x0;var _0x2cad27=_0xbced[_0x12f477];return _0x2cad27;};'use strict';var _=require(_0xdbce('0x0'));var util=require(_0xdbce('0x1'));var logger=require(_0xdbce('0x2'))(_0xdbce('0x3'));var moment=require(_0xdbce('0x4'));var BPromise=require(_0xdbce('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xdbce('0x6'));var rimraf=require(_0xdbce('0x7'));var config=require(_0xdbce('0x8'));var attributes=require('./cloudProvider.attributes');module['exports']=function(_0x56e1b6,_0x105261){return _0x56e1b6[_0xdbce('0x9')](_0xdbce('0xa'),attributes,{'tableName':_0xdbce('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0xd2ce=['define','CloudProvider','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./cloudProvider.attributes','exports'];(function(_0x23da79,_0x5cf49c){var _0xa1366e=function(_0x1c7d1d){while(--_0x1c7d1d){_0x23da79['push'](_0x23da79['shift']());}};_0xa1366e(++_0x5cf49c);}(_0xd2ce,0x98));var _0xed2c=function(_0x2763f2,_0x416af8){_0x2763f2=_0x2763f2-0x0;var _0x3ef471=_0xd2ce[_0x2763f2];return _0x3ef471;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xed2c('0x0'))('api');var moment=require(_0xed2c('0x1'));var BPromise=require(_0xed2c('0x2'));var rp=require(_0xed2c('0x3'));var fs=require('fs');var path=require(_0xed2c('0x4'));var rimraf=require('rimraf');var config=require(_0xed2c('0x5'));var attributes=require(_0xed2c('0x6'));module[_0xed2c('0x7')]=function(_0x439679,_0x607341){return _0x439679[_0xed2c('0x8')](_0xed2c('0x9'),attributes,{'tableName':'cloud_providers','paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/cloudProvider/cloudProvider.oauth.js b/server/api/cloudProvider/cloudProvider.oauth.js
index ff79d96..d9712a7 100644
--- a/server/api/cloudProvider/cloudProvider.oauth.js
+++ b/server/api/cloudProvider/cloudProvider.oauth.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x395c=['stringify','toString','base64','randomBytes','hex','response_type','data4','form_post','scope','state','prompt','login','key','oauth2Claims','replace','oauth2/','data1','set','decode','payload','iss','issuer','aud','audience','nonce','exp','resolve','then','data3','CloudProvider','findOne','refresh_token','data6','decryptString','data2','data5','catch','error','authorization_code','intervals','bind','findAll','all','inspect','[CLOUD_PROVIDER]\x20Error\x20while\x20refreshing\x20the\x20tokens\x20after\x20service\x20restart\x20error:%s','exports','lodash','crypto','jsonwebtoken','moment','ioredis','request-promise','util','../../components/encryptor','../../config/environment','../../config/logger','api','../../config/schedule/cloud-provider','../../mysqldb','redis','defaults','localhost','https://login.microsoftonline.com/{TENANT_ID}/oauth2/v2.0','openid','profile','offline_access','https://outlook.office365.com/IMAP.AccessAsUser.All','https://outlook.office.com/POP.AccessAsUser.All','/authorize','map','type','Dynamics365','/.default','join','data7','{TENANT_ID}','code','id_token'];(function(_0x4821ef,_0x71f899){var _0x5a7277=function(_0x208c3e){while(--_0x208c3e){_0x4821ef['push'](_0x4821ef['shift']());}};_0x5a7277(++_0x71f899);}(_0x395c,0x118));var _0xc395=function(_0x3ade3f,_0x8a7e9e){_0x3ade3f=_0x3ade3f-0x0;var _0xd7fb55=_0x395c[_0x3ade3f];return _0xd7fb55;};'use strict';var _=require(_0xc395('0x0'));var crypto=require(_0xc395('0x1'));var jwt=require(_0xc395('0x2'));var moment=require(_0xc395('0x3'));var Redis=require(_0xc395('0x4'));var rp=require(_0xc395('0x5'));var util=require(_0xc395('0x6'));var encryptor=require(_0xc395('0x7'));var config=require(_0xc395('0x8'));var logger=require(_0xc395('0x9'))(_0xc395('0xa'));var schedule=require(_0xc395('0xb'));var db=require(_0xc395('0xc'))['db'];config[_0xc395('0xd')]=_[_0xc395('0xe')](config[_0xc395('0xd')],{'host':_0xc395('0xf'),'port':0x18eb});var redis=new Redis(config['redis']);var MICROSOFT_AUTH_URL=_0xc395('0x10');var AZURE_AUTH_SCOPES={'Outlook365':[_0xc395('0x11'),_0xc395('0x12'),'email',_0xc395('0x13'),_0xc395('0x14'),_0xc395('0x15'),'https://outlook.office.com/SMTP.Send'],'Dynamics365':[_0xc395('0x11'),_0xc395('0x13')]};var MICROSOFT_AUTH_ENDPOINT=_0xc395('0x16');var MICROSOFT_TOKEN_ENDPOINT='/token';var OAUTH_REFRESH_INTERVAL=0xfa;function getAuthorizationScopes(_0x1785b0){var _0x4d1d8a=_[_0xc395('0x17')](AZURE_AUTH_SCOPES[_0x1785b0[_0xc395('0x18')]]);if(_0x1785b0[_0xc395('0x18')]===_0xc395('0x19'))_0x4d1d8a['push'](_0x1785b0['data7']+_0xc395('0x1a'));return _0x4d1d8a[_0xc395('0x1b')]('\x20');}function getAccessTokenScope(_0x2ae4d3){if(_0x2ae4d3[_0xc395('0x18')]==='Outlook365')return'https://outlook.office365.com/IMAP.AccessAsUser.All';if(_0x2ae4d3['type']===_0xc395('0x19'))return _0x2ae4d3[_0xc395('0x1c')]+_0xc395('0x1a');}function generateMicrosoftAuthorizationUrl(_0x6f6209,_0x3d5bbf){var _0x354245=MICROSOFT_AUTH_URL['replace'](_0xc395('0x1d'),_0x6f6209['data2']);var _0x41aeee=[_0xc395('0x1e'),_0xc395('0x1f')];var _0x5c2307=Buffer['from'](JSON[_0xc395('0x20')]({'id':_0x3d5bbf}))[_0xc395('0x21')](_0xc395('0x22'));var _0x447ad6=crypto[_0xc395('0x23')](0x10)[_0xc395('0x21')](_0xc395('0x24'));var _0x2f7d82=getAuthorizationScopes(_0x6f6209);var _0x1b088a=[{'key':'client_id','value':_0x6f6209['data1']},{'key':_0xc395('0x25'),'value':encodeURIComponent(_0x41aeee[_0xc395('0x1b')]('\x20'))},{'key':'redirect_uri','value':_0x6f6209[_0xc395('0x26')]},{'key':'response_mode','value':_0xc395('0x27')},{'key':_0xc395('0x28'),'value':encodeURIComponent(_0x2f7d82)},{'key':_0xc395('0x29'),'value':_0x5c2307},{'key':'nonce','value':_0x447ad6},{'key':_0xc395('0x2a'),'value':_0xc395('0x2b')}];var _0x43a40d=_0x354245+MICROSOFT_AUTH_ENDPOINT+'?'+_['map'](_0x1b088a,function(_0x355a28){return _0x355a28[_0xc395('0x2c')]+'='+_0x355a28['value'];})['join']('&');_0x6f6209[_0xc395('0x2d')]={'issuer':_0x354245[_0xc395('0x2e')](_0xc395('0x2f'),''),'audience':_0x6f6209[_0xc395('0x30')],'state':_0x5c2307,'nonce':_0x447ad6};redis[_0xc395('0x31')](_0x5c2307,JSON[_0xc395('0x20')](_0x6f6209));return _0x43a40d;}function isValidIdToken(_0x5ca7b9,_0x3c8e1d){try{var _0x2fbcd4=jwt[_0xc395('0x32')](_0x5ca7b9,{'complete':!![]});var _0xa22ae8=_0x2fbcd4[_0xc395('0x33')];if(_0xa22ae8[_0xc395('0x34')]!==_0x3c8e1d[_0xc395('0x35')])return![];if(_0xa22ae8[_0xc395('0x36')]!==_0x3c8e1d[_0xc395('0x37')])return![];if(_0xa22ae8[_0xc395('0x38')]!==_0x3c8e1d['nonce'])return![];if(moment()['isAfter'](moment['unix'](_0xa22ae8[_0xc395('0x39')])))return![];return!![];}catch(_0x29f39b){throw _0x29f39b;}}function refreshOauth2MicrosoftAccessToken(_0x585b93){return Promise[_0xc395('0x3a')]()[_0xc395('0x3b')](function(){if(_0x585b93[_0xc395('0x3c')])return _0x585b93;return db[_0xc395('0x3d')][_0xc395('0x3e')]({'where':{'id':_0x585b93['id']},'raw':!![]});})[_0xc395('0x3b')](function(_0xbb9a84){var _0x41fbd6={'grant_type':_0xc395('0x3f'),'refresh_token':_0xbb9a84[_0xc395('0x40')],'scope':getAccessTokenScope(_0xbb9a84),'redirect_uri':_0xbb9a84[_0xc395('0x26')],'client_id':_0xbb9a84[_0xc395('0x30')],'client_secret':encryptor[_0xc395('0x41')](_0xbb9a84['data3'])};var _0x43c2f1={'method':'POST','uri':MICROSOFT_AUTH_URL[_0xc395('0x2e')]('{TENANT_ID}',_0xbb9a84[_0xc395('0x42')])+MICROSOFT_TOKEN_ENDPOINT,'form':_0x41fbd6,'json':!![]};return rp(_0x43c2f1);})[_0xc395('0x3b')](function(_0x3b665f){_0x585b93[_0xc395('0x43')]=_0x3b665f['access_token'];_0x585b93[_0xc395('0x40')]=_0x3b665f[_0xc395('0x3f')];return db[_0xc395('0x3d')]['update']({'data5':_0x585b93['data5'],'data6':_0x585b93[_0xc395('0x40')]},{'where':{'id':_0x585b93['id']}});})[_0xc395('0x3b')](function(){return _0x585b93;})[_0xc395('0x44')](function(_0x302111){logger[_0xc395('0x45')]('Failed\x20to\x20refresh\x20access\x20token\x20for\x20cloud\x20provider\x20#%s,\x20-\x20err:%s',_0x585b93['id'],_0x302111);});}function getOauth2MicrosoftAccessToken(_0x43cd19,_0xcd4537){var _0x5d888e={'grant_type':_0xc395('0x46'),'code':_0x43cd19,'scope':getAccessTokenScope(_0xcd4537),'redirect_uri':_0xcd4537[_0xc395('0x26')],'client_id':_0xcd4537[_0xc395('0x30')],'client_secret':encryptor[_0xc395('0x41')](_0xcd4537[_0xc395('0x3c')])};var _0xf6abc={'method':'POST','uri':MICROSOFT_AUTH_URL[_0xc395('0x2e')](_0xc395('0x1d'),_0xcd4537[_0xc395('0x42')])+MICROSOFT_TOKEN_ENDPOINT,'form':_0x5d888e,'json':!![]};return rp(_0xf6abc);}function startRefreshInterval(_0x1d1d81){var _0x179a00=schedule[_0xc395('0x47')];if(_0x179a00[_0x1d1d81['id']])clearInterval(_0x179a00[_0x1d1d81['id']]);_0x179a00[_0x1d1d81['id']]=setInterval(refreshOauth2MicrosoftAccessToken[_0xc395('0x48')](this,{'id':_0x1d1d81['id']}),OAUTH_REFRESH_INTERVAL*0x3e8);schedule['intervals']=_0x179a00;}function startAllRefreshIntervals(){return db[_0xc395('0x3d')][_0xc395('0x49')]({'where':{'data6':{'$ne':null}},'raw':!![]})[_0xc395('0x3b')](function(_0x20bff7){var _0x4efe3e=_0x20bff7[_0xc395('0x17')](function(_0x1bbfd1){return refreshOauth2MicrosoftAccessToken(_0x1bbfd1)[_0xc395('0x3b')](function(_0x399414){startRefreshInterval(_0x399414);});});return Promise[_0xc395('0x4a')](_0x4efe3e);})['catch'](function(_0x3db4c6){var _0x1c7ba0=_0x3db4c6?util[_0xc395('0x4b')](_0x3db4c6,{'showHidden':![],'depth':null}):'';logger[_0xc395('0x45')](_0xc395('0x4c'),_0x1c7ba0);});}module[_0xc395('0x4d')]={'generateMicrosoftAuthorizationUrl':generateMicrosoftAuthorizationUrl,'getOauth2MicrosoftAccessToken':getOauth2MicrosoftAccessToken,'isValidIdToken':isValidIdToken,'startAllRefreshIntervals':startAllRefreshIntervals,'refreshOauth2MicrosoftAccessToken':refreshOauth2MicrosoftAccessToken,'startRefreshInterval':startRefreshInterval};
\ No newline at end of file
+var _0xd68a=['issuer','aud','audience','isAfter','unix','resolve','then','data3','CloudProvider','refresh_token','data6','POST','data5','update','catch','error','Failed\x20to\x20refresh\x20access\x20token\x20for\x20cloud\x20provider\x20#%s,\x20-\x20err:%s','decryptString','{TENANT_ID}','intervals','bind','map','all','[CLOUD_PROVIDER]\x20Error\x20while\x20refreshing\x20the\x20tokens\x20after\x20service\x20restart\x20error:%s','lodash','request-promise','util','../../components/encryptor','../../config/environment','../../config/logger','../../config/schedule/cloud-provider','../../mysqldb','defaults','redis','localhost','openid','profile','email','https://outlook.office365.com/IMAP.AccessAsUser.All','https://outlook.office.com/POP.AccessAsUser.All','https://outlook.office.com/SMTP.Send','/authorize','push','data7','/.default','Dynamics365','replace','data2','id_token','from','stringify','randomBytes','hex','data1','response_type','join','redirect_uri','data4','response_mode','form_post','state','nonce','prompt','login','key','value','oauth2Claims','oauth2/','set','decode','iss'];(function(_0x5805d7,_0x3d584a){var _0x170fe4=function(_0x3b9b73){while(--_0x3b9b73){_0x5805d7['push'](_0x5805d7['shift']());}};_0x170fe4(++_0x3d584a);}(_0xd68a,0xed));var _0xad68=function(_0x68ee8b,_0x3cc6c5){_0x68ee8b=_0x68ee8b-0x0;var _0x5148f7=_0xd68a[_0x68ee8b];return _0x5148f7;};'use strict';var _=require(_0xad68('0x0'));var crypto=require('crypto');var jwt=require('jsonwebtoken');var moment=require('moment');var Redis=require('ioredis');var rp=require(_0xad68('0x1'));var util=require(_0xad68('0x2'));var encryptor=require(_0xad68('0x3'));var config=require(_0xad68('0x4'));var logger=require(_0xad68('0x5'))('api');var schedule=require(_0xad68('0x6'));var db=require(_0xad68('0x7'))['db'];config['redis']=_[_0xad68('0x8')](config[_0xad68('0x9')],{'host':_0xad68('0xa'),'port':0x18eb});var redis=new Redis(config[_0xad68('0x9')]);var MICROSOFT_AUTH_URL='https://login.microsoftonline.com/{TENANT_ID}/oauth2/v2.0';var AZURE_AUTH_SCOPES={'Outlook365':[_0xad68('0xb'),_0xad68('0xc'),_0xad68('0xd'),'offline_access',_0xad68('0xe'),_0xad68('0xf'),_0xad68('0x10')],'Dynamics365':['openid','offline_access']};var MICROSOFT_AUTH_ENDPOINT=_0xad68('0x11');var MICROSOFT_TOKEN_ENDPOINT='/token';var OAUTH_REFRESH_INTERVAL=0xfa;function getAuthorizationScopes(_0x5de8e7){var _0x554f38=_['map'](AZURE_AUTH_SCOPES[_0x5de8e7['type']]);if(_0x5de8e7['type']==='Dynamics365')_0x554f38[_0xad68('0x12')](_0x5de8e7[_0xad68('0x13')]+_0xad68('0x14'));return _0x554f38['join']('\x20');}function getAccessTokenScope(_0x43bc3f){if(_0x43bc3f['type']==='Outlook365')return _0xad68('0xe');if(_0x43bc3f['type']===_0xad68('0x15'))return _0x43bc3f[_0xad68('0x13')]+'/.default';}function generateMicrosoftAuthorizationUrl(_0x51b89a,_0x465a50){var _0x58eae1=MICROSOFT_AUTH_URL[_0xad68('0x16')]('{TENANT_ID}',_0x51b89a[_0xad68('0x17')]);var _0x3e00d0=['code',_0xad68('0x18')];var _0x170fc1=Buffer[_0xad68('0x19')](JSON[_0xad68('0x1a')]({'id':_0x465a50}))['toString']('base64');var _0x2e1078=crypto[_0xad68('0x1b')](0x10)['toString'](_0xad68('0x1c'));var _0x205939=getAuthorizationScopes(_0x51b89a);var _0x16ea1f=[{'key':'client_id','value':_0x51b89a[_0xad68('0x1d')]},{'key':_0xad68('0x1e'),'value':encodeURIComponent(_0x3e00d0[_0xad68('0x1f')]('\x20'))},{'key':_0xad68('0x20'),'value':_0x51b89a[_0xad68('0x21')]},{'key':_0xad68('0x22'),'value':_0xad68('0x23')},{'key':'scope','value':encodeURIComponent(_0x205939)},{'key':_0xad68('0x24'),'value':_0x170fc1},{'key':_0xad68('0x25'),'value':_0x2e1078},{'key':_0xad68('0x26'),'value':_0xad68('0x27')}];var _0x56e0d7=_0x58eae1+MICROSOFT_AUTH_ENDPOINT+'?'+_['map'](_0x16ea1f,function(_0x3fa9cb){return _0x3fa9cb[_0xad68('0x28')]+'='+_0x3fa9cb[_0xad68('0x29')];})[_0xad68('0x1f')]('&');_0x51b89a[_0xad68('0x2a')]={'issuer':_0x58eae1[_0xad68('0x16')](_0xad68('0x2b'),''),'audience':_0x51b89a[_0xad68('0x1d')],'state':_0x170fc1,'nonce':_0x2e1078};redis[_0xad68('0x2c')](_0x170fc1,JSON[_0xad68('0x1a')](_0x51b89a));return _0x56e0d7;}function isValidIdToken(_0x203864,_0x19883b){try{var _0x2f2a19=jwt[_0xad68('0x2d')](_0x203864,{'complete':!![]});var _0x267920=_0x2f2a19['payload'];if(_0x267920[_0xad68('0x2e')]!==_0x19883b[_0xad68('0x2f')])return![];if(_0x267920[_0xad68('0x30')]!==_0x19883b[_0xad68('0x31')])return![];if(_0x267920[_0xad68('0x25')]!==_0x19883b[_0xad68('0x25')])return![];if(moment()[_0xad68('0x32')](moment[_0xad68('0x33')](_0x267920['exp'])))return![];return!![];}catch(_0x1c5e9f){throw _0x1c5e9f;}}function refreshOauth2MicrosoftAccessToken(_0x443b41){return Promise[_0xad68('0x34')]()[_0xad68('0x35')](function(){if(_0x443b41[_0xad68('0x36')])return _0x443b41;return db[_0xad68('0x37')]['findOne']({'where':{'id':_0x443b41['id']},'raw':!![]});})[_0xad68('0x35')](function(_0xe8827e){var _0x1c217b={'grant_type':_0xad68('0x38'),'refresh_token':_0xe8827e[_0xad68('0x39')],'scope':getAccessTokenScope(_0xe8827e),'redirect_uri':_0xe8827e[_0xad68('0x21')],'client_id':_0xe8827e[_0xad68('0x1d')],'client_secret':encryptor['decryptString'](_0xe8827e[_0xad68('0x36')])};var _0x27dc35={'method':_0xad68('0x3a'),'uri':MICROSOFT_AUTH_URL['replace']('{TENANT_ID}',_0xe8827e[_0xad68('0x17')])+MICROSOFT_TOKEN_ENDPOINT,'form':_0x1c217b,'json':!![]};return rp(_0x27dc35);})['then'](function(_0x5d2510){_0x443b41[_0xad68('0x3b')]=_0x5d2510['access_token'];_0x443b41[_0xad68('0x39')]=_0x5d2510['refresh_token'];return db[_0xad68('0x37')][_0xad68('0x3c')]({'data5':_0x443b41[_0xad68('0x3b')],'data6':_0x443b41['data6']},{'where':{'id':_0x443b41['id']}});})['then'](function(){return _0x443b41;})[_0xad68('0x3d')](function(_0x14060b){logger[_0xad68('0x3e')](_0xad68('0x3f'),_0x443b41['id'],_0x14060b);});}function getOauth2MicrosoftAccessToken(_0x6382c3,_0x8d28f9){var _0xeea008={'grant_type':'authorization_code','code':_0x6382c3,'scope':getAccessTokenScope(_0x8d28f9),'redirect_uri':_0x8d28f9[_0xad68('0x21')],'client_id':_0x8d28f9[_0xad68('0x1d')],'client_secret':encryptor[_0xad68('0x40')](_0x8d28f9[_0xad68('0x36')])};var _0x193def={'method':'POST','uri':MICROSOFT_AUTH_URL[_0xad68('0x16')](_0xad68('0x41'),_0x8d28f9[_0xad68('0x17')])+MICROSOFT_TOKEN_ENDPOINT,'form':_0xeea008,'json':!![]};return rp(_0x193def);}function startRefreshInterval(_0x2ac6ed){var _0x546d90=schedule[_0xad68('0x42')];if(_0x546d90[_0x2ac6ed['id']])clearInterval(_0x546d90[_0x2ac6ed['id']]);_0x546d90[_0x2ac6ed['id']]=setInterval(refreshOauth2MicrosoftAccessToken[_0xad68('0x43')](this,{'id':_0x2ac6ed['id']}),OAUTH_REFRESH_INTERVAL*0x3e8);schedule['intervals']=_0x546d90;}function startAllRefreshIntervals(){return db[_0xad68('0x37')]['findAll']({'where':{'data6':{'$ne':null}},'raw':!![]})['then'](function(_0x481002){var _0x362427=_0x481002[_0xad68('0x44')](function(_0x57c33b){return refreshOauth2MicrosoftAccessToken(_0x57c33b)[_0xad68('0x35')](function(_0x2612ba){startRefreshInterval(_0x2612ba);});});return Promise[_0xad68('0x45')](_0x362427);})[_0xad68('0x3d')](function(_0x36acd6){var _0x152d48=_0x36acd6?util['inspect'](_0x36acd6,{'showHidden':![],'depth':null}):'';logger[_0xad68('0x3e')](_0xad68('0x46'),_0x152d48);});}module['exports']={'generateMicrosoftAuthorizationUrl':generateMicrosoftAuthorizationUrl,'getOauth2MicrosoftAccessToken':getOauth2MicrosoftAccessToken,'isValidIdToken':isValidIdToken,'startAllRefreshIntervals':startAllRefreshIntervals,'refreshOauth2MicrosoftAccessToken':refreshOauth2MicrosoftAccessToken,'startRefreshInterval':startRefreshInterval};
\ No newline at end of file
diff --git a/server/api/cloudProvider/cloudProvider.rpc.js b/server/api/cloudProvider/cloudProvider.rpc.js
index 1bfd35c..446e381 100644
--- a/server/api/cloudProvider/cloudProvider.rpc.js
+++ b/server/api/cloudProvider/cloudProvider.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xbc87=['stringify','error','code','message','lodash','bluebird','randomstring','ioredis','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','CloudProvider,\x20%s,\x20%s','request\x20sent','CloudProvider,\x20%s,\x20%s,\x20%s'];(function(_0x44c014,_0x3cd61f){var _0x19483b=function(_0x11cdf8){while(--_0x11cdf8){_0x44c014['push'](_0x44c014['shift']());}};_0x19483b(++_0x3cd61f);}(_0xbc87,0x144));var _0x7bc8=function(_0x4173cd,_0x337ed8){_0x4173cd=_0x4173cd-0x0;var _0x2484a5=_0xbc87[_0x4173cd];return _0x2484a5;};'use strict';var _=require(_0x7bc8('0x0'));var util=require('util');var moment=require('moment');var BPromise=require(_0x7bc8('0x1'));var rs=require(_0x7bc8('0x2'));var fs=require('fs');var Redis=require(_0x7bc8('0x3'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x7bc8('0x4'))(_0x7bc8('0x5'));var config=require(_0x7bc8('0x6'));var jayson=require(_0x7bc8('0x7'));var client=jayson[_0x7bc8('0x8')][_0x7bc8('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x410b95,_0x2e1d63,_0x1fcc43){return new BPromise(function(_0x466ed5,_0xb87048){return client[_0x7bc8('0xa')](_0x410b95,_0x1fcc43)[_0x7bc8('0xb')](function(_0x368899){logger[_0x7bc8('0xc')](_0x7bc8('0xd'),_0x2e1d63,_0x7bc8('0xe'));logger['debug'](_0x7bc8('0xf'),_0x2e1d63,'request\x20sent',JSON[_0x7bc8('0x10')](_0x368899));if(_0x368899[_0x7bc8('0x11')]){if(_0x368899[_0x7bc8('0x11')][_0x7bc8('0x12')]===0x1f4){logger[_0x7bc8('0x11')](_0x7bc8('0xd'),_0x2e1d63,_0x368899['error'][_0x7bc8('0x13')]);return _0xb87048(_0x368899[_0x7bc8('0x11')]['message']);}logger[_0x7bc8('0x11')]('CloudProvider,\x20%s,\x20%s',_0x2e1d63,_0x368899[_0x7bc8('0x11')][_0x7bc8('0x13')]);return _0x466ed5(_0x368899[_0x7bc8('0x11')][_0x7bc8('0x13')]);}else{logger[_0x7bc8('0xc')]('CloudProvider,\x20%s,\x20%s',_0x2e1d63,_0x7bc8('0xe'));_0x466ed5(_0x368899['result'][_0x7bc8('0x13')]);}})['catch'](function(_0x455f9a){logger[_0x7bc8('0x11')](_0x7bc8('0xd'),_0x2e1d63,_0x455f9a);_0xb87048(_0x455f9a);});});}
\ No newline at end of file
+var _0x7c71=['debug','CloudProvider,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/environment','jayson/promise','client','http','request','then','info','CloudProvider,\x20%s,\x20%s','request\x20sent'];(function(_0x4f7997,_0x738024){var _0x5c46b9=function(_0x2f5ec1){while(--_0x2f5ec1){_0x4f7997['push'](_0x4f7997['shift']());}};_0x5c46b9(++_0x738024);}(_0x7c71,0x177));var _0x17c7=function(_0x5d80de,_0x2cf15d){_0x5d80de=_0x5d80de-0x0;var _0x1c7556=_0x7c71[_0x5d80de];return _0x1c7556;};'use strict';var _=require(_0x17c7('0x0'));var util=require(_0x17c7('0x1'));var moment=require(_0x17c7('0x2'));var BPromise=require(_0x17c7('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x17c7('0x4'));var db=require(_0x17c7('0x5'))['db'];var utils=require(_0x17c7('0x6'));var logger=require('../../config/logger')('rpc');var config=require(_0x17c7('0x7'));var jayson=require(_0x17c7('0x8'));var client=jayson[_0x17c7('0x9')][_0x17c7('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x3c061b,_0xf284a2,_0x1ff4ec){return new BPromise(function(_0x50feb0,_0x13fdad){return client[_0x17c7('0xb')](_0x3c061b,_0x1ff4ec)[_0x17c7('0xc')](function(_0xdb3575){logger[_0x17c7('0xd')](_0x17c7('0xe'),_0xf284a2,_0x17c7('0xf'));logger[_0x17c7('0x10')](_0x17c7('0x11'),_0xf284a2,_0x17c7('0xf'),JSON['stringify'](_0xdb3575));if(_0xdb3575['error']){if(_0xdb3575[_0x17c7('0x12')][_0x17c7('0x13')]===0x1f4){logger['error'](_0x17c7('0xe'),_0xf284a2,_0xdb3575[_0x17c7('0x12')]['message']);return _0x13fdad(_0xdb3575[_0x17c7('0x12')][_0x17c7('0x14')]);}logger['error']('CloudProvider,\x20%s,\x20%s',_0xf284a2,_0xdb3575[_0x17c7('0x12')][_0x17c7('0x14')]);return _0x50feb0(_0xdb3575[_0x17c7('0x12')][_0x17c7('0x14')]);}else{logger[_0x17c7('0xd')](_0x17c7('0xe'),_0xf284a2,_0x17c7('0xf'));_0x50feb0(_0xdb3575[_0x17c7('0x15')][_0x17c7('0x14')]);}})[_0x17c7('0x16')](function(_0x296f9c){logger[_0x17c7('0x12')]('CloudProvider,\x20%s,\x20%s',_0xf284a2,_0x296f9c);_0x13fdad(_0x296f9c);});});}
\ No newline at end of file
diff --git a/server/api/cloudProvider/index.js b/server/api/cloudProvider/index.js
index d25d19e..2a64cc5 100644
--- a/server/api/cloudProvider/index.js
+++ b/server/api/cloudProvider/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x1261=['/:id','show','create','put','update','delete','/:id/oauth2/microsoft/authorize/','post','exports','Router','../../components/auth/service','./cloudProvider.controller','get','isAuthenticated','index'];(function(_0x2db12b,_0x30ab1d){var _0x20990b=function(_0x589477){while(--_0x589477){_0x2db12b['push'](_0x2db12b['shift']());}};_0x20990b(++_0x30ab1d);}(_0x1261,0x144));var _0x1126=function(_0x3f6e26,_0x811a34){_0x3f6e26=_0x3f6e26-0x0;var _0x474345=_0x1261[_0x3f6e26];return _0x474345;};'use strict';var express=require('express');var router=express[_0x1126('0x0')]();var auth=require(_0x1126('0x1'));var controller=require(_0x1126('0x2'));router[_0x1126('0x3')]('/',auth[_0x1126('0x4')](),controller[_0x1126('0x5')]);router[_0x1126('0x3')](_0x1126('0x6'),auth[_0x1126('0x4')](),controller[_0x1126('0x7')]);router['post']('/',auth['isAuthenticated'](),controller[_0x1126('0x8')]);router[_0x1126('0x9')]('/:id',auth[_0x1126('0x4')](),controller[_0x1126('0xa')]);router[_0x1126('0xb')](_0x1126('0x6'),auth[_0x1126('0x4')](),controller['destroy']);router[_0x1126('0x3')](_0x1126('0xc'),auth[_0x1126('0x4')](),controller['oauth2MicrosoftAuthorize']);router[_0x1126('0xd')]('/oauth2/microsoft/callback',controller['oauth2MicrosoftCallback']);module[_0x1126('0xe')]=router;
\ No newline at end of file
+var _0x5f2f=['exports','express','Router','../../components/auth/service','./cloudProvider.controller','get','isAuthenticated','index','show','post','create','put','/:id','update','delete','destroy','/:id/oauth2/microsoft/authorize/','oauth2MicrosoftAuthorize','oauth2MicrosoftCallback'];(function(_0x51ed62,_0x574379){var _0x34aee3=function(_0x2958bc){while(--_0x2958bc){_0x51ed62['push'](_0x51ed62['shift']());}};_0x34aee3(++_0x574379);}(_0x5f2f,0x73));var _0xf5f2=function(_0x16268a,_0x10ce1b){_0x16268a=_0x16268a-0x0;var _0x419a09=_0x5f2f[_0x16268a];return _0x419a09;};'use strict';var express=require(_0xf5f2('0x0'));var router=express[_0xf5f2('0x1')]();var auth=require(_0xf5f2('0x2'));var controller=require(_0xf5f2('0x3'));router[_0xf5f2('0x4')]('/',auth[_0xf5f2('0x5')](),controller[_0xf5f2('0x6')]);router[_0xf5f2('0x4')]('/:id',auth['isAuthenticated'](),controller[_0xf5f2('0x7')]);router[_0xf5f2('0x8')]('/',auth[_0xf5f2('0x5')](),controller[_0xf5f2('0x9')]);router[_0xf5f2('0xa')](_0xf5f2('0xb'),auth['isAuthenticated'](),controller[_0xf5f2('0xc')]);router[_0xf5f2('0xd')](_0xf5f2('0xb'),auth['isAuthenticated'](),controller[_0xf5f2('0xe')]);router[_0xf5f2('0x4')](_0xf5f2('0xf'),auth['isAuthenticated'](),controller[_0xf5f2('0x10')]);router['post']('/oauth2/microsoft/callback',controller[_0xf5f2('0x11')]);module[_0xf5f2('0x12')]=router;
\ No newline at end of file
diff --git a/server/api/cmCompany/cmCompany.attributes.js b/server/api/cmCompany/cmCompany.attributes.js
index 41ad5fc..513a674 100644
--- a/server/api/cmCompany/cmCompany.attributes.js
+++ b/server/api/cmCompany/cmCompany.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x6a48=['exports','STRING','name','sequelize'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x6a48,0x117));var _0x86a4=function(_0x322ea1,_0x195ccb){_0x322ea1=_0x322ea1-0x0;var _0x490745=_0x6a48[_0x322ea1];return _0x490745;};'use strict';var Sequelize=require(_0x86a4('0x0'));module[_0x86a4('0x1')]={'name':{'type':Sequelize[_0x86a4('0x2')],'unique':_0x86a4('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0x86a4('0x2')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x86a4('0x2')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING']},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0x86a4('0x2')]},'city':{'type':Sequelize[_0x86a4('0x2')]},'country':{'type':Sequelize[_0x86a4('0x2')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x86a4('0x2')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x86a4('0x2')]},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0x86a4('0x2')]},'description':{'type':Sequelize['STRING']}};
\ No newline at end of file
+var _0x3236=['name','sequelize','exports','STRING'];(function(_0x417020,_0x3ee315){var _0x5715ec=function(_0x272358){while(--_0x272358){_0x417020['push'](_0x417020['shift']());}};_0x5715ec(++_0x3ee315);}(_0x3236,0x91));var _0x6323=function(_0x324cc6,_0x2d4876){_0x324cc6=_0x324cc6-0x0;var _0x317e7a=_0x3236[_0x324cc6];return _0x317e7a;};'use strict';var Sequelize=require(_0x6323('0x0'));module[_0x6323('0x1')]={'name':{'type':Sequelize[_0x6323('0x2')],'unique':_0x6323('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0x6323('0x2')]},'website':{'type':Sequelize[_0x6323('0x2')]},'phone':{'type':Sequelize[_0x6323('0x2')]},'fax':{'type':Sequelize[_0x6323('0x2')]},'type':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0x6323('0x2')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0x6323('0x2')]},'country':{'type':Sequelize[_0x6323('0x2')]},'email':{'type':Sequelize[_0x6323('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x6323('0x2')]},'sStreet':{'type':Sequelize[_0x6323('0x2')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0x6323('0x2')]},'description':{'type':Sequelize[_0x6323('0x2')]}};
\ No newline at end of file
diff --git a/server/api/cmCompany/cmCompany.controller.js b/server/api/cmCompany/cmCompany.controller.js
index 133ea32..5ffb0e2 100644
--- a/server/api/cmCompany/cmCompany.controller.js
+++ b/server/api/cmCompany/cmCompany.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x291d=['create','body','user','get','UserProfileSection','error','addContacts','CmContact','ids','omit','findOne','map','getContacts','hasOwnProperty','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','to-csv','ejs','fs-extra','lodash','squel','crypto','desk.js','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/environment','../../mysqldb','sendStatus','status','end','json','undefined','limit','count','offset','set','Content-Range','reject','save','update','then','Companies','destroy','stack','name','send','CmCompany','describe','model','keys','query','intersection','fields','attributes','length','nolimit','order','sort','filters','filter','where','merge','options','include','findAll','rows','catch','show','params','rawAttributes','includeAll','find'];(function(_0x138adb,_0x193fee){var _0x1b27f2=function(_0x5e97a2){while(--_0x5e97a2){_0x138adb['push'](_0x138adb['shift']());}};_0x1b27f2(++_0x193fee);}(_0x291d,0x1f4));var _0xd291=function(_0x54d4fe,_0x55e869){_0x54d4fe=_0x54d4fe-0x0;var _0x1ab5bb=_0x291d[_0x54d4fe];return _0x1ab5bb;};'use strict';var emlformat=require(_0xd291('0x0'));var rimraf=require(_0xd291('0x1'));var zipdir=require(_0xd291('0x2'));var jsonpatch=require(_0xd291('0x3'));var rp=require(_0xd291('0x4'));var moment=require(_0xd291('0x5'));var BPromise=require(_0xd291('0x6'));var Mustache=require('mustache');var util=require(_0xd291('0x7'));var path=require('path');var sox=require('sox');var csv=require(_0xd291('0x8'));var ejs=require(_0xd291('0x9'));var fs=require('fs');var fs_extra=require(_0xd291('0xa'));var _=require(_0xd291('0xb'));var squel=require(_0xd291('0xc'));var crypto=require(_0xd291('0xd'));var jsforce=require('jsforce');var deskjs=require(_0xd291('0xe'));var toCsv=require(_0xd291('0x8'));var querystring=require('querystring');var Papa=require(_0xd291('0xf'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0xd291('0x10'));var as=require(_0xd291('0x11'));var hardwareService=require(_0xd291('0x12'));var logger=require('../../config/logger')(_0xd291('0x13'));var utils=require('../../config/utils');var config=require(_0xd291('0x14'));var licenseUtil=require('../../config/license/util');var db=require(_0xd291('0x15'))['db'];function respondWithStatusCode(_0x598c56,_0x5d0a4d){_0x5d0a4d=_0x5d0a4d||0xcc;return function(_0x3dba14){if(_0x3dba14){return _0x598c56[_0xd291('0x16')](_0x5d0a4d);}return _0x598c56[_0xd291('0x17')](_0x5d0a4d)[_0xd291('0x18')]();};}function respondWithResult(_0x17ac0f,_0x3cd074){_0x3cd074=_0x3cd074||0xc8;return function(_0x2ee4c6){if(_0x2ee4c6){return _0x17ac0f[_0xd291('0x17')](_0x3cd074)[_0xd291('0x19')](_0x2ee4c6);}};}function respondWithFilteredResult(_0x26107c,_0x3783cb){return function(_0x2cef09){if(_0x2cef09){var _0x1073ba=typeof _0x3783cb['offset']===_0xd291('0x1a')&&typeof _0x3783cb[_0xd291('0x1b')]===_0xd291('0x1a');var _0x51ebcd=_0x2cef09[_0xd291('0x1c')];var _0xd0e04c=_0x1073ba?0x0:_0x3783cb[_0xd291('0x1d')];var _0x526f7c=_0x1073ba?_0x2cef09[_0xd291('0x1c')]:_0x3783cb['offset']+_0x3783cb[_0xd291('0x1b')];var _0x4e4c89;if(_0x526f7c>=_0x51ebcd){_0x526f7c=_0x51ebcd;_0x4e4c89=0xc8;}else{_0x4e4c89=0xce;}_0x26107c[_0xd291('0x17')](_0x4e4c89);return _0x26107c[_0xd291('0x1e')](_0xd291('0x1f'),_0xd0e04c+'-'+_0x526f7c+'/'+_0x51ebcd)[_0xd291('0x19')](_0x2cef09);}return null;};}function patchUpdates(_0xc26879){return function(_0xfe45e){try{jsonpatch['apply'](_0xfe45e,_0xc26879,!![]);}catch(_0x4c8a85){return BPromise[_0xd291('0x20')](_0x4c8a85);}return _0xfe45e[_0xd291('0x21')]();};}function saveUpdates(_0x4822e6,_0x494303){return function(_0x1dff93){if(_0x1dff93){return _0x1dff93[_0xd291('0x22')](_0x4822e6)[_0xd291('0x23')](function(_0x1ac4f6){return _0x1ac4f6;});}return null;};}function removeEntity(_0x1c397c,_0x1ee255){return function(_0x1e2e32){if(_0x1e2e32){return _0x1e2e32['destroy']()[_0xd291('0x23')](function(){var _0x29dbd1=_0x1e2e32['get']({'plain':!![]});var _0x3b2615=_0xd291('0x24');return db['UserProfileResource'][_0xd291('0x25')]({'where':{'type':_0x3b2615,'resourceId':_0x29dbd1['id']}})[_0xd291('0x23')](function(){return _0x1e2e32;});})[_0xd291('0x23')](function(){_0x1c397c[_0xd291('0x17')](0xcc)[_0xd291('0x18')]();});}};}function handleEntityNotFound(_0x41e08b,_0x46660d){return function(_0x48d782){if(!_0x48d782){_0x41e08b[_0xd291('0x16')](0x194);}return _0x48d782;};}function handleError(_0x105d64,_0x4beb3d){_0x4beb3d=_0x4beb3d||0x1f4;return function(_0x3b4e96){logger['error'](_0x3b4e96[_0xd291('0x26')]);if(_0x3b4e96[_0xd291('0x27')]){delete _0x3b4e96[_0xd291('0x27')];}_0x105d64[_0xd291('0x17')](_0x4beb3d)[_0xd291('0x28')](_0x3b4e96);};}exports['index']=function(_0xeee249,_0x8eaf39){var _0x3e08b4={},_0xd47bef={},_0x29a7f2={'count':0x0,'rows':[]};return db[_0xd291('0x29')][_0xd291('0x2a')]()[_0xd291('0x23')](function(_0x49906d){_0xd47bef[_0xd291('0x2b')]=_[_0xd291('0x2c')](_0x49906d);_0xd47bef[_0xd291('0x2d')]=_['keys'](_0xeee249[_0xd291('0x2d')]);_0xd47bef['filters']=_['intersection'](_0xd47bef[_0xd291('0x2b')],_0xd47bef[_0xd291('0x2d')]);_0x3e08b4['attributes']=_[_0xd291('0x2e')](_0xd47bef[_0xd291('0x2b')],qs[_0xd291('0x2f')](_0xeee249[_0xd291('0x2d')][_0xd291('0x2f')]));_0x3e08b4[_0xd291('0x30')]=_0x3e08b4['attributes'][_0xd291('0x31')]?_0x3e08b4[_0xd291('0x30')]:_0xd47bef[_0xd291('0x2b')];if(!_0xeee249[_0xd291('0x2d')]['hasOwnProperty'](_0xd291('0x32'))){_0x3e08b4[_0xd291('0x1b')]=qs[_0xd291('0x1b')](_0xeee249[_0xd291('0x2d')][_0xd291('0x1b')]);_0x3e08b4[_0xd291('0x1d')]=qs[_0xd291('0x1d')](_0xeee249[_0xd291('0x2d')]['offset']);}_0x3e08b4[_0xd291('0x33')]=qs[_0xd291('0x34')](_0xeee249[_0xd291('0x2d')][_0xd291('0x34')]);_0x3e08b4['where']=qs[_0xd291('0x35')](_['pick'](_0xeee249[_0xd291('0x2d')],_0xd47bef[_0xd291('0x35')]),_0x49906d);if(_0xeee249[_0xd291('0x2d')][_0xd291('0x36')]){_0x3e08b4[_0xd291('0x37')]=_[_0xd291('0x38')](_0x3e08b4[_0xd291('0x37')],{'$or':_['map'](_0x3e08b4['attributes'],function(_0x1afe83){var _0x268ebc={};_0x268ebc[_0x1afe83]={'$like':'%'+_0xeee249[_0xd291('0x2d')]['filter']+'%'};return _0x268ebc;})});}_0x3e08b4=_[_0xd291('0x38')]({},_0x3e08b4,_0xeee249[_0xd291('0x39')]);var _0x140840={'where':_0x3e08b4['where']};return db[_0xd291('0x29')][_0xd291('0x1c')](_0x140840)['then'](function(_0x415435){_0x29a7f2['count']=_0x415435;if(_0xeee249[_0xd291('0x2d')]['includeAll']){_0x3e08b4[_0xd291('0x3a')]=[{'all':!![]}];}return db['CmCompany'][_0xd291('0x3b')](_0x3e08b4);})['then'](function(_0x38d1ca){_0x29a7f2[_0xd291('0x3c')]=_0x38d1ca;return _0x29a7f2;})[_0xd291('0x23')](respondWithFilteredResult(_0x8eaf39,_0x3e08b4))[_0xd291('0x3d')](handleError(_0x8eaf39,null));})[_0xd291('0x3d')](handleError(_0x8eaf39,null));};exports[_0xd291('0x3e')]=function(_0x38672d,_0x348423){var _0x4841cb={'raw':![],'where':{'id':_0x38672d[_0xd291('0x3f')]['id']}},_0x1bce16={};_0x1bce16[_0xd291('0x2b')]=_[_0xd291('0x2c')](db[_0xd291('0x29')][_0xd291('0x40')]);_0x1bce16[_0xd291('0x2d')]=_[_0xd291('0x2c')](_0x38672d['query']);_0x1bce16[_0xd291('0x35')]=_[_0xd291('0x2e')](_0x1bce16[_0xd291('0x2b')],_0x1bce16[_0xd291('0x2d')]);_0x4841cb['attributes']=_[_0xd291('0x2e')](_0x1bce16[_0xd291('0x2b')],qs[_0xd291('0x2f')](_0x38672d[_0xd291('0x2d')][_0xd291('0x2f')]));_0x4841cb[_0xd291('0x30')]=_0x4841cb[_0xd291('0x30')][_0xd291('0x31')]?_0x4841cb['attributes']:_0x1bce16[_0xd291('0x2b')];if(_0x38672d['query'][_0xd291('0x41')]){_0x4841cb[_0xd291('0x3a')]=[{'all':!![]}];}_0x4841cb=_[_0xd291('0x38')]({},_0x4841cb,_0x38672d[_0xd291('0x39')]);return db[_0xd291('0x29')][_0xd291('0x42')](_0x4841cb)['then'](handleEntityNotFound(_0x348423,null))[_0xd291('0x23')](respondWithResult(_0x348423,null))[_0xd291('0x3d')](handleError(_0x348423,null));};exports['create']=function(_0x2d7985,_0x36bbf7){return db[_0xd291('0x29')][_0xd291('0x43')](_0x2d7985[_0xd291('0x44')],{})[_0xd291('0x23')](function(_0x478f7e){var _0x56aa91=_0x2d7985[_0xd291('0x45')][_0xd291('0x46')]({'plain':!![]});if(!_0x56aa91)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x56aa91['role']===_0xd291('0x45')){var _0x3e60d0=_0x478f7e['get']({'plain':!![]});var _0x12096a=_0xd291('0x24');return db[_0xd291('0x47')][_0xd291('0x42')]({'where':{'name':_0x12096a,'userProfileId':_0x56aa91['userProfileId']},'raw':!![]})[_0xd291('0x23')](function(_0x9ce11c){if(_0x9ce11c&&_0x9ce11c['autoAssociation']===0x0){return db['UserProfileResource'][_0xd291('0x43')]({'name':_0x3e60d0[_0xd291('0x27')],'resourceId':_0x3e60d0['id'],'type':_0x9ce11c[_0xd291('0x27')],'sectionId':_0x9ce11c['id']},{})[_0xd291('0x23')](function(){return _0x478f7e;});}else{return _0x478f7e;}})[_0xd291('0x3d')](function(_0x36f5af){logger[_0xd291('0x48')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x36f5af);throw _0x36f5af;});}return _0x478f7e;})[_0xd291('0x23')](respondWithResult(_0x36bbf7,0xc9))[_0xd291('0x3d')](handleError(_0x36bbf7,null));};exports[_0xd291('0x22')]=function(_0xf610,_0x36a751){if(_0xf610[_0xd291('0x44')]['id']){delete _0xf610['body']['id'];}return db['CmCompany'][_0xd291('0x42')]({'where':{'id':_0xf610[_0xd291('0x3f')]['id']}})['then'](handleEntityNotFound(_0x36a751,null))[_0xd291('0x23')](saveUpdates(_0xf610['body'],null))[_0xd291('0x23')](respondWithResult(_0x36a751,null))[_0xd291('0x3d')](handleError(_0x36a751,null));};exports[_0xd291('0x25')]=function(_0x5dfa8d,_0x47a912){return db[_0xd291('0x29')][_0xd291('0x42')]({'where':{'id':_0x5dfa8d[_0xd291('0x3f')]['id']}})[_0xd291('0x23')](handleEntityNotFound(_0x47a912,null))[_0xd291('0x23')](removeEntity(_0x47a912,null))[_0xd291('0x3d')](handleError(_0x47a912,null));};exports[_0xd291('0x2a')]=function(_0x467881,_0xbc19b8){return db[_0xd291('0x29')][_0xd291('0x2a')]()[_0xd291('0x23')](respondWithResult(_0xbc19b8,null))['catch'](handleError(_0xbc19b8,null));};exports[_0xd291('0x49')]=function(_0x179875,_0x1d2ea2,_0x5e6924){return db[_0xd291('0x4a')][_0xd291('0x42')]({'where':{'id':_0x179875[_0xd291('0x3f')]['id']}})[_0xd291('0x23')](handleEntityNotFound(_0x1d2ea2,null))['then'](function(_0x3bd1a6){if(_0x3bd1a6){return _0x3bd1a6[_0xd291('0x49')](_0x179875['body'][_0xd291('0x4b')],_[_0xd291('0x4c')](_0x179875[_0xd291('0x44')],[_0xd291('0x4b'),'id'])||{});}})[_0xd291('0x23')](respondWithResult(_0x1d2ea2,null))[_0xd291('0x3d')](handleError(_0x1d2ea2,null));};exports['getContacts']=function(_0x3c7f3f,_0x2a7a3f,_0x39852a){var _0x1fd25c={};var _0x598c8a={};var _0x1b97b3;var _0x377f74;return db['CmCompany'][_0xd291('0x4d')]({'where':{'id':_0x3c7f3f[_0xd291('0x3f')]['id']}})[_0xd291('0x23')](handleEntityNotFound(_0x2a7a3f,null))[_0xd291('0x23')](function(_0x383095){if(_0x383095){_0x1b97b3=_0x383095;_0x598c8a['model']=_[_0xd291('0x2c')](db[_0xd291('0x4a')][_0xd291('0x40')]);_0x598c8a[_0xd291('0x2d')]=_[_0xd291('0x2c')](_0x3c7f3f[_0xd291('0x2d')]);_0x598c8a[_0xd291('0x35')]=_[_0xd291('0x2e')](_0x598c8a[_0xd291('0x2b')],_0x598c8a['query']);_0x1fd25c['attributes']=_[_0xd291('0x2e')](_0x598c8a[_0xd291('0x2b')],qs[_0xd291('0x2f')](_0x3c7f3f[_0xd291('0x2d')]['fields']));_0x1fd25c[_0xd291('0x30')]=_0x1fd25c[_0xd291('0x30')]['length']?_0x1fd25c[_0xd291('0x30')]:_0x598c8a[_0xd291('0x2b')];_0x1fd25c['order']=qs[_0xd291('0x34')](_0x3c7f3f[_0xd291('0x2d')][_0xd291('0x34')]);_0x1fd25c['where']=qs[_0xd291('0x35')](_['pick'](_0x3c7f3f[_0xd291('0x2d')],_0x598c8a[_0xd291('0x35')]));if(_0x3c7f3f[_0xd291('0x2d')]['filter']){_0x1fd25c[_0xd291('0x37')]=_[_0xd291('0x38')](_0x1fd25c[_0xd291('0x37')],{'$or':_[_0xd291('0x4e')](_0x1fd25c[_0xd291('0x30')],function(_0x35c517){var _0x2968aa={};_0x2968aa[_0x35c517]={'$like':'%'+_0x3c7f3f[_0xd291('0x2d')][_0xd291('0x36')]+'%'};return _0x2968aa;})});}_0x1fd25c=_[_0xd291('0x38')]({},_0x1fd25c,_0x3c7f3f[_0xd291('0x39')]);return _0x1b97b3[_0xd291('0x4f')](_0x1fd25c);}})[_0xd291('0x23')](function(_0x44a65a){if(_0x44a65a){_0x377f74=_0x44a65a[_0xd291('0x31')];if(!_0x3c7f3f['query'][_0xd291('0x50')](_0xd291('0x32'))){_0x1fd25c[_0xd291('0x1b')]=qs[_0xd291('0x1b')](_0x3c7f3f[_0xd291('0x2d')][_0xd291('0x1b')]);_0x1fd25c['offset']=qs['offset'](_0x3c7f3f[_0xd291('0x2d')][_0xd291('0x1d')]);}return _0x1b97b3['getContacts'](_0x1fd25c);}})['then'](function(_0x3ceaf8){if(_0x3ceaf8){return _0x3ceaf8?{'count':_0x377f74,'rows':_0x3ceaf8}:null;}})['then'](respondWithResult(_0x2a7a3f,null))[_0xd291('0x3d')](handleError(_0x2a7a3f,null));};
\ No newline at end of file
+var _0x9d2e=['getContacts','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','to-csv','ejs','fs-extra','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','sendStatus','status','end','json','undefined','limit','count','offset','set','Content-Range','apply','reject','update','then','destroy','get','Companies','UserProfileResource','name','send','describe','model','keys','query','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','order','sort','pick','filter','where','map','merge','options','CmCompany','includeAll','include','findAll','rows','catch','show','params','find','create','body','user','role','UserProfileSection','userProfileId','autoAssociation','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','addContacts','CmContact','ids','omit','findOne','rawAttributes'];(function(_0x5bf301,_0x42f14c){var _0x28180d=function(_0x5c13ee){while(--_0x5c13ee){_0x5bf301['push'](_0x5bf301['shift']());}};_0x28180d(++_0x42f14c);}(_0x9d2e,0x115));var _0xe9d2=function(_0x16380c,_0xc55d7f){_0x16380c=_0x16380c-0x0;var _0x40b45d=_0x9d2e[_0x16380c];return _0x40b45d;};'use strict';var emlformat=require(_0xe9d2('0x0'));var rimraf=require(_0xe9d2('0x1'));var zipdir=require(_0xe9d2('0x2'));var jsonpatch=require(_0xe9d2('0x3'));var rp=require(_0xe9d2('0x4'));var moment=require(_0xe9d2('0x5'));var BPromise=require(_0xe9d2('0x6'));var Mustache=require(_0xe9d2('0x7'));var util=require(_0xe9d2('0x8'));var path=require(_0xe9d2('0x9'));var sox=require('sox');var csv=require(_0xe9d2('0xa'));var ejs=require(_0xe9d2('0xb'));var fs=require('fs');var fs_extra=require(_0xe9d2('0xc'));var _=require(_0xe9d2('0xd'));var squel=require(_0xe9d2('0xe'));var crypto=require(_0xe9d2('0xf'));var jsforce=require(_0xe9d2('0x10'));var deskjs=require(_0xe9d2('0x11'));var toCsv=require('to-csv');var querystring=require(_0xe9d2('0x12'));var Papa=require('papaparse');var Redis=require(_0xe9d2('0x13'));var authService=require(_0xe9d2('0x14'));var qs=require(_0xe9d2('0x15'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xe9d2('0x16'));var logger=require(_0xe9d2('0x17'))(_0xe9d2('0x18'));var utils=require(_0xe9d2('0x19'));var config=require(_0xe9d2('0x1a'));var licenseUtil=require(_0xe9d2('0x1b'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x5bef60,_0x4f3bac){_0x4f3bac=_0x4f3bac||0xcc;return function(_0x2bcfbd){if(_0x2bcfbd){return _0x5bef60[_0xe9d2('0x1c')](_0x4f3bac);}return _0x5bef60[_0xe9d2('0x1d')](_0x4f3bac)[_0xe9d2('0x1e')]();};}function respondWithResult(_0x553897,_0x449367){_0x449367=_0x449367||0xc8;return function(_0x4eba5b){if(_0x4eba5b){return _0x553897[_0xe9d2('0x1d')](_0x449367)[_0xe9d2('0x1f')](_0x4eba5b);}};}function respondWithFilteredResult(_0x11c9cf,_0x1dddae){return function(_0x2d6cbe){if(_0x2d6cbe){var _0x248ceb=typeof _0x1dddae['offset']===_0xe9d2('0x20')&&typeof _0x1dddae[_0xe9d2('0x21')]===_0xe9d2('0x20');var _0x4dbced=_0x2d6cbe[_0xe9d2('0x22')];var _0x319be7=_0x248ceb?0x0:_0x1dddae['offset'];var _0x256b6e=_0x248ceb?_0x2d6cbe['count']:_0x1dddae[_0xe9d2('0x23')]+_0x1dddae[_0xe9d2('0x21')];var _0x4c3e6f;if(_0x256b6e>=_0x4dbced){_0x256b6e=_0x4dbced;_0x4c3e6f=0xc8;}else{_0x4c3e6f=0xce;}_0x11c9cf['status'](_0x4c3e6f);return _0x11c9cf[_0xe9d2('0x24')](_0xe9d2('0x25'),_0x319be7+'-'+_0x256b6e+'/'+_0x4dbced)['json'](_0x2d6cbe);}return null;};}function patchUpdates(_0x582b5c){return function(_0x8a9318){try{jsonpatch[_0xe9d2('0x26')](_0x8a9318,_0x582b5c,!![]);}catch(_0x4a1825){return BPromise[_0xe9d2('0x27')](_0x4a1825);}return _0x8a9318['save']();};}function saveUpdates(_0x273e61,_0x49f7b4){return function(_0x161082){if(_0x161082){return _0x161082[_0xe9d2('0x28')](_0x273e61)[_0xe9d2('0x29')](function(_0x96c284){return _0x96c284;});}return null;};}function removeEntity(_0x213469,_0x5956a3){return function(_0x23afef){if(_0x23afef){return _0x23afef[_0xe9d2('0x2a')]()['then'](function(){var _0x3a6c7a=_0x23afef[_0xe9d2('0x2b')]({'plain':!![]});var _0x10637c=_0xe9d2('0x2c');return db[_0xe9d2('0x2d')][_0xe9d2('0x2a')]({'where':{'type':_0x10637c,'resourceId':_0x3a6c7a['id']}})[_0xe9d2('0x29')](function(){return _0x23afef;});})[_0xe9d2('0x29')](function(){_0x213469['status'](0xcc)[_0xe9d2('0x1e')]();});}};}function handleEntityNotFound(_0xae7c9d,_0x576303){return function(_0x3d01a0){if(!_0x3d01a0){_0xae7c9d[_0xe9d2('0x1c')](0x194);}return _0x3d01a0;};}function handleError(_0x13e510,_0x379c2c){_0x379c2c=_0x379c2c||0x1f4;return function(_0x597f4a){logger['error'](_0x597f4a['stack']);if(_0x597f4a[_0xe9d2('0x2e')]){delete _0x597f4a[_0xe9d2('0x2e')];}_0x13e510[_0xe9d2('0x1d')](_0x379c2c)[_0xe9d2('0x2f')](_0x597f4a);};}exports['index']=function(_0x12be81,_0x3dd8cc){var _0x14ac6c={},_0x32db50={},_0x3926f6={'count':0x0,'rows':[]};return db['CmCompany'][_0xe9d2('0x30')]()[_0xe9d2('0x29')](function(_0x43b9b6){_0x32db50[_0xe9d2('0x31')]=_[_0xe9d2('0x32')](_0x43b9b6);_0x32db50[_0xe9d2('0x33')]=_[_0xe9d2('0x32')](_0x12be81[_0xe9d2('0x33')]);_0x32db50[_0xe9d2('0x34')]=_['intersection'](_0x32db50['model'],_0x32db50[_0xe9d2('0x33')]);_0x14ac6c[_0xe9d2('0x35')]=_[_0xe9d2('0x36')](_0x32db50[_0xe9d2('0x31')],qs[_0xe9d2('0x37')](_0x12be81['query'][_0xe9d2('0x37')]));_0x14ac6c[_0xe9d2('0x35')]=_0x14ac6c[_0xe9d2('0x35')][_0xe9d2('0x38')]?_0x14ac6c['attributes']:_0x32db50['model'];if(!_0x12be81['query'][_0xe9d2('0x39')](_0xe9d2('0x3a'))){_0x14ac6c[_0xe9d2('0x21')]=qs[_0xe9d2('0x21')](_0x12be81[_0xe9d2('0x33')][_0xe9d2('0x21')]);_0x14ac6c['offset']=qs['offset'](_0x12be81['query']['offset']);}_0x14ac6c[_0xe9d2('0x3b')]=qs[_0xe9d2('0x3c')](_0x12be81[_0xe9d2('0x33')][_0xe9d2('0x3c')]);_0x14ac6c['where']=qs[_0xe9d2('0x34')](_[_0xe9d2('0x3d')](_0x12be81[_0xe9d2('0x33')],_0x32db50['filters']),_0x43b9b6);if(_0x12be81['query'][_0xe9d2('0x3e')]){_0x14ac6c[_0xe9d2('0x3f')]=_['merge'](_0x14ac6c['where'],{'$or':_[_0xe9d2('0x40')](_0x14ac6c['attributes'],function(_0x22458a){var _0x1c9b4a={};_0x1c9b4a[_0x22458a]={'$like':'%'+_0x12be81[_0xe9d2('0x33')][_0xe9d2('0x3e')]+'%'};return _0x1c9b4a;})});}_0x14ac6c=_[_0xe9d2('0x41')]({},_0x14ac6c,_0x12be81[_0xe9d2('0x42')]);var _0x825c66={'where':_0x14ac6c['where']};return db[_0xe9d2('0x43')]['count'](_0x825c66)['then'](function(_0x58c828){_0x3926f6[_0xe9d2('0x22')]=_0x58c828;if(_0x12be81[_0xe9d2('0x33')][_0xe9d2('0x44')]){_0x14ac6c[_0xe9d2('0x45')]=[{'all':!![]}];}return db[_0xe9d2('0x43')][_0xe9d2('0x46')](_0x14ac6c);})[_0xe9d2('0x29')](function(_0x792179){_0x3926f6[_0xe9d2('0x47')]=_0x792179;return _0x3926f6;})[_0xe9d2('0x29')](respondWithFilteredResult(_0x3dd8cc,_0x14ac6c))[_0xe9d2('0x48')](handleError(_0x3dd8cc,null));})['catch'](handleError(_0x3dd8cc,null));};exports[_0xe9d2('0x49')]=function(_0x3b9c3f,_0x1d8537){var _0x2c23f1={'raw':![],'where':{'id':_0x3b9c3f[_0xe9d2('0x4a')]['id']}},_0x2ea594={};_0x2ea594[_0xe9d2('0x31')]=_['keys'](db[_0xe9d2('0x43')]['rawAttributes']);_0x2ea594['query']=_[_0xe9d2('0x32')](_0x3b9c3f[_0xe9d2('0x33')]);_0x2ea594[_0xe9d2('0x34')]=_[_0xe9d2('0x36')](_0x2ea594[_0xe9d2('0x31')],_0x2ea594[_0xe9d2('0x33')]);_0x2c23f1[_0xe9d2('0x35')]=_[_0xe9d2('0x36')](_0x2ea594[_0xe9d2('0x31')],qs['fields'](_0x3b9c3f['query']['fields']));_0x2c23f1[_0xe9d2('0x35')]=_0x2c23f1[_0xe9d2('0x35')]['length']?_0x2c23f1[_0xe9d2('0x35')]:_0x2ea594[_0xe9d2('0x31')];if(_0x3b9c3f[_0xe9d2('0x33')]['includeAll']){_0x2c23f1['include']=[{'all':!![]}];}_0x2c23f1=_[_0xe9d2('0x41')]({},_0x2c23f1,_0x3b9c3f['options']);return db[_0xe9d2('0x43')][_0xe9d2('0x4b')](_0x2c23f1)[_0xe9d2('0x29')](handleEntityNotFound(_0x1d8537,null))[_0xe9d2('0x29')](respondWithResult(_0x1d8537,null))['catch'](handleError(_0x1d8537,null));};exports['create']=function(_0x303f9b,_0x4ec056){return db[_0xe9d2('0x43')][_0xe9d2('0x4c')](_0x303f9b[_0xe9d2('0x4d')],{})[_0xe9d2('0x29')](function(_0xc61daa){var _0x3f9e46=_0x303f9b[_0xe9d2('0x4e')][_0xe9d2('0x2b')]({'plain':!![]});if(!_0x3f9e46)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x3f9e46[_0xe9d2('0x4f')]===_0xe9d2('0x4e')){var _0x59d5ed=_0xc61daa[_0xe9d2('0x2b')]({'plain':!![]});var _0x3d1776='Companies';return db[_0xe9d2('0x50')]['find']({'where':{'name':_0x3d1776,'userProfileId':_0x3f9e46[_0xe9d2('0x51')]},'raw':!![]})[_0xe9d2('0x29')](function(_0x5f0717){if(_0x5f0717&&_0x5f0717[_0xe9d2('0x52')]===0x0){return db[_0xe9d2('0x2d')][_0xe9d2('0x4c')]({'name':_0x59d5ed[_0xe9d2('0x2e')],'resourceId':_0x59d5ed['id'],'type':_0x5f0717[_0xe9d2('0x2e')],'sectionId':_0x5f0717['id']},{})[_0xe9d2('0x29')](function(){return _0xc61daa;});}else{return _0xc61daa;}})[_0xe9d2('0x48')](function(_0x21ea5c){logger[_0xe9d2('0x53')](_0xe9d2('0x54'),_0x21ea5c);throw _0x21ea5c;});}return _0xc61daa;})[_0xe9d2('0x29')](respondWithResult(_0x4ec056,0xc9))[_0xe9d2('0x48')](handleError(_0x4ec056,null));};exports['update']=function(_0x171ed0,_0x4fc099){if(_0x171ed0[_0xe9d2('0x4d')]['id']){delete _0x171ed0[_0xe9d2('0x4d')]['id'];}return db['CmCompany'][_0xe9d2('0x4b')]({'where':{'id':_0x171ed0[_0xe9d2('0x4a')]['id']}})[_0xe9d2('0x29')](handleEntityNotFound(_0x4fc099,null))['then'](saveUpdates(_0x171ed0[_0xe9d2('0x4d')],null))[_0xe9d2('0x29')](respondWithResult(_0x4fc099,null))[_0xe9d2('0x48')](handleError(_0x4fc099,null));};exports[_0xe9d2('0x2a')]=function(_0x7f0ee6,_0x28b1a6){return db[_0xe9d2('0x43')][_0xe9d2('0x4b')]({'where':{'id':_0x7f0ee6[_0xe9d2('0x4a')]['id']}})[_0xe9d2('0x29')](handleEntityNotFound(_0x28b1a6,null))[_0xe9d2('0x29')](removeEntity(_0x28b1a6,null))['catch'](handleError(_0x28b1a6,null));};exports['describe']=function(_0x24310d,_0x20e258){return db[_0xe9d2('0x43')][_0xe9d2('0x30')]()['then'](respondWithResult(_0x20e258,null))[_0xe9d2('0x48')](handleError(_0x20e258,null));};exports[_0xe9d2('0x55')]=function(_0x51a625,_0x4b3374,_0xaa25fb){return db[_0xe9d2('0x56')][_0xe9d2('0x4b')]({'where':{'id':_0x51a625[_0xe9d2('0x4a')]['id']}})[_0xe9d2('0x29')](handleEntityNotFound(_0x4b3374,null))[_0xe9d2('0x29')](function(_0x1b6e55){if(_0x1b6e55){return _0x1b6e55['addContacts'](_0x51a625['body'][_0xe9d2('0x57')],_[_0xe9d2('0x58')](_0x51a625[_0xe9d2('0x4d')],[_0xe9d2('0x57'),'id'])||{});}})[_0xe9d2('0x29')](respondWithResult(_0x4b3374,null))[_0xe9d2('0x48')](handleError(_0x4b3374,null));};exports['getContacts']=function(_0x4227b8,_0x48af0e,_0x1ec006){var _0x56101d={};var _0x546086={};var _0x2ab42f;var _0x618bab;return db['CmCompany'][_0xe9d2('0x59')]({'where':{'id':_0x4227b8[_0xe9d2('0x4a')]['id']}})[_0xe9d2('0x29')](handleEntityNotFound(_0x48af0e,null))['then'](function(_0x4b6c95){if(_0x4b6c95){_0x2ab42f=_0x4b6c95;_0x546086[_0xe9d2('0x31')]=_['keys'](db[_0xe9d2('0x56')][_0xe9d2('0x5a')]);_0x546086[_0xe9d2('0x33')]=_['keys'](_0x4227b8[_0xe9d2('0x33')]);_0x546086['filters']=_['intersection'](_0x546086[_0xe9d2('0x31')],_0x546086[_0xe9d2('0x33')]);_0x56101d[_0xe9d2('0x35')]=_[_0xe9d2('0x36')](_0x546086[_0xe9d2('0x31')],qs[_0xe9d2('0x37')](_0x4227b8[_0xe9d2('0x33')][_0xe9d2('0x37')]));_0x56101d['attributes']=_0x56101d['attributes'][_0xe9d2('0x38')]?_0x56101d[_0xe9d2('0x35')]:_0x546086[_0xe9d2('0x31')];_0x56101d[_0xe9d2('0x3b')]=qs[_0xe9d2('0x3c')](_0x4227b8[_0xe9d2('0x33')][_0xe9d2('0x3c')]);_0x56101d['where']=qs[_0xe9d2('0x34')](_['pick'](_0x4227b8[_0xe9d2('0x33')],_0x546086[_0xe9d2('0x34')]));if(_0x4227b8['query']['filter']){_0x56101d[_0xe9d2('0x3f')]=_[_0xe9d2('0x41')](_0x56101d[_0xe9d2('0x3f')],{'$or':_['map'](_0x56101d[_0xe9d2('0x35')],function(_0x4ed158){var _0x6afc7d={};_0x6afc7d[_0x4ed158]={'$like':'%'+_0x4227b8['query'][_0xe9d2('0x3e')]+'%'};return _0x6afc7d;})});}_0x56101d=_[_0xe9d2('0x41')]({},_0x56101d,_0x4227b8[_0xe9d2('0x42')]);return _0x2ab42f[_0xe9d2('0x5b')](_0x56101d);}})[_0xe9d2('0x29')](function(_0x3bb724){if(_0x3bb724){_0x618bab=_0x3bb724[_0xe9d2('0x38')];if(!_0x4227b8[_0xe9d2('0x33')][_0xe9d2('0x39')](_0xe9d2('0x3a'))){_0x56101d[_0xe9d2('0x21')]=qs['limit'](_0x4227b8['query'][_0xe9d2('0x21')]);_0x56101d[_0xe9d2('0x23')]=qs[_0xe9d2('0x23')](_0x4227b8[_0xe9d2('0x33')]['offset']);}return _0x2ab42f['getContacts'](_0x56101d);}})[_0xe9d2('0x29')](function(_0x134c54){if(_0x134c54){return _0x134c54?{'count':_0x618bab,'rows':_0x134c54}:null;}})['then'](respondWithResult(_0x48af0e,null))[_0xe9d2('0x48')](handleError(_0x48af0e,null));};
\ No newline at end of file
diff --git a/server/api/cmCompany/cmCompany.model.js b/server/api/cmCompany/cmCompany.model.js
index 417a5f0..0738b93 100644
--- a/server/api/cmCompany/cmCompany.model.js
+++ b/server/api/cmCompany/cmCompany.model.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xb41d=['cm_companies','util','../../config/logger','bluebird','path','../../config/environment','./cmCompany.attributes','exports','define','CmCompany'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xb41d,0x119));var _0xdb41=function(_0x2aecb2,_0x343312){_0x2aecb2=_0x2aecb2-0x0;var _0x3ebb80=_0xb41d[_0x2aecb2];return _0x3ebb80;};'use strict';var _=require('lodash');var util=require(_0xdb41('0x0'));var logger=require(_0xdb41('0x1'))('api');var moment=require('moment');var BPromise=require(_0xdb41('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xdb41('0x3'));var rimraf=require('rimraf');var config=require(_0xdb41('0x4'));var attributes=require(_0xdb41('0x5'));module[_0xdb41('0x6')]=function(_0x2e21cc,_0x45553f){return _0x2e21cc[_0xdb41('0x7')](_0xdb41('0x8'),attributes,{'tableName':_0xdb41('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x74f3=['request-promise','path','rimraf','../../config/environment','./cmCompany.attributes','exports','define','CmCompany','lodash','util','../../config/logger','moment','bluebird'];(function(_0x5ddca1,_0x3c493c){var _0x5ae35e=function(_0x335174){while(--_0x335174){_0x5ddca1['push'](_0x5ddca1['shift']());}};_0x5ae35e(++_0x3c493c);}(_0x74f3,0x1a8));var _0x374f=function(_0x2b28c8,_0x45aa9d){_0x2b28c8=_0x2b28c8-0x0;var _0x1246e7=_0x74f3[_0x2b28c8];return _0x1246e7;};'use strict';var _=require(_0x374f('0x0'));var util=require(_0x374f('0x1'));var logger=require(_0x374f('0x2'))('api');var moment=require(_0x374f('0x3'));var BPromise=require(_0x374f('0x4'));var rp=require(_0x374f('0x5'));var fs=require('fs');var path=require(_0x374f('0x6'));var rimraf=require(_0x374f('0x7'));var config=require(_0x374f('0x8'));var attributes=require(_0x374f('0x9'));module[_0x374f('0xa')]=function(_0x41470b,_0x4720f8){return _0x41470b[_0x374f('0xb')](_0x374f('0xc'),attributes,{'tableName':'cm_companies','paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
diff --git a/server/api/cmCompany/cmCompany.rpc.js b/server/api/cmCompany/cmCompany.rpc.js
index 73da4fc..ec2d4aa 100644
--- a/server/api/cmCompany/cmCompany.rpc.js
+++ b/server/api/cmCompany/cmCompany.rpc.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xcb23=['CmCompany,\x20%s,\x20%s','request\x20sent','debug','CmCompany,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','lodash','util','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','request','then'];(function(_0x5c63f9,_0xea83d7){var _0xc5f047=function(_0x2cc6c5){while(--_0x2cc6c5){_0x5c63f9['push'](_0x5c63f9['shift']());}};_0xc5f047(++_0xea83d7);}(_0xcb23,0xef));var _0x3cb2=function(_0x29f8a2,_0x27ef8b){_0x29f8a2=_0x29f8a2-0x0;var _0x2cd98b=_0xcb23[_0x29f8a2];return _0x2cd98b;};'use strict';var _=require(_0x3cb2('0x0'));var util=require(_0x3cb2('0x1'));var moment=require(_0x3cb2('0x2'));var BPromise=require(_0x3cb2('0x3'));var rs=require(_0x3cb2('0x4'));var fs=require('fs');var Redis=require(_0x3cb2('0x5'));var db=require('../../mysqldb')['db'];var utils=require(_0x3cb2('0x6'));var logger=require(_0x3cb2('0x7'))(_0x3cb2('0x8'));var config=require(_0x3cb2('0x9'));var jayson=require(_0x3cb2('0xa'));var client=jayson[_0x3cb2('0xb')]['http']({'port':0x232a});function respondWithRpcPromise(_0x2b3966,_0x5a112c,_0x4f7b24){return new BPromise(function(_0x2d0507,_0x464df8){return client[_0x3cb2('0xc')](_0x2b3966,_0x4f7b24)[_0x3cb2('0xd')](function(_0x674b74){logger['info'](_0x3cb2('0xe'),_0x5a112c,_0x3cb2('0xf'));logger[_0x3cb2('0x10')](_0x3cb2('0x11'),_0x5a112c,_0x3cb2('0xf'),JSON[_0x3cb2('0x12')](_0x674b74));if(_0x674b74['error']){if(_0x674b74[_0x3cb2('0x13')][_0x3cb2('0x14')]===0x1f4){logger[_0x3cb2('0x13')](_0x3cb2('0xe'),_0x5a112c,_0x674b74[_0x3cb2('0x13')]['message']);return _0x464df8(_0x674b74[_0x3cb2('0x13')][_0x3cb2('0x15')]);}logger[_0x3cb2('0x13')](_0x3cb2('0xe'),_0x5a112c,_0x674b74[_0x3cb2('0x13')]['message']);return _0x2d0507(_0x674b74['error'][_0x3cb2('0x15')]);}else{logger[_0x3cb2('0x16')](_0x3cb2('0xe'),_0x5a112c,_0x3cb2('0xf'));_0x2d0507(_0x674b74['result'][_0x3cb2('0x15')]);}})['catch'](function(_0x194c78){logger[_0x3cb2('0x13')](_0x3cb2('0xe'),_0x5a112c,_0x194c78);_0x464df8(_0x194c78);});});}
\ No newline at end of file
+var _0xcc67=['http','CmCompany,\x20%s,\x20%s','request\x20sent','CmCompany,\x20%s,\x20%s,\x20%s','error','code','message','info','result','lodash','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client'];(function(_0x380105,_0x55667e){var _0x450f7b=function(_0x2e23c2){while(--_0x2e23c2){_0x380105['push'](_0x380105['shift']());}};_0x450f7b(++_0x55667e);}(_0xcc67,0xe1));var _0x7cc6=function(_0xf345b2,_0x46c13f){_0xf345b2=_0xf345b2-0x0;var _0x3a093a=_0xcc67[_0xf345b2];return _0x3a093a;};'use strict';var _=require(_0x7cc6('0x0'));var util=require('util');var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0x7cc6('0x1'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x7cc6('0x2'))['db'];var utils=require(_0x7cc6('0x3'));var logger=require(_0x7cc6('0x4'))(_0x7cc6('0x5'));var config=require(_0x7cc6('0x6'));var jayson=require(_0x7cc6('0x7'));var client=jayson[_0x7cc6('0x8')][_0x7cc6('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x2f7981,_0x4b9907,_0x8f3097){return new BPromise(function(_0x41734f,_0x209258){return client['request'](_0x2f7981,_0x8f3097)['then'](function(_0x310135){logger['info'](_0x7cc6('0xa'),_0x4b9907,_0x7cc6('0xb'));logger['debug'](_0x7cc6('0xc'),_0x4b9907,'request\x20sent',JSON['stringify'](_0x310135));if(_0x310135['error']){if(_0x310135[_0x7cc6('0xd')][_0x7cc6('0xe')]===0x1f4){logger[_0x7cc6('0xd')]('CmCompany,\x20%s,\x20%s',_0x4b9907,_0x310135[_0x7cc6('0xd')][_0x7cc6('0xf')]);return _0x209258(_0x310135[_0x7cc6('0xd')]['message']);}logger[_0x7cc6('0xd')]('CmCompany,\x20%s,\x20%s',_0x4b9907,_0x310135['error'][_0x7cc6('0xf')]);return _0x41734f(_0x310135[_0x7cc6('0xd')][_0x7cc6('0xf')]);}else{logger[_0x7cc6('0x10')](_0x7cc6('0xa'),_0x4b9907,_0x7cc6('0xb'));_0x41734f(_0x310135[_0x7cc6('0x11')][_0x7cc6('0xf')]);}})['catch'](function(_0x21ed0d){logger[_0x7cc6('0xd')](_0x7cc6('0xa'),_0x4b9907,_0x21ed0d);_0x209258(_0x21ed0d);});});}
\ No newline at end of file
diff --git a/server/api/cmCompany/index.js b/server/api/cmCompany/index.js
index 130926c..48a8764 100644
--- a/server/api/cmCompany/index.js
+++ b/server/api/cmCompany/index.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x2051=['/:id','show','getContacts','post','create','/:id/contacts','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmCompany.controller','get','isAuthenticated','index','/describe'];(function(_0x503f65,_0x2669c4){var _0x19ab36=function(_0x47ddf8){while(--_0x47ddf8){_0x503f65['push'](_0x503f65['shift']());}};_0x19ab36(++_0x2669c4);}(_0x2051,0x1ed));var _0x1205=function(_0x3ff047,_0x726706){_0x3ff047=_0x3ff047-0x0;var _0x424b15=_0x2051[_0x3ff047];return _0x424b15;};'use strict';var multer=require(_0x1205('0x0'));var util=require('util');var path=require(_0x1205('0x1'));var timeout=require(_0x1205('0x2'));var express=require(_0x1205('0x3'));var router=express[_0x1205('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x1205('0x5'));var interaction=require(_0x1205('0x6'));var config=require(_0x1205('0x7'));var controller=require(_0x1205('0x8'));router[_0x1205('0x9')]('/',auth[_0x1205('0xa')](),controller[_0x1205('0xb')]);router[_0x1205('0x9')](_0x1205('0xc'),auth[_0x1205('0xa')](),controller['describe']);router[_0x1205('0x9')](_0x1205('0xd'),auth[_0x1205('0xa')](),controller[_0x1205('0xe')]);router[_0x1205('0x9')]('/:id/contacts',auth[_0x1205('0xa')](),controller[_0x1205('0xf')]);router[_0x1205('0x10')]('/',auth[_0x1205('0xa')](),controller[_0x1205('0x11')]);router[_0x1205('0x10')](_0x1205('0x12'),auth[_0x1205('0xa')](),controller['addContacts']);router['put'](_0x1205('0xd'),auth[_0x1205('0xa')](),controller['update']);router[_0x1205('0x13')]('/:id',auth[_0x1205('0xa')](),controller[_0x1205('0x14')]);module[_0x1205('0x15')]=router;
\ No newline at end of file
+var _0x171a=['../../config/environment','./cmCompany.controller','get','index','/describe','isAuthenticated','describe','/:id','show','/:id/contacts','getContacts','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','fs-extra','../../components/auth/service'];(function(_0x1035c1,_0x2d8583){var _0x308d67=function(_0x58ddb6){while(--_0x58ddb6){_0x1035c1['push'](_0x1035c1['shift']());}};_0x308d67(++_0x2d8583);}(_0x171a,0x1f4));var _0xa171=function(_0x6a734c,_0x1b2d9f){_0x6a734c=_0x6a734c-0x0;var _0x494d0d=_0x171a[_0x6a734c];return _0x494d0d;};'use strict';var multer=require(_0xa171('0x0'));var util=require(_0xa171('0x1'));var path=require(_0xa171('0x2'));var timeout=require(_0xa171('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xa171('0x4'));var auth=require(_0xa171('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xa171('0x6'));var controller=require(_0xa171('0x7'));router[_0xa171('0x8')]('/',auth['isAuthenticated'](),controller[_0xa171('0x9')]);router[_0xa171('0x8')](_0xa171('0xa'),auth[_0xa171('0xb')](),controller[_0xa171('0xc')]);router[_0xa171('0x8')](_0xa171('0xd'),auth[_0xa171('0xb')](),controller[_0xa171('0xe')]);router[_0xa171('0x8')](_0xa171('0xf'),auth[_0xa171('0xb')](),controller[_0xa171('0x10')]);router[_0xa171('0x11')]('/',auth['isAuthenticated'](),controller[_0xa171('0x12')]);router[_0xa171('0x11')](_0xa171('0xf'),auth['isAuthenticated'](),controller['addContacts']);router[_0xa171('0x13')](_0xa171('0xd'),auth[_0xa171('0xb')](),controller['update']);router[_0xa171('0x14')](_0xa171('0xd'),auth[_0xa171('0xb')](),controller[_0xa171('0x15')]);module[_0xa171('0x16')]=router;
\ No newline at end of file
diff --git a/server/api/cmContact/cmContact.attributes.js b/server/api/cmContact/cmContact.attributes.js
index a4fcc53..972288c 100644
--- a/server/api/cmContact/cmContact.attributes.js
+++ b/server/api/cmContact/cmContact.attributes.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0xf348=['DATE','lodash','sequelize','exports','STRING','TEXT','INTEGER','UNSIGNED'];(function(_0x5704f1,_0x58c6c3){var _0x50b141=function(_0x3d69b1){while(--_0x3d69b1){_0x5704f1['push'](_0x5704f1['shift']());}};_0x50b141(++_0x58c6c3);}(_0xf348,0x1e9));var _0x8f34=function(_0x1ed90b,_0x5c6d82){_0x1ed90b=_0x1ed90b-0x0;var _0x1aa869=_0xf348[_0x1ed90b];return _0x1aa869;};'use strict';var _=require(_0x8f34('0x0'));var Sequelize=require(_0x8f34('0x1'));module[_0x8f34('0x2')]={'firstName':{'type':Sequelize[_0x8f34('0x3')],'allowNull':![]},'lastName':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0x8f34('0x3')]},'postalCode':{'type':Sequelize[_0x8f34('0x3')]},'city':{'type':Sequelize[_0x8f34('0x3')]},'country':{'type':Sequelize[_0x8f34('0x3')]},'dateOfBirth':{'type':Sequelize[_0x8f34('0x3')]},'description':{'type':Sequelize[_0x8f34('0x4')]},'phone':{'type':Sequelize['STRING']},'mobile':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x8f34('0x3')]},'email':{'type':Sequelize[_0x8f34('0x3')]},'url':{'type':Sequelize[_0x8f34('0x3')]},'facebook':{'type':Sequelize[_0x8f34('0x3')]},'fb_data':{'type':Sequelize[_0x8f34('0x3')]},'twitter':{'type':Sequelize['STRING']},'skype':{'type':Sequelize['STRING']},'teams':{'type':Sequelize[_0x8f34('0x3')]},'viber':{'type':Sequelize[_0x8f34('0x3')]},'line':{'type':Sequelize['STRING']},'wechat':{'type':Sequelize[_0x8f34('0x3')]},'telegram':{'type':Sequelize[_0x8f34('0x3')]},'UserId':{'type':Sequelize[_0x8f34('0x5')]},'AdditionalPhones':{'type':Sequelize[_0x8f34('0x3')]},'priority':{'type':Sequelize['INTEGER'](0x2)[_0x8f34('0x6')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0x8f34('0x7')],'defaultValue':Sequelize['NOW']},'dialTimezone':{'type':Sequelize['STRING']},'utcOffset':{'type':Sequelize[_0x8f34('0x5')]}};
\ No newline at end of file
+var _0xe480=['NOW','lodash','sequelize','STRING','TEXT','INTEGER','UNSIGNED','DATE'];(function(_0x3b000c,_0xa3a56d){var _0x430655=function(_0x578cd9){while(--_0x578cd9){_0x3b000c['push'](_0x3b000c['shift']());}};_0x430655(++_0xa3a56d);}(_0xe480,0x1b1));var _0x0e48=function(_0x5f0631,_0x365c51){_0x5f0631=_0x5f0631-0x0;var _0x26c093=_0xe480[_0x5f0631];return _0x26c093;};'use strict';var _=require(_0x0e48('0x0'));var Sequelize=require(_0x0e48('0x1'));module['exports']={'firstName':{'type':Sequelize[_0x0e48('0x2')],'allowNull':![]},'lastName':{'type':Sequelize[_0x0e48('0x2')]},'street':{'type':Sequelize[_0x0e48('0x2')]},'postalCode':{'type':Sequelize[_0x0e48('0x2')]},'city':{'type':Sequelize[_0x0e48('0x2')]},'country':{'type':Sequelize[_0x0e48('0x2')]},'dateOfBirth':{'type':Sequelize[_0x0e48('0x2')]},'description':{'type':Sequelize[_0x0e48('0x3')]},'phone':{'type':Sequelize[_0x0e48('0x2')]},'mobile':{'type':Sequelize[_0x0e48('0x2')]},'fax':{'type':Sequelize[_0x0e48('0x2')]},'email':{'type':Sequelize[_0x0e48('0x2')]},'url':{'type':Sequelize['STRING']},'facebook':{'type':Sequelize[_0x0e48('0x2')]},'fb_data':{'type':Sequelize[_0x0e48('0x2')]},'twitter':{'type':Sequelize[_0x0e48('0x2')]},'skype':{'type':Sequelize['STRING']},'teams':{'type':Sequelize[_0x0e48('0x2')]},'viber':{'type':Sequelize[_0x0e48('0x2')]},'line':{'type':Sequelize['STRING']},'wechat':{'type':Sequelize[_0x0e48('0x2')]},'telegram':{'type':Sequelize[_0x0e48('0x2')]},'UserId':{'type':Sequelize[_0x0e48('0x4')]},'AdditionalPhones':{'type':Sequelize[_0x0e48('0x2')]},'priority':{'type':Sequelize['INTEGER'](0x2)[_0x0e48('0x5')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0x0e48('0x6')],'defaultValue':Sequelize[_0x0e48('0x7')]},'dialTimezone':{'type':Sequelize[_0x0e48('0x2')]},'utcOffset':{'type':Sequelize[_0x0e48('0x4')]}};
\ No newline at end of file
diff --git a/server/api/cmContact/cmContact.controller.js b/server/api/cmContact/cmContact.controller.js
index 4866958..9078369 100644
--- a/server/api/cmContact/cmContact.controller.js
+++ b/server/api/cmContact/cmContact.controller.js
@@ -15,4 +15,4 @@
// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x1a26=['items','item_types','ItemTypeId','description','contact\x20phone\x20exists','PHONE','CmHopperAdditionalPhone','item','OrderBy','CmHopperId','getAdditionalPhones','duplicateAdditionalPhones','fromContactId','CmContactId','toContactId','rescheduleAdditionalPhones','hopperId','getHoppers','rawAttributes','includeAll','include','getHopperHistories','ContactId','getJscriptySessions','uploadCsv','No\x20association\x20keys\x20specified!','binding_values','No\x20association\x20values\x20specified!','socket_timestamp','Unable\x20to\x20synchronize\x20socket,\x20no\x20timestamp\x20passed','Incorrect\x20binding\x20parameters\x20passed!','No\x20phone\x20column\x20specified','firstName','No\x20firstName\x20column\x20specified','file','chmodSync','0777','fork','../../components/import/cm/csv','CompanyId','File\x20uploaded\x20correctly!','upload','path','parse','meta','import','No\x20ListId\x20specified','binding','stringify','message','start\x20child\x20process\x20correctly!','pid','exit','error\x20child\x20process','child_process','../../components/import/cm/csvUpdates','getJourney','mail','chat','sms','openchannel','fax','whatsapp','-createdAt','channel','toLowerCase','Invalid\x20channel','range','isValid','Invalid\x20date\x20for\x20range\x20from\x20filter','Invalid\x20date\x20for\x20range\x20to\x20filter','Invalid\x20createdAt\x20filter','voice','uniqueid','source','destination','callerid','starttime','endtime','note','createdAt','userDisposition','userThirdDisposition','UserId','closedAt','disposition','secondDisposition','thirdDisposition','Account','key','Owner','fullname','DESC','browserName','customerPort','deviceModel','ratingMessage','ratingType','ratingValue','substatus','externalUrl','findAndCountAll','flatten','sortBy','slice','moment','bluebird','util','lodash','papaparse','../../components/parsers/qs','../../config/logger','api','../../config/environment','../../config/environment/shared','../../mysqldb','redis','localhost','socket.io-emitter','register','status','json','offset','undefined','limit','count','set','Content-Range','update','then','destroy','end','sendStatus','error','stack','name','send','index','CmContact','describe','keys','length','startsWith','push','CmCustomField','findOne','trimStart','cf_','all','fieldType','type','model','query','attributes','intersection','fields','nolimit','order','sort','filters','pick','select','field','color','from','tools_tags','left_join','uc.CmContactId\x20=\x20c.id','cm_contact_has_tags','ct.CmContactId\x20=\x20c.id','t.id\x20=\x20ct.TagId','where','c.deletedAt\x20IS\x20NULL','expr','parseSearch','sqlOperator','conditions','value','split','map','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','User','uc.UserId\x20=\x20?','dateOfBirth','datetime','DATE','text','start','hasOwnProperty','filter','isNil','Contact','forEach','ListId','c.ListId\x20IN\x20?','concat','CONCAT_WS(\x27\x20\x27,\x20c.firstName,\x20c.lastName,\x20c.email)\x20LIKE\x20?','\x20=\x20?','tag','replace','c.id\x20LIKE\x20?','c.phone\x20LIKE\x20?','isEmail','c.email\x20LIKE\x20?','group','c.id','Sequelize','QueryTypes','SELECT','clone','having','t.id\x20IN\x20?','resolve','user','role','agent','some','getLists','isEmpty','c.ListId\x20IS\x20NULL','sequelize','toString','c.lastName','c.fax','c.email','c.ListId','c.createdAt','c.deletedAt','c.CompanyId','GROUP_CONCAT(DISTINCT\x20t.id)','TagIds','Tags','rows','params','tags','columnName','displayName','analytics','findAll','alias','custom','values','catch','merge','body','get','mergeWith','isArray','join','info','[CmContact][merge]\x20to\x20%s\x20from\x20%s','CmHopper','[CmContact][merge][destroy][CmHopper],\x20%s','CmHopperBlack','[CmContact][merge][destroy][CmHopperBlack],\x20%s','create','ChatInteraction','ChatMessage','ChatOfflineMessage','MailInteraction','MailMessage','SmsInteraction','SmsMessage','FaxMessage','OpenchannelInteraction','OpenchannelMessage','CmHopperFinal','CmHopperHistory','ReportAgentPreview','VoiceCallReport','ChatQueueReport','MailQueueReport','OpenchannelQueueReport','JscriptySessionReport','WhatsappInteraction','dialTimezone','utcOffset','timezones','additionalPhones','bulkCreate','duplicates','$or','findOrCreate','contact','show','Tag','CmContactHasItem','Phones','ContactItemType','ItemType','literal','Phones.OrderBy','$and','omit','format','cf_%d','find','pickBy','table','cm_contacts','setFields','id\x20=\x20?','toParam','phone','options','getTags','setTags','ids','setAdditionalPhones'];(function(_0x4f95c5,_0x3d47c8){var _0x192ec2=function(_0x69a36b){while(--_0x69a36b){_0x4f95c5['push'](_0x4f95c5['shift']());}};_0x192ec2(++_0x3d47c8);}(_0x1a26,0x69));var _0x61a2=function(_0x87b0ff,_0x314389){_0x87b0ff=_0x87b0ff-0x0;var _0x3bc0b2=_0x1a26[_0x87b0ff];return _0x3bc0b2;};'use strict';var moment=require(_0x61a2('0x0'));var BPromise=require(_0x61a2('0x1'));var util=require(_0x61a2('0x2'));var path=require('path');var fs=require('fs');var _=require(_0x61a2('0x3'));var squel=require('squel');var Papa=require(_0x61a2('0x4'));var Redis=require('ioredis');var qs=require(_0x61a2('0x5'));var as=require('../../components/parsers/advancedSearch');var logger=require(_0x61a2('0x6'))(_0x61a2('0x7'));var config=require(_0x61a2('0x8'));var shared=require(_0x61a2('0x9'));var db=require(_0x61a2('0xa'))['db'];config[_0x61a2('0xb')]=_['defaults'](config[_0x61a2('0xb')],{'host':_0x61a2('0xc'),'port':0x18eb});var socket=require(_0x61a2('0xd'))(new Redis(config[_0x61a2('0xb')]));require('./cmContact.socket')[_0x61a2('0xe')](socket);function respondWithResult(_0x23b03b,_0x1ebe73){_0x1ebe73=_0x1ebe73||0xc8;return function(_0x398265){if(_0x398265){return _0x23b03b[_0x61a2('0xf')](_0x1ebe73)[_0x61a2('0x10')](_0x398265);}};}function respondWithFilteredResult(_0x4b1848,_0x5123f6){return function(_0x3e9b41){if(_0x3e9b41){var _0x2392ca=typeof _0x5123f6[_0x61a2('0x11')]===_0x61a2('0x12')&&typeof _0x5123f6[_0x61a2('0x13')]===_0x61a2('0x12');var _0x1087be=_0x3e9b41[_0x61a2('0x14')];var _0x64dc6f=_0x2392ca?0x0:_0x5123f6['offset'];var _0x5703fa=_0x2392ca?_0x3e9b41[_0x61a2('0x14')]:_0x5123f6[_0x61a2('0x11')]+_0x5123f6[_0x61a2('0x13')];var _0x49dd4a;if(_0x5703fa>=_0x1087be){_0x5703fa=_0x1087be;_0x49dd4a=0xc8;}else{_0x49dd4a=0xce;}_0x4b1848[_0x61a2('0xf')](_0x49dd4a);return _0x4b1848[_0x61a2('0x15')](_0x61a2('0x16'),_0x64dc6f+'-'+_0x5703fa+'/'+_0x1087be)[_0x61a2('0x10')](_0x3e9b41);}return null;};}function saveUpdates(_0x32c74e){return function(_0xd8b161){if(_0xd8b161){return _0xd8b161[_0x61a2('0x17')](_0x32c74e)[_0x61a2('0x18')](function(_0x58db3d){return _0x58db3d;});}return null;};}function removeEntity(_0x1582a8){return function(_0x489c8b){if(_0x489c8b){return _0x489c8b[_0x61a2('0x19')]()['then'](function(){_0x1582a8[_0x61a2('0xf')](0xcc)[_0x61a2('0x1a')]();});}};}function handleEntityNotFound(_0x1766a5){return function(_0x48f1e7){if(!_0x48f1e7){_0x1766a5[_0x61a2('0x1b')](0x194);}return _0x48f1e7;};}function handleError(_0x49484f,_0x4d332c){_0x4d332c=_0x4d332c||0x1f4;return function(_0x4b3d08){logger[_0x61a2('0x1c')](_0x4b3d08[_0x61a2('0x1d')]);if(_0x4b3d08[_0x61a2('0x1e')]){delete _0x4b3d08['name'];}_0x49484f[_0x61a2('0xf')](_0x4d332c)[_0x61a2('0x1f')](_0x4b3d08);};}exports[_0x61a2('0x20')]=function(_0x374c96,_0x5aee3e){var _0x118509={},_0x38d369={},_0x3732ec={'count':0x0,'rows':[]};return db[_0x61a2('0x21')][_0x61a2('0x22')]()[_0x61a2('0x18')](function(_0x225ad1){var _0x571be5=[];for(var _0xfd6ec4=0x0;_0xfd6ec4
','Attachments','Title','Data','generateXOAuth2Token','user=','auth=Bearer\x20','utf-8','lodash','moment','randomstring','util','node-tnef','../../../config/logger','../../../config/environment','head','value','address','generate','name','substring','indexOf','length','join','Anonymous','split','pop','isEmpty','anonymous','@xcally.com','test','html','replace','includes','0x1?_0x951b53['slice'](0x0,-0x1)[_0x3668('0xf')]('\x20'):_0xbf64cd[_0x3668('0xb')];}return _0x3668('0x10');}function getLastName(_0x516338){var _0x29ec4a=_[_0x3668('0x7')](_0x516338[_0x3668('0x8')]);if(_0x29ec4a&&_0x29ec4a[_0x3668('0xb')]){var _0x54a48d=_0x29ec4a[_0x3668('0xb')][_0x3668('0x11')](/\s+/);return _0x54a48d[_0x3668('0xe')]>0x1?_0x54a48d[_0x3668('0x12')]():'';}return'';}function getMails(_0x153bec,_0x34f62e){var _0x1696b2='';for(var _0x3833a1=0x0;_0x3833a1<_0x34f62e[_0x3668('0x8')]['length'];_0x3833a1+=0x1){if(_0x34f62e['value'][_0x3833a1]['address']!==_0x153bec){if(!_[_0x3668('0x13')](_0x1696b2)){_0x1696b2+=',';}_0x1696b2+=_0x34f62e[_0x3668('0x8')][_0x3833a1][_0x3668('0xb')]||_0x34f62e['value'][_0x3833a1][_0x3668('0x9')]||'';_0x1696b2+='\x20<';_0x1696b2+=_0x34f62e[_0x3668('0x8')][_0x3833a1][_0x3668('0x9')]?_0x34f62e[_0x3668('0x8')][_0x3833a1][_0x3668('0x9')]:_0x3668('0x14')+random[_0x3668('0xa')](0x6)+_0x3668('0x15');_0x1696b2+='>';}}return _0x1696b2;}function parseEmail(_0x4f8bcb,_0x2e7610,_0xa62eef){if(_0x2e7610['html']){var _0x2d4644=/